@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,3798 +0,0 @@
1
- import { w as writeTask, r as registerInstance, d as createEvent, e as readTask, h, H as Host, g as getElement, c as config, i as printIonWarning, o as forceUpdate } from './index-BxybgBKJ.js';
2
- import { b as hapticSelectionEnd, a as hapticSelectionChanged, h as hapticSelectionStart } from './haptic-C3ucbArX.js';
3
- import { createGesture } from './index-CF4QYFB3.js';
4
- import { r as raf, a as clamp, g as getElementRoot, i as inheritAttributes, h as hasLazyBuild } from './helpers-uLqs1Gao.js';
5
- import { c as createLockController } from './lock-controller-B-hirT0v.js';
6
- import { d as createDelegateController, e as createTriggerController, B as BACKDROP, i as isCancel, j as present, k as dismiss, l as eventMethod, n as safeCall, h as prepareOverlay, s as setOverlayId, G as GESTURE, O as OVERLAY_GESTURE_PRIORITY, F as FOCUS_TRAP_DISABLE_CLASS } from './overlays-BDbqv7G-.js';
7
- import { g as getClassMap } from './theme-DiVJyqlX.js';
8
- import { g as getIonMode } from './ionic-global-C8oJToxs.js';
9
- import { c as createAnimation } from './animation-BU4GfyJQ.js';
10
- import { E as ENABLE_HTML_CONTENT_DEFAULT, s as sanitizeDOMString } from './config-V6Cb8IlP.js';
11
- import { f as findClosestIonContent, i as isIonContent, d as disableContentScrollY, r as resetContentScrollY, b as findIonContent, p as printIonContentErrorMsg } from './index-ffNEk55Y.js';
12
- import { C as CoreDelegate, a as attachComponent, d as detachComponent } from './framework-delegate-CaqRmNBr.js';
13
- import { g as getCapacitor } from './capacitor-CG3xQUND.js';
14
- import { d as deepReady, w as waitForMount } from './index-CCWf5GQy.js';
15
- import { KEYBOARD_DID_OPEN } from './keyboard-DcbqYXj5.js';
16
- import { g as getTimeGivenProgression } from './cubic-bezier-hHmYLOfE.js';
17
- import { w as win } from './index-ZjP4CjeZ.js';
18
- import './gesture-controller-BTEOs1at.js';
19
- import './hardware-back-button-Nry6hGkN.js';
20
- import './keyboard-DgiyREKb.js';
21
-
22
- /*!
23
- * (C) Ionic http://ionicframework.com - MIT License
24
- */
25
- const createButtonActiveGesture = (el, isButton) => {
26
- let currentTouchedButton;
27
- let initialTouchedButton;
28
- const activateButtonAtPoint = (x, y, hapticFeedbackFn) => {
29
- if (typeof document === 'undefined') {
30
- return;
31
- }
32
- const target = document.elementFromPoint(x, y);
33
- if (!target || !isButton(target) || target.disabled) {
34
- clearActiveButton();
35
- return;
36
- }
37
- if (target !== currentTouchedButton) {
38
- clearActiveButton();
39
- setActiveButton(target, hapticFeedbackFn);
40
- }
41
- };
42
- const setActiveButton = (button, hapticFeedbackFn) => {
43
- currentTouchedButton = button;
44
- if (!initialTouchedButton) {
45
- initialTouchedButton = currentTouchedButton;
46
- }
47
- const buttonToModify = currentTouchedButton;
48
- writeTask(() => buttonToModify.classList.add('ion-activated'));
49
- hapticFeedbackFn();
50
- };
51
- const clearActiveButton = (dispatchClick = false) => {
52
- if (!currentTouchedButton) {
53
- return;
54
- }
55
- const buttonToModify = currentTouchedButton;
56
- writeTask(() => buttonToModify.classList.remove('ion-activated'));
57
- /**
58
- * Clicking on one button, but releasing on another button
59
- * does not dispatch a click event in browsers, so we
60
- * need to do it manually here. Some browsers will
61
- * dispatch a click if clicking on one button, dragging over
62
- * another button, and releasing on the original button. In that
63
- * case, we need to make sure we do not cause a double click there.
64
- */
65
- if (dispatchClick && initialTouchedButton !== currentTouchedButton) {
66
- currentTouchedButton.click();
67
- }
68
- currentTouchedButton = undefined;
69
- };
70
- return createGesture({
71
- el,
72
- gestureName: 'buttonActiveDrag',
73
- threshold: 0,
74
- onStart: (ev) => activateButtonAtPoint(ev.currentX, ev.currentY, hapticSelectionStart),
75
- onMove: (ev) => activateButtonAtPoint(ev.currentX, ev.currentY, hapticSelectionChanged),
76
- onEnd: () => {
77
- clearActiveButton(true);
78
- hapticSelectionEnd();
79
- initialTouchedButton = undefined;
80
- },
81
- });
82
- };
83
-
84
- /*!
85
- * (C) Ionic http://ionicframework.com - MIT License
86
- */
87
- /**
88
- * iOS Action Sheet Enter Animation
89
- */
90
- const iosEnterAnimation$2 = (baseEl) => {
91
- const baseAnimation = createAnimation();
92
- const backdropAnimation = createAnimation();
93
- const wrapperAnimation = createAnimation();
94
- backdropAnimation
95
- .addElement(baseEl.querySelector('ion-backdrop'))
96
- .fromTo('opacity', 0.01, 'var(--backdrop-opacity)')
97
- .beforeStyles({
98
- 'pointer-events': 'none',
99
- })
100
- .afterClearStyles(['pointer-events']);
101
- wrapperAnimation
102
- .addElement(baseEl.querySelector('.action-sheet-wrapper'))
103
- .fromTo('transform', 'translateY(100%)', 'translateY(0%)');
104
- return baseAnimation
105
- .addElement(baseEl)
106
- .easing('cubic-bezier(.36,.66,.04,1)')
107
- .duration(400)
108
- .addAnimation([backdropAnimation, wrapperAnimation]);
109
- };
110
-
111
- /*!
112
- * (C) Ionic http://ionicframework.com - MIT License
113
- */
114
- /**
115
- * iOS Action Sheet Leave Animation
116
- */
117
- const iosLeaveAnimation$2 = (baseEl) => {
118
- const baseAnimation = createAnimation();
119
- const backdropAnimation = createAnimation();
120
- const wrapperAnimation = createAnimation();
121
- backdropAnimation.addElement(baseEl.querySelector('ion-backdrop')).fromTo('opacity', 'var(--backdrop-opacity)', 0);
122
- wrapperAnimation
123
- .addElement(baseEl.querySelector('.action-sheet-wrapper'))
124
- .fromTo('transform', 'translateY(0%)', 'translateY(100%)');
125
- return baseAnimation
126
- .addElement(baseEl)
127
- .easing('cubic-bezier(.36,.66,.04,1)')
128
- .duration(450)
129
- .addAnimation([backdropAnimation, wrapperAnimation]);
130
- };
131
-
132
- /*!
133
- * (C) Ionic http://ionicframework.com - MIT License
134
- */
135
- /**
136
- * MD Action Sheet Enter Animation
137
- */
138
- const mdEnterAnimation$2 = (baseEl) => {
139
- const baseAnimation = createAnimation();
140
- const backdropAnimation = createAnimation();
141
- const wrapperAnimation = createAnimation();
142
- backdropAnimation
143
- .addElement(baseEl.querySelector('ion-backdrop'))
144
- .fromTo('opacity', 0.01, 'var(--backdrop-opacity)')
145
- .beforeStyles({
146
- 'pointer-events': 'none',
147
- })
148
- .afterClearStyles(['pointer-events']);
149
- wrapperAnimation
150
- .addElement(baseEl.querySelector('.action-sheet-wrapper'))
151
- .fromTo('transform', 'translateY(100%)', 'translateY(0%)');
152
- return baseAnimation
153
- .addElement(baseEl)
154
- .easing('cubic-bezier(.36,.66,.04,1)')
155
- .duration(400)
156
- .addAnimation([backdropAnimation, wrapperAnimation]);
157
- };
158
-
159
- /*!
160
- * (C) Ionic http://ionicframework.com - MIT License
161
- */
162
- /**
163
- * MD Action Sheet Leave Animation
164
- */
165
- const mdLeaveAnimation$2 = (baseEl) => {
166
- const baseAnimation = createAnimation();
167
- const backdropAnimation = createAnimation();
168
- const wrapperAnimation = createAnimation();
169
- backdropAnimation.addElement(baseEl.querySelector('ion-backdrop')).fromTo('opacity', 'var(--backdrop-opacity)', 0);
170
- wrapperAnimation
171
- .addElement(baseEl.querySelector('.action-sheet-wrapper'))
172
- .fromTo('transform', 'translateY(0%)', 'translateY(100%)');
173
- return baseAnimation
174
- .addElement(baseEl)
175
- .easing('cubic-bezier(.36,.66,.04,1)')
176
- .duration(450)
177
- .addAnimation([backdropAnimation, wrapperAnimation]);
178
- };
179
-
180
- 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)}}`;
181
-
182
- 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}`;
183
-
184
- const ActionSheet = class {
185
- constructor(hostRef) {
186
- registerInstance(this, hostRef);
187
- this.didPresent = createEvent(this, "ionActionSheetDidPresent", 7);
188
- this.willPresent = createEvent(this, "ionActionSheetWillPresent", 7);
189
- this.willDismiss = createEvent(this, "ionActionSheetWillDismiss", 7);
190
- this.didDismiss = createEvent(this, "ionActionSheetDidDismiss", 7);
191
- this.didPresentShorthand = createEvent(this, "didPresent", 7);
192
- this.willPresentShorthand = createEvent(this, "willPresent", 7);
193
- this.willDismissShorthand = createEvent(this, "willDismiss", 7);
194
- this.didDismissShorthand = createEvent(this, "didDismiss", 7);
195
- this.delegateController = createDelegateController(this);
196
- this.lockController = createLockController();
197
- this.triggerController = createTriggerController();
198
- this.hasRadioButtons = false;
199
- this.presented = false;
200
- /** @internal */
201
- this.hasController = false;
202
- /**
203
- * If `true`, the keyboard will be automatically dismissed when the overlay is presented.
204
- */
205
- this.keyboardClose = true;
206
- /**
207
- * An array of buttons for the action sheet.
208
- */
209
- this.buttons = [];
210
- /**
211
- * If `true`, the action sheet will be dismissed when the backdrop is clicked.
212
- */
213
- this.backdropDismiss = true;
214
- /**
215
- * If `true`, the action sheet will be translucent.
216
- * Only applies when the mode is `"ios"` and the device supports
217
- * [`backdrop-filter`](https://developer.mozilla.org/en-US/docs/Web/CSS/backdrop-filter#Browser_compatibility).
218
- */
219
- this.translucent = false;
220
- /**
221
- * If `true`, the action sheet will animate.
222
- */
223
- this.animated = true;
224
- /**
225
- * If `true`, the action sheet will open. If `false`, the action sheet will close.
226
- * Use this if you need finer grained control over presentation, otherwise
227
- * just use the actionSheetController or the `trigger` property.
228
- * Note: `isOpen` will not automatically be set back to `false` when
229
- * the action sheet dismisses. You will need to do that in your code.
230
- */
231
- this.isOpen = false;
232
- this.onBackdropTap = () => {
233
- this.dismiss(undefined, BACKDROP);
234
- };
235
- this.dispatchCancelHandler = (ev) => {
236
- const role = ev.detail.role;
237
- if (isCancel(role)) {
238
- const cancelButton = this.getButtons().find((b) => b.role === 'cancel');
239
- this.callButtonHandler(cancelButton);
240
- }
241
- };
242
- }
243
- buttonsChanged() {
244
- const radioButtons = this.getRadioButtons();
245
- this.hasRadioButtons = radioButtons.length > 0;
246
- // Initialize activeRadioId when buttons change
247
- if (this.hasRadioButtons) {
248
- const checkedButton = radioButtons.find((b) => { var _a; return ((_a = b.htmlAttributes) === null || _a === void 0 ? void 0 : _a['aria-checked']) === 'true'; });
249
- if (checkedButton) {
250
- const allButtons = this.getButtons();
251
- const checkedIndex = allButtons.indexOf(checkedButton);
252
- this.activeRadioId = this.getButtonId(checkedButton, checkedIndex);
253
- }
254
- }
255
- }
256
- onIsOpenChange(newValue, oldValue) {
257
- if (newValue === true && oldValue === false) {
258
- this.present();
259
- }
260
- else if (newValue === false && oldValue === true) {
261
- this.dismiss();
262
- }
263
- }
264
- triggerChanged() {
265
- const { trigger, el, triggerController } = this;
266
- if (trigger) {
267
- triggerController.addClickListener(el, trigger);
268
- }
269
- }
270
- /**
271
- * Present the action sheet overlay after it has been created.
272
- */
273
- async present() {
274
- const unlock = await this.lockController.lock();
275
- await this.delegateController.attachViewToDom();
276
- await present(this, 'actionSheetEnter', iosEnterAnimation$2, mdEnterAnimation$2);
277
- unlock();
278
- }
279
- /**
280
- * Dismiss the action sheet overlay after it has been presented.
281
- * This is a no-op if the overlay has not been presented yet. If you want
282
- * to remove an overlay from the DOM that was never presented, use the
283
- * [remove](https://developer.mozilla.org/en-US/docs/Web/API/Element/remove) method.
284
- *
285
- * @param data Any data to emit in the dismiss events.
286
- * @param role The role of the element that is dismissing the action sheet.
287
- * This can be useful in a button handler for determining which button was
288
- * clicked to dismiss the action sheet. Some examples include:
289
- * `"cancel"`, `"destructive"`, `"selected"`, and `"backdrop"`.
290
- */
291
- async dismiss(data, role) {
292
- const unlock = await this.lockController.lock();
293
- const dismissed = await dismiss(this, data, role, 'actionSheetLeave', iosLeaveAnimation$2, mdLeaveAnimation$2);
294
- if (dismissed) {
295
- this.delegateController.removeViewFromDom();
296
- }
297
- unlock();
298
- return dismissed;
299
- }
300
- /**
301
- * Returns a promise that resolves when the action sheet did dismiss.
302
- */
303
- onDidDismiss() {
304
- return eventMethod(this.el, 'ionActionSheetDidDismiss');
305
- }
306
- /**
307
- * Returns a promise that resolves when the action sheet will dismiss.
308
- *
309
- */
310
- onWillDismiss() {
311
- return eventMethod(this.el, 'ionActionSheetWillDismiss');
312
- }
313
- async buttonClick(button) {
314
- const role = button.role;
315
- if (isCancel(role)) {
316
- return this.dismiss(button.data, role);
317
- }
318
- const shouldDismiss = await this.callButtonHandler(button);
319
- if (shouldDismiss) {
320
- return this.dismiss(button.data, button.role);
321
- }
322
- return Promise.resolve();
323
- }
324
- async callButtonHandler(button) {
325
- if (button) {
326
- // a handler has been provided, execute it
327
- // pass the handler the values from the inputs
328
- const rtn = await safeCall(button.handler);
329
- if (rtn === false) {
330
- // if the return value of the handler is false then do not dismiss
331
- return false;
332
- }
333
- }
334
- return true;
335
- }
336
- /**
337
- * Get all buttons regardless of role.
338
- */
339
- getButtons() {
340
- return this.buttons.map((b) => {
341
- return typeof b === 'string' ? { text: b } : b;
342
- });
343
- }
344
- /**
345
- * Get all radio buttons (buttons with role="radio").
346
- */
347
- getRadioButtons() {
348
- return this.getButtons().filter((b) => {
349
- var _a;
350
- const role = (_a = b.htmlAttributes) === null || _a === void 0 ? void 0 : _a.role;
351
- return role === 'radio' && !isCancel(role);
352
- });
353
- }
354
- /**
355
- * Handle radio button selection and update aria-checked state.
356
- *
357
- * @param button The radio button that was selected.
358
- */
359
- selectRadioButton(button) {
360
- const buttonId = this.getButtonId(button);
361
- // Set the active radio ID (this will trigger a re-render and update aria-checked)
362
- this.activeRadioId = buttonId;
363
- }
364
- /**
365
- * Get or generate an ID for a button.
366
- *
367
- * @param button The button for which to get the ID.
368
- * @param index Optional index of the button in the buttons array.
369
- * @returns The ID of the button.
370
- */
371
- getButtonId(button, index) {
372
- if (button.id) {
373
- return button.id;
374
- }
375
- const allButtons = this.getButtons();
376
- const buttonIndex = index !== undefined ? index : allButtons.indexOf(button);
377
- return `action-sheet-button-${this.overlayIndex}-${buttonIndex}`;
378
- }
379
- /**
380
- * When the action sheet has radio buttons, we want to follow the
381
- * keyboard navigation pattern for radio groups:
382
- * - Arrow Down/Right: Move to the next radio button (wrap to first if at end)
383
- * - Arrow Up/Left: Move to the previous radio button (wrap to last if at start)
384
- * - Space/Enter: Select the focused radio button and trigger its handler
385
- */
386
- onKeydown(ev) {
387
- // Only handle keyboard navigation if we have radio buttons
388
- if (!this.hasRadioButtons || !this.presented) {
389
- return;
390
- }
391
- const target = ev.target;
392
- // Ignore if the target element is not within the action sheet or not a radio button
393
- if (!this.el.contains(target) ||
394
- !target.classList.contains('action-sheet-button') ||
395
- target.getAttribute('role') !== 'radio') {
396
- return;
397
- }
398
- // Get all radio button elements and filter out disabled ones
399
- const radios = Array.from(this.el.querySelectorAll('.action-sheet-button[role="radio"]')).filter((el) => !el.disabled);
400
- const currentIndex = radios.findIndex((radio) => radio.id === target.id);
401
- if (currentIndex === -1) {
402
- return;
403
- }
404
- const allButtons = this.getButtons();
405
- const radioButtons = this.getRadioButtons();
406
- /**
407
- * Build a map of button element IDs to their ActionSheetButton
408
- * config objects.
409
- * This allows us to quickly look up which button config corresponds
410
- * to a DOM element when handling keyboard navigation
411
- * (e.g., whenuser presses Space/Enter or arrow keys).
412
- * The key is the ID that was set on the DOM element during render,
413
- * and the value is the ActionSheetButton config that contains the
414
- * handler and other properties.
415
- */
416
- const buttonIdMap = new Map();
417
- radioButtons.forEach((b) => {
418
- const allIndex = allButtons.indexOf(b);
419
- const buttonId = this.getButtonId(b, allIndex);
420
- buttonIdMap.set(buttonId, b);
421
- });
422
- let nextEl;
423
- if (['ArrowDown', 'ArrowRight'].includes(ev.key)) {
424
- ev.preventDefault();
425
- ev.stopPropagation();
426
- nextEl = currentIndex === radios.length - 1 ? radios[0] : radios[currentIndex + 1];
427
- }
428
- else if (['ArrowUp', 'ArrowLeft'].includes(ev.key)) {
429
- ev.preventDefault();
430
- ev.stopPropagation();
431
- nextEl = currentIndex === 0 ? radios[radios.length - 1] : radios[currentIndex - 1];
432
- }
433
- else if (ev.key === ' ' || ev.key === 'Enter') {
434
- ev.preventDefault();
435
- ev.stopPropagation();
436
- const button = buttonIdMap.get(target.id);
437
- if (button) {
438
- this.selectRadioButton(button);
439
- this.buttonClick(button);
440
- }
441
- return;
442
- }
443
- // Focus the next radio button
444
- if (nextEl) {
445
- const button = buttonIdMap.get(nextEl.id);
446
- if (button) {
447
- this.selectRadioButton(button);
448
- nextEl.focus();
449
- }
450
- }
451
- }
452
- connectedCallback() {
453
- prepareOverlay(this.el);
454
- this.triggerChanged();
455
- }
456
- disconnectedCallback() {
457
- if (this.gesture) {
458
- this.gesture.destroy();
459
- this.gesture = undefined;
460
- }
461
- this.triggerController.removeClickListener();
462
- }
463
- componentWillLoad() {
464
- var _a;
465
- if (!((_a = this.htmlAttributes) === null || _a === void 0 ? void 0 : _a.id)) {
466
- setOverlayId(this.el);
467
- }
468
- // Initialize activeRadioId for radio buttons
469
- this.buttonsChanged();
470
- }
471
- componentDidLoad() {
472
- /**
473
- * Only create gesture if:
474
- * 1. A gesture does not already exist
475
- * 2. App is running in iOS mode
476
- * 3. A wrapper ref exists
477
- * 4. A group ref exists
478
- */
479
- const { groupEl, wrapperEl } = this;
480
- if (!this.gesture && getIonMode(this) === 'ios' && wrapperEl && groupEl) {
481
- readTask(() => {
482
- const isScrollable = groupEl.scrollHeight > groupEl.clientHeight;
483
- if (!isScrollable) {
484
- this.gesture = createButtonActiveGesture(wrapperEl, (refEl) => refEl.classList.contains('action-sheet-button'));
485
- this.gesture.enable(true);
486
- }
487
- });
488
- }
489
- /**
490
- * If action sheet was rendered with isOpen="true"
491
- * then we should open action sheet immediately.
492
- */
493
- if (this.isOpen === true) {
494
- raf(() => this.present());
495
- }
496
- /**
497
- * When binding values in frameworks such as Angular
498
- * it is possible for the value to be set after the Web Component
499
- * initializes but before the value watcher is set up in Stencil.
500
- * As a result, the watcher callback may not be fired.
501
- * We work around this by manually calling the watcher
502
- * callback when the component has loaded and the watcher
503
- * is configured.
504
- */
505
- this.triggerChanged();
506
- }
507
- renderActionSheetButtons(filteredButtons) {
508
- const mode = getIonMode(this);
509
- const { activeRadioId } = this;
510
- return filteredButtons.map((b, index) => {
511
- var _a;
512
- const isRadio = ((_a = b.htmlAttributes) === null || _a === void 0 ? void 0 : _a.role) === 'radio';
513
- const buttonId = this.getButtonId(b, index);
514
- const radioButtons = this.getRadioButtons();
515
- const isActiveRadio = isRadio && buttonId === activeRadioId;
516
- const isFirstRadio = isRadio && b === radioButtons[0];
517
- // For radio buttons, set tabindex: 0 for the active one, -1 for others
518
- // For non-radio buttons, use default tabindex (undefined, which means 0)
519
- /**
520
- * For radio buttons, set tabindex based on activeRadioId
521
- * - If the button is the active radio, tabindex is 0
522
- * - If no radio is active, the first radio button should have tabindex 0
523
- * - All other radio buttons have tabindex -1
524
- * For non-radio buttons, use default tabindex (undefined, which means 0)
525
- */
526
- let tabIndex;
527
- if (isRadio) {
528
- // Focus on the active radio button
529
- if (isActiveRadio) {
530
- tabIndex = 0;
531
- }
532
- else if (!activeRadioId && isFirstRadio) {
533
- // No active radio, first radio gets focus
534
- tabIndex = 0;
535
- }
536
- else {
537
- // All other radios are not focusable
538
- tabIndex = -1;
539
- }
540
- }
541
- else {
542
- tabIndex = undefined;
543
- }
544
- // For radio buttons, set aria-checked based on activeRadioId
545
- // Otherwise, use the value from htmlAttributes if provided
546
- const htmlAttrs = Object.assign({}, b.htmlAttributes);
547
- if (isRadio) {
548
- htmlAttrs['aria-checked'] = isActiveRadio ? 'true' : 'false';
549
- }
550
- return (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: () => {
551
- if (isRadio) {
552
- this.selectRadioButton(b);
553
- }
554
- this.buttonClick(b);
555
- }, disabled: b.disabled, tabIndex: tabIndex }), h("span", { class: "action-sheet-button-inner" }, b.icon && h("ion-icon", { icon: b.icon, "aria-hidden": "true", lazy: false, class: "action-sheet-icon" }), b.text), mode === 'md' && h("ion-ripple-effect", null)));
556
- });
557
- }
558
- render() {
559
- const { header, htmlAttributes, overlayIndex, hasRadioButtons } = this;
560
- const mode = getIonMode(this);
561
- const allButtons = this.getButtons();
562
- const cancelButton = allButtons.find((b) => b.role === 'cancel');
563
- const buttons = allButtons.filter((b) => b.role !== 'cancel');
564
- const headerID = `action-sheet-${overlayIndex}-header`;
565
- return (h(Host, Object.assign({ key: '173fcff5b1da7c33c267de4667591c946b8c8d03', role: "dialog", "aria-modal": "true", "aria-labelledby": header !== undefined ? headerID : null, tabindex: "-1" }, htmlAttributes, { style: {
566
- zIndex: `${20000 + this.overlayIndex}`,
567
- }, class: Object.assign(Object.assign({ [mode]: true }, getClassMap(this.cssClass)), { 'overlay-hidden': true, 'action-sheet-translucent': this.translucent }), onIonActionSheetWillDismiss: this.dispatchCancelHandler, onIonBackdropTap: this.onBackdropTap }), h("ion-backdrop", { key: '521ede659f747864f6c974e09016436eceb7158c', tappable: this.backdropDismiss }), h("div", { key: '7a7946fc434bc444f16a70638f5e948c69d33fcd', tabindex: "0", "aria-hidden": "true" }), h("div", { key: 'bcff39a580489dbafa255842e57aa8602c6d0f18', class: "action-sheet-wrapper ion-overlay-wrapper", ref: (el) => (this.wrapperEl = el) }, h("div", { key: '84bba13ce14261f0f0daa3f9c77648c9e7f36e0e', class: "action-sheet-container" }, h("div", { key: 'd9c8ac404fd6719a7adf8cb36549f67616f9a0c4', class: "action-sheet-group", ref: (el) => (this.groupEl = el), role: hasRadioButtons ? 'radiogroup' : undefined }, header !== undefined && (h("div", { key: '180433a8ad03ef5c54728a1a8f34715b6921d658', id: headerID, class: {
568
- 'action-sheet-title': true,
569
- 'action-sheet-has-sub-title': this.subHeader !== undefined,
570
- } }, header, this.subHeader && h("div", { key: '7138e79e61b1a8f42bc5a9175c57fa2f15d7ec5a', class: "action-sheet-sub-title" }, this.subHeader))), this.renderActionSheetButtons(buttons)), cancelButton && (h("div", { key: 'b617c722f5b8028d73ed34b69310f312c65f34a7', class: "action-sheet-group action-sheet-group-cancel" }, h("button", Object.assign({ key: 'd0dd876fc48815df3710413c201c0b445a8e16c0' }, cancelButton.htmlAttributes, { type: "button", class: buttonClass$1(cancelButton), onClick: () => this.buttonClick(cancelButton) }), h("span", { key: 'e7b960157cc6fc5fe92a12090b2be55e8ae072e4', class: "action-sheet-button-inner" }, cancelButton.icon && (h("ion-icon", { key: '05498ffc60cab911dbff0ecbc6168dea59ada9a5', icon: cancelButton.icon, "aria-hidden": "true", lazy: false, class: "action-sheet-icon" })), cancelButton.text), mode === 'md' && h("ion-ripple-effect", { key: '3d401346cea301be4ca03671f7370f6f4b0b6bde' })))))), h("div", { key: '971f3c5fcc07f36c28eb469a47ec0290c692e139', tabindex: "0", "aria-hidden": "true" })));
571
- }
572
- get el() { return getElement(this); }
573
- static get watchers() { return {
574
- "buttons": ["buttonsChanged"],
575
- "isOpen": ["onIsOpenChange"],
576
- "trigger": ["triggerChanged"]
577
- }; }
578
- };
579
- const buttonClass$1 = (button) => {
580
- return Object.assign({ 'action-sheet-button': true, 'ion-activatable': !button.disabled, 'ion-focusable': !button.disabled, [`action-sheet-${button.role}`]: button.role !== undefined }, getClassMap(button.cssClass));
581
- };
582
- ActionSheet.style = {
583
- ios: actionSheetIosCss(),
584
- md: actionSheetMdCss()
585
- };
586
-
587
- /*!
588
- * (C) Ionic http://ionicframework.com - MIT License
589
- */
590
- /**
591
- * iOS Alert Enter Animation
592
- */
593
- const iosEnterAnimation$1 = (baseEl) => {
594
- const baseAnimation = createAnimation();
595
- const backdropAnimation = createAnimation();
596
- const wrapperAnimation = createAnimation();
597
- backdropAnimation
598
- .addElement(baseEl.querySelector('ion-backdrop'))
599
- .fromTo('opacity', 0.01, 'var(--backdrop-opacity)')
600
- .beforeStyles({
601
- 'pointer-events': 'none',
602
- })
603
- .afterClearStyles(['pointer-events']);
604
- wrapperAnimation.addElement(baseEl.querySelector('.alert-wrapper')).keyframes([
605
- { offset: 0, opacity: '0.01', transform: 'scale(1.1)' },
606
- { offset: 1, opacity: '1', transform: 'scale(1)' },
607
- ]);
608
- return baseAnimation
609
- .addElement(baseEl)
610
- .easing('ease-in-out')
611
- .duration(200)
612
- .addAnimation([backdropAnimation, wrapperAnimation]);
613
- };
614
-
615
- /*!
616
- * (C) Ionic http://ionicframework.com - MIT License
617
- */
618
- /**
619
- * iOS Alert Leave Animation
620
- */
621
- const iosLeaveAnimation$1 = (baseEl) => {
622
- const baseAnimation = createAnimation();
623
- const backdropAnimation = createAnimation();
624
- const wrapperAnimation = createAnimation();
625
- backdropAnimation.addElement(baseEl.querySelector('ion-backdrop')).fromTo('opacity', 'var(--backdrop-opacity)', 0);
626
- wrapperAnimation.addElement(baseEl.querySelector('.alert-wrapper')).keyframes([
627
- { offset: 0, opacity: 0.99, transform: 'scale(1)' },
628
- { offset: 1, opacity: 0, transform: 'scale(0.9)' },
629
- ]);
630
- return baseAnimation
631
- .addElement(baseEl)
632
- .easing('ease-in-out')
633
- .duration(200)
634
- .addAnimation([backdropAnimation, wrapperAnimation]);
635
- };
636
-
637
- /*!
638
- * (C) Ionic http://ionicframework.com - MIT License
639
- */
640
- /**
641
- * Md Alert Enter Animation
642
- */
643
- const mdEnterAnimation$1 = (baseEl) => {
644
- const baseAnimation = createAnimation();
645
- const backdropAnimation = createAnimation();
646
- const wrapperAnimation = createAnimation();
647
- backdropAnimation
648
- .addElement(baseEl.querySelector('ion-backdrop'))
649
- .fromTo('opacity', 0.01, 'var(--backdrop-opacity)')
650
- .beforeStyles({
651
- 'pointer-events': 'none',
652
- })
653
- .afterClearStyles(['pointer-events']);
654
- wrapperAnimation.addElement(baseEl.querySelector('.alert-wrapper')).keyframes([
655
- { offset: 0, opacity: '0.01', transform: 'scale(0.9)' },
656
- { offset: 1, opacity: '1', transform: 'scale(1)' },
657
- ]);
658
- return baseAnimation
659
- .addElement(baseEl)
660
- .easing('ease-in-out')
661
- .duration(150)
662
- .addAnimation([backdropAnimation, wrapperAnimation]);
663
- };
664
-
665
- /*!
666
- * (C) Ionic http://ionicframework.com - MIT License
667
- */
668
- /**
669
- * Md Alert Leave Animation
670
- */
671
- const mdLeaveAnimation$1 = (baseEl) => {
672
- const baseAnimation = createAnimation();
673
- const backdropAnimation = createAnimation();
674
- const wrapperAnimation = createAnimation();
675
- backdropAnimation.addElement(baseEl.querySelector('ion-backdrop')).fromTo('opacity', 'var(--backdrop-opacity)', 0);
676
- wrapperAnimation.addElement(baseEl.querySelector('.alert-wrapper')).fromTo('opacity', 0.99, 0);
677
- return baseAnimation
678
- .addElement(baseEl)
679
- .easing('ease-in-out')
680
- .duration(150)
681
- .addAnimation([backdropAnimation, wrapperAnimation]);
682
- };
683
-
684
- 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)}`;
685
-
686
- 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)}}`;
687
-
688
- const Alert = class {
689
- constructor(hostRef) {
690
- registerInstance(this, hostRef);
691
- this.didPresent = createEvent(this, "ionAlertDidPresent", 7);
692
- this.willPresent = createEvent(this, "ionAlertWillPresent", 7);
693
- this.willDismiss = createEvent(this, "ionAlertWillDismiss", 7);
694
- this.didDismiss = createEvent(this, "ionAlertDidDismiss", 7);
695
- this.didPresentShorthand = createEvent(this, "didPresent", 7);
696
- this.willPresentShorthand = createEvent(this, "willPresent", 7);
697
- this.willDismissShorthand = createEvent(this, "willDismiss", 7);
698
- this.didDismissShorthand = createEvent(this, "didDismiss", 7);
699
- this.delegateController = createDelegateController(this);
700
- this.lockController = createLockController();
701
- this.triggerController = createTriggerController();
702
- this.customHTMLEnabled = config.get('innerHTMLTemplatesEnabled', ENABLE_HTML_CONTENT_DEFAULT);
703
- this.processedInputs = [];
704
- this.processedButtons = [];
705
- this.presented = false;
706
- /** @internal */
707
- this.hasController = false;
708
- /**
709
- * If `true`, the keyboard will be automatically dismissed when the overlay is presented.
710
- */
711
- this.keyboardClose = true;
712
- /**
713
- * Array of buttons to be added to the alert.
714
- */
715
- this.buttons = [];
716
- /**
717
- * Array of input to show in the alert.
718
- */
719
- this.inputs = [];
720
- /**
721
- * If `true`, the alert will be dismissed when the backdrop is clicked.
722
- */
723
- this.backdropDismiss = true;
724
- /**
725
- * If `true`, the alert will be translucent.
726
- * Only applies when the mode is `"ios"` and the device supports
727
- * [`backdrop-filter`](https://developer.mozilla.org/en-US/docs/Web/CSS/backdrop-filter#Browser_compatibility).
728
- */
729
- this.translucent = false;
730
- /**
731
- * If `true`, the alert will animate.
732
- */
733
- this.animated = true;
734
- /**
735
- * If `true`, the alert will open. If `false`, the alert will close.
736
- * Use this if you need finer grained control over presentation, otherwise
737
- * just use the alertController or the `trigger` property.
738
- * Note: `isOpen` will not automatically be set back to `false` when
739
- * the alert dismisses. You will need to do that in your code.
740
- */
741
- this.isOpen = false;
742
- this.onBackdropTap = () => {
743
- this.dismiss(undefined, BACKDROP);
744
- };
745
- this.dispatchCancelHandler = (ev) => {
746
- const role = ev.detail.role;
747
- if (isCancel(role)) {
748
- const cancelButton = this.processedButtons.find((b) => b.role === 'cancel');
749
- this.callButtonHandler(cancelButton);
750
- }
751
- };
752
- }
753
- onIsOpenChange(newValue, oldValue) {
754
- if (newValue === true && oldValue === false) {
755
- this.present();
756
- }
757
- else if (newValue === false && oldValue === true) {
758
- this.dismiss();
759
- }
760
- }
761
- triggerChanged() {
762
- const { trigger, el, triggerController } = this;
763
- if (trigger) {
764
- triggerController.addClickListener(el, trigger);
765
- }
766
- }
767
- onKeydown(ev) {
768
- var _a;
769
- const inputTypes = new Set(this.processedInputs.map((i) => i.type));
770
- /**
771
- * Based on keyboard navigation requirements, the
772
- * checkbox should not respond to the enter keydown event.
773
- */
774
- if (inputTypes.has('checkbox') && ev.key === 'Enter') {
775
- ev.preventDefault();
776
- return;
777
- }
778
- /**
779
- * 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.
780
- */
781
- if (ev.target.classList.contains('alert-wrapper')) {
782
- if (ev.key === 'Tab' && ev.shiftKey) {
783
- ev.preventDefault();
784
- const lastChildBtn = (_a = this.wrapperEl) === null || _a === void 0 ? void 0 : _a.querySelector('.alert-button:last-child');
785
- lastChildBtn.focus();
786
- return;
787
- }
788
- }
789
- // The only inputs we want to navigate between using arrow keys are the radios
790
- // ignore the keydown event if it is not on a radio button
791
- if (!inputTypes.has('radio') ||
792
- (ev.target && !this.el.contains(ev.target)) ||
793
- ev.target.classList.contains('alert-button')) {
794
- return;
795
- }
796
- // Get all radios inside of the radio group and then
797
- // filter out disabled radios since we need to skip those
798
- const query = this.el.querySelectorAll('.alert-radio');
799
- const radios = Array.from(query).filter((radio) => !radio.disabled);
800
- // The focused radio is the one that shares the same id as
801
- // the event target
802
- const index = radios.findIndex((radio) => radio.id === ev.target.id);
803
- // We need to know what the next radio element should
804
- // be in order to change the focus
805
- let nextEl;
806
- // If hitting arrow down or arrow right, move to the next radio
807
- // If we're on the last radio, move to the first radio
808
- if (['ArrowDown', 'ArrowRight'].includes(ev.key)) {
809
- nextEl = index === radios.length - 1 ? radios[0] : radios[index + 1];
810
- }
811
- // If hitting arrow up or arrow left, move to the previous radio
812
- // If we're on the first radio, move to the last radio
813
- if (['ArrowUp', 'ArrowLeft'].includes(ev.key)) {
814
- nextEl = index === 0 ? radios[radios.length - 1] : radios[index - 1];
815
- }
816
- if (nextEl && radios.includes(nextEl)) {
817
- const nextProcessed = this.processedInputs.find((input) => input.id === (nextEl === null || nextEl === void 0 ? void 0 : nextEl.id));
818
- if (nextProcessed) {
819
- this.rbClick(nextProcessed);
820
- nextEl.focus();
821
- }
822
- }
823
- }
824
- buttonsChanged() {
825
- const buttons = this.buttons;
826
- this.processedButtons = buttons.map((btn) => {
827
- return typeof btn === 'string' ? { text: btn, role: btn.toLowerCase() === 'cancel' ? 'cancel' : undefined } : btn;
828
- });
829
- }
830
- inputsChanged() {
831
- const inputs = this.inputs;
832
- // Get the first input that is not disabled and the checked one
833
- // If an enabled checked input exists, set it to be the focusable input
834
- // otherwise we default to focus the first input
835
- // This will only be used when the input is type radio
836
- const first = inputs.find((input) => !input.disabled);
837
- const checked = inputs.find((input) => input.checked && !input.disabled);
838
- const focusable = checked || first;
839
- // An alert can be created with several different inputs. Radios,
840
- // checkboxes and inputs are all accepted, but they cannot be mixed.
841
- const inputTypes = new Set(inputs.map((i) => i.type));
842
- if (inputTypes.has('checkbox') && inputTypes.has('radio')) {
843
- printIonWarning(`[ion-alert] - Alert cannot mix input types: ${Array.from(inputTypes.values()).join('/')}. Please see alert docs for more info.`);
844
- }
845
- this.inputType = inputTypes.values().next().value;
846
- this.processedInputs = inputs.map((i, index) => {
847
- var _a;
848
- return ({
849
- type: i.type || 'text',
850
- name: i.name || `${index}`,
851
- placeholder: i.placeholder || '',
852
- value: i.value,
853
- label: i.label,
854
- checked: !!i.checked,
855
- disabled: !!i.disabled,
856
- id: i.id || `alert-input-${this.overlayIndex}-${index}`,
857
- handler: i.handler,
858
- min: i.min,
859
- max: i.max,
860
- cssClass: (_a = i.cssClass) !== null && _a !== void 0 ? _a : '',
861
- attributes: i.attributes || {},
862
- tabindex: i.type === 'radio' && i !== focusable ? -1 : 0,
863
- });
864
- });
865
- }
866
- connectedCallback() {
867
- prepareOverlay(this.el);
868
- this.triggerChanged();
869
- }
870
- componentWillLoad() {
871
- var _a;
872
- if (!((_a = this.htmlAttributes) === null || _a === void 0 ? void 0 : _a.id)) {
873
- setOverlayId(this.el);
874
- }
875
- this.inputsChanged();
876
- this.buttonsChanged();
877
- }
878
- disconnectedCallback() {
879
- this.triggerController.removeClickListener();
880
- if (this.gesture) {
881
- this.gesture.destroy();
882
- this.gesture = undefined;
883
- }
884
- }
885
- componentDidLoad() {
886
- /**
887
- * Only create gesture if:
888
- * 1. A gesture does not already exist
889
- * 2. App is running in iOS mode
890
- * 3. A wrapper ref exists
891
- */
892
- if (!this.gesture && getIonMode(this) === 'ios' && this.wrapperEl) {
893
- this.gesture = createButtonActiveGesture(this.wrapperEl, (refEl) => refEl.classList.contains('alert-button'));
894
- this.gesture.enable(true);
895
- }
896
- /**
897
- * If alert was rendered with isOpen="true"
898
- * then we should open alert immediately.
899
- */
900
- if (this.isOpen === true) {
901
- raf(() => this.present());
902
- }
903
- /**
904
- * When binding values in frameworks such as Angular
905
- * it is possible for the value to be set after the Web Component
906
- * initializes but before the value watcher is set up in Stencil.
907
- * As a result, the watcher callback may not be fired.
908
- * We work around this by manually calling the watcher
909
- * callback when the component has loaded and the watcher
910
- * is configured.
911
- */
912
- this.triggerChanged();
913
- }
914
- /**
915
- * Present the alert overlay after it has been created.
916
- */
917
- async present() {
918
- const unlock = await this.lockController.lock();
919
- await this.delegateController.attachViewToDom();
920
- await present(this, 'alertEnter', iosEnterAnimation$1, mdEnterAnimation$1).then(() => {
921
- var _a, _b;
922
- /**
923
- * Check if alert has only one button and no inputs.
924
- * If so, then focus on the button. Otherwise, focus the alert wrapper.
925
- * This will map to the default native alert behavior.
926
- */
927
- if (this.buttons.length === 1 && this.inputs.length === 0) {
928
- const queryBtn = (_a = this.wrapperEl) === null || _a === void 0 ? void 0 : _a.querySelector('.alert-button');
929
- queryBtn.focus();
930
- }
931
- else {
932
- (_b = this.wrapperEl) === null || _b === void 0 ? void 0 : _b.focus();
933
- }
934
- });
935
- unlock();
936
- }
937
- /**
938
- * Dismiss the alert overlay after it has been presented.
939
- * This is a no-op if the overlay has not been presented yet. If you want
940
- * to remove an overlay from the DOM that was never presented, use the
941
- * [remove](https://developer.mozilla.org/en-US/docs/Web/API/Element/remove) method.
942
- *
943
- * @param data Any data to emit in the dismiss events.
944
- * @param role The role of the element that is dismissing the alert.
945
- * This can be useful in a button handler for determining which button was
946
- * clicked to dismiss the alert. Some examples include:
947
- * `"cancel"`, `"destructive"`, `"selected"`, and `"backdrop"`.
948
- */
949
- async dismiss(data, role) {
950
- const unlock = await this.lockController.lock();
951
- const dismissed = await dismiss(this, data, role, 'alertLeave', iosLeaveAnimation$1, mdLeaveAnimation$1);
952
- if (dismissed) {
953
- this.delegateController.removeViewFromDom();
954
- }
955
- unlock();
956
- return dismissed;
957
- }
958
- /**
959
- * Returns a promise that resolves when the alert did dismiss.
960
- */
961
- onDidDismiss() {
962
- return eventMethod(this.el, 'ionAlertDidDismiss');
963
- }
964
- /**
965
- * Returns a promise that resolves when the alert will dismiss.
966
- */
967
- onWillDismiss() {
968
- return eventMethod(this.el, 'ionAlertWillDismiss');
969
- }
970
- rbClick(selectedInput) {
971
- for (const input of this.processedInputs) {
972
- input.checked = input === selectedInput;
973
- input.tabindex = input === selectedInput ? 0 : -1;
974
- }
975
- this.activeId = selectedInput.id;
976
- safeCall(selectedInput.handler, selectedInput);
977
- forceUpdate(this);
978
- }
979
- cbClick(selectedInput) {
980
- selectedInput.checked = !selectedInput.checked;
981
- safeCall(selectedInput.handler, selectedInput);
982
- forceUpdate(this);
983
- }
984
- async buttonClick(button) {
985
- const role = button.role;
986
- const values = this.getValues();
987
- if (isCancel(role)) {
988
- return this.dismiss({ values }, role);
989
- }
990
- const returnData = await this.callButtonHandler(button, values);
991
- if (returnData !== false) {
992
- return this.dismiss(Object.assign({ values }, returnData), button.role);
993
- }
994
- return false;
995
- }
996
- async callButtonHandler(button, data) {
997
- if (button === null || button === void 0 ? void 0 : button.handler) {
998
- // a handler has been provided, execute it
999
- // pass the handler the values from the inputs
1000
- const returnData = await safeCall(button.handler, data);
1001
- if (returnData === false) {
1002
- // if the return value of the handler is false then do not dismiss
1003
- return false;
1004
- }
1005
- if (typeof returnData === 'object') {
1006
- return returnData;
1007
- }
1008
- }
1009
- return {};
1010
- }
1011
- getValues() {
1012
- if (this.processedInputs.length === 0) {
1013
- // this is an alert without any options/inputs at all
1014
- return undefined;
1015
- }
1016
- if (this.inputType === 'radio') {
1017
- // this is an alert with radio buttons (single value select)
1018
- // return the one value which is checked, otherwise undefined
1019
- const checkedInput = this.processedInputs.find((i) => !!i.checked);
1020
- return checkedInput ? checkedInput.value : undefined;
1021
- }
1022
- if (this.inputType === 'checkbox') {
1023
- // this is an alert with checkboxes (multiple value select)
1024
- // return an array of all the checked values
1025
- return this.processedInputs.filter((i) => i.checked).map((i) => i.value);
1026
- }
1027
- // this is an alert with text inputs
1028
- // return an object of all the values with the input name as the key
1029
- const values = {};
1030
- this.processedInputs.forEach((i) => {
1031
- values[i.name] = i.value || '';
1032
- });
1033
- return values;
1034
- }
1035
- renderAlertInputs() {
1036
- switch (this.inputType) {
1037
- case 'checkbox':
1038
- return this.renderCheckbox();
1039
- case 'radio':
1040
- return this.renderRadio();
1041
- default:
1042
- return this.renderInput();
1043
- }
1044
- }
1045
- renderCheckbox() {
1046
- const inputs = this.processedInputs;
1047
- const mode = getIonMode(this);
1048
- if (inputs.length === 0) {
1049
- return null;
1050
- }
1051
- return (h("div", { class: "alert-checkbox-group" }, inputs.map((i) => (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({}, getClassMap(i.cssClass)), { 'alert-tappable': true, 'alert-checkbox': true, 'alert-checkbox-button': true, 'ion-focusable': true, 'alert-checkbox-button-disabled': i.disabled || false }) }, h("div", { class: "alert-button-inner" }, h("div", { class: "alert-checkbox-icon" }, h("div", { class: "alert-checkbox-inner" })), h("div", { class: "alert-checkbox-label" }, i.label)), mode === 'md' && h("ion-ripple-effect", null))))));
1052
- }
1053
- renderRadio() {
1054
- const inputs = this.processedInputs;
1055
- if (inputs.length === 0) {
1056
- return null;
1057
- }
1058
- return (h("div", { class: "alert-radio-group", role: "radiogroup", "aria-activedescendant": this.activeId }, inputs.map((i) => (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({}, 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" }, h("div", { class: "alert-button-inner" }, h("div", { class: "alert-radio-icon" }, h("div", { class: "alert-radio-inner" })), h("div", { class: "alert-radio-label" }, i.label)))))));
1059
- }
1060
- renderInput() {
1061
- const inputs = this.processedInputs;
1062
- if (inputs.length === 0) {
1063
- return null;
1064
- }
1065
- return (h("div", { class: "alert-input-group" }, inputs.map((i) => {
1066
- var _a, _b, _c, _d;
1067
- if (i.type === 'textarea') {
1068
- return (h("div", { class: "alert-input-wrapper" }, 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) => {
1069
- var _a;
1070
- i.value = e.target.value;
1071
- if ((_a = i.attributes) === null || _a === void 0 ? void 0 : _a.onInput) {
1072
- i.attributes.onInput(e);
1073
- }
1074
- } }))));
1075
- }
1076
- else {
1077
- return (h("div", { class: "alert-input-wrapper" }, 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) => {
1078
- var _a;
1079
- i.value = e.target.value;
1080
- if ((_a = i.attributes) === null || _a === void 0 ? void 0 : _a.onInput) {
1081
- i.attributes.onInput(e);
1082
- }
1083
- } }))));
1084
- }
1085
- })));
1086
- }
1087
- renderAlertButtons() {
1088
- const buttons = this.processedButtons;
1089
- const mode = getIonMode(this);
1090
- const alertButtonGroupClass = {
1091
- 'alert-button-group': true,
1092
- 'alert-button-group-vertical': buttons.length > 2,
1093
- };
1094
- return (h("div", { class: alertButtonGroupClass }, buttons.map((button) => (h("button", Object.assign({}, button.htmlAttributes, { type: "button", id: button.id, class: buttonClass(button), tabIndex: 0, onClick: () => this.buttonClick(button) }), h("span", { class: "alert-button-inner" }, button.text), mode === 'md' && h("ion-ripple-effect", null))))));
1095
- }
1096
- renderAlertMessage(msgId) {
1097
- const { customHTMLEnabled, message } = this;
1098
- if (customHTMLEnabled) {
1099
- return h("div", { id: msgId, class: "alert-message", innerHTML: sanitizeDOMString(message) });
1100
- }
1101
- return (h("div", { id: msgId, class: "alert-message" }, message));
1102
- }
1103
- render() {
1104
- const { overlayIndex, header, subHeader, message, htmlAttributes } = this;
1105
- const mode = getIonMode(this);
1106
- const hdrId = `alert-${overlayIndex}-hdr`;
1107
- const msgId = `alert-${overlayIndex}-msg`;
1108
- const subHdrId = `alert-${overlayIndex}-sub-hdr`;
1109
- const role = this.inputs.length > 0 || this.buttons.length > 0 ? 'alertdialog' : 'alert';
1110
- /**
1111
- * Use both the header and subHeader ids if they are defined.
1112
- * If only the header is defined, use the header id.
1113
- * If only the subHeader is defined, use the subHeader id.
1114
- * If neither are defined, do not set aria-labelledby.
1115
- */
1116
- const ariaLabelledBy = header && subHeader ? `${hdrId} ${subHdrId}` : header ? hdrId : subHeader ? subHdrId : null;
1117
- return (h(Host, { key: '6025440b9cd369d4fac89e7e4296c84a10a0b8e0', tabindex: "-1", style: {
1118
- zIndex: `${20000 + overlayIndex}`,
1119
- }, class: Object.assign(Object.assign({}, getClassMap(this.cssClass)), { [mode]: true, 'overlay-hidden': true, 'alert-translucent': this.translucent }), onIonAlertWillDismiss: this.dispatchCancelHandler, onIonBackdropTap: this.onBackdropTap }, h("ion-backdrop", { key: '3cd5ca8b99cb95b11dd22ab41a820d841142896f', tappable: this.backdropDismiss }), h("div", { key: '4cc62ae6e21424057d22aeef1e8fc77011e77cd5', tabindex: "0", "aria-hidden": "true" }), 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), h("div", { key: '78694e3c0db2d408df3899fb1a90859bcc8d14cc', class: "alert-head" }, header && (h("h2", { key: 'ec88ff3e4e1ea871b5975133fdcf4cac38b05e0f', id: hdrId, class: "alert-title" }, header)), subHeader && !header && (h("h2", { key: '9b09bc8bb68af255ef8b7d22587acc946148e544', id: subHdrId, class: "alert-sub-title" }, subHeader)), subHeader && header && (h("h3", { key: '99abe815f75d2df7f1b77c0df9f3436724fea76f', id: subHdrId, class: "alert-sub-title" }, subHeader))), this.renderAlertMessage(msgId), this.renderAlertInputs(), this.renderAlertButtons()), h("div", { key: 'a43d0c22c0e46b1ef911f92ffeb253d7911b85f7', tabindex: "0", "aria-hidden": "true" })));
1120
- }
1121
- get el() { return getElement(this); }
1122
- static get watchers() { return {
1123
- "isOpen": ["onIsOpenChange"],
1124
- "trigger": ["triggerChanged"],
1125
- "buttons": ["buttonsChanged"],
1126
- "inputs": ["inputsChanged"]
1127
- }; }
1128
- };
1129
- const inputClass = (input) => {
1130
- var _a, _b, _c;
1131
- 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 }, getClassMap(input.cssClass)), getClassMap(input.attributes ? (_c = input.attributes.class) === null || _c === void 0 ? void 0 : _c.toString() : ''));
1132
- };
1133
- const buttonClass = (button) => {
1134
- return Object.assign({ 'alert-button': true, 'ion-focusable': true, 'ion-activatable': true, [`alert-button-role-${button.role}`]: button.role !== undefined }, getClassMap(button.cssClass));
1135
- };
1136
- Alert.style = {
1137
- ios: alertIosCss(),
1138
- md: alertMdCss()
1139
- };
1140
-
1141
- /*!
1142
- * (C) Ionic http://ionicframework.com - MIT License
1143
- */
1144
- var Style;
1145
- (function (Style) {
1146
- Style["Dark"] = "DARK";
1147
- Style["Light"] = "LIGHT";
1148
- Style["Default"] = "DEFAULT";
1149
- })(Style || (Style = {}));
1150
- const StatusBar = {
1151
- getEngine() {
1152
- const capacitor = getCapacitor();
1153
- if (capacitor === null || capacitor === void 0 ? void 0 : capacitor.isPluginAvailable('StatusBar')) {
1154
- return capacitor.Plugins.StatusBar;
1155
- }
1156
- return undefined;
1157
- },
1158
- setStyle(options) {
1159
- const engine = this.getEngine();
1160
- if (!engine) {
1161
- return;
1162
- }
1163
- engine.setStyle(options);
1164
- },
1165
- getStyle: async function () {
1166
- const engine = this.getEngine();
1167
- if (!engine) {
1168
- return Style.Default;
1169
- }
1170
- const { style } = await engine.getInfo();
1171
- return style;
1172
- },
1173
- };
1174
-
1175
- /*!
1176
- * (C) Ionic http://ionicframework.com - MIT License
1177
- */
1178
- /**
1179
- * Use y = mx + b to
1180
- * figure out the backdrop value
1181
- * at a particular x coordinate. This
1182
- * is useful when the backdrop does
1183
- * not begin to fade in until after
1184
- * the 0 breakpoint.
1185
- */
1186
- const getBackdropValueForSheet = (x, backdropBreakpoint) => {
1187
- /**
1188
- * We will use these points:
1189
- * (backdropBreakpoint, 0)
1190
- * (maxBreakpoint, 1)
1191
- * We know that at the beginning breakpoint,
1192
- * the backdrop will be hidden. We also
1193
- * know that at the maxBreakpoint, the backdrop
1194
- * must be fully visible. maxBreakpoint should
1195
- * always be 1 even if the maximum value
1196
- * of the breakpoints array is not 1 since
1197
- * the animation runs from a progress of 0
1198
- * to a progress of 1.
1199
- * m = (y2 - y1) / (x2 - x1)
1200
- *
1201
- * This is simplified from:
1202
- * m = (1 - 0) / (maxBreakpoint - backdropBreakpoint)
1203
- *
1204
- * If the backdropBreakpoint is 1, we return 0 as the
1205
- * backdrop is completely hidden.
1206
- *
1207
- */
1208
- if (backdropBreakpoint === 1) {
1209
- return 0;
1210
- }
1211
- const slope = 1 / (1 - backdropBreakpoint);
1212
- /**
1213
- * From here, compute b which is
1214
- * the backdrop opacity if the offset
1215
- * is 0. If the backdrop does not
1216
- * begin to fade in until after the
1217
- * 0 breakpoint, this b value will be
1218
- * negative. This is fine as we never pass
1219
- * b directly into the animation keyframes.
1220
- * b = y - mx
1221
- * Use a known point: (backdropBreakpoint, 0)
1222
- * This is simplified from:
1223
- * b = 0 - (backdropBreakpoint * slope)
1224
- */
1225
- const b = -(backdropBreakpoint * slope);
1226
- /**
1227
- * Finally, we can now determine the
1228
- * backdrop offset given an arbitrary
1229
- * gesture offset.
1230
- */
1231
- return x * slope + b;
1232
- };
1233
- /**
1234
- * The tablet/desktop card modal activates
1235
- * when the window width is >= 768.
1236
- * At that point, the presenting element
1237
- * is not transformed, so we do not need to
1238
- * adjust the status bar color.
1239
- *
1240
- */
1241
- const setCardStatusBarDark = () => {
1242
- if (!win || win.innerWidth >= 768) {
1243
- return;
1244
- }
1245
- StatusBar.setStyle({ style: Style.Dark });
1246
- };
1247
- const setCardStatusBarDefault = (defaultStyle = Style.Default) => {
1248
- if (!win || win.innerWidth >= 768) {
1249
- return;
1250
- }
1251
- StatusBar.setStyle({ style: defaultStyle });
1252
- };
1253
-
1254
- /*!
1255
- * (C) Ionic http://ionicframework.com - MIT License
1256
- */
1257
- const handleCanDismiss = async (el, animation) => {
1258
- /**
1259
- * If canDismiss is not a function
1260
- * then we can return early. If canDismiss is `true`,
1261
- * then canDismissBlocksGesture is `false` as canDismiss
1262
- * will never interrupt the gesture. As a result,
1263
- * this code block is never reached. If canDismiss is `false`,
1264
- * then we never dismiss.
1265
- */
1266
- if (typeof el.canDismiss !== 'function') {
1267
- return;
1268
- }
1269
- /**
1270
- * Run the canDismiss callback.
1271
- * If the function returns `true`,
1272
- * then we can proceed with dismiss.
1273
- */
1274
- const shouldDismiss = await el.canDismiss(undefined, GESTURE);
1275
- if (!shouldDismiss) {
1276
- return;
1277
- }
1278
- /**
1279
- * If canDismiss resolved after the snap
1280
- * back animation finished, we can
1281
- * dismiss immediately.
1282
- *
1283
- * If canDismiss resolved before the snap
1284
- * back animation finished, we need to
1285
- * wait until the snap back animation is
1286
- * done before dismissing.
1287
- */
1288
- if (animation.isRunning()) {
1289
- animation.onFinish(() => {
1290
- el.dismiss(undefined, 'handler');
1291
- }, { oneTimeCallback: true });
1292
- }
1293
- else {
1294
- el.dismiss(undefined, 'handler');
1295
- }
1296
- };
1297
- /**
1298
- * This function lets us simulate a realistic spring-like animation
1299
- * when swiping down on the modal.
1300
- * There are two forces that we need to use to compute the spring physics:
1301
- *
1302
- * 1. Stiffness, k: This is a measure of resistance applied a spring.
1303
- * 2. Dampening, c: This value has the effect of reducing or preventing oscillation.
1304
- *
1305
- * Using these two values, we can calculate the Spring Force and the Dampening Force
1306
- * to compute the total force applied to a spring.
1307
- *
1308
- * Spring Force: This force pulls a spring back into its equilibrium position.
1309
- * Hooke's Law tells us that that spring force (FS) = kX.
1310
- * k is the stiffness of a spring, and X is the displacement of the spring from its
1311
- * equilibrium position. In this case, it is the amount by which the free end
1312
- * of a spring was displaced (stretched/pushed) from its "relaxed" position.
1313
- *
1314
- * Dampening Force: This force slows down motion. Without it, a spring would oscillate forever.
1315
- * The dampening force, FD, can be found via this formula: FD = -cv
1316
- * where c the dampening value and v is velocity.
1317
- *
1318
- * Therefore, the resulting force that is exerted on the block is:
1319
- * F = FS + FD = -kX - cv
1320
- *
1321
- * Newton's 2nd Law tells us that F = ma:
1322
- * ma = -kX - cv.
1323
- *
1324
- * For Ionic's purposes, we can assume that m = 1:
1325
- * a = -kX - cv
1326
- *
1327
- * Imagine a block attached to the end of a spring. At equilibrium
1328
- * the block is at position x = 1.
1329
- * Pressing on the block moves it to position x = 0;
1330
- * So, to calculate the displacement, we need to take the
1331
- * current position and subtract the previous position from it.
1332
- * X = x - x0 = 0 - 1 = -1.
1333
- *
1334
- * For Ionic's purposes, we are only pushing on the spring modal
1335
- * so we have a max position of 1.
1336
- * As a result, we can expand displacement to this formula:
1337
- * X = x - 1
1338
- *
1339
- * a = -k(x - 1) - cv
1340
- *
1341
- * We can represent the motion of something as a function of time: f(t) = x.
1342
- * The derivative of position gives us the velocity: f'(t)
1343
- * The derivative of the velocity gives us the acceleration: f''(t)
1344
- *
1345
- * We can substitute the formula above with these values:
1346
- *
1347
- * f"(t) = -k * (f(t) - 1) - c * f'(t)
1348
- *
1349
- * This is called a differential equation.
1350
- *
1351
- * We know that at t = 0, we are at x = 0 because the modal does not move: f(0) = 0
1352
- * This means our velocity is also zero: f'(0) = 0.
1353
- *
1354
- * We can cheat a bit and plug the formula into Wolfram Alpha.
1355
- * However, we need to pick stiffness and dampening values:
1356
- * k = 0.57
1357
- * c = 15
1358
- *
1359
- * I picked these as they are fairly close to native iOS's spring effect
1360
- * with the modal.
1361
- *
1362
- * What we plug in is this: f(0) = 0; f'(0) = 0; f''(t) = -0.57(f(t) - 1) - 15f'(t)
1363
- *
1364
- * The result is a formula that lets us calculate the acceleration
1365
- * for a given time t.
1366
- * Note: This is the approximate form of the solution. Wolfram Alpha will
1367
- * give you a complex differential equation too.
1368
- */
1369
- const calculateSpringStep = (t) => {
1370
- return 0.00255275 * 2.71828 ** (-14.9619 * t) - 1.00255 * 2.71828 ** (-0.0380968 * t) + 1;
1371
- };
1372
-
1373
- /*!
1374
- * (C) Ionic http://ionicframework.com - MIT License
1375
- */
1376
- // Defaults for the card swipe animation
1377
- const SwipeToCloseDefaults = {
1378
- MIN_PRESENTING_SCALE: 0.915,
1379
- };
1380
- const createSwipeToCloseGesture = (el, animation, statusBarStyle, onDismiss) => {
1381
- /**
1382
- * The step value at which a card modal
1383
- * is eligible for dismissing via gesture.
1384
- */
1385
- const DISMISS_THRESHOLD = 0.5;
1386
- const height = el.offsetHeight;
1387
- let isOpen = false;
1388
- let canDismissBlocksGesture = false;
1389
- let contentEl = null;
1390
- let scrollEl = null;
1391
- const canDismissMaxStep = 0.2;
1392
- let initialScrollY = true;
1393
- let lastStep = 0;
1394
- const getScrollY = () => {
1395
- if (contentEl && isIonContent(contentEl)) {
1396
- return contentEl.scrollY;
1397
- /**
1398
- * Custom scroll containers are intended to be
1399
- * used with virtual scrolling, so we assume
1400
- * there is scrolling in this case.
1401
- */
1402
- }
1403
- else {
1404
- return true;
1405
- }
1406
- };
1407
- const canStart = (detail) => {
1408
- const target = detail.event.target;
1409
- if (target === null || !target.closest) {
1410
- return true;
1411
- }
1412
- /**
1413
- * If we are swiping on the content,
1414
- * swiping should only be possible if
1415
- * the content is scrolled all the way
1416
- * to the top so that we do not interfere
1417
- * with scrolling.
1418
- *
1419
- * We cannot assume that the `ion-content`
1420
- * target will remain consistent between
1421
- * swipes. For example, when using
1422
- * ion-nav within a card modal it is
1423
- * possible to swipe, push a view, and then
1424
- * swipe again. The target content will not
1425
- * be the same between swipes.
1426
- */
1427
- contentEl = findClosestIonContent(target);
1428
- if (contentEl) {
1429
- /**
1430
- * The card should never swipe to close
1431
- * on the content with a refresher.
1432
- * Note: We cannot solve this by making the
1433
- * swipeToClose gesture have a higher priority
1434
- * than the refresher gesture as the iOS native
1435
- * refresh gesture uses a scroll listener in
1436
- * addition to a gesture.
1437
- *
1438
- * Note: Do not use getScrollElement here
1439
- * because we need this to be a synchronous
1440
- * operation, and getScrollElement is
1441
- * asynchronous.
1442
- */
1443
- if (isIonContent(contentEl)) {
1444
- const root = getElementRoot(contentEl);
1445
- scrollEl = root.querySelector('.inner-scroll');
1446
- }
1447
- else {
1448
- scrollEl = contentEl;
1449
- }
1450
- const hasRefresherInContent = !!contentEl.querySelector('ion-refresher');
1451
- return !hasRefresherInContent && scrollEl.scrollTop === 0;
1452
- }
1453
- /**
1454
- * Card should be swipeable on all
1455
- * parts of the modal except for the footer.
1456
- */
1457
- const footer = target.closest('ion-footer');
1458
- if (footer === null) {
1459
- return true;
1460
- }
1461
- return false;
1462
- };
1463
- const onStart = (detail) => {
1464
- const { deltaY } = detail;
1465
- /**
1466
- * Get the initial scrollY value so
1467
- * that we can correctly reset the scrollY
1468
- * prop when the gesture ends.
1469
- */
1470
- initialScrollY = getScrollY();
1471
- /**
1472
- * If canDismiss is anything other than `true`
1473
- * then users should be able to swipe down
1474
- * until a threshold is hit. At that point,
1475
- * the card modal should not proceed any further.
1476
- * TODO (FW-937)
1477
- * Remove undefined check
1478
- */
1479
- canDismissBlocksGesture = el.canDismiss !== undefined && el.canDismiss !== true;
1480
- /**
1481
- * If we are pulling down, then
1482
- * it is possible we are pulling on the
1483
- * content. We do not want scrolling to
1484
- * happen at the same time as the gesture.
1485
- */
1486
- if (deltaY > 0 && contentEl) {
1487
- disableContentScrollY(contentEl);
1488
- }
1489
- animation.progressStart(true, isOpen ? 1 : 0);
1490
- };
1491
- const onMove = (detail) => {
1492
- const { deltaY } = detail;
1493
- /**
1494
- * If we are pulling down, then
1495
- * it is possible we are pulling on the
1496
- * content. We do not want scrolling to
1497
- * happen at the same time as the gesture.
1498
- */
1499
- if (deltaY > 0 && contentEl) {
1500
- disableContentScrollY(contentEl);
1501
- }
1502
- /**
1503
- * If we are swiping on the content
1504
- * then the swipe gesture should only
1505
- * happen if we are pulling down.
1506
- *
1507
- * However, if we pull up and
1508
- * then down such that the scroll position
1509
- * returns to 0, we should be able to swipe
1510
- * the card.
1511
- */
1512
- const step = detail.deltaY / height;
1513
- /**
1514
- * Check if user is swiping down and
1515
- * if we have a canDismiss value that
1516
- * should block the gesture from
1517
- * proceeding,
1518
- */
1519
- const isAttemptingDismissWithCanDismiss = step >= 0 && canDismissBlocksGesture;
1520
- /**
1521
- * If we are blocking the gesture from dismissing,
1522
- * set the max step value so that the sheet cannot be
1523
- * completely hidden.
1524
- */
1525
- const maxStep = isAttemptingDismissWithCanDismiss ? canDismissMaxStep : 0.9999;
1526
- /**
1527
- * If we are blocking the gesture from
1528
- * dismissing, calculate the spring modifier value
1529
- * this will be added to the starting breakpoint
1530
- * value to give the gesture a spring-like feeling.
1531
- * Note that the starting breakpoint is always 0,
1532
- * so we omit adding 0 to the result.
1533
- */
1534
- const processedStep = isAttemptingDismissWithCanDismiss ? calculateSpringStep(step / maxStep) : step;
1535
- const clampedStep = clamp(0.0001, processedStep, maxStep);
1536
- animation.progressStep(clampedStep);
1537
- /**
1538
- * When swiping down half way, the status bar style
1539
- * should be reset to its default value.
1540
- *
1541
- * We track lastStep so that we do not fire these
1542
- * functions on every onMove, only when the user has
1543
- * crossed a certain threshold.
1544
- */
1545
- if (clampedStep >= DISMISS_THRESHOLD && lastStep < DISMISS_THRESHOLD) {
1546
- setCardStatusBarDefault(statusBarStyle);
1547
- /**
1548
- * However, if we swipe back up, then the
1549
- * status bar style should be set to have light
1550
- * text on a dark background.
1551
- */
1552
- }
1553
- else if (clampedStep < DISMISS_THRESHOLD && lastStep >= DISMISS_THRESHOLD) {
1554
- setCardStatusBarDark();
1555
- }
1556
- lastStep = clampedStep;
1557
- };
1558
- const onEnd = (detail) => {
1559
- const velocity = detail.velocityY;
1560
- const step = detail.deltaY / height;
1561
- const isAttemptingDismissWithCanDismiss = step >= 0 && canDismissBlocksGesture;
1562
- const maxStep = isAttemptingDismissWithCanDismiss ? canDismissMaxStep : 0.9999;
1563
- const processedStep = isAttemptingDismissWithCanDismiss ? calculateSpringStep(step / maxStep) : step;
1564
- const clampedStep = clamp(0.0001, processedStep, maxStep);
1565
- const threshold = (detail.deltaY + velocity * 1000) / height;
1566
- /**
1567
- * If canDismiss blocks
1568
- * the swipe gesture, then the
1569
- * animation can never complete until
1570
- * canDismiss is checked.
1571
- */
1572
- const shouldComplete = !isAttemptingDismissWithCanDismiss && threshold >= DISMISS_THRESHOLD;
1573
- let newStepValue = shouldComplete ? -1e-3 : 0.001;
1574
- if (!shouldComplete) {
1575
- animation.easing('cubic-bezier(1, 0, 0.68, 0.28)');
1576
- newStepValue += getTimeGivenProgression([0, 0], [1, 0], [0.68, 0.28], [1, 1], clampedStep)[0];
1577
- }
1578
- else {
1579
- animation.easing('cubic-bezier(0.32, 0.72, 0, 1)');
1580
- newStepValue += getTimeGivenProgression([0, 0], [0.32, 0.72], [0, 1], [1, 1], clampedStep)[0];
1581
- }
1582
- const duration = shouldComplete
1583
- ? computeDuration(step * height, velocity)
1584
- : computeDuration((1 - clampedStep) * height, velocity);
1585
- isOpen = shouldComplete;
1586
- gesture.enable(false);
1587
- if (contentEl) {
1588
- resetContentScrollY(contentEl, initialScrollY);
1589
- }
1590
- animation
1591
- .onFinish(() => {
1592
- if (!shouldComplete) {
1593
- gesture.enable(true);
1594
- }
1595
- })
1596
- .progressEnd(shouldComplete ? 1 : 0, newStepValue, duration);
1597
- /**
1598
- * If the canDismiss value blocked the gesture
1599
- * from proceeding, then we should ignore whatever
1600
- * shouldComplete is. Whether or not the modal
1601
- * animation should complete is now determined by
1602
- * canDismiss.
1603
- *
1604
- * If the user swiped >25% of the way
1605
- * to the max step, then we should
1606
- * check canDismiss. 25% was chosen
1607
- * to avoid accidental swipes.
1608
- */
1609
- if (isAttemptingDismissWithCanDismiss && clampedStep > maxStep / 4) {
1610
- handleCanDismiss(el, animation);
1611
- }
1612
- else if (shouldComplete) {
1613
- onDismiss();
1614
- }
1615
- };
1616
- const gesture = createGesture({
1617
- el,
1618
- gestureName: 'modalSwipeToClose',
1619
- gesturePriority: OVERLAY_GESTURE_PRIORITY,
1620
- direction: 'y',
1621
- threshold: 10,
1622
- canStart,
1623
- onStart,
1624
- onMove,
1625
- onEnd,
1626
- });
1627
- return gesture;
1628
- };
1629
- const computeDuration = (remaining, velocity) => {
1630
- return clamp(400, remaining / Math.abs(velocity * 1.1), 500);
1631
- };
1632
-
1633
- /*!
1634
- * (C) Ionic http://ionicframework.com - MIT License
1635
- */
1636
- const createSheetEnterAnimation = (opts) => {
1637
- const { currentBreakpoint, backdropBreakpoint, expandToScroll } = opts;
1638
- /**
1639
- * If the backdropBreakpoint is undefined, then the backdrop
1640
- * should always fade in. If the backdropBreakpoint came before the
1641
- * current breakpoint, then the backdrop should be fading in.
1642
- */
1643
- const shouldShowBackdrop = backdropBreakpoint === undefined || backdropBreakpoint < currentBreakpoint;
1644
- const initialBackdrop = shouldShowBackdrop ? `calc(var(--backdrop-opacity) * ${currentBreakpoint})` : '0';
1645
- const backdropAnimation = createAnimation('backdropAnimation').fromTo('opacity', 0, initialBackdrop);
1646
- if (shouldShowBackdrop) {
1647
- backdropAnimation
1648
- .beforeStyles({
1649
- 'pointer-events': 'none',
1650
- })
1651
- .afterClearStyles(['pointer-events']);
1652
- }
1653
- const wrapperAnimation = createAnimation('wrapperAnimation').keyframes([
1654
- { offset: 0, opacity: 1, transform: 'translateY(100%)' },
1655
- { offset: 1, opacity: 1, transform: `translateY(${100 - currentBreakpoint * 100}%)` },
1656
- ]);
1657
- /**
1658
- * This allows the content to be scrollable at any breakpoint.
1659
- */
1660
- const contentAnimation = !expandToScroll
1661
- ? createAnimation('contentAnimation').keyframes([
1662
- { offset: 0, opacity: 1, maxHeight: `${(1 - currentBreakpoint) * 100}%` },
1663
- { offset: 1, opacity: 1, maxHeight: `${currentBreakpoint * 100}%` },
1664
- ])
1665
- : undefined;
1666
- return { wrapperAnimation, backdropAnimation, contentAnimation };
1667
- };
1668
- const createSheetLeaveAnimation = (opts) => {
1669
- const { currentBreakpoint, backdropBreakpoint } = opts;
1670
- /**
1671
- * Backdrop does not always fade in from 0 to 1 if backdropBreakpoint
1672
- * is defined, so we need to account for that offset by figuring out
1673
- * what the current backdrop value should be.
1674
- */
1675
- const backdropValue = `calc(var(--backdrop-opacity) * ${getBackdropValueForSheet(currentBreakpoint, backdropBreakpoint)})`;
1676
- const defaultBackdrop = [
1677
- { offset: 0, opacity: backdropValue },
1678
- { offset: 1, opacity: 0 },
1679
- ];
1680
- const customBackdrop = [
1681
- { offset: 0, opacity: backdropValue },
1682
- { offset: backdropBreakpoint, opacity: 0 },
1683
- { offset: 1, opacity: 0 },
1684
- ];
1685
- const backdropAnimation = createAnimation('backdropAnimation').keyframes(backdropBreakpoint !== 0 ? customBackdrop : defaultBackdrop);
1686
- const wrapperAnimation = createAnimation('wrapperAnimation').keyframes([
1687
- { offset: 0, opacity: 1, transform: `translateY(${100 - currentBreakpoint * 100}%)` },
1688
- { offset: 1, opacity: 1, transform: `translateY(100%)` },
1689
- ]);
1690
- return { wrapperAnimation, backdropAnimation };
1691
- };
1692
-
1693
- /*!
1694
- * (C) Ionic http://ionicframework.com - MIT License
1695
- */
1696
- const createEnterAnimation$1 = () => {
1697
- const backdropAnimation = createAnimation()
1698
- .fromTo('opacity', 0.01, 'var(--backdrop-opacity)')
1699
- .beforeStyles({
1700
- 'pointer-events': 'none',
1701
- })
1702
- .afterClearStyles(['pointer-events']);
1703
- const wrapperAnimation = createAnimation().fromTo('transform', 'translateY(100vh)', 'translateY(0vh)');
1704
- return { backdropAnimation, wrapperAnimation, contentAnimation: undefined };
1705
- };
1706
- /**
1707
- * iOS Modal Enter Animation for the Card presentation style
1708
- */
1709
- const iosEnterAnimation = (baseEl, opts) => {
1710
- const { presentingEl, currentBreakpoint, expandToScroll } = opts;
1711
- const root = getElementRoot(baseEl);
1712
- const { wrapperAnimation, backdropAnimation, contentAnimation } = currentBreakpoint !== undefined ? createSheetEnterAnimation(opts) : createEnterAnimation$1();
1713
- backdropAnimation.addElement(root.querySelector('ion-backdrop'));
1714
- wrapperAnimation.addElement(root.querySelectorAll('.modal-wrapper, .modal-shadow')).beforeStyles({ opacity: 1 });
1715
- // The content animation is only added if scrolling is enabled for
1716
- // all the breakpoints.
1717
- !expandToScroll && (contentAnimation === null || contentAnimation === void 0 ? void 0 : contentAnimation.addElement(baseEl.querySelector('.ion-page')));
1718
- const baseAnimation = createAnimation('entering-base')
1719
- .addElement(baseEl)
1720
- .easing('cubic-bezier(0.32,0.72,0,1)')
1721
- .duration(500)
1722
- .addAnimation([wrapperAnimation]);
1723
- if (contentAnimation) {
1724
- baseAnimation.addAnimation(contentAnimation);
1725
- }
1726
- if (presentingEl) {
1727
- const isPortrait = window.innerWidth < 768;
1728
- const hasCardModal = presentingEl.tagName === 'ION-MODAL' && presentingEl.presentingElement !== undefined;
1729
- const presentingElRoot = getElementRoot(presentingEl);
1730
- const presentingAnimation = createAnimation().beforeStyles({
1731
- transform: 'translateY(0)',
1732
- 'transform-origin': 'top center',
1733
- overflow: 'hidden',
1734
- });
1735
- const bodyEl = document.body;
1736
- if (isPortrait) {
1737
- /**
1738
- * Fallback for browsers that does not support `max()` (ex: Firefox)
1739
- * No need to worry about statusbar padding since engines like Gecko
1740
- * are not used as the engine for standalone Cordova/Capacitor apps
1741
- */
1742
- const transformOffset = !CSS.supports('width', 'max(0px, 1px)') ? '30px' : 'max(30px, var(--ion-safe-area-top))';
1743
- const modalTransform = hasCardModal ? '-10px' : transformOffset;
1744
- const toPresentingScale = SwipeToCloseDefaults.MIN_PRESENTING_SCALE;
1745
- const finalTransform = `translateY(${modalTransform}) scale(${toPresentingScale})`;
1746
- presentingAnimation
1747
- .afterStyles({
1748
- transform: finalTransform,
1749
- })
1750
- .beforeAddWrite(() => bodyEl.style.setProperty('background-color', 'black'))
1751
- .addElement(presentingEl)
1752
- .keyframes([
1753
- { offset: 0, filter: 'contrast(1)', transform: 'translateY(0px) scale(1)', borderRadius: '0px' },
1754
- { offset: 1, filter: 'contrast(0.85)', transform: finalTransform, borderRadius: '10px 10px 0 0' },
1755
- ]);
1756
- baseAnimation.addAnimation(presentingAnimation);
1757
- }
1758
- else {
1759
- baseAnimation.addAnimation(backdropAnimation);
1760
- if (!hasCardModal) {
1761
- wrapperAnimation.fromTo('opacity', '0', '1');
1762
- }
1763
- else {
1764
- const toPresentingScale = hasCardModal ? SwipeToCloseDefaults.MIN_PRESENTING_SCALE : 1;
1765
- const finalTransform = `translateY(-10px) scale(${toPresentingScale})`;
1766
- presentingAnimation
1767
- .afterStyles({
1768
- transform: finalTransform,
1769
- })
1770
- .addElement(presentingElRoot.querySelector('.modal-wrapper'))
1771
- .keyframes([
1772
- { offset: 0, filter: 'contrast(1)', transform: 'translateY(0) scale(1)' },
1773
- { offset: 1, filter: 'contrast(0.85)', transform: finalTransform },
1774
- ]);
1775
- const shadowAnimation = createAnimation()
1776
- .afterStyles({
1777
- transform: finalTransform,
1778
- })
1779
- .addElement(presentingElRoot.querySelector('.modal-shadow'))
1780
- .keyframes([
1781
- { offset: 0, opacity: '1', transform: 'translateY(0) scale(1)' },
1782
- { offset: 1, opacity: '0', transform: finalTransform },
1783
- ]);
1784
- baseAnimation.addAnimation([presentingAnimation, shadowAnimation]);
1785
- }
1786
- }
1787
- }
1788
- else {
1789
- baseAnimation.addAnimation(backdropAnimation);
1790
- }
1791
- return baseAnimation;
1792
- };
1793
-
1794
- /*!
1795
- * (C) Ionic http://ionicframework.com - MIT License
1796
- */
1797
- const createLeaveAnimation$1 = () => {
1798
- const backdropAnimation = createAnimation().fromTo('opacity', 'var(--backdrop-opacity)', 0);
1799
- const wrapperAnimation = createAnimation().fromTo('transform', 'translateY(0vh)', 'translateY(100vh)');
1800
- return { backdropAnimation, wrapperAnimation };
1801
- };
1802
- /**
1803
- * iOS Modal Leave Animation
1804
- */
1805
- const iosLeaveAnimation = (baseEl, opts, duration = 500) => {
1806
- const { presentingEl, currentBreakpoint } = opts;
1807
- const root = getElementRoot(baseEl);
1808
- const { wrapperAnimation, backdropAnimation } = currentBreakpoint !== undefined ? createSheetLeaveAnimation(opts) : createLeaveAnimation$1();
1809
- backdropAnimation.addElement(root.querySelector('ion-backdrop'));
1810
- wrapperAnimation.addElement(root.querySelectorAll('.modal-wrapper, .modal-shadow')).beforeStyles({ opacity: 1 });
1811
- const baseAnimation = createAnimation('leaving-base')
1812
- .addElement(baseEl)
1813
- .easing('cubic-bezier(0.32,0.72,0,1)')
1814
- .duration(duration)
1815
- .addAnimation(wrapperAnimation);
1816
- if (presentingEl) {
1817
- const isPortrait = window.innerWidth < 768;
1818
- const hasCardModal = presentingEl.tagName === 'ION-MODAL' && presentingEl.presentingElement !== undefined;
1819
- const presentingElRoot = getElementRoot(presentingEl);
1820
- const presentingAnimation = createAnimation()
1821
- .beforeClearStyles(['transform'])
1822
- .afterClearStyles(['transform'])
1823
- .onFinish((currentStep) => {
1824
- // only reset background color if this is the last card-style modal
1825
- if (currentStep !== 1) {
1826
- return;
1827
- }
1828
- presentingEl.style.setProperty('overflow', '');
1829
- const numModals = Array.from(bodyEl.querySelectorAll('ion-modal:not(.overlay-hidden)')).filter((m) => m.presentingElement !== undefined).length;
1830
- if (numModals <= 1) {
1831
- bodyEl.style.setProperty('background-color', '');
1832
- }
1833
- });
1834
- const bodyEl = document.body;
1835
- if (isPortrait) {
1836
- const transformOffset = !CSS.supports('width', 'max(0px, 1px)') ? '30px' : 'max(30px, var(--ion-safe-area-top))';
1837
- const modalTransform = hasCardModal ? '-10px' : transformOffset;
1838
- const toPresentingScale = SwipeToCloseDefaults.MIN_PRESENTING_SCALE;
1839
- const finalTransform = `translateY(${modalTransform}) scale(${toPresentingScale})`;
1840
- presentingAnimation.addElement(presentingEl).keyframes([
1841
- { offset: 0, filter: 'contrast(0.85)', transform: finalTransform, borderRadius: '10px 10px 0 0' },
1842
- { offset: 1, filter: 'contrast(1)', transform: 'translateY(0px) scale(1)', borderRadius: '0px' },
1843
- ]);
1844
- baseAnimation.addAnimation(presentingAnimation);
1845
- }
1846
- else {
1847
- baseAnimation.addAnimation(backdropAnimation);
1848
- if (!hasCardModal) {
1849
- wrapperAnimation.fromTo('opacity', '1', '0');
1850
- }
1851
- else {
1852
- const toPresentingScale = hasCardModal ? SwipeToCloseDefaults.MIN_PRESENTING_SCALE : 1;
1853
- const finalTransform = `translateY(-10px) scale(${toPresentingScale})`;
1854
- presentingAnimation
1855
- .addElement(presentingElRoot.querySelector('.modal-wrapper'))
1856
- .afterStyles({
1857
- transform: 'translate3d(0, 0, 0)',
1858
- })
1859
- .keyframes([
1860
- { offset: 0, filter: 'contrast(0.85)', transform: finalTransform },
1861
- { offset: 1, filter: 'contrast(1)', transform: 'translateY(0) scale(1)' },
1862
- ]);
1863
- const shadowAnimation = createAnimation()
1864
- .addElement(presentingElRoot.querySelector('.modal-shadow'))
1865
- .afterStyles({
1866
- transform: 'translateY(0) scale(1)',
1867
- })
1868
- .keyframes([
1869
- { offset: 0, opacity: '0', transform: finalTransform },
1870
- { offset: 1, opacity: '1', transform: 'translateY(0) scale(1)' },
1871
- ]);
1872
- baseAnimation.addAnimation([presentingAnimation, shadowAnimation]);
1873
- }
1874
- }
1875
- }
1876
- else {
1877
- baseAnimation.addAnimation(backdropAnimation);
1878
- }
1879
- return baseAnimation;
1880
- };
1881
-
1882
- /*!
1883
- * (C) Ionic http://ionicframework.com - MIT License
1884
- */
1885
- /**
1886
- * Transition animation from portrait view to landscape view
1887
- * This handles the case where a card modal is open in portrait view
1888
- * and the user switches to landscape view
1889
- */
1890
- const portraitToLandscapeTransition = (baseEl, opts, duration = 300) => {
1891
- const { presentingEl } = opts;
1892
- if (!presentingEl) {
1893
- // No transition needed for non-card modals
1894
- return createAnimation('portrait-to-landscape-transition');
1895
- }
1896
- const presentingElIsCardModal = presentingEl.tagName === 'ION-MODAL' && presentingEl.presentingElement !== undefined;
1897
- const presentingElRoot = getElementRoot(presentingEl);
1898
- const bodyEl = document.body;
1899
- const baseAnimation = createAnimation('portrait-to-landscape-transition')
1900
- .addElement(baseEl)
1901
- .easing('cubic-bezier(0.32,0.72,0,1)')
1902
- .duration(duration);
1903
- const presentingAnimation = createAnimation().beforeStyles({
1904
- transform: 'translateY(0)',
1905
- 'transform-origin': 'top center',
1906
- overflow: 'hidden',
1907
- });
1908
- if (!presentingElIsCardModal) {
1909
- // The presenting element is not a card modal, so we do not
1910
- // need to care about layering and modal-specific styles.
1911
- const root = getElementRoot(baseEl);
1912
- const wrapperAnimation = createAnimation()
1913
- .addElement(root.querySelectorAll('.modal-wrapper, .modal-shadow'))
1914
- .fromTo('opacity', '1', '1'); // Keep wrapper visible in landscape
1915
- const backdropAnimation = createAnimation()
1916
- .addElement(root.querySelector('ion-backdrop'))
1917
- .fromTo('opacity', 'var(--backdrop-opacity)', 'var(--backdrop-opacity)'); // Keep backdrop visible
1918
- // Animate presentingEl from portrait state back to normal
1919
- const transformOffset = !CSS.supports('width', 'max(0px, 1px)') ? '30px' : 'max(30px, var(--ion-safe-area-top))';
1920
- const toPresentingScale = SwipeToCloseDefaults.MIN_PRESENTING_SCALE;
1921
- const fromTransform = `translateY(${transformOffset}) scale(${toPresentingScale})`;
1922
- presentingAnimation
1923
- .addElement(presentingEl)
1924
- .afterStyles({
1925
- transform: 'translateY(0px) scale(1)',
1926
- 'border-radius': '0px',
1927
- })
1928
- .beforeAddWrite(() => bodyEl.style.setProperty('background-color', ''))
1929
- .fromTo('transform', fromTransform, 'translateY(0px) scale(1)')
1930
- .fromTo('filter', 'contrast(0.85)', 'contrast(1)')
1931
- .fromTo('border-radius', '10px 10px 0 0', '0px');
1932
- baseAnimation.addAnimation([presentingAnimation, wrapperAnimation, backdropAnimation]);
1933
- }
1934
- else {
1935
- // The presenting element is a card modal, so we do
1936
- // need to care about layering and modal-specific styles.
1937
- const toPresentingScale = SwipeToCloseDefaults.MIN_PRESENTING_SCALE;
1938
- const fromTransform = `translateY(-10px) scale(${toPresentingScale})`;
1939
- const toTransform = `translateY(0px) scale(1)`;
1940
- presentingAnimation
1941
- .addElement(presentingEl)
1942
- .afterStyles({
1943
- transform: toTransform,
1944
- })
1945
- .fromTo('transform', fromTransform, toTransform)
1946
- .fromTo('filter', 'contrast(0.85)', 'contrast(1)');
1947
- const shadowAnimation = createAnimation()
1948
- .addElement(presentingElRoot.querySelector('.modal-shadow'))
1949
- .afterStyles({
1950
- transform: toTransform,
1951
- opacity: '0',
1952
- })
1953
- .fromTo('transform', fromTransform, toTransform);
1954
- baseAnimation.addAnimation([presentingAnimation, shadowAnimation]);
1955
- }
1956
- return baseAnimation;
1957
- };
1958
- /**
1959
- * Transition animation from landscape view to portrait view
1960
- * This handles the case where a card modal is open in landscape view
1961
- * and the user switches to portrait view
1962
- */
1963
- const landscapeToPortraitTransition = (baseEl, opts, duration = 300) => {
1964
- const { presentingEl } = opts;
1965
- if (!presentingEl) {
1966
- // No transition needed for non-card modals
1967
- return createAnimation('landscape-to-portrait-transition');
1968
- }
1969
- const presentingElIsCardModal = presentingEl.tagName === 'ION-MODAL' && presentingEl.presentingElement !== undefined;
1970
- const presentingElRoot = getElementRoot(presentingEl);
1971
- const bodyEl = document.body;
1972
- const baseAnimation = createAnimation('landscape-to-portrait-transition')
1973
- .addElement(baseEl)
1974
- .easing('cubic-bezier(0.32,0.72,0,1)')
1975
- .duration(duration);
1976
- const presentingAnimation = createAnimation().beforeStyles({
1977
- transform: 'translateY(0)',
1978
- 'transform-origin': 'top center',
1979
- overflow: 'hidden',
1980
- });
1981
- if (!presentingElIsCardModal) {
1982
- // The presenting element is not a card modal, so we do not
1983
- // need to care about layering and modal-specific styles.
1984
- const root = getElementRoot(baseEl);
1985
- const wrapperAnimation = createAnimation()
1986
- .addElement(root.querySelectorAll('.modal-wrapper, .modal-shadow'))
1987
- .fromTo('opacity', '1', '1'); // Keep wrapper visible
1988
- const backdropAnimation = createAnimation()
1989
- .addElement(root.querySelector('ion-backdrop'))
1990
- .fromTo('opacity', 'var(--backdrop-opacity)', 'var(--backdrop-opacity)'); // Keep backdrop visible
1991
- // Animate presentingEl from normal state to portrait state
1992
- const transformOffset = !CSS.supports('width', 'max(0px, 1px)') ? '30px' : 'max(30px, var(--ion-safe-area-top))';
1993
- const toPresentingScale = SwipeToCloseDefaults.MIN_PRESENTING_SCALE;
1994
- const toTransform = `translateY(${transformOffset}) scale(${toPresentingScale})`;
1995
- presentingAnimation
1996
- .addElement(presentingEl)
1997
- .afterStyles({
1998
- transform: toTransform,
1999
- })
2000
- .beforeAddWrite(() => bodyEl.style.setProperty('background-color', 'black'))
2001
- .keyframes([
2002
- { offset: 0, transform: 'translateY(0px) scale(1)', filter: 'contrast(1)', borderRadius: '0px' },
2003
- { offset: 0.2, transform: 'translateY(0px) scale(1)', filter: 'contrast(1)', borderRadius: '10px 10px 0 0' },
2004
- { offset: 1, transform: toTransform, filter: 'contrast(0.85)', borderRadius: '10px 10px 0 0' },
2005
- ]);
2006
- baseAnimation.addAnimation([presentingAnimation, wrapperAnimation, backdropAnimation]);
2007
- }
2008
- else {
2009
- // The presenting element is also a card modal, so we need
2010
- // to handle layering and modal-specific styles.
2011
- const toPresentingScale = SwipeToCloseDefaults.MIN_PRESENTING_SCALE;
2012
- const fromTransform = `translateY(-10px) scale(${toPresentingScale})`;
2013
- const toTransform = `translateY(0) scale(1)`;
2014
- presentingAnimation
2015
- .addElement(presentingEl)
2016
- .afterStyles({
2017
- transform: toTransform,
2018
- })
2019
- .fromTo('transform', fromTransform, toTransform);
2020
- const shadowAnimation = createAnimation()
2021
- .addElement(presentingElRoot.querySelector('.modal-shadow'))
2022
- .afterStyles({
2023
- transform: toTransform,
2024
- opacity: '0',
2025
- })
2026
- .fromTo('transform', fromTransform, toTransform);
2027
- baseAnimation.addAnimation([presentingAnimation, shadowAnimation]);
2028
- }
2029
- return baseAnimation;
2030
- };
2031
-
2032
- /*!
2033
- * (C) Ionic http://ionicframework.com - MIT License
2034
- */
2035
- const createEnterAnimation = () => {
2036
- const backdropAnimation = createAnimation()
2037
- .fromTo('opacity', 0.01, 'var(--backdrop-opacity)')
2038
- .beforeStyles({
2039
- 'pointer-events': 'none',
2040
- })
2041
- .afterClearStyles(['pointer-events']);
2042
- const wrapperAnimation = createAnimation().keyframes([
2043
- { offset: 0, opacity: 0.01, transform: 'translateY(40px)' },
2044
- { offset: 1, opacity: 1, transform: `translateY(0px)` },
2045
- ]);
2046
- return { backdropAnimation, wrapperAnimation, contentAnimation: undefined };
2047
- };
2048
- /**
2049
- * Md Modal Enter Animation
2050
- */
2051
- const mdEnterAnimation = (baseEl, opts) => {
2052
- const { currentBreakpoint, expandToScroll } = opts;
2053
- const root = getElementRoot(baseEl);
2054
- const { wrapperAnimation, backdropAnimation, contentAnimation } = currentBreakpoint !== undefined ? createSheetEnterAnimation(opts) : createEnterAnimation();
2055
- backdropAnimation.addElement(root.querySelector('ion-backdrop'));
2056
- wrapperAnimation.addElement(root.querySelector('.modal-wrapper'));
2057
- // The content animation is only added if scrolling is enabled for
2058
- // all the breakpoints.
2059
- !expandToScroll && (contentAnimation === null || contentAnimation === void 0 ? void 0 : contentAnimation.addElement(baseEl.querySelector('.ion-page')));
2060
- const baseAnimation = createAnimation()
2061
- .addElement(baseEl)
2062
- .easing('cubic-bezier(0.36,0.66,0.04,1)')
2063
- .duration(280)
2064
- .addAnimation([backdropAnimation, wrapperAnimation]);
2065
- if (contentAnimation) {
2066
- baseAnimation.addAnimation(contentAnimation);
2067
- }
2068
- return baseAnimation;
2069
- };
2070
-
2071
- /*!
2072
- * (C) Ionic http://ionicframework.com - MIT License
2073
- */
2074
- const createLeaveAnimation = () => {
2075
- const backdropAnimation = createAnimation().fromTo('opacity', 'var(--backdrop-opacity)', 0);
2076
- const wrapperAnimation = createAnimation().keyframes([
2077
- { offset: 0, opacity: 0.99, transform: `translateY(0px)` },
2078
- { offset: 1, opacity: 0, transform: 'translateY(40px)' },
2079
- ]);
2080
- return { backdropAnimation, wrapperAnimation };
2081
- };
2082
- /**
2083
- * Md Modal Leave Animation
2084
- */
2085
- const mdLeaveAnimation = (baseEl, opts) => {
2086
- const { currentBreakpoint } = opts;
2087
- const root = getElementRoot(baseEl);
2088
- const { wrapperAnimation, backdropAnimation } = currentBreakpoint !== undefined ? createSheetLeaveAnimation(opts) : createLeaveAnimation();
2089
- backdropAnimation.addElement(root.querySelector('ion-backdrop'));
2090
- wrapperAnimation.addElement(root.querySelector('.modal-wrapper'));
2091
- const baseAnimation = createAnimation()
2092
- .easing('cubic-bezier(0.47,0,0.745,0.715)')
2093
- .duration(200)
2094
- .addAnimation([backdropAnimation, wrapperAnimation]);
2095
- return baseAnimation;
2096
- };
2097
-
2098
- /*!
2099
- * (C) Ionic http://ionicframework.com - MIT License
2100
- */
2101
- const createSheetGesture = (baseEl, backdropEl, wrapperEl, initialBreakpoint, backdropBreakpoint, animation, breakpoints = [], expandToScroll, getCurrentBreakpoint, onDismiss, onBreakpointChange) => {
2102
- // Defaults for the sheet swipe animation
2103
- const defaultBackdrop = [
2104
- { offset: 0, opacity: 'var(--backdrop-opacity)' },
2105
- { offset: 1, opacity: 0.01 },
2106
- ];
2107
- const customBackdrop = [
2108
- { offset: 0, opacity: 'var(--backdrop-opacity)' },
2109
- { offset: 1 - backdropBreakpoint, opacity: 0 },
2110
- { offset: 1, opacity: 0 },
2111
- ];
2112
- const SheetDefaults = {
2113
- WRAPPER_KEYFRAMES: [
2114
- { offset: 0, transform: 'translateY(0%)' },
2115
- { offset: 1, transform: 'translateY(100%)' },
2116
- ],
2117
- BACKDROP_KEYFRAMES: backdropBreakpoint !== 0 ? customBackdrop : defaultBackdrop,
2118
- CONTENT_KEYFRAMES: [
2119
- { offset: 0, maxHeight: '100%' },
2120
- { offset: 1, maxHeight: '0%' },
2121
- ],
2122
- };
2123
- const contentEl = baseEl.querySelector('ion-content');
2124
- const height = wrapperEl.clientHeight;
2125
- let currentBreakpoint = initialBreakpoint;
2126
- let offset = 0;
2127
- let canDismissBlocksGesture = false;
2128
- let cachedScrollEl = null;
2129
- let cachedFooterEls = null;
2130
- let cachedFooterYPosition = null;
2131
- let currentFooterState = null;
2132
- const canDismissMaxStep = 0.95;
2133
- const maxBreakpoint = breakpoints[breakpoints.length - 1];
2134
- const minBreakpoint = breakpoints[0];
2135
- const wrapperAnimation = animation.childAnimations.find((ani) => ani.id === 'wrapperAnimation');
2136
- const backdropAnimation = animation.childAnimations.find((ani) => ani.id === 'backdropAnimation');
2137
- const contentAnimation = animation.childAnimations.find((ani) => ani.id === 'contentAnimation');
2138
- const enableBackdrop = () => {
2139
- // Respect explicit opt-out of focus trapping/backdrop interactions
2140
- // If focusTrap is false or showBackdrop is false, do not enable the backdrop or re-enable focus trap
2141
- const el = baseEl;
2142
- if (el.focusTrap === false || el.showBackdrop === false) {
2143
- return;
2144
- }
2145
- baseEl.style.setProperty('pointer-events', 'auto');
2146
- backdropEl.style.setProperty('pointer-events', 'auto');
2147
- /**
2148
- * When the backdrop is enabled, elements such
2149
- * as inputs should not be focusable outside
2150
- * the sheet.
2151
- */
2152
- baseEl.classList.remove(FOCUS_TRAP_DISABLE_CLASS);
2153
- };
2154
- const disableBackdrop = () => {
2155
- baseEl.style.setProperty('pointer-events', 'none');
2156
- backdropEl.style.setProperty('pointer-events', 'none');
2157
- /**
2158
- * When the backdrop is enabled, elements such
2159
- * as inputs should not be focusable outside
2160
- * the sheet.
2161
- * Adding this class disables focus trapping
2162
- * for the sheet temporarily.
2163
- */
2164
- baseEl.classList.add(FOCUS_TRAP_DISABLE_CLASS);
2165
- };
2166
- /**
2167
- * Toggles the footer to an absolute position while moving to prevent
2168
- * it from shaking while the sheet is being dragged.
2169
- * @param newPosition Whether the footer is in a moving or stationary position.
2170
- */
2171
- const swapFooterPosition = (newPosition) => {
2172
- if (!cachedFooterEls) {
2173
- cachedFooterEls = Array.from(baseEl.querySelectorAll('ion-footer'));
2174
- if (!cachedFooterEls.length) {
2175
- return;
2176
- }
2177
- }
2178
- const page = baseEl.querySelector('.ion-page');
2179
- currentFooterState = newPosition;
2180
- if (newPosition === 'stationary') {
2181
- cachedFooterEls.forEach((cachedFooterEl) => {
2182
- // Reset positioning styles to allow normal document flow
2183
- cachedFooterEl.classList.remove('modal-footer-moving');
2184
- cachedFooterEl.style.removeProperty('position');
2185
- cachedFooterEl.style.removeProperty('width');
2186
- cachedFooterEl.style.removeProperty('height');
2187
- cachedFooterEl.style.removeProperty('top');
2188
- cachedFooterEl.style.removeProperty('left');
2189
- page === null || page === void 0 ? void 0 : page.style.removeProperty('padding-bottom');
2190
- // Move to page
2191
- page === null || page === void 0 ? void 0 : page.appendChild(cachedFooterEl);
2192
- });
2193
- }
2194
- else {
2195
- let footerHeights = 0;
2196
- cachedFooterEls.forEach((cachedFooterEl, index) => {
2197
- // Get both the footer and document body positions
2198
- const cachedFooterElRect = cachedFooterEl.getBoundingClientRect();
2199
- const bodyRect = document.body.getBoundingClientRect();
2200
- // Calculate the total height of all footers
2201
- // so we can add padding to the page element
2202
- footerHeights += cachedFooterEl.clientHeight;
2203
- // Calculate absolute position relative to body
2204
- // We need to subtract the body's offsetTop to get true position within document.body
2205
- const absoluteTop = cachedFooterElRect.top - bodyRect.top;
2206
- const absoluteLeft = cachedFooterElRect.left - bodyRect.left;
2207
- // Capture the footer's current dimensions and store them in CSS variables for
2208
- // later use when applying absolute positioning.
2209
- cachedFooterEl.style.setProperty('--pinned-width', `${cachedFooterEl.clientWidth}px`);
2210
- cachedFooterEl.style.setProperty('--pinned-height', `${cachedFooterEl.clientHeight}px`);
2211
- cachedFooterEl.style.setProperty('--pinned-top', `${absoluteTop}px`);
2212
- cachedFooterEl.style.setProperty('--pinned-left', `${absoluteLeft}px`);
2213
- // Only cache the first footer's Y position
2214
- // This is used to determine if the sheet has been moved below the footer
2215
- // and needs to be swapped back to stationary so it collapses correctly.
2216
- if (index === 0) {
2217
- cachedFooterYPosition = absoluteTop;
2218
- // If there's a header, we need to combine the header height with the footer position
2219
- // because the header moves with the drag handle, so when it starts overlapping the footer,
2220
- // we need to account for that.
2221
- const header = baseEl.querySelector('ion-header');
2222
- if (header) {
2223
- cachedFooterYPosition -= header.clientHeight;
2224
- }
2225
- }
2226
- });
2227
- // Apply the pinning of styles after we've calculated everything
2228
- // so that we don't cause layouts to shift while calculating the footer positions.
2229
- // Otherwise, with multiple footers we'll end up capturing the wrong positions.
2230
- cachedFooterEls.forEach((cachedFooterEl) => {
2231
- // Add padding to the parent element to prevent content from being hidden
2232
- // when the footer is positioned absolutely. This has to be done before we
2233
- // make the footer absolutely positioned or we may accidentally cause the
2234
- // sheet to scroll.
2235
- page === null || page === void 0 ? void 0 : page.style.setProperty('padding-bottom', `${footerHeights}px`);
2236
- // Apply positioning styles to keep footer at bottom
2237
- cachedFooterEl.classList.add('modal-footer-moving');
2238
- // Apply our preserved styles to pin the footer
2239
- cachedFooterEl.style.setProperty('position', 'absolute');
2240
- cachedFooterEl.style.setProperty('width', 'var(--pinned-width)');
2241
- cachedFooterEl.style.setProperty('height', 'var(--pinned-height)');
2242
- cachedFooterEl.style.setProperty('top', 'var(--pinned-top)');
2243
- cachedFooterEl.style.setProperty('left', 'var(--pinned-left)');
2244
- // Move the element to the body when everything else is done
2245
- document.body.appendChild(cachedFooterEl);
2246
- });
2247
- }
2248
- };
2249
- /**
2250
- * After the entering animation completes,
2251
- * we need to set the animation to go from
2252
- * offset 0 to offset 1 so that users can
2253
- * swipe in any direction. We then set the
2254
- * animation offset to the current breakpoint
2255
- * so there is no flickering.
2256
- */
2257
- if (wrapperAnimation && backdropAnimation) {
2258
- wrapperAnimation.keyframes([...SheetDefaults.WRAPPER_KEYFRAMES]);
2259
- backdropAnimation.keyframes([...SheetDefaults.BACKDROP_KEYFRAMES]);
2260
- contentAnimation === null || contentAnimation === void 0 ? void 0 : contentAnimation.keyframes([...SheetDefaults.CONTENT_KEYFRAMES]);
2261
- animation.progressStart(true, 1 - currentBreakpoint);
2262
- /**
2263
- * If backdrop is not enabled, then content
2264
- * behind modal should be clickable. To do this, we need
2265
- * to remove pointer-events from ion-modal as a whole.
2266
- * ion-backdrop and .modal-wrapper always have pointer-events: auto
2267
- * applied, so the modal content can still be interacted with.
2268
- */
2269
- const shouldEnableBackdrop = currentBreakpoint > backdropBreakpoint &&
2270
- baseEl.focusTrap !== false &&
2271
- baseEl.showBackdrop !== false;
2272
- if (shouldEnableBackdrop) {
2273
- enableBackdrop();
2274
- }
2275
- else {
2276
- disableBackdrop();
2277
- }
2278
- }
2279
- if (contentEl && currentBreakpoint !== maxBreakpoint && expandToScroll) {
2280
- contentEl.scrollY = false;
2281
- }
2282
- const canStart = (detail) => {
2283
- /**
2284
- * If we are swiping on the content, swiping should only be possible if the content
2285
- * is scrolled all the way to the top so that we do not interfere with scrolling.
2286
- *
2287
- * We cannot assume that the `ion-content` target will remain consistent between swipes.
2288
- * For example, when using ion-nav within a modal it is possible to swipe, push a view,
2289
- * and then swipe again. The target content will not be the same between swipes.
2290
- */
2291
- const contentEl = findClosestIonContent(detail.event.target);
2292
- currentBreakpoint = getCurrentBreakpoint();
2293
- /**
2294
- * If `expandToScroll` is disabled, we should not allow the swipe gesture
2295
- * to start if the content is not scrolled to the top.
2296
- */
2297
- if (!expandToScroll && contentEl) {
2298
- const scrollEl = isIonContent(contentEl) ? getElementRoot(contentEl).querySelector('.inner-scroll') : contentEl;
2299
- return scrollEl.scrollTop === 0;
2300
- }
2301
- if (currentBreakpoint === 1 && contentEl) {
2302
- /**
2303
- * The modal should never swipe to close on the content with a refresher.
2304
- * Note 1: We cannot solve this by making this gesture have a higher priority than
2305
- * the refresher gesture as the iOS native refresh gesture uses a scroll listener in
2306
- * addition to a gesture.
2307
- *
2308
- * Note 2: Do not use getScrollElement here because we need this to be a synchronous
2309
- * operation, and getScrollElement is asynchronous.
2310
- */
2311
- const scrollEl = isIonContent(contentEl) ? getElementRoot(contentEl).querySelector('.inner-scroll') : contentEl;
2312
- const hasRefresherInContent = !!contentEl.querySelector('ion-refresher');
2313
- return !hasRefresherInContent && scrollEl.scrollTop === 0;
2314
- }
2315
- return true;
2316
- };
2317
- const onStart = (detail) => {
2318
- /**
2319
- * If canDismiss is anything other than `true`
2320
- * then users should be able to swipe down
2321
- * until a threshold is hit. At that point,
2322
- * the card modal should not proceed any further.
2323
- *
2324
- * canDismiss is never fired via gesture if there is
2325
- * no 0 breakpoint. However, it can be fired if the user
2326
- * presses Esc or the hardware back button.
2327
- * TODO (FW-937)
2328
- * Remove undefined check
2329
- */
2330
- canDismissBlocksGesture = baseEl.canDismiss !== undefined && baseEl.canDismiss !== true && minBreakpoint === 0;
2331
- /**
2332
- * Cache the scroll element reference when the gesture starts,
2333
- * this allows us to avoid querying the DOM for the target in onMove,
2334
- * which would impact performance significantly.
2335
- */
2336
- if (!expandToScroll) {
2337
- const targetEl = findClosestIonContent(detail.event.target);
2338
- cachedScrollEl =
2339
- targetEl && isIonContent(targetEl) ? getElementRoot(targetEl).querySelector('.inner-scroll') : targetEl;
2340
- }
2341
- /**
2342
- * If expandToScroll is disabled, we need to swap
2343
- * the footer position to moving so that it doesn't shake
2344
- * while the sheet is being dragged.
2345
- */
2346
- if (!expandToScroll) {
2347
- swapFooterPosition('moving');
2348
- }
2349
- /**
2350
- * If we are pulling down, then it is possible we are pulling on the content.
2351
- * We do not want scrolling to happen at the same time as the gesture.
2352
- */
2353
- if (detail.deltaY > 0 && contentEl) {
2354
- contentEl.scrollY = false;
2355
- }
2356
- raf(() => {
2357
- /**
2358
- * Dismisses the open keyboard when the sheet drag gesture is started.
2359
- * Sets the focus onto the modal element.
2360
- */
2361
- baseEl.focus();
2362
- });
2363
- animation.progressStart(true, 1 - currentBreakpoint);
2364
- };
2365
- const onMove = (detail) => {
2366
- /**
2367
- * If `expandToScroll` is disabled, we need to see if we're currently below
2368
- * the footer element and the footer is in a stationary position. If so,
2369
- * we need to make the stationary the original position so that the footer
2370
- * collapses with the sheet.
2371
- */
2372
- if (!expandToScroll && cachedFooterYPosition !== null && currentFooterState !== null) {
2373
- // Check if we need to swap the footer position
2374
- if (detail.currentY >= cachedFooterYPosition && currentFooterState === 'moving') {
2375
- swapFooterPosition('stationary');
2376
- }
2377
- else if (detail.currentY < cachedFooterYPosition && currentFooterState === 'stationary') {
2378
- swapFooterPosition('moving');
2379
- }
2380
- }
2381
- /**
2382
- * If `expandToScroll` is disabled, and an upwards swipe gesture is done within
2383
- * the scrollable content, we should not allow the swipe gesture to continue.
2384
- */
2385
- if (!expandToScroll && detail.deltaY <= 0 && cachedScrollEl) {
2386
- return;
2387
- }
2388
- /**
2389
- * If we are pulling down, then it is possible we are pulling on the content.
2390
- * We do not want scrolling to happen at the same time as the gesture.
2391
- * This accounts for when the user scrolls down, scrolls all the way up, and then
2392
- * pulls down again such that the modal should start to move.
2393
- */
2394
- if (detail.deltaY > 0 && contentEl) {
2395
- contentEl.scrollY = false;
2396
- }
2397
- /**
2398
- * Given the change in gesture position on the Y axis,
2399
- * compute where the offset of the animation should be
2400
- * relative to where the user dragged.
2401
- */
2402
- const initialStep = 1 - currentBreakpoint;
2403
- const secondToLastBreakpoint = breakpoints.length > 1 ? 1 - breakpoints[1] : undefined;
2404
- const step = initialStep + detail.deltaY / height;
2405
- const isAttemptingDismissWithCanDismiss = secondToLastBreakpoint !== undefined && step >= secondToLastBreakpoint && canDismissBlocksGesture;
2406
- /**
2407
- * If we are blocking the gesture from dismissing,
2408
- * set the max step value so that the sheet cannot be
2409
- * completely hidden.
2410
- */
2411
- const maxStep = isAttemptingDismissWithCanDismiss ? canDismissMaxStep : 0.9999;
2412
- /**
2413
- * If we are blocking the gesture from
2414
- * dismissing, calculate the spring modifier value
2415
- * this will be added to the starting breakpoint
2416
- * value to give the gesture a spring-like feeling.
2417
- * Note that when isAttemptingDismissWithCanDismiss is true,
2418
- * the modifier is always added to the breakpoint that
2419
- * appears right after the 0 breakpoint.
2420
- *
2421
- * Note that this modifier is essentially the progression
2422
- * between secondToLastBreakpoint and maxStep which is
2423
- * why we subtract secondToLastBreakpoint. This lets us get
2424
- * the result as a value from 0 to 1.
2425
- */
2426
- const processedStep = isAttemptingDismissWithCanDismiss && secondToLastBreakpoint !== undefined
2427
- ? secondToLastBreakpoint +
2428
- calculateSpringStep((step - secondToLastBreakpoint) / (maxStep - secondToLastBreakpoint))
2429
- : step;
2430
- offset = clamp(0.0001, processedStep, maxStep);
2431
- animation.progressStep(offset);
2432
- };
2433
- const onEnd = (detail) => {
2434
- /**
2435
- * If expandToScroll is disabled, we should not allow the moveSheetToBreakpoint
2436
- * function to be called if the user is trying to swipe content upwards and the content
2437
- * is not scrolled to the top.
2438
- */
2439
- if (!expandToScroll && detail.deltaY <= 0 && cachedScrollEl && cachedScrollEl.scrollTop > 0) {
2440
- /**
2441
- * If expand to scroll is disabled, we need to make sure we swap the footer position
2442
- * back to stationary so that it will collapse correctly if the modal is dismissed without
2443
- * dragging (e.g. through a dismiss button).
2444
- * This can cause issues if the user has a modal with content that can be dragged, as we'll
2445
- * swap to moving on drag and if we don't swap back here then the footer will get stuck.
2446
- */
2447
- swapFooterPosition('stationary');
2448
- return;
2449
- }
2450
- /**
2451
- * When the gesture releases, we need to determine
2452
- * the closest breakpoint to snap to.
2453
- */
2454
- const velocity = detail.velocityY;
2455
- const threshold = (detail.deltaY + velocity * 350) / height;
2456
- const diff = currentBreakpoint - threshold;
2457
- const closest = breakpoints.reduce((a, b) => {
2458
- return Math.abs(b - diff) < Math.abs(a - diff) ? b : a;
2459
- });
2460
- moveSheetToBreakpoint({
2461
- breakpoint: closest,
2462
- breakpointOffset: offset,
2463
- canDismiss: canDismissBlocksGesture,
2464
- /**
2465
- * The swipe is user-driven, so we should
2466
- * always animate when the gesture ends.
2467
- */
2468
- animated: true,
2469
- });
2470
- };
2471
- const moveSheetToBreakpoint = (options) => {
2472
- const { breakpoint, canDismiss, breakpointOffset, animated } = options;
2473
- /**
2474
- * canDismiss should only prevent snapping
2475
- * when users are trying to dismiss. If canDismiss
2476
- * is present but the user is trying to swipe upwards,
2477
- * we should allow that to happen,
2478
- */
2479
- const shouldPreventDismiss = canDismiss && breakpoint === 0;
2480
- const snapToBreakpoint = shouldPreventDismiss ? currentBreakpoint : breakpoint;
2481
- const shouldRemainOpen = snapToBreakpoint !== 0;
2482
- currentBreakpoint = 0;
2483
- /**
2484
- * Update the animation so that it plays from
2485
- * the last offset to the closest snap point.
2486
- */
2487
- if (wrapperAnimation && backdropAnimation) {
2488
- wrapperAnimation.keyframes([
2489
- { offset: 0, transform: `translateY(${breakpointOffset * 100}%)` },
2490
- { offset: 1, transform: `translateY(${(1 - snapToBreakpoint) * 100}%)` },
2491
- ]);
2492
- backdropAnimation.keyframes([
2493
- {
2494
- offset: 0,
2495
- opacity: `calc(var(--backdrop-opacity) * ${getBackdropValueForSheet(1 - breakpointOffset, backdropBreakpoint)})`,
2496
- },
2497
- {
2498
- offset: 1,
2499
- opacity: `calc(var(--backdrop-opacity) * ${getBackdropValueForSheet(snapToBreakpoint, backdropBreakpoint)})`,
2500
- },
2501
- ]);
2502
- if (contentAnimation) {
2503
- /**
2504
- * The modal content should scroll at any breakpoint when expandToScroll
2505
- * is disabled. In order to do this, the content needs to be completely
2506
- * viewable so scrolling can access everything. Otherwise, the default
2507
- * behavior would show the content off the screen and only allow
2508
- * scrolling when the sheet is fully expanded.
2509
- */
2510
- contentAnimation.keyframes([
2511
- { offset: 0, maxHeight: `${(1 - breakpointOffset) * 100}%` },
2512
- { offset: 1, maxHeight: `${snapToBreakpoint * 100}%` },
2513
- ]);
2514
- }
2515
- animation.progressStep(0);
2516
- }
2517
- /**
2518
- * Gesture should remain disabled until the
2519
- * snapping animation completes.
2520
- */
2521
- gesture.enable(false);
2522
- if (shouldPreventDismiss) {
2523
- handleCanDismiss(baseEl, animation);
2524
- }
2525
- else if (!shouldRemainOpen) {
2526
- onDismiss();
2527
- }
2528
- /**
2529
- * Enables scrolling immediately if the sheet is about to fully expand
2530
- * or if it allows scrolling at any breakpoint. Without this, there would
2531
- * be a ~500ms delay while the modal animation completes, causing a
2532
- * noticeable lag. Native iOS allows scrolling as soon as the gesture is
2533
- * released, so we align with that behavior.
2534
- */
2535
- if (contentEl && (snapToBreakpoint === breakpoints[breakpoints.length - 1] || !expandToScroll)) {
2536
- contentEl.scrollY = true;
2537
- }
2538
- /**
2539
- * If expandToScroll is disabled and we're animating
2540
- * to close the sheet, we need to swap
2541
- * the footer position to stationary so that it
2542
- * will collapse correctly. We cannot just always swap
2543
- * here or it'll be jittery while animating movement.
2544
- */
2545
- if (!expandToScroll && snapToBreakpoint === 0) {
2546
- swapFooterPosition('stationary');
2547
- }
2548
- return new Promise((resolve) => {
2549
- animation
2550
- .onFinish(() => {
2551
- if (shouldRemainOpen) {
2552
- /**
2553
- * If expandToScroll is disabled, we need to swap
2554
- * the footer position to stationary so that it
2555
- * will act as it would by default.
2556
- */
2557
- if (!expandToScroll) {
2558
- swapFooterPosition('stationary');
2559
- }
2560
- /**
2561
- * Once the snapping animation completes,
2562
- * we need to reset the animation to go
2563
- * from 0 to 1 so users can swipe in any direction.
2564
- * We then set the animation offset to the current
2565
- * breakpoint so that it starts at the snapped position.
2566
- */
2567
- if (wrapperAnimation && backdropAnimation) {
2568
- raf(() => {
2569
- wrapperAnimation.keyframes([...SheetDefaults.WRAPPER_KEYFRAMES]);
2570
- backdropAnimation.keyframes([...SheetDefaults.BACKDROP_KEYFRAMES]);
2571
- contentAnimation === null || contentAnimation === void 0 ? void 0 : contentAnimation.keyframes([...SheetDefaults.CONTENT_KEYFRAMES]);
2572
- animation.progressStart(true, 1 - snapToBreakpoint);
2573
- currentBreakpoint = snapToBreakpoint;
2574
- onBreakpointChange(currentBreakpoint);
2575
- /**
2576
- * Backdrop should become enabled
2577
- * after the backdropBreakpoint value
2578
- */
2579
- const shouldEnableBackdrop = currentBreakpoint > backdropBreakpoint &&
2580
- baseEl.focusTrap !== false &&
2581
- baseEl.showBackdrop !== false;
2582
- if (shouldEnableBackdrop) {
2583
- enableBackdrop();
2584
- }
2585
- else {
2586
- disableBackdrop();
2587
- }
2588
- gesture.enable(true);
2589
- resolve();
2590
- });
2591
- }
2592
- else {
2593
- gesture.enable(true);
2594
- resolve();
2595
- }
2596
- }
2597
- else {
2598
- resolve();
2599
- }
2600
- /**
2601
- * This must be a one time callback
2602
- * otherwise a new callback will
2603
- * be added every time onEnd runs.
2604
- */
2605
- }, { oneTimeCallback: true })
2606
- .progressEnd(1, 0, animated ? 500 : 0);
2607
- });
2608
- };
2609
- const gesture = createGesture({
2610
- el: wrapperEl,
2611
- gestureName: 'modalSheet',
2612
- gesturePriority: 40,
2613
- direction: 'y',
2614
- threshold: 10,
2615
- canStart,
2616
- onStart,
2617
- onMove,
2618
- onEnd,
2619
- });
2620
- return {
2621
- gesture,
2622
- moveSheetToBreakpoint,
2623
- };
2624
- };
2625
-
2626
- 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}`;
2627
-
2628
- 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}`;
2629
-
2630
- const Modal = class {
2631
- constructor(hostRef) {
2632
- registerInstance(this, hostRef);
2633
- this.didPresent = createEvent(this, "ionModalDidPresent", 7);
2634
- this.willPresent = createEvent(this, "ionModalWillPresent", 7);
2635
- this.willDismiss = createEvent(this, "ionModalWillDismiss", 7);
2636
- this.didDismiss = createEvent(this, "ionModalDidDismiss", 7);
2637
- this.ionBreakpointDidChange = createEvent(this, "ionBreakpointDidChange", 7);
2638
- this.didPresentShorthand = createEvent(this, "didPresent", 7);
2639
- this.willPresentShorthand = createEvent(this, "willPresent", 7);
2640
- this.willDismissShorthand = createEvent(this, "willDismiss", 7);
2641
- this.didDismissShorthand = createEvent(this, "didDismiss", 7);
2642
- this.ionMount = createEvent(this, "ionMount", 7);
2643
- this.lockController = createLockController();
2644
- this.triggerController = createTriggerController();
2645
- this.coreDelegate = CoreDelegate();
2646
- this.isSheetModal = false;
2647
- this.inheritedAttributes = {};
2648
- this.inline = false;
2649
- // Whether or not modal is being dismissed via gesture
2650
- this.gestureAnimationDismissing = false;
2651
- this.presented = false;
2652
- /** @internal */
2653
- this.hasController = false;
2654
- /**
2655
- * If `true`, the keyboard will be automatically dismissed when the overlay is presented.
2656
- */
2657
- this.keyboardClose = true;
2658
- /**
2659
- * Controls whether scrolling or dragging within the sheet modal expands
2660
- * it to a larger breakpoint. This only takes effect when `breakpoints`
2661
- * and `initialBreakpoint` are set.
2662
- *
2663
- * If `true`, scrolling or dragging anywhere in the modal will first expand
2664
- * it to the next breakpoint. Once fully expanded, scrolling will affect the
2665
- * content.
2666
- * If `false`, scrolling will always affect the content. The modal will
2667
- * only expand when dragging the header or handle. The modal will close when
2668
- * dragging the header or handle. It can also be closed when dragging the
2669
- * content, but only if the content is scrolled to the top.
2670
- */
2671
- this.expandToScroll = true;
2672
- /**
2673
- * A decimal value between 0 and 1 that indicates the
2674
- * point after which the backdrop will begin to fade in
2675
- * when using a sheet modal. Prior to this point, the
2676
- * backdrop will be hidden and the content underneath
2677
- * the sheet can be interacted with. This value is exclusive
2678
- * meaning the backdrop will become active after the value
2679
- * specified.
2680
- */
2681
- this.backdropBreakpoint = 0;
2682
- /**
2683
- * The interaction behavior for the sheet modal when the handle is pressed.
2684
- *
2685
- * Defaults to `"none"`, which means the modal will not change size or position when the handle is pressed.
2686
- * Set to `"cycle"` to let the modal cycle between available breakpoints when pressed.
2687
- *
2688
- * Handle behavior is unavailable when the `handle` property is set to `false` or
2689
- * when the `breakpoints` property is not set (using a fullscreen or card modal).
2690
- */
2691
- this.handleBehavior = 'none';
2692
- /**
2693
- * If `true`, the modal will be dismissed when the backdrop is clicked.
2694
- */
2695
- this.backdropDismiss = true;
2696
- /**
2697
- * If `true`, a backdrop will be displayed behind the modal.
2698
- * This property controls whether or not the backdrop
2699
- * darkens the screen when the modal is presented.
2700
- * It does not control whether or not the backdrop
2701
- * is active or present in the DOM.
2702
- */
2703
- this.showBackdrop = true;
2704
- /**
2705
- * If `true`, the modal will animate.
2706
- */
2707
- this.animated = true;
2708
- /**
2709
- * If `true`, the modal will open. If `false`, the modal will close.
2710
- * Use this if you need finer grained control over presentation, otherwise
2711
- * just use the modalController or the `trigger` property.
2712
- * Note: `isOpen` will not automatically be set back to `false` when
2713
- * the modal dismisses. You will need to do that in your code.
2714
- */
2715
- this.isOpen = false;
2716
- /**
2717
- * If `true`, the component passed into `ion-modal` will
2718
- * automatically be mounted when the modal is created. The
2719
- * component will remain mounted even when the modal is dismissed.
2720
- * However, the component will be destroyed when the modal is
2721
- * destroyed. This property is not reactive and should only be
2722
- * used when initially creating a modal.
2723
- *
2724
- * Note: This feature only applies to inline modals in JavaScript
2725
- * frameworks such as Angular, React, and Vue.
2726
- */
2727
- this.keepContentsMounted = false;
2728
- /**
2729
- * If `true`, focus will not be allowed to move outside of this overlay.
2730
- * If `false`, focus will be allowed to move outside of the overlay.
2731
- *
2732
- * In most scenarios this property should remain set to `true`. Setting
2733
- * this property to `false` can cause severe accessibility issues as users
2734
- * relying on assistive technologies may be able to move focus into
2735
- * a confusing state. We recommend only setting this to `false` when
2736
- * absolutely necessary.
2737
- *
2738
- * Developers may want to consider disabling focus trapping if this
2739
- * overlay presents a non-Ionic overlay from a 3rd party library.
2740
- * Developers would disable focus trapping on the Ionic overlay
2741
- * when presenting the 3rd party overlay and then re-enable
2742
- * focus trapping when dismissing the 3rd party overlay and moving
2743
- * focus back to the Ionic overlay.
2744
- */
2745
- this.focusTrap = true;
2746
- /**
2747
- * Determines whether or not a modal can dismiss
2748
- * when calling the `dismiss` method.
2749
- *
2750
- * If the value is `true` or the value's function returns `true`, the modal will close when trying to dismiss.
2751
- * If the value is `false` or the value's function returns `false`, the modal will not close when trying to dismiss.
2752
- *
2753
- * See https://ionicframework.com/docs/troubleshooting/runtime#accessing-this
2754
- * if you need to access `this` from within the callback.
2755
- */
2756
- this.canDismiss = true;
2757
- this.onHandleClick = () => {
2758
- const { sheetTransition, handleBehavior } = this;
2759
- if (handleBehavior !== 'cycle' || sheetTransition !== undefined) {
2760
- /**
2761
- * The sheet modal should not advance to the next breakpoint
2762
- * if the handle behavior is not `cycle` or if the handle
2763
- * is clicked while the sheet is moving to a breakpoint.
2764
- */
2765
- return;
2766
- }
2767
- this.moveToNextBreakpoint();
2768
- };
2769
- this.onBackdropTap = () => {
2770
- const { sheetTransition } = this;
2771
- if (sheetTransition !== undefined) {
2772
- /**
2773
- * When the handle is double clicked at the largest breakpoint,
2774
- * it will start to move to the first breakpoint. While transitioning,
2775
- * the backdrop will often receive the second click. We prevent the
2776
- * backdrop from dismissing the modal while moving between breakpoints.
2777
- */
2778
- return;
2779
- }
2780
- this.dismiss(undefined, BACKDROP);
2781
- };
2782
- this.onLifecycle = (modalEvent) => {
2783
- const el = this.usersElement;
2784
- const name = LIFECYCLE_MAP[modalEvent.type];
2785
- if (el && name) {
2786
- const ev = new CustomEvent(name, {
2787
- bubbles: false,
2788
- cancelable: false,
2789
- detail: modalEvent.detail,
2790
- });
2791
- el.dispatchEvent(ev);
2792
- }
2793
- };
2794
- /**
2795
- * When the modal receives focus directly, pass focus to the handle
2796
- * if it exists and is focusable, otherwise let the focus trap handle it.
2797
- */
2798
- this.onModalFocus = (ev) => {
2799
- const { dragHandleEl, el } = this;
2800
- // Only handle focus if the modal itself was focused (not a child element)
2801
- if (ev.target === el && dragHandleEl && dragHandleEl.tabIndex !== -1) {
2802
- dragHandleEl.focus();
2803
- }
2804
- };
2805
- /**
2806
- * When the slot changes, we need to find all the modals in the slot
2807
- * and set the data-parent-ion-modal attribute on them so we can find them
2808
- * and dismiss them when we get dismissed.
2809
- * We need to do it this way because when a modal is opened, it's moved to
2810
- * the end of the body and is no longer an actual child of the modal.
2811
- */
2812
- this.onSlotChange = ({ target }) => {
2813
- const slot = target;
2814
- slot.assignedElements().forEach((el) => {
2815
- el.querySelectorAll('ion-modal').forEach((childModal) => {
2816
- // We don't need to write to the DOM if the modal is already tagged
2817
- // If this is a deeply nested modal, this effect should cascade so we don't
2818
- // need to worry about another modal claiming the same child.
2819
- if (childModal.getAttribute('data-parent-ion-modal') === null) {
2820
- childModal.setAttribute('data-parent-ion-modal', this.el.id);
2821
- }
2822
- });
2823
- });
2824
- };
2825
- }
2826
- onIsOpenChange(newValue, oldValue) {
2827
- if (newValue === true && oldValue === false) {
2828
- this.present();
2829
- }
2830
- else if (newValue === false && oldValue === true) {
2831
- this.dismiss();
2832
- }
2833
- }
2834
- triggerChanged() {
2835
- const { trigger, el, triggerController } = this;
2836
- if (trigger) {
2837
- triggerController.addClickListener(el, trigger);
2838
- }
2839
- }
2840
- onWindowResize() {
2841
- // Only handle resize for iOS card modals when no custom animations are provided
2842
- if (getIonMode(this) !== 'ios' || !this.presentingElement || this.enterAnimation || this.leaveAnimation) {
2843
- return;
2844
- }
2845
- clearTimeout(this.resizeTimeout);
2846
- this.resizeTimeout = setTimeout(() => {
2847
- this.handleViewTransition();
2848
- }, 50); // Debounce to avoid excessive calls during active resizing
2849
- }
2850
- breakpointsChanged(breakpoints) {
2851
- if (breakpoints !== undefined) {
2852
- this.sortedBreakpoints = breakpoints.sort((a, b) => a - b);
2853
- }
2854
- }
2855
- connectedCallback() {
2856
- const { el } = this;
2857
- prepareOverlay(el);
2858
- this.triggerChanged();
2859
- }
2860
- disconnectedCallback() {
2861
- this.triggerController.removeClickListener();
2862
- this.cleanupViewTransitionListener();
2863
- this.cleanupParentRemovalObserver();
2864
- }
2865
- componentWillLoad() {
2866
- var _a;
2867
- const { breakpoints, initialBreakpoint, el, htmlAttributes } = this;
2868
- const isSheetModal = (this.isSheetModal = breakpoints !== undefined && initialBreakpoint !== undefined);
2869
- const attributesToInherit = ['aria-label', 'role'];
2870
- this.inheritedAttributes = inheritAttributes(el, attributesToInherit);
2871
- // Cache original parent before modal gets moved to body during presentation
2872
- if (el.parentNode) {
2873
- this.cachedOriginalParent = el.parentNode;
2874
- }
2875
- /**
2876
- * When using a controller modal you can set attributes
2877
- * using the htmlAttributes property. Since the above attributes
2878
- * need to be inherited inside of the modal, we need to look
2879
- * and see if these attributes are being set via htmlAttributes.
2880
- *
2881
- * We could alternatively move this to componentDidLoad to simplify the work
2882
- * here, but we'd then need to make inheritedAttributes a State variable,
2883
- * thus causing another render to always happen after the first render.
2884
- */
2885
- if (htmlAttributes !== undefined) {
2886
- attributesToInherit.forEach((attribute) => {
2887
- const attributeValue = htmlAttributes[attribute];
2888
- if (attributeValue) {
2889
- /**
2890
- * If an attribute we need to inherit was
2891
- * set using htmlAttributes then add it to
2892
- * inheritedAttributes and remove it from htmlAttributes.
2893
- * This ensures the attribute is inherited and not
2894
- * set on the host.
2895
- *
2896
- * In this case, if an inherited attribute is set
2897
- * on the host element and using htmlAttributes then
2898
- * htmlAttributes wins, but that's not a pattern that we recommend.
2899
- * The only time you'd need htmlAttributes is when using modalController.
2900
- */
2901
- this.inheritedAttributes = Object.assign(Object.assign({}, this.inheritedAttributes), { [attribute]: htmlAttributes[attribute] });
2902
- delete htmlAttributes[attribute];
2903
- }
2904
- });
2905
- }
2906
- if (isSheetModal) {
2907
- this.currentBreakpoint = this.initialBreakpoint;
2908
- }
2909
- if (breakpoints !== undefined && initialBreakpoint !== undefined && !breakpoints.includes(initialBreakpoint)) {
2910
- printIonWarning('[ion-modal] - Your breakpoints array must include the initialBreakpoint value.');
2911
- }
2912
- if (!((_a = this.htmlAttributes) === null || _a === void 0 ? void 0 : _a.id)) {
2913
- setOverlayId(this.el);
2914
- }
2915
- }
2916
- componentDidLoad() {
2917
- /**
2918
- * If modal was rendered with isOpen="true"
2919
- * then we should open modal immediately.
2920
- */
2921
- if (this.isOpen === true) {
2922
- raf(() => this.present());
2923
- }
2924
- this.breakpointsChanged(this.breakpoints);
2925
- /**
2926
- * When binding values in frameworks such as Angular
2927
- * it is possible for the value to be set after the Web Component
2928
- * initializes but before the value watcher is set up in Stencil.
2929
- * As a result, the watcher callback may not be fired.
2930
- * We work around this by manually calling the watcher
2931
- * callback when the component has loaded and the watcher
2932
- * is configured.
2933
- */
2934
- this.triggerChanged();
2935
- }
2936
- /**
2937
- * Determines whether or not an overlay
2938
- * is being used inline or via a controller/JS
2939
- * and returns the correct delegate.
2940
- * By default, subsequent calls to getDelegate
2941
- * will use a cached version of the delegate.
2942
- * This is useful for calling dismiss after
2943
- * present so that the correct delegate is given.
2944
- */
2945
- getDelegate(force = false) {
2946
- if (this.workingDelegate && !force) {
2947
- return {
2948
- delegate: this.workingDelegate,
2949
- inline: this.inline,
2950
- };
2951
- }
2952
- /**
2953
- * If using overlay inline
2954
- * we potentially need to use the coreDelegate
2955
- * so that this works in vanilla JS apps.
2956
- * If a developer has presented this component
2957
- * via a controller, then we can assume
2958
- * the component is already in the
2959
- * correct place.
2960
- */
2961
- const parentEl = this.el.parentNode;
2962
- const inline = (this.inline = parentEl !== null && !this.hasController);
2963
- const delegate = (this.workingDelegate = inline ? this.delegate || this.coreDelegate : this.delegate);
2964
- return { inline, delegate };
2965
- }
2966
- /**
2967
- * Determines whether or not the
2968
- * modal is allowed to dismiss based
2969
- * on the state of the canDismiss prop.
2970
- */
2971
- async checkCanDismiss(data, role) {
2972
- const { canDismiss } = this;
2973
- if (typeof canDismiss === 'function') {
2974
- return canDismiss(data, role);
2975
- }
2976
- return canDismiss;
2977
- }
2978
- /**
2979
- * Present the modal overlay after it has been created.
2980
- */
2981
- async present() {
2982
- const unlock = await this.lockController.lock();
2983
- if (this.presented) {
2984
- unlock();
2985
- return;
2986
- }
2987
- const { presentingElement, el } = this;
2988
- /**
2989
- * If the modal is presented multiple times (inline modals), we
2990
- * need to reset the current breakpoint to the initial breakpoint.
2991
- */
2992
- this.currentBreakpoint = this.initialBreakpoint;
2993
- const { inline, delegate } = this.getDelegate(true);
2994
- /**
2995
- * Emit ionMount so JS Frameworks have an opportunity
2996
- * to add the child component to the DOM. The child
2997
- * component will be assigned to this.usersElement below.
2998
- */
2999
- this.ionMount.emit();
3000
- this.usersElement = await attachComponent(delegate, el, this.component, ['ion-page'], this.componentProps, inline);
3001
- /**
3002
- * When using the lazy loaded build of Stencil, we need to wait
3003
- * for every Stencil component instance to be ready before presenting
3004
- * otherwise there can be a flash of unstyled content. With the
3005
- * custom elements bundle we need to wait for the JS framework
3006
- * mount the inner contents of the overlay otherwise WebKit may
3007
- * get the transition incorrect.
3008
- */
3009
- if (hasLazyBuild(el)) {
3010
- await deepReady(this.usersElement);
3011
- /**
3012
- * If keepContentsMounted="true" then the
3013
- * JS Framework has already mounted the inner
3014
- * contents so there is no need to wait.
3015
- * Otherwise, we need to wait for the JS
3016
- * Framework to mount the inner contents
3017
- * of this component.
3018
- */
3019
- }
3020
- else if (!this.keepContentsMounted) {
3021
- await waitForMount();
3022
- }
3023
- writeTask(() => this.el.classList.add('show-modal'));
3024
- const hasCardModal = presentingElement !== undefined;
3025
- /**
3026
- * We need to change the status bar at the
3027
- * start of the animation so that it completes
3028
- * by the time the card animation is done.
3029
- */
3030
- if (hasCardModal && getIonMode(this) === 'ios') {
3031
- // Cache the original status bar color before the modal is presented
3032
- this.statusBarStyle = await StatusBar.getStyle();
3033
- setCardStatusBarDark();
3034
- }
3035
- await present(this, 'modalEnter', iosEnterAnimation, mdEnterAnimation, {
3036
- presentingEl: presentingElement,
3037
- currentBreakpoint: this.initialBreakpoint,
3038
- backdropBreakpoint: this.backdropBreakpoint,
3039
- expandToScroll: this.expandToScroll,
3040
- });
3041
- /* tslint:disable-next-line */
3042
- if (typeof window !== 'undefined') {
3043
- /**
3044
- * This needs to be setup before any
3045
- * non-transition async work so it can be dereferenced
3046
- * in the dismiss method. The dismiss method
3047
- * only waits for the entering transition
3048
- * to finish. It does not wait for all of the `present`
3049
- * method to resolve.
3050
- */
3051
- this.keyboardOpenCallback = () => {
3052
- if (this.gesture) {
3053
- /**
3054
- * When the native keyboard is opened and the webview
3055
- * is resized, the gesture implementation will become unresponsive
3056
- * and enter a free-scroll mode.
3057
- *
3058
- * When the keyboard is opened, we disable the gesture for
3059
- * a single frame and re-enable once the contents have repositioned
3060
- * from the keyboard placement.
3061
- */
3062
- this.gesture.enable(false);
3063
- raf(() => {
3064
- if (this.gesture) {
3065
- this.gesture.enable(true);
3066
- }
3067
- });
3068
- }
3069
- };
3070
- window.addEventListener(KEYBOARD_DID_OPEN, this.keyboardOpenCallback);
3071
- }
3072
- /**
3073
- * Recalculate isSheetModal because framework bindings (e.g., Angular)
3074
- * may not have been applied when componentWillLoad ran.
3075
- */
3076
- const isSheetModal = this.breakpoints !== undefined && this.initialBreakpoint !== undefined;
3077
- this.isSheetModal = isSheetModal;
3078
- if (isSheetModal) {
3079
- this.initSheetGesture();
3080
- }
3081
- else if (hasCardModal) {
3082
- this.initSwipeToClose();
3083
- }
3084
- // Initialize view transition listener for iOS card modals
3085
- this.initViewTransitionListener();
3086
- // Initialize parent removal observer
3087
- this.initParentRemovalObserver();
3088
- unlock();
3089
- }
3090
- initSwipeToClose() {
3091
- var _a;
3092
- if (getIonMode(this) !== 'ios') {
3093
- return;
3094
- }
3095
- const { el } = this;
3096
- // All of the elements needed for the swipe gesture
3097
- // should be in the DOM and referenced by now, except
3098
- // for the presenting el
3099
- const animationBuilder = this.leaveAnimation || config.get('modalLeave', iosLeaveAnimation);
3100
- const ani = (this.animation = animationBuilder(el, {
3101
- presentingEl: this.presentingElement,
3102
- expandToScroll: this.expandToScroll,
3103
- }));
3104
- const contentEl = findIonContent(el);
3105
- if (!contentEl) {
3106
- printIonContentErrorMsg(el);
3107
- return;
3108
- }
3109
- const statusBarStyle = (_a = this.statusBarStyle) !== null && _a !== void 0 ? _a : Style.Default;
3110
- this.gesture = createSwipeToCloseGesture(el, ani, statusBarStyle, () => {
3111
- /**
3112
- * While the gesture animation is finishing
3113
- * it is possible for a user to tap the backdrop.
3114
- * This would result in the dismiss animation
3115
- * being played again. Typically this is avoided
3116
- * by setting `presented = false` on the overlay
3117
- * component; however, we cannot do that here as
3118
- * that would prevent the element from being
3119
- * removed from the DOM.
3120
- */
3121
- this.gestureAnimationDismissing = true;
3122
- /**
3123
- * Reset the status bar style as the dismiss animation
3124
- * starts otherwise the status bar will be the wrong
3125
- * color for the duration of the dismiss animation.
3126
- * The dismiss method does this as well, but
3127
- * in this case it's only called once the animation
3128
- * has finished.
3129
- */
3130
- setCardStatusBarDefault(this.statusBarStyle);
3131
- this.animation.onFinish(async () => {
3132
- await this.dismiss(undefined, GESTURE);
3133
- this.gestureAnimationDismissing = false;
3134
- });
3135
- });
3136
- this.gesture.enable(true);
3137
- }
3138
- initSheetGesture() {
3139
- const { wrapperEl, initialBreakpoint, backdropBreakpoint } = this;
3140
- if (!wrapperEl || initialBreakpoint === undefined) {
3141
- return;
3142
- }
3143
- const animationBuilder = this.enterAnimation || config.get('modalEnter', iosEnterAnimation);
3144
- const ani = (this.animation = animationBuilder(this.el, {
3145
- presentingEl: this.presentingElement,
3146
- currentBreakpoint: initialBreakpoint,
3147
- backdropBreakpoint,
3148
- expandToScroll: this.expandToScroll,
3149
- }));
3150
- ani.progressStart(true, 1);
3151
- 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) => {
3152
- if (this.currentBreakpoint !== breakpoint) {
3153
- this.currentBreakpoint = breakpoint;
3154
- this.ionBreakpointDidChange.emit({ breakpoint });
3155
- }
3156
- });
3157
- this.gesture = gesture;
3158
- this.moveSheetToBreakpoint = moveSheetToBreakpoint;
3159
- this.gesture.enable(true);
3160
- /**
3161
- * When backdrop interaction is allowed, nested router outlets from child routes
3162
- * may block pointer events to parent content. Apply passthrough styles only when
3163
- * the modal was the sole content of a child route page.
3164
- * See https://github.com/ionic-team/ionic-framework/issues/30700
3165
- */
3166
- const backdropNotBlocking = this.showBackdrop === false || this.focusTrap === false || backdropBreakpoint > 0;
3167
- if (backdropNotBlocking) {
3168
- this.setupChildRoutePassthrough();
3169
- }
3170
- }
3171
- /**
3172
- * For sheet modals that allow background interaction, sets up pointer-events
3173
- * passthrough on child route page wrappers and nested router outlets.
3174
- */
3175
- setupChildRoutePassthrough() {
3176
- var _a;
3177
- // Cache the page parent for cleanup
3178
- this.cachedPageParent = this.getOriginalPageParent();
3179
- const pageParent = this.cachedPageParent;
3180
- // Skip ion-app (controller modals) and pages with visible sibling content next to the modal
3181
- if (!pageParent || pageParent.tagName === 'ION-APP') {
3182
- return;
3183
- }
3184
- const hasVisibleContent = Array.from(pageParent.children).some((child) => {
3185
- var _a;
3186
- return child !== this.el &&
3187
- !(child instanceof HTMLElement && window.getComputedStyle(child).display === 'none') &&
3188
- child.tagName !== 'TEMPLATE' &&
3189
- child.tagName !== 'SLOT' &&
3190
- !(child.nodeType === Node.TEXT_NODE && !((_a = child.textContent) === null || _a === void 0 ? void 0 : _a.trim()));
3191
- });
3192
- if (hasVisibleContent) {
3193
- return;
3194
- }
3195
- // Child route case: page only contained the modal
3196
- pageParent.classList.add('ion-page-overlay-passthrough');
3197
- // Also make nested router outlets passthrough
3198
- const routerOutlet = pageParent.parentElement;
3199
- 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') {
3200
- routerOutlet.style.setProperty('pointer-events', 'none');
3201
- routerOutlet.setAttribute('data-overlay-passthrough', 'true');
3202
- }
3203
- }
3204
- /**
3205
- * Finds the ion-page ancestor of the modal's original parent location.
3206
- */
3207
- getOriginalPageParent() {
3208
- if (!this.cachedOriginalParent) {
3209
- return null;
3210
- }
3211
- let pageParent = this.cachedOriginalParent;
3212
- while (pageParent && !pageParent.classList.contains('ion-page')) {
3213
- pageParent = pageParent.parentElement;
3214
- }
3215
- return pageParent;
3216
- }
3217
- /**
3218
- * Removes passthrough styles added by setupChildRoutePassthrough.
3219
- */
3220
- cleanupChildRoutePassthrough() {
3221
- const pageParent = this.cachedPageParent;
3222
- if (!pageParent) {
3223
- return;
3224
- }
3225
- pageParent.classList.remove('ion-page-overlay-passthrough');
3226
- const routerOutlet = pageParent.parentElement;
3227
- if (routerOutlet === null || routerOutlet === void 0 ? void 0 : routerOutlet.hasAttribute('data-overlay-passthrough')) {
3228
- routerOutlet.style.removeProperty('pointer-events');
3229
- routerOutlet.removeAttribute('data-overlay-passthrough');
3230
- }
3231
- // Clear the cached reference
3232
- this.cachedPageParent = undefined;
3233
- }
3234
- sheetOnDismiss() {
3235
- /**
3236
- * While the gesture animation is finishing
3237
- * it is possible for a user to tap the backdrop.
3238
- * This would result in the dismiss animation
3239
- * being played again. Typically this is avoided
3240
- * by setting `presented = false` on the overlay
3241
- * component; however, we cannot do that here as
3242
- * that would prevent the element from being
3243
- * removed from the DOM.
3244
- */
3245
- this.gestureAnimationDismissing = true;
3246
- this.animation.onFinish(async () => {
3247
- this.currentBreakpoint = 0;
3248
- this.ionBreakpointDidChange.emit({ breakpoint: this.currentBreakpoint });
3249
- await this.dismiss(undefined, GESTURE);
3250
- this.gestureAnimationDismissing = false;
3251
- });
3252
- }
3253
- /**
3254
- * Dismiss the modal overlay after it has been presented.
3255
- * This is a no-op if the overlay has not been presented yet. If you want
3256
- * to remove an overlay from the DOM that was never presented, use the
3257
- * [remove](https://developer.mozilla.org/en-US/docs/Web/API/Element/remove) method.
3258
- *
3259
- * @param data Any data to emit in the dismiss events.
3260
- * @param role The role of the element that is dismissing the modal.
3261
- * For example, `cancel` or `backdrop`.
3262
- */
3263
- async dismiss(data, role) {
3264
- var _a;
3265
- if (this.gestureAnimationDismissing && role !== GESTURE) {
3266
- return false;
3267
- }
3268
- /**
3269
- * Because the canDismiss check below is async,
3270
- * we need to claim a lock before the check happens,
3271
- * in case the dismiss transition does run.
3272
- */
3273
- const unlock = await this.lockController.lock();
3274
- /**
3275
- * Dismiss all child modals. This is especially important in
3276
- * Angular and React because it's possible to lose control of a child
3277
- * modal when the parent modal is dismissed.
3278
- */
3279
- await this.dismissNestedModals();
3280
- /**
3281
- * If a canDismiss handler is responsible
3282
- * for calling the dismiss method, we should
3283
- * not run the canDismiss check again.
3284
- */
3285
- if (role !== 'handler' && !(await this.checkCanDismiss(data, role))) {
3286
- unlock();
3287
- return false;
3288
- }
3289
- const { presentingElement } = this;
3290
- /**
3291
- * We need to start the status bar change
3292
- * before the animation so that the change
3293
- * finishes when the dismiss animation does.
3294
- */
3295
- const hasCardModal = presentingElement !== undefined;
3296
- if (hasCardModal && getIonMode(this) === 'ios') {
3297
- setCardStatusBarDefault(this.statusBarStyle);
3298
- }
3299
- /* tslint:disable-next-line */
3300
- if (typeof window !== 'undefined' && this.keyboardOpenCallback) {
3301
- window.removeEventListener(KEYBOARD_DID_OPEN, this.keyboardOpenCallback);
3302
- this.keyboardOpenCallback = undefined;
3303
- }
3304
- const dismissed = await dismiss(this, data, role, 'modalLeave', iosLeaveAnimation, mdLeaveAnimation, {
3305
- presentingEl: presentingElement,
3306
- currentBreakpoint: (_a = this.currentBreakpoint) !== null && _a !== void 0 ? _a : this.initialBreakpoint,
3307
- backdropBreakpoint: this.backdropBreakpoint,
3308
- expandToScroll: this.expandToScroll,
3309
- });
3310
- if (dismissed) {
3311
- const { delegate } = this.getDelegate();
3312
- await detachComponent(delegate, this.usersElement);
3313
- writeTask(() => this.el.classList.remove('show-modal'));
3314
- if (this.animation) {
3315
- this.animation.destroy();
3316
- }
3317
- if (this.gesture) {
3318
- this.gesture.destroy();
3319
- }
3320
- this.cleanupViewTransitionListener();
3321
- this.cleanupParentRemovalObserver();
3322
- this.cleanupChildRoutePassthrough();
3323
- }
3324
- this.currentBreakpoint = undefined;
3325
- this.animation = undefined;
3326
- unlock();
3327
- return dismissed;
3328
- }
3329
- /**
3330
- * Returns a promise that resolves when the modal did dismiss.
3331
- */
3332
- onDidDismiss() {
3333
- return eventMethod(this.el, 'ionModalDidDismiss');
3334
- }
3335
- /**
3336
- * Returns a promise that resolves when the modal will dismiss.
3337
- */
3338
- onWillDismiss() {
3339
- return eventMethod(this.el, 'ionModalWillDismiss');
3340
- }
3341
- /**
3342
- * Move a sheet style modal to a specific breakpoint.
3343
- *
3344
- * @param breakpoint The breakpoint value to move the sheet modal to.
3345
- * Must be a value defined in your `breakpoints` array.
3346
- */
3347
- async setCurrentBreakpoint(breakpoint) {
3348
- if (!this.isSheetModal) {
3349
- printIonWarning('[ion-modal] - setCurrentBreakpoint is only supported on sheet modals.');
3350
- return;
3351
- }
3352
- if (!this.breakpoints.includes(breakpoint)) {
3353
- printIonWarning(`[ion-modal] - Attempted to set invalid breakpoint value ${breakpoint}. Please double check that the breakpoint value is part of your defined breakpoints.`);
3354
- return;
3355
- }
3356
- const { currentBreakpoint, moveSheetToBreakpoint, canDismiss, breakpoints, animated } = this;
3357
- if (currentBreakpoint === breakpoint) {
3358
- return;
3359
- }
3360
- if (moveSheetToBreakpoint) {
3361
- this.sheetTransition = moveSheetToBreakpoint({
3362
- breakpoint,
3363
- breakpointOffset: 1 - currentBreakpoint,
3364
- canDismiss: canDismiss !== undefined && canDismiss !== true && breakpoints[0] === 0,
3365
- animated,
3366
- });
3367
- await this.sheetTransition;
3368
- this.sheetTransition = undefined;
3369
- }
3370
- }
3371
- /**
3372
- * Returns the current breakpoint of a sheet style modal
3373
- */
3374
- async getCurrentBreakpoint() {
3375
- return this.currentBreakpoint;
3376
- }
3377
- async moveToNextBreakpoint() {
3378
- const { breakpoints, currentBreakpoint } = this;
3379
- if (!breakpoints || currentBreakpoint == null) {
3380
- /**
3381
- * If the modal does not have breakpoints and/or the current
3382
- * breakpoint is not set, we can't move to the next breakpoint.
3383
- */
3384
- return false;
3385
- }
3386
- const allowedBreakpoints = breakpoints.filter((b) => b !== 0);
3387
- const currentBreakpointIndex = allowedBreakpoints.indexOf(currentBreakpoint);
3388
- const nextBreakpointIndex = (currentBreakpointIndex + 1) % allowedBreakpoints.length;
3389
- const nextBreakpoint = allowedBreakpoints[nextBreakpointIndex];
3390
- /**
3391
- * Sets the current breakpoint to the next available breakpoint.
3392
- * If the current breakpoint is the last breakpoint, we set the current
3393
- * breakpoint to the first non-zero breakpoint to avoid dismissing the sheet.
3394
- */
3395
- await this.setCurrentBreakpoint(nextBreakpoint);
3396
- return true;
3397
- }
3398
- initViewTransitionListener() {
3399
- // Only enable for iOS card modals when no custom animations are provided
3400
- if (getIonMode(this) !== 'ios' || !this.presentingElement || this.enterAnimation || this.leaveAnimation) {
3401
- return;
3402
- }
3403
- // Set initial view state
3404
- this.currentViewIsPortrait = window.innerWidth < 768;
3405
- }
3406
- handleViewTransition() {
3407
- const isPortrait = window.innerWidth < 768;
3408
- // Only transition if view state actually changed
3409
- if (this.currentViewIsPortrait === isPortrait) {
3410
- return;
3411
- }
3412
- // Cancel any ongoing transition animation
3413
- if (this.viewTransitionAnimation) {
3414
- this.viewTransitionAnimation.destroy();
3415
- this.viewTransitionAnimation = undefined;
3416
- }
3417
- const { presentingElement } = this;
3418
- if (!presentingElement) {
3419
- return;
3420
- }
3421
- // Create transition animation
3422
- let transitionAnimation;
3423
- if (this.currentViewIsPortrait && !isPortrait) {
3424
- // Portrait to landscape transition
3425
- transitionAnimation = portraitToLandscapeTransition(this.el, {
3426
- presentingEl: presentingElement});
3427
- }
3428
- else {
3429
- // Landscape to portrait transition
3430
- transitionAnimation = landscapeToPortraitTransition(this.el, {
3431
- presentingEl: presentingElement});
3432
- }
3433
- // Update state and play animation
3434
- this.currentViewIsPortrait = isPortrait;
3435
- this.viewTransitionAnimation = transitionAnimation;
3436
- transitionAnimation.play().then(() => {
3437
- this.viewTransitionAnimation = undefined;
3438
- // After orientation transition, recreate the swipe-to-close gesture
3439
- // with updated animation that reflects the new presenting element state
3440
- this.reinitSwipeToClose();
3441
- });
3442
- }
3443
- cleanupViewTransitionListener() {
3444
- // Clear any pending resize timeout
3445
- if (this.resizeTimeout) {
3446
- clearTimeout(this.resizeTimeout);
3447
- this.resizeTimeout = undefined;
3448
- }
3449
- if (this.viewTransitionAnimation) {
3450
- this.viewTransitionAnimation.destroy();
3451
- this.viewTransitionAnimation = undefined;
3452
- }
3453
- }
3454
- reinitSwipeToClose() {
3455
- // Only reinitialize if we have a presenting element and are on iOS
3456
- if (getIonMode(this) !== 'ios' || !this.presentingElement) {
3457
- return;
3458
- }
3459
- // Clean up existing gesture and animation
3460
- if (this.gesture) {
3461
- this.gesture.destroy();
3462
- this.gesture = undefined;
3463
- }
3464
- if (this.animation) {
3465
- // Properly end the progress-based animation at initial state before destroying
3466
- // to avoid leaving modal in intermediate swipe position
3467
- this.animation.progressEnd(0, 0, 0);
3468
- this.animation.destroy();
3469
- this.animation = undefined;
3470
- }
3471
- // Force the modal back to the correct position or it could end up
3472
- // in a weird state after destroying the animation
3473
- raf(() => {
3474
- this.ensureCorrectModalPosition();
3475
- this.initSwipeToClose();
3476
- });
3477
- }
3478
- ensureCorrectModalPosition() {
3479
- const { el, presentingElement } = this;
3480
- const root = getElementRoot(el);
3481
- const wrapperEl = root.querySelector('.modal-wrapper');
3482
- if (wrapperEl) {
3483
- wrapperEl.style.transform = 'translateY(0vh)';
3484
- wrapperEl.style.opacity = '1';
3485
- }
3486
- if ((presentingElement === null || presentingElement === void 0 ? void 0 : presentingElement.tagName) === 'ION-MODAL') {
3487
- const isPortrait = window.innerWidth < 768;
3488
- if (isPortrait) {
3489
- const transformOffset = !CSS.supports('width', 'max(0px, 1px)')
3490
- ? '30px'
3491
- : 'max(30px, var(--ion-safe-area-top))';
3492
- const scale = SwipeToCloseDefaults.MIN_PRESENTING_SCALE;
3493
- presentingElement.style.transform = `translateY(${transformOffset}) scale(${scale})`;
3494
- }
3495
- else {
3496
- presentingElement.style.transform = 'translateY(0px) scale(1)';
3497
- }
3498
- }
3499
- }
3500
- async dismissNestedModals() {
3501
- const nestedModals = document.querySelectorAll(`ion-modal[data-parent-ion-modal="${this.el.id}"]`);
3502
- nestedModals === null || nestedModals === void 0 ? void 0 : nestedModals.forEach(async (modal) => {
3503
- await modal.dismiss(undefined, 'parent-dismissed');
3504
- });
3505
- }
3506
- initParentRemovalObserver() {
3507
- if (typeof MutationObserver === 'undefined') {
3508
- return;
3509
- }
3510
- // Only observe if we have a cached parent and are in browser environment
3511
- if (typeof window === 'undefined' || !this.cachedOriginalParent) {
3512
- return;
3513
- }
3514
- // Don't observe document or fragment nodes as they can't be "removed"
3515
- if (this.cachedOriginalParent.nodeType === Node.DOCUMENT_NODE ||
3516
- this.cachedOriginalParent.nodeType === Node.DOCUMENT_FRAGMENT_NODE) {
3517
- return;
3518
- }
3519
- /**
3520
- * Don't observe for controller-based modals or when the parent is the
3521
- * app root (document.body or ion-app). These parents won't be removed,
3522
- * and observing document.body with subtree: true causes performance
3523
- * issues with frameworks like Angular during change detection.
3524
- */
3525
- if (this.hasController ||
3526
- this.cachedOriginalParent === document.body ||
3527
- this.cachedOriginalParent.tagName === 'ION-APP') {
3528
- return;
3529
- }
3530
- this.parentRemovalObserver = new MutationObserver((mutations) => {
3531
- mutations.forEach((mutation) => {
3532
- if (mutation.type === 'childList' && mutation.removedNodes.length > 0) {
3533
- // Check if our cached original parent was removed
3534
- const cachedParentWasRemoved = Array.from(mutation.removedNodes).some((node) => {
3535
- var _a, _b;
3536
- const isDirectMatch = node === this.cachedOriginalParent;
3537
- const isContainedMatch = this.cachedOriginalParent
3538
- ? (_b = (_a = node).contains) === null || _b === void 0 ? void 0 : _b.call(_a, this.cachedOriginalParent)
3539
- : false;
3540
- return isDirectMatch || isContainedMatch;
3541
- });
3542
- // Also check if parent is no longer connected to DOM
3543
- const cachedParentDisconnected = this.cachedOriginalParent && !this.cachedOriginalParent.isConnected;
3544
- if (cachedParentWasRemoved || cachedParentDisconnected) {
3545
- this.dismiss(undefined, 'parent-removed');
3546
- // Release the reference to the cached original parent
3547
- // so we don't have a memory leak
3548
- this.cachedOriginalParent = undefined;
3549
- }
3550
- }
3551
- });
3552
- });
3553
- // Observe document body with subtree to catch removals at any level
3554
- this.parentRemovalObserver.observe(document.body, {
3555
- childList: true,
3556
- subtree: true,
3557
- });
3558
- }
3559
- cleanupParentRemovalObserver() {
3560
- var _a;
3561
- (_a = this.parentRemovalObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
3562
- this.parentRemovalObserver = undefined;
3563
- }
3564
- render() {
3565
- const { handle, isSheetModal, presentingElement, htmlAttributes, handleBehavior, inheritedAttributes, focusTrap, expandToScroll, } = this;
3566
- const showHandle = handle !== false && isSheetModal;
3567
- const mode = getIonMode(this);
3568
- const isCardModal = presentingElement !== undefined && mode === 'ios';
3569
- const isHandleCycle = handleBehavior === 'cycle';
3570
- const isSheetModalWithHandle = isSheetModal && showHandle;
3571
- return (h(Host, Object.assign({ key: '9a75095a13de0cfc96f1fa69fd92777d25da8daa', "no-router": true,
3572
- // Allow the modal to be navigable when the handle is focusable
3573
- tabIndex: isHandleCycle && isSheetModalWithHandle ? 0 : -1 }, htmlAttributes, { style: {
3574
- zIndex: `${20000 + this.overlayIndex}`,
3575
- }, class: Object.assign({ [mode]: true, ['modal-default']: !isCardModal && !isSheetModal, [`modal-card`]: isCardModal, [`modal-sheet`]: isSheetModal, [`modal-no-expand-scroll`]: isSheetModal && !expandToScroll, 'overlay-hidden': true, [FOCUS_TRAP_DISABLE_CLASS]: focusTrap === false }, getClassMap(this.cssClass)), onIonBackdropTap: this.onBackdropTap, onIonModalDidPresent: this.onLifecycle, onIonModalWillPresent: this.onLifecycle, onIonModalWillDismiss: this.onLifecycle, onIonModalDidDismiss: this.onLifecycle, onFocus: this.onModalFocus }), h("ion-backdrop", { key: 'd02612d8063ef20f59f173ff47795f71cdaaf63e', ref: (el) => (this.backdropEl = el), visible: this.showBackdrop, tappable: this.backdropDismiss, part: "backdrop" }), mode === 'ios' && h("div", { key: '708761b70a93e34c08faae079569f444c7416a4c', class: "modal-shadow" }), h("div", Object.assign({ key: 'a72226ff1a98229f9bfd9207b98fc57e02baa430',
3576
- /*
3577
- role and aria-modal must be used on the
3578
- same element. They must also be set inside the
3579
- shadow DOM otherwise ion-button will not be highlighted
3580
- when using VoiceOver: https://bugs.webkit.org/show_bug.cgi?id=247134
3581
- */
3582
- role: "dialog" }, inheritedAttributes, { "aria-modal": "true", class: "modal-wrapper ion-overlay-wrapper", part: "content", ref: (el) => (this.wrapperEl = el) }), showHandle && (h("button", { key: '0547f32323882660221385d84d492929caa77c6b', class: "modal-handle",
3583
- // Prevents the handle from receiving keyboard focus when it does not cycle
3584
- 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) })), h("slot", { key: 'fccbd64518b6fa22f9e874deb6b4ba55d8d89c3b', onSlotchange: this.onSlotChange }))));
3585
- }
3586
- get el() { return getElement(this); }
3587
- static get watchers() { return {
3588
- "isOpen": ["onIsOpenChange"],
3589
- "trigger": ["triggerChanged"]
3590
- }; }
3591
- };
3592
- const LIFECYCLE_MAP = {
3593
- ionModalDidPresent: 'ionViewDidEnter',
3594
- ionModalWillPresent: 'ionViewWillEnter',
3595
- ionModalWillDismiss: 'ionViewWillLeave',
3596
- ionModalDidDismiss: 'ionViewDidLeave',
3597
- };
3598
- Modal.style = {
3599
- ios: modalIosCss(),
3600
- md: modalMdCss()
3601
- };
3602
-
3603
- 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)}`;
3604
-
3605
- 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)}`;
3606
-
3607
- 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)}`;
3608
-
3609
- const SelectModal = class {
3610
- constructor(hostRef) {
3611
- registerInstance(this, hostRef);
3612
- this.options = [];
3613
- }
3614
- closeModal() {
3615
- const modal = this.el.closest('ion-modal');
3616
- if (modal) {
3617
- modal.dismiss();
3618
- }
3619
- }
3620
- findOptionFromEvent(ev) {
3621
- const { options } = this;
3622
- return options.find((o) => o.value === ev.target.value);
3623
- }
3624
- getValues(ev) {
3625
- const { multiple, options } = this;
3626
- if (multiple) {
3627
- // this is a modal with checkboxes (multiple value select)
3628
- // return an array of all the checked values
3629
- return options.filter((o) => o.checked).map((o) => o.value);
3630
- }
3631
- // this is a modal with radio buttons (single value select)
3632
- // return the value that was clicked, otherwise undefined
3633
- const option = ev ? this.findOptionFromEvent(ev) : null;
3634
- return option ? option.value : undefined;
3635
- }
3636
- callOptionHandler(ev) {
3637
- const option = this.findOptionFromEvent(ev);
3638
- const values = this.getValues(ev);
3639
- if (option === null || option === void 0 ? void 0 : option.handler) {
3640
- safeCall(option.handler, values);
3641
- }
3642
- }
3643
- setChecked(ev) {
3644
- const { multiple } = this;
3645
- const option = this.findOptionFromEvent(ev);
3646
- // this is a modal with checkboxes (multiple value select)
3647
- // we need to set the checked value for this option
3648
- if (multiple && option) {
3649
- option.checked = ev.detail.checked;
3650
- }
3651
- }
3652
- renderRadioOptions() {
3653
- const checked = this.options.filter((o) => o.checked).map((o) => o.value)[0];
3654
- return (h("ion-radio-group", { value: checked, onIonChange: (ev) => this.callOptionHandler(ev) }, this.options.map((option) => (h("ion-item", { lines: "none", class: Object.assign({
3655
- // TODO FW-4784
3656
- 'item-radio-checked': option.value === checked
3657
- }, getClassMap(option.cssClass)) }, h("ion-radio", { value: option.value, disabled: option.disabled, justify: "start", labelPlacement: "end", onClick: () => this.closeModal(), onKeyUp: (ev) => {
3658
- if (ev.key === ' ') {
3659
- /**
3660
- * Selecting a radio option with keyboard navigation,
3661
- * either through the Enter or Space keys, should
3662
- * dismiss the modal.
3663
- */
3664
- this.closeModal();
3665
- }
3666
- } }, option.text))))));
3667
- }
3668
- renderCheckboxOptions() {
3669
- return this.options.map((option) => (h("ion-item", { class: Object.assign({
3670
- // TODO FW-4784
3671
- 'item-checkbox-checked': option.checked
3672
- }, getClassMap(option.cssClass)) }, h("ion-checkbox", { value: option.value, disabled: option.disabled, checked: option.checked, justify: "start", labelPlacement: "end", onIonChange: (ev) => {
3673
- this.setChecked(ev);
3674
- this.callOptionHandler(ev);
3675
- // TODO FW-4784
3676
- forceUpdate(this);
3677
- } }, option.text))));
3678
- }
3679
- render() {
3680
- return (h(Host, { key: 'b6c0dec240b2e41985b15fdf4e5a6d3a145c1567', class: getIonMode(this) }, h("ion-header", { key: 'cd177e85ee0f62a60a3a708342d6ab6eb19a44dc' }, h("ion-toolbar", { key: 'aee8222a5a4daa540ad202b2e4cac1ef93d9558c' }, this.header !== undefined && h("ion-title", { key: '5f8fecc764d97bf840d3d4cfddeeccd118ab4436' }, this.header), h("ion-buttons", { key: '919033950d7c2b0101f96a9c9698219de9f568ea', slot: "end" }, h("ion-button", { key: '34b571cab6dced4bde555a077a21e91800829931', onClick: () => this.closeModal() }, "Close")))), h("ion-content", { key: '3c9153d26ba7a5a03d3b20fcd628d0c3031661a7' }, h("ion-list", { key: 'e00b222c071bc97c82ad1bba4db95a8a5c43ed6d' }, this.multiple === true ? this.renderCheckboxOptions() : this.renderRadioOptions()))));
3681
- }
3682
- get el() { return getElement(this); }
3683
- };
3684
- SelectModal.style = {
3685
- ionic: ionicSelectModalMdCss(),
3686
- ios: selectModalIosCss(),
3687
- md: selectModalMdCss()
3688
- };
3689
-
3690
- 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}`;
3691
-
3692
- 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)}`;
3693
-
3694
- const SelectPopover = class {
3695
- constructor(hostRef) {
3696
- registerInstance(this, hostRef);
3697
- /**
3698
- * An array of options for the popover
3699
- */
3700
- this.options = [];
3701
- }
3702
- findOptionFromEvent(ev) {
3703
- const { options } = this;
3704
- return options.find((o) => o.value === ev.target.value);
3705
- }
3706
- /**
3707
- * When an option is selected we need to get the value(s)
3708
- * of the selected option(s) and return it in the option
3709
- * handler
3710
- */
3711
- callOptionHandler(ev) {
3712
- const option = this.findOptionFromEvent(ev);
3713
- const values = this.getValues(ev);
3714
- if (option === null || option === void 0 ? void 0 : option.handler) {
3715
- safeCall(option.handler, values);
3716
- }
3717
- }
3718
- /**
3719
- * Dismisses the host popover that the `ion-select-popover`
3720
- * is rendered within.
3721
- */
3722
- dismissParentPopover() {
3723
- const popover = this.el.closest('ion-popover');
3724
- if (popover) {
3725
- popover.dismiss();
3726
- }
3727
- }
3728
- setChecked(ev) {
3729
- const { multiple } = this;
3730
- const option = this.findOptionFromEvent(ev);
3731
- // this is a popover with checkboxes (multiple value select)
3732
- // we need to set the checked value for this option
3733
- if (multiple && option) {
3734
- option.checked = ev.detail.checked;
3735
- }
3736
- }
3737
- getValues(ev) {
3738
- const { multiple, options } = this;
3739
- if (multiple) {
3740
- // this is a popover with checkboxes (multiple value select)
3741
- // return an array of all the checked values
3742
- return options.filter((o) => o.checked).map((o) => o.value);
3743
- }
3744
- // this is a popover with radio buttons (single value select)
3745
- // return the value that was clicked, otherwise undefined
3746
- const option = this.findOptionFromEvent(ev);
3747
- return option ? option.value : undefined;
3748
- }
3749
- renderOptions(options) {
3750
- const { multiple } = this;
3751
- switch (multiple) {
3752
- case true:
3753
- return this.renderCheckboxOptions(options);
3754
- default:
3755
- return this.renderRadioOptions(options);
3756
- }
3757
- }
3758
- renderCheckboxOptions(options) {
3759
- return options.map((option) => (h("ion-item", { class: Object.assign({
3760
- // TODO FW-4784
3761
- 'item-checkbox-checked': option.checked
3762
- }, getClassMap(option.cssClass)) }, h("ion-checkbox", { value: option.value, disabled: option.disabled, checked: option.checked, justify: "start", labelPlacement: "end", onIonChange: (ev) => {
3763
- this.setChecked(ev);
3764
- this.callOptionHandler(ev);
3765
- // TODO FW-4784
3766
- forceUpdate(this);
3767
- } }, option.text))));
3768
- }
3769
- renderRadioOptions(options) {
3770
- const checked = options.filter((o) => o.checked).map((o) => o.value)[0];
3771
- return (h("ion-radio-group", { value: checked, onIonChange: (ev) => this.callOptionHandler(ev) }, options.map((option) => (h("ion-item", { class: Object.assign({
3772
- // TODO FW-4784
3773
- 'item-radio-checked': option.value === checked
3774
- }, getClassMap(option.cssClass)) }, h("ion-radio", { value: option.value, disabled: option.disabled, onClick: () => this.dismissParentPopover(), onKeyUp: (ev) => {
3775
- if (ev.key === ' ') {
3776
- /**
3777
- * Selecting a radio option with keyboard navigation,
3778
- * either through the Enter or Space keys, should
3779
- * dismiss the popover.
3780
- */
3781
- this.dismissParentPopover();
3782
- }
3783
- } }, option.text))))));
3784
- }
3785
- render() {
3786
- const { header, message, options, subHeader } = this;
3787
- const hasSubHeaderOrMessage = subHeader !== undefined || message !== undefined;
3788
- return (h(Host, { key: 'ab931b49b59283825bd2afa3f7f995b0e6e05bef', class: getIonMode(this) }, h("ion-list", { key: '3bd12b67832607596b912a73d5b3ae9b954b244d' }, header !== undefined && h("ion-list-header", { key: '97da930246edf7423a039c030d40e3ff7a5148a3' }, header), hasSubHeaderOrMessage && (h("ion-item", { key: 'c579df6ea8fac07bb0c59d34c69b149656863224' }, h("ion-label", { key: 'af699c5f465710ccb13b8cf8e7be66f0e8acfad1', class: "ion-text-wrap" }, subHeader !== undefined && h("h3", { key: 'df9a936d42064b134e843c7229f314a2a3ec7e80' }, subHeader), message !== undefined && h("p", { key: '9c3ddad378df00f106afa94e9928cf68c17124dd' }, message)))), this.renderOptions(options))));
3789
- }
3790
- get el() { return getElement(this); }
3791
- };
3792
- SelectPopover.style = {
3793
- ios: selectPopoverIosCss(),
3794
- md: selectPopoverMdCss()
3795
- };
3796
-
3797
- export { ActionSheet as ion_action_sheet, Alert as ion_alert, Modal as ion_modal, SelectModal as ion_select_modal, SelectPopover as ion_select_popover };
3798
- //# sourceMappingURL=ion-action-sheet.ion-alert.ion-modal.ion-select-modal.ion-select-popover.entry.js.map