@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,1656 +0,0 @@
1
- import { f as printIonWarning } from './p-abe_AkUW.js';
2
-
3
- /*!
4
- * (C) Ionic http://ionicframework.com - MIT License
5
- */
6
- /**
7
- * Returns true if the selected day is equal to the reference day
8
- */
9
- const isSameDay = (baseParts, compareParts) => {
10
- return (baseParts.month === compareParts.month && baseParts.day === compareParts.day && baseParts.year === compareParts.year);
11
- };
12
- /**
13
- * Returns true is the selected day is before the reference day.
14
- */
15
- const isBefore = (baseParts, compareParts) => {
16
- return !!(baseParts.year < compareParts.year ||
17
- (baseParts.year === compareParts.year && baseParts.month < compareParts.month) ||
18
- (baseParts.year === compareParts.year &&
19
- baseParts.month === compareParts.month &&
20
- baseParts.day !== null &&
21
- baseParts.day < compareParts.day));
22
- };
23
- /**
24
- * Returns true is the selected day is after the reference day.
25
- */
26
- const isAfter = (baseParts, compareParts) => {
27
- return !!(baseParts.year > compareParts.year ||
28
- (baseParts.year === compareParts.year && baseParts.month > compareParts.month) ||
29
- (baseParts.year === compareParts.year &&
30
- baseParts.month === compareParts.month &&
31
- baseParts.day !== null &&
32
- baseParts.day > compareParts.day));
33
- };
34
- const warnIfValueOutOfBounds = (value, min, max) => {
35
- const valueArray = Array.isArray(value) ? value : [value];
36
- for (const val of valueArray) {
37
- if ((min !== undefined && isBefore(val, min)) || (max !== undefined && isAfter(val, max))) {
38
- printIonWarning('[ion-datetime] - The value provided to ion-datetime is out of bounds.\n\n' +
39
- `Min: ${JSON.stringify(min)}\n` +
40
- `Max: ${JSON.stringify(max)}\n` +
41
- `Value: ${JSON.stringify(value)}`);
42
- break;
43
- }
44
- }
45
- };
46
-
47
- /*!
48
- * (C) Ionic http://ionicframework.com - MIT License
49
- */
50
- /**
51
- * Determines if given year is a
52
- * leap year. Returns `true` if year
53
- * is a leap year. Returns `false`
54
- * otherwise.
55
- */
56
- const isLeapYear = (year) => {
57
- return (year % 4 === 0 && year % 100 !== 0) || year % 400 === 0;
58
- };
59
- /**
60
- * Determines the hour cycle for a user.
61
- * If the hour cycle is explicitly defined, just use that.
62
- * Otherwise, we try to derive it from either the specified
63
- * locale extension tags or from Intl.DateTimeFormat directly.
64
- */
65
- const getHourCycle = (locale, hourCycle) => {
66
- /**
67
- * If developer has explicitly enabled 24-hour time
68
- * then return early and do not look at the system default.
69
- */
70
- if (hourCycle !== undefined) {
71
- return hourCycle;
72
- }
73
- /**
74
- * If hourCycle was not specified, check the locale
75
- * that is set on the user's device. We first check the
76
- * Intl.DateTimeFormat hourCycle option as developers can encode this
77
- * option into the locale string. Example: `en-US-u-hc-h23`
78
- */
79
- const formatted = new Intl.DateTimeFormat(locale, { hour: 'numeric' });
80
- const options = formatted.resolvedOptions();
81
- if (options.hourCycle !== undefined) {
82
- return options.hourCycle;
83
- }
84
- /**
85
- * If hourCycle is not specified (either through lack
86
- * of browser support or locale information) then fall
87
- * back to this slower hourCycle check.
88
- */
89
- const date = new Date('5/18/2021 00:00');
90
- const parts = formatted.formatToParts(date);
91
- const hour = parts.find((p) => p.type === 'hour');
92
- if (!hour) {
93
- throw new Error('Hour value not found from DateTimeFormat');
94
- }
95
- /**
96
- * Midnight for h11 starts at 0:00am
97
- * Midnight for h12 starts at 12:00am
98
- * Midnight for h23 starts at 00:00
99
- * Midnight for h24 starts at 24:00
100
- */
101
- switch (hour.value) {
102
- case '0':
103
- return 'h11';
104
- case '12':
105
- return 'h12';
106
- case '00':
107
- return 'h23';
108
- case '24':
109
- return 'h24';
110
- default:
111
- throw new Error(`Invalid hour cycle "${hourCycle}"`);
112
- }
113
- };
114
- /**
115
- * Determine if the hour cycle uses a 24-hour format.
116
- * Returns true for h23 and h24. Returns false otherwise.
117
- * If you don't know the hourCycle, use getHourCycle above
118
- * and pass the result into this function.
119
- */
120
- const is24Hour = (hourCycle) => {
121
- return hourCycle === 'h23' || hourCycle === 'h24';
122
- };
123
- /**
124
- * Given a date object, returns the number
125
- * of days in that month.
126
- * Month value begin at 1, not 0.
127
- * i.e. January = month 1.
128
- */
129
- const getNumDaysInMonth = (month, year) => {
130
- return month === 4 || month === 6 || month === 9 || month === 11
131
- ? 30
132
- : month === 2
133
- ? isLeapYear(year)
134
- ? 29
135
- : 28
136
- : 31;
137
- };
138
- /**
139
- * Certain locales display month then year while
140
- * others display year then month.
141
- * We can use Intl.DateTimeFormat to determine
142
- * the ordering for each locale.
143
- * The formatOptions param can be used to customize
144
- * which pieces of a date to compare against the month
145
- * with. For example, some locales render dd/mm/yyyy
146
- * while others render mm/dd/yyyy. This function can be
147
- * used for variations of the same "month first" check.
148
- */
149
- const isMonthFirstLocale = (locale, formatOptions = {
150
- month: 'numeric',
151
- year: 'numeric',
152
- }) => {
153
- /**
154
- * By setting month and year we guarantee that only
155
- * month, year, and literal (slashes '/', for example)
156
- * values are included in the formatToParts results.
157
- *
158
- * The ordering of the parts will be determined by
159
- * the locale. So if the month is the first value,
160
- * then we know month should be shown first. If the
161
- * year is the first value, then we know year should be shown first.
162
- *
163
- * This ordering can be controlled by customizing the locale property.
164
- */
165
- const parts = new Intl.DateTimeFormat(locale, formatOptions).formatToParts(new Date());
166
- return parts[0].type === 'month';
167
- };
168
- /**
169
- * Determines if the given locale formats the day period (am/pm) to the
170
- * left or right of the hour.
171
- * @param locale The locale to check.
172
- * @returns `true` if the locale formats the day period to the left of the hour.
173
- */
174
- const isLocaleDayPeriodRTL = (locale) => {
175
- const parts = new Intl.DateTimeFormat(locale, { hour: 'numeric' }).formatToParts(new Date());
176
- return parts[0].type === 'dayPeriod';
177
- };
178
-
179
- /*!
180
- * (C) Ionic http://ionicframework.com - MIT License
181
- */
182
- const ISO_8601_REGEXP =
183
- // eslint-disable-next-line no-useless-escape
184
- /^(\d{4}|[+\-]\d{6})(?:-(\d{2})(?:-(\d{2}))?)?(?:T(\d{2}):(\d{2})(?::(\d{2})(?:\.(\d{3}))?)?(?:(Z)|([+\-])(\d{2})(?::(\d{2}))?)?)?$/;
185
- // eslint-disable-next-line no-useless-escape
186
- const TIME_REGEXP = /^((\d{2}):(\d{2})(?::(\d{2})(?:\.(\d{3}))?)?(?:(Z)|([+\-])(\d{2})(?::(\d{2}))?)?)?$/;
187
- /**
188
- * Use to convert a string of comma separated numbers or
189
- * an array of numbers, and clean up any user input
190
- */
191
- const convertToArrayOfNumbers = (input) => {
192
- if (input === undefined) {
193
- return;
194
- }
195
- let processedInput = input;
196
- if (typeof input === 'string') {
197
- // convert the string to an array of strings
198
- // auto remove any whitespace and [] characters
199
- processedInput = input.replace(/\[|\]|\s/g, '').split(',');
200
- }
201
- let values;
202
- if (Array.isArray(processedInput)) {
203
- // ensure each value is an actual number in the returned array
204
- values = processedInput.map((num) => parseInt(num, 10)).filter(isFinite);
205
- }
206
- else {
207
- values = [processedInput];
208
- }
209
- return values;
210
- };
211
- /**
212
- * Extracts date information
213
- * from a .calendar-day element
214
- * into DatetimeParts.
215
- */
216
- const getPartsFromCalendarDay = (el) => {
217
- return {
218
- month: parseInt(el.getAttribute('data-month'), 10),
219
- day: parseInt(el.getAttribute('data-day'), 10),
220
- year: parseInt(el.getAttribute('data-year'), 10),
221
- dayOfWeek: parseInt(el.getAttribute('data-day-of-week'), 10),
222
- };
223
- };
224
- function parseDate(val) {
225
- if (Array.isArray(val)) {
226
- const parsedArray = [];
227
- for (const valStr of val) {
228
- const parsedVal = parseDate(valStr);
229
- /**
230
- * If any of the values weren't parsed correctly, consider
231
- * the entire batch incorrect. This simplifies the type
232
- * signatures by having "undefined" be a general error case
233
- * instead of returning (Datetime | undefined)[], which is
234
- * harder for TS to perform type narrowing on.
235
- */
236
- if (!parsedVal) {
237
- return undefined;
238
- }
239
- parsedArray.push(parsedVal);
240
- }
241
- return parsedArray;
242
- }
243
- // manually parse IS0 cuz Date.parse cannot be trusted
244
- // ISO 8601 format: 1994-12-15T13:47:20Z
245
- let parse = null;
246
- if (val != null && val !== '') {
247
- // try parsing for just time first, HH:MM
248
- parse = TIME_REGEXP.exec(val);
249
- if (parse) {
250
- // adjust the array so it fits nicely with the datetime parse
251
- parse.unshift(undefined, undefined);
252
- parse[2] = parse[3] = undefined;
253
- }
254
- else {
255
- // try parsing for full ISO datetime
256
- parse = ISO_8601_REGEXP.exec(val);
257
- }
258
- }
259
- if (parse === null) {
260
- // wasn't able to parse the ISO datetime
261
- printIonWarning(`[ion-datetime] - Unable to parse date string: ${val}. Please provide a valid ISO 8601 datetime string.`);
262
- return undefined;
263
- }
264
- // ensure all the parse values exist with at least 0
265
- for (let i = 1; i < 8; i++) {
266
- parse[i] = parse[i] !== undefined ? parseInt(parse[i], 10) : undefined;
267
- }
268
- // can also get second and millisecond from parse[6] and parse[7] if needed
269
- return {
270
- year: parse[1],
271
- month: parse[2],
272
- day: parse[3],
273
- hour: parse[4],
274
- minute: parse[5],
275
- ampm: parse[4] < 12 ? 'am' : 'pm',
276
- };
277
- }
278
- const clampDate = (dateParts, minParts, maxParts) => {
279
- if (minParts && isBefore(dateParts, minParts)) {
280
- return minParts;
281
- }
282
- else if (maxParts && isAfter(dateParts, maxParts)) {
283
- return maxParts;
284
- }
285
- return dateParts;
286
- };
287
- /**
288
- * Parses an hour and returns if the value is in the morning (am) or afternoon (pm).
289
- * @param hour The hour to format, should be 0-23
290
- * @returns `pm` if the hour is greater than or equal to 12, `am` if less than 12.
291
- */
292
- const parseAmPm = (hour) => {
293
- return hour >= 12 ? 'pm' : 'am';
294
- };
295
- /**
296
- * Takes a max date string and creates a DatetimeParts
297
- * object, filling in any missing information.
298
- * For example, max="2012" would fill in the missing
299
- * month, day, hour, and minute information.
300
- */
301
- const parseMaxParts = (max, todayParts) => {
302
- const result = parseDate(max);
303
- /**
304
- * If min was not a valid date then return undefined.
305
- */
306
- if (result === undefined) {
307
- return;
308
- }
309
- const { month, day, year, hour, minute } = result;
310
- /**
311
- * When passing in `max` or `min`, developers
312
- * can pass in any ISO-8601 string. This means
313
- * that not all of the date/time fields are defined.
314
- * For example, passing max="2012" is valid even though
315
- * there is no month, day, hour, or minute data.
316
- * However, all of this data is required when clamping the date
317
- * so that the correct initial value can be selected. As a result,
318
- * we need to fill in any omitted data with the min or max values.
319
- */
320
- const yearValue = year !== null && year !== void 0 ? year : todayParts.year;
321
- const monthValue = month !== null && month !== void 0 ? month : 12;
322
- return {
323
- month: monthValue,
324
- day: day !== null && day !== void 0 ? day : getNumDaysInMonth(monthValue, yearValue),
325
- /**
326
- * Passing in "HH:mm" is a valid ISO-8601
327
- * string, so we just default to the current year
328
- * in this case.
329
- */
330
- year: yearValue,
331
- hour: hour !== null && hour !== void 0 ? hour : 23,
332
- minute: minute !== null && minute !== void 0 ? minute : 59,
333
- };
334
- };
335
- /**
336
- * Takes a min date string and creates a DatetimeParts
337
- * object, filling in any missing information.
338
- * For example, min="2012" would fill in the missing
339
- * month, day, hour, and minute information.
340
- */
341
- const parseMinParts = (min, todayParts) => {
342
- const result = parseDate(min);
343
- /**
344
- * If min was not a valid date then return undefined.
345
- */
346
- if (result === undefined) {
347
- return;
348
- }
349
- const { month, day, year, hour, minute } = result;
350
- /**
351
- * When passing in `max` or `min`, developers
352
- * can pass in any ISO-8601 string. This means
353
- * that not all of the date/time fields are defined.
354
- * For example, passing max="2012" is valid even though
355
- * there is no month, day, hour, or minute data.
356
- * However, all of this data is required when clamping the date
357
- * so that the correct initial value can be selected. As a result,
358
- * we need to fill in any omitted data with the min or max values.
359
- */
360
- return {
361
- month: month !== null && month !== void 0 ? month : 1,
362
- day: day !== null && day !== void 0 ? day : 1,
363
- /**
364
- * Passing in "HH:mm" is a valid ISO-8601
365
- * string, so we just default to the current year
366
- * in this case.
367
- */
368
- year: year !== null && year !== void 0 ? year : todayParts.year,
369
- hour: hour !== null && hour !== void 0 ? hour : 0,
370
- minute: minute !== null && minute !== void 0 ? minute : 0,
371
- };
372
- };
373
-
374
- /*!
375
- * (C) Ionic http://ionicframework.com - MIT License
376
- */
377
- const twoDigit = (val) => {
378
- return ('0' + (val !== undefined ? Math.abs(val) : '0')).slice(-2);
379
- };
380
- const fourDigit = (val) => {
381
- return ('000' + (val !== undefined ? Math.abs(val) : '0')).slice(-4);
382
- };
383
- function convertDataToISO(data) {
384
- if (Array.isArray(data)) {
385
- return data.map((parts) => convertDataToISO(parts));
386
- }
387
- // https://www.w3.org/TR/NOTE-datetime
388
- let rtn = '';
389
- if (data.year !== undefined) {
390
- // YYYY
391
- rtn = fourDigit(data.year);
392
- if (data.month !== undefined) {
393
- // YYYY-MM
394
- rtn += '-' + twoDigit(data.month);
395
- if (data.day !== undefined) {
396
- // YYYY-MM-DD
397
- rtn += '-' + twoDigit(data.day);
398
- if (data.hour !== undefined) {
399
- // YYYY-MM-DDTHH:mm:SS
400
- rtn += `T${twoDigit(data.hour)}:${twoDigit(data.minute)}:00`;
401
- }
402
- }
403
- }
404
- }
405
- else if (data.hour !== undefined) {
406
- // HH:mm
407
- rtn = twoDigit(data.hour) + ':' + twoDigit(data.minute);
408
- }
409
- return rtn;
410
- }
411
- /**
412
- * Converts an 12 hour value to 24 hours.
413
- */
414
- const convert12HourTo24Hour = (hour, ampm) => {
415
- if (ampm === undefined) {
416
- return hour;
417
- }
418
- /**
419
- * If AM and 12am
420
- * then return 00:00.
421
- * Otherwise just return
422
- * the hour since it is
423
- * already in 24 hour format.
424
- */
425
- if (ampm === 'am') {
426
- if (hour === 12) {
427
- return 0;
428
- }
429
- return hour;
430
- }
431
- /**
432
- * If PM and 12pm
433
- * just return 12:00
434
- * since it is already
435
- * in 24 hour format.
436
- * Otherwise add 12 hours
437
- * to the time.
438
- */
439
- if (hour === 12) {
440
- return 12;
441
- }
442
- return hour + 12;
443
- };
444
- const getStartOfWeek = (refParts) => {
445
- const { dayOfWeek } = refParts;
446
- if (dayOfWeek === null || dayOfWeek === undefined) {
447
- throw new Error('No day of week provided');
448
- }
449
- return subtractDays(refParts, dayOfWeek);
450
- };
451
- const getEndOfWeek = (refParts) => {
452
- const { dayOfWeek } = refParts;
453
- if (dayOfWeek === null || dayOfWeek === undefined) {
454
- throw new Error('No day of week provided');
455
- }
456
- return addDays(refParts, 6 - dayOfWeek);
457
- };
458
- const getNextDay = (refParts) => {
459
- return addDays(refParts, 1);
460
- };
461
- const getPreviousDay = (refParts) => {
462
- return subtractDays(refParts, 1);
463
- };
464
- const getPreviousWeek = (refParts) => {
465
- return subtractDays(refParts, 7);
466
- };
467
- const getNextWeek = (refParts) => {
468
- return addDays(refParts, 7);
469
- };
470
- /**
471
- * Given datetime parts, subtract
472
- * numDays from the date.
473
- * Returns a new DatetimeParts object
474
- * Currently can only go backward at most 1 month.
475
- */
476
- const subtractDays = (refParts, numDays) => {
477
- const { month, day, year } = refParts;
478
- if (day === null) {
479
- throw new Error('No day provided');
480
- }
481
- const workingParts = {
482
- month,
483
- day,
484
- year,
485
- };
486
- workingParts.day = day - numDays;
487
- /**
488
- * If wrapping to previous month
489
- * update days and decrement month
490
- */
491
- if (workingParts.day < 1) {
492
- workingParts.month -= 1;
493
- }
494
- /**
495
- * If moving to previous year, reset
496
- * month to December and decrement year
497
- */
498
- if (workingParts.month < 1) {
499
- workingParts.month = 12;
500
- workingParts.year -= 1;
501
- }
502
- /**
503
- * Determine how many days are in the current
504
- * month
505
- */
506
- if (workingParts.day < 1) {
507
- const daysInMonth = getNumDaysInMonth(workingParts.month, workingParts.year);
508
- /**
509
- * Take num days in month and add the
510
- * number of underflow days. This number will
511
- * be negative.
512
- * Example: 1 week before Jan 2, 2021 is
513
- * December 26, 2021 so:
514
- * 2 - 7 = -5
515
- * 31 + (-5) = 26
516
- */
517
- workingParts.day = daysInMonth + workingParts.day;
518
- }
519
- return workingParts;
520
- };
521
- /**
522
- * Given datetime parts, add
523
- * numDays to the date.
524
- * Returns a new DatetimeParts object
525
- * Currently can only go forward at most 1 month.
526
- */
527
- const addDays = (refParts, numDays) => {
528
- const { month, day, year } = refParts;
529
- if (day === null) {
530
- throw new Error('No day provided');
531
- }
532
- const workingParts = {
533
- month,
534
- day,
535
- year,
536
- };
537
- const daysInMonth = getNumDaysInMonth(month, year);
538
- workingParts.day = day + numDays;
539
- /**
540
- * If wrapping to next month
541
- * update days and increment month
542
- */
543
- if (workingParts.day > daysInMonth) {
544
- workingParts.day -= daysInMonth;
545
- workingParts.month += 1;
546
- }
547
- /**
548
- * If moving to next year, reset
549
- * month to January and increment year
550
- */
551
- if (workingParts.month > 12) {
552
- workingParts.month = 1;
553
- workingParts.year += 1;
554
- }
555
- return workingParts;
556
- };
557
- /**
558
- * Given DatetimeParts, generate the previous month.
559
- */
560
- const getPreviousMonth = (refParts) => {
561
- /**
562
- * If current month is January, wrap backwards
563
- * to December of the previous year.
564
- */
565
- const month = refParts.month === 1 ? 12 : refParts.month - 1;
566
- const year = refParts.month === 1 ? refParts.year - 1 : refParts.year;
567
- const numDaysInMonth = getNumDaysInMonth(month, year);
568
- const day = numDaysInMonth < refParts.day ? numDaysInMonth : refParts.day;
569
- return { month, year, day };
570
- };
571
- /**
572
- * Given DatetimeParts, generate the next month.
573
- */
574
- const getNextMonth = (refParts) => {
575
- /**
576
- * If current month is December, wrap forwards
577
- * to January of the next year.
578
- */
579
- const month = refParts.month === 12 ? 1 : refParts.month + 1;
580
- const year = refParts.month === 12 ? refParts.year + 1 : refParts.year;
581
- const numDaysInMonth = getNumDaysInMonth(month, year);
582
- const day = numDaysInMonth < refParts.day ? numDaysInMonth : refParts.day;
583
- return { month, year, day };
584
- };
585
- const changeYear = (refParts, yearDelta) => {
586
- const month = refParts.month;
587
- const year = refParts.year + yearDelta;
588
- const numDaysInMonth = getNumDaysInMonth(month, year);
589
- const day = numDaysInMonth < refParts.day ? numDaysInMonth : refParts.day;
590
- return { month, year, day };
591
- };
592
- /**
593
- * Given DatetimeParts, generate the previous year.
594
- */
595
- const getPreviousYear = (refParts) => {
596
- return changeYear(refParts, -1);
597
- };
598
- /**
599
- * Given DatetimeParts, generate the next year.
600
- */
601
- const getNextYear = (refParts) => {
602
- return changeYear(refParts, 1);
603
- };
604
- /**
605
- * If PM, then internal value should
606
- * be converted to 24-hr time.
607
- * Does not apply when public
608
- * values are already 24-hr time.
609
- */
610
- const getInternalHourValue = (hour, use24Hour, ampm) => {
611
- if (use24Hour) {
612
- return hour;
613
- }
614
- return convert12HourTo24Hour(hour, ampm);
615
- };
616
- /**
617
- * Unless otherwise stated, all month values are
618
- * 1 indexed instead of the typical 0 index in JS Date.
619
- * Example:
620
- * January = Month 0 when using JS Date
621
- * January = Month 1 when using this datetime util
622
- */
623
- /**
624
- * Given the current datetime parts and a new AM/PM value
625
- * calculate what the hour should be in 24-hour time format.
626
- * Used when toggling the AM/PM segment since we store our hours
627
- * in 24-hour time format internally.
628
- */
629
- const calculateHourFromAMPM = (currentParts, newAMPM) => {
630
- const { ampm: currentAMPM, hour } = currentParts;
631
- let newHour = hour;
632
- /**
633
- * If going from AM --> PM, need to update the
634
- *
635
- */
636
- if (currentAMPM === 'am' && newAMPM === 'pm') {
637
- newHour = convert12HourTo24Hour(newHour, 'pm');
638
- /**
639
- * If going from PM --> AM
640
- */
641
- }
642
- else if (currentAMPM === 'pm' && newAMPM === 'am') {
643
- newHour = Math.abs(newHour - 12);
644
- }
645
- return newHour;
646
- };
647
- /**
648
- * Updates parts to ensure that month and day
649
- * values are valid. For days that do not exist,
650
- * or are outside the min/max bounds, the closest
651
- * valid day is used.
652
- */
653
- const validateParts = (parts, minParts, maxParts) => {
654
- const { month, day, year } = parts;
655
- const partsCopy = clampDate(Object.assign({}, parts), minParts, maxParts);
656
- const numDays = getNumDaysInMonth(month, year);
657
- /**
658
- * If the max number of days
659
- * is greater than the day we want
660
- * to set, update the DatetimeParts
661
- * day field to be the max days.
662
- */
663
- if (day !== null && numDays < day) {
664
- partsCopy.day = numDays;
665
- }
666
- /**
667
- * If value is same day as min day,
668
- * make sure the time value is in bounds.
669
- */
670
- if (minParts !== undefined && isSameDay(partsCopy, minParts)) {
671
- /**
672
- * If the hour is out of bounds,
673
- * update both the hour and minute.
674
- * This is done so that the new time
675
- * is closest to what the user selected.
676
- */
677
- if (partsCopy.hour !== undefined && minParts.hour !== undefined) {
678
- if (partsCopy.hour < minParts.hour) {
679
- partsCopy.hour = minParts.hour;
680
- partsCopy.minute = minParts.minute;
681
- /**
682
- * If only the minute is out of bounds,
683
- * set it to the min minute.
684
- */
685
- }
686
- else if (partsCopy.hour === minParts.hour &&
687
- partsCopy.minute !== undefined &&
688
- minParts.minute !== undefined &&
689
- partsCopy.minute < minParts.minute) {
690
- partsCopy.minute = minParts.minute;
691
- }
692
- }
693
- }
694
- /**
695
- * If value is same day as max day,
696
- * make sure the time value is in bounds.
697
- */
698
- if (maxParts !== undefined && isSameDay(parts, maxParts)) {
699
- /**
700
- * If the hour is out of bounds,
701
- * update both the hour and minute.
702
- * This is done so that the new time
703
- * is closest to what the user selected.
704
- */
705
- if (partsCopy.hour !== undefined && maxParts.hour !== undefined) {
706
- if (partsCopy.hour > maxParts.hour) {
707
- partsCopy.hour = maxParts.hour;
708
- partsCopy.minute = maxParts.minute;
709
- /**
710
- * If only the minute is out of bounds,
711
- * set it to the max minute.
712
- */
713
- }
714
- else if (partsCopy.hour === maxParts.hour &&
715
- partsCopy.minute !== undefined &&
716
- maxParts.minute !== undefined &&
717
- partsCopy.minute > maxParts.minute) {
718
- partsCopy.minute = maxParts.minute;
719
- }
720
- }
721
- }
722
- return partsCopy;
723
- };
724
- /**
725
- * Returns the closest date to refParts
726
- * that also meets the constraints of
727
- * the *Values params.
728
- */
729
- const getClosestValidDate = ({ refParts, monthValues, dayValues, yearValues, hourValues, minuteValues, minParts, maxParts, }) => {
730
- const { hour, minute, day, month, year } = refParts;
731
- const copyParts = Object.assign(Object.assign({}, refParts), { dayOfWeek: undefined });
732
- if (yearValues !== undefined) {
733
- // Filters out years that are out of the min/max bounds
734
- const filteredYears = yearValues.filter((year) => {
735
- if (minParts !== undefined && year < minParts.year) {
736
- return false;
737
- }
738
- if (maxParts !== undefined && year > maxParts.year) {
739
- return false;
740
- }
741
- return true;
742
- });
743
- copyParts.year = findClosestValue(year, filteredYears);
744
- }
745
- if (monthValues !== undefined) {
746
- // Filters out months that are out of the min/max bounds
747
- const filteredMonths = monthValues.filter((month) => {
748
- if (minParts !== undefined && copyParts.year === minParts.year && month < minParts.month) {
749
- return false;
750
- }
751
- if (maxParts !== undefined && copyParts.year === maxParts.year && month > maxParts.month) {
752
- return false;
753
- }
754
- return true;
755
- });
756
- copyParts.month = findClosestValue(month, filteredMonths);
757
- }
758
- // Day is nullable but cannot be undefined
759
- if (day !== null && dayValues !== undefined) {
760
- // Filters out days that are out of the min/max bounds
761
- const filteredDays = dayValues.filter((day) => {
762
- if (minParts !== undefined && isBefore(Object.assign(Object.assign({}, copyParts), { day }), minParts)) {
763
- return false;
764
- }
765
- if (maxParts !== undefined && isAfter(Object.assign(Object.assign({}, copyParts), { day }), maxParts)) {
766
- return false;
767
- }
768
- return true;
769
- });
770
- copyParts.day = findClosestValue(day, filteredDays);
771
- }
772
- if (hour !== undefined && hourValues !== undefined) {
773
- // Filters out hours that are out of the min/max bounds
774
- const filteredHours = hourValues.filter((hour) => {
775
- if ((minParts === null || minParts === void 0 ? void 0 : minParts.hour) !== undefined && isSameDay(copyParts, minParts) && hour < minParts.hour) {
776
- return false;
777
- }
778
- if ((maxParts === null || maxParts === void 0 ? void 0 : maxParts.hour) !== undefined && isSameDay(copyParts, maxParts) && hour > maxParts.hour) {
779
- return false;
780
- }
781
- return true;
782
- });
783
- copyParts.hour = findClosestValue(hour, filteredHours);
784
- copyParts.ampm = parseAmPm(copyParts.hour);
785
- }
786
- if (minute !== undefined && minuteValues !== undefined) {
787
- // Filters out minutes that are out of the min/max bounds
788
- const filteredMinutes = minuteValues.filter((minute) => {
789
- if ((minParts === null || minParts === void 0 ? void 0 : minParts.minute) !== undefined &&
790
- isSameDay(copyParts, minParts) &&
791
- copyParts.hour === minParts.hour &&
792
- minute < minParts.minute) {
793
- return false;
794
- }
795
- if ((maxParts === null || maxParts === void 0 ? void 0 : maxParts.minute) !== undefined &&
796
- isSameDay(copyParts, maxParts) &&
797
- copyParts.hour === maxParts.hour &&
798
- minute > maxParts.minute) {
799
- return false;
800
- }
801
- return true;
802
- });
803
- copyParts.minute = findClosestValue(minute, filteredMinutes);
804
- }
805
- return copyParts;
806
- };
807
- /**
808
- * Finds the value in "values" that is
809
- * numerically closest to "reference".
810
- * This function assumes that "values" is
811
- * already sorted in ascending order.
812
- * @param reference The reference number to use
813
- * when finding the closest value
814
- * @param values The allowed values that will be
815
- * searched to find the closest value to "reference"
816
- */
817
- const findClosestValue = (reference, values) => {
818
- let closestValue = values[0];
819
- let rank = Math.abs(closestValue - reference);
820
- for (let i = 1; i < values.length; i++) {
821
- const value = values[i];
822
- /**
823
- * This code prioritizes the first
824
- * closest result. Given two values
825
- * with the same distance from reference,
826
- * this code will prioritize the smaller of
827
- * the two values.
828
- */
829
- const valueRank = Math.abs(value - reference);
830
- if (valueRank < rank) {
831
- closestValue = value;
832
- rank = valueRank;
833
- }
834
- }
835
- return closestValue;
836
- };
837
-
838
- /*!
839
- * (C) Ionic http://ionicframework.com - MIT License
840
- */
841
- const getFormattedDayPeriod = (dayPeriod) => {
842
- if (dayPeriod === undefined) {
843
- return '';
844
- }
845
- return dayPeriod.toUpperCase();
846
- };
847
- /**
848
- * Including time zone options may lead to the rendered text showing a
849
- * different time from what was selected in the Datetime, which could cause
850
- * confusion.
851
- */
852
- const stripTimeZone = (formatOptions) => {
853
- return Object.assign(Object.assign({}, formatOptions), {
854
- /**
855
- * Setting the time zone to UTC ensures that the value shown is always the
856
- * same as what was selected and safeguards against older Safari bugs with
857
- * Intl.DateTimeFormat.
858
- */
859
- timeZone: 'UTC',
860
- /**
861
- * We do not want to display the time zone name
862
- */
863
- timeZoneName: undefined
864
- });
865
- };
866
- const getLocalizedTime = (locale, refParts, hourCycle, formatOptions = { hour: 'numeric', minute: 'numeric' }) => {
867
- const timeParts = {
868
- hour: refParts.hour,
869
- minute: refParts.minute,
870
- };
871
- if (timeParts.hour === undefined || timeParts.minute === undefined) {
872
- return 'Invalid Time';
873
- }
874
- return new Intl.DateTimeFormat(locale, Object.assign(Object.assign({}, stripTimeZone(formatOptions)), {
875
- /**
876
- * We use hourCycle here instead of hour12 due to:
877
- * https://bugs.chromium.org/p/chromium/issues/detail?id=1347316&q=hour12&can=2
878
- */
879
- hourCycle
880
- })).format(new Date(convertDataToISO(Object.assign({
881
- /**
882
- * JS uses a simplified ISO 8601 format which allows for
883
- * date-only formats and date-time formats, but not
884
- * time-only formats: https://tc39.es/ecma262/#sec-date-time-string-format
885
- * As a result, developers who only pass a time will get
886
- * an "Invalid Date" error. To account for this, we make sure that
887
- * year/day/month values are set when passing to new Date().
888
- * The Intl.DateTimeFormat call above only uses the hour/minute
889
- * values, so passing these date values should have no impact
890
- * on the time output.
891
- */
892
- year: 2023, day: 1, month: 1
893
- }, timeParts)) + 'Z'));
894
- };
895
- /**
896
- * Adds padding to a time value so
897
- * that it is always 2 digits.
898
- */
899
- const addTimePadding = (value) => {
900
- const valueToString = value.toString();
901
- if (valueToString.length > 1) {
902
- return valueToString;
903
- }
904
- return `0${valueToString}`;
905
- };
906
- /**
907
- * Formats 24 hour times so that
908
- * it always has 2 digits. For
909
- * 12 hour times it ensures that
910
- * hour 0 is formatted as '12'.
911
- */
912
- const getFormattedHour = (hour, hourCycle) => {
913
- /**
914
- * Midnight for h11 starts at 0:00am
915
- * Midnight for h12 starts at 12:00am
916
- * Midnight for h23 starts at 00:00
917
- * Midnight for h24 starts at 24:00
918
- */
919
- if (hour === 0) {
920
- switch (hourCycle) {
921
- case 'h11':
922
- return '0';
923
- case 'h12':
924
- return '12';
925
- case 'h23':
926
- return '00';
927
- case 'h24':
928
- return '24';
929
- default:
930
- throw new Error(`Invalid hour cycle "${hourCycle}"`);
931
- }
932
- }
933
- const use24Hour = is24Hour(hourCycle);
934
- /**
935
- * h23 and h24 use 24 hour times.
936
- */
937
- if (use24Hour) {
938
- return addTimePadding(hour);
939
- }
940
- return hour.toString();
941
- };
942
- /**
943
- * Generates an aria-label to be read by screen readers
944
- * given a local, a date, and whether or not that date is
945
- * today's date.
946
- */
947
- const generateDayAriaLabel = (locale, today, refParts) => {
948
- if (refParts.day === null) {
949
- return null;
950
- }
951
- /**
952
- * MM/DD/YYYY will return midnight in the user's timezone.
953
- */
954
- const date = getNormalizedDate(refParts);
955
- const labelString = new Intl.DateTimeFormat(locale, {
956
- weekday: 'long',
957
- month: 'long',
958
- day: 'numeric',
959
- timeZone: 'UTC',
960
- }).format(date);
961
- /**
962
- * If date is today, prepend "Today" so screen readers indicate
963
- * that the date is today.
964
- */
965
- return today ? `Today, ${labelString}` : labelString;
966
- };
967
- /**
968
- * Given a locale and a date object,
969
- * return a formatted string that includes
970
- * the month name and full year.
971
- * Example: May 2021
972
- */
973
- const getMonthAndYear = (locale, refParts) => {
974
- const date = getNormalizedDate(refParts);
975
- return new Intl.DateTimeFormat(locale, { month: 'long', year: 'numeric', timeZone: 'UTC' }).format(date);
976
- };
977
- /**
978
- * Given a locale and a date object,
979
- * return a formatted string that includes
980
- * the numeric day.
981
- * Note: Some languages will add literal characters
982
- * to the end. This function removes those literals.
983
- * Example: 29
984
- */
985
- const getDay = (locale, refParts) => {
986
- return getLocalizedDateTimeParts(locale, refParts, { day: 'numeric' }).find((obj) => obj.type === 'day').value;
987
- };
988
- /**
989
- * Given a locale and a date object,
990
- * return a formatted string that includes
991
- * the numeric year.
992
- * Example: 2022
993
- */
994
- const getYear = (locale, refParts) => {
995
- return getLocalizedDateTime(locale, refParts, { year: 'numeric' });
996
- };
997
- /**
998
- * Given reference parts, return a JS Date object
999
- * with a normalized time.
1000
- */
1001
- const getNormalizedDate = (refParts) => {
1002
- var _a, _b, _c;
1003
- const timeString = refParts.hour !== undefined && refParts.minute !== undefined ? ` ${refParts.hour}:${refParts.minute}` : '';
1004
- /**
1005
- * We use / notation here for the date
1006
- * so we do not need to do extra work and pad values with zeroes.
1007
- * Values such as YYYY-MM are still valid, so
1008
- * we add fallback values so we still get
1009
- * a valid date otherwise we will pass in a string
1010
- * like "//2023". Some browsers, such as Chrome, will
1011
- * account for this and still return a valid date. However,
1012
- * this is not a consistent behavior across all browsers.
1013
- */
1014
- return new Date(`${(_a = refParts.month) !== null && _a !== void 0 ? _a : 1}/${(_b = refParts.day) !== null && _b !== void 0 ? _b : 1}/${(_c = refParts.year) !== null && _c !== void 0 ? _c : 2023}${timeString} GMT+0000`);
1015
- };
1016
- /**
1017
- * Given a locale, DatetimeParts, and options
1018
- * format the DatetimeParts according to the options
1019
- * and locale combination. This returns a string. If
1020
- * you want an array of the individual pieces
1021
- * that make up the localized date string, use
1022
- * getLocalizedDateTimeParts.
1023
- */
1024
- const getLocalizedDateTime = (locale, refParts, options) => {
1025
- const date = getNormalizedDate(refParts);
1026
- return getDateTimeFormat(locale, stripTimeZone(options)).format(date);
1027
- };
1028
- /**
1029
- * Given a locale, DatetimeParts, and options
1030
- * format the DatetimeParts according to the options
1031
- * and locale combination. This returns an array of
1032
- * each piece of the date.
1033
- */
1034
- const getLocalizedDateTimeParts = (locale, refParts, options) => {
1035
- const date = getNormalizedDate(refParts);
1036
- return getDateTimeFormat(locale, options).formatToParts(date);
1037
- };
1038
- /**
1039
- * Wrapper function for Intl.DateTimeFormat.
1040
- * Allows developers to apply an allowed format to DatetimeParts.
1041
- * This function also has built in safeguards for older browser bugs
1042
- * with Intl.DateTimeFormat.
1043
- */
1044
- const getDateTimeFormat = (locale, options) => {
1045
- return new Intl.DateTimeFormat(locale, Object.assign(Object.assign({}, options), { timeZone: 'UTC' }));
1046
- };
1047
- /**
1048
- * Gets a localized version of "Today"
1049
- * Falls back to "Today" in English for
1050
- * browsers that do not support RelativeTimeFormat.
1051
- */
1052
- const getTodayLabel = (locale) => {
1053
- if ('RelativeTimeFormat' in Intl) {
1054
- const label = new Intl.RelativeTimeFormat(locale, { numeric: 'auto' }).format(0, 'day');
1055
- return label.charAt(0).toUpperCase() + label.slice(1);
1056
- }
1057
- else {
1058
- return 'Today';
1059
- }
1060
- };
1061
- /**
1062
- * When calling toISOString(), the browser
1063
- * will convert the date to UTC time by either adding
1064
- * or subtracting the time zone offset.
1065
- * To work around this, we need to either add
1066
- * or subtract the time zone offset to the Date
1067
- * object prior to calling toISOString().
1068
- * This allows us to get an ISO string
1069
- * that is in the user's time zone.
1070
- *
1071
- * Example:
1072
- * Time zone offset is 240
1073
- * Meaning: The browser needs to add 240 minutes
1074
- * to the Date object to get UTC time.
1075
- * What Ionic does: We subtract 240 minutes
1076
- * from the Date object. The browser then adds
1077
- * 240 minutes in toISOString(). The result
1078
- * is a time that is in the user's time zone
1079
- * and not UTC.
1080
- *
1081
- * Note: Some timezones include minute adjustments
1082
- * such as 30 or 45 minutes. This is why we use setMinutes
1083
- * instead of setHours.
1084
- * Example: India Standard Time
1085
- * Timezone offset: -330 = -5.5 hours.
1086
- *
1087
- * List of timezones with 30 and 45 minute timezones:
1088
- * https://www.timeanddate.com/time/time-zones-interesting.html
1089
- */
1090
- const removeDateTzOffset = (date) => {
1091
- const tzOffset = date.getTimezoneOffset();
1092
- date.setMinutes(date.getMinutes() - tzOffset);
1093
- return date;
1094
- };
1095
- const DATE_AM = removeDateTzOffset(new Date('2022T01:00'));
1096
- const DATE_PM = removeDateTzOffset(new Date('2022T13:00'));
1097
- /**
1098
- * Formats the locale's string representation of the day period (am/pm) for a given
1099
- * ref parts day period.
1100
- *
1101
- * @param locale The locale to format the day period in.
1102
- * @param value The date string, in ISO format.
1103
- * @returns The localized day period (am/pm) representation of the given value.
1104
- */
1105
- const getLocalizedDayPeriod = (locale, dayPeriod) => {
1106
- const date = dayPeriod === 'am' ? DATE_AM : DATE_PM;
1107
- const localizedDayPeriod = new Intl.DateTimeFormat(locale, {
1108
- hour: 'numeric',
1109
- timeZone: 'UTC',
1110
- })
1111
- .formatToParts(date)
1112
- .find((part) => part.type === 'dayPeriod');
1113
- if (localizedDayPeriod) {
1114
- return localizedDayPeriod.value;
1115
- }
1116
- return getFormattedDayPeriod(dayPeriod);
1117
- };
1118
- /**
1119
- * Formats the datetime's value to a string, for use in the native input.
1120
- *
1121
- * @param value The value to format, either an ISO string or an array thereof.
1122
- */
1123
- const formatValue = (value) => {
1124
- return Array.isArray(value) ? value.join(',') : value;
1125
- };
1126
-
1127
- /*!
1128
- * (C) Ionic http://ionicframework.com - MIT License
1129
- */
1130
- /**
1131
- * Returns the current date as
1132
- * an ISO string in the user's
1133
- * time zone.
1134
- */
1135
- const getToday = () => {
1136
- /**
1137
- * ion-datetime intentionally does not
1138
- * parse time zones/do automatic time zone
1139
- * conversion when accepting user input.
1140
- * However when we get today's date string,
1141
- * we want it formatted relative to the user's
1142
- * time zone.
1143
- *
1144
- * When calling toISOString(), the browser
1145
- * will convert the date to UTC time by either adding
1146
- * or subtracting the time zone offset.
1147
- * To work around this, we need to either add
1148
- * or subtract the time zone offset to the Date
1149
- * object prior to calling toISOString().
1150
- * This allows us to get an ISO string
1151
- * that is in the user's time zone.
1152
- */
1153
- return removeDateTzOffset(new Date()).toISOString();
1154
- };
1155
- const minutes = [
1156
- 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31,
1157
- 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59,
1158
- ];
1159
- // h11 hour system uses 0-11. Midnight starts at 0:00am.
1160
- const hour11 = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11];
1161
- // h12 hour system uses 0-12. Midnight starts at 12:00am.
1162
- const hour12 = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11];
1163
- // h23 hour system uses 0-23. Midnight starts at 0:00.
1164
- const hour23 = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23];
1165
- // h24 hour system uses 1-24. Midnight starts at 24:00.
1166
- const hour24 = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 0];
1167
- /**
1168
- * Given a locale and a mode,
1169
- * return an array with formatted days
1170
- * of the week. iOS should display days
1171
- * such as "Mon" or "Tue".
1172
- * MD should display days such as "M"
1173
- * or "T".
1174
- */
1175
- const getDaysOfWeek = (locale, mode, firstDayOfWeek = 0) => {
1176
- /**
1177
- * Nov 1st, 2020 starts on a Sunday.
1178
- * ion-datetime assumes weeks start on Sunday,
1179
- * but is configurable via `firstDayOfWeek`.
1180
- */
1181
- const weekdayFormat = mode === 'ios' ? 'short' : 'narrow';
1182
- const intl = new Intl.DateTimeFormat(locale, { weekday: weekdayFormat });
1183
- const startDate = new Date('11/01/2020');
1184
- const daysOfWeek = [];
1185
- /**
1186
- * For each day of the week,
1187
- * get the day name.
1188
- */
1189
- for (let i = firstDayOfWeek; i < firstDayOfWeek + 7; i++) {
1190
- const currentDate = new Date(startDate);
1191
- currentDate.setDate(currentDate.getDate() + i);
1192
- daysOfWeek.push(intl.format(currentDate));
1193
- }
1194
- return daysOfWeek;
1195
- };
1196
- /**
1197
- * Returns an array containing all of the
1198
- * days in a month for a given year. Values are
1199
- * aligned with a week calendar starting on
1200
- * the firstDayOfWeek value (Sunday by default)
1201
- * using null values.
1202
- */
1203
- const getDaysOfMonth = (month, year, firstDayOfWeek, showAdjacentDays = false) => {
1204
- const numDays = getNumDaysInMonth(month, year);
1205
- let previousNumDays; //previous month number of days
1206
- if (month === 1) {
1207
- // If the current month is January, the previous month should be December of the previous year.
1208
- previousNumDays = getNumDaysInMonth(12, year - 1);
1209
- }
1210
- else {
1211
- // Otherwise, the previous month should be the current month - 1 of the same year.
1212
- previousNumDays = getNumDaysInMonth(month - 1, year);
1213
- }
1214
- const firstOfMonth = new Date(`${month}/1/${year}`).getDay();
1215
- /**
1216
- * To get the first day of the month aligned on the correct
1217
- * day of the week, we need to determine how many "filler" days
1218
- * to generate. These filler days as empty/disabled buttons
1219
- * that fill the space of the days of the week before the first
1220
- * of the month.
1221
- *
1222
- * There are two cases here:
1223
- *
1224
- * 1. If firstOfMonth = 4, firstDayOfWeek = 0 then the offset
1225
- * is (4 - (0 + 1)) = 3. Since the offset loop goes from 0 to 3 inclusive,
1226
- * this will generate 4 filler days (0, 1, 2, 3), and then day of week 4 will have
1227
- * the first day of the month.
1228
- *
1229
- * 2. If firstOfMonth = 2, firstDayOfWeek = 4 then the offset
1230
- * is (6 - (4 - 2)) = 4. Since the offset loop goes from 0 to 4 inclusive,
1231
- * this will generate 5 filler days (0, 1, 2, 3, 4), and then day of week 5 will have
1232
- * the first day of the month.
1233
- */
1234
- const offset = firstOfMonth >= firstDayOfWeek ? firstOfMonth - (firstDayOfWeek + 1) : 6 - (firstDayOfWeek - firstOfMonth);
1235
- let days = [];
1236
- for (let i = 1; i <= numDays; i++) {
1237
- days.push({ day: i, dayOfWeek: (offset + i) % 7, isAdjacentDay: false });
1238
- }
1239
- if (showAdjacentDays) {
1240
- for (let i = 0; i <= offset; i++) {
1241
- // Using offset create previous month adjacent day, starting from last day
1242
- days = [{ day: previousNumDays - i, dayOfWeek: (previousNumDays - i) % 7, isAdjacentDay: true }, ...days];
1243
- }
1244
- // Calculate positiveOffset
1245
- // The calendar will display 42 days (6 rows of 7 columns)
1246
- // Knowing this the offset is 41 (we start at index 0)
1247
- // minus (the previous offset + the current month days)
1248
- const positiveOffset = 41 - (numDays + offset);
1249
- for (let i = 0; i < positiveOffset; i++) {
1250
- days.push({ day: i + 1, dayOfWeek: (numDays + offset + i) % 7, isAdjacentDay: true });
1251
- }
1252
- }
1253
- else {
1254
- for (let i = 0; i <= offset; i++) {
1255
- days = [{ day: null, dayOfWeek: null, isAdjacentDay: false }, ...days];
1256
- }
1257
- }
1258
- return days;
1259
- };
1260
- /**
1261
- * Returns an array of pre-defined hour
1262
- * values based on the provided hourCycle.
1263
- */
1264
- const getHourData = (hourCycle) => {
1265
- switch (hourCycle) {
1266
- case 'h11':
1267
- return hour11;
1268
- case 'h12':
1269
- return hour12;
1270
- case 'h23':
1271
- return hour23;
1272
- case 'h24':
1273
- return hour24;
1274
- default:
1275
- throw new Error(`Invalid hour cycle "${hourCycle}"`);
1276
- }
1277
- };
1278
- /**
1279
- * Given a local, reference datetime parts and option
1280
- * max/min bound datetime parts, calculate the acceptable
1281
- * hour and minute values according to the bounds and locale.
1282
- */
1283
- const generateTime = (locale, refParts, hourCycle = 'h12', minParts, maxParts, hourValues, minuteValues) => {
1284
- const computedHourCycle = getHourCycle(locale, hourCycle);
1285
- const use24Hour = is24Hour(computedHourCycle);
1286
- let processedHours = getHourData(computedHourCycle);
1287
- let processedMinutes = minutes;
1288
- let isAMAllowed = true;
1289
- let isPMAllowed = true;
1290
- if (hourValues) {
1291
- processedHours = processedHours.filter((hour) => hourValues.includes(hour));
1292
- }
1293
- if (minuteValues) {
1294
- processedMinutes = processedMinutes.filter((minute) => minuteValues.includes(minute));
1295
- }
1296
- if (minParts) {
1297
- /**
1298
- * If ref day is the same as the
1299
- * minimum allowed day, filter hour/minute
1300
- * values according to min hour and minute.
1301
- */
1302
- if (isSameDay(refParts, minParts)) {
1303
- /**
1304
- * Users may not always set the hour/minute for
1305
- * min value (i.e. 2021-06-02) so we should allow
1306
- * all hours/minutes in that case.
1307
- */
1308
- if (minParts.hour !== undefined) {
1309
- processedHours = processedHours.filter((hour) => {
1310
- const convertedHour = refParts.ampm === 'pm' ? (hour + 12) % 24 : hour;
1311
- return (use24Hour ? hour : convertedHour) >= minParts.hour;
1312
- });
1313
- isAMAllowed = minParts.hour < 13;
1314
- }
1315
- if (minParts.minute !== undefined) {
1316
- /**
1317
- * The minimum minute range should not be enforced when
1318
- * the hour is greater than the min hour.
1319
- *
1320
- * For example with a minimum range of 09:30, users
1321
- * should be able to select 10:00-10:29 and beyond.
1322
- */
1323
- let isPastMinHour = false;
1324
- if (minParts.hour !== undefined && refParts.hour !== undefined) {
1325
- if (refParts.hour > minParts.hour) {
1326
- isPastMinHour = true;
1327
- }
1328
- }
1329
- processedMinutes = processedMinutes.filter((minute) => {
1330
- if (isPastMinHour) {
1331
- return true;
1332
- }
1333
- return minute >= minParts.minute;
1334
- });
1335
- }
1336
- /**
1337
- * If ref day is before minimum
1338
- * day do not render any hours/minute values
1339
- */
1340
- }
1341
- else if (isBefore(refParts, minParts)) {
1342
- processedHours = [];
1343
- processedMinutes = [];
1344
- isAMAllowed = isPMAllowed = false;
1345
- }
1346
- }
1347
- if (maxParts) {
1348
- /**
1349
- * If ref day is the same as the
1350
- * maximum allowed day, filter hour/minute
1351
- * values according to max hour and minute.
1352
- */
1353
- if (isSameDay(refParts, maxParts)) {
1354
- /**
1355
- * Users may not always set the hour/minute for
1356
- * max value (i.e. 2021-06-02) so we should allow
1357
- * all hours/minutes in that case.
1358
- */
1359
- if (maxParts.hour !== undefined) {
1360
- processedHours = processedHours.filter((hour) => {
1361
- const convertedHour = refParts.ampm === 'pm' ? (hour + 12) % 24 : hour;
1362
- return (use24Hour ? hour : convertedHour) <= maxParts.hour;
1363
- });
1364
- isPMAllowed = maxParts.hour >= 12;
1365
- }
1366
- if (maxParts.minute !== undefined && refParts.hour === maxParts.hour) {
1367
- // The available minutes should only be filtered when the hour is the same as the max hour.
1368
- // For example if the max hour is 10:30 and the current hour is 10:00,
1369
- // users should be able to select 00-30 minutes.
1370
- // If the current hour is 09:00, users should be able to select 00-60 minutes.
1371
- processedMinutes = processedMinutes.filter((minute) => minute <= maxParts.minute);
1372
- }
1373
- /**
1374
- * If ref day is after minimum
1375
- * day do not render any hours/minute values
1376
- */
1377
- }
1378
- else if (isAfter(refParts, maxParts)) {
1379
- processedHours = [];
1380
- processedMinutes = [];
1381
- isAMAllowed = isPMAllowed = false;
1382
- }
1383
- }
1384
- return {
1385
- hours: processedHours,
1386
- minutes: processedMinutes,
1387
- am: isAMAllowed,
1388
- pm: isPMAllowed,
1389
- };
1390
- };
1391
- /**
1392
- * Given DatetimeParts, generate the previous,
1393
- * current, and and next months.
1394
- */
1395
- const generateMonths = (refParts, forcedDate) => {
1396
- const current = { month: refParts.month, year: refParts.year, day: refParts.day };
1397
- /**
1398
- * If we're forcing a month to appear, and it's different from the current month,
1399
- * ensure it appears by replacing the next or previous month as appropriate.
1400
- */
1401
- if (forcedDate !== undefined && (refParts.month !== forcedDate.month || refParts.year !== forcedDate.year)) {
1402
- const forced = { month: forcedDate.month, year: forcedDate.year, day: forcedDate.day };
1403
- const forcedMonthIsBefore = isBefore(forced, current);
1404
- return forcedMonthIsBefore
1405
- ? [forced, current, getNextMonth(refParts)]
1406
- : [getPreviousMonth(refParts), current, forced];
1407
- }
1408
- return [getPreviousMonth(refParts), current, getNextMonth(refParts)];
1409
- };
1410
- const getMonthColumnData = (locale, refParts, minParts, maxParts, monthValues, formatOptions = {
1411
- month: 'long',
1412
- }) => {
1413
- const { year } = refParts;
1414
- const months = [];
1415
- if (monthValues !== undefined) {
1416
- let processedMonths = monthValues;
1417
- if ((maxParts === null || maxParts === void 0 ? void 0 : maxParts.month) !== undefined) {
1418
- processedMonths = processedMonths.filter((month) => month <= maxParts.month);
1419
- }
1420
- if ((minParts === null || minParts === void 0 ? void 0 : minParts.month) !== undefined) {
1421
- processedMonths = processedMonths.filter((month) => month >= minParts.month);
1422
- }
1423
- processedMonths.forEach((processedMonth) => {
1424
- const date = new Date(`${processedMonth}/1/${year} GMT+0000`);
1425
- const monthString = new Intl.DateTimeFormat(locale, Object.assign(Object.assign({}, formatOptions), { timeZone: 'UTC' })).format(date);
1426
- months.push({ text: monthString, value: processedMonth });
1427
- });
1428
- }
1429
- else {
1430
- const maxMonth = maxParts && maxParts.year === year ? maxParts.month : 12;
1431
- const minMonth = minParts && minParts.year === year ? minParts.month : 1;
1432
- for (let i = minMonth; i <= maxMonth; i++) {
1433
- /**
1434
- *
1435
- * There is a bug on iOS 14 where
1436
- * Intl.DateTimeFormat takes into account
1437
- * the local timezone offset when formatting dates.
1438
- *
1439
- * Forcing the timezone to 'UTC' fixes the issue. However,
1440
- * we should keep this workaround as it is safer. In the event
1441
- * this breaks in another browser, we will not be impacted
1442
- * because all dates will be interpreted in UTC.
1443
- *
1444
- * Example:
1445
- * new Intl.DateTimeFormat('en-US', { month: 'long' }).format(new Date('Sat Apr 01 2006 00:00:00 GMT-0400 (EDT)')) // "March"
1446
- * new Intl.DateTimeFormat('en-US', { month: 'long', timeZone: 'UTC' }).format(new Date('Sat Apr 01 2006 00:00:00 GMT-0400 (EDT)')) // "April"
1447
- *
1448
- * In certain timezones, iOS 14 shows the wrong
1449
- * date for .toUTCString(). To combat this, we
1450
- * force all of the timezones to GMT+0000 (UTC).
1451
- *
1452
- * Example:
1453
- * Time Zone: Central European Standard Time
1454
- * new Date('1/1/1992').toUTCString() // "Tue, 31 Dec 1991 23:00:00 GMT"
1455
- * new Date('1/1/1992 GMT+0000').toUTCString() // "Wed, 01 Jan 1992 00:00:00 GMT"
1456
- */
1457
- const date = new Date(`${i}/1/${year} GMT+0000`);
1458
- const monthString = new Intl.DateTimeFormat(locale, Object.assign(Object.assign({}, formatOptions), { timeZone: 'UTC' })).format(date);
1459
- months.push({ text: monthString, value: i });
1460
- }
1461
- }
1462
- return months;
1463
- };
1464
- /**
1465
- * Returns information regarding
1466
- * selectable dates (i.e 1st, 2nd, 3rd, etc)
1467
- * within a reference month.
1468
- * @param locale The locale to format the date with
1469
- * @param refParts The reference month/year to generate dates for
1470
- * @param minParts The minimum bound on the date that can be returned
1471
- * @param maxParts The maximum bound on the date that can be returned
1472
- * @param dayValues The allowed date values
1473
- * @returns Date data to be used in ion-picker-column
1474
- */
1475
- const getDayColumnData = (locale, refParts, minParts, maxParts, dayValues, formatOptions = {
1476
- day: 'numeric',
1477
- }) => {
1478
- const { month, year } = refParts;
1479
- const days = [];
1480
- /**
1481
- * If we have max/min bounds that in the same
1482
- * month/year as the refParts, we should
1483
- * use the define day as the max/min day.
1484
- * Otherwise, fallback to the max/min days in a month.
1485
- */
1486
- const numDaysInMonth = getNumDaysInMonth(month, year);
1487
- const maxDay = (maxParts === null || maxParts === void 0 ? void 0 : maxParts.day) !== null && (maxParts === null || maxParts === void 0 ? void 0 : maxParts.day) !== undefined && maxParts.year === year && maxParts.month === month
1488
- ? maxParts.day
1489
- : numDaysInMonth;
1490
- const minDay = (minParts === null || minParts === void 0 ? void 0 : minParts.day) !== null && (minParts === null || minParts === void 0 ? void 0 : minParts.day) !== undefined && minParts.year === year && minParts.month === month
1491
- ? minParts.day
1492
- : 1;
1493
- if (dayValues !== undefined) {
1494
- let processedDays = dayValues;
1495
- processedDays = processedDays.filter((day) => day >= minDay && day <= maxDay);
1496
- processedDays.forEach((processedDay) => {
1497
- const date = new Date(`${month}/${processedDay}/${year} GMT+0000`);
1498
- const dayString = new Intl.DateTimeFormat(locale, Object.assign(Object.assign({}, formatOptions), { timeZone: 'UTC' })).format(date);
1499
- days.push({ text: dayString, value: processedDay });
1500
- });
1501
- }
1502
- else {
1503
- for (let i = minDay; i <= maxDay; i++) {
1504
- const date = new Date(`${month}/${i}/${year} GMT+0000`);
1505
- const dayString = new Intl.DateTimeFormat(locale, Object.assign(Object.assign({}, formatOptions), { timeZone: 'UTC' })).format(date);
1506
- days.push({ text: dayString, value: i });
1507
- }
1508
- }
1509
- return days;
1510
- };
1511
- const getYearColumnData = (locale, refParts, minParts, maxParts, yearValues) => {
1512
- var _a, _b;
1513
- let processedYears = [];
1514
- if (yearValues !== undefined) {
1515
- processedYears = yearValues;
1516
- if ((maxParts === null || maxParts === void 0 ? void 0 : maxParts.year) !== undefined) {
1517
- processedYears = processedYears.filter((year) => year <= maxParts.year);
1518
- }
1519
- if ((minParts === null || minParts === void 0 ? void 0 : minParts.year) !== undefined) {
1520
- processedYears = processedYears.filter((year) => year >= minParts.year);
1521
- }
1522
- }
1523
- else {
1524
- const { year } = refParts;
1525
- const maxYear = (_a = maxParts === null || maxParts === void 0 ? void 0 : maxParts.year) !== null && _a !== void 0 ? _a : year;
1526
- const minYear = (_b = minParts === null || minParts === void 0 ? void 0 : minParts.year) !== null && _b !== void 0 ? _b : year - 100;
1527
- for (let i = minYear; i <= maxYear; i++) {
1528
- processedYears.push(i);
1529
- }
1530
- }
1531
- return processedYears.map((year) => ({
1532
- text: getYear(locale, { year, month: refParts.month, day: refParts.day }),
1533
- value: year,
1534
- }));
1535
- };
1536
- /**
1537
- * Given a starting date and an upper bound,
1538
- * this functions returns an array of all
1539
- * month objects in that range.
1540
- */
1541
- const getAllMonthsInRange = (currentParts, maxParts) => {
1542
- if (currentParts.month === maxParts.month && currentParts.year === maxParts.year) {
1543
- return [currentParts];
1544
- }
1545
- return [currentParts, ...getAllMonthsInRange(getNextMonth(currentParts), maxParts)];
1546
- };
1547
- /**
1548
- * Creates and returns picker items
1549
- * that represent the days in a month.
1550
- * Example: "Thu, Jun 2"
1551
- */
1552
- const getCombinedDateColumnData = (locale, todayParts, minParts, maxParts, dayValues, monthValues) => {
1553
- let items = [];
1554
- let parts = [];
1555
- /**
1556
- * Get all month objects from the min date
1557
- * to the max date. Note: Do not use getMonthColumnData
1558
- * as that function only generates dates within a
1559
- * single year.
1560
- */
1561
- let months = getAllMonthsInRange(minParts, maxParts);
1562
- /**
1563
- * Filter out any disallowed month values.
1564
- */
1565
- if (monthValues) {
1566
- months = months.filter(({ month }) => monthValues.includes(month));
1567
- }
1568
- /**
1569
- * Get all of the days in the month.
1570
- * From there, generate an array where
1571
- * each item has the month, date, and day
1572
- * of work as the text.
1573
- */
1574
- months.forEach((monthObject) => {
1575
- const referenceMonth = { month: monthObject.month, day: null, year: monthObject.year };
1576
- const monthDays = getDayColumnData(locale, referenceMonth, minParts, maxParts, dayValues, {
1577
- month: 'short',
1578
- day: 'numeric',
1579
- weekday: 'short',
1580
- });
1581
- const dateParts = [];
1582
- const dateColumnItems = [];
1583
- monthDays.forEach((dayObject) => {
1584
- const isToday = isSameDay(Object.assign(Object.assign({}, referenceMonth), { day: dayObject.value }), todayParts);
1585
- /**
1586
- * Today's date should read as "Today" (localized)
1587
- * not the actual date string
1588
- */
1589
- dateColumnItems.push({
1590
- text: isToday ? getTodayLabel(locale) : dayObject.text,
1591
- value: `${referenceMonth.year}-${referenceMonth.month}-${dayObject.value}`,
1592
- });
1593
- /**
1594
- * When selecting a date in the wheel picker
1595
- * we need access to the raw datetime parts data.
1596
- * The picker column only accepts values of
1597
- * type string or number, so we need to return
1598
- * two sets of data: A data set to be passed
1599
- * to the picker column, and a data set to
1600
- * be used to reference the raw data when
1601
- * updating the picker column value.
1602
- */
1603
- dateParts.push({
1604
- month: referenceMonth.month,
1605
- year: referenceMonth.year,
1606
- day: dayObject.value,
1607
- });
1608
- });
1609
- parts = [...parts, ...dateParts];
1610
- items = [...items, ...dateColumnItems];
1611
- });
1612
- return {
1613
- parts,
1614
- items,
1615
- };
1616
- };
1617
- const getTimeColumnsData = (locale, refParts, hourCycle, minParts, maxParts, allowedHourValues, allowedMinuteValues) => {
1618
- const computedHourCycle = getHourCycle(locale, hourCycle);
1619
- const use24Hour = is24Hour(computedHourCycle);
1620
- const { hours, minutes, am, pm } = generateTime(locale, refParts, computedHourCycle, minParts, maxParts, allowedHourValues, allowedMinuteValues);
1621
- const hoursItems = hours.map((hour) => {
1622
- return {
1623
- text: getFormattedHour(hour, computedHourCycle),
1624
- value: getInternalHourValue(hour, use24Hour, refParts.ampm),
1625
- };
1626
- });
1627
- const minutesItems = minutes.map((minute) => {
1628
- return {
1629
- text: addTimePadding(minute),
1630
- value: minute,
1631
- };
1632
- });
1633
- const dayPeriodItems = [];
1634
- if (am && !use24Hour) {
1635
- dayPeriodItems.push({
1636
- text: getLocalizedDayPeriod(locale, 'am'),
1637
- value: 'am',
1638
- });
1639
- }
1640
- if (pm && !use24Hour) {
1641
- dayPeriodItems.push({
1642
- text: getLocalizedDayPeriod(locale, 'pm'),
1643
- value: 'pm',
1644
- });
1645
- }
1646
- return {
1647
- minutesData: minutesItems,
1648
- hoursData: hoursItems,
1649
- dayPeriodData: dayPeriodItems,
1650
- };
1651
- };
1652
-
1653
- export { getClosestValidDate as A, generateMonths as B, getNumDaysInMonth as C, getCombinedDateColumnData as D, getMonthColumnData as E, getDayColumnData as F, getYearColumnData as G, isMonthFirstLocale as H, getTimeColumnsData as I, isLocaleDayPeriodRTL as J, getDaysOfWeek as K, getMonthAndYear as L, getDaysOfMonth as M, getHourCycle as N, getLocalizedTime as O, getLocalizedDateTime as P, formatValue as Q, calculateHourFromAMPM as R, isAfter as a, getNextMonth as b, isSameDay as c, getDay as d, generateDayAriaLabel as e, getPartsFromCalendarDay as f, getPreviousMonth as g, getNextYear as h, isBefore as i, getPreviousYear as j, getEndOfWeek as k, getStartOfWeek as l, getPreviousDay as m, getNextDay as n, getPreviousWeek as o, getNextWeek as p, parseMinParts as q, parseMaxParts as r, parseDate as s, parseAmPm as t, clampDate as u, validateParts as v, warnIfValueOutOfBounds as w, convertToArrayOfNumbers as x, convertDataToISO as y, getToday as z };
1654
- //# sourceMappingURL=p-CTM7uu-W.js.map
1655
-
1656
- //# sourceMappingURL=p-CTM7uu-W.js.map