@amwaljs/checkout-button 0.3.0 → 0.3.2

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