@amwaljs/checkout-button 0.3.0 → 0.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2327) hide show
  1. package/README.md +1 -1
  2. package/dist/checkout/checkout.esm.js +1 -1
  3. package/dist/checkout/p-00045a8c.entry.js +1 -0
  4. package/dist/checkout/p-01bbe74f.entry.js +1 -0
  5. package/dist/checkout/p-051412fa.entry.js +1 -0
  6. package/dist/checkout/p-09cbe586.entry.js +4 -0
  7. package/dist/checkout/p-0a85a01f.entry.js +7 -0
  8. package/dist/checkout/p-0bbfeb3c.entry.js +1 -0
  9. package/dist/checkout/{p-a09d1040.entry.js → p-0d96b482.entry.js} +1 -1
  10. package/dist/checkout/p-0f03cd28.js +4 -0
  11. package/dist/checkout/p-104d7733.entry.js +1 -0
  12. package/dist/checkout/p-10ad151a.entry.js +14 -0
  13. package/dist/checkout/p-112455b1.js +1 -0
  14. package/dist/checkout/p-11beffea.entry.js +1 -0
  15. package/dist/checkout/p-13245fd4.js +1 -0
  16. package/dist/checkout/p-13741a94.entry.js +1 -0
  17. package/dist/checkout/p-14ea2c82.entry.js +1 -0
  18. package/dist/checkout/p-167dc7a7.entry.js +4 -0
  19. package/dist/checkout/p-1a749b59.entry.js +1 -0
  20. package/dist/checkout/p-1c718939.entry.js +1 -0
  21. package/dist/checkout/p-1cbb13f2.entry.js +1 -0
  22. package/dist/checkout/p-20df5234.entry.js +1 -0
  23. package/dist/checkout/p-24068b1c.entry.js +1 -0
  24. package/dist/checkout/p-28ccecc7.entry.js +4 -0
  25. package/dist/checkout/p-361649c3.js +4 -0
  26. package/dist/checkout/p-39ad94cf.js +4 -0
  27. package/dist/checkout/p-3b75b22a.js +5 -0
  28. package/dist/checkout/p-3b80783d.js +8 -0
  29. package/dist/checkout/p-3d3eefc3.js +4 -0
  30. package/dist/checkout/p-3e1e3453.js +4 -0
  31. package/dist/checkout/p-3e681e57.js +4 -0
  32. package/dist/checkout/p-3e8da476.entry.js +4 -0
  33. package/dist/checkout/p-4028c0d2.entry.js +1 -0
  34. package/dist/checkout/p-44c91c42.entry.js +1 -0
  35. package/dist/checkout/p-464f5a60.entry.js +1 -0
  36. package/dist/checkout/p-46b7ee7f.entry.js +1 -0
  37. package/dist/checkout/p-48784250.entry.js +1 -0
  38. package/dist/checkout/p-4be20bf2.js +7 -0
  39. package/dist/checkout/p-4f78d3a0.js +4 -0
  40. package/dist/checkout/p-529bce3f.entry.js +1 -0
  41. package/dist/{components/p-pUVFzc0m.js → checkout/p-536a0294.js} +2 -2
  42. package/dist/checkout/p-5eecd5ef.entry.js +1 -0
  43. package/dist/checkout/p-64257c8d.entry.js +1 -0
  44. package/dist/checkout/p-64bd1dd3.entry.js +1 -0
  45. package/dist/checkout/p-68a4caba.entry.js +1 -0
  46. package/dist/checkout/p-69242ed6.entry.js +1 -0
  47. package/dist/checkout/p-6d886d7e.entry.js +1 -0
  48. package/dist/checkout/p-6fa979e3.js +4 -0
  49. package/dist/checkout/p-6fb474f3.entry.js +1 -0
  50. package/dist/checkout/p-77104220.js +7 -0
  51. package/dist/checkout/p-79ec3e4b.entry.js +1 -0
  52. package/dist/checkout/p-7b51bf67.entry.js +7 -0
  53. package/dist/checkout/p-7f0004c9.js +4 -0
  54. package/dist/checkout/p-7fe50ab4.entry.js +1 -0
  55. package/dist/checkout/p-880b451c.entry.js +4 -0
  56. package/dist/checkout/p-886dad62.entry.js +1 -0
  57. package/dist/checkout/p-886e8746.entry.js +1 -0
  58. package/dist/checkout/p-88abdf59.js +4 -0
  59. package/dist/checkout/p-8a97a411.entry.js +1 -0
  60. package/dist/checkout/p-8af3c6cc.entry.js +1 -0
  61. package/dist/checkout/{p-4de3b067.entry.js → p-8c022f5d.entry.js} +1 -1
  62. package/dist/checkout/p-91855eae.entry.js +1 -0
  63. package/dist/checkout/{p-733767d9.entry.js → p-9185e55b.entry.js} +1 -1
  64. package/dist/checkout/p-926eda98.entry.js +1 -0
  65. package/dist/checkout/p-93e5b313.entry.js +4 -0
  66. package/dist/checkout/p-97024acb.entry.js +1 -0
  67. package/dist/checkout/p-99e447f9.js +1 -0
  68. package/dist/{components/p-BgOwfqIY.js → checkout/p-9b519de5.js} +2 -2
  69. package/dist/checkout/p-9b65a6e5.entry.js +1 -0
  70. package/dist/checkout/p-9cc1fdfb.entry.js +1 -0
  71. package/dist/checkout/{p-0363331c.entry.js → p-9f26fb71.entry.js} +1 -1
  72. package/dist/checkout/p-9f41a631.entry.js +1 -0
  73. package/dist/checkout/p-a2ce8858.entry.js +1 -0
  74. package/dist/checkout/p-a3fca65c.entry.js +1 -0
  75. package/dist/checkout/p-a6056eb1.entry.js +4 -0
  76. package/dist/checkout/p-a7b2cbb9.entry.js +1 -0
  77. package/dist/checkout/p-ab16e6ce.js +5 -0
  78. package/dist/checkout/{p-68738638.entry.js → p-ab9a18c4.entry.js} +1 -1
  79. package/dist/checkout/p-b038db20.js +4 -0
  80. package/dist/checkout/p-b2289937.js +7 -0
  81. package/dist/checkout/p-b4ad8642.entry.js +1 -0
  82. package/dist/checkout/p-b4cf78ad.entry.js +1 -0
  83. package/dist/checkout/p-b7be2ec0.js +4 -0
  84. package/dist/checkout/p-b84d9e44.js +4 -0
  85. package/dist/checkout/p-b8fdd517.js +1 -0
  86. package/dist/checkout/{p-418e3312.entry.js → p-b9d8ab12.entry.js} +1 -1
  87. package/dist/checkout/p-bb1f698e.js +4 -0
  88. package/dist/{components/p-BYPhePqa.js → checkout/p-bd17be25.js} +2 -2
  89. package/dist/checkout/p-bd4df0bc.entry.js +1 -0
  90. package/dist/checkout/p-c152bdea.js +4 -0
  91. package/dist/checkout/{p-DQmRrrcF.js → p-c30e2b28.js} +2 -2
  92. package/dist/checkout/p-c61a3d5d.entry.js +1 -0
  93. package/dist/checkout/p-c6ee4bb6.entry.js +1 -0
  94. package/dist/checkout/p-c771a565.entry.js +1 -0
  95. package/dist/checkout/p-c82b2823.entry.js +1 -0
  96. package/dist/checkout/p-c8f7d1b5.entry.js +1 -0
  97. package/dist/checkout/p-ceef30cd.entry.js +1 -0
  98. package/dist/checkout/p-d5733333.entry.js +1 -0
  99. package/dist/checkout/p-d5bba69c.entry.js +1 -0
  100. package/dist/checkout/p-d60b2328.js +4 -0
  101. package/dist/checkout/p-d60e05e2.entry.js +1 -0
  102. package/dist/checkout/p-d6b04157.entry.js +1 -0
  103. package/dist/checkout/p-d7a430bf.js +2 -0
  104. package/dist/checkout/{p-B3WORC1a.js → p-d839c693.js} +1 -1
  105. package/dist/checkout/p-d9dfb3ae.entry.js +7 -0
  106. package/dist/checkout/p-dc51d318.js +5 -0
  107. package/dist/checkout/p-ddbe30b8.entry.js +1 -0
  108. package/dist/checkout/p-de418dd1.entry.js +1 -0
  109. package/dist/checkout/p-defa5f72.entry.js +4 -0
  110. package/dist/checkout/p-df0fa5e1.entry.js +7 -0
  111. package/dist/checkout/p-e0f073f1.entry.js +7 -0
  112. package/dist/checkout/p-e187a77c.js +4 -0
  113. package/dist/checkout/p-e237d611.entry.js +1 -0
  114. package/dist/checkout/p-ea71fb8d.entry.js +1 -0
  115. package/dist/checkout/p-eda93a0b.entry.js +1 -0
  116. package/dist/checkout/p-eee05053.entry.js +1 -0
  117. package/dist/checkout/{p-BTEOs1at.js → p-f728a68f.js} +1 -1
  118. package/dist/checkout/p-f8460dc4.entry.js +1 -0
  119. package/dist/checkout/p-f875507d.entry.js +1 -0
  120. package/dist/checkout/p-faf06441.js +4 -0
  121. package/dist/checkout/p-fb147065.entry.js +1 -0
  122. package/dist/checkout/p-fb45cdd1.entry.js +1 -0
  123. package/dist/checkout/svg/accessibility-outline.svg +1 -1
  124. package/dist/checkout/svg/accessibility-sharp.svg +1 -1
  125. package/dist/checkout/svg/accessibility.svg +1 -1
  126. package/dist/checkout/svg/add-circle-outline.svg +1 -1
  127. package/dist/checkout/svg/add-circle-sharp.svg +1 -1
  128. package/dist/checkout/svg/add-circle.svg +1 -1
  129. package/dist/checkout/svg/add-outline.svg +1 -1
  130. package/dist/checkout/svg/add-sharp.svg +1 -1
  131. package/dist/checkout/svg/add.svg +1 -1
  132. package/dist/checkout/svg/airplane-outline.svg +1 -1
  133. package/dist/checkout/svg/airplane-sharp.svg +1 -1
  134. package/dist/checkout/svg/airplane.svg +1 -1
  135. package/dist/checkout/svg/alarm-outline.svg +1 -1
  136. package/dist/checkout/svg/alarm-sharp.svg +1 -1
  137. package/dist/checkout/svg/alarm.svg +1 -1
  138. package/dist/checkout/svg/albums-outline.svg +1 -1
  139. package/dist/checkout/svg/albums-sharp.svg +1 -1
  140. package/dist/checkout/svg/albums.svg +1 -1
  141. package/dist/checkout/svg/alert-circle-outline.svg +1 -1
  142. package/dist/checkout/svg/alert-circle-sharp.svg +1 -1
  143. package/dist/checkout/svg/alert-circle.svg +1 -1
  144. package/dist/checkout/svg/alert-outline.svg +1 -1
  145. package/dist/checkout/svg/alert-sharp.svg +1 -1
  146. package/dist/checkout/svg/alert.svg +1 -1
  147. package/dist/checkout/svg/american-football-outline.svg +1 -1
  148. package/dist/checkout/svg/american-football-sharp.svg +1 -1
  149. package/dist/checkout/svg/american-football.svg +1 -1
  150. package/dist/checkout/svg/analytics-outline.svg +1 -1
  151. package/dist/checkout/svg/analytics-sharp.svg +1 -1
  152. package/dist/checkout/svg/analytics.svg +1 -1
  153. package/dist/checkout/svg/aperture-outline.svg +1 -1
  154. package/dist/checkout/svg/aperture-sharp.svg +1 -1
  155. package/dist/checkout/svg/aperture.svg +1 -1
  156. package/dist/checkout/svg/apps-outline.svg +1 -1
  157. package/dist/checkout/svg/apps-sharp.svg +1 -1
  158. package/dist/checkout/svg/apps.svg +1 -1
  159. package/dist/checkout/svg/archive-outline.svg +1 -1
  160. package/dist/checkout/svg/archive-sharp.svg +1 -1
  161. package/dist/checkout/svg/archive.svg +1 -1
  162. package/dist/checkout/svg/arrow-back-circle-outline.svg +1 -1
  163. package/dist/checkout/svg/arrow-back-circle-sharp.svg +1 -1
  164. package/dist/checkout/svg/arrow-back-circle.svg +1 -1
  165. package/dist/checkout/svg/arrow-back-outline.svg +1 -1
  166. package/dist/checkout/svg/arrow-back-sharp.svg +1 -1
  167. package/dist/checkout/svg/arrow-back.svg +1 -1
  168. package/dist/checkout/svg/arrow-down-circle-outline.svg +1 -1
  169. package/dist/checkout/svg/arrow-down-circle-sharp.svg +1 -1
  170. package/dist/checkout/svg/arrow-down-circle.svg +1 -1
  171. package/dist/checkout/svg/arrow-down-left-box-outline.svg +1 -1
  172. package/dist/checkout/svg/arrow-down-left-box-sharp.svg +1 -1
  173. package/dist/checkout/svg/arrow-down-left-box.svg +1 -1
  174. package/dist/checkout/svg/arrow-down-outline.svg +1 -1
  175. package/dist/checkout/svg/arrow-down-right-box-outline.svg +1 -1
  176. package/dist/checkout/svg/arrow-down-right-box-sharp.svg +1 -1
  177. package/dist/checkout/svg/arrow-down-right-box.svg +1 -1
  178. package/dist/checkout/svg/arrow-down-sharp.svg +1 -1
  179. package/dist/checkout/svg/arrow-down.svg +1 -1
  180. package/dist/checkout/svg/arrow-forward-circle-outline.svg +1 -1
  181. package/dist/checkout/svg/arrow-forward-circle-sharp.svg +1 -1
  182. package/dist/checkout/svg/arrow-forward-circle.svg +1 -1
  183. package/dist/checkout/svg/arrow-forward-outline.svg +1 -1
  184. package/dist/checkout/svg/arrow-forward-sharp.svg +1 -1
  185. package/dist/checkout/svg/arrow-forward.svg +1 -1
  186. package/dist/checkout/svg/arrow-redo-circle-outline.svg +1 -1
  187. package/dist/checkout/svg/arrow-redo-circle-sharp.svg +1 -1
  188. package/dist/checkout/svg/arrow-redo-circle.svg +1 -1
  189. package/dist/checkout/svg/arrow-redo-outline.svg +1 -1
  190. package/dist/checkout/svg/arrow-redo-sharp.svg +1 -1
  191. package/dist/checkout/svg/arrow-redo.svg +1 -1
  192. package/dist/checkout/svg/arrow-undo-circle-outline.svg +1 -1
  193. package/dist/checkout/svg/arrow-undo-circle-sharp.svg +1 -1
  194. package/dist/checkout/svg/arrow-undo-circle.svg +1 -1
  195. package/dist/checkout/svg/arrow-undo-outline.svg +1 -1
  196. package/dist/checkout/svg/arrow-undo-sharp.svg +1 -1
  197. package/dist/checkout/svg/arrow-undo.svg +1 -1
  198. package/dist/checkout/svg/arrow-up-circle-outline.svg +1 -1
  199. package/dist/checkout/svg/arrow-up-circle-sharp.svg +1 -1
  200. package/dist/checkout/svg/arrow-up-circle.svg +1 -1
  201. package/dist/checkout/svg/arrow-up-left-box-outline.svg +1 -1
  202. package/dist/checkout/svg/arrow-up-left-box-sharp.svg +1 -1
  203. package/dist/checkout/svg/arrow-up-left-box.svg +1 -1
  204. package/dist/checkout/svg/arrow-up-outline.svg +1 -1
  205. package/dist/checkout/svg/arrow-up-right-box-outline.svg +1 -1
  206. package/dist/checkout/svg/arrow-up-right-box-sharp.svg +1 -1
  207. package/dist/checkout/svg/arrow-up-right-box.svg +1 -1
  208. package/dist/checkout/svg/arrow-up-sharp.svg +1 -1
  209. package/dist/checkout/svg/arrow-up.svg +1 -1
  210. package/dist/checkout/svg/at-circle-outline.svg +1 -1
  211. package/dist/checkout/svg/at-circle-sharp.svg +1 -1
  212. package/dist/checkout/svg/at-circle.svg +1 -1
  213. package/dist/checkout/svg/at-outline.svg +1 -1
  214. package/dist/checkout/svg/at-sharp.svg +1 -1
  215. package/dist/checkout/svg/at.svg +1 -1
  216. package/dist/checkout/svg/attach-outline.svg +1 -1
  217. package/dist/checkout/svg/attach-sharp.svg +1 -1
  218. package/dist/checkout/svg/attach.svg +1 -1
  219. package/dist/checkout/svg/backspace-outline.svg +1 -1
  220. package/dist/checkout/svg/backspace-sharp.svg +1 -1
  221. package/dist/checkout/svg/backspace.svg +1 -1
  222. package/dist/checkout/svg/bag-add-outline.svg +1 -1
  223. package/dist/checkout/svg/bag-add-sharp.svg +1 -1
  224. package/dist/checkout/svg/bag-add.svg +1 -1
  225. package/dist/checkout/svg/bag-check-outline.svg +1 -1
  226. package/dist/checkout/svg/bag-check-sharp.svg +1 -1
  227. package/dist/checkout/svg/bag-check.svg +1 -1
  228. package/dist/checkout/svg/bag-handle-outline.svg +1 -1
  229. package/dist/checkout/svg/bag-handle-sharp.svg +1 -1
  230. package/dist/checkout/svg/bag-handle.svg +1 -1
  231. package/dist/checkout/svg/bag-outline.svg +1 -1
  232. package/dist/checkout/svg/bag-remove-outline.svg +1 -1
  233. package/dist/checkout/svg/bag-remove-sharp.svg +1 -1
  234. package/dist/checkout/svg/bag-remove.svg +1 -1
  235. package/dist/checkout/svg/bag-sharp.svg +1 -1
  236. package/dist/checkout/svg/bag.svg +1 -1
  237. package/dist/checkout/svg/balloon-outline.svg +1 -1
  238. package/dist/checkout/svg/balloon-sharp.svg +1 -1
  239. package/dist/checkout/svg/balloon.svg +1 -1
  240. package/dist/checkout/svg/ban-outline.svg +1 -1
  241. package/dist/checkout/svg/ban-sharp.svg +1 -1
  242. package/dist/checkout/svg/ban.svg +1 -1
  243. package/dist/checkout/svg/bandage-outline.svg +1 -1
  244. package/dist/checkout/svg/bandage-sharp.svg +1 -1
  245. package/dist/checkout/svg/bandage.svg +1 -1
  246. package/dist/checkout/svg/bar-chart-outline.svg +1 -1
  247. package/dist/checkout/svg/bar-chart-sharp.svg +1 -1
  248. package/dist/checkout/svg/bar-chart.svg +1 -1
  249. package/dist/checkout/svg/barbell-outline.svg +1 -1
  250. package/dist/checkout/svg/barbell-sharp.svg +1 -1
  251. package/dist/checkout/svg/barbell.svg +1 -1
  252. package/dist/checkout/svg/barcode-outline.svg +1 -1
  253. package/dist/checkout/svg/barcode-sharp.svg +1 -1
  254. package/dist/checkout/svg/barcode.svg +1 -1
  255. package/dist/checkout/svg/baseball-outline.svg +1 -1
  256. package/dist/checkout/svg/baseball-sharp.svg +1 -1
  257. package/dist/checkout/svg/baseball.svg +1 -1
  258. package/dist/checkout/svg/basket-outline.svg +1 -1
  259. package/dist/checkout/svg/basket-sharp.svg +1 -1
  260. package/dist/checkout/svg/basket.svg +1 -1
  261. package/dist/checkout/svg/basketball-outline.svg +1 -1
  262. package/dist/checkout/svg/basketball-sharp.svg +1 -1
  263. package/dist/checkout/svg/basketball.svg +1 -1
  264. package/dist/checkout/svg/battery-charging-outline.svg +1 -1
  265. package/dist/checkout/svg/battery-charging-sharp.svg +1 -1
  266. package/dist/checkout/svg/battery-charging.svg +1 -1
  267. package/dist/checkout/svg/battery-dead-outline.svg +1 -1
  268. package/dist/checkout/svg/battery-dead-sharp.svg +1 -1
  269. package/dist/checkout/svg/battery-dead.svg +1 -1
  270. package/dist/checkout/svg/battery-full-outline.svg +1 -1
  271. package/dist/checkout/svg/battery-full-sharp.svg +1 -1
  272. package/dist/checkout/svg/battery-full.svg +1 -1
  273. package/dist/checkout/svg/battery-half-outline.svg +1 -1
  274. package/dist/checkout/svg/battery-half-sharp.svg +1 -1
  275. package/dist/checkout/svg/battery-half.svg +1 -1
  276. package/dist/checkout/svg/beaker-outline.svg +1 -1
  277. package/dist/checkout/svg/beaker-sharp.svg +1 -1
  278. package/dist/checkout/svg/beaker.svg +1 -1
  279. package/dist/checkout/svg/bed-outline.svg +1 -1
  280. package/dist/checkout/svg/bed-sharp.svg +1 -1
  281. package/dist/checkout/svg/bed.svg +1 -1
  282. package/dist/checkout/svg/beer-outline.svg +1 -1
  283. package/dist/checkout/svg/beer-sharp.svg +1 -1
  284. package/dist/checkout/svg/beer.svg +1 -1
  285. package/dist/checkout/svg/bicycle-outline.svg +1 -1
  286. package/dist/checkout/svg/bicycle-sharp.svg +1 -1
  287. package/dist/checkout/svg/bicycle.svg +1 -1
  288. package/dist/checkout/svg/binoculars-outline.svg +1 -1
  289. package/dist/checkout/svg/binoculars-sharp.svg +1 -1
  290. package/dist/checkout/svg/binoculars.svg +1 -1
  291. package/dist/checkout/svg/bluetooth-outline.svg +1 -1
  292. package/dist/checkout/svg/bluetooth-sharp.svg +1 -1
  293. package/dist/checkout/svg/bluetooth.svg +1 -1
  294. package/dist/checkout/svg/boat-outline.svg +1 -1
  295. package/dist/checkout/svg/boat-sharp.svg +1 -1
  296. package/dist/checkout/svg/boat.svg +1 -1
  297. package/dist/checkout/svg/body-outline.svg +1 -1
  298. package/dist/checkout/svg/body-sharp.svg +1 -1
  299. package/dist/checkout/svg/body.svg +1 -1
  300. package/dist/checkout/svg/bonfire-outline.svg +1 -1
  301. package/dist/checkout/svg/bonfire-sharp.svg +1 -1
  302. package/dist/checkout/svg/bonfire.svg +1 -1
  303. package/dist/checkout/svg/book-outline.svg +1 -1
  304. package/dist/checkout/svg/book-sharp.svg +1 -1
  305. package/dist/checkout/svg/book.svg +1 -1
  306. package/dist/checkout/svg/bookmark-outline.svg +1 -1
  307. package/dist/checkout/svg/bookmark-sharp.svg +1 -1
  308. package/dist/checkout/svg/bookmark.svg +1 -1
  309. package/dist/checkout/svg/bookmarks-outline.svg +1 -1
  310. package/dist/checkout/svg/bookmarks-sharp.svg +1 -1
  311. package/dist/checkout/svg/bookmarks.svg +1 -1
  312. package/dist/checkout/svg/bowling-ball-sharp.svg +1 -1
  313. package/dist/checkout/svg/bowling-ball.svg +1 -1
  314. package/dist/checkout/svg/briefcase-outline.svg +1 -1
  315. package/dist/checkout/svg/briefcase-sharp.svg +1 -1
  316. package/dist/checkout/svg/briefcase.svg +1 -1
  317. package/dist/checkout/svg/browsers-outline.svg +1 -1
  318. package/dist/checkout/svg/browsers-sharp.svg +1 -1
  319. package/dist/checkout/svg/browsers.svg +1 -1
  320. package/dist/checkout/svg/brush-outline.svg +1 -1
  321. package/dist/checkout/svg/brush-sharp.svg +1 -1
  322. package/dist/checkout/svg/brush.svg +1 -1
  323. package/dist/checkout/svg/bug-outline.svg +1 -1
  324. package/dist/checkout/svg/bug-sharp.svg +1 -1
  325. package/dist/checkout/svg/bug.svg +1 -1
  326. package/dist/checkout/svg/build-outline.svg +1 -1
  327. package/dist/checkout/svg/build-sharp.svg +1 -1
  328. package/dist/checkout/svg/build.svg +1 -1
  329. package/dist/checkout/svg/bulb-outline.svg +1 -1
  330. package/dist/checkout/svg/bulb-sharp.svg +1 -1
  331. package/dist/checkout/svg/bulb.svg +1 -1
  332. package/dist/checkout/svg/bus-outline.svg +1 -1
  333. package/dist/checkout/svg/bus-sharp.svg +1 -1
  334. package/dist/checkout/svg/bus.svg +1 -1
  335. package/dist/checkout/svg/business-outline.svg +1 -1
  336. package/dist/checkout/svg/business-sharp.svg +1 -1
  337. package/dist/checkout/svg/business.svg +1 -1
  338. package/dist/checkout/svg/cafe-outline.svg +1 -1
  339. package/dist/checkout/svg/cafe-sharp.svg +1 -1
  340. package/dist/checkout/svg/cafe.svg +1 -1
  341. package/dist/checkout/svg/calculator-outline.svg +1 -1
  342. package/dist/checkout/svg/calculator-sharp.svg +1 -1
  343. package/dist/checkout/svg/calculator.svg +1 -1
  344. package/dist/checkout/svg/calendar-clear-outline.svg +1 -1
  345. package/dist/checkout/svg/calendar-clear-sharp.svg +1 -1
  346. package/dist/checkout/svg/calendar-clear.svg +1 -1
  347. package/dist/checkout/svg/calendar-number-outline.svg +1 -1
  348. package/dist/checkout/svg/calendar-number-sharp.svg +1 -1
  349. package/dist/checkout/svg/calendar-number.svg +1 -1
  350. package/dist/checkout/svg/calendar-outline.svg +1 -1
  351. package/dist/checkout/svg/calendar-sharp.svg +1 -1
  352. package/dist/checkout/svg/calendar.svg +1 -1
  353. package/dist/checkout/svg/call-outline.svg +1 -1
  354. package/dist/checkout/svg/call-sharp.svg +1 -1
  355. package/dist/checkout/svg/call.svg +1 -1
  356. package/dist/checkout/svg/camera-outline.svg +1 -1
  357. package/dist/checkout/svg/camera-reverse-outline.svg +1 -1
  358. package/dist/checkout/svg/camera-reverse-sharp.svg +1 -1
  359. package/dist/checkout/svg/camera-reverse.svg +1 -1
  360. package/dist/checkout/svg/camera-sharp.svg +1 -1
  361. package/dist/checkout/svg/camera.svg +1 -1
  362. package/dist/checkout/svg/car-outline.svg +1 -1
  363. package/dist/checkout/svg/car-sharp.svg +1 -1
  364. package/dist/checkout/svg/car-sport-outline.svg +1 -1
  365. package/dist/checkout/svg/car-sport-sharp.svg +1 -1
  366. package/dist/checkout/svg/car-sport.svg +1 -1
  367. package/dist/checkout/svg/car.svg +1 -1
  368. package/dist/checkout/svg/card-outline.svg +1 -1
  369. package/dist/checkout/svg/card-sharp.svg +1 -1
  370. package/dist/checkout/svg/card.svg +1 -1
  371. package/dist/checkout/svg/caret-back-circle-outline.svg +1 -1
  372. package/dist/checkout/svg/caret-back-circle-sharp.svg +1 -1
  373. package/dist/checkout/svg/caret-back-circle.svg +1 -1
  374. package/dist/checkout/svg/caret-back-outline.svg +1 -1
  375. package/dist/checkout/svg/caret-back-sharp.svg +1 -1
  376. package/dist/checkout/svg/caret-back.svg +1 -1
  377. package/dist/checkout/svg/caret-down-circle-outline.svg +1 -1
  378. package/dist/checkout/svg/caret-down-circle-sharp.svg +1 -1
  379. package/dist/checkout/svg/caret-down-circle.svg +1 -1
  380. package/dist/checkout/svg/caret-down-outline.svg +1 -1
  381. package/dist/checkout/svg/caret-down-sharp.svg +1 -1
  382. package/dist/checkout/svg/caret-down.svg +1 -1
  383. package/dist/checkout/svg/caret-forward-circle-outline.svg +1 -1
  384. package/dist/checkout/svg/caret-forward-circle-sharp.svg +1 -1
  385. package/dist/checkout/svg/caret-forward-circle.svg +1 -1
  386. package/dist/checkout/svg/caret-forward-outline.svg +1 -1
  387. package/dist/checkout/svg/caret-forward-sharp.svg +1 -1
  388. package/dist/checkout/svg/caret-forward.svg +1 -1
  389. package/dist/checkout/svg/caret-up-circle-outline.svg +1 -1
  390. package/dist/checkout/svg/caret-up-circle-sharp.svg +1 -1
  391. package/dist/checkout/svg/caret-up-circle.svg +1 -1
  392. package/dist/checkout/svg/caret-up-outline.svg +1 -1
  393. package/dist/checkout/svg/caret-up-sharp.svg +1 -1
  394. package/dist/checkout/svg/caret-up.svg +1 -1
  395. package/dist/checkout/svg/cart-outline.svg +1 -1
  396. package/dist/checkout/svg/cart-sharp.svg +1 -1
  397. package/dist/checkout/svg/cart.svg +1 -1
  398. package/dist/checkout/svg/cash-outline.svg +1 -1
  399. package/dist/checkout/svg/cash-sharp.svg +1 -1
  400. package/dist/checkout/svg/cash.svg +1 -1
  401. package/dist/checkout/svg/cellular-outline.svg +1 -1
  402. package/dist/checkout/svg/cellular-sharp.svg +1 -1
  403. package/dist/checkout/svg/cellular.svg +1 -1
  404. package/dist/checkout/svg/chatbox-ellipses-outline.svg +1 -1
  405. package/dist/checkout/svg/chatbox-ellipses-sharp.svg +1 -1
  406. package/dist/checkout/svg/chatbox-ellipses.svg +1 -1
  407. package/dist/checkout/svg/chatbox-outline.svg +1 -1
  408. package/dist/checkout/svg/chatbox-sharp.svg +1 -1
  409. package/dist/checkout/svg/chatbox.svg +1 -1
  410. package/dist/checkout/svg/chatbubble-ellipses-outline.svg +1 -1
  411. package/dist/checkout/svg/chatbubble-ellipses-sharp.svg +1 -1
  412. package/dist/checkout/svg/chatbubble-ellipses.svg +1 -1
  413. package/dist/checkout/svg/chatbubble-outline.svg +1 -1
  414. package/dist/checkout/svg/chatbubble-sharp.svg +1 -1
  415. package/dist/checkout/svg/chatbubble.svg +1 -1
  416. package/dist/checkout/svg/chatbubbles-outline.svg +1 -1
  417. package/dist/checkout/svg/chatbubbles-sharp.svg +1 -1
  418. package/dist/checkout/svg/chatbubbles.svg +1 -1
  419. package/dist/checkout/svg/checkbox-outline.svg +1 -1
  420. package/dist/checkout/svg/checkbox-sharp.svg +1 -1
  421. package/dist/checkout/svg/checkbox.svg +1 -1
  422. package/dist/checkout/svg/checkmark-circle-outline.svg +1 -1
  423. package/dist/checkout/svg/checkmark-circle-sharp.svg +1 -1
  424. package/dist/checkout/svg/checkmark-circle.svg +1 -1
  425. package/dist/checkout/svg/checkmark-done-circle-outline.svg +1 -1
  426. package/dist/checkout/svg/checkmark-done-circle-sharp.svg +1 -1
  427. package/dist/checkout/svg/checkmark-done-circle.svg +1 -1
  428. package/dist/checkout/svg/checkmark-done-outline.svg +1 -1
  429. package/dist/checkout/svg/checkmark-done-sharp.svg +1 -1
  430. package/dist/checkout/svg/checkmark-done.svg +1 -1
  431. package/dist/checkout/svg/checkmark-outline.svg +1 -1
  432. package/dist/checkout/svg/checkmark-sharp.svg +1 -1
  433. package/dist/checkout/svg/checkmark.svg +1 -1
  434. package/dist/checkout/svg/chevron-back-circle-outline.svg +1 -1
  435. package/dist/checkout/svg/chevron-back-circle-sharp.svg +1 -1
  436. package/dist/checkout/svg/chevron-back-circle.svg +1 -1
  437. package/dist/checkout/svg/chevron-back-outline.svg +1 -1
  438. package/dist/checkout/svg/chevron-back-sharp.svg +1 -1
  439. package/dist/checkout/svg/chevron-back.svg +1 -1
  440. package/dist/checkout/svg/chevron-collapse-outline.svg +1 -1
  441. package/dist/checkout/svg/chevron-collapse-sharp.svg +1 -1
  442. package/dist/checkout/svg/chevron-collapse.svg +1 -1
  443. package/dist/checkout/svg/chevron-down-circle-outline.svg +1 -1
  444. package/dist/checkout/svg/chevron-down-circle-sharp.svg +1 -1
  445. package/dist/checkout/svg/chevron-down-circle.svg +1 -1
  446. package/dist/checkout/svg/chevron-down-outline.svg +1 -1
  447. package/dist/checkout/svg/chevron-down-sharp.svg +1 -1
  448. package/dist/checkout/svg/chevron-down.svg +1 -1
  449. package/dist/checkout/svg/chevron-expand-outline.svg +1 -1
  450. package/dist/checkout/svg/chevron-expand-sharp.svg +1 -1
  451. package/dist/checkout/svg/chevron-expand.svg +1 -1
  452. package/dist/checkout/svg/chevron-forward-circle-outline.svg +1 -1
  453. package/dist/checkout/svg/chevron-forward-circle-sharp.svg +1 -1
  454. package/dist/checkout/svg/chevron-forward-circle.svg +1 -1
  455. package/dist/checkout/svg/chevron-forward-outline.svg +1 -1
  456. package/dist/checkout/svg/chevron-forward-sharp.svg +1 -1
  457. package/dist/checkout/svg/chevron-forward.svg +1 -1
  458. package/dist/checkout/svg/chevron-up-circle-outline.svg +1 -1
  459. package/dist/checkout/svg/chevron-up-circle-sharp.svg +1 -1
  460. package/dist/checkout/svg/chevron-up-circle.svg +1 -1
  461. package/dist/checkout/svg/chevron-up-outline.svg +1 -1
  462. package/dist/checkout/svg/chevron-up-sharp.svg +1 -1
  463. package/dist/checkout/svg/chevron-up.svg +1 -1
  464. package/dist/checkout/svg/clipboard-outline.svg +1 -1
  465. package/dist/checkout/svg/clipboard-sharp.svg +1 -1
  466. package/dist/checkout/svg/clipboard.svg +1 -1
  467. package/dist/checkout/svg/close-circle-outline.svg +1 -1
  468. package/dist/checkout/svg/close-circle-sharp.svg +1 -1
  469. package/dist/checkout/svg/close-circle.svg +1 -1
  470. package/dist/checkout/svg/close-outline.svg +1 -1
  471. package/dist/checkout/svg/close-sharp.svg +1 -1
  472. package/dist/checkout/svg/close.svg +1 -1
  473. package/dist/checkout/svg/cloud-circle-outline.svg +1 -1
  474. package/dist/checkout/svg/cloud-circle-sharp.svg +1 -1
  475. package/dist/checkout/svg/cloud-circle.svg +1 -1
  476. package/dist/checkout/svg/cloud-done-outline.svg +1 -1
  477. package/dist/checkout/svg/cloud-done-sharp.svg +1 -1
  478. package/dist/checkout/svg/cloud-done.svg +1 -1
  479. package/dist/checkout/svg/cloud-download-outline.svg +1 -1
  480. package/dist/checkout/svg/cloud-download-sharp.svg +1 -1
  481. package/dist/checkout/svg/cloud-download.svg +1 -1
  482. package/dist/checkout/svg/cloud-offline-outline.svg +1 -1
  483. package/dist/checkout/svg/cloud-offline-sharp.svg +1 -1
  484. package/dist/checkout/svg/cloud-offline.svg +1 -1
  485. package/dist/checkout/svg/cloud-outline.svg +1 -1
  486. package/dist/checkout/svg/cloud-sharp.svg +1 -1
  487. package/dist/checkout/svg/cloud-upload-outline.svg +1 -1
  488. package/dist/checkout/svg/cloud-upload-sharp.svg +1 -1
  489. package/dist/checkout/svg/cloud-upload.svg +1 -1
  490. package/dist/checkout/svg/cloud.svg +1 -1
  491. package/dist/checkout/svg/cloudy-night-outline.svg +1 -1
  492. package/dist/checkout/svg/cloudy-night-sharp.svg +1 -1
  493. package/dist/checkout/svg/cloudy-night.svg +1 -1
  494. package/dist/checkout/svg/cloudy-outline.svg +1 -1
  495. package/dist/checkout/svg/cloudy-sharp.svg +1 -1
  496. package/dist/checkout/svg/cloudy.svg +1 -1
  497. package/dist/checkout/svg/code-download-outline.svg +1 -1
  498. package/dist/checkout/svg/code-download-sharp.svg +1 -1
  499. package/dist/checkout/svg/code-download.svg +1 -1
  500. package/dist/checkout/svg/code-outline.svg +1 -1
  501. package/dist/checkout/svg/code-sharp.svg +1 -1
  502. package/dist/checkout/svg/code-slash-outline.svg +1 -1
  503. package/dist/checkout/svg/code-slash-sharp.svg +1 -1
  504. package/dist/checkout/svg/code-slash.svg +1 -1
  505. package/dist/checkout/svg/code-working-outline.svg +1 -1
  506. package/dist/checkout/svg/code-working-sharp.svg +1 -1
  507. package/dist/checkout/svg/code-working.svg +1 -1
  508. package/dist/checkout/svg/code.svg +1 -1
  509. package/dist/checkout/svg/cog-outline.svg +1 -1
  510. package/dist/checkout/svg/cog-sharp.svg +1 -1
  511. package/dist/checkout/svg/cog.svg +1 -1
  512. package/dist/checkout/svg/color-fill-outline.svg +1 -1
  513. package/dist/checkout/svg/color-fill-sharp.svg +1 -1
  514. package/dist/checkout/svg/color-fill.svg +1 -1
  515. package/dist/checkout/svg/color-filter-outline.svg +1 -1
  516. package/dist/checkout/svg/color-filter-sharp.svg +1 -1
  517. package/dist/checkout/svg/color-filter.svg +1 -1
  518. package/dist/checkout/svg/color-palette-outline.svg +1 -1
  519. package/dist/checkout/svg/color-palette-sharp.svg +1 -1
  520. package/dist/checkout/svg/color-palette.svg +1 -1
  521. package/dist/checkout/svg/color-wand-outline.svg +1 -1
  522. package/dist/checkout/svg/color-wand-sharp.svg +1 -1
  523. package/dist/checkout/svg/color-wand.svg +1 -1
  524. package/dist/checkout/svg/compass-outline.svg +1 -1
  525. package/dist/checkout/svg/compass-sharp.svg +1 -1
  526. package/dist/checkout/svg/compass.svg +1 -1
  527. package/dist/checkout/svg/construct-outline.svg +1 -1
  528. package/dist/checkout/svg/construct-sharp.svg +1 -1
  529. package/dist/checkout/svg/construct.svg +1 -1
  530. package/dist/checkout/svg/contract-outline.svg +1 -1
  531. package/dist/checkout/svg/contract-sharp.svg +1 -1
  532. package/dist/checkout/svg/contract.svg +1 -1
  533. package/dist/checkout/svg/contrast-outline.svg +1 -1
  534. package/dist/checkout/svg/contrast-sharp.svg +1 -1
  535. package/dist/checkout/svg/contrast.svg +1 -1
  536. package/dist/checkout/svg/copy-outline.svg +1 -1
  537. package/dist/checkout/svg/copy-sharp.svg +1 -1
  538. package/dist/checkout/svg/copy.svg +1 -1
  539. package/dist/checkout/svg/create-outline.svg +1 -1
  540. package/dist/checkout/svg/create-sharp.svg +1 -1
  541. package/dist/checkout/svg/create.svg +1 -1
  542. package/dist/checkout/svg/crop-outline.svg +1 -1
  543. package/dist/checkout/svg/crop-sharp.svg +1 -1
  544. package/dist/checkout/svg/crop.svg +1 -1
  545. package/dist/checkout/svg/cube-outline.svg +1 -1
  546. package/dist/checkout/svg/cube-sharp.svg +1 -1
  547. package/dist/checkout/svg/cube.svg +1 -1
  548. package/dist/checkout/svg/cut-outline.svg +1 -1
  549. package/dist/checkout/svg/cut-sharp.svg +1 -1
  550. package/dist/checkout/svg/cut.svg +1 -1
  551. package/dist/checkout/svg/desktop-outline.svg +1 -1
  552. package/dist/checkout/svg/desktop-sharp.svg +1 -1
  553. package/dist/checkout/svg/desktop.svg +1 -1
  554. package/dist/checkout/svg/diamond-outline.svg +1 -1
  555. package/dist/checkout/svg/diamond-sharp.svg +1 -1
  556. package/dist/checkout/svg/diamond.svg +1 -1
  557. package/dist/checkout/svg/dice-outline.svg +1 -1
  558. package/dist/checkout/svg/dice-sharp.svg +1 -1
  559. package/dist/checkout/svg/dice.svg +1 -1
  560. package/dist/checkout/svg/disc-outline.svg +1 -1
  561. package/dist/checkout/svg/disc-sharp.svg +1 -1
  562. package/dist/checkout/svg/disc.svg +1 -1
  563. package/dist/checkout/svg/document-attach-outline.svg +1 -1
  564. package/dist/checkout/svg/document-attach-sharp.svg +1 -1
  565. package/dist/checkout/svg/document-attach.svg +1 -1
  566. package/dist/checkout/svg/document-lock-outline.svg +1 -1
  567. package/dist/checkout/svg/document-lock-sharp.svg +1 -1
  568. package/dist/checkout/svg/document-lock.svg +1 -1
  569. package/dist/checkout/svg/document-outline.svg +1 -1
  570. package/dist/checkout/svg/document-sharp.svg +1 -1
  571. package/dist/checkout/svg/document-text-outline.svg +1 -1
  572. package/dist/checkout/svg/document-text-sharp.svg +1 -1
  573. package/dist/checkout/svg/document-text.svg +1 -1
  574. package/dist/checkout/svg/document.svg +1 -1
  575. package/dist/checkout/svg/documents-outline.svg +1 -1
  576. package/dist/checkout/svg/documents-sharp.svg +1 -1
  577. package/dist/checkout/svg/documents.svg +1 -1
  578. package/dist/checkout/svg/download-outline.svg +1 -1
  579. package/dist/checkout/svg/download-sharp.svg +1 -1
  580. package/dist/checkout/svg/download.svg +1 -1
  581. package/dist/checkout/svg/duplicate-outline.svg +1 -1
  582. package/dist/checkout/svg/duplicate-sharp.svg +1 -1
  583. package/dist/checkout/svg/duplicate.svg +1 -1
  584. package/dist/checkout/svg/ear-outline.svg +1 -1
  585. package/dist/checkout/svg/ear-sharp.svg +1 -1
  586. package/dist/checkout/svg/ear.svg +1 -1
  587. package/dist/checkout/svg/earth-outline.svg +1 -1
  588. package/dist/checkout/svg/earth-sharp.svg +1 -1
  589. package/dist/checkout/svg/earth.svg +1 -1
  590. package/dist/checkout/svg/easel-outline.svg +1 -1
  591. package/dist/checkout/svg/easel-sharp.svg +1 -1
  592. package/dist/checkout/svg/easel.svg +1 -1
  593. package/dist/checkout/svg/egg-outline.svg +1 -1
  594. package/dist/checkout/svg/egg-sharp.svg +1 -1
  595. package/dist/checkout/svg/egg.svg +1 -1
  596. package/dist/checkout/svg/ellipse-outline.svg +1 -1
  597. package/dist/checkout/svg/ellipse-sharp.svg +1 -1
  598. package/dist/checkout/svg/ellipse.svg +1 -1
  599. package/dist/checkout/svg/ellipsis-horizontal-circle-outline.svg +1 -1
  600. package/dist/checkout/svg/ellipsis-horizontal-circle-sharp.svg +1 -1
  601. package/dist/checkout/svg/ellipsis-horizontal-circle.svg +1 -1
  602. package/dist/checkout/svg/ellipsis-horizontal-outline.svg +1 -1
  603. package/dist/checkout/svg/ellipsis-horizontal-sharp.svg +1 -1
  604. package/dist/checkout/svg/ellipsis-horizontal.svg +1 -1
  605. package/dist/checkout/svg/ellipsis-vertical-circle-outline.svg +1 -1
  606. package/dist/checkout/svg/ellipsis-vertical-circle-sharp.svg +1 -1
  607. package/dist/checkout/svg/ellipsis-vertical-circle.svg +1 -1
  608. package/dist/checkout/svg/ellipsis-vertical-outline.svg +1 -1
  609. package/dist/checkout/svg/ellipsis-vertical-sharp.svg +1 -1
  610. package/dist/checkout/svg/ellipsis-vertical.svg +1 -1
  611. package/dist/checkout/svg/enter-outline.svg +1 -1
  612. package/dist/checkout/svg/enter-sharp.svg +1 -1
  613. package/dist/checkout/svg/enter.svg +1 -1
  614. package/dist/checkout/svg/exit-outline.svg +1 -1
  615. package/dist/checkout/svg/exit-sharp.svg +1 -1
  616. package/dist/checkout/svg/exit.svg +1 -1
  617. package/dist/checkout/svg/expand-outline.svg +1 -1
  618. package/dist/checkout/svg/expand-sharp.svg +1 -1
  619. package/dist/checkout/svg/expand.svg +1 -1
  620. package/dist/checkout/svg/extension-puzzle-outline.svg +1 -1
  621. package/dist/checkout/svg/extension-puzzle-sharp.svg +1 -1
  622. package/dist/checkout/svg/extension-puzzle.svg +1 -1
  623. package/dist/checkout/svg/eye-off-outline.svg +1 -1
  624. package/dist/checkout/svg/eye-off-sharp.svg +1 -1
  625. package/dist/checkout/svg/eye-off.svg +1 -1
  626. package/dist/checkout/svg/eye-outline.svg +1 -1
  627. package/dist/checkout/svg/eye-sharp.svg +1 -1
  628. package/dist/checkout/svg/eye.svg +1 -1
  629. package/dist/checkout/svg/eyedrop-outline.svg +1 -1
  630. package/dist/checkout/svg/eyedrop-sharp.svg +1 -1
  631. package/dist/checkout/svg/eyedrop.svg +1 -1
  632. package/dist/checkout/svg/fast-food-outline.svg +1 -1
  633. package/dist/checkout/svg/fast-food-sharp.svg +1 -1
  634. package/dist/checkout/svg/fast-food.svg +1 -1
  635. package/dist/checkout/svg/female-outline.svg +1 -1
  636. package/dist/checkout/svg/female-sharp.svg +1 -1
  637. package/dist/checkout/svg/female.svg +1 -1
  638. package/dist/checkout/svg/file-tray-full-outline.svg +1 -1
  639. package/dist/checkout/svg/file-tray-full-sharp.svg +1 -1
  640. package/dist/checkout/svg/file-tray-full.svg +1 -1
  641. package/dist/checkout/svg/file-tray-outline.svg +1 -1
  642. package/dist/checkout/svg/file-tray-sharp.svg +1 -1
  643. package/dist/checkout/svg/file-tray-stacked-outline.svg +1 -1
  644. package/dist/checkout/svg/file-tray-stacked-sharp.svg +1 -1
  645. package/dist/checkout/svg/file-tray-stacked.svg +1 -1
  646. package/dist/checkout/svg/file-tray.svg +1 -1
  647. package/dist/checkout/svg/film-outline.svg +1 -1
  648. package/dist/checkout/svg/film-sharp.svg +1 -1
  649. package/dist/checkout/svg/film.svg +1 -1
  650. package/dist/checkout/svg/filter-circle-outline.svg +1 -1
  651. package/dist/checkout/svg/filter-circle-sharp.svg +1 -1
  652. package/dist/checkout/svg/filter-circle.svg +1 -1
  653. package/dist/checkout/svg/filter-outline.svg +1 -1
  654. package/dist/checkout/svg/filter-sharp.svg +1 -1
  655. package/dist/checkout/svg/filter.svg +1 -1
  656. package/dist/checkout/svg/finger-print-outline.svg +1 -1
  657. package/dist/checkout/svg/finger-print-sharp.svg +1 -1
  658. package/dist/checkout/svg/finger-print.svg +1 -1
  659. package/dist/checkout/svg/fish-outline.svg +1 -1
  660. package/dist/checkout/svg/fish-sharp.svg +1 -1
  661. package/dist/checkout/svg/fish.svg +1 -1
  662. package/dist/checkout/svg/fitness-outline.svg +1 -1
  663. package/dist/checkout/svg/fitness-sharp.svg +1 -1
  664. package/dist/checkout/svg/fitness.svg +1 -1
  665. package/dist/checkout/svg/flag-outline.svg +1 -1
  666. package/dist/checkout/svg/flag-sharp.svg +1 -1
  667. package/dist/checkout/svg/flag.svg +1 -1
  668. package/dist/checkout/svg/flame-outline.svg +1 -1
  669. package/dist/checkout/svg/flame-sharp.svg +1 -1
  670. package/dist/checkout/svg/flame.svg +1 -1
  671. package/dist/checkout/svg/flash-off-outline.svg +1 -1
  672. package/dist/checkout/svg/flash-off-sharp.svg +1 -1
  673. package/dist/checkout/svg/flash-off.svg +1 -1
  674. package/dist/checkout/svg/flash-outline.svg +1 -1
  675. package/dist/checkout/svg/flash-sharp.svg +1 -1
  676. package/dist/checkout/svg/flash.svg +1 -1
  677. package/dist/checkout/svg/flashlight-outline.svg +1 -1
  678. package/dist/checkout/svg/flashlight-sharp.svg +1 -1
  679. package/dist/checkout/svg/flashlight.svg +1 -1
  680. package/dist/checkout/svg/flask-outline.svg +1 -1
  681. package/dist/checkout/svg/flask-sharp.svg +1 -1
  682. package/dist/checkout/svg/flask.svg +1 -1
  683. package/dist/checkout/svg/flower-outline.svg +1 -1
  684. package/dist/checkout/svg/flower-sharp.svg +1 -1
  685. package/dist/checkout/svg/flower.svg +1 -1
  686. package/dist/checkout/svg/folder-open-outline.svg +1 -1
  687. package/dist/checkout/svg/folder-open-sharp.svg +1 -1
  688. package/dist/checkout/svg/folder-open.svg +1 -1
  689. package/dist/checkout/svg/folder-outline.svg +1 -1
  690. package/dist/checkout/svg/folder-sharp.svg +1 -1
  691. package/dist/checkout/svg/folder.svg +1 -1
  692. package/dist/checkout/svg/football-outline.svg +1 -1
  693. package/dist/checkout/svg/football-sharp.svg +1 -1
  694. package/dist/checkout/svg/football.svg +1 -1
  695. package/dist/checkout/svg/footsteps-outline.svg +1 -1
  696. package/dist/checkout/svg/footsteps-sharp.svg +1 -1
  697. package/dist/checkout/svg/footsteps.svg +1 -1
  698. package/dist/checkout/svg/funnel-outline.svg +1 -1
  699. package/dist/checkout/svg/funnel-sharp.svg +1 -1
  700. package/dist/checkout/svg/funnel.svg +1 -1
  701. package/dist/checkout/svg/game-controller-outline.svg +1 -1
  702. package/dist/checkout/svg/game-controller-sharp.svg +1 -1
  703. package/dist/checkout/svg/game-controller.svg +1 -1
  704. package/dist/checkout/svg/gift-outline.svg +1 -1
  705. package/dist/checkout/svg/gift-sharp.svg +1 -1
  706. package/dist/checkout/svg/gift.svg +1 -1
  707. package/dist/checkout/svg/git-branch-outline.svg +1 -1
  708. package/dist/checkout/svg/git-branch-sharp.svg +1 -1
  709. package/dist/checkout/svg/git-branch.svg +1 -1
  710. package/dist/checkout/svg/git-commit-outline.svg +1 -1
  711. package/dist/checkout/svg/git-commit-sharp.svg +1 -1
  712. package/dist/checkout/svg/git-commit.svg +1 -1
  713. package/dist/checkout/svg/git-compare-outline.svg +1 -1
  714. package/dist/checkout/svg/git-compare-sharp.svg +1 -1
  715. package/dist/checkout/svg/git-compare.svg +1 -1
  716. package/dist/checkout/svg/git-merge-outline.svg +1 -1
  717. package/dist/checkout/svg/git-merge-sharp.svg +1 -1
  718. package/dist/checkout/svg/git-merge.svg +1 -1
  719. package/dist/checkout/svg/git-network-outline.svg +1 -1
  720. package/dist/checkout/svg/git-network-sharp.svg +1 -1
  721. package/dist/checkout/svg/git-network.svg +1 -1
  722. package/dist/checkout/svg/git-pull-request-outline.svg +1 -1
  723. package/dist/checkout/svg/git-pull-request-sharp.svg +1 -1
  724. package/dist/checkout/svg/git-pull-request.svg +1 -1
  725. package/dist/checkout/svg/glasses-outline.svg +1 -1
  726. package/dist/checkout/svg/glasses-sharp.svg +1 -1
  727. package/dist/checkout/svg/glasses.svg +1 -1
  728. package/dist/checkout/svg/globe-outline.svg +1 -1
  729. package/dist/checkout/svg/globe-sharp.svg +1 -1
  730. package/dist/checkout/svg/globe.svg +1 -1
  731. package/dist/checkout/svg/golf-outline.svg +1 -1
  732. package/dist/checkout/svg/golf-sharp.svg +1 -1
  733. package/dist/checkout/svg/golf.svg +1 -1
  734. package/dist/checkout/svg/grid-outline.svg +1 -1
  735. package/dist/checkout/svg/grid-sharp.svg +1 -1
  736. package/dist/checkout/svg/grid.svg +1 -1
  737. package/dist/checkout/svg/hammer-outline.svg +1 -1
  738. package/dist/checkout/svg/hammer-sharp.svg +1 -1
  739. package/dist/checkout/svg/hammer.svg +1 -1
  740. package/dist/checkout/svg/hand-left-outline.svg +1 -1
  741. package/dist/checkout/svg/hand-left-sharp.svg +1 -1
  742. package/dist/checkout/svg/hand-left.svg +1 -1
  743. package/dist/checkout/svg/hand-right-outline.svg +1 -1
  744. package/dist/checkout/svg/hand-right-sharp.svg +1 -1
  745. package/dist/checkout/svg/hand-right.svg +1 -1
  746. package/dist/checkout/svg/happy-outline.svg +1 -1
  747. package/dist/checkout/svg/happy-sharp.svg +1 -1
  748. package/dist/checkout/svg/happy.svg +1 -1
  749. package/dist/checkout/svg/hardware-chip-outline.svg +1 -1
  750. package/dist/checkout/svg/hardware-chip-sharp.svg +1 -1
  751. package/dist/checkout/svg/hardware-chip.svg +1 -1
  752. package/dist/checkout/svg/headset-outline.svg +1 -1
  753. package/dist/checkout/svg/headset-sharp.svg +1 -1
  754. package/dist/checkout/svg/headset.svg +1 -1
  755. package/dist/checkout/svg/heart-circle-outline.svg +1 -1
  756. package/dist/checkout/svg/heart-circle-sharp.svg +1 -1
  757. package/dist/checkout/svg/heart-circle.svg +1 -1
  758. package/dist/checkout/svg/heart-dislike-circle-outline.svg +1 -1
  759. package/dist/checkout/svg/heart-dislike-circle-sharp.svg +1 -1
  760. package/dist/checkout/svg/heart-dislike-circle.svg +1 -1
  761. package/dist/checkout/svg/heart-dislike-outline.svg +1 -1
  762. package/dist/checkout/svg/heart-dislike-sharp.svg +1 -1
  763. package/dist/checkout/svg/heart-dislike.svg +1 -1
  764. package/dist/checkout/svg/heart-half-outline.svg +1 -1
  765. package/dist/checkout/svg/heart-half-sharp.svg +1 -1
  766. package/dist/checkout/svg/heart-half.svg +1 -1
  767. package/dist/checkout/svg/heart-outline.svg +1 -1
  768. package/dist/checkout/svg/heart-sharp.svg +1 -1
  769. package/dist/checkout/svg/heart.svg +1 -1
  770. package/dist/checkout/svg/help-buoy-outline.svg +1 -1
  771. package/dist/checkout/svg/help-buoy-sharp.svg +1 -1
  772. package/dist/checkout/svg/help-buoy.svg +1 -1
  773. package/dist/checkout/svg/help-circle-outline.svg +1 -1
  774. package/dist/checkout/svg/help-circle-sharp.svg +1 -1
  775. package/dist/checkout/svg/help-circle.svg +1 -1
  776. package/dist/checkout/svg/help-outline.svg +1 -1
  777. package/dist/checkout/svg/help-sharp.svg +1 -1
  778. package/dist/checkout/svg/help.svg +1 -1
  779. package/dist/checkout/svg/home-outline.svg +1 -1
  780. package/dist/checkout/svg/home-sharp.svg +1 -1
  781. package/dist/checkout/svg/home.svg +1 -1
  782. package/dist/checkout/svg/hourglass-outline.svg +1 -1
  783. package/dist/checkout/svg/hourglass-sharp.svg +1 -1
  784. package/dist/checkout/svg/hourglass.svg +1 -1
  785. package/dist/checkout/svg/ice-cream-outline.svg +1 -1
  786. package/dist/checkout/svg/ice-cream-sharp.svg +1 -1
  787. package/dist/checkout/svg/ice-cream.svg +1 -1
  788. package/dist/checkout/svg/id-card-outline.svg +1 -1
  789. package/dist/checkout/svg/id-card-sharp.svg +1 -1
  790. package/dist/checkout/svg/id-card.svg +1 -1
  791. package/dist/checkout/svg/image-outline.svg +1 -1
  792. package/dist/checkout/svg/image-sharp.svg +1 -1
  793. package/dist/checkout/svg/image.svg +1 -1
  794. package/dist/checkout/svg/images-outline.svg +1 -1
  795. package/dist/checkout/svg/images-sharp.svg +1 -1
  796. package/dist/checkout/svg/images.svg +1 -1
  797. package/dist/checkout/svg/infinite-outline.svg +1 -1
  798. package/dist/checkout/svg/infinite-sharp.svg +1 -1
  799. package/dist/checkout/svg/infinite.svg +1 -1
  800. package/dist/checkout/svg/information-circle-outline.svg +1 -1
  801. package/dist/checkout/svg/information-circle-sharp.svg +1 -1
  802. package/dist/checkout/svg/information-circle.svg +1 -1
  803. package/dist/checkout/svg/information-outline.svg +1 -1
  804. package/dist/checkout/svg/information-sharp.svg +1 -1
  805. package/dist/checkout/svg/information.svg +1 -1
  806. package/dist/checkout/svg/invert-mode-outline.svg +1 -1
  807. package/dist/checkout/svg/invert-mode-sharp.svg +1 -1
  808. package/dist/checkout/svg/invert-mode.svg +1 -1
  809. package/dist/checkout/svg/journal-outline.svg +1 -1
  810. package/dist/checkout/svg/journal-sharp.svg +1 -1
  811. package/dist/checkout/svg/journal.svg +1 -1
  812. package/dist/checkout/svg/key-outline.svg +1 -1
  813. package/dist/checkout/svg/key-sharp.svg +1 -1
  814. package/dist/checkout/svg/key.svg +1 -1
  815. package/dist/checkout/svg/keypad-outline.svg +1 -1
  816. package/dist/checkout/svg/keypad-sharp.svg +1 -1
  817. package/dist/checkout/svg/keypad.svg +1 -1
  818. package/dist/checkout/svg/language-outline.svg +1 -1
  819. package/dist/checkout/svg/language-sharp.svg +1 -1
  820. package/dist/checkout/svg/language.svg +1 -1
  821. package/dist/checkout/svg/laptop-outline.svg +1 -1
  822. package/dist/checkout/svg/laptop-sharp.svg +1 -1
  823. package/dist/checkout/svg/laptop.svg +1 -1
  824. package/dist/checkout/svg/layers-outline.svg +1 -1
  825. package/dist/checkout/svg/layers-sharp.svg +1 -1
  826. package/dist/checkout/svg/layers.svg +1 -1
  827. package/dist/checkout/svg/leaf-outline.svg +1 -1
  828. package/dist/checkout/svg/leaf-sharp.svg +1 -1
  829. package/dist/checkout/svg/leaf.svg +1 -1
  830. package/dist/checkout/svg/library-outline.svg +1 -1
  831. package/dist/checkout/svg/library-sharp.svg +1 -1
  832. package/dist/checkout/svg/library.svg +1 -1
  833. package/dist/checkout/svg/link-outline.svg +1 -1
  834. package/dist/checkout/svg/link-sharp.svg +1 -1
  835. package/dist/checkout/svg/link.svg +1 -1
  836. package/dist/checkout/svg/list-circle-outline.svg +1 -1
  837. package/dist/checkout/svg/list-circle-sharp.svg +1 -1
  838. package/dist/checkout/svg/list-circle.svg +1 -1
  839. package/dist/checkout/svg/list-outline.svg +1 -1
  840. package/dist/checkout/svg/list-sharp.svg +1 -1
  841. package/dist/checkout/svg/list.svg +1 -1
  842. package/dist/checkout/svg/locate-outline.svg +1 -1
  843. package/dist/checkout/svg/locate-sharp.svg +1 -1
  844. package/dist/checkout/svg/locate.svg +1 -1
  845. package/dist/checkout/svg/location-outline.svg +1 -1
  846. package/dist/checkout/svg/location-sharp.svg +1 -1
  847. package/dist/checkout/svg/location.svg +1 -1
  848. package/dist/checkout/svg/lock-closed-outline.svg +1 -1
  849. package/dist/checkout/svg/lock-closed-sharp.svg +1 -1
  850. package/dist/checkout/svg/lock-closed.svg +1 -1
  851. package/dist/checkout/svg/lock-open-outline.svg +1 -1
  852. package/dist/checkout/svg/lock-open-sharp.svg +1 -1
  853. package/dist/checkout/svg/lock-open.svg +1 -1
  854. package/dist/checkout/svg/log-in-outline.svg +1 -1
  855. package/dist/checkout/svg/log-in-sharp.svg +1 -1
  856. package/dist/checkout/svg/log-in.svg +1 -1
  857. package/dist/checkout/svg/log-out-outline.svg +1 -1
  858. package/dist/checkout/svg/log-out-sharp.svg +1 -1
  859. package/dist/checkout/svg/log-out.svg +1 -1
  860. package/dist/checkout/svg/logo-alipay.svg +1 -1
  861. package/dist/checkout/svg/logo-amazon.svg +1 -1
  862. package/dist/checkout/svg/logo-amplify.svg +1 -1
  863. package/dist/checkout/svg/logo-android.svg +1 -1
  864. package/dist/checkout/svg/logo-angular.svg +1 -1
  865. package/dist/checkout/svg/logo-appflow.svg +1 -1
  866. package/dist/checkout/svg/logo-apple-appstore.svg +1 -1
  867. package/dist/checkout/svg/logo-apple-ar.svg +1 -1
  868. package/dist/checkout/svg/logo-apple.svg +1 -1
  869. package/dist/checkout/svg/logo-behance.svg +1 -1
  870. package/dist/checkout/svg/logo-bitbucket.svg +1 -1
  871. package/dist/checkout/svg/logo-bitcoin.svg +1 -1
  872. package/dist/checkout/svg/logo-buffer.svg +1 -1
  873. package/dist/checkout/svg/logo-capacitor.svg +1 -1
  874. package/dist/checkout/svg/logo-chrome.svg +1 -1
  875. package/dist/checkout/svg/logo-closed-captioning.svg +1 -1
  876. package/dist/checkout/svg/logo-codepen.svg +1 -1
  877. package/dist/checkout/svg/logo-css3.svg +1 -1
  878. package/dist/checkout/svg/logo-designernews.svg +1 -1
  879. package/dist/checkout/svg/logo-deviantart.svg +1 -1
  880. package/dist/checkout/svg/logo-discord.svg +1 -1
  881. package/dist/checkout/svg/logo-docker.svg +1 -1
  882. package/dist/checkout/svg/logo-dribbble.svg +1 -1
  883. package/dist/checkout/svg/logo-dropbox.svg +1 -1
  884. package/dist/checkout/svg/logo-edge.svg +1 -1
  885. package/dist/checkout/svg/logo-electron.svg +1 -1
  886. package/dist/checkout/svg/logo-euro.svg +1 -1
  887. package/dist/checkout/svg/logo-facebook.svg +1 -1
  888. package/dist/checkout/svg/logo-figma.svg +1 -1
  889. package/dist/checkout/svg/logo-firebase.svg +1 -1
  890. package/dist/checkout/svg/logo-firefox.svg +1 -1
  891. package/dist/checkout/svg/logo-flickr.svg +1 -1
  892. package/dist/checkout/svg/logo-foursquare.svg +1 -1
  893. package/dist/checkout/svg/logo-github.svg +1 -1
  894. package/dist/checkout/svg/logo-gitlab.svg +1 -1
  895. package/dist/checkout/svg/logo-google-playstore.svg +1 -1
  896. package/dist/checkout/svg/logo-google.svg +1 -1
  897. package/dist/checkout/svg/logo-hackernews.svg +1 -1
  898. package/dist/checkout/svg/logo-html5.svg +1 -1
  899. package/dist/checkout/svg/logo-instagram.svg +1 -1
  900. package/dist/checkout/svg/logo-ionic.svg +1 -1
  901. package/dist/checkout/svg/logo-ionitron.svg +1 -1
  902. package/dist/checkout/svg/logo-javascript.svg +1 -1
  903. package/dist/checkout/svg/logo-laravel.svg +1 -1
  904. package/dist/checkout/svg/logo-linkedin.svg +1 -1
  905. package/dist/checkout/svg/logo-markdown.svg +1 -1
  906. package/dist/checkout/svg/logo-mastodon.svg +1 -1
  907. package/dist/checkout/svg/logo-medium.svg +1 -1
  908. package/dist/checkout/svg/logo-microsoft.svg +1 -1
  909. package/dist/checkout/svg/logo-no-smoking.svg +1 -1
  910. package/dist/checkout/svg/logo-nodejs.svg +1 -1
  911. package/dist/checkout/svg/logo-npm.svg +1 -1
  912. package/dist/checkout/svg/logo-octocat.svg +1 -1
  913. package/dist/checkout/svg/logo-paypal.svg +1 -1
  914. package/dist/checkout/svg/logo-pinterest.svg +1 -1
  915. package/dist/checkout/svg/logo-playstation.svg +1 -1
  916. package/dist/checkout/svg/logo-pwa.svg +1 -1
  917. package/dist/checkout/svg/logo-python.svg +1 -1
  918. package/dist/checkout/svg/logo-react.svg +1 -1
  919. package/dist/checkout/svg/logo-reddit.svg +1 -1
  920. package/dist/checkout/svg/logo-rss.svg +1 -1
  921. package/dist/checkout/svg/logo-sass.svg +1 -1
  922. package/dist/checkout/svg/logo-skype.svg +1 -1
  923. package/dist/checkout/svg/logo-slack.svg +1 -1
  924. package/dist/checkout/svg/logo-snapchat.svg +1 -1
  925. package/dist/checkout/svg/logo-soundcloud.svg +1 -1
  926. package/dist/checkout/svg/logo-stackoverflow.svg +1 -1
  927. package/dist/checkout/svg/logo-steam.svg +1 -1
  928. package/dist/checkout/svg/logo-stencil.svg +1 -1
  929. package/dist/checkout/svg/logo-tableau.svg +1 -1
  930. package/dist/checkout/svg/logo-tiktok.svg +1 -1
  931. package/dist/checkout/svg/logo-trapeze.svg +1 -1
  932. package/dist/checkout/svg/logo-tumblr.svg +1 -1
  933. package/dist/checkout/svg/logo-tux.svg +1 -1
  934. package/dist/checkout/svg/logo-twitch.svg +1 -1
  935. package/dist/checkout/svg/logo-twitter.svg +1 -1
  936. package/dist/checkout/svg/logo-usd.svg +1 -1
  937. package/dist/checkout/svg/logo-venmo.svg +1 -1
  938. package/dist/checkout/svg/logo-vercel.svg +1 -1
  939. package/dist/checkout/svg/logo-vimeo.svg +1 -1
  940. package/dist/checkout/svg/logo-vk.svg +1 -1
  941. package/dist/checkout/svg/logo-vue.svg +1 -1
  942. package/dist/checkout/svg/logo-web-component.svg +1 -1
  943. package/dist/checkout/svg/logo-wechat.svg +1 -1
  944. package/dist/checkout/svg/logo-whatsapp.svg +1 -1
  945. package/dist/checkout/svg/logo-windows.svg +1 -1
  946. package/dist/checkout/svg/logo-wordpress.svg +1 -1
  947. package/dist/checkout/svg/logo-x.svg +1 -1
  948. package/dist/checkout/svg/logo-xbox.svg +1 -1
  949. package/dist/checkout/svg/logo-xing.svg +1 -1
  950. package/dist/checkout/svg/logo-yahoo.svg +1 -1
  951. package/dist/checkout/svg/logo-yen.svg +1 -1
  952. package/dist/checkout/svg/logo-youtube.svg +1 -1
  953. package/dist/checkout/svg/magnet-outline.svg +1 -1
  954. package/dist/checkout/svg/magnet-sharp.svg +1 -1
  955. package/dist/checkout/svg/magnet.svg +1 -1
  956. package/dist/checkout/svg/mail-open-outline.svg +1 -1
  957. package/dist/checkout/svg/mail-open-sharp.svg +1 -1
  958. package/dist/checkout/svg/mail-open.svg +1 -1
  959. package/dist/checkout/svg/mail-outline.svg +1 -1
  960. package/dist/checkout/svg/mail-sharp.svg +1 -1
  961. package/dist/checkout/svg/mail-unread-outline.svg +1 -1
  962. package/dist/checkout/svg/mail-unread-sharp.svg +1 -1
  963. package/dist/checkout/svg/mail-unread.svg +1 -1
  964. package/dist/checkout/svg/mail.svg +1 -1
  965. package/dist/checkout/svg/male-female-outline.svg +1 -1
  966. package/dist/checkout/svg/male-female-sharp.svg +1 -1
  967. package/dist/checkout/svg/male-female.svg +1 -1
  968. package/dist/checkout/svg/male-outline.svg +1 -1
  969. package/dist/checkout/svg/male-sharp.svg +1 -1
  970. package/dist/checkout/svg/male.svg +1 -1
  971. package/dist/checkout/svg/man-outline.svg +1 -1
  972. package/dist/checkout/svg/man-sharp.svg +1 -1
  973. package/dist/checkout/svg/man.svg +1 -1
  974. package/dist/checkout/svg/map-outline.svg +1 -1
  975. package/dist/checkout/svg/map-sharp.svg +1 -1
  976. package/dist/checkout/svg/map.svg +1 -1
  977. package/dist/checkout/svg/medal-outline.svg +1 -1
  978. package/dist/checkout/svg/medal-sharp.svg +1 -1
  979. package/dist/checkout/svg/medal.svg +1 -1
  980. package/dist/checkout/svg/medical-outline.svg +1 -1
  981. package/dist/checkout/svg/medical-sharp.svg +1 -1
  982. package/dist/checkout/svg/medical.svg +1 -1
  983. package/dist/checkout/svg/medkit-outline.svg +1 -1
  984. package/dist/checkout/svg/medkit-sharp.svg +1 -1
  985. package/dist/checkout/svg/medkit.svg +1 -1
  986. package/dist/checkout/svg/megaphone-outline.svg +1 -1
  987. package/dist/checkout/svg/megaphone-sharp.svg +1 -1
  988. package/dist/checkout/svg/megaphone.svg +1 -1
  989. package/dist/checkout/svg/menu-outline.svg +1 -1
  990. package/dist/checkout/svg/menu-sharp.svg +1 -1
  991. package/dist/checkout/svg/menu.svg +1 -1
  992. package/dist/checkout/svg/mic-circle-outline.svg +1 -1
  993. package/dist/checkout/svg/mic-circle-sharp.svg +1 -1
  994. package/dist/checkout/svg/mic-circle.svg +1 -1
  995. package/dist/checkout/svg/mic-off-circle-outline.svg +1 -1
  996. package/dist/checkout/svg/mic-off-circle-sharp.svg +1 -1
  997. package/dist/checkout/svg/mic-off-circle.svg +1 -1
  998. package/dist/checkout/svg/mic-off-outline.svg +1 -1
  999. package/dist/checkout/svg/mic-off-sharp.svg +1 -1
  1000. package/dist/checkout/svg/mic-off.svg +1 -1
  1001. package/dist/checkout/svg/mic-outline.svg +1 -1
  1002. package/dist/checkout/svg/mic-sharp.svg +1 -1
  1003. package/dist/checkout/svg/mic.svg +1 -1
  1004. package/dist/checkout/svg/moon-outline.svg +1 -1
  1005. package/dist/checkout/svg/moon-sharp.svg +1 -1
  1006. package/dist/checkout/svg/moon.svg +1 -1
  1007. package/dist/checkout/svg/move-outline.svg +1 -1
  1008. package/dist/checkout/svg/move-sharp.svg +1 -1
  1009. package/dist/checkout/svg/move.svg +1 -1
  1010. package/dist/checkout/svg/musical-note-outline.svg +1 -1
  1011. package/dist/checkout/svg/musical-note-sharp.svg +1 -1
  1012. package/dist/checkout/svg/musical-note.svg +1 -1
  1013. package/dist/checkout/svg/musical-notes-outline.svg +1 -1
  1014. package/dist/checkout/svg/musical-notes-sharp.svg +1 -1
  1015. package/dist/checkout/svg/musical-notes.svg +1 -1
  1016. package/dist/checkout/svg/navigate-circle-outline.svg +1 -1
  1017. package/dist/checkout/svg/navigate-circle-sharp.svg +1 -1
  1018. package/dist/checkout/svg/navigate-circle.svg +1 -1
  1019. package/dist/checkout/svg/navigate-outline.svg +1 -1
  1020. package/dist/checkout/svg/navigate-sharp.svg +1 -1
  1021. package/dist/checkout/svg/navigate.svg +1 -1
  1022. package/dist/checkout/svg/newspaper-outline.svg +1 -1
  1023. package/dist/checkout/svg/newspaper-sharp.svg +1 -1
  1024. package/dist/checkout/svg/newspaper.svg +1 -1
  1025. package/dist/checkout/svg/notifications-circle-outline.svg +1 -1
  1026. package/dist/checkout/svg/notifications-circle-sharp.svg +1 -1
  1027. package/dist/checkout/svg/notifications-circle.svg +1 -1
  1028. package/dist/checkout/svg/notifications-off-circle-outline.svg +1 -1
  1029. package/dist/checkout/svg/notifications-off-circle-sharp.svg +1 -1
  1030. package/dist/checkout/svg/notifications-off-circle.svg +1 -1
  1031. package/dist/checkout/svg/notifications-off-outline.svg +1 -1
  1032. package/dist/checkout/svg/notifications-off-sharp.svg +1 -1
  1033. package/dist/checkout/svg/notifications-off.svg +1 -1
  1034. package/dist/checkout/svg/notifications-outline.svg +1 -1
  1035. package/dist/checkout/svg/notifications-sharp.svg +1 -1
  1036. package/dist/checkout/svg/notifications.svg +1 -1
  1037. package/dist/checkout/svg/nuclear-outline.svg +1 -1
  1038. package/dist/checkout/svg/nuclear-sharp.svg +1 -1
  1039. package/dist/checkout/svg/nuclear.svg +1 -1
  1040. package/dist/checkout/svg/nutrition-outline.svg +1 -1
  1041. package/dist/checkout/svg/nutrition-sharp.svg +1 -1
  1042. package/dist/checkout/svg/nutrition.svg +1 -1
  1043. package/dist/checkout/svg/open-outline.svg +1 -1
  1044. package/dist/checkout/svg/open-sharp.svg +1 -1
  1045. package/dist/checkout/svg/open.svg +1 -1
  1046. package/dist/checkout/svg/options-outline.svg +1 -1
  1047. package/dist/checkout/svg/options-sharp.svg +1 -1
  1048. package/dist/checkout/svg/options.svg +1 -1
  1049. package/dist/checkout/svg/paper-plane-outline.svg +1 -1
  1050. package/dist/checkout/svg/paper-plane-sharp.svg +1 -1
  1051. package/dist/checkout/svg/paper-plane.svg +1 -1
  1052. package/dist/checkout/svg/partly-sunny-outline.svg +1 -1
  1053. package/dist/checkout/svg/partly-sunny-sharp.svg +1 -1
  1054. package/dist/checkout/svg/partly-sunny.svg +1 -1
  1055. package/dist/checkout/svg/pause-circle-outline.svg +1 -1
  1056. package/dist/checkout/svg/pause-circle-sharp.svg +1 -1
  1057. package/dist/checkout/svg/pause-circle.svg +1 -1
  1058. package/dist/checkout/svg/pause-outline.svg +1 -1
  1059. package/dist/checkout/svg/pause-sharp.svg +1 -1
  1060. package/dist/checkout/svg/pause.svg +1 -1
  1061. package/dist/checkout/svg/paw-outline.svg +1 -1
  1062. package/dist/checkout/svg/paw-sharp.svg +1 -1
  1063. package/dist/checkout/svg/paw.svg +1 -1
  1064. package/dist/checkout/svg/pencil-outline.svg +1 -1
  1065. package/dist/checkout/svg/pencil-sharp.svg +1 -1
  1066. package/dist/checkout/svg/pencil.svg +1 -1
  1067. package/dist/checkout/svg/people-circle-outline.svg +1 -1
  1068. package/dist/checkout/svg/people-circle-sharp.svg +1 -1
  1069. package/dist/checkout/svg/people-circle.svg +1 -1
  1070. package/dist/checkout/svg/people-outline.svg +1 -1
  1071. package/dist/checkout/svg/people-sharp.svg +1 -1
  1072. package/dist/checkout/svg/people.svg +1 -1
  1073. package/dist/checkout/svg/person-add-outline.svg +1 -1
  1074. package/dist/checkout/svg/person-add-sharp.svg +1 -1
  1075. package/dist/checkout/svg/person-add.svg +1 -1
  1076. package/dist/checkout/svg/person-circle-outline.svg +1 -1
  1077. package/dist/checkout/svg/person-circle-sharp.svg +1 -1
  1078. package/dist/checkout/svg/person-circle.svg +1 -1
  1079. package/dist/checkout/svg/person-outline.svg +1 -1
  1080. package/dist/checkout/svg/person-remove-outline.svg +1 -1
  1081. package/dist/checkout/svg/person-remove-sharp.svg +1 -1
  1082. package/dist/checkout/svg/person-remove.svg +1 -1
  1083. package/dist/checkout/svg/person-sharp.svg +1 -1
  1084. package/dist/checkout/svg/person.svg +1 -1
  1085. package/dist/checkout/svg/phone-landscape-outline.svg +1 -1
  1086. package/dist/checkout/svg/phone-landscape-sharp.svg +1 -1
  1087. package/dist/checkout/svg/phone-landscape.svg +1 -1
  1088. package/dist/checkout/svg/phone-portrait-outline.svg +1 -1
  1089. package/dist/checkout/svg/phone-portrait-sharp.svg +1 -1
  1090. package/dist/checkout/svg/phone-portrait.svg +1 -1
  1091. package/dist/checkout/svg/pie-chart-outline.svg +1 -1
  1092. package/dist/checkout/svg/pie-chart-sharp.svg +1 -1
  1093. package/dist/checkout/svg/pie-chart.svg +1 -1
  1094. package/dist/checkout/svg/pin-outline.svg +1 -1
  1095. package/dist/checkout/svg/pin-sharp.svg +1 -1
  1096. package/dist/checkout/svg/pin.svg +1 -1
  1097. package/dist/checkout/svg/pint-outline.svg +1 -1
  1098. package/dist/checkout/svg/pint-sharp.svg +1 -1
  1099. package/dist/checkout/svg/pint.svg +1 -1
  1100. package/dist/checkout/svg/pizza-outline.svg +1 -1
  1101. package/dist/checkout/svg/pizza-sharp.svg +1 -1
  1102. package/dist/checkout/svg/pizza.svg +1 -1
  1103. package/dist/checkout/svg/planet-outline.svg +1 -1
  1104. package/dist/checkout/svg/planet-sharp.svg +1 -1
  1105. package/dist/checkout/svg/planet.svg +1 -1
  1106. package/dist/checkout/svg/play-back-circle-outline.svg +1 -1
  1107. package/dist/checkout/svg/play-back-circle-sharp.svg +1 -1
  1108. package/dist/checkout/svg/play-back-circle.svg +1 -1
  1109. package/dist/checkout/svg/play-back-outline.svg +1 -1
  1110. package/dist/checkout/svg/play-back-sharp.svg +1 -1
  1111. package/dist/checkout/svg/play-back.svg +1 -1
  1112. package/dist/checkout/svg/play-circle-outline.svg +1 -1
  1113. package/dist/checkout/svg/play-circle-sharp.svg +1 -1
  1114. package/dist/checkout/svg/play-circle.svg +1 -1
  1115. package/dist/checkout/svg/play-forward-circle-outline.svg +1 -1
  1116. package/dist/checkout/svg/play-forward-circle-sharp.svg +1 -1
  1117. package/dist/checkout/svg/play-forward-circle.svg +1 -1
  1118. package/dist/checkout/svg/play-forward-outline.svg +1 -1
  1119. package/dist/checkout/svg/play-forward-sharp.svg +1 -1
  1120. package/dist/checkout/svg/play-forward.svg +1 -1
  1121. package/dist/checkout/svg/play-outline.svg +1 -1
  1122. package/dist/checkout/svg/play-sharp.svg +1 -1
  1123. package/dist/checkout/svg/play-skip-back-circle-outline.svg +1 -1
  1124. package/dist/checkout/svg/play-skip-back-circle-sharp.svg +1 -1
  1125. package/dist/checkout/svg/play-skip-back-circle.svg +1 -1
  1126. package/dist/checkout/svg/play-skip-back-outline.svg +1 -1
  1127. package/dist/checkout/svg/play-skip-back-sharp.svg +1 -1
  1128. package/dist/checkout/svg/play-skip-back.svg +1 -1
  1129. package/dist/checkout/svg/play-skip-forward-circle-outline.svg +1 -1
  1130. package/dist/checkout/svg/play-skip-forward-circle-sharp.svg +1 -1
  1131. package/dist/checkout/svg/play-skip-forward-circle.svg +1 -1
  1132. package/dist/checkout/svg/play-skip-forward-outline.svg +1 -1
  1133. package/dist/checkout/svg/play-skip-forward-sharp.svg +1 -1
  1134. package/dist/checkout/svg/play-skip-forward.svg +1 -1
  1135. package/dist/checkout/svg/play.svg +1 -1
  1136. package/dist/checkout/svg/podium-outline.svg +1 -1
  1137. package/dist/checkout/svg/podium-sharp.svg +1 -1
  1138. package/dist/checkout/svg/podium.svg +1 -1
  1139. package/dist/checkout/svg/power-outline.svg +1 -1
  1140. package/dist/checkout/svg/power-sharp.svg +1 -1
  1141. package/dist/checkout/svg/power.svg +1 -1
  1142. package/dist/checkout/svg/pricetag-outline.svg +1 -1
  1143. package/dist/checkout/svg/pricetag-sharp.svg +1 -1
  1144. package/dist/checkout/svg/pricetag.svg +1 -1
  1145. package/dist/checkout/svg/pricetags-outline.svg +1 -1
  1146. package/dist/checkout/svg/pricetags-sharp.svg +1 -1
  1147. package/dist/checkout/svg/pricetags.svg +1 -1
  1148. package/dist/checkout/svg/print-outline.svg +1 -1
  1149. package/dist/checkout/svg/print-sharp.svg +1 -1
  1150. package/dist/checkout/svg/print.svg +1 -1
  1151. package/dist/checkout/svg/prism-outline.svg +1 -1
  1152. package/dist/checkout/svg/prism-sharp.svg +1 -1
  1153. package/dist/checkout/svg/prism.svg +1 -1
  1154. package/dist/checkout/svg/pulse-outline.svg +1 -1
  1155. package/dist/checkout/svg/pulse-sharp.svg +1 -1
  1156. package/dist/checkout/svg/pulse.svg +1 -1
  1157. package/dist/checkout/svg/push-outline.svg +1 -1
  1158. package/dist/checkout/svg/push-sharp.svg +1 -1
  1159. package/dist/checkout/svg/push.svg +1 -1
  1160. package/dist/checkout/svg/qr-code-outline.svg +1 -1
  1161. package/dist/checkout/svg/qr-code-sharp.svg +1 -1
  1162. package/dist/checkout/svg/qr-code.svg +1 -1
  1163. package/dist/checkout/svg/radio-button-off-outline.svg +1 -1
  1164. package/dist/checkout/svg/radio-button-off-sharp.svg +1 -1
  1165. package/dist/checkout/svg/radio-button-off.svg +1 -1
  1166. package/dist/checkout/svg/radio-button-on-outline.svg +1 -1
  1167. package/dist/checkout/svg/radio-button-on-sharp.svg +1 -1
  1168. package/dist/checkout/svg/radio-button-on.svg +1 -1
  1169. package/dist/checkout/svg/radio-outline.svg +1 -1
  1170. package/dist/checkout/svg/radio-sharp.svg +1 -1
  1171. package/dist/checkout/svg/radio.svg +1 -1
  1172. package/dist/checkout/svg/rainy-outline.svg +1 -1
  1173. package/dist/checkout/svg/rainy-sharp.svg +1 -1
  1174. package/dist/checkout/svg/rainy.svg +1 -1
  1175. package/dist/checkout/svg/reader-outline.svg +1 -1
  1176. package/dist/checkout/svg/reader-sharp.svg +1 -1
  1177. package/dist/checkout/svg/reader.svg +1 -1
  1178. package/dist/checkout/svg/receipt-outline.svg +1 -1
  1179. package/dist/checkout/svg/receipt-sharp.svg +1 -1
  1180. package/dist/checkout/svg/receipt.svg +1 -1
  1181. package/dist/checkout/svg/recording-outline.svg +1 -1
  1182. package/dist/checkout/svg/recording-sharp.svg +1 -1
  1183. package/dist/checkout/svg/recording.svg +1 -1
  1184. package/dist/checkout/svg/refresh-circle-outline.svg +1 -1
  1185. package/dist/checkout/svg/refresh-circle-sharp.svg +1 -1
  1186. package/dist/checkout/svg/refresh-circle.svg +1 -1
  1187. package/dist/checkout/svg/refresh-outline.svg +1 -1
  1188. package/dist/checkout/svg/refresh-sharp.svg +1 -1
  1189. package/dist/checkout/svg/refresh.svg +1 -1
  1190. package/dist/checkout/svg/reload-circle-outline.svg +1 -1
  1191. package/dist/checkout/svg/reload-circle-sharp.svg +1 -1
  1192. package/dist/checkout/svg/reload-circle.svg +1 -1
  1193. package/dist/checkout/svg/reload-outline.svg +1 -1
  1194. package/dist/checkout/svg/reload-sharp.svg +1 -1
  1195. package/dist/checkout/svg/reload.svg +1 -1
  1196. package/dist/checkout/svg/remove-circle-outline.svg +1 -1
  1197. package/dist/checkout/svg/remove-circle-sharp.svg +1 -1
  1198. package/dist/checkout/svg/remove-circle.svg +1 -1
  1199. package/dist/checkout/svg/remove-outline.svg +1 -1
  1200. package/dist/checkout/svg/remove-sharp.svg +1 -1
  1201. package/dist/checkout/svg/remove.svg +1 -1
  1202. package/dist/checkout/svg/reorder-four-outline.svg +1 -1
  1203. package/dist/checkout/svg/reorder-four-sharp.svg +1 -1
  1204. package/dist/checkout/svg/reorder-four.svg +1 -1
  1205. package/dist/checkout/svg/reorder-three-outline.svg +1 -1
  1206. package/dist/checkout/svg/reorder-three-sharp.svg +1 -1
  1207. package/dist/checkout/svg/reorder-three.svg +1 -1
  1208. package/dist/checkout/svg/reorder-two-outline.svg +1 -1
  1209. package/dist/checkout/svg/reorder-two-sharp.svg +1 -1
  1210. package/dist/checkout/svg/reorder-two.svg +1 -1
  1211. package/dist/checkout/svg/repeat-outline.svg +1 -1
  1212. package/dist/checkout/svg/repeat-sharp.svg +1 -1
  1213. package/dist/checkout/svg/repeat.svg +1 -1
  1214. package/dist/checkout/svg/resize-outline.svg +1 -1
  1215. package/dist/checkout/svg/resize-sharp.svg +1 -1
  1216. package/dist/checkout/svg/resize.svg +1 -1
  1217. package/dist/checkout/svg/restaurant-outline.svg +1 -1
  1218. package/dist/checkout/svg/restaurant-sharp.svg +1 -1
  1219. package/dist/checkout/svg/restaurant.svg +1 -1
  1220. package/dist/checkout/svg/return-down-back-outline.svg +1 -1
  1221. package/dist/checkout/svg/return-down-back-sharp.svg +1 -1
  1222. package/dist/checkout/svg/return-down-back.svg +1 -1
  1223. package/dist/checkout/svg/return-down-forward-outline.svg +1 -1
  1224. package/dist/checkout/svg/return-down-forward-sharp.svg +1 -1
  1225. package/dist/checkout/svg/return-down-forward.svg +1 -1
  1226. package/dist/checkout/svg/return-up-back-outline.svg +1 -1
  1227. package/dist/checkout/svg/return-up-back-sharp.svg +1 -1
  1228. package/dist/checkout/svg/return-up-back.svg +1 -1
  1229. package/dist/checkout/svg/return-up-forward-outline.svg +1 -1
  1230. package/dist/checkout/svg/return-up-forward-sharp.svg +1 -1
  1231. package/dist/checkout/svg/return-up-forward.svg +1 -1
  1232. package/dist/checkout/svg/ribbon-outline.svg +1 -1
  1233. package/dist/checkout/svg/ribbon-sharp.svg +1 -1
  1234. package/dist/checkout/svg/ribbon.svg +1 -1
  1235. package/dist/checkout/svg/rocket-outline.svg +1 -1
  1236. package/dist/checkout/svg/rocket-sharp.svg +1 -1
  1237. package/dist/checkout/svg/rocket.svg +1 -1
  1238. package/dist/checkout/svg/rose-outline.svg +1 -1
  1239. package/dist/checkout/svg/rose-sharp.svg +1 -1
  1240. package/dist/checkout/svg/rose.svg +1 -1
  1241. package/dist/checkout/svg/sad-outline.svg +1 -1
  1242. package/dist/checkout/svg/sad-sharp.svg +1 -1
  1243. package/dist/checkout/svg/sad.svg +1 -1
  1244. package/dist/checkout/svg/save-outline.svg +1 -1
  1245. package/dist/checkout/svg/save-sharp.svg +1 -1
  1246. package/dist/checkout/svg/save.svg +1 -1
  1247. package/dist/checkout/svg/scale-outline.svg +1 -1
  1248. package/dist/checkout/svg/scale-sharp.svg +1 -1
  1249. package/dist/checkout/svg/scale.svg +1 -1
  1250. package/dist/checkout/svg/scan-circle-outline.svg +1 -1
  1251. package/dist/checkout/svg/scan-circle-sharp.svg +1 -1
  1252. package/dist/checkout/svg/scan-circle.svg +1 -1
  1253. package/dist/checkout/svg/scan-outline.svg +1 -1
  1254. package/dist/checkout/svg/scan-sharp.svg +1 -1
  1255. package/dist/checkout/svg/scan.svg +1 -1
  1256. package/dist/checkout/svg/school-outline.svg +1 -1
  1257. package/dist/checkout/svg/school-sharp.svg +1 -1
  1258. package/dist/checkout/svg/school.svg +1 -1
  1259. package/dist/checkout/svg/search-circle-outline.svg +1 -1
  1260. package/dist/checkout/svg/search-circle-sharp.svg +1 -1
  1261. package/dist/checkout/svg/search-circle.svg +1 -1
  1262. package/dist/checkout/svg/search-outline.svg +1 -1
  1263. package/dist/checkout/svg/search-sharp.svg +1 -1
  1264. package/dist/checkout/svg/search.svg +1 -1
  1265. package/dist/checkout/svg/send-outline.svg +1 -1
  1266. package/dist/checkout/svg/send-sharp.svg +1 -1
  1267. package/dist/checkout/svg/send.svg +1 -1
  1268. package/dist/checkout/svg/server-outline.svg +1 -1
  1269. package/dist/checkout/svg/server-sharp.svg +1 -1
  1270. package/dist/checkout/svg/server.svg +1 -1
  1271. package/dist/checkout/svg/settings-outline.svg +1 -1
  1272. package/dist/checkout/svg/settings-sharp.svg +1 -1
  1273. package/dist/checkout/svg/settings.svg +1 -1
  1274. package/dist/checkout/svg/shapes-outline.svg +1 -1
  1275. package/dist/checkout/svg/shapes-sharp.svg +1 -1
  1276. package/dist/checkout/svg/shapes.svg +1 -1
  1277. package/dist/checkout/svg/share-outline.svg +1 -1
  1278. package/dist/checkout/svg/share-sharp.svg +1 -1
  1279. package/dist/checkout/svg/share-social-outline.svg +1 -1
  1280. package/dist/checkout/svg/share-social-sharp.svg +1 -1
  1281. package/dist/checkout/svg/share-social.svg +1 -1
  1282. package/dist/checkout/svg/share.svg +1 -1
  1283. package/dist/checkout/svg/shield-checkmark-outline.svg +1 -1
  1284. package/dist/checkout/svg/shield-checkmark-sharp.svg +1 -1
  1285. package/dist/checkout/svg/shield-checkmark.svg +1 -1
  1286. package/dist/checkout/svg/shield-half-outline.svg +1 -1
  1287. package/dist/checkout/svg/shield-half-sharp.svg +1 -1
  1288. package/dist/checkout/svg/shield-half.svg +1 -1
  1289. package/dist/checkout/svg/shield-outline.svg +1 -1
  1290. package/dist/checkout/svg/shield-sharp.svg +1 -1
  1291. package/dist/checkout/svg/shield.svg +1 -1
  1292. package/dist/checkout/svg/shirt-outline.svg +1 -1
  1293. package/dist/checkout/svg/shirt-sharp.svg +1 -1
  1294. package/dist/checkout/svg/shirt.svg +1 -1
  1295. package/dist/checkout/svg/shuffle-outline.svg +1 -1
  1296. package/dist/checkout/svg/shuffle-sharp.svg +1 -1
  1297. package/dist/checkout/svg/shuffle.svg +1 -1
  1298. package/dist/checkout/svg/skull-outline.svg +1 -1
  1299. package/dist/checkout/svg/skull-sharp.svg +1 -1
  1300. package/dist/checkout/svg/skull.svg +1 -1
  1301. package/dist/checkout/svg/snow-outline.svg +1 -1
  1302. package/dist/checkout/svg/snow-sharp.svg +1 -1
  1303. package/dist/checkout/svg/snow.svg +1 -1
  1304. package/dist/checkout/svg/sparkles-outline.svg +1 -1
  1305. package/dist/checkout/svg/sparkles-sharp.svg +1 -1
  1306. package/dist/checkout/svg/sparkles.svg +1 -1
  1307. package/dist/checkout/svg/speedometer-outline.svg +1 -1
  1308. package/dist/checkout/svg/speedometer-sharp.svg +1 -1
  1309. package/dist/checkout/svg/speedometer.svg +1 -1
  1310. package/dist/checkout/svg/square-outline.svg +1 -1
  1311. package/dist/checkout/svg/square-sharp.svg +1 -1
  1312. package/dist/checkout/svg/square.svg +1 -1
  1313. package/dist/checkout/svg/star-half-outline.svg +1 -1
  1314. package/dist/checkout/svg/star-half-sharp.svg +1 -1
  1315. package/dist/checkout/svg/star-half.svg +1 -1
  1316. package/dist/checkout/svg/star-outline.svg +1 -1
  1317. package/dist/checkout/svg/star-sharp.svg +1 -1
  1318. package/dist/checkout/svg/star.svg +1 -1
  1319. package/dist/checkout/svg/stats-chart-outline.svg +1 -1
  1320. package/dist/checkout/svg/stats-chart-sharp.svg +1 -1
  1321. package/dist/checkout/svg/stats-chart.svg +1 -1
  1322. package/dist/checkout/svg/stop-circle-outline.svg +1 -1
  1323. package/dist/checkout/svg/stop-circle-sharp.svg +1 -1
  1324. package/dist/checkout/svg/stop-circle.svg +1 -1
  1325. package/dist/checkout/svg/stop-outline.svg +1 -1
  1326. package/dist/checkout/svg/stop-sharp.svg +1 -1
  1327. package/dist/checkout/svg/stop.svg +1 -1
  1328. package/dist/checkout/svg/stopwatch-outline.svg +1 -1
  1329. package/dist/checkout/svg/stopwatch-sharp.svg +1 -1
  1330. package/dist/checkout/svg/stopwatch.svg +1 -1
  1331. package/dist/checkout/svg/storefront-outline.svg +1 -1
  1332. package/dist/checkout/svg/storefront-sharp.svg +1 -1
  1333. package/dist/checkout/svg/storefront.svg +1 -1
  1334. package/dist/checkout/svg/subway-outline.svg +1 -1
  1335. package/dist/checkout/svg/subway-sharp.svg +1 -1
  1336. package/dist/checkout/svg/subway.svg +1 -1
  1337. package/dist/checkout/svg/sunny-outline.svg +1 -1
  1338. package/dist/checkout/svg/sunny-sharp.svg +1 -1
  1339. package/dist/checkout/svg/sunny.svg +1 -1
  1340. package/dist/checkout/svg/swap-horizontal-outline.svg +1 -1
  1341. package/dist/checkout/svg/swap-horizontal-sharp.svg +1 -1
  1342. package/dist/checkout/svg/swap-horizontal.svg +1 -1
  1343. package/dist/checkout/svg/swap-vertical-outline.svg +1 -1
  1344. package/dist/checkout/svg/swap-vertical-sharp.svg +1 -1
  1345. package/dist/checkout/svg/swap-vertical.svg +1 -1
  1346. package/dist/checkout/svg/sync-circle-outline.svg +1 -1
  1347. package/dist/checkout/svg/sync-circle-sharp.svg +1 -1
  1348. package/dist/checkout/svg/sync-circle.svg +1 -1
  1349. package/dist/checkout/svg/sync-outline.svg +1 -1
  1350. package/dist/checkout/svg/sync-sharp.svg +1 -1
  1351. package/dist/checkout/svg/sync.svg +1 -1
  1352. package/dist/checkout/svg/tablet-landscape-outline.svg +1 -1
  1353. package/dist/checkout/svg/tablet-landscape-sharp.svg +1 -1
  1354. package/dist/checkout/svg/tablet-landscape.svg +1 -1
  1355. package/dist/checkout/svg/tablet-portrait-outline.svg +1 -1
  1356. package/dist/checkout/svg/tablet-portrait-sharp.svg +1 -1
  1357. package/dist/checkout/svg/tablet-portrait.svg +1 -1
  1358. package/dist/checkout/svg/telescope-outline.svg +1 -1
  1359. package/dist/checkout/svg/telescope-sharp.svg +1 -1
  1360. package/dist/checkout/svg/telescope.svg +1 -1
  1361. package/dist/checkout/svg/tennisball-outline.svg +1 -1
  1362. package/dist/checkout/svg/tennisball-sharp.svg +1 -1
  1363. package/dist/checkout/svg/tennisball.svg +1 -1
  1364. package/dist/checkout/svg/terminal-outline.svg +1 -1
  1365. package/dist/checkout/svg/terminal-sharp.svg +1 -1
  1366. package/dist/checkout/svg/terminal.svg +1 -1
  1367. package/dist/checkout/svg/text-outline.svg +1 -1
  1368. package/dist/checkout/svg/text-sharp.svg +1 -1
  1369. package/dist/checkout/svg/text.svg +1 -1
  1370. package/dist/checkout/svg/thermometer-outline.svg +1 -1
  1371. package/dist/checkout/svg/thermometer-sharp.svg +1 -1
  1372. package/dist/checkout/svg/thermometer.svg +1 -1
  1373. package/dist/checkout/svg/thumbs-down-outline.svg +1 -1
  1374. package/dist/checkout/svg/thumbs-down-sharp.svg +1 -1
  1375. package/dist/checkout/svg/thumbs-down.svg +1 -1
  1376. package/dist/checkout/svg/thumbs-up-outline.svg +1 -1
  1377. package/dist/checkout/svg/thumbs-up-sharp.svg +1 -1
  1378. package/dist/checkout/svg/thumbs-up.svg +1 -1
  1379. package/dist/checkout/svg/thunderstorm-outline.svg +1 -1
  1380. package/dist/checkout/svg/thunderstorm-sharp.svg +1 -1
  1381. package/dist/checkout/svg/thunderstorm.svg +1 -1
  1382. package/dist/checkout/svg/ticket-outline.svg +1 -1
  1383. package/dist/checkout/svg/ticket-sharp.svg +1 -1
  1384. package/dist/checkout/svg/ticket.svg +1 -1
  1385. package/dist/checkout/svg/time-outline.svg +1 -1
  1386. package/dist/checkout/svg/time-sharp.svg +1 -1
  1387. package/dist/checkout/svg/time.svg +1 -1
  1388. package/dist/checkout/svg/timer-outline.svg +1 -1
  1389. package/dist/checkout/svg/timer-sharp.svg +1 -1
  1390. package/dist/checkout/svg/timer.svg +1 -1
  1391. package/dist/checkout/svg/today-outline.svg +1 -1
  1392. package/dist/checkout/svg/today-sharp.svg +1 -1
  1393. package/dist/checkout/svg/today.svg +1 -1
  1394. package/dist/checkout/svg/toggle-outline.svg +1 -1
  1395. package/dist/checkout/svg/toggle-sharp.svg +1 -1
  1396. package/dist/checkout/svg/toggle.svg +1 -1
  1397. package/dist/checkout/svg/trail-sign-outline.svg +1 -1
  1398. package/dist/checkout/svg/trail-sign-sharp.svg +1 -1
  1399. package/dist/checkout/svg/trail-sign.svg +1 -1
  1400. package/dist/checkout/svg/train-outline.svg +1 -1
  1401. package/dist/checkout/svg/train-sharp.svg +1 -1
  1402. package/dist/checkout/svg/train.svg +1 -1
  1403. package/dist/checkout/svg/transgender-outline.svg +1 -1
  1404. package/dist/checkout/svg/transgender-sharp.svg +1 -1
  1405. package/dist/checkout/svg/transgender.svg +1 -1
  1406. package/dist/checkout/svg/trash-bin-outline.svg +1 -1
  1407. package/dist/checkout/svg/trash-bin-sharp.svg +1 -1
  1408. package/dist/checkout/svg/trash-bin.svg +1 -1
  1409. package/dist/checkout/svg/trash-outline.svg +1 -1
  1410. package/dist/checkout/svg/trash-sharp.svg +1 -1
  1411. package/dist/checkout/svg/trash.svg +1 -1
  1412. package/dist/checkout/svg/trending-down-outline.svg +1 -1
  1413. package/dist/checkout/svg/trending-down-sharp.svg +1 -1
  1414. package/dist/checkout/svg/trending-down.svg +1 -1
  1415. package/dist/checkout/svg/trending-up-outline.svg +1 -1
  1416. package/dist/checkout/svg/trending-up-sharp.svg +1 -1
  1417. package/dist/checkout/svg/trending-up.svg +1 -1
  1418. package/dist/checkout/svg/triangle-outline.svg +1 -1
  1419. package/dist/checkout/svg/triangle-sharp.svg +1 -1
  1420. package/dist/checkout/svg/triangle.svg +1 -1
  1421. package/dist/checkout/svg/trophy-outline.svg +1 -1
  1422. package/dist/checkout/svg/trophy-sharp.svg +1 -1
  1423. package/dist/checkout/svg/trophy.svg +1 -1
  1424. package/dist/checkout/svg/tv-outline.svg +1 -1
  1425. package/dist/checkout/svg/tv-sharp.svg +1 -1
  1426. package/dist/checkout/svg/tv.svg +1 -1
  1427. package/dist/checkout/svg/umbrella-outline.svg +1 -1
  1428. package/dist/checkout/svg/umbrella-sharp.svg +1 -1
  1429. package/dist/checkout/svg/umbrella.svg +1 -1
  1430. package/dist/checkout/svg/unlink-outline.svg +1 -1
  1431. package/dist/checkout/svg/unlink-sharp.svg +1 -1
  1432. package/dist/checkout/svg/unlink.svg +1 -1
  1433. package/dist/checkout/svg/videocam-off-outline.svg +1 -1
  1434. package/dist/checkout/svg/videocam-off-sharp.svg +1 -1
  1435. package/dist/checkout/svg/videocam-off.svg +1 -1
  1436. package/dist/checkout/svg/videocam-outline.svg +1 -1
  1437. package/dist/checkout/svg/videocam-sharp.svg +1 -1
  1438. package/dist/checkout/svg/videocam.svg +1 -1
  1439. package/dist/checkout/svg/volume-high-outline.svg +1 -1
  1440. package/dist/checkout/svg/volume-high-sharp.svg +1 -1
  1441. package/dist/checkout/svg/volume-high.svg +1 -1
  1442. package/dist/checkout/svg/volume-low-outline.svg +1 -1
  1443. package/dist/checkout/svg/volume-low-sharp.svg +1 -1
  1444. package/dist/checkout/svg/volume-low.svg +1 -1
  1445. package/dist/checkout/svg/volume-medium-outline.svg +1 -1
  1446. package/dist/checkout/svg/volume-medium-sharp.svg +1 -1
  1447. package/dist/checkout/svg/volume-medium.svg +1 -1
  1448. package/dist/checkout/svg/volume-mute-outline.svg +1 -1
  1449. package/dist/checkout/svg/volume-mute-sharp.svg +1 -1
  1450. package/dist/checkout/svg/volume-mute.svg +1 -1
  1451. package/dist/checkout/svg/volume-off-outline.svg +1 -1
  1452. package/dist/checkout/svg/volume-off-sharp.svg +1 -1
  1453. package/dist/checkout/svg/volume-off.svg +1 -1
  1454. package/dist/checkout/svg/walk-outline.svg +1 -1
  1455. package/dist/checkout/svg/walk-sharp.svg +1 -1
  1456. package/dist/checkout/svg/walk.svg +1 -1
  1457. package/dist/checkout/svg/wallet-outline.svg +1 -1
  1458. package/dist/checkout/svg/wallet-sharp.svg +1 -1
  1459. package/dist/checkout/svg/wallet.svg +1 -1
  1460. package/dist/checkout/svg/warning-outline.svg +1 -1
  1461. package/dist/checkout/svg/warning-sharp.svg +1 -1
  1462. package/dist/checkout/svg/warning.svg +1 -1
  1463. package/dist/checkout/svg/watch-outline.svg +1 -1
  1464. package/dist/checkout/svg/watch-sharp.svg +1 -1
  1465. package/dist/checkout/svg/watch.svg +1 -1
  1466. package/dist/checkout/svg/water-outline.svg +1 -1
  1467. package/dist/checkout/svg/water-sharp.svg +1 -1
  1468. package/dist/checkout/svg/water.svg +1 -1
  1469. package/dist/checkout/svg/wifi-outline.svg +1 -1
  1470. package/dist/checkout/svg/wifi-sharp.svg +1 -1
  1471. package/dist/checkout/svg/wifi.svg +1 -1
  1472. package/dist/checkout/svg/wine-outline.svg +1 -1
  1473. package/dist/checkout/svg/wine-sharp.svg +1 -1
  1474. package/dist/checkout/svg/wine.svg +1 -1
  1475. package/dist/checkout/svg/woman-outline.svg +1 -1
  1476. package/dist/checkout/svg/woman-sharp.svg +1 -1
  1477. package/dist/checkout/svg/woman.svg +1 -1
  1478. package/dist/cjs/_commonjsHelpers-537d719a.js +20 -0
  1479. package/dist/cjs/amwal-checkout-button_5.cjs.entry.js +1294 -2924
  1480. package/dist/cjs/amwal-installments-guide.cjs.entry.js +42 -43
  1481. package/dist/cjs/amwal-pos.cjs.entry.js +3180 -3452
  1482. package/dist/cjs/amwal-widget-modal.cjs.entry.js +162 -175
  1483. package/dist/cjs/amwal-widget.cjs.entry.js +314 -343
  1484. package/dist/cjs/animation-26241cb2.js +1065 -0
  1485. package/dist/cjs/{app-globals-B6FjPa2t.js → app-globals-42a13029.js} +1 -1
  1486. package/dist/cjs/{ar-CbT6TM-Q.js → ar-3a6829a4.js} +10 -4
  1487. package/dist/cjs/{capacitor-CqhugS19.js → capacitor-a9365f60.js} +1 -1
  1488. package/dist/cjs/checkout.cjs.js +19 -16
  1489. package/dist/cjs/{config-DMigaw94.js → config-e2a8c0c7.js} +1 -3
  1490. package/dist/cjs/{data-C9NB5QNL.js → data-19081291.js} +8 -33
  1491. package/dist/cjs/form-controller-3ffb27b1.js +66 -0
  1492. package/dist/cjs/{framework-delegate-BFev42vk.js → framework-delegate-ab2cc190.js} +1 -1
  1493. package/dist/cjs/{gesture-controller-CiprlUhH.js → gesture-controller-b1c0efac.js} +1 -2
  1494. package/dist/cjs/{haptic-DCn793nz.js → haptic-80174512.js} +55 -7
  1495. package/dist/cjs/{hardware-back-button-CMceVPAk.js → hardware-back-button-ddfefd22.js} +8 -7
  1496. package/dist/cjs/{helpers-VdS_U_Su.js → helpers-72ba682d.js} +92 -11
  1497. package/dist/cjs/i18n-18ad02d5.js +13 -0
  1498. package/dist/cjs/index-071786b4.js +38 -0
  1499. package/dist/cjs/{index-Calgykmz.js → index-0d0b84fb.js} +4 -3
  1500. package/dist/cjs/index-2602a653.js +50 -0
  1501. package/dist/cjs/index-2cd1a895.js +244 -0
  1502. package/dist/cjs/index-7522b3a9.js +2256 -0
  1503. package/dist/cjs/{index-DaUK-X4l.js → index-9b7d2c31.js} +11 -11
  1504. package/dist/cjs/{index-BQ9HVZwH.js → index-ce06e6a3.js} +3 -3
  1505. package/dist/cjs/{index-D1TvI2Ig.js → index-da554121.js} +35 -7
  1506. package/dist/cjs/{input-shims-CJrPMP1S.js → input-shims-1a8ed779.js} +7 -37
  1507. package/dist/cjs/{input.utils-D9hnMuNq.js → input.utils-67143876.js} +4 -16
  1508. package/dist/cjs/ion-accordion-group.cjs.entry.js +199 -217
  1509. package/dist/cjs/ion-accordion.cjs.entry.js +304 -402
  1510. package/dist/cjs/ion-action-sheet_3.cjs.entry.js +1006 -0
  1511. package/dist/cjs/ion-app.cjs.entry.js +95 -93
  1512. package/dist/cjs/ion-avatar.cjs.entry.js +14 -12
  1513. package/dist/cjs/ion-back-button.cjs.entry.js +78 -77
  1514. package/dist/cjs/ion-backdrop.cjs.entry.js +44 -39
  1515. package/dist/cjs/ion-badge.cjs.entry.js +19 -16
  1516. package/dist/cjs/ion-breadcrumb.cjs.entry.js +86 -88
  1517. package/dist/cjs/ion-breadcrumbs.cjs.entry.js +120 -130
  1518. package/dist/cjs/ion-buttons_3.cjs.entry.js +886 -0
  1519. package/dist/cjs/ion-card-content.cjs.entry.js +19 -17
  1520. package/dist/cjs/ion-card-header.cjs.entry.js +22 -24
  1521. package/dist/cjs/ion-card-subtitle.cjs.entry.js +20 -17
  1522. package/dist/cjs/ion-card-title.cjs.entry.js +20 -17
  1523. package/dist/cjs/ion-card.cjs.entry.js +55 -60
  1524. package/dist/cjs/ion-checkbox_7.cjs.entry.js +945 -0
  1525. package/dist/cjs/ion-chip.cjs.entry.js +24 -27
  1526. package/dist/cjs/ion-col.cjs.entry.js +110 -84
  1527. package/dist/cjs/ion-content.cjs.entry.js +413 -0
  1528. package/dist/cjs/ion-datetime-button.cjs.entry.js +330 -331
  1529. package/dist/cjs/ion-datetime.cjs.entry.js +1548 -1656
  1530. package/dist/cjs/ion-fab-button.cjs.entry.js +78 -95
  1531. package/dist/cjs/ion-fab-list.cjs.entry.js +31 -37
  1532. package/dist/cjs/ion-fab.cjs.entry.js +58 -65
  1533. package/dist/cjs/ion-footer.cjs.entry.js +94 -98
  1534. package/dist/cjs/ion-grid.cjs.entry.js +17 -18
  1535. package/dist/cjs/ion-header.cjs.entry.js +342 -0
  1536. package/dist/cjs/ion-icon.cjs.entry.js +273 -350
  1537. package/dist/cjs/ion-img.cjs.entry.js +83 -79
  1538. package/dist/cjs/ion-infinite-scroll-content.cjs.entry.js +34 -30
  1539. package/dist/cjs/ion-infinite-scroll.cjs.entry.js +174 -197
  1540. package/dist/cjs/ion-input.cjs.entry.js +457 -510
  1541. package/dist/cjs/ion-item-divider.cjs.entry.js +23 -27
  1542. package/dist/cjs/ion-item-group.cjs.entry.js +20 -18
  1543. package/dist/cjs/ion-item-option.cjs.entry.js +45 -47
  1544. package/dist/cjs/ion-item-options.cjs.entry.js +38 -40
  1545. package/dist/cjs/ion-item-sliding.cjs.entry.js +391 -394
  1546. package/dist/cjs/ion-loading.cjs.entry.js +162 -185
  1547. package/dist/cjs/ion-menu-button.cjs.entry.js +60 -64
  1548. package/dist/cjs/ion-menu-toggle.cjs.entry.js +36 -38
  1549. package/dist/cjs/ion-menu.cjs.entry.js +606 -666
  1550. package/dist/cjs/ion-modal.cjs.entry.js +1731 -0
  1551. package/dist/cjs/ion-nav-link.cjs.entry.js +17 -15
  1552. package/dist/cjs/ion-nav.cjs.entry.js +823 -826
  1553. package/dist/cjs/ion-note.cjs.entry.js +19 -16
  1554. package/dist/cjs/ion-picker-column.cjs.entry.js +364 -0
  1555. package/dist/cjs/ion-picker.cjs.entry.js +277 -0
  1556. package/dist/cjs/ion-popover.cjs.entry.js +325 -460
  1557. package/dist/cjs/ion-progress-bar.cjs.entry.js +44 -61
  1558. package/dist/cjs/ion-range.cjs.entry.js +656 -726
  1559. package/dist/cjs/ion-refresher-content.cjs.entry.js +53 -47
  1560. package/dist/cjs/ion-refresher.cjs.entry.js +586 -679
  1561. package/dist/cjs/ion-reorder-group.cjs.entry.js +252 -269
  1562. package/dist/cjs/ion-reorder.cjs.entry.js +26 -24
  1563. package/dist/cjs/ion-route-redirect.cjs.entry.js +19 -19
  1564. package/dist/cjs/ion-route.cjs.entry.js +37 -43
  1565. package/dist/cjs/ion-router-link.cjs.entry.js +31 -28
  1566. package/dist/cjs/ion-router-outlet.cjs.entry.js +177 -180
  1567. package/dist/cjs/ion-router.cjs.entry.js +271 -288
  1568. package/dist/cjs/ion-row.cjs.entry.js +12 -10
  1569. package/dist/cjs/ion-searchbar.cjs.entry.js +388 -445
  1570. package/dist/cjs/ion-segment-button.cjs.entry.js +96 -125
  1571. package/dist/cjs/ion-segment.cjs.entry.js +411 -540
  1572. package/dist/cjs/ion-select-option.cjs.entry.js +16 -16
  1573. package/dist/cjs/ion-select.cjs.entry.js +694 -818
  1574. package/dist/cjs/ion-skeleton-text.cjs.entry.js +35 -36
  1575. package/dist/cjs/ion-spinner.cjs.entry.js +50 -48
  1576. package/dist/cjs/ion-split-pane.cjs.entry.js +120 -141
  1577. package/dist/cjs/ion-tab-bar.cjs.entry.js +66 -82
  1578. package/dist/cjs/ion-tab-button.cjs.entry.js +82 -80
  1579. package/dist/cjs/ion-tab.cjs.entry.js +50 -48
  1580. package/dist/cjs/ion-tabs.cjs.entry.js +143 -167
  1581. package/dist/cjs/ion-textarea.cjs.entry.js +404 -460
  1582. package/dist/cjs/ion-thumbnail.cjs.entry.js +12 -10
  1583. package/dist/cjs/ion-title.cjs.entry.js +54 -0
  1584. package/dist/cjs/ion-toast.cjs.entry.js +372 -408
  1585. package/dist/cjs/ion-toggle.cjs.entry.js +235 -305
  1586. package/dist/cjs/ion-toolbar.cjs.entry.js +75 -0
  1587. package/dist/cjs/ionic-global-3915f1f1.js +232 -0
  1588. package/dist/cjs/{ios.transition-EMvH3Tod.js → ios.transition-b9c0b967.js} +72 -99
  1589. package/dist/cjs/{keyboard-iyHR2ZF4.js → keyboard-5d4b83b3.js} +3 -3
  1590. package/dist/cjs/{keyboard-DuKzsHsS.js → keyboard-bc8ebbf7.js} +1 -1
  1591. package/dist/cjs/{keyboard-controller-rH21qC_2.js → keyboard-controller-c6633754.js} +2 -2
  1592. package/dist/cjs/loader.cjs.js +19 -8
  1593. package/dist/cjs/{md.transition-CwoQ7h7X.js → md.transition-830acbb7.js} +5 -5
  1594. package/dist/cjs/{menu-toggle-util-By6-554q.js → menu-toggle-util-315c26b3.js} +1 -1
  1595. package/dist/cjs/{notch-controller-DWw_ctSD.js → notch-controller-dcf09601.js} +2 -2
  1596. package/dist/cjs/{overlays-sgG7yBK9.js → overlays-08819e3f.js} +124 -187
  1597. package/dist/cjs/{refresher.utils-CMKixJwj.js → refresher.utils-e41509f7.js} +3 -3
  1598. package/dist/cjs/{status-tap-CdatiX6b.js → status-tap-ec021cb4.js} +4 -3
  1599. package/dist/cjs/{swipe-back-D3MYxlFO.js → swipe-back-3d3a5129.js} +4 -5
  1600. package/dist/collection/collection-manifest.json +10 -16
  1601. package/dist/collection/components/amwal-checkout-button/amwal-checkout-button.css +1 -1
  1602. package/dist/collection/components/amwal-checkout-button/amwal-checkout-button.js +1714 -1888
  1603. package/dist/collection/components/amwal-checkout-button/amwal-checkout-button.stories.js +84 -84
  1604. package/dist/collection/components/amwal-installments-guide/amwal-installments-guide.js +75 -80
  1605. package/dist/collection/components/amwal-installments-guide/amwal-installments-guide.stories.js +25 -25
  1606. package/dist/collection/components/amwal-installments-timeline/amwal-installments-timeline.js +506 -569
  1607. package/dist/collection/components/amwal-installments-timeline/amwal-installments-timeline.stories.js +80 -80
  1608. package/dist/collection/components/amwal-pos/amwal-pos.js +1022 -1094
  1609. package/dist/collection/components/amwal-pos/amwal-pos.stories.js +209 -209
  1610. package/dist/collection/components/amwal-widget/amwal-widget-modal.js +326 -350
  1611. package/dist/collection/components/amwal-widget/amwal-widget.js +673 -736
  1612. package/dist/collection/components/amwal-widget/amwal-widget.stories.js +184 -184
  1613. package/dist/collection/lang/i18n.js +7 -7
  1614. package/dist/components/amwal-checkout-button.d.ts +2 -2
  1615. package/dist/components/amwal-checkout-button.js +3811 -1
  1616. package/dist/components/amwal-installments-guide.d.ts +2 -2
  1617. package/dist/components/amwal-installments-guide.js +75 -1
  1618. package/dist/components/amwal-installments-timeline.d.ts +2 -2
  1619. package/dist/components/amwal-installments-timeline.js +6 -1
  1620. package/dist/components/amwal-pos.d.ts +2 -2
  1621. package/dist/components/amwal-pos.js +3391 -1
  1622. package/dist/components/amwal-widget-modal.d.ts +2 -2
  1623. package/dist/components/amwal-widget-modal.js +6 -1
  1624. package/dist/components/amwal-widget.d.ts +2 -2
  1625. package/dist/components/amwal-widget.js +389 -1
  1626. package/dist/components/index.d.ts +0 -6
  1627. package/dist/components/index.js +6 -1
  1628. package/dist/components/ion-accordion-group.js +248 -1
  1629. package/dist/components/ion-accordion.js +353 -1
  1630. package/dist/components/ion-action-sheet.js +6 -1
  1631. package/dist/components/ion-alert.js +6 -1
  1632. package/dist/components/ion-app.js +125 -1
  1633. package/dist/components/ion-avatar.js +39 -1
  1634. package/dist/components/ion-back-button.js +127 -1
  1635. package/dist/components/ion-backdrop.js +6 -1
  1636. package/dist/components/ion-badge.js +46 -1
  1637. package/dist/components/ion-breadcrumb.js +131 -1
  1638. package/dist/components/ion-breadcrumbs.js +152 -1
  1639. package/dist/components/ion-button.js +6 -1
  1640. package/dist/components/ion-buttons.js +6 -1
  1641. package/dist/components/ion-card-content.js +43 -1
  1642. package/dist/components/ion-card-header.js +50 -1
  1643. package/dist/components/ion-card-subtitle.js +47 -1
  1644. package/dist/components/ion-card-title.js +47 -1
  1645. package/dist/components/ion-card.js +98 -1
  1646. package/dist/components/ion-checkbox.js +6 -1
  1647. package/dist/components/ion-chip.js +59 -1
  1648. package/dist/components/ion-col.js +186 -2
  1649. package/dist/components/ion-content.js +440 -1
  1650. package/dist/components/ion-datetime-button.js +378 -1
  1651. package/dist/components/ion-datetime.js +1961 -2
  1652. package/dist/components/ion-fab-button.js +130 -1
  1653. package/dist/components/ion-fab-list.js +56 -1
  1654. package/dist/components/ion-fab.js +90 -1
  1655. package/dist/components/ion-footer.js +152 -2
  1656. package/dist/components/ion-grid.js +41 -1
  1657. package/dist/components/ion-header.js +358 -1
  1658. package/dist/components/ion-icon.js +6 -1
  1659. package/dist/components/ion-img.js +124 -1
  1660. package/dist/components/ion-infinite-scroll-content.js +69 -1
  1661. package/dist/components/ion-infinite-scroll.js +209 -1
  1662. package/dist/components/ion-input.js +564 -1
  1663. package/dist/components/ion-item-divider.js +51 -1
  1664. package/dist/components/ion-item-group.js +44 -1
  1665. package/dist/components/ion-item-option.js +85 -1
  1666. package/dist/components/ion-item-options.js +67 -1
  1667. package/dist/components/ion-item-sliding.js +449 -1
  1668. package/dist/components/ion-item.js +6 -1
  1669. package/dist/components/ion-label.js +6 -1
  1670. package/dist/components/ion-list-header.js +6 -1
  1671. package/dist/components/ion-list.js +6 -1
  1672. package/dist/components/ion-loading.js +325 -3
  1673. package/dist/components/ion-menu-button.js +100 -1
  1674. package/dist/components/ion-menu-toggle.js +57 -1
  1675. package/dist/components/ion-menu.js +679 -1
  1676. package/dist/components/ion-modal.js +1779 -1
  1677. package/dist/components/ion-nav-link.js +63 -2
  1678. package/dist/components/ion-nav.js +945 -2
  1679. package/dist/components/ion-note.js +6 -1
  1680. package/dist/components/ion-picker-column-internal.js +6 -0
  1681. package/dist/components/ion-picker-column.js +6 -1
  1682. package/dist/components/ion-picker-internal.js +6 -0
  1683. package/dist/components/ion-picker.js +321 -1
  1684. package/dist/components/ion-popover.js +6 -1
  1685. package/dist/components/ion-progress-bar.js +79 -1
  1686. package/dist/components/ion-radio-group.js +6 -1
  1687. package/dist/components/ion-radio.js +6 -1
  1688. package/dist/components/ion-range.js +778 -2
  1689. package/dist/components/ion-refresher-content.js +90 -1
  1690. package/dist/components/ion-refresher.js +652 -1
  1691. package/dist/components/ion-reorder-group.js +300 -1
  1692. package/dist/components/ion-reorder.js +58 -1
  1693. package/dist/components/ion-ripple-effect.js +6 -1
  1694. package/dist/components/ion-route-redirect.js +42 -1
  1695. package/dist/components/ion-route.js +66 -1
  1696. package/dist/components/ion-router-link.js +60 -1
  1697. package/dist/components/ion-router-outlet.js +219 -1
  1698. package/dist/components/ion-router.js +833 -3
  1699. package/dist/components/ion-row.js +34 -1
  1700. package/dist/components/ion-searchbar.js +472 -1
  1701. package/dist/components/ion-segment-button.js +139 -1
  1702. package/dist/components/ion-segment.js +472 -1
  1703. package/dist/components/ion-select-option.js +42 -1
  1704. package/dist/components/ion-select-popover.js +6 -1
  1705. package/dist/components/ion-select.js +864 -1
  1706. package/dist/components/ion-skeleton-text.js +59 -1
  1707. package/dist/components/ion-spinner.js +6 -1
  1708. package/dist/components/ion-split-pane.js +166 -1
  1709. package/dist/components/ion-tab-bar.js +95 -1
  1710. package/dist/components/ion-tab-button.js +125 -1
  1711. package/dist/components/ion-tab.js +80 -1
  1712. package/dist/components/ion-tabs.js +176 -1
  1713. package/dist/components/ion-text.js +6 -1
  1714. package/dist/components/ion-textarea.js +496 -1
  1715. package/dist/components/ion-thumbnail.js +34 -1
  1716. package/dist/components/ion-title.js +71 -1
  1717. package/dist/components/ion-toast.js +914 -3
  1718. package/dist/components/ion-toggle.js +282 -1
  1719. package/dist/components/ion-toolbar.js +91 -1
  1720. package/dist/components/p-01b49f83.js +269 -0
  1721. package/dist/{esm/ios.transition-BBpXvlVl.js → components/p-02b77441.js} +69 -99
  1722. package/dist/components/p-02bc6b21.js +203 -0
  1723. package/dist/components/p-031ed92d.js +389 -0
  1724. package/dist/components/p-03803c7d.js +369 -0
  1725. package/dist/components/p-089e034e.js +234 -0
  1726. package/dist/components/p-0dc7a5ff.js +512 -0
  1727. package/dist/components/p-110f8490.js +566 -0
  1728. package/dist/components/p-112455b1.js +17 -0
  1729. package/dist/{esm/index-Ul_idjjE.js → components/p-1596e301.js} +4 -4
  1730. package/dist/components/p-1785e30a.js +318 -0
  1731. package/dist/{esm/helpers-BuFc0hrS.js → components/p-2bb89b46.js} +90 -11
  1732. package/dist/components/p-2d7d745d.js +224 -0
  1733. package/dist/components/p-2fc99fef.js +262 -0
  1734. package/dist/{esm/input-shims-D1Cdl4JQ.js → components/p-3296ebd9.js} +5 -37
  1735. package/dist/{esm/data-u308JruM.js → components/p-39ad94cf.js} +9 -34
  1736. package/dist/{esm/capacitor-CG3xQUND.js → components/p-3d3eefc3.js} +1 -1
  1737. package/dist/components/p-3e1d2896.js +64 -0
  1738. package/dist/{esm/keyboard-controller-CqGCg8tB.js → components/p-3e1e3453.js} +2 -2
  1739. package/dist/{esm/md.transition-uHL_rMwC.js → components/p-503328f2.js} +2 -5
  1740. package/dist/components/p-51c44f42.js +98 -0
  1741. package/dist/components/p-5280b372.js +42 -0
  1742. package/dist/{esm/index-J3a2mue2.js → components/p-53e2dbe4.js} +35 -7
  1743. package/dist/components/p-5441c730.js +851 -0
  1744. package/dist/{esm/refresher.utils-BwmoeJ1w.js → components/p-74e68924.js} +4 -4
  1745. package/dist/{esm/framework-delegate-29_VtSmv.js → components/p-76525f0f.js} +1 -1
  1746. package/dist/{esm/index-CF4QYFB3.js → components/p-77104220.js} +6 -4
  1747. package/dist/components/p-77ccb793.js +185 -0
  1748. package/dist/components/p-83e529db.js +380 -0
  1749. package/dist/{esm/animation-Cdsew5KM.js → components/p-89c4c5cb.js} +252 -12
  1750. package/dist/components/p-8b3d1e06.js +67 -0
  1751. package/dist/{esm/ionic-global-BbOE2Sur.js → components/p-901c16c5.js} +112 -51
  1752. package/dist/components/p-93e2a608.js +374 -0
  1753. package/dist/components/p-95c79593.js +43 -0
  1754. package/dist/components/p-96073863.js +82 -0
  1755. package/dist/components/p-99e447f9.js +13 -0
  1756. package/dist/{esm/keyboard-DgiyREKb.js → components/p-9b519de5.js} +1 -1
  1757. package/dist/{esm/input.utils-CEeVIfb9.js → components/p-9d350d61.js} +4 -16
  1758. package/dist/{esm/notch-controller-CCHQ50bA.js → components/p-9df67c24.js} +2 -2
  1759. package/dist/{esm/status-tap-CMJKMvwt.js → components/p-a0e691dd.js} +3 -3
  1760. package/dist/components/p-ab10d1ae.js +47 -0
  1761. package/dist/components/p-abc01c5d.js +194 -0
  1762. package/dist/components/p-abd248d1.js +196 -0
  1763. package/dist/{esm/haptic-C3ucbArX.js → components/p-af073aaf.js} +56 -8
  1764. package/dist/{esm/config-CnpuADYS.js → components/p-b2289937.js} +1 -3
  1765. package/dist/{esm/swipe-back-BXQCI3bV.js → components/p-b32529b9.js} +3 -5
  1766. package/dist/components/p-b8fdd517.js +26 -0
  1767. package/dist/components/p-cebc113f.js +38 -0
  1768. package/dist/components/p-d25fd077.js +331 -0
  1769. package/dist/{esm/menu-toggle-util-LSIuEJ8L.js → components/p-d3596f64.js} +1 -1
  1770. package/dist/{esm/keyboard-DcbqYXj5.js → components/p-d60b2328.js} +1 -3
  1771. package/dist/components/p-d69dc32f.js +97 -0
  1772. package/dist/{esm/hardware-back-button-DRef5MPc.js → components/p-d72e8d7b.js} +3 -3
  1773. package/dist/{esm/ar-B3WORC1a.js → components/p-d839c693.js} +12 -5
  1774. package/dist/components/p-e187a77c.js +34 -0
  1775. package/dist/components/p-e65ea9fb.js +1379 -0
  1776. package/dist/components/p-ec0e3f3f.js +2040 -0
  1777. package/dist/components/p-ecb4db1c.js +64 -0
  1778. package/dist/{esm/gesture-controller-BTEOs1at.js → components/p-f728a68f.js} +2 -2
  1779. package/dist/components/p-f7e3c502.js +73 -0
  1780. package/dist/components/p-fe463a42.js +272 -0
  1781. package/dist/esm/_commonjsHelpers-9943807e.js +17 -0
  1782. package/dist/esm/amwal-checkout-button_5.entry.js +1292 -2924
  1783. package/dist/esm/amwal-installments-guide.entry.js +40 -43
  1784. package/dist/esm/amwal-pos.entry.js +3178 -3452
  1785. package/dist/esm/amwal-widget-modal.entry.js +160 -175
  1786. package/dist/esm/amwal-widget.entry.js +312 -343
  1787. package/dist/{cjs/animation-DmZTzC07.js → esm/animation-a6d5c3b1.js} +254 -16
  1788. package/dist/esm/{app-globals-qL1LLHNB.js → app-globals-c817b28b.js} +1 -1
  1789. package/dist/esm/ar-7d2629bf.js +51 -0
  1790. package/dist/esm/capacitor-ba4337da.js +13 -0
  1791. package/dist/esm/checkout.js +18 -16
  1792. package/dist/esm/config-8e06237c.js +171 -0
  1793. package/dist/esm/cubic-bezier-874f336d.js +90 -0
  1794. package/dist/esm/data-8916315d.js +1628 -0
  1795. package/dist/esm/dir-1d4aa386.js +18 -0
  1796. package/dist/esm/focus-visible-32968d3d.js +75 -0
  1797. package/dist/esm/form-controller-b1aa7393.js +64 -0
  1798. package/dist/esm/framework-delegate-de1aa369.js +140 -0
  1799. package/dist/esm/gesture-controller-58ffa500.js +195 -0
  1800. package/dist/esm/haptic-4d4d8eb1.js +206 -0
  1801. package/dist/esm/hardware-back-button-f93acff0.js +116 -0
  1802. package/dist/esm/helpers-f0dcbd72.js +418 -0
  1803. package/dist/esm/i18n-53f85411.js +13 -0
  1804. package/dist/esm/index-0b560278.js +234 -0
  1805. package/dist/esm/index-5894dd63.js +196 -0
  1806. package/dist/esm/{index-Dph-Z83P.js → index-5a126e54.js} +8 -8
  1807. package/dist/esm/index-5e663431.js +128 -0
  1808. package/dist/esm/index-8cc94b11.js +2219 -0
  1809. package/dist/esm/index-afdf867c.js +26 -0
  1810. package/dist/esm/index-d9b41a43.js +34 -0
  1811. package/dist/esm/index-f6dce931.js +466 -0
  1812. package/dist/esm/index-fb97e55c.js +7 -0
  1813. package/dist/esm/input-shims-75d4750d.js +617 -0
  1814. package/dist/esm/input.utils-79bde07f.js +138 -0
  1815. package/dist/esm/ion-accordion-group.entry.js +197 -217
  1816. package/dist/esm/ion-accordion.entry.js +302 -402
  1817. package/dist/esm/ion-action-sheet_3.entry.js +1000 -0
  1818. package/dist/esm/ion-app.entry.js +93 -93
  1819. package/dist/esm/ion-avatar.entry.js +12 -12
  1820. package/dist/esm/ion-back-button.entry.js +76 -77
  1821. package/dist/esm/ion-backdrop.entry.js +42 -39
  1822. package/dist/esm/ion-badge.entry.js +17 -16
  1823. package/dist/esm/ion-breadcrumb.entry.js +84 -88
  1824. package/dist/esm/ion-breadcrumbs.entry.js +118 -130
  1825. package/dist/esm/ion-buttons_3.entry.js +880 -0
  1826. package/dist/esm/ion-card-content.entry.js +17 -17
  1827. package/dist/esm/ion-card-header.entry.js +20 -24
  1828. package/dist/esm/ion-card-subtitle.entry.js +18 -17
  1829. package/dist/esm/ion-card-title.entry.js +18 -17
  1830. package/dist/esm/ion-card.entry.js +53 -60
  1831. package/dist/esm/ion-checkbox_7.entry.js +935 -0
  1832. package/dist/esm/ion-chip.entry.js +22 -27
  1833. package/dist/esm/ion-col.entry.js +108 -84
  1834. package/dist/esm/ion-content.entry.js +409 -0
  1835. package/dist/esm/ion-datetime-button.entry.js +328 -331
  1836. package/dist/esm/ion-datetime.entry.js +1546 -1656
  1837. package/dist/esm/ion-fab-button.entry.js +76 -95
  1838. package/dist/esm/ion-fab-list.entry.js +29 -37
  1839. package/dist/esm/ion-fab.entry.js +56 -65
  1840. package/dist/esm/ion-footer.entry.js +92 -98
  1841. package/dist/esm/ion-grid.entry.js +15 -18
  1842. package/dist/esm/ion-header.entry.js +338 -0
  1843. package/dist/esm/ion-icon.entry.js +271 -350
  1844. package/dist/esm/ion-img.entry.js +81 -79
  1845. package/dist/esm/ion-infinite-scroll-content.entry.js +32 -30
  1846. package/dist/esm/ion-infinite-scroll.entry.js +172 -197
  1847. package/dist/esm/ion-input.entry.js +455 -510
  1848. package/dist/esm/ion-item-divider.entry.js +21 -27
  1849. package/dist/esm/ion-item-group.entry.js +18 -18
  1850. package/dist/esm/ion-item-option.entry.js +43 -47
  1851. package/dist/esm/ion-item-options.entry.js +36 -40
  1852. package/dist/esm/ion-item-sliding.entry.js +389 -394
  1853. package/dist/esm/ion-loading.entry.js +160 -185
  1854. package/dist/esm/ion-menu-button.entry.js +58 -64
  1855. package/dist/esm/ion-menu-toggle.entry.js +34 -38
  1856. package/dist/esm/ion-menu.entry.js +604 -666
  1857. package/dist/esm/ion-modal.entry.js +1727 -0
  1858. package/dist/esm/ion-nav-link.entry.js +15 -15
  1859. package/dist/esm/ion-nav.entry.js +821 -826
  1860. package/dist/esm/ion-note.entry.js +17 -16
  1861. package/dist/esm/ion-picker-column.entry.js +360 -0
  1862. package/dist/esm/ion-picker.entry.js +273 -0
  1863. package/dist/esm/ion-popover.entry.js +323 -460
  1864. package/dist/esm/ion-progress-bar.entry.js +42 -61
  1865. package/dist/esm/ion-range.entry.js +654 -726
  1866. package/dist/esm/ion-refresher-content.entry.js +51 -47
  1867. package/dist/esm/ion-refresher.entry.js +584 -679
  1868. package/dist/esm/ion-reorder-group.entry.js +250 -269
  1869. package/dist/esm/ion-reorder.entry.js +24 -24
  1870. package/dist/esm/ion-route-redirect.entry.js +17 -19
  1871. package/dist/esm/ion-route.entry.js +35 -43
  1872. package/dist/esm/ion-router-link.entry.js +29 -28
  1873. package/dist/esm/ion-router-outlet.entry.js +175 -180
  1874. package/dist/esm/ion-router.entry.js +265 -284
  1875. package/dist/esm/ion-row.entry.js +10 -10
  1876. package/dist/esm/ion-searchbar.entry.js +386 -445
  1877. package/dist/esm/ion-segment-button.entry.js +94 -125
  1878. package/dist/esm/ion-segment.entry.js +409 -540
  1879. package/dist/esm/ion-select-option.entry.js +14 -16
  1880. package/dist/esm/ion-select.entry.js +692 -818
  1881. package/dist/esm/ion-skeleton-text.entry.js +33 -36
  1882. package/dist/esm/ion-spinner.entry.js +48 -48
  1883. package/dist/esm/ion-split-pane.entry.js +118 -141
  1884. package/dist/esm/ion-tab-bar.entry.js +64 -82
  1885. package/dist/esm/ion-tab-button.entry.js +80 -80
  1886. package/dist/esm/ion-tab.entry.js +48 -48
  1887. package/dist/esm/ion-tabs.entry.js +141 -167
  1888. package/dist/esm/ion-textarea.entry.js +402 -460
  1889. package/dist/esm/ion-thumbnail.entry.js +10 -10
  1890. package/dist/esm/ion-title.entry.js +50 -0
  1891. package/dist/esm/ion-toast.entry.js +370 -408
  1892. package/dist/esm/ion-toggle.entry.js +233 -305
  1893. package/dist/esm/ion-toolbar.entry.js +71 -0
  1894. package/dist/esm/ionic-global-0b7766cb.js +227 -0
  1895. package/dist/esm/ios.transition-22fb53bc.js +651 -0
  1896. package/dist/esm/keyboard-1f073554.js +82 -0
  1897. package/dist/esm/keyboard-96b6e80b.js +146 -0
  1898. package/dist/esm/keyboard-controller-5a2f625f.js +165 -0
  1899. package/dist/esm/loader.js +17 -8
  1900. package/dist/esm/lock-controller-632e3c10.js +38 -0
  1901. package/dist/esm/md.transition-f6ff9834.js +57 -0
  1902. package/dist/esm/menu-toggle-util-594849ff.js +12 -0
  1903. package/dist/esm/notch-controller-d511b3b3.js +153 -0
  1904. package/dist/esm/{overlays-CWok3_we.js → overlays-642a91df.js} +121 -182
  1905. package/dist/esm/polyfills/core-js.js +11 -0
  1906. package/dist/esm/polyfills/css-shim.js +1 -0
  1907. package/dist/esm/polyfills/dom.js +79 -0
  1908. package/dist/esm/polyfills/es5-html-element.js +1 -0
  1909. package/dist/esm/polyfills/index.js +34 -0
  1910. package/dist/esm/polyfills/system.js +6 -0
  1911. package/dist/esm/refresher.utils-19137568.js +196 -0
  1912. package/dist/esm/status-tap-bb6959a8.js +40 -0
  1913. package/dist/esm/swipe-back-6cec4c33.js +79 -0
  1914. package/dist/esm/theme-35c700b7.js +43 -0
  1915. package/dist/esm/watch-options-7bf43687.js +47 -0
  1916. package/dist/node_modules/@ionic/core/dist/collection/components/accordion/accordion.ios.css +193 -0
  1917. package/dist/node_modules/@ionic/core/dist/collection/components/accordion/accordion.md.css +135 -0
  1918. package/dist/node_modules/@ionic/core/dist/collection/components/accordion-group/accordion-group.ios.css +127 -0
  1919. package/dist/node_modules/@ionic/core/dist/collection/components/accordion-group/accordion-group.md.css +229 -0
  1920. package/dist/node_modules/@ionic/core/dist/collection/components/action-sheet/action-sheet.ios.css +456 -0
  1921. package/dist/node_modules/@ionic/core/dist/collection/components/action-sheet/action-sheet.md.css +384 -0
  1922. package/dist/node_modules/@ionic/core/dist/collection/components/alert/alert.ios.css +755 -0
  1923. package/dist/node_modules/@ionic/core/dist/collection/components/alert/alert.md.css +770 -0
  1924. package/dist/node_modules/@ionic/core/dist/collection/components/app/app.css +17 -0
  1925. package/dist/node_modules/@ionic/core/dist/collection/components/avatar/avatar.ios.css +132 -0
  1926. package/dist/node_modules/@ionic/core/dist/collection/components/avatar/avatar.md.css +132 -0
  1927. package/dist/node_modules/@ionic/core/dist/collection/components/back-button/back-button.ios.css +372 -0
  1928. package/dist/node_modules/@ionic/core/dist/collection/components/back-button/back-button.md.css +385 -0
  1929. package/dist/node_modules/@ionic/core/dist/collection/components/backdrop/backdrop.ios.css +136 -0
  1930. package/dist/node_modules/@ionic/core/dist/collection/components/backdrop/backdrop.md.css +136 -0
  1931. package/dist/node_modules/@ionic/core/dist/collection/components/badge/badge.ios.css +168 -0
  1932. package/dist/node_modules/@ionic/core/dist/collection/components/badge/badge.md.css +164 -0
  1933. package/dist/node_modules/@ionic/core/dist/collection/components/breadcrumb/breadcrumb.ios.css +326 -0
  1934. package/dist/node_modules/@ionic/core/dist/collection/components/breadcrumb/breadcrumb.md.css +310 -0
  1935. package/dist/node_modules/@ionic/core/dist/collection/components/breadcrumbs/breadcrumbs.ios.css +81 -0
  1936. package/dist/node_modules/@ionic/core/dist/collection/components/breadcrumbs/breadcrumbs.md.css +80 -0
  1937. package/dist/node_modules/@ionic/core/dist/collection/components/button/button.ios.css +596 -0
  1938. package/dist/node_modules/@ionic/core/dist/collection/components/button/button.md.css +517 -0
  1939. package/dist/node_modules/@ionic/core/dist/collection/components/buttons/buttons.ios.css +279 -0
  1940. package/dist/node_modules/@ionic/core/dist/collection/components/buttons/buttons.md.css +299 -0
  1941. package/dist/node_modules/@ionic/core/dist/collection/components/card/card.ios.css +203 -0
  1942. package/dist/node_modules/@ionic/core/dist/collection/components/card/card.md.css +198 -0
  1943. package/dist/node_modules/@ionic/core/dist/collection/components/card-content/card-content.ios.css +163 -0
  1944. package/dist/node_modules/@ionic/core/dist/collection/components/card-content/card-content.md.css +165 -0
  1945. package/dist/node_modules/@ionic/core/dist/collection/components/card-header/card-header.ios.css +141 -0
  1946. package/dist/node_modules/@ionic/core/dist/collection/components/card-header/card-header.md.css +138 -0
  1947. package/dist/node_modules/@ionic/core/dist/collection/components/card-subtitle/card-subtitle.ios.css +138 -0
  1948. package/dist/node_modules/@ionic/core/dist/collection/components/card-subtitle/card-subtitle.md.css +136 -0
  1949. package/dist/node_modules/@ionic/core/dist/collection/components/card-title/card-title.ios.css +137 -0
  1950. package/dist/node_modules/@ionic/core/dist/collection/components/card-title/card-title.md.css +137 -0
  1951. package/dist/node_modules/@ionic/core/dist/collection/components/checkbox/checkbox.ios.css +536 -0
  1952. package/dist/node_modules/@ionic/core/dist/collection/components/checkbox/checkbox.md.css +552 -0
  1953. package/dist/node_modules/@ionic/core/dist/collection/components/chip/chip.ios.css +212 -0
  1954. package/dist/node_modules/@ionic/core/dist/collection/components/chip/chip.md.css +207 -0
  1955. package/dist/node_modules/@ionic/core/dist/collection/components/col/col.css +200 -0
  1956. package/dist/node_modules/@ionic/core/dist/collection/components/content/content.css +282 -0
  1957. package/dist/node_modules/@ionic/core/dist/collection/components/datetime/datetime.ios.css +850 -0
  1958. package/dist/node_modules/@ionic/core/dist/collection/components/datetime/datetime.md.css +706 -0
  1959. package/dist/node_modules/@ionic/core/dist/collection/components/datetime-button/datetime-button.css +100 -0
  1960. package/dist/node_modules/@ionic/core/dist/collection/components/fab/fab.css +366 -0
  1961. package/dist/node_modules/@ionic/core/dist/collection/components/fab-button/fab-button.ios.css +422 -0
  1962. package/dist/node_modules/@ionic/core/dist/collection/components/fab-button/fab-button.md.css +393 -0
  1963. package/dist/node_modules/@ionic/core/dist/collection/components/fab-list/fab-list.css +240 -0
  1964. package/dist/node_modules/@ionic/core/dist/collection/components/footer/footer.ios.css +146 -0
  1965. package/dist/node_modules/@ionic/core/dist/collection/components/footer/footer.md.css +129 -0
  1966. package/dist/node_modules/@ionic/core/dist/collection/components/grid/grid.css +235 -0
  1967. package/dist/node_modules/@ionic/core/dist/collection/components/header/header.ios.css +250 -0
  1968. package/dist/node_modules/@ionic/core/dist/collection/components/header/header.md.css +133 -0
  1969. package/dist/node_modules/@ionic/core/dist/collection/components/img/img.css +12 -0
  1970. package/dist/node_modules/@ionic/core/dist/collection/components/infinite-scroll/infinite-scroll.css +8 -0
  1971. package/dist/node_modules/@ionic/core/dist/collection/components/infinite-scroll-content/infinite-scroll-content.ios.css +156 -0
  1972. package/dist/node_modules/@ionic/core/dist/collection/components/infinite-scroll-content/infinite-scroll-content.md.css +156 -0
  1973. package/dist/node_modules/@ionic/core/dist/collection/components/input/input.ios.css +833 -0
  1974. package/dist/node_modules/@ionic/core/dist/collection/components/input/input.md.css +1446 -0
  1975. package/dist/node_modules/@ionic/core/dist/collection/components/item/item.ios.css +815 -0
  1976. package/dist/node_modules/@ionic/core/dist/collection/components/item/item.md.css +1187 -0
  1977. package/dist/node_modules/@ionic/core/dist/collection/components/item-divider/item-divider.ios.css +351 -0
  1978. package/dist/node_modules/@ionic/core/dist/collection/components/item-divider/item-divider.md.css +417 -0
  1979. package/dist/node_modules/@ionic/core/dist/collection/components/item-group/item-group.ios.css +114 -0
  1980. package/dist/node_modules/@ionic/core/dist/collection/components/item-group/item-group.md.css +114 -0
  1981. package/dist/node_modules/@ionic/core/dist/collection/components/item-option/item-option.ios.css +242 -0
  1982. package/dist/node_modules/@ionic/core/dist/collection/components/item-option/item-option.md.css +236 -0
  1983. package/dist/node_modules/@ionic/core/dist/collection/components/item-options/item-options.ios.css +287 -0
  1984. package/dist/node_modules/@ionic/core/dist/collection/components/item-options/item-options.md.css +284 -0
  1985. package/dist/node_modules/@ionic/core/dist/collection/components/item-sliding/item-sliding.css +121 -0
  1986. package/dist/node_modules/@ionic/core/dist/collection/components/label/label.ios.css +334 -0
  1987. package/dist/node_modules/@ionic/core/dist/collection/components/label/label.md.css +421 -0
  1988. package/dist/node_modules/@ionic/core/dist/collection/components/list/list.ios.css +242 -0
  1989. package/dist/node_modules/@ionic/core/dist/collection/components/list/list.md.css +287 -0
  1990. package/dist/node_modules/@ionic/core/dist/collection/components/list-header/list-header.ios.css +285 -0
  1991. package/dist/node_modules/@ionic/core/dist/collection/components/list-header/list-header.md.css +266 -0
  1992. package/dist/node_modules/@ionic/core/dist/collection/components/loading/loading.ios.css +205 -0
  1993. package/dist/node_modules/@ionic/core/dist/collection/components/loading/loading.md.css +196 -0
  1994. package/dist/node_modules/@ionic/core/dist/collection/components/menu/menu.ios.css +378 -0
  1995. package/dist/node_modules/@ionic/core/dist/collection/components/menu/menu.md.css +374 -0
  1996. package/dist/node_modules/@ionic/core/dist/collection/components/menu-button/menu-button.ios.css +279 -0
  1997. package/dist/node_modules/@ionic/core/dist/collection/components/menu-button/menu-button.md.css +282 -0
  1998. package/dist/node_modules/@ionic/core/dist/collection/components/menu-toggle/menu-toggle.css +3 -0
  1999. package/dist/node_modules/@ionic/core/dist/collection/components/modal/modal.ios.css +357 -0
  2000. package/dist/node_modules/@ionic/core/dist/collection/components/modal/modal.md.css +272 -0
  2001. package/dist/node_modules/@ionic/core/dist/collection/components/nav/nav.css +64 -0
  2002. package/dist/node_modules/@ionic/core/dist/collection/components/note/note.ios.css +127 -0
  2003. package/dist/node_modules/@ionic/core/dist/collection/components/note/note.md.css +127 -0
  2004. package/dist/node_modules/@ionic/core/dist/collection/components/picker/picker.ios.css +367 -0
  2005. package/dist/node_modules/@ionic/core/dist/collection/components/picker/picker.md.css +354 -0
  2006. package/dist/node_modules/@ionic/core/dist/collection/components/picker-column/picker-column.ios.css +255 -0
  2007. package/dist/node_modules/@ionic/core/dist/collection/components/picker-column/picker-column.md.css +246 -0
  2008. package/dist/node_modules/@ionic/core/dist/collection/components/picker-column-internal/picker-column-internal.ios.css +138 -0
  2009. package/dist/node_modules/@ionic/core/dist/collection/components/picker-column-internal/picker-column-internal.md.css +196 -0
  2010. package/dist/node_modules/@ionic/core/dist/collection/components/picker-internal/picker-internal.ios.css +262 -0
  2011. package/dist/node_modules/@ionic/core/dist/collection/components/picker-internal/picker-internal.md.css +258 -0
  2012. package/dist/node_modules/@ionic/core/dist/collection/components/popover/popover.ios.css +366 -0
  2013. package/dist/node_modules/@ionic/core/dist/collection/components/popover/popover.md.css +266 -0
  2014. package/dist/node_modules/@ionic/core/dist/collection/components/progress-bar/progress-bar.ios.css +261 -0
  2015. package/dist/node_modules/@ionic/core/dist/collection/components/progress-bar/progress-bar.md.css +261 -0
  2016. package/dist/node_modules/@ionic/core/dist/collection/components/radio/radio.ios.css +557 -0
  2017. package/dist/node_modules/@ionic/core/dist/collection/components/radio/radio.md.css +580 -0
  2018. package/dist/node_modules/@ionic/core/dist/collection/components/range/range.ios.css +660 -0
  2019. package/dist/node_modules/@ionic/core/dist/collection/components/range/range.md.css +819 -0
  2020. package/dist/node_modules/@ionic/core/dist/collection/components/refresher/refresher.ios.css +321 -0
  2021. package/dist/node_modules/@ionic/core/dist/collection/components/refresher/refresher.md.css +316 -0
  2022. package/dist/node_modules/@ionic/core/dist/collection/components/reorder/reorder.ios.css +77 -0
  2023. package/dist/node_modules/@ionic/core/dist/collection/components/reorder/reorder.md.css +77 -0
  2024. package/dist/node_modules/@ionic/core/dist/collection/components/reorder-group/reorder-group.css +89 -0
  2025. package/dist/node_modules/@ionic/core/dist/collection/components/ripple-effect/ripple-effect.css +113 -0
  2026. package/dist/node_modules/@ionic/core/dist/collection/components/router-link/router-link.css +84 -0
  2027. package/dist/node_modules/@ionic/core/dist/collection/components/router-outlet/router-outlet.css +64 -0
  2028. package/dist/node_modules/@ionic/core/dist/collection/components/row/row.css +136 -0
  2029. package/dist/node_modules/@ionic/core/dist/collection/components/searchbar/searchbar.ios.css +477 -0
  2030. package/dist/node_modules/@ionic/core/dist/collection/components/searchbar/searchbar.md.css +456 -0
  2031. package/dist/node_modules/@ionic/core/dist/collection/components/segment/segment.ios.css +224 -0
  2032. package/dist/node_modules/@ionic/core/dist/collection/components/segment/segment.md.css +214 -0
  2033. package/dist/node_modules/@ionic/core/dist/collection/components/segment-button/segment-button.ios.css +520 -0
  2034. package/dist/node_modules/@ionic/core/dist/collection/components/segment-button/segment-button.md.css +506 -0
  2035. package/dist/node_modules/@ionic/core/dist/collection/components/select/select.ios.css +787 -0
  2036. package/dist/node_modules/@ionic/core/dist/collection/components/select/select.md.css +1374 -0
  2037. package/dist/node_modules/@ionic/core/dist/collection/components/select-option/select-option.css +3 -0
  2038. package/dist/node_modules/@ionic/core/dist/collection/components/select-popover/select-popover.ios.css +190 -0
  2039. package/dist/node_modules/@ionic/core/dist/collection/components/select-popover/select-popover.md.css +212 -0
  2040. package/dist/node_modules/@ionic/core/dist/collection/components/skeleton-text/skeleton-text.css +108 -0
  2041. package/dist/node_modules/@ionic/core/dist/collection/components/spinner/spinner.css +232 -0
  2042. package/dist/node_modules/@ionic/core/dist/collection/components/split-pane/split-pane.ios.css +265 -0
  2043. package/dist/node_modules/@ionic/core/dist/collection/components/split-pane/split-pane.md.css +265 -0
  2044. package/dist/node_modules/@ionic/core/dist/collection/components/tab/tab.css +4 -0
  2045. package/dist/node_modules/@ionic/core/dist/collection/components/tab-bar/tab-bar.ios.css +252 -0
  2046. package/dist/node_modules/@ionic/core/dist/collection/components/tab-bar/tab-bar.md.css +239 -0
  2047. package/dist/node_modules/@ionic/core/dist/collection/components/tab-button/tab-button.ios.css +477 -0
  2048. package/dist/node_modules/@ionic/core/dist/collection/components/tab-button/tab-button.md.css +501 -0
  2049. package/dist/node_modules/@ionic/core/dist/collection/components/tabs/tabs.css +74 -0
  2050. package/dist/node_modules/@ionic/core/dist/collection/components/text/text.css +58 -0
  2051. package/dist/node_modules/@ionic/core/dist/collection/components/textarea/textarea.ios.css +987 -0
  2052. package/dist/node_modules/@ionic/core/dist/collection/components/textarea/textarea.md.css +1553 -0
  2053. package/dist/node_modules/@ionic/core/dist/collection/components/thumbnail/thumbnail.css +76 -0
  2054. package/dist/node_modules/@ionic/core/dist/collection/components/title/title.ios.css +183 -0
  2055. package/dist/node_modules/@ionic/core/dist/collection/components/title/title.md.css +102 -0
  2056. package/dist/node_modules/@ionic/core/dist/collection/components/toast/toast.ios.css +399 -0
  2057. package/dist/node_modules/@ionic/core/dist/collection/components/toast/toast.md.css +429 -0
  2058. package/dist/node_modules/@ionic/core/dist/collection/components/toggle/toggle.ios.css +680 -0
  2059. package/dist/node_modules/@ionic/core/dist/collection/components/toggle/toggle.md.css +625 -0
  2060. package/dist/node_modules/@ionic/core/dist/collection/components/toolbar/toolbar.ios.css +265 -0
  2061. package/dist/node_modules/@ionic/core/dist/collection/components/toolbar/toolbar.md.css +244 -0
  2062. package/dist/node_modules/ionicons/dist/collection/components/icon/icon.css +144 -0
  2063. package/dist/types/components/amwal-checkout-button/amwal-checkout-button.d.ts +327 -327
  2064. package/dist/types/components/amwal-checkout-button/amwal-checkout-button.stories.d.ts +34 -34
  2065. package/dist/types/components/amwal-installments-guide/amwal-installments-guide.d.ts +14 -14
  2066. package/dist/types/components/amwal-installments-guide/amwal-installments-guide.stories.d.ts +17 -17
  2067. package/dist/types/components/amwal-installments-timeline/amwal-installments-timeline.d.ts +106 -106
  2068. package/dist/types/components/amwal-installments-timeline/amwal-installments-timeline.stories.d.ts +67 -67
  2069. package/dist/types/components/amwal-pos/amwal-pos.d.ts +228 -228
  2070. package/dist/types/components/amwal-pos/amwal-pos.stories.d.ts +185 -185
  2071. package/dist/types/components/amwal-widget/amwal-widget-modal.d.ts +56 -56
  2072. package/dist/types/components/amwal-widget/amwal-widget.d.ts +165 -165
  2073. package/dist/types/components/amwal-widget/amwal-widget.stories.d.ts +101 -101
  2074. package/dist/types/components.d.ts +0 -206
  2075. package/dist/types/lang/i18n.d.ts +1 -1
  2076. package/dist/types/stencil-public-runtime.d.ts +21 -191
  2077. package/loader/cdn.js +3 -1
  2078. package/loader/index.cjs.js +3 -1
  2079. package/loader/index.d.ts +1 -4
  2080. package/loader/index.es2017.js +3 -1
  2081. package/loader/index.js +3 -1
  2082. package/loader/package.json +11 -0
  2083. package/package.json +29 -35
  2084. package/dist/checkout/p--tz3q7oD.js +0 -4
  2085. package/dist/checkout/p-00e120c2.entry.js +0 -1
  2086. package/dist/checkout/p-0f731364.entry.js +0 -4
  2087. package/dist/checkout/p-147541e8.entry.js +0 -1
  2088. package/dist/checkout/p-16f51173.entry.js +0 -1
  2089. package/dist/checkout/p-178c0495.entry.js +0 -1
  2090. package/dist/checkout/p-1c08169f.entry.js +0 -1
  2091. package/dist/checkout/p-1c6da25b.entry.js +0 -1
  2092. package/dist/checkout/p-1dc3efa2.entry.js +0 -1
  2093. package/dist/checkout/p-2383ebd8.entry.js +0 -1
  2094. package/dist/checkout/p-25306802.entry.js +0 -1
  2095. package/dist/checkout/p-26af1ebe.entry.js +0 -1
  2096. package/dist/checkout/p-2768f09a.entry.js +0 -1
  2097. package/dist/checkout/p-27fb8b9e.entry.js +0 -1
  2098. package/dist/checkout/p-2c421f28.entry.js +0 -1
  2099. package/dist/checkout/p-2dd918ca.entry.js +0 -1
  2100. package/dist/checkout/p-2e366473.entry.js +0 -1
  2101. package/dist/checkout/p-38f520fb.entry.js +0 -1
  2102. package/dist/checkout/p-3a262c01.entry.js +0 -1
  2103. package/dist/checkout/p-3c416dcd.entry.js +0 -1
  2104. package/dist/checkout/p-43c67eeb.entry.js +0 -1
  2105. package/dist/checkout/p-44f2b201.entry.js +0 -4
  2106. package/dist/checkout/p-470783cb.entry.js +0 -1
  2107. package/dist/checkout/p-48c40063.entry.js +0 -1
  2108. package/dist/checkout/p-490c7f14.entry.js +0 -1
  2109. package/dist/checkout/p-493952b7.entry.js +0 -1
  2110. package/dist/checkout/p-519c1a94.entry.js +0 -1
  2111. package/dist/checkout/p-523f80de.entry.js +0 -1
  2112. package/dist/checkout/p-5274360d.entry.js +0 -1
  2113. package/dist/checkout/p-550a7fdf.entry.js +0 -1
  2114. package/dist/checkout/p-5IcNt7MW.js +0 -8
  2115. package/dist/checkout/p-5a2c8845.entry.js +0 -7
  2116. package/dist/checkout/p-5d2b220e.entry.js +0 -1
  2117. package/dist/checkout/p-60bbcf96.entry.js +0 -1
  2118. package/dist/checkout/p-69233a7c.entry.js +0 -1
  2119. package/dist/checkout/p-6a6a2461.entry.js +0 -1
  2120. package/dist/checkout/p-6d4c0370.entry.js +0 -1
  2121. package/dist/checkout/p-6f4a82d2.entry.js +0 -1
  2122. package/dist/checkout/p-77ebd92f.entry.js +0 -1
  2123. package/dist/checkout/p-7YtNmL9y.js +0 -4
  2124. package/dist/checkout/p-7a153eab.entry.js +0 -4
  2125. package/dist/checkout/p-7c7e86fe.entry.js +0 -1
  2126. package/dist/checkout/p-7d9ee602.entry.js +0 -1
  2127. package/dist/checkout/p-7e3bc3c4.entry.js +0 -1
  2128. package/dist/checkout/p-8427a296.entry.js +0 -1
  2129. package/dist/checkout/p-870ec42b.entry.js +0 -4
  2130. package/dist/checkout/p-890e9953.entry.js +0 -1
  2131. package/dist/checkout/p-931d2424.entry.js +0 -4
  2132. package/dist/checkout/p-93eb6dad.entry.js +0 -1
  2133. package/dist/checkout/p-B7f9Wkif.js +0 -1
  2134. package/dist/checkout/p-BJe8ISja.js +0 -4
  2135. package/dist/checkout/p-BKaQyStq.js +0 -5
  2136. package/dist/checkout/p-BR7SJd-v.js +0 -4
  2137. package/dist/checkout/p-BY0jsxmW.js +0 -4
  2138. package/dist/checkout/p-B_Z54mfe.js +0 -5
  2139. package/dist/checkout/p-Ba57PFgY.js +0 -7
  2140. package/dist/checkout/p-BgOwfqIY.js +0 -4
  2141. package/dist/checkout/p-BmlsNFZH.js +0 -1
  2142. package/dist/checkout/p-C03M5ZSM.js +0 -1
  2143. package/dist/checkout/p-CAD1l928.js +0 -8
  2144. package/dist/checkout/p-CFLSScFJ.js +0 -4
  2145. package/dist/checkout/p-CH3Eg9_f.js +0 -7
  2146. package/dist/checkout/p-CPoSEOHb.js +0 -4
  2147. package/dist/checkout/p-CkCrVZwR.js +0 -4
  2148. package/dist/checkout/p-D0wwuiQC.js +0 -4
  2149. package/dist/checkout/p-D2NxOvQ8.js +0 -4
  2150. package/dist/checkout/p-DFxgipTc.js +0 -4
  2151. package/dist/checkout/p-DJztqcrH.js +0 -4
  2152. package/dist/checkout/p-DKg_dYcq.js +0 -4
  2153. package/dist/checkout/p-DSLRCWTg.js +0 -4
  2154. package/dist/checkout/p-DdmvYtPY.js +0 -7
  2155. package/dist/checkout/p-Drg5BcI0.js +0 -4
  2156. package/dist/checkout/p-LsffVXQ5.js +0 -4
  2157. package/dist/checkout/p-__1_zp1x.js +0 -4
  2158. package/dist/checkout/p-a5f75741.entry.js +0 -1
  2159. package/dist/checkout/p-ae30349d.entry.js +0 -1
  2160. package/dist/checkout/p-afbe752e.entry.js +0 -1
  2161. package/dist/checkout/p-b2e14651.entry.js +0 -1
  2162. package/dist/checkout/p-b36fcda4.entry.js +0 -1
  2163. package/dist/checkout/p-b67b736b.entry.js +0 -1
  2164. package/dist/checkout/p-b7bf5abe.entry.js +0 -1
  2165. package/dist/checkout/p-bb513178.entry.js +0 -1
  2166. package/dist/checkout/p-bd4e1c37.entry.js +0 -1
  2167. package/dist/checkout/p-beb2c33c.entry.js +0 -1
  2168. package/dist/checkout/p-becc350d.entry.js +0 -4
  2169. package/dist/checkout/p-c19dc56b.entry.js +0 -1
  2170. package/dist/checkout/p-c1cbd33c.entry.js +0 -1
  2171. package/dist/checkout/p-c34382ea.entry.js +0 -1
  2172. package/dist/checkout/p-c4c9e530.entry.js +0 -1
  2173. package/dist/checkout/p-c534dea9.entry.js +0 -7
  2174. package/dist/checkout/p-c7978eb8.entry.js +0 -4
  2175. package/dist/checkout/p-c8f6670e.entry.js +0 -7
  2176. package/dist/checkout/p-cb1a44cc.entry.js +0 -5
  2177. package/dist/checkout/p-cda0fb4e.entry.js +0 -1
  2178. package/dist/checkout/p-cecfb55a.entry.js +0 -1
  2179. package/dist/checkout/p-d819f4e4.entry.js +0 -1
  2180. package/dist/checkout/p-dd2fe837.entry.js +0 -1
  2181. package/dist/checkout/p-dfcadc7e.entry.js +0 -7
  2182. package/dist/checkout/p-e37ae6e2.entry.js +0 -1
  2183. package/dist/checkout/p-e8173bed.entry.js +0 -21
  2184. package/dist/checkout/p-ead19b10.entry.js +0 -1
  2185. package/dist/checkout/p-eae34719.entry.js +0 -1
  2186. package/dist/checkout/p-eff08443.entry.js +0 -1
  2187. package/dist/checkout/p-f0535bc6.entry.js +0 -1
  2188. package/dist/checkout/p-fd971fbb.entry.js +0 -1
  2189. package/dist/checkout/p-ff3211f5.entry.js +0 -1
  2190. package/dist/checkout/p-ktzqax7n.js +0 -4
  2191. package/dist/checkout/p-vDXqvDVZ.js +0 -8
  2192. package/dist/checkout/p-xxOnfNPU.js +0 -9
  2193. package/dist/checkout/svg/logo-threads.svg +0 -1
  2194. package/dist/cjs/i18n-uGNv9SLK.js +0 -13
  2195. package/dist/cjs/index-DseJYF57.js +0 -55
  2196. package/dist/cjs/index-NREvOo92.js +0 -434
  2197. package/dist/cjs/index-q1-id3dG.js +0 -3868
  2198. package/dist/cjs/ion-action-sheet_5.cjs.entry.js +0 -3821
  2199. package/dist/cjs/ion-buttons_10.cjs.entry.js +0 -1921
  2200. package/dist/cjs/ion-input-otp.cjs.entry.js +0 -649
  2201. package/dist/cjs/ion-input-password-toggle.cjs.entry.js +0 -87
  2202. package/dist/cjs/ion-label_2.cjs.entry.js +0 -106
  2203. package/dist/cjs/ion-picker-legacy-column.cjs.entry.js +0 -363
  2204. package/dist/cjs/ion-picker-legacy.cjs.entry.js +0 -301
  2205. package/dist/cjs/ion-picker_3.cjs.entry.js +0 -1157
  2206. package/dist/cjs/ion-segment-content.cjs.entry.js +0 -17
  2207. package/dist/cjs/ion-segment-view.cjs.entry.js +0 -120
  2208. package/dist/cjs/ionic-global-tfENS075.js +0 -153
  2209. package/dist/cjs/validity-ClNawnRU.js +0 -19
  2210. package/dist/components/ion-input-otp.js +0 -1
  2211. package/dist/components/ion-input-password-toggle.js +0 -1
  2212. package/dist/components/ion-picker-column-option.js +0 -1
  2213. package/dist/components/ion-picker-legacy-column.js +0 -1
  2214. package/dist/components/ion-picker-legacy.js +0 -7
  2215. package/dist/components/ion-segment-content.js +0 -1
  2216. package/dist/components/ion-segment-view.js +0 -1
  2217. package/dist/components/ion-select-modal.js +0 -1
  2218. package/dist/components/p-1a8GRr4X.js +0 -8
  2219. package/dist/components/p-84v5d37k.js +0 -5
  2220. package/dist/components/p-8qbKOEwg.js +0 -7
  2221. package/dist/components/p-B-hirT0v.js +0 -4
  2222. package/dist/components/p-B2pBbmZL.js +0 -1
  2223. package/dist/components/p-B3WORC1a.js +0 -1
  2224. package/dist/components/p-B6K4Vevt.js +0 -1
  2225. package/dist/components/p-B8CJYukv.js +0 -4
  2226. package/dist/components/p-B8rkbvHJ.js +0 -4
  2227. package/dist/components/p-BB452BOr.js +0 -1
  2228. package/dist/components/p-BGU8Nymd.js +0 -1
  2229. package/dist/components/p-BHQVufb8.js +0 -4
  2230. package/dist/components/p-BNXO_6OD.js +0 -1
  2231. package/dist/components/p-BTEOs1at.js +0 -4
  2232. package/dist/components/p-BU2g75_N.js +0 -1
  2233. package/dist/components/p-Bam2tSRs.js +0 -1
  2234. package/dist/components/p-BgdIJBVf.js +0 -4
  2235. package/dist/components/p-BgihAYme.js +0 -7
  2236. package/dist/components/p-BmVRXR1y.js +0 -4
  2237. package/dist/components/p-BxP8TDfL.js +0 -4
  2238. package/dist/components/p-ByfqFtWT.js +0 -1
  2239. package/dist/components/p-Bz350JGF.js +0 -7
  2240. package/dist/components/p-C-A_jB82.js +0 -4
  2241. package/dist/components/p-C03M5ZSM.js +0 -1
  2242. package/dist/components/p-C53feagD.js +0 -4
  2243. package/dist/components/p-CECOogQN.js +0 -4
  2244. package/dist/components/p-CH3Eg9_f.js +0 -7
  2245. package/dist/components/p-CQOdiSAf.js +0 -1
  2246. package/dist/components/p-CUAFXzfF.js +0 -1
  2247. package/dist/components/p-C_xZxwXS.js +0 -1
  2248. package/dist/components/p-CaFnxdQd.js +0 -1
  2249. package/dist/components/p-CoO47q0D.js +0 -7
  2250. package/dist/components/p-D2NxOvQ8.js +0 -4
  2251. package/dist/components/p-DDc_C9oA.js +0 -7
  2252. package/dist/components/p-DIdQsHkC.js +0 -4
  2253. package/dist/components/p-DJDxJDy6.js +0 -1
  2254. package/dist/components/p-DJztqcrH.js +0 -4
  2255. package/dist/components/p-DK1OQn93.js +0 -1
  2256. package/dist/components/p-DKg_dYcq.js +0 -4
  2257. package/dist/components/p-DMTBSB3x.js +0 -1
  2258. package/dist/components/p-DQAmWfm1.js +0 -8
  2259. package/dist/components/p-DR2jvB6s.js +0 -4
  2260. package/dist/components/p-DRov8Rcu.js +0 -4
  2261. package/dist/components/p-DVAa5Ick.js +0 -1
  2262. package/dist/components/p-DXFVmcjn.js +0 -1
  2263. package/dist/components/p-DYhpoJMW.js +0 -4
  2264. package/dist/components/p-Db1yB4_h.js +0 -4
  2265. package/dist/components/p-DcJzInl-.js +0 -4
  2266. package/dist/components/p-DexEOBMU.js +0 -8
  2267. package/dist/components/p-DiVJyqlX.js +0 -4
  2268. package/dist/components/p-DjZwclUS.js +0 -5
  2269. package/dist/components/p-DokQbOf0.js +0 -7
  2270. package/dist/components/p-Dtdm8lKC.js +0 -4
  2271. package/dist/components/p-DuZ7hY1a.js +0 -4
  2272. package/dist/components/p-Dzmy2KMF.js +0 -8
  2273. package/dist/components/p-GqmIVAr9.js +0 -1
  2274. package/dist/components/p-RvBk4hGw.js +0 -1
  2275. package/dist/components/p-RxmIKEEQ.js +0 -1
  2276. package/dist/components/p-ZjP4CjeZ.js +0 -4
  2277. package/dist/components/p-hHmYLOfE.js +0 -4
  2278. package/dist/components/p-jWFeuAB5.js +0 -1
  2279. package/dist/components/p-kYICRcU6.js +0 -1
  2280. package/dist/components/p-lwDXTYn3.js +0 -4
  2281. package/dist/components/p-oMX-ZLwD.js +0 -4
  2282. package/dist/components/p-oThWliBi.js +0 -4
  2283. package/dist/components/p-uBkJJD7w.js +0 -1
  2284. package/dist/components/p-wRbQpgeV.js +0 -1
  2285. package/dist/components/p-zVHkqcTn.js +0 -4
  2286. package/dist/esm/i18n-C_AfxZ5D.js +0 -13
  2287. package/dist/esm/index-BmlsNFZH.js +0 -29
  2288. package/dist/esm/index-DoRYA1qF.js +0 -424
  2289. package/dist/esm/index-xxOnfNPU.js +0 -3844
  2290. package/dist/esm/ion-action-sheet_5.entry.js +0 -3815
  2291. package/dist/esm/ion-buttons_10.entry.js +0 -1910
  2292. package/dist/esm/ion-input-otp.entry.js +0 -647
  2293. package/dist/esm/ion-input-password-toggle.entry.js +0 -85
  2294. package/dist/esm/ion-label_2.entry.js +0 -103
  2295. package/dist/esm/ion-picker-legacy-column.entry.js +0 -361
  2296. package/dist/esm/ion-picker-legacy.entry.js +0 -299
  2297. package/dist/esm/ion-picker_3.entry.js +0 -1153
  2298. package/dist/esm/ion-segment-content.entry.js +0 -15
  2299. package/dist/esm/ion-segment-view.entry.js +0 -118
  2300. package/dist/esm/validity-DJztqcrH.js +0 -17
  2301. /package/dist/checkout/{p-B-hirT0v.js → p-01ad898f.js} +0 -0
  2302. /package/dist/checkout/{p-DiVJyqlX.js → p-350e7423.js} +0 -0
  2303. /package/dist/checkout/{p-sObYyvOy.js → p-52b4c112.js} +0 -0
  2304. /package/dist/checkout/{p-BmVRXR1y.js → p-620fa0ec.js} +0 -0
  2305. /package/dist/checkout/{p-hHmYLOfE.js → p-94286cc3.js} +0 -0
  2306. /package/dist/checkout/{p-D4RIp70E.js → p-9efbca93.js} +0 -0
  2307. /package/dist/checkout/{p-Dtdm8lKC.js → p-9f4ac833.js} +0 -0
  2308. /package/dist/checkout/{p-C53feagD.js → p-d5862637.js} +0 -0
  2309. /package/dist/checkout/{p-ZjP4CjeZ.js → p-d7fe59ee.js} +0 -0
  2310. /package/dist/cjs/{compare-with-utils-JlLIkecm.js → compare-with-utils-adbe64a6.js} +0 -0
  2311. /package/dist/cjs/{cubic-bezier-Bv3PvaRI.js → cubic-bezier-5ff9b04e.js} +0 -0
  2312. /package/dist/cjs/{dir-Br-7_bel.js → dir-374f13f2.js} +0 -0
  2313. /package/dist/cjs/{focus-visible-Da2o6bTP.js → focus-visible-b7381162.js} +0 -0
  2314. /package/dist/cjs/{index-D3mJ1Cix.js → index-a281cac3.js} +0 -0
  2315. /package/dist/cjs/{lock-controller-58TZFRHC.js → lock-controller-e2dfece6.js} +0 -0
  2316. /package/dist/cjs/{spinner-configs-BN41iw42.js → spinner-configs-036ebfd8.js} +0 -0
  2317. /package/dist/cjs/{theme-DbHdw1Nx.js → theme-12dec869.js} +0 -0
  2318. /package/dist/cjs/{watch-options-DOFUPyuf.js → watch-options-1cccbe6a.js} +0 -0
  2319. /package/dist/{esm/lock-controller-B-hirT0v.js → components/p-01ad898f.js} +0 -0
  2320. /package/dist/{esm/theme-DiVJyqlX.js → components/p-350e7423.js} +0 -0
  2321. /package/dist/{esm/focus-visible-BmVRXR1y.js → components/p-620fa0ec.js} +0 -0
  2322. /package/dist/{esm/cubic-bezier-hHmYLOfE.js → components/p-94286cc3.js} +0 -0
  2323. /package/dist/{esm/watch-options-Dtdm8lKC.js → components/p-9f4ac833.js} +0 -0
  2324. /package/dist/{esm/dir-C53feagD.js → components/p-d5862637.js} +0 -0
  2325. /package/dist/{esm/index-ZjP4CjeZ.js → components/p-d7fe59ee.js} +0 -0
  2326. /package/dist/esm/{compare-with-utils-sObYyvOy.js → compare-with-utils-d58be312.js} +0 -0
  2327. /package/dist/esm/{spinner-configs-D4RIp70E.js → spinner-configs-c9fb0813.js} +0 -0
@@ -1,18 +1,16 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-q1-id3dG.js');
4
- var focusVisible = require('./focus-visible-Da2o6bTP.js');
5
- var helpers = require('./helpers-VdS_U_Su.js');
6
- var overlays = require('./overlays-sgG7yBK9.js');
7
- var dir = require('./dir-Br-7_bel.js');
8
- var theme = require('./theme-DbHdw1Nx.js');
9
- var index$1 = require('./index-DseJYF57.js');
10
- var ionicGlobal = require('./ionic-global-tfENS075.js');
11
- var data = require('./data-C9NB5QNL.js');
12
- require('./index-D3mJ1Cix.js');
13
- require('./hardware-back-button-CMceVPAk.js');
14
- require('./framework-delegate-BFev42vk.js');
15
- require('./gesture-controller-CiprlUhH.js');
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const index$1 = require('./index-7522b3a9.js');
6
+ const focusVisible = require('./focus-visible-b7381162.js');
7
+ const helpers = require('./helpers-72ba682d.js');
8
+ const index = require('./index-071786b4.js');
9
+ const dir = require('./dir-374f13f2.js');
10
+ const theme = require('./theme-12dec869.js');
11
+ const index$2 = require('./index-2602a653.js');
12
+ const ionicGlobal = require('./ionic-global-3915f1f1.js');
13
+ const data = require('./data-19081291.js');
16
14
 
17
15
  /*!
18
16
  * (C) Ionic http://ionicframework.com - MIT License
@@ -166,7 +164,6 @@ const getHighlightStyles = (highlightedDates, dateIsoString, el) => {
166
164
  return {
167
165
  textColor: matchingHighlight.textColor,
168
166
  backgroundColor: matchingHighlight.backgroundColor,
169
- border: matchingHighlight.border,
170
167
  };
171
168
  }
172
169
  }
@@ -179,7 +176,7 @@ const getHighlightStyles = (highlightedDates, dateIsoString, el) => {
179
176
  return highlightedDates(dateIsoString);
180
177
  }
181
178
  catch (e) {
182
- index.printIonError('[ion-datetime] - Exception thrown from provided `highlightedDates` callback. Please check your function and try again.', el, e);
179
+ index.printIonError('Exception thrown from provided `highlightedDates` callback. Please check your function and try again.', el, e);
183
180
  }
184
181
  }
185
182
  return undefined;
@@ -199,7 +196,7 @@ const warnIfTimeZoneProvided = (el, formatOptions) => {
199
196
  ((_b = formatOptions === null || formatOptions === void 0 ? void 0 : formatOptions.date) === null || _b === void 0 ? void 0 : _b.timeZoneName) ||
200
197
  ((_c = formatOptions === null || formatOptions === void 0 ? void 0 : formatOptions.time) === null || _c === void 0 ? void 0 : _c.timeZone) ||
201
198
  ((_d = formatOptions === null || formatOptions === void 0 ? void 0 : formatOptions.time) === null || _d === void 0 ? void 0 : _d.timeZoneName)) {
202
- index.printIonWarning('[ion-datetime] - "timeZone" and "timeZoneName" are not supported in "formatOptions".', el);
199
+ index.printIonWarning('Datetime: "timeZone" and "timeZoneName" are not supported in "formatOptions".', el);
203
200
  }
204
201
  };
205
202
  const checkForPresentationFormatMismatch = (el, presentation, formatOptions) => {
@@ -213,1740 +210,1635 @@ const checkForPresentationFormatMismatch = (el, presentation, formatOptions) =>
213
210
  case 'month':
214
211
  case 'year':
215
212
  if (formatOptions.date === undefined) {
216
- index.printIonWarning(`[ion-datetime] - The '${presentation}' presentation requires a date object in formatOptions.`, el);
213
+ index.printIonWarning(`Datetime: The '${presentation}' presentation requires a date object in formatOptions.`, el);
217
214
  }
218
215
  break;
219
216
  case 'time':
220
217
  if (formatOptions.time === undefined) {
221
- index.printIonWarning(`[ion-datetime] - The 'time' presentation requires a time object in formatOptions.`, el);
218
+ index.printIonWarning(`Datetime: The 'time' presentation requires a time object in formatOptions.`, el);
222
219
  }
223
220
  break;
224
221
  case 'date-time':
225
222
  case 'time-date':
226
223
  if (formatOptions.date === undefined && formatOptions.time === undefined) {
227
- index.printIonWarning(`[ion-datetime] - The '${presentation}' presentation requires either a date or time object (or both) in formatOptions.`, el);
224
+ index.printIonWarning(`Datetime: The '${presentation}' presentation requires either a date or time object (or both) in formatOptions.`, el);
228
225
  }
229
226
  break;
230
227
  }
231
228
  };
232
229
 
233
- const datetimeIosCss = () => `:host{display:flex;flex-flow:column;background:var(--background);overflow:hidden}:host(.datetime-size-fixed){width:auto;height:auto}:host(.datetime-size-fixed:not(.datetime-prefer-wheel)){max-width:350px}:host(.datetime-size-fixed.datetime-prefer-wheel){min-width:350px;max-width:max-content}:host(.datetime-size-cover){width:100%}:host .calendar-body,:host .datetime-year{opacity:0}:host(:not(.datetime-ready)) .datetime-year{position:absolute;pointer-events:none}:host(.datetime-ready) .calendar-body{opacity:1}:host(.datetime-ready) .datetime-year{display:none;opacity:1}:host .wheel-order-year-first .day-column{order:3;text-align:end}:host .wheel-order-year-first .month-column{order:2;text-align:end}:host .wheel-order-year-first .year-column{order:1;text-align:start}:host .datetime-calendar,:host .datetime-year{display:flex;flex:1 1 auto;flex-flow:column}:host(.show-month-and-year) .datetime-year{display:flex}:host(.show-month-and-year) .calendar-next-prev,:host(.show-month-and-year) .calendar-days-of-week,:host(.show-month-and-year) .calendar-body,:host(.show-month-and-year) .datetime-time{display:none}:host(.month-year-picker-open) .datetime-footer{display:none}:host(.datetime-disabled){pointer-events:none}:host(.datetime-disabled) .calendar-days-of-week,:host(.datetime-disabled) .datetime-time{opacity:0.4}:host(.datetime-readonly){pointer-events:none;}:host(.datetime-readonly) .calendar-action-buttons,:host(.datetime-readonly) .calendar-body,:host(.datetime-readonly) .datetime-year{pointer-events:initial}:host(.datetime-readonly) .calendar-day[disabled]:not(.calendar-day-constrained),:host(.datetime-readonly) .datetime-action-buttons ion-button[disabled]{opacity:1}:host .datetime-header .datetime-title{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host .datetime-action-buttons.has-clear-button{width:100%}:host .datetime-action-buttons ion-buttons{display:flex;justify-content:space-between}.datetime-action-buttons .datetime-action-buttons-container{display:flex}:host .calendar-action-buttons{display:flex;justify-content:space-between}:host .calendar-action-buttons ion-button{--background:transparent}:host .calendar-days-of-week{display:grid;grid-template-columns:repeat(7, 1fr);text-align:center}.calendar-days-of-week .day-of-week{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:0;margin-bottom:0}:host .calendar-body{display:flex;flex-grow:1;scroll-snap-type:x mandatory;overflow-x:scroll;overflow-y:hidden;scrollbar-width:none;outline:none}:host .calendar-body .calendar-month{display:flex;flex-flow:column;scroll-snap-align:start;scroll-snap-stop:always;flex-shrink:0;width:100%}:host .calendar-body .calendar-month-disabled{scroll-snap-align:none}:host .calendar-body::-webkit-scrollbar{display:none}:host .calendar-body .calendar-month-grid{display:grid;grid-template-columns:repeat(7, 1fr)}:host .calendar-day-wrapper{display:flex;align-items:center;justify-content:center;min-width:0;min-height:0;overflow:visible}.calendar-day{border-radius:50%;-webkit-padding-start:0px;padding-inline-start:0px;-webkit-padding-end:0px;padding-inline-end:0px;padding-top:0px;padding-bottom:0px;-webkit-margin-start:0px;margin-inline-start:0px;-webkit-margin-end:0px;margin-inline-end:0px;margin-top:0px;margin-bottom:0px;display:flex;position:relative;align-items:center;justify-content:center;border:none;outline:none;background:none;color:currentColor;font-family:var(--ion-font-family, inherit);cursor:pointer;appearance:none;z-index:0}:host .calendar-day[disabled]{pointer-events:none;opacity:0.4}.calendar-day:not(.calendar-day-adjacent-day):focus{background:rgba(var(--ion-color-base-rgb), 0.2);box-shadow:0px 0px 0px 4px rgba(var(--ion-color-base-rgb), 0.2)}:host .datetime-time{display:flex;justify-content:space-between}:host(.datetime-presentation-time) .datetime-time{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0}:host ion-popover{--height:200px}:host .time-header{display:flex;align-items:center}:host .time-body{border-radius:8px;-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px;padding-top:6px;padding-bottom:6px;display:flex;border:none;background:var(--ion-color-step-300, var(--ion-background-color-step-300, #edeef0));color:var(--ion-text-color, #000);font-family:inherit;font-size:inherit;cursor:pointer;appearance:none}:host .time-body-active{color:var(--ion-color-base)}:host(.in-item){position:static}:host(.show-month-and-year) .calendar-action-buttons .calendar-month-year-toggle{color:var(--ion-color-base)}.calendar-month-year{min-width:0}.calendar-month-year-toggle{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;position:relative;border:0;outline:none;background:transparent;cursor:pointer;z-index:1}.calendar-month-year-toggle::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0;transition:opacity 15ms linear, background-color 15ms linear;z-index:-1}.calendar-month-year-toggle.ion-focused::after{background:currentColor}.calendar-month-year-toggle:disabled{opacity:0.3;pointer-events:none}.calendar-month-year-toggle ion-icon{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:0;padding-inline-end:0;padding-top:0;padding-bottom:0;flex-shrink:0}.calendar-month-year-toggle #toggle-wrapper{display:inline-flex;align-items:center}ion-picker{--highlight-background:var(--wheel-highlight-background);--highlight-border-radius:var(--wheel-highlight-border-radius);--fade-background-rgb:var(--wheel-fade-background-rgb)}:host{--background:var(--ion-color-light, #f4f5f8);--background-rgb:var(--ion-color-light-rgb, 244, 245, 248);--title-color:var(--ion-color-step-600, var(--ion-text-color-step-400, #666666))}:host(.datetime-presentation-date-time:not(.datetime-prefer-wheel)),:host(.datetime-presentation-time-date:not(.datetime-prefer-wheel)),:host(.datetime-presentation-date:not(.datetime-prefer-wheel)){min-height:350px}:host .datetime-header{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:16px;padding-bottom:16px;border-bottom:0.55px solid var(--ion-color-step-200, var(--ion-background-color-step-200, #cccccc));font-size:min(0.875rem, 22.4px)}:host .datetime-header .datetime-title{color:var(--title-color)}:host .datetime-header .datetime-selected-date{margin-top:10px}.calendar-month-year-toggle{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:0px;padding-bottom:0px;min-height:44px;font-size:min(1rem, 25.6px);font-weight:600}.calendar-month-year-toggle.ion-focused::after{opacity:0.15}.calendar-month-year-toggle #toggle-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:8px;margin-inline-end:8px;margin-top:10px;margin-bottom:10px}:host .calendar-action-buttons .calendar-month-year-toggle ion-icon,:host .calendar-action-buttons ion-buttons ion-button{color:var(--ion-color-base)}:host .calendar-action-buttons ion-buttons{padding-left:0;padding-right:0;padding-top:8px;padding-bottom:0}:host .calendar-action-buttons ion-buttons ion-button{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}:host .calendar-days-of-week{-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px;padding-top:0;padding-bottom:0;color:var(--ion-color-step-300, var(--ion-text-color-step-700, #b3b3b3));font-size:min(0.75rem, 19.2px);font-weight:600;line-height:24px;text-transform:uppercase}@supports (border-radius: mod(1px, 1px)){.calendar-days-of-week .day-of-week{width:clamp(20px, calc(mod(min(1rem, 24px), 24px) * 10), 100%);height:24px;overflow:hidden}.calendar-day{border-radius:max(8px, mod(min(1rem, 24px), 24px) * 10)}}@supports ((border-radius: mod(1px, 1px)) and (background: -webkit-named-image(apple-pay-logo-black)) and (not (contain-intrinsic-size: none))) or (not (border-radius: mod(1px, 1px))){.calendar-days-of-week .day-of-week{width:auto;height:auto;overflow:initial}.calendar-day{border-radius:32px}}:host .calendar-body .calendar-month .calendar-month-grid{-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px;padding-top:8px;padding-bottom:8px;align-items:center;height:calc(100% - 16px)}:host .calendar-day-wrapper{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:4px;padding-inline-end:4px;padding-top:4px;padding-bottom:4px;height:0;min-height:1rem}:host .calendar-day{width:40px;min-width:40px;height:40px;font-size:min(1.25rem, 32px)}.calendar-day.calendar-day-active{background:rgba(var(--ion-color-base-rgb), 0.2);font-size:min(1.375rem, 35.2px)}:host .calendar-day.calendar-day-today{color:var(--ion-color-base)}:host .calendar-day.calendar-day-active,:host .calendar-day.calendar-day-adjacent-day.calendar-day-active{color:var(--ion-color-base);font-weight:600}:host .calendar-day.calendar-day-today.calendar-day-active{background:var(--ion-color-base);color:var(--ion-color-contrast)}:host .calendar-day.calendar-day-adjacent-day{color:var(--ion-color-step-300, var(--ion-text-color-step-700, #b3b3b3))}:host .datetime-time{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:8px;padding-bottom:16px;font-size:min(1rem, 25.6px)}:host .datetime-time .time-header{font-weight:600}:host .datetime-buttons{-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px;padding-top:8px;padding-bottom:8px;border-top:0.55px solid var(--ion-color-step-200, var(--ion-background-color-step-200, #cccccc))}:host .datetime-buttons ::slotted(ion-buttons),:host .datetime-buttons ion-buttons{display:flex;align-items:center;justify-content:space-between}:host .datetime-action-buttons{width:100%}`;
230
+ const datetimeIosCss = ":host{display:flex;flex-flow:column;background:var(--background);overflow:hidden}ion-picker-column-internal{min-width:26px}:host(.datetime-size-fixed){width:auto;height:auto}:host(.datetime-size-fixed:not(.datetime-prefer-wheel)){max-width:350px}:host(.datetime-size-fixed.datetime-prefer-wheel){min-width:350px;max-width:max-content}:host(.datetime-size-cover){width:100%}:host .calendar-body,:host .datetime-year{opacity:0}:host(:not(.datetime-ready)) .datetime-year{position:absolute;pointer-events:none}:host(.datetime-ready) .calendar-body{opacity:1}:host(.datetime-ready) .datetime-year{display:none;opacity:1}:host .wheel-order-year-first .day-column{order:3;text-align:end}:host .wheel-order-year-first .month-column{order:2;text-align:end}:host .wheel-order-year-first .year-column{order:1;text-align:start}:host .datetime-calendar,:host .datetime-year{display:flex;flex:1 1 auto;flex-flow:column}:host(.show-month-and-year) .datetime-year{display:flex}@supports (background: -webkit-named-image(apple-pay-logo-black)) and (not (aspect-ratio: 1/1)){:host(.show-month-and-year) .calendar-next-prev,:host(.show-month-and-year) .calendar-days-of-week,:host(.show-month-and-year) .calendar-body,:host(.show-month-and-year) .datetime-time{position:absolute;visibility:hidden;pointer-events:none}@supports (inset-inline-start: 0){:host(.show-month-and-year) .calendar-next-prev,:host(.show-month-and-year) .calendar-days-of-week,:host(.show-month-and-year) .calendar-body,:host(.show-month-and-year) .datetime-time{inset-inline-start:-99999px}}@supports not (inset-inline-start: 0){:host(.show-month-and-year) .calendar-next-prev,:host(.show-month-and-year) .calendar-days-of-week,:host(.show-month-and-year) .calendar-body,:host(.show-month-and-year) .datetime-time{left:-99999px}:host-context([dir=rtl]):host(.show-month-and-year) .calendar-next-prev,:host-context([dir=rtl]).show-month-and-year .calendar-next-prev,:host-context([dir=rtl]):host(.show-month-and-year) .calendar-days-of-week,:host-context([dir=rtl]).show-month-and-year .calendar-days-of-week,:host-context([dir=rtl]):host(.show-month-and-year) .calendar-body,:host-context([dir=rtl]).show-month-and-year .calendar-body,:host-context([dir=rtl]):host(.show-month-and-year) .datetime-time,:host-context([dir=rtl]).show-month-and-year .datetime-time{left:unset;right:unset;right:-99999px}@supports selector(:dir(rtl)){:host(.show-month-and-year:dir(rtl)) .calendar-next-prev,:host(.show-month-and-year:dir(rtl)) .calendar-days-of-week,:host(.show-month-and-year:dir(rtl)) .calendar-body,:host(.show-month-and-year:dir(rtl)) .datetime-time{left:unset;right:unset;right:-99999px}}}}@supports (not (background: -webkit-named-image(apple-pay-logo-black))) or ((background: -webkit-named-image(apple-pay-logo-black)) and (aspect-ratio: 1/1)){:host(.show-month-and-year) .calendar-next-prev,:host(.show-month-and-year) .calendar-days-of-week,:host(.show-month-and-year) .calendar-body,:host(.show-month-and-year) .datetime-time{display:none}}:host(.month-year-picker-open) .datetime-footer{display:none}:host(.datetime-disabled){pointer-events:none}:host(.datetime-disabled) .calendar-days-of-week,:host(.datetime-disabled) .datetime-time{opacity:0.4}:host(.datetime-readonly){pointer-events:none;}:host(.datetime-readonly) .calendar-action-buttons,:host(.datetime-readonly) .calendar-body,:host(.datetime-readonly) .datetime-year{pointer-events:initial}:host(.datetime-readonly) .calendar-day[disabled]:not(.calendar-day-constrained),:host(.datetime-readonly) .datetime-action-buttons ion-button[disabled]{opacity:1}:host .datetime-header .datetime-title{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host .datetime-action-buttons.has-clear-button{width:100%}:host .datetime-action-buttons ion-buttons{display:flex;justify-content:space-between}.datetime-action-buttons .datetime-action-buttons-container{display:flex}:host .calendar-action-buttons{display:flex;justify-content:space-between}:host .calendar-action-buttons ion-item,:host .calendar-action-buttons ion-button{--background:translucent}:host .calendar-action-buttons ion-item ion-label{display:flex;align-items:center;width:auto}:host .calendar-action-buttons ion-item ion-icon{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:0;padding-inline-end:0;padding-top:0;padding-bottom:0}:host .calendar-days-of-week{display:grid;grid-template-columns:repeat(7, 1fr);text-align:center}.calendar-days-of-week .day-of-week{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:0;margin-bottom:0}:host .calendar-body{display:flex;flex-grow:1;scroll-snap-type:x mandatory;overflow-x:scroll;overflow-y:hidden;scrollbar-width:none;outline:none}:host .calendar-body .calendar-month{display:flex;flex-flow:column;scroll-snap-align:start;scroll-snap-stop:always;flex-shrink:0;width:100%}:host .calendar-body .calendar-month-disabled{scroll-snap-align:none}:host .calendar-body::-webkit-scrollbar{display:none}:host .calendar-body .calendar-month-grid{display:grid;grid-template-columns:repeat(7, 1fr)}:host .calendar-day-wrapper{display:flex;align-items:center;justify-content:center;min-width:0;min-height:0;overflow:visible}.calendar-day{border-radius:50%;-webkit-padding-start:0px;padding-inline-start:0px;-webkit-padding-end:0px;padding-inline-end:0px;padding-top:0px;padding-bottom:0px;-webkit-margin-start:0px;margin-inline-start:0px;-webkit-margin-end:0px;margin-inline-end:0px;margin-top:0px;margin-bottom:0px;display:flex;position:relative;align-items:center;justify-content:center;border:none;outline:none;background:none;color:currentColor;font-family:var(--ion-font-family, inherit);cursor:pointer;appearance:none;z-index:0}:host .calendar-day[disabled]{pointer-events:none;opacity:0.4}.calendar-day:focus{background:rgba(var(--ion-color-base-rgb), 0.2);box-shadow:0px 0px 0px 4px rgba(var(--ion-color-base-rgb), 0.2)}:host .datetime-time{display:flex;justify-content:space-between}:host(.datetime-presentation-time) .datetime-time{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0}:host ion-popover{--height:200px}:host .time-header{display:flex;align-items:center}:host .time-body{border-radius:8px;-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px;padding-top:6px;padding-bottom:6px;display:flex;border:none;background:var(--ion-color-step-300, #edeef0);color:var(--ion-text-color, #000);font-family:inherit;font-size:inherit;cursor:pointer;appearance:none}:host .time-body-active{color:var(--ion-color-base)}:host(.in-item){position:static}:host(.show-month-and-year) .calendar-action-buttons ion-item{--color:var(--ion-color-base)}:host{--background:var(--ion-color-light, #ffffff);--background-rgb:var(--ion-color-light-rgb);--title-color:var(--ion-color-step-600, #666666)}:host(.datetime-presentation-date-time:not(.datetime-prefer-wheel)),:host(.datetime-presentation-time-date:not(.datetime-prefer-wheel)),:host(.datetime-presentation-date:not(.datetime-prefer-wheel)){min-height:350px}:host .datetime-header{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:16px;padding-bottom:16px;border-bottom:0.55px solid var(--ion-color-step-200, #cccccc);font-size:min(0.875rem, 22.4px)}:host .datetime-header .datetime-title{color:var(--title-color)}:host .datetime-header .datetime-selected-date{margin-top:10px}:host .calendar-action-buttons ion-item{--padding-start:16px;--background-hover:transparent;--background-activated:transparent;font-size:min(1rem, 25.6px);font-weight:600}:host .calendar-action-buttons ion-item ion-icon,:host .calendar-action-buttons ion-buttons ion-button{color:var(--ion-color-base)}:host .calendar-action-buttons ion-buttons{padding-left:0;padding-right:0;padding-top:8px;padding-bottom:0}:host .calendar-action-buttons ion-buttons ion-button{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}:host .calendar-days-of-week{-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px;padding-top:0;padding-bottom:0;color:var(--ion-color-step-300, #b3b3b3);font-size:min(0.75rem, 19.2px);font-weight:600;line-height:24px;text-transform:uppercase}@supports (border-radius: mod(1px, 1px)){.calendar-days-of-week .day-of-week{width:clamp(20px, calc(mod(min(1rem, 24px), 24px) * 10), 100%);height:24px;overflow:hidden}.calendar-day{border-radius:max(8px, mod(min(1rem, 24px), 24px) * 10)}}@supports ((border-radius: mod(1px, 1px)) and (background: -webkit-named-image(apple-pay-logo-black)) and (not (contain-intrinsic-size: none))) or (not (border-radius: mod(1px, 1px))){.calendar-days-of-week .day-of-week{width:auto;height:auto;overflow:initial}.calendar-day{border-radius:32px}}:host .calendar-body .calendar-month .calendar-month-grid{-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px;padding-top:8px;padding-bottom:8px;align-items:center;height:calc(100% - 16px)}:host .calendar-day-wrapper{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:4px;padding-inline-end:4px;padding-top:4px;padding-bottom:4px;height:0;min-height:1rem}:host .calendar-day{width:40px;min-width:40px;height:40px;font-size:min(1.25rem, 32px)}.calendar-day.calendar-day-active{background:rgba(var(--ion-color-base-rgb), 0.2)}:host .calendar-day.calendar-day-today{color:var(--ion-color-base)}:host .calendar-day.calendar-day-active{color:var(--ion-color-base);font-weight:600}:host .calendar-day.calendar-day-today.calendar-day-active{background:var(--ion-color-base);color:var(--ion-color-contrast)}:host .datetime-time{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:8px;padding-bottom:16px;font-size:min(1rem, 25.6px)}:host .datetime-time .time-header{font-weight:600}:host .datetime-buttons{-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px;padding-top:8px;padding-bottom:8px;border-top:0.55px solid var(--ion-color-step-200, #cccccc)}:host .datetime-buttons ::slotted(ion-buttons),:host .datetime-buttons ion-buttons{display:flex;align-items:center;justify-content:space-between}:host .datetime-action-buttons{width:100%}";
234
231
 
235
- const datetimeMdCss = () => `:host{display:flex;flex-flow:column;background:var(--background);overflow:hidden}:host(.datetime-size-fixed){width:auto;height:auto}:host(.datetime-size-fixed:not(.datetime-prefer-wheel)){max-width:350px}:host(.datetime-size-fixed.datetime-prefer-wheel){min-width:350px;max-width:max-content}:host(.datetime-size-cover){width:100%}:host .calendar-body,:host .datetime-year{opacity:0}:host(:not(.datetime-ready)) .datetime-year{position:absolute;pointer-events:none}:host(.datetime-ready) .calendar-body{opacity:1}:host(.datetime-ready) .datetime-year{display:none;opacity:1}:host .wheel-order-year-first .day-column{order:3;text-align:end}:host .wheel-order-year-first .month-column{order:2;text-align:end}:host .wheel-order-year-first .year-column{order:1;text-align:start}:host .datetime-calendar,:host .datetime-year{display:flex;flex:1 1 auto;flex-flow:column}:host(.show-month-and-year) .datetime-year{display:flex}:host(.show-month-and-year) .calendar-next-prev,:host(.show-month-and-year) .calendar-days-of-week,:host(.show-month-and-year) .calendar-body,:host(.show-month-and-year) .datetime-time{display:none}:host(.month-year-picker-open) .datetime-footer{display:none}:host(.datetime-disabled){pointer-events:none}:host(.datetime-disabled) .calendar-days-of-week,:host(.datetime-disabled) .datetime-time{opacity:0.4}:host(.datetime-readonly){pointer-events:none;}:host(.datetime-readonly) .calendar-action-buttons,:host(.datetime-readonly) .calendar-body,:host(.datetime-readonly) .datetime-year{pointer-events:initial}:host(.datetime-readonly) .calendar-day[disabled]:not(.calendar-day-constrained),:host(.datetime-readonly) .datetime-action-buttons ion-button[disabled]{opacity:1}:host .datetime-header .datetime-title{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host .datetime-action-buttons.has-clear-button{width:100%}:host .datetime-action-buttons ion-buttons{display:flex;justify-content:space-between}.datetime-action-buttons .datetime-action-buttons-container{display:flex}:host .calendar-action-buttons{display:flex;justify-content:space-between}:host .calendar-action-buttons ion-button{--background:transparent}:host .calendar-days-of-week{display:grid;grid-template-columns:repeat(7, 1fr);text-align:center}.calendar-days-of-week .day-of-week{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:0;margin-bottom:0}:host .calendar-body{display:flex;flex-grow:1;scroll-snap-type:x mandatory;overflow-x:scroll;overflow-y:hidden;scrollbar-width:none;outline:none}:host .calendar-body .calendar-month{display:flex;flex-flow:column;scroll-snap-align:start;scroll-snap-stop:always;flex-shrink:0;width:100%}:host .calendar-body .calendar-month-disabled{scroll-snap-align:none}:host .calendar-body::-webkit-scrollbar{display:none}:host .calendar-body .calendar-month-grid{display:grid;grid-template-columns:repeat(7, 1fr)}:host .calendar-day-wrapper{display:flex;align-items:center;justify-content:center;min-width:0;min-height:0;overflow:visible}.calendar-day{border-radius:50%;-webkit-padding-start:0px;padding-inline-start:0px;-webkit-padding-end:0px;padding-inline-end:0px;padding-top:0px;padding-bottom:0px;-webkit-margin-start:0px;margin-inline-start:0px;-webkit-margin-end:0px;margin-inline-end:0px;margin-top:0px;margin-bottom:0px;display:flex;position:relative;align-items:center;justify-content:center;border:none;outline:none;background:none;color:currentColor;font-family:var(--ion-font-family, inherit);cursor:pointer;appearance:none;z-index:0}:host .calendar-day[disabled]{pointer-events:none;opacity:0.4}.calendar-day:not(.calendar-day-adjacent-day):focus{background:rgba(var(--ion-color-base-rgb), 0.2);box-shadow:0px 0px 0px 4px rgba(var(--ion-color-base-rgb), 0.2)}:host .datetime-time{display:flex;justify-content:space-between}:host(.datetime-presentation-time) .datetime-time{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0}:host ion-popover{--height:200px}:host .time-header{display:flex;align-items:center}:host .time-body{border-radius:8px;-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px;padding-top:6px;padding-bottom:6px;display:flex;border:none;background:var(--ion-color-step-300, var(--ion-background-color-step-300, #edeef0));color:var(--ion-text-color, #000);font-family:inherit;font-size:inherit;cursor:pointer;appearance:none}:host .time-body-active{color:var(--ion-color-base)}:host(.in-item){position:static}:host(.show-month-and-year) .calendar-action-buttons .calendar-month-year-toggle{color:var(--ion-color-base)}.calendar-month-year{min-width:0}.calendar-month-year-toggle{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;position:relative;border:0;outline:none;background:transparent;cursor:pointer;z-index:1}.calendar-month-year-toggle::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0;transition:opacity 15ms linear, background-color 15ms linear;z-index:-1}.calendar-month-year-toggle.ion-focused::after{background:currentColor}.calendar-month-year-toggle:disabled{opacity:0.3;pointer-events:none}.calendar-month-year-toggle ion-icon{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:0;padding-inline-end:0;padding-top:0;padding-bottom:0;flex-shrink:0}.calendar-month-year-toggle #toggle-wrapper{display:inline-flex;align-items:center}ion-picker{--highlight-background:var(--wheel-highlight-background);--highlight-border-radius:var(--wheel-highlight-border-radius);--fade-background-rgb:var(--wheel-fade-background-rgb)}:host{--background:var(--ion-color-step-100, var(--ion-background-color-step-100, #ffffff));--title-color:var(--ion-color-contrast)}:host .datetime-header{-webkit-padding-start:20px;padding-inline-start:20px;-webkit-padding-end:20px;padding-inline-end:20px;padding-top:20px;padding-bottom:20px;background:var(--ion-color-base);color:var(--title-color)}:host .datetime-header .datetime-title{font-size:0.75rem;text-transform:uppercase}:host .datetime-header .datetime-selected-date{margin-top:30px;font-size:2.125rem}:host .calendar-action-buttons ion-button{--color:var(--ion-color-step-650, var(--ion-text-color-step-350, #595959))}.calendar-month-year-toggle{-webkit-padding-start:20px;padding-inline-start:20px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:12px;padding-bottom:12px;min-height:48px;background:transparent;color:var(--ion-color-step-650, var(--ion-text-color-step-350, #595959));z-index:1}.calendar-month-year-toggle.ion-focused::after{opacity:0.04}.calendar-month-year-toggle ion-ripple-effect{color:currentColor}@media (any-hover: hover){.calendar-month-year-toggle.ion-activatable:not(.ion-focused):hover::after{background:currentColor;opacity:0.04}}:host .calendar-days-of-week{-webkit-padding-start:10px;padding-inline-start:10px;-webkit-padding-end:10px;padding-inline-end:10px;padding-top:0px;padding-bottom:0px;color:var(--ion-color-step-500, var(--ion-text-color-step-500, gray));font-size:0.875rem;line-height:36px}:host .calendar-body .calendar-month .calendar-month-grid{-webkit-padding-start:10px;padding-inline-start:10px;-webkit-padding-end:10px;padding-inline-end:10px;padding-top:4px;padding-bottom:4px;grid-template-rows:repeat(6, 1fr)}:host .calendar-day{width:42px;min-width:42px;height:42px;font-size:0.875rem}:host .calendar-day.calendar-day-today{border:1px solid var(--ion-color-base);color:var(--ion-color-base)}:host .calendar-day.calendar-day-active,:host .calendar-day.calendar-day-adjacent-day.calendar-day-active{color:var(--ion-color-contrast)}.calendar-day.calendar-day-active,.calendar-day.calendar-day-active:focus{border:1px solid var(--ion-color-base);background:var(--ion-color-base)}:host .calendar-day.calendar-day-adjacent-day{color:var(--ion-color-step-500, var(--ion-text-color-step-500, gray))}:host .datetime-time{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:8px;padding-bottom:8px}:host .time-header{color:var(--ion-color-step-650, var(--ion-text-color-step-350, #595959))}:host(.datetime-presentation-month) .datetime-year,:host(.datetime-presentation-year) .datetime-year,:host(.datetime-presentation-month-year) .datetime-year{margin-top:20px;margin-bottom:20px}:host .datetime-buttons{-webkit-padding-start:10px;padding-inline-start:10px;-webkit-padding-end:10px;padding-inline-end:10px;padding-top:10px;padding-bottom:10px;display:flex;align-items:center;justify-content:flex-end}`;
232
+ const datetimeMdCss = ":host{display:flex;flex-flow:column;background:var(--background);overflow:hidden}ion-picker-column-internal{min-width:26px}:host(.datetime-size-fixed){width:auto;height:auto}:host(.datetime-size-fixed:not(.datetime-prefer-wheel)){max-width:350px}:host(.datetime-size-fixed.datetime-prefer-wheel){min-width:350px;max-width:max-content}:host(.datetime-size-cover){width:100%}:host .calendar-body,:host .datetime-year{opacity:0}:host(:not(.datetime-ready)) .datetime-year{position:absolute;pointer-events:none}:host(.datetime-ready) .calendar-body{opacity:1}:host(.datetime-ready) .datetime-year{display:none;opacity:1}:host .wheel-order-year-first .day-column{order:3;text-align:end}:host .wheel-order-year-first .month-column{order:2;text-align:end}:host .wheel-order-year-first .year-column{order:1;text-align:start}:host .datetime-calendar,:host .datetime-year{display:flex;flex:1 1 auto;flex-flow:column}:host(.show-month-and-year) .datetime-year{display:flex}@supports (background: -webkit-named-image(apple-pay-logo-black)) and (not (aspect-ratio: 1/1)){:host(.show-month-and-year) .calendar-next-prev,:host(.show-month-and-year) .calendar-days-of-week,:host(.show-month-and-year) .calendar-body,:host(.show-month-and-year) .datetime-time{position:absolute;visibility:hidden;pointer-events:none}@supports (inset-inline-start: 0){:host(.show-month-and-year) .calendar-next-prev,:host(.show-month-and-year) .calendar-days-of-week,:host(.show-month-and-year) .calendar-body,:host(.show-month-and-year) .datetime-time{inset-inline-start:-99999px}}@supports not (inset-inline-start: 0){:host(.show-month-and-year) .calendar-next-prev,:host(.show-month-and-year) .calendar-days-of-week,:host(.show-month-and-year) .calendar-body,:host(.show-month-and-year) .datetime-time{left:-99999px}:host-context([dir=rtl]):host(.show-month-and-year) .calendar-next-prev,:host-context([dir=rtl]).show-month-and-year .calendar-next-prev,:host-context([dir=rtl]):host(.show-month-and-year) .calendar-days-of-week,:host-context([dir=rtl]).show-month-and-year .calendar-days-of-week,:host-context([dir=rtl]):host(.show-month-and-year) .calendar-body,:host-context([dir=rtl]).show-month-and-year .calendar-body,:host-context([dir=rtl]):host(.show-month-and-year) .datetime-time,:host-context([dir=rtl]).show-month-and-year .datetime-time{left:unset;right:unset;right:-99999px}@supports selector(:dir(rtl)){:host(.show-month-and-year:dir(rtl)) .calendar-next-prev,:host(.show-month-and-year:dir(rtl)) .calendar-days-of-week,:host(.show-month-and-year:dir(rtl)) .calendar-body,:host(.show-month-and-year:dir(rtl)) .datetime-time{left:unset;right:unset;right:-99999px}}}}@supports (not (background: -webkit-named-image(apple-pay-logo-black))) or ((background: -webkit-named-image(apple-pay-logo-black)) and (aspect-ratio: 1/1)){:host(.show-month-and-year) .calendar-next-prev,:host(.show-month-and-year) .calendar-days-of-week,:host(.show-month-and-year) .calendar-body,:host(.show-month-and-year) .datetime-time{display:none}}:host(.month-year-picker-open) .datetime-footer{display:none}:host(.datetime-disabled){pointer-events:none}:host(.datetime-disabled) .calendar-days-of-week,:host(.datetime-disabled) .datetime-time{opacity:0.4}:host(.datetime-readonly){pointer-events:none;}:host(.datetime-readonly) .calendar-action-buttons,:host(.datetime-readonly) .calendar-body,:host(.datetime-readonly) .datetime-year{pointer-events:initial}:host(.datetime-readonly) .calendar-day[disabled]:not(.calendar-day-constrained),:host(.datetime-readonly) .datetime-action-buttons ion-button[disabled]{opacity:1}:host .datetime-header .datetime-title{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host .datetime-action-buttons.has-clear-button{width:100%}:host .datetime-action-buttons ion-buttons{display:flex;justify-content:space-between}.datetime-action-buttons .datetime-action-buttons-container{display:flex}:host .calendar-action-buttons{display:flex;justify-content:space-between}:host .calendar-action-buttons ion-item,:host .calendar-action-buttons ion-button{--background:translucent}:host .calendar-action-buttons ion-item ion-label{display:flex;align-items:center;width:auto}:host .calendar-action-buttons ion-item ion-icon{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:0;padding-inline-end:0;padding-top:0;padding-bottom:0}:host .calendar-days-of-week{display:grid;grid-template-columns:repeat(7, 1fr);text-align:center}.calendar-days-of-week .day-of-week{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:0;margin-bottom:0}:host .calendar-body{display:flex;flex-grow:1;scroll-snap-type:x mandatory;overflow-x:scroll;overflow-y:hidden;scrollbar-width:none;outline:none}:host .calendar-body .calendar-month{display:flex;flex-flow:column;scroll-snap-align:start;scroll-snap-stop:always;flex-shrink:0;width:100%}:host .calendar-body .calendar-month-disabled{scroll-snap-align:none}:host .calendar-body::-webkit-scrollbar{display:none}:host .calendar-body .calendar-month-grid{display:grid;grid-template-columns:repeat(7, 1fr)}:host .calendar-day-wrapper{display:flex;align-items:center;justify-content:center;min-width:0;min-height:0;overflow:visible}.calendar-day{border-radius:50%;-webkit-padding-start:0px;padding-inline-start:0px;-webkit-padding-end:0px;padding-inline-end:0px;padding-top:0px;padding-bottom:0px;-webkit-margin-start:0px;margin-inline-start:0px;-webkit-margin-end:0px;margin-inline-end:0px;margin-top:0px;margin-bottom:0px;display:flex;position:relative;align-items:center;justify-content:center;border:none;outline:none;background:none;color:currentColor;font-family:var(--ion-font-family, inherit);cursor:pointer;appearance:none;z-index:0}:host .calendar-day[disabled]{pointer-events:none;opacity:0.4}.calendar-day:focus{background:rgba(var(--ion-color-base-rgb), 0.2);box-shadow:0px 0px 0px 4px rgba(var(--ion-color-base-rgb), 0.2)}:host .datetime-time{display:flex;justify-content:space-between}:host(.datetime-presentation-time) .datetime-time{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0}:host ion-popover{--height:200px}:host .time-header{display:flex;align-items:center}:host .time-body{border-radius:8px;-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px;padding-top:6px;padding-bottom:6px;display:flex;border:none;background:var(--ion-color-step-300, #edeef0);color:var(--ion-text-color, #000);font-family:inherit;font-size:inherit;cursor:pointer;appearance:none}:host .time-body-active{color:var(--ion-color-base)}:host(.in-item){position:static}:host(.show-month-and-year) .calendar-action-buttons ion-item{--color:var(--ion-color-base)}:host{--background:var(--ion-color-step-100, #ffffff);--title-color:var(--ion-color-contrast)}:host .datetime-header{-webkit-padding-start:20px;padding-inline-start:20px;-webkit-padding-end:20px;padding-inline-end:20px;padding-top:20px;padding-bottom:20px;background:var(--ion-color-base);color:var(--title-color)}:host .datetime-header .datetime-title{font-size:0.75rem;text-transform:uppercase}:host .datetime-header .datetime-selected-date{margin-top:30px;font-size:2.125rem}:host .datetime-calendar .calendar-action-buttons ion-item{--padding-start:20px}:host .calendar-action-buttons ion-item,:host .calendar-action-buttons ion-button{--color:var(--ion-color-step-650, #595959)}:host .calendar-days-of-week{-webkit-padding-start:10px;padding-inline-start:10px;-webkit-padding-end:10px;padding-inline-end:10px;padding-top:0px;padding-bottom:0px;color:var(--ion-color-step-500, gray);font-size:0.875rem;line-height:36px}:host .calendar-body .calendar-month .calendar-month-grid{-webkit-padding-start:10px;padding-inline-start:10px;-webkit-padding-end:10px;padding-inline-end:10px;padding-top:4px;padding-bottom:4px;grid-template-rows:repeat(6, 1fr)}:host .calendar-day{width:42px;min-width:42px;height:42px;font-size:0.875rem}:host .calendar-day.calendar-day-today{border:1px solid var(--ion-color-base);color:var(--ion-color-base)}:host .calendar-day.calendar-day-active{color:var(--ion-color-contrast)}.calendar-day.calendar-day-active{border:1px solid var(--ion-color-base);background:var(--ion-color-base)}:host .datetime-time{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:8px;padding-bottom:8px}:host .time-header{color:var(--ion-color-step-650, #595959)}:host(.datetime-presentation-month) .datetime-year,:host(.datetime-presentation-year) .datetime-year,:host(.datetime-presentation-month-year) .datetime-year{margin-top:20px;margin-bottom:20px}:host .datetime-buttons{-webkit-padding-start:10px;padding-inline-start:10px;-webkit-padding-end:10px;padding-inline-end:10px;padding-top:10px;padding-bottom:10px;display:flex;align-items:center;justify-content:flex-end}";
236
233
 
237
234
  const Datetime = class {
238
- constructor(hostRef) {
239
- index.registerInstance(this, hostRef);
240
- this.ionCancel = index.createEvent(this, "ionCancel", 7);
241
- this.ionChange = index.createEvent(this, "ionChange", 7);
242
- this.ionValueChange = index.createEvent(this, "ionValueChange", 7);
243
- this.ionFocus = index.createEvent(this, "ionFocus", 7);
244
- this.ionBlur = index.createEvent(this, "ionBlur", 7);
245
- this.ionStyle = index.createEvent(this, "ionStyle", 7);
246
- this.ionRender = index.createEvent(this, "ionRender", 7);
247
- this.inputId = `ion-dt-${datetimeIds++}`;
248
- this.prevPresentation = null;
249
- this.showMonthAndYear = false;
250
- this.activeParts = [];
251
- this.workingParts = {
252
- month: 5,
253
- day: 28,
254
- year: 2021,
255
- hour: 13,
256
- minute: 52,
257
- ampm: 'pm',
258
- isAdjacentDay: false,
259
- };
260
- this.isTimePopoverOpen = false;
261
- /**
262
- * The color to use from your application's color palette.
263
- * Default options are: `"primary"`, `"secondary"`, `"tertiary"`, `"success"`, `"warning"`, `"danger"`, `"light"`, `"medium"`, and `"dark"`.
264
- * For more information on colors, see [theming](/docs/theming/basics).
265
- */
266
- this.color = 'primary';
267
- /**
268
- * The name of the control, which is submitted with the form data.
269
- */
270
- this.name = this.inputId;
271
- /**
272
- * If `true`, the user cannot interact with the datetime.
273
- */
274
- this.disabled = false;
275
- /**
276
- * If `true`, the datetime appears normal but the selected date cannot be changed.
277
- */
278
- this.readonly = false;
279
- /**
280
- * If `true`, the datetime calendar displays a six-week (42-day) layout,
281
- * including days from the previous and next months to fill the grid.
282
- * These adjacent days are selectable unless disabled.
283
- */
284
- this.showAdjacentDays = false;
285
- /**
286
- * Which values you want to select. `"date"` will show
287
- * a calendar picker to select the month, day, and year. `"time"`
288
- * will show a time picker to select the hour, minute, and (optionally)
289
- * AM/PM. `"date-time"` will show the date picker first and time picker second.
290
- * `"time-date"` will show the time picker first and date picker second.
291
- */
292
- this.presentation = 'date-time';
293
- /**
294
- * The text to display on the picker's cancel button.
295
- */
296
- this.cancelText = 'Cancel';
297
- /**
298
- * The text to display on the picker's "Done" button.
299
- */
300
- this.doneText = 'Done';
301
- /**
302
- * The text to display on the picker's "Clear" button.
303
- */
304
- this.clearText = 'Clear';
235
+ constructor(hostRef) {
236
+ index$1.registerInstance(this, hostRef);
237
+ this.ionCancel = index$1.createEvent(this, "ionCancel", 7);
238
+ this.ionChange = index$1.createEvent(this, "ionChange", 7);
239
+ this.ionValueChange = index$1.createEvent(this, "ionValueChange", 7);
240
+ this.ionFocus = index$1.createEvent(this, "ionFocus", 7);
241
+ this.ionBlur = index$1.createEvent(this, "ionBlur", 7);
242
+ this.ionStyle = index$1.createEvent(this, "ionStyle", 7);
243
+ this.ionRender = index$1.createEvent(this, "ionRender", 7);
244
+ this.inputId = `ion-dt-${datetimeIds++}`;
245
+ this.prevPresentation = null;
246
+ this.warnIfIncorrectValueUsage = () => {
247
+ const { multiple, value } = this;
248
+ if (!multiple && Array.isArray(value)) {
305
249
  /**
306
- * The locale to use for `ion-datetime`. This
307
- * impacts month and day name formatting.
308
- * The `"default"` value refers to the default
309
- * locale set by your device.
250
+ * We do some processing on the `value` array so
251
+ * that it looks more like an array when logged to
252
+ * the console.
253
+ * Example given ['a', 'b']
254
+ * Default toString() behavior: a,b
255
+ * Custom behavior: ['a', 'b']
310
256
  */
311
- this.locale = 'default';
312
- /**
313
- * The first day of the week to use for `ion-datetime`. The
314
- * default value is `0` and represents Sunday.
315
- */
316
- this.firstDayOfWeek = 0;
317
- /**
318
- * If `true`, multiple dates can be selected at once. Only
319
- * applies to `presentation="date"` and `preferWheel="false"`.
320
- */
321
- this.multiple = false;
322
- /**
323
- * If `true`, a header will be shown above the calendar
324
- * picker. This will include both the slotted title, and
325
- * the selected date.
326
- */
327
- this.showDefaultTitle = false;
328
- /**
329
- * If `true`, the default "Cancel" and "OK" buttons
330
- * will be rendered at the bottom of the `ion-datetime`
331
- * component. Developers can also use the `button` slot
332
- * if they want to customize these buttons. If custom
333
- * buttons are set in the `button` slot then the
334
- * default buttons will not be rendered.
335
- */
336
- this.showDefaultButtons = false;
337
- /**
338
- * If `true`, a "Clear" button will be rendered alongside
339
- * the default "Cancel" and "OK" buttons at the bottom of the `ion-datetime`
340
- * component. Developers can also use the `button` slot
341
- * if they want to customize these buttons. If custom
342
- * buttons are set in the `button` slot then the
343
- * default buttons will not be rendered.
344
- */
345
- this.showClearButton = false;
346
- /**
347
- * If `true`, the default "Time" label will be rendered
348
- * for the time selector of the `ion-datetime` component.
349
- * Developers can also use the `time-label` slot
350
- * if they want to customize this label. If a custom
351
- * label is set in the `time-label` slot then the
352
- * default label will not be rendered.
353
- */
354
- this.showDefaultTimeLabel = true;
257
+ index.printIonWarning(`ion-datetime was passed an array of values, but multiple="false". This is incorrect usage and may result in unexpected behaviors. To dismiss this warning, pass a string to the "value" property when multiple="false".
258
+
259
+ Value Passed: [${value.map((v) => `'${v}'`).join(', ')}]
260
+ `, this.el);
261
+ }
262
+ };
263
+ this.setValue = (value) => {
264
+ this.value = value;
265
+ this.ionChange.emit({ value });
266
+ };
267
+ /**
268
+ * Returns the DatetimePart interface
269
+ * to use when rendering an initial set of
270
+ * data. This should be used when rendering an
271
+ * interface in an environment where the `value`
272
+ * may not be set. This function works
273
+ * by returning the first selected date and then
274
+ * falling back to defaultParts if no active date
275
+ * is selected.
276
+ */
277
+ this.getActivePartsWithFallback = () => {
278
+ var _a;
279
+ const { defaultParts } = this;
280
+ return (_a = this.getActivePart()) !== null && _a !== void 0 ? _a : defaultParts;
281
+ };
282
+ this.getActivePart = () => {
283
+ const { activeParts } = this;
284
+ return Array.isArray(activeParts) ? activeParts[0] : activeParts;
285
+ };
286
+ this.closeParentOverlay = () => {
287
+ const popoverOrModal = this.el.closest('ion-modal, ion-popover');
288
+ if (popoverOrModal) {
289
+ popoverOrModal.dismiss();
290
+ }
291
+ };
292
+ this.setWorkingParts = (parts) => {
293
+ this.workingParts = Object.assign({}, parts);
294
+ };
295
+ this.setActiveParts = (parts, removeDate = false) => {
296
+ /** if the datetime component is in readonly mode,
297
+ * allow browsing of the calendar without changing
298
+ * the set value
299
+ */
300
+ if (this.readonly) {
301
+ return;
302
+ }
303
+ const { multiple, minParts, maxParts, activeParts } = this;
304
+ /**
305
+ * When setting the active parts, it is possible
306
+ * to set invalid data. For example,
307
+ * when updating January 31 to February,
308
+ * February 31 does not exist. As a result
309
+ * we need to validate the active parts and
310
+ * ensure that we are only setting valid dates.
311
+ * Additionally, we need to update the working parts
312
+ * too in the event that the validated parts are different.
313
+ */
314
+ const validatedParts = data.validateParts(parts, minParts, maxParts);
315
+ this.setWorkingParts(validatedParts);
316
+ if (multiple) {
317
+ const activePartsArray = Array.isArray(activeParts) ? activeParts : [activeParts];
318
+ if (removeDate) {
319
+ this.activeParts = activePartsArray.filter((p) => !data.isSameDay(p, validatedParts));
320
+ }
321
+ else {
322
+ this.activeParts = [...activePartsArray, validatedParts];
323
+ }
324
+ }
325
+ else {
326
+ this.activeParts = Object.assign({}, validatedParts);
327
+ }
328
+ const hasSlottedButtons = this.el.querySelector('[slot="buttons"]') !== null;
329
+ if (hasSlottedButtons || this.showDefaultButtons) {
330
+ return;
331
+ }
332
+ this.confirm();
333
+ };
334
+ this.initializeKeyboardListeners = () => {
335
+ const calendarBodyRef = this.calendarBodyRef;
336
+ if (!calendarBodyRef) {
337
+ return;
338
+ }
339
+ const root = this.el.shadowRoot;
340
+ /**
341
+ * Get a reference to the month
342
+ * element we are currently viewing.
343
+ */
344
+ const currentMonth = calendarBodyRef.querySelector('.calendar-month:nth-of-type(2)');
345
+ /**
346
+ * When focusing the calendar body, we want to pass focus
347
+ * to the working day, but other days should
348
+ * only be accessible using the arrow keys. Pressing
349
+ * Tab should jump between bodies of selectable content.
350
+ */
351
+ const checkCalendarBodyFocus = (ev) => {
352
+ var _a;
353
+ const record = ev[0];
355
354
  /**
356
- * If `cover`, the `ion-datetime` will expand to cover the full width of its container.
357
- * If `fixed`, the `ion-datetime` will have a fixed width.
355
+ * If calendar body was already focused
356
+ * when this fired or if the calendar body
357
+ * if not currently focused, we should not re-focus
358
+ * the inner day.
358
359
  */
359
- this.size = 'fixed';
360
+ if (((_a = record.oldValue) === null || _a === void 0 ? void 0 : _a.includes('ion-focused')) || !calendarBodyRef.classList.contains('ion-focused')) {
361
+ return;
362
+ }
363
+ this.focusWorkingDay(currentMonth);
364
+ };
365
+ const mo = new MutationObserver(checkCalendarBodyFocus);
366
+ mo.observe(calendarBodyRef, { attributeFilter: ['class'], attributeOldValue: true });
367
+ this.destroyKeyboardMO = () => {
368
+ mo === null || mo === void 0 ? void 0 : mo.disconnect();
369
+ };
370
+ /**
371
+ * We must use keydown not keyup as we want
372
+ * to prevent scrolling when using the arrow keys.
373
+ */
374
+ calendarBodyRef.addEventListener('keydown', (ev) => {
375
+ const activeElement = root.activeElement;
376
+ if (!activeElement || !activeElement.classList.contains('calendar-day')) {
377
+ return;
378
+ }
379
+ const parts = data.getPartsFromCalendarDay(activeElement);
380
+ let partsToFocus;
381
+ switch (ev.key) {
382
+ case 'ArrowDown':
383
+ ev.preventDefault();
384
+ partsToFocus = data.getNextWeek(parts);
385
+ break;
386
+ case 'ArrowUp':
387
+ ev.preventDefault();
388
+ partsToFocus = data.getPreviousWeek(parts);
389
+ break;
390
+ case 'ArrowRight':
391
+ ev.preventDefault();
392
+ partsToFocus = data.getNextDay(parts);
393
+ break;
394
+ case 'ArrowLeft':
395
+ ev.preventDefault();
396
+ partsToFocus = data.getPreviousDay(parts);
397
+ break;
398
+ case 'Home':
399
+ ev.preventDefault();
400
+ partsToFocus = data.getStartOfWeek(parts);
401
+ break;
402
+ case 'End':
403
+ ev.preventDefault();
404
+ partsToFocus = data.getEndOfWeek(parts);
405
+ break;
406
+ case 'PageUp':
407
+ ev.preventDefault();
408
+ partsToFocus = ev.shiftKey ? data.getPreviousYear(parts) : data.getPreviousMonth(parts);
409
+ break;
410
+ case 'PageDown':
411
+ ev.preventDefault();
412
+ partsToFocus = ev.shiftKey ? data.getNextYear(parts) : data.getNextMonth(parts);
413
+ break;
414
+ /**
415
+ * Do not preventDefault here
416
+ * as we do not want to override other
417
+ * browser defaults such as pressing Enter/Space
418
+ * to select a day.
419
+ */
420
+ default:
421
+ return;
422
+ }
360
423
  /**
361
- * If `true`, a wheel picker will be rendered instead of a calendar grid
362
- * where possible. If `false`, a calendar grid will be rendered instead of
363
- * a wheel picker where possible.
364
- *
365
- * A wheel picker can be rendered instead of a grid when `presentation` is
366
- * one of the following values: `"date"`, `"date-time"`, or `"time-date"`.
367
- *
368
- * A wheel picker will always be rendered regardless of
369
- * the `preferWheel` value when `presentation` is one of the following values:
370
- * `"time"`, `"month"`, `"month-year"`, or `"year"`.
424
+ * If the day we want to move focus to is
425
+ * disabled, do not do anything.
371
426
  */
372
- this.preferWheel = false;
373
- this.warnIfIncorrectValueUsage = () => {
374
- const { multiple, value } = this;
375
- if (!multiple && Array.isArray(value)) {
376
- /**
377
- * We do some processing on the `value` array so
378
- * that it looks more like an array when logged to
379
- * the console.
380
- * Example given ['a', 'b']
381
- * Default toString() behavior: a,b
382
- * Custom behavior: ['a', 'b']
383
- */
384
- index.printIonWarning(`[ion-datetime] - An array of values was passed, but multiple is "false". This is incorrect usage and may result in unexpected behaviors. To dismiss this warning, pass a string to the "value" property when multiple="false".
385
-
386
- Value Passed: [${value.map((v) => `'${v}'`).join(', ')}]
387
- `, this.el);
388
- }
389
- };
390
- this.setValue = (value) => {
391
- this.value = value;
392
- this.ionChange.emit({ value });
393
- };
427
+ if (isDayDisabled(partsToFocus, this.minParts, this.maxParts)) {
428
+ return;
429
+ }
430
+ this.setWorkingParts(Object.assign(Object.assign({}, this.workingParts), partsToFocus));
394
431
  /**
395
- * Returns the DatetimePart interface
396
- * to use when rendering an initial set of
397
- * data. This should be used when rendering an
398
- * interface in an environment where the `value`
399
- * may not be set. This function works
400
- * by returning the first selected date and then
401
- * falling back to defaultParts if no active date
402
- * is selected.
432
+ * Give view a chance to re-render
433
+ * then move focus to the new working day
403
434
  */
404
- this.getActivePartsWithFallback = () => {
405
- var _a;
406
- const { defaultParts } = this;
407
- return (_a = this.getActivePart()) !== null && _a !== void 0 ? _a : defaultParts;
408
- };
409
- this.getActivePart = () => {
410
- const { activeParts } = this;
411
- return Array.isArray(activeParts) ? activeParts[0] : activeParts;
412
- };
413
- this.closeParentOverlay = (role) => {
414
- const popoverOrModal = this.el.closest('ion-modal, ion-popover');
415
- if (popoverOrModal) {
416
- popoverOrModal.dismiss(undefined, role);
417
- }
418
- };
419
- this.setWorkingParts = (parts) => {
420
- this.workingParts = Object.assign({}, parts);
421
- };
422
- this.setActiveParts = (parts, removeDate = false) => {
423
- /** if the datetime component is in readonly mode,
424
- * allow browsing of the calendar without changing
425
- * the set value
426
- */
427
- if (this.readonly) {
428
- return;
429
- }
430
- const { multiple, minParts, maxParts, activeParts } = this;
431
- /**
432
- * When setting the active parts, it is possible
433
- * to set invalid data. For example,
434
- * when updating January 31 to February,
435
- * February 31 does not exist. As a result
436
- * we need to validate the active parts and
437
- * ensure that we are only setting valid dates.
438
- * Additionally, we need to update the working parts
439
- * too in the event that the validated parts are different.
440
- */
441
- const validatedParts = data.validateParts(parts, minParts, maxParts);
442
- this.setWorkingParts(validatedParts);
443
- if (multiple) {
444
- const activePartsArray = Array.isArray(activeParts) ? activeParts : [activeParts];
445
- if (removeDate) {
446
- this.activeParts = activePartsArray.filter((p) => !data.isSameDay(p, validatedParts));
447
- }
448
- else {
449
- this.activeParts = [...activePartsArray, validatedParts];
450
- }
451
- }
452
- else {
453
- this.activeParts = Object.assign({}, validatedParts);
454
- }
455
- const hasSlottedButtons = this.el.querySelector('[slot="buttons"]') !== null;
456
- if (hasSlottedButtons || this.showDefaultButtons) {
457
- return;
458
- }
459
- this.confirm();
460
- };
461
- this.initializeKeyboardListeners = () => {
462
- const calendarBodyRef = this.calendarBodyRef;
463
- if (!calendarBodyRef) {
464
- return;
465
- }
466
- const root = this.el.shadowRoot;
467
- /**
468
- * Get a reference to the month
469
- * element we are currently viewing.
470
- */
471
- const currentMonth = calendarBodyRef.querySelector('.calendar-month:nth-of-type(2)');
472
- /**
473
- * When focusing the calendar body, we want to pass focus
474
- * to the working day, but other days should
475
- * only be accessible using the arrow keys. Pressing
476
- * Tab should jump between bodies of selectable content.
477
- */
478
- const checkCalendarBodyFocus = (ev) => {
479
- var _a;
480
- const record = ev[0];
481
- /**
482
- * If calendar body was already focused
483
- * when this fired or if the calendar body
484
- * if not currently focused, we should not re-focus
485
- * the inner day.
486
- */
487
- if (((_a = record.oldValue) === null || _a === void 0 ? void 0 : _a.includes('ion-focused')) || !calendarBodyRef.classList.contains('ion-focused')) {
488
- return;
489
- }
490
- this.focusWorkingDay(currentMonth);
491
- };
492
- const mo = new MutationObserver(checkCalendarBodyFocus);
493
- mo.observe(calendarBodyRef, { attributeFilter: ['class'], attributeOldValue: true });
494
- this.destroyKeyboardMO = () => {
495
- mo === null || mo === void 0 ? void 0 : mo.disconnect();
496
- };
497
- /**
498
- * We must use keydown not keyup as we want
499
- * to prevent scrolling when using the arrow keys.
500
- */
501
- calendarBodyRef.addEventListener('keydown', (ev) => {
502
- const activeElement = root.activeElement;
503
- if (!activeElement || !activeElement.classList.contains('calendar-day')) {
504
- return;
505
- }
506
- const parts = data.getPartsFromCalendarDay(activeElement);
507
- let partsToFocus;
508
- switch (ev.key) {
509
- case 'ArrowDown':
510
- ev.preventDefault();
511
- partsToFocus = data.getNextWeek(parts);
512
- break;
513
- case 'ArrowUp':
514
- ev.preventDefault();
515
- partsToFocus = data.getPreviousWeek(parts);
516
- break;
517
- case 'ArrowRight':
518
- ev.preventDefault();
519
- partsToFocus = data.getNextDay(parts);
520
- break;
521
- case 'ArrowLeft':
522
- ev.preventDefault();
523
- partsToFocus = data.getPreviousDay(parts);
524
- break;
525
- case 'Home':
526
- ev.preventDefault();
527
- partsToFocus = data.getStartOfWeek(parts);
528
- break;
529
- case 'End':
530
- ev.preventDefault();
531
- partsToFocus = data.getEndOfWeek(parts);
532
- break;
533
- case 'PageUp':
534
- ev.preventDefault();
535
- partsToFocus = ev.shiftKey ? data.getPreviousYear(parts) : data.getPreviousMonth(parts);
536
- break;
537
- case 'PageDown':
538
- ev.preventDefault();
539
- partsToFocus = ev.shiftKey ? data.getNextYear(parts) : data.getNextMonth(parts);
540
- break;
541
- /**
542
- * Do not preventDefault here
543
- * as we do not want to override other
544
- * browser defaults such as pressing Enter/Space
545
- * to select a day.
546
- */
547
- default:
548
- return;
549
- }
550
- /**
551
- * If the day we want to move focus to is
552
- * disabled, do not do anything.
553
- */
554
- if (isDayDisabled(partsToFocus, this.minParts, this.maxParts)) {
555
- return;
556
- }
557
- this.setWorkingParts(Object.assign(Object.assign({}, this.workingParts), partsToFocus));
558
- /**
559
- * Give view a chance to re-render
560
- * then move focus to the new working day
561
- */
562
- requestAnimationFrame(() => this.focusWorkingDay(currentMonth));
563
- });
564
- };
565
- this.focusWorkingDay = (currentMonth) => {
566
- /**
567
- * Get the number of offset days so
568
- * we know how much to offset our next selector by
569
- * to grab the correct calendar-day element.
570
- */
571
- const { day, month, year } = this.workingParts;
572
- const firstOfMonth = new Date(`${month}/1/${year}`).getDay();
573
- const offset = firstOfMonth >= this.firstDayOfWeek
574
- ? firstOfMonth - this.firstDayOfWeek
575
- : 7 - (this.firstDayOfWeek - firstOfMonth);
576
- if (day === null) {
577
- return;
578
- }
579
- /**
580
- * Get the calendar day element
581
- * and focus it.
582
- */
583
- const dayEl = currentMonth.querySelector(`.calendar-day-wrapper:nth-of-type(${offset + day}) .calendar-day`);
584
- if (dayEl) {
585
- dayEl.focus();
586
- }
587
- };
588
- this.processMinParts = () => {
589
- const { min, defaultParts } = this;
590
- if (min === undefined) {
591
- this.minParts = undefined;
592
- return;
593
- }
594
- this.minParts = data.parseMinParts(min, defaultParts);
595
- };
596
- this.processMaxParts = () => {
597
- const { max, defaultParts } = this;
598
- if (max === undefined) {
599
- this.maxParts = undefined;
600
- return;
601
- }
602
- this.maxParts = data.parseMaxParts(max, defaultParts);
435
+ requestAnimationFrame(() => this.focusWorkingDay(currentMonth));
436
+ });
437
+ };
438
+ this.focusWorkingDay = (currentMonth) => {
439
+ /**
440
+ * Get the number of padding days so
441
+ * we know how much to offset our next selector by
442
+ * to grab the correct calendar-day element.
443
+ */
444
+ const padding = currentMonth.querySelectorAll('.calendar-day-padding');
445
+ const { day } = this.workingParts;
446
+ if (day === null) {
447
+ return;
448
+ }
449
+ /**
450
+ * Get the calendar day element
451
+ * and focus it.
452
+ */
453
+ const dayEl = currentMonth.querySelector(`.calendar-day-wrapper:nth-of-type(${padding.length + day}) .calendar-day`);
454
+ if (dayEl) {
455
+ dayEl.focus();
456
+ }
457
+ };
458
+ this.processMinParts = () => {
459
+ const { min, defaultParts } = this;
460
+ if (min === undefined) {
461
+ this.minParts = undefined;
462
+ return;
463
+ }
464
+ this.minParts = data.parseMinParts(min, defaultParts);
465
+ };
466
+ this.processMaxParts = () => {
467
+ const { max, defaultParts } = this;
468
+ if (max === undefined) {
469
+ this.maxParts = undefined;
470
+ return;
471
+ }
472
+ this.maxParts = data.parseMaxParts(max, defaultParts);
473
+ };
474
+ this.initializeCalendarListener = () => {
475
+ const calendarBodyRef = this.calendarBodyRef;
476
+ if (!calendarBodyRef) {
477
+ return;
478
+ }
479
+ /**
480
+ * For performance reasons, we only render 3
481
+ * months at a time: The current month, the previous
482
+ * month, and the next month. We have a scroll listener
483
+ * on the calendar body to append/prepend new months.
484
+ *
485
+ * We can do this because Stencil is smart enough to not
486
+ * re-create the .calendar-month containers, but rather
487
+ * update the content within those containers.
488
+ *
489
+ * As an added bonus, WebKit has some troubles with
490
+ * scroll-snap-stop: always, so not rendering all of
491
+ * the months in a row allows us to mostly sidestep
492
+ * that issue.
493
+ */
494
+ const months = calendarBodyRef.querySelectorAll('.calendar-month');
495
+ const startMonth = months[0];
496
+ const workingMonth = months[1];
497
+ const endMonth = months[2];
498
+ const mode = ionicGlobal.getIonMode(this);
499
+ const needsiOSRubberBandFix = mode === 'ios' && typeof navigator !== 'undefined' && navigator.maxTouchPoints > 1;
500
+ /**
501
+ * Before setting up the scroll listener,
502
+ * scroll the middle month into view.
503
+ * scrollIntoView() will scroll entire page
504
+ * if element is not in viewport. Use scrollLeft instead.
505
+ */
506
+ index$1.writeTask(() => {
507
+ calendarBodyRef.scrollLeft = startMonth.clientWidth * (dir.isRTL(this.el) ? -1 : 1);
508
+ const getChangedMonth = (parts) => {
509
+ const box = calendarBodyRef.getBoundingClientRect();
510
+ /**
511
+ * If the current scroll position is all the way to the left
512
+ * then we have scrolled to the previous month.
513
+ * Otherwise, assume that we have scrolled to the next
514
+ * month. We have a tolerance of 2px to account for
515
+ * sub pixel rendering.
516
+ *
517
+ * Check below the next line ensures that we did not
518
+ * swipe and abort (i.e. we swiped but we are still on the current month).
519
+ */
520
+ const month = calendarBodyRef.scrollLeft <= 2 ? startMonth : endMonth;
521
+ /**
522
+ * The edge of the month must be lined up with
523
+ * the edge of the calendar body in order for
524
+ * the component to update. Otherwise, it
525
+ * may be the case that the user has paused their
526
+ * swipe or the browser has not finished snapping yet.
527
+ * Rather than check if the x values are equal,
528
+ * we give it a tolerance of 2px to account for
529
+ * sub pixel rendering.
530
+ */
531
+ const monthBox = month.getBoundingClientRect();
532
+ if (Math.abs(monthBox.x - box.x) > 2)
533
+ return;
534
+ /**
535
+ * If we're force-rendering a month, assume we've
536
+ * scrolled to that and return it.
537
+ *
538
+ * If forceRenderDate is ever used in a context where the
539
+ * forced month is not immediately auto-scrolled to, this
540
+ * should be updated to also check whether `month` has the
541
+ * same month and year as the forced date.
542
+ */
543
+ const { forceRenderDate } = this;
544
+ if (forceRenderDate !== undefined) {
545
+ return { month: forceRenderDate.month, year: forceRenderDate.year, day: forceRenderDate.day };
546
+ }
547
+ /**
548
+ * From here, we can determine if the start
549
+ * month or the end month was scrolled into view.
550
+ * If no month was changed, then we can return from
551
+ * the scroll callback early.
552
+ */
553
+ if (month === startMonth) {
554
+ return data.getPreviousMonth(parts);
555
+ }
556
+ else if (month === endMonth) {
557
+ return data.getNextMonth(parts);
558
+ }
559
+ else {
560
+ return;
561
+ }
603
562
  };
604
- this.initializeCalendarListener = () => {
605
- const calendarBodyRef = this.calendarBodyRef;
606
- if (!calendarBodyRef) {
607
- return;
563
+ const updateActiveMonth = () => {
564
+ if (needsiOSRubberBandFix) {
565
+ calendarBodyRef.style.removeProperty('pointer-events');
566
+ appliediOSRubberBandFix = false;
567
+ }
568
+ /**
569
+ * If the month did not change
570
+ * then we can return early.
571
+ */
572
+ const newDate = getChangedMonth(this.workingParts);
573
+ if (!newDate)
574
+ return;
575
+ const { month, day, year } = newDate;
576
+ if (isMonthDisabled({ month, year, day: null }, {
577
+ minParts: Object.assign(Object.assign({}, this.minParts), { day: null }),
578
+ maxParts: Object.assign(Object.assign({}, this.maxParts), { day: null }),
579
+ })) {
580
+ return;
581
+ }
582
+ /**
583
+ * Prevent scrolling for other browsers
584
+ * to give the DOM time to update and the container
585
+ * time to properly snap.
586
+ */
587
+ calendarBodyRef.style.setProperty('overflow', 'hidden');
588
+ /**
589
+ * Use a writeTask here to ensure
590
+ * that the state is updated and the
591
+ * correct month is scrolled into view
592
+ * in the same frame. This is not
593
+ * typically a problem on newer devices
594
+ * but older/slower device may have a flicker
595
+ * if we did not do this.
596
+ */
597
+ index$1.writeTask(() => {
598
+ this.setWorkingParts(Object.assign(Object.assign({}, this.workingParts), { month, day: day, year }));
599
+ calendarBodyRef.scrollLeft = workingMonth.clientWidth * (dir.isRTL(this.el) ? -1 : 1);
600
+ calendarBodyRef.style.removeProperty('overflow');
601
+ if (this.resolveForceDateScrolling) {
602
+ this.resolveForceDateScrolling();
608
603
  }
609
- /**
610
- * For performance reasons, we only render 3
611
- * months at a time: The current month, the previous
612
- * month, and the next month. We have a scroll listener
613
- * on the calendar body to append/prepend new months.
614
- *
615
- * We can do this because Stencil is smart enough to not
616
- * re-create the .calendar-month containers, but rather
617
- * update the content within those containers.
618
- *
619
- * As an added bonus, WebKit has some troubles with
620
- * scroll-snap-stop: always, so not rendering all of
621
- * the months in a row allows us to mostly sidestep
622
- * that issue.
623
- */
624
- const months = calendarBodyRef.querySelectorAll('.calendar-month');
625
- const startMonth = months[0];
626
- const workingMonth = months[1];
627
- const endMonth = months[2];
628
- const mode = ionicGlobal.getIonMode(this);
629
- const needsiOSRubberBandFix = mode === 'ios' && typeof navigator !== 'undefined' && navigator.maxTouchPoints > 1;
630
- /**
631
- * Before setting up the scroll listener,
632
- * scroll the middle month into view.
633
- * scrollIntoView() will scroll entire page
634
- * if element is not in viewport. Use scrollLeft instead.
635
- */
636
- index.writeTask(() => {
637
- calendarBodyRef.scrollLeft = startMonth.clientWidth * (dir.isRTL(this.el) ? -1 : 1);
638
- const getChangedMonth = (parts) => {
639
- const box = calendarBodyRef.getBoundingClientRect();
640
- /**
641
- * If the current scroll position is all the way to the left
642
- * then we have scrolled to the previous month.
643
- * Otherwise, assume that we have scrolled to the next
644
- * month. We have a tolerance of 2px to account for
645
- * sub pixel rendering.
646
- *
647
- * Check below the next line ensures that we did not
648
- * swipe and abort (i.e. we swiped but we are still on the current month).
649
- */
650
- const condition = dir.isRTL(this.el) ? calendarBodyRef.scrollLeft >= -2 : calendarBodyRef.scrollLeft <= 2;
651
- const month = condition ? startMonth : endMonth;
652
- /**
653
- * The edge of the month must be lined up with
654
- * the edge of the calendar body in order for
655
- * the component to update. Otherwise, it
656
- * may be the case that the user has paused their
657
- * swipe or the browser has not finished snapping yet.
658
- * Rather than check if the x values are equal,
659
- * we give it a tolerance of 2px to account for
660
- * sub pixel rendering.
661
- */
662
- const monthBox = month.getBoundingClientRect();
663
- if (Math.abs(monthBox.x - box.x) > 2)
664
- return;
665
- /**
666
- * If we're force-rendering a month, assume we've
667
- * scrolled to that and return it.
668
- *
669
- * If forceRenderDate is ever used in a context where the
670
- * forced month is not immediately auto-scrolled to, this
671
- * should be updated to also check whether `month` has the
672
- * same month and year as the forced date.
673
- */
674
- const { forceRenderDate } = this;
675
- if (forceRenderDate !== undefined) {
676
- return { month: forceRenderDate.month, year: forceRenderDate.year, day: forceRenderDate.day };
677
- }
678
- /**
679
- * From here, we can determine if the start
680
- * month or the end month was scrolled into view.
681
- * If no month was changed, then we can return from
682
- * the scroll callback early.
683
- */
684
- if (month === startMonth) {
685
- return data.getPreviousMonth(parts);
686
- }
687
- else if (month === endMonth) {
688
- return data.getNextMonth(parts);
689
- }
690
- else {
691
- return;
692
- }
693
- };
694
- const updateActiveMonth = () => {
695
- if (needsiOSRubberBandFix) {
696
- calendarBodyRef.style.removeProperty('pointer-events');
697
- appliediOSRubberBandFix = false;
698
- }
699
- /**
700
- * If the month did not change
701
- * then we can return early.
702
- */
703
- const newDate = getChangedMonth(this.workingParts);
704
- if (!newDate)
705
- return;
706
- const { month, day, year } = newDate;
707
- if (isMonthDisabled({ month, year, day: null }, {
708
- minParts: Object.assign(Object.assign({}, this.minParts), { day: null }),
709
- maxParts: Object.assign(Object.assign({}, this.maxParts), { day: null }),
710
- })) {
711
- return;
712
- }
713
- /**
714
- * Prevent scrolling for other browsers
715
- * to give the DOM time to update and the container
716
- * time to properly snap.
717
- */
718
- calendarBodyRef.style.setProperty('overflow', 'hidden');
719
- /**
720
- * Use a writeTask here to ensure
721
- * that the state is updated and the
722
- * correct month is scrolled into view
723
- * in the same frame. This is not
724
- * typically a problem on newer devices
725
- * but older/slower device may have a flicker
726
- * if we did not do this.
727
- */
728
- index.writeTask(() => {
729
- this.setWorkingParts(Object.assign(Object.assign({}, this.workingParts), { month, day: day, year }));
730
- calendarBodyRef.scrollLeft = workingMonth.clientWidth * (dir.isRTL(this.el) ? -1 : 1);
731
- calendarBodyRef.style.removeProperty('overflow');
732
- if (this.resolveForceDateScrolling) {
733
- this.resolveForceDateScrolling();
734
- }
735
- });
736
- };
737
- /**
738
- * When the container finishes scrolling we
739
- * need to update the DOM with the selected month.
740
- */
741
- let scrollTimeout;
742
- /**
743
- * We do not want to attempt to set pointer-events
744
- * multiple times within a single swipe gesture as
745
- * that adds unnecessary work to the main thread.
746
- */
747
- let appliediOSRubberBandFix = false;
748
- const scrollCallback = () => {
749
- if (scrollTimeout) {
750
- clearTimeout(scrollTimeout);
751
- }
752
- /**
753
- * On iOS it is possible to quickly rubber band
754
- * the scroll area before the scroll timeout has fired.
755
- * This results in users reaching the end of the scrollable
756
- * container before the DOM has updated.
757
- * By setting `pointer-events: none` we can ensure that
758
- * subsequent swipes do not happen while the container
759
- * is snapping.
760
- */
761
- if (!appliediOSRubberBandFix && needsiOSRubberBandFix) {
762
- calendarBodyRef.style.setProperty('pointer-events', 'none');
763
- appliediOSRubberBandFix = true;
764
- }
765
- // Wait ~3 frames
766
- scrollTimeout = setTimeout(updateActiveMonth, 50);
767
- };
768
- calendarBodyRef.addEventListener('scroll', scrollCallback);
769
- this.destroyCalendarListener = () => {
770
- calendarBodyRef.removeEventListener('scroll', scrollCallback);
771
- };
772
- });
604
+ });
773
605
  };
774
606
  /**
775
- * Clean up all listeners except for the overlay
776
- * listener. This is so that we can re-create the listeners
777
- * if the datetime has been hidden/presented by a modal or popover.
607
+ * When the container finishes scrolling we
608
+ * need to update the DOM with the selected month.
778
609
  */
779
- this.destroyInteractionListeners = () => {
780
- const { destroyCalendarListener, destroyKeyboardMO } = this;
781
- if (destroyCalendarListener !== undefined) {
782
- destroyCalendarListener();
783
- }
784
- if (destroyKeyboardMO !== undefined) {
785
- destroyKeyboardMO();
786
- }
787
- };
610
+ let scrollTimeout;
788
611
  /**
789
- * TODO(FW-6931): Remove this fallback upon solving the root cause
790
- * Fallback to ensure the datetime becomes ready even if
791
- * IntersectionObserver never reports it as intersecting.
792
- *
793
- * This is primarily used in environments where the observer
794
- * might not fire as expected, such as when running under
795
- * synthetic tests that stub IntersectionObserver.
612
+ * We do not want to attempt to set pointer-events
613
+ * multiple times within a single swipe gesture as
614
+ * that adds unnecessary work to the main thread.
796
615
  */
797
- this.ensureReadyIfVisible = () => {
798
- if (this.el.classList.contains('datetime-ready')) {
799
- return;
800
- }
801
- const rect = this.el.getBoundingClientRect();
802
- if (rect.width === 0 || rect.height === 0) {
803
- return;
804
- }
805
- this.initializeListeners();
806
- index.writeTask(() => {
807
- this.el.classList.add('datetime-ready');
808
- });
809
- };
810
- this.processValue = (value) => {
811
- const hasValue = value !== null && value !== undefined && value !== '' && (!Array.isArray(value) || value.length > 0);
812
- const valueToProcess = hasValue ? data.parseDate(value) : this.defaultParts;
813
- const { minParts, maxParts, workingParts, el } = this;
814
- this.warnIfIncorrectValueUsage();
815
- /**
816
- * Return early if the value wasn't parsed correctly, such as
817
- * if an improperly formatted date string was provided.
818
- */
819
- if (!valueToProcess) {
820
- return;
821
- }
822
- /**
823
- * Datetime should only warn of out of bounds values
824
- * if set by the user. If the `value` is undefined,
825
- * we will default to today's date which may be out
826
- * of bounds. In this case, the warning makes it look
827
- * like the developer did something wrong which is
828
- * not true.
829
- */
830
- if (hasValue) {
831
- data.warnIfValueOutOfBounds(valueToProcess, minParts, maxParts);
832
- }
833
- /**
834
- * If there are multiple values, clamp to the last one.
835
- * This is because the last value is the one that the user
836
- * has most recently interacted with.
837
- */
838
- const singleValue = Array.isArray(valueToProcess) ? valueToProcess[valueToProcess.length - 1] : valueToProcess;
839
- const targetValue = data.clampDate(singleValue, minParts, maxParts);
840
- const { month, day, year, hour, minute } = targetValue;
841
- const ampm = data.parseAmPm(hour);
842
- /**
843
- * Since `activeParts` indicates a value that been explicitly selected
844
- * either by the user or the app, only update `activeParts` if the
845
- * `value` property is set.
846
- */
847
- if (hasValue) {
848
- if (Array.isArray(valueToProcess)) {
849
- this.activeParts = [...valueToProcess];
850
- }
851
- else {
852
- this.activeParts = {
853
- month,
854
- day,
855
- year,
856
- hour,
857
- minute,
858
- ampm,
859
- };
860
- }
861
- }
862
- else {
863
- /**
864
- * Reset the active parts if the value is not set.
865
- * This will clear the selected calendar day when
866
- * performing a clear action or using the reset() method.
867
- */
868
- this.activeParts = [];
869
- }
870
- const didChangeMonth = (month !== undefined && month !== workingParts.month) || (year !== undefined && year !== workingParts.year);
871
- const bodyIsVisible = el.classList.contains('datetime-ready');
872
- const { isGridStyle, showMonthAndYear } = this;
873
- if (isGridStyle && didChangeMonth && bodyIsVisible && !showMonthAndYear) {
874
- /**
875
- * Only animate if:
876
- * 1. We're using grid style (wheel style pickers should just jump to new value)
877
- * 2. The month and/or year actually changed, and both are defined (otherwise there's nothing to animate to)
878
- * 3. The calendar body is visible (prevents animation when in collapsed datetime-button, for example)
879
- * 4. The month/year picker is not open (since you wouldn't see the animation anyway)
880
- */
881
- this.animateToDate(targetValue);
882
- }
883
- else {
884
- this.setWorkingParts({
885
- month,
886
- day,
887
- year,
888
- hour,
889
- minute,
890
- ampm,
891
- });
892
- }
893
- };
894
- this.animateToDate = async (targetValue) => {
895
- const { workingParts } = this;
896
- /**
897
- * Tell other render functions that we need to force the
898
- * target month to appear in place of the actual next/prev month.
899
- * Because this is a State variable, a rerender will be triggered
900
- * automatically, updating the rendered months.
901
- */
902
- this.forceRenderDate = targetValue;
903
- /**
904
- * Flag that we've started scrolling to the forced date.
905
- * The resolve function will be called by the datetime's
906
- * scroll listener when it's done updating everything.
907
- * This is a replacement for making prev/nextMonth async,
908
- * since the logic we're waiting on is in a listener.
909
- */
910
- const forceDateScrollingPromise = new Promise((resolve) => {
911
- this.resolveForceDateScrolling = resolve;
912
- });
913
- /**
914
- * Animate smoothly to the forced month. This will also update
915
- * workingParts and correct the surrounding months for us.
916
- */
917
- const targetMonthIsBefore = data.isBefore(targetValue, workingParts);
918
- targetMonthIsBefore ? this.prevMonth() : this.nextMonth();
919
- await forceDateScrollingPromise;
920
- this.resolveForceDateScrolling = undefined;
921
- this.forceRenderDate = undefined;
922
- };
923
- this.onFocus = () => {
924
- this.ionFocus.emit();
616
+ let appliediOSRubberBandFix = false;
617
+ const scrollCallback = () => {
618
+ if (scrollTimeout) {
619
+ clearTimeout(scrollTimeout);
620
+ }
621
+ /**
622
+ * On iOS it is possible to quickly rubber band
623
+ * the scroll area before the scroll timeout has fired.
624
+ * This results in users reaching the end of the scrollable
625
+ * container before the DOM has updated.
626
+ * By setting `pointer-events: none` we can ensure that
627
+ * subsequent swipes do not happen while the container
628
+ * is snapping.
629
+ */
630
+ if (!appliediOSRubberBandFix && needsiOSRubberBandFix) {
631
+ calendarBodyRef.style.setProperty('pointer-events', 'none');
632
+ appliediOSRubberBandFix = true;
633
+ }
634
+ // Wait ~3 frames
635
+ scrollTimeout = setTimeout(updateActiveMonth, 50);
925
636
  };
926
- this.onBlur = () => {
927
- this.ionBlur.emit();
637
+ calendarBodyRef.addEventListener('scroll', scrollCallback);
638
+ this.destroyCalendarListener = () => {
639
+ calendarBodyRef.removeEventListener('scroll', scrollCallback);
928
640
  };
929
- this.hasValue = () => {
930
- return this.value != null;
931
- };
932
- this.nextMonth = () => {
933
- const calendarBodyRef = this.calendarBodyRef;
934
- if (!calendarBodyRef) {
935
- return;
936
- }
937
- const nextMonth = calendarBodyRef.querySelector('.calendar-month:last-of-type');
938
- if (!nextMonth) {
939
- return;
940
- }
941
- const left = nextMonth.offsetWidth * 2;
942
- calendarBodyRef.scrollTo({
943
- top: 0,
944
- left: left * (dir.isRTL(this.el) ? -1 : 1),
945
- behavior: 'smooth',
946
- });
947
- };
948
- this.prevMonth = () => {
949
- const calendarBodyRef = this.calendarBodyRef;
950
- if (!calendarBodyRef) {
951
- return;
952
- }
953
- const prevMonth = calendarBodyRef.querySelector('.calendar-month:first-of-type');
954
- if (!prevMonth) {
955
- return;
956
- }
957
- calendarBodyRef.scrollTo({
958
- top: 0,
959
- left: 0,
960
- behavior: 'smooth',
961
- });
962
- };
963
- this.toggleMonthAndYearView = () => {
964
- this.showMonthAndYear = !this.showMonthAndYear;
965
- };
966
- }
967
- formatOptionsChanged() {
968
- const { el, formatOptions, presentation } = this;
969
- checkForPresentationFormatMismatch(el, presentation, formatOptions);
970
- warnIfTimeZoneProvided(el, formatOptions);
971
- }
972
- disabledChanged() {
973
- this.emitStyle();
974
- }
975
- minChanged() {
976
- this.processMinParts();
977
- }
978
- maxChanged() {
979
- this.processMaxParts();
980
- }
981
- presentationChanged() {
982
- const { el, formatOptions, presentation } = this;
983
- checkForPresentationFormatMismatch(el, presentation, formatOptions);
984
- }
985
- get isGridStyle() {
986
- const { presentation, preferWheel } = this;
987
- const hasDatePresentation = presentation === 'date' || presentation === 'date-time' || presentation === 'time-date';
988
- return hasDatePresentation && !preferWheel;
989
- }
990
- yearValuesChanged() {
991
- this.parsedYearValues = data.convertToArrayOfNumbers(this.yearValues);
992
- }
993
- monthValuesChanged() {
994
- this.parsedMonthValues = data.convertToArrayOfNumbers(this.monthValues);
995
- }
996
- dayValuesChanged() {
997
- this.parsedDayValues = data.convertToArrayOfNumbers(this.dayValues);
998
- }
999
- hourValuesChanged() {
1000
- this.parsedHourValues = data.convertToArrayOfNumbers(this.hourValues);
1001
- }
1002
- minuteValuesChanged() {
1003
- this.parsedMinuteValues = data.convertToArrayOfNumbers(this.minuteValues);
1004
- }
641
+ });
642
+ };
1005
643
  /**
1006
- * Update the datetime value when the value changes
644
+ * Clean up all listeners except for the overlay
645
+ * listener. This is so that we can re-create the listeners
646
+ * if the datetime has been hidden/presented by a modal or popover.
1007
647
  */
1008
- async valueChanged() {
1009
- const { value } = this;
1010
- if (this.hasValue()) {
1011
- this.processValue(value);
648
+ this.destroyInteractionListeners = () => {
649
+ const { destroyCalendarListener, destroyKeyboardMO } = this;
650
+ if (destroyCalendarListener !== undefined) {
651
+ destroyCalendarListener();
652
+ }
653
+ if (destroyKeyboardMO !== undefined) {
654
+ destroyKeyboardMO();
655
+ }
656
+ };
657
+ this.processValue = (value) => {
658
+ const hasValue = value !== null && value !== undefined && (!Array.isArray(value) || value.length > 0);
659
+ const valueToProcess = hasValue ? data.parseDate(value) : this.defaultParts;
660
+ const { minParts, maxParts, workingParts, el } = this;
661
+ this.warnIfIncorrectValueUsage();
662
+ /**
663
+ * Return early if the value wasn't parsed correctly, such as
664
+ * if an improperly formatted date string was provided.
665
+ */
666
+ if (!valueToProcess) {
667
+ return;
668
+ }
669
+ /**
670
+ * Datetime should only warn of out of bounds values
671
+ * if set by the user. If the `value` is undefined,
672
+ * we will default to today's date which may be out
673
+ * of bounds. In this case, the warning makes it look
674
+ * like the developer did something wrong which is
675
+ * not true.
676
+ */
677
+ if (hasValue) {
678
+ data.warnIfValueOutOfBounds(valueToProcess, minParts, maxParts);
679
+ }
680
+ /**
681
+ * If there are multiple values, pick an arbitrary one to clamp to. This way,
682
+ * if the values are across months, we always show at least one of them. Note
683
+ * that the values don't necessarily have to be in order.
684
+ */
685
+ const singleValue = Array.isArray(valueToProcess) ? valueToProcess[0] : valueToProcess;
686
+ const targetValue = data.clampDate(singleValue, minParts, maxParts);
687
+ const { month, day, year, hour, minute } = targetValue;
688
+ const ampm = data.parseAmPm(hour);
689
+ /**
690
+ * Since `activeParts` indicates a value that
691
+ * been explicitly selected either by the
692
+ * user or the app, only update `activeParts`
693
+ * if the `value` property is set.
694
+ */
695
+ if (hasValue) {
696
+ if (Array.isArray(valueToProcess)) {
697
+ this.activeParts = [...valueToProcess];
1012
698
  }
1013
- this.emitStyle();
1014
- this.ionValueChange.emit({ value });
1015
- }
1016
- /**
1017
- * Confirms the selected datetime value, updates the
1018
- * `value` property, and optionally closes the popover
1019
- * or modal that the datetime was presented in.
1020
- *
1021
- * @param closeOverlay If `true`, closes the parent overlay. Defaults to `false`.
1022
- */
1023
- async confirm(closeOverlay = false) {
1024
- const { isCalendarPicker, activeParts, preferWheel, workingParts } = this;
699
+ else {
700
+ this.activeParts = {
701
+ month,
702
+ day,
703
+ year,
704
+ hour,
705
+ minute,
706
+ ampm,
707
+ };
708
+ }
709
+ }
710
+ else {
1025
711
  /**
1026
- * We only update the value if the presentation is not a calendar picker.
712
+ * Reset the active parts if the value is not set.
713
+ * This will clear the selected calendar day when
714
+ * performing a clear action or using the reset() method.
1027
715
  */
1028
- if (activeParts !== undefined || !isCalendarPicker) {
1029
- const activePartsIsArray = Array.isArray(activeParts);
1030
- if (activePartsIsArray && activeParts.length === 0) {
1031
- if (preferWheel) {
1032
- /**
1033
- * If the datetime is using a wheel picker, but the
1034
- * active parts are empty, then the user has confirmed the
1035
- * initial value (working parts) presented to them.
1036
- */
1037
- this.setValue(data.convertDataToISO(workingParts));
1038
- }
1039
- else {
1040
- this.setValue(undefined);
1041
- }
1042
- }
1043
- else {
1044
- this.setValue(data.convertDataToISO(activeParts));
1045
- }
716
+ this.activeParts = [];
717
+ }
718
+ /**
719
+ * Only animate if:
720
+ * 1. We're using grid style (wheel style pickers should just jump to new value)
721
+ * 2. The month and/or year actually changed, and both are defined (otherwise there's nothing to animate to)
722
+ * 3. The calendar body is visible (prevents animation when in collapsed datetime-button, for example)
723
+ * 4. The month/year picker is not open (since you wouldn't see the animation anyway)
724
+ */
725
+ const didChangeMonth = (month !== undefined && month !== workingParts.month) || (year !== undefined && year !== workingParts.year);
726
+ const bodyIsVisible = el.classList.contains('datetime-ready');
727
+ const { isGridStyle, showMonthAndYear } = this;
728
+ let areAllSelectedDatesInSameMonth = true;
729
+ if (Array.isArray(valueToProcess)) {
730
+ const firstMonth = valueToProcess[0].month;
731
+ for (const date of valueToProcess) {
732
+ if (date.month !== firstMonth) {
733
+ areAllSelectedDatesInSameMonth = false;
734
+ break;
735
+ }
1046
736
  }
1047
- if (closeOverlay) {
1048
- this.closeParentOverlay(CONFIRM_ROLE);
737
+ }
738
+ /**
739
+ * If there is more than one date selected
740
+ * and the dates aren't all in the same month,
741
+ * then we should neither animate to the date
742
+ * nor update the working parts because we do
743
+ * not know which date the user wants to view.
744
+ */
745
+ if (areAllSelectedDatesInSameMonth) {
746
+ if (isGridStyle && didChangeMonth && bodyIsVisible && !showMonthAndYear) {
747
+ this.animateToDate(targetValue);
1049
748
  }
749
+ else {
750
+ /**
751
+ * We only need to do this if we didn't just animate to a new month,
752
+ * since that calls prevMonth/nextMonth which calls setWorkingParts for us.
753
+ */
754
+ this.setWorkingParts({
755
+ month,
756
+ day,
757
+ year,
758
+ hour,
759
+ minute,
760
+ ampm,
761
+ });
762
+ }
763
+ }
764
+ };
765
+ this.animateToDate = async (targetValue) => {
766
+ const { workingParts } = this;
767
+ /**
768
+ * Tell other render functions that we need to force the
769
+ * target month to appear in place of the actual next/prev month.
770
+ * Because this is a State variable, a rerender will be triggered
771
+ * automatically, updating the rendered months.
772
+ */
773
+ this.forceRenderDate = targetValue;
774
+ /**
775
+ * Flag that we've started scrolling to the forced date.
776
+ * The resolve function will be called by the datetime's
777
+ * scroll listener when it's done updating everything.
778
+ * This is a replacement for making prev/nextMonth async,
779
+ * since the logic we're waiting on is in a listener.
780
+ */
781
+ const forceDateScrollingPromise = new Promise((resolve) => {
782
+ this.resolveForceDateScrolling = resolve;
783
+ });
784
+ /**
785
+ * Animate smoothly to the forced month. This will also update
786
+ * workingParts and correct the surrounding months for us.
787
+ */
788
+ const targetMonthIsBefore = data.isBefore(targetValue, workingParts);
789
+ targetMonthIsBefore ? this.prevMonth() : this.nextMonth();
790
+ await forceDateScrollingPromise;
791
+ this.resolveForceDateScrolling = undefined;
792
+ this.forceRenderDate = undefined;
793
+ };
794
+ this.onFocus = () => {
795
+ this.ionFocus.emit();
796
+ };
797
+ this.onBlur = () => {
798
+ this.ionBlur.emit();
799
+ };
800
+ this.hasValue = () => {
801
+ return this.value != null;
802
+ };
803
+ this.nextMonth = () => {
804
+ const calendarBodyRef = this.calendarBodyRef;
805
+ if (!calendarBodyRef) {
806
+ return;
807
+ }
808
+ const nextMonth = calendarBodyRef.querySelector('.calendar-month:last-of-type');
809
+ if (!nextMonth) {
810
+ return;
811
+ }
812
+ const left = nextMonth.offsetWidth * 2;
813
+ calendarBodyRef.scrollTo({
814
+ top: 0,
815
+ left: left * (dir.isRTL(this.el) ? -1 : 1),
816
+ behavior: 'smooth',
817
+ });
818
+ };
819
+ this.prevMonth = () => {
820
+ const calendarBodyRef = this.calendarBodyRef;
821
+ if (!calendarBodyRef) {
822
+ return;
823
+ }
824
+ const prevMonth = calendarBodyRef.querySelector('.calendar-month:first-of-type');
825
+ if (!prevMonth) {
826
+ return;
827
+ }
828
+ calendarBodyRef.scrollTo({
829
+ top: 0,
830
+ left: 0,
831
+ behavior: 'smooth',
832
+ });
833
+ };
834
+ this.toggleMonthAndYearView = () => {
835
+ this.showMonthAndYear = !this.showMonthAndYear;
836
+ };
837
+ this.showMonthAndYear = false;
838
+ this.activeParts = [];
839
+ this.workingParts = {
840
+ month: 5,
841
+ day: 28,
842
+ year: 2021,
843
+ hour: 13,
844
+ minute: 52,
845
+ ampm: 'pm',
846
+ };
847
+ this.isTimePopoverOpen = false;
848
+ this.forceRenderDate = undefined;
849
+ this.color = 'primary';
850
+ this.name = this.inputId;
851
+ this.disabled = false;
852
+ this.formatOptions = undefined;
853
+ this.readonly = false;
854
+ this.isDateEnabled = undefined;
855
+ this.min = undefined;
856
+ this.max = undefined;
857
+ this.presentation = 'date-time';
858
+ this.cancelText = 'Cancel';
859
+ this.doneText = 'Done';
860
+ this.clearText = 'Clear';
861
+ this.yearValues = undefined;
862
+ this.monthValues = undefined;
863
+ this.dayValues = undefined;
864
+ this.hourValues = undefined;
865
+ this.minuteValues = undefined;
866
+ this.locale = 'default';
867
+ this.firstDayOfWeek = 0;
868
+ this.titleSelectedDatesFormatter = undefined;
869
+ this.multiple = false;
870
+ this.highlightedDates = undefined;
871
+ this.value = undefined;
872
+ this.showDefaultTitle = false;
873
+ this.showDefaultButtons = false;
874
+ this.showClearButton = false;
875
+ this.showDefaultTimeLabel = true;
876
+ this.hourCycle = undefined;
877
+ this.size = 'fixed';
878
+ this.preferWheel = false;
879
+ }
880
+ formatOptionsChanged() {
881
+ const { el, formatOptions, presentation } = this;
882
+ checkForPresentationFormatMismatch(el, presentation, formatOptions);
883
+ warnIfTimeZoneProvided(el, formatOptions);
884
+ }
885
+ disabledChanged() {
886
+ this.emitStyle();
887
+ }
888
+ minChanged() {
889
+ this.processMinParts();
890
+ }
891
+ maxChanged() {
892
+ this.processMaxParts();
893
+ }
894
+ presentationChanged() {
895
+ const { el, formatOptions, presentation } = this;
896
+ checkForPresentationFormatMismatch(el, presentation, formatOptions);
897
+ }
898
+ get isGridStyle() {
899
+ const { presentation, preferWheel } = this;
900
+ const hasDatePresentation = presentation === 'date' || presentation === 'date-time' || presentation === 'time-date';
901
+ return hasDatePresentation && !preferWheel;
902
+ }
903
+ yearValuesChanged() {
904
+ this.parsedYearValues = data.convertToArrayOfNumbers(this.yearValues);
905
+ }
906
+ monthValuesChanged() {
907
+ this.parsedMonthValues = data.convertToArrayOfNumbers(this.monthValues);
908
+ }
909
+ dayValuesChanged() {
910
+ this.parsedDayValues = data.convertToArrayOfNumbers(this.dayValues);
911
+ }
912
+ hourValuesChanged() {
913
+ this.parsedHourValues = data.convertToArrayOfNumbers(this.hourValues);
914
+ }
915
+ minuteValuesChanged() {
916
+ this.parsedMinuteValues = data.convertToArrayOfNumbers(this.minuteValues);
917
+ }
918
+ /**
919
+ * Update the datetime value when the value changes
920
+ */
921
+ async valueChanged() {
922
+ const { value } = this;
923
+ if (this.hasValue()) {
924
+ this.processValue(value);
1050
925
  }
926
+ this.emitStyle();
927
+ this.ionValueChange.emit({ value });
928
+ }
929
+ /**
930
+ * Confirms the selected datetime value, updates the
931
+ * `value` property, and optionally closes the popover
932
+ * or modal that the datetime was presented in.
933
+ */
934
+ async confirm(closeOverlay = false) {
935
+ const { isCalendarPicker, activeParts, preferWheel, workingParts } = this;
1051
936
  /**
1052
- * Resets the internal state of the datetime but does not update the value.
1053
- * Passing a valid ISO-8601 string will reset the state of the component to the provided date.
1054
- * If no value is provided, the internal state will be reset to the clamped value of the min, max and today.
1055
- *
1056
- * @param startDate A valid [ISO-8601 string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date#date_time_string_format) to reset the datetime state to.
937
+ * We only update the value if the presentation is not a calendar picker.
1057
938
  */
1058
- async reset(startDate) {
1059
- this.processValue(startDate);
939
+ if (activeParts !== undefined || !isCalendarPicker) {
940
+ const activePartsIsArray = Array.isArray(activeParts);
941
+ if (activePartsIsArray && activeParts.length === 0) {
942
+ if (preferWheel) {
943
+ /**
944
+ * If the datetime is using a wheel picker, but the
945
+ * active parts are empty, then the user has confirmed the
946
+ * initial value (working parts) presented to them.
947
+ */
948
+ this.setValue(data.convertDataToISO(workingParts));
949
+ }
950
+ else {
951
+ this.setValue(undefined);
952
+ }
953
+ }
954
+ else {
955
+ this.setValue(data.convertDataToISO(activeParts));
956
+ }
957
+ }
958
+ if (closeOverlay) {
959
+ this.closeParentOverlay();
960
+ }
961
+ }
962
+ /**
963
+ * Resets the internal state of the datetime but does not update the value.
964
+ * Passing a valid ISO-8601 string will reset the state of the component to the provided date.
965
+ * If no value is provided, the internal state will be reset to the clamped value of the min, max and today.
966
+ */
967
+ async reset(startDate) {
968
+ this.processValue(startDate);
969
+ }
970
+ /**
971
+ * Emits the ionCancel event and
972
+ * optionally closes the popover
973
+ * or modal that the datetime was
974
+ * presented in.
975
+ */
976
+ async cancel(closeOverlay = false) {
977
+ this.ionCancel.emit();
978
+ if (closeOverlay) {
979
+ this.closeParentOverlay();
980
+ }
981
+ }
982
+ get isCalendarPicker() {
983
+ const { presentation } = this;
984
+ return presentation === 'date' || presentation === 'date-time' || presentation === 'time-date';
985
+ }
986
+ connectedCallback() {
987
+ this.clearFocusVisible = focusVisible.startFocusVisible(this.el).destroy;
988
+ }
989
+ disconnectedCallback() {
990
+ if (this.clearFocusVisible) {
991
+ this.clearFocusVisible();
992
+ this.clearFocusVisible = undefined;
1060
993
  }
994
+ }
995
+ initializeListeners() {
996
+ this.initializeCalendarListener();
997
+ this.initializeKeyboardListeners();
998
+ }
999
+ componentDidLoad() {
1000
+ const { el, intersectionTrackerRef } = this;
1061
1001
  /**
1062
- * Emits the ionCancel event and
1063
- * optionally closes the popover
1064
- * or modal that the datetime was
1065
- * presented in.
1066
- *
1067
- * @param closeOverlay If `true`, closes the parent overlay. Defaults to `false`.
1002
+ * If a scrollable element is hidden using `display: none`,
1003
+ * it will not have a scroll height meaning we cannot scroll elements
1004
+ * into view. As a result, we will need to wait for the datetime to become
1005
+ * visible if used inside of a modal or a popover otherwise the scrollable
1006
+ * areas will not have the correct values snapped into place.
1068
1007
  */
1069
- async cancel(closeOverlay = false) {
1070
- this.ionCancel.emit();
1071
- if (closeOverlay) {
1072
- this.closeParentOverlay(CANCEL_ROLE);
1073
- }
1008
+ const visibleCallback = (entries) => {
1009
+ const ev = entries[0];
1010
+ if (!ev.isIntersecting) {
1011
+ return;
1012
+ }
1013
+ this.initializeListeners();
1014
+ /**
1015
+ * TODO FW-2793: Datetime needs a frame to ensure that it
1016
+ * can properly scroll contents into view. As a result
1017
+ * we hide the scrollable content until after that frame
1018
+ * so users do not see the content quickly shifting. The downside
1019
+ * is that the content will pop into view a frame after. Maybe there
1020
+ * is a better way to handle this?
1021
+ */
1022
+ index$1.writeTask(() => {
1023
+ this.el.classList.add('datetime-ready');
1024
+ });
1025
+ };
1026
+ const visibleIO = new IntersectionObserver(visibleCallback, { threshold: 0.01, root: el });
1027
+ /**
1028
+ * Use raf to avoid a race condition between the component loading and
1029
+ * its display animation starting (such as when shown in a modal). This
1030
+ * could cause the datetime to start at a visibility of 0, erroneously
1031
+ * triggering the `hiddenIO` observer below.
1032
+ */
1033
+ helpers.raf(() => visibleIO === null || visibleIO === void 0 ? void 0 : visibleIO.observe(intersectionTrackerRef));
1034
+ /**
1035
+ * We need to clean up listeners when the datetime is hidden
1036
+ * in a popover/modal so that we can properly scroll containers
1037
+ * back into view if they are re-presented. When the datetime is hidden
1038
+ * the scroll areas have scroll widths/heights of 0px, so any snapping
1039
+ * we did originally has been lost.
1040
+ */
1041
+ const hiddenCallback = (entries) => {
1042
+ const ev = entries[0];
1043
+ if (ev.isIntersecting) {
1044
+ return;
1045
+ }
1046
+ this.destroyInteractionListeners();
1047
+ /**
1048
+ * When datetime is hidden, we need to make sure that
1049
+ * the month/year picker is closed. Otherwise,
1050
+ * it will be open when the datetime re-appears
1051
+ * and the scroll area of the calendar grid will be 0.
1052
+ * As a result, the wrong month will be shown.
1053
+ */
1054
+ this.showMonthAndYear = false;
1055
+ index$1.writeTask(() => {
1056
+ this.el.classList.remove('datetime-ready');
1057
+ });
1058
+ };
1059
+ const hiddenIO = new IntersectionObserver(hiddenCallback, { threshold: 0, root: el });
1060
+ helpers.raf(() => hiddenIO === null || hiddenIO === void 0 ? void 0 : hiddenIO.observe(intersectionTrackerRef));
1061
+ /**
1062
+ * Datetime uses Ionic components that emit
1063
+ * ionFocus and ionBlur. These events are
1064
+ * composed meaning they will cross
1065
+ * the shadow dom boundary. We need to
1066
+ * stop propagation on these events otherwise
1067
+ * developers will see 2 ionFocus or 2 ionBlur
1068
+ * events at a time.
1069
+ */
1070
+ const root = helpers.getElementRoot(this.el);
1071
+ root.addEventListener('ionFocus', (ev) => ev.stopPropagation());
1072
+ root.addEventListener('ionBlur', (ev) => ev.stopPropagation());
1073
+ }
1074
+ /**
1075
+ * When the presentation is changed, all calendar content is recreated,
1076
+ * so we need to re-init behavior with the new elements.
1077
+ */
1078
+ componentDidRender() {
1079
+ const { presentation, prevPresentation, calendarBodyRef, minParts, preferWheel, forceRenderDate } = this;
1080
+ /**
1081
+ * TODO(FW-2165)
1082
+ * Remove this when https://bugs.webkit.org/show_bug.cgi?id=235960 is fixed.
1083
+ * When using `min`, we add `scroll-snap-align: none`
1084
+ * to the disabled month so that users cannot scroll to it.
1085
+ * This triggers a bug in WebKit where the scroll position is reset.
1086
+ * Since the month change logic is handled by a scroll listener,
1087
+ * this causes the month to change leading to `scroll-snap-align`
1088
+ * changing again, thus changing the scroll position again and causing
1089
+ * an infinite loop.
1090
+ * This issue only applies to the calendar grid, so we can disable
1091
+ * it if the calendar grid is not being used.
1092
+ */
1093
+ const hasCalendarGrid = !preferWheel && ['date-time', 'time-date', 'date'].includes(presentation);
1094
+ if (minParts !== undefined && hasCalendarGrid && calendarBodyRef) {
1095
+ const workingMonth = calendarBodyRef.querySelector('.calendar-month:nth-of-type(1)');
1096
+ /**
1097
+ * We need to make sure the datetime is not in the process
1098
+ * of scrolling to a new datetime value if the value
1099
+ * is updated programmatically.
1100
+ * Otherwise, the datetime will appear to not scroll at all because
1101
+ * we are resetting the scroll position to the center of the view.
1102
+ * Prior to the datetime's value being updated programmatically,
1103
+ * the calendarBodyRef is scrolled such that the middle month is centered
1104
+ * in the view. The below code updates the scroll position so the middle
1105
+ * month is also centered in the view. Since the scroll position did not change,
1106
+ * the scroll callback in this file does not fire,
1107
+ * and the resolveForceDateScrolling promise never resolves.
1108
+ */
1109
+ if (workingMonth && forceRenderDate === undefined) {
1110
+ calendarBodyRef.scrollLeft = workingMonth.clientWidth * (dir.isRTL(this.el) ? -1 : 1);
1111
+ }
1074
1112
  }
1075
- get isCalendarPicker() {
1076
- const { presentation } = this;
1077
- return presentation === 'date' || presentation === 'date-time' || presentation === 'time-date';
1113
+ if (prevPresentation === null) {
1114
+ this.prevPresentation = presentation;
1115
+ return;
1078
1116
  }
1079
- connectedCallback() {
1080
- this.clearFocusVisible = focusVisible.startFocusVisible(this.el).destroy;
1117
+ if (presentation === prevPresentation) {
1118
+ return;
1081
1119
  }
1082
- disconnectedCallback() {
1083
- if (this.clearFocusVisible) {
1084
- this.clearFocusVisible();
1085
- this.clearFocusVisible = undefined;
1086
- }
1120
+ this.prevPresentation = presentation;
1121
+ this.destroyInteractionListeners();
1122
+ this.initializeListeners();
1123
+ /**
1124
+ * The month/year picker from the date interface
1125
+ * should be closed as it is not available in non-date
1126
+ * interfaces.
1127
+ */
1128
+ this.showMonthAndYear = false;
1129
+ helpers.raf(() => {
1130
+ this.ionRender.emit();
1131
+ });
1132
+ }
1133
+ componentWillLoad() {
1134
+ const { el, formatOptions, highlightedDates, multiple, presentation, preferWheel } = this;
1135
+ if (multiple) {
1136
+ if (presentation !== 'date') {
1137
+ index.printIonWarning('Multiple date selection is only supported for presentation="date".', el);
1138
+ }
1139
+ if (preferWheel) {
1140
+ index.printIonWarning('Multiple date selection is not supported with preferWheel="true".', el);
1141
+ }
1087
1142
  }
1088
- initializeListeners() {
1089
- this.initializeCalendarListener();
1090
- this.initializeKeyboardListeners();
1143
+ if (highlightedDates !== undefined) {
1144
+ if (presentation !== 'date' && presentation !== 'date-time' && presentation !== 'time-date') {
1145
+ index.printIonWarning('The highlightedDates property is only supported with the date, date-time, and time-date presentations.', el);
1146
+ }
1147
+ if (preferWheel) {
1148
+ index.printIonWarning('The highlightedDates property is not supported with preferWheel="true".', el);
1149
+ }
1091
1150
  }
1092
- componentDidLoad() {
1093
- const { el, intersectionTrackerRef } = this;
1094
- /**
1095
- * If a scrollable element is hidden using `display: none`,
1096
- * it will not have a scroll height meaning we cannot scroll elements
1097
- * into view. As a result, we will need to wait for the datetime to become
1098
- * visible if used inside of a modal or a popover otherwise the scrollable
1099
- * areas will not have the correct values snapped into place.
1100
- */
1101
- const visibleCallback = (entries) => {
1102
- const ev = entries[0];
1103
- if (!ev.isIntersecting) {
1104
- return;
1105
- }
1106
- this.initializeListeners();
1107
- /**
1108
- * TODO FW-2793: Datetime needs a frame to ensure that it
1109
- * can properly scroll contents into view. As a result
1110
- * we hide the scrollable content until after that frame
1111
- * so users do not see the content quickly shifting. The downside
1112
- * is that the content will pop into view a frame after. Maybe there
1113
- * is a better way to handle this?
1114
- */
1115
- index.writeTask(() => {
1116
- this.el.classList.add('datetime-ready');
1117
- });
1118
- };
1119
- const visibleIO = new IntersectionObserver(visibleCallback, { threshold: 0.01, root: el });
1120
- /**
1121
- * Use raf to avoid a race condition between the component loading and
1122
- * its display animation starting (such as when shown in a modal). This
1123
- * could cause the datetime to start at a visibility of 0, erroneously
1124
- * triggering the `hiddenIO` observer below.
1125
- */
1126
- helpers.raf(() => visibleIO === null || visibleIO === void 0 ? void 0 : visibleIO.observe(intersectionTrackerRef));
1127
- /**
1128
- * TODO(FW-6931): Remove this fallback upon solving the root cause
1129
- * Fallback: If IntersectionObserver never reports that the
1130
- * datetime is visible but the host clearly has layout, ensure
1131
- * we still initialize listeners and mark the component as ready.
1132
- *
1133
- * We schedule this after everything has had a chance to run.
1134
- */
1135
- setTimeout(() => {
1136
- this.ensureReadyIfVisible();
1137
- }, 100);
1138
- /**
1139
- * We need to clean up listeners when the datetime is hidden
1140
- * in a popover/modal so that we can properly scroll containers
1141
- * back into view if they are re-presented. When the datetime is hidden
1142
- * the scroll areas have scroll widths/heights of 0px, so any snapping
1143
- * we did originally has been lost.
1144
- */
1145
- const hiddenCallback = (entries) => {
1146
- const ev = entries[0];
1147
- if (ev.isIntersecting) {
1148
- return;
1149
- }
1150
- this.destroyInteractionListeners();
1151
- /**
1152
- * When datetime is hidden, we need to make sure that
1153
- * the month/year picker is closed. Otherwise,
1154
- * it will be open when the datetime re-appears
1155
- * and the scroll area of the calendar grid will be 0.
1156
- * As a result, the wrong month will be shown.
1157
- */
1158
- this.showMonthAndYear = false;
1159
- index.writeTask(() => {
1160
- this.el.classList.remove('datetime-ready');
1161
- });
1162
- };
1163
- const hiddenIO = new IntersectionObserver(hiddenCallback, { threshold: 0, root: el });
1164
- helpers.raf(() => hiddenIO === null || hiddenIO === void 0 ? void 0 : hiddenIO.observe(intersectionTrackerRef));
1165
- /**
1166
- * Datetime uses Ionic components that emit
1167
- * ionFocus and ionBlur. These events are
1168
- * composed meaning they will cross
1169
- * the shadow dom boundary. We need to
1170
- * stop propagation on these events otherwise
1171
- * developers will see 2 ionFocus or 2 ionBlur
1172
- * events at a time.
1173
- */
1174
- const root = helpers.getElementRoot(this.el);
1175
- root.addEventListener('ionFocus', (ev) => ev.stopPropagation());
1176
- root.addEventListener('ionBlur', (ev) => ev.stopPropagation());
1151
+ if (formatOptions) {
1152
+ checkForPresentationFormatMismatch(el, presentation, formatOptions);
1153
+ warnIfTimeZoneProvided(el, formatOptions);
1177
1154
  }
1155
+ const hourValues = (this.parsedHourValues = data.convertToArrayOfNumbers(this.hourValues));
1156
+ const minuteValues = (this.parsedMinuteValues = data.convertToArrayOfNumbers(this.minuteValues));
1157
+ const monthValues = (this.parsedMonthValues = data.convertToArrayOfNumbers(this.monthValues));
1158
+ const yearValues = (this.parsedYearValues = data.convertToArrayOfNumbers(this.yearValues));
1159
+ const dayValues = (this.parsedDayValues = data.convertToArrayOfNumbers(this.dayValues));
1160
+ const todayParts = (this.todayParts = data.parseDate(data.getToday()));
1161
+ this.processMinParts();
1162
+ this.processMaxParts();
1163
+ this.defaultParts = data.getClosestValidDate({
1164
+ refParts: todayParts,
1165
+ monthValues,
1166
+ dayValues,
1167
+ yearValues,
1168
+ hourValues,
1169
+ minuteValues,
1170
+ minParts: this.minParts,
1171
+ maxParts: this.maxParts,
1172
+ });
1173
+ this.processValue(this.value);
1174
+ this.emitStyle();
1175
+ }
1176
+ emitStyle() {
1177
+ this.ionStyle.emit({
1178
+ interactive: true,
1179
+ datetime: true,
1180
+ 'interactive-disabled': this.disabled,
1181
+ });
1182
+ }
1183
+ /**
1184
+ * Universal render methods
1185
+ * These are pieces of datetime that
1186
+ * are rendered independently of presentation.
1187
+ */
1188
+ renderFooter() {
1189
+ const { disabled, readonly, showDefaultButtons, showClearButton } = this;
1178
1190
  /**
1179
- * When the presentation is changed, all calendar content is recreated,
1180
- * so we need to re-init behavior with the new elements.
1191
+ * The cancel, clear, and confirm buttons
1192
+ * should not be interactive if the datetime
1193
+ * is disabled or readonly.
1181
1194
  */
1182
- componentDidRender() {
1183
- const { presentation, prevPresentation, calendarBodyRef, minParts, preferWheel, forceRenderDate } = this;
1184
- /**
1185
- * TODO(FW-2165)
1186
- * Remove this when https://bugs.webkit.org/show_bug.cgi?id=235960 is fixed.
1187
- * When using `min`, we add `scroll-snap-align: none`
1188
- * to the disabled month so that users cannot scroll to it.
1189
- * This triggers a bug in WebKit where the scroll position is reset.
1190
- * Since the month change logic is handled by a scroll listener,
1191
- * this causes the month to change leading to `scroll-snap-align`
1192
- * changing again, thus changing the scroll position again and causing
1193
- * an infinite loop.
1194
- * This issue only applies to the calendar grid, so we can disable
1195
- * it if the calendar grid is not being used.
1196
- */
1197
- const hasCalendarGrid = !preferWheel && ['date-time', 'time-date', 'date'].includes(presentation);
1198
- if (minParts !== undefined && hasCalendarGrid && calendarBodyRef) {
1199
- const workingMonth = calendarBodyRef.querySelector('.calendar-month:nth-of-type(1)');
1200
- /**
1201
- * We need to make sure the datetime is not in the process
1202
- * of scrolling to a new datetime value if the value
1203
- * is updated programmatically.
1204
- * Otherwise, the datetime will appear to not scroll at all because
1205
- * we are resetting the scroll position to the center of the view.
1206
- * Prior to the datetime's value being updated programmatically,
1207
- * the calendarBodyRef is scrolled such that the middle month is centered
1208
- * in the view. The below code updates the scroll position so the middle
1209
- * month is also centered in the view. Since the scroll position did not change,
1210
- * the scroll callback in this file does not fire,
1211
- * and the resolveForceDateScrolling promise never resolves.
1212
- */
1213
- if (workingMonth && forceRenderDate === undefined) {
1214
- calendarBodyRef.scrollLeft = workingMonth.clientWidth * (dir.isRTL(this.el) ? -1 : 1);
1215
- }
1216
- }
1217
- if (prevPresentation === null) {
1218
- this.prevPresentation = presentation;
1219
- return;
1220
- }
1221
- if (presentation === prevPresentation) {
1222
- return;
1223
- }
1224
- this.prevPresentation = presentation;
1225
- this.destroyInteractionListeners();
1226
- this.initializeListeners();
1227
- /**
1228
- * The month/year picker from the date interface
1229
- * should be closed as it is not available in non-date
1230
- * interfaces.
1231
- */
1232
- this.showMonthAndYear = false;
1233
- helpers.raf(() => {
1234
- this.ionRender.emit();
1235
- });
1195
+ const isButtonDisabled = disabled || readonly;
1196
+ const hasSlottedButtons = this.el.querySelector('[slot="buttons"]') !== null;
1197
+ if (!hasSlottedButtons && !showDefaultButtons && !showClearButton) {
1198
+ return;
1236
1199
  }
1237
- componentWillLoad() {
1238
- const { el, formatOptions, highlightedDates, multiple, presentation, preferWheel } = this;
1239
- if (multiple) {
1240
- if (presentation !== 'date') {
1241
- index.printIonWarning('[ion-datetime] - Multiple date selection is only supported for presentation="date".', el);
1242
- }
1243
- if (preferWheel) {
1244
- index.printIonWarning('[ion-datetime] - Multiple date selection is not supported with preferWheel="true".', el);
1245
- }
1246
- }
1247
- if (highlightedDates !== undefined) {
1248
- if (presentation !== 'date' && presentation !== 'date-time' && presentation !== 'time-date') {
1249
- index.printIonWarning('[ion-datetime] - The highlightedDates property is only supported with the date, date-time, and time-date presentations.', el);
1250
- }
1251
- if (preferWheel) {
1252
- index.printIonWarning('[ion-datetime] - The highlightedDates property is not supported with preferWheel="true".', el);
1253
- }
1200
+ const clearButtonClick = () => {
1201
+ this.reset();
1202
+ this.setValue(undefined);
1203
+ };
1204
+ /**
1205
+ * By default we render two buttons:
1206
+ * Cancel - Dismisses the datetime and
1207
+ * does not update the `value` prop.
1208
+ * OK - Dismisses the datetime and
1209
+ * updates the `value` prop.
1210
+ */
1211
+ return (index$1.h("div", { class: "datetime-footer" }, index$1.h("div", { class: "datetime-buttons" }, index$1.h("div", { class: {
1212
+ ['datetime-action-buttons']: true,
1213
+ ['has-clear-button']: this.showClearButton,
1214
+ } }, index$1.h("slot", { name: "buttons" }, index$1.h("ion-buttons", null, showDefaultButtons && (index$1.h("ion-button", { id: "cancel-button", color: this.color, onClick: () => this.cancel(true), disabled: isButtonDisabled }, this.cancelText)), index$1.h("div", { class: "datetime-action-buttons-container" }, showClearButton && (index$1.h("ion-button", { id: "clear-button", color: this.color, onClick: () => clearButtonClick(), disabled: isButtonDisabled }, this.clearText)), showDefaultButtons && (index$1.h("ion-button", { id: "confirm-button", color: this.color, onClick: () => this.confirm(true), disabled: isButtonDisabled }, this.doneText)))))))));
1215
+ }
1216
+ /**
1217
+ * Wheel picker render methods
1218
+ */
1219
+ renderWheelPicker(forcePresentation = this.presentation) {
1220
+ /**
1221
+ * If presentation="time-date" we switch the
1222
+ * order of the render array here instead of
1223
+ * manually reordering each date/time picker
1224
+ * column with CSS. This allows for additional
1225
+ * flexibility if we need to render subsets
1226
+ * of the date/time data or do additional ordering
1227
+ * within the child render functions.
1228
+ */
1229
+ const renderArray = forcePresentation === 'time-date'
1230
+ ? [this.renderTimePickerColumns(forcePresentation), this.renderDatePickerColumns(forcePresentation)]
1231
+ : [this.renderDatePickerColumns(forcePresentation), this.renderTimePickerColumns(forcePresentation)];
1232
+ return index$1.h("ion-picker-internal", null, renderArray);
1233
+ }
1234
+ renderDatePickerColumns(forcePresentation) {
1235
+ return forcePresentation === 'date-time' || forcePresentation === 'time-date'
1236
+ ? this.renderCombinedDatePickerColumn()
1237
+ : this.renderIndividualDatePickerColumns(forcePresentation);
1238
+ }
1239
+ renderCombinedDatePickerColumn() {
1240
+ const { defaultParts, disabled, workingParts, locale, minParts, maxParts, todayParts, isDateEnabled } = this;
1241
+ const activePart = this.getActivePartsWithFallback();
1242
+ /**
1243
+ * By default, generate a range of 3 months:
1244
+ * Previous month, current month, and next month
1245
+ */
1246
+ const monthsToRender = data.generateMonths(workingParts);
1247
+ const lastMonth = monthsToRender[monthsToRender.length - 1];
1248
+ /**
1249
+ * Ensure that users can select the entire window of dates.
1250
+ */
1251
+ monthsToRender[0].day = 1;
1252
+ lastMonth.day = data.getNumDaysInMonth(lastMonth.month, lastMonth.year);
1253
+ /**
1254
+ * Narrow the dates rendered based on min/max dates (if any).
1255
+ * The `min` date is used if the min is after the generated min month.
1256
+ * The `max` date is used if the max is before the generated max month.
1257
+ * This ensures that the sliding window always stays at 3 months
1258
+ * but still allows future dates to be lazily rendered based on any min/max
1259
+ * constraints.
1260
+ */
1261
+ const min = minParts !== undefined && data.isAfter(minParts, monthsToRender[0]) ? minParts : monthsToRender[0];
1262
+ const max = maxParts !== undefined && data.isBefore(maxParts, lastMonth) ? maxParts : lastMonth;
1263
+ const result = data.getCombinedDateColumnData(locale, todayParts, min, max, this.parsedDayValues, this.parsedMonthValues);
1264
+ let items = result.items;
1265
+ const parts = result.parts;
1266
+ if (isDateEnabled) {
1267
+ items = items.map((itemObject, index$1) => {
1268
+ const referenceParts = parts[index$1];
1269
+ let disabled;
1270
+ try {
1271
+ /**
1272
+ * The `isDateEnabled` implementation is try-catch wrapped
1273
+ * to prevent exceptions in the user's function from
1274
+ * interrupting the calendar rendering.
1275
+ */
1276
+ disabled = !isDateEnabled(data.convertDataToISO(referenceParts));
1254
1277
  }
1255
- if (formatOptions) {
1256
- checkForPresentationFormatMismatch(el, presentation, formatOptions);
1257
- warnIfTimeZoneProvided(el, formatOptions);
1278
+ catch (e) {
1279
+ index.printIonError('Exception thrown from provided `isDateEnabled` function. Please check your function and try again.', e);
1258
1280
  }
1259
- const hourValues = (this.parsedHourValues = data.convertToArrayOfNumbers(this.hourValues));
1260
- const minuteValues = (this.parsedMinuteValues = data.convertToArrayOfNumbers(this.minuteValues));
1261
- const monthValues = (this.parsedMonthValues = data.convertToArrayOfNumbers(this.monthValues));
1262
- const yearValues = (this.parsedYearValues = data.convertToArrayOfNumbers(this.yearValues));
1263
- const dayValues = (this.parsedDayValues = data.convertToArrayOfNumbers(this.dayValues));
1264
- const todayParts = (this.todayParts = data.parseDate(data.getToday()));
1265
- this.processMinParts();
1266
- this.processMaxParts();
1267
- this.defaultParts = data.getClosestValidDate({
1268
- refParts: todayParts,
1269
- monthValues,
1270
- dayValues,
1271
- yearValues,
1272
- hourValues,
1273
- minuteValues,
1274
- minParts: this.minParts,
1275
- maxParts: this.maxParts,
1276
- });
1277
- this.processValue(this.value);
1278
- this.emitStyle();
1279
- }
1280
- emitStyle() {
1281
- this.ionStyle.emit({
1282
- interactive: true,
1283
- datetime: true,
1284
- 'interactive-disabled': this.disabled,
1285
- });
1281
+ return Object.assign(Object.assign({}, itemObject), { disabled });
1282
+ });
1286
1283
  }
1287
1284
  /**
1288
- * Universal render methods
1289
- * These are pieces of datetime that
1290
- * are rendered independently of presentation.
1285
+ * If we have selected a day already, then default the column
1286
+ * to that value. Otherwise, set it to the default date.
1291
1287
  */
1292
- renderFooter() {
1293
- const { disabled, readonly, showDefaultButtons, showClearButton } = this;
1294
- /**
1295
- * The cancel, clear, and confirm buttons
1296
- * should not be interactive if the datetime
1297
- * is disabled or readonly.
1298
- */
1299
- const isButtonDisabled = disabled || readonly;
1300
- const hasSlottedButtons = this.el.querySelector('[slot="buttons"]') !== null;
1301
- if (!hasSlottedButtons && !showDefaultButtons && !showClearButton) {
1302
- return;
1288
+ const todayString = workingParts.day !== null
1289
+ ? `${workingParts.year}-${workingParts.month}-${workingParts.day}`
1290
+ : `${defaultParts.year}-${defaultParts.month}-${defaultParts.day}`;
1291
+ return (index$1.h("ion-picker-column-internal", { class: "date-column", color: this.color, disabled: disabled, items: items, value: todayString, onIonChange: (ev) => {
1292
+ // TODO(FW-1823) Remove this when iOS 14 support is dropped.
1293
+ // Due to a Safari 14 issue we need to destroy
1294
+ // the scroll listener before we update state
1295
+ // and trigger a re-render.
1296
+ if (this.destroyCalendarListener) {
1297
+ this.destroyCalendarListener();
1303
1298
  }
1304
- const clearButtonClick = () => {
1305
- this.reset();
1306
- this.setValue(undefined);
1299
+ const { value } = ev.detail;
1300
+ const findPart = parts.find(({ month, day, year }) => value === `${year}-${month}-${day}`);
1301
+ this.setWorkingParts(Object.assign(Object.assign({}, workingParts), findPart));
1302
+ this.setActiveParts(Object.assign(Object.assign({}, activePart), findPart));
1303
+ // We can re-attach the scroll listener after
1304
+ // the working parts have been updated.
1305
+ this.initializeCalendarListener();
1306
+ ev.stopPropagation();
1307
+ } }));
1308
+ }
1309
+ renderIndividualDatePickerColumns(forcePresentation) {
1310
+ const { workingParts, isDateEnabled } = this;
1311
+ const shouldRenderMonths = forcePresentation !== 'year' && forcePresentation !== 'time';
1312
+ const months = shouldRenderMonths
1313
+ ? data.getMonthColumnData(this.locale, workingParts, this.minParts, this.maxParts, this.parsedMonthValues)
1314
+ : [];
1315
+ const shouldRenderDays = forcePresentation === 'date';
1316
+ let days = shouldRenderDays
1317
+ ? data.getDayColumnData(this.locale, workingParts, this.minParts, this.maxParts, this.parsedDayValues)
1318
+ : [];
1319
+ if (isDateEnabled) {
1320
+ days = days.map((dayObject) => {
1321
+ const { value } = dayObject;
1322
+ const valueNum = typeof value === 'string' ? parseInt(value) : value;
1323
+ const referenceParts = {
1324
+ month: workingParts.month,
1325
+ day: valueNum,
1326
+ year: workingParts.year,
1307
1327
  };
1308
- /**
1309
- * By default we render two buttons:
1310
- * Cancel - Dismisses the datetime and
1311
- * does not update the `value` prop.
1312
- * OK - Dismisses the datetime and
1313
- * updates the `value` prop.
1314
- */
1315
- return (index.h("div", { class: "datetime-footer" }, index.h("div", { class: "datetime-buttons" }, index.h("div", { class: {
1316
- ['datetime-action-buttons']: true,
1317
- ['has-clear-button']: this.showClearButton,
1318
- } }, index.h("slot", { name: "buttons" }, index.h("ion-buttons", null, showDefaultButtons && (index.h("ion-button", { id: "cancel-button", color: this.color, onClick: () => this.cancel(true), disabled: isButtonDisabled }, this.cancelText)), index.h("div", { class: "datetime-action-buttons-container" }, showClearButton && (index.h("ion-button", { id: "clear-button", color: this.color, onClick: () => clearButtonClick(), disabled: isButtonDisabled }, this.clearText)), showDefaultButtons && (index.h("ion-button", { id: "confirm-button", color: this.color, onClick: () => this.confirm(true), disabled: isButtonDisabled }, this.doneText)))))))));
1328
+ let disabled;
1329
+ try {
1330
+ /**
1331
+ * The `isDateEnabled` implementation is try-catch wrapped
1332
+ * to prevent exceptions in the user's function from
1333
+ * interrupting the calendar rendering.
1334
+ */
1335
+ disabled = !isDateEnabled(data.convertDataToISO(referenceParts));
1336
+ }
1337
+ catch (e) {
1338
+ index.printIonError('Exception thrown from provided `isDateEnabled` function. Please check your function and try again.', e);
1339
+ }
1340
+ return Object.assign(Object.assign({}, dayObject), { disabled });
1341
+ });
1319
1342
  }
1343
+ const shouldRenderYears = forcePresentation !== 'month' && forcePresentation !== 'time';
1344
+ const years = shouldRenderYears
1345
+ ? data.getYearColumnData(this.locale, this.defaultParts, this.minParts, this.maxParts, this.parsedYearValues)
1346
+ : [];
1320
1347
  /**
1321
- * Wheel picker render methods
1348
+ * Certain locales show the day before the month.
1322
1349
  */
1323
- renderWheelPicker(forcePresentation = this.presentation) {
1324
- /**
1325
- * If presentation="time-date" we switch the
1326
- * order of the render array here instead of
1327
- * manually reordering each date/time picker
1328
- * column with CSS. This allows for additional
1329
- * flexibility if we need to render subsets
1330
- * of the date/time data or do additional ordering
1331
- * within the child render functions.
1332
- */
1333
- const renderArray = forcePresentation === 'time-date'
1334
- ? [this.renderTimePickerColumns(forcePresentation), this.renderDatePickerColumns(forcePresentation)]
1335
- : [this.renderDatePickerColumns(forcePresentation), this.renderTimePickerColumns(forcePresentation)];
1336
- return index.h("ion-picker", { class: overlays.FOCUS_TRAP_DISABLE_CLASS }, renderArray);
1350
+ const showMonthFirst = data.isMonthFirstLocale(this.locale, { month: 'numeric', day: 'numeric' });
1351
+ let renderArray = [];
1352
+ if (showMonthFirst) {
1353
+ renderArray = [
1354
+ this.renderMonthPickerColumn(months),
1355
+ this.renderDayPickerColumn(days),
1356
+ this.renderYearPickerColumn(years),
1357
+ ];
1337
1358
  }
1338
- renderDatePickerColumns(forcePresentation) {
1339
- return forcePresentation === 'date-time' || forcePresentation === 'time-date'
1340
- ? this.renderCombinedDatePickerColumn()
1341
- : this.renderIndividualDatePickerColumns(forcePresentation);
1359
+ else {
1360
+ renderArray = [
1361
+ this.renderDayPickerColumn(days),
1362
+ this.renderMonthPickerColumn(months),
1363
+ this.renderYearPickerColumn(years),
1364
+ ];
1342
1365
  }
1343
- renderCombinedDatePickerColumn() {
1344
- const { defaultParts, disabled, workingParts, locale, minParts, maxParts, todayParts, isDateEnabled } = this;
1345
- const activePart = this.getActivePartsWithFallback();
1346
- /**
1347
- * By default, generate a range of 3 months:
1348
- * Previous month, current month, and next month
1349
- */
1350
- const monthsToRender = data.generateMonths(workingParts);
1351
- const lastMonth = monthsToRender[monthsToRender.length - 1];
1352
- /**
1353
- * Ensure that users can select the entire window of dates.
1354
- */
1355
- monthsToRender[0].day = 1;
1356
- lastMonth.day = data.getNumDaysInMonth(lastMonth.month, lastMonth.year);
1357
- /**
1358
- * Narrow the dates rendered based on min/max dates (if any).
1359
- * The `min` date is used if the min is after the generated min month.
1360
- * The `max` date is used if the max is before the generated max month.
1361
- * This ensures that the sliding window always stays at 3 months
1362
- * but still allows future dates to be lazily rendered based on any min/max
1363
- * constraints.
1364
- */
1365
- const min = minParts !== undefined && data.isAfter(minParts, monthsToRender[0]) ? minParts : monthsToRender[0];
1366
- const max = maxParts !== undefined && data.isBefore(maxParts, lastMonth) ? maxParts : lastMonth;
1367
- const result = data.getCombinedDateColumnData(locale, todayParts, min, max, this.parsedDayValues, this.parsedMonthValues);
1368
- let items = result.items;
1369
- const parts = result.parts;
1370
- if (isDateEnabled) {
1371
- items = items.map((itemObject, index$1) => {
1372
- const referenceParts = parts[index$1];
1373
- let disabled;
1374
- try {
1375
- /**
1376
- * The `isDateEnabled` implementation is try-catch wrapped
1377
- * to prevent exceptions in the user's function from
1378
- * interrupting the calendar rendering.
1379
- */
1380
- disabled = !isDateEnabled(data.convertDataToISO(referenceParts));
1381
- }
1382
- catch (e) {
1383
- index.printIonError('[ion-datetime] - Exception thrown from provided `isDateEnabled` function. Please check your function and try again.', e);
1384
- }
1385
- return Object.assign(Object.assign({}, itemObject), { disabled });
1386
- });
1387
- }
1388
- /**
1389
- * If we have selected a day already, then default the column
1390
- * to that value. Otherwise, set it to the default date.
1391
- */
1392
- const todayString = workingParts.day !== null
1393
- ? `${workingParts.year}-${workingParts.month}-${workingParts.day}`
1394
- : `${defaultParts.year}-${defaultParts.month}-${defaultParts.day}`;
1395
- return (index.h("ion-picker-column", { "aria-label": "Select a date", class: "date-column", color: this.color, disabled: disabled, value: todayString, onIonChange: (ev) => {
1396
- const { value } = ev.detail;
1397
- const findPart = parts.find(({ month, day, year }) => value === `${year}-${month}-${day}`);
1398
- this.setWorkingParts(Object.assign(Object.assign({}, workingParts), findPart));
1399
- this.setActiveParts(Object.assign(Object.assign({}, activePart), findPart));
1400
- ev.stopPropagation();
1401
- } }, items.map((item) => (index.h("ion-picker-column-option", { part: item.value === todayString ? `${WHEEL_ITEM_PART} ${WHEEL_ITEM_ACTIVE_PART}` : WHEEL_ITEM_PART, key: item.value, disabled: item.disabled, value: item.value }, item.text)))));
1366
+ return renderArray;
1367
+ }
1368
+ renderDayPickerColumn(days) {
1369
+ var _a;
1370
+ if (days.length === 0) {
1371
+ return [];
1402
1372
  }
1403
- renderIndividualDatePickerColumns(forcePresentation) {
1404
- const { workingParts, isDateEnabled } = this;
1405
- const shouldRenderMonths = forcePresentation !== 'year' && forcePresentation !== 'time';
1406
- const months = shouldRenderMonths
1407
- ? data.getMonthColumnData(this.locale, workingParts, this.minParts, this.maxParts, this.parsedMonthValues)
1408
- : [];
1409
- const shouldRenderDays = forcePresentation === 'date';
1410
- let days = shouldRenderDays
1411
- ? data.getDayColumnData(this.locale, workingParts, this.minParts, this.maxParts, this.parsedDayValues)
1412
- : [];
1413
- if (isDateEnabled) {
1414
- days = days.map((dayObject) => {
1415
- const { value } = dayObject;
1416
- const valueNum = typeof value === 'string' ? parseInt(value) : value;
1417
- const referenceParts = {
1418
- month: workingParts.month,
1419
- day: valueNum,
1420
- year: workingParts.year,
1421
- };
1422
- let disabled;
1423
- try {
1424
- /**
1425
- * The `isDateEnabled` implementation is try-catch wrapped
1426
- * to prevent exceptions in the user's function from
1427
- * interrupting the calendar rendering.
1428
- */
1429
- disabled = !isDateEnabled(data.convertDataToISO(referenceParts));
1430
- }
1431
- catch (e) {
1432
- index.printIonError('[ion-datetime] - Exception thrown from provided `isDateEnabled` function. Please check your function and try again.', e);
1433
- }
1434
- return Object.assign(Object.assign({}, dayObject), { disabled });
1435
- });
1436
- }
1437
- const shouldRenderYears = forcePresentation !== 'month' && forcePresentation !== 'time';
1438
- const years = shouldRenderYears
1439
- ? data.getYearColumnData(this.locale, this.defaultParts, this.minParts, this.maxParts, this.parsedYearValues)
1440
- : [];
1441
- /**
1442
- * Certain locales show the day before the month.
1443
- */
1444
- const showMonthFirst = data.isMonthFirstLocale(this.locale, { month: 'numeric', day: 'numeric' });
1445
- let renderArray = [];
1446
- if (showMonthFirst) {
1447
- renderArray = [
1448
- this.renderMonthPickerColumn(months),
1449
- this.renderDayPickerColumn(days),
1450
- this.renderYearPickerColumn(years),
1451
- ];
1452
- }
1453
- else {
1454
- renderArray = [
1455
- this.renderDayPickerColumn(days),
1456
- this.renderMonthPickerColumn(months),
1457
- this.renderYearPickerColumn(years),
1458
- ];
1373
+ const { disabled, workingParts } = this;
1374
+ const activePart = this.getActivePartsWithFallback();
1375
+ return (index$1.h("ion-picker-column-internal", { class: "day-column", color: this.color, disabled: disabled, items: days, value: (_a = (workingParts.day !== null ? workingParts.day : this.defaultParts.day)) !== null && _a !== void 0 ? _a : undefined, onIonChange: (ev) => {
1376
+ // TODO(FW-1823) Remove this when iOS 14 support is dropped.
1377
+ // Due to a Safari 14 issue we need to destroy
1378
+ // the scroll listener before we update state
1379
+ // and trigger a re-render.
1380
+ if (this.destroyCalendarListener) {
1381
+ this.destroyCalendarListener();
1459
1382
  }
1460
- return renderArray;
1383
+ this.setWorkingParts(Object.assign(Object.assign({}, workingParts), { day: ev.detail.value }));
1384
+ this.setActiveParts(Object.assign(Object.assign({}, activePart), { day: ev.detail.value }));
1385
+ // We can re-attach the scroll listener after
1386
+ // the working parts have been updated.
1387
+ this.initializeCalendarListener();
1388
+ ev.stopPropagation();
1389
+ } }));
1390
+ }
1391
+ renderMonthPickerColumn(months) {
1392
+ if (months.length === 0) {
1393
+ return [];
1461
1394
  }
1462
- renderDayPickerColumn(days) {
1463
- var _a;
1464
- if (days.length === 0) {
1465
- return [];
1395
+ const { disabled, workingParts } = this;
1396
+ const activePart = this.getActivePartsWithFallback();
1397
+ return (index$1.h("ion-picker-column-internal", { class: "month-column", color: this.color, disabled: disabled, items: months, value: workingParts.month, onIonChange: (ev) => {
1398
+ // TODO(FW-1823) Remove this when iOS 14 support is dropped.
1399
+ // Due to a Safari 14 issue we need to destroy
1400
+ // the scroll listener before we update state
1401
+ // and trigger a re-render.
1402
+ if (this.destroyCalendarListener) {
1403
+ this.destroyCalendarListener();
1466
1404
  }
1467
- const { disabled, workingParts } = this;
1468
- const activePart = this.getActivePartsWithFallback();
1469
- const pickerColumnValue = (_a = (workingParts.day !== null ? workingParts.day : this.defaultParts.day)) !== null && _a !== void 0 ? _a : undefined;
1470
- return (index.h("ion-picker-column", { "aria-label": "Select a day", class: "day-column", color: this.color, disabled: disabled, value: pickerColumnValue, onIonChange: (ev) => {
1471
- this.setWorkingParts(Object.assign(Object.assign({}, workingParts), { day: ev.detail.value }));
1472
- this.setActiveParts(Object.assign(Object.assign({}, activePart), { day: ev.detail.value }));
1473
- ev.stopPropagation();
1474
- } }, days.map((day) => (index.h("ion-picker-column-option", { part: day.value === pickerColumnValue ? `${WHEEL_ITEM_PART} ${WHEEL_ITEM_ACTIVE_PART}` : WHEEL_ITEM_PART, key: day.value, disabled: day.disabled, value: day.value }, day.text)))));
1405
+ this.setWorkingParts(Object.assign(Object.assign({}, workingParts), { month: ev.detail.value }));
1406
+ this.setActiveParts(Object.assign(Object.assign({}, activePart), { month: ev.detail.value }));
1407
+ // We can re-attach the scroll listener after
1408
+ // the working parts have been updated.
1409
+ this.initializeCalendarListener();
1410
+ ev.stopPropagation();
1411
+ } }));
1412
+ }
1413
+ renderYearPickerColumn(years) {
1414
+ if (years.length === 0) {
1415
+ return [];
1475
1416
  }
1476
- renderMonthPickerColumn(months) {
1477
- if (months.length === 0) {
1478
- return [];
1417
+ const { disabled, workingParts } = this;
1418
+ const activePart = this.getActivePartsWithFallback();
1419
+ return (index$1.h("ion-picker-column-internal", { class: "year-column", color: this.color, disabled: disabled, items: years, value: workingParts.year, onIonChange: (ev) => {
1420
+ // TODO(FW-1823) Remove this when iOS 14 support is dropped.
1421
+ // Due to a Safari 14 issue we need to destroy
1422
+ // the scroll listener before we update state
1423
+ // and trigger a re-render.
1424
+ if (this.destroyCalendarListener) {
1425
+ this.destroyCalendarListener();
1479
1426
  }
1480
- const { disabled, workingParts } = this;
1481
- const activePart = this.getActivePartsWithFallback();
1482
- return (index.h("ion-picker-column", { "aria-label": "Select a month", class: "month-column", color: this.color, disabled: disabled, value: workingParts.month, onIonChange: (ev) => {
1483
- this.setWorkingParts(Object.assign(Object.assign({}, workingParts), { month: ev.detail.value }));
1484
- this.setActiveParts(Object.assign(Object.assign({}, activePart), { month: ev.detail.value }));
1485
- ev.stopPropagation();
1486
- } }, months.map((month) => (index.h("ion-picker-column-option", { part: month.value === workingParts.month ? `${WHEEL_ITEM_PART} ${WHEEL_ITEM_ACTIVE_PART}` : WHEEL_ITEM_PART, key: month.value, disabled: month.disabled, value: month.value }, month.text)))));
1427
+ this.setWorkingParts(Object.assign(Object.assign({}, workingParts), { year: ev.detail.value }));
1428
+ this.setActiveParts(Object.assign(Object.assign({}, activePart), { year: ev.detail.value }));
1429
+ // We can re-attach the scroll listener after
1430
+ // the working parts have been updated.
1431
+ this.initializeCalendarListener();
1432
+ ev.stopPropagation();
1433
+ } }));
1434
+ }
1435
+ renderTimePickerColumns(forcePresentation) {
1436
+ if (['date', 'month', 'month-year', 'year'].includes(forcePresentation)) {
1437
+ return [];
1487
1438
  }
1488
- renderYearPickerColumn(years) {
1489
- if (years.length === 0) {
1490
- return [];
1491
- }
1492
- const { disabled, workingParts } = this;
1493
- const activePart = this.getActivePartsWithFallback();
1494
- return (index.h("ion-picker-column", { "aria-label": "Select a year", class: "year-column", color: this.color, disabled: disabled, value: workingParts.year, onIonChange: (ev) => {
1495
- this.setWorkingParts(Object.assign(Object.assign({}, workingParts), { year: ev.detail.value }));
1496
- this.setActiveParts(Object.assign(Object.assign({}, activePart), { year: ev.detail.value }));
1497
- ev.stopPropagation();
1498
- } }, years.map((year) => (index.h("ion-picker-column-option", { part: year.value === workingParts.year ? `${WHEEL_ITEM_PART} ${WHEEL_ITEM_ACTIVE_PART}` : WHEEL_ITEM_PART, key: year.value, disabled: year.disabled, value: year.value }, year.text)))));
1439
+ /**
1440
+ * If a user has not selected a date,
1441
+ * then we should show all times. If the
1442
+ * user has selected a date (even if it has
1443
+ * not been confirmed yet), we should apply
1444
+ * the max and min restrictions so that the
1445
+ * time picker shows values that are
1446
+ * appropriate for the selected date.
1447
+ */
1448
+ const activePart = this.getActivePart();
1449
+ const userHasSelectedDate = activePart !== undefined;
1450
+ const { hoursData, minutesData, dayPeriodData } = data.getTimeColumnsData(this.locale, this.workingParts, this.hourCycle, userHasSelectedDate ? this.minParts : undefined, userHasSelectedDate ? this.maxParts : undefined, this.parsedHourValues, this.parsedMinuteValues);
1451
+ return [
1452
+ this.renderHourPickerColumn(hoursData),
1453
+ this.renderMinutePickerColumn(minutesData),
1454
+ this.renderDayPeriodPickerColumn(dayPeriodData),
1455
+ ];
1456
+ }
1457
+ renderHourPickerColumn(hoursData) {
1458
+ const { disabled, workingParts } = this;
1459
+ if (hoursData.length === 0)
1460
+ return [];
1461
+ const activePart = this.getActivePartsWithFallback();
1462
+ return (index$1.h("ion-picker-column-internal", { color: this.color, disabled: disabled, value: activePart.hour, items: hoursData, numericInput: true, onIonChange: (ev) => {
1463
+ this.setWorkingParts(Object.assign(Object.assign({}, workingParts), { hour: ev.detail.value }));
1464
+ this.setActiveParts(Object.assign(Object.assign({}, activePart), { hour: ev.detail.value }));
1465
+ ev.stopPropagation();
1466
+ } }));
1467
+ }
1468
+ renderMinutePickerColumn(minutesData) {
1469
+ const { disabled, workingParts } = this;
1470
+ if (minutesData.length === 0)
1471
+ return [];
1472
+ const activePart = this.getActivePartsWithFallback();
1473
+ return (index$1.h("ion-picker-column-internal", { color: this.color, disabled: disabled, value: activePart.minute, items: minutesData, numericInput: true, onIonChange: (ev) => {
1474
+ this.setWorkingParts(Object.assign(Object.assign({}, workingParts), { minute: ev.detail.value }));
1475
+ this.setActiveParts(Object.assign(Object.assign({}, activePart), { minute: ev.detail.value }));
1476
+ ev.stopPropagation();
1477
+ } }));
1478
+ }
1479
+ renderDayPeriodPickerColumn(dayPeriodData) {
1480
+ const { disabled, workingParts } = this;
1481
+ if (dayPeriodData.length === 0) {
1482
+ return [];
1499
1483
  }
1500
- renderTimePickerColumns(forcePresentation) {
1501
- if (['date', 'month', 'month-year', 'year'].includes(forcePresentation)) {
1502
- return [];
1503
- }
1484
+ const activePart = this.getActivePartsWithFallback();
1485
+ const isDayPeriodRTL = data.isLocaleDayPeriodRTL(this.locale);
1486
+ return (index$1.h("ion-picker-column-internal", { style: isDayPeriodRTL ? { order: '-1' } : {}, color: this.color, disabled: disabled, value: activePart.ampm, items: dayPeriodData, onIonChange: (ev) => {
1487
+ const hour = data.calculateHourFromAMPM(workingParts, ev.detail.value);
1488
+ this.setWorkingParts(Object.assign(Object.assign({}, workingParts), { ampm: ev.detail.value, hour }));
1489
+ this.setActiveParts(Object.assign(Object.assign({}, activePart), { ampm: ev.detail.value, hour }));
1490
+ ev.stopPropagation();
1491
+ } }));
1492
+ }
1493
+ renderWheelView(forcePresentation) {
1494
+ const { locale } = this;
1495
+ const showMonthFirst = data.isMonthFirstLocale(locale);
1496
+ const columnOrder = showMonthFirst ? 'month-first' : 'year-first';
1497
+ return (index$1.h("div", { class: {
1498
+ [`wheel-order-${columnOrder}`]: true,
1499
+ } }, this.renderWheelPicker(forcePresentation)));
1500
+ }
1501
+ /**
1502
+ * Grid Render Methods
1503
+ */
1504
+ renderCalendarHeader(mode) {
1505
+ const { disabled } = this;
1506
+ const expandedIcon = mode === 'ios' ? index$2.chevronDown : index$2.caretUpSharp;
1507
+ const collapsedIcon = mode === 'ios' ? index$2.chevronForward : index$2.caretDownSharp;
1508
+ const prevMonthDisabled = disabled || isPrevMonthDisabled(this.workingParts, this.minParts, this.maxParts);
1509
+ const nextMonthDisabled = disabled || isNextMonthDisabled(this.workingParts, this.maxParts);
1510
+ // don't use the inheritAttributes util because it removes dir from the host, and we still need that
1511
+ const hostDir = this.el.getAttribute('dir') || undefined;
1512
+ return (index$1.h("div", { class: "calendar-header" }, index$1.h("div", { class: "calendar-action-buttons" }, index$1.h("div", { class: "calendar-month-year" }, index$1.h("ion-item", { part: "month-year-button", ref: (el) => (this.monthYearToggleItemRef = el), button: true, "aria-label": "Show year picker", detail: false, lines: "none", disabled: disabled, onClick: () => {
1513
+ var _a;
1514
+ this.toggleMonthAndYearView();
1504
1515
  /**
1505
- * If a user has not selected a date,
1506
- * then we should show all times. If the
1507
- * user has selected a date (even if it has
1508
- * not been confirmed yet), we should apply
1509
- * the max and min restrictions so that the
1510
- * time picker shows values that are
1511
- * appropriate for the selected date.
1516
+ * TODO: FW-3547
1517
+ *
1518
+ * Currently there is not a way to set the aria-label on the inner button
1519
+ * on the `ion-item` and have it be reactive to changes. This is a workaround
1520
+ * until we either refactor `ion-item` to a button or Stencil adds a way to
1521
+ * have reactive props for built-in properties, such as `aria-label`.
1512
1522
  */
1513
- const activePart = this.getActivePart();
1514
- const userHasSelectedDate = activePart !== undefined;
1515
- const { hoursData, minutesData, dayPeriodData } = data.getTimeColumnsData(this.locale, this.workingParts, this.hourCycle, userHasSelectedDate ? this.minParts : undefined, userHasSelectedDate ? this.maxParts : undefined, this.parsedHourValues, this.parsedMinuteValues);
1516
- return [
1517
- this.renderHourPickerColumn(hoursData),
1518
- this.renderMinutePickerColumn(minutesData),
1519
- this.renderDayPeriodPickerColumn(dayPeriodData),
1520
- ];
1521
- }
1522
- renderHourPickerColumn(hoursData) {
1523
- const { disabled, workingParts } = this;
1524
- if (hoursData.length === 0)
1525
- return [];
1526
- const activePart = this.getActivePartsWithFallback();
1527
- return (index.h("ion-picker-column", { "aria-label": "Select an hour", color: this.color, disabled: disabled, value: activePart.hour, numericInput: true, onIonChange: (ev) => {
1528
- this.setWorkingParts(Object.assign(Object.assign({}, workingParts), { hour: ev.detail.value }));
1529
- this.setActiveParts(Object.assign(Object.assign({}, this.getActivePartsWithFallback()), { hour: ev.detail.value }));
1530
- ev.stopPropagation();
1531
- } }, hoursData.map((hour) => (index.h("ion-picker-column-option", { part: hour.value === activePart.hour ? `${WHEEL_ITEM_PART} ${WHEEL_ITEM_ACTIVE_PART}` : WHEEL_ITEM_PART, key: hour.value, disabled: hour.disabled, value: hour.value }, hour.text)))));
1532
- }
1533
- renderMinutePickerColumn(minutesData) {
1534
- const { disabled, workingParts } = this;
1535
- if (minutesData.length === 0)
1536
- return [];
1537
- const activePart = this.getActivePartsWithFallback();
1538
- return (index.h("ion-picker-column", { "aria-label": "Select a minute", color: this.color, disabled: disabled, value: activePart.minute, numericInput: true, onIonChange: (ev) => {
1539
- this.setWorkingParts(Object.assign(Object.assign({}, workingParts), { minute: ev.detail.value }));
1540
- this.setActiveParts(Object.assign(Object.assign({}, this.getActivePartsWithFallback()), { minute: ev.detail.value }));
1541
- ev.stopPropagation();
1542
- } }, minutesData.map((minute) => (index.h("ion-picker-column-option", { part: minute.value === activePart.minute ? `${WHEEL_ITEM_PART} ${WHEEL_ITEM_ACTIVE_PART}` : WHEEL_ITEM_PART, key: minute.value, disabled: minute.disabled, value: minute.value }, minute.text)))));
1543
- }
1544
- renderDayPeriodPickerColumn(dayPeriodData) {
1545
- const { disabled, workingParts } = this;
1546
- if (dayPeriodData.length === 0) {
1547
- return [];
1523
+ const { monthYearToggleItemRef } = this;
1524
+ if (monthYearToggleItemRef) {
1525
+ const btn = (_a = monthYearToggleItemRef.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector('.item-native');
1526
+ if (btn) {
1527
+ const monthYearAriaLabel = this.showMonthAndYear ? 'Hide year picker' : 'Show year picker';
1528
+ btn.setAttribute('aria-label', monthYearAriaLabel);
1529
+ }
1548
1530
  }
1549
- const activePart = this.getActivePartsWithFallback();
1550
- const isDayPeriodRTL = data.isLocaleDayPeriodRTL(this.locale);
1551
- return (index.h("ion-picker-column", { "aria-label": "Select a day period", style: isDayPeriodRTL ? { order: '-1' } : {}, color: this.color, disabled: disabled, value: activePart.ampm, onIonChange: (ev) => {
1552
- const hour = data.calculateHourFromAMPM(workingParts, ev.detail.value);
1553
- this.setWorkingParts(Object.assign(Object.assign({}, workingParts), { ampm: ev.detail.value, hour }));
1554
- this.setActiveParts(Object.assign(Object.assign({}, this.getActivePartsWithFallback()), { ampm: ev.detail.value, hour }));
1555
- ev.stopPropagation();
1556
- } }, dayPeriodData.map((dayPeriod) => (index.h("ion-picker-column-option", { part: dayPeriod.value === activePart.ampm ? `${WHEEL_ITEM_PART} ${WHEEL_ITEM_ACTIVE_PART}` : WHEEL_ITEM_PART, key: dayPeriod.value, disabled: dayPeriod.disabled, value: dayPeriod.value }, dayPeriod.text)))));
1557
- }
1558
- renderWheelView(forcePresentation) {
1559
- const { locale } = this;
1560
- const showMonthFirst = data.isMonthFirstLocale(locale);
1561
- const columnOrder = showMonthFirst ? 'month-first' : 'year-first';
1562
- return (index.h("div", { class: {
1563
- [`wheel-order-${columnOrder}`]: true,
1564
- } }, this.renderWheelPicker(forcePresentation)));
1565
- }
1566
- /**
1567
- * Grid Render Methods
1568
- */
1569
- renderCalendarHeader(mode) {
1570
- const { disabled } = this;
1571
- const expandedIcon = mode === 'ios' ? index$1.chevronDown : index$1.caretUpSharp;
1572
- const collapsedIcon = mode === 'ios' ? index$1.chevronForward : index$1.caretDownSharp;
1573
- const prevMonthDisabled = disabled || isPrevMonthDisabled(this.workingParts, this.minParts, this.maxParts);
1574
- const nextMonthDisabled = disabled || isNextMonthDisabled(this.workingParts, this.maxParts);
1575
- // don't use the inheritAttributes util because it removes dir from the host, and we still need that
1576
- const hostDir = this.el.getAttribute('dir') || undefined;
1577
- return (index.h("div", { class: "calendar-header" }, index.h("div", { class: "calendar-action-buttons" }, index.h("div", { class: "calendar-month-year" }, index.h("button", { class: {
1578
- 'calendar-month-year-toggle': true,
1579
- 'ion-activatable': true,
1580
- 'ion-focusable': true,
1581
- }, part: "month-year-button", disabled: disabled, "aria-label": this.showMonthAndYear ? 'Hide year picker' : 'Show year picker', onClick: () => this.toggleMonthAndYearView() }, index.h("span", { id: "toggle-wrapper" }, data.getMonthAndYear(this.locale, this.workingParts), index.h("ion-icon", { "aria-hidden": "true", icon: this.showMonthAndYear ? expandedIcon : collapsedIcon, lazy: false, flipRtl: true })), mode === 'md' && index.h("ion-ripple-effect", null))), index.h("div", { class: "calendar-next-prev" }, index.h("ion-buttons", null, index.h("ion-button", { "aria-label": "Previous month", disabled: prevMonthDisabled, onClick: () => this.prevMonth() }, index.h("ion-icon", { dir: hostDir, "aria-hidden": "true", slot: "icon-only", icon: index$1.chevronBack, lazy: false, flipRtl: true })), index.h("ion-button", { "aria-label": "Next month", disabled: nextMonthDisabled, onClick: () => this.nextMonth() }, index.h("ion-icon", { dir: hostDir, "aria-hidden": "true", slot: "icon-only", icon: index$1.chevronForward, lazy: false, flipRtl: true }))))), index.h("div", { class: "calendar-days-of-week", "aria-hidden": "true" }, data.getDaysOfWeek(this.locale, mode, this.firstDayOfWeek % 7).map((d) => {
1582
- return index.h("div", { class: "day-of-week" }, d);
1583
- }))));
1584
- }
1585
- renderMonth(month, year) {
1586
- const { disabled, readonly } = this;
1587
- const yearAllowed = this.parsedYearValues === undefined || this.parsedYearValues.includes(year);
1588
- const monthAllowed = this.parsedMonthValues === undefined || this.parsedMonthValues.includes(month);
1589
- const isCalMonthDisabled = !yearAllowed || !monthAllowed;
1590
- const isDatetimeDisabled = disabled || readonly;
1591
- const swipeDisabled = disabled ||
1592
- isMonthDisabled({
1593
- month,
1594
- year,
1595
- day: null,
1596
- }, {
1597
- // The day is not used when checking if a month is disabled.
1598
- // Users should be able to access the min or max month, even if the
1599
- // min/max date is out of bounds (e.g. min is set to Feb 15, Feb should not be disabled).
1600
- minParts: Object.assign(Object.assign({}, this.minParts), { day: null }),
1601
- maxParts: Object.assign(Object.assign({}, this.maxParts), { day: null }),
1602
- });
1603
- // The working month should never have swipe disabled.
1604
- // Otherwise the CSS scroll snap will not work and the user
1605
- // can free-scroll the calendar.
1606
- const isWorkingMonth = this.workingParts.month === month && this.workingParts.year === year;
1607
- const activePart = this.getActivePartsWithFallback();
1608
- return (index.h("div", { "aria-hidden": !isWorkingMonth ? 'true' : null, class: {
1609
- 'calendar-month': true,
1610
- // Prevents scroll snap swipe gestures for months outside of the min/max bounds
1611
- 'calendar-month-disabled': !isWorkingMonth && swipeDisabled,
1612
- } }, index.h("div", { class: "calendar-month-grid" }, data.getDaysOfMonth(month, year, this.firstDayOfWeek % 7, this.showAdjacentDays).map((dateObject, index$1) => {
1613
- const { day, dayOfWeek, isAdjacentDay } = dateObject;
1614
- const { el, highlightedDates, isDateEnabled, multiple, showAdjacentDays } = this;
1615
- let _month = month;
1616
- let _year = year;
1617
- if (showAdjacentDays && isAdjacentDay && day !== null) {
1618
- if (day > 20) {
1619
- // Leading with the adjacent day from the previous month
1620
- // if its a adjacent day and is higher than '20' (last week even in feb)
1621
- if (month === 1) {
1622
- _year = year - 1;
1623
- _month = 12;
1624
- }
1625
- else {
1626
- _month = month - 1;
1627
- }
1628
- }
1629
- else if (day < 15) {
1630
- // Leading with the adjacent day from the next month
1631
- // if its a adjacent day and is lower than '15' (first two weeks)
1632
- if (month === 12) {
1633
- _year = year + 1;
1634
- _month = 1;
1635
- }
1636
- else {
1637
- _month = month + 1;
1638
- }
1639
- }
1640
- }
1641
- const referenceParts = { month: _month, day, year: _year, isAdjacentDay };
1642
- const isCalendarPadding = day === null;
1643
- const { isActive, isToday, ariaLabel, ariaSelected, disabled: isDayDisabled, text, } = getCalendarDayState(this.locale, referenceParts, this.activeParts, this.todayParts, this.minParts, this.maxParts, this.parsedDayValues);
1644
- const dateIsoString = data.convertDataToISO(referenceParts);
1645
- let isCalDayDisabled = isCalMonthDisabled || isDayDisabled;
1646
- if (!isCalDayDisabled && isDateEnabled !== undefined) {
1647
- try {
1648
- /**
1649
- * The `isDateEnabled` implementation is try-catch wrapped
1650
- * to prevent exceptions in the user's function from
1651
- * interrupting the calendar rendering.
1652
- */
1653
- isCalDayDisabled = !isDateEnabled(dateIsoString);
1654
- }
1655
- catch (e) {
1656
- index.printIonError('[ion-datetime] - Exception thrown from provided `isDateEnabled` function. Please check your function and try again.', el, e);
1657
- }
1658
- }
1659
- /**
1660
- * Some days are constrained through max & min or allowed dates
1661
- * and also disabled because the component is readonly or disabled.
1662
- * These need to be displayed differently.
1663
- */
1664
- const isCalDayConstrained = isCalDayDisabled && isDatetimeDisabled;
1665
- const isButtonDisabled = isCalDayDisabled || isDatetimeDisabled;
1666
- let dateStyle = undefined;
1667
- /**
1668
- * Custom highlight styles should not override the style for selected dates,
1669
- * nor apply to "filler days" at the start of the grid.
1670
- */
1671
- if (highlightedDates !== undefined && !isActive && day !== null && !isAdjacentDay) {
1672
- dateStyle = getHighlightStyles(highlightedDates, dateIsoString, el);
1673
- }
1674
- let dateParts = undefined;
1675
- // "Filler days" at the beginning of the grid should not get the calendar day
1676
- // CSS parts added to them
1677
- if (!isCalendarPadding && !isAdjacentDay) {
1678
- dateParts = `calendar-day${isActive ? ' active' : ''}${isToday ? ' today' : ''}${isCalDayDisabled ? ' disabled' : ''}`;
1679
- }
1680
- else if (isAdjacentDay) {
1681
- dateParts = `calendar-day${isCalDayDisabled ? ' disabled' : ''}`;
1682
- }
1683
- return (index.h("div", { class: "calendar-day-wrapper" }, index.h("button", {
1684
- // We need to use !important for the inline styles here because
1685
- // otherwise the CSS shadow parts will override these styles.
1686
- // See https://github.com/WICG/webcomponents/issues/847
1687
- // Both the CSS shadow parts and highlightedDates styles are
1688
- // provided by the developer, but highlightedDates styles should
1689
- // always take priority.
1690
- ref: (el) => {
1691
- if (el) {
1692
- el.style.setProperty('color', `${dateStyle ? dateStyle.textColor : ''}`, 'important');
1693
- el.style.setProperty('background-color', `${dateStyle ? dateStyle.backgroundColor : ''}`, 'important');
1694
- el.style.setProperty('border', `${dateStyle ? dateStyle.border : ''}`, 'important');
1695
- }
1696
- }, tabindex: "-1", "data-day": day, "data-month": _month, "data-year": _year, "data-index": index$1, "data-day-of-week": dayOfWeek, disabled: isButtonDisabled, class: {
1697
- 'calendar-day-padding': isCalendarPadding,
1698
- 'calendar-day': true,
1699
- 'calendar-day-active': isActive,
1700
- 'calendar-day-constrained': isCalDayConstrained,
1701
- 'calendar-day-today': isToday,
1702
- 'calendar-day-adjacent-day': isAdjacentDay,
1703
- }, part: dateParts, "aria-hidden": isCalendarPadding ? 'true' : null, "aria-selected": ariaSelected, "aria-label": ariaLabel, onClick: () => {
1704
- if (isCalendarPadding) {
1705
- return;
1706
- }
1707
- if (isAdjacentDay) {
1708
- // The user selected a day outside the current month. Ignore this button, as the month will be re-rendered.
1709
- this.el.blur();
1710
- this.activeParts = Object.assign(Object.assign({}, activePart), referenceParts);
1711
- this.animateToDate(referenceParts);
1712
- this.confirm();
1713
- }
1714
- else {
1715
- this.setWorkingParts(Object.assign(Object.assign({}, this.workingParts), referenceParts));
1716
- // Multiple only needs date info so we can wipe out other fields like time.
1717
- if (multiple) {
1718
- this.setActiveParts(referenceParts, isActive);
1719
- }
1720
- else {
1721
- this.setActiveParts(Object.assign(Object.assign({}, activePart), referenceParts));
1722
- }
1723
- }
1724
- }
1725
- }, text)));
1726
- }))));
1727
- }
1728
- renderCalendarBody() {
1729
- return (index.h("div", { class: "calendar-body ion-focusable", ref: (el) => (this.calendarBodyRef = el), tabindex: "0" }, data.generateMonths(this.workingParts, this.forceRenderDate).map(({ month, year }) => {
1730
- return this.renderMonth(month, year);
1731
- })));
1732
- }
1733
- renderCalendar(mode) {
1734
- return (index.h("div", { class: "datetime-calendar", key: "datetime-calendar" }, this.renderCalendarHeader(mode), this.renderCalendarBody()));
1735
- }
1736
- renderTimeLabel() {
1737
- const hasSlottedTimeLabel = this.el.querySelector('[slot="time-label"]') !== null;
1738
- if (!hasSlottedTimeLabel && !this.showDefaultTimeLabel) {
1739
- return;
1531
+ } }, index$1.h("ion-label", null, data.getMonthAndYear(this.locale, this.workingParts), index$1.h("ion-icon", { "aria-hidden": "true", icon: this.showMonthAndYear ? expandedIcon : collapsedIcon, lazy: false, flipRtl: true })))), index$1.h("div", { class: "calendar-next-prev" }, index$1.h("ion-buttons", null, index$1.h("ion-button", { "aria-label": "Previous month", disabled: prevMonthDisabled, onClick: () => this.prevMonth() }, index$1.h("ion-icon", { dir: hostDir, "aria-hidden": "true", slot: "icon-only", icon: index$2.chevronBack, lazy: false, flipRtl: true })), index$1.h("ion-button", { "aria-label": "Next month", disabled: nextMonthDisabled, onClick: () => this.nextMonth() }, index$1.h("ion-icon", { dir: hostDir, "aria-hidden": "true", slot: "icon-only", icon: index$2.chevronForward, lazy: false, flipRtl: true }))))), index$1.h("div", { class: "calendar-days-of-week", "aria-hidden": "true" }, data.getDaysOfWeek(this.locale, mode, this.firstDayOfWeek % 7).map((d) => {
1532
+ return index$1.h("div", { class: "day-of-week" }, d);
1533
+ }))));
1534
+ }
1535
+ renderMonth(month, year) {
1536
+ const { disabled, readonly } = this;
1537
+ const yearAllowed = this.parsedYearValues === undefined || this.parsedYearValues.includes(year);
1538
+ const monthAllowed = this.parsedMonthValues === undefined || this.parsedMonthValues.includes(month);
1539
+ const isCalMonthDisabled = !yearAllowed || !monthAllowed;
1540
+ const isDatetimeDisabled = disabled || readonly;
1541
+ const swipeDisabled = disabled ||
1542
+ isMonthDisabled({
1543
+ month,
1544
+ year,
1545
+ day: null,
1546
+ }, {
1547
+ // The day is not used when checking if a month is disabled.
1548
+ // Users should be able to access the min or max month, even if the
1549
+ // min/max date is out of bounds (e.g. min is set to Feb 15, Feb should not be disabled).
1550
+ minParts: Object.assign(Object.assign({}, this.minParts), { day: null }),
1551
+ maxParts: Object.assign(Object.assign({}, this.maxParts), { day: null }),
1552
+ });
1553
+ // The working month should never have swipe disabled.
1554
+ // Otherwise the CSS scroll snap will not work and the user
1555
+ // can free-scroll the calendar.
1556
+ const isWorkingMonth = this.workingParts.month === month && this.workingParts.year === year;
1557
+ const activePart = this.getActivePartsWithFallback();
1558
+ return (index$1.h("div", { "aria-hidden": !isWorkingMonth ? 'true' : null, class: {
1559
+ 'calendar-month': true,
1560
+ // Prevents scroll snap swipe gestures for months outside of the min/max bounds
1561
+ 'calendar-month-disabled': !isWorkingMonth && swipeDisabled,
1562
+ } }, index$1.h("div", { class: "calendar-month-grid" }, data.getDaysOfMonth(month, year, this.firstDayOfWeek % 7).map((dateObject, index$2) => {
1563
+ const { day, dayOfWeek } = dateObject;
1564
+ const { el, highlightedDates, isDateEnabled, multiple } = this;
1565
+ const referenceParts = { month, day, year };
1566
+ const isCalendarPadding = day === null;
1567
+ const { isActive, isToday, ariaLabel, ariaSelected, disabled: isDayDisabled, text, } = getCalendarDayState(this.locale, referenceParts, this.activeParts, this.todayParts, this.minParts, this.maxParts, this.parsedDayValues);
1568
+ const dateIsoString = data.convertDataToISO(referenceParts);
1569
+ let isCalDayDisabled = isCalMonthDisabled || isDayDisabled;
1570
+ if (!isCalDayDisabled && isDateEnabled !== undefined) {
1571
+ try {
1572
+ /**
1573
+ * The `isDateEnabled` implementation is try-catch wrapped
1574
+ * to prevent exceptions in the user's function from
1575
+ * interrupting the calendar rendering.
1576
+ */
1577
+ isCalDayDisabled = !isDateEnabled(dateIsoString);
1740
1578
  }
1741
- return index.h("slot", { name: "time-label" }, "Time");
1742
- }
1743
- renderTimeOverlay() {
1744
- const { disabled, hourCycle, isTimePopoverOpen, locale, formatOptions } = this;
1745
- const computedHourCycle = data.getHourCycle(locale, hourCycle);
1746
- const activePart = this.getActivePartsWithFallback();
1747
- return [
1748
- index.h("div", { class: "time-header" }, this.renderTimeLabel()),
1749
- index.h("button", { class: {
1750
- 'time-body': true,
1751
- 'time-body-active': isTimePopoverOpen,
1752
- }, part: `time-button${isTimePopoverOpen ? ' active' : ''}`, "aria-expanded": "false", "aria-haspopup": "true", disabled: disabled, onClick: async (ev) => {
1753
- const { popoverRef } = this;
1754
- if (popoverRef) {
1755
- this.isTimePopoverOpen = true;
1756
- popoverRef.present(new CustomEvent('ionShadowTarget', {
1757
- detail: {
1758
- ionShadowTarget: ev.target,
1759
- },
1760
- }));
1761
- await popoverRef.onWillDismiss();
1762
- this.isTimePopoverOpen = false;
1763
- }
1764
- } }, data.getLocalizedTime(locale, activePart, computedHourCycle, formatOptions === null || formatOptions === void 0 ? void 0 : formatOptions.time)),
1765
- index.h("ion-popover", { alignment: "center", translucent: true, overlayIndex: 1, arrow: false, onWillPresent: (ev) => {
1766
- /**
1767
- * Intersection Observers do not consistently fire between Blink and Webkit
1768
- * when toggling the visibility of the popover and trying to scroll the picker
1769
- * column to the correct time value.
1770
- *
1771
- * This will correctly scroll the element position to the correct time value,
1772
- * before the popover is fully presented.
1773
- */
1774
- const cols = ev.target.querySelectorAll('ion-picker-column');
1775
- // TODO (FW-615): Potentially remove this when intersection observers are fixed in picker column
1776
- cols.forEach((col) => col.scrollActiveItemIntoView());
1777
- }, style: {
1778
- '--offset-y': '-10px',
1779
- '--min-width': 'fit-content',
1780
- },
1781
- // Allow native browser keyboard events to support up/down/home/end key
1782
- // navigation within the time picker.
1783
- keyboardEvents: true, ref: (el) => (this.popoverRef = el) }, this.renderWheelPicker('time')),
1784
- ];
1785
- }
1786
- getHeaderSelectedDateText() {
1787
- var _a;
1788
- const { activeParts, formatOptions, multiple, titleSelectedDatesFormatter } = this;
1789
- const isArray = Array.isArray(activeParts);
1790
- let headerText;
1791
- if (multiple && isArray && activeParts.length !== 1) {
1792
- headerText = `${activeParts.length} days`; // default/fallback for multiple selection
1793
- if (titleSelectedDatesFormatter !== undefined) {
1794
- try {
1795
- headerText = titleSelectedDatesFormatter(data.convertDataToISO(activeParts));
1796
- }
1797
- catch (e) {
1798
- index.printIonError('[ion-datetime] - Exception in provided `titleSelectedDatesFormatter`:', e);
1799
- }
1800
- }
1579
+ catch (e) {
1580
+ index.printIonError('Exception thrown from provided `isDateEnabled` function. Please check your function and try again.', el, e);
1801
1581
  }
1802
- else {
1803
- // for exactly 1 day selected (multiple set or not), show a formatted version of that
1804
- headerText = data.getLocalizedDateTime(this.locale, this.getActivePartsWithFallback(), (_a = formatOptions === null || formatOptions === void 0 ? void 0 : formatOptions.date) !== null && _a !== void 0 ? _a : { weekday: 'short', month: 'short', day: 'numeric' });
1582
+ }
1583
+ /**
1584
+ * Some days are constrained through max & min or allowed dates
1585
+ * and also disabled because the component is readonly or disabled.
1586
+ * These need to be displayed differently.
1587
+ */
1588
+ const isCalDayConstrained = isCalDayDisabled && isDatetimeDisabled;
1589
+ const isButtonDisabled = isCalDayDisabled || isDatetimeDisabled;
1590
+ let dateStyle = undefined;
1591
+ /**
1592
+ * Custom highlight styles should not override the style for selected dates,
1593
+ * nor apply to "filler days" at the start of the grid.
1594
+ */
1595
+ if (highlightedDates !== undefined && !isActive && day !== null) {
1596
+ dateStyle = getHighlightStyles(highlightedDates, dateIsoString, el);
1597
+ }
1598
+ let dateParts = undefined;
1599
+ // "Filler days" at the beginning of the grid should not get the calendar day
1600
+ // CSS parts added to them
1601
+ if (!isCalendarPadding) {
1602
+ dateParts = `calendar-day${isActive ? ' active' : ''}${isToday ? ' today' : ''}${isCalDayDisabled ? ' disabled' : ''}`;
1603
+ }
1604
+ return (index$1.h("div", { class: "calendar-day-wrapper" }, index$1.h("button", {
1605
+ // We need to use !important for the inline styles here because
1606
+ // otherwise the CSS shadow parts will override these styles.
1607
+ // See https://github.com/WICG/webcomponents/issues/847
1608
+ // Both the CSS shadow parts and highlightedDates styles are
1609
+ // provided by the developer, but highlightedDates styles should
1610
+ // always take priority.
1611
+ ref: (el) => {
1612
+ if (el) {
1613
+ el.style.setProperty('color', `${dateStyle ? dateStyle.textColor : ''}`, 'important');
1614
+ el.style.setProperty('background-color', `${dateStyle ? dateStyle.backgroundColor : ''}`, 'important');
1615
+ }
1616
+ }, tabindex: "-1", "data-day": day, "data-month": month, "data-year": year, "data-index": index$2, "data-day-of-week": dayOfWeek, disabled: isButtonDisabled, class: {
1617
+ 'calendar-day-padding': isCalendarPadding,
1618
+ 'calendar-day': true,
1619
+ 'calendar-day-active': isActive,
1620
+ 'calendar-day-constrained': isCalDayConstrained,
1621
+ 'calendar-day-today': isToday,
1622
+ }, part: dateParts, "aria-hidden": isCalendarPadding ? 'true' : null, "aria-selected": ariaSelected, "aria-label": ariaLabel, onClick: () => {
1623
+ if (isCalendarPadding) {
1624
+ return;
1625
+ }
1626
+ this.setWorkingParts(Object.assign(Object.assign({}, this.workingParts), { month,
1627
+ day,
1628
+ year }));
1629
+ // multiple only needs date info, so we can wipe out other fields like time
1630
+ if (multiple) {
1631
+ this.setActiveParts({
1632
+ month,
1633
+ day,
1634
+ year,
1635
+ }, isActive);
1636
+ }
1637
+ else {
1638
+ this.setActiveParts(Object.assign(Object.assign({}, activePart), { month,
1639
+ day,
1640
+ year }));
1641
+ }
1805
1642
  }
1806
- return headerText;
1643
+ }, text)));
1644
+ }))));
1645
+ }
1646
+ renderCalendarBody() {
1647
+ return (index$1.h("div", { class: "calendar-body ion-focusable", ref: (el) => (this.calendarBodyRef = el), tabindex: "0" }, data.generateMonths(this.workingParts, this.forceRenderDate).map(({ month, year }) => {
1648
+ return this.renderMonth(month, year);
1649
+ })));
1650
+ }
1651
+ renderCalendar(mode) {
1652
+ return (index$1.h("div", { class: "datetime-calendar", key: "datetime-calendar" }, this.renderCalendarHeader(mode), this.renderCalendarBody()));
1653
+ }
1654
+ renderTimeLabel() {
1655
+ const hasSlottedTimeLabel = this.el.querySelector('[slot="time-label"]') !== null;
1656
+ if (!hasSlottedTimeLabel && !this.showDefaultTimeLabel) {
1657
+ return;
1807
1658
  }
1808
- renderHeader(showExpandedHeader = true) {
1809
- const hasSlottedTitle = this.el.querySelector('[slot="title"]') !== null;
1810
- if (!hasSlottedTitle && !this.showDefaultTitle) {
1811
- return;
1659
+ return index$1.h("slot", { name: "time-label" }, "Time");
1660
+ }
1661
+ renderTimeOverlay() {
1662
+ const { disabled, hourCycle, isTimePopoverOpen, locale, formatOptions } = this;
1663
+ const computedHourCycle = data.getHourCycle(locale, hourCycle);
1664
+ const activePart = this.getActivePartsWithFallback();
1665
+ return [
1666
+ index$1.h("div", { class: "time-header" }, this.renderTimeLabel()),
1667
+ index$1.h("button", { class: {
1668
+ 'time-body': true,
1669
+ 'time-body-active': isTimePopoverOpen,
1670
+ }, part: `time-button${isTimePopoverOpen ? ' active' : ''}`, "aria-expanded": "false", "aria-haspopup": "true", disabled: disabled, onClick: async (ev) => {
1671
+ const { popoverRef } = this;
1672
+ if (popoverRef) {
1673
+ this.isTimePopoverOpen = true;
1674
+ popoverRef.present(new CustomEvent('ionShadowTarget', {
1675
+ detail: {
1676
+ ionShadowTarget: ev.target,
1677
+ },
1678
+ }));
1679
+ await popoverRef.onWillDismiss();
1680
+ this.isTimePopoverOpen = false;
1681
+ }
1682
+ } }, data.getLocalizedTime(locale, activePart, computedHourCycle, formatOptions === null || formatOptions === void 0 ? void 0 : formatOptions.time)),
1683
+ index$1.h("ion-popover", { alignment: "center", translucent: true, overlayIndex: 1, arrow: false, onWillPresent: (ev) => {
1684
+ /**
1685
+ * Intersection Observers do not consistently fire between Blink and Webkit
1686
+ * when toggling the visibility of the popover and trying to scroll the picker
1687
+ * column to the correct time value.
1688
+ *
1689
+ * This will correctly scroll the element position to the correct time value,
1690
+ * before the popover is fully presented.
1691
+ */
1692
+ const cols = ev.target.querySelectorAll('ion-picker-column-internal');
1693
+ // TODO (FW-615): Potentially remove this when intersection observers are fixed in picker column
1694
+ cols.forEach((col) => col.scrollActiveItemIntoView());
1695
+ }, style: {
1696
+ '--offset-y': '-10px',
1697
+ '--min-width': 'fit-content',
1698
+ },
1699
+ // Allow native browser keyboard events to support up/down/home/end key
1700
+ // navigation within the time picker.
1701
+ keyboardEvents: true, ref: (el) => (this.popoverRef = el) }, this.renderWheelPicker('time')),
1702
+ ];
1703
+ }
1704
+ getHeaderSelectedDateText() {
1705
+ var _a;
1706
+ const { activeParts, formatOptions, multiple, titleSelectedDatesFormatter } = this;
1707
+ const isArray = Array.isArray(activeParts);
1708
+ let headerText;
1709
+ if (multiple && isArray && activeParts.length !== 1) {
1710
+ headerText = `${activeParts.length} days`; // default/fallback for multiple selection
1711
+ if (titleSelectedDatesFormatter !== undefined) {
1712
+ try {
1713
+ headerText = titleSelectedDatesFormatter(data.convertDataToISO(activeParts));
1812
1714
  }
1813
- return (index.h("div", { class: "datetime-header" }, index.h("div", { class: "datetime-title" }, index.h("slot", { name: "title" }, "Select Date")), showExpandedHeader && index.h("div", { class: "datetime-selected-date" }, this.getHeaderSelectedDateText())));
1715
+ catch (e) {
1716
+ index.printIonError('Exception in provided `titleSelectedDatesFormatter`: ', e);
1717
+ }
1718
+ }
1814
1719
  }
1815
- /**
1816
- * Render time picker inside of datetime.
1817
- * Do not pass color prop to segment on
1818
- * iOS mode. MD segment has been customized and
1819
- * should take on the color prop, but iOS
1820
- * should just be the default segment.
1821
- */
1822
- renderTime() {
1823
- const { presentation } = this;
1824
- const timeOnlyPresentation = presentation === 'time';
1825
- return (index.h("div", { class: "datetime-time" }, timeOnlyPresentation ? this.renderWheelPicker() : this.renderTimeOverlay()));
1720
+ else {
1721
+ // for exactly 1 day selected (multiple set or not), show a formatted version of that
1722
+ headerText = data.getLocalizedDateTime(this.locale, this.getActivePartsWithFallback(), (_a = formatOptions === null || formatOptions === void 0 ? void 0 : formatOptions.date) !== null && _a !== void 0 ? _a : { weekday: 'short', month: 'short', day: 'numeric' });
1826
1723
  }
1827
- /**
1828
- * Renders the month/year picker that is
1829
- * displayed on the calendar grid.
1830
- * The .datetime-year class has additional
1831
- * styles that let us show/hide the
1832
- * picker when the user clicks on the
1833
- * toggle in the calendar header.
1834
- */
1835
- renderCalendarViewMonthYearPicker() {
1836
- return index.h("div", { class: "datetime-year" }, this.renderWheelView('month-year'));
1724
+ return headerText;
1725
+ }
1726
+ renderHeader(showExpandedHeader = true) {
1727
+ const hasSlottedTitle = this.el.querySelector('[slot="title"]') !== null;
1728
+ if (!hasSlottedTitle && !this.showDefaultTitle) {
1729
+ return;
1837
1730
  }
1731
+ return (index$1.h("div", { class: "datetime-header" }, index$1.h("div", { class: "datetime-title" }, index$1.h("slot", { name: "title" }, "Select Date")), showExpandedHeader && index$1.h("div", { class: "datetime-selected-date" }, this.getHeaderSelectedDateText())));
1732
+ }
1733
+ /**
1734
+ * Render time picker inside of datetime.
1735
+ * Do not pass color prop to segment on
1736
+ * iOS mode. MD segment has been customized and
1737
+ * should take on the color prop, but iOS
1738
+ * should just be the default segment.
1739
+ */
1740
+ renderTime() {
1741
+ const { presentation } = this;
1742
+ const timeOnlyPresentation = presentation === 'time';
1743
+ return (index$1.h("div", { class: "datetime-time" }, timeOnlyPresentation ? this.renderWheelPicker() : this.renderTimeOverlay()));
1744
+ }
1745
+ /**
1746
+ * Renders the month/year picker that is
1747
+ * displayed on the calendar grid.
1748
+ * The .datetime-year class has additional
1749
+ * styles that let us show/hide the
1750
+ * picker when the user clicks on the
1751
+ * toggle in the calendar header.
1752
+ */
1753
+ renderCalendarViewMonthYearPicker() {
1754
+ return index$1.h("div", { class: "datetime-year" }, this.renderWheelView('month-year'));
1755
+ }
1756
+ /**
1757
+ * Render entry point
1758
+ * All presentation types are rendered from here.
1759
+ */
1760
+ renderDatetime(mode) {
1761
+ const { presentation, preferWheel } = this;
1838
1762
  /**
1839
- * Render entry point
1840
- * All presentation types are rendered from here.
1763
+ * Certain presentation types have separate grid and wheel displays.
1764
+ * If preferWheel is true then we should show a wheel picker instead.
1841
1765
  */
1842
- renderDatetime(mode) {
1843
- const { presentation, preferWheel } = this;
1844
- /**
1845
- * Certain presentation types have separate grid and wheel displays.
1846
- * If preferWheel is true then we should show a wheel picker instead.
1847
- */
1848
- const hasWheelVariant = presentation === 'date' || presentation === 'date-time' || presentation === 'time-date';
1849
- if (preferWheel && hasWheelVariant) {
1850
- return [this.renderHeader(false), this.renderWheelView(), this.renderFooter()];
1851
- }
1852
- switch (presentation) {
1853
- case 'date-time':
1854
- return [
1855
- this.renderHeader(),
1856
- this.renderCalendar(mode),
1857
- this.renderCalendarViewMonthYearPicker(),
1858
- this.renderTime(),
1859
- this.renderFooter(),
1860
- ];
1861
- case 'time-date':
1862
- return [
1863
- this.renderHeader(),
1864
- this.renderTime(),
1865
- this.renderCalendar(mode),
1866
- this.renderCalendarViewMonthYearPicker(),
1867
- this.renderFooter(),
1868
- ];
1869
- case 'time':
1870
- return [this.renderHeader(false), this.renderTime(), this.renderFooter()];
1871
- case 'month':
1872
- case 'month-year':
1873
- case 'year':
1874
- return [this.renderHeader(false), this.renderWheelView(), this.renderFooter()];
1875
- default:
1876
- return [
1877
- this.renderHeader(),
1878
- this.renderCalendar(mode),
1879
- this.renderCalendarViewMonthYearPicker(),
1880
- this.renderFooter(),
1881
- ];
1882
- }
1766
+ const hasWheelVariant = presentation === 'date' || presentation === 'date-time' || presentation === 'time-date';
1767
+ if (preferWheel && hasWheelVariant) {
1768
+ return [this.renderHeader(false), this.renderWheelView(), this.renderFooter()];
1883
1769
  }
1884
- render() {
1885
- const { name, value, disabled, el, color, readonly, showMonthAndYear, preferWheel, presentation, size, isGridStyle, } = this;
1886
- const mode = ionicGlobal.getIonMode(this);
1887
- const isMonthAndYearPresentation = presentation === 'year' || presentation === 'month' || presentation === 'month-year';
1888
- const shouldShowMonthAndYear = showMonthAndYear || isMonthAndYearPresentation;
1889
- const monthYearPickerOpen = showMonthAndYear && !isMonthAndYearPresentation;
1890
- const hasDatePresentation = presentation === 'date' || presentation === 'date-time' || presentation === 'time-date';
1891
- const hasWheelVariant = hasDatePresentation && preferWheel;
1892
- helpers.renderHiddenInput(true, el, name, data.formatValue(value), disabled);
1893
- return (index.h(index.Host, { key: 'efdbc0922670a841bc667ceac392cdc1dedffd01', "aria-disabled": disabled ? 'true' : null, onFocus: this.onFocus, onBlur: this.onBlur, class: Object.assign({}, theme.createColorClasses(color, {
1894
- [mode]: true,
1895
- ['datetime-readonly']: readonly,
1896
- ['datetime-disabled']: disabled,
1897
- 'show-month-and-year': shouldShowMonthAndYear,
1898
- 'month-year-picker-open': monthYearPickerOpen,
1899
- [`datetime-presentation-${presentation}`]: true,
1900
- [`datetime-size-${size}`]: true,
1901
- [`datetime-prefer-wheel`]: hasWheelVariant,
1902
- [`datetime-grid`]: isGridStyle,
1903
- })) }, index.h("div", { key: '3f8bb75fcb0baff55182ef3aa1b535eacc58d81f', class: "intersection-tracker", ref: (el) => (this.intersectionTrackerRef = el) }), this.renderDatetime(mode)));
1770
+ switch (presentation) {
1771
+ case 'date-time':
1772
+ return [
1773
+ this.renderHeader(),
1774
+ this.renderCalendar(mode),
1775
+ this.renderCalendarViewMonthYearPicker(),
1776
+ this.renderTime(),
1777
+ this.renderFooter(),
1778
+ ];
1779
+ case 'time-date':
1780
+ return [
1781
+ this.renderHeader(),
1782
+ this.renderTime(),
1783
+ this.renderCalendar(mode),
1784
+ this.renderCalendarViewMonthYearPicker(),
1785
+ this.renderFooter(),
1786
+ ];
1787
+ case 'time':
1788
+ return [this.renderHeader(false), this.renderTime(), this.renderFooter()];
1789
+ case 'month':
1790
+ case 'month-year':
1791
+ case 'year':
1792
+ return [this.renderHeader(false), this.renderWheelView(), this.renderFooter()];
1793
+ default:
1794
+ return [
1795
+ this.renderHeader(),
1796
+ this.renderCalendar(mode),
1797
+ this.renderCalendarViewMonthYearPicker(),
1798
+ this.renderFooter(),
1799
+ ];
1904
1800
  }
1905
- get el() { return index.getElement(this); }
1906
- static get watchers() { return {
1907
- "formatOptions": [{
1908
- "formatOptionsChanged": 0
1909
- }],
1910
- "disabled": [{
1911
- "disabledChanged": 0
1912
- }],
1913
- "min": [{
1914
- "minChanged": 0
1915
- }],
1916
- "max": [{
1917
- "maxChanged": 0
1918
- }],
1919
- "presentation": [{
1920
- "presentationChanged": 0
1921
- }],
1922
- "yearValues": [{
1923
- "yearValuesChanged": 0
1924
- }],
1925
- "monthValues": [{
1926
- "monthValuesChanged": 0
1927
- }],
1928
- "dayValues": [{
1929
- "dayValuesChanged": 0
1930
- }],
1931
- "hourValues": [{
1932
- "hourValuesChanged": 0
1933
- }],
1934
- "minuteValues": [{
1935
- "minuteValuesChanged": 0
1936
- }],
1937
- "value": [{
1938
- "valueChanged": 0
1939
- }]
1940
- }; }
1801
+ }
1802
+ render() {
1803
+ const { name, value, disabled, el, color, readonly, showMonthAndYear, preferWheel, presentation, size, isGridStyle, } = this;
1804
+ const mode = ionicGlobal.getIonMode(this);
1805
+ const isMonthAndYearPresentation = presentation === 'year' || presentation === 'month' || presentation === 'month-year';
1806
+ const shouldShowMonthAndYear = showMonthAndYear || isMonthAndYearPresentation;
1807
+ const monthYearPickerOpen = showMonthAndYear && !isMonthAndYearPresentation;
1808
+ const hasDatePresentation = presentation === 'date' || presentation === 'date-time' || presentation === 'time-date';
1809
+ const hasWheelVariant = hasDatePresentation && preferWheel;
1810
+ helpers.renderHiddenInput(true, el, name, data.formatValue(value), disabled);
1811
+ return (index$1.h(index$1.Host, { key: '8490192beb6c5c6064ed8f2a7be2d51846f84f36', "aria-disabled": disabled ? 'true' : null, onFocus: this.onFocus, onBlur: this.onBlur, class: Object.assign({}, theme.createColorClasses(color, {
1812
+ [mode]: true,
1813
+ ['datetime-readonly']: readonly,
1814
+ ['datetime-disabled']: disabled,
1815
+ 'show-month-and-year': shouldShowMonthAndYear,
1816
+ 'month-year-picker-open': monthYearPickerOpen,
1817
+ [`datetime-presentation-${presentation}`]: true,
1818
+ [`datetime-size-${size}`]: true,
1819
+ [`datetime-prefer-wheel`]: hasWheelVariant,
1820
+ [`datetime-grid`]: isGridStyle,
1821
+ })) }, index$1.h("div", { key: 'a2959c07ed871f9004a2f11ab1385a5a7b5737fd', class: "intersection-tracker", ref: (el) => (this.intersectionTrackerRef = el) }), this.renderDatetime(mode)));
1822
+ }
1823
+ get el() { return index$1.getElement(this); }
1824
+ static get watchers() { return {
1825
+ "formatOptions": ["formatOptionsChanged"],
1826
+ "disabled": ["disabledChanged"],
1827
+ "min": ["minChanged"],
1828
+ "max": ["maxChanged"],
1829
+ "presentation": ["presentationChanged"],
1830
+ "yearValues": ["yearValuesChanged"],
1831
+ "monthValues": ["monthValuesChanged"],
1832
+ "dayValues": ["dayValuesChanged"],
1833
+ "hourValues": ["hourValuesChanged"],
1834
+ "minuteValues": ["minuteValuesChanged"],
1835
+ "value": ["valueChanged"]
1836
+ }; }
1941
1837
  };
1942
1838
  let datetimeIds = 0;
1943
- const CANCEL_ROLE = 'datetime-cancel';
1944
- const CONFIRM_ROLE = 'datetime-confirm';
1945
- const WHEEL_ITEM_PART = 'wheel-item';
1946
- const WHEEL_ITEM_ACTIVE_PART = `active`;
1947
1839
  Datetime.style = {
1948
- ios: datetimeIosCss(),
1949
- md: datetimeMdCss()
1840
+ ios: datetimeIosCss,
1841
+ md: datetimeMdCss
1950
1842
  };
1951
1843
 
1952
1844
  exports.ion_datetime = Datetime;