@amwaljs/checkout-button 0.2.9 → 0.3.1

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 (2673) hide show
  1. package/dist/checkout/checkout.esm.js +1 -2
  2. package/dist/checkout/index.esm.js +0 -2
  3. package/dist/checkout/p-0161d109.entry.js +1 -0
  4. package/dist/checkout/p-0a8ef1ec.entry.js +1 -0
  5. package/dist/checkout/p-10a72fbe.entry.js +1 -0
  6. package/dist/checkout/p-11205aeb.entry.js +1 -0
  7. package/dist/checkout/p-12ed4081.entry.js +1 -0
  8. package/dist/checkout/p-13c36adc.entry.js +1 -0
  9. package/dist/checkout/p-141f2eab.entry.js +7 -0
  10. package/dist/checkout/p-194b17d8.entry.js +1 -0
  11. package/dist/checkout/p-1dc08181.entry.js +1 -0
  12. package/dist/checkout/p-272a1ffd.entry.js +1 -0
  13. package/dist/checkout/p-307af48b.entry.js +1 -0
  14. package/dist/checkout/p-3207674d.entry.js +1 -0
  15. package/dist/checkout/p-3208e56f.entry.js +1 -0
  16. package/dist/checkout/p-3c9a8bee.entry.js +1 -0
  17. package/dist/checkout/p-439ad699.entry.js +7 -0
  18. package/dist/checkout/p-4426eb3b.entry.js +1 -0
  19. package/dist/checkout/p-458da59f.entry.js +1 -0
  20. package/dist/checkout/p-46e69508.entry.js +1 -0
  21. package/dist/checkout/p-46ff73b3.entry.js +1 -0
  22. package/dist/checkout/p-49046c16.entry.js +4 -0
  23. package/dist/checkout/p-4a86b731.entry.js +1 -0
  24. package/dist/checkout/p-4ae1a390.entry.js +1 -0
  25. package/dist/checkout/p-4b34896c.entry.js +1 -0
  26. package/dist/checkout/p-4da4ecc4.entry.js +1 -0
  27. package/dist/checkout/p-53ae9dd0.entry.js +1 -0
  28. package/dist/checkout/p-53dc0e86.entry.js +1 -0
  29. package/dist/checkout/p-56e307eb.entry.js +1 -0
  30. package/dist/checkout/p-5903b3af.entry.js +1 -0
  31. package/dist/checkout/p-5a6fc9fd.entry.js +1 -0
  32. package/dist/checkout/p-5e65653a.entry.js +1 -0
  33. package/dist/checkout/p-5f005b5e.entry.js +1 -0
  34. package/dist/checkout/p-5f124c24.entry.js +1 -0
  35. package/dist/checkout/p-62b7c8b0.entry.js +1 -0
  36. package/dist/checkout/p-63db3363.entry.js +1 -0
  37. package/dist/checkout/p-6a8ad104.entry.js +1 -0
  38. package/dist/checkout/p-7006753a.entry.js +4 -0
  39. package/dist/checkout/p-76fb4325.entry.js +1 -0
  40. package/dist/checkout/p-78db60fb.entry.js +1 -0
  41. package/dist/checkout/p-8036cf49.entry.js +14 -0
  42. package/dist/checkout/p-8b015c21.entry.js +1 -0
  43. package/dist/checkout/p-8e34a1bb.entry.js +1 -0
  44. package/dist/checkout/p-8fc1287a.entry.js +1 -0
  45. package/dist/checkout/p-91474b10.entry.js +1 -0
  46. package/dist/checkout/p-93OyAGoo.js +2 -0
  47. package/dist/checkout/p-94a57258.entry.js +1 -0
  48. package/dist/checkout/p-95431a73.entry.js +1 -0
  49. package/dist/checkout/p-95563c4c.entry.js +1 -0
  50. package/dist/checkout/p-978b3762.entry.js +1 -0
  51. package/dist/checkout/p-9b7d7231.entry.js +1 -0
  52. package/dist/checkout/p-B-hirT0v.js +1 -2
  53. package/dist/checkout/p-B3WORC1a.js +1 -2
  54. package/dist/checkout/p-BEVStXwd.js +7 -0
  55. package/dist/checkout/p-BQu7QPd5.js +4 -0
  56. package/dist/checkout/p-BR7SJd-v.js +2 -3
  57. package/dist/checkout/p-BcFRJSFv.js +4 -0
  58. package/dist/checkout/p-BcUxrseY.js +1 -0
  59. package/dist/checkout/p-BdG893XR.js +4 -0
  60. package/dist/checkout/p-BgOwfqIY.js +2 -6
  61. package/dist/checkout/p-Bm9bMvCb.js +4 -0
  62. package/dist/checkout/p-BmVRXR1y.js +1 -2
  63. package/dist/checkout/p-C03M5ZSM.js +1 -2
  64. package/dist/checkout/p-C53feagD.js +1 -2
  65. package/dist/checkout/p-C6kqtbmV.js +4 -0
  66. package/dist/checkout/p-C75BfBAE.js +1 -0
  67. package/dist/checkout/p-CVrvo9Qz.js +4 -0
  68. package/dist/checkout/p-ChixdDt6.js +4 -0
  69. package/dist/checkout/p-Cjnmql4G.js +8 -0
  70. package/dist/checkout/p-CukVBo5-.js +4 -0
  71. package/dist/checkout/p-D0I0TqZU.js +4 -0
  72. package/dist/checkout/p-D2NxOvQ8.js +2 -3
  73. package/dist/checkout/p-D4RIp70E.js +1 -2
  74. package/dist/checkout/p-D8d_89Nl.js +4 -0
  75. package/dist/checkout/p-DAhcxcAh.js +4 -0
  76. package/dist/checkout/p-DDtPO7yO.js +4 -0
  77. package/dist/checkout/p-DKg_dYcq.js +2 -3
  78. package/dist/checkout/p-DMAPbDyG.js +4 -0
  79. package/dist/checkout/p-DUa_5Mmb.js +4 -0
  80. package/dist/checkout/p-DiVJyqlX.js +1 -2
  81. package/dist/checkout/p-DihS-5gH.js +4 -0
  82. package/dist/checkout/p-DkrNcwKK.js +5 -0
  83. package/dist/checkout/p-Dtdm8lKC.js +1 -2
  84. package/dist/checkout/p-Dzj_jqIY.js +4 -0
  85. package/dist/checkout/p-E8AXUhZ3.js +7 -0
  86. package/dist/checkout/p-Ufaww5Lq.js +4 -0
  87. package/dist/checkout/p-ZjP4CjeZ.js +1 -2
  88. package/dist/checkout/p-a90efa79.entry.js +1 -0
  89. package/dist/checkout/p-aba43d04.entry.js +1 -0
  90. package/dist/checkout/p-abd12b84.entry.js +1 -0
  91. package/dist/checkout/p-abe1becc.entry.js +1 -0
  92. package/dist/checkout/p-af32124b.entry.js +1 -0
  93. package/dist/checkout/p-b2f66c60.entry.js +4 -0
  94. package/dist/checkout/p-b4000357.entry.js +4 -0
  95. package/dist/checkout/p-b45f5952.entry.js +1 -0
  96. package/dist/checkout/p-b8245f6a.entry.js +1 -0
  97. package/dist/checkout/p-b90c064e.entry.js +7 -0
  98. package/dist/checkout/p-bf933eb6.entry.js +4 -0
  99. package/dist/checkout/p-c03b6161.entry.js +1 -0
  100. package/dist/checkout/p-c2240d19.entry.js +1 -0
  101. package/dist/checkout/p-c2296aa1.entry.js +1 -0
  102. package/dist/checkout/p-c28b4374.entry.js +1 -0
  103. package/dist/checkout/p-c8740acc.entry.js +7 -0
  104. package/dist/checkout/p-c929d6ea.entry.js +1 -0
  105. package/dist/checkout/p-ca257d45.entry.js +1 -0
  106. package/dist/checkout/p-cb2db223.entry.js +1 -0
  107. package/dist/checkout/p-cb3967fc.entry.js +1 -0
  108. package/dist/checkout/p-cd2c344b.entry.js +7 -0
  109. package/dist/checkout/p-cef16f11.entry.js +1 -0
  110. package/dist/checkout/p-d370e756.entry.js +4 -0
  111. package/dist/checkout/p-d5652cd4.entry.js +1 -0
  112. package/dist/checkout/p-d799009b.entry.js +1 -0
  113. package/dist/checkout/p-df1b4347.entry.js +4 -0
  114. package/dist/checkout/p-e4bc42fb.entry.js +1 -0
  115. package/dist/checkout/p-e4d0702d.entry.js +1 -0
  116. package/dist/checkout/p-e785fb8a.entry.js +1 -0
  117. package/dist/checkout/p-e8bd206a.entry.js +1 -0
  118. package/dist/checkout/p-eae2d3f2.entry.js +1 -0
  119. package/dist/checkout/p-ef749875.entry.js +1 -0
  120. package/dist/checkout/p-f157b6b2.entry.js +4 -0
  121. package/dist/checkout/p-f22v7XAM.js +7 -0
  122. package/dist/checkout/p-f351a19a.entry.js +1 -0
  123. package/dist/checkout/p-f845e91b.entry.js +1 -0
  124. package/dist/checkout/p-ff2e59e3.entry.js +1 -0
  125. package/dist/checkout/p-hAETByzF.js +5 -0
  126. package/dist/checkout/p-hHmYLOfE.js +1 -2
  127. package/dist/checkout/p-ofaUly0p.js +4 -0
  128. package/dist/checkout/p-sObYyvOy.js +1 -2
  129. package/dist/checkout/p-vn1iXXUO.js +9 -0
  130. package/dist/checkout/p-yu3xCFhr.js +7 -0
  131. package/dist/checkout/svg/accessibility-outline.svg +1 -1
  132. package/dist/checkout/svg/accessibility-sharp.svg +1 -1
  133. package/dist/checkout/svg/accessibility.svg +1 -1
  134. package/dist/checkout/svg/add-circle-outline.svg +1 -1
  135. package/dist/checkout/svg/add-circle-sharp.svg +1 -1
  136. package/dist/checkout/svg/add-circle.svg +1 -1
  137. package/dist/checkout/svg/add-outline.svg +1 -1
  138. package/dist/checkout/svg/add-sharp.svg +1 -1
  139. package/dist/checkout/svg/add.svg +1 -1
  140. package/dist/checkout/svg/airplane-outline.svg +1 -1
  141. package/dist/checkout/svg/airplane-sharp.svg +1 -1
  142. package/dist/checkout/svg/airplane.svg +1 -1
  143. package/dist/checkout/svg/alarm-outline.svg +1 -1
  144. package/dist/checkout/svg/alarm-sharp.svg +1 -1
  145. package/dist/checkout/svg/alarm.svg +1 -1
  146. package/dist/checkout/svg/albums-outline.svg +1 -1
  147. package/dist/checkout/svg/albums-sharp.svg +1 -1
  148. package/dist/checkout/svg/albums.svg +1 -1
  149. package/dist/checkout/svg/alert-circle-outline.svg +1 -1
  150. package/dist/checkout/svg/alert-circle-sharp.svg +1 -1
  151. package/dist/checkout/svg/alert-circle.svg +1 -1
  152. package/dist/checkout/svg/alert-outline.svg +1 -1
  153. package/dist/checkout/svg/alert-sharp.svg +1 -1
  154. package/dist/checkout/svg/alert.svg +1 -1
  155. package/dist/checkout/svg/american-football-outline.svg +1 -1
  156. package/dist/checkout/svg/american-football-sharp.svg +1 -1
  157. package/dist/checkout/svg/american-football.svg +1 -1
  158. package/dist/checkout/svg/analytics-outline.svg +1 -1
  159. package/dist/checkout/svg/analytics-sharp.svg +1 -1
  160. package/dist/checkout/svg/analytics.svg +1 -1
  161. package/dist/checkout/svg/aperture-outline.svg +1 -1
  162. package/dist/checkout/svg/aperture-sharp.svg +1 -1
  163. package/dist/checkout/svg/aperture.svg +1 -1
  164. package/dist/checkout/svg/apps-outline.svg +1 -1
  165. package/dist/checkout/svg/apps-sharp.svg +1 -1
  166. package/dist/checkout/svg/apps.svg +1 -1
  167. package/dist/checkout/svg/archive-outline.svg +1 -1
  168. package/dist/checkout/svg/archive-sharp.svg +1 -1
  169. package/dist/checkout/svg/archive.svg +1 -1
  170. package/dist/checkout/svg/arrow-back-circle-outline.svg +1 -1
  171. package/dist/checkout/svg/arrow-back-circle-sharp.svg +1 -1
  172. package/dist/checkout/svg/arrow-back-circle.svg +1 -1
  173. package/dist/checkout/svg/arrow-back-outline.svg +1 -1
  174. package/dist/checkout/svg/arrow-back-sharp.svg +1 -1
  175. package/dist/checkout/svg/arrow-back.svg +1 -1
  176. package/dist/checkout/svg/arrow-down-circle-outline.svg +1 -1
  177. package/dist/checkout/svg/arrow-down-circle-sharp.svg +1 -1
  178. package/dist/checkout/svg/arrow-down-circle.svg +1 -1
  179. package/dist/checkout/svg/arrow-down-left-box-outline.svg +1 -1
  180. package/dist/checkout/svg/arrow-down-left-box-sharp.svg +1 -1
  181. package/dist/checkout/svg/arrow-down-left-box.svg +1 -1
  182. package/dist/checkout/svg/arrow-down-outline.svg +1 -1
  183. package/dist/checkout/svg/arrow-down-right-box-outline.svg +1 -1
  184. package/dist/checkout/svg/arrow-down-right-box-sharp.svg +1 -1
  185. package/dist/checkout/svg/arrow-down-right-box.svg +1 -1
  186. package/dist/checkout/svg/arrow-down-sharp.svg +1 -1
  187. package/dist/checkout/svg/arrow-down.svg +1 -1
  188. package/dist/checkout/svg/arrow-forward-circle-outline.svg +1 -1
  189. package/dist/checkout/svg/arrow-forward-circle-sharp.svg +1 -1
  190. package/dist/checkout/svg/arrow-forward-circle.svg +1 -1
  191. package/dist/checkout/svg/arrow-forward-outline.svg +1 -1
  192. package/dist/checkout/svg/arrow-forward-sharp.svg +1 -1
  193. package/dist/checkout/svg/arrow-forward.svg +1 -1
  194. package/dist/checkout/svg/arrow-redo-circle-outline.svg +1 -1
  195. package/dist/checkout/svg/arrow-redo-circle-sharp.svg +1 -1
  196. package/dist/checkout/svg/arrow-redo-circle.svg +1 -1
  197. package/dist/checkout/svg/arrow-redo-outline.svg +1 -1
  198. package/dist/checkout/svg/arrow-redo-sharp.svg +1 -1
  199. package/dist/checkout/svg/arrow-redo.svg +1 -1
  200. package/dist/checkout/svg/arrow-undo-circle-outline.svg +1 -1
  201. package/dist/checkout/svg/arrow-undo-circle-sharp.svg +1 -1
  202. package/dist/checkout/svg/arrow-undo-circle.svg +1 -1
  203. package/dist/checkout/svg/arrow-undo-outline.svg +1 -1
  204. package/dist/checkout/svg/arrow-undo-sharp.svg +1 -1
  205. package/dist/checkout/svg/arrow-undo.svg +1 -1
  206. package/dist/checkout/svg/arrow-up-circle-outline.svg +1 -1
  207. package/dist/checkout/svg/arrow-up-circle-sharp.svg +1 -1
  208. package/dist/checkout/svg/arrow-up-circle.svg +1 -1
  209. package/dist/checkout/svg/arrow-up-left-box-outline.svg +1 -1
  210. package/dist/checkout/svg/arrow-up-left-box-sharp.svg +1 -1
  211. package/dist/checkout/svg/arrow-up-left-box.svg +1 -1
  212. package/dist/checkout/svg/arrow-up-outline.svg +1 -1
  213. package/dist/checkout/svg/arrow-up-right-box-outline.svg +1 -1
  214. package/dist/checkout/svg/arrow-up-right-box-sharp.svg +1 -1
  215. package/dist/checkout/svg/arrow-up-right-box.svg +1 -1
  216. package/dist/checkout/svg/arrow-up-sharp.svg +1 -1
  217. package/dist/checkout/svg/arrow-up.svg +1 -1
  218. package/dist/checkout/svg/at-circle-outline.svg +1 -1
  219. package/dist/checkout/svg/at-circle-sharp.svg +1 -1
  220. package/dist/checkout/svg/at-circle.svg +1 -1
  221. package/dist/checkout/svg/at-outline.svg +1 -1
  222. package/dist/checkout/svg/at-sharp.svg +1 -1
  223. package/dist/checkout/svg/at.svg +1 -1
  224. package/dist/checkout/svg/attach-outline.svg +1 -1
  225. package/dist/checkout/svg/attach-sharp.svg +1 -1
  226. package/dist/checkout/svg/attach.svg +1 -1
  227. package/dist/checkout/svg/backspace-outline.svg +1 -1
  228. package/dist/checkout/svg/backspace-sharp.svg +1 -1
  229. package/dist/checkout/svg/backspace.svg +1 -1
  230. package/dist/checkout/svg/bag-add-outline.svg +1 -1
  231. package/dist/checkout/svg/bag-add-sharp.svg +1 -1
  232. package/dist/checkout/svg/bag-add.svg +1 -1
  233. package/dist/checkout/svg/bag-check-outline.svg +1 -1
  234. package/dist/checkout/svg/bag-check-sharp.svg +1 -1
  235. package/dist/checkout/svg/bag-check.svg +1 -1
  236. package/dist/checkout/svg/bag-handle-outline.svg +1 -1
  237. package/dist/checkout/svg/bag-handle-sharp.svg +1 -1
  238. package/dist/checkout/svg/bag-handle.svg +1 -1
  239. package/dist/checkout/svg/bag-outline.svg +1 -1
  240. package/dist/checkout/svg/bag-remove-outline.svg +1 -1
  241. package/dist/checkout/svg/bag-remove-sharp.svg +1 -1
  242. package/dist/checkout/svg/bag-remove.svg +1 -1
  243. package/dist/checkout/svg/bag-sharp.svg +1 -1
  244. package/dist/checkout/svg/bag.svg +1 -1
  245. package/dist/checkout/svg/balloon-outline.svg +1 -1
  246. package/dist/checkout/svg/balloon-sharp.svg +1 -1
  247. package/dist/checkout/svg/balloon.svg +1 -1
  248. package/dist/checkout/svg/ban-outline.svg +1 -1
  249. package/dist/checkout/svg/ban-sharp.svg +1 -1
  250. package/dist/checkout/svg/ban.svg +1 -1
  251. package/dist/checkout/svg/bandage-outline.svg +1 -1
  252. package/dist/checkout/svg/bandage-sharp.svg +1 -1
  253. package/dist/checkout/svg/bandage.svg +1 -1
  254. package/dist/checkout/svg/bar-chart-outline.svg +1 -1
  255. package/dist/checkout/svg/bar-chart-sharp.svg +1 -1
  256. package/dist/checkout/svg/bar-chart.svg +1 -1
  257. package/dist/checkout/svg/barbell-outline.svg +1 -1
  258. package/dist/checkout/svg/barbell-sharp.svg +1 -1
  259. package/dist/checkout/svg/barbell.svg +1 -1
  260. package/dist/checkout/svg/barcode-outline.svg +1 -1
  261. package/dist/checkout/svg/barcode-sharp.svg +1 -1
  262. package/dist/checkout/svg/barcode.svg +1 -1
  263. package/dist/checkout/svg/baseball-outline.svg +1 -1
  264. package/dist/checkout/svg/baseball-sharp.svg +1 -1
  265. package/dist/checkout/svg/baseball.svg +1 -1
  266. package/dist/checkout/svg/basket-outline.svg +1 -1
  267. package/dist/checkout/svg/basket-sharp.svg +1 -1
  268. package/dist/checkout/svg/basket.svg +1 -1
  269. package/dist/checkout/svg/basketball-outline.svg +1 -1
  270. package/dist/checkout/svg/basketball-sharp.svg +1 -1
  271. package/dist/checkout/svg/basketball.svg +1 -1
  272. package/dist/checkout/svg/battery-charging-outline.svg +1 -1
  273. package/dist/checkout/svg/battery-charging-sharp.svg +1 -1
  274. package/dist/checkout/svg/battery-charging.svg +1 -1
  275. package/dist/checkout/svg/battery-dead-outline.svg +1 -1
  276. package/dist/checkout/svg/battery-dead-sharp.svg +1 -1
  277. package/dist/checkout/svg/battery-dead.svg +1 -1
  278. package/dist/checkout/svg/battery-full-outline.svg +1 -1
  279. package/dist/checkout/svg/battery-full-sharp.svg +1 -1
  280. package/dist/checkout/svg/battery-full.svg +1 -1
  281. package/dist/checkout/svg/battery-half-outline.svg +1 -1
  282. package/dist/checkout/svg/battery-half-sharp.svg +1 -1
  283. package/dist/checkout/svg/battery-half.svg +1 -1
  284. package/dist/checkout/svg/beaker-outline.svg +1 -1
  285. package/dist/checkout/svg/beaker-sharp.svg +1 -1
  286. package/dist/checkout/svg/beaker.svg +1 -1
  287. package/dist/checkout/svg/bed-outline.svg +1 -1
  288. package/dist/checkout/svg/bed-sharp.svg +1 -1
  289. package/dist/checkout/svg/bed.svg +1 -1
  290. package/dist/checkout/svg/beer-outline.svg +1 -1
  291. package/dist/checkout/svg/beer-sharp.svg +1 -1
  292. package/dist/checkout/svg/beer.svg +1 -1
  293. package/dist/checkout/svg/bicycle-outline.svg +1 -1
  294. package/dist/checkout/svg/bicycle-sharp.svg +1 -1
  295. package/dist/checkout/svg/bicycle.svg +1 -1
  296. package/dist/checkout/svg/binoculars-outline.svg +1 -1
  297. package/dist/checkout/svg/binoculars-sharp.svg +1 -1
  298. package/dist/checkout/svg/binoculars.svg +1 -1
  299. package/dist/checkout/svg/bluetooth-outline.svg +1 -1
  300. package/dist/checkout/svg/bluetooth-sharp.svg +1 -1
  301. package/dist/checkout/svg/bluetooth.svg +1 -1
  302. package/dist/checkout/svg/boat-outline.svg +1 -1
  303. package/dist/checkout/svg/boat-sharp.svg +1 -1
  304. package/dist/checkout/svg/boat.svg +1 -1
  305. package/dist/checkout/svg/body-outline.svg +1 -1
  306. package/dist/checkout/svg/body-sharp.svg +1 -1
  307. package/dist/checkout/svg/body.svg +1 -1
  308. package/dist/checkout/svg/bonfire-outline.svg +1 -1
  309. package/dist/checkout/svg/bonfire-sharp.svg +1 -1
  310. package/dist/checkout/svg/bonfire.svg +1 -1
  311. package/dist/checkout/svg/book-outline.svg +1 -1
  312. package/dist/checkout/svg/book-sharp.svg +1 -1
  313. package/dist/checkout/svg/book.svg +1 -1
  314. package/dist/checkout/svg/bookmark-outline.svg +1 -1
  315. package/dist/checkout/svg/bookmark-sharp.svg +1 -1
  316. package/dist/checkout/svg/bookmark.svg +1 -1
  317. package/dist/checkout/svg/bookmarks-outline.svg +1 -1
  318. package/dist/checkout/svg/bookmarks-sharp.svg +1 -1
  319. package/dist/checkout/svg/bookmarks.svg +1 -1
  320. package/dist/checkout/svg/bowling-ball-sharp.svg +1 -1
  321. package/dist/checkout/svg/bowling-ball.svg +1 -1
  322. package/dist/checkout/svg/briefcase-outline.svg +1 -1
  323. package/dist/checkout/svg/briefcase-sharp.svg +1 -1
  324. package/dist/checkout/svg/briefcase.svg +1 -1
  325. package/dist/checkout/svg/browsers-outline.svg +1 -1
  326. package/dist/checkout/svg/browsers-sharp.svg +1 -1
  327. package/dist/checkout/svg/browsers.svg +1 -1
  328. package/dist/checkout/svg/brush-outline.svg +1 -1
  329. package/dist/checkout/svg/brush-sharp.svg +1 -1
  330. package/dist/checkout/svg/brush.svg +1 -1
  331. package/dist/checkout/svg/bug-outline.svg +1 -1
  332. package/dist/checkout/svg/bug-sharp.svg +1 -1
  333. package/dist/checkout/svg/bug.svg +1 -1
  334. package/dist/checkout/svg/build-outline.svg +1 -1
  335. package/dist/checkout/svg/build-sharp.svg +1 -1
  336. package/dist/checkout/svg/build.svg +1 -1
  337. package/dist/checkout/svg/bulb-outline.svg +1 -1
  338. package/dist/checkout/svg/bulb-sharp.svg +1 -1
  339. package/dist/checkout/svg/bulb.svg +1 -1
  340. package/dist/checkout/svg/bus-outline.svg +1 -1
  341. package/dist/checkout/svg/bus-sharp.svg +1 -1
  342. package/dist/checkout/svg/bus.svg +1 -1
  343. package/dist/checkout/svg/business-outline.svg +1 -1
  344. package/dist/checkout/svg/business-sharp.svg +1 -1
  345. package/dist/checkout/svg/business.svg +1 -1
  346. package/dist/checkout/svg/cafe-outline.svg +1 -1
  347. package/dist/checkout/svg/cafe-sharp.svg +1 -1
  348. package/dist/checkout/svg/cafe.svg +1 -1
  349. package/dist/checkout/svg/calculator-outline.svg +1 -1
  350. package/dist/checkout/svg/calculator-sharp.svg +1 -1
  351. package/dist/checkout/svg/calculator.svg +1 -1
  352. package/dist/checkout/svg/calendar-clear-outline.svg +1 -1
  353. package/dist/checkout/svg/calendar-clear-sharp.svg +1 -1
  354. package/dist/checkout/svg/calendar-clear.svg +1 -1
  355. package/dist/checkout/svg/calendar-number-outline.svg +1 -1
  356. package/dist/checkout/svg/calendar-number-sharp.svg +1 -1
  357. package/dist/checkout/svg/calendar-number.svg +1 -1
  358. package/dist/checkout/svg/calendar-outline.svg +1 -1
  359. package/dist/checkout/svg/calendar-sharp.svg +1 -1
  360. package/dist/checkout/svg/calendar.svg +1 -1
  361. package/dist/checkout/svg/call-outline.svg +1 -1
  362. package/dist/checkout/svg/call-sharp.svg +1 -1
  363. package/dist/checkout/svg/call.svg +1 -1
  364. package/dist/checkout/svg/camera-outline.svg +1 -1
  365. package/dist/checkout/svg/camera-reverse-outline.svg +1 -1
  366. package/dist/checkout/svg/camera-reverse-sharp.svg +1 -1
  367. package/dist/checkout/svg/camera-reverse.svg +1 -1
  368. package/dist/checkout/svg/camera-sharp.svg +1 -1
  369. package/dist/checkout/svg/camera.svg +1 -1
  370. package/dist/checkout/svg/car-outline.svg +1 -1
  371. package/dist/checkout/svg/car-sharp.svg +1 -1
  372. package/dist/checkout/svg/car-sport-outline.svg +1 -1
  373. package/dist/checkout/svg/car-sport-sharp.svg +1 -1
  374. package/dist/checkout/svg/car-sport.svg +1 -1
  375. package/dist/checkout/svg/car.svg +1 -1
  376. package/dist/checkout/svg/card-outline.svg +1 -1
  377. package/dist/checkout/svg/card-sharp.svg +1 -1
  378. package/dist/checkout/svg/card.svg +1 -1
  379. package/dist/checkout/svg/caret-back-circle-outline.svg +1 -1
  380. package/dist/checkout/svg/caret-back-circle-sharp.svg +1 -1
  381. package/dist/checkout/svg/caret-back-circle.svg +1 -1
  382. package/dist/checkout/svg/caret-back-outline.svg +1 -1
  383. package/dist/checkout/svg/caret-back-sharp.svg +1 -1
  384. package/dist/checkout/svg/caret-back.svg +1 -1
  385. package/dist/checkout/svg/caret-down-circle-outline.svg +1 -1
  386. package/dist/checkout/svg/caret-down-circle-sharp.svg +1 -1
  387. package/dist/checkout/svg/caret-down-circle.svg +1 -1
  388. package/dist/checkout/svg/caret-down-outline.svg +1 -1
  389. package/dist/checkout/svg/caret-down-sharp.svg +1 -1
  390. package/dist/checkout/svg/caret-down.svg +1 -1
  391. package/dist/checkout/svg/caret-forward-circle-outline.svg +1 -1
  392. package/dist/checkout/svg/caret-forward-circle-sharp.svg +1 -1
  393. package/dist/checkout/svg/caret-forward-circle.svg +1 -1
  394. package/dist/checkout/svg/caret-forward-outline.svg +1 -1
  395. package/dist/checkout/svg/caret-forward-sharp.svg +1 -1
  396. package/dist/checkout/svg/caret-forward.svg +1 -1
  397. package/dist/checkout/svg/caret-up-circle-outline.svg +1 -1
  398. package/dist/checkout/svg/caret-up-circle-sharp.svg +1 -1
  399. package/dist/checkout/svg/caret-up-circle.svg +1 -1
  400. package/dist/checkout/svg/caret-up-outline.svg +1 -1
  401. package/dist/checkout/svg/caret-up-sharp.svg +1 -1
  402. package/dist/checkout/svg/caret-up.svg +1 -1
  403. package/dist/checkout/svg/cart-outline.svg +1 -1
  404. package/dist/checkout/svg/cart-sharp.svg +1 -1
  405. package/dist/checkout/svg/cart.svg +1 -1
  406. package/dist/checkout/svg/cash-outline.svg +1 -1
  407. package/dist/checkout/svg/cash-sharp.svg +1 -1
  408. package/dist/checkout/svg/cash.svg +1 -1
  409. package/dist/checkout/svg/cellular-outline.svg +1 -1
  410. package/dist/checkout/svg/cellular-sharp.svg +1 -1
  411. package/dist/checkout/svg/cellular.svg +1 -1
  412. package/dist/checkout/svg/chatbox-ellipses-outline.svg +1 -1
  413. package/dist/checkout/svg/chatbox-ellipses-sharp.svg +1 -1
  414. package/dist/checkout/svg/chatbox-ellipses.svg +1 -1
  415. package/dist/checkout/svg/chatbox-outline.svg +1 -1
  416. package/dist/checkout/svg/chatbox-sharp.svg +1 -1
  417. package/dist/checkout/svg/chatbox.svg +1 -1
  418. package/dist/checkout/svg/chatbubble-ellipses-outline.svg +1 -1
  419. package/dist/checkout/svg/chatbubble-ellipses-sharp.svg +1 -1
  420. package/dist/checkout/svg/chatbubble-ellipses.svg +1 -1
  421. package/dist/checkout/svg/chatbubble-outline.svg +1 -1
  422. package/dist/checkout/svg/chatbubble-sharp.svg +1 -1
  423. package/dist/checkout/svg/chatbubble.svg +1 -1
  424. package/dist/checkout/svg/chatbubbles-outline.svg +1 -1
  425. package/dist/checkout/svg/chatbubbles-sharp.svg +1 -1
  426. package/dist/checkout/svg/chatbubbles.svg +1 -1
  427. package/dist/checkout/svg/checkbox-outline.svg +1 -1
  428. package/dist/checkout/svg/checkbox-sharp.svg +1 -1
  429. package/dist/checkout/svg/checkbox.svg +1 -1
  430. package/dist/checkout/svg/checkmark-circle-outline.svg +1 -1
  431. package/dist/checkout/svg/checkmark-circle-sharp.svg +1 -1
  432. package/dist/checkout/svg/checkmark-circle.svg +1 -1
  433. package/dist/checkout/svg/checkmark-done-circle-outline.svg +1 -1
  434. package/dist/checkout/svg/checkmark-done-circle-sharp.svg +1 -1
  435. package/dist/checkout/svg/checkmark-done-circle.svg +1 -1
  436. package/dist/checkout/svg/checkmark-done-outline.svg +1 -1
  437. package/dist/checkout/svg/checkmark-done-sharp.svg +1 -1
  438. package/dist/checkout/svg/checkmark-done.svg +1 -1
  439. package/dist/checkout/svg/checkmark-outline.svg +1 -1
  440. package/dist/checkout/svg/checkmark-sharp.svg +1 -1
  441. package/dist/checkout/svg/checkmark.svg +1 -1
  442. package/dist/checkout/svg/chevron-back-circle-outline.svg +1 -1
  443. package/dist/checkout/svg/chevron-back-circle-sharp.svg +1 -1
  444. package/dist/checkout/svg/chevron-back-circle.svg +1 -1
  445. package/dist/checkout/svg/chevron-back-outline.svg +1 -1
  446. package/dist/checkout/svg/chevron-back-sharp.svg +1 -1
  447. package/dist/checkout/svg/chevron-back.svg +1 -1
  448. package/dist/checkout/svg/chevron-collapse-outline.svg +1 -1
  449. package/dist/checkout/svg/chevron-collapse-sharp.svg +1 -1
  450. package/dist/checkout/svg/chevron-collapse.svg +1 -1
  451. package/dist/checkout/svg/chevron-down-circle-outline.svg +1 -1
  452. package/dist/checkout/svg/chevron-down-circle-sharp.svg +1 -1
  453. package/dist/checkout/svg/chevron-down-circle.svg +1 -1
  454. package/dist/checkout/svg/chevron-down-outline.svg +1 -1
  455. package/dist/checkout/svg/chevron-down-sharp.svg +1 -1
  456. package/dist/checkout/svg/chevron-down.svg +1 -1
  457. package/dist/checkout/svg/chevron-expand-outline.svg +1 -1
  458. package/dist/checkout/svg/chevron-expand-sharp.svg +1 -1
  459. package/dist/checkout/svg/chevron-expand.svg +1 -1
  460. package/dist/checkout/svg/chevron-forward-circle-outline.svg +1 -1
  461. package/dist/checkout/svg/chevron-forward-circle-sharp.svg +1 -1
  462. package/dist/checkout/svg/chevron-forward-circle.svg +1 -1
  463. package/dist/checkout/svg/chevron-forward-outline.svg +1 -1
  464. package/dist/checkout/svg/chevron-forward-sharp.svg +1 -1
  465. package/dist/checkout/svg/chevron-forward.svg +1 -1
  466. package/dist/checkout/svg/chevron-up-circle-outline.svg +1 -1
  467. package/dist/checkout/svg/chevron-up-circle-sharp.svg +1 -1
  468. package/dist/checkout/svg/chevron-up-circle.svg +1 -1
  469. package/dist/checkout/svg/chevron-up-outline.svg +1 -1
  470. package/dist/checkout/svg/chevron-up-sharp.svg +1 -1
  471. package/dist/checkout/svg/chevron-up.svg +1 -1
  472. package/dist/checkout/svg/clipboard-outline.svg +1 -1
  473. package/dist/checkout/svg/clipboard-sharp.svg +1 -1
  474. package/dist/checkout/svg/clipboard.svg +1 -1
  475. package/dist/checkout/svg/close-circle-outline.svg +1 -1
  476. package/dist/checkout/svg/close-circle-sharp.svg +1 -1
  477. package/dist/checkout/svg/close-circle.svg +1 -1
  478. package/dist/checkout/svg/close-outline.svg +1 -1
  479. package/dist/checkout/svg/close-sharp.svg +1 -1
  480. package/dist/checkout/svg/close.svg +1 -1
  481. package/dist/checkout/svg/cloud-circle-outline.svg +1 -1
  482. package/dist/checkout/svg/cloud-circle-sharp.svg +1 -1
  483. package/dist/checkout/svg/cloud-circle.svg +1 -1
  484. package/dist/checkout/svg/cloud-done-outline.svg +1 -1
  485. package/dist/checkout/svg/cloud-done-sharp.svg +1 -1
  486. package/dist/checkout/svg/cloud-done.svg +1 -1
  487. package/dist/checkout/svg/cloud-download-outline.svg +1 -1
  488. package/dist/checkout/svg/cloud-download-sharp.svg +1 -1
  489. package/dist/checkout/svg/cloud-download.svg +1 -1
  490. package/dist/checkout/svg/cloud-offline-outline.svg +1 -1
  491. package/dist/checkout/svg/cloud-offline-sharp.svg +1 -1
  492. package/dist/checkout/svg/cloud-offline.svg +1 -1
  493. package/dist/checkout/svg/cloud-outline.svg +1 -1
  494. package/dist/checkout/svg/cloud-sharp.svg +1 -1
  495. package/dist/checkout/svg/cloud-upload-outline.svg +1 -1
  496. package/dist/checkout/svg/cloud-upload-sharp.svg +1 -1
  497. package/dist/checkout/svg/cloud-upload.svg +1 -1
  498. package/dist/checkout/svg/cloud.svg +1 -1
  499. package/dist/checkout/svg/cloudy-night-outline.svg +1 -1
  500. package/dist/checkout/svg/cloudy-night-sharp.svg +1 -1
  501. package/dist/checkout/svg/cloudy-night.svg +1 -1
  502. package/dist/checkout/svg/cloudy-outline.svg +1 -1
  503. package/dist/checkout/svg/cloudy-sharp.svg +1 -1
  504. package/dist/checkout/svg/cloudy.svg +1 -1
  505. package/dist/checkout/svg/code-download-outline.svg +1 -1
  506. package/dist/checkout/svg/code-download-sharp.svg +1 -1
  507. package/dist/checkout/svg/code-download.svg +1 -1
  508. package/dist/checkout/svg/code-outline.svg +1 -1
  509. package/dist/checkout/svg/code-sharp.svg +1 -1
  510. package/dist/checkout/svg/code-slash-outline.svg +1 -1
  511. package/dist/checkout/svg/code-slash-sharp.svg +1 -1
  512. package/dist/checkout/svg/code-slash.svg +1 -1
  513. package/dist/checkout/svg/code-working-outline.svg +1 -1
  514. package/dist/checkout/svg/code-working-sharp.svg +1 -1
  515. package/dist/checkout/svg/code-working.svg +1 -1
  516. package/dist/checkout/svg/code.svg +1 -1
  517. package/dist/checkout/svg/cog-outline.svg +1 -1
  518. package/dist/checkout/svg/cog-sharp.svg +1 -1
  519. package/dist/checkout/svg/cog.svg +1 -1
  520. package/dist/checkout/svg/color-fill-outline.svg +1 -1
  521. package/dist/checkout/svg/color-fill-sharp.svg +1 -1
  522. package/dist/checkout/svg/color-fill.svg +1 -1
  523. package/dist/checkout/svg/color-filter-outline.svg +1 -1
  524. package/dist/checkout/svg/color-filter-sharp.svg +1 -1
  525. package/dist/checkout/svg/color-filter.svg +1 -1
  526. package/dist/checkout/svg/color-palette-outline.svg +1 -1
  527. package/dist/checkout/svg/color-palette-sharp.svg +1 -1
  528. package/dist/checkout/svg/color-palette.svg +1 -1
  529. package/dist/checkout/svg/color-wand-outline.svg +1 -1
  530. package/dist/checkout/svg/color-wand-sharp.svg +1 -1
  531. package/dist/checkout/svg/color-wand.svg +1 -1
  532. package/dist/checkout/svg/compass-outline.svg +1 -1
  533. package/dist/checkout/svg/compass-sharp.svg +1 -1
  534. package/dist/checkout/svg/compass.svg +1 -1
  535. package/dist/checkout/svg/construct-outline.svg +1 -1
  536. package/dist/checkout/svg/construct-sharp.svg +1 -1
  537. package/dist/checkout/svg/construct.svg +1 -1
  538. package/dist/checkout/svg/contract-outline.svg +1 -1
  539. package/dist/checkout/svg/contract-sharp.svg +1 -1
  540. package/dist/checkout/svg/contract.svg +1 -1
  541. package/dist/checkout/svg/contrast-outline.svg +1 -1
  542. package/dist/checkout/svg/contrast-sharp.svg +1 -1
  543. package/dist/checkout/svg/contrast.svg +1 -1
  544. package/dist/checkout/svg/copy-outline.svg +1 -1
  545. package/dist/checkout/svg/copy-sharp.svg +1 -1
  546. package/dist/checkout/svg/copy.svg +1 -1
  547. package/dist/checkout/svg/create-outline.svg +1 -1
  548. package/dist/checkout/svg/create-sharp.svg +1 -1
  549. package/dist/checkout/svg/create.svg +1 -1
  550. package/dist/checkout/svg/crop-outline.svg +1 -1
  551. package/dist/checkout/svg/crop-sharp.svg +1 -1
  552. package/dist/checkout/svg/crop.svg +1 -1
  553. package/dist/checkout/svg/cube-outline.svg +1 -1
  554. package/dist/checkout/svg/cube-sharp.svg +1 -1
  555. package/dist/checkout/svg/cube.svg +1 -1
  556. package/dist/checkout/svg/cut-outline.svg +1 -1
  557. package/dist/checkout/svg/cut-sharp.svg +1 -1
  558. package/dist/checkout/svg/cut.svg +1 -1
  559. package/dist/checkout/svg/desktop-outline.svg +1 -1
  560. package/dist/checkout/svg/desktop-sharp.svg +1 -1
  561. package/dist/checkout/svg/desktop.svg +1 -1
  562. package/dist/checkout/svg/diamond-outline.svg +1 -1
  563. package/dist/checkout/svg/diamond-sharp.svg +1 -1
  564. package/dist/checkout/svg/diamond.svg +1 -1
  565. package/dist/checkout/svg/dice-outline.svg +1 -1
  566. package/dist/checkout/svg/dice-sharp.svg +1 -1
  567. package/dist/checkout/svg/dice.svg +1 -1
  568. package/dist/checkout/svg/disc-outline.svg +1 -1
  569. package/dist/checkout/svg/disc-sharp.svg +1 -1
  570. package/dist/checkout/svg/disc.svg +1 -1
  571. package/dist/checkout/svg/document-attach-outline.svg +1 -1
  572. package/dist/checkout/svg/document-attach-sharp.svg +1 -1
  573. package/dist/checkout/svg/document-attach.svg +1 -1
  574. package/dist/checkout/svg/document-lock-outline.svg +1 -1
  575. package/dist/checkout/svg/document-lock-sharp.svg +1 -1
  576. package/dist/checkout/svg/document-lock.svg +1 -1
  577. package/dist/checkout/svg/document-outline.svg +1 -1
  578. package/dist/checkout/svg/document-sharp.svg +1 -1
  579. package/dist/checkout/svg/document-text-outline.svg +1 -1
  580. package/dist/checkout/svg/document-text-sharp.svg +1 -1
  581. package/dist/checkout/svg/document-text.svg +1 -1
  582. package/dist/checkout/svg/document.svg +1 -1
  583. package/dist/checkout/svg/documents-outline.svg +1 -1
  584. package/dist/checkout/svg/documents-sharp.svg +1 -1
  585. package/dist/checkout/svg/documents.svg +1 -1
  586. package/dist/checkout/svg/download-outline.svg +1 -1
  587. package/dist/checkout/svg/download-sharp.svg +1 -1
  588. package/dist/checkout/svg/download.svg +1 -1
  589. package/dist/checkout/svg/duplicate-outline.svg +1 -1
  590. package/dist/checkout/svg/duplicate-sharp.svg +1 -1
  591. package/dist/checkout/svg/duplicate.svg +1 -1
  592. package/dist/checkout/svg/ear-outline.svg +1 -1
  593. package/dist/checkout/svg/ear-sharp.svg +1 -1
  594. package/dist/checkout/svg/ear.svg +1 -1
  595. package/dist/checkout/svg/earth-outline.svg +1 -1
  596. package/dist/checkout/svg/earth-sharp.svg +1 -1
  597. package/dist/checkout/svg/earth.svg +1 -1
  598. package/dist/checkout/svg/easel-outline.svg +1 -1
  599. package/dist/checkout/svg/easel-sharp.svg +1 -1
  600. package/dist/checkout/svg/easel.svg +1 -1
  601. package/dist/checkout/svg/egg-outline.svg +1 -1
  602. package/dist/checkout/svg/egg-sharp.svg +1 -1
  603. package/dist/checkout/svg/egg.svg +1 -1
  604. package/dist/checkout/svg/ellipse-outline.svg +1 -1
  605. package/dist/checkout/svg/ellipse-sharp.svg +1 -1
  606. package/dist/checkout/svg/ellipse.svg +1 -1
  607. package/dist/checkout/svg/ellipsis-horizontal-circle-outline.svg +1 -1
  608. package/dist/checkout/svg/ellipsis-horizontal-circle-sharp.svg +1 -1
  609. package/dist/checkout/svg/ellipsis-horizontal-circle.svg +1 -1
  610. package/dist/checkout/svg/ellipsis-horizontal-outline.svg +1 -1
  611. package/dist/checkout/svg/ellipsis-horizontal-sharp.svg +1 -1
  612. package/dist/checkout/svg/ellipsis-horizontal.svg +1 -1
  613. package/dist/checkout/svg/ellipsis-vertical-circle-outline.svg +1 -1
  614. package/dist/checkout/svg/ellipsis-vertical-circle-sharp.svg +1 -1
  615. package/dist/checkout/svg/ellipsis-vertical-circle.svg +1 -1
  616. package/dist/checkout/svg/ellipsis-vertical-outline.svg +1 -1
  617. package/dist/checkout/svg/ellipsis-vertical-sharp.svg +1 -1
  618. package/dist/checkout/svg/ellipsis-vertical.svg +1 -1
  619. package/dist/checkout/svg/enter-outline.svg +1 -1
  620. package/dist/checkout/svg/enter-sharp.svg +1 -1
  621. package/dist/checkout/svg/enter.svg +1 -1
  622. package/dist/checkout/svg/exit-outline.svg +1 -1
  623. package/dist/checkout/svg/exit-sharp.svg +1 -1
  624. package/dist/checkout/svg/exit.svg +1 -1
  625. package/dist/checkout/svg/expand-outline.svg +1 -1
  626. package/dist/checkout/svg/expand-sharp.svg +1 -1
  627. package/dist/checkout/svg/expand.svg +1 -1
  628. package/dist/checkout/svg/extension-puzzle-outline.svg +1 -1
  629. package/dist/checkout/svg/extension-puzzle-sharp.svg +1 -1
  630. package/dist/checkout/svg/extension-puzzle.svg +1 -1
  631. package/dist/checkout/svg/eye-off-outline.svg +1 -1
  632. package/dist/checkout/svg/eye-off-sharp.svg +1 -1
  633. package/dist/checkout/svg/eye-off.svg +1 -1
  634. package/dist/checkout/svg/eye-outline.svg +1 -1
  635. package/dist/checkout/svg/eye-sharp.svg +1 -1
  636. package/dist/checkout/svg/eye.svg +1 -1
  637. package/dist/checkout/svg/eyedrop-outline.svg +1 -1
  638. package/dist/checkout/svg/eyedrop-sharp.svg +1 -1
  639. package/dist/checkout/svg/eyedrop.svg +1 -1
  640. package/dist/checkout/svg/fast-food-outline.svg +1 -1
  641. package/dist/checkout/svg/fast-food-sharp.svg +1 -1
  642. package/dist/checkout/svg/fast-food.svg +1 -1
  643. package/dist/checkout/svg/female-outline.svg +1 -1
  644. package/dist/checkout/svg/female-sharp.svg +1 -1
  645. package/dist/checkout/svg/female.svg +1 -1
  646. package/dist/checkout/svg/file-tray-full-outline.svg +1 -1
  647. package/dist/checkout/svg/file-tray-full-sharp.svg +1 -1
  648. package/dist/checkout/svg/file-tray-full.svg +1 -1
  649. package/dist/checkout/svg/file-tray-outline.svg +1 -1
  650. package/dist/checkout/svg/file-tray-sharp.svg +1 -1
  651. package/dist/checkout/svg/file-tray-stacked-outline.svg +1 -1
  652. package/dist/checkout/svg/file-tray-stacked-sharp.svg +1 -1
  653. package/dist/checkout/svg/file-tray-stacked.svg +1 -1
  654. package/dist/checkout/svg/file-tray.svg +1 -1
  655. package/dist/checkout/svg/film-outline.svg +1 -1
  656. package/dist/checkout/svg/film-sharp.svg +1 -1
  657. package/dist/checkout/svg/film.svg +1 -1
  658. package/dist/checkout/svg/filter-circle-outline.svg +1 -1
  659. package/dist/checkout/svg/filter-circle-sharp.svg +1 -1
  660. package/dist/checkout/svg/filter-circle.svg +1 -1
  661. package/dist/checkout/svg/filter-outline.svg +1 -1
  662. package/dist/checkout/svg/filter-sharp.svg +1 -1
  663. package/dist/checkout/svg/filter.svg +1 -1
  664. package/dist/checkout/svg/finger-print-outline.svg +1 -1
  665. package/dist/checkout/svg/finger-print-sharp.svg +1 -1
  666. package/dist/checkout/svg/finger-print.svg +1 -1
  667. package/dist/checkout/svg/fish-outline.svg +1 -1
  668. package/dist/checkout/svg/fish-sharp.svg +1 -1
  669. package/dist/checkout/svg/fish.svg +1 -1
  670. package/dist/checkout/svg/fitness-outline.svg +1 -1
  671. package/dist/checkout/svg/fitness-sharp.svg +1 -1
  672. package/dist/checkout/svg/fitness.svg +1 -1
  673. package/dist/checkout/svg/flag-outline.svg +1 -1
  674. package/dist/checkout/svg/flag-sharp.svg +1 -1
  675. package/dist/checkout/svg/flag.svg +1 -1
  676. package/dist/checkout/svg/flame-outline.svg +1 -1
  677. package/dist/checkout/svg/flame-sharp.svg +1 -1
  678. package/dist/checkout/svg/flame.svg +1 -1
  679. package/dist/checkout/svg/flash-off-outline.svg +1 -1
  680. package/dist/checkout/svg/flash-off-sharp.svg +1 -1
  681. package/dist/checkout/svg/flash-off.svg +1 -1
  682. package/dist/checkout/svg/flash-outline.svg +1 -1
  683. package/dist/checkout/svg/flash-sharp.svg +1 -1
  684. package/dist/checkout/svg/flash.svg +1 -1
  685. package/dist/checkout/svg/flashlight-outline.svg +1 -1
  686. package/dist/checkout/svg/flashlight-sharp.svg +1 -1
  687. package/dist/checkout/svg/flashlight.svg +1 -1
  688. package/dist/checkout/svg/flask-outline.svg +1 -1
  689. package/dist/checkout/svg/flask-sharp.svg +1 -1
  690. package/dist/checkout/svg/flask.svg +1 -1
  691. package/dist/checkout/svg/flower-outline.svg +1 -1
  692. package/dist/checkout/svg/flower-sharp.svg +1 -1
  693. package/dist/checkout/svg/flower.svg +1 -1
  694. package/dist/checkout/svg/folder-open-outline.svg +1 -1
  695. package/dist/checkout/svg/folder-open-sharp.svg +1 -1
  696. package/dist/checkout/svg/folder-open.svg +1 -1
  697. package/dist/checkout/svg/folder-outline.svg +1 -1
  698. package/dist/checkout/svg/folder-sharp.svg +1 -1
  699. package/dist/checkout/svg/folder.svg +1 -1
  700. package/dist/checkout/svg/football-outline.svg +1 -1
  701. package/dist/checkout/svg/football-sharp.svg +1 -1
  702. package/dist/checkout/svg/football.svg +1 -1
  703. package/dist/checkout/svg/footsteps-outline.svg +1 -1
  704. package/dist/checkout/svg/footsteps-sharp.svg +1 -1
  705. package/dist/checkout/svg/footsteps.svg +1 -1
  706. package/dist/checkout/svg/funnel-outline.svg +1 -1
  707. package/dist/checkout/svg/funnel-sharp.svg +1 -1
  708. package/dist/checkout/svg/funnel.svg +1 -1
  709. package/dist/checkout/svg/game-controller-outline.svg +1 -1
  710. package/dist/checkout/svg/game-controller-sharp.svg +1 -1
  711. package/dist/checkout/svg/game-controller.svg +1 -1
  712. package/dist/checkout/svg/gift-outline.svg +1 -1
  713. package/dist/checkout/svg/gift-sharp.svg +1 -1
  714. package/dist/checkout/svg/gift.svg +1 -1
  715. package/dist/checkout/svg/git-branch-outline.svg +1 -1
  716. package/dist/checkout/svg/git-branch-sharp.svg +1 -1
  717. package/dist/checkout/svg/git-branch.svg +1 -1
  718. package/dist/checkout/svg/git-commit-outline.svg +1 -1
  719. package/dist/checkout/svg/git-commit-sharp.svg +1 -1
  720. package/dist/checkout/svg/git-commit.svg +1 -1
  721. package/dist/checkout/svg/git-compare-outline.svg +1 -1
  722. package/dist/checkout/svg/git-compare-sharp.svg +1 -1
  723. package/dist/checkout/svg/git-compare.svg +1 -1
  724. package/dist/checkout/svg/git-merge-outline.svg +1 -1
  725. package/dist/checkout/svg/git-merge-sharp.svg +1 -1
  726. package/dist/checkout/svg/git-merge.svg +1 -1
  727. package/dist/checkout/svg/git-network-outline.svg +1 -1
  728. package/dist/checkout/svg/git-network-sharp.svg +1 -1
  729. package/dist/checkout/svg/git-network.svg +1 -1
  730. package/dist/checkout/svg/git-pull-request-outline.svg +1 -1
  731. package/dist/checkout/svg/git-pull-request-sharp.svg +1 -1
  732. package/dist/checkout/svg/git-pull-request.svg +1 -1
  733. package/dist/checkout/svg/glasses-outline.svg +1 -1
  734. package/dist/checkout/svg/glasses-sharp.svg +1 -1
  735. package/dist/checkout/svg/glasses.svg +1 -1
  736. package/dist/checkout/svg/globe-outline.svg +1 -1
  737. package/dist/checkout/svg/globe-sharp.svg +1 -1
  738. package/dist/checkout/svg/globe.svg +1 -1
  739. package/dist/checkout/svg/golf-outline.svg +1 -1
  740. package/dist/checkout/svg/golf-sharp.svg +1 -1
  741. package/dist/checkout/svg/golf.svg +1 -1
  742. package/dist/checkout/svg/grid-outline.svg +1 -1
  743. package/dist/checkout/svg/grid-sharp.svg +1 -1
  744. package/dist/checkout/svg/grid.svg +1 -1
  745. package/dist/checkout/svg/hammer-outline.svg +1 -1
  746. package/dist/checkout/svg/hammer-sharp.svg +1 -1
  747. package/dist/checkout/svg/hammer.svg +1 -1
  748. package/dist/checkout/svg/hand-left-outline.svg +1 -1
  749. package/dist/checkout/svg/hand-left-sharp.svg +1 -1
  750. package/dist/checkout/svg/hand-left.svg +1 -1
  751. package/dist/checkout/svg/hand-right-outline.svg +1 -1
  752. package/dist/checkout/svg/hand-right-sharp.svg +1 -1
  753. package/dist/checkout/svg/hand-right.svg +1 -1
  754. package/dist/checkout/svg/happy-outline.svg +1 -1
  755. package/dist/checkout/svg/happy-sharp.svg +1 -1
  756. package/dist/checkout/svg/happy.svg +1 -1
  757. package/dist/checkout/svg/hardware-chip-outline.svg +1 -1
  758. package/dist/checkout/svg/hardware-chip-sharp.svg +1 -1
  759. package/dist/checkout/svg/hardware-chip.svg +1 -1
  760. package/dist/checkout/svg/headset-outline.svg +1 -1
  761. package/dist/checkout/svg/headset-sharp.svg +1 -1
  762. package/dist/checkout/svg/headset.svg +1 -1
  763. package/dist/checkout/svg/heart-circle-outline.svg +1 -1
  764. package/dist/checkout/svg/heart-circle-sharp.svg +1 -1
  765. package/dist/checkout/svg/heart-circle.svg +1 -1
  766. package/dist/checkout/svg/heart-dislike-circle-outline.svg +1 -1
  767. package/dist/checkout/svg/heart-dislike-circle-sharp.svg +1 -1
  768. package/dist/checkout/svg/heart-dislike-circle.svg +1 -1
  769. package/dist/checkout/svg/heart-dislike-outline.svg +1 -1
  770. package/dist/checkout/svg/heart-dislike-sharp.svg +1 -1
  771. package/dist/checkout/svg/heart-dislike.svg +1 -1
  772. package/dist/checkout/svg/heart-half-outline.svg +1 -1
  773. package/dist/checkout/svg/heart-half-sharp.svg +1 -1
  774. package/dist/checkout/svg/heart-half.svg +1 -1
  775. package/dist/checkout/svg/heart-outline.svg +1 -1
  776. package/dist/checkout/svg/heart-sharp.svg +1 -1
  777. package/dist/checkout/svg/heart.svg +1 -1
  778. package/dist/checkout/svg/help-buoy-outline.svg +1 -1
  779. package/dist/checkout/svg/help-buoy-sharp.svg +1 -1
  780. package/dist/checkout/svg/help-buoy.svg +1 -1
  781. package/dist/checkout/svg/help-circle-outline.svg +1 -1
  782. package/dist/checkout/svg/help-circle-sharp.svg +1 -1
  783. package/dist/checkout/svg/help-circle.svg +1 -1
  784. package/dist/checkout/svg/help-outline.svg +1 -1
  785. package/dist/checkout/svg/help-sharp.svg +1 -1
  786. package/dist/checkout/svg/help.svg +1 -1
  787. package/dist/checkout/svg/home-outline.svg +1 -1
  788. package/dist/checkout/svg/home-sharp.svg +1 -1
  789. package/dist/checkout/svg/home.svg +1 -1
  790. package/dist/checkout/svg/hourglass-outline.svg +1 -1
  791. package/dist/checkout/svg/hourglass-sharp.svg +1 -1
  792. package/dist/checkout/svg/hourglass.svg +1 -1
  793. package/dist/checkout/svg/ice-cream-outline.svg +1 -1
  794. package/dist/checkout/svg/ice-cream-sharp.svg +1 -1
  795. package/dist/checkout/svg/ice-cream.svg +1 -1
  796. package/dist/checkout/svg/id-card-outline.svg +1 -1
  797. package/dist/checkout/svg/id-card-sharp.svg +1 -1
  798. package/dist/checkout/svg/id-card.svg +1 -1
  799. package/dist/checkout/svg/image-outline.svg +1 -1
  800. package/dist/checkout/svg/image-sharp.svg +1 -1
  801. package/dist/checkout/svg/image.svg +1 -1
  802. package/dist/checkout/svg/images-outline.svg +1 -1
  803. package/dist/checkout/svg/images-sharp.svg +1 -1
  804. package/dist/checkout/svg/images.svg +1 -1
  805. package/dist/checkout/svg/infinite-outline.svg +1 -1
  806. package/dist/checkout/svg/infinite-sharp.svg +1 -1
  807. package/dist/checkout/svg/infinite.svg +1 -1
  808. package/dist/checkout/svg/information-circle-outline.svg +1 -1
  809. package/dist/checkout/svg/information-circle-sharp.svg +1 -1
  810. package/dist/checkout/svg/information-circle.svg +1 -1
  811. package/dist/checkout/svg/information-outline.svg +1 -1
  812. package/dist/checkout/svg/information-sharp.svg +1 -1
  813. package/dist/checkout/svg/information.svg +1 -1
  814. package/dist/checkout/svg/invert-mode-outline.svg +1 -1
  815. package/dist/checkout/svg/invert-mode-sharp.svg +1 -1
  816. package/dist/checkout/svg/invert-mode.svg +1 -1
  817. package/dist/checkout/svg/journal-outline.svg +1 -1
  818. package/dist/checkout/svg/journal-sharp.svg +1 -1
  819. package/dist/checkout/svg/journal.svg +1 -1
  820. package/dist/checkout/svg/key-outline.svg +1 -1
  821. package/dist/checkout/svg/key-sharp.svg +1 -1
  822. package/dist/checkout/svg/key.svg +1 -1
  823. package/dist/checkout/svg/keypad-outline.svg +1 -1
  824. package/dist/checkout/svg/keypad-sharp.svg +1 -1
  825. package/dist/checkout/svg/keypad.svg +1 -1
  826. package/dist/checkout/svg/language-outline.svg +1 -1
  827. package/dist/checkout/svg/language-sharp.svg +1 -1
  828. package/dist/checkout/svg/language.svg +1 -1
  829. package/dist/checkout/svg/laptop-outline.svg +1 -1
  830. package/dist/checkout/svg/laptop-sharp.svg +1 -1
  831. package/dist/checkout/svg/laptop.svg +1 -1
  832. package/dist/checkout/svg/layers-outline.svg +1 -1
  833. package/dist/checkout/svg/layers-sharp.svg +1 -1
  834. package/dist/checkout/svg/layers.svg +1 -1
  835. package/dist/checkout/svg/leaf-outline.svg +1 -1
  836. package/dist/checkout/svg/leaf-sharp.svg +1 -1
  837. package/dist/checkout/svg/leaf.svg +1 -1
  838. package/dist/checkout/svg/library-outline.svg +1 -1
  839. package/dist/checkout/svg/library-sharp.svg +1 -1
  840. package/dist/checkout/svg/library.svg +1 -1
  841. package/dist/checkout/svg/link-outline.svg +1 -1
  842. package/dist/checkout/svg/link-sharp.svg +1 -1
  843. package/dist/checkout/svg/link.svg +1 -1
  844. package/dist/checkout/svg/list-circle-outline.svg +1 -1
  845. package/dist/checkout/svg/list-circle-sharp.svg +1 -1
  846. package/dist/checkout/svg/list-circle.svg +1 -1
  847. package/dist/checkout/svg/list-outline.svg +1 -1
  848. package/dist/checkout/svg/list-sharp.svg +1 -1
  849. package/dist/checkout/svg/list.svg +1 -1
  850. package/dist/checkout/svg/locate-outline.svg +1 -1
  851. package/dist/checkout/svg/locate-sharp.svg +1 -1
  852. package/dist/checkout/svg/locate.svg +1 -1
  853. package/dist/checkout/svg/location-outline.svg +1 -1
  854. package/dist/checkout/svg/location-sharp.svg +1 -1
  855. package/dist/checkout/svg/location.svg +1 -1
  856. package/dist/checkout/svg/lock-closed-outline.svg +1 -1
  857. package/dist/checkout/svg/lock-closed-sharp.svg +1 -1
  858. package/dist/checkout/svg/lock-closed.svg +1 -1
  859. package/dist/checkout/svg/lock-open-outline.svg +1 -1
  860. package/dist/checkout/svg/lock-open-sharp.svg +1 -1
  861. package/dist/checkout/svg/lock-open.svg +1 -1
  862. package/dist/checkout/svg/log-in-outline.svg +1 -1
  863. package/dist/checkout/svg/log-in-sharp.svg +1 -1
  864. package/dist/checkout/svg/log-in.svg +1 -1
  865. package/dist/checkout/svg/log-out-outline.svg +1 -1
  866. package/dist/checkout/svg/log-out-sharp.svg +1 -1
  867. package/dist/checkout/svg/log-out.svg +1 -1
  868. package/dist/checkout/svg/logo-alipay.svg +1 -1
  869. package/dist/checkout/svg/logo-amazon.svg +1 -1
  870. package/dist/checkout/svg/logo-amplify.svg +1 -1
  871. package/dist/checkout/svg/logo-android.svg +1 -1
  872. package/dist/checkout/svg/logo-angular.svg +1 -1
  873. package/dist/checkout/svg/logo-appflow.svg +1 -1
  874. package/dist/checkout/svg/logo-apple-appstore.svg +1 -1
  875. package/dist/checkout/svg/logo-apple-ar.svg +1 -1
  876. package/dist/checkout/svg/logo-apple.svg +1 -1
  877. package/dist/checkout/svg/logo-behance.svg +1 -1
  878. package/dist/checkout/svg/logo-bitbucket.svg +1 -1
  879. package/dist/checkout/svg/logo-bitcoin.svg +1 -1
  880. package/dist/checkout/svg/logo-buffer.svg +1 -1
  881. package/dist/checkout/svg/logo-capacitor.svg +1 -1
  882. package/dist/checkout/svg/logo-chrome.svg +1 -1
  883. package/dist/checkout/svg/logo-closed-captioning.svg +1 -1
  884. package/dist/checkout/svg/logo-codepen.svg +1 -1
  885. package/dist/checkout/svg/logo-css3.svg +1 -1
  886. package/dist/checkout/svg/logo-designernews.svg +1 -1
  887. package/dist/checkout/svg/logo-deviantart.svg +1 -1
  888. package/dist/checkout/svg/logo-discord.svg +1 -1
  889. package/dist/checkout/svg/logo-docker.svg +1 -1
  890. package/dist/checkout/svg/logo-dribbble.svg +1 -1
  891. package/dist/checkout/svg/logo-dropbox.svg +1 -1
  892. package/dist/checkout/svg/logo-edge.svg +1 -1
  893. package/dist/checkout/svg/logo-electron.svg +1 -1
  894. package/dist/checkout/svg/logo-euro.svg +1 -1
  895. package/dist/checkout/svg/logo-facebook.svg +1 -1
  896. package/dist/checkout/svg/logo-figma.svg +1 -1
  897. package/dist/checkout/svg/logo-firebase.svg +1 -1
  898. package/dist/checkout/svg/logo-firefox.svg +1 -1
  899. package/dist/checkout/svg/logo-flickr.svg +1 -1
  900. package/dist/checkout/svg/logo-foursquare.svg +1 -1
  901. package/dist/checkout/svg/logo-github.svg +1 -1
  902. package/dist/checkout/svg/logo-gitlab.svg +1 -1
  903. package/dist/checkout/svg/logo-google-playstore.svg +1 -1
  904. package/dist/checkout/svg/logo-google.svg +1 -1
  905. package/dist/checkout/svg/logo-hackernews.svg +1 -1
  906. package/dist/checkout/svg/logo-html5.svg +1 -1
  907. package/dist/checkout/svg/logo-instagram.svg +1 -1
  908. package/dist/checkout/svg/logo-ionic.svg +1 -1
  909. package/dist/checkout/svg/logo-ionitron.svg +1 -1
  910. package/dist/checkout/svg/logo-javascript.svg +1 -1
  911. package/dist/checkout/svg/logo-laravel.svg +1 -1
  912. package/dist/checkout/svg/logo-linkedin.svg +1 -1
  913. package/dist/checkout/svg/logo-markdown.svg +1 -1
  914. package/dist/checkout/svg/logo-mastodon.svg +1 -1
  915. package/dist/checkout/svg/logo-medium.svg +1 -1
  916. package/dist/checkout/svg/logo-microsoft.svg +1 -1
  917. package/dist/checkout/svg/logo-no-smoking.svg +1 -1
  918. package/dist/checkout/svg/logo-nodejs.svg +1 -1
  919. package/dist/checkout/svg/logo-npm.svg +1 -1
  920. package/dist/checkout/svg/logo-octocat.svg +1 -1
  921. package/dist/checkout/svg/logo-paypal.svg +1 -1
  922. package/dist/checkout/svg/logo-pinterest.svg +1 -1
  923. package/dist/checkout/svg/logo-playstation.svg +1 -1
  924. package/dist/checkout/svg/logo-pwa.svg +1 -1
  925. package/dist/checkout/svg/logo-python.svg +1 -1
  926. package/dist/checkout/svg/logo-react.svg +1 -1
  927. package/dist/checkout/svg/logo-reddit.svg +1 -1
  928. package/dist/checkout/svg/logo-rss.svg +1 -1
  929. package/dist/checkout/svg/logo-sass.svg +1 -1
  930. package/dist/checkout/svg/logo-skype.svg +1 -1
  931. package/dist/checkout/svg/logo-slack.svg +1 -1
  932. package/dist/checkout/svg/logo-snapchat.svg +1 -1
  933. package/dist/checkout/svg/logo-soundcloud.svg +1 -1
  934. package/dist/checkout/svg/logo-stackoverflow.svg +1 -1
  935. package/dist/checkout/svg/logo-steam.svg +1 -1
  936. package/dist/checkout/svg/logo-stencil.svg +1 -1
  937. package/dist/checkout/svg/logo-tableau.svg +1 -1
  938. package/dist/checkout/svg/logo-tiktok.svg +1 -1
  939. package/dist/checkout/svg/logo-trapeze.svg +1 -1
  940. package/dist/checkout/svg/logo-tumblr.svg +1 -1
  941. package/dist/checkout/svg/logo-tux.svg +1 -1
  942. package/dist/checkout/svg/logo-twitch.svg +1 -1
  943. package/dist/checkout/svg/logo-twitter.svg +1 -1
  944. package/dist/checkout/svg/logo-usd.svg +1 -1
  945. package/dist/checkout/svg/logo-venmo.svg +1 -1
  946. package/dist/checkout/svg/logo-vercel.svg +1 -1
  947. package/dist/checkout/svg/logo-vimeo.svg +1 -1
  948. package/dist/checkout/svg/logo-vk.svg +1 -1
  949. package/dist/checkout/svg/logo-vue.svg +1 -1
  950. package/dist/checkout/svg/logo-web-component.svg +1 -1
  951. package/dist/checkout/svg/logo-wechat.svg +1 -1
  952. package/dist/checkout/svg/logo-whatsapp.svg +1 -1
  953. package/dist/checkout/svg/logo-windows.svg +1 -1
  954. package/dist/checkout/svg/logo-wordpress.svg +1 -1
  955. package/dist/checkout/svg/logo-x.svg +1 -1
  956. package/dist/checkout/svg/logo-xbox.svg +1 -1
  957. package/dist/checkout/svg/logo-xing.svg +1 -1
  958. package/dist/checkout/svg/logo-yahoo.svg +1 -1
  959. package/dist/checkout/svg/logo-yen.svg +1 -1
  960. package/dist/checkout/svg/logo-youtube.svg +1 -1
  961. package/dist/checkout/svg/magnet-outline.svg +1 -1
  962. package/dist/checkout/svg/magnet-sharp.svg +1 -1
  963. package/dist/checkout/svg/magnet.svg +1 -1
  964. package/dist/checkout/svg/mail-open-outline.svg +1 -1
  965. package/dist/checkout/svg/mail-open-sharp.svg +1 -1
  966. package/dist/checkout/svg/mail-open.svg +1 -1
  967. package/dist/checkout/svg/mail-outline.svg +1 -1
  968. package/dist/checkout/svg/mail-sharp.svg +1 -1
  969. package/dist/checkout/svg/mail-unread-outline.svg +1 -1
  970. package/dist/checkout/svg/mail-unread-sharp.svg +1 -1
  971. package/dist/checkout/svg/mail-unread.svg +1 -1
  972. package/dist/checkout/svg/mail.svg +1 -1
  973. package/dist/checkout/svg/male-female-outline.svg +1 -1
  974. package/dist/checkout/svg/male-female-sharp.svg +1 -1
  975. package/dist/checkout/svg/male-female.svg +1 -1
  976. package/dist/checkout/svg/male-outline.svg +1 -1
  977. package/dist/checkout/svg/male-sharp.svg +1 -1
  978. package/dist/checkout/svg/male.svg +1 -1
  979. package/dist/checkout/svg/man-outline.svg +1 -1
  980. package/dist/checkout/svg/man-sharp.svg +1 -1
  981. package/dist/checkout/svg/man.svg +1 -1
  982. package/dist/checkout/svg/map-outline.svg +1 -1
  983. package/dist/checkout/svg/map-sharp.svg +1 -1
  984. package/dist/checkout/svg/map.svg +1 -1
  985. package/dist/checkout/svg/medal-outline.svg +1 -1
  986. package/dist/checkout/svg/medal-sharp.svg +1 -1
  987. package/dist/checkout/svg/medal.svg +1 -1
  988. package/dist/checkout/svg/medical-outline.svg +1 -1
  989. package/dist/checkout/svg/medical-sharp.svg +1 -1
  990. package/dist/checkout/svg/medical.svg +1 -1
  991. package/dist/checkout/svg/medkit-outline.svg +1 -1
  992. package/dist/checkout/svg/medkit-sharp.svg +1 -1
  993. package/dist/checkout/svg/medkit.svg +1 -1
  994. package/dist/checkout/svg/megaphone-outline.svg +1 -1
  995. package/dist/checkout/svg/megaphone-sharp.svg +1 -1
  996. package/dist/checkout/svg/megaphone.svg +1 -1
  997. package/dist/checkout/svg/menu-outline.svg +1 -1
  998. package/dist/checkout/svg/menu-sharp.svg +1 -1
  999. package/dist/checkout/svg/menu.svg +1 -1
  1000. package/dist/checkout/svg/mic-circle-outline.svg +1 -1
  1001. package/dist/checkout/svg/mic-circle-sharp.svg +1 -1
  1002. package/dist/checkout/svg/mic-circle.svg +1 -1
  1003. package/dist/checkout/svg/mic-off-circle-outline.svg +1 -1
  1004. package/dist/checkout/svg/mic-off-circle-sharp.svg +1 -1
  1005. package/dist/checkout/svg/mic-off-circle.svg +1 -1
  1006. package/dist/checkout/svg/mic-off-outline.svg +1 -1
  1007. package/dist/checkout/svg/mic-off-sharp.svg +1 -1
  1008. package/dist/checkout/svg/mic-off.svg +1 -1
  1009. package/dist/checkout/svg/mic-outline.svg +1 -1
  1010. package/dist/checkout/svg/mic-sharp.svg +1 -1
  1011. package/dist/checkout/svg/mic.svg +1 -1
  1012. package/dist/checkout/svg/moon-outline.svg +1 -1
  1013. package/dist/checkout/svg/moon-sharp.svg +1 -1
  1014. package/dist/checkout/svg/moon.svg +1 -1
  1015. package/dist/checkout/svg/move-outline.svg +1 -1
  1016. package/dist/checkout/svg/move-sharp.svg +1 -1
  1017. package/dist/checkout/svg/move.svg +1 -1
  1018. package/dist/checkout/svg/musical-note-outline.svg +1 -1
  1019. package/dist/checkout/svg/musical-note-sharp.svg +1 -1
  1020. package/dist/checkout/svg/musical-note.svg +1 -1
  1021. package/dist/checkout/svg/musical-notes-outline.svg +1 -1
  1022. package/dist/checkout/svg/musical-notes-sharp.svg +1 -1
  1023. package/dist/checkout/svg/musical-notes.svg +1 -1
  1024. package/dist/checkout/svg/navigate-circle-outline.svg +1 -1
  1025. package/dist/checkout/svg/navigate-circle-sharp.svg +1 -1
  1026. package/dist/checkout/svg/navigate-circle.svg +1 -1
  1027. package/dist/checkout/svg/navigate-outline.svg +1 -1
  1028. package/dist/checkout/svg/navigate-sharp.svg +1 -1
  1029. package/dist/checkout/svg/navigate.svg +1 -1
  1030. package/dist/checkout/svg/newspaper-outline.svg +1 -1
  1031. package/dist/checkout/svg/newspaper-sharp.svg +1 -1
  1032. package/dist/checkout/svg/newspaper.svg +1 -1
  1033. package/dist/checkout/svg/notifications-circle-outline.svg +1 -1
  1034. package/dist/checkout/svg/notifications-circle-sharp.svg +1 -1
  1035. package/dist/checkout/svg/notifications-circle.svg +1 -1
  1036. package/dist/checkout/svg/notifications-off-circle-outline.svg +1 -1
  1037. package/dist/checkout/svg/notifications-off-circle-sharp.svg +1 -1
  1038. package/dist/checkout/svg/notifications-off-circle.svg +1 -1
  1039. package/dist/checkout/svg/notifications-off-outline.svg +1 -1
  1040. package/dist/checkout/svg/notifications-off-sharp.svg +1 -1
  1041. package/dist/checkout/svg/notifications-off.svg +1 -1
  1042. package/dist/checkout/svg/notifications-outline.svg +1 -1
  1043. package/dist/checkout/svg/notifications-sharp.svg +1 -1
  1044. package/dist/checkout/svg/notifications.svg +1 -1
  1045. package/dist/checkout/svg/nuclear-outline.svg +1 -1
  1046. package/dist/checkout/svg/nuclear-sharp.svg +1 -1
  1047. package/dist/checkout/svg/nuclear.svg +1 -1
  1048. package/dist/checkout/svg/nutrition-outline.svg +1 -1
  1049. package/dist/checkout/svg/nutrition-sharp.svg +1 -1
  1050. package/dist/checkout/svg/nutrition.svg +1 -1
  1051. package/dist/checkout/svg/open-outline.svg +1 -1
  1052. package/dist/checkout/svg/open-sharp.svg +1 -1
  1053. package/dist/checkout/svg/open.svg +1 -1
  1054. package/dist/checkout/svg/options-outline.svg +1 -1
  1055. package/dist/checkout/svg/options-sharp.svg +1 -1
  1056. package/dist/checkout/svg/options.svg +1 -1
  1057. package/dist/checkout/svg/paper-plane-outline.svg +1 -1
  1058. package/dist/checkout/svg/paper-plane-sharp.svg +1 -1
  1059. package/dist/checkout/svg/paper-plane.svg +1 -1
  1060. package/dist/checkout/svg/partly-sunny-outline.svg +1 -1
  1061. package/dist/checkout/svg/partly-sunny-sharp.svg +1 -1
  1062. package/dist/checkout/svg/partly-sunny.svg +1 -1
  1063. package/dist/checkout/svg/pause-circle-outline.svg +1 -1
  1064. package/dist/checkout/svg/pause-circle-sharp.svg +1 -1
  1065. package/dist/checkout/svg/pause-circle.svg +1 -1
  1066. package/dist/checkout/svg/pause-outline.svg +1 -1
  1067. package/dist/checkout/svg/pause-sharp.svg +1 -1
  1068. package/dist/checkout/svg/pause.svg +1 -1
  1069. package/dist/checkout/svg/paw-outline.svg +1 -1
  1070. package/dist/checkout/svg/paw-sharp.svg +1 -1
  1071. package/dist/checkout/svg/paw.svg +1 -1
  1072. package/dist/checkout/svg/pencil-outline.svg +1 -1
  1073. package/dist/checkout/svg/pencil-sharp.svg +1 -1
  1074. package/dist/checkout/svg/pencil.svg +1 -1
  1075. package/dist/checkout/svg/people-circle-outline.svg +1 -1
  1076. package/dist/checkout/svg/people-circle-sharp.svg +1 -1
  1077. package/dist/checkout/svg/people-circle.svg +1 -1
  1078. package/dist/checkout/svg/people-outline.svg +1 -1
  1079. package/dist/checkout/svg/people-sharp.svg +1 -1
  1080. package/dist/checkout/svg/people.svg +1 -1
  1081. package/dist/checkout/svg/person-add-outline.svg +1 -1
  1082. package/dist/checkout/svg/person-add-sharp.svg +1 -1
  1083. package/dist/checkout/svg/person-add.svg +1 -1
  1084. package/dist/checkout/svg/person-circle-outline.svg +1 -1
  1085. package/dist/checkout/svg/person-circle-sharp.svg +1 -1
  1086. package/dist/checkout/svg/person-circle.svg +1 -1
  1087. package/dist/checkout/svg/person-outline.svg +1 -1
  1088. package/dist/checkout/svg/person-remove-outline.svg +1 -1
  1089. package/dist/checkout/svg/person-remove-sharp.svg +1 -1
  1090. package/dist/checkout/svg/person-remove.svg +1 -1
  1091. package/dist/checkout/svg/person-sharp.svg +1 -1
  1092. package/dist/checkout/svg/person.svg +1 -1
  1093. package/dist/checkout/svg/phone-landscape-outline.svg +1 -1
  1094. package/dist/checkout/svg/phone-landscape-sharp.svg +1 -1
  1095. package/dist/checkout/svg/phone-landscape.svg +1 -1
  1096. package/dist/checkout/svg/phone-portrait-outline.svg +1 -1
  1097. package/dist/checkout/svg/phone-portrait-sharp.svg +1 -1
  1098. package/dist/checkout/svg/phone-portrait.svg +1 -1
  1099. package/dist/checkout/svg/pie-chart-outline.svg +1 -1
  1100. package/dist/checkout/svg/pie-chart-sharp.svg +1 -1
  1101. package/dist/checkout/svg/pie-chart.svg +1 -1
  1102. package/dist/checkout/svg/pin-outline.svg +1 -1
  1103. package/dist/checkout/svg/pin-sharp.svg +1 -1
  1104. package/dist/checkout/svg/pin.svg +1 -1
  1105. package/dist/checkout/svg/pint-outline.svg +1 -1
  1106. package/dist/checkout/svg/pint-sharp.svg +1 -1
  1107. package/dist/checkout/svg/pint.svg +1 -1
  1108. package/dist/checkout/svg/pizza-outline.svg +1 -1
  1109. package/dist/checkout/svg/pizza-sharp.svg +1 -1
  1110. package/dist/checkout/svg/pizza.svg +1 -1
  1111. package/dist/checkout/svg/planet-outline.svg +1 -1
  1112. package/dist/checkout/svg/planet-sharp.svg +1 -1
  1113. package/dist/checkout/svg/planet.svg +1 -1
  1114. package/dist/checkout/svg/play-back-circle-outline.svg +1 -1
  1115. package/dist/checkout/svg/play-back-circle-sharp.svg +1 -1
  1116. package/dist/checkout/svg/play-back-circle.svg +1 -1
  1117. package/dist/checkout/svg/play-back-outline.svg +1 -1
  1118. package/dist/checkout/svg/play-back-sharp.svg +1 -1
  1119. package/dist/checkout/svg/play-back.svg +1 -1
  1120. package/dist/checkout/svg/play-circle-outline.svg +1 -1
  1121. package/dist/checkout/svg/play-circle-sharp.svg +1 -1
  1122. package/dist/checkout/svg/play-circle.svg +1 -1
  1123. package/dist/checkout/svg/play-forward-circle-outline.svg +1 -1
  1124. package/dist/checkout/svg/play-forward-circle-sharp.svg +1 -1
  1125. package/dist/checkout/svg/play-forward-circle.svg +1 -1
  1126. package/dist/checkout/svg/play-forward-outline.svg +1 -1
  1127. package/dist/checkout/svg/play-forward-sharp.svg +1 -1
  1128. package/dist/checkout/svg/play-forward.svg +1 -1
  1129. package/dist/checkout/svg/play-outline.svg +1 -1
  1130. package/dist/checkout/svg/play-sharp.svg +1 -1
  1131. package/dist/checkout/svg/play-skip-back-circle-outline.svg +1 -1
  1132. package/dist/checkout/svg/play-skip-back-circle-sharp.svg +1 -1
  1133. package/dist/checkout/svg/play-skip-back-circle.svg +1 -1
  1134. package/dist/checkout/svg/play-skip-back-outline.svg +1 -1
  1135. package/dist/checkout/svg/play-skip-back-sharp.svg +1 -1
  1136. package/dist/checkout/svg/play-skip-back.svg +1 -1
  1137. package/dist/checkout/svg/play-skip-forward-circle-outline.svg +1 -1
  1138. package/dist/checkout/svg/play-skip-forward-circle-sharp.svg +1 -1
  1139. package/dist/checkout/svg/play-skip-forward-circle.svg +1 -1
  1140. package/dist/checkout/svg/play-skip-forward-outline.svg +1 -1
  1141. package/dist/checkout/svg/play-skip-forward-sharp.svg +1 -1
  1142. package/dist/checkout/svg/play-skip-forward.svg +1 -1
  1143. package/dist/checkout/svg/play.svg +1 -1
  1144. package/dist/checkout/svg/podium-outline.svg +1 -1
  1145. package/dist/checkout/svg/podium-sharp.svg +1 -1
  1146. package/dist/checkout/svg/podium.svg +1 -1
  1147. package/dist/checkout/svg/power-outline.svg +1 -1
  1148. package/dist/checkout/svg/power-sharp.svg +1 -1
  1149. package/dist/checkout/svg/power.svg +1 -1
  1150. package/dist/checkout/svg/pricetag-outline.svg +1 -1
  1151. package/dist/checkout/svg/pricetag-sharp.svg +1 -1
  1152. package/dist/checkout/svg/pricetag.svg +1 -1
  1153. package/dist/checkout/svg/pricetags-outline.svg +1 -1
  1154. package/dist/checkout/svg/pricetags-sharp.svg +1 -1
  1155. package/dist/checkout/svg/pricetags.svg +1 -1
  1156. package/dist/checkout/svg/print-outline.svg +1 -1
  1157. package/dist/checkout/svg/print-sharp.svg +1 -1
  1158. package/dist/checkout/svg/print.svg +1 -1
  1159. package/dist/checkout/svg/prism-outline.svg +1 -1
  1160. package/dist/checkout/svg/prism-sharp.svg +1 -1
  1161. package/dist/checkout/svg/prism.svg +1 -1
  1162. package/dist/checkout/svg/pulse-outline.svg +1 -1
  1163. package/dist/checkout/svg/pulse-sharp.svg +1 -1
  1164. package/dist/checkout/svg/pulse.svg +1 -1
  1165. package/dist/checkout/svg/push-outline.svg +1 -1
  1166. package/dist/checkout/svg/push-sharp.svg +1 -1
  1167. package/dist/checkout/svg/push.svg +1 -1
  1168. package/dist/checkout/svg/qr-code-outline.svg +1 -1
  1169. package/dist/checkout/svg/qr-code-sharp.svg +1 -1
  1170. package/dist/checkout/svg/qr-code.svg +1 -1
  1171. package/dist/checkout/svg/radio-button-off-outline.svg +1 -1
  1172. package/dist/checkout/svg/radio-button-off-sharp.svg +1 -1
  1173. package/dist/checkout/svg/radio-button-off.svg +1 -1
  1174. package/dist/checkout/svg/radio-button-on-outline.svg +1 -1
  1175. package/dist/checkout/svg/radio-button-on-sharp.svg +1 -1
  1176. package/dist/checkout/svg/radio-button-on.svg +1 -1
  1177. package/dist/checkout/svg/radio-outline.svg +1 -1
  1178. package/dist/checkout/svg/radio-sharp.svg +1 -1
  1179. package/dist/checkout/svg/radio.svg +1 -1
  1180. package/dist/checkout/svg/rainy-outline.svg +1 -1
  1181. package/dist/checkout/svg/rainy-sharp.svg +1 -1
  1182. package/dist/checkout/svg/rainy.svg +1 -1
  1183. package/dist/checkout/svg/reader-outline.svg +1 -1
  1184. package/dist/checkout/svg/reader-sharp.svg +1 -1
  1185. package/dist/checkout/svg/reader.svg +1 -1
  1186. package/dist/checkout/svg/receipt-outline.svg +1 -1
  1187. package/dist/checkout/svg/receipt-sharp.svg +1 -1
  1188. package/dist/checkout/svg/receipt.svg +1 -1
  1189. package/dist/checkout/svg/recording-outline.svg +1 -1
  1190. package/dist/checkout/svg/recording-sharp.svg +1 -1
  1191. package/dist/checkout/svg/recording.svg +1 -1
  1192. package/dist/checkout/svg/refresh-circle-outline.svg +1 -1
  1193. package/dist/checkout/svg/refresh-circle-sharp.svg +1 -1
  1194. package/dist/checkout/svg/refresh-circle.svg +1 -1
  1195. package/dist/checkout/svg/refresh-outline.svg +1 -1
  1196. package/dist/checkout/svg/refresh-sharp.svg +1 -1
  1197. package/dist/checkout/svg/refresh.svg +1 -1
  1198. package/dist/checkout/svg/reload-circle-outline.svg +1 -1
  1199. package/dist/checkout/svg/reload-circle-sharp.svg +1 -1
  1200. package/dist/checkout/svg/reload-circle.svg +1 -1
  1201. package/dist/checkout/svg/reload-outline.svg +1 -1
  1202. package/dist/checkout/svg/reload-sharp.svg +1 -1
  1203. package/dist/checkout/svg/reload.svg +1 -1
  1204. package/dist/checkout/svg/remove-circle-outline.svg +1 -1
  1205. package/dist/checkout/svg/remove-circle-sharp.svg +1 -1
  1206. package/dist/checkout/svg/remove-circle.svg +1 -1
  1207. package/dist/checkout/svg/remove-outline.svg +1 -1
  1208. package/dist/checkout/svg/remove-sharp.svg +1 -1
  1209. package/dist/checkout/svg/remove.svg +1 -1
  1210. package/dist/checkout/svg/reorder-four-outline.svg +1 -1
  1211. package/dist/checkout/svg/reorder-four-sharp.svg +1 -1
  1212. package/dist/checkout/svg/reorder-four.svg +1 -1
  1213. package/dist/checkout/svg/reorder-three-outline.svg +1 -1
  1214. package/dist/checkout/svg/reorder-three-sharp.svg +1 -1
  1215. package/dist/checkout/svg/reorder-three.svg +1 -1
  1216. package/dist/checkout/svg/reorder-two-outline.svg +1 -1
  1217. package/dist/checkout/svg/reorder-two-sharp.svg +1 -1
  1218. package/dist/checkout/svg/reorder-two.svg +1 -1
  1219. package/dist/checkout/svg/repeat-outline.svg +1 -1
  1220. package/dist/checkout/svg/repeat-sharp.svg +1 -1
  1221. package/dist/checkout/svg/repeat.svg +1 -1
  1222. package/dist/checkout/svg/resize-outline.svg +1 -1
  1223. package/dist/checkout/svg/resize-sharp.svg +1 -1
  1224. package/dist/checkout/svg/resize.svg +1 -1
  1225. package/dist/checkout/svg/restaurant-outline.svg +1 -1
  1226. package/dist/checkout/svg/restaurant-sharp.svg +1 -1
  1227. package/dist/checkout/svg/restaurant.svg +1 -1
  1228. package/dist/checkout/svg/return-down-back-outline.svg +1 -1
  1229. package/dist/checkout/svg/return-down-back-sharp.svg +1 -1
  1230. package/dist/checkout/svg/return-down-back.svg +1 -1
  1231. package/dist/checkout/svg/return-down-forward-outline.svg +1 -1
  1232. package/dist/checkout/svg/return-down-forward-sharp.svg +1 -1
  1233. package/dist/checkout/svg/return-down-forward.svg +1 -1
  1234. package/dist/checkout/svg/return-up-back-outline.svg +1 -1
  1235. package/dist/checkout/svg/return-up-back-sharp.svg +1 -1
  1236. package/dist/checkout/svg/return-up-back.svg +1 -1
  1237. package/dist/checkout/svg/return-up-forward-outline.svg +1 -1
  1238. package/dist/checkout/svg/return-up-forward-sharp.svg +1 -1
  1239. package/dist/checkout/svg/return-up-forward.svg +1 -1
  1240. package/dist/checkout/svg/ribbon-outline.svg +1 -1
  1241. package/dist/checkout/svg/ribbon-sharp.svg +1 -1
  1242. package/dist/checkout/svg/ribbon.svg +1 -1
  1243. package/dist/checkout/svg/rocket-outline.svg +1 -1
  1244. package/dist/checkout/svg/rocket-sharp.svg +1 -1
  1245. package/dist/checkout/svg/rocket.svg +1 -1
  1246. package/dist/checkout/svg/rose-outline.svg +1 -1
  1247. package/dist/checkout/svg/rose-sharp.svg +1 -1
  1248. package/dist/checkout/svg/rose.svg +1 -1
  1249. package/dist/checkout/svg/sad-outline.svg +1 -1
  1250. package/dist/checkout/svg/sad-sharp.svg +1 -1
  1251. package/dist/checkout/svg/sad.svg +1 -1
  1252. package/dist/checkout/svg/save-outline.svg +1 -1
  1253. package/dist/checkout/svg/save-sharp.svg +1 -1
  1254. package/dist/checkout/svg/save.svg +1 -1
  1255. package/dist/checkout/svg/scale-outline.svg +1 -1
  1256. package/dist/checkout/svg/scale-sharp.svg +1 -1
  1257. package/dist/checkout/svg/scale.svg +1 -1
  1258. package/dist/checkout/svg/scan-circle-outline.svg +1 -1
  1259. package/dist/checkout/svg/scan-circle-sharp.svg +1 -1
  1260. package/dist/checkout/svg/scan-circle.svg +1 -1
  1261. package/dist/checkout/svg/scan-outline.svg +1 -1
  1262. package/dist/checkout/svg/scan-sharp.svg +1 -1
  1263. package/dist/checkout/svg/scan.svg +1 -1
  1264. package/dist/checkout/svg/school-outline.svg +1 -1
  1265. package/dist/checkout/svg/school-sharp.svg +1 -1
  1266. package/dist/checkout/svg/school.svg +1 -1
  1267. package/dist/checkout/svg/search-circle-outline.svg +1 -1
  1268. package/dist/checkout/svg/search-circle-sharp.svg +1 -1
  1269. package/dist/checkout/svg/search-circle.svg +1 -1
  1270. package/dist/checkout/svg/search-outline.svg +1 -1
  1271. package/dist/checkout/svg/search-sharp.svg +1 -1
  1272. package/dist/checkout/svg/search.svg +1 -1
  1273. package/dist/checkout/svg/send-outline.svg +1 -1
  1274. package/dist/checkout/svg/send-sharp.svg +1 -1
  1275. package/dist/checkout/svg/send.svg +1 -1
  1276. package/dist/checkout/svg/server-outline.svg +1 -1
  1277. package/dist/checkout/svg/server-sharp.svg +1 -1
  1278. package/dist/checkout/svg/server.svg +1 -1
  1279. package/dist/checkout/svg/settings-outline.svg +1 -1
  1280. package/dist/checkout/svg/settings-sharp.svg +1 -1
  1281. package/dist/checkout/svg/settings.svg +1 -1
  1282. package/dist/checkout/svg/shapes-outline.svg +1 -1
  1283. package/dist/checkout/svg/shapes-sharp.svg +1 -1
  1284. package/dist/checkout/svg/shapes.svg +1 -1
  1285. package/dist/checkout/svg/share-outline.svg +1 -1
  1286. package/dist/checkout/svg/share-sharp.svg +1 -1
  1287. package/dist/checkout/svg/share-social-outline.svg +1 -1
  1288. package/dist/checkout/svg/share-social-sharp.svg +1 -1
  1289. package/dist/checkout/svg/share-social.svg +1 -1
  1290. package/dist/checkout/svg/share.svg +1 -1
  1291. package/dist/checkout/svg/shield-checkmark-outline.svg +1 -1
  1292. package/dist/checkout/svg/shield-checkmark-sharp.svg +1 -1
  1293. package/dist/checkout/svg/shield-checkmark.svg +1 -1
  1294. package/dist/checkout/svg/shield-half-outline.svg +1 -1
  1295. package/dist/checkout/svg/shield-half-sharp.svg +1 -1
  1296. package/dist/checkout/svg/shield-half.svg +1 -1
  1297. package/dist/checkout/svg/shield-outline.svg +1 -1
  1298. package/dist/checkout/svg/shield-sharp.svg +1 -1
  1299. package/dist/checkout/svg/shield.svg +1 -1
  1300. package/dist/checkout/svg/shirt-outline.svg +1 -1
  1301. package/dist/checkout/svg/shirt-sharp.svg +1 -1
  1302. package/dist/checkout/svg/shirt.svg +1 -1
  1303. package/dist/checkout/svg/shuffle-outline.svg +1 -1
  1304. package/dist/checkout/svg/shuffle-sharp.svg +1 -1
  1305. package/dist/checkout/svg/shuffle.svg +1 -1
  1306. package/dist/checkout/svg/skull-outline.svg +1 -1
  1307. package/dist/checkout/svg/skull-sharp.svg +1 -1
  1308. package/dist/checkout/svg/skull.svg +1 -1
  1309. package/dist/checkout/svg/snow-outline.svg +1 -1
  1310. package/dist/checkout/svg/snow-sharp.svg +1 -1
  1311. package/dist/checkout/svg/snow.svg +1 -1
  1312. package/dist/checkout/svg/sparkles-outline.svg +1 -1
  1313. package/dist/checkout/svg/sparkles-sharp.svg +1 -1
  1314. package/dist/checkout/svg/sparkles.svg +1 -1
  1315. package/dist/checkout/svg/speedometer-outline.svg +1 -1
  1316. package/dist/checkout/svg/speedometer-sharp.svg +1 -1
  1317. package/dist/checkout/svg/speedometer.svg +1 -1
  1318. package/dist/checkout/svg/square-outline.svg +1 -1
  1319. package/dist/checkout/svg/square-sharp.svg +1 -1
  1320. package/dist/checkout/svg/square.svg +1 -1
  1321. package/dist/checkout/svg/star-half-outline.svg +1 -1
  1322. package/dist/checkout/svg/star-half-sharp.svg +1 -1
  1323. package/dist/checkout/svg/star-half.svg +1 -1
  1324. package/dist/checkout/svg/star-outline.svg +1 -1
  1325. package/dist/checkout/svg/star-sharp.svg +1 -1
  1326. package/dist/checkout/svg/star.svg +1 -1
  1327. package/dist/checkout/svg/stats-chart-outline.svg +1 -1
  1328. package/dist/checkout/svg/stats-chart-sharp.svg +1 -1
  1329. package/dist/checkout/svg/stats-chart.svg +1 -1
  1330. package/dist/checkout/svg/stop-circle-outline.svg +1 -1
  1331. package/dist/checkout/svg/stop-circle-sharp.svg +1 -1
  1332. package/dist/checkout/svg/stop-circle.svg +1 -1
  1333. package/dist/checkout/svg/stop-outline.svg +1 -1
  1334. package/dist/checkout/svg/stop-sharp.svg +1 -1
  1335. package/dist/checkout/svg/stop.svg +1 -1
  1336. package/dist/checkout/svg/stopwatch-outline.svg +1 -1
  1337. package/dist/checkout/svg/stopwatch-sharp.svg +1 -1
  1338. package/dist/checkout/svg/stopwatch.svg +1 -1
  1339. package/dist/checkout/svg/storefront-outline.svg +1 -1
  1340. package/dist/checkout/svg/storefront-sharp.svg +1 -1
  1341. package/dist/checkout/svg/storefront.svg +1 -1
  1342. package/dist/checkout/svg/subway-outline.svg +1 -1
  1343. package/dist/checkout/svg/subway-sharp.svg +1 -1
  1344. package/dist/checkout/svg/subway.svg +1 -1
  1345. package/dist/checkout/svg/sunny-outline.svg +1 -1
  1346. package/dist/checkout/svg/sunny-sharp.svg +1 -1
  1347. package/dist/checkout/svg/sunny.svg +1 -1
  1348. package/dist/checkout/svg/swap-horizontal-outline.svg +1 -1
  1349. package/dist/checkout/svg/swap-horizontal-sharp.svg +1 -1
  1350. package/dist/checkout/svg/swap-horizontal.svg +1 -1
  1351. package/dist/checkout/svg/swap-vertical-outline.svg +1 -1
  1352. package/dist/checkout/svg/swap-vertical-sharp.svg +1 -1
  1353. package/dist/checkout/svg/swap-vertical.svg +1 -1
  1354. package/dist/checkout/svg/sync-circle-outline.svg +1 -1
  1355. package/dist/checkout/svg/sync-circle-sharp.svg +1 -1
  1356. package/dist/checkout/svg/sync-circle.svg +1 -1
  1357. package/dist/checkout/svg/sync-outline.svg +1 -1
  1358. package/dist/checkout/svg/sync-sharp.svg +1 -1
  1359. package/dist/checkout/svg/sync.svg +1 -1
  1360. package/dist/checkout/svg/tablet-landscape-outline.svg +1 -1
  1361. package/dist/checkout/svg/tablet-landscape-sharp.svg +1 -1
  1362. package/dist/checkout/svg/tablet-landscape.svg +1 -1
  1363. package/dist/checkout/svg/tablet-portrait-outline.svg +1 -1
  1364. package/dist/checkout/svg/tablet-portrait-sharp.svg +1 -1
  1365. package/dist/checkout/svg/tablet-portrait.svg +1 -1
  1366. package/dist/checkout/svg/telescope-outline.svg +1 -1
  1367. package/dist/checkout/svg/telescope-sharp.svg +1 -1
  1368. package/dist/checkout/svg/telescope.svg +1 -1
  1369. package/dist/checkout/svg/tennisball-outline.svg +1 -1
  1370. package/dist/checkout/svg/tennisball-sharp.svg +1 -1
  1371. package/dist/checkout/svg/tennisball.svg +1 -1
  1372. package/dist/checkout/svg/terminal-outline.svg +1 -1
  1373. package/dist/checkout/svg/terminal-sharp.svg +1 -1
  1374. package/dist/checkout/svg/terminal.svg +1 -1
  1375. package/dist/checkout/svg/text-outline.svg +1 -1
  1376. package/dist/checkout/svg/text-sharp.svg +1 -1
  1377. package/dist/checkout/svg/text.svg +1 -1
  1378. package/dist/checkout/svg/thermometer-outline.svg +1 -1
  1379. package/dist/checkout/svg/thermometer-sharp.svg +1 -1
  1380. package/dist/checkout/svg/thermometer.svg +1 -1
  1381. package/dist/checkout/svg/thumbs-down-outline.svg +1 -1
  1382. package/dist/checkout/svg/thumbs-down-sharp.svg +1 -1
  1383. package/dist/checkout/svg/thumbs-down.svg +1 -1
  1384. package/dist/checkout/svg/thumbs-up-outline.svg +1 -1
  1385. package/dist/checkout/svg/thumbs-up-sharp.svg +1 -1
  1386. package/dist/checkout/svg/thumbs-up.svg +1 -1
  1387. package/dist/checkout/svg/thunderstorm-outline.svg +1 -1
  1388. package/dist/checkout/svg/thunderstorm-sharp.svg +1 -1
  1389. package/dist/checkout/svg/thunderstorm.svg +1 -1
  1390. package/dist/checkout/svg/ticket-outline.svg +1 -1
  1391. package/dist/checkout/svg/ticket-sharp.svg +1 -1
  1392. package/dist/checkout/svg/ticket.svg +1 -1
  1393. package/dist/checkout/svg/time-outline.svg +1 -1
  1394. package/dist/checkout/svg/time-sharp.svg +1 -1
  1395. package/dist/checkout/svg/time.svg +1 -1
  1396. package/dist/checkout/svg/timer-outline.svg +1 -1
  1397. package/dist/checkout/svg/timer-sharp.svg +1 -1
  1398. package/dist/checkout/svg/timer.svg +1 -1
  1399. package/dist/checkout/svg/today-outline.svg +1 -1
  1400. package/dist/checkout/svg/today-sharp.svg +1 -1
  1401. package/dist/checkout/svg/today.svg +1 -1
  1402. package/dist/checkout/svg/toggle-outline.svg +1 -1
  1403. package/dist/checkout/svg/toggle-sharp.svg +1 -1
  1404. package/dist/checkout/svg/toggle.svg +1 -1
  1405. package/dist/checkout/svg/trail-sign-outline.svg +1 -1
  1406. package/dist/checkout/svg/trail-sign-sharp.svg +1 -1
  1407. package/dist/checkout/svg/trail-sign.svg +1 -1
  1408. package/dist/checkout/svg/train-outline.svg +1 -1
  1409. package/dist/checkout/svg/train-sharp.svg +1 -1
  1410. package/dist/checkout/svg/train.svg +1 -1
  1411. package/dist/checkout/svg/transgender-outline.svg +1 -1
  1412. package/dist/checkout/svg/transgender-sharp.svg +1 -1
  1413. package/dist/checkout/svg/transgender.svg +1 -1
  1414. package/dist/checkout/svg/trash-bin-outline.svg +1 -1
  1415. package/dist/checkout/svg/trash-bin-sharp.svg +1 -1
  1416. package/dist/checkout/svg/trash-bin.svg +1 -1
  1417. package/dist/checkout/svg/trash-outline.svg +1 -1
  1418. package/dist/checkout/svg/trash-sharp.svg +1 -1
  1419. package/dist/checkout/svg/trash.svg +1 -1
  1420. package/dist/checkout/svg/trending-down-outline.svg +1 -1
  1421. package/dist/checkout/svg/trending-down-sharp.svg +1 -1
  1422. package/dist/checkout/svg/trending-down.svg +1 -1
  1423. package/dist/checkout/svg/trending-up-outline.svg +1 -1
  1424. package/dist/checkout/svg/trending-up-sharp.svg +1 -1
  1425. package/dist/checkout/svg/trending-up.svg +1 -1
  1426. package/dist/checkout/svg/triangle-outline.svg +1 -1
  1427. package/dist/checkout/svg/triangle-sharp.svg +1 -1
  1428. package/dist/checkout/svg/triangle.svg +1 -1
  1429. package/dist/checkout/svg/trophy-outline.svg +1 -1
  1430. package/dist/checkout/svg/trophy-sharp.svg +1 -1
  1431. package/dist/checkout/svg/trophy.svg +1 -1
  1432. package/dist/checkout/svg/tv-outline.svg +1 -1
  1433. package/dist/checkout/svg/tv-sharp.svg +1 -1
  1434. package/dist/checkout/svg/tv.svg +1 -1
  1435. package/dist/checkout/svg/umbrella-outline.svg +1 -1
  1436. package/dist/checkout/svg/umbrella-sharp.svg +1 -1
  1437. package/dist/checkout/svg/umbrella.svg +1 -1
  1438. package/dist/checkout/svg/unlink-outline.svg +1 -1
  1439. package/dist/checkout/svg/unlink-sharp.svg +1 -1
  1440. package/dist/checkout/svg/unlink.svg +1 -1
  1441. package/dist/checkout/svg/videocam-off-outline.svg +1 -1
  1442. package/dist/checkout/svg/videocam-off-sharp.svg +1 -1
  1443. package/dist/checkout/svg/videocam-off.svg +1 -1
  1444. package/dist/checkout/svg/videocam-outline.svg +1 -1
  1445. package/dist/checkout/svg/videocam-sharp.svg +1 -1
  1446. package/dist/checkout/svg/videocam.svg +1 -1
  1447. package/dist/checkout/svg/volume-high-outline.svg +1 -1
  1448. package/dist/checkout/svg/volume-high-sharp.svg +1 -1
  1449. package/dist/checkout/svg/volume-high.svg +1 -1
  1450. package/dist/checkout/svg/volume-low-outline.svg +1 -1
  1451. package/dist/checkout/svg/volume-low-sharp.svg +1 -1
  1452. package/dist/checkout/svg/volume-low.svg +1 -1
  1453. package/dist/checkout/svg/volume-medium-outline.svg +1 -1
  1454. package/dist/checkout/svg/volume-medium-sharp.svg +1 -1
  1455. package/dist/checkout/svg/volume-medium.svg +1 -1
  1456. package/dist/checkout/svg/volume-mute-outline.svg +1 -1
  1457. package/dist/checkout/svg/volume-mute-sharp.svg +1 -1
  1458. package/dist/checkout/svg/volume-mute.svg +1 -1
  1459. package/dist/checkout/svg/volume-off-outline.svg +1 -1
  1460. package/dist/checkout/svg/volume-off-sharp.svg +1 -1
  1461. package/dist/checkout/svg/volume-off.svg +1 -1
  1462. package/dist/checkout/svg/walk-outline.svg +1 -1
  1463. package/dist/checkout/svg/walk-sharp.svg +1 -1
  1464. package/dist/checkout/svg/walk.svg +1 -1
  1465. package/dist/checkout/svg/wallet-outline.svg +1 -1
  1466. package/dist/checkout/svg/wallet-sharp.svg +1 -1
  1467. package/dist/checkout/svg/wallet.svg +1 -1
  1468. package/dist/checkout/svg/warning-outline.svg +1 -1
  1469. package/dist/checkout/svg/warning-sharp.svg +1 -1
  1470. package/dist/checkout/svg/warning.svg +1 -1
  1471. package/dist/checkout/svg/watch-outline.svg +1 -1
  1472. package/dist/checkout/svg/watch-sharp.svg +1 -1
  1473. package/dist/checkout/svg/watch.svg +1 -1
  1474. package/dist/checkout/svg/water-outline.svg +1 -1
  1475. package/dist/checkout/svg/water-sharp.svg +1 -1
  1476. package/dist/checkout/svg/water.svg +1 -1
  1477. package/dist/checkout/svg/wifi-outline.svg +1 -1
  1478. package/dist/checkout/svg/wifi-sharp.svg +1 -1
  1479. package/dist/checkout/svg/wifi.svg +1 -1
  1480. package/dist/checkout/svg/wine-outline.svg +1 -1
  1481. package/dist/checkout/svg/wine-sharp.svg +1 -1
  1482. package/dist/checkout/svg/wine.svg +1 -1
  1483. package/dist/checkout/svg/woman-outline.svg +1 -1
  1484. package/dist/checkout/svg/woman-sharp.svg +1 -1
  1485. package/dist/checkout/svg/woman.svg +1 -1
  1486. package/dist/cjs/amwal-checkout-button_5.cjs.entry.js +106 -188
  1487. package/dist/cjs/amwal-installments-guide.cjs.entry.js +1 -2
  1488. package/dist/cjs/amwal-pos.cjs.entry.js +4 -3
  1489. package/dist/cjs/amwal-widget-modal.cjs.entry.js +7 -4
  1490. package/dist/cjs/amwal-widget.cjs.entry.js +10 -5
  1491. package/dist/cjs/animation-BhN-MT4J.js +1065 -0
  1492. package/dist/cjs/app-globals-NtXImkuk.js +7 -0
  1493. package/dist/cjs/ar-CbT6TM-Q.js +0 -3
  1494. package/dist/cjs/capacitor-CqhugS19.js +0 -3
  1495. package/dist/cjs/checkout.cjs.js +5 -8
  1496. package/dist/cjs/compare-with-utils-JlLIkecm.js +0 -3
  1497. package/dist/cjs/config-ptk2Lf4l.js +174 -0
  1498. package/dist/cjs/cubic-bezier-Bv3PvaRI.js +0 -3
  1499. package/dist/cjs/data-UgkxeXMB.js +1673 -0
  1500. package/dist/cjs/dir-Br-7_bel.js +0 -3
  1501. package/dist/cjs/focus-visible-Da2o6bTP.js +0 -3
  1502. package/dist/cjs/form-controller-DRf0gBOg.js +66 -0
  1503. package/dist/cjs/framework-delegate-D-6PUvOi.js +144 -0
  1504. package/dist/cjs/gesture-controller-IMq9Cgi2.js +197 -0
  1505. package/dist/cjs/haptic-CC9tl6g8.js +212 -0
  1506. package/dist/cjs/hardware-back-button-C2D2eOk8.js +122 -0
  1507. package/dist/cjs/helpers-B4vhh9gt.js +438 -0
  1508. package/dist/cjs/i18n-uGNv9SLK.js +0 -3
  1509. package/dist/cjs/index-6eOg4xTk.js +51 -0
  1510. package/dist/cjs/index-CH3IFTaK.js +38 -0
  1511. package/dist/cjs/index-CKcQE8Zg.js +467 -0
  1512. package/dist/cjs/index-D3mJ1Cix.js +0 -3
  1513. package/dist/cjs/index-DZA7ogU0.js +244 -0
  1514. package/dist/cjs/index-DncWzXDA.js +3738 -0
  1515. package/dist/cjs/index-XMjUjboS.js +198 -0
  1516. package/dist/cjs/index-bc_r9XRf.js +320 -0
  1517. package/dist/cjs/index-q1ImtF5k.js +140 -0
  1518. package/dist/cjs/index.cjs.js +0 -3
  1519. package/dist/cjs/input-shims-CCRbO2DB.js +619 -0
  1520. package/dist/cjs/input.utils-CyVgmmWQ.js +141 -0
  1521. package/dist/cjs/ion-accordion-group.cjs.entry.js +18 -27
  1522. package/dist/cjs/ion-accordion.cjs.entry.js +29 -126
  1523. package/dist/cjs/ion-action-sheet_3.cjs.entry.js +1016 -0
  1524. package/dist/cjs/ion-app.cjs.entry.js +16 -17
  1525. package/dist/cjs/ion-avatar.cjs.entry.js +3 -4
  1526. package/dist/cjs/ion-back-button.cjs.entry.js +18 -20
  1527. package/dist/cjs/ion-backdrop.cjs.entry.js +15 -13
  1528. package/dist/cjs/ion-badge.cjs.entry.js +7 -7
  1529. package/dist/cjs/ion-breadcrumb.cjs.entry.js +23 -28
  1530. package/dist/cjs/ion-breadcrumbs.cjs.entry.js +19 -20
  1531. package/dist/cjs/ion-buttons_3.cjs.entry.js +886 -0
  1532. package/dist/cjs/ion-card-content.cjs.entry.js +3 -4
  1533. package/dist/cjs/ion-card-header.cjs.entry.js +5 -10
  1534. package/dist/cjs/ion-card-subtitle.cjs.entry.js +7 -7
  1535. package/dist/cjs/ion-card-title.cjs.entry.js +6 -6
  1536. package/dist/cjs/ion-card.cjs.entry.js +12 -20
  1537. package/dist/cjs/ion-checkbox_7.cjs.entry.js +965 -0
  1538. package/dist/cjs/ion-chip.cjs.entry.js +5 -11
  1539. package/dist/cjs/ion-col.cjs.entry.js +28 -5
  1540. package/dist/cjs/ion-content.cjs.entry.js +411 -0
  1541. package/dist/cjs/ion-datetime-button.cjs.entry.js +23 -27
  1542. package/dist/cjs/ion-datetime.cjs.entry.js +287 -354
  1543. package/dist/cjs/ion-fab-button.cjs.entry.js +22 -42
  1544. package/dist/cjs/ion-fab-list.cjs.entry.js +8 -13
  1545. package/dist/cjs/ion-fab.cjs.entry.js +9 -15
  1546. package/dist/cjs/ion-footer.cjs.entry.js +10 -17
  1547. package/dist/cjs/ion-grid.cjs.entry.js +4 -8
  1548. package/dist/cjs/ion-header.cjs.entry.js +340 -0
  1549. package/dist/cjs/ion-icon.cjs.entry.js +214 -274
  1550. package/dist/cjs/ion-img.cjs.entry.js +11 -6
  1551. package/dist/cjs/ion-infinite-scroll-content.cjs.entry.js +11 -10
  1552. package/dist/cjs/ion-infinite-scroll.cjs.entry.js +16 -34
  1553. package/dist/cjs/ion-input.cjs.entry.js +147 -187
  1554. package/dist/cjs/ion-item-divider.cjs.entry.js +7 -14
  1555. package/dist/cjs/ion-item-group.cjs.entry.js +3 -4
  1556. package/dist/cjs/ion-item-option.cjs.entry.js +14 -19
  1557. package/dist/cjs/ion-item-options.cjs.entry.js +6 -11
  1558. package/dist/cjs/ion-item-sliding.cjs.entry.js +12 -14
  1559. package/dist/cjs/ion-loading.cjs.entry.js +40 -58
  1560. package/dist/cjs/ion-menu-button.cjs.entry.js +18 -25
  1561. package/dist/cjs/ion-menu-toggle.cjs.entry.js +13 -18
  1562. package/dist/cjs/ion-menu.cjs.entry.js +90 -137
  1563. package/dist/cjs/ion-modal.cjs.entry.js +1733 -0
  1564. package/dist/cjs/ion-nav-link.cjs.entry.js +6 -7
  1565. package/dist/cjs/ion-nav.cjs.entry.js +24 -22
  1566. package/dist/cjs/ion-note.cjs.entry.js +7 -7
  1567. package/dist/cjs/ion-picker-column.cjs.entry.js +364 -0
  1568. package/dist/cjs/ion-picker.cjs.entry.js +279 -0
  1569. package/dist/cjs/ion-popover.cjs.entry.js +59 -185
  1570. package/dist/cjs/ion-progress-bar.cjs.entry.js +8 -28
  1571. package/dist/cjs/ion-range.cjs.entry.js +160 -207
  1572. package/dist/cjs/ion-refresher-content.cjs.entry.js +15 -12
  1573. package/dist/cjs/ion-refresher.cjs.entry.js +18 -110
  1574. package/dist/cjs/ion-reorder-group.cjs.entry.js +15 -31
  1575. package/dist/cjs/ion-reorder.cjs.entry.js +4 -5
  1576. package/dist/cjs/ion-route-redirect.cjs.entry.js +9 -4
  1577. package/dist/cjs/ion-route.cjs.entry.js +14 -11
  1578. package/dist/cjs/ion-router-link.cjs.entry.js +11 -11
  1579. package/dist/cjs/ion-router-outlet.cjs.entry.js +16 -18
  1580. package/dist/cjs/ion-router.cjs.entry.js +18 -38
  1581. package/dist/cjs/ion-row.cjs.entry.js +3 -4
  1582. package/dist/cjs/ion-searchbar.cjs.entry.js +53 -93
  1583. package/dist/cjs/ion-segment-button.cjs.entry.js +18 -46
  1584. package/dist/cjs/ion-segment.cjs.entry.js +48 -164
  1585. package/dist/cjs/ion-select-option.cjs.entry.js +4 -7
  1586. package/dist/cjs/ion-select.cjs.entry.js +228 -339
  1587. package/dist/cjs/ion-skeleton-text.cjs.entry.js +5 -9
  1588. package/dist/cjs/ion-spinner.cjs.entry.js +8 -9
  1589. package/dist/cjs/ion-split-pane.cjs.entry.js +30 -42
  1590. package/dist/cjs/ion-tab-bar.cjs.entry.js +16 -31
  1591. package/dist/cjs/ion-tab-button.cjs.entry.js +16 -17
  1592. package/dist/cjs/ion-tab.cjs.entry.js +12 -9
  1593. package/dist/cjs/ion-tabs.cjs.entry.js +10 -37
  1594. package/dist/cjs/ion-textarea.cjs.entry.js +112 -161
  1595. package/dist/cjs/ion-thumbnail.cjs.entry.js +3 -4
  1596. package/dist/cjs/ion-title.cjs.entry.js +54 -0
  1597. package/dist/cjs/ion-toast.cjs.entry.js +75 -102
  1598. package/dist/cjs/ion-toggle.cjs.entry.js +89 -158
  1599. package/dist/cjs/ion-toolbar.cjs.entry.js +73 -0
  1600. package/dist/cjs/ionic-global-DRLi5Iq3.js +235 -0
  1601. package/dist/cjs/ios.transition-D4vyO_a_.js +654 -0
  1602. package/dist/cjs/keyboard-DuKzsHsS.js +0 -3
  1603. package/dist/cjs/keyboard-controller-rH21qC_2.js +0 -3
  1604. package/dist/cjs/keyboard-iyHR2ZF4.js +0 -3
  1605. package/dist/cjs/loader.cjs.js +4 -7
  1606. package/dist/cjs/lock-controller-58TZFRHC.js +0 -3
  1607. package/dist/cjs/md.transition-Dkxy3kpE.js +59 -0
  1608. package/dist/cjs/menu-toggle-util-CmPuayU0.js +14 -0
  1609. package/dist/cjs/notch-controller-Dtpow1eD.js +155 -0
  1610. package/dist/cjs/overlays-Bc8tk6t5.js +870 -0
  1611. package/dist/cjs/refresher.utils-CPl6gciv.js +206 -0
  1612. package/dist/cjs/spinner-configs-BN41iw42.js +0 -3
  1613. package/dist/cjs/status-tap-XtIhF72O.js +42 -0
  1614. package/dist/cjs/swipe-back-C9j0kufI.js +81 -0
  1615. package/dist/cjs/theme-DbHdw1Nx.js +0 -3
  1616. package/dist/cjs/watch-options-DOFUPyuf.js +0 -3
  1617. package/dist/collection/collection-manifest.json +3 -9
  1618. package/dist/collection/components/amwal-checkout-button/amwal-checkout-button.css +1 -1
  1619. package/dist/collection/components/amwal-checkout-button/amwal-checkout-button.js +40 -55
  1620. package/dist/collection/components/amwal-checkout-button/amwal-checkout-button.stories.js +0 -1
  1621. package/dist/collection/components/amwal-installments-guide/amwal-installments-guide.js +0 -1
  1622. package/dist/collection/components/amwal-installments-guide/amwal-installments-guide.stories.js +0 -1
  1623. package/dist/collection/components/amwal-installments-timeline/amwal-installments-timeline.js +2 -3
  1624. package/dist/collection/components/amwal-installments-timeline/amwal-installments-timeline.stories.js +0 -1
  1625. package/dist/collection/components/amwal-pos/amwal-pos.js +0 -1
  1626. package/dist/collection/components/amwal-pos/amwal-pos.stories.js +0 -1
  1627. package/dist/collection/components/amwal-widget/amwal-widget-modal.js +0 -1
  1628. package/dist/collection/components/amwal-widget/amwal-widget.js +8 -7
  1629. package/dist/collection/components/amwal-widget/amwal-widget.stories.js +0 -1
  1630. package/dist/collection/lang/i18n.js +0 -1
  1631. package/dist/components/amwal-checkout-button.js +1 -5375
  1632. package/dist/components/amwal-installments-guide.js +1 -83
  1633. package/dist/components/amwal-installments-timeline.js +1 -9
  1634. package/dist/components/amwal-pos.js +1 -3670
  1635. package/dist/components/amwal-widget-modal.js +1 -9
  1636. package/dist/components/amwal-widget.js +1 -422
  1637. package/dist/components/index.js +1 -9
  1638. package/dist/components/ion-accordion-group.js +1 -271
  1639. package/dist/components/ion-accordion.js +1 -459
  1640. package/dist/components/ion-action-sheet.js +1 -9
  1641. package/dist/components/ion-alert.js +1 -9
  1642. package/dist/components/ion-app.js +1 -130
  1643. package/dist/components/ion-avatar.js +1 -44
  1644. package/dist/components/ion-back-button.js +1 -133
  1645. package/dist/components/ion-backdrop.js +1 -9
  1646. package/dist/components/ion-badge.js +1 -50
  1647. package/dist/components/ion-breadcrumb.js +1 -140
  1648. package/dist/components/ion-breadcrumbs.js +1 -167
  1649. package/dist/components/ion-button.js +1 -9
  1650. package/dist/components/ion-buttons.js +1 -9
  1651. package/dist/components/ion-card-content.js +1 -48
  1652. package/dist/components/ion-card-header.js +1 -59
  1653. package/dist/components/ion-card-subtitle.js +1 -51
  1654. package/dist/components/ion-card-title.js +1 -51
  1655. package/dist/components/ion-card.js +1 -110
  1656. package/dist/components/ion-checkbox.js +1 -9
  1657. package/dist/components/ion-chip.js +1 -69
  1658. package/dist/components/ion-col.js +2 -167
  1659. package/dist/components/ion-content.js +1 -9
  1660. package/dist/components/ion-datetime-button.js +1 -386
  1661. package/dist/components/ion-datetime.js +2 -2051
  1662. package/dist/components/ion-fab-button.js +1 -154
  1663. package/dist/components/ion-fab-list.js +1 -69
  1664. package/dist/components/ion-fab.js +1 -104
  1665. package/dist/components/ion-footer.js +2 -163
  1666. package/dist/components/ion-grid.js +1 -49
  1667. package/dist/components/ion-header.js +4 -9
  1668. package/dist/components/ion-icon.js +1 -9
  1669. package/dist/components/ion-img.js +1 -127
  1670. package/dist/components/ion-infinite-scroll-content.js +1 -72
  1671. package/dist/components/ion-infinite-scroll.js +1 -239
  1672. package/dist/components/ion-input.js +1 -620
  1673. package/dist/components/ion-item-divider.js +1 -62
  1674. package/dist/components/ion-item-group.js +1 -49
  1675. package/dist/components/ion-item-option.js +1 -94
  1676. package/dist/components/ion-item-options.js +1 -76
  1677. package/dist/components/ion-item-sliding.js +1 -460
  1678. package/dist/components/ion-item.js +1 -9
  1679. package/dist/components/ion-label.js +1 -9
  1680. package/dist/components/ion-list-header.js +1 -9
  1681. package/dist/components/ion-list.js +1 -9
  1682. package/dist/components/ion-loading.js +3 -354
  1683. package/dist/components/ion-menu-button.js +1 -112
  1684. package/dist/components/ion-menu-toggle.js +1 -67
  1685. package/dist/components/ion-menu.js +1 -744
  1686. package/dist/components/ion-modal.js +7 -9
  1687. package/dist/components/ion-nav-link.js +2 -68
  1688. package/dist/components/ion-nav.js +2 -955
  1689. package/dist/components/ion-note.js +1 -50
  1690. package/dist/components/ion-picker-column-internal.js +1 -0
  1691. package/dist/components/ion-picker-column.js +1 -9
  1692. package/dist/components/ion-picker-internal.js +1 -0
  1693. package/dist/components/ion-picker.js +7 -9
  1694. package/dist/components/ion-popover.js +1 -9
  1695. package/dist/components/ion-progress-bar.js +1 -103
  1696. package/dist/components/ion-radio-group.js +1 -9
  1697. package/dist/components/ion-radio.js +1 -9
  1698. package/dist/components/ion-range.js +2 -848
  1699. package/dist/components/ion-refresher-content.js +1 -91
  1700. package/dist/components/ion-refresher.js +1 -753
  1701. package/dist/components/ion-reorder-group.js +1 -325
  1702. package/dist/components/ion-reorder.js +1 -63
  1703. package/dist/components/ion-ripple-effect.js +1 -9
  1704. package/dist/components/ion-route-redirect.js +1 -48
  1705. package/dist/components/ion-route.js +1 -77
  1706. package/dist/components/ion-router-link.js +1 -64
  1707. package/dist/components/ion-router-outlet.js +1 -229
  1708. package/dist/components/ion-router.js +3 -857
  1709. package/dist/components/ion-row.js +1 -39
  1710. package/dist/components/ion-searchbar.js +1 -532
  1711. package/dist/components/ion-segment-button.js +1 -176
  1712. package/dist/components/ion-segment.js +1 -605
  1713. package/dist/components/ion-select-option.js +1 -49
  1714. package/dist/components/ion-select-popover.js +1 -9
  1715. package/dist/components/ion-select.js +1 -1038
  1716. package/dist/components/ion-skeleton-text.js +1 -67
  1717. package/dist/components/ion-spinner.js +1 -9
  1718. package/dist/components/ion-split-pane.js +1 -193
  1719. package/dist/components/ion-tab-bar.js +1 -118
  1720. package/dist/components/ion-tab-button.js +1 -130
  1721. package/dist/components/ion-tab.js +1 -85
  1722. package/dist/components/ion-tabs.js +1 -207
  1723. package/dist/components/ion-text.js +1 -9
  1724. package/dist/components/ion-textarea.js +1 -559
  1725. package/dist/components/ion-thumbnail.js +1 -39
  1726. package/dist/components/ion-title.js +1 -9
  1727. package/dist/components/ion-toast.js +3 -955
  1728. package/dist/components/ion-toggle.js +1 -363
  1729. package/dist/components/ion-toolbar.js +1 -9
  1730. package/dist/components/p-55BwDerf.js +8 -0
  1731. package/dist/components/p-B-M4K7iJ.js +7 -0
  1732. package/dist/components/p-B-hirT0v.js +1 -38
  1733. package/dist/components/p-B3WORC1a.js +1 -47
  1734. package/dist/components/p-B5XH2zAk.js +1 -0
  1735. package/dist/components/p-B5ZghgSh.js +4 -0
  1736. package/dist/components/p-BEVStXwd.js +7 -0
  1737. package/dist/components/p-BH0TCnxk.js +4 -0
  1738. package/dist/components/p-BIA8A9ZO.js +1 -0
  1739. package/dist/components/p-BOkYKP6F.js +1 -0
  1740. package/dist/components/p-BOm0KT2x.js +1 -0
  1741. package/dist/components/p-Bb_Zji0h.js +4 -0
  1742. package/dist/components/p-BgOwfqIY.js +2 -83
  1743. package/dist/components/p-BmVRXR1y.js +1 -75
  1744. package/dist/components/p-BnQDByf2.js +1 -0
  1745. package/dist/components/p-BoxjYI-Q.js +4 -0
  1746. package/dist/components/p-BriBxgcM.js +1 -0
  1747. package/dist/components/p-BwKjt_Dc.js +4 -0
  1748. package/dist/components/p-Bx78uXfc.js +5 -0
  1749. package/dist/components/p-C-20JWsp.js +4 -0
  1750. package/dist/components/p-C03M5ZSM.js +1 -16
  1751. package/dist/components/p-C53feagD.js +1 -18
  1752. package/dist/components/p-CLrB3zV0.js +4 -0
  1753. package/dist/components/p-CN34uOrj.js +9 -0
  1754. package/dist/components/p-CQmcNwZM.js +4 -0
  1755. package/dist/components/p-CYPPT3AE.js +4 -0
  1756. package/dist/components/p-CYd0Smt1.js +1 -0
  1757. package/dist/components/p-CgPXSjzI.js +4 -0
  1758. package/dist/components/p-Cho32MPa.js +4 -0
  1759. package/dist/components/p-ClE6rMJs.js +4 -0
  1760. package/dist/components/p-Cm9b7fIl.js +1 -0
  1761. package/dist/components/p-CukVBo5-.js +4 -0
  1762. package/dist/components/p-CwRU9ccI.js +1 -0
  1763. package/dist/components/p-D2NxOvQ8.js +2 -14
  1764. package/dist/components/p-D4DqwBlW.js +4 -0
  1765. package/dist/components/p-D7YY0NXg.js +4 -0
  1766. package/dist/components/p-D8OVJo1v.js +7 -0
  1767. package/dist/components/p-DKg_dYcq.js +2 -166
  1768. package/dist/components/p-DLVYPrYs.js +1 -0
  1769. package/dist/components/p-DMmSL7_l.js +1 -0
  1770. package/dist/components/p-DOPF2QRF.js +1 -0
  1771. package/dist/components/p-DTgJTJD6.js +1 -0
  1772. package/dist/components/p-DiVJyqlX.js +1 -43
  1773. package/dist/components/p-Dl_WhQZu.js +4 -0
  1774. package/dist/components/p-DoR35tr_.js +4 -0
  1775. package/dist/components/p-DrS88eFz.js +1 -0
  1776. package/dist/components/p-Dtdm8lKC.js +1 -47
  1777. package/dist/components/p-DuZ7hY1a.js +2 -145
  1778. package/dist/components/p-Dwo-QLgs.js +5 -0
  1779. package/dist/components/p-Dx-C8Ob_.js +7 -0
  1780. package/dist/components/p-DxEgz9x_.js +1 -0
  1781. package/dist/components/p-DxSo4SXG.js +1 -0
  1782. package/dist/components/p-HSPzo8it.js +1 -0
  1783. package/dist/components/p-OrwCUtWu.js +4 -0
  1784. package/dist/components/p-UgkI2Wa4.js +1 -0
  1785. package/dist/components/p-VeNdmYSo.js +1 -0
  1786. package/dist/components/p-YbpebnFS.js +4 -0
  1787. package/dist/components/p-ZjP4CjeZ.js +1 -7
  1788. package/dist/components/p-_VuKPdkD.js +4 -0
  1789. package/dist/components/p-aWL6BxTN.js +4 -0
  1790. package/dist/components/p-hHmYLOfE.js +1 -90
  1791. package/dist/components/p-qoI-S7yk.js +4 -0
  1792. package/dist/components/p-uXV7tzS3.js +1 -0
  1793. package/dist/components/p-wiOwkFtc.js +7 -0
  1794. package/dist/components/p-yu3xCFhr.js +7 -0
  1795. package/dist/components/p-zp5f483d.js +1 -0
  1796. package/dist/esm/amwal-checkout-button_5.entry.js +106 -188
  1797. package/dist/esm/amwal-installments-guide.entry.js +1 -2
  1798. package/dist/esm/amwal-pos.entry.js +4 -3
  1799. package/dist/esm/amwal-widget-modal.entry.js +7 -4
  1800. package/dist/esm/amwal-widget.entry.js +10 -5
  1801. package/dist/esm/animation-DRf3dwMu.js +1063 -0
  1802. package/dist/esm/app-globals-BHnkZZiH.js +5 -0
  1803. package/dist/esm/ar-B3WORC1a.js +0 -3
  1804. package/dist/esm/capacitor-CG3xQUND.js +0 -3
  1805. package/dist/esm/checkout.js +6 -9
  1806. package/dist/esm/compare-with-utils-sObYyvOy.js +0 -3
  1807. package/dist/esm/config-yu3xCFhr.js +171 -0
  1808. package/dist/esm/cubic-bezier-hHmYLOfE.js +0 -3
  1809. package/dist/esm/data-Cl-_yBA0.js +1628 -0
  1810. package/dist/esm/dir-C53feagD.js +0 -3
  1811. package/dist/esm/focus-visible-BmVRXR1y.js +0 -3
  1812. package/dist/esm/form-controller-xetTxjL6.js +64 -0
  1813. package/dist/esm/framework-delegate-D_uGiYYw.js +140 -0
  1814. package/dist/esm/gesture-controller-CukVBo5-.js +195 -0
  1815. package/dist/esm/haptic-D5jGzBs8.js +206 -0
  1816. package/dist/esm/hardware-back-button-CzxcJiYO.js +116 -0
  1817. package/dist/esm/helpers-C6kqtbmV.js +415 -0
  1818. package/dist/esm/i18n-C_AfxZ5D.js +0 -3
  1819. package/dist/esm/index-93OyAGoo.js +3721 -0
  1820. package/dist/esm/index-BMJhFU53.js +128 -0
  1821. package/dist/esm/index-C75BfBAE.js +27 -0
  1822. package/dist/esm/index-CNcx43L8.js +234 -0
  1823. package/dist/esm/index-CcopIPA0.js +464 -0
  1824. package/dist/esm/index-D8d_89Nl.js +34 -0
  1825. package/dist/esm/index-DUF6JAQL.js +318 -0
  1826. package/dist/esm/index-DuUXGZp2.js +196 -0
  1827. package/dist/esm/index-ZjP4CjeZ.js +0 -3
  1828. package/dist/esm/index.js +0 -3
  1829. package/dist/esm/input-shims-DSFPFhb7.js +617 -0
  1830. package/dist/esm/input.utils-BuIvhxo3.js +138 -0
  1831. package/dist/esm/ion-accordion-group.entry.js +18 -27
  1832. package/dist/esm/ion-accordion.entry.js +28 -125
  1833. package/dist/esm/ion-action-sheet_3.entry.js +1012 -0
  1834. package/dist/esm/ion-app.entry.js +11 -12
  1835. package/dist/esm/ion-avatar.entry.js +3 -4
  1836. package/dist/esm/ion-back-button.entry.js +14 -16
  1837. package/dist/esm/ion-backdrop.entry.js +15 -13
  1838. package/dist/esm/ion-badge.entry.js +7 -7
  1839. package/dist/esm/ion-breadcrumb.entry.js +23 -28
  1840. package/dist/esm/ion-breadcrumbs.entry.js +19 -20
  1841. package/dist/esm/ion-buttons_3.entry.js +882 -0
  1842. package/dist/esm/ion-card-content.entry.js +3 -4
  1843. package/dist/esm/ion-card-header.entry.js +5 -10
  1844. package/dist/esm/ion-card-subtitle.entry.js +7 -7
  1845. package/dist/esm/ion-card-title.entry.js +6 -6
  1846. package/dist/esm/ion-card.entry.js +12 -20
  1847. package/dist/esm/ion-checkbox_7.entry.js +957 -0
  1848. package/dist/esm/ion-chip.entry.js +5 -11
  1849. package/dist/esm/ion-col.entry.js +28 -5
  1850. package/dist/esm/ion-content.entry.js +409 -0
  1851. package/dist/esm/ion-datetime-button.entry.js +23 -27
  1852. package/dist/esm/ion-datetime.entry.js +257 -324
  1853. package/dist/esm/ion-fab-button.entry.js +22 -42
  1854. package/dist/esm/ion-fab-list.entry.js +8 -13
  1855. package/dist/esm/ion-fab.entry.js +9 -15
  1856. package/dist/esm/ion-footer.entry.js +10 -17
  1857. package/dist/esm/ion-grid.entry.js +4 -8
  1858. package/dist/esm/ion-header.entry.js +338 -0
  1859. package/dist/esm/ion-icon.entry.js +214 -274
  1860. package/dist/esm/ion-img.entry.js +11 -6
  1861. package/dist/esm/ion-infinite-scroll-content.entry.js +9 -8
  1862. package/dist/esm/ion-infinite-scroll.entry.js +16 -34
  1863. package/dist/esm/ion-input.entry.js +147 -187
  1864. package/dist/esm/ion-item-divider.entry.js +7 -14
  1865. package/dist/esm/ion-item-group.entry.js +3 -4
  1866. package/dist/esm/ion-item-option.entry.js +14 -19
  1867. package/dist/esm/ion-item-options.entry.js +6 -11
  1868. package/dist/esm/ion-item-sliding.entry.js +12 -14
  1869. package/dist/esm/ion-loading.entry.js +38 -56
  1870. package/dist/esm/ion-menu-button.entry.js +17 -24
  1871. package/dist/esm/ion-menu-toggle.entry.js +13 -18
  1872. package/dist/esm/ion-menu.entry.js +88 -135
  1873. package/dist/esm/ion-modal.entry.js +1731 -0
  1874. package/dist/esm/ion-nav-link.entry.js +6 -7
  1875. package/dist/esm/ion-nav.entry.js +21 -19
  1876. package/dist/esm/ion-note.entry.js +7 -7
  1877. package/dist/esm/ion-picker-column.entry.js +362 -0
  1878. package/dist/esm/ion-picker.entry.js +277 -0
  1879. package/dist/esm/ion-popover.entry.js +57 -183
  1880. package/dist/esm/ion-progress-bar.entry.js +7 -27
  1881. package/dist/esm/ion-range.entry.js +159 -206
  1882. package/dist/esm/ion-refresher-content.entry.js +12 -9
  1883. package/dist/esm/ion-refresher.entry.js +18 -110
  1884. package/dist/esm/ion-reorder-group.entry.js +15 -31
  1885. package/dist/esm/ion-reorder.entry.js +4 -5
  1886. package/dist/esm/ion-route-redirect.entry.js +9 -4
  1887. package/dist/esm/ion-route.entry.js +14 -11
  1888. package/dist/esm/ion-router-link.entry.js +11 -11
  1889. package/dist/esm/ion-router-outlet.entry.js +14 -16
  1890. package/dist/esm/ion-router.entry.js +10 -30
  1891. package/dist/esm/ion-row.entry.js +3 -4
  1892. package/dist/esm/ion-searchbar.entry.js +52 -92
  1893. package/dist/esm/ion-segment-button.entry.js +18 -46
  1894. package/dist/esm/ion-segment.entry.js +48 -164
  1895. package/dist/esm/ion-select-option.entry.js +4 -7
  1896. package/dist/esm/ion-select.entry.js +227 -338
  1897. package/dist/esm/ion-skeleton-text.entry.js +4 -8
  1898. package/dist/esm/ion-spinner.entry.js +6 -7
  1899. package/dist/esm/ion-split-pane.entry.js +30 -42
  1900. package/dist/esm/ion-tab-bar.entry.js +16 -31
  1901. package/dist/esm/ion-tab-button.entry.js +15 -16
  1902. package/dist/esm/ion-tab.entry.js +12 -9
  1903. package/dist/esm/ion-tabs.entry.js +10 -37
  1904. package/dist/esm/ion-textarea.entry.js +113 -162
  1905. package/dist/esm/ion-thumbnail.entry.js +3 -4
  1906. package/dist/esm/ion-title.entry.js +52 -0
  1907. package/dist/esm/ion-toast.entry.js +60 -87
  1908. package/dist/esm/ion-toggle.entry.js +89 -158
  1909. package/dist/esm/ion-toolbar.entry.js +71 -0
  1910. package/dist/esm/ionic-global-DXXzPLPc.js +230 -0
  1911. package/dist/esm/ios.transition-DMsViooj.js +651 -0
  1912. package/dist/esm/keyboard-DcbqYXj5.js +0 -3
  1913. package/dist/esm/keyboard-DgiyREKb.js +0 -3
  1914. package/dist/esm/keyboard-controller-CqGCg8tB.js +0 -3
  1915. package/dist/esm/loader.js +5 -8
  1916. package/dist/esm/lock-controller-B-hirT0v.js +0 -3
  1917. package/dist/esm/md.transition-BQT2r4ED.js +57 -0
  1918. package/dist/esm/menu-toggle-util-wdO31cdC.js +12 -0
  1919. package/dist/esm/notch-controller-CQeDnZLe.js +153 -0
  1920. package/dist/esm/overlays-SBLrmFy6.js +851 -0
  1921. package/dist/esm/refresher.utils-D4tPnZsM.js +196 -0
  1922. package/dist/esm/spinner-configs-D4RIp70E.js +0 -3
  1923. package/dist/esm/status-tap-CjxQA4Bj.js +40 -0
  1924. package/dist/esm/swipe-back-DE05lWQD.js +79 -0
  1925. package/dist/esm/theme-DiVJyqlX.js +0 -3
  1926. package/dist/esm/watch-options-Dtdm8lKC.js +0 -3
  1927. package/dist/types/components/amwal-checkout-button/amwal-checkout-button.d.ts +2 -3
  1928. package/dist/types/stencil-public-runtime.d.ts +14 -3
  1929. package/package.json +8 -5
  1930. package/dist/checkout/checkout.esm.js.map +0 -1
  1931. package/dist/checkout/index.esm.js.map +0 -1
  1932. package/dist/checkout/loader.esm.js.map +0 -1
  1933. package/dist/checkout/p-00a301b3.entry.js +0 -2
  1934. package/dist/checkout/p-00a301b3.entry.js.map +0 -1
  1935. package/dist/checkout/p-07b5d96f.entry.js +0 -2
  1936. package/dist/checkout/p-07b5d96f.entry.js.map +0 -1
  1937. package/dist/checkout/p-09688586.entry.js +0 -2
  1938. package/dist/checkout/p-09688586.entry.js.map +0 -1
  1939. package/dist/checkout/p-18addee5.entry.js +0 -2
  1940. package/dist/checkout/p-18addee5.entry.js.map +0 -1
  1941. package/dist/checkout/p-18ddefd1.entry.js +0 -5
  1942. package/dist/checkout/p-18ddefd1.entry.js.map +0 -1
  1943. package/dist/checkout/p-19f6286e.entry.js +0 -2
  1944. package/dist/checkout/p-19f6286e.entry.js.map +0 -1
  1945. package/dist/checkout/p-1b654d66.entry.js +0 -2
  1946. package/dist/checkout/p-1b654d66.entry.js.map +0 -1
  1947. package/dist/checkout/p-215f237f.entry.js +0 -2
  1948. package/dist/checkout/p-215f237f.entry.js.map +0 -1
  1949. package/dist/checkout/p-243533d4.entry.js +0 -2
  1950. package/dist/checkout/p-243533d4.entry.js.map +0 -1
  1951. package/dist/checkout/p-2641406e.entry.js +0 -5
  1952. package/dist/checkout/p-2641406e.entry.js.map +0 -1
  1953. package/dist/checkout/p-2683c242.entry.js +0 -2
  1954. package/dist/checkout/p-2683c242.entry.js.map +0 -1
  1955. package/dist/checkout/p-270607e1.entry.js +0 -2
  1956. package/dist/checkout/p-270607e1.entry.js.map +0 -1
  1957. package/dist/checkout/p-28d82baa.entry.js +0 -2
  1958. package/dist/checkout/p-28d82baa.entry.js.map +0 -1
  1959. package/dist/checkout/p-2aa4f4ab.entry.js +0 -2
  1960. package/dist/checkout/p-2aa4f4ab.entry.js.map +0 -1
  1961. package/dist/checkout/p-2ee1a2b5.entry.js +0 -2
  1962. package/dist/checkout/p-2ee1a2b5.entry.js.map +0 -1
  1963. package/dist/checkout/p-358214aa.entry.js +0 -2
  1964. package/dist/checkout/p-358214aa.entry.js.map +0 -1
  1965. package/dist/checkout/p-36e0fbcc.entry.js +0 -20
  1966. package/dist/checkout/p-36e0fbcc.entry.js.map +0 -1
  1967. package/dist/checkout/p-37e54688.entry.js +0 -2
  1968. package/dist/checkout/p-37e54688.entry.js.map +0 -1
  1969. package/dist/checkout/p-3ef78696.entry.js +0 -2
  1970. package/dist/checkout/p-3ef78696.entry.js.map +0 -1
  1971. package/dist/checkout/p-454447c5.entry.js +0 -2
  1972. package/dist/checkout/p-454447c5.entry.js.map +0 -1
  1973. package/dist/checkout/p-4857bfa5.entry.js +0 -2
  1974. package/dist/checkout/p-4857bfa5.entry.js.map +0 -1
  1975. package/dist/checkout/p-4d89a3fa.entry.js +0 -2
  1976. package/dist/checkout/p-4d89a3fa.entry.js.map +0 -1
  1977. package/dist/checkout/p-52764c17.entry.js +0 -2
  1978. package/dist/checkout/p-52764c17.entry.js.map +0 -1
  1979. package/dist/checkout/p-57f622db.entry.js +0 -2
  1980. package/dist/checkout/p-57f622db.entry.js.map +0 -1
  1981. package/dist/checkout/p-59888ca4.entry.js +0 -2
  1982. package/dist/checkout/p-59888ca4.entry.js.map +0 -1
  1983. package/dist/checkout/p-5ecfbad6.entry.js +0 -2
  1984. package/dist/checkout/p-5ecfbad6.entry.js.map +0 -1
  1985. package/dist/checkout/p-62ca8564.entry.js +0 -2
  1986. package/dist/checkout/p-62ca8564.entry.js.map +0 -1
  1987. package/dist/checkout/p-6302dd24.entry.js +0 -2
  1988. package/dist/checkout/p-6302dd24.entry.js.map +0 -1
  1989. package/dist/checkout/p-64ac130b.entry.js +0 -2
  1990. package/dist/checkout/p-64ac130b.entry.js.map +0 -1
  1991. package/dist/checkout/p-6714fa18.entry.js +0 -2
  1992. package/dist/checkout/p-6714fa18.entry.js.map +0 -1
  1993. package/dist/checkout/p-681ae472.entry.js +0 -2
  1994. package/dist/checkout/p-681ae472.entry.js.map +0 -1
  1995. package/dist/checkout/p-69f632b2.entry.js +0 -5
  1996. package/dist/checkout/p-69f632b2.entry.js.map +0 -1
  1997. package/dist/checkout/p-6b72bcfa.entry.js +0 -2
  1998. package/dist/checkout/p-6b72bcfa.entry.js.map +0 -1
  1999. package/dist/checkout/p-74c91a78.entry.js +0 -2
  2000. package/dist/checkout/p-74c91a78.entry.js.map +0 -1
  2001. package/dist/checkout/p-7ba2116f.entry.js +0 -2
  2002. package/dist/checkout/p-7ba2116f.entry.js.map +0 -1
  2003. package/dist/checkout/p-7d45a649.entry.js +0 -5
  2004. package/dist/checkout/p-7d45a649.entry.js.map +0 -1
  2005. package/dist/checkout/p-7df3464f.entry.js +0 -2
  2006. package/dist/checkout/p-7df3464f.entry.js.map +0 -1
  2007. package/dist/checkout/p-7f336a66.entry.js +0 -2
  2008. package/dist/checkout/p-7f336a66.entry.js.map +0 -1
  2009. package/dist/checkout/p-7f3cb127.entry.js +0 -2
  2010. package/dist/checkout/p-7f3cb127.entry.js.map +0 -1
  2011. package/dist/checkout/p-82e0c3f5.entry.js +0 -5
  2012. package/dist/checkout/p-82e0c3f5.entry.js.map +0 -1
  2013. package/dist/checkout/p-83723f22.entry.js +0 -2
  2014. package/dist/checkout/p-83723f22.entry.js.map +0 -1
  2015. package/dist/checkout/p-83cc118e.entry.js +0 -2
  2016. package/dist/checkout/p-83cc118e.entry.js.map +0 -1
  2017. package/dist/checkout/p-84d696fb.entry.js +0 -2
  2018. package/dist/checkout/p-84d696fb.entry.js.map +0 -1
  2019. package/dist/checkout/p-85548f6c.entry.js +0 -2
  2020. package/dist/checkout/p-85548f6c.entry.js.map +0 -1
  2021. package/dist/checkout/p-85ee65c9.entry.js +0 -2
  2022. package/dist/checkout/p-85ee65c9.entry.js.map +0 -1
  2023. package/dist/checkout/p-8b182c6a.entry.js +0 -8
  2024. package/dist/checkout/p-8b182c6a.entry.js.map +0 -1
  2025. package/dist/checkout/p-8d31e4f7.entry.js +0 -2
  2026. package/dist/checkout/p-8d31e4f7.entry.js.map +0 -1
  2027. package/dist/checkout/p-8e3dc24d.entry.js +0 -2
  2028. package/dist/checkout/p-8e3dc24d.entry.js.map +0 -1
  2029. package/dist/checkout/p-8e96c15d.entry.js +0 -2
  2030. package/dist/checkout/p-8e96c15d.entry.js.map +0 -1
  2031. package/dist/checkout/p-8fbb12d6.entry.js +0 -2
  2032. package/dist/checkout/p-8fbb12d6.entry.js.map +0 -1
  2033. package/dist/checkout/p-924c47c2.entry.js +0 -20
  2034. package/dist/checkout/p-924c47c2.entry.js.map +0 -1
  2035. package/dist/checkout/p-931cb238.entry.js +0 -2
  2036. package/dist/checkout/p-931cb238.entry.js.map +0 -1
  2037. package/dist/checkout/p-93bc2286.entry.js +0 -2
  2038. package/dist/checkout/p-93bc2286.entry.js.map +0 -1
  2039. package/dist/checkout/p-B-KuLMsZ.js +0 -8
  2040. package/dist/checkout/p-B-KuLMsZ.js.map +0 -1
  2041. package/dist/checkout/p-B-hirT0v.js.map +0 -1
  2042. package/dist/checkout/p-B3WORC1a.js.map +0 -1
  2043. package/dist/checkout/p-BGDWAHw3.js +0 -5
  2044. package/dist/checkout/p-BGDWAHw3.js.map +0 -1
  2045. package/dist/checkout/p-BR7SJd-v.js.map +0 -1
  2046. package/dist/checkout/p-BTEOs1at.js +0 -5
  2047. package/dist/checkout/p-BTEOs1at.js.map +0 -1
  2048. package/dist/checkout/p-BWWP5b2n.js +0 -20
  2049. package/dist/checkout/p-BWWP5b2n.js.map +0 -1
  2050. package/dist/checkout/p-BgOwfqIY.js.map +0 -1
  2051. package/dist/checkout/p-BmVRXR1y.js.map +0 -1
  2052. package/dist/checkout/p-BmlsNFZH.js +0 -2
  2053. package/dist/checkout/p-BmlsNFZH.js.map +0 -1
  2054. package/dist/checkout/p-Bp4HXTAC.js +0 -6
  2055. package/dist/checkout/p-Bp4HXTAC.js.map +0 -1
  2056. package/dist/checkout/p-BthJ6qTQ.js +0 -5
  2057. package/dist/checkout/p-BthJ6qTQ.js.map +0 -1
  2058. package/dist/checkout/p-BxybgBKJ.js +0 -9
  2059. package/dist/checkout/p-BxybgBKJ.js.map +0 -1
  2060. package/dist/checkout/p-C03M5ZSM.js.map +0 -1
  2061. package/dist/checkout/p-C0PjLcMv.js +0 -8
  2062. package/dist/checkout/p-C0PjLcMv.js.map +0 -1
  2063. package/dist/checkout/p-C1xutNb4.js +0 -5
  2064. package/dist/checkout/p-C1xutNb4.js.map +0 -1
  2065. package/dist/checkout/p-C53feagD.js.map +0 -1
  2066. package/dist/checkout/p-C6ZGuX6t.js +0 -11
  2067. package/dist/checkout/p-C6ZGuX6t.js.map +0 -1
  2068. package/dist/checkout/p-CG5IBVB8.js +0 -5
  2069. package/dist/checkout/p-CG5IBVB8.js.map +0 -1
  2070. package/dist/checkout/p-CH3Eg9_f.js +0 -14
  2071. package/dist/checkout/p-CH3Eg9_f.js.map +0 -1
  2072. package/dist/checkout/p-CR1XUyil.js +0 -8
  2073. package/dist/checkout/p-CR1XUyil.js.map +0 -1
  2074. package/dist/checkout/p-CUNZzVQR.js +0 -5
  2075. package/dist/checkout/p-CUNZzVQR.js.map +0 -1
  2076. package/dist/checkout/p-CZs2_vz-.js +0 -23
  2077. package/dist/checkout/p-CZs2_vz-.js.map +0 -1
  2078. package/dist/checkout/p-CganX2z7.js +0 -5
  2079. package/dist/checkout/p-CganX2z7.js.map +0 -1
  2080. package/dist/checkout/p-CiN1CmnZ.js +0 -5
  2081. package/dist/checkout/p-CiN1CmnZ.js.map +0 -1
  2082. package/dist/checkout/p-D2NxOvQ8.js.map +0 -1
  2083. package/dist/checkout/p-D4RIp70E.js.map +0 -1
  2084. package/dist/checkout/p-DDV5ZZmu.js +0 -8
  2085. package/dist/checkout/p-DDV5ZZmu.js.map +0 -1
  2086. package/dist/checkout/p-DGWbKjms.js +0 -5
  2087. package/dist/checkout/p-DGWbKjms.js.map +0 -1
  2088. package/dist/checkout/p-DJztqcrH.js +0 -5
  2089. package/dist/checkout/p-DJztqcrH.js.map +0 -1
  2090. package/dist/checkout/p-DKg_dYcq.js.map +0 -1
  2091. package/dist/checkout/p-DQMrQygy.js +0 -17
  2092. package/dist/checkout/p-DQMrQygy.js.map +0 -1
  2093. package/dist/checkout/p-DiVJyqlX.js.map +0 -1
  2094. package/dist/checkout/p-DokgqSDS.js +0 -8
  2095. package/dist/checkout/p-DokgqSDS.js.map +0 -1
  2096. package/dist/checkout/p-DpIGiwma.js +0 -5
  2097. package/dist/checkout/p-DpIGiwma.js.map +0 -1
  2098. package/dist/checkout/p-Dtdm8lKC.js.map +0 -1
  2099. package/dist/checkout/p-LC8Dag8J.js +0 -5
  2100. package/dist/checkout/p-LC8Dag8J.js.map +0 -1
  2101. package/dist/checkout/p-PlOw-cTg.js +0 -2
  2102. package/dist/checkout/p-PlOw-cTg.js.map +0 -1
  2103. package/dist/checkout/p-ZjP4CjeZ.js.map +0 -1
  2104. package/dist/checkout/p-a3af7718.entry.js +0 -2
  2105. package/dist/checkout/p-a3af7718.entry.js.map +0 -1
  2106. package/dist/checkout/p-a4e73261.entry.js +0 -2
  2107. package/dist/checkout/p-a4e73261.entry.js.map +0 -1
  2108. package/dist/checkout/p-a5f0602a.entry.js +0 -8
  2109. package/dist/checkout/p-a5f0602a.entry.js.map +0 -1
  2110. package/dist/checkout/p-ad8b3747.entry.js +0 -2
  2111. package/dist/checkout/p-ad8b3747.entry.js.map +0 -1
  2112. package/dist/checkout/p-ae1491f9.entry.js +0 -14
  2113. package/dist/checkout/p-ae1491f9.entry.js.map +0 -1
  2114. package/dist/checkout/p-b015f67f.entry.js +0 -2
  2115. package/dist/checkout/p-b015f67f.entry.js.map +0 -1
  2116. package/dist/checkout/p-b04f980c.entry.js +0 -2
  2117. package/dist/checkout/p-b04f980c.entry.js.map +0 -1
  2118. package/dist/checkout/p-b0b107e3.entry.js +0 -2
  2119. package/dist/checkout/p-b0b107e3.entry.js.map +0 -1
  2120. package/dist/checkout/p-b1db1d70.entry.js +0 -2
  2121. package/dist/checkout/p-b1db1d70.entry.js.map +0 -1
  2122. package/dist/checkout/p-b49b96cf.entry.js +0 -2
  2123. package/dist/checkout/p-b49b96cf.entry.js.map +0 -1
  2124. package/dist/checkout/p-b828e054.entry.js +0 -2
  2125. package/dist/checkout/p-b828e054.entry.js.map +0 -1
  2126. package/dist/checkout/p-b93a1bd6.entry.js +0 -2
  2127. package/dist/checkout/p-b93a1bd6.entry.js.map +0 -1
  2128. package/dist/checkout/p-bc55f859.entry.js +0 -2
  2129. package/dist/checkout/p-bc55f859.entry.js.map +0 -1
  2130. package/dist/checkout/p-befcbd0d.entry.js +0 -2
  2131. package/dist/checkout/p-befcbd0d.entry.js.map +0 -1
  2132. package/dist/checkout/p-c48a9448.entry.js +0 -2
  2133. package/dist/checkout/p-c48a9448.entry.js.map +0 -1
  2134. package/dist/checkout/p-c615397e.entry.js +0 -17
  2135. package/dist/checkout/p-c615397e.entry.js.map +0 -1
  2136. package/dist/checkout/p-cab41a25.entry.js +0 -62
  2137. package/dist/checkout/p-cab41a25.entry.js.map +0 -1
  2138. package/dist/checkout/p-cbf0100c.entry.js +0 -2
  2139. package/dist/checkout/p-cbf0100c.entry.js.map +0 -1
  2140. package/dist/checkout/p-cc591365.entry.js +0 -2
  2141. package/dist/checkout/p-cc591365.entry.js.map +0 -1
  2142. package/dist/checkout/p-cd8e7091.entry.js +0 -2
  2143. package/dist/checkout/p-cd8e7091.entry.js.map +0 -1
  2144. package/dist/checkout/p-d0d33188.entry.js +0 -2
  2145. package/dist/checkout/p-d0d33188.entry.js.map +0 -1
  2146. package/dist/checkout/p-d18cc858.entry.js +0 -2
  2147. package/dist/checkout/p-d18cc858.entry.js.map +0 -1
  2148. package/dist/checkout/p-d595c210.entry.js +0 -2
  2149. package/dist/checkout/p-d595c210.entry.js.map +0 -1
  2150. package/dist/checkout/p-d70b96db.entry.js +0 -2
  2151. package/dist/checkout/p-d70b96db.entry.js.map +0 -1
  2152. package/dist/checkout/p-d9a88167.entry.js +0 -2
  2153. package/dist/checkout/p-d9a88167.entry.js.map +0 -1
  2154. package/dist/checkout/p-e0fd6219.entry.js +0 -5
  2155. package/dist/checkout/p-e0fd6219.entry.js.map +0 -1
  2156. package/dist/checkout/p-eae47e9d.entry.js +0 -2
  2157. package/dist/checkout/p-eae47e9d.entry.js.map +0 -1
  2158. package/dist/checkout/p-ee1b72ba.entry.js +0 -2
  2159. package/dist/checkout/p-ee1b72ba.entry.js.map +0 -1
  2160. package/dist/checkout/p-eeb818b4.entry.js +0 -2
  2161. package/dist/checkout/p-eeb818b4.entry.js.map +0 -1
  2162. package/dist/checkout/p-f7dd0c42.entry.js +0 -2
  2163. package/dist/checkout/p-f7dd0c42.entry.js.map +0 -1
  2164. package/dist/checkout/p-f8f93e18.entry.js +0 -2
  2165. package/dist/checkout/p-f8f93e18.entry.js.map +0 -1
  2166. package/dist/checkout/p-hHmYLOfE.js.map +0 -1
  2167. package/dist/checkout/p-ktzqax7n.js +0 -5
  2168. package/dist/checkout/p-ktzqax7n.js.map +0 -1
  2169. package/dist/checkout/p-sObYyvOy.js.map +0 -1
  2170. package/dist/checkout/p-syN-rRwJ.js +0 -6
  2171. package/dist/checkout/p-syN-rRwJ.js.map +0 -1
  2172. package/dist/checkout/svg/logo-threads.svg +0 -1
  2173. package/dist/cjs/animation-BtvIVax4.js +0 -828
  2174. package/dist/cjs/animation-BtvIVax4.js.map +0 -1
  2175. package/dist/cjs/app-globals-k1SzUfrO.js +0 -10
  2176. package/dist/cjs/app-globals-k1SzUfrO.js.map +0 -1
  2177. package/dist/cjs/ar-CbT6TM-Q.js.map +0 -1
  2178. package/dist/cjs/capacitor-CqhugS19.js.map +0 -1
  2179. package/dist/cjs/checkout.cjs.js.map +0 -1
  2180. package/dist/cjs/compare-with-utils-JlLIkecm.js.map +0 -1
  2181. package/dist/cjs/config-DUSoxbhv.js +0 -179
  2182. package/dist/cjs/config-DUSoxbhv.js.map +0 -1
  2183. package/dist/cjs/cubic-bezier-Bv3PvaRI.js.map +0 -1
  2184. package/dist/cjs/data-CjHlPfPW.js +0 -1701
  2185. package/dist/cjs/data-CjHlPfPW.js.map +0 -1
  2186. package/dist/cjs/dir-Br-7_bel.js.map +0 -1
  2187. package/dist/cjs/focus-visible-Da2o6bTP.js.map +0 -1
  2188. package/dist/cjs/framework-delegate-BoMy23Lz.js +0 -147
  2189. package/dist/cjs/framework-delegate-BoMy23Lz.js.map +0 -1
  2190. package/dist/cjs/gesture-controller-CiprlUhH.js +0 -201
  2191. package/dist/cjs/gesture-controller-CiprlUhH.js.map +0 -1
  2192. package/dist/cjs/haptic-DCn793nz.js +0 -167
  2193. package/dist/cjs/haptic-DCn793nz.js.map +0 -1
  2194. package/dist/cjs/hardware-back-button-B1WYQg6m.js +0 -124
  2195. package/dist/cjs/hardware-back-button-B1WYQg6m.js.map +0 -1
  2196. package/dist/cjs/helpers-C5_WrFOI.js +0 -363
  2197. package/dist/cjs/helpers-C5_WrFOI.js.map +0 -1
  2198. package/dist/cjs/i18n-uGNv9SLK.js.map +0 -1
  2199. package/dist/cjs/index-BPGqVQtz.js +0 -2246
  2200. package/dist/cjs/index-BPGqVQtz.js.map +0 -1
  2201. package/dist/cjs/index-C-U8a6CY.js +0 -437
  2202. package/dist/cjs/index-C-U8a6CY.js.map +0 -1
  2203. package/dist/cjs/index-C0J_JwJB.js +0 -173
  2204. package/dist/cjs/index-C0J_JwJB.js.map +0 -1
  2205. package/dist/cjs/index-C3dD6F2g.js +0 -323
  2206. package/dist/cjs/index-C3dD6F2g.js.map +0 -1
  2207. package/dist/cjs/index-Calgykmz.js +0 -470
  2208. package/dist/cjs/index-Calgykmz.js.map +0 -1
  2209. package/dist/cjs/index-D3mJ1Cix.js.map +0 -1
  2210. package/dist/cjs/index-DseJYF57.js +0 -58
  2211. package/dist/cjs/index-DseJYF57.js.map +0 -1
  2212. package/dist/cjs/index-DwdNl4cs.js +0 -143
  2213. package/dist/cjs/index-DwdNl4cs.js.map +0 -1
  2214. package/dist/cjs/index.cjs.js.map +0 -1
  2215. package/dist/cjs/input-shims-DIBy37tN.js +0 -652
  2216. package/dist/cjs/input-shims-DIBy37tN.js.map +0 -1
  2217. package/dist/cjs/input.utils-IVavyQAZ.js +0 -156
  2218. package/dist/cjs/input.utils-IVavyQAZ.js.map +0 -1
  2219. package/dist/cjs/ion-action-sheet_5.cjs.entry.js +0 -3804
  2220. package/dist/cjs/ion-buttons_10.cjs.entry.js +0 -1914
  2221. package/dist/cjs/ion-input-otp.cjs.entry.js +0 -644
  2222. package/dist/cjs/ion-input-password-toggle.cjs.entry.js +0 -86
  2223. package/dist/cjs/ion-label_2.cjs.entry.js +0 -103
  2224. package/dist/cjs/ion-picker-legacy-column.cjs.entry.js +0 -362
  2225. package/dist/cjs/ion-picker-legacy.cjs.entry.js +0 -298
  2226. package/dist/cjs/ion-picker_3.cjs.entry.js +0 -1152
  2227. package/dist/cjs/ion-segment-content.cjs.entry.js +0 -18
  2228. package/dist/cjs/ion-segment-view.cjs.entry.js +0 -121
  2229. package/dist/cjs/ionic-global-BmDUlKDf.js +0 -156
  2230. package/dist/cjs/ionic-global-BmDUlKDf.js.map +0 -1
  2231. package/dist/cjs/ios.transition-ROXYV2qt.js +0 -684
  2232. package/dist/cjs/ios.transition-ROXYV2qt.js.map +0 -1
  2233. package/dist/cjs/keyboard-DuKzsHsS.js.map +0 -1
  2234. package/dist/cjs/keyboard-controller-rH21qC_2.js.map +0 -1
  2235. package/dist/cjs/keyboard-iyHR2ZF4.js.map +0 -1
  2236. package/dist/cjs/loader.cjs.js.map +0 -1
  2237. package/dist/cjs/lock-controller-58TZFRHC.js.map +0 -1
  2238. package/dist/cjs/md.transition-NftVXx7D.js +0 -62
  2239. package/dist/cjs/md.transition-NftVXx7D.js.map +0 -1
  2240. package/dist/cjs/menu-toggle-util-CROwv_aL.js +0 -17
  2241. package/dist/cjs/menu-toggle-util-CROwv_aL.js.map +0 -1
  2242. package/dist/cjs/notch-controller-BzbZcc1N.js +0 -158
  2243. package/dist/cjs/notch-controller-BzbZcc1N.js.map +0 -1
  2244. package/dist/cjs/overlays-gyJEvMkB.js +0 -934
  2245. package/dist/cjs/overlays-gyJEvMkB.js.map +0 -1
  2246. package/dist/cjs/refresher.utils-DZrHDYQN.js +0 -209
  2247. package/dist/cjs/refresher.utils-DZrHDYQN.js.map +0 -1
  2248. package/dist/cjs/spinner-configs-BN41iw42.js.map +0 -1
  2249. package/dist/cjs/status-tap-B5QfH5DO.js +0 -44
  2250. package/dist/cjs/status-tap-B5QfH5DO.js.map +0 -1
  2251. package/dist/cjs/swipe-back-BkT4j65k.js +0 -85
  2252. package/dist/cjs/swipe-back-BkT4j65k.js.map +0 -1
  2253. package/dist/cjs/theme-DbHdw1Nx.js.map +0 -1
  2254. package/dist/cjs/validity-ClNawnRU.js +0 -22
  2255. package/dist/cjs/validity-ClNawnRU.js.map +0 -1
  2256. package/dist/cjs/watch-options-DOFUPyuf.js.map +0 -1
  2257. package/dist/collection/components/amwal-checkout-button/amwal-checkout-button.js.map +0 -1
  2258. package/dist/collection/components/amwal-checkout-button/amwal-checkout-button.stories.js.map +0 -1
  2259. package/dist/collection/components/amwal-installments-guide/amwal-installments-guide.js.map +0 -1
  2260. package/dist/collection/components/amwal-installments-guide/amwal-installments-guide.stories.js.map +0 -1
  2261. package/dist/collection/components/amwal-installments-timeline/amwal-installments-timeline.js.map +0 -1
  2262. package/dist/collection/components/amwal-installments-timeline/amwal-installments-timeline.stories.js.map +0 -1
  2263. package/dist/collection/components/amwal-pos/amwal-pos.js.map +0 -1
  2264. package/dist/collection/components/amwal-pos/amwal-pos.stories.js.map +0 -1
  2265. package/dist/collection/components/amwal-widget/amwal-widget-modal.js.map +0 -1
  2266. package/dist/collection/components/amwal-widget/amwal-widget.js.map +0 -1
  2267. package/dist/collection/components/amwal-widget/amwal-widget.stories.js.map +0 -1
  2268. package/dist/collection/lang/i18n.js.map +0 -1
  2269. package/dist/components/amwal-checkout-button.js.map +0 -1
  2270. package/dist/components/amwal-installments-guide.js.map +0 -1
  2271. package/dist/components/amwal-installments-timeline.js.map +0 -1
  2272. package/dist/components/amwal-pos.js.map +0 -1
  2273. package/dist/components/amwal-widget-modal.js.map +0 -1
  2274. package/dist/components/amwal-widget.js.map +0 -1
  2275. package/dist/components/index.js.map +0 -1
  2276. package/dist/components/ion-accordion-group.js.map +0 -1
  2277. package/dist/components/ion-accordion.js.map +0 -1
  2278. package/dist/components/ion-action-sheet.js.map +0 -1
  2279. package/dist/components/ion-alert.js.map +0 -1
  2280. package/dist/components/ion-app.js.map +0 -1
  2281. package/dist/components/ion-avatar.js.map +0 -1
  2282. package/dist/components/ion-back-button.js.map +0 -1
  2283. package/dist/components/ion-backdrop.js.map +0 -1
  2284. package/dist/components/ion-badge.js.map +0 -1
  2285. package/dist/components/ion-breadcrumb.js.map +0 -1
  2286. package/dist/components/ion-breadcrumbs.js.map +0 -1
  2287. package/dist/components/ion-button.js.map +0 -1
  2288. package/dist/components/ion-buttons.js.map +0 -1
  2289. package/dist/components/ion-card-content.js.map +0 -1
  2290. package/dist/components/ion-card-header.js.map +0 -1
  2291. package/dist/components/ion-card-subtitle.js.map +0 -1
  2292. package/dist/components/ion-card-title.js.map +0 -1
  2293. package/dist/components/ion-card.js.map +0 -1
  2294. package/dist/components/ion-checkbox.js.map +0 -1
  2295. package/dist/components/ion-chip.js.map +0 -1
  2296. package/dist/components/ion-col.js.map +0 -1
  2297. package/dist/components/ion-content.js.map +0 -1
  2298. package/dist/components/ion-datetime-button.js.map +0 -1
  2299. package/dist/components/ion-datetime.js.map +0 -1
  2300. package/dist/components/ion-fab-button.js.map +0 -1
  2301. package/dist/components/ion-fab-list.js.map +0 -1
  2302. package/dist/components/ion-fab.js.map +0 -1
  2303. package/dist/components/ion-footer.js.map +0 -1
  2304. package/dist/components/ion-grid.js.map +0 -1
  2305. package/dist/components/ion-header.js.map +0 -1
  2306. package/dist/components/ion-icon.js.map +0 -1
  2307. package/dist/components/ion-img.js.map +0 -1
  2308. package/dist/components/ion-infinite-scroll-content.js.map +0 -1
  2309. package/dist/components/ion-infinite-scroll.js.map +0 -1
  2310. package/dist/components/ion-input-otp.js +0 -685
  2311. package/dist/components/ion-input-otp.js.map +0 -1
  2312. package/dist/components/ion-input-password-toggle.js +0 -131
  2313. package/dist/components/ion-input-password-toggle.js.map +0 -1
  2314. package/dist/components/ion-input.js.map +0 -1
  2315. package/dist/components/ion-item-divider.js.map +0 -1
  2316. package/dist/components/ion-item-group.js.map +0 -1
  2317. package/dist/components/ion-item-option.js.map +0 -1
  2318. package/dist/components/ion-item-options.js.map +0 -1
  2319. package/dist/components/ion-item-sliding.js.map +0 -1
  2320. package/dist/components/ion-item.js.map +0 -1
  2321. package/dist/components/ion-label.js.map +0 -1
  2322. package/dist/components/ion-list-header.js.map +0 -1
  2323. package/dist/components/ion-list.js.map +0 -1
  2324. package/dist/components/ion-loading.js.map +0 -1
  2325. package/dist/components/ion-menu-button.js.map +0 -1
  2326. package/dist/components/ion-menu-toggle.js.map +0 -1
  2327. package/dist/components/ion-menu.js.map +0 -1
  2328. package/dist/components/ion-modal.js.map +0 -1
  2329. package/dist/components/ion-nav-link.js.map +0 -1
  2330. package/dist/components/ion-nav.js.map +0 -1
  2331. package/dist/components/ion-note.js.map +0 -1
  2332. package/dist/components/ion-picker-column-option.js +0 -9
  2333. package/dist/components/ion-picker-column-option.js.map +0 -1
  2334. package/dist/components/ion-picker-column.js.map +0 -1
  2335. package/dist/components/ion-picker-legacy-column.js +0 -9
  2336. package/dist/components/ion-picker-legacy-column.js.map +0 -1
  2337. package/dist/components/ion-picker-legacy.js +0 -351
  2338. package/dist/components/ion-picker-legacy.js.map +0 -1
  2339. package/dist/components/ion-picker.js.map +0 -1
  2340. package/dist/components/ion-popover.js.map +0 -1
  2341. package/dist/components/ion-progress-bar.js.map +0 -1
  2342. package/dist/components/ion-radio-group.js.map +0 -1
  2343. package/dist/components/ion-radio.js.map +0 -1
  2344. package/dist/components/ion-range.js.map +0 -1
  2345. package/dist/components/ion-refresher-content.js.map +0 -1
  2346. package/dist/components/ion-refresher.js.map +0 -1
  2347. package/dist/components/ion-reorder-group.js.map +0 -1
  2348. package/dist/components/ion-reorder.js.map +0 -1
  2349. package/dist/components/ion-ripple-effect.js.map +0 -1
  2350. package/dist/components/ion-route-redirect.js.map +0 -1
  2351. package/dist/components/ion-route.js.map +0 -1
  2352. package/dist/components/ion-router-link.js.map +0 -1
  2353. package/dist/components/ion-router-outlet.js.map +0 -1
  2354. package/dist/components/ion-router.js.map +0 -1
  2355. package/dist/components/ion-row.js.map +0 -1
  2356. package/dist/components/ion-searchbar.js.map +0 -1
  2357. package/dist/components/ion-segment-button.js.map +0 -1
  2358. package/dist/components/ion-segment-content.js +0 -38
  2359. package/dist/components/ion-segment-content.js.map +0 -1
  2360. package/dist/components/ion-segment-view.js +0 -145
  2361. package/dist/components/ion-segment-view.js.map +0 -1
  2362. package/dist/components/ion-segment.js.map +0 -1
  2363. package/dist/components/ion-select-modal.js +0 -9
  2364. package/dist/components/ion-select-modal.js.map +0 -1
  2365. package/dist/components/ion-select-option.js.map +0 -1
  2366. package/dist/components/ion-select-popover.js.map +0 -1
  2367. package/dist/components/ion-select.js.map +0 -1
  2368. package/dist/components/ion-skeleton-text.js.map +0 -1
  2369. package/dist/components/ion-spinner.js.map +0 -1
  2370. package/dist/components/ion-split-pane.js.map +0 -1
  2371. package/dist/components/ion-tab-bar.js.map +0 -1
  2372. package/dist/components/ion-tab-button.js.map +0 -1
  2373. package/dist/components/ion-tab.js.map +0 -1
  2374. package/dist/components/ion-tabs.js.map +0 -1
  2375. package/dist/components/ion-text.js.map +0 -1
  2376. package/dist/components/ion-textarea.js.map +0 -1
  2377. package/dist/components/ion-thumbnail.js.map +0 -1
  2378. package/dist/components/ion-title.js.map +0 -1
  2379. package/dist/components/ion-toast.js.map +0 -1
  2380. package/dist/components/ion-toggle.js.map +0 -1
  2381. package/dist/components/ion-toolbar.js.map +0 -1
  2382. package/dist/components/p-2HMA6Bk9.js +0 -199
  2383. package/dist/components/p-2HMA6Bk9.js.map +0 -1
  2384. package/dist/components/p-5oWdAaAi.js +0 -192
  2385. package/dist/components/p-5oWdAaAi.js.map +0 -1
  2386. package/dist/components/p-9R9WjA6V.js +0 -143
  2387. package/dist/components/p-9R9WjA6V.js.map +0 -1
  2388. package/dist/components/p-B-hirT0v.js.map +0 -1
  2389. package/dist/components/p-B2gn37E3.js +0 -71
  2390. package/dist/components/p-B2gn37E3.js.map +0 -1
  2391. package/dist/components/p-B3WORC1a.js.map +0 -1
  2392. package/dist/components/p-BHR1qL-B.js +0 -15
  2393. package/dist/components/p-BHR1qL-B.js.map +0 -1
  2394. package/dist/components/p-BLZx8ena.js +0 -648
  2395. package/dist/components/p-BLZx8ena.js.map +0 -1
  2396. package/dist/components/p-BPfqVyXF.js +0 -131
  2397. package/dist/components/p-BPfqVyXF.js.map +0 -1
  2398. package/dist/components/p-BRke83qH.js +0 -59
  2399. package/dist/components/p-BRke83qH.js.map +0 -1
  2400. package/dist/components/p-BTEOs1at.js +0 -198
  2401. package/dist/components/p-BTEOs1at.js.map +0 -1
  2402. package/dist/components/p-BZwvoMAR.js +0 -42
  2403. package/dist/components/p-BZwvoMAR.js.map +0 -1
  2404. package/dist/components/p-BeDf61kY.js +0 -427
  2405. package/dist/components/p-BeDf61kY.js.map +0 -1
  2406. package/dist/components/p-BfUU8qUe.js +0 -42
  2407. package/dist/components/p-BfUU8qUe.js.map +0 -1
  2408. package/dist/components/p-BgOwfqIY.js.map +0 -1
  2409. package/dist/components/p-BhiX6sCr.js +0 -826
  2410. package/dist/components/p-BhiX6sCr.js.map +0 -1
  2411. package/dist/components/p-Binl0XAs.js +0 -576
  2412. package/dist/components/p-Binl0XAs.js.map +0 -1
  2413. package/dist/components/p-Bm5dgzDt.js +0 -118
  2414. package/dist/components/p-Bm5dgzDt.js.map +0 -1
  2415. package/dist/components/p-BmVRXR1y.js.map +0 -1
  2416. package/dist/components/p-BqMnDwQG.js +0 -194
  2417. package/dist/components/p-BqMnDwQG.js.map +0 -1
  2418. package/dist/components/p-BxP8TDfL.js +0 -161
  2419. package/dist/components/p-BxP8TDfL.js.map +0 -1
  2420. package/dist/components/p-Byqjk7Y-.js +0 -423
  2421. package/dist/components/p-Byqjk7Y-.js.map +0 -1
  2422. package/dist/components/p-C03M5ZSM.js.map +0 -1
  2423. package/dist/components/p-C53feagD.js.map +0 -1
  2424. package/dist/components/p-C9H5b4Sp.js +0 -156
  2425. package/dist/components/p-C9H5b4Sp.js.map +0 -1
  2426. package/dist/components/p-CBE-1aIM.js +0 -342
  2427. package/dist/components/p-CBE-1aIM.js.map +0 -1
  2428. package/dist/components/p-CH3Eg9_f.js +0 -467
  2429. package/dist/components/p-CH3Eg9_f.js.map +0 -1
  2430. package/dist/components/p-CKAwPEA1.js +0 -678
  2431. package/dist/components/p-CKAwPEA1.js.map +0 -1
  2432. package/dist/components/p-CQgmejdy.js +0 -103
  2433. package/dist/components/p-CQgmejdy.js.map +0 -1
  2434. package/dist/components/p-CS0AfHCU.js +0 -321
  2435. package/dist/components/p-CS0AfHCU.js.map +0 -1
  2436. package/dist/components/p-CTM7uu-W.js +0 -1656
  2437. package/dist/components/p-CTM7uu-W.js.map +0 -1
  2438. package/dist/components/p-Ccgs7j-d.js +0 -229
  2439. package/dist/components/p-Ccgs7j-d.js.map +0 -1
  2440. package/dist/components/p-ClEjw1rH.js +0 -235
  2441. package/dist/components/p-ClEjw1rH.js.map +0 -1
  2442. package/dist/components/p-CqzV2Pip.js +0 -459
  2443. package/dist/components/p-CqzV2Pip.js.map +0 -1
  2444. package/dist/components/p-D-0nEl_9.js +0 -75
  2445. package/dist/components/p-D-0nEl_9.js.map +0 -1
  2446. package/dist/components/p-D2NxOvQ8.js.map +0 -1
  2447. package/dist/components/p-D86aKvUI.js +0 -305
  2448. package/dist/components/p-D86aKvUI.js.map +0 -1
  2449. package/dist/components/p-DBeEVQxe.js +0 -2542
  2450. package/dist/components/p-DBeEVQxe.js.map +0 -1
  2451. package/dist/components/p-DEAe7QEa.js +0 -152
  2452. package/dist/components/p-DEAe7QEa.js.map +0 -1
  2453. package/dist/components/p-DFwbATZZ.js +0 -92
  2454. package/dist/components/p-DFwbATZZ.js.map +0 -1
  2455. package/dist/components/p-DG3y4Paj.js +0 -57
  2456. package/dist/components/p-DG3y4Paj.js.map +0 -1
  2457. package/dist/components/p-DJztqcrH.js +0 -20
  2458. package/dist/components/p-DJztqcrH.js.map +0 -1
  2459. package/dist/components/p-DKTjDEAE.js +0 -477
  2460. package/dist/components/p-DKTjDEAE.js.map +0 -1
  2461. package/dist/components/p-DKg_dYcq.js.map +0 -1
  2462. package/dist/components/p-DQU52fBY.js +0 -913
  2463. package/dist/components/p-DQU52fBY.js.map +0 -1
  2464. package/dist/components/p-DXxzBbWg.js +0 -290
  2465. package/dist/components/p-DXxzBbWg.js.map +0 -1
  2466. package/dist/components/p-DiBX36NE.js +0 -73
  2467. package/dist/components/p-DiBX36NE.js.map +0 -1
  2468. package/dist/components/p-DiVJyqlX.js.map +0 -1
  2469. package/dist/components/p-DpZBHf1M.js +0 -598
  2470. package/dist/components/p-DpZBHf1M.js.map +0 -1
  2471. package/dist/components/p-DskTArru.js +0 -112
  2472. package/dist/components/p-DskTArru.js.map +0 -1
  2473. package/dist/components/p-Dtdm8lKC.js.map +0 -1
  2474. package/dist/components/p-DuZ7hY1a.js.map +0 -1
  2475. package/dist/components/p-Dw849bTq.js +0 -305
  2476. package/dist/components/p-Dw849bTq.js.map +0 -1
  2477. package/dist/components/p-DwPO21ol.js +0 -153
  2478. package/dist/components/p-DwPO21ol.js.map +0 -1
  2479. package/dist/components/p-JTTQkHB9.js +0 -139
  2480. package/dist/components/p-JTTQkHB9.js.map +0 -1
  2481. package/dist/components/p-L_Psvpkz.js +0 -222
  2482. package/dist/components/p-L_Psvpkz.js.map +0 -1
  2483. package/dist/components/p-Vjh8RfHt.js +0 -264
  2484. package/dist/components/p-Vjh8RfHt.js.map +0 -1
  2485. package/dist/components/p-XkH8uZ6p.js +0 -624
  2486. package/dist/components/p-XkH8uZ6p.js.map +0 -1
  2487. package/dist/components/p-YUfYVoix.js +0 -170
  2488. package/dist/components/p-YUfYVoix.js.map +0 -1
  2489. package/dist/components/p-ZjP4CjeZ.js.map +0 -1
  2490. package/dist/components/p-_OXvEtk1.js +0 -501
  2491. package/dist/components/p-_OXvEtk1.js.map +0 -1
  2492. package/dist/components/p-abe_AkUW.js +0 -1982
  2493. package/dist/components/p-abe_AkUW.js.map +0 -1
  2494. package/dist/components/p-cCiT8ucm.js +0 -1519
  2495. package/dist/components/p-cCiT8ucm.js.map +0 -1
  2496. package/dist/components/p-fROlYcE4.js +0 -380
  2497. package/dist/components/p-fROlYcE4.js.map +0 -1
  2498. package/dist/components/p-hHmYLOfE.js.map +0 -1
  2499. package/dist/components/p-hoAPVm-t.js +0 -354
  2500. package/dist/components/p-hoAPVm-t.js.map +0 -1
  2501. package/dist/components/p-idUkgr5D.js +0 -81
  2502. package/dist/components/p-idUkgr5D.js.map +0 -1
  2503. package/dist/components/p-jWFeuAB5.js +0 -32
  2504. package/dist/components/p-jWFeuAB5.js.map +0 -1
  2505. package/dist/components/p-o42LW1q1.js +0 -70
  2506. package/dist/components/p-o42LW1q1.js.map +0 -1
  2507. package/dist/components/p-oO2T0VL-.js +0 -50
  2508. package/dist/components/p-oO2T0VL-.js.map +0 -1
  2509. package/dist/components/p-uTKLFBBy.js +0 -176
  2510. package/dist/components/p-uTKLFBBy.js.map +0 -1
  2511. package/dist/esm/amwal-installments-guide.entry.js.map +0 -1
  2512. package/dist/esm/amwal-pos.entry.js.map +0 -1
  2513. package/dist/esm/amwal-widget-modal.entry.js.map +0 -1
  2514. package/dist/esm/amwal-widget.entry.js.map +0 -1
  2515. package/dist/esm/animation-BU4GfyJQ.js +0 -826
  2516. package/dist/esm/animation-BU4GfyJQ.js.map +0 -1
  2517. package/dist/esm/app-globals-DiUHe8Ib.js +0 -8
  2518. package/dist/esm/app-globals-DiUHe8Ib.js.map +0 -1
  2519. package/dist/esm/ar-B3WORC1a.js.map +0 -1
  2520. package/dist/esm/capacitor-CG3xQUND.js.map +0 -1
  2521. package/dist/esm/checkout.js.map +0 -1
  2522. package/dist/esm/compare-with-utils-sObYyvOy.js.map +0 -1
  2523. package/dist/esm/config-V6Cb8IlP.js +0 -176
  2524. package/dist/esm/config-V6Cb8IlP.js.map +0 -1
  2525. package/dist/esm/cubic-bezier-hHmYLOfE.js.map +0 -1
  2526. package/dist/esm/data-BKjeovce.js +0 -1656
  2527. package/dist/esm/data-BKjeovce.js.map +0 -1
  2528. package/dist/esm/dir-C53feagD.js.map +0 -1
  2529. package/dist/esm/focus-visible-BmVRXR1y.js.map +0 -1
  2530. package/dist/esm/framework-delegate-CaqRmNBr.js +0 -143
  2531. package/dist/esm/framework-delegate-CaqRmNBr.js.map +0 -1
  2532. package/dist/esm/gesture-controller-BTEOs1at.js +0 -198
  2533. package/dist/esm/gesture-controller-BTEOs1at.js.map +0 -1
  2534. package/dist/esm/haptic-C3ucbArX.js +0 -161
  2535. package/dist/esm/haptic-C3ucbArX.js.map +0 -1
  2536. package/dist/esm/hardware-back-button-Nry6hGkN.js +0 -118
  2537. package/dist/esm/hardware-back-button-Nry6hGkN.js.map +0 -1
  2538. package/dist/esm/helpers-uLqs1Gao.js +0 -342
  2539. package/dist/esm/helpers-uLqs1Gao.js.map +0 -1
  2540. package/dist/esm/i18n-C_AfxZ5D.js.map +0 -1
  2541. package/dist/esm/index-BmWsedvI.js +0 -171
  2542. package/dist/esm/index-BmWsedvI.js.map +0 -1
  2543. package/dist/esm/index-BmlsNFZH.js +0 -32
  2544. package/dist/esm/index-BmlsNFZH.js.map +0 -1
  2545. package/dist/esm/index-BxybgBKJ.js +0 -2222
  2546. package/dist/esm/index-BxybgBKJ.js.map +0 -1
  2547. package/dist/esm/index-CCWf5GQy.js +0 -427
  2548. package/dist/esm/index-CCWf5GQy.js.map +0 -1
  2549. package/dist/esm/index-CF4QYFB3.js +0 -467
  2550. package/dist/esm/index-CF4QYFB3.js.map +0 -1
  2551. package/dist/esm/index-Ct7Rjd6t.js +0 -321
  2552. package/dist/esm/index-Ct7Rjd6t.js.map +0 -1
  2553. package/dist/esm/index-ZjP4CjeZ.js.map +0 -1
  2554. package/dist/esm/index-ffNEk55Y.js +0 -131
  2555. package/dist/esm/index-ffNEk55Y.js.map +0 -1
  2556. package/dist/esm/index.js.map +0 -1
  2557. package/dist/esm/input-shims-DkzcZwWm.js +0 -650
  2558. package/dist/esm/input-shims-DkzcZwWm.js.map +0 -1
  2559. package/dist/esm/input.utils-C_QovwBX.js +0 -153
  2560. package/dist/esm/input.utils-C_QovwBX.js.map +0 -1
  2561. package/dist/esm/ion-accordion-group.entry.js.map +0 -1
  2562. package/dist/esm/ion-accordion.entry.js.map +0 -1
  2563. package/dist/esm/ion-action-sheet_5.entry.js +0 -3798
  2564. package/dist/esm/ion-app.entry.js.map +0 -1
  2565. package/dist/esm/ion-avatar.entry.js.map +0 -1
  2566. package/dist/esm/ion-back-button.entry.js.map +0 -1
  2567. package/dist/esm/ion-backdrop.entry.js.map +0 -1
  2568. package/dist/esm/ion-badge.entry.js.map +0 -1
  2569. package/dist/esm/ion-breadcrumb.entry.js.map +0 -1
  2570. package/dist/esm/ion-breadcrumbs.entry.js.map +0 -1
  2571. package/dist/esm/ion-buttons_10.entry.js +0 -1903
  2572. package/dist/esm/ion-card-content.entry.js.map +0 -1
  2573. package/dist/esm/ion-card-header.entry.js.map +0 -1
  2574. package/dist/esm/ion-card-subtitle.entry.js.map +0 -1
  2575. package/dist/esm/ion-card-title.entry.js.map +0 -1
  2576. package/dist/esm/ion-card.entry.js.map +0 -1
  2577. package/dist/esm/ion-chip.entry.js.map +0 -1
  2578. package/dist/esm/ion-col.entry.js.map +0 -1
  2579. package/dist/esm/ion-datetime-button.entry.js.map +0 -1
  2580. package/dist/esm/ion-datetime.entry.js.map +0 -1
  2581. package/dist/esm/ion-fab-button.entry.js.map +0 -1
  2582. package/dist/esm/ion-fab-list.entry.js.map +0 -1
  2583. package/dist/esm/ion-fab.entry.js.map +0 -1
  2584. package/dist/esm/ion-footer.entry.js.map +0 -1
  2585. package/dist/esm/ion-grid.entry.js.map +0 -1
  2586. package/dist/esm/ion-icon.entry.js.map +0 -1
  2587. package/dist/esm/ion-img.entry.js.map +0 -1
  2588. package/dist/esm/ion-infinite-scroll-content.entry.js.map +0 -1
  2589. package/dist/esm/ion-infinite-scroll.entry.js.map +0 -1
  2590. package/dist/esm/ion-input-otp.entry.js +0 -642
  2591. package/dist/esm/ion-input-otp.entry.js.map +0 -1
  2592. package/dist/esm/ion-input-password-toggle.entry.js +0 -84
  2593. package/dist/esm/ion-input-password-toggle.entry.js.map +0 -1
  2594. package/dist/esm/ion-input.entry.js.map +0 -1
  2595. package/dist/esm/ion-item-divider.entry.js.map +0 -1
  2596. package/dist/esm/ion-item-group.entry.js.map +0 -1
  2597. package/dist/esm/ion-item-option.entry.js.map +0 -1
  2598. package/dist/esm/ion-item-options.entry.js.map +0 -1
  2599. package/dist/esm/ion-item-sliding.entry.js.map +0 -1
  2600. package/dist/esm/ion-label_2.entry.js +0 -100
  2601. package/dist/esm/ion-loading.entry.js.map +0 -1
  2602. package/dist/esm/ion-menu-button.entry.js.map +0 -1
  2603. package/dist/esm/ion-menu-toggle.entry.js.map +0 -1
  2604. package/dist/esm/ion-menu.entry.js.map +0 -1
  2605. package/dist/esm/ion-nav-link.entry.js.map +0 -1
  2606. package/dist/esm/ion-nav.entry.js.map +0 -1
  2607. package/dist/esm/ion-note.entry.js.map +0 -1
  2608. package/dist/esm/ion-picker-legacy-column.entry.js +0 -360
  2609. package/dist/esm/ion-picker-legacy-column.entry.js.map +0 -1
  2610. package/dist/esm/ion-picker-legacy.entry.js +0 -296
  2611. package/dist/esm/ion-picker-legacy.entry.js.map +0 -1
  2612. package/dist/esm/ion-picker_3.entry.js +0 -1148
  2613. package/dist/esm/ion-popover.entry.js.map +0 -1
  2614. package/dist/esm/ion-progress-bar.entry.js.map +0 -1
  2615. package/dist/esm/ion-range.entry.js.map +0 -1
  2616. package/dist/esm/ion-refresher-content.entry.js.map +0 -1
  2617. package/dist/esm/ion-refresher.entry.js.map +0 -1
  2618. package/dist/esm/ion-reorder-group.entry.js.map +0 -1
  2619. package/dist/esm/ion-reorder.entry.js.map +0 -1
  2620. package/dist/esm/ion-route-redirect.entry.js.map +0 -1
  2621. package/dist/esm/ion-route.entry.js.map +0 -1
  2622. package/dist/esm/ion-router-link.entry.js.map +0 -1
  2623. package/dist/esm/ion-router-outlet.entry.js.map +0 -1
  2624. package/dist/esm/ion-router.entry.js.map +0 -1
  2625. package/dist/esm/ion-row.entry.js.map +0 -1
  2626. package/dist/esm/ion-searchbar.entry.js.map +0 -1
  2627. package/dist/esm/ion-segment-button.entry.js.map +0 -1
  2628. package/dist/esm/ion-segment-content.entry.js +0 -16
  2629. package/dist/esm/ion-segment-content.entry.js.map +0 -1
  2630. package/dist/esm/ion-segment-view.entry.js +0 -119
  2631. package/dist/esm/ion-segment-view.entry.js.map +0 -1
  2632. package/dist/esm/ion-segment.entry.js.map +0 -1
  2633. package/dist/esm/ion-select-option.entry.js.map +0 -1
  2634. package/dist/esm/ion-select.entry.js.map +0 -1
  2635. package/dist/esm/ion-skeleton-text.entry.js.map +0 -1
  2636. package/dist/esm/ion-spinner.entry.js.map +0 -1
  2637. package/dist/esm/ion-split-pane.entry.js.map +0 -1
  2638. package/dist/esm/ion-tab-bar.entry.js.map +0 -1
  2639. package/dist/esm/ion-tab-button.entry.js.map +0 -1
  2640. package/dist/esm/ion-tab.entry.js.map +0 -1
  2641. package/dist/esm/ion-tabs.entry.js.map +0 -1
  2642. package/dist/esm/ion-textarea.entry.js.map +0 -1
  2643. package/dist/esm/ion-thumbnail.entry.js.map +0 -1
  2644. package/dist/esm/ion-toast.entry.js.map +0 -1
  2645. package/dist/esm/ion-toggle.entry.js.map +0 -1
  2646. package/dist/esm/ionic-global-C8oJToxs.js +0 -152
  2647. package/dist/esm/ionic-global-C8oJToxs.js.map +0 -1
  2648. package/dist/esm/ios.transition-BFolpAgy.js +0 -681
  2649. package/dist/esm/ios.transition-BFolpAgy.js.map +0 -1
  2650. package/dist/esm/keyboard-DcbqYXj5.js.map +0 -1
  2651. package/dist/esm/keyboard-DgiyREKb.js.map +0 -1
  2652. package/dist/esm/keyboard-controller-CqGCg8tB.js.map +0 -1
  2653. package/dist/esm/loader.js.map +0 -1
  2654. package/dist/esm/lock-controller-B-hirT0v.js.map +0 -1
  2655. package/dist/esm/md.transition-e1BRt2V0.js +0 -60
  2656. package/dist/esm/md.transition-e1BRt2V0.js.map +0 -1
  2657. package/dist/esm/menu-toggle-util-CWs_NYdI.js +0 -15
  2658. package/dist/esm/menu-toggle-util-CWs_NYdI.js.map +0 -1
  2659. package/dist/esm/notch-controller-DCfp6pBF.js +0 -156
  2660. package/dist/esm/notch-controller-DCfp6pBF.js.map +0 -1
  2661. package/dist/esm/overlays-BDbqv7G-.js +0 -913
  2662. package/dist/esm/overlays-BDbqv7G-.js.map +0 -1
  2663. package/dist/esm/refresher.utils-DOS2Tyfp.js +0 -199
  2664. package/dist/esm/refresher.utils-DOS2Tyfp.js.map +0 -1
  2665. package/dist/esm/spinner-configs-D4RIp70E.js.map +0 -1
  2666. package/dist/esm/status-tap-BTOXpL_S.js +0 -42
  2667. package/dist/esm/status-tap-BTOXpL_S.js.map +0 -1
  2668. package/dist/esm/swipe-back-CetNYyPP.js +0 -83
  2669. package/dist/esm/swipe-back-CetNYyPP.js.map +0 -1
  2670. package/dist/esm/theme-DiVJyqlX.js.map +0 -1
  2671. package/dist/esm/validity-DJztqcrH.js +0 -20
  2672. package/dist/esm/validity-DJztqcrH.js.map +0 -1
  2673. package/dist/esm/watch-options-Dtdm8lKC.js.map +0 -1
@@ -1,3804 +0,0 @@
1
- 'use strict';
2
-
3
- var index$1 = require('./index-BPGqVQtz.js');
4
- var haptic = require('./haptic-DCn793nz.js');
5
- var index = require('./index-Calgykmz.js');
6
- var helpers = require('./helpers-C5_WrFOI.js');
7
- var lockController = require('./lock-controller-58TZFRHC.js');
8
- var overlays = require('./overlays-gyJEvMkB.js');
9
- var theme = require('./theme-DbHdw1Nx.js');
10
- var ionicGlobal = require('./ionic-global-BmDUlKDf.js');
11
- var animation = require('./animation-BtvIVax4.js');
12
- var config = require('./config-DUSoxbhv.js');
13
- var index$3 = require('./index-DwdNl4cs.js');
14
- var frameworkDelegate = require('./framework-delegate-BoMy23Lz.js');
15
- var capacitor = require('./capacitor-CqhugS19.js');
16
- var index$4 = require('./index-C-U8a6CY.js');
17
- var keyboard = require('./keyboard-iyHR2ZF4.js');
18
- var cubicBezier = require('./cubic-bezier-Bv3PvaRI.js');
19
- var index$2 = require('./index-D3mJ1Cix.js');
20
- require('./gesture-controller-CiprlUhH.js');
21
- require('./hardware-back-button-B1WYQg6m.js');
22
- require('./keyboard-DuKzsHsS.js');
23
-
24
- /*!
25
- * (C) Ionic http://ionicframework.com - MIT License
26
- */
27
- const createButtonActiveGesture = (el, isButton) => {
28
- let currentTouchedButton;
29
- let initialTouchedButton;
30
- const activateButtonAtPoint = (x, y, hapticFeedbackFn) => {
31
- if (typeof document === 'undefined') {
32
- return;
33
- }
34
- const target = document.elementFromPoint(x, y);
35
- if (!target || !isButton(target) || target.disabled) {
36
- clearActiveButton();
37
- return;
38
- }
39
- if (target !== currentTouchedButton) {
40
- clearActiveButton();
41
- setActiveButton(target, hapticFeedbackFn);
42
- }
43
- };
44
- const setActiveButton = (button, hapticFeedbackFn) => {
45
- currentTouchedButton = button;
46
- if (!initialTouchedButton) {
47
- initialTouchedButton = currentTouchedButton;
48
- }
49
- const buttonToModify = currentTouchedButton;
50
- index$1.writeTask(() => buttonToModify.classList.add('ion-activated'));
51
- hapticFeedbackFn();
52
- };
53
- const clearActiveButton = (dispatchClick = false) => {
54
- if (!currentTouchedButton) {
55
- return;
56
- }
57
- const buttonToModify = currentTouchedButton;
58
- index$1.writeTask(() => buttonToModify.classList.remove('ion-activated'));
59
- /**
60
- * Clicking on one button, but releasing on another button
61
- * does not dispatch a click event in browsers, so we
62
- * need to do it manually here. Some browsers will
63
- * dispatch a click if clicking on one button, dragging over
64
- * another button, and releasing on the original button. In that
65
- * case, we need to make sure we do not cause a double click there.
66
- */
67
- if (dispatchClick && initialTouchedButton !== currentTouchedButton) {
68
- currentTouchedButton.click();
69
- }
70
- currentTouchedButton = undefined;
71
- };
72
- return index.createGesture({
73
- el,
74
- gestureName: 'buttonActiveDrag',
75
- threshold: 0,
76
- onStart: (ev) => activateButtonAtPoint(ev.currentX, ev.currentY, haptic.hapticSelectionStart),
77
- onMove: (ev) => activateButtonAtPoint(ev.currentX, ev.currentY, haptic.hapticSelectionChanged),
78
- onEnd: () => {
79
- clearActiveButton(true);
80
- haptic.hapticSelectionEnd();
81
- initialTouchedButton = undefined;
82
- },
83
- });
84
- };
85
-
86
- /*!
87
- * (C) Ionic http://ionicframework.com - MIT License
88
- */
89
- /**
90
- * iOS Action Sheet Enter Animation
91
- */
92
- const iosEnterAnimation$2 = (baseEl) => {
93
- const baseAnimation = animation.createAnimation();
94
- const backdropAnimation = animation.createAnimation();
95
- const wrapperAnimation = animation.createAnimation();
96
- backdropAnimation
97
- .addElement(baseEl.querySelector('ion-backdrop'))
98
- .fromTo('opacity', 0.01, 'var(--backdrop-opacity)')
99
- .beforeStyles({
100
- 'pointer-events': 'none',
101
- })
102
- .afterClearStyles(['pointer-events']);
103
- wrapperAnimation
104
- .addElement(baseEl.querySelector('.action-sheet-wrapper'))
105
- .fromTo('transform', 'translateY(100%)', 'translateY(0%)');
106
- return baseAnimation
107
- .addElement(baseEl)
108
- .easing('cubic-bezier(.36,.66,.04,1)')
109
- .duration(400)
110
- .addAnimation([backdropAnimation, wrapperAnimation]);
111
- };
112
-
113
- /*!
114
- * (C) Ionic http://ionicframework.com - MIT License
115
- */
116
- /**
117
- * iOS Action Sheet Leave Animation
118
- */
119
- const iosLeaveAnimation$2 = (baseEl) => {
120
- const baseAnimation = animation.createAnimation();
121
- const backdropAnimation = animation.createAnimation();
122
- const wrapperAnimation = animation.createAnimation();
123
- backdropAnimation.addElement(baseEl.querySelector('ion-backdrop')).fromTo('opacity', 'var(--backdrop-opacity)', 0);
124
- wrapperAnimation
125
- .addElement(baseEl.querySelector('.action-sheet-wrapper'))
126
- .fromTo('transform', 'translateY(0%)', 'translateY(100%)');
127
- return baseAnimation
128
- .addElement(baseEl)
129
- .easing('cubic-bezier(.36,.66,.04,1)')
130
- .duration(450)
131
- .addAnimation([backdropAnimation, wrapperAnimation]);
132
- };
133
-
134
- /*!
135
- * (C) Ionic http://ionicframework.com - MIT License
136
- */
137
- /**
138
- * MD Action Sheet Enter Animation
139
- */
140
- const mdEnterAnimation$2 = (baseEl) => {
141
- const baseAnimation = animation.createAnimation();
142
- const backdropAnimation = animation.createAnimation();
143
- const wrapperAnimation = animation.createAnimation();
144
- backdropAnimation
145
- .addElement(baseEl.querySelector('ion-backdrop'))
146
- .fromTo('opacity', 0.01, 'var(--backdrop-opacity)')
147
- .beforeStyles({
148
- 'pointer-events': 'none',
149
- })
150
- .afterClearStyles(['pointer-events']);
151
- wrapperAnimation
152
- .addElement(baseEl.querySelector('.action-sheet-wrapper'))
153
- .fromTo('transform', 'translateY(100%)', 'translateY(0%)');
154
- return baseAnimation
155
- .addElement(baseEl)
156
- .easing('cubic-bezier(.36,.66,.04,1)')
157
- .duration(400)
158
- .addAnimation([backdropAnimation, wrapperAnimation]);
159
- };
160
-
161
- /*!
162
- * (C) Ionic http://ionicframework.com - MIT License
163
- */
164
- /**
165
- * MD Action Sheet Leave Animation
166
- */
167
- const mdLeaveAnimation$2 = (baseEl) => {
168
- const baseAnimation = animation.createAnimation();
169
- const backdropAnimation = animation.createAnimation();
170
- const wrapperAnimation = animation.createAnimation();
171
- backdropAnimation.addElement(baseEl.querySelector('ion-backdrop')).fromTo('opacity', 'var(--backdrop-opacity)', 0);
172
- wrapperAnimation
173
- .addElement(baseEl.querySelector('.action-sheet-wrapper'))
174
- .fromTo('transform', 'translateY(0%)', 'translateY(100%)');
175
- return baseAnimation
176
- .addElement(baseEl)
177
- .easing('cubic-bezier(.36,.66,.04,1)')
178
- .duration(450)
179
- .addAnimation([backdropAnimation, wrapperAnimation]);
180
- };
181
-
182
- const actionSheetIosCss = () => `.sc-ion-action-sheet-ios-h{--color:initial;--button-color-activated:var(--button-color);--button-color-focused:var(--button-color);--button-color-hover:var(--button-color);--button-color-selected:var(--button-color);--min-width:auto;--width:100%;--max-width:500px;--min-height:auto;--height:auto;--max-height:calc(100% - (var(--ion-safe-area-top) + var(--ion-safe-area-bottom)));-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;left:0;right:0;top:0;bottom:0;display:block;position:fixed;outline:none;font-family:var(--ion-font-family, inherit);touch-action:none;user-select:none;z-index:1001}.overlay-hidden.sc-ion-action-sheet-ios-h{display:none}.action-sheet-wrapper.sc-ion-action-sheet-ios{left:0;right:0;bottom:0;transform:translate3d(0, 100%, 0);display:block;position:absolute;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);z-index:10;pointer-events:none}.action-sheet-button.sc-ion-action-sheet-ios{display:block;position:relative;width:100%;border:0;outline:none;background:var(--button-background);color:var(--button-color);font-family:inherit;overflow:hidden}.action-sheet-button.sc-ion-action-sheet-ios:disabled{color:var(--button-color-disabled);opacity:0.4}.action-sheet-button-inner.sc-ion-action-sheet-ios{display:flex;position:relative;flex-flow:row nowrap;flex-shrink:0;align-items:center;justify-content:center;pointer-events:none;width:100%;height:100%;z-index:1}.action-sheet-container.sc-ion-action-sheet-ios{display:flex;flex-flow:column;justify-content:flex-end;height:100%;max-height:calc(100vh - (var(--ion-safe-area-top, 0) + var(--ion-safe-area-bottom, 0)));max-height:calc(100dvh - (var(--ion-safe-area-top, 0) + var(--ion-safe-area-bottom, 0)))}.action-sheet-group.sc-ion-action-sheet-ios{flex-shrink:2;overscroll-behavior-y:contain;overflow-y:auto;-webkit-overflow-scrolling:touch;pointer-events:all;background:var(--background)}@media (any-pointer: coarse){.action-sheet-group.sc-ion-action-sheet-ios::-webkit-scrollbar{display:none}}.action-sheet-group-cancel.sc-ion-action-sheet-ios{flex-shrink:0;overflow:hidden}.action-sheet-button.sc-ion-action-sheet-ios::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}.action-sheet-selected.sc-ion-action-sheet-ios{color:var(--button-color-selected)}.action-sheet-selected.sc-ion-action-sheet-ios::after{background:var(--button-background-selected);opacity:var(--button-background-selected-opacity)}.action-sheet-button.ion-activated.sc-ion-action-sheet-ios{color:var(--button-color-activated)}.action-sheet-button.ion-activated.sc-ion-action-sheet-ios::after{background:var(--button-background-activated);opacity:var(--button-background-activated-opacity)}.action-sheet-button.ion-focused.sc-ion-action-sheet-ios{color:var(--button-color-focused)}.action-sheet-button.ion-focused.sc-ion-action-sheet-ios::after{background:var(--button-background-focused);opacity:var(--button-background-focused-opacity)}@media (any-hover: hover){.action-sheet-button.sc-ion-action-sheet-ios:not(:disabled):hover{color:var(--button-color-hover)}.action-sheet-button.sc-ion-action-sheet-ios:not(:disabled):hover::after{background:var(--button-background-hover);opacity:var(--button-background-hover-opacity)}}.sc-ion-action-sheet-ios-h{--background:var(--ion-overlay-background-color, var(--ion-color-step-100, var(--ion-background-color-step-100, #f9f9f9)));--backdrop-opacity:var(--ion-backdrop-opacity, 0.4);--button-background:linear-gradient(0deg, rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.08), rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.08) 50%, transparent 50%) bottom/100% 1px no-repeat transparent;--button-background-activated:var(--ion-text-color, #000);--button-background-activated-opacity:.08;--button-background-hover:currentColor;--button-background-hover-opacity:.04;--button-background-focused:currentColor;--button-background-focused-opacity:.12;--button-background-selected:var(--ion-color-step-150, var(--ion-background-color-step-150, var(--ion-background-color, #fff)));--button-background-selected-opacity:1;--button-color:var(--ion-color-primary, #0054e9);--button-color-disabled:var(--ion-color-step-850, var(--ion-text-color-step-150, #262626));--color:var(--ion-color-step-400, var(--ion-text-color-step-600, #999999));text-align:center}.action-sheet-wrapper.sc-ion-action-sheet-ios{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:var(--ion-safe-area-top, 0);padding-bottom:var(--ion-safe-area-bottom, 0);box-sizing:content-box}.action-sheet-container.sc-ion-action-sheet-ios{-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px;padding-top:0;padding-bottom:0}.action-sheet-group.sc-ion-action-sheet-ios{border-radius:13px;margin-bottom:8px}.action-sheet-group.sc-ion-action-sheet-ios:first-child{margin-top:10px}.action-sheet-group.sc-ion-action-sheet-ios:last-child{margin-bottom:10px}@supports (backdrop-filter: blur(0)){.action-sheet-translucent.sc-ion-action-sheet-ios-h .action-sheet-group.sc-ion-action-sheet-ios{background-color:transparent;backdrop-filter:saturate(280%) blur(20px)}.action-sheet-translucent.sc-ion-action-sheet-ios-h .action-sheet-title.sc-ion-action-sheet-ios,.action-sheet-translucent.sc-ion-action-sheet-ios-h .action-sheet-button.sc-ion-action-sheet-ios{background-color:transparent;background-image:linear-gradient(0deg, rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8), rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8) 100%), linear-gradient(0deg, rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.4), rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.4) 50%, rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8) 50%);background-repeat:no-repeat;background-position:top, bottom;background-size:100% calc(100% - 1px), 100% 1px;backdrop-filter:saturate(120%)}.action-sheet-translucent.sc-ion-action-sheet-ios-h .action-sheet-button.ion-activated.sc-ion-action-sheet-ios{background-color:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.7);background-image:none}.action-sheet-translucent.sc-ion-action-sheet-ios-h .action-sheet-cancel.sc-ion-action-sheet-ios{background:var(--button-background-selected)}}.action-sheet-title.sc-ion-action-sheet-ios{background:linear-gradient(0deg, rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.08), rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.08) 50%, transparent 50%) bottom/100% 1px no-repeat transparent}.action-sheet-title.sc-ion-action-sheet-ios{-webkit-padding-start:10px;padding-inline-start:10px;-webkit-padding-end:10px;padding-inline-end:10px;padding-top:14px;padding-bottom:13px;color:var(--color, var(--ion-color-step-400, var(--ion-text-color-step-600, #999999)));font-size:max(13px, 0.8125rem);font-weight:400;text-align:center}.action-sheet-title.action-sheet-has-sub-title.sc-ion-action-sheet-ios{font-weight:600}.action-sheet-sub-title.sc-ion-action-sheet-ios{padding-left:0;padding-right:0;padding-top:6px;padding-bottom:0;font-size:max(13px, 0.8125rem);font-weight:400}.action-sheet-button.sc-ion-action-sheet-ios{-webkit-padding-start:14px;padding-inline-start:14px;-webkit-padding-end:14px;padding-inline-end:14px;padding-top:14px;padding-bottom:14px;min-height:56px;font-size:max(20px, 1.25rem);contain:content}.action-sheet-button.sc-ion-action-sheet-ios .action-sheet-icon.sc-ion-action-sheet-ios{-webkit-margin-end:0.3em;margin-inline-end:0.3em;font-size:max(28px, 1.75rem);pointer-events:none}.action-sheet-button.sc-ion-action-sheet-ios:last-child{background-image:none}.action-sheet-selected.sc-ion-action-sheet-ios{font-weight:bold}.action-sheet-cancel.sc-ion-action-sheet-ios{font-weight:600}.action-sheet-cancel.sc-ion-action-sheet-ios::after{background:var(--button-background-selected);opacity:var(--button-background-selected-opacity)}.action-sheet-destructive.sc-ion-action-sheet-ios,.action-sheet-destructive.ion-activated.sc-ion-action-sheet-ios,.action-sheet-destructive.ion-focused.sc-ion-action-sheet-ios{color:var(--ion-color-danger, #c5000f)}@media (any-hover: hover){.action-sheet-destructive.sc-ion-action-sheet-ios:hover{color:var(--ion-color-danger, #c5000f)}}`;
183
-
184
- const actionSheetMdCss = () => `.sc-ion-action-sheet-md-h{--color:initial;--button-color-activated:var(--button-color);--button-color-focused:var(--button-color);--button-color-hover:var(--button-color);--button-color-selected:var(--button-color);--min-width:auto;--width:100%;--max-width:500px;--min-height:auto;--height:auto;--max-height:calc(100% - (var(--ion-safe-area-top) + var(--ion-safe-area-bottom)));-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;left:0;right:0;top:0;bottom:0;display:block;position:fixed;outline:none;font-family:var(--ion-font-family, inherit);touch-action:none;user-select:none;z-index:1001}.overlay-hidden.sc-ion-action-sheet-md-h{display:none}.action-sheet-wrapper.sc-ion-action-sheet-md{left:0;right:0;bottom:0;transform:translate3d(0, 100%, 0);display:block;position:absolute;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);z-index:10;pointer-events:none}.action-sheet-button.sc-ion-action-sheet-md{display:block;position:relative;width:100%;border:0;outline:none;background:var(--button-background);color:var(--button-color);font-family:inherit;overflow:hidden}.action-sheet-button.sc-ion-action-sheet-md:disabled{color:var(--button-color-disabled);opacity:0.4}.action-sheet-button-inner.sc-ion-action-sheet-md{display:flex;position:relative;flex-flow:row nowrap;flex-shrink:0;align-items:center;justify-content:center;pointer-events:none;width:100%;height:100%;z-index:1}.action-sheet-container.sc-ion-action-sheet-md{display:flex;flex-flow:column;justify-content:flex-end;height:100%;max-height:calc(100vh - (var(--ion-safe-area-top, 0) + var(--ion-safe-area-bottom, 0)));max-height:calc(100dvh - (var(--ion-safe-area-top, 0) + var(--ion-safe-area-bottom, 0)))}.action-sheet-group.sc-ion-action-sheet-md{flex-shrink:2;overscroll-behavior-y:contain;overflow-y:auto;-webkit-overflow-scrolling:touch;pointer-events:all;background:var(--background)}@media (any-pointer: coarse){.action-sheet-group.sc-ion-action-sheet-md::-webkit-scrollbar{display:none}}.action-sheet-group-cancel.sc-ion-action-sheet-md{flex-shrink:0;overflow:hidden}.action-sheet-button.sc-ion-action-sheet-md::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}.action-sheet-selected.sc-ion-action-sheet-md{color:var(--button-color-selected)}.action-sheet-selected.sc-ion-action-sheet-md::after{background:var(--button-background-selected);opacity:var(--button-background-selected-opacity)}.action-sheet-button.ion-activated.sc-ion-action-sheet-md{color:var(--button-color-activated)}.action-sheet-button.ion-activated.sc-ion-action-sheet-md::after{background:var(--button-background-activated);opacity:var(--button-background-activated-opacity)}.action-sheet-button.ion-focused.sc-ion-action-sheet-md{color:var(--button-color-focused)}.action-sheet-button.ion-focused.sc-ion-action-sheet-md::after{background:var(--button-background-focused);opacity:var(--button-background-focused-opacity)}@media (any-hover: hover){.action-sheet-button.sc-ion-action-sheet-md:not(:disabled):hover{color:var(--button-color-hover)}.action-sheet-button.sc-ion-action-sheet-md:not(:disabled):hover::after{background:var(--button-background-hover);opacity:var(--button-background-hover-opacity)}}.sc-ion-action-sheet-md-h{--background:var(--ion-overlay-background-color, var(--ion-background-color, #fff));--backdrop-opacity:var(--ion-backdrop-opacity, 0.32);--button-background:transparent;--button-background-selected:currentColor;--button-background-selected-opacity:0;--button-background-activated:transparent;--button-background-activated-opacity:0;--button-background-hover:currentColor;--button-background-hover-opacity:.04;--button-background-focused:currentColor;--button-background-focused-opacity:.12;--button-color:var(--ion-color-step-850, var(--ion-text-color-step-150, #262626));--button-color-disabled:var(--button-color);--color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.54)}.action-sheet-wrapper.sc-ion-action-sheet-md{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:var(--ion-safe-area-top, 0);margin-bottom:0}.action-sheet-title.sc-ion-action-sheet-md{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:20px;padding-bottom:17px;min-height:60px;color:var(--color, rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.54));font-size:1rem;text-align:start}.action-sheet-sub-title.sc-ion-action-sheet-md{padding-left:0;padding-right:0;padding-top:16px;padding-bottom:0;font-size:0.875rem}.action-sheet-group.sc-ion-action-sheet-md:first-child{padding-top:0}.action-sheet-group.sc-ion-action-sheet-md:last-child{padding-bottom:var(--ion-safe-area-bottom)}.action-sheet-button.sc-ion-action-sheet-md{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:12px;padding-bottom:12px;position:relative;min-height:52px;font-size:1rem;text-align:start;contain:content;overflow:hidden}.action-sheet-icon.sc-ion-action-sheet-md{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:32px;margin-inline-end:32px;margin-top:0;margin-bottom:0;color:var(--color);font-size:1.5rem}.action-sheet-button-inner.sc-ion-action-sheet-md{justify-content:flex-start}.action-sheet-selected.sc-ion-action-sheet-md{font-weight:bold}`;
185
-
186
- const ActionSheet = class {
187
- constructor(hostRef) {
188
- index$1.registerInstance(this, hostRef);
189
- this.didPresent = index$1.createEvent(this, "ionActionSheetDidPresent", 7);
190
- this.willPresent = index$1.createEvent(this, "ionActionSheetWillPresent", 7);
191
- this.willDismiss = index$1.createEvent(this, "ionActionSheetWillDismiss", 7);
192
- this.didDismiss = index$1.createEvent(this, "ionActionSheetDidDismiss", 7);
193
- this.didPresentShorthand = index$1.createEvent(this, "didPresent", 7);
194
- this.willPresentShorthand = index$1.createEvent(this, "willPresent", 7);
195
- this.willDismissShorthand = index$1.createEvent(this, "willDismiss", 7);
196
- this.didDismissShorthand = index$1.createEvent(this, "didDismiss", 7);
197
- this.delegateController = overlays.createDelegateController(this);
198
- this.lockController = lockController.createLockController();
199
- this.triggerController = overlays.createTriggerController();
200
- this.hasRadioButtons = false;
201
- this.presented = false;
202
- /** @internal */
203
- this.hasController = false;
204
- /**
205
- * If `true`, the keyboard will be automatically dismissed when the overlay is presented.
206
- */
207
- this.keyboardClose = true;
208
- /**
209
- * An array of buttons for the action sheet.
210
- */
211
- this.buttons = [];
212
- /**
213
- * If `true`, the action sheet will be dismissed when the backdrop is clicked.
214
- */
215
- this.backdropDismiss = true;
216
- /**
217
- * If `true`, the action sheet will be translucent.
218
- * Only applies when the mode is `"ios"` and the device supports
219
- * [`backdrop-filter`](https://developer.mozilla.org/en-US/docs/Web/CSS/backdrop-filter#Browser_compatibility).
220
- */
221
- this.translucent = false;
222
- /**
223
- * If `true`, the action sheet will animate.
224
- */
225
- this.animated = true;
226
- /**
227
- * If `true`, the action sheet will open. If `false`, the action sheet will close.
228
- * Use this if you need finer grained control over presentation, otherwise
229
- * just use the actionSheetController or the `trigger` property.
230
- * Note: `isOpen` will not automatically be set back to `false` when
231
- * the action sheet dismisses. You will need to do that in your code.
232
- */
233
- this.isOpen = false;
234
- this.onBackdropTap = () => {
235
- this.dismiss(undefined, overlays.BACKDROP);
236
- };
237
- this.dispatchCancelHandler = (ev) => {
238
- const role = ev.detail.role;
239
- if (overlays.isCancel(role)) {
240
- const cancelButton = this.getButtons().find((b) => b.role === 'cancel');
241
- this.callButtonHandler(cancelButton);
242
- }
243
- };
244
- }
245
- buttonsChanged() {
246
- const radioButtons = this.getRadioButtons();
247
- this.hasRadioButtons = radioButtons.length > 0;
248
- // Initialize activeRadioId when buttons change
249
- if (this.hasRadioButtons) {
250
- const checkedButton = radioButtons.find((b) => { var _a; return ((_a = b.htmlAttributes) === null || _a === void 0 ? void 0 : _a['aria-checked']) === 'true'; });
251
- if (checkedButton) {
252
- const allButtons = this.getButtons();
253
- const checkedIndex = allButtons.indexOf(checkedButton);
254
- this.activeRadioId = this.getButtonId(checkedButton, checkedIndex);
255
- }
256
- }
257
- }
258
- onIsOpenChange(newValue, oldValue) {
259
- if (newValue === true && oldValue === false) {
260
- this.present();
261
- }
262
- else if (newValue === false && oldValue === true) {
263
- this.dismiss();
264
- }
265
- }
266
- triggerChanged() {
267
- const { trigger, el, triggerController } = this;
268
- if (trigger) {
269
- triggerController.addClickListener(el, trigger);
270
- }
271
- }
272
- /**
273
- * Present the action sheet overlay after it has been created.
274
- */
275
- async present() {
276
- const unlock = await this.lockController.lock();
277
- await this.delegateController.attachViewToDom();
278
- await overlays.present(this, 'actionSheetEnter', iosEnterAnimation$2, mdEnterAnimation$2);
279
- unlock();
280
- }
281
- /**
282
- * Dismiss the action sheet overlay after it has been presented.
283
- * This is a no-op if the overlay has not been presented yet. If you want
284
- * to remove an overlay from the DOM that was never presented, use the
285
- * [remove](https://developer.mozilla.org/en-US/docs/Web/API/Element/remove) method.
286
- *
287
- * @param data Any data to emit in the dismiss events.
288
- * @param role The role of the element that is dismissing the action sheet.
289
- * This can be useful in a button handler for determining which button was
290
- * clicked to dismiss the action sheet. Some examples include:
291
- * `"cancel"`, `"destructive"`, `"selected"`, and `"backdrop"`.
292
- */
293
- async dismiss(data, role) {
294
- const unlock = await this.lockController.lock();
295
- const dismissed = await overlays.dismiss(this, data, role, 'actionSheetLeave', iosLeaveAnimation$2, mdLeaveAnimation$2);
296
- if (dismissed) {
297
- this.delegateController.removeViewFromDom();
298
- }
299
- unlock();
300
- return dismissed;
301
- }
302
- /**
303
- * Returns a promise that resolves when the action sheet did dismiss.
304
- */
305
- onDidDismiss() {
306
- return overlays.eventMethod(this.el, 'ionActionSheetDidDismiss');
307
- }
308
- /**
309
- * Returns a promise that resolves when the action sheet will dismiss.
310
- *
311
- */
312
- onWillDismiss() {
313
- return overlays.eventMethod(this.el, 'ionActionSheetWillDismiss');
314
- }
315
- async buttonClick(button) {
316
- const role = button.role;
317
- if (overlays.isCancel(role)) {
318
- return this.dismiss(button.data, role);
319
- }
320
- const shouldDismiss = await this.callButtonHandler(button);
321
- if (shouldDismiss) {
322
- return this.dismiss(button.data, button.role);
323
- }
324
- return Promise.resolve();
325
- }
326
- async callButtonHandler(button) {
327
- if (button) {
328
- // a handler has been provided, execute it
329
- // pass the handler the values from the inputs
330
- const rtn = await overlays.safeCall(button.handler);
331
- if (rtn === false) {
332
- // if the return value of the handler is false then do not dismiss
333
- return false;
334
- }
335
- }
336
- return true;
337
- }
338
- /**
339
- * Get all buttons regardless of role.
340
- */
341
- getButtons() {
342
- return this.buttons.map((b) => {
343
- return typeof b === 'string' ? { text: b } : b;
344
- });
345
- }
346
- /**
347
- * Get all radio buttons (buttons with role="radio").
348
- */
349
- getRadioButtons() {
350
- return this.getButtons().filter((b) => {
351
- var _a;
352
- const role = (_a = b.htmlAttributes) === null || _a === void 0 ? void 0 : _a.role;
353
- return role === 'radio' && !overlays.isCancel(role);
354
- });
355
- }
356
- /**
357
- * Handle radio button selection and update aria-checked state.
358
- *
359
- * @param button The radio button that was selected.
360
- */
361
- selectRadioButton(button) {
362
- const buttonId = this.getButtonId(button);
363
- // Set the active radio ID (this will trigger a re-render and update aria-checked)
364
- this.activeRadioId = buttonId;
365
- }
366
- /**
367
- * Get or generate an ID for a button.
368
- *
369
- * @param button The button for which to get the ID.
370
- * @param index Optional index of the button in the buttons array.
371
- * @returns The ID of the button.
372
- */
373
- getButtonId(button, index) {
374
- if (button.id) {
375
- return button.id;
376
- }
377
- const allButtons = this.getButtons();
378
- const buttonIndex = index !== undefined ? index : allButtons.indexOf(button);
379
- return `action-sheet-button-${this.overlayIndex}-${buttonIndex}`;
380
- }
381
- /**
382
- * When the action sheet has radio buttons, we want to follow the
383
- * keyboard navigation pattern for radio groups:
384
- * - Arrow Down/Right: Move to the next radio button (wrap to first if at end)
385
- * - Arrow Up/Left: Move to the previous radio button (wrap to last if at start)
386
- * - Space/Enter: Select the focused radio button and trigger its handler
387
- */
388
- onKeydown(ev) {
389
- // Only handle keyboard navigation if we have radio buttons
390
- if (!this.hasRadioButtons || !this.presented) {
391
- return;
392
- }
393
- const target = ev.target;
394
- // Ignore if the target element is not within the action sheet or not a radio button
395
- if (!this.el.contains(target) ||
396
- !target.classList.contains('action-sheet-button') ||
397
- target.getAttribute('role') !== 'radio') {
398
- return;
399
- }
400
- // Get all radio button elements and filter out disabled ones
401
- const radios = Array.from(this.el.querySelectorAll('.action-sheet-button[role="radio"]')).filter((el) => !el.disabled);
402
- const currentIndex = radios.findIndex((radio) => radio.id === target.id);
403
- if (currentIndex === -1) {
404
- return;
405
- }
406
- const allButtons = this.getButtons();
407
- const radioButtons = this.getRadioButtons();
408
- /**
409
- * Build a map of button element IDs to their ActionSheetButton
410
- * config objects.
411
- * This allows us to quickly look up which button config corresponds
412
- * to a DOM element when handling keyboard navigation
413
- * (e.g., whenuser presses Space/Enter or arrow keys).
414
- * The key is the ID that was set on the DOM element during render,
415
- * and the value is the ActionSheetButton config that contains the
416
- * handler and other properties.
417
- */
418
- const buttonIdMap = new Map();
419
- radioButtons.forEach((b) => {
420
- const allIndex = allButtons.indexOf(b);
421
- const buttonId = this.getButtonId(b, allIndex);
422
- buttonIdMap.set(buttonId, b);
423
- });
424
- let nextEl;
425
- if (['ArrowDown', 'ArrowRight'].includes(ev.key)) {
426
- ev.preventDefault();
427
- ev.stopPropagation();
428
- nextEl = currentIndex === radios.length - 1 ? radios[0] : radios[currentIndex + 1];
429
- }
430
- else if (['ArrowUp', 'ArrowLeft'].includes(ev.key)) {
431
- ev.preventDefault();
432
- ev.stopPropagation();
433
- nextEl = currentIndex === 0 ? radios[radios.length - 1] : radios[currentIndex - 1];
434
- }
435
- else if (ev.key === ' ' || ev.key === 'Enter') {
436
- ev.preventDefault();
437
- ev.stopPropagation();
438
- const button = buttonIdMap.get(target.id);
439
- if (button) {
440
- this.selectRadioButton(button);
441
- this.buttonClick(button);
442
- }
443
- return;
444
- }
445
- // Focus the next radio button
446
- if (nextEl) {
447
- const button = buttonIdMap.get(nextEl.id);
448
- if (button) {
449
- this.selectRadioButton(button);
450
- nextEl.focus();
451
- }
452
- }
453
- }
454
- connectedCallback() {
455
- overlays.prepareOverlay(this.el);
456
- this.triggerChanged();
457
- }
458
- disconnectedCallback() {
459
- if (this.gesture) {
460
- this.gesture.destroy();
461
- this.gesture = undefined;
462
- }
463
- this.triggerController.removeClickListener();
464
- }
465
- componentWillLoad() {
466
- var _a;
467
- if (!((_a = this.htmlAttributes) === null || _a === void 0 ? void 0 : _a.id)) {
468
- overlays.setOverlayId(this.el);
469
- }
470
- // Initialize activeRadioId for radio buttons
471
- this.buttonsChanged();
472
- }
473
- componentDidLoad() {
474
- /**
475
- * Only create gesture if:
476
- * 1. A gesture does not already exist
477
- * 2. App is running in iOS mode
478
- * 3. A wrapper ref exists
479
- * 4. A group ref exists
480
- */
481
- const { groupEl, wrapperEl } = this;
482
- if (!this.gesture && ionicGlobal.getIonMode(this) === 'ios' && wrapperEl && groupEl) {
483
- index$1.readTask(() => {
484
- const isScrollable = groupEl.scrollHeight > groupEl.clientHeight;
485
- if (!isScrollable) {
486
- this.gesture = createButtonActiveGesture(wrapperEl, (refEl) => refEl.classList.contains('action-sheet-button'));
487
- this.gesture.enable(true);
488
- }
489
- });
490
- }
491
- /**
492
- * If action sheet was rendered with isOpen="true"
493
- * then we should open action sheet immediately.
494
- */
495
- if (this.isOpen === true) {
496
- helpers.raf(() => this.present());
497
- }
498
- /**
499
- * When binding values in frameworks such as Angular
500
- * it is possible for the value to be set after the Web Component
501
- * initializes but before the value watcher is set up in Stencil.
502
- * As a result, the watcher callback may not be fired.
503
- * We work around this by manually calling the watcher
504
- * callback when the component has loaded and the watcher
505
- * is configured.
506
- */
507
- this.triggerChanged();
508
- }
509
- renderActionSheetButtons(filteredButtons) {
510
- const mode = ionicGlobal.getIonMode(this);
511
- const { activeRadioId } = this;
512
- return filteredButtons.map((b, index) => {
513
- var _a;
514
- const isRadio = ((_a = b.htmlAttributes) === null || _a === void 0 ? void 0 : _a.role) === 'radio';
515
- const buttonId = this.getButtonId(b, index);
516
- const radioButtons = this.getRadioButtons();
517
- const isActiveRadio = isRadio && buttonId === activeRadioId;
518
- const isFirstRadio = isRadio && b === radioButtons[0];
519
- // For radio buttons, set tabindex: 0 for the active one, -1 for others
520
- // For non-radio buttons, use default tabindex (undefined, which means 0)
521
- /**
522
- * For radio buttons, set tabindex based on activeRadioId
523
- * - If the button is the active radio, tabindex is 0
524
- * - If no radio is active, the first radio button should have tabindex 0
525
- * - All other radio buttons have tabindex -1
526
- * For non-radio buttons, use default tabindex (undefined, which means 0)
527
- */
528
- let tabIndex;
529
- if (isRadio) {
530
- // Focus on the active radio button
531
- if (isActiveRadio) {
532
- tabIndex = 0;
533
- }
534
- else if (!activeRadioId && isFirstRadio) {
535
- // No active radio, first radio gets focus
536
- tabIndex = 0;
537
- }
538
- else {
539
- // All other radios are not focusable
540
- tabIndex = -1;
541
- }
542
- }
543
- else {
544
- tabIndex = undefined;
545
- }
546
- // For radio buttons, set aria-checked based on activeRadioId
547
- // Otherwise, use the value from htmlAttributes if provided
548
- const htmlAttrs = Object.assign({}, b.htmlAttributes);
549
- if (isRadio) {
550
- htmlAttrs['aria-checked'] = isActiveRadio ? 'true' : 'false';
551
- }
552
- return (index$1.h("button", Object.assign({}, htmlAttrs, { role: isRadio ? 'radio' : undefined, type: "button", id: buttonId, class: Object.assign(Object.assign({}, buttonClass$1(b)), { 'action-sheet-selected': isActiveRadio }), onClick: () => {
553
- if (isRadio) {
554
- this.selectRadioButton(b);
555
- }
556
- this.buttonClick(b);
557
- }, disabled: b.disabled, tabIndex: tabIndex }), index$1.h("span", { class: "action-sheet-button-inner" }, b.icon && index$1.h("ion-icon", { icon: b.icon, "aria-hidden": "true", lazy: false, class: "action-sheet-icon" }), b.text), mode === 'md' && index$1.h("ion-ripple-effect", null)));
558
- });
559
- }
560
- render() {
561
- const { header, htmlAttributes, overlayIndex, hasRadioButtons } = this;
562
- const mode = ionicGlobal.getIonMode(this);
563
- const allButtons = this.getButtons();
564
- const cancelButton = allButtons.find((b) => b.role === 'cancel');
565
- const buttons = allButtons.filter((b) => b.role !== 'cancel');
566
- const headerID = `action-sheet-${overlayIndex}-header`;
567
- return (index$1.h(index$1.Host, Object.assign({ key: '173fcff5b1da7c33c267de4667591c946b8c8d03', role: "dialog", "aria-modal": "true", "aria-labelledby": header !== undefined ? headerID : null, tabindex: "-1" }, htmlAttributes, { style: {
568
- zIndex: `${20000 + this.overlayIndex}`,
569
- }, class: Object.assign(Object.assign({ [mode]: true }, theme.getClassMap(this.cssClass)), { 'overlay-hidden': true, 'action-sheet-translucent': this.translucent }), onIonActionSheetWillDismiss: this.dispatchCancelHandler, onIonBackdropTap: this.onBackdropTap }), index$1.h("ion-backdrop", { key: '521ede659f747864f6c974e09016436eceb7158c', tappable: this.backdropDismiss }), index$1.h("div", { key: '7a7946fc434bc444f16a70638f5e948c69d33fcd', tabindex: "0", "aria-hidden": "true" }), index$1.h("div", { key: 'bcff39a580489dbafa255842e57aa8602c6d0f18', class: "action-sheet-wrapper ion-overlay-wrapper", ref: (el) => (this.wrapperEl = el) }, index$1.h("div", { key: '84bba13ce14261f0f0daa3f9c77648c9e7f36e0e', class: "action-sheet-container" }, index$1.h("div", { key: 'd9c8ac404fd6719a7adf8cb36549f67616f9a0c4', class: "action-sheet-group", ref: (el) => (this.groupEl = el), role: hasRadioButtons ? 'radiogroup' : undefined }, header !== undefined && (index$1.h("div", { key: '180433a8ad03ef5c54728a1a8f34715b6921d658', id: headerID, class: {
570
- 'action-sheet-title': true,
571
- 'action-sheet-has-sub-title': this.subHeader !== undefined,
572
- } }, header, this.subHeader && index$1.h("div", { key: '7138e79e61b1a8f42bc5a9175c57fa2f15d7ec5a', class: "action-sheet-sub-title" }, this.subHeader))), this.renderActionSheetButtons(buttons)), cancelButton && (index$1.h("div", { key: 'b617c722f5b8028d73ed34b69310f312c65f34a7', class: "action-sheet-group action-sheet-group-cancel" }, index$1.h("button", Object.assign({ key: 'd0dd876fc48815df3710413c201c0b445a8e16c0' }, cancelButton.htmlAttributes, { type: "button", class: buttonClass$1(cancelButton), onClick: () => this.buttonClick(cancelButton) }), index$1.h("span", { key: 'e7b960157cc6fc5fe92a12090b2be55e8ae072e4', class: "action-sheet-button-inner" }, cancelButton.icon && (index$1.h("ion-icon", { key: '05498ffc60cab911dbff0ecbc6168dea59ada9a5', icon: cancelButton.icon, "aria-hidden": "true", lazy: false, class: "action-sheet-icon" })), cancelButton.text), mode === 'md' && index$1.h("ion-ripple-effect", { key: '3d401346cea301be4ca03671f7370f6f4b0b6bde' })))))), index$1.h("div", { key: '971f3c5fcc07f36c28eb469a47ec0290c692e139', tabindex: "0", "aria-hidden": "true" })));
573
- }
574
- get el() { return index$1.getElement(this); }
575
- static get watchers() { return {
576
- "buttons": ["buttonsChanged"],
577
- "isOpen": ["onIsOpenChange"],
578
- "trigger": ["triggerChanged"]
579
- }; }
580
- };
581
- const buttonClass$1 = (button) => {
582
- return Object.assign({ 'action-sheet-button': true, 'ion-activatable': !button.disabled, 'ion-focusable': !button.disabled, [`action-sheet-${button.role}`]: button.role !== undefined }, theme.getClassMap(button.cssClass));
583
- };
584
- ActionSheet.style = {
585
- ios: actionSheetIosCss(),
586
- md: actionSheetMdCss()
587
- };
588
-
589
- /*!
590
- * (C) Ionic http://ionicframework.com - MIT License
591
- */
592
- /**
593
- * iOS Alert Enter Animation
594
- */
595
- const iosEnterAnimation$1 = (baseEl) => {
596
- const baseAnimation = animation.createAnimation();
597
- const backdropAnimation = animation.createAnimation();
598
- const wrapperAnimation = animation.createAnimation();
599
- backdropAnimation
600
- .addElement(baseEl.querySelector('ion-backdrop'))
601
- .fromTo('opacity', 0.01, 'var(--backdrop-opacity)')
602
- .beforeStyles({
603
- 'pointer-events': 'none',
604
- })
605
- .afterClearStyles(['pointer-events']);
606
- wrapperAnimation.addElement(baseEl.querySelector('.alert-wrapper')).keyframes([
607
- { offset: 0, opacity: '0.01', transform: 'scale(1.1)' },
608
- { offset: 1, opacity: '1', transform: 'scale(1)' },
609
- ]);
610
- return baseAnimation
611
- .addElement(baseEl)
612
- .easing('ease-in-out')
613
- .duration(200)
614
- .addAnimation([backdropAnimation, wrapperAnimation]);
615
- };
616
-
617
- /*!
618
- * (C) Ionic http://ionicframework.com - MIT License
619
- */
620
- /**
621
- * iOS Alert Leave Animation
622
- */
623
- const iosLeaveAnimation$1 = (baseEl) => {
624
- const baseAnimation = animation.createAnimation();
625
- const backdropAnimation = animation.createAnimation();
626
- const wrapperAnimation = animation.createAnimation();
627
- backdropAnimation.addElement(baseEl.querySelector('ion-backdrop')).fromTo('opacity', 'var(--backdrop-opacity)', 0);
628
- wrapperAnimation.addElement(baseEl.querySelector('.alert-wrapper')).keyframes([
629
- { offset: 0, opacity: 0.99, transform: 'scale(1)' },
630
- { offset: 1, opacity: 0, transform: 'scale(0.9)' },
631
- ]);
632
- return baseAnimation
633
- .addElement(baseEl)
634
- .easing('ease-in-out')
635
- .duration(200)
636
- .addAnimation([backdropAnimation, wrapperAnimation]);
637
- };
638
-
639
- /*!
640
- * (C) Ionic http://ionicframework.com - MIT License
641
- */
642
- /**
643
- * Md Alert Enter Animation
644
- */
645
- const mdEnterAnimation$1 = (baseEl) => {
646
- const baseAnimation = animation.createAnimation();
647
- const backdropAnimation = animation.createAnimation();
648
- const wrapperAnimation = animation.createAnimation();
649
- backdropAnimation
650
- .addElement(baseEl.querySelector('ion-backdrop'))
651
- .fromTo('opacity', 0.01, 'var(--backdrop-opacity)')
652
- .beforeStyles({
653
- 'pointer-events': 'none',
654
- })
655
- .afterClearStyles(['pointer-events']);
656
- wrapperAnimation.addElement(baseEl.querySelector('.alert-wrapper')).keyframes([
657
- { offset: 0, opacity: '0.01', transform: 'scale(0.9)' },
658
- { offset: 1, opacity: '1', transform: 'scale(1)' },
659
- ]);
660
- return baseAnimation
661
- .addElement(baseEl)
662
- .easing('ease-in-out')
663
- .duration(150)
664
- .addAnimation([backdropAnimation, wrapperAnimation]);
665
- };
666
-
667
- /*!
668
- * (C) Ionic http://ionicframework.com - MIT License
669
- */
670
- /**
671
- * Md Alert Leave Animation
672
- */
673
- const mdLeaveAnimation$1 = (baseEl) => {
674
- const baseAnimation = animation.createAnimation();
675
- const backdropAnimation = animation.createAnimation();
676
- const wrapperAnimation = animation.createAnimation();
677
- backdropAnimation.addElement(baseEl.querySelector('ion-backdrop')).fromTo('opacity', 'var(--backdrop-opacity)', 0);
678
- wrapperAnimation.addElement(baseEl.querySelector('.alert-wrapper')).fromTo('opacity', 0.99, 0);
679
- return baseAnimation
680
- .addElement(baseEl)
681
- .easing('ease-in-out')
682
- .duration(150)
683
- .addAnimation([backdropAnimation, wrapperAnimation]);
684
- };
685
-
686
- const alertIosCss = () => `.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:flex;position:absolute;align-items:center;justify-content:center;outline:none;font-family:var(--ion-font-family, inherit);contain:strict;touch-action: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;align-items:flex-start}.alert-wrapper.sc-ion-alert-ios{display:flex;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{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;box-sizing:border-box}.alert-button-group.sc-ion-alert-ios{display:flex;flex-direction:row;width:100%}.alert-button-group-vertical.sc-ion-alert-ios{flex-direction:column;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:flex;flex-flow:row nowrap;flex-shrink:0;align-items: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:flex;width:100%;border:0;background:transparent;font-size:inherit;line-height:initial;text-align:start;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{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;box-shadow:none;overflow:hidden}.alert-button.sc-ion-alert-ios .alert-button-inner.sc-ion-alert-ios{pointer-events:none}@supports (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);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);appearance:none;font-size:1rem}.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{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;flex:1;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;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;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;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);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;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;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)}`;
687
-
688
- const alertMdCss = () => `.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:flex;position:absolute;align-items:center;justify-content:center;outline:none;font-family:var(--ion-font-family, inherit);contain:strict;touch-action: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;align-items:flex-start}.alert-wrapper.sc-ion-alert-md{display:flex;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{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;box-sizing:border-box}.alert-button-group.sc-ion-alert-md{display:flex;flex-direction:row;width:100%}.alert-button-group-vertical.sc-ion-alert-md{flex-direction:column;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:flex;flex-flow:row nowrap;flex-shrink:0;align-items: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:flex;width:100%;border:0;background:transparent;font-size:inherit;line-height:initial;text-align:start;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{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;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::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;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;transform:scale3d(0, 0, 0);transition: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{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;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;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;box-sizing:border-box;flex-wrap:wrap-reverse;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{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)}}`;
689
-
690
- const Alert = class {
691
- constructor(hostRef) {
692
- index$1.registerInstance(this, hostRef);
693
- this.didPresent = index$1.createEvent(this, "ionAlertDidPresent", 7);
694
- this.willPresent = index$1.createEvent(this, "ionAlertWillPresent", 7);
695
- this.willDismiss = index$1.createEvent(this, "ionAlertWillDismiss", 7);
696
- this.didDismiss = index$1.createEvent(this, "ionAlertDidDismiss", 7);
697
- this.didPresentShorthand = index$1.createEvent(this, "didPresent", 7);
698
- this.willPresentShorthand = index$1.createEvent(this, "willPresent", 7);
699
- this.willDismissShorthand = index$1.createEvent(this, "willDismiss", 7);
700
- this.didDismissShorthand = index$1.createEvent(this, "didDismiss", 7);
701
- this.delegateController = overlays.createDelegateController(this);
702
- this.lockController = lockController.createLockController();
703
- this.triggerController = overlays.createTriggerController();
704
- this.customHTMLEnabled = index$1.config.get('innerHTMLTemplatesEnabled', config.ENABLE_HTML_CONTENT_DEFAULT);
705
- this.processedInputs = [];
706
- this.processedButtons = [];
707
- this.presented = false;
708
- /** @internal */
709
- this.hasController = false;
710
- /**
711
- * If `true`, the keyboard will be automatically dismissed when the overlay is presented.
712
- */
713
- this.keyboardClose = true;
714
- /**
715
- * Array of buttons to be added to the alert.
716
- */
717
- this.buttons = [];
718
- /**
719
- * Array of input to show in the alert.
720
- */
721
- this.inputs = [];
722
- /**
723
- * If `true`, the alert will be dismissed when the backdrop is clicked.
724
- */
725
- this.backdropDismiss = true;
726
- /**
727
- * If `true`, the alert will be translucent.
728
- * Only applies when the mode is `"ios"` and the device supports
729
- * [`backdrop-filter`](https://developer.mozilla.org/en-US/docs/Web/CSS/backdrop-filter#Browser_compatibility).
730
- */
731
- this.translucent = false;
732
- /**
733
- * If `true`, the alert will animate.
734
- */
735
- this.animated = true;
736
- /**
737
- * If `true`, the alert will open. If `false`, the alert will close.
738
- * Use this if you need finer grained control over presentation, otherwise
739
- * just use the alertController or the `trigger` property.
740
- * Note: `isOpen` will not automatically be set back to `false` when
741
- * the alert dismisses. You will need to do that in your code.
742
- */
743
- this.isOpen = false;
744
- this.onBackdropTap = () => {
745
- this.dismiss(undefined, overlays.BACKDROP);
746
- };
747
- this.dispatchCancelHandler = (ev) => {
748
- const role = ev.detail.role;
749
- if (overlays.isCancel(role)) {
750
- const cancelButton = this.processedButtons.find((b) => b.role === 'cancel');
751
- this.callButtonHandler(cancelButton);
752
- }
753
- };
754
- }
755
- onIsOpenChange(newValue, oldValue) {
756
- if (newValue === true && oldValue === false) {
757
- this.present();
758
- }
759
- else if (newValue === false && oldValue === true) {
760
- this.dismiss();
761
- }
762
- }
763
- triggerChanged() {
764
- const { trigger, el, triggerController } = this;
765
- if (trigger) {
766
- triggerController.addClickListener(el, trigger);
767
- }
768
- }
769
- onKeydown(ev) {
770
- var _a;
771
- const inputTypes = new Set(this.processedInputs.map((i) => i.type));
772
- /**
773
- * Based on keyboard navigation requirements, the
774
- * checkbox should not respond to the enter keydown event.
775
- */
776
- if (inputTypes.has('checkbox') && ev.key === 'Enter') {
777
- ev.preventDefault();
778
- return;
779
- }
780
- /**
781
- * 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.
782
- */
783
- if (ev.target.classList.contains('alert-wrapper')) {
784
- if (ev.key === 'Tab' && ev.shiftKey) {
785
- ev.preventDefault();
786
- const lastChildBtn = (_a = this.wrapperEl) === null || _a === void 0 ? void 0 : _a.querySelector('.alert-button:last-child');
787
- lastChildBtn.focus();
788
- return;
789
- }
790
- }
791
- // The only inputs we want to navigate between using arrow keys are the radios
792
- // ignore the keydown event if it is not on a radio button
793
- if (!inputTypes.has('radio') ||
794
- (ev.target && !this.el.contains(ev.target)) ||
795
- ev.target.classList.contains('alert-button')) {
796
- return;
797
- }
798
- // Get all radios inside of the radio group and then
799
- // filter out disabled radios since we need to skip those
800
- const query = this.el.querySelectorAll('.alert-radio');
801
- const radios = Array.from(query).filter((radio) => !radio.disabled);
802
- // The focused radio is the one that shares the same id as
803
- // the event target
804
- const index = radios.findIndex((radio) => radio.id === ev.target.id);
805
- // We need to know what the next radio element should
806
- // be in order to change the focus
807
- let nextEl;
808
- // If hitting arrow down or arrow right, move to the next radio
809
- // If we're on the last radio, move to the first radio
810
- if (['ArrowDown', 'ArrowRight'].includes(ev.key)) {
811
- nextEl = index === radios.length - 1 ? radios[0] : radios[index + 1];
812
- }
813
- // If hitting arrow up or arrow left, move to the previous radio
814
- // If we're on the first radio, move to the last radio
815
- if (['ArrowUp', 'ArrowLeft'].includes(ev.key)) {
816
- nextEl = index === 0 ? radios[radios.length - 1] : radios[index - 1];
817
- }
818
- if (nextEl && radios.includes(nextEl)) {
819
- const nextProcessed = this.processedInputs.find((input) => input.id === (nextEl === null || nextEl === void 0 ? void 0 : nextEl.id));
820
- if (nextProcessed) {
821
- this.rbClick(nextProcessed);
822
- nextEl.focus();
823
- }
824
- }
825
- }
826
- buttonsChanged() {
827
- const buttons = this.buttons;
828
- this.processedButtons = buttons.map((btn) => {
829
- return typeof btn === 'string' ? { text: btn, role: btn.toLowerCase() === 'cancel' ? 'cancel' : undefined } : btn;
830
- });
831
- }
832
- inputsChanged() {
833
- const inputs = this.inputs;
834
- // Get the first input that is not disabled and the checked one
835
- // If an enabled checked input exists, set it to be the focusable input
836
- // otherwise we default to focus the first input
837
- // This will only be used when the input is type radio
838
- const first = inputs.find((input) => !input.disabled);
839
- const checked = inputs.find((input) => input.checked && !input.disabled);
840
- const focusable = checked || first;
841
- // An alert can be created with several different inputs. Radios,
842
- // checkboxes and inputs are all accepted, but they cannot be mixed.
843
- const inputTypes = new Set(inputs.map((i) => i.type));
844
- if (inputTypes.has('checkbox') && inputTypes.has('radio')) {
845
- index$1.printIonWarning(`[ion-alert] - Alert cannot mix input types: ${Array.from(inputTypes.values()).join('/')}. Please see alert docs for more info.`);
846
- }
847
- this.inputType = inputTypes.values().next().value;
848
- this.processedInputs = inputs.map((i, index) => {
849
- var _a;
850
- return ({
851
- type: i.type || 'text',
852
- name: i.name || `${index}`,
853
- placeholder: i.placeholder || '',
854
- value: i.value,
855
- label: i.label,
856
- checked: !!i.checked,
857
- disabled: !!i.disabled,
858
- id: i.id || `alert-input-${this.overlayIndex}-${index}`,
859
- handler: i.handler,
860
- min: i.min,
861
- max: i.max,
862
- cssClass: (_a = i.cssClass) !== null && _a !== void 0 ? _a : '',
863
- attributes: i.attributes || {},
864
- tabindex: i.type === 'radio' && i !== focusable ? -1 : 0,
865
- });
866
- });
867
- }
868
- connectedCallback() {
869
- overlays.prepareOverlay(this.el);
870
- this.triggerChanged();
871
- }
872
- componentWillLoad() {
873
- var _a;
874
- if (!((_a = this.htmlAttributes) === null || _a === void 0 ? void 0 : _a.id)) {
875
- overlays.setOverlayId(this.el);
876
- }
877
- this.inputsChanged();
878
- this.buttonsChanged();
879
- }
880
- disconnectedCallback() {
881
- this.triggerController.removeClickListener();
882
- if (this.gesture) {
883
- this.gesture.destroy();
884
- this.gesture = undefined;
885
- }
886
- }
887
- componentDidLoad() {
888
- /**
889
- * Only create gesture if:
890
- * 1. A gesture does not already exist
891
- * 2. App is running in iOS mode
892
- * 3. A wrapper ref exists
893
- */
894
- if (!this.gesture && ionicGlobal.getIonMode(this) === 'ios' && this.wrapperEl) {
895
- this.gesture = createButtonActiveGesture(this.wrapperEl, (refEl) => refEl.classList.contains('alert-button'));
896
- this.gesture.enable(true);
897
- }
898
- /**
899
- * If alert was rendered with isOpen="true"
900
- * then we should open alert immediately.
901
- */
902
- if (this.isOpen === true) {
903
- helpers.raf(() => this.present());
904
- }
905
- /**
906
- * When binding values in frameworks such as Angular
907
- * it is possible for the value to be set after the Web Component
908
- * initializes but before the value watcher is set up in Stencil.
909
- * As a result, the watcher callback may not be fired.
910
- * We work around this by manually calling the watcher
911
- * callback when the component has loaded and the watcher
912
- * is configured.
913
- */
914
- this.triggerChanged();
915
- }
916
- /**
917
- * Present the alert overlay after it has been created.
918
- */
919
- async present() {
920
- const unlock = await this.lockController.lock();
921
- await this.delegateController.attachViewToDom();
922
- await overlays.present(this, 'alertEnter', iosEnterAnimation$1, mdEnterAnimation$1).then(() => {
923
- var _a, _b;
924
- /**
925
- * Check if alert has only one button and no inputs.
926
- * If so, then focus on the button. Otherwise, focus the alert wrapper.
927
- * This will map to the default native alert behavior.
928
- */
929
- if (this.buttons.length === 1 && this.inputs.length === 0) {
930
- const queryBtn = (_a = this.wrapperEl) === null || _a === void 0 ? void 0 : _a.querySelector('.alert-button');
931
- queryBtn.focus();
932
- }
933
- else {
934
- (_b = this.wrapperEl) === null || _b === void 0 ? void 0 : _b.focus();
935
- }
936
- });
937
- unlock();
938
- }
939
- /**
940
- * Dismiss the alert overlay after it has been presented.
941
- * This is a no-op if the overlay has not been presented yet. If you want
942
- * to remove an overlay from the DOM that was never presented, use the
943
- * [remove](https://developer.mozilla.org/en-US/docs/Web/API/Element/remove) method.
944
- *
945
- * @param data Any data to emit in the dismiss events.
946
- * @param role The role of the element that is dismissing the alert.
947
- * This can be useful in a button handler for determining which button was
948
- * clicked to dismiss the alert. Some examples include:
949
- * `"cancel"`, `"destructive"`, `"selected"`, and `"backdrop"`.
950
- */
951
- async dismiss(data, role) {
952
- const unlock = await this.lockController.lock();
953
- const dismissed = await overlays.dismiss(this, data, role, 'alertLeave', iosLeaveAnimation$1, mdLeaveAnimation$1);
954
- if (dismissed) {
955
- this.delegateController.removeViewFromDom();
956
- }
957
- unlock();
958
- return dismissed;
959
- }
960
- /**
961
- * Returns a promise that resolves when the alert did dismiss.
962
- */
963
- onDidDismiss() {
964
- return overlays.eventMethod(this.el, 'ionAlertDidDismiss');
965
- }
966
- /**
967
- * Returns a promise that resolves when the alert will dismiss.
968
- */
969
- onWillDismiss() {
970
- return overlays.eventMethod(this.el, 'ionAlertWillDismiss');
971
- }
972
- rbClick(selectedInput) {
973
- for (const input of this.processedInputs) {
974
- input.checked = input === selectedInput;
975
- input.tabindex = input === selectedInput ? 0 : -1;
976
- }
977
- this.activeId = selectedInput.id;
978
- overlays.safeCall(selectedInput.handler, selectedInput);
979
- index$1.forceUpdate(this);
980
- }
981
- cbClick(selectedInput) {
982
- selectedInput.checked = !selectedInput.checked;
983
- overlays.safeCall(selectedInput.handler, selectedInput);
984
- index$1.forceUpdate(this);
985
- }
986
- async buttonClick(button) {
987
- const role = button.role;
988
- const values = this.getValues();
989
- if (overlays.isCancel(role)) {
990
- return this.dismiss({ values }, role);
991
- }
992
- const returnData = await this.callButtonHandler(button, values);
993
- if (returnData !== false) {
994
- return this.dismiss(Object.assign({ values }, returnData), button.role);
995
- }
996
- return false;
997
- }
998
- async callButtonHandler(button, data) {
999
- if (button === null || button === void 0 ? void 0 : button.handler) {
1000
- // a handler has been provided, execute it
1001
- // pass the handler the values from the inputs
1002
- const returnData = await overlays.safeCall(button.handler, data);
1003
- if (returnData === false) {
1004
- // if the return value of the handler is false then do not dismiss
1005
- return false;
1006
- }
1007
- if (typeof returnData === 'object') {
1008
- return returnData;
1009
- }
1010
- }
1011
- return {};
1012
- }
1013
- getValues() {
1014
- if (this.processedInputs.length === 0) {
1015
- // this is an alert without any options/inputs at all
1016
- return undefined;
1017
- }
1018
- if (this.inputType === 'radio') {
1019
- // this is an alert with radio buttons (single value select)
1020
- // return the one value which is checked, otherwise undefined
1021
- const checkedInput = this.processedInputs.find((i) => !!i.checked);
1022
- return checkedInput ? checkedInput.value : undefined;
1023
- }
1024
- if (this.inputType === 'checkbox') {
1025
- // this is an alert with checkboxes (multiple value select)
1026
- // return an array of all the checked values
1027
- return this.processedInputs.filter((i) => i.checked).map((i) => i.value);
1028
- }
1029
- // this is an alert with text inputs
1030
- // return an object of all the values with the input name as the key
1031
- const values = {};
1032
- this.processedInputs.forEach((i) => {
1033
- values[i.name] = i.value || '';
1034
- });
1035
- return values;
1036
- }
1037
- renderAlertInputs() {
1038
- switch (this.inputType) {
1039
- case 'checkbox':
1040
- return this.renderCheckbox();
1041
- case 'radio':
1042
- return this.renderRadio();
1043
- default:
1044
- return this.renderInput();
1045
- }
1046
- }
1047
- renderCheckbox() {
1048
- const inputs = this.processedInputs;
1049
- const mode = ionicGlobal.getIonMode(this);
1050
- if (inputs.length === 0) {
1051
- return null;
1052
- }
1053
- return (index$1.h("div", { class: "alert-checkbox-group" }, inputs.map((i) => (index$1.h("button", { type: "button", onClick: () => this.cbClick(i), "aria-checked": `${i.checked}`, id: i.id, disabled: i.disabled, tabIndex: i.tabindex, role: "checkbox", class: Object.assign(Object.assign({}, theme.getClassMap(i.cssClass)), { 'alert-tappable': true, 'alert-checkbox': true, 'alert-checkbox-button': true, 'ion-focusable': true, 'alert-checkbox-button-disabled': i.disabled || false }) }, index$1.h("div", { class: "alert-button-inner" }, index$1.h("div", { class: "alert-checkbox-icon" }, index$1.h("div", { class: "alert-checkbox-inner" })), index$1.h("div", { class: "alert-checkbox-label" }, i.label)), mode === 'md' && index$1.h("ion-ripple-effect", null))))));
1054
- }
1055
- renderRadio() {
1056
- const inputs = this.processedInputs;
1057
- if (inputs.length === 0) {
1058
- return null;
1059
- }
1060
- return (index$1.h("div", { class: "alert-radio-group", role: "radiogroup", "aria-activedescendant": this.activeId }, inputs.map((i) => (index$1.h("button", { type: "button", onClick: () => this.rbClick(i), "aria-checked": `${i.checked}`, disabled: i.disabled, id: i.id, tabIndex: i.tabindex, class: Object.assign(Object.assign({}, theme.getClassMap(i.cssClass)), { 'alert-radio-button': true, 'alert-tappable': true, 'alert-radio': true, 'ion-focusable': true, 'alert-radio-button-disabled': i.disabled || false }), role: "radio" }, index$1.h("div", { class: "alert-button-inner" }, index$1.h("div", { class: "alert-radio-icon" }, index$1.h("div", { class: "alert-radio-inner" })), index$1.h("div", { class: "alert-radio-label" }, i.label)))))));
1061
- }
1062
- renderInput() {
1063
- const inputs = this.processedInputs;
1064
- if (inputs.length === 0) {
1065
- return null;
1066
- }
1067
- return (index$1.h("div", { class: "alert-input-group" }, inputs.map((i) => {
1068
- var _a, _b, _c, _d;
1069
- if (i.type === 'textarea') {
1070
- return (index$1.h("div", { class: "alert-input-wrapper" }, index$1.h("textarea", Object.assign({ placeholder: i.placeholder, value: i.value, id: i.id, tabIndex: i.tabindex }, i.attributes, { disabled: (_b = (_a = i.attributes) === null || _a === void 0 ? void 0 : _a.disabled) !== null && _b !== void 0 ? _b : i.disabled, class: inputClass(i), onInput: (e) => {
1071
- var _a;
1072
- i.value = e.target.value;
1073
- if ((_a = i.attributes) === null || _a === void 0 ? void 0 : _a.onInput) {
1074
- i.attributes.onInput(e);
1075
- }
1076
- } }))));
1077
- }
1078
- else {
1079
- return (index$1.h("div", { class: "alert-input-wrapper" }, index$1.h("input", Object.assign({ placeholder: i.placeholder, type: i.type, min: i.min, max: i.max, value: i.value, id: i.id, tabIndex: i.tabindex }, i.attributes, { disabled: (_d = (_c = i.attributes) === null || _c === void 0 ? void 0 : _c.disabled) !== null && _d !== void 0 ? _d : i.disabled, class: inputClass(i), onInput: (e) => {
1080
- var _a;
1081
- i.value = e.target.value;
1082
- if ((_a = i.attributes) === null || _a === void 0 ? void 0 : _a.onInput) {
1083
- i.attributes.onInput(e);
1084
- }
1085
- } }))));
1086
- }
1087
- })));
1088
- }
1089
- renderAlertButtons() {
1090
- const buttons = this.processedButtons;
1091
- const mode = ionicGlobal.getIonMode(this);
1092
- const alertButtonGroupClass = {
1093
- 'alert-button-group': true,
1094
- 'alert-button-group-vertical': buttons.length > 2,
1095
- };
1096
- return (index$1.h("div", { class: alertButtonGroupClass }, buttons.map((button) => (index$1.h("button", Object.assign({}, button.htmlAttributes, { type: "button", id: button.id, class: buttonClass(button), tabIndex: 0, onClick: () => this.buttonClick(button) }), index$1.h("span", { class: "alert-button-inner" }, button.text), mode === 'md' && index$1.h("ion-ripple-effect", null))))));
1097
- }
1098
- renderAlertMessage(msgId) {
1099
- const { customHTMLEnabled, message } = this;
1100
- if (customHTMLEnabled) {
1101
- return index$1.h("div", { id: msgId, class: "alert-message", innerHTML: config.sanitizeDOMString(message) });
1102
- }
1103
- return (index$1.h("div", { id: msgId, class: "alert-message" }, message));
1104
- }
1105
- render() {
1106
- const { overlayIndex, header, subHeader, message, htmlAttributes } = this;
1107
- const mode = ionicGlobal.getIonMode(this);
1108
- const hdrId = `alert-${overlayIndex}-hdr`;
1109
- const msgId = `alert-${overlayIndex}-msg`;
1110
- const subHdrId = `alert-${overlayIndex}-sub-hdr`;
1111
- const role = this.inputs.length > 0 || this.buttons.length > 0 ? 'alertdialog' : 'alert';
1112
- /**
1113
- * Use both the header and subHeader ids if they are defined.
1114
- * If only the header is defined, use the header id.
1115
- * If only the subHeader is defined, use the subHeader id.
1116
- * If neither are defined, do not set aria-labelledby.
1117
- */
1118
- const ariaLabelledBy = header && subHeader ? `${hdrId} ${subHdrId}` : header ? hdrId : subHeader ? subHdrId : null;
1119
- return (index$1.h(index$1.Host, { key: '6025440b9cd369d4fac89e7e4296c84a10a0b8e0', tabindex: "-1", style: {
1120
- zIndex: `${20000 + overlayIndex}`,
1121
- }, class: Object.assign(Object.assign({}, theme.getClassMap(this.cssClass)), { [mode]: true, 'overlay-hidden': true, 'alert-translucent': this.translucent }), onIonAlertWillDismiss: this.dispatchCancelHandler, onIonBackdropTap: this.onBackdropTap }, index$1.h("ion-backdrop", { key: '3cd5ca8b99cb95b11dd22ab41a820d841142896f', tappable: this.backdropDismiss }), index$1.h("div", { key: '4cc62ae6e21424057d22aeef1e8fc77011e77cd5', tabindex: "0", "aria-hidden": "true" }), index$1.h("div", Object.assign({ key: '364057a69f25aa88904df17bdcf7e5bf714e7830', 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), index$1.h("div", { key: '78694e3c0db2d408df3899fb1a90859bcc8d14cc', class: "alert-head" }, header && (index$1.h("h2", { key: 'ec88ff3e4e1ea871b5975133fdcf4cac38b05e0f', id: hdrId, class: "alert-title" }, header)), subHeader && !header && (index$1.h("h2", { key: '9b09bc8bb68af255ef8b7d22587acc946148e544', id: subHdrId, class: "alert-sub-title" }, subHeader)), subHeader && header && (index$1.h("h3", { key: '99abe815f75d2df7f1b77c0df9f3436724fea76f', id: subHdrId, class: "alert-sub-title" }, subHeader))), this.renderAlertMessage(msgId), this.renderAlertInputs(), this.renderAlertButtons()), index$1.h("div", { key: 'a43d0c22c0e46b1ef911f92ffeb253d7911b85f7', tabindex: "0", "aria-hidden": "true" })));
1122
- }
1123
- get el() { return index$1.getElement(this); }
1124
- static get watchers() { return {
1125
- "isOpen": ["onIsOpenChange"],
1126
- "trigger": ["triggerChanged"],
1127
- "buttons": ["buttonsChanged"],
1128
- "inputs": ["inputsChanged"]
1129
- }; }
1130
- };
1131
- const inputClass = (input) => {
1132
- var _a, _b, _c;
1133
- return Object.assign(Object.assign({ 'alert-input': true, 'alert-input-disabled': ((_b = (_a = input.attributes) === null || _a === void 0 ? void 0 : _a.disabled) !== null && _b !== void 0 ? _b : input.disabled) || false }, theme.getClassMap(input.cssClass)), theme.getClassMap(input.attributes ? (_c = input.attributes.class) === null || _c === void 0 ? void 0 : _c.toString() : ''));
1134
- };
1135
- const buttonClass = (button) => {
1136
- return Object.assign({ 'alert-button': true, 'ion-focusable': true, 'ion-activatable': true, [`alert-button-role-${button.role}`]: button.role !== undefined }, theme.getClassMap(button.cssClass));
1137
- };
1138
- Alert.style = {
1139
- ios: alertIosCss(),
1140
- md: alertMdCss()
1141
- };
1142
-
1143
- /*!
1144
- * (C) Ionic http://ionicframework.com - MIT License
1145
- */
1146
- var Style;
1147
- (function (Style) {
1148
- Style["Dark"] = "DARK";
1149
- Style["Light"] = "LIGHT";
1150
- Style["Default"] = "DEFAULT";
1151
- })(Style || (Style = {}));
1152
- const StatusBar = {
1153
- getEngine() {
1154
- const capacitor$1 = capacitor.getCapacitor();
1155
- if (capacitor$1 === null || capacitor$1 === void 0 ? void 0 : capacitor$1.isPluginAvailable('StatusBar')) {
1156
- return capacitor$1.Plugins.StatusBar;
1157
- }
1158
- return undefined;
1159
- },
1160
- setStyle(options) {
1161
- const engine = this.getEngine();
1162
- if (!engine) {
1163
- return;
1164
- }
1165
- engine.setStyle(options);
1166
- },
1167
- getStyle: async function () {
1168
- const engine = this.getEngine();
1169
- if (!engine) {
1170
- return Style.Default;
1171
- }
1172
- const { style } = await engine.getInfo();
1173
- return style;
1174
- },
1175
- };
1176
-
1177
- /*!
1178
- * (C) Ionic http://ionicframework.com - MIT License
1179
- */
1180
- /**
1181
- * Use y = mx + b to
1182
- * figure out the backdrop value
1183
- * at a particular x coordinate. This
1184
- * is useful when the backdrop does
1185
- * not begin to fade in until after
1186
- * the 0 breakpoint.
1187
- */
1188
- const getBackdropValueForSheet = (x, backdropBreakpoint) => {
1189
- /**
1190
- * We will use these points:
1191
- * (backdropBreakpoint, 0)
1192
- * (maxBreakpoint, 1)
1193
- * We know that at the beginning breakpoint,
1194
- * the backdrop will be hidden. We also
1195
- * know that at the maxBreakpoint, the backdrop
1196
- * must be fully visible. maxBreakpoint should
1197
- * always be 1 even if the maximum value
1198
- * of the breakpoints array is not 1 since
1199
- * the animation runs from a progress of 0
1200
- * to a progress of 1.
1201
- * m = (y2 - y1) / (x2 - x1)
1202
- *
1203
- * This is simplified from:
1204
- * m = (1 - 0) / (maxBreakpoint - backdropBreakpoint)
1205
- *
1206
- * If the backdropBreakpoint is 1, we return 0 as the
1207
- * backdrop is completely hidden.
1208
- *
1209
- */
1210
- if (backdropBreakpoint === 1) {
1211
- return 0;
1212
- }
1213
- const slope = 1 / (1 - backdropBreakpoint);
1214
- /**
1215
- * From here, compute b which is
1216
- * the backdrop opacity if the offset
1217
- * is 0. If the backdrop does not
1218
- * begin to fade in until after the
1219
- * 0 breakpoint, this b value will be
1220
- * negative. This is fine as we never pass
1221
- * b directly into the animation keyframes.
1222
- * b = y - mx
1223
- * Use a known point: (backdropBreakpoint, 0)
1224
- * This is simplified from:
1225
- * b = 0 - (backdropBreakpoint * slope)
1226
- */
1227
- const b = -(backdropBreakpoint * slope);
1228
- /**
1229
- * Finally, we can now determine the
1230
- * backdrop offset given an arbitrary
1231
- * gesture offset.
1232
- */
1233
- return x * slope + b;
1234
- };
1235
- /**
1236
- * The tablet/desktop card modal activates
1237
- * when the window width is >= 768.
1238
- * At that point, the presenting element
1239
- * is not transformed, so we do not need to
1240
- * adjust the status bar color.
1241
- *
1242
- */
1243
- const setCardStatusBarDark = () => {
1244
- if (!index$2.win || index$2.win.innerWidth >= 768) {
1245
- return;
1246
- }
1247
- StatusBar.setStyle({ style: Style.Dark });
1248
- };
1249
- const setCardStatusBarDefault = (defaultStyle = Style.Default) => {
1250
- if (!index$2.win || index$2.win.innerWidth >= 768) {
1251
- return;
1252
- }
1253
- StatusBar.setStyle({ style: defaultStyle });
1254
- };
1255
-
1256
- /*!
1257
- * (C) Ionic http://ionicframework.com - MIT License
1258
- */
1259
- const handleCanDismiss = async (el, animation) => {
1260
- /**
1261
- * If canDismiss is not a function
1262
- * then we can return early. If canDismiss is `true`,
1263
- * then canDismissBlocksGesture is `false` as canDismiss
1264
- * will never interrupt the gesture. As a result,
1265
- * this code block is never reached. If canDismiss is `false`,
1266
- * then we never dismiss.
1267
- */
1268
- if (typeof el.canDismiss !== 'function') {
1269
- return;
1270
- }
1271
- /**
1272
- * Run the canDismiss callback.
1273
- * If the function returns `true`,
1274
- * then we can proceed with dismiss.
1275
- */
1276
- const shouldDismiss = await el.canDismiss(undefined, overlays.GESTURE);
1277
- if (!shouldDismiss) {
1278
- return;
1279
- }
1280
- /**
1281
- * If canDismiss resolved after the snap
1282
- * back animation finished, we can
1283
- * dismiss immediately.
1284
- *
1285
- * If canDismiss resolved before the snap
1286
- * back animation finished, we need to
1287
- * wait until the snap back animation is
1288
- * done before dismissing.
1289
- */
1290
- if (animation.isRunning()) {
1291
- animation.onFinish(() => {
1292
- el.dismiss(undefined, 'handler');
1293
- }, { oneTimeCallback: true });
1294
- }
1295
- else {
1296
- el.dismiss(undefined, 'handler');
1297
- }
1298
- };
1299
- /**
1300
- * This function lets us simulate a realistic spring-like animation
1301
- * when swiping down on the modal.
1302
- * There are two forces that we need to use to compute the spring physics:
1303
- *
1304
- * 1. Stiffness, k: This is a measure of resistance applied a spring.
1305
- * 2. Dampening, c: This value has the effect of reducing or preventing oscillation.
1306
- *
1307
- * Using these two values, we can calculate the Spring Force and the Dampening Force
1308
- * to compute the total force applied to a spring.
1309
- *
1310
- * Spring Force: This force pulls a spring back into its equilibrium position.
1311
- * Hooke's Law tells us that that spring force (FS) = kX.
1312
- * k is the stiffness of a spring, and X is the displacement of the spring from its
1313
- * equilibrium position. In this case, it is the amount by which the free end
1314
- * of a spring was displaced (stretched/pushed) from its "relaxed" position.
1315
- *
1316
- * Dampening Force: This force slows down motion. Without it, a spring would oscillate forever.
1317
- * The dampening force, FD, can be found via this formula: FD = -cv
1318
- * where c the dampening value and v is velocity.
1319
- *
1320
- * Therefore, the resulting force that is exerted on the block is:
1321
- * F = FS + FD = -kX - cv
1322
- *
1323
- * Newton's 2nd Law tells us that F = ma:
1324
- * ma = -kX - cv.
1325
- *
1326
- * For Ionic's purposes, we can assume that m = 1:
1327
- * a = -kX - cv
1328
- *
1329
- * Imagine a block attached to the end of a spring. At equilibrium
1330
- * the block is at position x = 1.
1331
- * Pressing on the block moves it to position x = 0;
1332
- * So, to calculate the displacement, we need to take the
1333
- * current position and subtract the previous position from it.
1334
- * X = x - x0 = 0 - 1 = -1.
1335
- *
1336
- * For Ionic's purposes, we are only pushing on the spring modal
1337
- * so we have a max position of 1.
1338
- * As a result, we can expand displacement to this formula:
1339
- * X = x - 1
1340
- *
1341
- * a = -k(x - 1) - cv
1342
- *
1343
- * We can represent the motion of something as a function of time: f(t) = x.
1344
- * The derivative of position gives us the velocity: f'(t)
1345
- * The derivative of the velocity gives us the acceleration: f''(t)
1346
- *
1347
- * We can substitute the formula above with these values:
1348
- *
1349
- * f"(t) = -k * (f(t) - 1) - c * f'(t)
1350
- *
1351
- * This is called a differential equation.
1352
- *
1353
- * We know that at t = 0, we are at x = 0 because the modal does not move: f(0) = 0
1354
- * This means our velocity is also zero: f'(0) = 0.
1355
- *
1356
- * We can cheat a bit and plug the formula into Wolfram Alpha.
1357
- * However, we need to pick stiffness and dampening values:
1358
- * k = 0.57
1359
- * c = 15
1360
- *
1361
- * I picked these as they are fairly close to native iOS's spring effect
1362
- * with the modal.
1363
- *
1364
- * What we plug in is this: f(0) = 0; f'(0) = 0; f''(t) = -0.57(f(t) - 1) - 15f'(t)
1365
- *
1366
- * The result is a formula that lets us calculate the acceleration
1367
- * for a given time t.
1368
- * Note: This is the approximate form of the solution. Wolfram Alpha will
1369
- * give you a complex differential equation too.
1370
- */
1371
- const calculateSpringStep = (t) => {
1372
- return 0.00255275 * 2.71828 ** (-14.9619 * t) - 1.00255 * 2.71828 ** (-0.0380968 * t) + 1;
1373
- };
1374
-
1375
- /*!
1376
- * (C) Ionic http://ionicframework.com - MIT License
1377
- */
1378
- // Defaults for the card swipe animation
1379
- const SwipeToCloseDefaults = {
1380
- MIN_PRESENTING_SCALE: 0.915,
1381
- };
1382
- const createSwipeToCloseGesture = (el, animation, statusBarStyle, onDismiss) => {
1383
- /**
1384
- * The step value at which a card modal
1385
- * is eligible for dismissing via gesture.
1386
- */
1387
- const DISMISS_THRESHOLD = 0.5;
1388
- const height = el.offsetHeight;
1389
- let isOpen = false;
1390
- let canDismissBlocksGesture = false;
1391
- let contentEl = null;
1392
- let scrollEl = null;
1393
- const canDismissMaxStep = 0.2;
1394
- let initialScrollY = true;
1395
- let lastStep = 0;
1396
- const getScrollY = () => {
1397
- if (contentEl && index$3.isIonContent(contentEl)) {
1398
- return contentEl.scrollY;
1399
- /**
1400
- * Custom scroll containers are intended to be
1401
- * used with virtual scrolling, so we assume
1402
- * there is scrolling in this case.
1403
- */
1404
- }
1405
- else {
1406
- return true;
1407
- }
1408
- };
1409
- const canStart = (detail) => {
1410
- const target = detail.event.target;
1411
- if (target === null || !target.closest) {
1412
- return true;
1413
- }
1414
- /**
1415
- * If we are swiping on the content,
1416
- * swiping should only be possible if
1417
- * the content is scrolled all the way
1418
- * to the top so that we do not interfere
1419
- * with scrolling.
1420
- *
1421
- * We cannot assume that the `ion-content`
1422
- * target will remain consistent between
1423
- * swipes. For example, when using
1424
- * ion-nav within a card modal it is
1425
- * possible to swipe, push a view, and then
1426
- * swipe again. The target content will not
1427
- * be the same between swipes.
1428
- */
1429
- contentEl = index$3.findClosestIonContent(target);
1430
- if (contentEl) {
1431
- /**
1432
- * The card should never swipe to close
1433
- * on the content with a refresher.
1434
- * Note: We cannot solve this by making the
1435
- * swipeToClose gesture have a higher priority
1436
- * than the refresher gesture as the iOS native
1437
- * refresh gesture uses a scroll listener in
1438
- * addition to a gesture.
1439
- *
1440
- * Note: Do not use getScrollElement here
1441
- * because we need this to be a synchronous
1442
- * operation, and getScrollElement is
1443
- * asynchronous.
1444
- */
1445
- if (index$3.isIonContent(contentEl)) {
1446
- const root = helpers.getElementRoot(contentEl);
1447
- scrollEl = root.querySelector('.inner-scroll');
1448
- }
1449
- else {
1450
- scrollEl = contentEl;
1451
- }
1452
- const hasRefresherInContent = !!contentEl.querySelector('ion-refresher');
1453
- return !hasRefresherInContent && scrollEl.scrollTop === 0;
1454
- }
1455
- /**
1456
- * Card should be swipeable on all
1457
- * parts of the modal except for the footer.
1458
- */
1459
- const footer = target.closest('ion-footer');
1460
- if (footer === null) {
1461
- return true;
1462
- }
1463
- return false;
1464
- };
1465
- const onStart = (detail) => {
1466
- const { deltaY } = detail;
1467
- /**
1468
- * Get the initial scrollY value so
1469
- * that we can correctly reset the scrollY
1470
- * prop when the gesture ends.
1471
- */
1472
- initialScrollY = getScrollY();
1473
- /**
1474
- * If canDismiss is anything other than `true`
1475
- * then users should be able to swipe down
1476
- * until a threshold is hit. At that point,
1477
- * the card modal should not proceed any further.
1478
- * TODO (FW-937)
1479
- * Remove undefined check
1480
- */
1481
- canDismissBlocksGesture = el.canDismiss !== undefined && el.canDismiss !== true;
1482
- /**
1483
- * If we are pulling down, then
1484
- * it is possible we are pulling on the
1485
- * content. We do not want scrolling to
1486
- * happen at the same time as the gesture.
1487
- */
1488
- if (deltaY > 0 && contentEl) {
1489
- index$3.disableContentScrollY(contentEl);
1490
- }
1491
- animation.progressStart(true, isOpen ? 1 : 0);
1492
- };
1493
- const onMove = (detail) => {
1494
- const { deltaY } = detail;
1495
- /**
1496
- * If we are pulling down, then
1497
- * it is possible we are pulling on the
1498
- * content. We do not want scrolling to
1499
- * happen at the same time as the gesture.
1500
- */
1501
- if (deltaY > 0 && contentEl) {
1502
- index$3.disableContentScrollY(contentEl);
1503
- }
1504
- /**
1505
- * If we are swiping on the content
1506
- * then the swipe gesture should only
1507
- * happen if we are pulling down.
1508
- *
1509
- * However, if we pull up and
1510
- * then down such that the scroll position
1511
- * returns to 0, we should be able to swipe
1512
- * the card.
1513
- */
1514
- const step = detail.deltaY / height;
1515
- /**
1516
- * Check if user is swiping down and
1517
- * if we have a canDismiss value that
1518
- * should block the gesture from
1519
- * proceeding,
1520
- */
1521
- const isAttemptingDismissWithCanDismiss = step >= 0 && canDismissBlocksGesture;
1522
- /**
1523
- * If we are blocking the gesture from dismissing,
1524
- * set the max step value so that the sheet cannot be
1525
- * completely hidden.
1526
- */
1527
- const maxStep = isAttemptingDismissWithCanDismiss ? canDismissMaxStep : 0.9999;
1528
- /**
1529
- * If we are blocking the gesture from
1530
- * dismissing, calculate the spring modifier value
1531
- * this will be added to the starting breakpoint
1532
- * value to give the gesture a spring-like feeling.
1533
- * Note that the starting breakpoint is always 0,
1534
- * so we omit adding 0 to the result.
1535
- */
1536
- const processedStep = isAttemptingDismissWithCanDismiss ? calculateSpringStep(step / maxStep) : step;
1537
- const clampedStep = helpers.clamp(0.0001, processedStep, maxStep);
1538
- animation.progressStep(clampedStep);
1539
- /**
1540
- * When swiping down half way, the status bar style
1541
- * should be reset to its default value.
1542
- *
1543
- * We track lastStep so that we do not fire these
1544
- * functions on every onMove, only when the user has
1545
- * crossed a certain threshold.
1546
- */
1547
- if (clampedStep >= DISMISS_THRESHOLD && lastStep < DISMISS_THRESHOLD) {
1548
- setCardStatusBarDefault(statusBarStyle);
1549
- /**
1550
- * However, if we swipe back up, then the
1551
- * status bar style should be set to have light
1552
- * text on a dark background.
1553
- */
1554
- }
1555
- else if (clampedStep < DISMISS_THRESHOLD && lastStep >= DISMISS_THRESHOLD) {
1556
- setCardStatusBarDark();
1557
- }
1558
- lastStep = clampedStep;
1559
- };
1560
- const onEnd = (detail) => {
1561
- const velocity = detail.velocityY;
1562
- const step = detail.deltaY / height;
1563
- const isAttemptingDismissWithCanDismiss = step >= 0 && canDismissBlocksGesture;
1564
- const maxStep = isAttemptingDismissWithCanDismiss ? canDismissMaxStep : 0.9999;
1565
- const processedStep = isAttemptingDismissWithCanDismiss ? calculateSpringStep(step / maxStep) : step;
1566
- const clampedStep = helpers.clamp(0.0001, processedStep, maxStep);
1567
- const threshold = (detail.deltaY + velocity * 1000) / height;
1568
- /**
1569
- * If canDismiss blocks
1570
- * the swipe gesture, then the
1571
- * animation can never complete until
1572
- * canDismiss is checked.
1573
- */
1574
- const shouldComplete = !isAttemptingDismissWithCanDismiss && threshold >= DISMISS_THRESHOLD;
1575
- let newStepValue = shouldComplete ? -1e-3 : 0.001;
1576
- if (!shouldComplete) {
1577
- animation.easing('cubic-bezier(1, 0, 0.68, 0.28)');
1578
- newStepValue += cubicBezier.getTimeGivenProgression([0, 0], [1, 0], [0.68, 0.28], [1, 1], clampedStep)[0];
1579
- }
1580
- else {
1581
- animation.easing('cubic-bezier(0.32, 0.72, 0, 1)');
1582
- newStepValue += cubicBezier.getTimeGivenProgression([0, 0], [0.32, 0.72], [0, 1], [1, 1], clampedStep)[0];
1583
- }
1584
- const duration = shouldComplete
1585
- ? computeDuration(step * height, velocity)
1586
- : computeDuration((1 - clampedStep) * height, velocity);
1587
- isOpen = shouldComplete;
1588
- gesture.enable(false);
1589
- if (contentEl) {
1590
- index$3.resetContentScrollY(contentEl, initialScrollY);
1591
- }
1592
- animation
1593
- .onFinish(() => {
1594
- if (!shouldComplete) {
1595
- gesture.enable(true);
1596
- }
1597
- })
1598
- .progressEnd(shouldComplete ? 1 : 0, newStepValue, duration);
1599
- /**
1600
- * If the canDismiss value blocked the gesture
1601
- * from proceeding, then we should ignore whatever
1602
- * shouldComplete is. Whether or not the modal
1603
- * animation should complete is now determined by
1604
- * canDismiss.
1605
- *
1606
- * If the user swiped >25% of the way
1607
- * to the max step, then we should
1608
- * check canDismiss. 25% was chosen
1609
- * to avoid accidental swipes.
1610
- */
1611
- if (isAttemptingDismissWithCanDismiss && clampedStep > maxStep / 4) {
1612
- handleCanDismiss(el, animation);
1613
- }
1614
- else if (shouldComplete) {
1615
- onDismiss();
1616
- }
1617
- };
1618
- const gesture = index.createGesture({
1619
- el,
1620
- gestureName: 'modalSwipeToClose',
1621
- gesturePriority: overlays.OVERLAY_GESTURE_PRIORITY,
1622
- direction: 'y',
1623
- threshold: 10,
1624
- canStart,
1625
- onStart,
1626
- onMove,
1627
- onEnd,
1628
- });
1629
- return gesture;
1630
- };
1631
- const computeDuration = (remaining, velocity) => {
1632
- return helpers.clamp(400, remaining / Math.abs(velocity * 1.1), 500);
1633
- };
1634
-
1635
- /*!
1636
- * (C) Ionic http://ionicframework.com - MIT License
1637
- */
1638
- const createSheetEnterAnimation = (opts) => {
1639
- const { currentBreakpoint, backdropBreakpoint, expandToScroll } = opts;
1640
- /**
1641
- * If the backdropBreakpoint is undefined, then the backdrop
1642
- * should always fade in. If the backdropBreakpoint came before the
1643
- * current breakpoint, then the backdrop should be fading in.
1644
- */
1645
- const shouldShowBackdrop = backdropBreakpoint === undefined || backdropBreakpoint < currentBreakpoint;
1646
- const initialBackdrop = shouldShowBackdrop ? `calc(var(--backdrop-opacity) * ${currentBreakpoint})` : '0';
1647
- const backdropAnimation = animation.createAnimation('backdropAnimation').fromTo('opacity', 0, initialBackdrop);
1648
- if (shouldShowBackdrop) {
1649
- backdropAnimation
1650
- .beforeStyles({
1651
- 'pointer-events': 'none',
1652
- })
1653
- .afterClearStyles(['pointer-events']);
1654
- }
1655
- const wrapperAnimation = animation.createAnimation('wrapperAnimation').keyframes([
1656
- { offset: 0, opacity: 1, transform: 'translateY(100%)' },
1657
- { offset: 1, opacity: 1, transform: `translateY(${100 - currentBreakpoint * 100}%)` },
1658
- ]);
1659
- /**
1660
- * This allows the content to be scrollable at any breakpoint.
1661
- */
1662
- const contentAnimation = !expandToScroll
1663
- ? animation.createAnimation('contentAnimation').keyframes([
1664
- { offset: 0, opacity: 1, maxHeight: `${(1 - currentBreakpoint) * 100}%` },
1665
- { offset: 1, opacity: 1, maxHeight: `${currentBreakpoint * 100}%` },
1666
- ])
1667
- : undefined;
1668
- return { wrapperAnimation, backdropAnimation, contentAnimation };
1669
- };
1670
- const createSheetLeaveAnimation = (opts) => {
1671
- const { currentBreakpoint, backdropBreakpoint } = opts;
1672
- /**
1673
- * Backdrop does not always fade in from 0 to 1 if backdropBreakpoint
1674
- * is defined, so we need to account for that offset by figuring out
1675
- * what the current backdrop value should be.
1676
- */
1677
- const backdropValue = `calc(var(--backdrop-opacity) * ${getBackdropValueForSheet(currentBreakpoint, backdropBreakpoint)})`;
1678
- const defaultBackdrop = [
1679
- { offset: 0, opacity: backdropValue },
1680
- { offset: 1, opacity: 0 },
1681
- ];
1682
- const customBackdrop = [
1683
- { offset: 0, opacity: backdropValue },
1684
- { offset: backdropBreakpoint, opacity: 0 },
1685
- { offset: 1, opacity: 0 },
1686
- ];
1687
- const backdropAnimation = animation.createAnimation('backdropAnimation').keyframes(backdropBreakpoint !== 0 ? customBackdrop : defaultBackdrop);
1688
- const wrapperAnimation = animation.createAnimation('wrapperAnimation').keyframes([
1689
- { offset: 0, opacity: 1, transform: `translateY(${100 - currentBreakpoint * 100}%)` },
1690
- { offset: 1, opacity: 1, transform: `translateY(100%)` },
1691
- ]);
1692
- return { wrapperAnimation, backdropAnimation };
1693
- };
1694
-
1695
- /*!
1696
- * (C) Ionic http://ionicframework.com - MIT License
1697
- */
1698
- const createEnterAnimation$1 = () => {
1699
- const backdropAnimation = animation.createAnimation()
1700
- .fromTo('opacity', 0.01, 'var(--backdrop-opacity)')
1701
- .beforeStyles({
1702
- 'pointer-events': 'none',
1703
- })
1704
- .afterClearStyles(['pointer-events']);
1705
- const wrapperAnimation = animation.createAnimation().fromTo('transform', 'translateY(100vh)', 'translateY(0vh)');
1706
- return { backdropAnimation, wrapperAnimation, contentAnimation: undefined };
1707
- };
1708
- /**
1709
- * iOS Modal Enter Animation for the Card presentation style
1710
- */
1711
- const iosEnterAnimation = (baseEl, opts) => {
1712
- const { presentingEl, currentBreakpoint, expandToScroll } = opts;
1713
- const root = helpers.getElementRoot(baseEl);
1714
- const { wrapperAnimation, backdropAnimation, contentAnimation } = currentBreakpoint !== undefined ? createSheetEnterAnimation(opts) : createEnterAnimation$1();
1715
- backdropAnimation.addElement(root.querySelector('ion-backdrop'));
1716
- wrapperAnimation.addElement(root.querySelectorAll('.modal-wrapper, .modal-shadow')).beforeStyles({ opacity: 1 });
1717
- // The content animation is only added if scrolling is enabled for
1718
- // all the breakpoints.
1719
- !expandToScroll && (contentAnimation === null || contentAnimation === void 0 ? void 0 : contentAnimation.addElement(baseEl.querySelector('.ion-page')));
1720
- const baseAnimation = animation.createAnimation('entering-base')
1721
- .addElement(baseEl)
1722
- .easing('cubic-bezier(0.32,0.72,0,1)')
1723
- .duration(500)
1724
- .addAnimation([wrapperAnimation]);
1725
- if (contentAnimation) {
1726
- baseAnimation.addAnimation(contentAnimation);
1727
- }
1728
- if (presentingEl) {
1729
- const isPortrait = window.innerWidth < 768;
1730
- const hasCardModal = presentingEl.tagName === 'ION-MODAL' && presentingEl.presentingElement !== undefined;
1731
- const presentingElRoot = helpers.getElementRoot(presentingEl);
1732
- const presentingAnimation = animation.createAnimation().beforeStyles({
1733
- transform: 'translateY(0)',
1734
- 'transform-origin': 'top center',
1735
- overflow: 'hidden',
1736
- });
1737
- const bodyEl = document.body;
1738
- if (isPortrait) {
1739
- /**
1740
- * Fallback for browsers that does not support `max()` (ex: Firefox)
1741
- * No need to worry about statusbar padding since engines like Gecko
1742
- * are not used as the engine for standalone Cordova/Capacitor apps
1743
- */
1744
- const transformOffset = !CSS.supports('width', 'max(0px, 1px)') ? '30px' : 'max(30px, var(--ion-safe-area-top))';
1745
- const modalTransform = hasCardModal ? '-10px' : transformOffset;
1746
- const toPresentingScale = SwipeToCloseDefaults.MIN_PRESENTING_SCALE;
1747
- const finalTransform = `translateY(${modalTransform}) scale(${toPresentingScale})`;
1748
- presentingAnimation
1749
- .afterStyles({
1750
- transform: finalTransform,
1751
- })
1752
- .beforeAddWrite(() => bodyEl.style.setProperty('background-color', 'black'))
1753
- .addElement(presentingEl)
1754
- .keyframes([
1755
- { offset: 0, filter: 'contrast(1)', transform: 'translateY(0px) scale(1)', borderRadius: '0px' },
1756
- { offset: 1, filter: 'contrast(0.85)', transform: finalTransform, borderRadius: '10px 10px 0 0' },
1757
- ]);
1758
- baseAnimation.addAnimation(presentingAnimation);
1759
- }
1760
- else {
1761
- baseAnimation.addAnimation(backdropAnimation);
1762
- if (!hasCardModal) {
1763
- wrapperAnimation.fromTo('opacity', '0', '1');
1764
- }
1765
- else {
1766
- const toPresentingScale = hasCardModal ? SwipeToCloseDefaults.MIN_PRESENTING_SCALE : 1;
1767
- const finalTransform = `translateY(-10px) scale(${toPresentingScale})`;
1768
- presentingAnimation
1769
- .afterStyles({
1770
- transform: finalTransform,
1771
- })
1772
- .addElement(presentingElRoot.querySelector('.modal-wrapper'))
1773
- .keyframes([
1774
- { offset: 0, filter: 'contrast(1)', transform: 'translateY(0) scale(1)' },
1775
- { offset: 1, filter: 'contrast(0.85)', transform: finalTransform },
1776
- ]);
1777
- const shadowAnimation = animation.createAnimation()
1778
- .afterStyles({
1779
- transform: finalTransform,
1780
- })
1781
- .addElement(presentingElRoot.querySelector('.modal-shadow'))
1782
- .keyframes([
1783
- { offset: 0, opacity: '1', transform: 'translateY(0) scale(1)' },
1784
- { offset: 1, opacity: '0', transform: finalTransform },
1785
- ]);
1786
- baseAnimation.addAnimation([presentingAnimation, shadowAnimation]);
1787
- }
1788
- }
1789
- }
1790
- else {
1791
- baseAnimation.addAnimation(backdropAnimation);
1792
- }
1793
- return baseAnimation;
1794
- };
1795
-
1796
- /*!
1797
- * (C) Ionic http://ionicframework.com - MIT License
1798
- */
1799
- const createLeaveAnimation$1 = () => {
1800
- const backdropAnimation = animation.createAnimation().fromTo('opacity', 'var(--backdrop-opacity)', 0);
1801
- const wrapperAnimation = animation.createAnimation().fromTo('transform', 'translateY(0vh)', 'translateY(100vh)');
1802
- return { backdropAnimation, wrapperAnimation };
1803
- };
1804
- /**
1805
- * iOS Modal Leave Animation
1806
- */
1807
- const iosLeaveAnimation = (baseEl, opts, duration = 500) => {
1808
- const { presentingEl, currentBreakpoint } = opts;
1809
- const root = helpers.getElementRoot(baseEl);
1810
- const { wrapperAnimation, backdropAnimation } = currentBreakpoint !== undefined ? createSheetLeaveAnimation(opts) : createLeaveAnimation$1();
1811
- backdropAnimation.addElement(root.querySelector('ion-backdrop'));
1812
- wrapperAnimation.addElement(root.querySelectorAll('.modal-wrapper, .modal-shadow')).beforeStyles({ opacity: 1 });
1813
- const baseAnimation = animation.createAnimation('leaving-base')
1814
- .addElement(baseEl)
1815
- .easing('cubic-bezier(0.32,0.72,0,1)')
1816
- .duration(duration)
1817
- .addAnimation(wrapperAnimation);
1818
- if (presentingEl) {
1819
- const isPortrait = window.innerWidth < 768;
1820
- const hasCardModal = presentingEl.tagName === 'ION-MODAL' && presentingEl.presentingElement !== undefined;
1821
- const presentingElRoot = helpers.getElementRoot(presentingEl);
1822
- const presentingAnimation = animation.createAnimation()
1823
- .beforeClearStyles(['transform'])
1824
- .afterClearStyles(['transform'])
1825
- .onFinish((currentStep) => {
1826
- // only reset background color if this is the last card-style modal
1827
- if (currentStep !== 1) {
1828
- return;
1829
- }
1830
- presentingEl.style.setProperty('overflow', '');
1831
- const numModals = Array.from(bodyEl.querySelectorAll('ion-modal:not(.overlay-hidden)')).filter((m) => m.presentingElement !== undefined).length;
1832
- if (numModals <= 1) {
1833
- bodyEl.style.setProperty('background-color', '');
1834
- }
1835
- });
1836
- const bodyEl = document.body;
1837
- if (isPortrait) {
1838
- const transformOffset = !CSS.supports('width', 'max(0px, 1px)') ? '30px' : 'max(30px, var(--ion-safe-area-top))';
1839
- const modalTransform = hasCardModal ? '-10px' : transformOffset;
1840
- const toPresentingScale = SwipeToCloseDefaults.MIN_PRESENTING_SCALE;
1841
- const finalTransform = `translateY(${modalTransform}) scale(${toPresentingScale})`;
1842
- presentingAnimation.addElement(presentingEl).keyframes([
1843
- { offset: 0, filter: 'contrast(0.85)', transform: finalTransform, borderRadius: '10px 10px 0 0' },
1844
- { offset: 1, filter: 'contrast(1)', transform: 'translateY(0px) scale(1)', borderRadius: '0px' },
1845
- ]);
1846
- baseAnimation.addAnimation(presentingAnimation);
1847
- }
1848
- else {
1849
- baseAnimation.addAnimation(backdropAnimation);
1850
- if (!hasCardModal) {
1851
- wrapperAnimation.fromTo('opacity', '1', '0');
1852
- }
1853
- else {
1854
- const toPresentingScale = hasCardModal ? SwipeToCloseDefaults.MIN_PRESENTING_SCALE : 1;
1855
- const finalTransform = `translateY(-10px) scale(${toPresentingScale})`;
1856
- presentingAnimation
1857
- .addElement(presentingElRoot.querySelector('.modal-wrapper'))
1858
- .afterStyles({
1859
- transform: 'translate3d(0, 0, 0)',
1860
- })
1861
- .keyframes([
1862
- { offset: 0, filter: 'contrast(0.85)', transform: finalTransform },
1863
- { offset: 1, filter: 'contrast(1)', transform: 'translateY(0) scale(1)' },
1864
- ]);
1865
- const shadowAnimation = animation.createAnimation()
1866
- .addElement(presentingElRoot.querySelector('.modal-shadow'))
1867
- .afterStyles({
1868
- transform: 'translateY(0) scale(1)',
1869
- })
1870
- .keyframes([
1871
- { offset: 0, opacity: '0', transform: finalTransform },
1872
- { offset: 1, opacity: '1', transform: 'translateY(0) scale(1)' },
1873
- ]);
1874
- baseAnimation.addAnimation([presentingAnimation, shadowAnimation]);
1875
- }
1876
- }
1877
- }
1878
- else {
1879
- baseAnimation.addAnimation(backdropAnimation);
1880
- }
1881
- return baseAnimation;
1882
- };
1883
-
1884
- /*!
1885
- * (C) Ionic http://ionicframework.com - MIT License
1886
- */
1887
- /**
1888
- * Transition animation from portrait view to landscape view
1889
- * This handles the case where a card modal is open in portrait view
1890
- * and the user switches to landscape view
1891
- */
1892
- const portraitToLandscapeTransition = (baseEl, opts, duration = 300) => {
1893
- const { presentingEl } = opts;
1894
- if (!presentingEl) {
1895
- // No transition needed for non-card modals
1896
- return animation.createAnimation('portrait-to-landscape-transition');
1897
- }
1898
- const presentingElIsCardModal = presentingEl.tagName === 'ION-MODAL' && presentingEl.presentingElement !== undefined;
1899
- const presentingElRoot = helpers.getElementRoot(presentingEl);
1900
- const bodyEl = document.body;
1901
- const baseAnimation = animation.createAnimation('portrait-to-landscape-transition')
1902
- .addElement(baseEl)
1903
- .easing('cubic-bezier(0.32,0.72,0,1)')
1904
- .duration(duration);
1905
- const presentingAnimation = animation.createAnimation().beforeStyles({
1906
- transform: 'translateY(0)',
1907
- 'transform-origin': 'top center',
1908
- overflow: 'hidden',
1909
- });
1910
- if (!presentingElIsCardModal) {
1911
- // The presenting element is not a card modal, so we do not
1912
- // need to care about layering and modal-specific styles.
1913
- const root = helpers.getElementRoot(baseEl);
1914
- const wrapperAnimation = animation.createAnimation()
1915
- .addElement(root.querySelectorAll('.modal-wrapper, .modal-shadow'))
1916
- .fromTo('opacity', '1', '1'); // Keep wrapper visible in landscape
1917
- const backdropAnimation = animation.createAnimation()
1918
- .addElement(root.querySelector('ion-backdrop'))
1919
- .fromTo('opacity', 'var(--backdrop-opacity)', 'var(--backdrop-opacity)'); // Keep backdrop visible
1920
- // Animate presentingEl from portrait state back to normal
1921
- const transformOffset = !CSS.supports('width', 'max(0px, 1px)') ? '30px' : 'max(30px, var(--ion-safe-area-top))';
1922
- const toPresentingScale = SwipeToCloseDefaults.MIN_PRESENTING_SCALE;
1923
- const fromTransform = `translateY(${transformOffset}) scale(${toPresentingScale})`;
1924
- presentingAnimation
1925
- .addElement(presentingEl)
1926
- .afterStyles({
1927
- transform: 'translateY(0px) scale(1)',
1928
- 'border-radius': '0px',
1929
- })
1930
- .beforeAddWrite(() => bodyEl.style.setProperty('background-color', ''))
1931
- .fromTo('transform', fromTransform, 'translateY(0px) scale(1)')
1932
- .fromTo('filter', 'contrast(0.85)', 'contrast(1)')
1933
- .fromTo('border-radius', '10px 10px 0 0', '0px');
1934
- baseAnimation.addAnimation([presentingAnimation, wrapperAnimation, backdropAnimation]);
1935
- }
1936
- else {
1937
- // The presenting element is a card modal, so we do
1938
- // need to care about layering and modal-specific styles.
1939
- const toPresentingScale = SwipeToCloseDefaults.MIN_PRESENTING_SCALE;
1940
- const fromTransform = `translateY(-10px) scale(${toPresentingScale})`;
1941
- const toTransform = `translateY(0px) scale(1)`;
1942
- presentingAnimation
1943
- .addElement(presentingEl)
1944
- .afterStyles({
1945
- transform: toTransform,
1946
- })
1947
- .fromTo('transform', fromTransform, toTransform)
1948
- .fromTo('filter', 'contrast(0.85)', 'contrast(1)');
1949
- const shadowAnimation = animation.createAnimation()
1950
- .addElement(presentingElRoot.querySelector('.modal-shadow'))
1951
- .afterStyles({
1952
- transform: toTransform,
1953
- opacity: '0',
1954
- })
1955
- .fromTo('transform', fromTransform, toTransform);
1956
- baseAnimation.addAnimation([presentingAnimation, shadowAnimation]);
1957
- }
1958
- return baseAnimation;
1959
- };
1960
- /**
1961
- * Transition animation from landscape view to portrait view
1962
- * This handles the case where a card modal is open in landscape view
1963
- * and the user switches to portrait view
1964
- */
1965
- const landscapeToPortraitTransition = (baseEl, opts, duration = 300) => {
1966
- const { presentingEl } = opts;
1967
- if (!presentingEl) {
1968
- // No transition needed for non-card modals
1969
- return animation.createAnimation('landscape-to-portrait-transition');
1970
- }
1971
- const presentingElIsCardModal = presentingEl.tagName === 'ION-MODAL' && presentingEl.presentingElement !== undefined;
1972
- const presentingElRoot = helpers.getElementRoot(presentingEl);
1973
- const bodyEl = document.body;
1974
- const baseAnimation = animation.createAnimation('landscape-to-portrait-transition')
1975
- .addElement(baseEl)
1976
- .easing('cubic-bezier(0.32,0.72,0,1)')
1977
- .duration(duration);
1978
- const presentingAnimation = animation.createAnimation().beforeStyles({
1979
- transform: 'translateY(0)',
1980
- 'transform-origin': 'top center',
1981
- overflow: 'hidden',
1982
- });
1983
- if (!presentingElIsCardModal) {
1984
- // The presenting element is not a card modal, so we do not
1985
- // need to care about layering and modal-specific styles.
1986
- const root = helpers.getElementRoot(baseEl);
1987
- const wrapperAnimation = animation.createAnimation()
1988
- .addElement(root.querySelectorAll('.modal-wrapper, .modal-shadow'))
1989
- .fromTo('opacity', '1', '1'); // Keep wrapper visible
1990
- const backdropAnimation = animation.createAnimation()
1991
- .addElement(root.querySelector('ion-backdrop'))
1992
- .fromTo('opacity', 'var(--backdrop-opacity)', 'var(--backdrop-opacity)'); // Keep backdrop visible
1993
- // Animate presentingEl from normal state to portrait state
1994
- const transformOffset = !CSS.supports('width', 'max(0px, 1px)') ? '30px' : 'max(30px, var(--ion-safe-area-top))';
1995
- const toPresentingScale = SwipeToCloseDefaults.MIN_PRESENTING_SCALE;
1996
- const toTransform = `translateY(${transformOffset}) scale(${toPresentingScale})`;
1997
- presentingAnimation
1998
- .addElement(presentingEl)
1999
- .afterStyles({
2000
- transform: toTransform,
2001
- })
2002
- .beforeAddWrite(() => bodyEl.style.setProperty('background-color', 'black'))
2003
- .keyframes([
2004
- { offset: 0, transform: 'translateY(0px) scale(1)', filter: 'contrast(1)', borderRadius: '0px' },
2005
- { offset: 0.2, transform: 'translateY(0px) scale(1)', filter: 'contrast(1)', borderRadius: '10px 10px 0 0' },
2006
- { offset: 1, transform: toTransform, filter: 'contrast(0.85)', borderRadius: '10px 10px 0 0' },
2007
- ]);
2008
- baseAnimation.addAnimation([presentingAnimation, wrapperAnimation, backdropAnimation]);
2009
- }
2010
- else {
2011
- // The presenting element is also a card modal, so we need
2012
- // to handle layering and modal-specific styles.
2013
- const toPresentingScale = SwipeToCloseDefaults.MIN_PRESENTING_SCALE;
2014
- const fromTransform = `translateY(-10px) scale(${toPresentingScale})`;
2015
- const toTransform = `translateY(0) scale(1)`;
2016
- presentingAnimation
2017
- .addElement(presentingEl)
2018
- .afterStyles({
2019
- transform: toTransform,
2020
- })
2021
- .fromTo('transform', fromTransform, toTransform);
2022
- const shadowAnimation = animation.createAnimation()
2023
- .addElement(presentingElRoot.querySelector('.modal-shadow'))
2024
- .afterStyles({
2025
- transform: toTransform,
2026
- opacity: '0',
2027
- })
2028
- .fromTo('transform', fromTransform, toTransform);
2029
- baseAnimation.addAnimation([presentingAnimation, shadowAnimation]);
2030
- }
2031
- return baseAnimation;
2032
- };
2033
-
2034
- /*!
2035
- * (C) Ionic http://ionicframework.com - MIT License
2036
- */
2037
- const createEnterAnimation = () => {
2038
- const backdropAnimation = animation.createAnimation()
2039
- .fromTo('opacity', 0.01, 'var(--backdrop-opacity)')
2040
- .beforeStyles({
2041
- 'pointer-events': 'none',
2042
- })
2043
- .afterClearStyles(['pointer-events']);
2044
- const wrapperAnimation = animation.createAnimation().keyframes([
2045
- { offset: 0, opacity: 0.01, transform: 'translateY(40px)' },
2046
- { offset: 1, opacity: 1, transform: `translateY(0px)` },
2047
- ]);
2048
- return { backdropAnimation, wrapperAnimation, contentAnimation: undefined };
2049
- };
2050
- /**
2051
- * Md Modal Enter Animation
2052
- */
2053
- const mdEnterAnimation = (baseEl, opts) => {
2054
- const { currentBreakpoint, expandToScroll } = opts;
2055
- const root = helpers.getElementRoot(baseEl);
2056
- const { wrapperAnimation, backdropAnimation, contentAnimation } = currentBreakpoint !== undefined ? createSheetEnterAnimation(opts) : createEnterAnimation();
2057
- backdropAnimation.addElement(root.querySelector('ion-backdrop'));
2058
- wrapperAnimation.addElement(root.querySelector('.modal-wrapper'));
2059
- // The content animation is only added if scrolling is enabled for
2060
- // all the breakpoints.
2061
- !expandToScroll && (contentAnimation === null || contentAnimation === void 0 ? void 0 : contentAnimation.addElement(baseEl.querySelector('.ion-page')));
2062
- const baseAnimation = animation.createAnimation()
2063
- .addElement(baseEl)
2064
- .easing('cubic-bezier(0.36,0.66,0.04,1)')
2065
- .duration(280)
2066
- .addAnimation([backdropAnimation, wrapperAnimation]);
2067
- if (contentAnimation) {
2068
- baseAnimation.addAnimation(contentAnimation);
2069
- }
2070
- return baseAnimation;
2071
- };
2072
-
2073
- /*!
2074
- * (C) Ionic http://ionicframework.com - MIT License
2075
- */
2076
- const createLeaveAnimation = () => {
2077
- const backdropAnimation = animation.createAnimation().fromTo('opacity', 'var(--backdrop-opacity)', 0);
2078
- const wrapperAnimation = animation.createAnimation().keyframes([
2079
- { offset: 0, opacity: 0.99, transform: `translateY(0px)` },
2080
- { offset: 1, opacity: 0, transform: 'translateY(40px)' },
2081
- ]);
2082
- return { backdropAnimation, wrapperAnimation };
2083
- };
2084
- /**
2085
- * Md Modal Leave Animation
2086
- */
2087
- const mdLeaveAnimation = (baseEl, opts) => {
2088
- const { currentBreakpoint } = opts;
2089
- const root = helpers.getElementRoot(baseEl);
2090
- const { wrapperAnimation, backdropAnimation } = currentBreakpoint !== undefined ? createSheetLeaveAnimation(opts) : createLeaveAnimation();
2091
- backdropAnimation.addElement(root.querySelector('ion-backdrop'));
2092
- wrapperAnimation.addElement(root.querySelector('.modal-wrapper'));
2093
- const baseAnimation = animation.createAnimation()
2094
- .easing('cubic-bezier(0.47,0,0.745,0.715)')
2095
- .duration(200)
2096
- .addAnimation([backdropAnimation, wrapperAnimation]);
2097
- return baseAnimation;
2098
- };
2099
-
2100
- /*!
2101
- * (C) Ionic http://ionicframework.com - MIT License
2102
- */
2103
- const createSheetGesture = (baseEl, backdropEl, wrapperEl, initialBreakpoint, backdropBreakpoint, animation, breakpoints = [], expandToScroll, getCurrentBreakpoint, onDismiss, onBreakpointChange) => {
2104
- // Defaults for the sheet swipe animation
2105
- const defaultBackdrop = [
2106
- { offset: 0, opacity: 'var(--backdrop-opacity)' },
2107
- { offset: 1, opacity: 0.01 },
2108
- ];
2109
- const customBackdrop = [
2110
- { offset: 0, opacity: 'var(--backdrop-opacity)' },
2111
- { offset: 1 - backdropBreakpoint, opacity: 0 },
2112
- { offset: 1, opacity: 0 },
2113
- ];
2114
- const SheetDefaults = {
2115
- WRAPPER_KEYFRAMES: [
2116
- { offset: 0, transform: 'translateY(0%)' },
2117
- { offset: 1, transform: 'translateY(100%)' },
2118
- ],
2119
- BACKDROP_KEYFRAMES: backdropBreakpoint !== 0 ? customBackdrop : defaultBackdrop,
2120
- CONTENT_KEYFRAMES: [
2121
- { offset: 0, maxHeight: '100%' },
2122
- { offset: 1, maxHeight: '0%' },
2123
- ],
2124
- };
2125
- const contentEl = baseEl.querySelector('ion-content');
2126
- const height = wrapperEl.clientHeight;
2127
- let currentBreakpoint = initialBreakpoint;
2128
- let offset = 0;
2129
- let canDismissBlocksGesture = false;
2130
- let cachedScrollEl = null;
2131
- let cachedFooterEls = null;
2132
- let cachedFooterYPosition = null;
2133
- let currentFooterState = null;
2134
- const canDismissMaxStep = 0.95;
2135
- const maxBreakpoint = breakpoints[breakpoints.length - 1];
2136
- const minBreakpoint = breakpoints[0];
2137
- const wrapperAnimation = animation.childAnimations.find((ani) => ani.id === 'wrapperAnimation');
2138
- const backdropAnimation = animation.childAnimations.find((ani) => ani.id === 'backdropAnimation');
2139
- const contentAnimation = animation.childAnimations.find((ani) => ani.id === 'contentAnimation');
2140
- const enableBackdrop = () => {
2141
- // Respect explicit opt-out of focus trapping/backdrop interactions
2142
- // If focusTrap is false or showBackdrop is false, do not enable the backdrop or re-enable focus trap
2143
- const el = baseEl;
2144
- if (el.focusTrap === false || el.showBackdrop === false) {
2145
- return;
2146
- }
2147
- baseEl.style.setProperty('pointer-events', 'auto');
2148
- backdropEl.style.setProperty('pointer-events', 'auto');
2149
- /**
2150
- * When the backdrop is enabled, elements such
2151
- * as inputs should not be focusable outside
2152
- * the sheet.
2153
- */
2154
- baseEl.classList.remove(overlays.FOCUS_TRAP_DISABLE_CLASS);
2155
- };
2156
- const disableBackdrop = () => {
2157
- baseEl.style.setProperty('pointer-events', 'none');
2158
- backdropEl.style.setProperty('pointer-events', 'none');
2159
- /**
2160
- * When the backdrop is enabled, elements such
2161
- * as inputs should not be focusable outside
2162
- * the sheet.
2163
- * Adding this class disables focus trapping
2164
- * for the sheet temporarily.
2165
- */
2166
- baseEl.classList.add(overlays.FOCUS_TRAP_DISABLE_CLASS);
2167
- };
2168
- /**
2169
- * Toggles the footer to an absolute position while moving to prevent
2170
- * it from shaking while the sheet is being dragged.
2171
- * @param newPosition Whether the footer is in a moving or stationary position.
2172
- */
2173
- const swapFooterPosition = (newPosition) => {
2174
- if (!cachedFooterEls) {
2175
- cachedFooterEls = Array.from(baseEl.querySelectorAll('ion-footer'));
2176
- if (!cachedFooterEls.length) {
2177
- return;
2178
- }
2179
- }
2180
- const page = baseEl.querySelector('.ion-page');
2181
- currentFooterState = newPosition;
2182
- if (newPosition === 'stationary') {
2183
- cachedFooterEls.forEach((cachedFooterEl) => {
2184
- // Reset positioning styles to allow normal document flow
2185
- cachedFooterEl.classList.remove('modal-footer-moving');
2186
- cachedFooterEl.style.removeProperty('position');
2187
- cachedFooterEl.style.removeProperty('width');
2188
- cachedFooterEl.style.removeProperty('height');
2189
- cachedFooterEl.style.removeProperty('top');
2190
- cachedFooterEl.style.removeProperty('left');
2191
- page === null || page === void 0 ? void 0 : page.style.removeProperty('padding-bottom');
2192
- // Move to page
2193
- page === null || page === void 0 ? void 0 : page.appendChild(cachedFooterEl);
2194
- });
2195
- }
2196
- else {
2197
- let footerHeights = 0;
2198
- cachedFooterEls.forEach((cachedFooterEl, index) => {
2199
- // Get both the footer and document body positions
2200
- const cachedFooterElRect = cachedFooterEl.getBoundingClientRect();
2201
- const bodyRect = document.body.getBoundingClientRect();
2202
- // Calculate the total height of all footers
2203
- // so we can add padding to the page element
2204
- footerHeights += cachedFooterEl.clientHeight;
2205
- // Calculate absolute position relative to body
2206
- // We need to subtract the body's offsetTop to get true position within document.body
2207
- const absoluteTop = cachedFooterElRect.top - bodyRect.top;
2208
- const absoluteLeft = cachedFooterElRect.left - bodyRect.left;
2209
- // Capture the footer's current dimensions and store them in CSS variables for
2210
- // later use when applying absolute positioning.
2211
- cachedFooterEl.style.setProperty('--pinned-width', `${cachedFooterEl.clientWidth}px`);
2212
- cachedFooterEl.style.setProperty('--pinned-height', `${cachedFooterEl.clientHeight}px`);
2213
- cachedFooterEl.style.setProperty('--pinned-top', `${absoluteTop}px`);
2214
- cachedFooterEl.style.setProperty('--pinned-left', `${absoluteLeft}px`);
2215
- // Only cache the first footer's Y position
2216
- // This is used to determine if the sheet has been moved below the footer
2217
- // and needs to be swapped back to stationary so it collapses correctly.
2218
- if (index === 0) {
2219
- cachedFooterYPosition = absoluteTop;
2220
- // If there's a header, we need to combine the header height with the footer position
2221
- // because the header moves with the drag handle, so when it starts overlapping the footer,
2222
- // we need to account for that.
2223
- const header = baseEl.querySelector('ion-header');
2224
- if (header) {
2225
- cachedFooterYPosition -= header.clientHeight;
2226
- }
2227
- }
2228
- });
2229
- // Apply the pinning of styles after we've calculated everything
2230
- // so that we don't cause layouts to shift while calculating the footer positions.
2231
- // Otherwise, with multiple footers we'll end up capturing the wrong positions.
2232
- cachedFooterEls.forEach((cachedFooterEl) => {
2233
- // Add padding to the parent element to prevent content from being hidden
2234
- // when the footer is positioned absolutely. This has to be done before we
2235
- // make the footer absolutely positioned or we may accidentally cause the
2236
- // sheet to scroll.
2237
- page === null || page === void 0 ? void 0 : page.style.setProperty('padding-bottom', `${footerHeights}px`);
2238
- // Apply positioning styles to keep footer at bottom
2239
- cachedFooterEl.classList.add('modal-footer-moving');
2240
- // Apply our preserved styles to pin the footer
2241
- cachedFooterEl.style.setProperty('position', 'absolute');
2242
- cachedFooterEl.style.setProperty('width', 'var(--pinned-width)');
2243
- cachedFooterEl.style.setProperty('height', 'var(--pinned-height)');
2244
- cachedFooterEl.style.setProperty('top', 'var(--pinned-top)');
2245
- cachedFooterEl.style.setProperty('left', 'var(--pinned-left)');
2246
- // Move the element to the body when everything else is done
2247
- document.body.appendChild(cachedFooterEl);
2248
- });
2249
- }
2250
- };
2251
- /**
2252
- * After the entering animation completes,
2253
- * we need to set the animation to go from
2254
- * offset 0 to offset 1 so that users can
2255
- * swipe in any direction. We then set the
2256
- * animation offset to the current breakpoint
2257
- * so there is no flickering.
2258
- */
2259
- if (wrapperAnimation && backdropAnimation) {
2260
- wrapperAnimation.keyframes([...SheetDefaults.WRAPPER_KEYFRAMES]);
2261
- backdropAnimation.keyframes([...SheetDefaults.BACKDROP_KEYFRAMES]);
2262
- contentAnimation === null || contentAnimation === void 0 ? void 0 : contentAnimation.keyframes([...SheetDefaults.CONTENT_KEYFRAMES]);
2263
- animation.progressStart(true, 1 - currentBreakpoint);
2264
- /**
2265
- * If backdrop is not enabled, then content
2266
- * behind modal should be clickable. To do this, we need
2267
- * to remove pointer-events from ion-modal as a whole.
2268
- * ion-backdrop and .modal-wrapper always have pointer-events: auto
2269
- * applied, so the modal content can still be interacted with.
2270
- */
2271
- const shouldEnableBackdrop = currentBreakpoint > backdropBreakpoint &&
2272
- baseEl.focusTrap !== false &&
2273
- baseEl.showBackdrop !== false;
2274
- if (shouldEnableBackdrop) {
2275
- enableBackdrop();
2276
- }
2277
- else {
2278
- disableBackdrop();
2279
- }
2280
- }
2281
- if (contentEl && currentBreakpoint !== maxBreakpoint && expandToScroll) {
2282
- contentEl.scrollY = false;
2283
- }
2284
- const canStart = (detail) => {
2285
- /**
2286
- * If we are swiping on the content, swiping should only be possible if the content
2287
- * is scrolled all the way to the top so that we do not interfere with scrolling.
2288
- *
2289
- * We cannot assume that the `ion-content` target will remain consistent between swipes.
2290
- * For example, when using ion-nav within a modal it is possible to swipe, push a view,
2291
- * and then swipe again. The target content will not be the same between swipes.
2292
- */
2293
- const contentEl = index$3.findClosestIonContent(detail.event.target);
2294
- currentBreakpoint = getCurrentBreakpoint();
2295
- /**
2296
- * If `expandToScroll` is disabled, we should not allow the swipe gesture
2297
- * to start if the content is not scrolled to the top.
2298
- */
2299
- if (!expandToScroll && contentEl) {
2300
- const scrollEl = index$3.isIonContent(contentEl) ? helpers.getElementRoot(contentEl).querySelector('.inner-scroll') : contentEl;
2301
- return scrollEl.scrollTop === 0;
2302
- }
2303
- if (currentBreakpoint === 1 && contentEl) {
2304
- /**
2305
- * The modal should never swipe to close on the content with a refresher.
2306
- * Note 1: We cannot solve this by making this gesture have a higher priority than
2307
- * the refresher gesture as the iOS native refresh gesture uses a scroll listener in
2308
- * addition to a gesture.
2309
- *
2310
- * Note 2: Do not use getScrollElement here because we need this to be a synchronous
2311
- * operation, and getScrollElement is asynchronous.
2312
- */
2313
- const scrollEl = index$3.isIonContent(contentEl) ? helpers.getElementRoot(contentEl).querySelector('.inner-scroll') : contentEl;
2314
- const hasRefresherInContent = !!contentEl.querySelector('ion-refresher');
2315
- return !hasRefresherInContent && scrollEl.scrollTop === 0;
2316
- }
2317
- return true;
2318
- };
2319
- const onStart = (detail) => {
2320
- /**
2321
- * If canDismiss is anything other than `true`
2322
- * then users should be able to swipe down
2323
- * until a threshold is hit. At that point,
2324
- * the card modal should not proceed any further.
2325
- *
2326
- * canDismiss is never fired via gesture if there is
2327
- * no 0 breakpoint. However, it can be fired if the user
2328
- * presses Esc or the hardware back button.
2329
- * TODO (FW-937)
2330
- * Remove undefined check
2331
- */
2332
- canDismissBlocksGesture = baseEl.canDismiss !== undefined && baseEl.canDismiss !== true && minBreakpoint === 0;
2333
- /**
2334
- * Cache the scroll element reference when the gesture starts,
2335
- * this allows us to avoid querying the DOM for the target in onMove,
2336
- * which would impact performance significantly.
2337
- */
2338
- if (!expandToScroll) {
2339
- const targetEl = index$3.findClosestIonContent(detail.event.target);
2340
- cachedScrollEl =
2341
- targetEl && index$3.isIonContent(targetEl) ? helpers.getElementRoot(targetEl).querySelector('.inner-scroll') : targetEl;
2342
- }
2343
- /**
2344
- * If expandToScroll is disabled, we need to swap
2345
- * the footer position to moving so that it doesn't shake
2346
- * while the sheet is being dragged.
2347
- */
2348
- if (!expandToScroll) {
2349
- swapFooterPosition('moving');
2350
- }
2351
- /**
2352
- * If we are pulling down, then it is possible we are pulling on the content.
2353
- * We do not want scrolling to happen at the same time as the gesture.
2354
- */
2355
- if (detail.deltaY > 0 && contentEl) {
2356
- contentEl.scrollY = false;
2357
- }
2358
- helpers.raf(() => {
2359
- /**
2360
- * Dismisses the open keyboard when the sheet drag gesture is started.
2361
- * Sets the focus onto the modal element.
2362
- */
2363
- baseEl.focus();
2364
- });
2365
- animation.progressStart(true, 1 - currentBreakpoint);
2366
- };
2367
- const onMove = (detail) => {
2368
- /**
2369
- * If `expandToScroll` is disabled, we need to see if we're currently below
2370
- * the footer element and the footer is in a stationary position. If so,
2371
- * we need to make the stationary the original position so that the footer
2372
- * collapses with the sheet.
2373
- */
2374
- if (!expandToScroll && cachedFooterYPosition !== null && currentFooterState !== null) {
2375
- // Check if we need to swap the footer position
2376
- if (detail.currentY >= cachedFooterYPosition && currentFooterState === 'moving') {
2377
- swapFooterPosition('stationary');
2378
- }
2379
- else if (detail.currentY < cachedFooterYPosition && currentFooterState === 'stationary') {
2380
- swapFooterPosition('moving');
2381
- }
2382
- }
2383
- /**
2384
- * If `expandToScroll` is disabled, and an upwards swipe gesture is done within
2385
- * the scrollable content, we should not allow the swipe gesture to continue.
2386
- */
2387
- if (!expandToScroll && detail.deltaY <= 0 && cachedScrollEl) {
2388
- return;
2389
- }
2390
- /**
2391
- * If we are pulling down, then it is possible we are pulling on the content.
2392
- * We do not want scrolling to happen at the same time as the gesture.
2393
- * This accounts for when the user scrolls down, scrolls all the way up, and then
2394
- * pulls down again such that the modal should start to move.
2395
- */
2396
- if (detail.deltaY > 0 && contentEl) {
2397
- contentEl.scrollY = false;
2398
- }
2399
- /**
2400
- * Given the change in gesture position on the Y axis,
2401
- * compute where the offset of the animation should be
2402
- * relative to where the user dragged.
2403
- */
2404
- const initialStep = 1 - currentBreakpoint;
2405
- const secondToLastBreakpoint = breakpoints.length > 1 ? 1 - breakpoints[1] : undefined;
2406
- const step = initialStep + detail.deltaY / height;
2407
- const isAttemptingDismissWithCanDismiss = secondToLastBreakpoint !== undefined && step >= secondToLastBreakpoint && canDismissBlocksGesture;
2408
- /**
2409
- * If we are blocking the gesture from dismissing,
2410
- * set the max step value so that the sheet cannot be
2411
- * completely hidden.
2412
- */
2413
- const maxStep = isAttemptingDismissWithCanDismiss ? canDismissMaxStep : 0.9999;
2414
- /**
2415
- * If we are blocking the gesture from
2416
- * dismissing, calculate the spring modifier value
2417
- * this will be added to the starting breakpoint
2418
- * value to give the gesture a spring-like feeling.
2419
- * Note that when isAttemptingDismissWithCanDismiss is true,
2420
- * the modifier is always added to the breakpoint that
2421
- * appears right after the 0 breakpoint.
2422
- *
2423
- * Note that this modifier is essentially the progression
2424
- * between secondToLastBreakpoint and maxStep which is
2425
- * why we subtract secondToLastBreakpoint. This lets us get
2426
- * the result as a value from 0 to 1.
2427
- */
2428
- const processedStep = isAttemptingDismissWithCanDismiss && secondToLastBreakpoint !== undefined
2429
- ? secondToLastBreakpoint +
2430
- calculateSpringStep((step - secondToLastBreakpoint) / (maxStep - secondToLastBreakpoint))
2431
- : step;
2432
- offset = helpers.clamp(0.0001, processedStep, maxStep);
2433
- animation.progressStep(offset);
2434
- };
2435
- const onEnd = (detail) => {
2436
- /**
2437
- * If expandToScroll is disabled, we should not allow the moveSheetToBreakpoint
2438
- * function to be called if the user is trying to swipe content upwards and the content
2439
- * is not scrolled to the top.
2440
- */
2441
- if (!expandToScroll && detail.deltaY <= 0 && cachedScrollEl && cachedScrollEl.scrollTop > 0) {
2442
- /**
2443
- * If expand to scroll is disabled, we need to make sure we swap the footer position
2444
- * back to stationary so that it will collapse correctly if the modal is dismissed without
2445
- * dragging (e.g. through a dismiss button).
2446
- * This can cause issues if the user has a modal with content that can be dragged, as we'll
2447
- * swap to moving on drag and if we don't swap back here then the footer will get stuck.
2448
- */
2449
- swapFooterPosition('stationary');
2450
- return;
2451
- }
2452
- /**
2453
- * When the gesture releases, we need to determine
2454
- * the closest breakpoint to snap to.
2455
- */
2456
- const velocity = detail.velocityY;
2457
- const threshold = (detail.deltaY + velocity * 350) / height;
2458
- const diff = currentBreakpoint - threshold;
2459
- const closest = breakpoints.reduce((a, b) => {
2460
- return Math.abs(b - diff) < Math.abs(a - diff) ? b : a;
2461
- });
2462
- moveSheetToBreakpoint({
2463
- breakpoint: closest,
2464
- breakpointOffset: offset,
2465
- canDismiss: canDismissBlocksGesture,
2466
- /**
2467
- * The swipe is user-driven, so we should
2468
- * always animate when the gesture ends.
2469
- */
2470
- animated: true,
2471
- });
2472
- };
2473
- const moveSheetToBreakpoint = (options) => {
2474
- const { breakpoint, canDismiss, breakpointOffset, animated } = options;
2475
- /**
2476
- * canDismiss should only prevent snapping
2477
- * when users are trying to dismiss. If canDismiss
2478
- * is present but the user is trying to swipe upwards,
2479
- * we should allow that to happen,
2480
- */
2481
- const shouldPreventDismiss = canDismiss && breakpoint === 0;
2482
- const snapToBreakpoint = shouldPreventDismiss ? currentBreakpoint : breakpoint;
2483
- const shouldRemainOpen = snapToBreakpoint !== 0;
2484
- currentBreakpoint = 0;
2485
- /**
2486
- * Update the animation so that it plays from
2487
- * the last offset to the closest snap point.
2488
- */
2489
- if (wrapperAnimation && backdropAnimation) {
2490
- wrapperAnimation.keyframes([
2491
- { offset: 0, transform: `translateY(${breakpointOffset * 100}%)` },
2492
- { offset: 1, transform: `translateY(${(1 - snapToBreakpoint) * 100}%)` },
2493
- ]);
2494
- backdropAnimation.keyframes([
2495
- {
2496
- offset: 0,
2497
- opacity: `calc(var(--backdrop-opacity) * ${getBackdropValueForSheet(1 - breakpointOffset, backdropBreakpoint)})`,
2498
- },
2499
- {
2500
- offset: 1,
2501
- opacity: `calc(var(--backdrop-opacity) * ${getBackdropValueForSheet(snapToBreakpoint, backdropBreakpoint)})`,
2502
- },
2503
- ]);
2504
- if (contentAnimation) {
2505
- /**
2506
- * The modal content should scroll at any breakpoint when expandToScroll
2507
- * is disabled. In order to do this, the content needs to be completely
2508
- * viewable so scrolling can access everything. Otherwise, the default
2509
- * behavior would show the content off the screen and only allow
2510
- * scrolling when the sheet is fully expanded.
2511
- */
2512
- contentAnimation.keyframes([
2513
- { offset: 0, maxHeight: `${(1 - breakpointOffset) * 100}%` },
2514
- { offset: 1, maxHeight: `${snapToBreakpoint * 100}%` },
2515
- ]);
2516
- }
2517
- animation.progressStep(0);
2518
- }
2519
- /**
2520
- * Gesture should remain disabled until the
2521
- * snapping animation completes.
2522
- */
2523
- gesture.enable(false);
2524
- if (shouldPreventDismiss) {
2525
- handleCanDismiss(baseEl, animation);
2526
- }
2527
- else if (!shouldRemainOpen) {
2528
- onDismiss();
2529
- }
2530
- /**
2531
- * Enables scrolling immediately if the sheet is about to fully expand
2532
- * or if it allows scrolling at any breakpoint. Without this, there would
2533
- * be a ~500ms delay while the modal animation completes, causing a
2534
- * noticeable lag. Native iOS allows scrolling as soon as the gesture is
2535
- * released, so we align with that behavior.
2536
- */
2537
- if (contentEl && (snapToBreakpoint === breakpoints[breakpoints.length - 1] || !expandToScroll)) {
2538
- contentEl.scrollY = true;
2539
- }
2540
- /**
2541
- * If expandToScroll is disabled and we're animating
2542
- * to close the sheet, we need to swap
2543
- * the footer position to stationary so that it
2544
- * will collapse correctly. We cannot just always swap
2545
- * here or it'll be jittery while animating movement.
2546
- */
2547
- if (!expandToScroll && snapToBreakpoint === 0) {
2548
- swapFooterPosition('stationary');
2549
- }
2550
- return new Promise((resolve) => {
2551
- animation
2552
- .onFinish(() => {
2553
- if (shouldRemainOpen) {
2554
- /**
2555
- * If expandToScroll is disabled, we need to swap
2556
- * the footer position to stationary so that it
2557
- * will act as it would by default.
2558
- */
2559
- if (!expandToScroll) {
2560
- swapFooterPosition('stationary');
2561
- }
2562
- /**
2563
- * Once the snapping animation completes,
2564
- * we need to reset the animation to go
2565
- * from 0 to 1 so users can swipe in any direction.
2566
- * We then set the animation offset to the current
2567
- * breakpoint so that it starts at the snapped position.
2568
- */
2569
- if (wrapperAnimation && backdropAnimation) {
2570
- helpers.raf(() => {
2571
- wrapperAnimation.keyframes([...SheetDefaults.WRAPPER_KEYFRAMES]);
2572
- backdropAnimation.keyframes([...SheetDefaults.BACKDROP_KEYFRAMES]);
2573
- contentAnimation === null || contentAnimation === void 0 ? void 0 : contentAnimation.keyframes([...SheetDefaults.CONTENT_KEYFRAMES]);
2574
- animation.progressStart(true, 1 - snapToBreakpoint);
2575
- currentBreakpoint = snapToBreakpoint;
2576
- onBreakpointChange(currentBreakpoint);
2577
- /**
2578
- * Backdrop should become enabled
2579
- * after the backdropBreakpoint value
2580
- */
2581
- const shouldEnableBackdrop = currentBreakpoint > backdropBreakpoint &&
2582
- baseEl.focusTrap !== false &&
2583
- baseEl.showBackdrop !== false;
2584
- if (shouldEnableBackdrop) {
2585
- enableBackdrop();
2586
- }
2587
- else {
2588
- disableBackdrop();
2589
- }
2590
- gesture.enable(true);
2591
- resolve();
2592
- });
2593
- }
2594
- else {
2595
- gesture.enable(true);
2596
- resolve();
2597
- }
2598
- }
2599
- else {
2600
- resolve();
2601
- }
2602
- /**
2603
- * This must be a one time callback
2604
- * otherwise a new callback will
2605
- * be added every time onEnd runs.
2606
- */
2607
- }, { oneTimeCallback: true })
2608
- .progressEnd(1, 0, animated ? 500 : 0);
2609
- });
2610
- };
2611
- const gesture = index.createGesture({
2612
- el: wrapperEl,
2613
- gestureName: 'modalSheet',
2614
- gesturePriority: 40,
2615
- direction: 'y',
2616
- threshold: 10,
2617
- canStart,
2618
- onStart,
2619
- onMove,
2620
- onEnd,
2621
- });
2622
- return {
2623
- gesture,
2624
- moveSheetToBreakpoint,
2625
- };
2626
- };
2627
-
2628
- const modalIosCss = () => `:host{--width:100%;--min-width:auto;--max-width:auto;--height:100%;--min-height:auto;--max-height:auto;--overflow:hidden;--border-radius:0;--border-width:0;--border-style:none;--border-color:transparent;--background:var(--ion-background-color, #fff);--box-shadow:none;--backdrop-opacity:0;left:0;right:0;top:0;bottom:0;display:flex;position:absolute;align-items:center;justify-content:center;outline:none;color:var(--ion-text-color, #000);contain:strict}.modal-wrapper,ion-backdrop{pointer-events:auto}:host(.overlay-hidden){display:none}.modal-wrapper,.modal-shadow{border-radius:var(--border-radius);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);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);box-shadow:var(--box-shadow);overflow:var(--overflow);z-index:10}.modal-shadow{position:absolute;background:transparent}@media only screen and (min-width: 768px) and (min-height: 600px){:host{--width:600px;--height:500px;--ion-safe-area-top:0px;--ion-safe-area-bottom:0px;--ion-safe-area-right:0px;--ion-safe-area-left:0px}}@media only screen and (min-width: 768px) and (min-height: 768px){:host{--width:600px;--height:600px}}.modal-handle{left:0px;right:0px;top:5px;border-radius:8px;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;position:absolute;width:36px;height:5px;transform:translateZ(0);border:0;background:var(--ion-color-step-350, var(--ion-background-color-step-350, #c0c0be));cursor:pointer;z-index:11}.modal-handle::before{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:4px;padding-inline-end:4px;padding-top:4px;padding-bottom:4px;position:absolute;width:36px;height:5px;transform:translate(-50%, -50%);content:""}:host(.modal-sheet){--height:calc(100% - (var(--ion-safe-area-top) + 10px))}:host(.modal-sheet) .modal-wrapper,:host(.modal-sheet) .modal-shadow{position:absolute;bottom:0}:host(.modal-sheet.modal-no-expand-scroll) ion-footer{position:absolute;bottom:0;width:var(--width)}:host{--backdrop-opacity:var(--ion-backdrop-opacity, 0.4)}:host(.modal-card),:host(.modal-sheet){--border-radius:10px}@media only screen and (min-width: 768px) and (min-height: 600px){:host{--border-radius:10px}}.modal-wrapper{transform:translate3d(0, 100%, 0)}@media screen and (max-width: 767px){@supports (width: max(0px, 1px)){:host(.modal-card){--height:calc(100% - max(30px, var(--ion-safe-area-top)) - 10px)}}@supports not (width: max(0px, 1px)){:host(.modal-card){--height:calc(100% - 40px)}}:host(.modal-card) .modal-wrapper{border-start-start-radius:var(--border-radius);border-start-end-radius:var(--border-radius);border-end-end-radius:0;border-end-start-radius:0}:host(.modal-card){--backdrop-opacity:0;--width:100%;align-items:flex-end}:host(.modal-card) .modal-shadow{display:none}:host(.modal-card) ion-backdrop{pointer-events:none}}@media screen and (min-width: 768px){:host(.modal-card){--width:calc(100% - 120px);--height:calc(100% - (120px + var(--ion-safe-area-top) + var(--ion-safe-area-bottom)));--max-width:720px;--max-height:1000px;--backdrop-opacity:0;--box-shadow:0px 0px 30px 10px rgba(0, 0, 0, 0.1);transition:all 0.5s ease-in-out}:host(.modal-card) .modal-wrapper{box-shadow:none}:host(.modal-card) .modal-shadow{box-shadow:var(--box-shadow)}}:host(.modal-sheet) .modal-wrapper{border-start-start-radius:var(--border-radius);border-start-end-radius:var(--border-radius);border-end-end-radius:0;border-end-start-radius:0}`;
2629
-
2630
- const modalMdCss = () => `:host{--width:100%;--min-width:auto;--max-width:auto;--height:100%;--min-height:auto;--max-height:auto;--overflow:hidden;--border-radius:0;--border-width:0;--border-style:none;--border-color:transparent;--background:var(--ion-background-color, #fff);--box-shadow:none;--backdrop-opacity:0;left:0;right:0;top:0;bottom:0;display:flex;position:absolute;align-items:center;justify-content:center;outline:none;color:var(--ion-text-color, #000);contain:strict}.modal-wrapper,ion-backdrop{pointer-events:auto}:host(.overlay-hidden){display:none}.modal-wrapper,.modal-shadow{border-radius:var(--border-radius);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);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);box-shadow:var(--box-shadow);overflow:var(--overflow);z-index:10}.modal-shadow{position:absolute;background:transparent}@media only screen and (min-width: 768px) and (min-height: 600px){:host{--width:600px;--height:500px;--ion-safe-area-top:0px;--ion-safe-area-bottom:0px;--ion-safe-area-right:0px;--ion-safe-area-left:0px}}@media only screen and (min-width: 768px) and (min-height: 768px){:host{--width:600px;--height:600px}}.modal-handle{left:0px;right:0px;top:5px;border-radius:8px;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;position:absolute;width:36px;height:5px;transform:translateZ(0);border:0;background:var(--ion-color-step-350, var(--ion-background-color-step-350, #c0c0be));cursor:pointer;z-index:11}.modal-handle::before{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:4px;padding-inline-end:4px;padding-top:4px;padding-bottom:4px;position:absolute;width:36px;height:5px;transform:translate(-50%, -50%);content:""}:host(.modal-sheet){--height:calc(100% - (var(--ion-safe-area-top) + 10px))}:host(.modal-sheet) .modal-wrapper,:host(.modal-sheet) .modal-shadow{position:absolute;bottom:0}:host(.modal-sheet.modal-no-expand-scroll) ion-footer{position:absolute;bottom:0;width:var(--width)}:host{--backdrop-opacity:var(--ion-backdrop-opacity, 0.32)}@media only screen and (min-width: 768px) and (min-height: 600px){:host{--border-radius:2px;--box-shadow:0 28px 48px rgba(0, 0, 0, 0.4)}}.modal-wrapper{transform:translate3d(0, 40px, 0);opacity:0.01}`;
2631
-
2632
- const Modal = class {
2633
- constructor(hostRef) {
2634
- index$1.registerInstance(this, hostRef);
2635
- this.didPresent = index$1.createEvent(this, "ionModalDidPresent", 7);
2636
- this.willPresent = index$1.createEvent(this, "ionModalWillPresent", 7);
2637
- this.willDismiss = index$1.createEvent(this, "ionModalWillDismiss", 7);
2638
- this.didDismiss = index$1.createEvent(this, "ionModalDidDismiss", 7);
2639
- this.ionBreakpointDidChange = index$1.createEvent(this, "ionBreakpointDidChange", 7);
2640
- this.didPresentShorthand = index$1.createEvent(this, "didPresent", 7);
2641
- this.willPresentShorthand = index$1.createEvent(this, "willPresent", 7);
2642
- this.willDismissShorthand = index$1.createEvent(this, "willDismiss", 7);
2643
- this.didDismissShorthand = index$1.createEvent(this, "didDismiss", 7);
2644
- this.ionMount = index$1.createEvent(this, "ionMount", 7);
2645
- this.lockController = lockController.createLockController();
2646
- this.triggerController = overlays.createTriggerController();
2647
- this.coreDelegate = frameworkDelegate.CoreDelegate();
2648
- this.isSheetModal = false;
2649
- this.inheritedAttributes = {};
2650
- this.inline = false;
2651
- // Whether or not modal is being dismissed via gesture
2652
- this.gestureAnimationDismissing = false;
2653
- this.presented = false;
2654
- /** @internal */
2655
- this.hasController = false;
2656
- /**
2657
- * If `true`, the keyboard will be automatically dismissed when the overlay is presented.
2658
- */
2659
- this.keyboardClose = true;
2660
- /**
2661
- * Controls whether scrolling or dragging within the sheet modal expands
2662
- * it to a larger breakpoint. This only takes effect when `breakpoints`
2663
- * and `initialBreakpoint` are set.
2664
- *
2665
- * If `true`, scrolling or dragging anywhere in the modal will first expand
2666
- * it to the next breakpoint. Once fully expanded, scrolling will affect the
2667
- * content.
2668
- * If `false`, scrolling will always affect the content. The modal will
2669
- * only expand when dragging the header or handle. The modal will close when
2670
- * dragging the header or handle. It can also be closed when dragging the
2671
- * content, but only if the content is scrolled to the top.
2672
- */
2673
- this.expandToScroll = true;
2674
- /**
2675
- * A decimal value between 0 and 1 that indicates the
2676
- * point after which the backdrop will begin to fade in
2677
- * when using a sheet modal. Prior to this point, the
2678
- * backdrop will be hidden and the content underneath
2679
- * the sheet can be interacted with. This value is exclusive
2680
- * meaning the backdrop will become active after the value
2681
- * specified.
2682
- */
2683
- this.backdropBreakpoint = 0;
2684
- /**
2685
- * The interaction behavior for the sheet modal when the handle is pressed.
2686
- *
2687
- * Defaults to `"none"`, which means the modal will not change size or position when the handle is pressed.
2688
- * Set to `"cycle"` to let the modal cycle between available breakpoints when pressed.
2689
- *
2690
- * Handle behavior is unavailable when the `handle` property is set to `false` or
2691
- * when the `breakpoints` property is not set (using a fullscreen or card modal).
2692
- */
2693
- this.handleBehavior = 'none';
2694
- /**
2695
- * If `true`, the modal will be dismissed when the backdrop is clicked.
2696
- */
2697
- this.backdropDismiss = true;
2698
- /**
2699
- * If `true`, a backdrop will be displayed behind the modal.
2700
- * This property controls whether or not the backdrop
2701
- * darkens the screen when the modal is presented.
2702
- * It does not control whether or not the backdrop
2703
- * is active or present in the DOM.
2704
- */
2705
- this.showBackdrop = true;
2706
- /**
2707
- * If `true`, the modal will animate.
2708
- */
2709
- this.animated = true;
2710
- /**
2711
- * If `true`, the modal will open. If `false`, the modal will close.
2712
- * Use this if you need finer grained control over presentation, otherwise
2713
- * just use the modalController or the `trigger` property.
2714
- * Note: `isOpen` will not automatically be set back to `false` when
2715
- * the modal dismisses. You will need to do that in your code.
2716
- */
2717
- this.isOpen = false;
2718
- /**
2719
- * If `true`, the component passed into `ion-modal` will
2720
- * automatically be mounted when the modal is created. The
2721
- * component will remain mounted even when the modal is dismissed.
2722
- * However, the component will be destroyed when the modal is
2723
- * destroyed. This property is not reactive and should only be
2724
- * used when initially creating a modal.
2725
- *
2726
- * Note: This feature only applies to inline modals in JavaScript
2727
- * frameworks such as Angular, React, and Vue.
2728
- */
2729
- this.keepContentsMounted = false;
2730
- /**
2731
- * If `true`, focus will not be allowed to move outside of this overlay.
2732
- * If `false`, focus will be allowed to move outside of the overlay.
2733
- *
2734
- * In most scenarios this property should remain set to `true`. Setting
2735
- * this property to `false` can cause severe accessibility issues as users
2736
- * relying on assistive technologies may be able to move focus into
2737
- * a confusing state. We recommend only setting this to `false` when
2738
- * absolutely necessary.
2739
- *
2740
- * Developers may want to consider disabling focus trapping if this
2741
- * overlay presents a non-Ionic overlay from a 3rd party library.
2742
- * Developers would disable focus trapping on the Ionic overlay
2743
- * when presenting the 3rd party overlay and then re-enable
2744
- * focus trapping when dismissing the 3rd party overlay and moving
2745
- * focus back to the Ionic overlay.
2746
- */
2747
- this.focusTrap = true;
2748
- /**
2749
- * Determines whether or not a modal can dismiss
2750
- * when calling the `dismiss` method.
2751
- *
2752
- * If the value is `true` or the value's function returns `true`, the modal will close when trying to dismiss.
2753
- * If the value is `false` or the value's function returns `false`, the modal will not close when trying to dismiss.
2754
- *
2755
- * See https://ionicframework.com/docs/troubleshooting/runtime#accessing-this
2756
- * if you need to access `this` from within the callback.
2757
- */
2758
- this.canDismiss = true;
2759
- this.onHandleClick = () => {
2760
- const { sheetTransition, handleBehavior } = this;
2761
- if (handleBehavior !== 'cycle' || sheetTransition !== undefined) {
2762
- /**
2763
- * The sheet modal should not advance to the next breakpoint
2764
- * if the handle behavior is not `cycle` or if the handle
2765
- * is clicked while the sheet is moving to a breakpoint.
2766
- */
2767
- return;
2768
- }
2769
- this.moveToNextBreakpoint();
2770
- };
2771
- this.onBackdropTap = () => {
2772
- const { sheetTransition } = this;
2773
- if (sheetTransition !== undefined) {
2774
- /**
2775
- * When the handle is double clicked at the largest breakpoint,
2776
- * it will start to move to the first breakpoint. While transitioning,
2777
- * the backdrop will often receive the second click. We prevent the
2778
- * backdrop from dismissing the modal while moving between breakpoints.
2779
- */
2780
- return;
2781
- }
2782
- this.dismiss(undefined, overlays.BACKDROP);
2783
- };
2784
- this.onLifecycle = (modalEvent) => {
2785
- const el = this.usersElement;
2786
- const name = LIFECYCLE_MAP[modalEvent.type];
2787
- if (el && name) {
2788
- const ev = new CustomEvent(name, {
2789
- bubbles: false,
2790
- cancelable: false,
2791
- detail: modalEvent.detail,
2792
- });
2793
- el.dispatchEvent(ev);
2794
- }
2795
- };
2796
- /**
2797
- * When the modal receives focus directly, pass focus to the handle
2798
- * if it exists and is focusable, otherwise let the focus trap handle it.
2799
- */
2800
- this.onModalFocus = (ev) => {
2801
- const { dragHandleEl, el } = this;
2802
- // Only handle focus if the modal itself was focused (not a child element)
2803
- if (ev.target === el && dragHandleEl && dragHandleEl.tabIndex !== -1) {
2804
- dragHandleEl.focus();
2805
- }
2806
- };
2807
- /**
2808
- * When the slot changes, we need to find all the modals in the slot
2809
- * and set the data-parent-ion-modal attribute on them so we can find them
2810
- * and dismiss them when we get dismissed.
2811
- * We need to do it this way because when a modal is opened, it's moved to
2812
- * the end of the body and is no longer an actual child of the modal.
2813
- */
2814
- this.onSlotChange = ({ target }) => {
2815
- const slot = target;
2816
- slot.assignedElements().forEach((el) => {
2817
- el.querySelectorAll('ion-modal').forEach((childModal) => {
2818
- // We don't need to write to the DOM if the modal is already tagged
2819
- // If this is a deeply nested modal, this effect should cascade so we don't
2820
- // need to worry about another modal claiming the same child.
2821
- if (childModal.getAttribute('data-parent-ion-modal') === null) {
2822
- childModal.setAttribute('data-parent-ion-modal', this.el.id);
2823
- }
2824
- });
2825
- });
2826
- };
2827
- }
2828
- onIsOpenChange(newValue, oldValue) {
2829
- if (newValue === true && oldValue === false) {
2830
- this.present();
2831
- }
2832
- else if (newValue === false && oldValue === true) {
2833
- this.dismiss();
2834
- }
2835
- }
2836
- triggerChanged() {
2837
- const { trigger, el, triggerController } = this;
2838
- if (trigger) {
2839
- triggerController.addClickListener(el, trigger);
2840
- }
2841
- }
2842
- onWindowResize() {
2843
- // Only handle resize for iOS card modals when no custom animations are provided
2844
- if (ionicGlobal.getIonMode(this) !== 'ios' || !this.presentingElement || this.enterAnimation || this.leaveAnimation) {
2845
- return;
2846
- }
2847
- clearTimeout(this.resizeTimeout);
2848
- this.resizeTimeout = setTimeout(() => {
2849
- this.handleViewTransition();
2850
- }, 50); // Debounce to avoid excessive calls during active resizing
2851
- }
2852
- breakpointsChanged(breakpoints) {
2853
- if (breakpoints !== undefined) {
2854
- this.sortedBreakpoints = breakpoints.sort((a, b) => a - b);
2855
- }
2856
- }
2857
- connectedCallback() {
2858
- const { el } = this;
2859
- overlays.prepareOverlay(el);
2860
- this.triggerChanged();
2861
- }
2862
- disconnectedCallback() {
2863
- this.triggerController.removeClickListener();
2864
- this.cleanupViewTransitionListener();
2865
- this.cleanupParentRemovalObserver();
2866
- }
2867
- componentWillLoad() {
2868
- var _a;
2869
- const { breakpoints, initialBreakpoint, el, htmlAttributes } = this;
2870
- const isSheetModal = (this.isSheetModal = breakpoints !== undefined && initialBreakpoint !== undefined);
2871
- const attributesToInherit = ['aria-label', 'role'];
2872
- this.inheritedAttributes = helpers.inheritAttributes(el, attributesToInherit);
2873
- // Cache original parent before modal gets moved to body during presentation
2874
- if (el.parentNode) {
2875
- this.cachedOriginalParent = el.parentNode;
2876
- }
2877
- /**
2878
- * When using a controller modal you can set attributes
2879
- * using the htmlAttributes property. Since the above attributes
2880
- * need to be inherited inside of the modal, we need to look
2881
- * and see if these attributes are being set via htmlAttributes.
2882
- *
2883
- * We could alternatively move this to componentDidLoad to simplify the work
2884
- * here, but we'd then need to make inheritedAttributes a State variable,
2885
- * thus causing another render to always happen after the first render.
2886
- */
2887
- if (htmlAttributes !== undefined) {
2888
- attributesToInherit.forEach((attribute) => {
2889
- const attributeValue = htmlAttributes[attribute];
2890
- if (attributeValue) {
2891
- /**
2892
- * If an attribute we need to inherit was
2893
- * set using htmlAttributes then add it to
2894
- * inheritedAttributes and remove it from htmlAttributes.
2895
- * This ensures the attribute is inherited and not
2896
- * set on the host.
2897
- *
2898
- * In this case, if an inherited attribute is set
2899
- * on the host element and using htmlAttributes then
2900
- * htmlAttributes wins, but that's not a pattern that we recommend.
2901
- * The only time you'd need htmlAttributes is when using modalController.
2902
- */
2903
- this.inheritedAttributes = Object.assign(Object.assign({}, this.inheritedAttributes), { [attribute]: htmlAttributes[attribute] });
2904
- delete htmlAttributes[attribute];
2905
- }
2906
- });
2907
- }
2908
- if (isSheetModal) {
2909
- this.currentBreakpoint = this.initialBreakpoint;
2910
- }
2911
- if (breakpoints !== undefined && initialBreakpoint !== undefined && !breakpoints.includes(initialBreakpoint)) {
2912
- index$1.printIonWarning('[ion-modal] - Your breakpoints array must include the initialBreakpoint value.');
2913
- }
2914
- if (!((_a = this.htmlAttributes) === null || _a === void 0 ? void 0 : _a.id)) {
2915
- overlays.setOverlayId(this.el);
2916
- }
2917
- }
2918
- componentDidLoad() {
2919
- /**
2920
- * If modal was rendered with isOpen="true"
2921
- * then we should open modal immediately.
2922
- */
2923
- if (this.isOpen === true) {
2924
- helpers.raf(() => this.present());
2925
- }
2926
- this.breakpointsChanged(this.breakpoints);
2927
- /**
2928
- * When binding values in frameworks such as Angular
2929
- * it is possible for the value to be set after the Web Component
2930
- * initializes but before the value watcher is set up in Stencil.
2931
- * As a result, the watcher callback may not be fired.
2932
- * We work around this by manually calling the watcher
2933
- * callback when the component has loaded and the watcher
2934
- * is configured.
2935
- */
2936
- this.triggerChanged();
2937
- }
2938
- /**
2939
- * Determines whether or not an overlay
2940
- * is being used inline or via a controller/JS
2941
- * and returns the correct delegate.
2942
- * By default, subsequent calls to getDelegate
2943
- * will use a cached version of the delegate.
2944
- * This is useful for calling dismiss after
2945
- * present so that the correct delegate is given.
2946
- */
2947
- getDelegate(force = false) {
2948
- if (this.workingDelegate && !force) {
2949
- return {
2950
- delegate: this.workingDelegate,
2951
- inline: this.inline,
2952
- };
2953
- }
2954
- /**
2955
- * If using overlay inline
2956
- * we potentially need to use the coreDelegate
2957
- * so that this works in vanilla JS apps.
2958
- * If a developer has presented this component
2959
- * via a controller, then we can assume
2960
- * the component is already in the
2961
- * correct place.
2962
- */
2963
- const parentEl = this.el.parentNode;
2964
- const inline = (this.inline = parentEl !== null && !this.hasController);
2965
- const delegate = (this.workingDelegate = inline ? this.delegate || this.coreDelegate : this.delegate);
2966
- return { inline, delegate };
2967
- }
2968
- /**
2969
- * Determines whether or not the
2970
- * modal is allowed to dismiss based
2971
- * on the state of the canDismiss prop.
2972
- */
2973
- async checkCanDismiss(data, role) {
2974
- const { canDismiss } = this;
2975
- if (typeof canDismiss === 'function') {
2976
- return canDismiss(data, role);
2977
- }
2978
- return canDismiss;
2979
- }
2980
- /**
2981
- * Present the modal overlay after it has been created.
2982
- */
2983
- async present() {
2984
- const unlock = await this.lockController.lock();
2985
- if (this.presented) {
2986
- unlock();
2987
- return;
2988
- }
2989
- const { presentingElement, el } = this;
2990
- /**
2991
- * If the modal is presented multiple times (inline modals), we
2992
- * need to reset the current breakpoint to the initial breakpoint.
2993
- */
2994
- this.currentBreakpoint = this.initialBreakpoint;
2995
- const { inline, delegate } = this.getDelegate(true);
2996
- /**
2997
- * Emit ionMount so JS Frameworks have an opportunity
2998
- * to add the child component to the DOM. The child
2999
- * component will be assigned to this.usersElement below.
3000
- */
3001
- this.ionMount.emit();
3002
- this.usersElement = await frameworkDelegate.attachComponent(delegate, el, this.component, ['ion-page'], this.componentProps, inline);
3003
- /**
3004
- * When using the lazy loaded build of Stencil, we need to wait
3005
- * for every Stencil component instance to be ready before presenting
3006
- * otherwise there can be a flash of unstyled content. With the
3007
- * custom elements bundle we need to wait for the JS framework
3008
- * mount the inner contents of the overlay otherwise WebKit may
3009
- * get the transition incorrect.
3010
- */
3011
- if (helpers.hasLazyBuild(el)) {
3012
- await index$4.deepReady(this.usersElement);
3013
- /**
3014
- * If keepContentsMounted="true" then the
3015
- * JS Framework has already mounted the inner
3016
- * contents so there is no need to wait.
3017
- * Otherwise, we need to wait for the JS
3018
- * Framework to mount the inner contents
3019
- * of this component.
3020
- */
3021
- }
3022
- else if (!this.keepContentsMounted) {
3023
- await index$4.waitForMount();
3024
- }
3025
- index$1.writeTask(() => this.el.classList.add('show-modal'));
3026
- const hasCardModal = presentingElement !== undefined;
3027
- /**
3028
- * We need to change the status bar at the
3029
- * start of the animation so that it completes
3030
- * by the time the card animation is done.
3031
- */
3032
- if (hasCardModal && ionicGlobal.getIonMode(this) === 'ios') {
3033
- // Cache the original status bar color before the modal is presented
3034
- this.statusBarStyle = await StatusBar.getStyle();
3035
- setCardStatusBarDark();
3036
- }
3037
- await overlays.present(this, 'modalEnter', iosEnterAnimation, mdEnterAnimation, {
3038
- presentingEl: presentingElement,
3039
- currentBreakpoint: this.initialBreakpoint,
3040
- backdropBreakpoint: this.backdropBreakpoint,
3041
- expandToScroll: this.expandToScroll,
3042
- });
3043
- /* tslint:disable-next-line */
3044
- if (typeof window !== 'undefined') {
3045
- /**
3046
- * This needs to be setup before any
3047
- * non-transition async work so it can be dereferenced
3048
- * in the dismiss method. The dismiss method
3049
- * only waits for the entering transition
3050
- * to finish. It does not wait for all of the `present`
3051
- * method to resolve.
3052
- */
3053
- this.keyboardOpenCallback = () => {
3054
- if (this.gesture) {
3055
- /**
3056
- * When the native keyboard is opened and the webview
3057
- * is resized, the gesture implementation will become unresponsive
3058
- * and enter a free-scroll mode.
3059
- *
3060
- * When the keyboard is opened, we disable the gesture for
3061
- * a single frame and re-enable once the contents have repositioned
3062
- * from the keyboard placement.
3063
- */
3064
- this.gesture.enable(false);
3065
- helpers.raf(() => {
3066
- if (this.gesture) {
3067
- this.gesture.enable(true);
3068
- }
3069
- });
3070
- }
3071
- };
3072
- window.addEventListener(keyboard.KEYBOARD_DID_OPEN, this.keyboardOpenCallback);
3073
- }
3074
- /**
3075
- * Recalculate isSheetModal because framework bindings (e.g., Angular)
3076
- * may not have been applied when componentWillLoad ran.
3077
- */
3078
- const isSheetModal = this.breakpoints !== undefined && this.initialBreakpoint !== undefined;
3079
- this.isSheetModal = isSheetModal;
3080
- if (isSheetModal) {
3081
- this.initSheetGesture();
3082
- }
3083
- else if (hasCardModal) {
3084
- this.initSwipeToClose();
3085
- }
3086
- // Initialize view transition listener for iOS card modals
3087
- this.initViewTransitionListener();
3088
- // Initialize parent removal observer
3089
- this.initParentRemovalObserver();
3090
- unlock();
3091
- }
3092
- initSwipeToClose() {
3093
- var _a;
3094
- if (ionicGlobal.getIonMode(this) !== 'ios') {
3095
- return;
3096
- }
3097
- const { el } = this;
3098
- // All of the elements needed for the swipe gesture
3099
- // should be in the DOM and referenced by now, except
3100
- // for the presenting el
3101
- const animationBuilder = this.leaveAnimation || index$1.config.get('modalLeave', iosLeaveAnimation);
3102
- const ani = (this.animation = animationBuilder(el, {
3103
- presentingEl: this.presentingElement,
3104
- expandToScroll: this.expandToScroll,
3105
- }));
3106
- const contentEl = index$3.findIonContent(el);
3107
- if (!contentEl) {
3108
- index$3.printIonContentErrorMsg(el);
3109
- return;
3110
- }
3111
- const statusBarStyle = (_a = this.statusBarStyle) !== null && _a !== void 0 ? _a : Style.Default;
3112
- this.gesture = createSwipeToCloseGesture(el, ani, statusBarStyle, () => {
3113
- /**
3114
- * While the gesture animation is finishing
3115
- * it is possible for a user to tap the backdrop.
3116
- * This would result in the dismiss animation
3117
- * being played again. Typically this is avoided
3118
- * by setting `presented = false` on the overlay
3119
- * component; however, we cannot do that here as
3120
- * that would prevent the element from being
3121
- * removed from the DOM.
3122
- */
3123
- this.gestureAnimationDismissing = true;
3124
- /**
3125
- * Reset the status bar style as the dismiss animation
3126
- * starts otherwise the status bar will be the wrong
3127
- * color for the duration of the dismiss animation.
3128
- * The dismiss method does this as well, but
3129
- * in this case it's only called once the animation
3130
- * has finished.
3131
- */
3132
- setCardStatusBarDefault(this.statusBarStyle);
3133
- this.animation.onFinish(async () => {
3134
- await this.dismiss(undefined, overlays.GESTURE);
3135
- this.gestureAnimationDismissing = false;
3136
- });
3137
- });
3138
- this.gesture.enable(true);
3139
- }
3140
- initSheetGesture() {
3141
- const { wrapperEl, initialBreakpoint, backdropBreakpoint } = this;
3142
- if (!wrapperEl || initialBreakpoint === undefined) {
3143
- return;
3144
- }
3145
- const animationBuilder = this.enterAnimation || index$1.config.get('modalEnter', iosEnterAnimation);
3146
- const ani = (this.animation = animationBuilder(this.el, {
3147
- presentingEl: this.presentingElement,
3148
- currentBreakpoint: initialBreakpoint,
3149
- backdropBreakpoint,
3150
- expandToScroll: this.expandToScroll,
3151
- }));
3152
- ani.progressStart(true, 1);
3153
- const { gesture, moveSheetToBreakpoint } = createSheetGesture(this.el, this.backdropEl, wrapperEl, initialBreakpoint, backdropBreakpoint, ani, this.sortedBreakpoints, this.expandToScroll, () => { var _a; return (_a = this.currentBreakpoint) !== null && _a !== void 0 ? _a : 0; }, () => this.sheetOnDismiss(), (breakpoint) => {
3154
- if (this.currentBreakpoint !== breakpoint) {
3155
- this.currentBreakpoint = breakpoint;
3156
- this.ionBreakpointDidChange.emit({ breakpoint });
3157
- }
3158
- });
3159
- this.gesture = gesture;
3160
- this.moveSheetToBreakpoint = moveSheetToBreakpoint;
3161
- this.gesture.enable(true);
3162
- /**
3163
- * When backdrop interaction is allowed, nested router outlets from child routes
3164
- * may block pointer events to parent content. Apply passthrough styles only when
3165
- * the modal was the sole content of a child route page.
3166
- * See https://github.com/ionic-team/ionic-framework/issues/30700
3167
- */
3168
- const backdropNotBlocking = this.showBackdrop === false || this.focusTrap === false || backdropBreakpoint > 0;
3169
- if (backdropNotBlocking) {
3170
- this.setupChildRoutePassthrough();
3171
- }
3172
- }
3173
- /**
3174
- * For sheet modals that allow background interaction, sets up pointer-events
3175
- * passthrough on child route page wrappers and nested router outlets.
3176
- */
3177
- setupChildRoutePassthrough() {
3178
- var _a;
3179
- // Cache the page parent for cleanup
3180
- this.cachedPageParent = this.getOriginalPageParent();
3181
- const pageParent = this.cachedPageParent;
3182
- // Skip ion-app (controller modals) and pages with visible sibling content next to the modal
3183
- if (!pageParent || pageParent.tagName === 'ION-APP') {
3184
- return;
3185
- }
3186
- const hasVisibleContent = Array.from(pageParent.children).some((child) => {
3187
- var _a;
3188
- return child !== this.el &&
3189
- !(child instanceof HTMLElement && window.getComputedStyle(child).display === 'none') &&
3190
- child.tagName !== 'TEMPLATE' &&
3191
- child.tagName !== 'SLOT' &&
3192
- !(child.nodeType === Node.TEXT_NODE && !((_a = child.textContent) === null || _a === void 0 ? void 0 : _a.trim()));
3193
- });
3194
- if (hasVisibleContent) {
3195
- return;
3196
- }
3197
- // Child route case: page only contained the modal
3198
- pageParent.classList.add('ion-page-overlay-passthrough');
3199
- // Also make nested router outlets passthrough
3200
- const routerOutlet = pageParent.parentElement;
3201
- if ((routerOutlet === null || routerOutlet === void 0 ? void 0 : routerOutlet.tagName) === 'ION-ROUTER-OUTLET' && ((_a = routerOutlet.parentElement) === null || _a === void 0 ? void 0 : _a.tagName) !== 'ION-APP') {
3202
- routerOutlet.style.setProperty('pointer-events', 'none');
3203
- routerOutlet.setAttribute('data-overlay-passthrough', 'true');
3204
- }
3205
- }
3206
- /**
3207
- * Finds the ion-page ancestor of the modal's original parent location.
3208
- */
3209
- getOriginalPageParent() {
3210
- if (!this.cachedOriginalParent) {
3211
- return null;
3212
- }
3213
- let pageParent = this.cachedOriginalParent;
3214
- while (pageParent && !pageParent.classList.contains('ion-page')) {
3215
- pageParent = pageParent.parentElement;
3216
- }
3217
- return pageParent;
3218
- }
3219
- /**
3220
- * Removes passthrough styles added by setupChildRoutePassthrough.
3221
- */
3222
- cleanupChildRoutePassthrough() {
3223
- const pageParent = this.cachedPageParent;
3224
- if (!pageParent) {
3225
- return;
3226
- }
3227
- pageParent.classList.remove('ion-page-overlay-passthrough');
3228
- const routerOutlet = pageParent.parentElement;
3229
- if (routerOutlet === null || routerOutlet === void 0 ? void 0 : routerOutlet.hasAttribute('data-overlay-passthrough')) {
3230
- routerOutlet.style.removeProperty('pointer-events');
3231
- routerOutlet.removeAttribute('data-overlay-passthrough');
3232
- }
3233
- // Clear the cached reference
3234
- this.cachedPageParent = undefined;
3235
- }
3236
- sheetOnDismiss() {
3237
- /**
3238
- * While the gesture animation is finishing
3239
- * it is possible for a user to tap the backdrop.
3240
- * This would result in the dismiss animation
3241
- * being played again. Typically this is avoided
3242
- * by setting `presented = false` on the overlay
3243
- * component; however, we cannot do that here as
3244
- * that would prevent the element from being
3245
- * removed from the DOM.
3246
- */
3247
- this.gestureAnimationDismissing = true;
3248
- this.animation.onFinish(async () => {
3249
- this.currentBreakpoint = 0;
3250
- this.ionBreakpointDidChange.emit({ breakpoint: this.currentBreakpoint });
3251
- await this.dismiss(undefined, overlays.GESTURE);
3252
- this.gestureAnimationDismissing = false;
3253
- });
3254
- }
3255
- /**
3256
- * Dismiss the modal overlay after it has been presented.
3257
- * This is a no-op if the overlay has not been presented yet. If you want
3258
- * to remove an overlay from the DOM that was never presented, use the
3259
- * [remove](https://developer.mozilla.org/en-US/docs/Web/API/Element/remove) method.
3260
- *
3261
- * @param data Any data to emit in the dismiss events.
3262
- * @param role The role of the element that is dismissing the modal.
3263
- * For example, `cancel` or `backdrop`.
3264
- */
3265
- async dismiss(data, role) {
3266
- var _a;
3267
- if (this.gestureAnimationDismissing && role !== overlays.GESTURE) {
3268
- return false;
3269
- }
3270
- /**
3271
- * Because the canDismiss check below is async,
3272
- * we need to claim a lock before the check happens,
3273
- * in case the dismiss transition does run.
3274
- */
3275
- const unlock = await this.lockController.lock();
3276
- /**
3277
- * Dismiss all child modals. This is especially important in
3278
- * Angular and React because it's possible to lose control of a child
3279
- * modal when the parent modal is dismissed.
3280
- */
3281
- await this.dismissNestedModals();
3282
- /**
3283
- * If a canDismiss handler is responsible
3284
- * for calling the dismiss method, we should
3285
- * not run the canDismiss check again.
3286
- */
3287
- if (role !== 'handler' && !(await this.checkCanDismiss(data, role))) {
3288
- unlock();
3289
- return false;
3290
- }
3291
- const { presentingElement } = this;
3292
- /**
3293
- * We need to start the status bar change
3294
- * before the animation so that the change
3295
- * finishes when the dismiss animation does.
3296
- */
3297
- const hasCardModal = presentingElement !== undefined;
3298
- if (hasCardModal && ionicGlobal.getIonMode(this) === 'ios') {
3299
- setCardStatusBarDefault(this.statusBarStyle);
3300
- }
3301
- /* tslint:disable-next-line */
3302
- if (typeof window !== 'undefined' && this.keyboardOpenCallback) {
3303
- window.removeEventListener(keyboard.KEYBOARD_DID_OPEN, this.keyboardOpenCallback);
3304
- this.keyboardOpenCallback = undefined;
3305
- }
3306
- const dismissed = await overlays.dismiss(this, data, role, 'modalLeave', iosLeaveAnimation, mdLeaveAnimation, {
3307
- presentingEl: presentingElement,
3308
- currentBreakpoint: (_a = this.currentBreakpoint) !== null && _a !== void 0 ? _a : this.initialBreakpoint,
3309
- backdropBreakpoint: this.backdropBreakpoint,
3310
- expandToScroll: this.expandToScroll,
3311
- });
3312
- if (dismissed) {
3313
- const { delegate } = this.getDelegate();
3314
- await frameworkDelegate.detachComponent(delegate, this.usersElement);
3315
- index$1.writeTask(() => this.el.classList.remove('show-modal'));
3316
- if (this.animation) {
3317
- this.animation.destroy();
3318
- }
3319
- if (this.gesture) {
3320
- this.gesture.destroy();
3321
- }
3322
- this.cleanupViewTransitionListener();
3323
- this.cleanupParentRemovalObserver();
3324
- this.cleanupChildRoutePassthrough();
3325
- }
3326
- this.currentBreakpoint = undefined;
3327
- this.animation = undefined;
3328
- unlock();
3329
- return dismissed;
3330
- }
3331
- /**
3332
- * Returns a promise that resolves when the modal did dismiss.
3333
- */
3334
- onDidDismiss() {
3335
- return overlays.eventMethod(this.el, 'ionModalDidDismiss');
3336
- }
3337
- /**
3338
- * Returns a promise that resolves when the modal will dismiss.
3339
- */
3340
- onWillDismiss() {
3341
- return overlays.eventMethod(this.el, 'ionModalWillDismiss');
3342
- }
3343
- /**
3344
- * Move a sheet style modal to a specific breakpoint.
3345
- *
3346
- * @param breakpoint The breakpoint value to move the sheet modal to.
3347
- * Must be a value defined in your `breakpoints` array.
3348
- */
3349
- async setCurrentBreakpoint(breakpoint) {
3350
- if (!this.isSheetModal) {
3351
- index$1.printIonWarning('[ion-modal] - setCurrentBreakpoint is only supported on sheet modals.');
3352
- return;
3353
- }
3354
- if (!this.breakpoints.includes(breakpoint)) {
3355
- index$1.printIonWarning(`[ion-modal] - Attempted to set invalid breakpoint value ${breakpoint}. Please double check that the breakpoint value is part of your defined breakpoints.`);
3356
- return;
3357
- }
3358
- const { currentBreakpoint, moveSheetToBreakpoint, canDismiss, breakpoints, animated } = this;
3359
- if (currentBreakpoint === breakpoint) {
3360
- return;
3361
- }
3362
- if (moveSheetToBreakpoint) {
3363
- this.sheetTransition = moveSheetToBreakpoint({
3364
- breakpoint,
3365
- breakpointOffset: 1 - currentBreakpoint,
3366
- canDismiss: canDismiss !== undefined && canDismiss !== true && breakpoints[0] === 0,
3367
- animated,
3368
- });
3369
- await this.sheetTransition;
3370
- this.sheetTransition = undefined;
3371
- }
3372
- }
3373
- /**
3374
- * Returns the current breakpoint of a sheet style modal
3375
- */
3376
- async getCurrentBreakpoint() {
3377
- return this.currentBreakpoint;
3378
- }
3379
- async moveToNextBreakpoint() {
3380
- const { breakpoints, currentBreakpoint } = this;
3381
- if (!breakpoints || currentBreakpoint == null) {
3382
- /**
3383
- * If the modal does not have breakpoints and/or the current
3384
- * breakpoint is not set, we can't move to the next breakpoint.
3385
- */
3386
- return false;
3387
- }
3388
- const allowedBreakpoints = breakpoints.filter((b) => b !== 0);
3389
- const currentBreakpointIndex = allowedBreakpoints.indexOf(currentBreakpoint);
3390
- const nextBreakpointIndex = (currentBreakpointIndex + 1) % allowedBreakpoints.length;
3391
- const nextBreakpoint = allowedBreakpoints[nextBreakpointIndex];
3392
- /**
3393
- * Sets the current breakpoint to the next available breakpoint.
3394
- * If the current breakpoint is the last breakpoint, we set the current
3395
- * breakpoint to the first non-zero breakpoint to avoid dismissing the sheet.
3396
- */
3397
- await this.setCurrentBreakpoint(nextBreakpoint);
3398
- return true;
3399
- }
3400
- initViewTransitionListener() {
3401
- // Only enable for iOS card modals when no custom animations are provided
3402
- if (ionicGlobal.getIonMode(this) !== 'ios' || !this.presentingElement || this.enterAnimation || this.leaveAnimation) {
3403
- return;
3404
- }
3405
- // Set initial view state
3406
- this.currentViewIsPortrait = window.innerWidth < 768;
3407
- }
3408
- handleViewTransition() {
3409
- const isPortrait = window.innerWidth < 768;
3410
- // Only transition if view state actually changed
3411
- if (this.currentViewIsPortrait === isPortrait) {
3412
- return;
3413
- }
3414
- // Cancel any ongoing transition animation
3415
- if (this.viewTransitionAnimation) {
3416
- this.viewTransitionAnimation.destroy();
3417
- this.viewTransitionAnimation = undefined;
3418
- }
3419
- const { presentingElement } = this;
3420
- if (!presentingElement) {
3421
- return;
3422
- }
3423
- // Create transition animation
3424
- let transitionAnimation;
3425
- if (this.currentViewIsPortrait && !isPortrait) {
3426
- // Portrait to landscape transition
3427
- transitionAnimation = portraitToLandscapeTransition(this.el, {
3428
- presentingEl: presentingElement});
3429
- }
3430
- else {
3431
- // Landscape to portrait transition
3432
- transitionAnimation = landscapeToPortraitTransition(this.el, {
3433
- presentingEl: presentingElement});
3434
- }
3435
- // Update state and play animation
3436
- this.currentViewIsPortrait = isPortrait;
3437
- this.viewTransitionAnimation = transitionAnimation;
3438
- transitionAnimation.play().then(() => {
3439
- this.viewTransitionAnimation = undefined;
3440
- // After orientation transition, recreate the swipe-to-close gesture
3441
- // with updated animation that reflects the new presenting element state
3442
- this.reinitSwipeToClose();
3443
- });
3444
- }
3445
- cleanupViewTransitionListener() {
3446
- // Clear any pending resize timeout
3447
- if (this.resizeTimeout) {
3448
- clearTimeout(this.resizeTimeout);
3449
- this.resizeTimeout = undefined;
3450
- }
3451
- if (this.viewTransitionAnimation) {
3452
- this.viewTransitionAnimation.destroy();
3453
- this.viewTransitionAnimation = undefined;
3454
- }
3455
- }
3456
- reinitSwipeToClose() {
3457
- // Only reinitialize if we have a presenting element and are on iOS
3458
- if (ionicGlobal.getIonMode(this) !== 'ios' || !this.presentingElement) {
3459
- return;
3460
- }
3461
- // Clean up existing gesture and animation
3462
- if (this.gesture) {
3463
- this.gesture.destroy();
3464
- this.gesture = undefined;
3465
- }
3466
- if (this.animation) {
3467
- // Properly end the progress-based animation at initial state before destroying
3468
- // to avoid leaving modal in intermediate swipe position
3469
- this.animation.progressEnd(0, 0, 0);
3470
- this.animation.destroy();
3471
- this.animation = undefined;
3472
- }
3473
- // Force the modal back to the correct position or it could end up
3474
- // in a weird state after destroying the animation
3475
- helpers.raf(() => {
3476
- this.ensureCorrectModalPosition();
3477
- this.initSwipeToClose();
3478
- });
3479
- }
3480
- ensureCorrectModalPosition() {
3481
- const { el, presentingElement } = this;
3482
- const root = helpers.getElementRoot(el);
3483
- const wrapperEl = root.querySelector('.modal-wrapper');
3484
- if (wrapperEl) {
3485
- wrapperEl.style.transform = 'translateY(0vh)';
3486
- wrapperEl.style.opacity = '1';
3487
- }
3488
- if ((presentingElement === null || presentingElement === void 0 ? void 0 : presentingElement.tagName) === 'ION-MODAL') {
3489
- const isPortrait = window.innerWidth < 768;
3490
- if (isPortrait) {
3491
- const transformOffset = !CSS.supports('width', 'max(0px, 1px)')
3492
- ? '30px'
3493
- : 'max(30px, var(--ion-safe-area-top))';
3494
- const scale = SwipeToCloseDefaults.MIN_PRESENTING_SCALE;
3495
- presentingElement.style.transform = `translateY(${transformOffset}) scale(${scale})`;
3496
- }
3497
- else {
3498
- presentingElement.style.transform = 'translateY(0px) scale(1)';
3499
- }
3500
- }
3501
- }
3502
- async dismissNestedModals() {
3503
- const nestedModals = document.querySelectorAll(`ion-modal[data-parent-ion-modal="${this.el.id}"]`);
3504
- nestedModals === null || nestedModals === void 0 ? void 0 : nestedModals.forEach(async (modal) => {
3505
- await modal.dismiss(undefined, 'parent-dismissed');
3506
- });
3507
- }
3508
- initParentRemovalObserver() {
3509
- if (typeof MutationObserver === 'undefined') {
3510
- return;
3511
- }
3512
- // Only observe if we have a cached parent and are in browser environment
3513
- if (typeof window === 'undefined' || !this.cachedOriginalParent) {
3514
- return;
3515
- }
3516
- // Don't observe document or fragment nodes as they can't be "removed"
3517
- if (this.cachedOriginalParent.nodeType === Node.DOCUMENT_NODE ||
3518
- this.cachedOriginalParent.nodeType === Node.DOCUMENT_FRAGMENT_NODE) {
3519
- return;
3520
- }
3521
- /**
3522
- * Don't observe for controller-based modals or when the parent is the
3523
- * app root (document.body or ion-app). These parents won't be removed,
3524
- * and observing document.body with subtree: true causes performance
3525
- * issues with frameworks like Angular during change detection.
3526
- */
3527
- if (this.hasController ||
3528
- this.cachedOriginalParent === document.body ||
3529
- this.cachedOriginalParent.tagName === 'ION-APP') {
3530
- return;
3531
- }
3532
- this.parentRemovalObserver = new MutationObserver((mutations) => {
3533
- mutations.forEach((mutation) => {
3534
- if (mutation.type === 'childList' && mutation.removedNodes.length > 0) {
3535
- // Check if our cached original parent was removed
3536
- const cachedParentWasRemoved = Array.from(mutation.removedNodes).some((node) => {
3537
- var _a, _b;
3538
- const isDirectMatch = node === this.cachedOriginalParent;
3539
- const isContainedMatch = this.cachedOriginalParent
3540
- ? (_b = (_a = node).contains) === null || _b === void 0 ? void 0 : _b.call(_a, this.cachedOriginalParent)
3541
- : false;
3542
- return isDirectMatch || isContainedMatch;
3543
- });
3544
- // Also check if parent is no longer connected to DOM
3545
- const cachedParentDisconnected = this.cachedOriginalParent && !this.cachedOriginalParent.isConnected;
3546
- if (cachedParentWasRemoved || cachedParentDisconnected) {
3547
- this.dismiss(undefined, 'parent-removed');
3548
- // Release the reference to the cached original parent
3549
- // so we don't have a memory leak
3550
- this.cachedOriginalParent = undefined;
3551
- }
3552
- }
3553
- });
3554
- });
3555
- // Observe document body with subtree to catch removals at any level
3556
- this.parentRemovalObserver.observe(document.body, {
3557
- childList: true,
3558
- subtree: true,
3559
- });
3560
- }
3561
- cleanupParentRemovalObserver() {
3562
- var _a;
3563
- (_a = this.parentRemovalObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
3564
- this.parentRemovalObserver = undefined;
3565
- }
3566
- render() {
3567
- const { handle, isSheetModal, presentingElement, htmlAttributes, handleBehavior, inheritedAttributes, focusTrap, expandToScroll, } = this;
3568
- const showHandle = handle !== false && isSheetModal;
3569
- const mode = ionicGlobal.getIonMode(this);
3570
- const isCardModal = presentingElement !== undefined && mode === 'ios';
3571
- const isHandleCycle = handleBehavior === 'cycle';
3572
- const isSheetModalWithHandle = isSheetModal && showHandle;
3573
- return (index$1.h(index$1.Host, Object.assign({ key: '9a75095a13de0cfc96f1fa69fd92777d25da8daa', "no-router": true,
3574
- // Allow the modal to be navigable when the handle is focusable
3575
- tabIndex: isHandleCycle && isSheetModalWithHandle ? 0 : -1 }, htmlAttributes, { style: {
3576
- zIndex: `${20000 + this.overlayIndex}`,
3577
- }, class: Object.assign({ [mode]: true, ['modal-default']: !isCardModal && !isSheetModal, [`modal-card`]: isCardModal, [`modal-sheet`]: isSheetModal, [`modal-no-expand-scroll`]: isSheetModal && !expandToScroll, 'overlay-hidden': true, [overlays.FOCUS_TRAP_DISABLE_CLASS]: focusTrap === false }, theme.getClassMap(this.cssClass)), onIonBackdropTap: this.onBackdropTap, onIonModalDidPresent: this.onLifecycle, onIonModalWillPresent: this.onLifecycle, onIonModalWillDismiss: this.onLifecycle, onIonModalDidDismiss: this.onLifecycle, onFocus: this.onModalFocus }), index$1.h("ion-backdrop", { key: 'd02612d8063ef20f59f173ff47795f71cdaaf63e', ref: (el) => (this.backdropEl = el), visible: this.showBackdrop, tappable: this.backdropDismiss, part: "backdrop" }), mode === 'ios' && index$1.h("div", { key: '708761b70a93e34c08faae079569f444c7416a4c', class: "modal-shadow" }), index$1.h("div", Object.assign({ key: 'a72226ff1a98229f9bfd9207b98fc57e02baa430',
3578
- /*
3579
- role and aria-modal must be used on the
3580
- same element. They must also be set inside the
3581
- shadow DOM otherwise ion-button will not be highlighted
3582
- when using VoiceOver: https://bugs.webkit.org/show_bug.cgi?id=247134
3583
- */
3584
- role: "dialog" }, inheritedAttributes, { "aria-modal": "true", class: "modal-wrapper ion-overlay-wrapper", part: "content", ref: (el) => (this.wrapperEl = el) }), showHandle && (index$1.h("button", { key: '0547f32323882660221385d84d492929caa77c6b', class: "modal-handle",
3585
- // Prevents the handle from receiving keyboard focus when it does not cycle
3586
- tabIndex: !isHandleCycle ? -1 : 0, "aria-label": "Activate to adjust the size of the dialog overlaying the screen", onClick: isHandleCycle ? this.onHandleClick : undefined, part: "handle", ref: (el) => (this.dragHandleEl = el) })), index$1.h("slot", { key: 'fccbd64518b6fa22f9e874deb6b4ba55d8d89c3b', onSlotchange: this.onSlotChange }))));
3587
- }
3588
- get el() { return index$1.getElement(this); }
3589
- static get watchers() { return {
3590
- "isOpen": ["onIsOpenChange"],
3591
- "trigger": ["triggerChanged"]
3592
- }; }
3593
- };
3594
- const LIFECYCLE_MAP = {
3595
- ionModalDidPresent: 'ionViewDidEnter',
3596
- ionModalWillPresent: 'ionViewWillEnter',
3597
- ionModalWillDismiss: 'ionViewWillLeave',
3598
- ionModalDidDismiss: 'ionViewDidLeave',
3599
- };
3600
- Modal.style = {
3601
- ios: modalIosCss(),
3602
- md: modalMdCss()
3603
- };
3604
-
3605
- const ionicSelectModalMdCss = () => `.sc-ion-select-modal-ionic-h{height:100%}ion-list.sc-ion-select-modal-ionic ion-radio.sc-ion-select-modal-ionic::part(container),ion-list.sc-ion-select-modal-ionic ion-radio.sc-ion-select-modal-ionic [part~="container"]{display:none}ion-list.sc-ion-select-modal-ionic ion-radio.sc-ion-select-modal-ionic::part(label),ion-list.sc-ion-select-modal-ionic ion-radio.sc-ion-select-modal-ionic [part~="label"]{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}ion-item.sc-ion-select-modal-ionic{--inner-border-width:0}.item-radio-checked.sc-ion-select-modal-ionic{--background:rgba(var(--ion-color-primary-rgb, 0, 84, 233), 0.08);--background-focused:var(--ion-color-primary, #0054e9);--background-focused-opacity:0.2;--background-hover:var(--ion-color-primary, #0054e9);--background-hover-opacity:0.12}.item-checkbox-checked.sc-ion-select-modal-ionic{--background-activated:var(--ion-item-color, var(--ion-text-color, #000));--background-focused:var(--ion-item-color, var(--ion-text-color, #000));--background-hover:var(--ion-item-color, var(--ion-text-color, #000));--color:var(--ion-color-primary, #0054e9)}`;
3606
-
3607
- const selectModalIosCss = () => `.sc-ion-select-modal-ios-h{height:100%}ion-item.sc-ion-select-modal-ios{--inner-padding-end:0}ion-radio.sc-ion-select-modal-ios::after{bottom:0;position:absolute;width:calc(100% - 0.9375rem - 16px);border-width:0px 0px 0.55px 0px;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))));content:""}ion-radio.sc-ion-select-modal-ios::after{inset-inline-start:calc(0.9375rem + 16px)}`;
3608
-
3609
- const selectModalMdCss = () => `.sc-ion-select-modal-md-h{height:100%}ion-list.sc-ion-select-modal-md ion-radio.sc-ion-select-modal-md::part(container),ion-list.sc-ion-select-modal-md ion-radio.sc-ion-select-modal-md [part~="container"]{display:none}ion-list.sc-ion-select-modal-md ion-radio.sc-ion-select-modal-md::part(label),ion-list.sc-ion-select-modal-md ion-radio.sc-ion-select-modal-md [part~="label"]{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}ion-item.sc-ion-select-modal-md{--inner-border-width:0}.item-radio-checked.sc-ion-select-modal-md{--background:rgba(var(--ion-color-primary-rgb, 0, 84, 233), 0.08);--background-focused:var(--ion-color-primary, #0054e9);--background-focused-opacity:0.2;--background-hover:var(--ion-color-primary, #0054e9);--background-hover-opacity:0.12}.item-checkbox-checked.sc-ion-select-modal-md{--background-activated:var(--ion-item-color, var(--ion-text-color, #000));--background-focused:var(--ion-item-color, var(--ion-text-color, #000));--background-hover:var(--ion-item-color, var(--ion-text-color, #000));--color:var(--ion-color-primary, #0054e9)}`;
3610
-
3611
- const SelectModal = class {
3612
- constructor(hostRef) {
3613
- index$1.registerInstance(this, hostRef);
3614
- this.options = [];
3615
- }
3616
- closeModal() {
3617
- const modal = this.el.closest('ion-modal');
3618
- if (modal) {
3619
- modal.dismiss();
3620
- }
3621
- }
3622
- findOptionFromEvent(ev) {
3623
- const { options } = this;
3624
- return options.find((o) => o.value === ev.target.value);
3625
- }
3626
- getValues(ev) {
3627
- const { multiple, options } = this;
3628
- if (multiple) {
3629
- // this is a modal with checkboxes (multiple value select)
3630
- // return an array of all the checked values
3631
- return options.filter((o) => o.checked).map((o) => o.value);
3632
- }
3633
- // this is a modal with radio buttons (single value select)
3634
- // return the value that was clicked, otherwise undefined
3635
- const option = ev ? this.findOptionFromEvent(ev) : null;
3636
- return option ? option.value : undefined;
3637
- }
3638
- callOptionHandler(ev) {
3639
- const option = this.findOptionFromEvent(ev);
3640
- const values = this.getValues(ev);
3641
- if (option === null || option === void 0 ? void 0 : option.handler) {
3642
- overlays.safeCall(option.handler, values);
3643
- }
3644
- }
3645
- setChecked(ev) {
3646
- const { multiple } = this;
3647
- const option = this.findOptionFromEvent(ev);
3648
- // this is a modal with checkboxes (multiple value select)
3649
- // we need to set the checked value for this option
3650
- if (multiple && option) {
3651
- option.checked = ev.detail.checked;
3652
- }
3653
- }
3654
- renderRadioOptions() {
3655
- const checked = this.options.filter((o) => o.checked).map((o) => o.value)[0];
3656
- return (index$1.h("ion-radio-group", { value: checked, onIonChange: (ev) => this.callOptionHandler(ev) }, this.options.map((option) => (index$1.h("ion-item", { lines: "none", class: Object.assign({
3657
- // TODO FW-4784
3658
- 'item-radio-checked': option.value === checked
3659
- }, theme.getClassMap(option.cssClass)) }, index$1.h("ion-radio", { value: option.value, disabled: option.disabled, justify: "start", labelPlacement: "end", onClick: () => this.closeModal(), onKeyUp: (ev) => {
3660
- if (ev.key === ' ') {
3661
- /**
3662
- * Selecting a radio option with keyboard navigation,
3663
- * either through the Enter or Space keys, should
3664
- * dismiss the modal.
3665
- */
3666
- this.closeModal();
3667
- }
3668
- } }, option.text))))));
3669
- }
3670
- renderCheckboxOptions() {
3671
- return this.options.map((option) => (index$1.h("ion-item", { class: Object.assign({
3672
- // TODO FW-4784
3673
- 'item-checkbox-checked': option.checked
3674
- }, theme.getClassMap(option.cssClass)) }, index$1.h("ion-checkbox", { value: option.value, disabled: option.disabled, checked: option.checked, justify: "start", labelPlacement: "end", onIonChange: (ev) => {
3675
- this.setChecked(ev);
3676
- this.callOptionHandler(ev);
3677
- // TODO FW-4784
3678
- index$1.forceUpdate(this);
3679
- } }, option.text))));
3680
- }
3681
- render() {
3682
- return (index$1.h(index$1.Host, { key: 'b6c0dec240b2e41985b15fdf4e5a6d3a145c1567', class: ionicGlobal.getIonMode(this) }, index$1.h("ion-header", { key: 'cd177e85ee0f62a60a3a708342d6ab6eb19a44dc' }, index$1.h("ion-toolbar", { key: 'aee8222a5a4daa540ad202b2e4cac1ef93d9558c' }, this.header !== undefined && index$1.h("ion-title", { key: '5f8fecc764d97bf840d3d4cfddeeccd118ab4436' }, this.header), index$1.h("ion-buttons", { key: '919033950d7c2b0101f96a9c9698219de9f568ea', slot: "end" }, index$1.h("ion-button", { key: '34b571cab6dced4bde555a077a21e91800829931', onClick: () => this.closeModal() }, "Close")))), index$1.h("ion-content", { key: '3c9153d26ba7a5a03d3b20fcd628d0c3031661a7' }, index$1.h("ion-list", { key: 'e00b222c071bc97c82ad1bba4db95a8a5c43ed6d' }, this.multiple === true ? this.renderCheckboxOptions() : this.renderRadioOptions()))));
3683
- }
3684
- get el() { return index$1.getElement(this); }
3685
- };
3686
- SelectModal.style = {
3687
- ionic: ionicSelectModalMdCss(),
3688
- ios: selectModalIosCss(),
3689
- md: selectModalMdCss()
3690
- };
3691
-
3692
- const selectPopoverIosCss = () => `.sc-ion-select-popover-ios-h ion-list.sc-ion-select-popover-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}ion-list-header.sc-ion-select-popover-ios,ion-label.sc-ion-select-popover-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}.sc-ion-select-popover-ios-h{overflow-y:auto}`;
3693
-
3694
- const selectPopoverMdCss = () => `.sc-ion-select-popover-md-h ion-list.sc-ion-select-popover-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}ion-list-header.sc-ion-select-popover-md,ion-label.sc-ion-select-popover-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}.sc-ion-select-popover-md-h{overflow-y:auto}ion-list.sc-ion-select-popover-md ion-radio.sc-ion-select-popover-md::part(container),ion-list.sc-ion-select-popover-md ion-radio.sc-ion-select-popover-md [part~="container"]{display:none}ion-list.sc-ion-select-popover-md ion-radio.sc-ion-select-popover-md::part(label),ion-list.sc-ion-select-popover-md ion-radio.sc-ion-select-popover-md [part~="label"]{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}ion-item.sc-ion-select-popover-md{--inner-border-width:0}.item-radio-checked.sc-ion-select-popover-md{--background:rgba(var(--ion-color-primary-rgb, 0, 84, 233), 0.08);--background-focused:var(--ion-color-primary, #0054e9);--background-focused-opacity:0.2;--background-hover:var(--ion-color-primary, #0054e9);--background-hover-opacity:0.12}.item-checkbox-checked.sc-ion-select-popover-md{--background-activated:var(--ion-item-color, var(--ion-text-color, #000));--background-focused:var(--ion-item-color, var(--ion-text-color, #000));--background-hover:var(--ion-item-color, var(--ion-text-color, #000));--color:var(--ion-color-primary, #0054e9)}`;
3695
-
3696
- const SelectPopover = class {
3697
- constructor(hostRef) {
3698
- index$1.registerInstance(this, hostRef);
3699
- /**
3700
- * An array of options for the popover
3701
- */
3702
- this.options = [];
3703
- }
3704
- findOptionFromEvent(ev) {
3705
- const { options } = this;
3706
- return options.find((o) => o.value === ev.target.value);
3707
- }
3708
- /**
3709
- * When an option is selected we need to get the value(s)
3710
- * of the selected option(s) and return it in the option
3711
- * handler
3712
- */
3713
- callOptionHandler(ev) {
3714
- const option = this.findOptionFromEvent(ev);
3715
- const values = this.getValues(ev);
3716
- if (option === null || option === void 0 ? void 0 : option.handler) {
3717
- overlays.safeCall(option.handler, values);
3718
- }
3719
- }
3720
- /**
3721
- * Dismisses the host popover that the `ion-select-popover`
3722
- * is rendered within.
3723
- */
3724
- dismissParentPopover() {
3725
- const popover = this.el.closest('ion-popover');
3726
- if (popover) {
3727
- popover.dismiss();
3728
- }
3729
- }
3730
- setChecked(ev) {
3731
- const { multiple } = this;
3732
- const option = this.findOptionFromEvent(ev);
3733
- // this is a popover with checkboxes (multiple value select)
3734
- // we need to set the checked value for this option
3735
- if (multiple && option) {
3736
- option.checked = ev.detail.checked;
3737
- }
3738
- }
3739
- getValues(ev) {
3740
- const { multiple, options } = this;
3741
- if (multiple) {
3742
- // this is a popover with checkboxes (multiple value select)
3743
- // return an array of all the checked values
3744
- return options.filter((o) => o.checked).map((o) => o.value);
3745
- }
3746
- // this is a popover with radio buttons (single value select)
3747
- // return the value that was clicked, otherwise undefined
3748
- const option = this.findOptionFromEvent(ev);
3749
- return option ? option.value : undefined;
3750
- }
3751
- renderOptions(options) {
3752
- const { multiple } = this;
3753
- switch (multiple) {
3754
- case true:
3755
- return this.renderCheckboxOptions(options);
3756
- default:
3757
- return this.renderRadioOptions(options);
3758
- }
3759
- }
3760
- renderCheckboxOptions(options) {
3761
- return options.map((option) => (index$1.h("ion-item", { class: Object.assign({
3762
- // TODO FW-4784
3763
- 'item-checkbox-checked': option.checked
3764
- }, theme.getClassMap(option.cssClass)) }, index$1.h("ion-checkbox", { value: option.value, disabled: option.disabled, checked: option.checked, justify: "start", labelPlacement: "end", onIonChange: (ev) => {
3765
- this.setChecked(ev);
3766
- this.callOptionHandler(ev);
3767
- // TODO FW-4784
3768
- index$1.forceUpdate(this);
3769
- } }, option.text))));
3770
- }
3771
- renderRadioOptions(options) {
3772
- const checked = options.filter((o) => o.checked).map((o) => o.value)[0];
3773
- return (index$1.h("ion-radio-group", { value: checked, onIonChange: (ev) => this.callOptionHandler(ev) }, options.map((option) => (index$1.h("ion-item", { class: Object.assign({
3774
- // TODO FW-4784
3775
- 'item-radio-checked': option.value === checked
3776
- }, theme.getClassMap(option.cssClass)) }, index$1.h("ion-radio", { value: option.value, disabled: option.disabled, onClick: () => this.dismissParentPopover(), onKeyUp: (ev) => {
3777
- if (ev.key === ' ') {
3778
- /**
3779
- * Selecting a radio option with keyboard navigation,
3780
- * either through the Enter or Space keys, should
3781
- * dismiss the popover.
3782
- */
3783
- this.dismissParentPopover();
3784
- }
3785
- } }, option.text))))));
3786
- }
3787
- render() {
3788
- const { header, message, options, subHeader } = this;
3789
- const hasSubHeaderOrMessage = subHeader !== undefined || message !== undefined;
3790
- return (index$1.h(index$1.Host, { key: 'ab931b49b59283825bd2afa3f7f995b0e6e05bef', class: ionicGlobal.getIonMode(this) }, index$1.h("ion-list", { key: '3bd12b67832607596b912a73d5b3ae9b954b244d' }, header !== undefined && index$1.h("ion-list-header", { key: '97da930246edf7423a039c030d40e3ff7a5148a3' }, header), hasSubHeaderOrMessage && (index$1.h("ion-item", { key: 'c579df6ea8fac07bb0c59d34c69b149656863224' }, index$1.h("ion-label", { key: 'af699c5f465710ccb13b8cf8e7be66f0e8acfad1', class: "ion-text-wrap" }, subHeader !== undefined && index$1.h("h3", { key: 'df9a936d42064b134e843c7229f314a2a3ec7e80' }, subHeader), message !== undefined && index$1.h("p", { key: '9c3ddad378df00f106afa94e9928cf68c17124dd' }, message)))), this.renderOptions(options))));
3791
- }
3792
- get el() { return index$1.getElement(this); }
3793
- };
3794
- SelectPopover.style = {
3795
- ios: selectPopoverIosCss(),
3796
- md: selectPopoverMdCss()
3797
- };
3798
-
3799
- exports.ion_action_sheet = ActionSheet;
3800
- exports.ion_alert = Alert;
3801
- exports.ion_modal = Modal;
3802
- exports.ion_select_modal = SelectModal;
3803
- exports.ion_select_popover = SelectPopover;
3804
- //# sourceMappingURL=ion-action-sheet.ion-alert.ion-modal.ion-select-modal.ion-select-popover.entry.cjs.js.map