@ionic/core 8.4.4-dev.11739312641.10060091 → 8.4.4-dev.11740658609.11c22eeb

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 (307) hide show
  1. package/components/alert.js +25 -4
  2. package/components/helpers.js +11 -1
  3. package/components/index9.js +1 -1
  4. package/components/ion-segment-button.js +40 -9
  5. package/components/ripple-effect.js +2 -4
  6. package/dist/cjs/{framework-delegate-55f5683a.js → framework-delegate-05579976.js} +1 -1
  7. package/dist/cjs/{helpers-afaa9001.js → helpers-4be3f90d.js} +11 -0
  8. package/dist/cjs/{index-8e789962.js → index-1ae3f40a.js} +1 -1
  9. package/dist/cjs/{index-f05acd21.js → index-4e14a46e.js} +3 -3
  10. package/dist/cjs/{index-9509ecad.js → index-ad7a712e.js} +1 -1
  11. package/dist/cjs/{index-5b6a7459.js → index-c441c903.js} +1 -1
  12. package/dist/cjs/index.cjs.js +7 -7
  13. package/dist/cjs/{input-shims-9e59ef62.js → input-shims-e748a364.js} +2 -2
  14. package/dist/cjs/{input.utils-611cde0b.js → input.utils-74e4ec28.js} +1 -1
  15. package/dist/cjs/ion-accordion_2.cjs.entry.js +1 -1
  16. package/dist/cjs/ion-action-sheet.cjs.entry.js +3 -3
  17. package/dist/cjs/ion-alert.cjs.entry.js +28 -7
  18. package/dist/cjs/ion-app_8.cjs.entry.js +8 -8
  19. package/dist/cjs/ion-back-button.cjs.entry.js +1 -1
  20. package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +1 -1
  21. package/dist/cjs/ion-button_2.cjs.entry.js +1 -1
  22. package/dist/cjs/ion-card_5.cjs.entry.js +1 -1
  23. package/dist/cjs/ion-checkbox.cjs.entry.js +1 -1
  24. package/dist/cjs/ion-datetime-button.cjs.entry.js +1 -1
  25. package/dist/cjs/ion-datetime_3.cjs.entry.js +3 -3
  26. package/dist/cjs/ion-fab_3.cjs.entry.js +1 -1
  27. package/dist/cjs/ion-img.cjs.entry.js +1 -1
  28. package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +2 -2
  29. package/dist/cjs/ion-input.cjs.entry.js +3 -3
  30. package/dist/cjs/ion-item-option_3.cjs.entry.js +2 -2
  31. package/dist/cjs/ion-item_8.cjs.entry.js +1 -1
  32. package/dist/cjs/ion-loading.cjs.entry.js +3 -3
  33. package/dist/cjs/ion-menu_3.cjs.entry.js +4 -4
  34. package/dist/cjs/ion-modal.cjs.entry.js +5 -5
  35. package/dist/cjs/ion-nav_2.cjs.entry.js +4 -4
  36. package/dist/cjs/ion-picker-column-option.cjs.entry.js +1 -1
  37. package/dist/cjs/ion-picker-column.cjs.entry.js +1 -1
  38. package/dist/cjs/ion-picker.cjs.entry.js +1 -1
  39. package/dist/cjs/ion-popover.cjs.entry.js +4 -4
  40. package/dist/cjs/ion-progress-bar.cjs.entry.js +1 -1
  41. package/dist/cjs/ion-radio_2.cjs.entry.js +1 -1
  42. package/dist/cjs/ion-range.cjs.entry.js +2 -2
  43. package/dist/cjs/ion-refresher_2.cjs.entry.js +2 -2
  44. package/dist/cjs/ion-reorder_2.cjs.entry.js +2 -2
  45. package/dist/cjs/ion-ripple-effect.cjs.entry.js +2 -4
  46. package/dist/cjs/ion-route_4.cjs.entry.js +1 -1
  47. package/dist/cjs/ion-searchbar.cjs.entry.js +1 -1
  48. package/dist/cjs/ion-segment_2.cjs.entry.js +40 -9
  49. package/dist/cjs/ion-select-modal.cjs.entry.js +3 -3
  50. package/dist/cjs/ion-select_3.cjs.entry.js +4 -4
  51. package/dist/cjs/ion-tab-bar_2.cjs.entry.js +1 -1
  52. package/dist/cjs/ion-tab_2.cjs.entry.js +2 -2
  53. package/dist/cjs/ion-textarea.cjs.entry.js +3 -3
  54. package/dist/cjs/ion-toast.cjs.entry.js +3 -3
  55. package/dist/cjs/ion-toggle.cjs.entry.js +1 -1
  56. package/dist/cjs/{ios.transition-cf40433b.js → ios.transition-afdec89f.js} +2 -2
  57. package/dist/cjs/{md.transition-ededf99f.js → md.transition-9f0d3db5.js} +2 -2
  58. package/dist/cjs/{notch-controller-d69150f5.js → notch-controller-a0c464d1.js} +1 -1
  59. package/dist/cjs/{overlays-aa669eb8.js → overlays-76b29cd4.js} +2 -2
  60. package/dist/cjs/{status-tap-37681226.js → status-tap-fb807fad.js} +2 -2
  61. package/dist/cjs/{swipe-back-0303a5e4.js → swipe-back-47a52b83.js} +1 -1
  62. package/dist/collection/components/alert/alert.js +29 -4
  63. package/dist/collection/components/ripple-effect/ripple-effect.js +2 -4
  64. package/dist/collection/components/segment-button/segment-button.js +40 -9
  65. package/dist/collection/utils/helpers.js +10 -0
  66. package/dist/docs.json +5 -1
  67. package/dist/esm/{framework-delegate-63d1a679.js → framework-delegate-f683816e.js} +1 -1
  68. package/dist/esm/{helpers-da915de8.js → helpers-9b49d7d2.js} +11 -1
  69. package/dist/esm/{index-5cc724f3.js → index-33f7e3ff.js} +1 -1
  70. package/dist/esm/{index-79b30591.js → index-5a0f5fd0.js} +1 -1
  71. package/dist/esm/{index-3ad7f18b.js → index-7ec5519a.js} +3 -3
  72. package/dist/esm/{index-24b48b06.js → index-8785a9c6.js} +1 -1
  73. package/dist/esm/index.js +7 -7
  74. package/dist/esm/{input-shims-0314bbe5.js → input-shims-0e65111b.js} +2 -2
  75. package/dist/esm/{input.utils-09c71bc7.js → input.utils-1ad8dafc.js} +1 -1
  76. package/dist/esm/ion-accordion_2.entry.js +1 -1
  77. package/dist/esm/ion-action-sheet.entry.js +3 -3
  78. package/dist/esm/ion-alert.entry.js +28 -7
  79. package/dist/esm/ion-app_8.entry.js +8 -8
  80. package/dist/esm/ion-back-button.entry.js +1 -1
  81. package/dist/esm/ion-breadcrumb_2.entry.js +1 -1
  82. package/dist/esm/ion-button_2.entry.js +1 -1
  83. package/dist/esm/ion-card_5.entry.js +1 -1
  84. package/dist/esm/ion-checkbox.entry.js +1 -1
  85. package/dist/esm/ion-datetime-button.entry.js +1 -1
  86. package/dist/esm/ion-datetime_3.entry.js +3 -3
  87. package/dist/esm/ion-fab_3.entry.js +1 -1
  88. package/dist/esm/ion-img.entry.js +1 -1
  89. package/dist/esm/ion-infinite-scroll_2.entry.js +2 -2
  90. package/dist/esm/ion-input.entry.js +3 -3
  91. package/dist/esm/ion-item-option_3.entry.js +2 -2
  92. package/dist/esm/ion-item_8.entry.js +1 -1
  93. package/dist/esm/ion-loading.entry.js +3 -3
  94. package/dist/esm/ion-menu_3.entry.js +4 -4
  95. package/dist/esm/ion-modal.entry.js +5 -5
  96. package/dist/esm/ion-nav_2.entry.js +4 -4
  97. package/dist/esm/ion-picker-column-option.entry.js +1 -1
  98. package/dist/esm/ion-picker-column.entry.js +1 -1
  99. package/dist/esm/ion-picker.entry.js +1 -1
  100. package/dist/esm/ion-popover.entry.js +4 -4
  101. package/dist/esm/ion-progress-bar.entry.js +1 -1
  102. package/dist/esm/ion-radio_2.entry.js +1 -1
  103. package/dist/esm/ion-range.entry.js +2 -2
  104. package/dist/esm/ion-refresher_2.entry.js +2 -2
  105. package/dist/esm/ion-reorder_2.entry.js +2 -2
  106. package/dist/esm/ion-ripple-effect.entry.js +2 -4
  107. package/dist/esm/ion-route_4.entry.js +1 -1
  108. package/dist/esm/ion-searchbar.entry.js +1 -1
  109. package/dist/esm/ion-segment_2.entry.js +40 -9
  110. package/dist/esm/ion-select-modal.entry.js +3 -3
  111. package/dist/esm/ion-select_3.entry.js +4 -4
  112. package/dist/esm/ion-tab-bar_2.entry.js +1 -1
  113. package/dist/esm/ion-tab_2.entry.js +2 -2
  114. package/dist/esm/ion-textarea.entry.js +3 -3
  115. package/dist/esm/ion-toast.entry.js +3 -3
  116. package/dist/esm/ion-toggle.entry.js +1 -1
  117. package/dist/esm/{ios.transition-4ee1a3af.js → ios.transition-085853ff.js} +2 -2
  118. package/dist/esm/{md.transition-5106a0d2.js → md.transition-33826623.js} +2 -2
  119. package/dist/esm/{notch-controller-55b09e11.js → notch-controller-3dc61260.js} +1 -1
  120. package/dist/esm/{overlays-e7b9d6d9.js → overlays-e3d0d356.js} +2 -2
  121. package/dist/esm/{status-tap-f472b09f.js → status-tap-163e8128.js} +2 -2
  122. package/dist/esm/{swipe-back-e5394307.js → swipe-back-23ee7ab1.js} +1 -1
  123. package/dist/esm-es5/{framework-delegate-63d1a679.js → framework-delegate-f683816e.js} +1 -1
  124. package/dist/esm-es5/{helpers-da915de8.js → helpers-9b49d7d2.js} +1 -1
  125. package/dist/esm-es5/{index-5cc724f3.js → index-33f7e3ff.js} +1 -1
  126. package/dist/esm-es5/{index-79b30591.js → index-5a0f5fd0.js} +1 -1
  127. package/dist/esm-es5/{index-3ad7f18b.js → index-7ec5519a.js} +1 -1
  128. package/dist/esm-es5/{index-24b48b06.js → index-8785a9c6.js} +1 -1
  129. package/dist/esm-es5/index.js +1 -1
  130. package/dist/esm-es5/{input-shims-0314bbe5.js → input-shims-0e65111b.js} +1 -1
  131. package/dist/esm-es5/{input.utils-09c71bc7.js → input.utils-1ad8dafc.js} +1 -1
  132. package/dist/esm-es5/ion-accordion_2.entry.js +1 -1
  133. package/dist/esm-es5/ion-action-sheet.entry.js +1 -1
  134. package/dist/esm-es5/ion-alert.entry.js +1 -1
  135. package/dist/esm-es5/ion-app_8.entry.js +1 -1
  136. package/dist/esm-es5/ion-back-button.entry.js +1 -1
  137. package/dist/esm-es5/ion-breadcrumb_2.entry.js +1 -1
  138. package/dist/esm-es5/ion-button_2.entry.js +1 -1
  139. package/dist/esm-es5/ion-card_5.entry.js +1 -1
  140. package/dist/esm-es5/ion-checkbox.entry.js +1 -1
  141. package/dist/esm-es5/ion-datetime-button.entry.js +1 -1
  142. package/dist/esm-es5/ion-datetime_3.entry.js +1 -1
  143. package/dist/esm-es5/ion-fab_3.entry.js +1 -1
  144. package/dist/esm-es5/ion-img.entry.js +1 -1
  145. package/dist/esm-es5/ion-infinite-scroll_2.entry.js +1 -1
  146. package/dist/esm-es5/ion-input.entry.js +1 -1
  147. package/dist/esm-es5/ion-item-option_3.entry.js +1 -1
  148. package/dist/esm-es5/ion-item_8.entry.js +1 -1
  149. package/dist/esm-es5/ion-loading.entry.js +1 -1
  150. package/dist/esm-es5/ion-menu_3.entry.js +1 -1
  151. package/dist/esm-es5/ion-modal.entry.js +1 -1
  152. package/dist/esm-es5/ion-nav_2.entry.js +1 -1
  153. package/dist/esm-es5/ion-picker-column-option.entry.js +1 -1
  154. package/dist/esm-es5/ion-picker-column.entry.js +1 -1
  155. package/dist/esm-es5/ion-picker.entry.js +1 -1
  156. package/dist/esm-es5/ion-popover.entry.js +1 -1
  157. package/dist/esm-es5/ion-progress-bar.entry.js +1 -1
  158. package/dist/esm-es5/ion-radio_2.entry.js +1 -1
  159. package/dist/esm-es5/ion-range.entry.js +1 -1
  160. package/dist/esm-es5/ion-refresher_2.entry.js +1 -1
  161. package/dist/esm-es5/ion-reorder_2.entry.js +1 -1
  162. package/dist/esm-es5/ion-ripple-effect.entry.js +1 -1
  163. package/dist/esm-es5/ion-route_4.entry.js +1 -1
  164. package/dist/esm-es5/ion-searchbar.entry.js +1 -1
  165. package/dist/esm-es5/ion-segment_2.entry.js +1 -1
  166. package/dist/esm-es5/ion-select-modal.entry.js +1 -1
  167. package/dist/esm-es5/ion-select_3.entry.js +1 -1
  168. package/dist/esm-es5/ion-tab-bar_2.entry.js +1 -1
  169. package/dist/esm-es5/ion-tab_2.entry.js +1 -1
  170. package/dist/esm-es5/ion-textarea.entry.js +1 -1
  171. package/dist/esm-es5/ion-toast.entry.js +1 -1
  172. package/dist/esm-es5/ion-toggle.entry.js +1 -1
  173. package/dist/esm-es5/{ios.transition-4ee1a3af.js → ios.transition-085853ff.js} +1 -1
  174. package/dist/esm-es5/{md.transition-5106a0d2.js → md.transition-33826623.js} +1 -1
  175. package/dist/esm-es5/{notch-controller-55b09e11.js → notch-controller-3dc61260.js} +1 -1
  176. package/dist/esm-es5/{overlays-e7b9d6d9.js → overlays-e3d0d356.js} +1 -1
  177. package/dist/esm-es5/{status-tap-f472b09f.js → status-tap-163e8128.js} +1 -1
  178. package/dist/esm-es5/{swipe-back-e5394307.js → swipe-back-23ee7ab1.js} +1 -1
  179. package/dist/ionic/index.esm.js +1 -1
  180. package/dist/ionic/ionic.esm.js +1 -1
  181. package/dist/ionic/{p-88e63c7d.js → p-02e1ebd9.js} +1 -1
  182. package/dist/ionic/{p-937a7e21.entry.js → p-02e23f26.entry.js} +1 -1
  183. package/dist/ionic/{p-4439fc2a.entry.js → p-0397811d.entry.js} +1 -1
  184. package/dist/ionic/{p-06e58c4e.js → p-075a94bd.js} +1 -1
  185. package/dist/ionic/{p-908d6080.entry.js → p-0a59f4fa.entry.js} +1 -1
  186. package/dist/ionic/{p-f1acf541.system.entry.js → p-0c9b6d3a.system.entry.js} +1 -1
  187. package/dist/ionic/{p-8b8be2fd.entry.js → p-0e43be1b.entry.js} +1 -1
  188. package/dist/ionic/{p-7ed1657c.system.entry.js → p-0eb2553a.system.entry.js} +1 -1
  189. package/dist/ionic/{p-dfb78785.system.js → p-0ee3b5a2.system.js} +1 -1
  190. package/dist/ionic/p-135e5731.js +4 -0
  191. package/dist/ionic/{p-d6841eac.js → p-13dc21b0.js} +1 -1
  192. package/dist/ionic/{p-efaffe74.entry.js → p-14143257.entry.js} +1 -1
  193. package/dist/ionic/{p-37cb43bd.system.entry.js → p-162c8d0c.system.entry.js} +1 -1
  194. package/dist/ionic/{p-9ea607bd.system.js → p-1a790eef.system.js} +1 -1
  195. package/dist/ionic/{p-5823babc.system.entry.js → p-1bbe8665.system.entry.js} +2 -2
  196. package/dist/ionic/{p-ddaa748a.system.entry.js → p-1bc65aec.system.entry.js} +1 -1
  197. package/dist/ionic/p-1f405274.js +4 -0
  198. package/dist/ionic/{p-c9f3a539.entry.js → p-203633d1.entry.js} +1 -1
  199. package/dist/ionic/{p-a882acef.system.entry.js → p-2507278c.system.entry.js} +1 -1
  200. package/dist/ionic/{p-2b838f86.system.entry.js → p-2515cb4d.system.entry.js} +1 -1
  201. package/dist/ionic/{p-e85d901b.system.entry.js → p-25fa1d30.system.entry.js} +1 -1
  202. package/dist/ionic/{p-61e3f887.entry.js → p-26194519.entry.js} +1 -1
  203. package/dist/ionic/{p-de930745.entry.js → p-265939f0.entry.js} +1 -1
  204. package/dist/ionic/{p-34b11c24.js → p-2bc73fb5.js} +1 -1
  205. package/dist/ionic/{p-2b9b78c7.entry.js → p-2c8798d0.entry.js} +1 -1
  206. package/dist/ionic/p-2c9eb774.system.js +4 -0
  207. package/dist/ionic/{p-14e159ea.system.entry.js → p-2e4be620.system.entry.js} +1 -1
  208. package/dist/ionic/{p-2e46590d.system.entry.js → p-2ef3c7ee.system.entry.js} +1 -1
  209. package/dist/ionic/p-322c5fb4.system.js +1 -1
  210. package/dist/ionic/{p-982315a6.entry.js → p-32e99b0a.entry.js} +1 -1
  211. package/dist/ionic/{p-f9a53abb.system.js → p-340e3f24.system.js} +1 -1
  212. package/dist/ionic/{p-ca065903.system.entry.js → p-3572f86a.system.entry.js} +1 -1
  213. package/dist/ionic/p-360ced64.entry.js +4 -0
  214. package/dist/ionic/{p-a49378bb.system.entry.js → p-3df889b3.system.entry.js} +1 -1
  215. package/dist/ionic/{p-6499df44.system.entry.js → p-3eaf1444.system.entry.js} +1 -1
  216. package/dist/ionic/{p-9df2c6fb.entry.js → p-41780810.entry.js} +1 -1
  217. package/dist/ionic/{p-96cc4814.js → p-42808996.js} +1 -1
  218. package/dist/ionic/{p-bc36ad98.system.entry.js → p-4346c79d.system.entry.js} +1 -1
  219. package/dist/ionic/{p-a15ddedb.system.js → p-4452a8ac.system.js} +1 -1
  220. package/dist/ionic/{p-9fa07aec.entry.js → p-45de8d2a.entry.js} +1 -1
  221. package/dist/ionic/{p-69666e8a.system.entry.js → p-48a8d9b4.system.entry.js} +1 -1
  222. package/dist/ionic/{p-52d7a191.entry.js → p-4ad78edc.entry.js} +1 -1
  223. package/dist/ionic/{p-6b280620.entry.js → p-4c252070.entry.js} +1 -1
  224. package/dist/ionic/{p-19ea7bff.system.js → p-5126cf1e.system.js} +1 -1
  225. package/dist/ionic/{p-b82d4cab.js → p-51dec25d.js} +1 -1
  226. package/dist/ionic/{p-d18ab582.system.entry.js → p-561ddcd4.system.entry.js} +2 -2
  227. package/dist/ionic/p-56da53ad.system.entry.js +4 -0
  228. package/dist/ionic/{p-45693d7e.entry.js → p-57379000.entry.js} +1 -1
  229. package/dist/ionic/{p-19a5be0a.entry.js → p-57ceead7.entry.js} +1 -1
  230. package/dist/ionic/{p-e563a35c.entry.js → p-5cde8ef3.entry.js} +1 -1
  231. package/dist/ionic/{p-6d6cedc5.entry.js → p-6190d0d6.entry.js} +1 -1
  232. package/dist/ionic/{p-5ab1b709.entry.js → p-61d044b4.entry.js} +1 -1
  233. package/dist/ionic/p-68dc53a5.js +4 -0
  234. package/dist/ionic/{p-9e33104d.entry.js → p-6b1bd0c1.entry.js} +1 -1
  235. package/dist/ionic/p-6d32975a.entry.js +4 -0
  236. package/dist/ionic/{p-7ddc46c3.system.entry.js → p-70ccc275.system.entry.js} +1 -1
  237. package/dist/ionic/{p-98ff6b32.entry.js → p-76446a85.entry.js} +1 -1
  238. package/dist/ionic/{p-98231c01.system.entry.js → p-77e7b7b6.system.entry.js} +1 -1
  239. package/dist/ionic/{p-72812e99.js → p-7a1766d6.js} +1 -1
  240. package/dist/ionic/{p-1046866e.system.entry.js → p-7b96e5c1.system.entry.js} +1 -1
  241. package/dist/ionic/{p-16188af7.entry.js → p-7b98cebe.entry.js} +1 -1
  242. package/dist/ionic/{p-2fc0dafe.entry.js → p-803f0bc2.entry.js} +1 -1
  243. package/dist/ionic/{p-a61cba41.entry.js → p-82b931e2.entry.js} +1 -1
  244. package/dist/ionic/{p-508d024a.entry.js → p-83e68c71.entry.js} +1 -1
  245. package/dist/ionic/{p-1e67b266.system.entry.js → p-84d08aae.system.entry.js} +1 -1
  246. package/dist/ionic/{p-5da94421.system.js → p-881d9e52.system.js} +1 -1
  247. package/dist/ionic/{p-eba29931.entry.js → p-8a836849.entry.js} +1 -1
  248. package/dist/ionic/{p-1e010627.system.entry.js → p-91f17b25.system.entry.js} +1 -1
  249. package/dist/ionic/{p-567de071.system.entry.js → p-92365bc1.system.entry.js} +1 -1
  250. package/dist/ionic/{p-d7aa6b00.entry.js → p-955c3eb8.entry.js} +1 -1
  251. package/dist/ionic/{p-8635f5e6.system.js → p-95da3ae2.system.js} +1 -1
  252. package/dist/ionic/{p-12a722b8.system.entry.js → p-9a1f985d.system.entry.js} +1 -1
  253. package/dist/ionic/{p-b9d7015f.entry.js → p-9b3bb24e.entry.js} +1 -1
  254. package/dist/ionic/{p-2bd0ae94.system.entry.js → p-9be5f3ee.system.entry.js} +2 -2
  255. package/dist/ionic/{p-c449820c.system.js → p-9eee4de1.system.js} +1 -1
  256. package/dist/ionic/{p-e7ed4a7f.system.js → p-a2b6dd57.system.js} +1 -1
  257. package/dist/ionic/{p-2799c6d3.system.entry.js → p-a3c78186.system.entry.js} +1 -1
  258. package/dist/ionic/{p-32d44024.system.entry.js → p-a4575db1.system.entry.js} +1 -1
  259. package/dist/ionic/{p-01186920.system.entry.js → p-a9e24ae2.system.entry.js} +1 -1
  260. package/dist/ionic/{p-0c06e09b.system.js → p-aa63b365.system.js} +1 -1
  261. package/dist/ionic/p-af09741c.entry.js +4 -0
  262. package/dist/ionic/{p-3ad285e3.system.js → p-b3680e2f.system.js} +1 -1
  263. package/dist/ionic/{p-21e5e7e4.js → p-b7433d7d.js} +1 -1
  264. package/dist/ionic/{p-66640ff7.system.entry.js → p-b91acf8d.system.entry.js} +1 -1
  265. package/dist/ionic/{p-b51e4004.js → p-bb11d9fb.js} +1 -1
  266. package/dist/ionic/{p-081a4ce4.entry.js → p-bb2a6761.entry.js} +1 -1
  267. package/dist/ionic/{p-0aa833fb.system.js → p-c1b51537.system.js} +1 -1
  268. package/dist/ionic/{p-bb0db172.entry.js → p-c32644d7.entry.js} +1 -1
  269. package/dist/ionic/{p-c41ac815.entry.js → p-c8d645b3.entry.js} +1 -1
  270. package/dist/ionic/{p-9ee1e8a6.entry.js → p-cc700b6b.entry.js} +1 -1
  271. package/dist/ionic/{p-ebf042e0.system.entry.js → p-d06601eb.system.entry.js} +1 -1
  272. package/dist/ionic/{p-1fe02220.system.entry.js → p-d192fdf7.system.entry.js} +1 -1
  273. package/dist/ionic/{p-3cc276f4.js → p-d4ca0475.js} +1 -1
  274. package/dist/ionic/{p-58d5df0c.system.entry.js → p-da8ef548.system.entry.js} +1 -1
  275. package/dist/ionic/{p-985a7e17.system.entry.js → p-dc146a2a.system.entry.js} +1 -1
  276. package/dist/ionic/{p-cac0e0b3.system.entry.js → p-dd0c9350.system.entry.js} +1 -1
  277. package/dist/ionic/p-df862603.entry.js +4 -0
  278. package/dist/ionic/{p-b79ba17c.entry.js → p-e1bbacb7.entry.js} +1 -1
  279. package/dist/ionic/{p-b335ffed.system.entry.js → p-e265ae18.system.entry.js} +1 -1
  280. package/dist/ionic/{p-2172893e.system.entry.js → p-e2e19375.system.entry.js} +1 -1
  281. package/dist/ionic/p-e308de5b.system.js +4 -0
  282. package/dist/ionic/{p-a4565eb5.system.js → p-e8232807.system.js} +1 -1
  283. package/dist/ionic/{p-15e76dd1.entry.js → p-e8f34871.entry.js} +1 -1
  284. package/dist/ionic/{p-19ec4f42.entry.js → p-e97a3f44.entry.js} +1 -1
  285. package/dist/ionic/{p-b2272f51.system.entry.js → p-f2b8c349.system.entry.js} +1 -1
  286. package/dist/ionic/{p-e4ee80be.system.entry.js → p-f301a694.system.entry.js} +1 -1
  287. package/dist/ionic/{p-a43467d8.entry.js → p-f42743d1.entry.js} +1 -1
  288. package/dist/ionic/{p-e6635685.js → p-f5035354.js} +1 -1
  289. package/dist/ionic/{p-797eeea8.system.entry.js → p-f78af648.system.entry.js} +1 -1
  290. package/dist/ionic/{p-63b0abde.system.entry.js → p-f89cf011.system.entry.js} +1 -1
  291. package/dist/ionic/{p-7b9a2b23.entry.js → p-fca17935.entry.js} +1 -1
  292. package/dist/ionic/{p-e4f69534.system.entry.js → p-ffc48bc5.system.entry.js} +1 -1
  293. package/dist/types/components/segment-button/segment-button.d.ts +2 -1
  294. package/dist/types/utils/helpers.d.ts +1 -0
  295. package/hydrate/index.js +76 -16
  296. package/hydrate/index.mjs +76 -16
  297. package/package.json +2 -2
  298. package/dist/ionic/p-0303d0f8.js +0 -4
  299. package/dist/ionic/p-17474161.system.js +0 -4
  300. package/dist/ionic/p-1d8761e6.entry.js +0 -4
  301. package/dist/ionic/p-2690b1de.js +0 -4
  302. package/dist/ionic/p-4c2d5b80.system.js +0 -4
  303. package/dist/ionic/p-4ec778aa.entry.js +0 -4
  304. package/dist/ionic/p-72bc8a1c.js +0 -4
  305. package/dist/ionic/p-942b5e13.entry.js +0 -4
  306. package/dist/ionic/p-c4b53b16.system.entry.js +0 -4
  307. package/dist/ionic/p-cdc83025.entry.js +0 -4
package/hydrate/index.js CHANGED
@@ -2710,6 +2710,16 @@ const shallowEqualStringMap = (map1, map2) => {
2710
2710
  }
2711
2711
  return true;
2712
2712
  };
2713
+ const getNextSiblingOfType = (element) => {
2714
+ let sibling = element.nextSibling;
2715
+ while (sibling) {
2716
+ if (sibling.nodeType === Node.ELEMENT_NODE && sibling !== null) {
2717
+ return sibling;
2718
+ }
2719
+ sibling = sibling.nextSibling;
2720
+ }
2721
+ return null;
2722
+ };
2713
2723
 
2714
2724
  /* Ionicons v7.2.2, ES Modules */
2715
2725
  const arrowBackSharp = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path stroke-linecap='square' stroke-miterlimit='10' stroke-width='48' d='M244 400L100 256l144-144M120 256h292' class='ionicon-fill-none'/></svg>";
@@ -6991,6 +7001,7 @@ class Alert {
6991
7001
  }
6992
7002
  }
6993
7003
  onKeydown(ev) {
7004
+ var _a;
6994
7005
  const inputTypes = new Set(this.processedInputs.map((i) => i.type));
6995
7006
  /**
6996
7007
  * Based on keyboard navigation requirements, the
@@ -7000,6 +7011,17 @@ class Alert {
7000
7011
  ev.preventDefault();
7001
7012
  return;
7002
7013
  }
7014
+ /**
7015
+ * Ensure when alert container is being focused, and the user presses the tab + shift keys, the focus will be set to the last alert button.
7016
+ */
7017
+ if (ev.target.classList.contains('alert-wrapper')) {
7018
+ if (ev.key === 'Tab' && ev.shiftKey) {
7019
+ ev.preventDefault();
7020
+ const lastChildBtn = (_a = this.wrapperEl) === null || _a === void 0 ? void 0 : _a.querySelector('.alert-button:last-child');
7021
+ lastChildBtn.focus();
7022
+ return;
7023
+ }
7024
+ }
7003
7025
  // The only inputs we want to navigate between using arrow keys are the radios
7004
7026
  // ignore the keydown event if it is not on a radio button
7005
7027
  if (!inputTypes.has('radio') ||
@@ -7131,7 +7153,16 @@ class Alert {
7131
7153
  async present() {
7132
7154
  const unlock = await this.lockController.lock();
7133
7155
  await this.delegateController.attachViewToDom();
7134
- await present(this, 'alertEnter', iosEnterAnimation$5, mdEnterAnimation$4);
7156
+ await present(this, 'alertEnter', iosEnterAnimation$5, mdEnterAnimation$4).then(() => {
7157
+ var _a, _b;
7158
+ if (this.buttons.length === 1 && this.inputs.length === 0) {
7159
+ const queryBtn = (_a = this.wrapperEl) === null || _a === void 0 ? void 0 : _a.querySelector('.alert-button');
7160
+ queryBtn.focus();
7161
+ }
7162
+ else {
7163
+ (_b = this.wrapperEl) === null || _b === void 0 ? void 0 : _b.focus();
7164
+ }
7165
+ });
7135
7166
  unlock();
7136
7167
  }
7137
7168
  /**
@@ -7303,8 +7334,8 @@ class Alert {
7303
7334
  const { overlayIndex, header, subHeader, message, htmlAttributes } = this;
7304
7335
  const mode = getIonMode$1(this);
7305
7336
  const hdrId = `alert-${overlayIndex}-hdr`;
7306
- const subHdrId = `alert-${overlayIndex}-sub-hdr`;
7307
7337
  const msgId = `alert-${overlayIndex}-msg`;
7338
+ const subHdrId = `alert-${overlayIndex}-sub-hdr`;
7308
7339
  const role = this.inputs.length > 0 || this.buttons.length > 0 ? 'alertdialog' : 'alert';
7309
7340
  /**
7310
7341
  * Use both the header and subHeader ids if they are defined.
@@ -7313,9 +7344,9 @@ class Alert {
7313
7344
  * If neither are defined, do not set aria-labelledby.
7314
7345
  */
7315
7346
  const ariaLabelledBy = header && subHeader ? `${hdrId} ${subHdrId}` : header ? hdrId : subHeader ? subHdrId : null;
7316
- return (hAsync(Host, Object.assign({ key: 'ad7e14b4f92a09387aa80abfb718a755e4e889d6', role: role, "aria-modal": "true", "aria-labelledby": ariaLabelledBy, "aria-describedby": message !== undefined ? msgId : null, tabindex: "-1" }, htmlAttributes, { style: {
7347
+ return (hAsync(Host, { key: '212b5dc1949c63210c9d135afbe7fe31a16b5638', tabindex: "-1", style: {
7317
7348
  zIndex: `${20000 + overlayIndex}`,
7318
- }, class: Object.assign(Object.assign({}, getClassMap(this.cssClass)), { [mode]: true, 'overlay-hidden': true, 'alert-translucent': this.translucent }), onIonAlertWillDismiss: this.dispatchCancelHandler, onIonBackdropTap: this.onBackdropTap }), hAsync("ion-backdrop", { key: '4b4693dca3c910aa9a61c4d90295d785ec6cbe3d', tappable: this.backdropDismiss }), hAsync("div", { key: '64fd19b8f1d8246dcc869053f858bc33506def4b', tabindex: "0", "aria-hidden": "true" }), hAsync("div", { key: 'e61ba6f339c3a02cecd37d8b641ee5043018eb29', class: "alert-wrapper ion-overlay-wrapper", ref: (el) => (this.wrapperEl = el) }, hAsync("div", { key: '044e00667ffcb74aa2c5e0d0b42669c4004dbb4f', class: "alert-head" }, header && (hAsync("h2", { key: '1aaae8d58722c4cf5debb1f00415ab7ed0a52bbd', id: hdrId, class: "alert-title" }, header)), subHeader && !header && (hAsync("h2", { key: '9c9854dc3b0ad40f1861a49b76d5636afcae9c74', id: subHdrId, class: "alert-sub-title" }, subHeader)), subHeader && header && (hAsync("h3", { key: '19aaca9912f77cde4ae8079be210eda697ed8de1', id: subHdrId, class: "alert-sub-title" }, subHeader))), this.renderAlertMessage(msgId), this.renderAlertInputs(), this.renderAlertButtons()), hAsync("div", { key: 'a85d27c516f7cdbc85b19f40d2f0bd865490b6a7', tabindex: "0", "aria-hidden": "true" })));
7349
+ }, class: Object.assign(Object.assign({}, getClassMap(this.cssClass)), { [mode]: true, 'overlay-hidden': true, 'alert-translucent': this.translucent }), onIonAlertWillDismiss: this.dispatchCancelHandler, onIonBackdropTap: this.onBackdropTap }, hAsync("ion-backdrop", { key: 'ac8351d14850884a4f6865bbf32fb271592eedd9', tappable: this.backdropDismiss }), hAsync("div", { key: 'f677da8e719dfef9db8acbfd4fa14b936efb2cd7', tabindex: "0", "aria-hidden": "true" }), hAsync("div", Object.assign({ key: '00124f7eda90b905c7161af00c25129e6232e387', class: "alert-wrapper ion-overlay-wrapper", role: role, "aria-modal": "true", "aria-labelledby": ariaLabelledBy, "aria-describedby": message !== undefined ? msgId : null, tabindex: "0", ref: (el) => (this.wrapperEl = el) }, htmlAttributes), hAsync("div", { key: '441b12e462a6ac83f29e251bea60d4dac273c6f8', class: "alert-head" }, header && (hAsync("h2", { key: 'd7f185ec5ba61519cd2e5c84ccb884fc711754bf', id: hdrId, class: "alert-title" }, header)), subHeader && !header && (hAsync("h2", { key: '8477b1979d040ffbce7b4396b57d5fd197b116a7', id: subHdrId, class: "alert-sub-title" }, subHeader)), subHeader && header && (hAsync("h3", { key: 'ccb22f664465077be6e5f59c1541c13d8071cc30', id: subHdrId, class: "alert-sub-title" }, subHeader))), this.renderAlertMessage(msgId), this.renderAlertInputs(), this.renderAlertButtons()), hAsync("div", { key: '33d5f68cb7a0989ecd1bd0abf110b94947e5b091', tabindex: "0", "aria-hidden": "true" })));
7319
7350
  }
7320
7351
  get el() { return getElement(this); }
7321
7352
  static get watchers() { return {
@@ -27090,12 +27121,10 @@ class RippleEffect {
27090
27121
  }; }
27091
27122
  }
27092
27123
  const removeRipple = (ripple) => {
27093
- if (!ripple.parentNode)
27094
- return;
27095
27124
  ripple.classList.add('fade-out');
27096
- ripple.addEventListener('transitionend', () => {
27125
+ setTimeout(() => {
27097
27126
  ripple.remove();
27098
- }, { once: true });
27127
+ }, 200);
27099
27128
  };
27100
27129
  const PADDING = 10;
27101
27130
  const INITIAL_ORIGIN_SCALE = 0.5;
@@ -29320,7 +29349,35 @@ class SegmentButton {
29320
29349
  valueChanged() {
29321
29350
  this.updateState();
29322
29351
  }
29323
- connectedCallback() {
29352
+ waitForSegmentContent(ionSegment, contentId) {
29353
+ return new Promise((resolve, reject) => {
29354
+ let timeoutId = undefined;
29355
+ let animationFrameId;
29356
+ const check = () => {
29357
+ if (!ionSegment) {
29358
+ reject(new Error(`Segment not found when looking for Segment Content`));
29359
+ return;
29360
+ }
29361
+ const segmentView = getNextSiblingOfType(ionSegment); // Skip the text nodes
29362
+ const segmentContent = segmentView === null || segmentView === void 0 ? void 0 : segmentView.querySelector(`ion-segment-content[id="${contentId}"]`);
29363
+ if (segmentContent && timeoutId) {
29364
+ clearTimeout(timeoutId); // Clear the timeout if the segmentContent is found
29365
+ cancelAnimationFrame(animationFrameId);
29366
+ resolve(segmentContent);
29367
+ }
29368
+ else {
29369
+ animationFrameId = requestAnimationFrame(check); // Keep checking on the next animation frame
29370
+ }
29371
+ };
29372
+ check();
29373
+ // Set a timeout to reject the promise
29374
+ timeoutId = setTimeout(() => {
29375
+ cancelAnimationFrame(animationFrameId);
29376
+ reject(new Error(`Unable to find Segment Content with id="${contentId} within 1000 ms`));
29377
+ }, 1000);
29378
+ });
29379
+ }
29380
+ async connectedCallback() {
29324
29381
  const segmentEl = (this.segmentEl = this.el.closest('ion-segment'));
29325
29382
  if (segmentEl) {
29326
29383
  this.updateState();
@@ -29330,11 +29387,14 @@ class SegmentButton {
29330
29387
  // Return if there is no contentId defined
29331
29388
  if (!this.contentId)
29332
29389
  return;
29333
- // Attempt to find the Segment Content by its contentId
29334
- const segmentContent = document.getElementById(this.contentId);
29335
- // If no associated Segment Content exists, log an error and return
29336
- if (!segmentContent) {
29337
- console.error(`Segment Button: Unable to find Segment Content with id="${this.contentId}".`);
29390
+ let segmentContent;
29391
+ try {
29392
+ // Attempt to find the Segment Content by its contentId
29393
+ segmentContent = await this.waitForSegmentContent(segmentEl, this.contentId);
29394
+ }
29395
+ catch (error) {
29396
+ // If no associated Segment Content exists, log an error and return
29397
+ console.error('Segment Button: ', error.message);
29338
29398
  return;
29339
29399
  }
29340
29400
  // Ensure the found element is a valid ION-SEGMENT-CONTENT
@@ -29380,7 +29440,7 @@ class SegmentButton {
29380
29440
  const { checked, type, disabled, hasIcon, hasLabel, layout, segmentEl } = this;
29381
29441
  const mode = getIonMode$1(this);
29382
29442
  const hasSegmentColor = () => (segmentEl === null || segmentEl === void 0 ? void 0 : segmentEl.color) !== undefined;
29383
- return (hAsync(Host, { key: 'd50a5d5e2f6206e8523598f258d8217d2903f69b', class: {
29443
+ return (hAsync(Host, { key: 'f9da656c8eccb80e4ef30e3fa977f2dbbefbc988', class: {
29384
29444
  [mode]: true,
29385
29445
  'in-toolbar': hostContext('ion-toolbar', this.el),
29386
29446
  'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
@@ -29396,7 +29456,7 @@ class SegmentButton {
29396
29456
  'ion-activatable': true,
29397
29457
  'ion-activatable-instant': true,
29398
29458
  'ion-focusable': true,
29399
- } }, hAsync("button", Object.assign({ key: 'b4f6f145286ba8ab79669e11035b906daa85ae7e', "aria-selected": checked ? 'true' : 'false', role: "tab", ref: (el) => (this.nativeEl = el), type: type, class: "button-native", part: "native", disabled: disabled }, this.inheritedAttributes), hAsync("span", { key: '67965996c9ffe70553875e00d3da0ae5b2b1d814', class: "button-inner" }, hAsync("slot", { key: '5087988fe45a8fdf388ec44c395d0b745b207806' })), mode === 'md' && hAsync("ion-ripple-effect", { key: 'b24858de0750bbc769b3183fac0077dfe817ba27' })), hAsync("div", { key: '97b4359432acd1c9da0816360cd1df9472e183f7', part: "indicator", class: "segment-button-indicator segment-button-indicator-animated" }, hAsync("div", { key: '0561738ea15b0986f4ed3d8276d5e6f2d13f7e51', part: "indicator-background", class: "segment-button-indicator-background" }))));
29459
+ } }, hAsync("button", Object.assign({ key: '00dbcdbd81cd74abdd39803f6840a6e477cc7b0c', "aria-selected": checked ? 'true' : 'false', role: "tab", ref: (el) => (this.nativeEl = el), type: type, class: "button-native", part: "native", disabled: disabled }, this.inheritedAttributes), hAsync("span", { key: '5200c082a9c4788010c4fc33fe75e2b2ad28364a', class: "button-inner" }, hAsync("slot", { key: 'cf3fce2b5d22436b84cd4367a5885df7d6a2715f' })), mode === 'md' && hAsync("ion-ripple-effect", { key: 'f1a2816465f4c2c06644be07315bff2da77e2342' })), hAsync("div", { key: 'aaf31c0ed39641fca698ee98d0773131f4eea6bd', part: "indicator", class: "segment-button-indicator segment-button-indicator-animated" }, hAsync("div", { key: 'fc556651361b7ac305aaedd25ea4afe3173abd20', part: "indicator-background", class: "segment-button-indicator-background" }))));
29400
29460
  }
29401
29461
  get el() { return getElement(this); }
29402
29462
  static get watchers() { return {
package/hydrate/index.mjs CHANGED
@@ -2706,6 +2706,16 @@ const shallowEqualStringMap = (map1, map2) => {
2706
2706
  }
2707
2707
  return true;
2708
2708
  };
2709
+ const getNextSiblingOfType = (element) => {
2710
+ let sibling = element.nextSibling;
2711
+ while (sibling) {
2712
+ if (sibling.nodeType === Node.ELEMENT_NODE && sibling !== null) {
2713
+ return sibling;
2714
+ }
2715
+ sibling = sibling.nextSibling;
2716
+ }
2717
+ return null;
2718
+ };
2709
2719
 
2710
2720
  /* Ionicons v7.2.2, ES Modules */
2711
2721
  const arrowBackSharp = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path stroke-linecap='square' stroke-miterlimit='10' stroke-width='48' d='M244 400L100 256l144-144M120 256h292' class='ionicon-fill-none'/></svg>";
@@ -6987,6 +6997,7 @@ class Alert {
6987
6997
  }
6988
6998
  }
6989
6999
  onKeydown(ev) {
7000
+ var _a;
6990
7001
  const inputTypes = new Set(this.processedInputs.map((i) => i.type));
6991
7002
  /**
6992
7003
  * Based on keyboard navigation requirements, the
@@ -6996,6 +7007,17 @@ class Alert {
6996
7007
  ev.preventDefault();
6997
7008
  return;
6998
7009
  }
7010
+ /**
7011
+ * Ensure when alert container is being focused, and the user presses the tab + shift keys, the focus will be set to the last alert button.
7012
+ */
7013
+ if (ev.target.classList.contains('alert-wrapper')) {
7014
+ if (ev.key === 'Tab' && ev.shiftKey) {
7015
+ ev.preventDefault();
7016
+ const lastChildBtn = (_a = this.wrapperEl) === null || _a === void 0 ? void 0 : _a.querySelector('.alert-button:last-child');
7017
+ lastChildBtn.focus();
7018
+ return;
7019
+ }
7020
+ }
6999
7021
  // The only inputs we want to navigate between using arrow keys are the radios
7000
7022
  // ignore the keydown event if it is not on a radio button
7001
7023
  if (!inputTypes.has('radio') ||
@@ -7127,7 +7149,16 @@ class Alert {
7127
7149
  async present() {
7128
7150
  const unlock = await this.lockController.lock();
7129
7151
  await this.delegateController.attachViewToDom();
7130
- await present(this, 'alertEnter', iosEnterAnimation$5, mdEnterAnimation$4);
7152
+ await present(this, 'alertEnter', iosEnterAnimation$5, mdEnterAnimation$4).then(() => {
7153
+ var _a, _b;
7154
+ if (this.buttons.length === 1 && this.inputs.length === 0) {
7155
+ const queryBtn = (_a = this.wrapperEl) === null || _a === void 0 ? void 0 : _a.querySelector('.alert-button');
7156
+ queryBtn.focus();
7157
+ }
7158
+ else {
7159
+ (_b = this.wrapperEl) === null || _b === void 0 ? void 0 : _b.focus();
7160
+ }
7161
+ });
7131
7162
  unlock();
7132
7163
  }
7133
7164
  /**
@@ -7299,8 +7330,8 @@ class Alert {
7299
7330
  const { overlayIndex, header, subHeader, message, htmlAttributes } = this;
7300
7331
  const mode = getIonMode$1(this);
7301
7332
  const hdrId = `alert-${overlayIndex}-hdr`;
7302
- const subHdrId = `alert-${overlayIndex}-sub-hdr`;
7303
7333
  const msgId = `alert-${overlayIndex}-msg`;
7334
+ const subHdrId = `alert-${overlayIndex}-sub-hdr`;
7304
7335
  const role = this.inputs.length > 0 || this.buttons.length > 0 ? 'alertdialog' : 'alert';
7305
7336
  /**
7306
7337
  * Use both the header and subHeader ids if they are defined.
@@ -7309,9 +7340,9 @@ class Alert {
7309
7340
  * If neither are defined, do not set aria-labelledby.
7310
7341
  */
7311
7342
  const ariaLabelledBy = header && subHeader ? `${hdrId} ${subHdrId}` : header ? hdrId : subHeader ? subHdrId : null;
7312
- return (hAsync(Host, Object.assign({ key: 'ad7e14b4f92a09387aa80abfb718a755e4e889d6', role: role, "aria-modal": "true", "aria-labelledby": ariaLabelledBy, "aria-describedby": message !== undefined ? msgId : null, tabindex: "-1" }, htmlAttributes, { style: {
7343
+ return (hAsync(Host, { key: '212b5dc1949c63210c9d135afbe7fe31a16b5638', tabindex: "-1", style: {
7313
7344
  zIndex: `${20000 + overlayIndex}`,
7314
- }, class: Object.assign(Object.assign({}, getClassMap(this.cssClass)), { [mode]: true, 'overlay-hidden': true, 'alert-translucent': this.translucent }), onIonAlertWillDismiss: this.dispatchCancelHandler, onIonBackdropTap: this.onBackdropTap }), hAsync("ion-backdrop", { key: '4b4693dca3c910aa9a61c4d90295d785ec6cbe3d', tappable: this.backdropDismiss }), hAsync("div", { key: '64fd19b8f1d8246dcc869053f858bc33506def4b', tabindex: "0", "aria-hidden": "true" }), hAsync("div", { key: 'e61ba6f339c3a02cecd37d8b641ee5043018eb29', class: "alert-wrapper ion-overlay-wrapper", ref: (el) => (this.wrapperEl = el) }, hAsync("div", { key: '044e00667ffcb74aa2c5e0d0b42669c4004dbb4f', class: "alert-head" }, header && (hAsync("h2", { key: '1aaae8d58722c4cf5debb1f00415ab7ed0a52bbd', id: hdrId, class: "alert-title" }, header)), subHeader && !header && (hAsync("h2", { key: '9c9854dc3b0ad40f1861a49b76d5636afcae9c74', id: subHdrId, class: "alert-sub-title" }, subHeader)), subHeader && header && (hAsync("h3", { key: '19aaca9912f77cde4ae8079be210eda697ed8de1', id: subHdrId, class: "alert-sub-title" }, subHeader))), this.renderAlertMessage(msgId), this.renderAlertInputs(), this.renderAlertButtons()), hAsync("div", { key: 'a85d27c516f7cdbc85b19f40d2f0bd865490b6a7', tabindex: "0", "aria-hidden": "true" })));
7345
+ }, class: Object.assign(Object.assign({}, getClassMap(this.cssClass)), { [mode]: true, 'overlay-hidden': true, 'alert-translucent': this.translucent }), onIonAlertWillDismiss: this.dispatchCancelHandler, onIonBackdropTap: this.onBackdropTap }, hAsync("ion-backdrop", { key: 'ac8351d14850884a4f6865bbf32fb271592eedd9', tappable: this.backdropDismiss }), hAsync("div", { key: 'f677da8e719dfef9db8acbfd4fa14b936efb2cd7', tabindex: "0", "aria-hidden": "true" }), hAsync("div", Object.assign({ key: '00124f7eda90b905c7161af00c25129e6232e387', class: "alert-wrapper ion-overlay-wrapper", role: role, "aria-modal": "true", "aria-labelledby": ariaLabelledBy, "aria-describedby": message !== undefined ? msgId : null, tabindex: "0", ref: (el) => (this.wrapperEl = el) }, htmlAttributes), hAsync("div", { key: '441b12e462a6ac83f29e251bea60d4dac273c6f8', class: "alert-head" }, header && (hAsync("h2", { key: 'd7f185ec5ba61519cd2e5c84ccb884fc711754bf', id: hdrId, class: "alert-title" }, header)), subHeader && !header && (hAsync("h2", { key: '8477b1979d040ffbce7b4396b57d5fd197b116a7', id: subHdrId, class: "alert-sub-title" }, subHeader)), subHeader && header && (hAsync("h3", { key: 'ccb22f664465077be6e5f59c1541c13d8071cc30', id: subHdrId, class: "alert-sub-title" }, subHeader))), this.renderAlertMessage(msgId), this.renderAlertInputs(), this.renderAlertButtons()), hAsync("div", { key: '33d5f68cb7a0989ecd1bd0abf110b94947e5b091', tabindex: "0", "aria-hidden": "true" })));
7315
7346
  }
7316
7347
  get el() { return getElement(this); }
7317
7348
  static get watchers() { return {
@@ -27086,12 +27117,10 @@ class RippleEffect {
27086
27117
  }; }
27087
27118
  }
27088
27119
  const removeRipple = (ripple) => {
27089
- if (!ripple.parentNode)
27090
- return;
27091
27120
  ripple.classList.add('fade-out');
27092
- ripple.addEventListener('transitionend', () => {
27121
+ setTimeout(() => {
27093
27122
  ripple.remove();
27094
- }, { once: true });
27123
+ }, 200);
27095
27124
  };
27096
27125
  const PADDING = 10;
27097
27126
  const INITIAL_ORIGIN_SCALE = 0.5;
@@ -29316,7 +29345,35 @@ class SegmentButton {
29316
29345
  valueChanged() {
29317
29346
  this.updateState();
29318
29347
  }
29319
- connectedCallback() {
29348
+ waitForSegmentContent(ionSegment, contentId) {
29349
+ return new Promise((resolve, reject) => {
29350
+ let timeoutId = undefined;
29351
+ let animationFrameId;
29352
+ const check = () => {
29353
+ if (!ionSegment) {
29354
+ reject(new Error(`Segment not found when looking for Segment Content`));
29355
+ return;
29356
+ }
29357
+ const segmentView = getNextSiblingOfType(ionSegment); // Skip the text nodes
29358
+ const segmentContent = segmentView === null || segmentView === void 0 ? void 0 : segmentView.querySelector(`ion-segment-content[id="${contentId}"]`);
29359
+ if (segmentContent && timeoutId) {
29360
+ clearTimeout(timeoutId); // Clear the timeout if the segmentContent is found
29361
+ cancelAnimationFrame(animationFrameId);
29362
+ resolve(segmentContent);
29363
+ }
29364
+ else {
29365
+ animationFrameId = requestAnimationFrame(check); // Keep checking on the next animation frame
29366
+ }
29367
+ };
29368
+ check();
29369
+ // Set a timeout to reject the promise
29370
+ timeoutId = setTimeout(() => {
29371
+ cancelAnimationFrame(animationFrameId);
29372
+ reject(new Error(`Unable to find Segment Content with id="${contentId} within 1000 ms`));
29373
+ }, 1000);
29374
+ });
29375
+ }
29376
+ async connectedCallback() {
29320
29377
  const segmentEl = (this.segmentEl = this.el.closest('ion-segment'));
29321
29378
  if (segmentEl) {
29322
29379
  this.updateState();
@@ -29326,11 +29383,14 @@ class SegmentButton {
29326
29383
  // Return if there is no contentId defined
29327
29384
  if (!this.contentId)
29328
29385
  return;
29329
- // Attempt to find the Segment Content by its contentId
29330
- const segmentContent = document.getElementById(this.contentId);
29331
- // If no associated Segment Content exists, log an error and return
29332
- if (!segmentContent) {
29333
- console.error(`Segment Button: Unable to find Segment Content with id="${this.contentId}".`);
29386
+ let segmentContent;
29387
+ try {
29388
+ // Attempt to find the Segment Content by its contentId
29389
+ segmentContent = await this.waitForSegmentContent(segmentEl, this.contentId);
29390
+ }
29391
+ catch (error) {
29392
+ // If no associated Segment Content exists, log an error and return
29393
+ console.error('Segment Button: ', error.message);
29334
29394
  return;
29335
29395
  }
29336
29396
  // Ensure the found element is a valid ION-SEGMENT-CONTENT
@@ -29376,7 +29436,7 @@ class SegmentButton {
29376
29436
  const { checked, type, disabled, hasIcon, hasLabel, layout, segmentEl } = this;
29377
29437
  const mode = getIonMode$1(this);
29378
29438
  const hasSegmentColor = () => (segmentEl === null || segmentEl === void 0 ? void 0 : segmentEl.color) !== undefined;
29379
- return (hAsync(Host, { key: 'd50a5d5e2f6206e8523598f258d8217d2903f69b', class: {
29439
+ return (hAsync(Host, { key: 'f9da656c8eccb80e4ef30e3fa977f2dbbefbc988', class: {
29380
29440
  [mode]: true,
29381
29441
  'in-toolbar': hostContext('ion-toolbar', this.el),
29382
29442
  'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
@@ -29392,7 +29452,7 @@ class SegmentButton {
29392
29452
  'ion-activatable': true,
29393
29453
  'ion-activatable-instant': true,
29394
29454
  'ion-focusable': true,
29395
- } }, hAsync("button", Object.assign({ key: 'b4f6f145286ba8ab79669e11035b906daa85ae7e', "aria-selected": checked ? 'true' : 'false', role: "tab", ref: (el) => (this.nativeEl = el), type: type, class: "button-native", part: "native", disabled: disabled }, this.inheritedAttributes), hAsync("span", { key: '67965996c9ffe70553875e00d3da0ae5b2b1d814', class: "button-inner" }, hAsync("slot", { key: '5087988fe45a8fdf388ec44c395d0b745b207806' })), mode === 'md' && hAsync("ion-ripple-effect", { key: 'b24858de0750bbc769b3183fac0077dfe817ba27' })), hAsync("div", { key: '97b4359432acd1c9da0816360cd1df9472e183f7', part: "indicator", class: "segment-button-indicator segment-button-indicator-animated" }, hAsync("div", { key: '0561738ea15b0986f4ed3d8276d5e6f2d13f7e51', part: "indicator-background", class: "segment-button-indicator-background" }))));
29455
+ } }, hAsync("button", Object.assign({ key: '00dbcdbd81cd74abdd39803f6840a6e477cc7b0c', "aria-selected": checked ? 'true' : 'false', role: "tab", ref: (el) => (this.nativeEl = el), type: type, class: "button-native", part: "native", disabled: disabled }, this.inheritedAttributes), hAsync("span", { key: '5200c082a9c4788010c4fc33fe75e2b2ad28364a', class: "button-inner" }, hAsync("slot", { key: 'cf3fce2b5d22436b84cd4367a5885df7d6a2715f' })), mode === 'md' && hAsync("ion-ripple-effect", { key: 'f1a2816465f4c2c06644be07315bff2da77e2342' })), hAsync("div", { key: 'aaf31c0ed39641fca698ee98d0773131f4eea6bd', part: "indicator", class: "segment-button-indicator segment-button-indicator-animated" }, hAsync("div", { key: 'fc556651361b7ac305aaedd25ea4afe3173abd20', part: "indicator-background", class: "segment-button-indicator-background" }))));
29396
29456
  }
29397
29457
  get el() { return getElement(this); }
29398
29458
  static get watchers() { return {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ionic/core",
3
- "version": "8.4.4-dev.11739312641.10060091",
3
+ "version": "8.4.4-dev.11740658609.11c22eeb",
4
4
  "description": "Base components for Ionic",
5
5
  "keywords": [
6
6
  "ionic",
@@ -41,7 +41,7 @@
41
41
  "@capacitor/haptics": "^6.0.0",
42
42
  "@capacitor/keyboard": "^6.0.0",
43
43
  "@capacitor/status-bar": "^6.0.0",
44
- "@clack/prompts": "^0.9.0",
44
+ "@clack/prompts": "^0.10.0",
45
45
  "@ionic/eslint-config": "^0.3.0",
46
46
  "@ionic/prettier-config": "^2.0.0",
47
47
  "@playwright/test": "^1.46.1",
@@ -1,4 +0,0 @@
1
- /*!
2
- * (C) Ionic http://ionicframework.com - MIT License
3
- */
4
- import{e as o,w as s}from"./p-d836d43e.js";import{f as e,s as t}from"./p-06e58c4e.js";import{c as r}from"./p-b51e4004.js";import"./p-06fee233.js";const a=()=>{const a=window;a.addEventListener("statusTap",(()=>{o((()=>{const o=document.elementFromPoint(a.innerWidth/2,a.innerHeight/2);if(!o)return;const n=e(o);n&&new Promise((o=>r(n,o))).then((()=>{s((async()=>{n.style.setProperty("--overflow","hidden"),await t(n,300),n.style.removeProperty("--overflow")}))}))}))}))};export{a as startStatusTap}
@@ -1,4 +0,0 @@
1
- /*!
2
- * (C) Ionic http://ionicframework.com - MIT License
3
- */
4
- System.register(["./p-9146695e.system.js","./p-f9a53abb.system.js","./p-792919fd.system.js","./p-a69b9fc5.system.js","./p-25180df3.system.js","./p-ff4b7e40.system.js","./p-3ad285e3.system.js"],(function(n){"use strict";var t,i;return{setters:[function(n){t=n.c},function(n){i=n.g},function(){},function(){},function(){},function(){},function(){}],execute:function(){var s=n("mdTransitionAnimation",(function(n,s){var a,e,r;var o="40px";var c="0px";var f=s.direction==="back";var u=s.enteringEl;var v=s.leavingEl;var b=i(u);var l=b.querySelector("ion-toolbar");var p=t();p.addElement(b).fill("both").beforeRemoveClass("ion-page-invisible");if(f){p.duration(((a=s.duration)!==null&&a!==void 0?a:0)||200).easing("cubic-bezier(0.47,0,0.745,0.715)")}else{p.duration(((e=s.duration)!==null&&e!==void 0?e:0)||280).easing("cubic-bezier(0.36,0.66,0.04,1)").fromTo("transform","translateY(".concat(o,")"),"translateY(".concat(c,")")).fromTo("opacity",.01,1)}if(l){var m=t();m.addElement(l);p.addAnimation(m)}if(v&&f){p.duration(((r=s.duration)!==null&&r!==void 0?r:0)||200).easing("cubic-bezier(0.47,0,0.745,0.715)");var y=t();y.addElement(i(v)).onFinish((function(n){if(n===1&&y.elements.length>0){y.elements[0].style.setProperty("display","none")}})).fromTo("transform","translateY(".concat(c,")"),"translateY(".concat(o,")")).fromTo("opacity",1,0);p.addAnimation(y)}return p}))}}}));
@@ -1,4 +0,0 @@
1
- /*!
2
- * (C) Ionic http://ionicframework.com - MIT License
3
- */
4
- import{r as t,e as n,w as i,h as a,i as e,f as o}from"./p-d836d43e.js";import{b as r}from"./p-0574e87e.js";const s=class{constructor(n){t(this,n),this.type="bounded"}async addRipple(t,a){return new Promise((e=>{n((()=>{const n=this.el.getBoundingClientRect(),o=n.width,r=n.height,s=Math.sqrt(o*o+r*r),l=Math.max(r,o),d=this.unbounded?l:s+c,u=Math.floor(l*f),p=d/u;let b=t-n.left,w=a-n.top;this.unbounded&&(b=.5*o,w=.5*r);const k=b-.5*u,y=w-.5*u,h=.5*o-b,g=.5*r-w;i((()=>{const t=document.createElement("div");t.classList.add("ripple-effect");const n=t.style;n.top=y+"px",n.left=k+"px",n.width=n.height=u+"px",n.setProperty("--final-scale",`${p}`),n.setProperty("--translate-end",`${h}px, ${g}px`),(this.el.shadowRoot||this.el).appendChild(t),setTimeout((()=>{e((()=>{m(t)}))}),325)}))}))}))}get unbounded(){return"unbounded"===this.type}render(){const t=r(this);return a(o,{key:"7ae559bda5d2c1856a45bfa150c2cb4f83373f8e",role:"presentation",class:{[t]:!0,unbounded:this.unbounded}})}get el(){return e(this)}},m=t=>{t.parentNode&&(t.classList.add("fade-out"),t.addEventListener("transitionend",(()=>{t.remove()}),{once:!0}))},c=10,f=.5;s.style=":host{left:0;right:0;top:0;bottom:0;position:absolute;contain:strict;pointer-events:none}:host(.unbounded){contain:layout size style}.ripple-effect{border-radius:50%;position:absolute;background-color:currentColor;color:inherit;contain:strict;opacity:0;-webkit-animation:225ms rippleAnimation forwards, 75ms fadeInAnimation forwards;animation:225ms rippleAnimation forwards, 75ms fadeInAnimation forwards;will-change:transform, opacity;pointer-events:none}.fade-out{-webkit-transform:translate(var(--translate-end)) scale(var(--final-scale, 1));transform:translate(var(--translate-end)) scale(var(--final-scale, 1));-webkit-animation:150ms fadeOutAnimation forwards;animation:150ms fadeOutAnimation forwards}@-webkit-keyframes rippleAnimation{from{-webkit-animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transform:scale(1);transform:scale(1)}to{-webkit-transform:translate(var(--translate-end)) scale(var(--final-scale, 1));transform:translate(var(--translate-end)) scale(var(--final-scale, 1))}}@keyframes rippleAnimation{from{-webkit-animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transform:scale(1);transform:scale(1)}to{-webkit-transform:translate(var(--translate-end)) scale(var(--final-scale, 1));transform:translate(var(--translate-end)) scale(var(--final-scale, 1))}}@-webkit-keyframes fadeInAnimation{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:0}to{opacity:0.16}}@keyframes fadeInAnimation{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:0}to{opacity:0.16}}@-webkit-keyframes fadeOutAnimation{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:0.16}to{opacity:0}}@keyframes fadeOutAnimation{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:0.16}to{opacity:0}}";export{s as ion_ripple_effect}
@@ -1,4 +0,0 @@
1
- /*!
2
- * (C) Ionic http://ionicframework.com - MIT License
3
- */
4
- import{w as o,d as n}from"./p-7b30edcc.js";import{g as t,c as i,f as e}from"./p-06e58c4e.js";import{a as r,b as a,r as s,c as d}from"./p-b51e4004.js";import{a as c,K as l}from"./p-27281edd.js";import"./p-06fee233.js";import"./p-c61cc894.js";const u=new WeakMap,f=(o,n,t,i=0,e=!1)=>{u.has(o)!==t&&(t?w(o,n,i,e):p(o,n))},w=(o,n,t,i=!1)=>{const e=n.parentNode,r=n.cloneNode(!1);r.classList.add("cloned-input"),r.tabIndex=-1,i&&(r.disabled=!0),e.appendChild(r),u.set(o,r);const a="rtl"===o.ownerDocument.dir?9999:-9999;o.style.pointerEvents="none",n.style.transform=`translate3d(${a}px,${t}px,0) scale(0)`},p=(o,n)=>{const t=u.get(o);t&&(u.delete(o),t.remove()),o.style.pointerEvents="",n.style.transform=""},m="input, textarea, [no-blur], [contenteditable]",b="$ionPaddingTimer",h=(o,n,t)=>{const i=o[b];i&&clearTimeout(i),n>0?o.style.setProperty("--keyboard-offset",`${n}px`):o[b]=setTimeout((()=>{o.style.setProperty("--keyboard-offset","0px"),t&&t()}),120)},y=(o,n,t)=>{o.addEventListener("focusout",(()=>{n&&h(n,0,t)}),{once:!0})};let S=0;const D="data-ionic-skip-scroll-assist",v=o=>{document.activeElement!==o&&(o.setAttribute(D,"true"),o.focus())},K=async(o,n,e,r,a,d,c=!1,l=0,u=!0)=>{if(!e&&!r)return;const w=((o,n,t,i)=>{var e;return((o,n,t,i)=>{const e=o.top,r=o.bottom,a=n.top,s=a+15,d=Math.min(n.bottom,i-t)-50-r,c=s-e,l=Math.round(d<0?-d:c>0?-c:0),u=Math.min(l,e-a),f=Math.abs(u);return{scrollAmount:u,scrollDuration:Math.min(400,Math.max(150,f/.3)),scrollPadding:t,inputSafeY:4-(e-s)}})((null!==(e=o.closest("ion-item,[ion-item]"))&&void 0!==e?e:o).getBoundingClientRect(),n.getBoundingClientRect(),t,i)})(o,e||r,a,l);if(e&&Math.abs(w.scrollAmount)<4)return v(n),void(d&&null!==e&&(h(e,S),y(n,e,(()=>S=0))));if(f(o,n,!0,w.inputSafeY,c),v(n),s((()=>o.click())),d&&e&&(S=w.scrollPadding,h(e,S)),"undefined"!=typeof window){let r;const a=async()=>{void 0!==r&&clearTimeout(r),window.removeEventListener("ionKeyboardDidShow",s),window.removeEventListener("ionKeyboardDidShow",a),e&&await i(e,0,w.scrollAmount,w.scrollDuration),f(o,n,!1,w.inputSafeY),v(n),d&&y(n,e,(()=>S=0))},s=()=>{window.removeEventListener("ionKeyboardDidShow",s),window.addEventListener("ionKeyboardDidShow",a)};if(e){const o=await t(e);if(u&&w.scrollAmount>o.scrollHeight-o.clientHeight-o.scrollTop)return"password"===n.type?(w.scrollAmount+=50,window.addEventListener("ionKeyboardDidShow",s)):window.addEventListener("ionKeyboardDidShow",a),void(r=setTimeout(a,1e3))}a()}},M=async(t,i)=>{if(void 0===n)return;const s="ios"===i,u="android"===i,w=t.getNumber("keyboardHeight",290),p=t.getBoolean("scrollAssist",!0),b=t.getBoolean("hideCaretOnScroll",s),h=t.getBoolean("inputBlurring",!1),y=t.getBoolean("scrollPadding",!0),S=Array.from(n.querySelectorAll("ion-input, ion-textarea")),v=new WeakMap,M=new WeakMap,x=await l.getResizeMode(),k=async n=>{await new Promise((o=>d(n,o)));const t=n.shadowRoot||n,i=t.querySelector("input")||t.querySelector("textarea"),s=e(n),l=s?null:n.closest("ion-footer");if(i){if(s&&b&&!v.has(n)){const o=((o,n,t)=>{if(!t||!n)return()=>{};const i=t=>{var i;(i=n)===i.getRootNode().activeElement&&f(o,n,t)},e=()=>f(o,n,!1),s=()=>i(!0),d=()=>i(!1);return r(t,"ionScrollStart",s),r(t,"ionScrollEnd",d),n.addEventListener("blur",e),()=>{a(t,"ionScrollStart",s),a(t,"ionScrollEnd",d),n.removeEventListener("blur",e)}})(n,i,s);v.set(n,o)}if("date"!==i.type&&"datetime-local"!==i.type&&(s||l)&&p&&!M.has(n)){const t=((n,t,i,e,r,a,s,d=!1)=>{const l=a&&(void 0===s||s.mode===c.None);let u=!1;const f=void 0!==o?o.innerHeight:0,w=o=>{!1!==u?K(n,t,i,e,o.detail.keyboardHeight,l,d,f,!1):u=!0},p=()=>{u=!1,null==o||o.removeEventListener("ionKeyboardDidShow",w),n.removeEventListener("focusout",p)},m=async()=>{t.hasAttribute(D)?t.removeAttribute(D):(K(n,t,i,e,r,l,d,f),null==o||o.addEventListener("ionKeyboardDidShow",w),n.addEventListener("focusout",p))};return n.addEventListener("focusin",m),()=>{n.removeEventListener("focusin",m),null==o||o.removeEventListener("ionKeyboardDidShow",w),n.removeEventListener("focusout",p)}})(n,i,s,l,w,y,x,u);M.set(n,t)}}};h&&(()=>{let o=!0,n=!1;const t=document;r(t,"ionScrollStart",(()=>{n=!0})),t.addEventListener("focusin",(()=>{o=!0}),!0),t.addEventListener("touchend",(i=>{if(n)return void(n=!1);const e=t.activeElement;if(!e)return;if(e.matches(m))return;const r=i.target;r!==e&&(r.matches(m)||r.closest(m)||(o=!1,setTimeout((()=>{o||e.blur()}),50)))}),!1)})();for(const o of S)k(o);n.addEventListener("ionInputDidLoad",(o=>{k(o.detail)})),n.addEventListener("ionInputDidUnload",(o=>{(o=>{if(b){const n=v.get(o);n&&n(),v.delete(o)}if(p){const n=M.get(o);n&&n(),M.delete(o)}})(o.detail)}))};export{M as startInputShims}
@@ -1,4 +0,0 @@
1
- /*!
2
- * (C) Ionic http://ionicframework.com - MIT License
3
- */
4
- System.register(["./p-3ad285e3.system.js","./p-08e01816.system.js","./p-3e1e14d9.system.js","./p-20d469d0.system.js"],(function(r){"use strict";var t,n,e;return{setters:[function(r){t=r.j},function(r){n=r.i},function(r){e=r.createGesture},function(){}],execute:function(){var a=r("createSwipeBackGesture",(function(r,a,u,v,s){var i=r.ownerDocument.defaultView;var o=n(r);var c=function(r){var t=50;var n=r.startX;if(o){return n>=i.innerWidth-t}return n<=t};var f=function(r){return o?-r.deltaX:r.deltaX};var d=function(r){return o?-r.velocityX:r.velocityX};var m=function(t){o=n(r);return c(t)&&a()};var p=function(r){var t=f(r);var n=t/i.innerWidth;v(n)};var y=function(r){var n=f(r);var e=i.innerWidth;var a=n/e;var u=d(r);var v=e/2;var o=u>=0&&(u>.2||n>v);var c=o?1-a:a;var m=c*e;var p=0;if(m>5){var y=m/Math.abs(u);p=Math.min(y,540)}s(o,a<=0?.01:t(0,a,.9999),p)};return e({el:r,gestureName:"goback-swipe",gesturePriority:101,threshold:10,canStart:m,onStart:u,onMove:p,onEnd:y})}))}}}));
@@ -1,4 +0,0 @@
1
- /*!
2
- * (C) Ionic http://ionicframework.com - MIT License
3
- */
4
- import{r as t,h as i,f as s,i as e,d as o}from"./p-d836d43e.js";import{a as n}from"./p-3cc276f4.js";import"./p-b51e4004.js";const a=class{constructor(i){t(this,i),this.loaded=!1,this.active=!1,this.delegate=void 0,this.tab=void 0,this.component=void 0}async componentWillLoad(){this.active&&await this.setActive()}async setActive(){await this.prepareLazyLoaded(),this.active=!0}changeActive(t){t&&this.prepareLazyLoaded()}prepareLazyLoaded(){if(!this.loaded&&null!=this.component){this.loaded=!0;try{return n(this.delegate,this.el,this.component,["ion-page"])}catch(t){console.error(t)}}return Promise.resolve(void 0)}render(){const{tab:t,active:e,component:o}=this;return i(s,{key:"cb75d0877979b3b8df8f7e1952bfa9677da1eaa5",role:"tabpanel","aria-hidden":e?null:"true","aria-labelledby":`tab-button-${t}`,class:{"ion-page":void 0===o,"tab-hidden":!e}},i("slot",{key:"37fbb7b7a6b03eb93b1dacd2dc1025b78eb2aa6b"}))}get el(){return e(this)}static get watchers(){return{active:["changeActive"]}}};a.style=":host(.tab-hidden){display:none !important}";const h=class{constructor(i){t(this,i),this.ionNavWillLoad=o(this,"ionNavWillLoad",7),this.ionTabsWillChange=o(this,"ionTabsWillChange",3),this.ionTabsDidChange=o(this,"ionTabsDidChange",3),this.transitioning=!1,this.onTabClicked=t=>{const{href:i,tab:s}=t.detail;if(this.useRouter&&void 0!==i){const t=document.querySelector("ion-router");t&&t.push(i)}else this.select(s)},this.selectedTab=void 0,this.useRouter=!1}async componentWillLoad(){if(this.useRouter||(this.useRouter=!(!this.el.querySelector("ion-router-outlet")&&!document.querySelector("ion-router")||this.el.closest("[no-router]"))),!this.useRouter){const t=this.tabs;t.length>0&&await this.select(t[0])}this.ionNavWillLoad.emit()}componentWillRender(){const t=this.el.querySelector("ion-tab-bar");t&&(t.selectedTab=this.selectedTab?this.selectedTab.tab:void 0)}async select(t){const i=r(this.tabs,t);return!!this.shouldSwitch(i)&&(await this.setActive(i),await this.notifyRouter(),this.tabSwitch(),!0)}async getTab(t){return r(this.tabs,t)}getSelected(){return Promise.resolve(this.selectedTab?this.selectedTab.tab:void 0)}async setRouteId(t){const i=r(this.tabs,t);return this.shouldSwitch(i)?(await this.setActive(i),{changed:!0,element:this.selectedTab,markVisible:()=>this.tabSwitch()}):{changed:!1,element:this.selectedTab}}async getRouteId(){var t;const i=null===(t=this.selectedTab)||void 0===t?void 0:t.tab;return void 0!==i?{id:i,element:this.selectedTab}:void 0}setActive(t){return this.transitioning?Promise.reject("transitioning already happening"):(this.transitioning=!0,this.leavingTab=this.selectedTab,this.selectedTab=t,this.ionTabsWillChange.emit({tab:t.tab}),t.active=!0,Promise.resolve())}tabSwitch(){const t=this.selectedTab,i=this.leavingTab;this.leavingTab=void 0,this.transitioning=!1,t&&i!==t&&(i&&(i.active=!1),this.ionTabsDidChange.emit({tab:t.tab}))}notifyRouter(){if(this.useRouter){const t=document.querySelector("ion-router");if(t)return t.navChanged("forward")}return Promise.resolve(!1)}shouldSwitch(t){return void 0!==t&&t!==this.selectedTab&&!this.transitioning}get tabs(){return Array.from(this.el.querySelectorAll("ion-tab"))}render(){return i(s,{key:"e01ccf6bfaccad094515be50e407399c733fc226",onIonTabButtonClick:this.onTabClicked},i("slot",{key:"38d2d01dbfd8a08f01e6f0e27274b21d75424e37",name:"top"}),i("div",{key:"7e894f0f423e2d43e1c68daff5f9f6c442fad237",class:"tabs-inner"},i("slot",{key:"df16be529a0370a26d0adf850530b31607507c23"})),i("slot",{key:"44642e1cb24c3281c43db75fd69a32fe0defe40a",name:"bottom"}))}get el(){return e(this)}},r=(t,i)=>{const s="string"==typeof i?t.find((t=>t.tab===i)):i;return s||console.error(`tab with id: "${s}" does not exist`),s};h.style=":host{left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:column;flex-direction:column;width:100%;height:100%;contain:layout size style;z-index:0}.tabs-inner{position:relative;-ms-flex:1;flex:1;contain:layout size style}";export{a as ion_tab,h as ion_tabs}
@@ -1,4 +0,0 @@
1
- /*!
2
- * (C) Ionic http://ionicframework.com - MIT License
3
- */
4
- import{j as t}from"./p-b51e4004.js";import{i as o}from"./p-fb813dab.js";import{createGesture as r}from"./p-8ededb41.js";import"./p-9b97df10.js";const s=(s,e,n,a,p)=>{const c=s.ownerDocument.defaultView;let i=o(s);const m=t=>i?-t.deltaX:t.deltaX;return r({el:s,gestureName:"goback-swipe",gesturePriority:101,threshold:10,canStart:t=>(i=o(s),(t=>{const{startX:o}=t;return i?o>=c.innerWidth-50:o<=50})(t)&&e()),onStart:n,onMove:t=>{const o=m(t);a(o/c.innerWidth)},onEnd:o=>{const r=m(o),s=c.innerWidth,e=r/s,n=(t=>i?-t.velocityX:t.velocityX)(o),a=n>=0&&(n>.2||r>s/2),b=(a?1-e:e)*s;let d=0;if(b>5){const t=b/Math.abs(n);d=Math.min(t,540)}p(a,e<=0?.01:t(0,e,.9999),d)}})};export{s as createSwipeBackGesture}
@@ -1,4 +0,0 @@
1
- /*!
2
- * (C) Ionic http://ionicframework.com - MIT License
3
- */
4
- import{r as t,d as e,j as i,h as o,f as r,i as a}from"./p-d836d43e.js";import{E as n,a as l}from"./p-41d5544e.js";import{c as s}from"./p-69066a53.js";import{r as d}from"./p-b51e4004.js";import{c}from"./p-ccd02320.js";import{d as p,e as b,B as h,i as m,j as g,k as x,f as u,g as f,h as v,s as w}from"./p-e6635685.js";import{g as k}from"./p-47794def.js";import{c as y,b as z}from"./p-0574e87e.js";import{c as j}from"./p-c7e16491.js";import"./p-89b61afc.js";import"./p-c61cc894.js";import"./p-7b30edcc.js";import"./p-8ededb41.js";import"./p-9b97df10.js";import"./p-ecceeb90.js";import"./p-3cc276f4.js";import"./p-06fee233.js";const C=t=>{const e=j(),i=j(),o=j();return i.addElement(t.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),o.addElement(t.querySelector(".alert-wrapper")).keyframes([{offset:0,opacity:"0.01",transform:"scale(1.1)"},{offset:1,opacity:"1",transform:"scale(1)"}]),e.addElement(t).easing("ease-in-out").duration(200).addAnimation([i,o])},A=t=>{const e=j(),i=j(),o=j();return i.addElement(t.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",0),o.addElement(t.querySelector(".alert-wrapper")).keyframes([{offset:0,opacity:.99,transform:"scale(1)"},{offset:1,opacity:0,transform:"scale(0.9)"}]),e.addElement(t).easing("ease-in-out").duration(200).addAnimation([i,o])},O=t=>{const e=j(),i=j(),o=j();return i.addElement(t.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),o.addElement(t.querySelector(".alert-wrapper")).keyframes([{offset:0,opacity:"0.01",transform:"scale(0.9)"},{offset:1,opacity:"1",transform:"scale(1)"}]),e.addElement(t).easing("ease-in-out").duration(150).addAnimation([i,o])},D=t=>{const e=j(),i=j(),o=j();return i.addElement(t.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",0),o.addElement(t.querySelector(".alert-wrapper")).fromTo("opacity",.99,0),e.addElement(t).easing("ease-in-out").duration(150).addAnimation([i,o])},I=class{constructor(i){t(this,i),this.didPresent=e(this,"ionAlertDidPresent",7),this.willPresent=e(this,"ionAlertWillPresent",7),this.willDismiss=e(this,"ionAlertWillDismiss",7),this.didDismiss=e(this,"ionAlertDidDismiss",7),this.didPresentShorthand=e(this,"didPresent",7),this.willPresentShorthand=e(this,"willPresent",7),this.willDismissShorthand=e(this,"willDismiss",7),this.didDismissShorthand=e(this,"didDismiss",7),this.delegateController=p(this),this.lockController=c(),this.triggerController=b(),this.customHTMLEnabled=y.get("innerHTMLTemplatesEnabled",n),this.processedInputs=[],this.processedButtons=[],this.presented=!1,this.onBackdropTap=()=>{this.dismiss(void 0,h)},this.dispatchCancelHandler=t=>{if(m(t.detail.role)){const t=this.processedButtons.find((t=>"cancel"===t.role));this.callButtonHandler(t)}},this.overlayIndex=void 0,this.delegate=void 0,this.hasController=!1,this.keyboardClose=!0,this.enterAnimation=void 0,this.leaveAnimation=void 0,this.cssClass=void 0,this.header=void 0,this.subHeader=void 0,this.message=void 0,this.buttons=[],this.inputs=[],this.backdropDismiss=!0,this.translucent=!1,this.animated=!0,this.htmlAttributes=void 0,this.isOpen=!1,this.trigger=void 0}onIsOpenChange(t,e){!0===t&&!1===e?this.present():!1===t&&!0===e&&this.dismiss()}triggerChanged(){const{trigger:t,el:e,triggerController:i}=this;t&&i.addClickListener(e,t)}onKeydown(t){const e=new Set(this.processedInputs.map((t=>t.type)));if(e.has("checkbox")&&"Enter"===t.key)return void t.preventDefault();if(!e.has("radio")||t.target&&!this.el.contains(t.target)||t.target.classList.contains("alert-button"))return;const i=this.el.querySelectorAll(".alert-radio"),o=Array.from(i).filter((t=>!t.disabled)),r=o.findIndex((e=>e.id===t.target.id));let a;if(["ArrowDown","ArrowRight"].includes(t.key)&&(a=r===o.length-1?o[0]:o[r+1]),["ArrowUp","ArrowLeft"].includes(t.key)&&(a=0===r?o[o.length-1]:o[r-1]),a&&o.includes(a)){const t=this.processedInputs.find((t=>t.id===(null==a?void 0:a.id)));t&&(this.rbClick(t),a.focus())}}buttonsChanged(){this.processedButtons=this.buttons.map((t=>"string"==typeof t?{text:t,role:"cancel"===t.toLowerCase()?"cancel":void 0}:t))}inputsChanged(){const t=this.inputs,e=t.find((t=>!t.disabled)),i=t.find((t=>t.checked&&!t.disabled))||e,o=new Set(t.map((t=>t.type)));o.has("checkbox")&&o.has("radio")&&console.warn(`Alert cannot mix input types: ${Array.from(o.values()).join("/")}. Please see alert docs for more info.`),this.inputType=o.values().next().value,this.processedInputs=t.map(((t,e)=>{var o;return{type:t.type||"text",name:t.name||`${e}`,placeholder:t.placeholder||"",value:t.value,label:t.label,checked:!!t.checked,disabled:!!t.disabled,id:t.id||`alert-input-${this.overlayIndex}-${e}`,handler:t.handler,min:t.min,max:t.max,cssClass:null!==(o=t.cssClass)&&void 0!==o?o:"",attributes:t.attributes||{},tabindex:"radio"===t.type&&t!==i?-1:0}}))}connectedCallback(){g(this.el),this.triggerChanged()}componentWillLoad(){var t;(null===(t=this.htmlAttributes)||void 0===t?void 0:t.id)||x(this.el),this.inputsChanged(),this.buttonsChanged()}disconnectedCallback(){this.triggerController.removeClickListener(),this.gesture&&(this.gesture.destroy(),this.gesture=void 0)}componentDidLoad(){!this.gesture&&"ios"===z(this)&&this.wrapperEl&&(this.gesture=s(this.wrapperEl,(t=>t.classList.contains("alert-button"))),this.gesture.enable(!0)),!0===this.isOpen&&d((()=>this.present())),this.triggerChanged()}async present(){const t=await this.lockController.lock();await this.delegateController.attachViewToDom(),await u(this,"alertEnter",C,O),t()}async dismiss(t,e){const i=await this.lockController.lock(),o=await f(this,t,e,"alertLeave",A,D);return o&&this.delegateController.removeViewFromDom(),i(),o}onDidDismiss(){return v(this.el,"ionAlertDidDismiss")}onWillDismiss(){return v(this.el,"ionAlertWillDismiss")}rbClick(t){for(const e of this.processedInputs)e.checked=e===t,e.tabindex=e===t?0:-1;this.activeId=t.id,w(t.handler,t),i(this)}cbClick(t){t.checked=!t.checked,w(t.handler,t),i(this)}async buttonClick(t){const e=t.role,i=this.getValues();if(m(e))return this.dismiss({values:i},e);const o=await this.callButtonHandler(t,i);return!1!==o&&this.dismiss(Object.assign({values:i},o),t.role)}async callButtonHandler(t,e){if(null==t?void 0:t.handler){const i=await w(t.handler,e);if(!1===i)return!1;if("object"==typeof i)return i}return{}}getValues(){if(0===this.processedInputs.length)return;if("radio"===this.inputType){const t=this.processedInputs.find((t=>!!t.checked));return t?t.value:void 0}if("checkbox"===this.inputType)return this.processedInputs.filter((t=>t.checked)).map((t=>t.value));const t={};return this.processedInputs.forEach((e=>{t[e.name]=e.value||""})),t}renderAlertInputs(){switch(this.inputType){case"checkbox":return this.renderCheckbox();case"radio":return this.renderRadio();default:return this.renderInput()}}renderCheckbox(){const t=this.processedInputs,e=z(this);return 0===t.length?null:o("div",{class:"alert-checkbox-group"},t.map((t=>o("button",{type:"button",onClick:()=>this.cbClick(t),"aria-checked":`${t.checked}`,id:t.id,disabled:t.disabled,tabIndex:t.tabindex,role:"checkbox",class:Object.assign(Object.assign({},k(t.cssClass)),{"alert-tappable":!0,"alert-checkbox":!0,"alert-checkbox-button":!0,"ion-focusable":!0,"alert-checkbox-button-disabled":t.disabled||!1})},o("div",{class:"alert-button-inner"},o("div",{class:"alert-checkbox-icon"},o("div",{class:"alert-checkbox-inner"})),o("div",{class:"alert-checkbox-label"},t.label)),"md"===e&&o("ion-ripple-effect",null)))))}renderRadio(){const t=this.processedInputs;return 0===t.length?null:o("div",{class:"alert-radio-group",role:"radiogroup","aria-activedescendant":this.activeId},t.map((t=>o("button",{type:"button",onClick:()=>this.rbClick(t),"aria-checked":`${t.checked}`,disabled:t.disabled,id:t.id,tabIndex:t.tabindex,class:Object.assign(Object.assign({},k(t.cssClass)),{"alert-radio-button":!0,"alert-tappable":!0,"alert-radio":!0,"ion-focusable":!0,"alert-radio-button-disabled":t.disabled||!1}),role:"radio"},o("div",{class:"alert-button-inner"},o("div",{class:"alert-radio-icon"},o("div",{class:"alert-radio-inner"})),o("div",{class:"alert-radio-label"},t.label))))))}renderInput(){const t=this.processedInputs;return 0===t.length?null:o("div",{class:"alert-input-group"},t.map((t=>{var e,i,r,a;return o("div",{class:"alert-input-wrapper"},"textarea"===t.type?o("textarea",Object.assign({placeholder:t.placeholder,value:t.value,id:t.id,tabIndex:t.tabindex},t.attributes,{disabled:null!==(i=null===(e=t.attributes)||void 0===e?void 0:e.disabled)&&void 0!==i?i:t.disabled,class:$(t),onInput:e=>{var i;t.value=e.target.value,(null===(i=t.attributes)||void 0===i?void 0:i.onInput)&&t.attributes.onInput(e)}})):o("input",Object.assign({placeholder:t.placeholder,type:t.type,min:t.min,max:t.max,value:t.value,id:t.id,tabIndex:t.tabindex},t.attributes,{disabled:null!==(a=null===(r=t.attributes)||void 0===r?void 0:r.disabled)&&void 0!==a?a:t.disabled,class:$(t),onInput:e=>{var i;t.value=e.target.value,(null===(i=t.attributes)||void 0===i?void 0:i.onInput)&&t.attributes.onInput(e)}})))})))}renderAlertButtons(){const t=this.processedButtons,e=z(this);return o("div",{class:{"alert-button-group":!0,"alert-button-group-vertical":t.length>2}},t.map((t=>o("button",Object.assign({},t.htmlAttributes,{type:"button",id:t.id,class:L(t),tabIndex:0,onClick:()=>this.buttonClick(t)}),o("span",{class:"alert-button-inner"},t.text),"md"===e&&o("ion-ripple-effect",null)))))}renderAlertMessage(t){const{customHTMLEnabled:e,message:i}=this;return e?o("div",{id:t,class:"alert-message",innerHTML:l(i)}):o("div",{id:t,class:"alert-message"},i)}render(){const{overlayIndex:t,header:e,subHeader:i,message:a,htmlAttributes:n}=this,l=z(this),s=`alert-${t}-hdr`,d=`alert-${t}-sub-hdr`,c=`alert-${t}-msg`;return o(r,Object.assign({key:"ad7e14b4f92a09387aa80abfb718a755e4e889d6",role:this.inputs.length>0||this.buttons.length>0?"alertdialog":"alert","aria-modal":"true","aria-labelledby":e&&i?`${s} ${d}`:e?s:i?d:null,"aria-describedby":void 0!==a?c:null,tabindex:"-1"},n,{style:{zIndex:`${2e4+t}`},class:Object.assign(Object.assign({},k(this.cssClass)),{[l]:!0,"overlay-hidden":!0,"alert-translucent":this.translucent}),onIonAlertWillDismiss:this.dispatchCancelHandler,onIonBackdropTap:this.onBackdropTap}),o("ion-backdrop",{key:"4b4693dca3c910aa9a61c4d90295d785ec6cbe3d",tappable:this.backdropDismiss}),o("div",{key:"64fd19b8f1d8246dcc869053f858bc33506def4b",tabindex:"0","aria-hidden":"true"}),o("div",{key:"e61ba6f339c3a02cecd37d8b641ee5043018eb29",class:"alert-wrapper ion-overlay-wrapper",ref:t=>this.wrapperEl=t},o("div",{key:"044e00667ffcb74aa2c5e0d0b42669c4004dbb4f",class:"alert-head"},e&&o("h2",{key:"1aaae8d58722c4cf5debb1f00415ab7ed0a52bbd",id:s,class:"alert-title"},e),i&&!e&&o("h2",{key:"9c9854dc3b0ad40f1861a49b76d5636afcae9c74",id:d,class:"alert-sub-title"},i),i&&e&&o("h3",{key:"19aaca9912f77cde4ae8079be210eda697ed8de1",id:d,class:"alert-sub-title"},i)),this.renderAlertMessage(c),this.renderAlertInputs(),this.renderAlertButtons()),o("div",{key:"a85d27c516f7cdbc85b19f40d2f0bd865490b6a7",tabindex:"0","aria-hidden":"true"}))}get el(){return a(this)}static get watchers(){return{isOpen:["onIsOpenChange"],trigger:["triggerChanged"],buttons:["buttonsChanged"],inputs:["inputsChanged"]}}},$=t=>{var e,i,o;return Object.assign(Object.assign({"alert-input":!0,"alert-input-disabled":(null!==(i=null===(e=t.attributes)||void 0===e?void 0:e.disabled)&&void 0!==i?i:t.disabled)||!1},k(t.cssClass)),k(t.attributes?null===(o=t.attributes.class)||void 0===o?void 0:o.toString():""))},L=t=>Object.assign({"alert-button":!0,"ion-focusable":!0,"ion-activatable":!0,[`alert-button-role-${t.role}`]:void 0!==t.role},k(t.cssClass));I.style={ios:".sc-ion-alert-ios-h{--min-width:250px;--width:auto;--min-height:auto;--height:auto;--max-height:90%;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;font-family:var(--ion-font-family, inherit);contain:strict;-ms-touch-action:none;touch-action:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1001}.overlay-hidden.sc-ion-alert-ios-h{display:none}.alert-top.sc-ion-alert-ios-h{padding-top:50px;-ms-flex-align:start;align-items:flex-start}.alert-wrapper.sc-ion-alert-ios{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);background:var(--background);contain:content;opacity:0;z-index:10}.alert-title.sc-ion-alert-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0}.alert-sub-title.sc-ion-alert-ios{margin-left:0;margin-right:0;margin-top:5px;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;font-weight:normal}.alert-message.sc-ion-alert-ios,.alert-input-group.sc-ion-alert-ios{-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-overflow-scrolling:touch;overflow-y:auto;overscroll-behavior-y:contain}.alert-checkbox-label.sc-ion-alert-ios,.alert-radio-label.sc-ion-alert-ios{overflow-wrap:anywhere}@media (any-pointer: coarse){.alert-checkbox-group.sc-ion-alert-ios::-webkit-scrollbar,.alert-radio-group.sc-ion-alert-ios::-webkit-scrollbar,.alert-message.sc-ion-alert-ios::-webkit-scrollbar{display:none}}.alert-input.sc-ion-alert-ios{padding-left:0;padding-right:0;padding-top:10px;padding-bottom:10px;width:100%;border:0;background:inherit;font:inherit;-webkit-box-sizing:border-box;box-sizing:border-box}.alert-button-group.sc-ion-alert-ios{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;width:100%}.alert-button-group-vertical.sc-ion-alert-ios{-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap}.alert-button.sc-ion-alert-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:block;border:0;font-size:0.875rem;line-height:1.25rem;z-index:0}.alert-button.ion-focused.sc-ion-alert-ios,.alert-tappable.ion-focused.sc-ion-alert-ios{background:var(--ion-color-step-100, var(--ion-background-color-step-100, #e6e6e6))}.alert-button-inner.sc-ion-alert-ios{display:-ms-flexbox;display:flex;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;min-height:inherit}.alert-input-disabled.sc-ion-alert-ios,.alert-checkbox-button-disabled.sc-ion-alert-ios .alert-button-inner.sc-ion-alert-ios,.alert-radio-button-disabled.sc-ion-alert-ios .alert-button-inner.sc-ion-alert-ios{cursor:default;opacity:0.5;pointer-events:none}.alert-tappable.sc-ion-alert-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;display:-ms-flexbox;display:flex;width:100%;border:0;background:transparent;font-size:inherit;line-height:initial;text-align:start;-webkit-appearance:none;-moz-appearance:none;appearance:none;contain:content}.alert-button.sc-ion-alert-ios,.alert-checkbox.sc-ion-alert-ios,.alert-input.sc-ion-alert-ios,.alert-radio.sc-ion-alert-ios{outline:none}.alert-radio-icon.sc-ion-alert-ios,.alert-checkbox-icon.sc-ion-alert-ios,.alert-checkbox-inner.sc-ion-alert-ios{-webkit-box-sizing:border-box;box-sizing:border-box}textarea.alert-input.sc-ion-alert-ios{min-height:37px;resize:none}.sc-ion-alert-ios-h{--background:var(--ion-overlay-background-color, var(--ion-color-step-100, var(--ion-background-color-step-100, #f9f9f9)));--max-width:clamp(270px, 16.875rem, 324px);--backdrop-opacity:var(--ion-backdrop-opacity, 0.3);font-size:max(14px, 0.875rem)}.alert-wrapper.sc-ion-alert-ios{border-radius:13px;-webkit-box-shadow:none;box-shadow:none;overflow:hidden}.alert-button.sc-ion-alert-ios .alert-button-inner.sc-ion-alert-ios{pointer-events:none}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){.alert-translucent.sc-ion-alert-ios-h .alert-wrapper.sc-ion-alert-ios{background:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.9);-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px)}}.alert-head.sc-ion-alert-ios{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:12px;padding-bottom:7px;text-align:center}.alert-title.sc-ion-alert-ios{margin-top:8px;color:var(--ion-text-color, #000);font-size:max(17px, 1.0625rem);font-weight:600}.alert-sub-title.sc-ion-alert-ios{color:var(--ion-color-step-600, var(--ion-text-color-step-400, #666666));font-size:max(14px, 0.875rem)}.alert-message.sc-ion-alert-ios,.alert-input-group.sc-ion-alert-ios{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:0;padding-bottom:21px;color:var(--ion-text-color, #000);font-size:max(13px, 0.8125rem);text-align:center}.alert-message.sc-ion-alert-ios{max-height:240px}.alert-message.sc-ion-alert-ios:empty{padding-left:0;padding-right:0;padding-top:0;padding-bottom:12px}.alert-input.sc-ion-alert-ios{border-radius:7px;margin-top:10px;-webkit-padding-start:7px;padding-inline-start:7px;-webkit-padding-end:7px;padding-inline-end:7px;padding-top:7px;padding-bottom:7px;border:0.55px solid var(--ion-color-step-250, var(--ion-background-color-step-250, #bfbfbf));background-color:var(--ion-background-color, #fff);-webkit-appearance:none;-moz-appearance:none;appearance:none;font-size:1rem}.alert-input.sc-ion-alert-ios::-webkit-input-placeholder{color:var(--ion-placeholder-color, var(--ion-color-step-400, var(--ion-text-color-step-600, #999999)));font-family:inherit;font-weight:inherit}.alert-input.sc-ion-alert-ios::-moz-placeholder{color:var(--ion-placeholder-color, var(--ion-color-step-400, var(--ion-text-color-step-600, #999999)));font-family:inherit;font-weight:inherit}.alert-input.sc-ion-alert-ios:-ms-input-placeholder{color:var(--ion-placeholder-color, var(--ion-color-step-400, var(--ion-text-color-step-600, #999999)));font-family:inherit;font-weight:inherit}.alert-input.sc-ion-alert-ios::-ms-input-placeholder{color:var(--ion-placeholder-color, var(--ion-color-step-400, var(--ion-text-color-step-600, #999999)));font-family:inherit;font-weight:inherit}.alert-input.sc-ion-alert-ios::placeholder{color:var(--ion-placeholder-color, var(--ion-color-step-400, var(--ion-text-color-step-600, #999999)));font-family:inherit;font-weight:inherit}.alert-input.sc-ion-alert-ios::-ms-clear{display:none}.alert-input.sc-ion-alert-ios::-webkit-date-and-time-value{height:18px}.alert-radio-group.sc-ion-alert-ios,.alert-checkbox-group.sc-ion-alert-ios{-ms-scroll-chaining:none;overscroll-behavior:contain;max-height:240px;border-top:0.55px solid rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.2);overflow-y:auto;-webkit-overflow-scrolling:touch}.alert-tappable.sc-ion-alert-ios{min-height:44px}.alert-radio-label.sc-ion-alert-ios{-webkit-padding-start:13px;padding-inline-start:13px;-webkit-padding-end:13px;padding-inline-end:13px;padding-top:13px;padding-bottom:13px;-ms-flex:1;flex:1;-ms-flex-order:0;order:0;color:var(--ion-text-color, #000)}[aria-checked=true].sc-ion-alert-ios .alert-radio-label.sc-ion-alert-ios{color:var(--ion-color-primary, #0054e9)}.alert-radio-icon.sc-ion-alert-ios{position:relative;-ms-flex-order:1;order:1;min-width:30px}[aria-checked=true].sc-ion-alert-ios .alert-radio-inner.sc-ion-alert-ios{top:-7px;position:absolute;width:6px;height:12px;-webkit-transform:rotate(45deg);transform:rotate(45deg);border-width:2px;border-top-width:0;border-left-width:0;border-style:solid;border-color:var(--ion-color-primary, #0054e9)}[aria-checked=true].sc-ion-alert-ios .alert-radio-inner.sc-ion-alert-ios{inset-inline-start:7px}.alert-checkbox-label.sc-ion-alert-ios{-webkit-padding-start:13px;padding-inline-start:13px;-webkit-padding-end:13px;padding-inline-end:13px;padding-top:13px;padding-bottom:13px;-ms-flex:1;flex:1;color:var(--ion-text-color, #000)}.alert-checkbox-icon.sc-ion-alert-ios{border-radius:50%;-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:6px;margin-inline-end:6px;margin-top:10px;margin-bottom:10px;position:relative;width:min(1.375rem, 55.836px);height:min(1.375rem, 55.836px);border-width:0.125rem;border-style:solid;border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-250, var(--ion-background-color-step-250, #c8c7cc))));background-color:var(--ion-item-background, var(--ion-background-color, #fff));contain:strict}[aria-checked=true].sc-ion-alert-ios .alert-checkbox-icon.sc-ion-alert-ios{border-color:var(--ion-color-primary, #0054e9);background-color:var(--ion-color-primary, #0054e9)}[aria-checked=true].sc-ion-alert-ios .alert-checkbox-inner.sc-ion-alert-ios{top:calc(min(1.375rem, 55.836px) / 8);position:absolute;width:calc(min(1.375rem, 55.836px) / 6 + 1px);height:calc(min(1.375rem, 55.836px) * 0.5);-webkit-transform:rotate(45deg);transform:rotate(45deg);border-width:0.125rem;border-top-width:0;border-left-width:0;border-style:solid;border-color:var(--ion-background-color, #fff)}[aria-checked=true].sc-ion-alert-ios .alert-checkbox-inner.sc-ion-alert-ios{inset-inline-start:calc(min(1.375rem, 55.836px) / 3)}.alert-button-group.sc-ion-alert-ios{-webkit-margin-end:-0.55px;margin-inline-end:-0.55px;-ms-flex-wrap:wrap;flex-wrap:wrap}.alert-button-group-vertical.sc-ion-alert-ios .alert-button.sc-ion-alert-ios{border-right:none}[dir=rtl].sc-ion-alert-ios-h .alert-button-group-vertical.sc-ion-alert-ios .alert-button.sc-ion-alert-ios:last-child,[dir=rtl] .sc-ion-alert-ios-h .alert-button-group-vertical.sc-ion-alert-ios .alert-button.sc-ion-alert-ios:last-child{border-right:none}[dir=rtl].sc-ion-alert-ios .alert-button-group-vertical.sc-ion-alert-ios .alert-button.sc-ion-alert-ios:last-child{border-right:none}@supports selector(:dir(rtl)){.alert-button-group-vertical.sc-ion-alert-ios .alert-button.sc-ion-alert-ios:last-child:dir(rtl){border-right:none}}.alert-button.sc-ion-alert-ios{-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;border-radius:0;-ms-flex:1 1 auto;flex:1 1 auto;min-width:50%;height:max(44px, 2.75rem);border-top:0.55px solid rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.2);border-right:0.55px solid rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.2);background-color:transparent;color:var(--ion-color-primary, #0054e9);font-size:max(17px, 1.0625rem);overflow:hidden}[dir=rtl].sc-ion-alert-ios-h .alert-button.sc-ion-alert-ios:first-child,[dir=rtl] .sc-ion-alert-ios-h .alert-button.sc-ion-alert-ios:first-child{border-right:0}[dir=rtl].sc-ion-alert-ios .alert-button.sc-ion-alert-ios:first-child{border-right:0}@supports selector(:dir(rtl)){.alert-button.sc-ion-alert-ios:first-child:dir(rtl){border-right:0}}.alert-button.sc-ion-alert-ios:last-child{border-right:0;font-weight:bold}[dir=rtl].sc-ion-alert-ios-h .alert-button.sc-ion-alert-ios:last-child,[dir=rtl] .sc-ion-alert-ios-h .alert-button.sc-ion-alert-ios:last-child{border-right:0.55px solid rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.2)}[dir=rtl].sc-ion-alert-ios .alert-button.sc-ion-alert-ios:last-child{border-right:0.55px solid rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.2)}@supports selector(:dir(rtl)){.alert-button.sc-ion-alert-ios:last-child:dir(rtl){border-right:0.55px solid rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.2)}}.alert-button.ion-activated.sc-ion-alert-ios{background-color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.1)}.alert-button-role-destructive.sc-ion-alert-ios,.alert-button-role-destructive.ion-activated.sc-ion-alert-ios,.alert-button-role-destructive.ion-focused.sc-ion-alert-ios{color:var(--ion-color-danger, #c5000f)}",md:".sc-ion-alert-md-h{--min-width:250px;--width:auto;--min-height:auto;--height:auto;--max-height:90%;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;font-family:var(--ion-font-family, inherit);contain:strict;-ms-touch-action:none;touch-action:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1001}.overlay-hidden.sc-ion-alert-md-h{display:none}.alert-top.sc-ion-alert-md-h{padding-top:50px;-ms-flex-align:start;align-items:flex-start}.alert-wrapper.sc-ion-alert-md{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);background:var(--background);contain:content;opacity:0;z-index:10}.alert-title.sc-ion-alert-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0}.alert-sub-title.sc-ion-alert-md{margin-left:0;margin-right:0;margin-top:5px;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;font-weight:normal}.alert-message.sc-ion-alert-md,.alert-input-group.sc-ion-alert-md{-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-overflow-scrolling:touch;overflow-y:auto;overscroll-behavior-y:contain}.alert-checkbox-label.sc-ion-alert-md,.alert-radio-label.sc-ion-alert-md{overflow-wrap:anywhere}@media (any-pointer: coarse){.alert-checkbox-group.sc-ion-alert-md::-webkit-scrollbar,.alert-radio-group.sc-ion-alert-md::-webkit-scrollbar,.alert-message.sc-ion-alert-md::-webkit-scrollbar{display:none}}.alert-input.sc-ion-alert-md{padding-left:0;padding-right:0;padding-top:10px;padding-bottom:10px;width:100%;border:0;background:inherit;font:inherit;-webkit-box-sizing:border-box;box-sizing:border-box}.alert-button-group.sc-ion-alert-md{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;width:100%}.alert-button-group-vertical.sc-ion-alert-md{-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap}.alert-button.sc-ion-alert-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:block;border:0;font-size:0.875rem;line-height:1.25rem;z-index:0}.alert-button.ion-focused.sc-ion-alert-md,.alert-tappable.ion-focused.sc-ion-alert-md{background:var(--ion-color-step-100, var(--ion-background-color-step-100, #e6e6e6))}.alert-button-inner.sc-ion-alert-md{display:-ms-flexbox;display:flex;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;min-height:inherit}.alert-input-disabled.sc-ion-alert-md,.alert-checkbox-button-disabled.sc-ion-alert-md .alert-button-inner.sc-ion-alert-md,.alert-radio-button-disabled.sc-ion-alert-md .alert-button-inner.sc-ion-alert-md{cursor:default;opacity:0.5;pointer-events:none}.alert-tappable.sc-ion-alert-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;display:-ms-flexbox;display:flex;width:100%;border:0;background:transparent;font-size:inherit;line-height:initial;text-align:start;-webkit-appearance:none;-moz-appearance:none;appearance:none;contain:content}.alert-button.sc-ion-alert-md,.alert-checkbox.sc-ion-alert-md,.alert-input.sc-ion-alert-md,.alert-radio.sc-ion-alert-md{outline:none}.alert-radio-icon.sc-ion-alert-md,.alert-checkbox-icon.sc-ion-alert-md,.alert-checkbox-inner.sc-ion-alert-md{-webkit-box-sizing:border-box;box-sizing:border-box}textarea.alert-input.sc-ion-alert-md{min-height:37px;resize:none}.sc-ion-alert-md-h{--background:var(--ion-overlay-background-color, var(--ion-background-color, #fff));--max-width:280px;--backdrop-opacity:var(--ion-backdrop-opacity, 0.32);font-size:0.875rem}.alert-wrapper.sc-ion-alert-md{border-radius:4px;-webkit-box-shadow:0 11px 15px -7px rgba(0, 0, 0, 0.2), 0 24px 38px 3px rgba(0, 0, 0, 0.14), 0 9px 46px 8px rgba(0, 0, 0, 0.12);box-shadow:0 11px 15px -7px rgba(0, 0, 0, 0.2), 0 24px 38px 3px rgba(0, 0, 0, 0.14), 0 9px 46px 8px rgba(0, 0, 0, 0.12)}.alert-head.sc-ion-alert-md{-webkit-padding-start:23px;padding-inline-start:23px;-webkit-padding-end:23px;padding-inline-end:23px;padding-top:20px;padding-bottom:15px;text-align:start}.alert-title.sc-ion-alert-md{color:var(--ion-text-color, #000);font-size:1.25rem;font-weight:500}.alert-sub-title.sc-ion-alert-md{color:var(--ion-text-color, #000);font-size:1rem}.alert-message.sc-ion-alert-md,.alert-input-group.sc-ion-alert-md{-webkit-padding-start:24px;padding-inline-start:24px;-webkit-padding-end:24px;padding-inline-end:24px;padding-top:20px;padding-bottom:20px;color:var(--ion-color-step-550, var(--ion-text-color-step-450, #737373))}.alert-message.sc-ion-alert-md{font-size:1rem}@media screen and (max-width: 767px){.alert-message.sc-ion-alert-md{max-height:266px}}.alert-message.sc-ion-alert-md:empty{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0}.alert-head.sc-ion-alert-md+.alert-message.sc-ion-alert-md{padding-top:0}.alert-input.sc-ion-alert-md{margin-left:0;margin-right:0;margin-top:5px;margin-bottom:5px;border-bottom:1px solid var(--ion-color-step-150, var(--ion-background-color-step-150, #d9d9d9));color:var(--ion-text-color, #000)}.alert-input.sc-ion-alert-md::-webkit-input-placeholder{color:var(--ion-placeholder-color, var(--ion-color-step-400, var(--ion-text-color-step-600, #999999)));font-family:inherit;font-weight:inherit}.alert-input.sc-ion-alert-md::-moz-placeholder{color:var(--ion-placeholder-color, var(--ion-color-step-400, var(--ion-text-color-step-600, #999999)));font-family:inherit;font-weight:inherit}.alert-input.sc-ion-alert-md:-ms-input-placeholder{color:var(--ion-placeholder-color, var(--ion-color-step-400, var(--ion-text-color-step-600, #999999)));font-family:inherit;font-weight:inherit}.alert-input.sc-ion-alert-md::-ms-input-placeholder{color:var(--ion-placeholder-color, var(--ion-color-step-400, var(--ion-text-color-step-600, #999999)));font-family:inherit;font-weight:inherit}.alert-input.sc-ion-alert-md::placeholder{color:var(--ion-placeholder-color, var(--ion-color-step-400, var(--ion-text-color-step-600, #999999)));font-family:inherit;font-weight:inherit}.alert-input.sc-ion-alert-md::-ms-clear{display:none}.alert-input.sc-ion-alert-md:focus{margin-bottom:4px;border-bottom:2px solid var(--ion-color-primary, #0054e9)}.alert-radio-group.sc-ion-alert-md,.alert-checkbox-group.sc-ion-alert-md{position:relative;border-top:1px solid var(--ion-color-step-150, var(--ion-background-color-step-150, #d9d9d9));border-bottom:1px solid var(--ion-color-step-150, var(--ion-background-color-step-150, #d9d9d9));overflow:auto}@media screen and (max-width: 767px){.alert-radio-group.sc-ion-alert-md,.alert-checkbox-group.sc-ion-alert-md{max-height:266px}}.alert-tappable.sc-ion-alert-md{position:relative;min-height:48px}.alert-radio-label.sc-ion-alert-md{-webkit-padding-start:52px;padding-inline-start:52px;-webkit-padding-end:26px;padding-inline-end:26px;padding-top:13px;padding-bottom:13px;-ms-flex:1;flex:1;color:var(--ion-color-step-850, var(--ion-text-color-step-150, #262626));font-size:1rem}.alert-radio-icon.sc-ion-alert-md{top:0;border-radius:50%;display:block;position:relative;width:20px;height:20px;border-width:2px;border-style:solid;border-color:var(--ion-color-step-550, var(--ion-background-color-step-550, #737373))}.alert-radio-icon.sc-ion-alert-md{inset-inline-start:26px}.alert-radio-inner.sc-ion-alert-md{top:3px;border-radius:50%;position:absolute;width:10px;height:10px;-webkit-transform:scale3d(0, 0, 0);transform:scale3d(0, 0, 0);-webkit-transition:-webkit-transform 280ms cubic-bezier(0.4, 0, 0.2, 1);transition:-webkit-transform 280ms cubic-bezier(0.4, 0, 0.2, 1);transition:transform 280ms cubic-bezier(0.4, 0, 0.2, 1);transition:transform 280ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 280ms cubic-bezier(0.4, 0, 0.2, 1);background-color:var(--ion-color-primary, #0054e9)}.alert-radio-inner.sc-ion-alert-md{inset-inline-start:3px}[aria-checked=true].sc-ion-alert-md .alert-radio-label.sc-ion-alert-md{color:var(--ion-color-step-850, var(--ion-text-color-step-150, #262626))}[aria-checked=true].sc-ion-alert-md .alert-radio-icon.sc-ion-alert-md{border-color:var(--ion-color-primary, #0054e9)}[aria-checked=true].sc-ion-alert-md .alert-radio-inner.sc-ion-alert-md{-webkit-transform:scale3d(1, 1, 1);transform:scale3d(1, 1, 1)}.alert-checkbox-label.sc-ion-alert-md{-webkit-padding-start:53px;padding-inline-start:53px;-webkit-padding-end:26px;padding-inline-end:26px;padding-top:13px;padding-bottom:13px;-ms-flex:1;flex:1;width:calc(100% - 53px);color:var(--ion-color-step-850, var(--ion-text-color-step-150, #262626));font-size:1rem}.alert-checkbox-icon.sc-ion-alert-md{top:0;border-radius:2px;position:relative;width:16px;height:16px;border-width:2px;border-style:solid;border-color:var(--ion-color-step-550, var(--ion-background-color-step-550, #737373));contain:strict}.alert-checkbox-icon.sc-ion-alert-md{inset-inline-start:26px}[aria-checked=true].sc-ion-alert-md .alert-checkbox-icon.sc-ion-alert-md{border-color:var(--ion-color-primary, #0054e9);background-color:var(--ion-color-primary, #0054e9)}[aria-checked=true].sc-ion-alert-md .alert-checkbox-inner.sc-ion-alert-md{top:0;position:absolute;width:6px;height:10px;-webkit-transform:rotate(45deg);transform:rotate(45deg);border-width:2px;border-top-width:0;border-left-width:0;border-style:solid;border-color:var(--ion-color-primary-contrast, #fff)}[aria-checked=true].sc-ion-alert-md .alert-checkbox-inner.sc-ion-alert-md{inset-inline-start:3px}.alert-button-group.sc-ion-alert-md{-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px;padding-top:8px;padding-bottom:8px;-webkit-box-sizing:border-box;box-sizing:border-box;-ms-flex-wrap:wrap-reverse;flex-wrap:wrap-reverse;-ms-flex-pack:end;justify-content:flex-end}.alert-button.sc-ion-alert-md{border-radius:2px;-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:8px;margin-inline-end:8px;margin-top:0;margin-bottom:0;-webkit-padding-start:10px;padding-inline-start:10px;-webkit-padding-end:10px;padding-inline-end:10px;padding-top:10px;padding-bottom:10px;position:relative;background-color:transparent;color:var(--ion-color-primary, #0054e9);font-weight:500;text-align:end;text-transform:uppercase;overflow:hidden}.alert-button-inner.sc-ion-alert-md{-ms-flex-pack:end;justify-content:flex-end}@media screen and (min-width: 768px){.sc-ion-alert-md-h{--max-width:min(100vw - 96px, 560px);--max-height:min(100vh - 96px, 560px)}}"};export{I as ion_alert}