@amwaljs/checkout-button 0.2.9 → 0.3.0

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 (1233) hide show
  1. package/dist/checkout/checkout.esm.js +1 -2
  2. package/dist/checkout/index.esm.js +0 -2
  3. package/dist/checkout/p--tz3q7oD.js +4 -0
  4. package/dist/checkout/p-00e120c2.entry.js +1 -0
  5. package/dist/checkout/p-0363331c.entry.js +1 -0
  6. package/dist/checkout/p-0f731364.entry.js +4 -0
  7. package/dist/checkout/p-147541e8.entry.js +1 -0
  8. package/dist/checkout/p-16f51173.entry.js +1 -0
  9. package/dist/checkout/p-178c0495.entry.js +1 -0
  10. package/dist/checkout/p-1c08169f.entry.js +1 -0
  11. package/dist/checkout/p-1c6da25b.entry.js +1 -0
  12. package/dist/checkout/p-1dc3efa2.entry.js +1 -0
  13. package/dist/checkout/p-2383ebd8.entry.js +1 -0
  14. package/dist/checkout/p-25306802.entry.js +1 -0
  15. package/dist/checkout/p-26af1ebe.entry.js +1 -0
  16. package/dist/checkout/p-2768f09a.entry.js +1 -0
  17. package/dist/checkout/p-27fb8b9e.entry.js +1 -0
  18. package/dist/checkout/p-2c421f28.entry.js +1 -0
  19. package/dist/checkout/p-2dd918ca.entry.js +1 -0
  20. package/dist/checkout/p-2e366473.entry.js +1 -0
  21. package/dist/checkout/p-38f520fb.entry.js +1 -0
  22. package/dist/checkout/p-3a262c01.entry.js +1 -0
  23. package/dist/checkout/p-3c416dcd.entry.js +1 -0
  24. package/dist/checkout/p-418e3312.entry.js +1 -0
  25. package/dist/checkout/p-43c67eeb.entry.js +1 -0
  26. package/dist/checkout/p-44f2b201.entry.js +4 -0
  27. package/dist/checkout/p-470783cb.entry.js +1 -0
  28. package/dist/checkout/p-48c40063.entry.js +1 -0
  29. package/dist/checkout/p-490c7f14.entry.js +1 -0
  30. package/dist/checkout/p-493952b7.entry.js +1 -0
  31. package/dist/checkout/p-4de3b067.entry.js +1 -0
  32. package/dist/checkout/p-519c1a94.entry.js +1 -0
  33. package/dist/checkout/p-523f80de.entry.js +1 -0
  34. package/dist/checkout/p-5274360d.entry.js +1 -0
  35. package/dist/checkout/p-550a7fdf.entry.js +1 -0
  36. package/dist/checkout/p-5IcNt7MW.js +8 -0
  37. package/dist/checkout/p-5a2c8845.entry.js +7 -0
  38. package/dist/checkout/p-5d2b220e.entry.js +1 -0
  39. package/dist/checkout/p-60bbcf96.entry.js +1 -0
  40. package/dist/checkout/p-68738638.entry.js +1 -0
  41. package/dist/checkout/p-69233a7c.entry.js +1 -0
  42. package/dist/checkout/p-6a6a2461.entry.js +1 -0
  43. package/dist/checkout/p-6d4c0370.entry.js +1 -0
  44. package/dist/checkout/p-6f4a82d2.entry.js +1 -0
  45. package/dist/checkout/p-733767d9.entry.js +1 -0
  46. package/dist/checkout/p-77ebd92f.entry.js +1 -0
  47. package/dist/checkout/p-7YtNmL9y.js +4 -0
  48. package/dist/checkout/p-7a153eab.entry.js +4 -0
  49. package/dist/checkout/p-7c7e86fe.entry.js +1 -0
  50. package/dist/checkout/p-7d9ee602.entry.js +1 -0
  51. package/dist/checkout/p-7e3bc3c4.entry.js +1 -0
  52. package/dist/checkout/p-8427a296.entry.js +1 -0
  53. package/dist/checkout/p-870ec42b.entry.js +4 -0
  54. package/dist/checkout/p-890e9953.entry.js +1 -0
  55. package/dist/checkout/p-931d2424.entry.js +4 -0
  56. package/dist/checkout/p-93eb6dad.entry.js +1 -0
  57. package/dist/checkout/p-B-hirT0v.js +1 -2
  58. package/dist/checkout/p-B3WORC1a.js +1 -2
  59. package/dist/checkout/p-B7f9Wkif.js +1 -0
  60. package/dist/checkout/p-BJe8ISja.js +4 -0
  61. package/dist/checkout/p-BKaQyStq.js +5 -0
  62. package/dist/checkout/p-BR7SJd-v.js +2 -3
  63. package/dist/checkout/p-BTEOs1at.js +1 -2
  64. package/dist/checkout/p-BY0jsxmW.js +4 -0
  65. package/dist/checkout/p-B_Z54mfe.js +5 -0
  66. package/dist/checkout/p-Ba57PFgY.js +7 -0
  67. package/dist/checkout/p-BgOwfqIY.js +2 -6
  68. package/dist/checkout/p-BmVRXR1y.js +1 -2
  69. package/dist/checkout/p-BmlsNFZH.js +1 -2
  70. package/dist/checkout/p-C03M5ZSM.js +1 -2
  71. package/dist/checkout/p-C53feagD.js +1 -2
  72. package/dist/checkout/p-CAD1l928.js +8 -0
  73. package/dist/checkout/p-CFLSScFJ.js +4 -0
  74. package/dist/checkout/p-CH3Eg9_f.js +2 -9
  75. package/dist/checkout/p-CPoSEOHb.js +4 -0
  76. package/dist/checkout/p-CkCrVZwR.js +4 -0
  77. package/dist/checkout/p-D0wwuiQC.js +4 -0
  78. package/dist/checkout/p-D2NxOvQ8.js +2 -3
  79. package/dist/checkout/p-D4RIp70E.js +1 -2
  80. package/dist/checkout/p-DFxgipTc.js +4 -0
  81. package/dist/checkout/p-DJztqcrH.js +1 -2
  82. package/dist/checkout/p-DKg_dYcq.js +2 -3
  83. package/dist/checkout/p-DQmRrrcF.js +7 -0
  84. package/dist/checkout/p-DSLRCWTg.js +4 -0
  85. package/dist/checkout/p-DdmvYtPY.js +7 -0
  86. package/dist/checkout/p-DiVJyqlX.js +1 -2
  87. package/dist/checkout/p-Drg5BcI0.js +4 -0
  88. package/dist/checkout/p-Dtdm8lKC.js +1 -2
  89. package/dist/checkout/p-LsffVXQ5.js +4 -0
  90. package/dist/checkout/p-ZjP4CjeZ.js +1 -2
  91. package/dist/checkout/p-__1_zp1x.js +4 -0
  92. package/dist/checkout/p-a09d1040.entry.js +1 -0
  93. package/dist/checkout/p-a5f75741.entry.js +1 -0
  94. package/dist/checkout/p-ae30349d.entry.js +1 -0
  95. package/dist/checkout/p-afbe752e.entry.js +1 -0
  96. package/dist/checkout/p-b2e14651.entry.js +1 -0
  97. package/dist/checkout/p-b36fcda4.entry.js +1 -0
  98. package/dist/checkout/p-b67b736b.entry.js +1 -0
  99. package/dist/checkout/p-b7bf5abe.entry.js +1 -0
  100. package/dist/checkout/p-bb513178.entry.js +1 -0
  101. package/dist/checkout/p-bd4e1c37.entry.js +1 -0
  102. package/dist/checkout/p-beb2c33c.entry.js +1 -0
  103. package/dist/checkout/p-becc350d.entry.js +4 -0
  104. package/dist/checkout/p-c19dc56b.entry.js +1 -0
  105. package/dist/checkout/p-c1cbd33c.entry.js +1 -0
  106. package/dist/checkout/p-c34382ea.entry.js +1 -0
  107. package/dist/checkout/p-c4c9e530.entry.js +1 -0
  108. package/dist/checkout/p-c534dea9.entry.js +7 -0
  109. package/dist/checkout/p-c7978eb8.entry.js +4 -0
  110. package/dist/checkout/p-c8f6670e.entry.js +7 -0
  111. package/dist/checkout/p-cb1a44cc.entry.js +5 -0
  112. package/dist/checkout/p-cda0fb4e.entry.js +1 -0
  113. package/dist/checkout/p-cecfb55a.entry.js +1 -0
  114. package/dist/checkout/p-d819f4e4.entry.js +1 -0
  115. package/dist/checkout/p-dd2fe837.entry.js +1 -0
  116. package/dist/checkout/p-dfcadc7e.entry.js +7 -0
  117. package/dist/checkout/p-e37ae6e2.entry.js +1 -0
  118. package/dist/checkout/p-e8173bed.entry.js +21 -0
  119. package/dist/checkout/p-ead19b10.entry.js +1 -0
  120. package/dist/checkout/p-eae34719.entry.js +1 -0
  121. package/dist/checkout/p-eff08443.entry.js +1 -0
  122. package/dist/checkout/p-f0535bc6.entry.js +1 -0
  123. package/dist/checkout/p-fd971fbb.entry.js +1 -0
  124. package/dist/checkout/p-ff3211f5.entry.js +1 -0
  125. package/dist/checkout/p-hHmYLOfE.js +1 -2
  126. package/dist/checkout/p-ktzqax7n.js +1 -2
  127. package/dist/checkout/p-sObYyvOy.js +1 -2
  128. package/dist/checkout/p-vDXqvDVZ.js +8 -0
  129. package/dist/checkout/p-xxOnfNPU.js +9 -0
  130. package/dist/cjs/amwal-checkout-button_5.cjs.entry.js +85 -120
  131. package/dist/cjs/amwal-installments-guide.cjs.entry.js +1 -2
  132. package/dist/cjs/amwal-pos.cjs.entry.js +4 -3
  133. package/dist/cjs/amwal-widget-modal.cjs.entry.js +7 -4
  134. package/dist/cjs/amwal-widget.cjs.entry.js +10 -5
  135. package/dist/cjs/{animation-BtvIVax4.js → animation-DmZTzC07.js} +1 -4
  136. package/dist/cjs/app-globals-B6FjPa2t.js +7 -0
  137. package/dist/cjs/ar-CbT6TM-Q.js +0 -3
  138. package/dist/cjs/capacitor-CqhugS19.js +0 -3
  139. package/dist/cjs/checkout.cjs.js +5 -8
  140. package/dist/cjs/compare-with-utils-JlLIkecm.js +0 -3
  141. package/dist/cjs/{config-DUSoxbhv.js → config-DMigaw94.js} +1 -4
  142. package/dist/cjs/cubic-bezier-Bv3PvaRI.js +0 -3
  143. package/dist/cjs/{data-CjHlPfPW.js → data-C9NB5QNL.js} +1 -4
  144. package/dist/cjs/dir-Br-7_bel.js +0 -3
  145. package/dist/cjs/focus-visible-Da2o6bTP.js +0 -3
  146. package/dist/cjs/{framework-delegate-BoMy23Lz.js → framework-delegate-BFev42vk.js} +1 -4
  147. package/dist/cjs/gesture-controller-CiprlUhH.js +0 -3
  148. package/dist/cjs/haptic-DCn793nz.js +0 -3
  149. package/dist/cjs/{hardware-back-button-B1WYQg6m.js → hardware-back-button-CMceVPAk.js} +1 -4
  150. package/dist/cjs/{helpers-C5_WrFOI.js → helpers-VdS_U_Su.js} +1 -4
  151. package/dist/cjs/i18n-uGNv9SLK.js +0 -3
  152. package/dist/cjs/{index-DwdNl4cs.js → index-BQ9HVZwH.js} +2 -5
  153. package/dist/cjs/index-Calgykmz.js +0 -3
  154. package/dist/cjs/{index-C0J_JwJB.js → index-D1TvI2Ig.js} +2 -5
  155. package/dist/cjs/index-D3mJ1Cix.js +0 -3
  156. package/dist/cjs/{index-C3dD6F2g.js → index-DaUK-X4l.js} +5 -8
  157. package/dist/cjs/index-DseJYF57.js +0 -3
  158. package/dist/cjs/{index-C-U8a6CY.js → index-NREvOo92.js} +4 -7
  159. package/dist/cjs/{index-BPGqVQtz.js → index-q1-id3dG.js} +1708 -86
  160. package/dist/cjs/index.cjs.js +0 -3
  161. package/dist/cjs/{input-shims-DIBy37tN.js → input-shims-CJrPMP1S.js} +3 -6
  162. package/dist/cjs/{input.utils-IVavyQAZ.js → input.utils-D9hnMuNq.js} +2 -5
  163. package/dist/cjs/ion-accordion-group.cjs.entry.js +11 -6
  164. package/dist/cjs/ion-accordion.cjs.entry.js +6 -5
  165. package/dist/cjs/ion-action-sheet_5.cjs.entry.js +37 -20
  166. package/dist/cjs/ion-app.cjs.entry.js +7 -8
  167. package/dist/cjs/ion-avatar.cjs.entry.js +2 -3
  168. package/dist/cjs/ion-back-button.cjs.entry.js +3 -4
  169. package/dist/cjs/ion-backdrop.cjs.entry.js +2 -3
  170. package/dist/cjs/ion-badge.cjs.entry.js +2 -3
  171. package/dist/cjs/ion-breadcrumb.cjs.entry.js +3 -4
  172. package/dist/cjs/ion-breadcrumbs.cjs.entry.js +11 -6
  173. package/dist/cjs/ion-buttons_10.cjs.entry.js +17 -10
  174. package/dist/cjs/ion-card-content.cjs.entry.js +2 -3
  175. package/dist/cjs/ion-card-header.cjs.entry.js +2 -3
  176. package/dist/cjs/ion-card-subtitle.cjs.entry.js +2 -3
  177. package/dist/cjs/ion-card-title.cjs.entry.js +2 -3
  178. package/dist/cjs/ion-card.cjs.entry.js +3 -4
  179. package/dist/cjs/ion-chip.cjs.entry.js +2 -3
  180. package/dist/cjs/ion-col.cjs.entry.js +2 -3
  181. package/dist/cjs/ion-datetime-button.cjs.entry.js +4 -5
  182. package/dist/cjs/ion-datetime.cjs.entry.js +40 -19
  183. package/dist/cjs/ion-fab-button.cjs.entry.js +3 -4
  184. package/dist/cjs/ion-fab-list.cjs.entry.js +5 -4
  185. package/dist/cjs/ion-fab.cjs.entry.js +5 -4
  186. package/dist/cjs/ion-footer.cjs.entry.js +4 -5
  187. package/dist/cjs/ion-grid.cjs.entry.js +2 -3
  188. package/dist/cjs/ion-icon.cjs.entry.js +16 -7
  189. package/dist/cjs/ion-img.cjs.entry.js +6 -5
  190. package/dist/cjs/ion-infinite-scroll-content.cjs.entry.js +3 -4
  191. package/dist/cjs/ion-infinite-scroll.cjs.entry.js +10 -7
  192. package/dist/cjs/ion-input-otp.cjs.entry.js +12 -7
  193. package/dist/cjs/ion-input-password-toggle.cjs.entry.js +7 -6
  194. package/dist/cjs/ion-input.cjs.entry.js +17 -10
  195. package/dist/cjs/ion-item-divider.cjs.entry.js +2 -3
  196. package/dist/cjs/ion-item-group.cjs.entry.js +2 -3
  197. package/dist/cjs/ion-item-option.cjs.entry.js +2 -3
  198. package/dist/cjs/ion-item-options.cjs.entry.js +3 -4
  199. package/dist/cjs/ion-item-sliding.cjs.entry.js +7 -6
  200. package/dist/cjs/ion-label_2.cjs.entry.js +8 -5
  201. package/dist/cjs/ion-loading.cjs.entry.js +14 -11
  202. package/dist/cjs/ion-menu-button.cjs.entry.js +7 -8
  203. package/dist/cjs/ion-menu-toggle.cjs.entry.js +7 -8
  204. package/dist/cjs/ion-menu.cjs.entry.js +20 -13
  205. package/dist/cjs/ion-nav-link.cjs.entry.js +1 -2
  206. package/dist/cjs/ion-nav.cjs.entry.js +12 -9
  207. package/dist/cjs/ion-note.cjs.entry.js +2 -3
  208. package/dist/cjs/ion-picker-legacy-column.cjs.entry.js +6 -5
  209. package/dist/cjs/ion-picker-legacy.cjs.entry.js +13 -10
  210. package/dist/cjs/ion-picker_3.cjs.entry.js +12 -7
  211. package/dist/cjs/ion-popover.cjs.entry.js +17 -12
  212. package/dist/cjs/ion-progress-bar.cjs.entry.js +3 -4
  213. package/dist/cjs/ion-range.cjs.entry.js +25 -12
  214. package/dist/cjs/ion-refresher-content.cjs.entry.js +6 -7
  215. package/dist/cjs/ion-refresher.cjs.entry.js +9 -8
  216. package/dist/cjs/ion-reorder-group.cjs.entry.js +7 -6
  217. package/dist/cjs/ion-reorder.cjs.entry.js +2 -3
  218. package/dist/cjs/ion-route-redirect.cjs.entry.js +7 -4
  219. package/dist/cjs/ion-route.cjs.entry.js +10 -5
  220. package/dist/cjs/ion-router-link.cjs.entry.js +2 -3
  221. package/dist/cjs/ion-router-outlet.cjs.entry.js +9 -8
  222. package/dist/cjs/ion-router.cjs.entry.js +2 -3
  223. package/dist/cjs/ion-row.cjs.entry.js +2 -3
  224. package/dist/cjs/ion-searchbar.cjs.entry.js +18 -9
  225. package/dist/cjs/ion-segment-button.cjs.entry.js +6 -5
  226. package/dist/cjs/ion-segment-content.cjs.entry.js +1 -2
  227. package/dist/cjs/ion-segment-view.cjs.entry.js +1 -2
  228. package/dist/cjs/ion-segment.cjs.entry.js +15 -8
  229. package/dist/cjs/ion-select-option.cjs.entry.js +2 -3
  230. package/dist/cjs/ion-select.cjs.entry.js +19 -12
  231. package/dist/cjs/ion-skeleton-text.cjs.entry.js +2 -3
  232. package/dist/cjs/ion-spinner.cjs.entry.js +2 -3
  233. package/dist/cjs/ion-split-pane.cjs.entry.js +11 -6
  234. package/dist/cjs/ion-tab-bar.cjs.entry.js +5 -4
  235. package/dist/cjs/ion-tab-button.cjs.entry.js +3 -4
  236. package/dist/cjs/ion-tab.cjs.entry.js +6 -5
  237. package/dist/cjs/ion-tabs.cjs.entry.js +1 -2
  238. package/dist/cjs/ion-textarea.cjs.entry.js +15 -12
  239. package/dist/cjs/ion-thumbnail.cjs.entry.js +2 -3
  240. package/dist/cjs/ion-toast.cjs.entry.js +17 -12
  241. package/dist/cjs/ion-toggle.cjs.entry.js +6 -5
  242. package/dist/cjs/{ionic-global-BmDUlKDf.js → ionic-global-tfENS075.js} +1 -4
  243. package/dist/cjs/{ios.transition-ROXYV2qt.js → ios.transition-EMvH3Tod.js} +4 -7
  244. package/dist/cjs/keyboard-DuKzsHsS.js +0 -3
  245. package/dist/cjs/keyboard-controller-rH21qC_2.js +0 -3
  246. package/dist/cjs/keyboard-iyHR2ZF4.js +0 -3
  247. package/dist/cjs/loader.cjs.js +4 -7
  248. package/dist/cjs/lock-controller-58TZFRHC.js +0 -3
  249. package/dist/cjs/{md.transition-NftVXx7D.js → md.transition-CwoQ7h7X.js} +4 -7
  250. package/dist/cjs/{menu-toggle-util-CROwv_aL.js → menu-toggle-util-By6-554q.js} +1 -4
  251. package/dist/cjs/{notch-controller-BzbZcc1N.js → notch-controller-DWw_ctSD.js} +1 -4
  252. package/dist/cjs/{overlays-gyJEvMkB.js → overlays-sgG7yBK9.js} +8 -9
  253. package/dist/cjs/{refresher.utils-DZrHDYQN.js → refresher.utils-CMKixJwj.js} +3 -6
  254. package/dist/cjs/spinner-configs-BN41iw42.js +0 -3
  255. package/dist/cjs/{status-tap-B5QfH5DO.js → status-tap-CdatiX6b.js} +3 -6
  256. package/dist/cjs/{swipe-back-BkT4j65k.js → swipe-back-D3MYxlFO.js} +2 -5
  257. package/dist/cjs/theme-DbHdw1Nx.js +0 -3
  258. package/dist/cjs/validity-ClNawnRU.js +0 -3
  259. package/dist/cjs/watch-options-DOFUPyuf.js +0 -3
  260. package/dist/collection/collection-manifest.json +1 -1
  261. package/dist/collection/components/amwal-checkout-button/amwal-checkout-button.css +1 -1
  262. package/dist/collection/components/amwal-checkout-button/amwal-checkout-button.js +40 -55
  263. package/dist/collection/components/amwal-checkout-button/amwal-checkout-button.stories.js +0 -1
  264. package/dist/collection/components/amwal-installments-guide/amwal-installments-guide.js +0 -1
  265. package/dist/collection/components/amwal-installments-guide/amwal-installments-guide.stories.js +0 -1
  266. package/dist/collection/components/amwal-installments-timeline/amwal-installments-timeline.js +2 -3
  267. package/dist/collection/components/amwal-installments-timeline/amwal-installments-timeline.stories.js +0 -1
  268. package/dist/collection/components/amwal-pos/amwal-pos.js +0 -1
  269. package/dist/collection/components/amwal-pos/amwal-pos.stories.js +0 -1
  270. package/dist/collection/components/amwal-widget/amwal-widget-modal.js +0 -1
  271. package/dist/collection/components/amwal-widget/amwal-widget.js +8 -7
  272. package/dist/collection/components/amwal-widget/amwal-widget.stories.js +0 -1
  273. package/dist/collection/lang/i18n.js +0 -1
  274. package/dist/components/amwal-checkout-button.js +1 -5375
  275. package/dist/components/amwal-installments-guide.js +1 -83
  276. package/dist/components/amwal-installments-timeline.js +1 -9
  277. package/dist/components/amwal-pos.js +1 -3670
  278. package/dist/components/amwal-widget-modal.js +1 -9
  279. package/dist/components/amwal-widget.js +1 -422
  280. package/dist/components/index.js +1 -9
  281. package/dist/components/ion-accordion-group.js +1 -271
  282. package/dist/components/ion-accordion.js +1 -459
  283. package/dist/components/ion-action-sheet.js +1 -9
  284. package/dist/components/ion-alert.js +1 -9
  285. package/dist/components/ion-app.js +1 -130
  286. package/dist/components/ion-avatar.js +1 -44
  287. package/dist/components/ion-back-button.js +1 -133
  288. package/dist/components/ion-backdrop.js +1 -9
  289. package/dist/components/ion-badge.js +1 -50
  290. package/dist/components/ion-breadcrumb.js +1 -140
  291. package/dist/components/ion-breadcrumbs.js +1 -167
  292. package/dist/components/ion-button.js +1 -9
  293. package/dist/components/ion-buttons.js +1 -9
  294. package/dist/components/ion-card-content.js +1 -48
  295. package/dist/components/ion-card-header.js +1 -59
  296. package/dist/components/ion-card-subtitle.js +1 -51
  297. package/dist/components/ion-card-title.js +1 -51
  298. package/dist/components/ion-card.js +1 -110
  299. package/dist/components/ion-checkbox.js +1 -9
  300. package/dist/components/ion-chip.js +1 -69
  301. package/dist/components/ion-col.js +2 -167
  302. package/dist/components/ion-content.js +1 -9
  303. package/dist/components/ion-datetime-button.js +1 -386
  304. package/dist/components/ion-datetime.js +2 -2051
  305. package/dist/components/ion-fab-button.js +1 -154
  306. package/dist/components/ion-fab-list.js +1 -69
  307. package/dist/components/ion-fab.js +1 -104
  308. package/dist/components/ion-footer.js +2 -163
  309. package/dist/components/ion-grid.js +1 -49
  310. package/dist/components/ion-header.js +1 -9
  311. package/dist/components/ion-icon.js +1 -9
  312. package/dist/components/ion-img.js +1 -127
  313. package/dist/components/ion-infinite-scroll-content.js +1 -72
  314. package/dist/components/ion-infinite-scroll.js +1 -239
  315. package/dist/components/ion-input-otp.js +1 -685
  316. package/dist/components/ion-input-password-toggle.js +1 -131
  317. package/dist/components/ion-input.js +1 -620
  318. package/dist/components/ion-item-divider.js +1 -62
  319. package/dist/components/ion-item-group.js +1 -49
  320. package/dist/components/ion-item-option.js +1 -94
  321. package/dist/components/ion-item-options.js +1 -76
  322. package/dist/components/ion-item-sliding.js +1 -460
  323. package/dist/components/ion-item.js +1 -9
  324. package/dist/components/ion-label.js +1 -9
  325. package/dist/components/ion-list-header.js +1 -9
  326. package/dist/components/ion-list.js +1 -9
  327. package/dist/components/ion-loading.js +3 -354
  328. package/dist/components/ion-menu-button.js +1 -112
  329. package/dist/components/ion-menu-toggle.js +1 -67
  330. package/dist/components/ion-menu.js +1 -744
  331. package/dist/components/ion-modal.js +1 -9
  332. package/dist/components/ion-nav-link.js +2 -68
  333. package/dist/components/ion-nav.js +2 -955
  334. package/dist/components/ion-note.js +1 -50
  335. package/dist/components/ion-picker-column-option.js +1 -9
  336. package/dist/components/ion-picker-column.js +1 -9
  337. package/dist/components/ion-picker-legacy-column.js +1 -9
  338. package/dist/components/ion-picker-legacy.js +3 -347
  339. package/dist/components/ion-picker.js +1 -9
  340. package/dist/components/ion-popover.js +1 -9
  341. package/dist/components/ion-progress-bar.js +1 -103
  342. package/dist/components/ion-radio-group.js +1 -9
  343. package/dist/components/ion-radio.js +1 -9
  344. package/dist/components/ion-range.js +2 -848
  345. package/dist/components/ion-refresher-content.js +1 -91
  346. package/dist/components/ion-refresher.js +1 -753
  347. package/dist/components/ion-reorder-group.js +1 -325
  348. package/dist/components/ion-reorder.js +1 -63
  349. package/dist/components/ion-ripple-effect.js +1 -9
  350. package/dist/components/ion-route-redirect.js +1 -48
  351. package/dist/components/ion-route.js +1 -77
  352. package/dist/components/ion-router-link.js +1 -64
  353. package/dist/components/ion-router-outlet.js +1 -229
  354. package/dist/components/ion-router.js +3 -857
  355. package/dist/components/ion-row.js +1 -39
  356. package/dist/components/ion-searchbar.js +1 -532
  357. package/dist/components/ion-segment-button.js +1 -176
  358. package/dist/components/ion-segment-content.js +1 -38
  359. package/dist/components/ion-segment-view.js +1 -145
  360. package/dist/components/ion-segment.js +1 -605
  361. package/dist/components/ion-select-modal.js +1 -9
  362. package/dist/components/ion-select-option.js +1 -49
  363. package/dist/components/ion-select-popover.js +1 -9
  364. package/dist/components/ion-select.js +1 -1038
  365. package/dist/components/ion-skeleton-text.js +1 -67
  366. package/dist/components/ion-spinner.js +1 -9
  367. package/dist/components/ion-split-pane.js +1 -193
  368. package/dist/components/ion-tab-bar.js +1 -118
  369. package/dist/components/ion-tab-button.js +1 -130
  370. package/dist/components/ion-tab.js +1 -85
  371. package/dist/components/ion-tabs.js +1 -207
  372. package/dist/components/ion-text.js +1 -9
  373. package/dist/components/ion-textarea.js +1 -559
  374. package/dist/components/ion-thumbnail.js +1 -39
  375. package/dist/components/ion-title.js +1 -9
  376. package/dist/components/ion-toast.js +3 -955
  377. package/dist/components/ion-toggle.js +1 -363
  378. package/dist/components/ion-toolbar.js +1 -9
  379. package/dist/components/p-1a8GRr4X.js +8 -0
  380. package/dist/components/p-84v5d37k.js +5 -0
  381. package/dist/components/p-8qbKOEwg.js +7 -0
  382. package/dist/components/p-B-hirT0v.js +1 -38
  383. package/dist/components/p-B2pBbmZL.js +1 -0
  384. package/dist/components/p-B3WORC1a.js +1 -47
  385. package/dist/components/p-B6K4Vevt.js +1 -0
  386. package/dist/components/p-B8CJYukv.js +4 -0
  387. package/dist/components/p-B8rkbvHJ.js +4 -0
  388. package/dist/components/p-BB452BOr.js +1 -0
  389. package/dist/components/p-BGU8Nymd.js +1 -0
  390. package/dist/components/p-BHQVufb8.js +4 -0
  391. package/dist/components/p-BNXO_6OD.js +1 -0
  392. package/dist/components/p-BTEOs1at.js +1 -195
  393. package/dist/components/p-BU2g75_N.js +1 -0
  394. package/dist/components/p-BYPhePqa.js +4 -0
  395. package/dist/components/p-Bam2tSRs.js +1 -0
  396. package/dist/components/p-BgOwfqIY.js +2 -83
  397. package/dist/components/p-BgdIJBVf.js +4 -0
  398. package/dist/components/p-BgihAYme.js +7 -0
  399. package/dist/components/p-BmVRXR1y.js +1 -75
  400. package/dist/components/p-BxP8TDfL.js +2 -159
  401. package/dist/components/p-ByfqFtWT.js +1 -0
  402. package/dist/components/p-Bz350JGF.js +7 -0
  403. package/dist/components/p-C-A_jB82.js +4 -0
  404. package/dist/components/p-C03M5ZSM.js +1 -16
  405. package/dist/components/p-C53feagD.js +1 -18
  406. package/dist/components/p-CECOogQN.js +4 -0
  407. package/dist/components/p-CH3Eg9_f.js +3 -463
  408. package/dist/components/p-CQOdiSAf.js +1 -0
  409. package/dist/components/p-CUAFXzfF.js +1 -0
  410. package/dist/components/p-C_xZxwXS.js +1 -0
  411. package/dist/components/p-CaFnxdQd.js +1 -0
  412. package/dist/components/p-CoO47q0D.js +7 -0
  413. package/dist/components/p-D2NxOvQ8.js +2 -14
  414. package/dist/components/p-DDc_C9oA.js +7 -0
  415. package/dist/components/p-DIdQsHkC.js +4 -0
  416. package/dist/components/p-DJDxJDy6.js +1 -0
  417. package/dist/components/p-DJztqcrH.js +1 -17
  418. package/dist/components/p-DK1OQn93.js +1 -0
  419. package/dist/components/p-DKg_dYcq.js +2 -166
  420. package/dist/components/p-DMTBSB3x.js +1 -0
  421. package/dist/components/p-DQAmWfm1.js +8 -0
  422. package/dist/components/p-DR2jvB6s.js +4 -0
  423. package/dist/components/p-DRov8Rcu.js +4 -0
  424. package/dist/components/p-DVAa5Ick.js +1 -0
  425. package/dist/components/p-DXFVmcjn.js +1 -0
  426. package/dist/components/p-DYhpoJMW.js +4 -0
  427. package/dist/components/p-Db1yB4_h.js +4 -0
  428. package/dist/components/p-DcJzInl-.js +4 -0
  429. package/dist/components/p-DexEOBMU.js +8 -0
  430. package/dist/components/p-DiVJyqlX.js +1 -43
  431. package/dist/components/p-DjZwclUS.js +5 -0
  432. package/dist/components/p-DokQbOf0.js +7 -0
  433. package/dist/components/p-Dtdm8lKC.js +1 -47
  434. package/dist/components/p-DuZ7hY1a.js +2 -145
  435. package/dist/components/p-Dzmy2KMF.js +8 -0
  436. package/dist/components/p-GqmIVAr9.js +1 -0
  437. package/dist/components/p-RvBk4hGw.js +1 -0
  438. package/dist/components/p-RxmIKEEQ.js +1 -0
  439. package/dist/components/p-ZjP4CjeZ.js +1 -7
  440. package/dist/components/p-hHmYLOfE.js +1 -90
  441. package/dist/components/p-jWFeuAB5.js +1 -32
  442. package/dist/components/p-kYICRcU6.js +1 -0
  443. package/dist/components/p-lwDXTYn3.js +4 -0
  444. package/dist/components/p-oMX-ZLwD.js +4 -0
  445. package/dist/components/p-oThWliBi.js +4 -0
  446. package/dist/components/p-pUVFzc0m.js +4 -0
  447. package/dist/components/p-uBkJJD7w.js +1 -0
  448. package/dist/components/p-wRbQpgeV.js +1 -0
  449. package/dist/components/p-zVHkqcTn.js +4 -0
  450. package/dist/esm/amwal-checkout-button_5.entry.js +85 -120
  451. package/dist/esm/amwal-installments-guide.entry.js +1 -2
  452. package/dist/esm/amwal-pos.entry.js +4 -3
  453. package/dist/esm/amwal-widget-modal.entry.js +7 -4
  454. package/dist/esm/amwal-widget.entry.js +10 -5
  455. package/dist/esm/{animation-BU4GfyJQ.js → animation-Cdsew5KM.js} +1 -4
  456. package/dist/esm/app-globals-qL1LLHNB.js +5 -0
  457. package/dist/esm/ar-B3WORC1a.js +0 -3
  458. package/dist/esm/capacitor-CG3xQUND.js +0 -3
  459. package/dist/esm/checkout.js +6 -9
  460. package/dist/esm/compare-with-utils-sObYyvOy.js +0 -3
  461. package/dist/{components/p-uTKLFBBy.js → esm/config-CnpuADYS.js} +1 -4
  462. package/dist/esm/cubic-bezier-hHmYLOfE.js +0 -3
  463. package/dist/esm/{data-BKjeovce.js → data-u308JruM.js} +1 -4
  464. package/dist/esm/dir-C53feagD.js +0 -3
  465. package/dist/esm/focus-visible-BmVRXR1y.js +0 -3
  466. package/dist/{components/p-9R9WjA6V.js → esm/framework-delegate-29_VtSmv.js} +1 -4
  467. package/dist/esm/gesture-controller-BTEOs1at.js +0 -3
  468. package/dist/esm/haptic-C3ucbArX.js +0 -3
  469. package/dist/esm/{hardware-back-button-Nry6hGkN.js → hardware-back-button-DRef5MPc.js} +1 -4
  470. package/dist/esm/{helpers-uLqs1Gao.js → helpers-BuFc0hrS.js} +1 -4
  471. package/dist/esm/i18n-C_AfxZ5D.js +0 -3
  472. package/dist/esm/index-BmlsNFZH.js +0 -3
  473. package/dist/esm/index-CF4QYFB3.js +0 -3
  474. package/dist/esm/{index-CCWf5GQy.js → index-DoRYA1qF.js} +4 -7
  475. package/dist/esm/{index-Ct7Rjd6t.js → index-Dph-Z83P.js} +5 -8
  476. package/dist/esm/{index-BmWsedvI.js → index-J3a2mue2.js} +2 -5
  477. package/dist/esm/{index-ffNEk55Y.js → index-Ul_idjjE.js} +2 -5
  478. package/dist/esm/index-ZjP4CjeZ.js +0 -3
  479. package/dist/esm/{index-BxybgBKJ.js → index-xxOnfNPU.js} +1708 -86
  480. package/dist/esm/index.js +0 -3
  481. package/dist/esm/{input-shims-DkzcZwWm.js → input-shims-D1Cdl4JQ.js} +3 -6
  482. package/dist/esm/{input.utils-C_QovwBX.js → input.utils-CEeVIfb9.js} +2 -5
  483. package/dist/esm/ion-accordion-group.entry.js +11 -6
  484. package/dist/esm/ion-accordion.entry.js +6 -5
  485. package/dist/esm/ion-action-sheet_5.entry.js +37 -20
  486. package/dist/esm/ion-app.entry.js +7 -8
  487. package/dist/esm/ion-avatar.entry.js +2 -3
  488. package/dist/esm/ion-back-button.entry.js +3 -4
  489. package/dist/esm/ion-backdrop.entry.js +2 -3
  490. package/dist/esm/ion-badge.entry.js +2 -3
  491. package/dist/esm/ion-breadcrumb.entry.js +3 -4
  492. package/dist/esm/ion-breadcrumbs.entry.js +11 -6
  493. package/dist/esm/ion-buttons_10.entry.js +17 -10
  494. package/dist/esm/ion-card-content.entry.js +2 -3
  495. package/dist/esm/ion-card-header.entry.js +2 -3
  496. package/dist/esm/ion-card-subtitle.entry.js +2 -3
  497. package/dist/esm/ion-card-title.entry.js +2 -3
  498. package/dist/esm/ion-card.entry.js +3 -4
  499. package/dist/esm/ion-chip.entry.js +2 -3
  500. package/dist/esm/ion-col.entry.js +2 -3
  501. package/dist/esm/ion-datetime-button.entry.js +4 -5
  502. package/dist/esm/ion-datetime.entry.js +40 -19
  503. package/dist/esm/ion-fab-button.entry.js +3 -4
  504. package/dist/esm/ion-fab-list.entry.js +5 -4
  505. package/dist/esm/ion-fab.entry.js +5 -4
  506. package/dist/esm/ion-footer.entry.js +4 -5
  507. package/dist/esm/ion-grid.entry.js +2 -3
  508. package/dist/esm/ion-icon.entry.js +16 -7
  509. package/dist/esm/ion-img.entry.js +6 -5
  510. package/dist/esm/ion-infinite-scroll-content.entry.js +3 -4
  511. package/dist/esm/ion-infinite-scroll.entry.js +10 -7
  512. package/dist/esm/ion-input-otp.entry.js +12 -7
  513. package/dist/esm/ion-input-password-toggle.entry.js +7 -6
  514. package/dist/esm/ion-input.entry.js +17 -10
  515. package/dist/esm/ion-item-divider.entry.js +2 -3
  516. package/dist/esm/ion-item-group.entry.js +2 -3
  517. package/dist/esm/ion-item-option.entry.js +2 -3
  518. package/dist/esm/ion-item-options.entry.js +3 -4
  519. package/dist/esm/ion-item-sliding.entry.js +7 -6
  520. package/dist/esm/ion-label_2.entry.js +8 -5
  521. package/dist/esm/ion-loading.entry.js +14 -11
  522. package/dist/esm/ion-menu-button.entry.js +7 -8
  523. package/dist/esm/ion-menu-toggle.entry.js +7 -8
  524. package/dist/esm/ion-menu.entry.js +20 -13
  525. package/dist/esm/ion-nav-link.entry.js +1 -2
  526. package/dist/esm/ion-nav.entry.js +12 -9
  527. package/dist/esm/ion-note.entry.js +2 -3
  528. package/dist/esm/ion-picker-legacy-column.entry.js +6 -5
  529. package/dist/esm/ion-picker-legacy.entry.js +13 -10
  530. package/dist/esm/ion-picker_3.entry.js +12 -7
  531. package/dist/esm/ion-popover.entry.js +17 -12
  532. package/dist/esm/ion-progress-bar.entry.js +3 -4
  533. package/dist/esm/ion-range.entry.js +25 -12
  534. package/dist/esm/ion-refresher-content.entry.js +6 -7
  535. package/dist/esm/ion-refresher.entry.js +9 -8
  536. package/dist/esm/ion-reorder-group.entry.js +7 -6
  537. package/dist/esm/ion-reorder.entry.js +2 -3
  538. package/dist/esm/ion-route-redirect.entry.js +7 -4
  539. package/dist/esm/ion-route.entry.js +10 -5
  540. package/dist/esm/ion-router-link.entry.js +2 -3
  541. package/dist/esm/ion-router-outlet.entry.js +9 -8
  542. package/dist/esm/ion-router.entry.js +2 -3
  543. package/dist/esm/ion-row.entry.js +2 -3
  544. package/dist/esm/ion-searchbar.entry.js +18 -9
  545. package/dist/esm/ion-segment-button.entry.js +6 -5
  546. package/dist/esm/ion-segment-content.entry.js +1 -2
  547. package/dist/esm/ion-segment-view.entry.js +1 -2
  548. package/dist/esm/ion-segment.entry.js +15 -8
  549. package/dist/esm/ion-select-option.entry.js +2 -3
  550. package/dist/esm/ion-select.entry.js +19 -12
  551. package/dist/esm/ion-skeleton-text.entry.js +2 -3
  552. package/dist/esm/ion-spinner.entry.js +2 -3
  553. package/dist/esm/ion-split-pane.entry.js +11 -6
  554. package/dist/esm/ion-tab-bar.entry.js +5 -4
  555. package/dist/esm/ion-tab-button.entry.js +3 -4
  556. package/dist/esm/ion-tab.entry.js +6 -5
  557. package/dist/esm/ion-tabs.entry.js +1 -2
  558. package/dist/esm/ion-textarea.entry.js +15 -12
  559. package/dist/esm/ion-thumbnail.entry.js +2 -3
  560. package/dist/esm/ion-toast.entry.js +17 -12
  561. package/dist/esm/ion-toggle.entry.js +6 -5
  562. package/dist/esm/{ionic-global-C8oJToxs.js → ionic-global-BbOE2Sur.js} +1 -4
  563. package/dist/{components/p-CKAwPEA1.js → esm/ios.transition-BBpXvlVl.js} +5 -5
  564. package/dist/esm/keyboard-DcbqYXj5.js +0 -3
  565. package/dist/esm/keyboard-DgiyREKb.js +0 -3
  566. package/dist/esm/keyboard-controller-CqGCg8tB.js +0 -3
  567. package/dist/esm/loader.js +5 -8
  568. package/dist/esm/lock-controller-B-hirT0v.js +0 -3
  569. package/dist/{components/p-DG3y4Paj.js → esm/md.transition-uHL_rMwC.js} +5 -5
  570. package/dist/{components/p-BHR1qL-B.js → esm/menu-toggle-util-LSIuEJ8L.js} +1 -4
  571. package/dist/esm/{notch-controller-DCfp6pBF.js → notch-controller-CCHQ50bA.js} +1 -4
  572. package/dist/esm/{overlays-BDbqv7G-.js → overlays-CWok3_we.js} +8 -9
  573. package/dist/esm/{refresher.utils-DOS2Tyfp.js → refresher.utils-BwmoeJ1w.js} +3 -6
  574. package/dist/esm/spinner-configs-D4RIp70E.js +0 -3
  575. package/dist/esm/{status-tap-BTOXpL_S.js → status-tap-CMJKMvwt.js} +3 -6
  576. package/dist/esm/{swipe-back-CetNYyPP.js → swipe-back-BXQCI3bV.js} +2 -5
  577. package/dist/esm/theme-DiVJyqlX.js +0 -3
  578. package/dist/esm/validity-DJztqcrH.js +0 -3
  579. package/dist/esm/watch-options-Dtdm8lKC.js +0 -3
  580. package/dist/types/components/amwal-checkout-button/amwal-checkout-button.d.ts +2 -3
  581. package/dist/types/stencil-public-runtime.d.ts +14 -3
  582. package/package.json +7 -4
  583. package/dist/checkout/checkout.esm.js.map +0 -1
  584. package/dist/checkout/index.esm.js.map +0 -1
  585. package/dist/checkout/loader.esm.js.map +0 -1
  586. package/dist/checkout/p-00a301b3.entry.js +0 -2
  587. package/dist/checkout/p-00a301b3.entry.js.map +0 -1
  588. package/dist/checkout/p-07b5d96f.entry.js +0 -2
  589. package/dist/checkout/p-07b5d96f.entry.js.map +0 -1
  590. package/dist/checkout/p-09688586.entry.js +0 -2
  591. package/dist/checkout/p-09688586.entry.js.map +0 -1
  592. package/dist/checkout/p-18addee5.entry.js +0 -2
  593. package/dist/checkout/p-18addee5.entry.js.map +0 -1
  594. package/dist/checkout/p-18ddefd1.entry.js +0 -5
  595. package/dist/checkout/p-18ddefd1.entry.js.map +0 -1
  596. package/dist/checkout/p-19f6286e.entry.js +0 -2
  597. package/dist/checkout/p-19f6286e.entry.js.map +0 -1
  598. package/dist/checkout/p-1b654d66.entry.js +0 -2
  599. package/dist/checkout/p-1b654d66.entry.js.map +0 -1
  600. package/dist/checkout/p-215f237f.entry.js +0 -2
  601. package/dist/checkout/p-215f237f.entry.js.map +0 -1
  602. package/dist/checkout/p-243533d4.entry.js +0 -2
  603. package/dist/checkout/p-243533d4.entry.js.map +0 -1
  604. package/dist/checkout/p-2641406e.entry.js +0 -5
  605. package/dist/checkout/p-2641406e.entry.js.map +0 -1
  606. package/dist/checkout/p-2683c242.entry.js +0 -2
  607. package/dist/checkout/p-2683c242.entry.js.map +0 -1
  608. package/dist/checkout/p-270607e1.entry.js +0 -2
  609. package/dist/checkout/p-270607e1.entry.js.map +0 -1
  610. package/dist/checkout/p-28d82baa.entry.js +0 -2
  611. package/dist/checkout/p-28d82baa.entry.js.map +0 -1
  612. package/dist/checkout/p-2aa4f4ab.entry.js +0 -2
  613. package/dist/checkout/p-2aa4f4ab.entry.js.map +0 -1
  614. package/dist/checkout/p-2ee1a2b5.entry.js +0 -2
  615. package/dist/checkout/p-2ee1a2b5.entry.js.map +0 -1
  616. package/dist/checkout/p-358214aa.entry.js +0 -2
  617. package/dist/checkout/p-358214aa.entry.js.map +0 -1
  618. package/dist/checkout/p-36e0fbcc.entry.js +0 -20
  619. package/dist/checkout/p-36e0fbcc.entry.js.map +0 -1
  620. package/dist/checkout/p-37e54688.entry.js +0 -2
  621. package/dist/checkout/p-37e54688.entry.js.map +0 -1
  622. package/dist/checkout/p-3ef78696.entry.js +0 -2
  623. package/dist/checkout/p-3ef78696.entry.js.map +0 -1
  624. package/dist/checkout/p-454447c5.entry.js +0 -2
  625. package/dist/checkout/p-454447c5.entry.js.map +0 -1
  626. package/dist/checkout/p-4857bfa5.entry.js +0 -2
  627. package/dist/checkout/p-4857bfa5.entry.js.map +0 -1
  628. package/dist/checkout/p-4d89a3fa.entry.js +0 -2
  629. package/dist/checkout/p-4d89a3fa.entry.js.map +0 -1
  630. package/dist/checkout/p-52764c17.entry.js +0 -2
  631. package/dist/checkout/p-52764c17.entry.js.map +0 -1
  632. package/dist/checkout/p-57f622db.entry.js +0 -2
  633. package/dist/checkout/p-57f622db.entry.js.map +0 -1
  634. package/dist/checkout/p-59888ca4.entry.js +0 -2
  635. package/dist/checkout/p-59888ca4.entry.js.map +0 -1
  636. package/dist/checkout/p-5ecfbad6.entry.js +0 -2
  637. package/dist/checkout/p-5ecfbad6.entry.js.map +0 -1
  638. package/dist/checkout/p-62ca8564.entry.js +0 -2
  639. package/dist/checkout/p-62ca8564.entry.js.map +0 -1
  640. package/dist/checkout/p-6302dd24.entry.js +0 -2
  641. package/dist/checkout/p-6302dd24.entry.js.map +0 -1
  642. package/dist/checkout/p-64ac130b.entry.js +0 -2
  643. package/dist/checkout/p-64ac130b.entry.js.map +0 -1
  644. package/dist/checkout/p-6714fa18.entry.js +0 -2
  645. package/dist/checkout/p-6714fa18.entry.js.map +0 -1
  646. package/dist/checkout/p-681ae472.entry.js +0 -2
  647. package/dist/checkout/p-681ae472.entry.js.map +0 -1
  648. package/dist/checkout/p-69f632b2.entry.js +0 -5
  649. package/dist/checkout/p-69f632b2.entry.js.map +0 -1
  650. package/dist/checkout/p-6b72bcfa.entry.js +0 -2
  651. package/dist/checkout/p-6b72bcfa.entry.js.map +0 -1
  652. package/dist/checkout/p-74c91a78.entry.js +0 -2
  653. package/dist/checkout/p-74c91a78.entry.js.map +0 -1
  654. package/dist/checkout/p-7ba2116f.entry.js +0 -2
  655. package/dist/checkout/p-7ba2116f.entry.js.map +0 -1
  656. package/dist/checkout/p-7d45a649.entry.js +0 -5
  657. package/dist/checkout/p-7d45a649.entry.js.map +0 -1
  658. package/dist/checkout/p-7df3464f.entry.js +0 -2
  659. package/dist/checkout/p-7df3464f.entry.js.map +0 -1
  660. package/dist/checkout/p-7f336a66.entry.js +0 -2
  661. package/dist/checkout/p-7f336a66.entry.js.map +0 -1
  662. package/dist/checkout/p-7f3cb127.entry.js +0 -2
  663. package/dist/checkout/p-7f3cb127.entry.js.map +0 -1
  664. package/dist/checkout/p-82e0c3f5.entry.js +0 -5
  665. package/dist/checkout/p-82e0c3f5.entry.js.map +0 -1
  666. package/dist/checkout/p-83723f22.entry.js +0 -2
  667. package/dist/checkout/p-83723f22.entry.js.map +0 -1
  668. package/dist/checkout/p-83cc118e.entry.js +0 -2
  669. package/dist/checkout/p-83cc118e.entry.js.map +0 -1
  670. package/dist/checkout/p-84d696fb.entry.js +0 -2
  671. package/dist/checkout/p-84d696fb.entry.js.map +0 -1
  672. package/dist/checkout/p-85548f6c.entry.js +0 -2
  673. package/dist/checkout/p-85548f6c.entry.js.map +0 -1
  674. package/dist/checkout/p-85ee65c9.entry.js +0 -2
  675. package/dist/checkout/p-85ee65c9.entry.js.map +0 -1
  676. package/dist/checkout/p-8b182c6a.entry.js +0 -8
  677. package/dist/checkout/p-8b182c6a.entry.js.map +0 -1
  678. package/dist/checkout/p-8d31e4f7.entry.js +0 -2
  679. package/dist/checkout/p-8d31e4f7.entry.js.map +0 -1
  680. package/dist/checkout/p-8e3dc24d.entry.js +0 -2
  681. package/dist/checkout/p-8e3dc24d.entry.js.map +0 -1
  682. package/dist/checkout/p-8e96c15d.entry.js +0 -2
  683. package/dist/checkout/p-8e96c15d.entry.js.map +0 -1
  684. package/dist/checkout/p-8fbb12d6.entry.js +0 -2
  685. package/dist/checkout/p-8fbb12d6.entry.js.map +0 -1
  686. package/dist/checkout/p-924c47c2.entry.js +0 -20
  687. package/dist/checkout/p-924c47c2.entry.js.map +0 -1
  688. package/dist/checkout/p-931cb238.entry.js +0 -2
  689. package/dist/checkout/p-931cb238.entry.js.map +0 -1
  690. package/dist/checkout/p-93bc2286.entry.js +0 -2
  691. package/dist/checkout/p-93bc2286.entry.js.map +0 -1
  692. package/dist/checkout/p-B-KuLMsZ.js +0 -8
  693. package/dist/checkout/p-B-KuLMsZ.js.map +0 -1
  694. package/dist/checkout/p-B-hirT0v.js.map +0 -1
  695. package/dist/checkout/p-B3WORC1a.js.map +0 -1
  696. package/dist/checkout/p-BGDWAHw3.js +0 -5
  697. package/dist/checkout/p-BGDWAHw3.js.map +0 -1
  698. package/dist/checkout/p-BR7SJd-v.js.map +0 -1
  699. package/dist/checkout/p-BTEOs1at.js.map +0 -1
  700. package/dist/checkout/p-BWWP5b2n.js +0 -20
  701. package/dist/checkout/p-BWWP5b2n.js.map +0 -1
  702. package/dist/checkout/p-BgOwfqIY.js.map +0 -1
  703. package/dist/checkout/p-BmVRXR1y.js.map +0 -1
  704. package/dist/checkout/p-BmlsNFZH.js.map +0 -1
  705. package/dist/checkout/p-Bp4HXTAC.js +0 -6
  706. package/dist/checkout/p-Bp4HXTAC.js.map +0 -1
  707. package/dist/checkout/p-BthJ6qTQ.js +0 -5
  708. package/dist/checkout/p-BthJ6qTQ.js.map +0 -1
  709. package/dist/checkout/p-BxybgBKJ.js +0 -9
  710. package/dist/checkout/p-BxybgBKJ.js.map +0 -1
  711. package/dist/checkout/p-C03M5ZSM.js.map +0 -1
  712. package/dist/checkout/p-C0PjLcMv.js +0 -8
  713. package/dist/checkout/p-C0PjLcMv.js.map +0 -1
  714. package/dist/checkout/p-C1xutNb4.js +0 -5
  715. package/dist/checkout/p-C1xutNb4.js.map +0 -1
  716. package/dist/checkout/p-C53feagD.js.map +0 -1
  717. package/dist/checkout/p-C6ZGuX6t.js +0 -11
  718. package/dist/checkout/p-C6ZGuX6t.js.map +0 -1
  719. package/dist/checkout/p-CG5IBVB8.js +0 -5
  720. package/dist/checkout/p-CG5IBVB8.js.map +0 -1
  721. package/dist/checkout/p-CH3Eg9_f.js.map +0 -1
  722. package/dist/checkout/p-CR1XUyil.js +0 -8
  723. package/dist/checkout/p-CR1XUyil.js.map +0 -1
  724. package/dist/checkout/p-CUNZzVQR.js +0 -5
  725. package/dist/checkout/p-CUNZzVQR.js.map +0 -1
  726. package/dist/checkout/p-CZs2_vz-.js +0 -23
  727. package/dist/checkout/p-CZs2_vz-.js.map +0 -1
  728. package/dist/checkout/p-CganX2z7.js +0 -5
  729. package/dist/checkout/p-CganX2z7.js.map +0 -1
  730. package/dist/checkout/p-CiN1CmnZ.js +0 -5
  731. package/dist/checkout/p-CiN1CmnZ.js.map +0 -1
  732. package/dist/checkout/p-D2NxOvQ8.js.map +0 -1
  733. package/dist/checkout/p-D4RIp70E.js.map +0 -1
  734. package/dist/checkout/p-DDV5ZZmu.js +0 -8
  735. package/dist/checkout/p-DDV5ZZmu.js.map +0 -1
  736. package/dist/checkout/p-DGWbKjms.js +0 -5
  737. package/dist/checkout/p-DGWbKjms.js.map +0 -1
  738. package/dist/checkout/p-DJztqcrH.js.map +0 -1
  739. package/dist/checkout/p-DKg_dYcq.js.map +0 -1
  740. package/dist/checkout/p-DQMrQygy.js +0 -17
  741. package/dist/checkout/p-DQMrQygy.js.map +0 -1
  742. package/dist/checkout/p-DiVJyqlX.js.map +0 -1
  743. package/dist/checkout/p-DokgqSDS.js +0 -8
  744. package/dist/checkout/p-DokgqSDS.js.map +0 -1
  745. package/dist/checkout/p-DpIGiwma.js +0 -5
  746. package/dist/checkout/p-DpIGiwma.js.map +0 -1
  747. package/dist/checkout/p-Dtdm8lKC.js.map +0 -1
  748. package/dist/checkout/p-LC8Dag8J.js +0 -5
  749. package/dist/checkout/p-LC8Dag8J.js.map +0 -1
  750. package/dist/checkout/p-PlOw-cTg.js +0 -2
  751. package/dist/checkout/p-PlOw-cTg.js.map +0 -1
  752. package/dist/checkout/p-ZjP4CjeZ.js.map +0 -1
  753. package/dist/checkout/p-a3af7718.entry.js +0 -2
  754. package/dist/checkout/p-a3af7718.entry.js.map +0 -1
  755. package/dist/checkout/p-a4e73261.entry.js +0 -2
  756. package/dist/checkout/p-a4e73261.entry.js.map +0 -1
  757. package/dist/checkout/p-a5f0602a.entry.js +0 -8
  758. package/dist/checkout/p-a5f0602a.entry.js.map +0 -1
  759. package/dist/checkout/p-ad8b3747.entry.js +0 -2
  760. package/dist/checkout/p-ad8b3747.entry.js.map +0 -1
  761. package/dist/checkout/p-ae1491f9.entry.js +0 -14
  762. package/dist/checkout/p-ae1491f9.entry.js.map +0 -1
  763. package/dist/checkout/p-b015f67f.entry.js +0 -2
  764. package/dist/checkout/p-b015f67f.entry.js.map +0 -1
  765. package/dist/checkout/p-b04f980c.entry.js +0 -2
  766. package/dist/checkout/p-b04f980c.entry.js.map +0 -1
  767. package/dist/checkout/p-b0b107e3.entry.js +0 -2
  768. package/dist/checkout/p-b0b107e3.entry.js.map +0 -1
  769. package/dist/checkout/p-b1db1d70.entry.js +0 -2
  770. package/dist/checkout/p-b1db1d70.entry.js.map +0 -1
  771. package/dist/checkout/p-b49b96cf.entry.js +0 -2
  772. package/dist/checkout/p-b49b96cf.entry.js.map +0 -1
  773. package/dist/checkout/p-b828e054.entry.js +0 -2
  774. package/dist/checkout/p-b828e054.entry.js.map +0 -1
  775. package/dist/checkout/p-b93a1bd6.entry.js +0 -2
  776. package/dist/checkout/p-b93a1bd6.entry.js.map +0 -1
  777. package/dist/checkout/p-bc55f859.entry.js +0 -2
  778. package/dist/checkout/p-bc55f859.entry.js.map +0 -1
  779. package/dist/checkout/p-befcbd0d.entry.js +0 -2
  780. package/dist/checkout/p-befcbd0d.entry.js.map +0 -1
  781. package/dist/checkout/p-c48a9448.entry.js +0 -2
  782. package/dist/checkout/p-c48a9448.entry.js.map +0 -1
  783. package/dist/checkout/p-c615397e.entry.js +0 -17
  784. package/dist/checkout/p-c615397e.entry.js.map +0 -1
  785. package/dist/checkout/p-cab41a25.entry.js +0 -62
  786. package/dist/checkout/p-cab41a25.entry.js.map +0 -1
  787. package/dist/checkout/p-cbf0100c.entry.js +0 -2
  788. package/dist/checkout/p-cbf0100c.entry.js.map +0 -1
  789. package/dist/checkout/p-cc591365.entry.js +0 -2
  790. package/dist/checkout/p-cc591365.entry.js.map +0 -1
  791. package/dist/checkout/p-cd8e7091.entry.js +0 -2
  792. package/dist/checkout/p-cd8e7091.entry.js.map +0 -1
  793. package/dist/checkout/p-d0d33188.entry.js +0 -2
  794. package/dist/checkout/p-d0d33188.entry.js.map +0 -1
  795. package/dist/checkout/p-d18cc858.entry.js +0 -2
  796. package/dist/checkout/p-d18cc858.entry.js.map +0 -1
  797. package/dist/checkout/p-d595c210.entry.js +0 -2
  798. package/dist/checkout/p-d595c210.entry.js.map +0 -1
  799. package/dist/checkout/p-d70b96db.entry.js +0 -2
  800. package/dist/checkout/p-d70b96db.entry.js.map +0 -1
  801. package/dist/checkout/p-d9a88167.entry.js +0 -2
  802. package/dist/checkout/p-d9a88167.entry.js.map +0 -1
  803. package/dist/checkout/p-e0fd6219.entry.js +0 -5
  804. package/dist/checkout/p-e0fd6219.entry.js.map +0 -1
  805. package/dist/checkout/p-eae47e9d.entry.js +0 -2
  806. package/dist/checkout/p-eae47e9d.entry.js.map +0 -1
  807. package/dist/checkout/p-ee1b72ba.entry.js +0 -2
  808. package/dist/checkout/p-ee1b72ba.entry.js.map +0 -1
  809. package/dist/checkout/p-eeb818b4.entry.js +0 -2
  810. package/dist/checkout/p-eeb818b4.entry.js.map +0 -1
  811. package/dist/checkout/p-f7dd0c42.entry.js +0 -2
  812. package/dist/checkout/p-f7dd0c42.entry.js.map +0 -1
  813. package/dist/checkout/p-f8f93e18.entry.js +0 -2
  814. package/dist/checkout/p-f8f93e18.entry.js.map +0 -1
  815. package/dist/checkout/p-hHmYLOfE.js.map +0 -1
  816. package/dist/checkout/p-ktzqax7n.js.map +0 -1
  817. package/dist/checkout/p-sObYyvOy.js.map +0 -1
  818. package/dist/checkout/p-syN-rRwJ.js +0 -6
  819. package/dist/checkout/p-syN-rRwJ.js.map +0 -1
  820. package/dist/cjs/animation-BtvIVax4.js.map +0 -1
  821. package/dist/cjs/app-globals-k1SzUfrO.js +0 -10
  822. package/dist/cjs/app-globals-k1SzUfrO.js.map +0 -1
  823. package/dist/cjs/ar-CbT6TM-Q.js.map +0 -1
  824. package/dist/cjs/capacitor-CqhugS19.js.map +0 -1
  825. package/dist/cjs/checkout.cjs.js.map +0 -1
  826. package/dist/cjs/compare-with-utils-JlLIkecm.js.map +0 -1
  827. package/dist/cjs/config-DUSoxbhv.js.map +0 -1
  828. package/dist/cjs/cubic-bezier-Bv3PvaRI.js.map +0 -1
  829. package/dist/cjs/data-CjHlPfPW.js.map +0 -1
  830. package/dist/cjs/dir-Br-7_bel.js.map +0 -1
  831. package/dist/cjs/focus-visible-Da2o6bTP.js.map +0 -1
  832. package/dist/cjs/framework-delegate-BoMy23Lz.js.map +0 -1
  833. package/dist/cjs/gesture-controller-CiprlUhH.js.map +0 -1
  834. package/dist/cjs/haptic-DCn793nz.js.map +0 -1
  835. package/dist/cjs/hardware-back-button-B1WYQg6m.js.map +0 -1
  836. package/dist/cjs/helpers-C5_WrFOI.js.map +0 -1
  837. package/dist/cjs/i18n-uGNv9SLK.js.map +0 -1
  838. package/dist/cjs/index-BPGqVQtz.js.map +0 -1
  839. package/dist/cjs/index-C-U8a6CY.js.map +0 -1
  840. package/dist/cjs/index-C0J_JwJB.js.map +0 -1
  841. package/dist/cjs/index-C3dD6F2g.js.map +0 -1
  842. package/dist/cjs/index-Calgykmz.js.map +0 -1
  843. package/dist/cjs/index-D3mJ1Cix.js.map +0 -1
  844. package/dist/cjs/index-DseJYF57.js.map +0 -1
  845. package/dist/cjs/index-DwdNl4cs.js.map +0 -1
  846. package/dist/cjs/index.cjs.js.map +0 -1
  847. package/dist/cjs/input-shims-DIBy37tN.js.map +0 -1
  848. package/dist/cjs/input.utils-IVavyQAZ.js.map +0 -1
  849. package/dist/cjs/ionic-global-BmDUlKDf.js.map +0 -1
  850. package/dist/cjs/ios.transition-ROXYV2qt.js.map +0 -1
  851. package/dist/cjs/keyboard-DuKzsHsS.js.map +0 -1
  852. package/dist/cjs/keyboard-controller-rH21qC_2.js.map +0 -1
  853. package/dist/cjs/keyboard-iyHR2ZF4.js.map +0 -1
  854. package/dist/cjs/loader.cjs.js.map +0 -1
  855. package/dist/cjs/lock-controller-58TZFRHC.js.map +0 -1
  856. package/dist/cjs/md.transition-NftVXx7D.js.map +0 -1
  857. package/dist/cjs/menu-toggle-util-CROwv_aL.js.map +0 -1
  858. package/dist/cjs/notch-controller-BzbZcc1N.js.map +0 -1
  859. package/dist/cjs/overlays-gyJEvMkB.js.map +0 -1
  860. package/dist/cjs/refresher.utils-DZrHDYQN.js.map +0 -1
  861. package/dist/cjs/spinner-configs-BN41iw42.js.map +0 -1
  862. package/dist/cjs/status-tap-B5QfH5DO.js.map +0 -1
  863. package/dist/cjs/swipe-back-BkT4j65k.js.map +0 -1
  864. package/dist/cjs/theme-DbHdw1Nx.js.map +0 -1
  865. package/dist/cjs/validity-ClNawnRU.js.map +0 -1
  866. package/dist/cjs/watch-options-DOFUPyuf.js.map +0 -1
  867. package/dist/collection/components/amwal-checkout-button/amwal-checkout-button.js.map +0 -1
  868. package/dist/collection/components/amwal-checkout-button/amwal-checkout-button.stories.js.map +0 -1
  869. package/dist/collection/components/amwal-installments-guide/amwal-installments-guide.js.map +0 -1
  870. package/dist/collection/components/amwal-installments-guide/amwal-installments-guide.stories.js.map +0 -1
  871. package/dist/collection/components/amwal-installments-timeline/amwal-installments-timeline.js.map +0 -1
  872. package/dist/collection/components/amwal-installments-timeline/amwal-installments-timeline.stories.js.map +0 -1
  873. package/dist/collection/components/amwal-pos/amwal-pos.js.map +0 -1
  874. package/dist/collection/components/amwal-pos/amwal-pos.stories.js.map +0 -1
  875. package/dist/collection/components/amwal-widget/amwal-widget-modal.js.map +0 -1
  876. package/dist/collection/components/amwal-widget/amwal-widget.js.map +0 -1
  877. package/dist/collection/components/amwal-widget/amwal-widget.stories.js.map +0 -1
  878. package/dist/collection/lang/i18n.js.map +0 -1
  879. package/dist/components/amwal-checkout-button.js.map +0 -1
  880. package/dist/components/amwal-installments-guide.js.map +0 -1
  881. package/dist/components/amwal-installments-timeline.js.map +0 -1
  882. package/dist/components/amwal-pos.js.map +0 -1
  883. package/dist/components/amwal-widget-modal.js.map +0 -1
  884. package/dist/components/amwal-widget.js.map +0 -1
  885. package/dist/components/index.js.map +0 -1
  886. package/dist/components/ion-accordion-group.js.map +0 -1
  887. package/dist/components/ion-accordion.js.map +0 -1
  888. package/dist/components/ion-action-sheet.js.map +0 -1
  889. package/dist/components/ion-alert.js.map +0 -1
  890. package/dist/components/ion-app.js.map +0 -1
  891. package/dist/components/ion-avatar.js.map +0 -1
  892. package/dist/components/ion-back-button.js.map +0 -1
  893. package/dist/components/ion-backdrop.js.map +0 -1
  894. package/dist/components/ion-badge.js.map +0 -1
  895. package/dist/components/ion-breadcrumb.js.map +0 -1
  896. package/dist/components/ion-breadcrumbs.js.map +0 -1
  897. package/dist/components/ion-button.js.map +0 -1
  898. package/dist/components/ion-buttons.js.map +0 -1
  899. package/dist/components/ion-card-content.js.map +0 -1
  900. package/dist/components/ion-card-header.js.map +0 -1
  901. package/dist/components/ion-card-subtitle.js.map +0 -1
  902. package/dist/components/ion-card-title.js.map +0 -1
  903. package/dist/components/ion-card.js.map +0 -1
  904. package/dist/components/ion-checkbox.js.map +0 -1
  905. package/dist/components/ion-chip.js.map +0 -1
  906. package/dist/components/ion-col.js.map +0 -1
  907. package/dist/components/ion-content.js.map +0 -1
  908. package/dist/components/ion-datetime-button.js.map +0 -1
  909. package/dist/components/ion-datetime.js.map +0 -1
  910. package/dist/components/ion-fab-button.js.map +0 -1
  911. package/dist/components/ion-fab-list.js.map +0 -1
  912. package/dist/components/ion-fab.js.map +0 -1
  913. package/dist/components/ion-footer.js.map +0 -1
  914. package/dist/components/ion-grid.js.map +0 -1
  915. package/dist/components/ion-header.js.map +0 -1
  916. package/dist/components/ion-icon.js.map +0 -1
  917. package/dist/components/ion-img.js.map +0 -1
  918. package/dist/components/ion-infinite-scroll-content.js.map +0 -1
  919. package/dist/components/ion-infinite-scroll.js.map +0 -1
  920. package/dist/components/ion-input-otp.js.map +0 -1
  921. package/dist/components/ion-input-password-toggle.js.map +0 -1
  922. package/dist/components/ion-input.js.map +0 -1
  923. package/dist/components/ion-item-divider.js.map +0 -1
  924. package/dist/components/ion-item-group.js.map +0 -1
  925. package/dist/components/ion-item-option.js.map +0 -1
  926. package/dist/components/ion-item-options.js.map +0 -1
  927. package/dist/components/ion-item-sliding.js.map +0 -1
  928. package/dist/components/ion-item.js.map +0 -1
  929. package/dist/components/ion-label.js.map +0 -1
  930. package/dist/components/ion-list-header.js.map +0 -1
  931. package/dist/components/ion-list.js.map +0 -1
  932. package/dist/components/ion-loading.js.map +0 -1
  933. package/dist/components/ion-menu-button.js.map +0 -1
  934. package/dist/components/ion-menu-toggle.js.map +0 -1
  935. package/dist/components/ion-menu.js.map +0 -1
  936. package/dist/components/ion-modal.js.map +0 -1
  937. package/dist/components/ion-nav-link.js.map +0 -1
  938. package/dist/components/ion-nav.js.map +0 -1
  939. package/dist/components/ion-note.js.map +0 -1
  940. package/dist/components/ion-picker-column-option.js.map +0 -1
  941. package/dist/components/ion-picker-column.js.map +0 -1
  942. package/dist/components/ion-picker-legacy-column.js.map +0 -1
  943. package/dist/components/ion-picker-legacy.js.map +0 -1
  944. package/dist/components/ion-picker.js.map +0 -1
  945. package/dist/components/ion-popover.js.map +0 -1
  946. package/dist/components/ion-progress-bar.js.map +0 -1
  947. package/dist/components/ion-radio-group.js.map +0 -1
  948. package/dist/components/ion-radio.js.map +0 -1
  949. package/dist/components/ion-range.js.map +0 -1
  950. package/dist/components/ion-refresher-content.js.map +0 -1
  951. package/dist/components/ion-refresher.js.map +0 -1
  952. package/dist/components/ion-reorder-group.js.map +0 -1
  953. package/dist/components/ion-reorder.js.map +0 -1
  954. package/dist/components/ion-ripple-effect.js.map +0 -1
  955. package/dist/components/ion-route-redirect.js.map +0 -1
  956. package/dist/components/ion-route.js.map +0 -1
  957. package/dist/components/ion-router-link.js.map +0 -1
  958. package/dist/components/ion-router-outlet.js.map +0 -1
  959. package/dist/components/ion-router.js.map +0 -1
  960. package/dist/components/ion-row.js.map +0 -1
  961. package/dist/components/ion-searchbar.js.map +0 -1
  962. package/dist/components/ion-segment-button.js.map +0 -1
  963. package/dist/components/ion-segment-content.js.map +0 -1
  964. package/dist/components/ion-segment-view.js.map +0 -1
  965. package/dist/components/ion-segment.js.map +0 -1
  966. package/dist/components/ion-select-modal.js.map +0 -1
  967. package/dist/components/ion-select-option.js.map +0 -1
  968. package/dist/components/ion-select-popover.js.map +0 -1
  969. package/dist/components/ion-select.js.map +0 -1
  970. package/dist/components/ion-skeleton-text.js.map +0 -1
  971. package/dist/components/ion-spinner.js.map +0 -1
  972. package/dist/components/ion-split-pane.js.map +0 -1
  973. package/dist/components/ion-tab-bar.js.map +0 -1
  974. package/dist/components/ion-tab-button.js.map +0 -1
  975. package/dist/components/ion-tab.js.map +0 -1
  976. package/dist/components/ion-tabs.js.map +0 -1
  977. package/dist/components/ion-text.js.map +0 -1
  978. package/dist/components/ion-textarea.js.map +0 -1
  979. package/dist/components/ion-thumbnail.js.map +0 -1
  980. package/dist/components/ion-title.js.map +0 -1
  981. package/dist/components/ion-toast.js.map +0 -1
  982. package/dist/components/ion-toggle.js.map +0 -1
  983. package/dist/components/ion-toolbar.js.map +0 -1
  984. package/dist/components/p-2HMA6Bk9.js +0 -199
  985. package/dist/components/p-2HMA6Bk9.js.map +0 -1
  986. package/dist/components/p-5oWdAaAi.js +0 -192
  987. package/dist/components/p-5oWdAaAi.js.map +0 -1
  988. package/dist/components/p-9R9WjA6V.js.map +0 -1
  989. package/dist/components/p-B-hirT0v.js.map +0 -1
  990. package/dist/components/p-B2gn37E3.js +0 -71
  991. package/dist/components/p-B2gn37E3.js.map +0 -1
  992. package/dist/components/p-B3WORC1a.js.map +0 -1
  993. package/dist/components/p-BHR1qL-B.js.map +0 -1
  994. package/dist/components/p-BLZx8ena.js +0 -648
  995. package/dist/components/p-BLZx8ena.js.map +0 -1
  996. package/dist/components/p-BPfqVyXF.js +0 -131
  997. package/dist/components/p-BPfqVyXF.js.map +0 -1
  998. package/dist/components/p-BRke83qH.js +0 -59
  999. package/dist/components/p-BRke83qH.js.map +0 -1
  1000. package/dist/components/p-BTEOs1at.js.map +0 -1
  1001. package/dist/components/p-BZwvoMAR.js +0 -42
  1002. package/dist/components/p-BZwvoMAR.js.map +0 -1
  1003. package/dist/components/p-BeDf61kY.js +0 -427
  1004. package/dist/components/p-BeDf61kY.js.map +0 -1
  1005. package/dist/components/p-BfUU8qUe.js +0 -42
  1006. package/dist/components/p-BfUU8qUe.js.map +0 -1
  1007. package/dist/components/p-BgOwfqIY.js.map +0 -1
  1008. package/dist/components/p-BhiX6sCr.js +0 -826
  1009. package/dist/components/p-BhiX6sCr.js.map +0 -1
  1010. package/dist/components/p-Binl0XAs.js +0 -576
  1011. package/dist/components/p-Binl0XAs.js.map +0 -1
  1012. package/dist/components/p-Bm5dgzDt.js +0 -118
  1013. package/dist/components/p-Bm5dgzDt.js.map +0 -1
  1014. package/dist/components/p-BmVRXR1y.js.map +0 -1
  1015. package/dist/components/p-BqMnDwQG.js +0 -194
  1016. package/dist/components/p-BqMnDwQG.js.map +0 -1
  1017. package/dist/components/p-BxP8TDfL.js.map +0 -1
  1018. package/dist/components/p-Byqjk7Y-.js +0 -423
  1019. package/dist/components/p-Byqjk7Y-.js.map +0 -1
  1020. package/dist/components/p-C03M5ZSM.js.map +0 -1
  1021. package/dist/components/p-C53feagD.js.map +0 -1
  1022. package/dist/components/p-C9H5b4Sp.js +0 -156
  1023. package/dist/components/p-C9H5b4Sp.js.map +0 -1
  1024. package/dist/components/p-CBE-1aIM.js +0 -342
  1025. package/dist/components/p-CBE-1aIM.js.map +0 -1
  1026. package/dist/components/p-CH3Eg9_f.js.map +0 -1
  1027. package/dist/components/p-CKAwPEA1.js.map +0 -1
  1028. package/dist/components/p-CQgmejdy.js +0 -103
  1029. package/dist/components/p-CQgmejdy.js.map +0 -1
  1030. package/dist/components/p-CS0AfHCU.js +0 -321
  1031. package/dist/components/p-CS0AfHCU.js.map +0 -1
  1032. package/dist/components/p-CTM7uu-W.js +0 -1656
  1033. package/dist/components/p-CTM7uu-W.js.map +0 -1
  1034. package/dist/components/p-Ccgs7j-d.js +0 -229
  1035. package/dist/components/p-Ccgs7j-d.js.map +0 -1
  1036. package/dist/components/p-ClEjw1rH.js +0 -235
  1037. package/dist/components/p-ClEjw1rH.js.map +0 -1
  1038. package/dist/components/p-CqzV2Pip.js +0 -459
  1039. package/dist/components/p-CqzV2Pip.js.map +0 -1
  1040. package/dist/components/p-D-0nEl_9.js +0 -75
  1041. package/dist/components/p-D-0nEl_9.js.map +0 -1
  1042. package/dist/components/p-D2NxOvQ8.js.map +0 -1
  1043. package/dist/components/p-D86aKvUI.js +0 -305
  1044. package/dist/components/p-D86aKvUI.js.map +0 -1
  1045. package/dist/components/p-DBeEVQxe.js +0 -2542
  1046. package/dist/components/p-DBeEVQxe.js.map +0 -1
  1047. package/dist/components/p-DEAe7QEa.js +0 -152
  1048. package/dist/components/p-DEAe7QEa.js.map +0 -1
  1049. package/dist/components/p-DFwbATZZ.js +0 -92
  1050. package/dist/components/p-DFwbATZZ.js.map +0 -1
  1051. package/dist/components/p-DG3y4Paj.js.map +0 -1
  1052. package/dist/components/p-DJztqcrH.js.map +0 -1
  1053. package/dist/components/p-DKTjDEAE.js +0 -477
  1054. package/dist/components/p-DKTjDEAE.js.map +0 -1
  1055. package/dist/components/p-DKg_dYcq.js.map +0 -1
  1056. package/dist/components/p-DQU52fBY.js +0 -913
  1057. package/dist/components/p-DQU52fBY.js.map +0 -1
  1058. package/dist/components/p-DXxzBbWg.js +0 -290
  1059. package/dist/components/p-DXxzBbWg.js.map +0 -1
  1060. package/dist/components/p-DiBX36NE.js +0 -73
  1061. package/dist/components/p-DiBX36NE.js.map +0 -1
  1062. package/dist/components/p-DiVJyqlX.js.map +0 -1
  1063. package/dist/components/p-DpZBHf1M.js +0 -598
  1064. package/dist/components/p-DpZBHf1M.js.map +0 -1
  1065. package/dist/components/p-DskTArru.js +0 -112
  1066. package/dist/components/p-DskTArru.js.map +0 -1
  1067. package/dist/components/p-Dtdm8lKC.js.map +0 -1
  1068. package/dist/components/p-DuZ7hY1a.js.map +0 -1
  1069. package/dist/components/p-Dw849bTq.js +0 -305
  1070. package/dist/components/p-Dw849bTq.js.map +0 -1
  1071. package/dist/components/p-DwPO21ol.js +0 -153
  1072. package/dist/components/p-DwPO21ol.js.map +0 -1
  1073. package/dist/components/p-JTTQkHB9.js +0 -139
  1074. package/dist/components/p-JTTQkHB9.js.map +0 -1
  1075. package/dist/components/p-L_Psvpkz.js +0 -222
  1076. package/dist/components/p-L_Psvpkz.js.map +0 -1
  1077. package/dist/components/p-Vjh8RfHt.js +0 -264
  1078. package/dist/components/p-Vjh8RfHt.js.map +0 -1
  1079. package/dist/components/p-XkH8uZ6p.js +0 -624
  1080. package/dist/components/p-XkH8uZ6p.js.map +0 -1
  1081. package/dist/components/p-YUfYVoix.js +0 -170
  1082. package/dist/components/p-YUfYVoix.js.map +0 -1
  1083. package/dist/components/p-ZjP4CjeZ.js.map +0 -1
  1084. package/dist/components/p-_OXvEtk1.js +0 -501
  1085. package/dist/components/p-_OXvEtk1.js.map +0 -1
  1086. package/dist/components/p-abe_AkUW.js +0 -1982
  1087. package/dist/components/p-abe_AkUW.js.map +0 -1
  1088. package/dist/components/p-cCiT8ucm.js +0 -1519
  1089. package/dist/components/p-cCiT8ucm.js.map +0 -1
  1090. package/dist/components/p-fROlYcE4.js +0 -380
  1091. package/dist/components/p-fROlYcE4.js.map +0 -1
  1092. package/dist/components/p-hHmYLOfE.js.map +0 -1
  1093. package/dist/components/p-hoAPVm-t.js +0 -354
  1094. package/dist/components/p-hoAPVm-t.js.map +0 -1
  1095. package/dist/components/p-idUkgr5D.js +0 -81
  1096. package/dist/components/p-idUkgr5D.js.map +0 -1
  1097. package/dist/components/p-jWFeuAB5.js.map +0 -1
  1098. package/dist/components/p-o42LW1q1.js +0 -70
  1099. package/dist/components/p-o42LW1q1.js.map +0 -1
  1100. package/dist/components/p-oO2T0VL-.js +0 -50
  1101. package/dist/components/p-oO2T0VL-.js.map +0 -1
  1102. package/dist/components/p-uTKLFBBy.js.map +0 -1
  1103. package/dist/esm/amwal-installments-guide.entry.js.map +0 -1
  1104. package/dist/esm/amwal-pos.entry.js.map +0 -1
  1105. package/dist/esm/amwal-widget-modal.entry.js.map +0 -1
  1106. package/dist/esm/amwal-widget.entry.js.map +0 -1
  1107. package/dist/esm/animation-BU4GfyJQ.js.map +0 -1
  1108. package/dist/esm/app-globals-DiUHe8Ib.js +0 -8
  1109. package/dist/esm/app-globals-DiUHe8Ib.js.map +0 -1
  1110. package/dist/esm/ar-B3WORC1a.js.map +0 -1
  1111. package/dist/esm/capacitor-CG3xQUND.js.map +0 -1
  1112. package/dist/esm/checkout.js.map +0 -1
  1113. package/dist/esm/compare-with-utils-sObYyvOy.js.map +0 -1
  1114. package/dist/esm/config-V6Cb8IlP.js +0 -176
  1115. package/dist/esm/config-V6Cb8IlP.js.map +0 -1
  1116. package/dist/esm/cubic-bezier-hHmYLOfE.js.map +0 -1
  1117. package/dist/esm/data-BKjeovce.js.map +0 -1
  1118. package/dist/esm/dir-C53feagD.js.map +0 -1
  1119. package/dist/esm/focus-visible-BmVRXR1y.js.map +0 -1
  1120. package/dist/esm/framework-delegate-CaqRmNBr.js +0 -143
  1121. package/dist/esm/framework-delegate-CaqRmNBr.js.map +0 -1
  1122. package/dist/esm/gesture-controller-BTEOs1at.js.map +0 -1
  1123. package/dist/esm/haptic-C3ucbArX.js.map +0 -1
  1124. package/dist/esm/hardware-back-button-Nry6hGkN.js.map +0 -1
  1125. package/dist/esm/helpers-uLqs1Gao.js.map +0 -1
  1126. package/dist/esm/i18n-C_AfxZ5D.js.map +0 -1
  1127. package/dist/esm/index-BmWsedvI.js.map +0 -1
  1128. package/dist/esm/index-BmlsNFZH.js.map +0 -1
  1129. package/dist/esm/index-BxybgBKJ.js.map +0 -1
  1130. package/dist/esm/index-CCWf5GQy.js.map +0 -1
  1131. package/dist/esm/index-CF4QYFB3.js.map +0 -1
  1132. package/dist/esm/index-Ct7Rjd6t.js.map +0 -1
  1133. package/dist/esm/index-ZjP4CjeZ.js.map +0 -1
  1134. package/dist/esm/index-ffNEk55Y.js.map +0 -1
  1135. package/dist/esm/index.js.map +0 -1
  1136. package/dist/esm/input-shims-DkzcZwWm.js.map +0 -1
  1137. package/dist/esm/input.utils-C_QovwBX.js.map +0 -1
  1138. package/dist/esm/ion-accordion-group.entry.js.map +0 -1
  1139. package/dist/esm/ion-accordion.entry.js.map +0 -1
  1140. package/dist/esm/ion-app.entry.js.map +0 -1
  1141. package/dist/esm/ion-avatar.entry.js.map +0 -1
  1142. package/dist/esm/ion-back-button.entry.js.map +0 -1
  1143. package/dist/esm/ion-backdrop.entry.js.map +0 -1
  1144. package/dist/esm/ion-badge.entry.js.map +0 -1
  1145. package/dist/esm/ion-breadcrumb.entry.js.map +0 -1
  1146. package/dist/esm/ion-breadcrumbs.entry.js.map +0 -1
  1147. package/dist/esm/ion-card-content.entry.js.map +0 -1
  1148. package/dist/esm/ion-card-header.entry.js.map +0 -1
  1149. package/dist/esm/ion-card-subtitle.entry.js.map +0 -1
  1150. package/dist/esm/ion-card-title.entry.js.map +0 -1
  1151. package/dist/esm/ion-card.entry.js.map +0 -1
  1152. package/dist/esm/ion-chip.entry.js.map +0 -1
  1153. package/dist/esm/ion-col.entry.js.map +0 -1
  1154. package/dist/esm/ion-datetime-button.entry.js.map +0 -1
  1155. package/dist/esm/ion-datetime.entry.js.map +0 -1
  1156. package/dist/esm/ion-fab-button.entry.js.map +0 -1
  1157. package/dist/esm/ion-fab-list.entry.js.map +0 -1
  1158. package/dist/esm/ion-fab.entry.js.map +0 -1
  1159. package/dist/esm/ion-footer.entry.js.map +0 -1
  1160. package/dist/esm/ion-grid.entry.js.map +0 -1
  1161. package/dist/esm/ion-icon.entry.js.map +0 -1
  1162. package/dist/esm/ion-img.entry.js.map +0 -1
  1163. package/dist/esm/ion-infinite-scroll-content.entry.js.map +0 -1
  1164. package/dist/esm/ion-infinite-scroll.entry.js.map +0 -1
  1165. package/dist/esm/ion-input-otp.entry.js.map +0 -1
  1166. package/dist/esm/ion-input-password-toggle.entry.js.map +0 -1
  1167. package/dist/esm/ion-input.entry.js.map +0 -1
  1168. package/dist/esm/ion-item-divider.entry.js.map +0 -1
  1169. package/dist/esm/ion-item-group.entry.js.map +0 -1
  1170. package/dist/esm/ion-item-option.entry.js.map +0 -1
  1171. package/dist/esm/ion-item-options.entry.js.map +0 -1
  1172. package/dist/esm/ion-item-sliding.entry.js.map +0 -1
  1173. package/dist/esm/ion-loading.entry.js.map +0 -1
  1174. package/dist/esm/ion-menu-button.entry.js.map +0 -1
  1175. package/dist/esm/ion-menu-toggle.entry.js.map +0 -1
  1176. package/dist/esm/ion-menu.entry.js.map +0 -1
  1177. package/dist/esm/ion-nav-link.entry.js.map +0 -1
  1178. package/dist/esm/ion-nav.entry.js.map +0 -1
  1179. package/dist/esm/ion-note.entry.js.map +0 -1
  1180. package/dist/esm/ion-picker-legacy-column.entry.js.map +0 -1
  1181. package/dist/esm/ion-picker-legacy.entry.js.map +0 -1
  1182. package/dist/esm/ion-popover.entry.js.map +0 -1
  1183. package/dist/esm/ion-progress-bar.entry.js.map +0 -1
  1184. package/dist/esm/ion-range.entry.js.map +0 -1
  1185. package/dist/esm/ion-refresher-content.entry.js.map +0 -1
  1186. package/dist/esm/ion-refresher.entry.js.map +0 -1
  1187. package/dist/esm/ion-reorder-group.entry.js.map +0 -1
  1188. package/dist/esm/ion-reorder.entry.js.map +0 -1
  1189. package/dist/esm/ion-route-redirect.entry.js.map +0 -1
  1190. package/dist/esm/ion-route.entry.js.map +0 -1
  1191. package/dist/esm/ion-router-link.entry.js.map +0 -1
  1192. package/dist/esm/ion-router-outlet.entry.js.map +0 -1
  1193. package/dist/esm/ion-router.entry.js.map +0 -1
  1194. package/dist/esm/ion-row.entry.js.map +0 -1
  1195. package/dist/esm/ion-searchbar.entry.js.map +0 -1
  1196. package/dist/esm/ion-segment-button.entry.js.map +0 -1
  1197. package/dist/esm/ion-segment-content.entry.js.map +0 -1
  1198. package/dist/esm/ion-segment-view.entry.js.map +0 -1
  1199. package/dist/esm/ion-segment.entry.js.map +0 -1
  1200. package/dist/esm/ion-select-option.entry.js.map +0 -1
  1201. package/dist/esm/ion-select.entry.js.map +0 -1
  1202. package/dist/esm/ion-skeleton-text.entry.js.map +0 -1
  1203. package/dist/esm/ion-spinner.entry.js.map +0 -1
  1204. package/dist/esm/ion-split-pane.entry.js.map +0 -1
  1205. package/dist/esm/ion-tab-bar.entry.js.map +0 -1
  1206. package/dist/esm/ion-tab-button.entry.js.map +0 -1
  1207. package/dist/esm/ion-tab.entry.js.map +0 -1
  1208. package/dist/esm/ion-tabs.entry.js.map +0 -1
  1209. package/dist/esm/ion-textarea.entry.js.map +0 -1
  1210. package/dist/esm/ion-thumbnail.entry.js.map +0 -1
  1211. package/dist/esm/ion-toast.entry.js.map +0 -1
  1212. package/dist/esm/ion-toggle.entry.js.map +0 -1
  1213. package/dist/esm/ionic-global-C8oJToxs.js.map +0 -1
  1214. package/dist/esm/ios.transition-BFolpAgy.js +0 -681
  1215. package/dist/esm/ios.transition-BFolpAgy.js.map +0 -1
  1216. package/dist/esm/keyboard-DcbqYXj5.js.map +0 -1
  1217. package/dist/esm/keyboard-DgiyREKb.js.map +0 -1
  1218. package/dist/esm/keyboard-controller-CqGCg8tB.js.map +0 -1
  1219. package/dist/esm/loader.js.map +0 -1
  1220. package/dist/esm/lock-controller-B-hirT0v.js.map +0 -1
  1221. package/dist/esm/md.transition-e1BRt2V0.js +0 -60
  1222. package/dist/esm/md.transition-e1BRt2V0.js.map +0 -1
  1223. package/dist/esm/menu-toggle-util-CWs_NYdI.js +0 -15
  1224. package/dist/esm/menu-toggle-util-CWs_NYdI.js.map +0 -1
  1225. package/dist/esm/notch-controller-DCfp6pBF.js.map +0 -1
  1226. package/dist/esm/overlays-BDbqv7G-.js.map +0 -1
  1227. package/dist/esm/refresher.utils-DOS2Tyfp.js.map +0 -1
  1228. package/dist/esm/spinner-configs-D4RIp70E.js.map +0 -1
  1229. package/dist/esm/status-tap-BTOXpL_S.js.map +0 -1
  1230. package/dist/esm/swipe-back-CetNYyPP.js.map +0 -1
  1231. package/dist/esm/theme-DiVJyqlX.js.map +0 -1
  1232. package/dist/esm/validity-DJztqcrH.js.map +0 -1
  1233. package/dist/esm/watch-options-Dtdm8lKC.js.map +0 -1
@@ -1,959 +1,7 @@
1
- import { f as printIonWarning, p as proxyCustomElement, H, c as createEvent, d as config, j as printIonError, h, e as Host, t as transformTag } from './p-abe_AkUW.js';
2
- import { E as ENABLE_HTML_CONTENT_DEFAULT, s as sanitizeDOMString } from './p-uTKLFBBy.js';
3
- import { g as getElementRoot, r as raf } from './p-CBE-1aIM.js';
4
- import { c as createLockController } from './p-B-hirT0v.js';
5
- import { O as OVERLAY_GESTURE_PRIORITY, c as createDelegateController, a as createTriggerController, i as isCancel, b as prepareOverlay, f as setOverlayId, p as present, d as dismiss, e as eventMethod, s as safeCall, G as GESTURE } from './p-DQU52fBY.js';
6
- import { c as createColorClasses, g as getClassMap } from './p-DiVJyqlX.js';
7
- import { g as getIonMode } from './p-DEAe7QEa.js';
8
- import { c as createAnimation } from './p-BhiX6sCr.js';
9
- import { w as win } from './p-ZjP4CjeZ.js';
10
- import { createGesture } from './p-CH3Eg9_f.js';
11
- import { d as defineCustomElement$3 } from './p-CqzV2Pip.js';
12
- import { d as defineCustomElement$2 } from './p-DskTArru.js';
13
-
1
+ import{f as t,p as o,H as i,c as e,d as a,j as n,h as s,e as r,t as d}from"./p-DQAmWfm1.js";import{E as l,s as p}from"./p-BgihAYme.js";import{g as c,r as h}from"./p-BHQVufb8.js";import{c as u}from"./p-B-hirT0v.js";import{O as m,c as b,a as g,i as f,b as x,f as v,p as w,d as y,e as k,s as D,G as C}from"./p-Dzmy2KMF.js";import{c as j,g as T}from"./p-DiVJyqlX.js";import{g as Y}from"./p-DexEOBMU.js";import{c as z}from"./p-B8CJYukv.js";import{w as O}from"./p-ZjP4CjeZ.js";import{createGesture as $}from"./p-CH3Eg9_f.js";import{d as E}from"./p-wRbQpgeV.js";import{d as M}from"./p-CQOdiSAf.js";
14
2
  /*!
15
3
  * (C) Ionic http://ionicframework.com - MIT License
16
- */
17
- /**
18
- * Calculate the CSS top and bottom position of the toast, to be used
19
- * as starting points for the animation keyframes.
20
- *
21
- * The default animations for both MD and iOS
22
- * use translateY, which calculates from the
23
- * top edge of the screen. This behavior impacts
24
- * how we compute the offset when a toast has
25
- * position='bottom' since we need to calculate from
26
- * the bottom edge of the screen instead.
27
- *
28
- * @param position The value of the toast's position prop.
29
- * @param positionAnchor The element the toast should be anchored to,
30
- * if applicable.
31
- * @param mode The toast component's mode (md, ios, etc).
32
- * @param toast A reference to the toast element itself.
33
- */
34
- function getAnimationPosition(position, positionAnchor, mode, toast) {
35
- /**
36
- * Start with a predefined offset from the edge the toast will be
37
- * positioned relative to, whether on the screen or anchor element.
38
- */
39
- let offset;
40
- if (mode === 'md') {
41
- offset = position === 'top' ? 8 : -8;
42
- }
43
- else {
44
- offset = position === 'top' ? 10 : -10;
45
- }
46
- /**
47
- * If positionAnchor is defined, add in the distance from the target
48
- * screen edge to the target anchor edge. For position="top", the
49
- * bottom anchor edge is targeted. For position="bottom", the top
50
- * anchor edge is targeted.
51
- */
52
- if (positionAnchor && win) {
53
- warnIfAnchorIsHidden(positionAnchor, toast);
54
- const box = positionAnchor.getBoundingClientRect();
55
- if (position === 'top') {
56
- offset += box.bottom;
57
- }
58
- else if (position === 'bottom') {
59
- /**
60
- * Just box.top is the distance from the top edge of the screen
61
- * to the top edge of the anchor. We want to calculate from the
62
- * bottom edge of the screen instead.
63
- */
64
- offset -= win.innerHeight - box.top;
65
- }
66
- /**
67
- * We don't include safe area here because that should already be
68
- * accounted for when checking the position of the anchor.
69
- */
70
- return {
71
- top: `${offset}px`,
72
- bottom: `${offset}px`,
73
- };
74
- }
75
- else {
76
- return {
77
- top: `calc(${offset}px + var(--ion-safe-area-top, 0px))`,
78
- bottom: `calc(${offset}px - var(--ion-safe-area-bottom, 0px))`,
79
- };
80
- }
81
- }
82
- /**
83
- * If the anchor element is hidden, getBoundingClientRect()
84
- * will return all 0s for it, which can cause unexpected
85
- * results in the position calculation when animating.
86
- */
87
- function warnIfAnchorIsHidden(positionAnchor, toast) {
88
- if (positionAnchor.offsetParent === null) {
89
- printIonWarning('[ion-toast] - The positionAnchor element for ion-toast was found in the DOM, but appears to be hidden. This may lead to unexpected positioning of the toast.', toast);
90
- }
91
- }
92
- /**
93
- * Returns the top offset required to place
94
- * the toast in the middle of the screen.
95
- * Only needed when position="toast".
96
- * @param toastHeight - The height of the ion-toast element
97
- * @param wrapperHeight - The height of the .toast-wrapper element
98
- * inside the toast's shadow root.
99
- */
100
- const getOffsetForMiddlePosition = (toastHeight, wrapperHeight) => {
101
- return Math.floor(toastHeight / 2 - wrapperHeight / 2);
102
- };
103
-
4
+ */const A=(t,o)=>Math.floor(t/2-o/2),B=(t,o)=>{const i=z(),e=z(),{position:a,top:n,bottom:s}=o,r=c(t).querySelector(".toast-wrapper");switch(e.addElement(r),a){case"top":e.fromTo("transform","translateY(-100%)",`translateY(${n})`);break;case"middle":const o=A(t.clientHeight,r.clientHeight);r.style.top=o+"px",e.fromTo("opacity",.01,1);break;default:e.fromTo("transform","translateY(100%)",`translateY(${s})`)}return i.easing("cubic-bezier(.155,1.105,.295,1.12)").duration(400).addAnimation(e)},H=(t,o)=>{const i=z(),e=z(),{position:a,top:n,bottom:s}=o,r=c(t).querySelector(".toast-wrapper");switch(e.addElement(r),a){case"top":e.fromTo("transform",`translateY(${n})`,"translateY(-100%)");break;case"middle":e.fromTo("opacity",.99,0);break;default:e.fromTo("transform",`translateY(${s})`,"translateY(100%)")}return i.easing("cubic-bezier(.36,.66,.04,1)").duration(300).addAnimation(e)},I=(t,o)=>{const i=z(),e=z(),{position:a,top:n,bottom:s}=o,r=c(t).querySelector(".toast-wrapper");switch(e.addElement(r),a){case"top":r.style.setProperty("transform",`translateY(${n})`),e.fromTo("opacity",.01,1);break;case"middle":const o=A(t.clientHeight,r.clientHeight);r.style.top=o+"px",e.fromTo("opacity",.01,1);break;default:r.style.setProperty("transform",`translateY(${s})`),e.fromTo("opacity",.01,1)}return i.easing("cubic-bezier(.36,.66,.04,1)").duration(400).addAnimation(e)},P=t=>{const o=z(),i=z(),e=c(t).querySelector(".toast-wrapper");return i.addElement(e).fromTo("opacity",.99,0),o.easing("cubic-bezier(.36,.66,.04,1)").duration(300).addAnimation(i)},W=o(class extends i{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.didPresent=e(this,"ionToastDidPresent",7),this.willPresent=e(this,"ionToastWillPresent",7),this.willDismiss=e(this,"ionToastWillDismiss",7),this.didDismiss=e(this,"ionToastDidDismiss",7),this.didPresentShorthand=e(this,"didPresent",7),this.willPresentShorthand=e(this,"willPresent",7),this.willDismissShorthand=e(this,"willDismiss",7),this.didDismissShorthand=e(this,"didDismiss",7),this.delegateController=b(this),this.lockController=u(),this.triggerController=g(),this.customHTMLEnabled=a.get("innerHTMLTemplatesEnabled",l),this.presented=!1,this.revealContentToScreenReader=!1,this.hasController=!1,this.duration=a.getNumber("toastDuration",0),this.layout="baseline",this.keyboardClose=!1,this.position="bottom",this.translucent=!1,this.animated=!0,this.isOpen=!1,this.dispatchCancelHandler=t=>{if(f(t.detail.role)){const t=this.getButtons().find((t=>"cancel"===t.role));this.callButtonHandler(t)}},this.createSwipeGesture=t=>{const o=this.gesture=((t,o,i)=>{const e=c(t).querySelector(".toast-wrapper"),a=t.clientHeight,n=e.getBoundingClientRect();let s=0;const r="middle"===t.position?.5:0,d="top"===t.position?-1:1,l=A(a,n.height),p=[{offset:0,transform:`translateY(-${l+n.height}px)`},{offset:.5,transform:"translateY(0px)"},{offset:1,transform:`translateY(${l+n.height}px)`}],h=z("toast-swipe-to-dismiss-animation").addElement(e).duration(100);switch(t.position){case"middle":s=a+n.height,h.keyframes(p),h.progressStart(!0,.5);break;case"top":s=n.bottom,h.keyframes([{offset:0,transform:`translateY(${o.top})`},{offset:1,transform:"translateY(-100%)"}]),h.progressStart(!0,0);break;default:s=a-n.top,h.keyframes([{offset:0,transform:`translateY(${o.bottom})`},{offset:1,transform:"translateY(100%)"}]),h.progressStart(!0,0)}const u=t=>t*d/s,b=$({el:e,gestureName:"toast-swipe-to-dismiss",gesturePriority:m,direction:"y",onMove:t=>{const o=r+u(t.deltaY);h.progressStep(o)},onEnd:o=>{const a=o.velocityY,n=(o.deltaY+1e3*a)/s*d;b.enable(!1);let r=!0,c=1,m=0,g=0;if("middle"===t.position){r=n>=.25||n<=-.25,c=1,m=0;const t=e.getBoundingClientRect(),i=t.top-l,a=(l+t.height)*(o.deltaY<=0?-1:1);h.keyframes([{offset:0,transform:`translateY(${i+"px"})`},{offset:1,transform:`translateY(${r?a+"px":"0px"})`}]),g=a-i}else r=n>=.5,c=r?1:0,m=u(o.deltaY),g=(r?1-m:m)*s;const f=Math.min(Math.abs(g)/Math.abs(a),200);h.onFinish((()=>{r?(i(),h.destroy()):("middle"===t.position?h.keyframes(p).progressStart(!0,.5):h.progressStart(!0,0),b.enable(!0))}),{oneTimeCallback:!0}).progressEnd(c,m,f)}});return b})(this.el,t,(()=>{this.dismiss(void 0,C)}));o.enable(!0)},this.destroySwipeGesture=()=>{const{gesture:t}=this;void 0!==t&&(t.destroy(),this.gesture=void 0)},this.prefersSwipeGesture=()=>{const{swipeGesture:t}=this;return"vertical"===t}}swipeGestureChanged(){this.destroySwipeGesture(),this.presented&&this.prefersSwipeGesture()&&this.createSwipeGesture(this.lastPresentedPosition)}onIsOpenChange(t,o){!0===t&&!1===o?this.present():!1===t&&!0===o&&this.dismiss()}triggerChanged(){const{trigger:t,el:o,triggerController:i}=this;t&&i.addClickListener(o,t)}connectedCallback(){x(this.el),this.triggerChanged()}disconnectedCallback(){this.triggerController.removeClickListener()}componentWillLoad(){var t;(null===(t=this.htmlAttributes)||void 0===t?void 0:t.id)||v(this.el)}componentDidLoad(){!0===this.isOpen&&h((()=>this.present())),this.triggerChanged()}async present(){const o=await this.lockController.lock();await this.delegateController.attachViewToDom();const{el:i,position:e}=this,a=function(o,i,e,a){let n;if(n="md"===e?"top"===o?8:-8:"top"===o?10:-10,i&&O){!function(o,i){null===o.offsetParent&&t("[ion-toast] - The positionAnchor element for ion-toast was found in the DOM, but appears to be hidden. This may lead to unexpected positioning of the toast.",i)}(i,a);const e=i.getBoundingClientRect();return"top"===o?n+=e.bottom:"bottom"===o&&(n-=O.innerHeight-e.top),{top:n+"px",bottom:n+"px"}}return{top:`calc(${n}px + var(--ion-safe-area-top, 0px))`,bottom:`calc(${n}px - var(--ion-safe-area-bottom, 0px))`}}(e,this.getAnchorElement(),Y(this),i);this.lastPresentedPosition=a,await w(this,"toastEnter",B,I,{position:e,top:a.top,bottom:a.bottom}),this.revealContentToScreenReader=!0,this.duration>0&&(this.durationTimeout=setTimeout((()=>this.dismiss(void 0,"timeout")),this.duration)),this.prefersSwipeGesture()&&this.createSwipeGesture(a),o()}async dismiss(t,o){var i,e;const a=await this.lockController.lock(),{durationTimeout:n,position:s,lastPresentedPosition:r}=this;n&&clearTimeout(n);const d=await y(this,t,o,"toastLeave",H,P,{position:s,top:null!==(i=null==r?void 0:r.top)&&void 0!==i?i:"",bottom:null!==(e=null==r?void 0:r.bottom)&&void 0!==e?e:""});return d&&(this.delegateController.removeViewFromDom(),this.revealContentToScreenReader=!1),this.lastPresentedPosition=void 0,this.destroySwipeGesture(),a(),d}onDidDismiss(){return k(this.el,"ionToastDidDismiss")}onWillDismiss(){return k(this.el,"ionToastWillDismiss")}getButtons(){return this.buttons?this.buttons.map((t=>"string"==typeof t?{text:t}:t)):[]}getAnchorElement(){const{position:o,positionAnchor:e,el:a}=this;if(void 0!==e)if("middle"!==o||void 0===e){if("string"==typeof e){const o=document.getElementById(e);return null===o?void t(`[ion-toast] - An anchor element with an ID of "${e}" was not found in the DOM.`,a):o}if(e instanceof i)return e;t("[ion-toast] - Invalid positionAnchor value:",e,a)}else t('[ion-toast] - The positionAnchor property is ignored when using position="middle".',this.el)}async buttonClick(t){const o=t.role;return f(o)||await this.callButtonHandler(t)?this.dismiss(void 0,o):Promise.resolve()}async callButtonHandler(t){if(null==t?void 0:t.handler)try{if(!1===await D(t.handler))return!1}catch(t){n("[ion-toast] - Exception in callButtonHandler:",t)}return!0}renderButtons(t,o){if(0===t.length)return;const i=Y(this);return s("div",{class:{"toast-button-group":!0,["toast-button-group-"+o]:!0}},t.map((t=>s("button",Object.assign({},t.htmlAttributes,{type:"button",class:G(t),tabIndex:0,onClick:()=>this.buttonClick(t),part:L(t)}),s("div",{class:"toast-button-inner"},t.icon&&s("ion-icon",{"aria-hidden":"true",icon:t.icon,slot:void 0===t.text?"icon-only":void 0,class:"toast-button-icon"}),t.text),"md"===i&&s("ion-ripple-effect",{type:void 0!==t.icon&&void 0===t.text?"unbounded":"bounded"})))))}renderToastMessage(t,o=null){const{customHTMLEnabled:i,message:e}=this;return i?s("div",{key:t,"aria-hidden":o,class:"toast-message",part:"message",innerHTML:p(e)}):s("div",{key:t,"aria-hidden":o,class:"toast-message",part:"message"},e)}renderHeader(t,o=null){return s("div",{key:t,class:"toast-header","aria-hidden":o,part:"header"},this.header)}render(){const{layout:o,el:i,revealContentToScreenReader:e,header:a,message:n}=this,d=this.getButtons(),l=d.filter((t=>"start"===t.side)),p=d.filter((t=>"start"!==t.side)),c=Y(this),h={"toast-wrapper":!0,["toast-"+this.position]:!0,["toast-layout-"+o]:!0};return"stacked"===o&&l.length>0&&p.length>0&&t("[ion-toast] - This toast is using start and end buttons with the stacked toast layout. We recommend following the best practice of using either start or end buttons with the stacked toast layout.",i),s(r,Object.assign({key:"d1ecd90c87700aad4685e230cdd430aa286b8791",tabindex:"-1"},this.htmlAttributes,{style:{zIndex:""+(6e4+this.overlayIndex)},class:j(this.color,Object.assign(Object.assign({[c]:!0},T(this.cssClass)),{"overlay-hidden":!0,"toast-translucent":this.translucent})),onIonToastWillDismiss:this.dispatchCancelHandler}),s("div",{key:"4bfc863417324de69e222054d5cf9c452038b41e",class:h},s("div",{key:"3417940afec0392e81b7d54c7cb00f3ab6c30d47",class:"toast-container",part:"container"},this.renderButtons(l,"start"),void 0!==this.icon&&s("ion-icon",{key:"6bf878fbc85c01e1e5faa9d97d46255a6511a952",class:"toast-icon",part:"icon",icon:this.icon,lazy:!1,"aria-hidden":"true"}),s("div",{key:"54b500348a9c37660c3aff37436d9188e4374947",class:"toast-content",role:"status","aria-atomic":"true","aria-live":"polite"},!e&&void 0!==a&&this.renderHeader("oldHeader","true"),!e&&void 0!==n&&this.renderToastMessage("oldMessage","true"),e&&void 0!==a&&this.renderHeader("header"),e&&void 0!==n&&this.renderToastMessage("header")),this.renderButtons(p,"end"))))}get el(){return this}static get watchers(){return{swipeGesture:[{swipeGestureChanged:0}],isOpen:[{onIsOpenChange:0}],trigger:[{triggerChanged:0}]}}static get style(){return{ios:":host{--border-width:0;--border-style:none;--border-color:initial;--box-shadow:none;--min-width:auto;--width:auto;--min-height:auto;--height:auto;--max-height:auto;--white-space:normal;top:0;display:block;position:absolute;width:100%;height:100%;outline:none;color:var(--color);font-family:var(--ion-font-family, inherit);contain:strict;z-index:1001;pointer-events:none}:host{inset-inline-start:0}:host(.overlay-hidden){display:none}:host(.ion-color){--button-color:inherit;color:var(--ion-color-contrast)}:host(.ion-color) .toast-button-cancel{color:inherit}:host(.ion-color) .toast-wrapper{background:var(--ion-color-base)}.toast-wrapper{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);pointer-events:auto}.toast-wrapper{inset-inline-start:var(--start);inset-inline-end:var(--end)}.toast-wrapper.toast-top{transform:translate3d(0, -100%, 0);top:0}.toast-wrapper.toast-bottom{transform:translate3d(0, 100%, 0);bottom:0}.toast-container{display:flex;align-items:center;height:inherit;min-height:inherit;max-height:inherit;contain:content}.toast-layout-stacked .toast-container{flex-wrap:wrap}.toast-layout-baseline .toast-content{display:flex;flex:1;flex-direction:column;justify-content:center}.toast-icon{-webkit-margin-start:16px;margin-inline-start:16px}.toast-content{min-width:0}.toast-message{flex:1;white-space:var(--white-space)}.toast-button-group{display:flex}.toast-layout-stacked .toast-button-group{justify-content:end;width:100%}.toast-button{border:0;outline:none;color:var(--button-color);z-index:0}.toast-icon,.toast-button-icon{font-size:1.4em}.toast-button-inner{display:flex;align-items:center}@media (any-hover: hover){.toast-button:hover{cursor:pointer}}:host{--background:var(--ion-color-step-50, var(--ion-background-color-step-50, #f2f2f2));--border-radius:14px;--button-color:var(--ion-color-primary, #0054e9);--color:var(--ion-color-step-850, var(--ion-text-color-step-150, #262626));--max-width:700px;--max-height:478px;--start:10px;--end:10px;font-size:clamp(14px, 0.875rem, 43.4px)}.toast-wrapper{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:auto;margin-bottom:auto;display:block;position:absolute;z-index:10}@supports (backdrop-filter: blur(0)){:host(.toast-translucent) .toast-wrapper{background:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8);backdrop-filter:saturate(180%) blur(20px)}:host(.ion-color.toast-translucent) .toast-wrapper{background:rgba(var(--ion-color-base-rgb), 0.8)}}.toast-wrapper.toast-middle{opacity:0.01}.toast-content{-webkit-padding-start:15px;padding-inline-start:15px;-webkit-padding-end:15px;padding-inline-end:15px;padding-top:15px;padding-bottom:15px}.toast-header{margin-bottom:2px;font-weight:500}.toast-button{-webkit-padding-start:15px;padding-inline-start:15px;-webkit-padding-end:15px;padding-inline-end:15px;padding-top:10px;padding-bottom:10px;min-height:44px;transition:background-color, opacity 100ms linear;border:0;background-color:transparent;font-family:var(--ion-font-family);font-size:clamp(17px, 1.0625rem, 21.998px);font-weight:500;overflow:hidden}.toast-button.ion-activated{opacity:0.4}@media (any-hover: hover){.toast-button:hover{opacity:0.6}}",md:":host{--border-width:0;--border-style:none;--border-color:initial;--box-shadow:none;--min-width:auto;--width:auto;--min-height:auto;--height:auto;--max-height:auto;--white-space:normal;top:0;display:block;position:absolute;width:100%;height:100%;outline:none;color:var(--color);font-family:var(--ion-font-family, inherit);contain:strict;z-index:1001;pointer-events:none}:host{inset-inline-start:0}:host(.overlay-hidden){display:none}:host(.ion-color){--button-color:inherit;color:var(--ion-color-contrast)}:host(.ion-color) .toast-button-cancel{color:inherit}:host(.ion-color) .toast-wrapper{background:var(--ion-color-base)}.toast-wrapper{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);pointer-events:auto}.toast-wrapper{inset-inline-start:var(--start);inset-inline-end:var(--end)}.toast-wrapper.toast-top{transform:translate3d(0, -100%, 0);top:0}.toast-wrapper.toast-bottom{transform:translate3d(0, 100%, 0);bottom:0}.toast-container{display:flex;align-items:center;height:inherit;min-height:inherit;max-height:inherit;contain:content}.toast-layout-stacked .toast-container{flex-wrap:wrap}.toast-layout-baseline .toast-content{display:flex;flex:1;flex-direction:column;justify-content:center}.toast-icon{-webkit-margin-start:16px;margin-inline-start:16px}.toast-content{min-width:0}.toast-message{flex:1;white-space:var(--white-space)}.toast-button-group{display:flex}.toast-layout-stacked .toast-button-group{justify-content:end;width:100%}.toast-button{border:0;outline:none;color:var(--button-color);z-index:0}.toast-icon,.toast-button-icon{font-size:1.4em}.toast-button-inner{display:flex;align-items:center}@media (any-hover: hover){.toast-button:hover{cursor:pointer}}:host{--background:var(--ion-color-step-800, var(--ion-background-color-step-800, #333333));--border-radius:4px;--box-shadow:0 3px 5px -1px rgba(0, 0, 0, 0.2), 0 6px 10px 0 rgba(0, 0, 0, 0.14), 0 1px 18px 0 rgba(0, 0, 0, 0.12);--button-color:var(--ion-color-primary, #0054e9);--color:var(--ion-color-step-50, var(--ion-text-color-step-950, #f2f2f2));--max-width:700px;--start:8px;--end:8px;font-size:0.875rem}.toast-wrapper{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:auto;margin-bottom:auto;display:block;position:absolute;opacity:0.01;z-index:10}.toast-content{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:14px;padding-bottom:14px}.toast-header{margin-bottom:2px;font-weight:500;line-height:1.25rem}.toast-message{line-height:1.25rem}.toast-layout-baseline .toast-button-group-start{-webkit-margin-start:8px;margin-inline-start:8px}.toast-layout-stacked .toast-button-group-start{-webkit-margin-end:8px;margin-inline-end:8px;margin-top:8px}.toast-layout-baseline .toast-button-group-end{-webkit-margin-end:8px;margin-inline-end:8px}.toast-layout-stacked .toast-button-group-end{-webkit-margin-end:8px;margin-inline-end:8px;margin-bottom:8px}.toast-button{-webkit-padding-start:15px;padding-inline-start:15px;-webkit-padding-end:15px;padding-inline-end:15px;padding-top:10px;padding-bottom:10px;position:relative;background-color:transparent;font-family:var(--ion-font-family);font-size:0.875rem;font-weight:500;letter-spacing:0.84px;text-transform:uppercase;overflow:hidden}.toast-button-cancel{color:var(--ion-color-step-100, var(--ion-text-color-step-900, #e6e6e6))}.toast-button-icon-only{border-radius:50%;-webkit-padding-start:9px;padding-inline-start:9px;-webkit-padding-end:9px;padding-inline-end:9px;padding-top:9px;padding-bottom:9px;width:36px;height:36px}@media (any-hover: hover){.toast-button:hover{background-color:rgba(var(--ion-color-primary-rgb, 0, 84, 233), 0.08)}.toast-button-cancel:hover{background-color:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.08)}}"}}},[33,"ion-toast",{overlayIndex:[2,"overlay-index"],delegate:[16],hasController:[4,"has-controller"],color:[513],enterAnimation:[16],leaveAnimation:[16],cssClass:[1,"css-class"],duration:[2],header:[1],layout:[1],message:[1],keyboardClose:[4,"keyboard-close"],position:[1],positionAnchor:[1,"position-anchor"],buttons:[16],translucent:[4],animated:[4],icon:[1],htmlAttributes:[16],swipeGesture:[1,"swipe-gesture"],isOpen:[4,"is-open"],trigger:[1],revealContentToScreenReader:[32],present:[64],dismiss:[64],onDidDismiss:[64],onWillDismiss:[64]},void 0,{swipeGesture:[{swipeGestureChanged:0}],isOpen:[{onIsOpenChange:0}],trigger:[{triggerChanged:0}]}]),G=t=>({"toast-button":!0,"toast-button-icon-only":void 0!==t.icon&&void 0===t.text,["toast-button-"+t.role]:void 0!==t.role,"ion-focusable":!0,"ion-activatable":!0}),L=t=>f(t.role)?"button cancel":"button",Q=W,R=function(){"undefined"!=typeof customElements&&["ion-toast","ion-icon","ion-ripple-effect"].forEach((t=>{switch(t){case"ion-toast":customElements.get(d(t))||customElements.define(d(t),W);break;case"ion-icon":customElements.get(d(t))||E();break;case"ion-ripple-effect":customElements.get(d(t))||M()}}))};
104
5
  /*!
105
6
  * (C) Ionic http://ionicframework.com - MIT License
106
- */
107
- /**
108
- * iOS Toast Enter Animation
109
- */
110
- const iosEnterAnimation = (baseEl, opts) => {
111
- const baseAnimation = createAnimation();
112
- const wrapperAnimation = createAnimation();
113
- const { position, top, bottom } = opts;
114
- const root = getElementRoot(baseEl);
115
- const wrapperEl = root.querySelector('.toast-wrapper');
116
- wrapperAnimation.addElement(wrapperEl);
117
- switch (position) {
118
- case 'top':
119
- wrapperAnimation.fromTo('transform', 'translateY(-100%)', `translateY(${top})`);
120
- break;
121
- case 'middle':
122
- const topPosition = getOffsetForMiddlePosition(baseEl.clientHeight, wrapperEl.clientHeight);
123
- wrapperEl.style.top = `${topPosition}px`;
124
- wrapperAnimation.fromTo('opacity', 0.01, 1);
125
- break;
126
- default:
127
- wrapperAnimation.fromTo('transform', 'translateY(100%)', `translateY(${bottom})`);
128
- break;
129
- }
130
- return baseAnimation.easing('cubic-bezier(.155,1.105,.295,1.12)').duration(400).addAnimation(wrapperAnimation);
131
- };
132
-
133
- /*!
134
- * (C) Ionic http://ionicframework.com - MIT License
135
- */
136
- /**
137
- * iOS Toast Leave Animation
138
- */
139
- const iosLeaveAnimation = (baseEl, opts) => {
140
- const baseAnimation = createAnimation();
141
- const wrapperAnimation = createAnimation();
142
- const { position, top, bottom } = opts;
143
- const root = getElementRoot(baseEl);
144
- const wrapperEl = root.querySelector('.toast-wrapper');
145
- wrapperAnimation.addElement(wrapperEl);
146
- switch (position) {
147
- case 'top':
148
- wrapperAnimation.fromTo('transform', `translateY(${top})`, 'translateY(-100%)');
149
- break;
150
- case 'middle':
151
- wrapperAnimation.fromTo('opacity', 0.99, 0);
152
- break;
153
- default:
154
- wrapperAnimation.fromTo('transform', `translateY(${bottom})`, 'translateY(100%)');
155
- break;
156
- }
157
- return baseAnimation.easing('cubic-bezier(.36,.66,.04,1)').duration(300).addAnimation(wrapperAnimation);
158
- };
159
-
160
- /*!
161
- * (C) Ionic http://ionicframework.com - MIT License
162
- */
163
- /**
164
- * MD Toast Enter Animation
165
- */
166
- const mdEnterAnimation = (baseEl, opts) => {
167
- const baseAnimation = createAnimation();
168
- const wrapperAnimation = createAnimation();
169
- const { position, top, bottom } = opts;
170
- const root = getElementRoot(baseEl);
171
- const wrapperEl = root.querySelector('.toast-wrapper');
172
- wrapperAnimation.addElement(wrapperEl);
173
- switch (position) {
174
- case 'top':
175
- wrapperEl.style.setProperty('transform', `translateY(${top})`);
176
- wrapperAnimation.fromTo('opacity', 0.01, 1);
177
- break;
178
- case 'middle':
179
- const topPosition = getOffsetForMiddlePosition(baseEl.clientHeight, wrapperEl.clientHeight);
180
- wrapperEl.style.top = `${topPosition}px`;
181
- wrapperAnimation.fromTo('opacity', 0.01, 1);
182
- break;
183
- default:
184
- wrapperEl.style.setProperty('transform', `translateY(${bottom})`);
185
- wrapperAnimation.fromTo('opacity', 0.01, 1);
186
- break;
187
- }
188
- return baseAnimation.easing('cubic-bezier(.36,.66,.04,1)').duration(400).addAnimation(wrapperAnimation);
189
- };
190
-
191
- /*!
192
- * (C) Ionic http://ionicframework.com - MIT License
193
- */
194
- /**
195
- * md Toast Leave Animation
196
- */
197
- const mdLeaveAnimation = (baseEl) => {
198
- const baseAnimation = createAnimation();
199
- const wrapperAnimation = createAnimation();
200
- const root = getElementRoot(baseEl);
201
- const wrapperEl = root.querySelector('.toast-wrapper');
202
- wrapperAnimation.addElement(wrapperEl).fromTo('opacity', 0.99, 0);
203
- return baseAnimation.easing('cubic-bezier(.36,.66,.04,1)').duration(300).addAnimation(wrapperAnimation);
204
- };
205
-
206
- /*!
207
- * (C) Ionic http://ionicframework.com - MIT License
208
- */
209
- /**
210
- * Create a gesture that allows the Toast
211
- * to be swiped to dismiss.
212
- * @param el - The Toast element
213
- * @param toastPosition - The last computed position of the Toast. This is computed in the "present" method.
214
- * @param onDismiss - A callback to fire when the Toast was swiped to dismiss.
215
- */
216
- const createSwipeToDismissGesture = (el, toastPosition, onDismiss) => {
217
- /**
218
- * Users should swipe on the visible toast wrapper
219
- * rather than on ion-toast which covers the entire screen.
220
- * When testing the class instance the inner wrapper will not
221
- * be defined. As a result, we use a placeholder element in those environments.
222
- */
223
- const wrapperEl = getElementRoot(el).querySelector('.toast-wrapper');
224
- const hostElHeight = el.clientHeight;
225
- const wrapperElBox = wrapperEl.getBoundingClientRect();
226
- /**
227
- * The maximum amount that
228
- * the toast can be swiped. This should
229
- * account for the wrapper element's height
230
- * too so the toast can be swiped offscreen
231
- * completely.
232
- */
233
- let MAX_SWIPE_DISTANCE = 0;
234
- /**
235
- * The step value at which a toast
236
- * is eligible for dismissing via gesture.
237
- */
238
- const DISMISS_THRESHOLD = 0.5;
239
- /**
240
- * The middle position Toast starts 50% of the way
241
- * through the animation, so we need to use this
242
- * as the starting point for our step values.
243
- */
244
- const STEP_OFFSET = el.position === 'middle' ? 0.5 : 0;
245
- /**
246
- * When the Toast is at the top users will be
247
- * swiping up. As a result, the delta values will be
248
- * negative numbers which will result in negative steps
249
- * and thresholds. As a result, we need to make those numbers
250
- * positive.
251
- */
252
- const INVERSION_FACTOR = el.position === 'top' ? -1 : 1;
253
- /**
254
- * The top offset that places the
255
- * toast in the middle of the screen.
256
- * Only needed when position="middle".
257
- */
258
- const topPosition = getOffsetForMiddlePosition(hostElHeight, wrapperElBox.height);
259
- const SWIPE_UP_DOWN_KEYFRAMES = [
260
- { offset: 0, transform: `translateY(-${topPosition + wrapperElBox.height}px)` },
261
- { offset: 0.5, transform: `translateY(0px)` },
262
- { offset: 1, transform: `translateY(${topPosition + wrapperElBox.height}px)` },
263
- ];
264
- const swipeAnimation = createAnimation('toast-swipe-to-dismiss-animation')
265
- .addElement(wrapperEl)
266
- /**
267
- * The specific value here does not actually
268
- * matter. We just need this to be a positive
269
- * value so the animation does not jump
270
- * to the end when the user beings to drag.
271
- */
272
- .duration(100);
273
- switch (el.position) {
274
- case 'middle':
275
- MAX_SWIPE_DISTANCE = hostElHeight + wrapperElBox.height;
276
- swipeAnimation.keyframes(SWIPE_UP_DOWN_KEYFRAMES);
277
- /**
278
- * Toast can be swiped up or down but
279
- * should start in the middle of the screen.
280
- */
281
- swipeAnimation.progressStart(true, 0.5);
282
- break;
283
- case 'top':
284
- /**
285
- * The bottom edge of the wrapper
286
- * includes the distance between the top
287
- * of the screen and the top of the wrapper
288
- * as well as the wrapper height so the wrapper
289
- * can be dragged fully offscreen.
290
- */
291
- MAX_SWIPE_DISTANCE = wrapperElBox.bottom;
292
- swipeAnimation.keyframes([
293
- { offset: 0, transform: `translateY(${toastPosition.top})` },
294
- { offset: 1, transform: 'translateY(-100%)' },
295
- ]);
296
- swipeAnimation.progressStart(true, 0);
297
- break;
298
- case 'bottom':
299
- default:
300
- /**
301
- * This computes the distance between the
302
- * top of the wrapper and the bottom of the
303
- * screen including the height of the wrapper
304
- * element so it can be dragged fully offscreen.
305
- */
306
- MAX_SWIPE_DISTANCE = hostElHeight - wrapperElBox.top;
307
- swipeAnimation.keyframes([
308
- { offset: 0, transform: `translateY(${toastPosition.bottom})` },
309
- { offset: 1, transform: 'translateY(100%)' },
310
- ]);
311
- swipeAnimation.progressStart(true, 0);
312
- break;
313
- }
314
- const computeStep = (delta) => {
315
- return (delta * INVERSION_FACTOR) / MAX_SWIPE_DISTANCE;
316
- };
317
- const onMove = (detail) => {
318
- const step = STEP_OFFSET + computeStep(detail.deltaY);
319
- swipeAnimation.progressStep(step);
320
- };
321
- const onEnd = (detail) => {
322
- const velocity = detail.velocityY;
323
- const threshold = ((detail.deltaY + velocity * 1000) / MAX_SWIPE_DISTANCE) * INVERSION_FACTOR;
324
- /**
325
- * Disable the gesture for the remainder of the animation.
326
- * It will be re-enabled if the toast animates back to
327
- * its initial presented position.
328
- */
329
- gesture.enable(false);
330
- let shouldDismiss = true;
331
- let playTo = 1;
332
- let step = 0;
333
- let remainingDistance = 0;
334
- if (el.position === 'middle') {
335
- /**
336
- * A middle positioned Toast appears
337
- * in the middle of the screen (at animation offset 0.5).
338
- * As a result, the threshold will be calculated relative
339
- * to this starting position. In other words at animation offset 0.5
340
- * the threshold will be 0. We want the middle Toast to be eligible
341
- * for dismiss when the user has swiped either half way up or down the
342
- * screen. As a result, we divide DISMISS_THRESHOLD in half. We also
343
- * consider when the threshold is a negative in the event the
344
- * user drags up (since the deltaY will also be negative).
345
- */
346
- shouldDismiss = threshold >= DISMISS_THRESHOLD / 2 || threshold <= -0.5 / 2;
347
- /**
348
- * Since we are replacing the keyframes
349
- * below the animation always starts from
350
- * the beginning of the new keyframes.
351
- * Similarly, we are always playing to
352
- * the end of the new keyframes.
353
- */
354
- playTo = 1;
355
- step = 0;
356
- /**
357
- * The Toast should animate from wherever its
358
- * current position is to the desired end state.
359
- *
360
- * To begin, we get the current position of the
361
- * Toast for its starting state.
362
- */
363
- const wrapperElBox = wrapperEl.getBoundingClientRect();
364
- const startOffset = wrapperElBox.top - topPosition;
365
- const startPosition = `${startOffset}px`;
366
- /**
367
- * If the deltaY is negative then the user is swiping
368
- * up, so the Toast should animate to the top of the screen.
369
- * If the deltaY is positive then the user is swiping
370
- * down, so the Toast should animate to the bottom of the screen.
371
- * We also account for when the deltaY is 0, but realistically
372
- * that should never happen because it means the user did not drag
373
- * the toast.
374
- */
375
- const offsetFactor = detail.deltaY <= 0 ? -1 : 1;
376
- const endOffset = (topPosition + wrapperElBox.height) * offsetFactor;
377
- /**
378
- * If the Toast should dismiss
379
- * then we need to figure out which edge of
380
- * the screen it should animate towards.
381
- * By default, the Toast will come
382
- * back to its default state in the
383
- * middle of the screen.
384
- */
385
- const endPosition = shouldDismiss ? `${endOffset}px` : '0px';
386
- const KEYFRAMES = [
387
- { offset: 0, transform: `translateY(${startPosition})` },
388
- { offset: 1, transform: `translateY(${endPosition})` },
389
- ];
390
- swipeAnimation.keyframes(KEYFRAMES);
391
- /**
392
- * Compute the remaining amount of pixels the
393
- * toast needs to move to be fully dismissed.
394
- */
395
- remainingDistance = endOffset - startOffset;
396
- }
397
- else {
398
- shouldDismiss = threshold >= DISMISS_THRESHOLD;
399
- playTo = shouldDismiss ? 1 : 0;
400
- step = computeStep(detail.deltaY);
401
- /**
402
- * Compute the remaining amount of pixels the
403
- * toast needs to move to be fully dismissed.
404
- */
405
- const remainingStepAmount = shouldDismiss ? 1 - step : step;
406
- remainingDistance = remainingStepAmount * MAX_SWIPE_DISTANCE;
407
- }
408
- /**
409
- * The animation speed should depend on how quickly
410
- * the user flicks the toast across the screen. However,
411
- * it should be no slower than 200ms.
412
- * We use Math.abs on the remainingDistance because that value
413
- * can be negative when swiping up on a middle position toast.
414
- */
415
- const duration = Math.min(Math.abs(remainingDistance) / Math.abs(velocity), 200);
416
- swipeAnimation
417
- .onFinish(() => {
418
- if (shouldDismiss) {
419
- onDismiss();
420
- swipeAnimation.destroy();
421
- }
422
- else {
423
- if (el.position === 'middle') {
424
- /**
425
- * If the toast snapped back to
426
- * the middle of the screen we need
427
- * to reset the keyframes
428
- * so the toast can be swiped
429
- * up or down again.
430
- */
431
- swipeAnimation.keyframes(SWIPE_UP_DOWN_KEYFRAMES).progressStart(true, 0.5);
432
- }
433
- else {
434
- swipeAnimation.progressStart(true, 0);
435
- }
436
- /**
437
- * If the toast did not dismiss then
438
- * the user should be able to swipe again.
439
- */
440
- gesture.enable(true);
441
- }
442
- /**
443
- * This must be a one time callback
444
- * otherwise a new callback will
445
- * be added every time onEnd runs.
446
- */
447
- }, { oneTimeCallback: true })
448
- .progressEnd(playTo, step, duration);
449
- };
450
- const gesture = createGesture({
451
- el: wrapperEl,
452
- gestureName: 'toast-swipe-to-dismiss',
453
- gesturePriority: OVERLAY_GESTURE_PRIORITY,
454
- /**
455
- * Toast only supports vertical swipes.
456
- * This needs to be updated if we later
457
- * support horizontal swipes.
458
- */
459
- direction: 'y',
460
- onMove,
461
- onEnd,
462
- });
463
- return gesture;
464
- };
465
-
466
- const toastIosCss = () => `:host{--border-width:0;--border-style:none;--border-color:initial;--box-shadow:none;--min-width:auto;--width:auto;--min-height:auto;--height:auto;--max-height:auto;--white-space:normal;top:0;display:block;position:absolute;width:100%;height:100%;outline:none;color:var(--color);font-family:var(--ion-font-family, inherit);contain:strict;z-index:1001;pointer-events:none}:host{inset-inline-start:0}:host(.overlay-hidden){display:none}:host(.ion-color){--button-color:inherit;color:var(--ion-color-contrast)}:host(.ion-color) .toast-button-cancel{color:inherit}:host(.ion-color) .toast-wrapper{background:var(--ion-color-base)}.toast-wrapper{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);pointer-events:auto}.toast-wrapper{inset-inline-start:var(--start);inset-inline-end:var(--end)}.toast-wrapper.toast-top{transform:translate3d(0, -100%, 0);top:0}.toast-wrapper.toast-bottom{transform:translate3d(0, 100%, 0);bottom:0}.toast-container{display:flex;align-items:center;height:inherit;min-height:inherit;max-height:inherit;contain:content}.toast-layout-stacked .toast-container{flex-wrap:wrap}.toast-layout-baseline .toast-content{display:flex;flex:1;flex-direction:column;justify-content:center}.toast-icon{-webkit-margin-start:16px;margin-inline-start:16px}.toast-content{min-width:0}.toast-message{flex:1;white-space:var(--white-space)}.toast-button-group{display:flex}.toast-layout-stacked .toast-button-group{justify-content:end;width:100%}.toast-button{border:0;outline:none;color:var(--button-color);z-index:0}.toast-icon,.toast-button-icon{font-size:1.4em}.toast-button-inner{display:flex;align-items:center}@media (any-hover: hover){.toast-button:hover{cursor:pointer}}:host{--background:var(--ion-color-step-50, var(--ion-background-color-step-50, #f2f2f2));--border-radius:14px;--button-color:var(--ion-color-primary, #0054e9);--color:var(--ion-color-step-850, var(--ion-text-color-step-150, #262626));--max-width:700px;--max-height:478px;--start:10px;--end:10px;font-size:clamp(14px, 0.875rem, 43.4px)}.toast-wrapper{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:auto;margin-bottom:auto;display:block;position:absolute;z-index:10}@supports (backdrop-filter: blur(0)){:host(.toast-translucent) .toast-wrapper{background:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8);backdrop-filter:saturate(180%) blur(20px)}:host(.ion-color.toast-translucent) .toast-wrapper{background:rgba(var(--ion-color-base-rgb), 0.8)}}.toast-wrapper.toast-middle{opacity:0.01}.toast-content{-webkit-padding-start:15px;padding-inline-start:15px;-webkit-padding-end:15px;padding-inline-end:15px;padding-top:15px;padding-bottom:15px}.toast-header{margin-bottom:2px;font-weight:500}.toast-button{-webkit-padding-start:15px;padding-inline-start:15px;-webkit-padding-end:15px;padding-inline-end:15px;padding-top:10px;padding-bottom:10px;min-height:44px;transition:background-color, opacity 100ms linear;border:0;background-color:transparent;font-family:var(--ion-font-family);font-size:clamp(17px, 1.0625rem, 21.998px);font-weight:500;overflow:hidden}.toast-button.ion-activated{opacity:0.4}@media (any-hover: hover){.toast-button:hover{opacity:0.6}}`;
467
-
468
- const toastMdCss = () => `:host{--border-width:0;--border-style:none;--border-color:initial;--box-shadow:none;--min-width:auto;--width:auto;--min-height:auto;--height:auto;--max-height:auto;--white-space:normal;top:0;display:block;position:absolute;width:100%;height:100%;outline:none;color:var(--color);font-family:var(--ion-font-family, inherit);contain:strict;z-index:1001;pointer-events:none}:host{inset-inline-start:0}:host(.overlay-hidden){display:none}:host(.ion-color){--button-color:inherit;color:var(--ion-color-contrast)}:host(.ion-color) .toast-button-cancel{color:inherit}:host(.ion-color) .toast-wrapper{background:var(--ion-color-base)}.toast-wrapper{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);pointer-events:auto}.toast-wrapper{inset-inline-start:var(--start);inset-inline-end:var(--end)}.toast-wrapper.toast-top{transform:translate3d(0, -100%, 0);top:0}.toast-wrapper.toast-bottom{transform:translate3d(0, 100%, 0);bottom:0}.toast-container{display:flex;align-items:center;height:inherit;min-height:inherit;max-height:inherit;contain:content}.toast-layout-stacked .toast-container{flex-wrap:wrap}.toast-layout-baseline .toast-content{display:flex;flex:1;flex-direction:column;justify-content:center}.toast-icon{-webkit-margin-start:16px;margin-inline-start:16px}.toast-content{min-width:0}.toast-message{flex:1;white-space:var(--white-space)}.toast-button-group{display:flex}.toast-layout-stacked .toast-button-group{justify-content:end;width:100%}.toast-button{border:0;outline:none;color:var(--button-color);z-index:0}.toast-icon,.toast-button-icon{font-size:1.4em}.toast-button-inner{display:flex;align-items:center}@media (any-hover: hover){.toast-button:hover{cursor:pointer}}:host{--background:var(--ion-color-step-800, var(--ion-background-color-step-800, #333333));--border-radius:4px;--box-shadow:0 3px 5px -1px rgba(0, 0, 0, 0.2), 0 6px 10px 0 rgba(0, 0, 0, 0.14), 0 1px 18px 0 rgba(0, 0, 0, 0.12);--button-color:var(--ion-color-primary, #0054e9);--color:var(--ion-color-step-50, var(--ion-text-color-step-950, #f2f2f2));--max-width:700px;--start:8px;--end:8px;font-size:0.875rem}.toast-wrapper{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:auto;margin-bottom:auto;display:block;position:absolute;opacity:0.01;z-index:10}.toast-content{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:14px;padding-bottom:14px}.toast-header{margin-bottom:2px;font-weight:500;line-height:1.25rem}.toast-message{line-height:1.25rem}.toast-layout-baseline .toast-button-group-start{-webkit-margin-start:8px;margin-inline-start:8px}.toast-layout-stacked .toast-button-group-start{-webkit-margin-end:8px;margin-inline-end:8px;margin-top:8px}.toast-layout-baseline .toast-button-group-end{-webkit-margin-end:8px;margin-inline-end:8px}.toast-layout-stacked .toast-button-group-end{-webkit-margin-end:8px;margin-inline-end:8px;margin-bottom:8px}.toast-button{-webkit-padding-start:15px;padding-inline-start:15px;-webkit-padding-end:15px;padding-inline-end:15px;padding-top:10px;padding-bottom:10px;position:relative;background-color:transparent;font-family:var(--ion-font-family);font-size:0.875rem;font-weight:500;letter-spacing:0.84px;text-transform:uppercase;overflow:hidden}.toast-button-cancel{color:var(--ion-color-step-100, var(--ion-text-color-step-900, #e6e6e6))}.toast-button-icon-only{border-radius:50%;-webkit-padding-start:9px;padding-inline-start:9px;-webkit-padding-end:9px;padding-inline-end:9px;padding-top:9px;padding-bottom:9px;width:36px;height:36px}@media (any-hover: hover){.toast-button:hover{background-color:rgba(var(--ion-color-primary-rgb, 0, 84, 233), 0.08)}.toast-button-cancel:hover{background-color:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.08)}}`;
469
-
470
- const Toast = /*@__PURE__*/ proxyCustomElement(class Toast extends H {
471
- constructor(registerHost) {
472
- super();
473
- if (registerHost !== false) {
474
- this.__registerHost();
475
- }
476
- this.__attachShadow();
477
- this.didPresent = createEvent(this, "ionToastDidPresent", 7);
478
- this.willPresent = createEvent(this, "ionToastWillPresent", 7);
479
- this.willDismiss = createEvent(this, "ionToastWillDismiss", 7);
480
- this.didDismiss = createEvent(this, "ionToastDidDismiss", 7);
481
- this.didPresentShorthand = createEvent(this, "didPresent", 7);
482
- this.willPresentShorthand = createEvent(this, "willPresent", 7);
483
- this.willDismissShorthand = createEvent(this, "willDismiss", 7);
484
- this.didDismissShorthand = createEvent(this, "didDismiss", 7);
485
- this.delegateController = createDelegateController(this);
486
- this.lockController = createLockController();
487
- this.triggerController = createTriggerController();
488
- this.customHTMLEnabled = config.get('innerHTMLTemplatesEnabled', ENABLE_HTML_CONTENT_DEFAULT);
489
- this.presented = false;
490
- /**
491
- * When `true`, content inside of .toast-content
492
- * will have aria-hidden elements removed causing
493
- * screen readers to announce the remaining content.
494
- */
495
- this.revealContentToScreenReader = false;
496
- /** @internal */
497
- this.hasController = false;
498
- /**
499
- * How many milliseconds to wait before hiding the toast. By default, it will show
500
- * until `dismiss()` is called.
501
- */
502
- this.duration = config.getNumber('toastDuration', 0);
503
- /**
504
- * Defines how the message and buttons are laid out in the toast.
505
- * 'baseline': The message and the buttons will appear on the same line.
506
- * Message text may wrap within the message container.
507
- * 'stacked': The buttons containers and message will stack on top
508
- * of each other. Use this if you have long text in your buttons.
509
- */
510
- this.layout = 'baseline';
511
- /**
512
- * If `true`, the keyboard will be automatically dismissed when the overlay is presented.
513
- */
514
- this.keyboardClose = false;
515
- /**
516
- * The starting position of the toast on the screen. Can be tweaked further
517
- * using the `positionAnchor` property.
518
- */
519
- this.position = 'bottom';
520
- /**
521
- * If `true`, the toast will be translucent.
522
- * Only applies when the mode is `"ios"` and the device supports
523
- * [`backdrop-filter`](https://developer.mozilla.org/en-US/docs/Web/CSS/backdrop-filter#Browser_compatibility).
524
- */
525
- this.translucent = false;
526
- /**
527
- * If `true`, the toast will animate.
528
- */
529
- this.animated = true;
530
- /**
531
- * If `true`, the toast will open. If `false`, the toast will close.
532
- * Use this if you need finer grained control over presentation, otherwise
533
- * just use the toastController or the `trigger` property.
534
- * Note: `isOpen` will not automatically be set back to `false` when
535
- * the toast dismisses. You will need to do that in your code.
536
- */
537
- this.isOpen = false;
538
- this.dispatchCancelHandler = (ev) => {
539
- const role = ev.detail.role;
540
- if (isCancel(role)) {
541
- const cancelButton = this.getButtons().find((b) => b.role === 'cancel');
542
- this.callButtonHandler(cancelButton);
543
- }
544
- };
545
- /**
546
- * Create a new swipe gesture so Toast
547
- * can be swiped to dismiss.
548
- */
549
- this.createSwipeGesture = (toastPosition) => {
550
- const gesture = (this.gesture = createSwipeToDismissGesture(this.el, toastPosition, () => {
551
- /**
552
- * If the gesture completed then
553
- * we should dismiss the toast.
554
- */
555
- this.dismiss(undefined, GESTURE);
556
- }));
557
- gesture.enable(true);
558
- };
559
- /**
560
- * Destroy an existing swipe gesture
561
- * so Toast can no longer be swiped to dismiss.
562
- */
563
- this.destroySwipeGesture = () => {
564
- const { gesture } = this;
565
- if (gesture === undefined) {
566
- return;
567
- }
568
- gesture.destroy();
569
- this.gesture = undefined;
570
- };
571
- /**
572
- * Returns `true` if swipeGesture
573
- * is configured to a value that enables the swipe behavior.
574
- * Returns `false` otherwise.
575
- */
576
- this.prefersSwipeGesture = () => {
577
- const { swipeGesture } = this;
578
- return swipeGesture === 'vertical';
579
- };
580
- }
581
- swipeGestureChanged() {
582
- /**
583
- * If the Toast is presented, then we need to destroy
584
- * any actives gestures before a new gesture is potentially
585
- * created below.
586
- *
587
- * If the Toast is dismissed, then no gesture should be available
588
- * since the Toast is not visible. This case should never
589
- * happen since the "dismiss" method handles destroying
590
- * any active swipe gestures, but we keep this code
591
- * around to handle the first case.
592
- */
593
- this.destroySwipeGesture();
594
- /**
595
- * A new swipe gesture should only be created
596
- * if the Toast is presented. If the Toast is not
597
- * yet presented then the "present" method will
598
- * handle calling the swipe gesture setup function.
599
- */
600
- if (this.presented && this.prefersSwipeGesture()) {
601
- /**
602
- * If the Toast is presented then
603
- * lastPresentedPosition is defined.
604
- */
605
- this.createSwipeGesture(this.lastPresentedPosition);
606
- }
607
- }
608
- onIsOpenChange(newValue, oldValue) {
609
- if (newValue === true && oldValue === false) {
610
- this.present();
611
- }
612
- else if (newValue === false && oldValue === true) {
613
- this.dismiss();
614
- }
615
- }
616
- triggerChanged() {
617
- const { trigger, el, triggerController } = this;
618
- if (trigger) {
619
- triggerController.addClickListener(el, trigger);
620
- }
621
- }
622
- connectedCallback() {
623
- prepareOverlay(this.el);
624
- this.triggerChanged();
625
- }
626
- disconnectedCallback() {
627
- this.triggerController.removeClickListener();
628
- }
629
- componentWillLoad() {
630
- var _a;
631
- if (!((_a = this.htmlAttributes) === null || _a === void 0 ? void 0 : _a.id)) {
632
- setOverlayId(this.el);
633
- }
634
- }
635
- componentDidLoad() {
636
- /**
637
- * If toast was rendered with isOpen="true"
638
- * then we should open toast immediately.
639
- */
640
- if (this.isOpen === true) {
641
- raf(() => this.present());
642
- }
643
- /**
644
- * When binding values in frameworks such as Angular
645
- * it is possible for the value to be set after the Web Component
646
- * initializes but before the value watcher is set up in Stencil.
647
- * As a result, the watcher callback may not be fired.
648
- * We work around this by manually calling the watcher
649
- * callback when the component has loaded and the watcher
650
- * is configured.
651
- */
652
- this.triggerChanged();
653
- }
654
- /**
655
- * Present the toast overlay after it has been created.
656
- */
657
- async present() {
658
- const unlock = await this.lockController.lock();
659
- await this.delegateController.attachViewToDom();
660
- const { el, position } = this;
661
- const anchor = this.getAnchorElement();
662
- const animationPosition = getAnimationPosition(position, anchor, getIonMode(this), el);
663
- /**
664
- * Cache the calculated position of the toast, so we can re-use it
665
- * in the dismiss animation.
666
- */
667
- this.lastPresentedPosition = animationPosition;
668
- await present(this, 'toastEnter', iosEnterAnimation, mdEnterAnimation, {
669
- position,
670
- top: animationPosition.top,
671
- bottom: animationPosition.bottom,
672
- });
673
- /**
674
- * Content is revealed to screen readers after
675
- * the transition to avoid jank since this
676
- * state updates will cause a re-render.
677
- */
678
- this.revealContentToScreenReader = true;
679
- if (this.duration > 0) {
680
- this.durationTimeout = setTimeout(() => this.dismiss(undefined, 'timeout'), this.duration);
681
- }
682
- /**
683
- * If the Toast has a swipe gesture then we can
684
- * create the gesture so users can swipe the
685
- * presented Toast.
686
- */
687
- if (this.prefersSwipeGesture()) {
688
- this.createSwipeGesture(animationPosition);
689
- }
690
- unlock();
691
- }
692
- /**
693
- * Dismiss the toast overlay after it has been presented.
694
- * This is a no-op if the overlay has not been presented yet. If you want
695
- * to remove an overlay from the DOM that was never presented, use the
696
- * [remove](https://developer.mozilla.org/en-US/docs/Web/API/Element/remove) method.
697
- *
698
- * @param data Any data to emit in the dismiss events.
699
- * @param role The role of the element that is dismissing the toast.
700
- * This can be useful in a button handler for determining which button was
701
- * clicked to dismiss the toast.
702
- * Some examples include: `"cancel"`, `"destructive"`, `"selected"`, and `"backdrop"`.
703
- */
704
- async dismiss(data, role) {
705
- var _a, _b;
706
- const unlock = await this.lockController.lock();
707
- const { durationTimeout, position, lastPresentedPosition } = this;
708
- if (durationTimeout) {
709
- clearTimeout(durationTimeout);
710
- }
711
- const dismissed = await dismiss(this, data, role, 'toastLeave', iosLeaveAnimation, mdLeaveAnimation,
712
- /**
713
- * Fetch the cached position that was calculated back in the present
714
- * animation. We always want to animate the dismiss from the same
715
- * position the present stopped at, so the animation looks continuous.
716
- */
717
- {
718
- position,
719
- top: (_a = lastPresentedPosition === null || lastPresentedPosition === void 0 ? void 0 : lastPresentedPosition.top) !== null && _a !== void 0 ? _a : '',
720
- bottom: (_b = lastPresentedPosition === null || lastPresentedPosition === void 0 ? void 0 : lastPresentedPosition.bottom) !== null && _b !== void 0 ? _b : '',
721
- });
722
- if (dismissed) {
723
- this.delegateController.removeViewFromDom();
724
- this.revealContentToScreenReader = false;
725
- }
726
- this.lastPresentedPosition = undefined;
727
- /**
728
- * If the Toast has a swipe gesture then we can
729
- * safely destroy it now that it is dismissed.
730
- */
731
- this.destroySwipeGesture();
732
- unlock();
733
- return dismissed;
734
- }
735
- /**
736
- * Returns a promise that resolves when the toast did dismiss.
737
- */
738
- onDidDismiss() {
739
- return eventMethod(this.el, 'ionToastDidDismiss');
740
- }
741
- /**
742
- * Returns a promise that resolves when the toast will dismiss.
743
- */
744
- onWillDismiss() {
745
- return eventMethod(this.el, 'ionToastWillDismiss');
746
- }
747
- getButtons() {
748
- const buttons = this.buttons
749
- ? this.buttons.map((b) => {
750
- return typeof b === 'string' ? { text: b } : b;
751
- })
752
- : [];
753
- return buttons;
754
- }
755
- /**
756
- * Returns the element specified by the positionAnchor prop,
757
- * or undefined if prop's value is an ID string and the element
758
- * is not found in the DOM.
759
- */
760
- getAnchorElement() {
761
- const { position, positionAnchor, el } = this;
762
- /**
763
- * If positionAnchor is undefined then
764
- * no anchor should be used when presenting the toast.
765
- */
766
- if (positionAnchor === undefined) {
767
- return;
768
- }
769
- if (position === 'middle' && positionAnchor !== undefined) {
770
- printIonWarning('[ion-toast] - The positionAnchor property is ignored when using position="middle".', this.el);
771
- return undefined;
772
- }
773
- if (typeof positionAnchor === 'string') {
774
- /**
775
- * If the anchor is defined as an ID, find the element.
776
- * We do this on every present so the toast doesn't need
777
- * to account for the surrounding DOM changing since the
778
- * last time it was presented.
779
- */
780
- const foundEl = document.getElementById(positionAnchor);
781
- if (foundEl === null) {
782
- printIonWarning(`[ion-toast] - An anchor element with an ID of "${positionAnchor}" was not found in the DOM.`, el);
783
- return undefined;
784
- }
785
- return foundEl;
786
- }
787
- if (positionAnchor instanceof H) {
788
- return positionAnchor;
789
- }
790
- printIonWarning('[ion-toast] - Invalid positionAnchor value:', positionAnchor, el);
791
- return undefined;
792
- }
793
- async buttonClick(button) {
794
- const role = button.role;
795
- if (isCancel(role)) {
796
- return this.dismiss(undefined, role);
797
- }
798
- const shouldDismiss = await this.callButtonHandler(button);
799
- if (shouldDismiss) {
800
- return this.dismiss(undefined, role);
801
- }
802
- return Promise.resolve();
803
- }
804
- async callButtonHandler(button) {
805
- if (button === null || button === void 0 ? void 0 : button.handler) {
806
- // a handler has been provided, execute it
807
- // pass the handler the values from the inputs
808
- try {
809
- const rtn = await safeCall(button.handler);
810
- if (rtn === false) {
811
- // if the return value of the handler is false then do not dismiss
812
- return false;
813
- }
814
- }
815
- catch (e) {
816
- printIonError('[ion-toast] - Exception in callButtonHandler:', e);
817
- }
818
- }
819
- return true;
820
- }
821
- renderButtons(buttons, side) {
822
- if (buttons.length === 0) {
823
- return;
824
- }
825
- const mode = getIonMode(this);
826
- const buttonGroupsClasses = {
827
- 'toast-button-group': true,
828
- [`toast-button-group-${side}`]: true,
829
- };
830
- return (h("div", { class: buttonGroupsClasses }, buttons.map((b) => (h("button", Object.assign({}, b.htmlAttributes, { type: "button", class: buttonClass(b), tabIndex: 0, onClick: () => this.buttonClick(b), part: buttonPart(b) }), h("div", { class: "toast-button-inner" }, b.icon && (h("ion-icon", { "aria-hidden": "true", icon: b.icon, slot: b.text === undefined ? 'icon-only' : undefined, class: "toast-button-icon" })), b.text), mode === 'md' && (h("ion-ripple-effect", { type: b.icon !== undefined && b.text === undefined ? 'unbounded' : 'bounded' })))))));
831
- }
832
- /**
833
- * Render the `message` property.
834
- * @param key - A key to give the element a stable identity. This is used to improve compatibility with screen readers.
835
- * @param ariaHidden - If "true" then content will be hidden from screen readers.
836
- */
837
- renderToastMessage(key, ariaHidden = null) {
838
- const { customHTMLEnabled, message } = this;
839
- if (customHTMLEnabled) {
840
- return (h("div", { key: key, "aria-hidden": ariaHidden, class: "toast-message", part: "message", innerHTML: sanitizeDOMString(message) }));
841
- }
842
- return (h("div", { key: key, "aria-hidden": ariaHidden, class: "toast-message", part: "message" }, message));
843
- }
844
- /**
845
- * Render the `header` property.
846
- * @param key - A key to give the element a stable identity. This is used to improve compatibility with screen readers.
847
- * @param ariaHidden - If "true" then content will be hidden from screen readers.
848
- */
849
- renderHeader(key, ariaHidden = null) {
850
- return (h("div", { key: key, class: "toast-header", "aria-hidden": ariaHidden, part: "header" }, this.header));
851
- }
852
- render() {
853
- const { layout, el, revealContentToScreenReader, header, message } = this;
854
- const allButtons = this.getButtons();
855
- const startButtons = allButtons.filter((b) => b.side === 'start');
856
- const endButtons = allButtons.filter((b) => b.side !== 'start');
857
- const mode = getIonMode(this);
858
- const wrapperClass = {
859
- 'toast-wrapper': true,
860
- [`toast-${this.position}`]: true,
861
- [`toast-layout-${layout}`]: true,
862
- };
863
- /**
864
- * Stacked buttons are only meant to be
865
- * used with one type of button.
866
- */
867
- if (layout === 'stacked' && startButtons.length > 0 && endButtons.length > 0) {
868
- printIonWarning('[ion-toast] - This toast is using start and end buttons with the stacked toast layout. We recommend following the best practice of using either start or end buttons with the stacked toast layout.', el);
869
- }
870
- return (h(Host, Object.assign({ key: 'd1ecd90c87700aad4685e230cdd430aa286b8791', tabindex: "-1" }, this.htmlAttributes, { style: {
871
- zIndex: `${60000 + this.overlayIndex}`,
872
- }, class: createColorClasses(this.color, Object.assign(Object.assign({ [mode]: true }, getClassMap(this.cssClass)), { 'overlay-hidden': true, 'toast-translucent': this.translucent })), onIonToastWillDismiss: this.dispatchCancelHandler }), h("div", { key: '4bfc863417324de69e222054d5cf9c452038b41e', class: wrapperClass }, h("div", { key: '3417940afec0392e81b7d54c7cb00f3ab6c30d47', class: "toast-container", part: "container" }, this.renderButtons(startButtons, 'start'), this.icon !== undefined && (h("ion-icon", { key: '6bf878fbc85c01e1e5faa9d97d46255a6511a952', class: "toast-icon", part: "icon", icon: this.icon, lazy: false, "aria-hidden": "true" })), h("div", { key: '54b500348a9c37660c3aff37436d9188e4374947', class: "toast-content", role: "status", "aria-atomic": "true", "aria-live": "polite" }, !revealContentToScreenReader && header !== undefined && this.renderHeader('oldHeader', 'true'), !revealContentToScreenReader && message !== undefined && this.renderToastMessage('oldMessage', 'true'), revealContentToScreenReader && header !== undefined && this.renderHeader('header'), revealContentToScreenReader && message !== undefined && this.renderToastMessage('header')), this.renderButtons(endButtons, 'end')))));
873
- }
874
- get el() { return this; }
875
- static get watchers() { return {
876
- "swipeGesture": ["swipeGestureChanged"],
877
- "isOpen": ["onIsOpenChange"],
878
- "trigger": ["triggerChanged"]
879
- }; }
880
- static get style() { return {
881
- ios: toastIosCss(),
882
- md: toastMdCss()
883
- }; }
884
- }, [289, "ion-toast", {
885
- "overlayIndex": [2, "overlay-index"],
886
- "delegate": [16],
887
- "hasController": [4, "has-controller"],
888
- "color": [513],
889
- "enterAnimation": [16],
890
- "leaveAnimation": [16],
891
- "cssClass": [1, "css-class"],
892
- "duration": [2],
893
- "header": [1],
894
- "layout": [1],
895
- "message": [1],
896
- "keyboardClose": [4, "keyboard-close"],
897
- "position": [1],
898
- "positionAnchor": [1, "position-anchor"],
899
- "buttons": [16],
900
- "translucent": [4],
901
- "animated": [4],
902
- "icon": [1],
903
- "htmlAttributes": [16],
904
- "swipeGesture": [1, "swipe-gesture"],
905
- "isOpen": [4, "is-open"],
906
- "trigger": [1],
907
- "revealContentToScreenReader": [32],
908
- "present": [64],
909
- "dismiss": [64],
910
- "onDidDismiss": [64],
911
- "onWillDismiss": [64]
912
- }, undefined, {
913
- "swipeGesture": ["swipeGestureChanged"],
914
- "isOpen": ["onIsOpenChange"],
915
- "trigger": ["triggerChanged"]
916
- }]);
917
- const buttonClass = (button) => {
918
- return {
919
- 'toast-button': true,
920
- 'toast-button-icon-only': button.icon !== undefined && button.text === undefined,
921
- [`toast-button-${button.role}`]: button.role !== undefined,
922
- 'ion-focusable': true,
923
- 'ion-activatable': true,
924
- };
925
- };
926
- const buttonPart = (button) => {
927
- return isCancel(button.role) ? 'button cancel' : 'button';
928
- };
929
- function defineCustomElement$1() {
930
- if (typeof customElements === "undefined") {
931
- return;
932
- }
933
- const components = ["ion-toast", "ion-icon", "ion-ripple-effect"];
934
- components.forEach(tagName => { switch (tagName) {
935
- case "ion-toast":
936
- if (!customElements.get(transformTag(tagName))) {
937
- customElements.define(transformTag(tagName), Toast);
938
- }
939
- break;
940
- case "ion-icon":
941
- if (!customElements.get(transformTag(tagName))) {
942
- defineCustomElement$3();
943
- }
944
- break;
945
- case "ion-ripple-effect":
946
- if (!customElements.get(transformTag(tagName))) {
947
- defineCustomElement$2();
948
- }
949
- break;
950
- } });
951
- }
952
-
953
- const IonToast = Toast;
954
- const defineCustomElement = defineCustomElement$1;
955
-
956
- export { IonToast, defineCustomElement };
957
- //# sourceMappingURL=ion-toast.js.map
958
-
959
- //# sourceMappingURL=ion-toast.js.map
7
+ */export{Q as IonToast,R as defineCustomElement}