@ionic/core 8.5.4-dev.11743814940.14e938eb → 8.5.4-dev.11744052844.17c6a004

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 (1467) hide show
  1. package/components/action-sheet.js +23 -37
  2. package/components/alert.js +25 -41
  3. package/components/animation.js +1 -1
  4. package/components/backdrop.js +4 -11
  5. package/components/button-active.js +1 -1
  6. package/components/button.js +23 -29
  7. package/components/buttons.js +4 -14
  8. package/components/capacitor.js +1 -1
  9. package/components/checkbox.js +16 -40
  10. package/components/content.js +5 -24
  11. package/components/data.js +1 -1
  12. package/components/gesture-controller.js +1 -1
  13. package/components/haptic.js +1 -1
  14. package/components/hardware-back-button.js +1 -1
  15. package/components/header.js +7 -12
  16. package/components/helpers.js +5 -2
  17. package/components/icon.js +2 -1
  18. package/components/index3.js +5 -3
  19. package/components/index4.js +1 -1
  20. package/components/index5.js +3 -28
  21. package/components/index7.js +27 -163
  22. package/components/index8.js +1 -1
  23. package/components/index9.js +163 -3
  24. package/components/input-shims.js +2 -2
  25. package/components/input.utils.js +1 -1
  26. package/components/ion-accordion-group.js +6 -19
  27. package/components/ion-accordion.js +14 -32
  28. package/components/ion-app.js +4 -3
  29. package/components/ion-avatar.js +4 -2
  30. package/components/ion-back-button.js +13 -12
  31. package/components/ion-badge.js +5 -2
  32. package/components/ion-breadcrumb.js +20 -22
  33. package/components/ion-breadcrumbs.js +10 -14
  34. package/components/ion-card-content.js +4 -2
  35. package/components/ion-card-header.js +5 -7
  36. package/components/ion-card-subtitle.js +5 -2
  37. package/components/ion-card-title.js +5 -2
  38. package/components/ion-card.js +11 -16
  39. package/components/ion-chip.js +5 -8
  40. package/components/ion-col.js +26 -1
  41. package/components/ion-datetime-button.js +13 -15
  42. package/components/ion-datetime.js +53 -126
  43. package/components/ion-fab-button.js +20 -37
  44. package/components/ion-fab-list.js +2 -7
  45. package/components/ion-fab.js +4 -10
  46. package/components/ion-footer.js +8 -13
  47. package/components/ion-grid.js +2 -4
  48. package/components/ion-img.js +6 -1
  49. package/components/ion-infinite-scroll-content.js +6 -2
  50. package/components/ion-infinite-scroll.js +6 -27
  51. package/components/ion-input-password-toggle.js +9 -7
  52. package/components/ion-input.js +41 -69
  53. package/components/ion-item-divider.js +5 -9
  54. package/components/ion-item-group.js +4 -2
  55. package/components/ion-item-option.js +12 -14
  56. package/components/ion-item-options.js +4 -6
  57. package/components/ion-item-sliding.js +2 -4
  58. package/components/ion-loading.js +19 -36
  59. package/components/ion-menu-button.js +10 -15
  60. package/components/ion-menu-toggle.js +5 -9
  61. package/components/ion-menu.js +9 -25
  62. package/components/ion-nav-link.js +6 -6
  63. package/components/ion-nav.js +10 -7
  64. package/components/ion-note.js +5 -2
  65. package/components/ion-picker-legacy.js +24 -44
  66. package/components/ion-progress-bar.js +6 -19
  67. package/components/ion-range.js +25 -65
  68. package/components/ion-refresher-content.js +5 -1
  69. package/components/ion-refresher.js +6 -54
  70. package/components/ion-reorder-group.js +4 -6
  71. package/components/ion-reorder.js +5 -3
  72. package/components/ion-route-redirect.js +2 -0
  73. package/components/ion-route.js +7 -9
  74. package/components/ion-router-link.js +9 -7
  75. package/components/ion-router-outlet.js +8 -10
  76. package/components/ion-router.js +0 -18
  77. package/components/ion-row.js +2 -1
  78. package/components/ion-searchbar.js +29 -78
  79. package/components/ion-segment-button.js +10 -19
  80. package/components/ion-segment-content.js +2 -1
  81. package/components/ion-segment-view.js +5 -5
  82. package/components/ion-segment.js +11 -22
  83. package/components/ion-select-option.js +3 -4
  84. package/components/ion-select.js +32 -58
  85. package/components/ion-skeleton-text.js +2 -4
  86. package/components/ion-split-pane.js +5 -10
  87. package/components/ion-tab-bar.js +6 -7
  88. package/components/ion-tab-button.js +12 -10
  89. package/components/ion-tab.js +5 -2
  90. package/components/ion-tabs.js +4 -3
  91. package/components/ion-text.js +3 -1
  92. package/components/ion-textarea.js +34 -62
  93. package/components/ion-thumbnail.js +2 -1
  94. package/components/ion-toast.js +32 -55
  95. package/components/ion-toggle.js +20 -44
  96. package/components/item.js +14 -20
  97. package/components/keyboard-controller.js +2 -2
  98. package/components/keyboard.js +69 -134
  99. package/components/keyboard2.js +134 -69
  100. package/components/label.js +6 -2
  101. package/components/list-header.js +6 -2
  102. package/components/list.js +5 -5
  103. package/components/modal.js +39 -117
  104. package/components/notch-controller.js +1 -1
  105. package/components/overlays.js +2 -2
  106. package/components/picker-column-option.js +5 -18
  107. package/components/picker-column.js +10 -25
  108. package/components/picker-column2.js +8 -5
  109. package/components/picker.js +4 -2
  110. package/components/popover.js +37 -129
  111. package/components/radio-group.js +10 -10
  112. package/components/radio.js +13 -27
  113. package/components/refresher.utils.js +2 -2
  114. package/components/ripple-effect.js +2 -10
  115. package/components/select-modal.js +8 -3
  116. package/components/select-popover.js +8 -5
  117. package/components/spinner.js +5 -4
  118. package/components/swipe-back.js +1 -1
  119. package/components/title.js +6 -2
  120. package/components/toolbar.js +5 -2
  121. package/css/global.bundle.css +1 -1
  122. package/css/global.bundle.css.map +1 -1
  123. package/css/ionic.bundle.css +1 -1
  124. package/css/ionic.bundle.css.map +1 -1
  125. package/css/structure.css +1 -1
  126. package/css/structure.css.map +1 -1
  127. package/dist/cjs/animation-b4fdf128.js +821 -0
  128. package/dist/cjs/app-globals-dd592863.js +10 -0
  129. package/dist/cjs/button-active-43e2b419.js +69 -0
  130. package/dist/cjs/capacitor-c04564bf.js +15 -0
  131. package/dist/cjs/compare-with-utils-df1001d7.js +44 -0
  132. package/dist/cjs/config-4f60b98a.js +199 -0
  133. package/dist/cjs/cubic-bezier-f2dccc53.js +92 -0
  134. package/dist/cjs/data-27cc2c9c.js +1655 -0
  135. package/dist/cjs/dir-94c21456.js +20 -0
  136. package/dist/cjs/focus-visible-7a0ce04f.js +77 -0
  137. package/dist/cjs/framework-delegate-50a86d56.js +144 -0
  138. package/dist/cjs/gesture-controller-9436f482.js +198 -0
  139. package/dist/cjs/haptic-f6b37aa3.js +164 -0
  140. package/dist/cjs/hardware-back-button-5a99001f.js +122 -0
  141. package/dist/cjs/helpers-3a248559.js +361 -0
  142. package/dist/cjs/index-073c7cdc.js +57 -0
  143. package/dist/cjs/index-2e236a04.js +2322 -0
  144. package/dist/cjs/index-48b2a28e.js +46 -0
  145. package/dist/cjs/index-4b70187a.js +308 -0
  146. package/dist/cjs/index-509ca0d3.js +140 -0
  147. package/dist/cjs/index-c8d52405.js +10 -0
  148. package/dist/cjs/index-e36bd277.js +169 -0
  149. package/dist/cjs/index-e630fd95.js +361 -0
  150. package/dist/cjs/index-ee07ed59.js +459 -0
  151. package/dist/cjs/index.cjs.js +20 -20
  152. package/dist/cjs/input-shims-22a9973f.js +610 -0
  153. package/dist/cjs/input.utils-e82b8ed0.js +150 -0
  154. package/dist/cjs/ion-accordion_2.cjs.entry.js +25 -56
  155. package/dist/cjs/ion-action-sheet.cjs.entry.js +38 -52
  156. package/dist/cjs/ion-alert.cjs.entry.js +41 -57
  157. package/dist/cjs/ion-app_8.cjs.entry.js +65 -98
  158. package/dist/cjs/ion-avatar_3.cjs.entry.js +16 -10
  159. package/dist/cjs/ion-back-button.cjs.entry.js +18 -17
  160. package/dist/cjs/ion-backdrop.cjs.entry.js +8 -15
  161. package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +34 -40
  162. package/dist/cjs/ion-button_2.cjs.entry.js +30 -35
  163. package/dist/cjs/ion-card_5.cjs.entry.js +35 -34
  164. package/dist/cjs/ion-checkbox.cjs.entry.js +22 -46
  165. package/dist/cjs/ion-chip.cjs.entry.js +10 -13
  166. package/dist/cjs/ion-col_3.cjs.entry.js +34 -10
  167. package/dist/cjs/ion-datetime-button.cjs.entry.js +20 -22
  168. package/dist/cjs/ion-datetime_3.cjs.entry.js +94 -184
  169. package/dist/cjs/ion-fab_3.cjs.entry.js +31 -59
  170. package/dist/cjs/ion-img.cjs.entry.js +11 -6
  171. package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +20 -37
  172. package/dist/cjs/ion-input-password-toggle.cjs.entry.js +15 -13
  173. package/dist/cjs/ion-input.cjs.entry.js +50 -78
  174. package/dist/cjs/ion-item-option_3.cjs.entry.js +28 -34
  175. package/dist/cjs/ion-item_8.cjs.entry.js +52 -51
  176. package/dist/cjs/ion-loading.cjs.entry.js +31 -48
  177. package/dist/cjs/ion-menu_3.cjs.entry.js +39 -64
  178. package/dist/cjs/ion-modal.cjs.entry.js +52 -130
  179. package/dist/cjs/ion-nav_2.cjs.entry.js +22 -19
  180. package/dist/cjs/ion-picker-column-option.cjs.entry.js +11 -24
  181. package/dist/cjs/ion-picker-column.cjs.entry.js +17 -32
  182. package/dist/cjs/ion-picker.cjs.entry.js +8 -6
  183. package/dist/cjs/ion-popover.cjs.entry.js +47 -139
  184. package/dist/cjs/ion-progress-bar.cjs.entry.js +11 -24
  185. package/dist/cjs/ion-radio_2.cjs.entry.js +30 -44
  186. package/dist/cjs/ion-range.cjs.entry.js +33 -73
  187. package/dist/cjs/ion-refresher_2.cjs.entry.js +26 -70
  188. package/dist/cjs/ion-reorder_2.cjs.entry.js +19 -19
  189. package/dist/cjs/ion-ripple-effect.cjs.entry.js +6 -14
  190. package/dist/cjs/ion-route_4.cjs.entry.js +20 -36
  191. package/dist/cjs/ion-searchbar.cjs.entry.js +36 -85
  192. package/dist/cjs/ion-segment-content.cjs.entry.js +5 -4
  193. package/dist/cjs/ion-segment-view.cjs.entry.js +8 -8
  194. package/dist/cjs/ion-segment_2.cjs.entry.js +29 -49
  195. package/dist/cjs/ion-select-modal.cjs.entry.js +20 -15
  196. package/dist/cjs/ion-select_3.cjs.entry.js +57 -81
  197. package/dist/cjs/ion-spinner.cjs.entry.js +11 -10
  198. package/dist/cjs/ion-split-pane.cjs.entry.js +9 -14
  199. package/dist/cjs/ion-tab-bar_2.cjs.entry.js +28 -27
  200. package/dist/cjs/ion-tab_2.cjs.entry.js +14 -10
  201. package/dist/cjs/ion-text.cjs.entry.js +8 -6
  202. package/dist/cjs/ion-textarea.cjs.entry.js +43 -71
  203. package/dist/cjs/ion-toast.cjs.entry.js +44 -67
  204. package/dist/cjs/ion-toggle.cjs.entry.js +31 -55
  205. package/dist/cjs/ionic-global-acb665ad.js +227 -0
  206. package/dist/cjs/ionic.cjs.js +8 -10
  207. package/dist/cjs/ios.transition-ae7afca9.js +683 -0
  208. package/dist/cjs/keyboard-0272231f.js +81 -0
  209. package/dist/cjs/keyboard-af1bb365.js +158 -0
  210. package/dist/cjs/keyboard-controller-c05e747a.js +167 -0
  211. package/dist/cjs/loader.cjs.js +6 -6
  212. package/dist/cjs/lock-controller-6585a42a.js +40 -0
  213. package/dist/cjs/md.transition-26003e25.js +61 -0
  214. package/dist/cjs/notch-controller-ae03a497.js +155 -0
  215. package/dist/cjs/overlays-32e1b66b.js +1000 -0
  216. package/dist/cjs/spinner-configs-282fd50a.js +147 -0
  217. package/dist/cjs/status-tap-03023755.js +43 -0
  218. package/dist/cjs/swipe-back-cd0d9f77.js +81 -0
  219. package/dist/cjs/theme-d1c573d2.js +48 -0
  220. package/dist/cjs/watch-options-f5f3e158.js +49 -0
  221. package/dist/collection/collection-manifest.json +2 -2
  222. package/dist/collection/components/accordion/accordion.js +13 -43
  223. package/dist/collection/components/accordion-group/accordion-group.js +8 -35
  224. package/dist/collection/components/action-sheet/action-sheet.js +31 -84
  225. package/dist/collection/components/alert/alert.js +34 -94
  226. package/dist/collection/components/back-button/back-button.js +14 -30
  227. package/dist/collection/components/backdrop/backdrop.js +3 -18
  228. package/dist/collection/components/badge/badge.js +4 -3
  229. package/dist/collection/components/breadcrumb/breadcrumb.js +26 -57
  230. package/dist/collection/components/breadcrumbs/breadcrumbs.js +10 -24
  231. package/dist/collection/components/button/button.js +33 -74
  232. package/dist/collection/components/buttons/buttons.js +1 -15
  233. package/dist/collection/components/card/card.js +16 -44
  234. package/dist/collection/components/card-header/card-header.js +3 -11
  235. package/dist/collection/components/card-subtitle/card-subtitle.js +4 -3
  236. package/dist/collection/components/card-title/card-title.js +4 -3
  237. package/dist/collection/components/checkbox/checkbox.js +24 -74
  238. package/dist/collection/components/chip/chip.js +4 -15
  239. package/dist/collection/components/col/col.js +50 -72
  240. package/dist/collection/components/content/content.js +9 -43
  241. package/dist/collection/components/datetime/datetime.js +72 -211
  242. package/dist/collection/components/datetime-button/datetime-button.js +11 -21
  243. package/dist/collection/components/fab/fab.js +6 -21
  244. package/dist/collection/components/fab-button/fab-button.js +28 -76
  245. package/dist/collection/components/fab-list/fab-list.js +2 -12
  246. package/dist/collection/components/footer/footer.js +5 -16
  247. package/dist/collection/components/grid/grid.js +1 -6
  248. package/dist/collection/components/header/header.js +4 -15
  249. package/dist/collection/components/img/img.js +6 -6
  250. package/dist/collection/components/infinite-scroll/infinite-scroll.js +7 -35
  251. package/dist/collection/components/infinite-scroll-content/infinite-scroll-content.js +4 -6
  252. package/dist/collection/components/input/input.js +69 -168
  253. package/dist/collection/components/input-password-toggle/input-password-toggle.js +8 -16
  254. package/dist/collection/components/item/item.js +21 -56
  255. package/dist/collection/components/item-divider/item-divider.js +3 -13
  256. package/dist/collection/components/item-option/item-option.js +16 -36
  257. package/dist/collection/components/item-options/item-options.js +1 -7
  258. package/dist/collection/components/item-sliding/item-sliding.js +1 -6
  259. package/dist/collection/components/label/label.js +4 -6
  260. package/dist/collection/components/list/list.js +3 -9
  261. package/dist/collection/components/list-header/list-header.js +6 -6
  262. package/dist/collection/components/loading/loading.js +29 -86
  263. package/dist/collection/components/menu/menu.js +10 -42
  264. package/dist/collection/components/menu-button/menu-button.js +10 -27
  265. package/dist/collection/components/menu-toggle/menu-toggle.js +5 -14
  266. package/dist/collection/components/modal/modal.js +51 -188
  267. package/dist/collection/components/nav/nav.js +11 -24
  268. package/dist/collection/components/nav-link/nav-link.js +8 -18
  269. package/dist/collection/components/note/note.js +4 -3
  270. package/dist/collection/components/picker-column/picker-column.js +10 -34
  271. package/dist/collection/components/picker-column-option/picker-column-option.js +4 -25
  272. package/dist/collection/components/picker-legacy/picker.js +31 -91
  273. package/dist/collection/components/picker-legacy-column/picker-column.js +2 -4
  274. package/dist/collection/components/popover/popover.js +55 -208
  275. package/dist/collection/components/progress-bar/progress-bar.js +6 -31
  276. package/dist/collection/components/radio/radio.js +16 -46
  277. package/dist/collection/components/radio-group/radio-group.js +12 -26
  278. package/dist/collection/components/range/range.js +34 -109
  279. package/dist/collection/components/refresher/refresher.js +6 -68
  280. package/dist/collection/components/refresher-content/refresher-content.js +8 -12
  281. package/dist/collection/components/reorder-group/reorder-group.js +1 -6
  282. package/dist/collection/components/ripple-effect/ripple-effect.js +1 -12
  283. package/dist/collection/components/route/route.js +9 -24
  284. package/dist/collection/components/route-redirect/route-redirect.js +6 -6
  285. package/dist/collection/components/router/router.js +2 -24
  286. package/dist/collection/components/router-link/router-link.js +12 -24
  287. package/dist/collection/components/router-outlet/router-outlet.js +8 -24
  288. package/dist/collection/components/searchbar/searchbar.js +46 -141
  289. package/dist/collection/components/segment/segment.js +13 -38
  290. package/dist/collection/components/segment-button/segment-button.js +11 -32
  291. package/dist/collection/components/segment-view/segment-view.js +2 -6
  292. package/dist/collection/components/select/select.ios.css +5 -3
  293. package/dist/collection/components/select/select.js +45 -117
  294. package/dist/collection/components/select/select.md.css +51 -15
  295. package/dist/collection/components/select-modal/select-modal.js +4 -9
  296. package/dist/collection/components/select-option/select-option.js +3 -9
  297. package/dist/collection/components/select-popover/select-popover.js +8 -18
  298. package/dist/collection/components/skeleton-text/skeleton-text.js +1 -6
  299. package/dist/collection/components/spinner/spinner.js +7 -15
  300. package/dist/collection/components/split-pane/split-pane.js +4 -17
  301. package/dist/collection/components/tab/tab.js +7 -14
  302. package/dist/collection/components/tab-bar/tab-bar.js +5 -14
  303. package/dist/collection/components/tab-button/tab-button.js +16 -32
  304. package/dist/collection/components/tabs/tabs.js +3 -5
  305. package/dist/collection/components/text/text.js +4 -3
  306. package/dist/collection/components/textarea/textarea.js +57 -144
  307. package/dist/collection/components/title/title.js +6 -6
  308. package/dist/collection/components/toast/toast.js +45 -119
  309. package/dist/collection/components/toggle/toggle.js +25 -75
  310. package/dist/collection/components/toolbar/toolbar.js +2 -3
  311. package/dist/docs.d.ts +0 -8
  312. package/dist/docs.json +584 -1799
  313. package/dist/esm/animation-eab5a4ca.js +819 -0
  314. package/dist/esm/app-globals-7b6cbf1a.js +8 -0
  315. package/dist/esm/button-active-90f1dbc4.js +67 -0
  316. package/dist/esm/capacitor-59395cbd.js +13 -0
  317. package/dist/esm/compare-with-utils-a96ff2ea.js +41 -0
  318. package/dist/esm/config-49c88215.js +193 -0
  319. package/dist/esm/cubic-bezier-fe2083dc.js +90 -0
  320. package/dist/esm/data-174ad5e0.js +1610 -0
  321. package/dist/esm/dir-babeabeb.js +18 -0
  322. package/dist/esm/focus-visible-dd40d69f.js +75 -0
  323. package/dist/esm/framework-delegate-2eea1763.js +140 -0
  324. package/dist/esm/gesture-controller-314a54f6.js +195 -0
  325. package/dist/esm/haptic-ac164e4c.js +158 -0
  326. package/dist/esm/hardware-back-button-864101a3.js +116 -0
  327. package/dist/esm/helpers-78efeec3.js +340 -0
  328. package/dist/esm/index-39782642.js +457 -0
  329. package/dist/esm/index-40894f4b.js +167 -0
  330. package/dist/esm/index-527b9e34.js +2285 -0
  331. package/dist/esm/index-738d7504.js +42 -0
  332. package/dist/esm/index-a5d50daf.js +7 -0
  333. package/dist/esm/index-e2cf2ceb.js +31 -0
  334. package/dist/esm/index-e919e353.js +128 -0
  335. package/dist/esm/index-ecb55b8d.js +349 -0
  336. package/dist/esm/index-f9f5d018.js +306 -0
  337. package/dist/esm/index.js +18 -20
  338. package/dist/esm/input-shims-7dc1f6dc.js +608 -0
  339. package/dist/esm/input.utils-28bf4ef0.js +147 -0
  340. package/dist/esm/ion-accordion_2.entry.js +23 -56
  341. package/dist/esm/ion-action-sheet.entry.js +36 -52
  342. package/dist/esm/ion-alert.entry.js +39 -57
  343. package/dist/esm/ion-app_8.entry.js +63 -98
  344. package/dist/esm/ion-avatar_3.entry.js +14 -10
  345. package/dist/esm/ion-back-button.entry.js +16 -17
  346. package/dist/esm/ion-backdrop.entry.js +6 -15
  347. package/dist/esm/ion-breadcrumb_2.entry.js +32 -40
  348. package/dist/esm/ion-button_2.entry.js +28 -35
  349. package/dist/esm/ion-card_5.entry.js +33 -34
  350. package/dist/esm/ion-checkbox.entry.js +20 -46
  351. package/dist/esm/ion-chip.entry.js +8 -13
  352. package/dist/esm/ion-col_3.entry.js +32 -10
  353. package/dist/esm/ion-datetime-button.entry.js +18 -22
  354. package/dist/esm/ion-datetime_3.entry.js +92 -184
  355. package/dist/esm/ion-fab_3.entry.js +29 -59
  356. package/dist/esm/ion-img.entry.js +9 -6
  357. package/dist/esm/ion-infinite-scroll_2.entry.js +18 -37
  358. package/dist/esm/ion-input-password-toggle.entry.js +13 -13
  359. package/dist/esm/ion-input.entry.js +48 -78
  360. package/dist/esm/ion-item-option_3.entry.js +26 -34
  361. package/dist/esm/ion-item_8.entry.js +50 -51
  362. package/dist/esm/ion-loading.entry.js +29 -48
  363. package/dist/esm/ion-menu_3.entry.js +37 -64
  364. package/dist/esm/ion-modal.entry.js +50 -130
  365. package/dist/esm/ion-nav_2.entry.js +20 -19
  366. package/dist/esm/ion-picker-column-option.entry.js +9 -24
  367. package/dist/esm/ion-picker-column.entry.js +15 -32
  368. package/dist/esm/ion-picker.entry.js +6 -6
  369. package/dist/esm/ion-popover.entry.js +45 -139
  370. package/dist/esm/ion-progress-bar.entry.js +9 -24
  371. package/dist/esm/ion-radio_2.entry.js +28 -44
  372. package/dist/esm/ion-range.entry.js +31 -73
  373. package/dist/esm/ion-refresher_2.entry.js +24 -70
  374. package/dist/esm/ion-reorder_2.entry.js +17 -19
  375. package/dist/esm/ion-ripple-effect.entry.js +4 -14
  376. package/dist/esm/ion-route_4.entry.js +18 -36
  377. package/dist/esm/ion-searchbar.entry.js +34 -85
  378. package/dist/esm/ion-segment-content.entry.js +3 -4
  379. package/dist/esm/ion-segment-view.entry.js +6 -8
  380. package/dist/esm/ion-segment_2.entry.js +27 -49
  381. package/dist/esm/ion-select-modal.entry.js +18 -15
  382. package/dist/esm/ion-select_3.entry.js +55 -81
  383. package/dist/esm/ion-spinner.entry.js +9 -10
  384. package/dist/esm/ion-split-pane.entry.js +7 -14
  385. package/dist/esm/ion-tab-bar_2.entry.js +26 -27
  386. package/dist/esm/ion-tab_2.entry.js +12 -10
  387. package/dist/esm/ion-text.entry.js +6 -6
  388. package/dist/esm/ion-textarea.entry.js +41 -71
  389. package/dist/esm/ion-toast.entry.js +42 -67
  390. package/dist/esm/ion-toggle.entry.js +29 -55
  391. package/dist/esm/ionic-global-ca86cf32.js +221 -0
  392. package/dist/esm/ionic.js +6 -9
  393. package/dist/esm/ios.transition-7fe5dbea.js +680 -0
  394. package/dist/esm/keyboard-52278bd7.js +146 -0
  395. package/dist/esm/keyboard-73175e24.js +79 -0
  396. package/dist/esm/keyboard-controller-ec5c2bfa.js +165 -0
  397. package/dist/esm/loader.js +5 -7
  398. package/dist/esm/lock-controller-316928be.js +38 -0
  399. package/dist/esm/md.transition-8dc58b46.js +59 -0
  400. package/dist/esm/notch-controller-00d92e89.js +153 -0
  401. package/dist/esm/overlays-41a5d51b.js +976 -0
  402. package/dist/esm/spinner-configs-964f7cf3.js +145 -0
  403. package/dist/esm/status-tap-f6d08e9e.js +41 -0
  404. package/dist/esm/swipe-back-07df2095.js +79 -0
  405. package/dist/esm/theme-01f3f29c.js +43 -0
  406. package/dist/esm/watch-options-c2911ace.js +47 -0
  407. package/dist/esm-es5/animation-eab5a4ca.js +4 -0
  408. package/dist/esm-es5/app-globals-7b6cbf1a.js +4 -0
  409. package/dist/esm-es5/button-active-90f1dbc4.js +4 -0
  410. package/dist/esm-es5/capacitor-59395cbd.js +4 -0
  411. package/dist/esm-es5/compare-with-utils-a96ff2ea.js +4 -0
  412. package/dist/esm-es5/config-49c88215.js +4 -0
  413. package/dist/esm-es5/cubic-bezier-fe2083dc.js +4 -0
  414. package/dist/esm-es5/data-174ad5e0.js +4 -0
  415. package/dist/esm-es5/dir-babeabeb.js +4 -0
  416. package/dist/esm-es5/focus-visible-dd40d69f.js +4 -0
  417. package/dist/esm-es5/framework-delegate-2eea1763.js +4 -0
  418. package/dist/esm-es5/gesture-controller-314a54f6.js +4 -0
  419. package/dist/esm-es5/haptic-ac164e4c.js +4 -0
  420. package/dist/esm-es5/hardware-back-button-864101a3.js +4 -0
  421. package/dist/esm-es5/helpers-78efeec3.js +4 -0
  422. package/dist/esm-es5/index-39782642.js +4 -0
  423. package/dist/esm-es5/index-40894f4b.js +4 -0
  424. package/dist/esm-es5/index-527b9e34.js +5 -0
  425. package/dist/esm-es5/index-738d7504.js +4 -0
  426. package/dist/esm-es5/index-a5d50daf.js +4 -0
  427. package/dist/esm-es5/index-e2cf2ceb.js +4 -0
  428. package/dist/esm-es5/index-e919e353.js +4 -0
  429. package/dist/esm-es5/index-ecb55b8d.js +4 -0
  430. package/dist/esm-es5/index-f9f5d018.js +4 -0
  431. package/dist/esm-es5/index.js +1 -2
  432. package/dist/esm-es5/input-shims-7dc1f6dc.js +4 -0
  433. package/dist/esm-es5/input.utils-28bf4ef0.js +4 -0
  434. package/dist/esm-es5/ion-accordion_2.entry.js +1 -2
  435. package/dist/esm-es5/ion-action-sheet.entry.js +1 -2
  436. package/dist/esm-es5/ion-alert.entry.js +1 -2
  437. package/dist/esm-es5/ion-app_8.entry.js +1 -2
  438. package/dist/esm-es5/ion-avatar_3.entry.js +1 -2
  439. package/dist/esm-es5/ion-back-button.entry.js +1 -2
  440. package/dist/esm-es5/ion-backdrop.entry.js +1 -2
  441. package/dist/esm-es5/ion-breadcrumb_2.entry.js +1 -2
  442. package/dist/esm-es5/ion-button_2.entry.js +1 -2
  443. package/dist/esm-es5/ion-card_5.entry.js +1 -2
  444. package/dist/esm-es5/ion-checkbox.entry.js +1 -2
  445. package/dist/esm-es5/ion-chip.entry.js +1 -2
  446. package/dist/esm-es5/ion-col_3.entry.js +1 -2
  447. package/dist/esm-es5/ion-datetime-button.entry.js +1 -2
  448. package/dist/esm-es5/ion-datetime_3.entry.js +1 -2
  449. package/dist/esm-es5/ion-fab_3.entry.js +1 -2
  450. package/dist/esm-es5/ion-img.entry.js +1 -2
  451. package/dist/esm-es5/ion-infinite-scroll_2.entry.js +1 -2
  452. package/dist/esm-es5/ion-input-password-toggle.entry.js +1 -2
  453. package/dist/esm-es5/ion-input.entry.js +1 -2
  454. package/dist/esm-es5/ion-item-option_3.entry.js +1 -2
  455. package/dist/esm-es5/ion-item_8.entry.js +1 -2
  456. package/dist/esm-es5/ion-loading.entry.js +1 -2
  457. package/dist/esm-es5/ion-menu_3.entry.js +1 -2
  458. package/dist/esm-es5/ion-modal.entry.js +1 -2
  459. package/dist/esm-es5/ion-nav_2.entry.js +1 -2
  460. package/dist/esm-es5/ion-picker-column-option.entry.js +1 -2
  461. package/dist/esm-es5/ion-picker-column.entry.js +1 -2
  462. package/dist/esm-es5/ion-picker.entry.js +1 -2
  463. package/dist/esm-es5/ion-popover.entry.js +1 -2
  464. package/dist/esm-es5/ion-progress-bar.entry.js +1 -2
  465. package/dist/esm-es5/ion-radio_2.entry.js +1 -2
  466. package/dist/esm-es5/ion-range.entry.js +1 -2
  467. package/dist/esm-es5/ion-refresher_2.entry.js +1 -2
  468. package/dist/esm-es5/ion-reorder_2.entry.js +1 -2
  469. package/dist/esm-es5/ion-ripple-effect.entry.js +1 -2
  470. package/dist/esm-es5/ion-route_4.entry.js +1 -2
  471. package/dist/esm-es5/ion-searchbar.entry.js +1 -2
  472. package/dist/esm-es5/ion-segment-content.entry.js +1 -2
  473. package/dist/esm-es5/ion-segment-view.entry.js +1 -2
  474. package/dist/esm-es5/ion-segment_2.entry.js +1 -2
  475. package/dist/esm-es5/ion-select-modal.entry.js +1 -2
  476. package/dist/esm-es5/ion-select_3.entry.js +1 -2
  477. package/dist/esm-es5/ion-spinner.entry.js +1 -2
  478. package/dist/esm-es5/ion-split-pane.entry.js +1 -2
  479. package/dist/esm-es5/ion-tab-bar_2.entry.js +1 -2
  480. package/dist/esm-es5/ion-tab_2.entry.js +1 -2
  481. package/dist/esm-es5/ion-text.entry.js +1 -2
  482. package/dist/esm-es5/ion-textarea.entry.js +1 -2
  483. package/dist/esm-es5/ion-toast.entry.js +1 -2
  484. package/dist/esm-es5/ion-toggle.entry.js +1 -2
  485. package/dist/esm-es5/ionic-global-ca86cf32.js +4 -0
  486. package/dist/esm-es5/ionic.js +1 -2
  487. package/dist/esm-es5/ios.transition-7fe5dbea.js +4 -0
  488. package/dist/esm-es5/keyboard-52278bd7.js +4 -0
  489. package/dist/esm-es5/keyboard-73175e24.js +4 -0
  490. package/dist/esm-es5/keyboard-controller-ec5c2bfa.js +4 -0
  491. package/dist/esm-es5/loader.js +1 -2
  492. package/dist/esm-es5/lock-controller-316928be.js +4 -0
  493. package/dist/esm-es5/md.transition-8dc58b46.js +4 -0
  494. package/dist/esm-es5/notch-controller-00d92e89.js +4 -0
  495. package/dist/esm-es5/overlays-41a5d51b.js +4 -0
  496. package/dist/esm-es5/spinner-configs-964f7cf3.js +4 -0
  497. package/dist/esm-es5/status-tap-f6d08e9e.js +4 -0
  498. package/dist/esm-es5/swipe-back-07df2095.js +4 -0
  499. package/dist/esm-es5/theme-01f3f29c.js +4 -0
  500. package/dist/esm-es5/watch-options-c2911ace.js +4 -0
  501. package/dist/html.html-data.json +0 -212
  502. package/dist/ionic/index.esm.js +1 -2
  503. package/dist/ionic/ionic.esm.js +1 -2
  504. package/dist/ionic/ionic.js +1 -1
  505. package/dist/ionic/p-012c3ceb.system.js +4 -0
  506. package/dist/ionic/p-027a48f1.entry.js +4 -0
  507. package/dist/ionic/p-058b7f35.js +4 -0
  508. package/dist/ionic/p-05b65d7a.entry.js +4 -0
  509. package/dist/ionic/p-08e01816.system.js +4 -0
  510. package/dist/ionic/p-09d185ff.system.js +4 -0
  511. package/dist/ionic/p-0a456b7f.entry.js +4 -0
  512. package/dist/ionic/p-0adb6909.system.entry.js +4 -0
  513. package/dist/ionic/p-0bedc891.system.entry.js +4 -0
  514. package/dist/ionic/p-0d1be7c9.system.entry.js +4 -0
  515. package/dist/ionic/p-0ec5b7cf.system.js +4 -0
  516. package/dist/ionic/p-14114a59.system.entry.js +4 -0
  517. package/dist/ionic/p-15bb1dde.system.js +4 -0
  518. package/dist/ionic/p-180b4f9a.entry.js +4 -0
  519. package/dist/ionic/p-19c32a76.entry.js +4 -0
  520. package/dist/ionic/p-1b0b2210.entry.js +4 -0
  521. package/dist/ionic/p-1bf5ec17.system.js +4 -0
  522. package/dist/ionic/p-1c1d781d.system.entry.js +4 -0
  523. package/dist/ionic/p-1c8b3ac9.entry.js +4 -0
  524. package/dist/ionic/p-1de5dfcd.system.entry.js +4 -0
  525. package/dist/ionic/p-1dfc11b3.system.js +4 -0
  526. package/dist/ionic/p-1e4371bd.js +4 -0
  527. package/dist/ionic/p-1e955a45.system.js +4 -0
  528. package/dist/ionic/p-20d469d0.system.js +4 -0
  529. package/dist/ionic/p-21891ead.js +4 -0
  530. package/dist/ionic/p-22bc235f.js +4 -0
  531. package/dist/ionic/p-2408c236.js +4 -0
  532. package/dist/ionic/p-2567237c.entry.js +4 -0
  533. package/dist/ionic/p-27281edd.js +4 -0
  534. package/dist/ionic/p-28c81576.entry.js +4 -0
  535. package/dist/ionic/p-29a5b4e4.entry.js +4 -0
  536. package/dist/ionic/p-29da3dcd.entry.js +4 -0
  537. package/dist/ionic/p-2a2c6bf4.system.entry.js +4 -0
  538. package/dist/ionic/p-2b7827c7.js +4 -0
  539. package/dist/ionic/p-33518a04.entry.js +4 -0
  540. package/dist/ionic/p-35f14792.entry.js +4 -0
  541. package/dist/ionic/p-383a6058.entry.js +4 -0
  542. package/dist/ionic/p-3855fef7.system.js +4 -0
  543. package/dist/ionic/p-38eaf9cf.system.entry.js +4 -0
  544. package/dist/ionic/p-3ba2a2cd.system.js +4 -0
  545. package/dist/ionic/p-3e1e14d9.system.js +4 -0
  546. package/dist/ionic/p-3f4327f7.js +4 -0
  547. package/dist/ionic/p-41d5544e.js +4 -0
  548. package/dist/ionic/p-41e70fa2.entry.js +4 -0
  549. package/dist/ionic/p-44fde7d5.system.entry.js +4 -0
  550. package/dist/ionic/p-44ff75ea.js +4 -0
  551. package/dist/ionic/p-455cd7cc.system.js +4 -0
  552. package/dist/ionic/p-459d13d5.js +4 -0
  553. package/dist/ionic/p-4609d030.system.js +4 -0
  554. package/dist/ionic/p-4630688e.system.entry.js +4 -0
  555. package/dist/ionic/p-4662a25c.system.entry.js +4 -0
  556. package/dist/ionic/p-47794def.js +4 -0
  557. package/dist/ionic/p-48ded460.entry.js +4 -0
  558. package/dist/ionic/p-49d53551.system.entry.js +4 -0
  559. package/dist/ionic/p-4b07c60a.system.js +4 -0
  560. package/dist/ionic/p-4c7e6fec.system.entry.js +4 -0
  561. package/dist/ionic/p-4ea4c73a.system.entry.js +4 -0
  562. package/dist/ionic/p-4eeca839.system.entry.js +4 -0
  563. package/dist/ionic/p-4f255d5a.system.js +4 -0
  564. package/dist/ionic/p-50e0ce13.entry.js +4 -0
  565. package/dist/ionic/p-51479be0.system.entry.js +4 -0
  566. package/dist/ionic/p-5578033e.system.entry.js +4 -0
  567. package/dist/ionic/p-597ff9af.js +4 -0
  568. package/dist/ionic/p-5fb1321f.entry.js +4 -0
  569. package/dist/ionic/p-607aa181.entry.js +4 -0
  570. package/dist/ionic/p-61373098.js +4 -0
  571. package/dist/ionic/p-6155027f.system.entry.js +4 -0
  572. package/dist/ionic/p-61e794fb.entry.js +4 -0
  573. package/dist/ionic/p-624ecf03.js +4 -0
  574. package/dist/ionic/p-64d8ac48.js +4 -0
  575. package/dist/ionic/p-657ada6a.entry.js +4 -0
  576. package/dist/ionic/p-65943bec.system.entry.js +4 -0
  577. package/dist/ionic/p-65e732b9.entry.js +4 -0
  578. package/dist/ionic/p-66a5d6a8.js +5 -0
  579. package/dist/ionic/p-69a96be9.system.entry.js +4 -0
  580. package/dist/ionic/p-6c044a1d.system.js +4 -0
  581. package/dist/ionic/p-7058a5e4.system.entry.js +4 -0
  582. package/dist/ionic/p-705fda69.system.js +4 -0
  583. package/dist/ionic/p-707408c5.system.entry.js +4 -0
  584. package/dist/ionic/p-70abb1f2.system.entry.js +4 -0
  585. package/dist/ionic/p-747f9517.entry.js +4 -0
  586. package/dist/ionic/p-756e4559.js +4 -0
  587. package/dist/ionic/p-772d1657.system.js +4 -0
  588. package/dist/ionic/p-77aa5fef.system.entry.js +4 -0
  589. package/dist/ionic/p-792919fd.system.js +4 -0
  590. package/dist/ionic/p-7b30edcc.js +4 -0
  591. package/dist/ionic/p-7b886108.system.entry.js +4 -0
  592. package/dist/ionic/p-7c9daa6f.entry.js +4 -0
  593. package/dist/ionic/p-7cc33a9a.system.js +4 -0
  594. package/dist/ionic/p-7e3b5638.system.entry.js +4 -0
  595. package/dist/ionic/p-7f49a9c4.entry.js +4 -0
  596. package/dist/ionic/p-843ac05d.system.entry.js +4 -0
  597. package/dist/ionic/p-87b0d2c9.entry.js +4 -0
  598. package/dist/ionic/p-8985cdb6.system.js +4 -0
  599. package/dist/ionic/p-89b61afc.js +4 -0
  600. package/dist/ionic/p-8b1c1fd7.entry.js +4 -0
  601. package/dist/ionic/p-8b22be32.system.entry.js +4 -0
  602. package/dist/ionic/p-8d98e2bb.entry.js +4 -0
  603. package/dist/ionic/p-8ededb41.js +4 -0
  604. package/dist/ionic/p-9146695e.system.js +4 -0
  605. package/dist/ionic/p-959cf042.system.entry.js +4 -0
  606. package/dist/ionic/p-96eec056.entry.js +4 -0
  607. package/dist/ionic/p-978bdf4c.system.js +4 -0
  608. package/dist/ionic/p-979d4f5c.system.js +4 -0
  609. package/dist/ionic/p-9870728f.js +4 -0
  610. package/dist/ionic/p-99803283.entry.js +4 -0
  611. package/dist/ionic/p-9af7f110.js +4 -0
  612. package/dist/ionic/p-9b069739.entry.js +4 -0
  613. package/dist/ionic/p-9b97df10.js +4 -0
  614. package/dist/ionic/p-9e45532a.system.js +4 -0
  615. package/dist/ionic/p-a26d7667.system.entry.js +4 -0
  616. package/dist/ionic/p-a3c931ad.system.js +4 -0
  617. package/dist/ionic/p-a4866e3e.system.js +4 -0
  618. package/dist/ionic/p-a520973b.entry.js +4 -0
  619. package/dist/ionic/p-a6625de8.system.js +4 -0
  620. package/dist/ionic/p-a75a9e5a.system.entry.js +4 -0
  621. package/dist/ionic/p-a768ae50.entry.js +4 -0
  622. package/dist/ionic/p-a7830ff8.entry.js +4 -0
  623. package/dist/ionic/p-a9198501.system.entry.js +4 -0
  624. package/dist/ionic/p-a93873de.system.js +4 -0
  625. package/dist/ionic/p-ab7337e1.entry.js +4 -0
  626. package/dist/ionic/p-abe101da.system.js +4 -0
  627. package/dist/ionic/p-ac09b6e9.system.entry.js +4 -0
  628. package/dist/ionic/p-ac58d726.system.entry.js +4 -0
  629. package/dist/ionic/p-b06ac4a5.system.js +4 -0
  630. package/dist/ionic/p-b1673667.entry.js +4 -0
  631. package/dist/ionic/p-b1f9fbe8.system.entry.js +4 -0
  632. package/dist/ionic/p-b2ee0628.system.entry.js +4 -0
  633. package/dist/ionic/p-b87a9f1d.entry.js +4 -0
  634. package/dist/ionic/p-b8a461f5.system.entry.js +4 -0
  635. package/dist/ionic/p-b9fa7882.js +4 -0
  636. package/dist/ionic/p-bf64af90.system.js +4 -0
  637. package/dist/ionic/p-c005cc37.entry.js +4 -0
  638. package/dist/ionic/p-c095b902.entry.js +4 -0
  639. package/dist/ionic/p-c27c57ea.system.entry.js +4 -0
  640. package/dist/ionic/p-c3f9d9fe.js +4 -0
  641. package/dist/ionic/p-c468af8a.system.js +4 -0
  642. package/dist/ionic/p-c53c414d.system.entry.js +4 -0
  643. package/dist/ionic/p-c61cc894.js +4 -0
  644. package/dist/ionic/p-c63d8dc1.js +4 -0
  645. package/dist/ionic/p-c7e16491.js +4 -0
  646. package/dist/ionic/p-ccb740ea.entry.js +4 -0
  647. package/dist/ionic/p-ccd02320.js +4 -0
  648. package/dist/ionic/p-cec54707.system.entry.js +4 -0
  649. package/dist/ionic/p-cfc08422.entry.js +4 -0
  650. package/dist/ionic/p-cff4f96c.entry.js +4 -0
  651. package/dist/ionic/p-d40f2b7a.js +4 -0
  652. package/dist/ionic/p-d47265c8.js +4 -0
  653. package/dist/ionic/p-d70a9e6d.system.js +4 -0
  654. package/dist/ionic/p-d823e7b6.system.entry.js +4 -0
  655. package/dist/ionic/p-d882f1e2.system.entry.js +4 -0
  656. package/dist/ionic/p-d8d84afa.system.js +4 -0
  657. package/dist/ionic/p-da2b833b.js +4 -0
  658. package/dist/ionic/p-db3b409e.system.entry.js +4 -0
  659. package/dist/ionic/p-de756e5c.js +4 -0
  660. package/dist/ionic/p-e11ff516.entry.js +4 -0
  661. package/dist/ionic/p-e29c5aab.system.entry.js +4 -0
  662. package/dist/ionic/p-e2ce5f8b.entry.js +4 -0
  663. package/dist/ionic/p-e3284879.system.entry.js +4 -0
  664. package/dist/ionic/p-e3e4eed7.entry.js +4 -0
  665. package/dist/ionic/p-e4683bfd.system.entry.js +4 -0
  666. package/dist/ionic/p-e4d2c281.entry.js +4 -0
  667. package/dist/ionic/p-e65b8460.entry.js +4 -0
  668. package/dist/ionic/p-e673a0a2.system.js +4 -0
  669. package/dist/ionic/p-e6cdfa96.system.entry.js +4 -0
  670. package/dist/ionic/p-e8245753.entry.js +4 -0
  671. package/dist/ionic/p-ece78e7b.js +4 -0
  672. package/dist/ionic/p-ee86cfff.system.js +4 -0
  673. package/dist/ionic/p-f0c2a614.js +4 -0
  674. package/dist/ionic/p-f11a9436.system.js +5 -0
  675. package/dist/ionic/p-f201b53a.system.js +4 -0
  676. package/dist/ionic/p-f23124c4.system.js +4 -0
  677. package/dist/ionic/p-f233f1e0.system.js +4 -0
  678. package/dist/ionic/p-f387b3c6.system.entry.js +4 -0
  679. package/dist/ionic/p-f53ee2e7.js +4 -0
  680. package/dist/ionic/p-f5a04e5e.system.entry.js +4 -0
  681. package/dist/ionic/p-f6bb9be7.system.entry.js +4 -0
  682. package/dist/ionic/p-f70fc14a.entry.js +4 -0
  683. package/dist/ionic/p-f7ce606e.js +4 -0
  684. package/dist/ionic/p-f834322a.entry.js +4 -0
  685. package/dist/ionic/p-f896194a.system.entry.js +4 -0
  686. package/dist/ionic/p-fa70eaab.entry.js +4 -0
  687. package/dist/ionic/p-fb813dab.js +4 -0
  688. package/dist/ionic/p-ffa3ba3c.js +4 -0
  689. package/dist/types/index.d.ts +0 -1
  690. package/dist/types/stencil-public-runtime.d.ts +0 -9
  691. package/hydrate/index.d.ts +5 -40
  692. package/hydrate/index.js +2180 -4540
  693. package/hydrate/index.mjs +2179 -4539
  694. package/loader/package.json +11 -0
  695. package/package.json +2 -2
  696. package/dist/cjs/animation-Bz5ImL40.js +0 -823
  697. package/dist/cjs/animation-Bz5ImL40.js.map +0 -1
  698. package/dist/cjs/app-globals-CZsg-LhI.js +0 -12
  699. package/dist/cjs/app-globals-CZsg-LhI.js.map +0 -1
  700. package/dist/cjs/button-active-B_sTrRdi.js +0 -71
  701. package/dist/cjs/button-active-B_sTrRdi.js.map +0 -1
  702. package/dist/cjs/capacitor-DmA66EwP.js +0 -17
  703. package/dist/cjs/capacitor-DmA66EwP.js.map +0 -1
  704. package/dist/cjs/compare-with-utils-DSicavqM.js +0 -46
  705. package/dist/cjs/compare-with-utils-DSicavqM.js.map +0 -1
  706. package/dist/cjs/config-BHiHGeHc.js +0 -201
  707. package/dist/cjs/config-BHiHGeHc.js.map +0 -1
  708. package/dist/cjs/cubic-bezier-DAjy1V-e.js +0 -94
  709. package/dist/cjs/cubic-bezier-DAjy1V-e.js.map +0 -1
  710. package/dist/cjs/data-D1OXTASG.js +0 -1657
  711. package/dist/cjs/data-D1OXTASG.js.map +0 -1
  712. package/dist/cjs/dir-Cn0z1rJH.js +0 -22
  713. package/dist/cjs/dir-Cn0z1rJH.js.map +0 -1
  714. package/dist/cjs/focus-visible-CCvKiLh3.js +0 -79
  715. package/dist/cjs/focus-visible-CCvKiLh3.js.map +0 -1
  716. package/dist/cjs/framework-delegate-B0-bTZ_Y.js +0 -146
  717. package/dist/cjs/framework-delegate-B0-bTZ_Y.js.map +0 -1
  718. package/dist/cjs/gesture-controller-dtqlP_q4.js +0 -200
  719. package/dist/cjs/gesture-controller-dtqlP_q4.js.map +0 -1
  720. package/dist/cjs/haptic-ClPPQ_PS.js +0 -166
  721. package/dist/cjs/haptic-ClPPQ_PS.js.map +0 -1
  722. package/dist/cjs/hardware-back-button-BQuSMsOY.js +0 -124
  723. package/dist/cjs/hardware-back-button-BQuSMsOY.js.map +0 -1
  724. package/dist/cjs/helpers-CLmZlPvl.js +0 -360
  725. package/dist/cjs/helpers-CLmZlPvl.js.map +0 -1
  726. package/dist/cjs/index-B4SdCKIQ.js +0 -171
  727. package/dist/cjs/index-B4SdCKIQ.js.map +0 -1
  728. package/dist/cjs/index-CAvQ7Tka.js +0 -460
  729. package/dist/cjs/index-CAvQ7Tka.js.map +0 -1
  730. package/dist/cjs/index-CPbAsnJK.js +0 -60
  731. package/dist/cjs/index-CPbAsnJK.js.map +0 -1
  732. package/dist/cjs/index-D2j56KFp.js +0 -142
  733. package/dist/cjs/index-D2j56KFp.js.map +0 -1
  734. package/dist/cjs/index-D8uhsOnz.js +0 -48
  735. package/dist/cjs/index-D8uhsOnz.js.map +0 -1
  736. package/dist/cjs/index-DKTLeeMt.js +0 -310
  737. package/dist/cjs/index-DKTLeeMt.js.map +0 -1
  738. package/dist/cjs/index-DkNv4J_i.js +0 -12
  739. package/dist/cjs/index-DkNv4J_i.js.map +0 -1
  740. package/dist/cjs/index-_tV9u9vh.js +0 -363
  741. package/dist/cjs/index-_tV9u9vh.js.map +0 -1
  742. package/dist/cjs/index-hNAzGVlY.js +0 -3031
  743. package/dist/cjs/index-hNAzGVlY.js.map +0 -1
  744. package/dist/cjs/index.cjs.js.map +0 -1
  745. package/dist/cjs/input-shims-6H178XSI.js +0 -612
  746. package/dist/cjs/input-shims-6H178XSI.js.map +0 -1
  747. package/dist/cjs/input.utils-DBXD4CGM.js +0 -152
  748. package/dist/cjs/input.utils-DBXD4CGM.js.map +0 -1
  749. package/dist/cjs/ion-accordion_2.cjs.entry.js.map +0 -1
  750. package/dist/cjs/ion-action-sheet.cjs.entry.js.map +0 -1
  751. package/dist/cjs/ion-alert.cjs.entry.js.map +0 -1
  752. package/dist/cjs/ion-app_8.cjs.entry.js.map +0 -1
  753. package/dist/cjs/ion-avatar_3.cjs.entry.js.map +0 -1
  754. package/dist/cjs/ion-back-button.cjs.entry.js.map +0 -1
  755. package/dist/cjs/ion-backdrop.cjs.entry.js.map +0 -1
  756. package/dist/cjs/ion-breadcrumb_2.cjs.entry.js.map +0 -1
  757. package/dist/cjs/ion-button_2.cjs.entry.js.map +0 -1
  758. package/dist/cjs/ion-card_5.cjs.entry.js.map +0 -1
  759. package/dist/cjs/ion-checkbox.cjs.entry.js.map +0 -1
  760. package/dist/cjs/ion-chip.cjs.entry.js.map +0 -1
  761. package/dist/cjs/ion-col_3.cjs.entry.js.map +0 -1
  762. package/dist/cjs/ion-datetime-button.cjs.entry.js.map +0 -1
  763. package/dist/cjs/ion-datetime_3.cjs.entry.js.map +0 -1
  764. package/dist/cjs/ion-fab_3.cjs.entry.js.map +0 -1
  765. package/dist/cjs/ion-img.cjs.entry.js.map +0 -1
  766. package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js.map +0 -1
  767. package/dist/cjs/ion-input-password-toggle.cjs.entry.js.map +0 -1
  768. package/dist/cjs/ion-input.cjs.entry.js.map +0 -1
  769. package/dist/cjs/ion-item-option_3.cjs.entry.js.map +0 -1
  770. package/dist/cjs/ion-item_8.cjs.entry.js.map +0 -1
  771. package/dist/cjs/ion-loading.cjs.entry.js.map +0 -1
  772. package/dist/cjs/ion-menu_3.cjs.entry.js.map +0 -1
  773. package/dist/cjs/ion-modal.cjs.entry.js.map +0 -1
  774. package/dist/cjs/ion-nav_2.cjs.entry.js.map +0 -1
  775. package/dist/cjs/ion-picker-column-option.cjs.entry.js.map +0 -1
  776. package/dist/cjs/ion-picker-column.cjs.entry.js.map +0 -1
  777. package/dist/cjs/ion-picker.cjs.entry.js.map +0 -1
  778. package/dist/cjs/ion-popover.cjs.entry.js.map +0 -1
  779. package/dist/cjs/ion-progress-bar.cjs.entry.js.map +0 -1
  780. package/dist/cjs/ion-radio_2.cjs.entry.js.map +0 -1
  781. package/dist/cjs/ion-range.cjs.entry.js.map +0 -1
  782. package/dist/cjs/ion-refresher_2.cjs.entry.js.map +0 -1
  783. package/dist/cjs/ion-reorder_2.cjs.entry.js.map +0 -1
  784. package/dist/cjs/ion-ripple-effect.cjs.entry.js.map +0 -1
  785. package/dist/cjs/ion-route_4.cjs.entry.js.map +0 -1
  786. package/dist/cjs/ion-searchbar.cjs.entry.js.map +0 -1
  787. package/dist/cjs/ion-segment-content.cjs.entry.js.map +0 -1
  788. package/dist/cjs/ion-segment-view.cjs.entry.js.map +0 -1
  789. package/dist/cjs/ion-segment_2.cjs.entry.js.map +0 -1
  790. package/dist/cjs/ion-select-modal.cjs.entry.js.map +0 -1
  791. package/dist/cjs/ion-select_3.cjs.entry.js.map +0 -1
  792. package/dist/cjs/ion-spinner.cjs.entry.js.map +0 -1
  793. package/dist/cjs/ion-split-pane.cjs.entry.js.map +0 -1
  794. package/dist/cjs/ion-tab-bar_2.cjs.entry.js.map +0 -1
  795. package/dist/cjs/ion-tab_2.cjs.entry.js.map +0 -1
  796. package/dist/cjs/ion-text.cjs.entry.js.map +0 -1
  797. package/dist/cjs/ion-textarea.cjs.entry.js.map +0 -1
  798. package/dist/cjs/ion-toast.cjs.entry.js.map +0 -1
  799. package/dist/cjs/ion-toggle.cjs.entry.js.map +0 -1
  800. package/dist/cjs/ionic-global-DuB8uLNy.js +0 -229
  801. package/dist/cjs/ionic-global-DuB8uLNy.js.map +0 -1
  802. package/dist/cjs/ionic.cjs.js.map +0 -1
  803. package/dist/cjs/ios.transition-BjgKidIi.js +0 -685
  804. package/dist/cjs/ios.transition-BjgKidIi.js.map +0 -1
  805. package/dist/cjs/keyboard-UuAS4D_9.js +0 -83
  806. package/dist/cjs/keyboard-UuAS4D_9.js.map +0 -1
  807. package/dist/cjs/keyboard-controller-GXBiBRKS.js +0 -169
  808. package/dist/cjs/keyboard-controller-GXBiBRKS.js.map +0 -1
  809. package/dist/cjs/keyboard-hHzlEQpk.js +0 -160
  810. package/dist/cjs/keyboard-hHzlEQpk.js.map +0 -1
  811. package/dist/cjs/loader.cjs.js.map +0 -1
  812. package/dist/cjs/lock-controller-aDB9wrEf.js +0 -42
  813. package/dist/cjs/lock-controller-aDB9wrEf.js.map +0 -1
  814. package/dist/cjs/md.transition-CNotxYJ-.js +0 -63
  815. package/dist/cjs/md.transition-CNotxYJ-.js.map +0 -1
  816. package/dist/cjs/notch-controller-DNfj7cO6.js +0 -157
  817. package/dist/cjs/notch-controller-DNfj7cO6.js.map +0 -1
  818. package/dist/cjs/overlays-CHwAedHo.js +0 -1002
  819. package/dist/cjs/overlays-CHwAedHo.js.map +0 -1
  820. package/dist/cjs/spinner-configs-DxHKnd3-.js +0 -149
  821. package/dist/cjs/spinner-configs-DxHKnd3-.js.map +0 -1
  822. package/dist/cjs/status-tap-ykL1VltP.js +0 -45
  823. package/dist/cjs/status-tap-ykL1VltP.js.map +0 -1
  824. package/dist/cjs/swipe-back-Di-t3rsI.js +0 -83
  825. package/dist/cjs/swipe-back-Di-t3rsI.js.map +0 -1
  826. package/dist/cjs/theme-CeDs6Hcv.js +0 -50
  827. package/dist/cjs/theme-CeDs6Hcv.js.map +0 -1
  828. package/dist/cjs/watch-options-CviOsrTS.js +0 -51
  829. package/dist/cjs/watch-options-CviOsrTS.js.map +0 -1
  830. package/dist/esm/animation-CCtpQcsN.js +0 -821
  831. package/dist/esm/animation-CCtpQcsN.js.map +0 -1
  832. package/dist/esm/app-globals-mvMgGnyb.js +0 -10
  833. package/dist/esm/app-globals-mvMgGnyb.js.map +0 -1
  834. package/dist/esm/button-active-BGIwtZbO.js +0 -69
  835. package/dist/esm/button-active-BGIwtZbO.js.map +0 -1
  836. package/dist/esm/capacitor-CFERIeaU.js +0 -15
  837. package/dist/esm/capacitor-CFERIeaU.js.map +0 -1
  838. package/dist/esm/compare-with-utils-sObYyvOy.js +0 -43
  839. package/dist/esm/compare-with-utils-sObYyvOy.js.map +0 -1
  840. package/dist/esm/config-O8NobGs3.js +0 -195
  841. package/dist/esm/config-O8NobGs3.js.map +0 -1
  842. package/dist/esm/cubic-bezier-hHmYLOfE.js +0 -92
  843. package/dist/esm/cubic-bezier-hHmYLOfE.js.map +0 -1
  844. package/dist/esm/data-CXsdTFZ4.js +0 -1612
  845. package/dist/esm/data-CXsdTFZ4.js.map +0 -1
  846. package/dist/esm/dir-C53feagD.js +0 -20
  847. package/dist/esm/dir-C53feagD.js.map +0 -1
  848. package/dist/esm/focus-visible-BmVRXR1y.js +0 -77
  849. package/dist/esm/focus-visible-BmVRXR1y.js.map +0 -1
  850. package/dist/esm/framework-delegate-D3CI7y6x.js +0 -142
  851. package/dist/esm/framework-delegate-D3CI7y6x.js.map +0 -1
  852. package/dist/esm/gesture-controller-BTEOs1at.js +0 -197
  853. package/dist/esm/gesture-controller-BTEOs1at.js.map +0 -1
  854. package/dist/esm/haptic-DzAMWJuk.js +0 -160
  855. package/dist/esm/haptic-DzAMWJuk.js.map +0 -1
  856. package/dist/esm/hardware-back-button-DYAtJcjg.js +0 -118
  857. package/dist/esm/hardware-back-button-DYAtJcjg.js.map +0 -1
  858. package/dist/esm/helpers-Di6ciXLG.js +0 -339
  859. package/dist/esm/helpers-Di6ciXLG.js.map +0 -1
  860. package/dist/esm/index-B2_fY2up.js +0 -169
  861. package/dist/esm/index-B2_fY2up.js.map +0 -1
  862. package/dist/esm/index-B2ahkcT2.js +0 -351
  863. package/dist/esm/index-B2ahkcT2.js.map +0 -1
  864. package/dist/esm/index-BE9TYO7t.js +0 -308
  865. package/dist/esm/index-BE9TYO7t.js.map +0 -1
  866. package/dist/esm/index-BLV6ykCk.js +0 -34
  867. package/dist/esm/index-BLV6ykCk.js.map +0 -1
  868. package/dist/esm/index-Cc9Htq31.js +0 -3014
  869. package/dist/esm/index-Cc9Htq31.js.map +0 -1
  870. package/dist/esm/index-CfgBF1SE.js +0 -457
  871. package/dist/esm/index-CfgBF1SE.js.map +0 -1
  872. package/dist/esm/index-QK2X-y7J.js +0 -44
  873. package/dist/esm/index-QK2X-y7J.js.map +0 -1
  874. package/dist/esm/index-SaRsSaAm.js +0 -130
  875. package/dist/esm/index-SaRsSaAm.js.map +0 -1
  876. package/dist/esm/index-ZjP4CjeZ.js +0 -9
  877. package/dist/esm/index-ZjP4CjeZ.js.map +0 -1
  878. package/dist/esm/index.js.map +0 -1
  879. package/dist/esm/input-shims-myMFvMoT.js +0 -610
  880. package/dist/esm/input-shims-myMFvMoT.js.map +0 -1
  881. package/dist/esm/input.utils-CK92hTP0.js +0 -149
  882. package/dist/esm/input.utils-CK92hTP0.js.map +0 -1
  883. package/dist/esm/ion-accordion_2.entry.js.map +0 -1
  884. package/dist/esm/ion-action-sheet.entry.js.map +0 -1
  885. package/dist/esm/ion-alert.entry.js.map +0 -1
  886. package/dist/esm/ion-app_8.entry.js.map +0 -1
  887. package/dist/esm/ion-avatar_3.entry.js.map +0 -1
  888. package/dist/esm/ion-back-button.entry.js.map +0 -1
  889. package/dist/esm/ion-backdrop.entry.js.map +0 -1
  890. package/dist/esm/ion-breadcrumb_2.entry.js.map +0 -1
  891. package/dist/esm/ion-button_2.entry.js.map +0 -1
  892. package/dist/esm/ion-card_5.entry.js.map +0 -1
  893. package/dist/esm/ion-checkbox.entry.js.map +0 -1
  894. package/dist/esm/ion-chip.entry.js.map +0 -1
  895. package/dist/esm/ion-col_3.entry.js.map +0 -1
  896. package/dist/esm/ion-datetime-button.entry.js.map +0 -1
  897. package/dist/esm/ion-datetime_3.entry.js.map +0 -1
  898. package/dist/esm/ion-fab_3.entry.js.map +0 -1
  899. package/dist/esm/ion-img.entry.js.map +0 -1
  900. package/dist/esm/ion-infinite-scroll_2.entry.js.map +0 -1
  901. package/dist/esm/ion-input-password-toggle.entry.js.map +0 -1
  902. package/dist/esm/ion-input.entry.js.map +0 -1
  903. package/dist/esm/ion-item-option_3.entry.js.map +0 -1
  904. package/dist/esm/ion-item_8.entry.js.map +0 -1
  905. package/dist/esm/ion-loading.entry.js.map +0 -1
  906. package/dist/esm/ion-menu_3.entry.js.map +0 -1
  907. package/dist/esm/ion-modal.entry.js.map +0 -1
  908. package/dist/esm/ion-nav_2.entry.js.map +0 -1
  909. package/dist/esm/ion-picker-column-option.entry.js.map +0 -1
  910. package/dist/esm/ion-picker-column.entry.js.map +0 -1
  911. package/dist/esm/ion-picker.entry.js.map +0 -1
  912. package/dist/esm/ion-popover.entry.js.map +0 -1
  913. package/dist/esm/ion-progress-bar.entry.js.map +0 -1
  914. package/dist/esm/ion-radio_2.entry.js.map +0 -1
  915. package/dist/esm/ion-range.entry.js.map +0 -1
  916. package/dist/esm/ion-refresher_2.entry.js.map +0 -1
  917. package/dist/esm/ion-reorder_2.entry.js.map +0 -1
  918. package/dist/esm/ion-ripple-effect.entry.js.map +0 -1
  919. package/dist/esm/ion-route_4.entry.js.map +0 -1
  920. package/dist/esm/ion-searchbar.entry.js.map +0 -1
  921. package/dist/esm/ion-segment-content.entry.js.map +0 -1
  922. package/dist/esm/ion-segment-view.entry.js.map +0 -1
  923. package/dist/esm/ion-segment_2.entry.js.map +0 -1
  924. package/dist/esm/ion-select-modal.entry.js.map +0 -1
  925. package/dist/esm/ion-select_3.entry.js.map +0 -1
  926. package/dist/esm/ion-spinner.entry.js.map +0 -1
  927. package/dist/esm/ion-split-pane.entry.js.map +0 -1
  928. package/dist/esm/ion-tab-bar_2.entry.js.map +0 -1
  929. package/dist/esm/ion-tab_2.entry.js.map +0 -1
  930. package/dist/esm/ion-text.entry.js.map +0 -1
  931. package/dist/esm/ion-textarea.entry.js.map +0 -1
  932. package/dist/esm/ion-toast.entry.js.map +0 -1
  933. package/dist/esm/ion-toggle.entry.js.map +0 -1
  934. package/dist/esm/ionic-global-BZ-M2eNj.js +0 -223
  935. package/dist/esm/ionic-global-BZ-M2eNj.js.map +0 -1
  936. package/dist/esm/ionic.js.map +0 -1
  937. package/dist/esm/ios.transition-7w4LW3L0.js +0 -682
  938. package/dist/esm/ios.transition-7w4LW3L0.js.map +0 -1
  939. package/dist/esm/keyboard-CUw4ekVy.js +0 -81
  940. package/dist/esm/keyboard-CUw4ekVy.js.map +0 -1
  941. package/dist/esm/keyboard-controller-BaaVITYt.js +0 -167
  942. package/dist/esm/keyboard-controller-BaaVITYt.js.map +0 -1
  943. package/dist/esm/keyboard-ywgs5efA.js +0 -148
  944. package/dist/esm/keyboard-ywgs5efA.js.map +0 -1
  945. package/dist/esm/loader.js.map +0 -1
  946. package/dist/esm/lock-controller-B-hirT0v.js +0 -40
  947. package/dist/esm/lock-controller-B-hirT0v.js.map +0 -1
  948. package/dist/esm/md.transition-C27TkuUN.js +0 -61
  949. package/dist/esm/md.transition-C27TkuUN.js.map +0 -1
  950. package/dist/esm/notch-controller-PoOhjO4o.js +0 -155
  951. package/dist/esm/notch-controller-PoOhjO4o.js.map +0 -1
  952. package/dist/esm/overlays-C0FCUw57.js +0 -978
  953. package/dist/esm/overlays-C0FCUw57.js.map +0 -1
  954. package/dist/esm/spinner-configs-D4RIp70E.js +0 -147
  955. package/dist/esm/spinner-configs-D4RIp70E.js.map +0 -1
  956. package/dist/esm/status-tap-CJRF_zUX.js +0 -43
  957. package/dist/esm/status-tap-CJRF_zUX.js.map +0 -1
  958. package/dist/esm/swipe-back-Df75PJ2J.js +0 -81
  959. package/dist/esm/swipe-back-Df75PJ2J.js.map +0 -1
  960. package/dist/esm/theme-DiVJyqlX.js +0 -45
  961. package/dist/esm/theme-DiVJyqlX.js.map +0 -1
  962. package/dist/esm/watch-options-Dtdm8lKC.js +0 -49
  963. package/dist/esm/watch-options-Dtdm8lKC.js.map +0 -1
  964. package/dist/esm-es5/animation-CCtpQcsN.js +0 -5
  965. package/dist/esm-es5/animation-CCtpQcsN.js.map +0 -1
  966. package/dist/esm-es5/app-globals-mvMgGnyb.js +0 -5
  967. package/dist/esm-es5/app-globals-mvMgGnyb.js.map +0 -1
  968. package/dist/esm-es5/button-active-BGIwtZbO.js +0 -5
  969. package/dist/esm-es5/button-active-BGIwtZbO.js.map +0 -1
  970. package/dist/esm-es5/capacitor-CFERIeaU.js +0 -5
  971. package/dist/esm-es5/capacitor-CFERIeaU.js.map +0 -1
  972. package/dist/esm-es5/compare-with-utils-sObYyvOy.js +0 -5
  973. package/dist/esm-es5/compare-with-utils-sObYyvOy.js.map +0 -1
  974. package/dist/esm-es5/config-O8NobGs3.js +0 -5
  975. package/dist/esm-es5/config-O8NobGs3.js.map +0 -1
  976. package/dist/esm-es5/cubic-bezier-hHmYLOfE.js +0 -5
  977. package/dist/esm-es5/cubic-bezier-hHmYLOfE.js.map +0 -1
  978. package/dist/esm-es5/data-CXsdTFZ4.js +0 -5
  979. package/dist/esm-es5/data-CXsdTFZ4.js.map +0 -1
  980. package/dist/esm-es5/dir-C53feagD.js +0 -5
  981. package/dist/esm-es5/dir-C53feagD.js.map +0 -1
  982. package/dist/esm-es5/focus-visible-BmVRXR1y.js +0 -5
  983. package/dist/esm-es5/focus-visible-BmVRXR1y.js.map +0 -1
  984. package/dist/esm-es5/framework-delegate-D3CI7y6x.js +0 -5
  985. package/dist/esm-es5/framework-delegate-D3CI7y6x.js.map +0 -1
  986. package/dist/esm-es5/gesture-controller-BTEOs1at.js +0 -5
  987. package/dist/esm-es5/gesture-controller-BTEOs1at.js.map +0 -1
  988. package/dist/esm-es5/haptic-DzAMWJuk.js +0 -5
  989. package/dist/esm-es5/haptic-DzAMWJuk.js.map +0 -1
  990. package/dist/esm-es5/hardware-back-button-DYAtJcjg.js +0 -5
  991. package/dist/esm-es5/hardware-back-button-DYAtJcjg.js.map +0 -1
  992. package/dist/esm-es5/helpers-Di6ciXLG.js +0 -5
  993. package/dist/esm-es5/helpers-Di6ciXLG.js.map +0 -1
  994. package/dist/esm-es5/index-B2_fY2up.js +0 -5
  995. package/dist/esm-es5/index-B2_fY2up.js.map +0 -1
  996. package/dist/esm-es5/index-B2ahkcT2.js +0 -5
  997. package/dist/esm-es5/index-B2ahkcT2.js.map +0 -1
  998. package/dist/esm-es5/index-BE9TYO7t.js +0 -5
  999. package/dist/esm-es5/index-BE9TYO7t.js.map +0 -1
  1000. package/dist/esm-es5/index-BLV6ykCk.js +0 -5
  1001. package/dist/esm-es5/index-BLV6ykCk.js.map +0 -1
  1002. package/dist/esm-es5/index-Cc9Htq31.js +0 -6
  1003. package/dist/esm-es5/index-Cc9Htq31.js.map +0 -1
  1004. package/dist/esm-es5/index-CfgBF1SE.js +0 -5
  1005. package/dist/esm-es5/index-CfgBF1SE.js.map +0 -1
  1006. package/dist/esm-es5/index-QK2X-y7J.js +0 -5
  1007. package/dist/esm-es5/index-QK2X-y7J.js.map +0 -1
  1008. package/dist/esm-es5/index-SaRsSaAm.js +0 -5
  1009. package/dist/esm-es5/index-SaRsSaAm.js.map +0 -1
  1010. package/dist/esm-es5/index-ZjP4CjeZ.js +0 -5
  1011. package/dist/esm-es5/index-ZjP4CjeZ.js.map +0 -1
  1012. package/dist/esm-es5/index.js.map +0 -1
  1013. package/dist/esm-es5/input-shims-myMFvMoT.js +0 -5
  1014. package/dist/esm-es5/input-shims-myMFvMoT.js.map +0 -1
  1015. package/dist/esm-es5/input.utils-CK92hTP0.js +0 -5
  1016. package/dist/esm-es5/input.utils-CK92hTP0.js.map +0 -1
  1017. package/dist/esm-es5/ion-accordion_2.entry.js.map +0 -1
  1018. package/dist/esm-es5/ion-action-sheet.entry.js.map +0 -1
  1019. package/dist/esm-es5/ion-alert.entry.js.map +0 -1
  1020. package/dist/esm-es5/ion-app_8.entry.js.map +0 -1
  1021. package/dist/esm-es5/ion-avatar_3.entry.js.map +0 -1
  1022. package/dist/esm-es5/ion-back-button.entry.js.map +0 -1
  1023. package/dist/esm-es5/ion-backdrop.entry.js.map +0 -1
  1024. package/dist/esm-es5/ion-breadcrumb_2.entry.js.map +0 -1
  1025. package/dist/esm-es5/ion-button_2.entry.js.map +0 -1
  1026. package/dist/esm-es5/ion-card_5.entry.js.map +0 -1
  1027. package/dist/esm-es5/ion-checkbox.entry.js.map +0 -1
  1028. package/dist/esm-es5/ion-chip.entry.js.map +0 -1
  1029. package/dist/esm-es5/ion-col_3.entry.js.map +0 -1
  1030. package/dist/esm-es5/ion-datetime-button.entry.js.map +0 -1
  1031. package/dist/esm-es5/ion-datetime_3.entry.js.map +0 -1
  1032. package/dist/esm-es5/ion-fab_3.entry.js.map +0 -1
  1033. package/dist/esm-es5/ion-img.entry.js.map +0 -1
  1034. package/dist/esm-es5/ion-infinite-scroll_2.entry.js.map +0 -1
  1035. package/dist/esm-es5/ion-input-password-toggle.entry.js.map +0 -1
  1036. package/dist/esm-es5/ion-input.entry.js.map +0 -1
  1037. package/dist/esm-es5/ion-item-option_3.entry.js.map +0 -1
  1038. package/dist/esm-es5/ion-item_8.entry.js.map +0 -1
  1039. package/dist/esm-es5/ion-loading.entry.js.map +0 -1
  1040. package/dist/esm-es5/ion-menu_3.entry.js.map +0 -1
  1041. package/dist/esm-es5/ion-modal.entry.js.map +0 -1
  1042. package/dist/esm-es5/ion-nav_2.entry.js.map +0 -1
  1043. package/dist/esm-es5/ion-picker-column-option.entry.js.map +0 -1
  1044. package/dist/esm-es5/ion-picker-column.entry.js.map +0 -1
  1045. package/dist/esm-es5/ion-picker.entry.js.map +0 -1
  1046. package/dist/esm-es5/ion-popover.entry.js.map +0 -1
  1047. package/dist/esm-es5/ion-progress-bar.entry.js.map +0 -1
  1048. package/dist/esm-es5/ion-radio_2.entry.js.map +0 -1
  1049. package/dist/esm-es5/ion-range.entry.js.map +0 -1
  1050. package/dist/esm-es5/ion-refresher_2.entry.js.map +0 -1
  1051. package/dist/esm-es5/ion-reorder_2.entry.js.map +0 -1
  1052. package/dist/esm-es5/ion-ripple-effect.entry.js.map +0 -1
  1053. package/dist/esm-es5/ion-route_4.entry.js.map +0 -1
  1054. package/dist/esm-es5/ion-searchbar.entry.js.map +0 -1
  1055. package/dist/esm-es5/ion-segment-content.entry.js.map +0 -1
  1056. package/dist/esm-es5/ion-segment-view.entry.js.map +0 -1
  1057. package/dist/esm-es5/ion-segment_2.entry.js.map +0 -1
  1058. package/dist/esm-es5/ion-select-modal.entry.js.map +0 -1
  1059. package/dist/esm-es5/ion-select_3.entry.js.map +0 -1
  1060. package/dist/esm-es5/ion-spinner.entry.js.map +0 -1
  1061. package/dist/esm-es5/ion-split-pane.entry.js.map +0 -1
  1062. package/dist/esm-es5/ion-tab-bar_2.entry.js.map +0 -1
  1063. package/dist/esm-es5/ion-tab_2.entry.js.map +0 -1
  1064. package/dist/esm-es5/ion-text.entry.js.map +0 -1
  1065. package/dist/esm-es5/ion-textarea.entry.js.map +0 -1
  1066. package/dist/esm-es5/ion-toast.entry.js.map +0 -1
  1067. package/dist/esm-es5/ion-toggle.entry.js.map +0 -1
  1068. package/dist/esm-es5/ionic-global-BZ-M2eNj.js +0 -5
  1069. package/dist/esm-es5/ionic-global-BZ-M2eNj.js.map +0 -1
  1070. package/dist/esm-es5/ionic.js.map +0 -1
  1071. package/dist/esm-es5/ios.transition-7w4LW3L0.js +0 -5
  1072. package/dist/esm-es5/ios.transition-7w4LW3L0.js.map +0 -1
  1073. package/dist/esm-es5/keyboard-CUw4ekVy.js +0 -5
  1074. package/dist/esm-es5/keyboard-CUw4ekVy.js.map +0 -1
  1075. package/dist/esm-es5/keyboard-controller-BaaVITYt.js +0 -5
  1076. package/dist/esm-es5/keyboard-controller-BaaVITYt.js.map +0 -1
  1077. package/dist/esm-es5/keyboard-ywgs5efA.js +0 -5
  1078. package/dist/esm-es5/keyboard-ywgs5efA.js.map +0 -1
  1079. package/dist/esm-es5/loader.js.map +0 -1
  1080. package/dist/esm-es5/lock-controller-B-hirT0v.js +0 -5
  1081. package/dist/esm-es5/lock-controller-B-hirT0v.js.map +0 -1
  1082. package/dist/esm-es5/md.transition-C27TkuUN.js +0 -5
  1083. package/dist/esm-es5/md.transition-C27TkuUN.js.map +0 -1
  1084. package/dist/esm-es5/notch-controller-PoOhjO4o.js +0 -5
  1085. package/dist/esm-es5/notch-controller-PoOhjO4o.js.map +0 -1
  1086. package/dist/esm-es5/overlays-C0FCUw57.js +0 -5
  1087. package/dist/esm-es5/overlays-C0FCUw57.js.map +0 -1
  1088. package/dist/esm-es5/spinner-configs-D4RIp70E.js +0 -5
  1089. package/dist/esm-es5/spinner-configs-D4RIp70E.js.map +0 -1
  1090. package/dist/esm-es5/status-tap-CJRF_zUX.js +0 -5
  1091. package/dist/esm-es5/status-tap-CJRF_zUX.js.map +0 -1
  1092. package/dist/esm-es5/swipe-back-Df75PJ2J.js +0 -5
  1093. package/dist/esm-es5/swipe-back-Df75PJ2J.js.map +0 -1
  1094. package/dist/esm-es5/theme-DiVJyqlX.js +0 -5
  1095. package/dist/esm-es5/theme-DiVJyqlX.js.map +0 -1
  1096. package/dist/esm-es5/watch-options-Dtdm8lKC.js +0 -5
  1097. package/dist/esm-es5/watch-options-Dtdm8lKC.js.map +0 -1
  1098. package/dist/ionic/index.esm.js.map +0 -1
  1099. package/dist/ionic/ionic.esm.js.map +0 -1
  1100. package/dist/ionic/p-05a3099c.system.entry.js +0 -5
  1101. package/dist/ionic/p-05a3099c.system.entry.js.map +0 -1
  1102. package/dist/ionic/p-076b61da.system.entry.js +0 -5
  1103. package/dist/ionic/p-076b61da.system.entry.js.map +0 -1
  1104. package/dist/ionic/p-097d4410.entry.js +0 -5
  1105. package/dist/ionic/p-097d4410.entry.js.map +0 -1
  1106. package/dist/ionic/p-0bb52223.entry.js +0 -5
  1107. package/dist/ionic/p-0bb52223.entry.js.map +0 -1
  1108. package/dist/ionic/p-0eaa2370.system.entry.js +0 -5
  1109. package/dist/ionic/p-0eaa2370.system.entry.js.map +0 -1
  1110. package/dist/ionic/p-1240393c.entry.js +0 -5
  1111. package/dist/ionic/p-1240393c.entry.js.map +0 -1
  1112. package/dist/ionic/p-13a2fd39.entry.js +0 -5
  1113. package/dist/ionic/p-13a2fd39.entry.js.map +0 -1
  1114. package/dist/ionic/p-15106124.entry.js +0 -5
  1115. package/dist/ionic/p-15106124.entry.js.map +0 -1
  1116. package/dist/ionic/p-15f5a997.entry.js +0 -5
  1117. package/dist/ionic/p-15f5a997.entry.js.map +0 -1
  1118. package/dist/ionic/p-18fbc0d6.system.entry.js +0 -5
  1119. package/dist/ionic/p-18fbc0d6.system.entry.js.map +0 -1
  1120. package/dist/ionic/p-195dd942.entry.js +0 -5
  1121. package/dist/ionic/p-195dd942.entry.js.map +0 -1
  1122. package/dist/ionic/p-1b48c1cb.entry.js +0 -5
  1123. package/dist/ionic/p-1b48c1cb.entry.js.map +0 -1
  1124. package/dist/ionic/p-1e212780.entry.js +0 -5
  1125. package/dist/ionic/p-1e212780.entry.js.map +0 -1
  1126. package/dist/ionic/p-209a87e6.entry.js +0 -5
  1127. package/dist/ionic/p-209a87e6.entry.js.map +0 -1
  1128. package/dist/ionic/p-217e28a0.system.entry.js +0 -5
  1129. package/dist/ionic/p-217e28a0.system.entry.js.map +0 -1
  1130. package/dist/ionic/p-220d538c.system.entry.js +0 -5
  1131. package/dist/ionic/p-220d538c.system.entry.js.map +0 -1
  1132. package/dist/ionic/p-22c4e1e4.entry.js +0 -5
  1133. package/dist/ionic/p-22c4e1e4.entry.js.map +0 -1
  1134. package/dist/ionic/p-253b4cee.entry.js +0 -5
  1135. package/dist/ionic/p-253b4cee.entry.js.map +0 -1
  1136. package/dist/ionic/p-25df74f4.system.entry.js +0 -5
  1137. package/dist/ionic/p-25df74f4.system.entry.js.map +0 -1
  1138. package/dist/ionic/p-26388903.system.entry.js +0 -5
  1139. package/dist/ionic/p-26388903.system.entry.js.map +0 -1
  1140. package/dist/ionic/p-28f1d358.system.entry.js +0 -5
  1141. package/dist/ionic/p-28f1d358.system.entry.js.map +0 -1
  1142. package/dist/ionic/p-2b364ed3.system.entry.js +0 -5
  1143. package/dist/ionic/p-2b364ed3.system.entry.js.map +0 -1
  1144. package/dist/ionic/p-3008b9b0.entry.js +0 -5
  1145. package/dist/ionic/p-3008b9b0.entry.js.map +0 -1
  1146. package/dist/ionic/p-304393da.system.entry.js +0 -5
  1147. package/dist/ionic/p-304393da.system.entry.js.map +0 -1
  1148. package/dist/ionic/p-32993310.entry.js +0 -5
  1149. package/dist/ionic/p-32993310.entry.js.map +0 -1
  1150. package/dist/ionic/p-34d44043.system.entry.js +0 -5
  1151. package/dist/ionic/p-34d44043.system.entry.js.map +0 -1
  1152. package/dist/ionic/p-36bb3f96.entry.js +0 -5
  1153. package/dist/ionic/p-36bb3f96.entry.js.map +0 -1
  1154. package/dist/ionic/p-37dd54cb.entry.js +0 -5
  1155. package/dist/ionic/p-37dd54cb.entry.js.map +0 -1
  1156. package/dist/ionic/p-3c5f5dac.system.entry.js +0 -5
  1157. package/dist/ionic/p-3c5f5dac.system.entry.js.map +0 -1
  1158. package/dist/ionic/p-3e9e13b7.system.entry.js +0 -5
  1159. package/dist/ionic/p-3e9e13b7.system.entry.js.map +0 -1
  1160. package/dist/ionic/p-3fa179b6.system.entry.js +0 -5
  1161. package/dist/ionic/p-3fa179b6.system.entry.js.map +0 -1
  1162. package/dist/ionic/p-492a9680.entry.js +0 -5
  1163. package/dist/ionic/p-492a9680.entry.js.map +0 -1
  1164. package/dist/ionic/p-4b47611b.system.entry.js +0 -5
  1165. package/dist/ionic/p-4b47611b.system.entry.js.map +0 -1
  1166. package/dist/ionic/p-4c62c345.system.entry.js +0 -5
  1167. package/dist/ionic/p-4c62c345.system.entry.js.map +0 -1
  1168. package/dist/ionic/p-4e2e1bef.entry.js +0 -5
  1169. package/dist/ionic/p-4e2e1bef.entry.js.map +0 -1
  1170. package/dist/ionic/p-51f9f340.entry.js +0 -5
  1171. package/dist/ionic/p-51f9f340.entry.js.map +0 -1
  1172. package/dist/ionic/p-59cbf775.system.entry.js +0 -5
  1173. package/dist/ionic/p-59cbf775.system.entry.js.map +0 -1
  1174. package/dist/ionic/p-5b1dd24c.entry.js +0 -5
  1175. package/dist/ionic/p-5b1dd24c.entry.js.map +0 -1
  1176. package/dist/ionic/p-5cdc6850.entry.js +0 -5
  1177. package/dist/ionic/p-5cdc6850.entry.js.map +0 -1
  1178. package/dist/ionic/p-614e4cb0.system.entry.js +0 -5
  1179. package/dist/ionic/p-614e4cb0.system.entry.js.map +0 -1
  1180. package/dist/ionic/p-6260a492.system.entry.js +0 -5
  1181. package/dist/ionic/p-6260a492.system.entry.js.map +0 -1
  1182. package/dist/ionic/p-63fad0bd.entry.js +0 -5
  1183. package/dist/ionic/p-63fad0bd.entry.js.map +0 -1
  1184. package/dist/ionic/p-65bc8f8d.system.entry.js +0 -5
  1185. package/dist/ionic/p-65bc8f8d.system.entry.js.map +0 -1
  1186. package/dist/ionic/p-66d57e56.entry.js +0 -5
  1187. package/dist/ionic/p-66d57e56.entry.js.map +0 -1
  1188. package/dist/ionic/p-67424bcb.entry.js +0 -5
  1189. package/dist/ionic/p-67424bcb.entry.js.map +0 -1
  1190. package/dist/ionic/p-67861fe6.entry.js +0 -5
  1191. package/dist/ionic/p-67861fe6.entry.js.map +0 -1
  1192. package/dist/ionic/p-68eac4c8.system.entry.js +0 -5
  1193. package/dist/ionic/p-68eac4c8.system.entry.js.map +0 -1
  1194. package/dist/ionic/p-694b3f89.entry.js +0 -5
  1195. package/dist/ionic/p-694b3f89.entry.js.map +0 -1
  1196. package/dist/ionic/p-6c11dd02.system.entry.js +0 -5
  1197. package/dist/ionic/p-6c11dd02.system.entry.js.map +0 -1
  1198. package/dist/ionic/p-6f3a81d8.entry.js +0 -5
  1199. package/dist/ionic/p-6f3a81d8.entry.js.map +0 -1
  1200. package/dist/ionic/p-70dcdcd5.system.entry.js +0 -5
  1201. package/dist/ionic/p-70dcdcd5.system.entry.js.map +0 -1
  1202. package/dist/ionic/p-721edb9c.entry.js +0 -5
  1203. package/dist/ionic/p-721edb9c.entry.js.map +0 -1
  1204. package/dist/ionic/p-74b4e445.entry.js +0 -5
  1205. package/dist/ionic/p-74b4e445.entry.js.map +0 -1
  1206. package/dist/ionic/p-790cf885.entry.js +0 -5
  1207. package/dist/ionic/p-790cf885.entry.js.map +0 -1
  1208. package/dist/ionic/p-7LxRb2nZ.system.js +0 -5
  1209. package/dist/ionic/p-7LxRb2nZ.system.js.map +0 -1
  1210. package/dist/ionic/p-7bd06fc1.system.entry.js +0 -5
  1211. package/dist/ionic/p-7bd06fc1.system.entry.js.map +0 -1
  1212. package/dist/ionic/p-7z5eYrr7.system.js +0 -5
  1213. package/dist/ionic/p-7z5eYrr7.system.js.map +0 -1
  1214. package/dist/ionic/p-8027a9ea.entry.js +0 -5
  1215. package/dist/ionic/p-8027a9ea.entry.js.map +0 -1
  1216. package/dist/ionic/p-8184b4b8.system.entry.js +0 -5
  1217. package/dist/ionic/p-8184b4b8.system.entry.js.map +0 -1
  1218. package/dist/ionic/p-83ed1331.system.entry.js +0 -5
  1219. package/dist/ionic/p-83ed1331.system.entry.js.map +0 -1
  1220. package/dist/ionic/p-85788005.system.entry.js +0 -5
  1221. package/dist/ionic/p-85788005.system.entry.js.map +0 -1
  1222. package/dist/ionic/p-8787122f.entry.js +0 -5
  1223. package/dist/ionic/p-8787122f.entry.js.map +0 -1
  1224. package/dist/ionic/p-88b8d143.entry.js +0 -5
  1225. package/dist/ionic/p-88b8d143.entry.js.map +0 -1
  1226. package/dist/ionic/p-88eb2da7.entry.js +0 -5
  1227. package/dist/ionic/p-88eb2da7.entry.js.map +0 -1
  1228. package/dist/ionic/p-8bbda108.entry.js +0 -5
  1229. package/dist/ionic/p-8bbda108.entry.js.map +0 -1
  1230. package/dist/ionic/p-8ddc0a11.system.entry.js +0 -5
  1231. package/dist/ionic/p-8ddc0a11.system.entry.js.map +0 -1
  1232. package/dist/ionic/p-8zm_sYc_.js +0 -5
  1233. package/dist/ionic/p-8zm_sYc_.js.map +0 -1
  1234. package/dist/ionic/p-911c5acd.entry.js +0 -5
  1235. package/dist/ionic/p-911c5acd.entry.js.map +0 -1
  1236. package/dist/ionic/p-918b8085.system.entry.js +0 -5
  1237. package/dist/ionic/p-918b8085.system.entry.js.map +0 -1
  1238. package/dist/ionic/p-973bd90e.system.entry.js +0 -5
  1239. package/dist/ionic/p-973bd90e.system.entry.js.map +0 -1
  1240. package/dist/ionic/p-98de7e89.entry.js +0 -5
  1241. package/dist/ionic/p-98de7e89.entry.js.map +0 -1
  1242. package/dist/ionic/p-9a12264c.system.entry.js +0 -5
  1243. package/dist/ionic/p-9a12264c.system.entry.js.map +0 -1
  1244. package/dist/ionic/p-9c2c8b84.system.entry.js +0 -5
  1245. package/dist/ionic/p-9c2c8b84.system.entry.js.map +0 -1
  1246. package/dist/ionic/p-9e4b846d.entry.js +0 -5
  1247. package/dist/ionic/p-9e4b846d.entry.js.map +0 -1
  1248. package/dist/ionic/p-9eeaBrnk.js +0 -5
  1249. package/dist/ionic/p-9eeaBrnk.js.map +0 -1
  1250. package/dist/ionic/p-AbZe5ATJ.js +0 -5
  1251. package/dist/ionic/p-AbZe5ATJ.js.map +0 -1
  1252. package/dist/ionic/p-B-hirT0v.js +0 -5
  1253. package/dist/ionic/p-B-hirT0v.js.map +0 -1
  1254. package/dist/ionic/p-B1d-helW.js +0 -5
  1255. package/dist/ionic/p-B1d-helW.js.map +0 -1
  1256. package/dist/ionic/p-B1mvznMx.js +0 -5
  1257. package/dist/ionic/p-B1mvznMx.js.map +0 -1
  1258. package/dist/ionic/p-B7eqieuo.system.js +0 -5
  1259. package/dist/ionic/p-B7eqieuo.system.js.map +0 -1
  1260. package/dist/ionic/p-BAMtAY0P.system.js +0 -5
  1261. package/dist/ionic/p-BAMtAY0P.system.js.map +0 -1
  1262. package/dist/ionic/p-BBLk8QDl.system.js +0 -5
  1263. package/dist/ionic/p-BBLk8QDl.system.js.map +0 -1
  1264. package/dist/ionic/p-BBmUb2In.js +0 -5
  1265. package/dist/ionic/p-BBmUb2In.js.map +0 -1
  1266. package/dist/ionic/p-BFXA-Hxg.system.js +0 -5
  1267. package/dist/ionic/p-BFXA-Hxg.system.js.map +0 -1
  1268. package/dist/ionic/p-BGuRtoFl.system.js +0 -5
  1269. package/dist/ionic/p-BGuRtoFl.system.js.map +0 -1
  1270. package/dist/ionic/p-BHlHoqeh.system.js +0 -5
  1271. package/dist/ionic/p-BHlHoqeh.system.js.map +0 -1
  1272. package/dist/ionic/p-BLV6ykCk.js +0 -5
  1273. package/dist/ionic/p-BLV6ykCk.js.map +0 -1
  1274. package/dist/ionic/p-BMs3P-M9.system.js +0 -5
  1275. package/dist/ionic/p-BMs3P-M9.system.js.map +0 -1
  1276. package/dist/ionic/p-BPbGiOI9.js +0 -5
  1277. package/dist/ionic/p-BPbGiOI9.js.map +0 -1
  1278. package/dist/ionic/p-BTEOs1at.js +0 -5
  1279. package/dist/ionic/p-BTEOs1at.js.map +0 -1
  1280. package/dist/ionic/p-BVSMiOTx.system.js +0 -5
  1281. package/dist/ionic/p-BVSMiOTx.system.js.map +0 -1
  1282. package/dist/ionic/p-BWFtOGHe.system.js +0 -5
  1283. package/dist/ionic/p-BWFtOGHe.system.js.map +0 -1
  1284. package/dist/ionic/p-BWiZVo-l.system.js +0 -5
  1285. package/dist/ionic/p-BWiZVo-l.system.js.map +0 -1
  1286. package/dist/ionic/p-BZlxZEfJ.system.js +0 -5
  1287. package/dist/ionic/p-BZlxZEfJ.system.js.map +0 -1
  1288. package/dist/ionic/p-Bb33Ov_A.system.js +0 -5
  1289. package/dist/ionic/p-Bb33Ov_A.system.js.map +0 -1
  1290. package/dist/ionic/p-BbfxH_ru.system.js +0 -5
  1291. package/dist/ionic/p-BbfxH_ru.system.js.map +0 -1
  1292. package/dist/ionic/p-BfqP6WxV.system.js +0 -5
  1293. package/dist/ionic/p-BfqP6WxV.system.js.map +0 -1
  1294. package/dist/ionic/p-BmVRXR1y.js +0 -5
  1295. package/dist/ionic/p-BmVRXR1y.js.map +0 -1
  1296. package/dist/ionic/p-BxB3ntn1.system.js +0 -5
  1297. package/dist/ionic/p-BxB3ntn1.system.js.map +0 -1
  1298. package/dist/ionic/p-C-Opfdwf.system.js +0 -5
  1299. package/dist/ionic/p-C-Opfdwf.system.js.map +0 -1
  1300. package/dist/ionic/p-C3JqI6eW.js +0 -5
  1301. package/dist/ionic/p-C3JqI6eW.js.map +0 -1
  1302. package/dist/ionic/p-C53feagD.js +0 -5
  1303. package/dist/ionic/p-C53feagD.js.map +0 -1
  1304. package/dist/ionic/p-C9EuRbG9.js +0 -5
  1305. package/dist/ionic/p-C9EuRbG9.js.map +0 -1
  1306. package/dist/ionic/p-C9MkdezR.js +0 -5
  1307. package/dist/ionic/p-C9MkdezR.js.map +0 -1
  1308. package/dist/ionic/p-CC-uhJ42.system.js +0 -5
  1309. package/dist/ionic/p-CC-uhJ42.system.js.map +0 -1
  1310. package/dist/ionic/p-CCYZ4hlj.system.js +0 -5
  1311. package/dist/ionic/p-CCYZ4hlj.system.js.map +0 -1
  1312. package/dist/ionic/p-CIGNaXM1.js +0 -5
  1313. package/dist/ionic/p-CIGNaXM1.js.map +0 -1
  1314. package/dist/ionic/p-CKvCXMs9.js +0 -5
  1315. package/dist/ionic/p-CKvCXMs9.js.map +0 -1
  1316. package/dist/ionic/p-CPgyqDXW.js +0 -5
  1317. package/dist/ionic/p-CPgyqDXW.js.map +0 -1
  1318. package/dist/ionic/p-CWFX4Acm.system.js +0 -5
  1319. package/dist/ionic/p-CWFX4Acm.system.js.map +0 -1
  1320. package/dist/ionic/p-Cc9Htq31.js +0 -6
  1321. package/dist/ionic/p-Cc9Htq31.js.map +0 -1
  1322. package/dist/ionic/p-Cf0H-Rfm.system.js +0 -5
  1323. package/dist/ionic/p-Cf0H-Rfm.system.js.map +0 -1
  1324. package/dist/ionic/p-CjlBw6Qn.system.js +0 -5
  1325. package/dist/ionic/p-CjlBw6Qn.system.js.map +0 -1
  1326. package/dist/ionic/p-Cl0B-RWe.js +0 -5
  1327. package/dist/ionic/p-Cl0B-RWe.js.map +0 -1
  1328. package/dist/ionic/p-CnZM8bgc.system.js +0 -5
  1329. package/dist/ionic/p-CnZM8bgc.system.js.map +0 -1
  1330. package/dist/ionic/p-CtWGkNnJ.js +0 -5
  1331. package/dist/ionic/p-CtWGkNnJ.js.map +0 -1
  1332. package/dist/ionic/p-CuZwClDg.system.js +0 -5
  1333. package/dist/ionic/p-CuZwClDg.system.js.map +0 -1
  1334. package/dist/ionic/p-Cz_urMS6.system.js +0 -5
  1335. package/dist/ionic/p-Cz_urMS6.system.js.map +0 -1
  1336. package/dist/ionic/p-D-eENZh3.system.js +0 -5
  1337. package/dist/ionic/p-D-eENZh3.system.js.map +0 -1
  1338. package/dist/ionic/p-D13Eaw-8.js +0 -5
  1339. package/dist/ionic/p-D13Eaw-8.js.map +0 -1
  1340. package/dist/ionic/p-D2AxdxHX.system.js +0 -5
  1341. package/dist/ionic/p-D2AxdxHX.system.js.map +0 -1
  1342. package/dist/ionic/p-D4RIp70E.js +0 -5
  1343. package/dist/ionic/p-D4RIp70E.js.map +0 -1
  1344. package/dist/ionic/p-DDJ7IAwc.js +0 -5
  1345. package/dist/ionic/p-DDJ7IAwc.js.map +0 -1
  1346. package/dist/ionic/p-DFllLYu2.js +0 -5
  1347. package/dist/ionic/p-DFllLYu2.js.map +0 -1
  1348. package/dist/ionic/p-DQ1g7RTn.system.js +0 -5
  1349. package/dist/ionic/p-DQ1g7RTn.system.js.map +0 -1
  1350. package/dist/ionic/p-DXttbO-6.system.js +0 -5
  1351. package/dist/ionic/p-DXttbO-6.system.js.map +0 -1
  1352. package/dist/ionic/p-Db6Nde6_.js +0 -5
  1353. package/dist/ionic/p-Db6Nde6_.js.map +0 -1
  1354. package/dist/ionic/p-Dh6_O6_o.system.js +0 -6
  1355. package/dist/ionic/p-Dh6_O6_o.system.js.map +0 -1
  1356. package/dist/ionic/p-Di6ciXLG.js +0 -5
  1357. package/dist/ionic/p-Di6ciXLG.js.map +0 -1
  1358. package/dist/ionic/p-DiVJyqlX.js +0 -5
  1359. package/dist/ionic/p-DiVJyqlX.js.map +0 -1
  1360. package/dist/ionic/p-DnWYv2Qa.system.js +0 -5
  1361. package/dist/ionic/p-DnWYv2Qa.system.js.map +0 -1
  1362. package/dist/ionic/p-DtGhViNX.system.js +0 -5
  1363. package/dist/ionic/p-DtGhViNX.system.js.map +0 -1
  1364. package/dist/ionic/p-Dtdm8lKC.js +0 -5
  1365. package/dist/ionic/p-Dtdm8lKC.js.map +0 -1
  1366. package/dist/ionic/p-DtkNiwdD.js +0 -5
  1367. package/dist/ionic/p-DtkNiwdD.js.map +0 -1
  1368. package/dist/ionic/p-DurtgB0f.system.js +0 -5
  1369. package/dist/ionic/p-DurtgB0f.system.js.map +0 -1
  1370. package/dist/ionic/p-Dz4FmPPd.js +0 -5
  1371. package/dist/ionic/p-Dz4FmPPd.js.map +0 -1
  1372. package/dist/ionic/p-KHUBMTOd.js +0 -5
  1373. package/dist/ionic/p-KHUBMTOd.js.map +0 -1
  1374. package/dist/ionic/p-NcfQY1pE.system.js +0 -5
  1375. package/dist/ionic/p-NcfQY1pE.system.js.map +0 -1
  1376. package/dist/ionic/p-O8NobGs3.js +0 -5
  1377. package/dist/ionic/p-O8NobGs3.js.map +0 -1
  1378. package/dist/ionic/p-WlL9g3tr.system.js +0 -5
  1379. package/dist/ionic/p-WlL9g3tr.system.js.map +0 -1
  1380. package/dist/ionic/p-ZjP4CjeZ.js +0 -5
  1381. package/dist/ionic/p-ZjP4CjeZ.js.map +0 -1
  1382. package/dist/ionic/p-a4aa70c0.system.entry.js +0 -5
  1383. package/dist/ionic/p-a4aa70c0.system.entry.js.map +0 -1
  1384. package/dist/ionic/p-a732567b.system.entry.js +0 -5
  1385. package/dist/ionic/p-a732567b.system.entry.js.map +0 -1
  1386. package/dist/ionic/p-ac74a12f.system.entry.js +0 -5
  1387. package/dist/ionic/p-ac74a12f.system.entry.js.map +0 -1
  1388. package/dist/ionic/p-ae11743e.entry.js +0 -5
  1389. package/dist/ionic/p-ae11743e.entry.js.map +0 -1
  1390. package/dist/ionic/p-af69e2ae.system.entry.js +0 -5
  1391. package/dist/ionic/p-af69e2ae.system.entry.js.map +0 -1
  1392. package/dist/ionic/p-b2c0de10.entry.js +0 -5
  1393. package/dist/ionic/p-b2c0de10.entry.js.map +0 -1
  1394. package/dist/ionic/p-b6f67a9b.system.entry.js +0 -5
  1395. package/dist/ionic/p-b6f67a9b.system.entry.js.map +0 -1
  1396. package/dist/ionic/p-b977760a.system.entry.js +0 -5
  1397. package/dist/ionic/p-b977760a.system.entry.js.map +0 -1
  1398. package/dist/ionic/p-bad3c4dd.entry.js +0 -5
  1399. package/dist/ionic/p-bad3c4dd.entry.js.map +0 -1
  1400. package/dist/ionic/p-bb5c64d7.entry.js +0 -5
  1401. package/dist/ionic/p-bb5c64d7.entry.js.map +0 -1
  1402. package/dist/ionic/p-bdee1bcb.system.entry.js +0 -5
  1403. package/dist/ionic/p-bdee1bcb.system.entry.js.map +0 -1
  1404. package/dist/ionic/p-bylqFeEq.system.js +0 -5
  1405. package/dist/ionic/p-bylqFeEq.system.js.map +0 -1
  1406. package/dist/ionic/p-c6d87b38.system.entry.js +0 -5
  1407. package/dist/ionic/p-c6d87b38.system.entry.js.map +0 -1
  1408. package/dist/ionic/p-cf45c5a6.system.entry.js +0 -5
  1409. package/dist/ionic/p-cf45c5a6.system.entry.js.map +0 -1
  1410. package/dist/ionic/p-d07058b1.system.entry.js +0 -5
  1411. package/dist/ionic/p-d07058b1.system.entry.js.map +0 -1
  1412. package/dist/ionic/p-d8ecf2c0.system.entry.js +0 -5
  1413. package/dist/ionic/p-d8ecf2c0.system.entry.js.map +0 -1
  1414. package/dist/ionic/p-da343d8e.system.entry.js +0 -5
  1415. package/dist/ionic/p-da343d8e.system.entry.js.map +0 -1
  1416. package/dist/ionic/p-db6ecb5f.system.entry.js +0 -5
  1417. package/dist/ionic/p-db6ecb5f.system.entry.js.map +0 -1
  1418. package/dist/ionic/p-dc916fe0.entry.js +0 -5
  1419. package/dist/ionic/p-dc916fe0.entry.js.map +0 -1
  1420. package/dist/ionic/p-debaa8a7.entry.js +0 -5
  1421. package/dist/ionic/p-debaa8a7.entry.js.map +0 -1
  1422. package/dist/ionic/p-e205a82c.entry.js +0 -5
  1423. package/dist/ionic/p-e205a82c.entry.js.map +0 -1
  1424. package/dist/ionic/p-e3d2af2e.system.entry.js +0 -5
  1425. package/dist/ionic/p-e3d2af2e.system.entry.js.map +0 -1
  1426. package/dist/ionic/p-e71d2bd8.entry.js +0 -5
  1427. package/dist/ionic/p-e71d2bd8.entry.js.map +0 -1
  1428. package/dist/ionic/p-e83a4a75.entry.js +0 -5
  1429. package/dist/ionic/p-e83a4a75.entry.js.map +0 -1
  1430. package/dist/ionic/p-e9f86567.entry.js +0 -5
  1431. package/dist/ionic/p-e9f86567.entry.js.map +0 -1
  1432. package/dist/ionic/p-ecae5e76.entry.js +0 -5
  1433. package/dist/ionic/p-ecae5e76.entry.js.map +0 -1
  1434. package/dist/ionic/p-edbe6860.system.entry.js +0 -5
  1435. package/dist/ionic/p-edbe6860.system.entry.js.map +0 -1
  1436. package/dist/ionic/p-ee79350c.system.entry.js +0 -5
  1437. package/dist/ionic/p-ee79350c.system.entry.js.map +0 -1
  1438. package/dist/ionic/p-f04f31f7.entry.js +0 -5
  1439. package/dist/ionic/p-f04f31f7.entry.js.map +0 -1
  1440. package/dist/ionic/p-f4c6f774.entry.js +0 -5
  1441. package/dist/ionic/p-f4c6f774.entry.js.map +0 -1
  1442. package/dist/ionic/p-fd0c3051.system.entry.js +0 -5
  1443. package/dist/ionic/p-fd0c3051.system.entry.js.map +0 -1
  1444. package/dist/ionic/p-fda82be3.system.entry.js +0 -5
  1445. package/dist/ionic/p-fda82be3.system.entry.js.map +0 -1
  1446. package/dist/ionic/p-hHmYLOfE.js +0 -5
  1447. package/dist/ionic/p-hHmYLOfE.js.map +0 -1
  1448. package/dist/ionic/p-i-MoJL8t.js +0 -5
  1449. package/dist/ionic/p-i-MoJL8t.js.map +0 -1
  1450. package/dist/ionic/p-iwj8I_QI.system.js +0 -5
  1451. package/dist/ionic/p-iwj8I_QI.system.js.map +0 -1
  1452. package/dist/ionic/p-j6ijHBY4.system.js +0 -5
  1453. package/dist/ionic/p-j6ijHBY4.system.js.map +0 -1
  1454. package/dist/ionic/p-mxKP5hf-.js +0 -5
  1455. package/dist/ionic/p-mxKP5hf-.js.map +0 -1
  1456. package/dist/ionic/p-npo0Kaue.system.js +0 -5
  1457. package/dist/ionic/p-npo0Kaue.system.js.map +0 -1
  1458. package/dist/ionic/p-pKAMPW5w.system.js +0 -5
  1459. package/dist/ionic/p-pKAMPW5w.system.js.map +0 -1
  1460. package/dist/ionic/p-s1QLwK0n.system.js +0 -5
  1461. package/dist/ionic/p-s1QLwK0n.system.js.map +0 -1
  1462. package/dist/ionic/p-sObYyvOy.js +0 -5
  1463. package/dist/ionic/p-sObYyvOy.js.map +0 -1
  1464. package/dist/ionic/p-umtghMQY.js +0 -5
  1465. package/dist/ionic/p-umtghMQY.js.map +0 -1
  1466. package/dist/ionic/p-yluxF5qo.js +0 -5
  1467. package/dist/ionic/p-yluxF5qo.js.map +0 -1
@@ -1,1657 +0,0 @@
1
- /*!
2
- * (C) Ionic http://ionicframework.com - MIT License
3
- */
4
- 'use strict';
5
-
6
- var index = require('./index-D8uhsOnz.js');
7
-
8
- /**
9
- * Returns true if the selected day is equal to the reference day
10
- */
11
- const isSameDay = (baseParts, compareParts) => {
12
- return (baseParts.month === compareParts.month && baseParts.day === compareParts.day && baseParts.year === compareParts.year);
13
- };
14
- /**
15
- * Returns true is the selected day is before the reference day.
16
- */
17
- const isBefore = (baseParts, compareParts) => {
18
- return !!(baseParts.year < compareParts.year ||
19
- (baseParts.year === compareParts.year && baseParts.month < compareParts.month) ||
20
- (baseParts.year === compareParts.year &&
21
- baseParts.month === compareParts.month &&
22
- baseParts.day !== null &&
23
- baseParts.day < compareParts.day));
24
- };
25
- /**
26
- * Returns true is the selected day is after the reference day.
27
- */
28
- const isAfter = (baseParts, compareParts) => {
29
- return !!(baseParts.year > compareParts.year ||
30
- (baseParts.year === compareParts.year && baseParts.month > compareParts.month) ||
31
- (baseParts.year === compareParts.year &&
32
- baseParts.month === compareParts.month &&
33
- baseParts.day !== null &&
34
- baseParts.day > compareParts.day));
35
- };
36
- const warnIfValueOutOfBounds = (value, min, max) => {
37
- const valueArray = Array.isArray(value) ? value : [value];
38
- for (const val of valueArray) {
39
- if ((min !== undefined && isBefore(val, min)) || (max !== undefined && isAfter(val, max))) {
40
- index.printIonWarning('The value provided to ion-datetime is out of bounds.\n\n' +
41
- `Min: ${JSON.stringify(min)}\n` +
42
- `Max: ${JSON.stringify(max)}\n` +
43
- `Value: ${JSON.stringify(value)}`);
44
- break;
45
- }
46
- }
47
- };
48
-
49
- /**
50
- * Determines if given year is a
51
- * leap year. Returns `true` if year
52
- * is a leap year. Returns `false`
53
- * otherwise.
54
- */
55
- const isLeapYear = (year) => {
56
- return (year % 4 === 0 && year % 100 !== 0) || year % 400 === 0;
57
- };
58
- /**
59
- * Determines the hour cycle for a user.
60
- * If the hour cycle is explicitly defined, just use that.
61
- * Otherwise, we try to derive it from either the specified
62
- * locale extension tags or from Intl.DateTimeFormat directly.
63
- */
64
- const getHourCycle = (locale, hourCycle) => {
65
- /**
66
- * If developer has explicitly enabled 24-hour time
67
- * then return early and do not look at the system default.
68
- */
69
- if (hourCycle !== undefined) {
70
- return hourCycle;
71
- }
72
- /**
73
- * If hourCycle was not specified, check the locale
74
- * that is set on the user's device. We first check the
75
- * Intl.DateTimeFormat hourCycle option as developers can encode this
76
- * option into the locale string. Example: `en-US-u-hc-h23`
77
- */
78
- const formatted = new Intl.DateTimeFormat(locale, { hour: 'numeric' });
79
- const options = formatted.resolvedOptions();
80
- if (options.hourCycle !== undefined) {
81
- return options.hourCycle;
82
- }
83
- /**
84
- * If hourCycle is not specified (either through lack
85
- * of browser support or locale information) then fall
86
- * back to this slower hourCycle check.
87
- */
88
- const date = new Date('5/18/2021 00:00');
89
- const parts = formatted.formatToParts(date);
90
- const hour = parts.find((p) => p.type === 'hour');
91
- if (!hour) {
92
- throw new Error('Hour value not found from DateTimeFormat');
93
- }
94
- /**
95
- * Midnight for h11 starts at 0:00am
96
- * Midnight for h12 starts at 12:00am
97
- * Midnight for h23 starts at 00:00
98
- * Midnight for h24 starts at 24:00
99
- */
100
- switch (hour.value) {
101
- case '0':
102
- return 'h11';
103
- case '12':
104
- return 'h12';
105
- case '00':
106
- return 'h23';
107
- case '24':
108
- return 'h24';
109
- default:
110
- throw new Error(`Invalid hour cycle "${hourCycle}"`);
111
- }
112
- };
113
- /**
114
- * Determine if the hour cycle uses a 24-hour format.
115
- * Returns true for h23 and h24. Returns false otherwise.
116
- * If you don't know the hourCycle, use getHourCycle above
117
- * and pass the result into this function.
118
- */
119
- const is24Hour = (hourCycle) => {
120
- return hourCycle === 'h23' || hourCycle === 'h24';
121
- };
122
- /**
123
- * Given a date object, returns the number
124
- * of days in that month.
125
- * Month value begin at 1, not 0.
126
- * i.e. January = month 1.
127
- */
128
- const getNumDaysInMonth = (month, year) => {
129
- return month === 4 || month === 6 || month === 9 || month === 11
130
- ? 30
131
- : month === 2
132
- ? isLeapYear(year)
133
- ? 29
134
- : 28
135
- : 31;
136
- };
137
- /**
138
- * Certain locales display month then year while
139
- * others display year then month.
140
- * We can use Intl.DateTimeFormat to determine
141
- * the ordering for each locale.
142
- * The formatOptions param can be used to customize
143
- * which pieces of a date to compare against the month
144
- * with. For example, some locales render dd/mm/yyyy
145
- * while others render mm/dd/yyyy. This function can be
146
- * used for variations of the same "month first" check.
147
- */
148
- const isMonthFirstLocale = (locale, formatOptions = {
149
- month: 'numeric',
150
- year: 'numeric',
151
- }) => {
152
- /**
153
- * By setting month and year we guarantee that only
154
- * month, year, and literal (slashes '/', for example)
155
- * values are included in the formatToParts results.
156
- *
157
- * The ordering of the parts will be determined by
158
- * the locale. So if the month is the first value,
159
- * then we know month should be shown first. If the
160
- * year is the first value, then we know year should be shown first.
161
- *
162
- * This ordering can be controlled by customizing the locale property.
163
- */
164
- const parts = new Intl.DateTimeFormat(locale, formatOptions).formatToParts(new Date());
165
- return parts[0].type === 'month';
166
- };
167
- /**
168
- * Determines if the given locale formats the day period (am/pm) to the
169
- * left or right of the hour.
170
- * @param locale The locale to check.
171
- * @returns `true` if the locale formats the day period to the left of the hour.
172
- */
173
- const isLocaleDayPeriodRTL = (locale) => {
174
- const parts = new Intl.DateTimeFormat(locale, { hour: 'numeric' }).formatToParts(new Date());
175
- return parts[0].type === 'dayPeriod';
176
- };
177
-
178
- const ISO_8601_REGEXP =
179
- // eslint-disable-next-line no-useless-escape
180
- /^(\d{4}|[+\-]\d{6})(?:-(\d{2})(?:-(\d{2}))?)?(?:T(\d{2}):(\d{2})(?::(\d{2})(?:\.(\d{3}))?)?(?:(Z)|([+\-])(\d{2})(?::(\d{2}))?)?)?$/;
181
- // eslint-disable-next-line no-useless-escape
182
- const TIME_REGEXP = /^((\d{2}):(\d{2})(?::(\d{2})(?:\.(\d{3}))?)?(?:(Z)|([+\-])(\d{2})(?::(\d{2}))?)?)?$/;
183
- /**
184
- * Use to convert a string of comma separated numbers or
185
- * an array of numbers, and clean up any user input
186
- */
187
- const convertToArrayOfNumbers = (input) => {
188
- if (input === undefined) {
189
- return;
190
- }
191
- let processedInput = input;
192
- if (typeof input === 'string') {
193
- // convert the string to an array of strings
194
- // auto remove any whitespace and [] characters
195
- processedInput = input.replace(/\[|\]|\s/g, '').split(',');
196
- }
197
- let values;
198
- if (Array.isArray(processedInput)) {
199
- // ensure each value is an actual number in the returned array
200
- values = processedInput.map((num) => parseInt(num, 10)).filter(isFinite);
201
- }
202
- else {
203
- values = [processedInput];
204
- }
205
- return values;
206
- };
207
- /**
208
- * Extracts date information
209
- * from a .calendar-day element
210
- * into DatetimeParts.
211
- */
212
- const getPartsFromCalendarDay = (el) => {
213
- return {
214
- month: parseInt(el.getAttribute('data-month'), 10),
215
- day: parseInt(el.getAttribute('data-day'), 10),
216
- year: parseInt(el.getAttribute('data-year'), 10),
217
- dayOfWeek: parseInt(el.getAttribute('data-day-of-week'), 10),
218
- };
219
- };
220
- function parseDate(val) {
221
- if (Array.isArray(val)) {
222
- const parsedArray = [];
223
- for (const valStr of val) {
224
- const parsedVal = parseDate(valStr);
225
- /**
226
- * If any of the values weren't parsed correctly, consider
227
- * the entire batch incorrect. This simplifies the type
228
- * signatures by having "undefined" be a general error case
229
- * instead of returning (Datetime | undefined)[], which is
230
- * harder for TS to perform type narrowing on.
231
- */
232
- if (!parsedVal) {
233
- return undefined;
234
- }
235
- parsedArray.push(parsedVal);
236
- }
237
- return parsedArray;
238
- }
239
- // manually parse IS0 cuz Date.parse cannot be trusted
240
- // ISO 8601 format: 1994-12-15T13:47:20Z
241
- let parse = null;
242
- if (val != null && val !== '') {
243
- // try parsing for just time first, HH:MM
244
- parse = TIME_REGEXP.exec(val);
245
- if (parse) {
246
- // adjust the array so it fits nicely with the datetime parse
247
- parse.unshift(undefined, undefined);
248
- parse[2] = parse[3] = undefined;
249
- }
250
- else {
251
- // try parsing for full ISO datetime
252
- parse = ISO_8601_REGEXP.exec(val);
253
- }
254
- }
255
- if (parse === null) {
256
- // wasn't able to parse the ISO datetime
257
- index.printIonWarning(`Unable to parse date string: ${val}. Please provide a valid ISO 8601 datetime string.`);
258
- return undefined;
259
- }
260
- // ensure all the parse values exist with at least 0
261
- for (let i = 1; i < 8; i++) {
262
- parse[i] = parse[i] !== undefined ? parseInt(parse[i], 10) : undefined;
263
- }
264
- // can also get second and millisecond from parse[6] and parse[7] if needed
265
- return {
266
- year: parse[1],
267
- month: parse[2],
268
- day: parse[3],
269
- hour: parse[4],
270
- minute: parse[5],
271
- ampm: parse[4] < 12 ? 'am' : 'pm',
272
- };
273
- }
274
- const clampDate = (dateParts, minParts, maxParts) => {
275
- if (minParts && isBefore(dateParts, minParts)) {
276
- return minParts;
277
- }
278
- else if (maxParts && isAfter(dateParts, maxParts)) {
279
- return maxParts;
280
- }
281
- return dateParts;
282
- };
283
- /**
284
- * Parses an hour and returns if the value is in the morning (am) or afternoon (pm).
285
- * @param hour The hour to format, should be 0-23
286
- * @returns `pm` if the hour is greater than or equal to 12, `am` if less than 12.
287
- */
288
- const parseAmPm = (hour) => {
289
- return hour >= 12 ? 'pm' : 'am';
290
- };
291
- /**
292
- * Takes a max date string and creates a DatetimeParts
293
- * object, filling in any missing information.
294
- * For example, max="2012" would fill in the missing
295
- * month, day, hour, and minute information.
296
- */
297
- const parseMaxParts = (max, todayParts) => {
298
- const result = parseDate(max);
299
- /**
300
- * If min was not a valid date then return undefined.
301
- */
302
- if (result === undefined) {
303
- return;
304
- }
305
- const { month, day, year, hour, minute } = result;
306
- /**
307
- * When passing in `max` or `min`, developers
308
- * can pass in any ISO-8601 string. This means
309
- * that not all of the date/time fields are defined.
310
- * For example, passing max="2012" is valid even though
311
- * there is no month, day, hour, or minute data.
312
- * However, all of this data is required when clamping the date
313
- * so that the correct initial value can be selected. As a result,
314
- * we need to fill in any omitted data with the min or max values.
315
- */
316
- const yearValue = year !== null && year !== void 0 ? year : todayParts.year;
317
- const monthValue = month !== null && month !== void 0 ? month : 12;
318
- return {
319
- month: monthValue,
320
- day: day !== null && day !== void 0 ? day : getNumDaysInMonth(monthValue, yearValue),
321
- /**
322
- * Passing in "HH:mm" is a valid ISO-8601
323
- * string, so we just default to the current year
324
- * in this case.
325
- */
326
- year: yearValue,
327
- hour: hour !== null && hour !== void 0 ? hour : 23,
328
- minute: minute !== null && minute !== void 0 ? minute : 59,
329
- };
330
- };
331
- /**
332
- * Takes a min date string and creates a DatetimeParts
333
- * object, filling in any missing information.
334
- * For example, min="2012" would fill in the missing
335
- * month, day, hour, and minute information.
336
- */
337
- const parseMinParts = (min, todayParts) => {
338
- const result = parseDate(min);
339
- /**
340
- * If min was not a valid date then return undefined.
341
- */
342
- if (result === undefined) {
343
- return;
344
- }
345
- const { month, day, year, hour, minute } = result;
346
- /**
347
- * When passing in `max` or `min`, developers
348
- * can pass in any ISO-8601 string. This means
349
- * that not all of the date/time fields are defined.
350
- * For example, passing max="2012" is valid even though
351
- * there is no month, day, hour, or minute data.
352
- * However, all of this data is required when clamping the date
353
- * so that the correct initial value can be selected. As a result,
354
- * we need to fill in any omitted data with the min or max values.
355
- */
356
- return {
357
- month: month !== null && month !== void 0 ? month : 1,
358
- day: day !== null && day !== void 0 ? day : 1,
359
- /**
360
- * Passing in "HH:mm" is a valid ISO-8601
361
- * string, so we just default to the current year
362
- * in this case.
363
- */
364
- year: year !== null && year !== void 0 ? year : todayParts.year,
365
- hour: hour !== null && hour !== void 0 ? hour : 0,
366
- minute: minute !== null && minute !== void 0 ? minute : 0,
367
- };
368
- };
369
-
370
- const twoDigit = (val) => {
371
- return ('0' + (val !== undefined ? Math.abs(val) : '0')).slice(-2);
372
- };
373
- const fourDigit = (val) => {
374
- return ('000' + (val !== undefined ? Math.abs(val) : '0')).slice(-4);
375
- };
376
- function convertDataToISO(data) {
377
- if (Array.isArray(data)) {
378
- return data.map((parts) => convertDataToISO(parts));
379
- }
380
- // https://www.w3.org/TR/NOTE-datetime
381
- let rtn = '';
382
- if (data.year !== undefined) {
383
- // YYYY
384
- rtn = fourDigit(data.year);
385
- if (data.month !== undefined) {
386
- // YYYY-MM
387
- rtn += '-' + twoDigit(data.month);
388
- if (data.day !== undefined) {
389
- // YYYY-MM-DD
390
- rtn += '-' + twoDigit(data.day);
391
- if (data.hour !== undefined) {
392
- // YYYY-MM-DDTHH:mm:SS
393
- rtn += `T${twoDigit(data.hour)}:${twoDigit(data.minute)}:00`;
394
- }
395
- }
396
- }
397
- }
398
- else if (data.hour !== undefined) {
399
- // HH:mm
400
- rtn = twoDigit(data.hour) + ':' + twoDigit(data.minute);
401
- }
402
- return rtn;
403
- }
404
- /**
405
- * Converts an 12 hour value to 24 hours.
406
- */
407
- const convert12HourTo24Hour = (hour, ampm) => {
408
- if (ampm === undefined) {
409
- return hour;
410
- }
411
- /**
412
- * If AM and 12am
413
- * then return 00:00.
414
- * Otherwise just return
415
- * the hour since it is
416
- * already in 24 hour format.
417
- */
418
- if (ampm === 'am') {
419
- if (hour === 12) {
420
- return 0;
421
- }
422
- return hour;
423
- }
424
- /**
425
- * If PM and 12pm
426
- * just return 12:00
427
- * since it is already
428
- * in 24 hour format.
429
- * Otherwise add 12 hours
430
- * to the time.
431
- */
432
- if (hour === 12) {
433
- return 12;
434
- }
435
- return hour + 12;
436
- };
437
- const getStartOfWeek = (refParts) => {
438
- const { dayOfWeek } = refParts;
439
- if (dayOfWeek === null || dayOfWeek === undefined) {
440
- throw new Error('No day of week provided');
441
- }
442
- return subtractDays(refParts, dayOfWeek);
443
- };
444
- const getEndOfWeek = (refParts) => {
445
- const { dayOfWeek } = refParts;
446
- if (dayOfWeek === null || dayOfWeek === undefined) {
447
- throw new Error('No day of week provided');
448
- }
449
- return addDays(refParts, 6 - dayOfWeek);
450
- };
451
- const getNextDay = (refParts) => {
452
- return addDays(refParts, 1);
453
- };
454
- const getPreviousDay = (refParts) => {
455
- return subtractDays(refParts, 1);
456
- };
457
- const getPreviousWeek = (refParts) => {
458
- return subtractDays(refParts, 7);
459
- };
460
- const getNextWeek = (refParts) => {
461
- return addDays(refParts, 7);
462
- };
463
- /**
464
- * Given datetime parts, subtract
465
- * numDays from the date.
466
- * Returns a new DatetimeParts object
467
- * Currently can only go backward at most 1 month.
468
- */
469
- const subtractDays = (refParts, numDays) => {
470
- const { month, day, year } = refParts;
471
- if (day === null) {
472
- throw new Error('No day provided');
473
- }
474
- const workingParts = {
475
- month,
476
- day,
477
- year,
478
- };
479
- workingParts.day = day - numDays;
480
- /**
481
- * If wrapping to previous month
482
- * update days and decrement month
483
- */
484
- if (workingParts.day < 1) {
485
- workingParts.month -= 1;
486
- }
487
- /**
488
- * If moving to previous year, reset
489
- * month to December and decrement year
490
- */
491
- if (workingParts.month < 1) {
492
- workingParts.month = 12;
493
- workingParts.year -= 1;
494
- }
495
- /**
496
- * Determine how many days are in the current
497
- * month
498
- */
499
- if (workingParts.day < 1) {
500
- const daysInMonth = getNumDaysInMonth(workingParts.month, workingParts.year);
501
- /**
502
- * Take num days in month and add the
503
- * number of underflow days. This number will
504
- * be negative.
505
- * Example: 1 week before Jan 2, 2021 is
506
- * December 26, 2021 so:
507
- * 2 - 7 = -5
508
- * 31 + (-5) = 26
509
- */
510
- workingParts.day = daysInMonth + workingParts.day;
511
- }
512
- return workingParts;
513
- };
514
- /**
515
- * Given datetime parts, add
516
- * numDays to the date.
517
- * Returns a new DatetimeParts object
518
- * Currently can only go forward at most 1 month.
519
- */
520
- const addDays = (refParts, numDays) => {
521
- const { month, day, year } = refParts;
522
- if (day === null) {
523
- throw new Error('No day provided');
524
- }
525
- const workingParts = {
526
- month,
527
- day,
528
- year,
529
- };
530
- const daysInMonth = getNumDaysInMonth(month, year);
531
- workingParts.day = day + numDays;
532
- /**
533
- * If wrapping to next month
534
- * update days and increment month
535
- */
536
- if (workingParts.day > daysInMonth) {
537
- workingParts.day -= daysInMonth;
538
- workingParts.month += 1;
539
- }
540
- /**
541
- * If moving to next year, reset
542
- * month to January and increment year
543
- */
544
- if (workingParts.month > 12) {
545
- workingParts.month = 1;
546
- workingParts.year += 1;
547
- }
548
- return workingParts;
549
- };
550
- /**
551
- * Given DatetimeParts, generate the previous month.
552
- */
553
- const getPreviousMonth = (refParts) => {
554
- /**
555
- * If current month is January, wrap backwards
556
- * to December of the previous year.
557
- */
558
- const month = refParts.month === 1 ? 12 : refParts.month - 1;
559
- const year = refParts.month === 1 ? refParts.year - 1 : refParts.year;
560
- const numDaysInMonth = getNumDaysInMonth(month, year);
561
- const day = numDaysInMonth < refParts.day ? numDaysInMonth : refParts.day;
562
- return { month, year, day };
563
- };
564
- /**
565
- * Given DatetimeParts, generate the next month.
566
- */
567
- const getNextMonth = (refParts) => {
568
- /**
569
- * If current month is December, wrap forwards
570
- * to January of the next year.
571
- */
572
- const month = refParts.month === 12 ? 1 : refParts.month + 1;
573
- const year = refParts.month === 12 ? refParts.year + 1 : refParts.year;
574
- const numDaysInMonth = getNumDaysInMonth(month, year);
575
- const day = numDaysInMonth < refParts.day ? numDaysInMonth : refParts.day;
576
- return { month, year, day };
577
- };
578
- const changeYear = (refParts, yearDelta) => {
579
- const month = refParts.month;
580
- const year = refParts.year + yearDelta;
581
- const numDaysInMonth = getNumDaysInMonth(month, year);
582
- const day = numDaysInMonth < refParts.day ? numDaysInMonth : refParts.day;
583
- return { month, year, day };
584
- };
585
- /**
586
- * Given DatetimeParts, generate the previous year.
587
- */
588
- const getPreviousYear = (refParts) => {
589
- return changeYear(refParts, -1);
590
- };
591
- /**
592
- * Given DatetimeParts, generate the next year.
593
- */
594
- const getNextYear = (refParts) => {
595
- return changeYear(refParts, 1);
596
- };
597
- /**
598
- * If PM, then internal value should
599
- * be converted to 24-hr time.
600
- * Does not apply when public
601
- * values are already 24-hr time.
602
- */
603
- const getInternalHourValue = (hour, use24Hour, ampm) => {
604
- if (use24Hour) {
605
- return hour;
606
- }
607
- return convert12HourTo24Hour(hour, ampm);
608
- };
609
- /**
610
- * Unless otherwise stated, all month values are
611
- * 1 indexed instead of the typical 0 index in JS Date.
612
- * Example:
613
- * January = Month 0 when using JS Date
614
- * January = Month 1 when using this datetime util
615
- */
616
- /**
617
- * Given the current datetime parts and a new AM/PM value
618
- * calculate what the hour should be in 24-hour time format.
619
- * Used when toggling the AM/PM segment since we store our hours
620
- * in 24-hour time format internally.
621
- */
622
- const calculateHourFromAMPM = (currentParts, newAMPM) => {
623
- const { ampm: currentAMPM, hour } = currentParts;
624
- let newHour = hour;
625
- /**
626
- * If going from AM --> PM, need to update the
627
- *
628
- */
629
- if (currentAMPM === 'am' && newAMPM === 'pm') {
630
- newHour = convert12HourTo24Hour(newHour, 'pm');
631
- /**
632
- * If going from PM --> AM
633
- */
634
- }
635
- else if (currentAMPM === 'pm' && newAMPM === 'am') {
636
- newHour = Math.abs(newHour - 12);
637
- }
638
- return newHour;
639
- };
640
- /**
641
- * Updates parts to ensure that month and day
642
- * values are valid. For days that do not exist,
643
- * or are outside the min/max bounds, the closest
644
- * valid day is used.
645
- */
646
- const validateParts = (parts, minParts, maxParts) => {
647
- const { month, day, year } = parts;
648
- const partsCopy = clampDate(Object.assign({}, parts), minParts, maxParts);
649
- const numDays = getNumDaysInMonth(month, year);
650
- /**
651
- * If the max number of days
652
- * is greater than the day we want
653
- * to set, update the DatetimeParts
654
- * day field to be the max days.
655
- */
656
- if (day !== null && numDays < day) {
657
- partsCopy.day = numDays;
658
- }
659
- /**
660
- * If value is same day as min day,
661
- * make sure the time value is in bounds.
662
- */
663
- if (minParts !== undefined && isSameDay(partsCopy, minParts)) {
664
- /**
665
- * If the hour is out of bounds,
666
- * update both the hour and minute.
667
- * This is done so that the new time
668
- * is closest to what the user selected.
669
- */
670
- if (partsCopy.hour !== undefined && minParts.hour !== undefined) {
671
- if (partsCopy.hour < minParts.hour) {
672
- partsCopy.hour = minParts.hour;
673
- partsCopy.minute = minParts.minute;
674
- /**
675
- * If only the minute is out of bounds,
676
- * set it to the min minute.
677
- */
678
- }
679
- else if (partsCopy.hour === minParts.hour &&
680
- partsCopy.minute !== undefined &&
681
- minParts.minute !== undefined &&
682
- partsCopy.minute < minParts.minute) {
683
- partsCopy.minute = minParts.minute;
684
- }
685
- }
686
- }
687
- /**
688
- * If value is same day as max day,
689
- * make sure the time value is in bounds.
690
- */
691
- if (maxParts !== undefined && isSameDay(parts, maxParts)) {
692
- /**
693
- * If the hour is out of bounds,
694
- * update both the hour and minute.
695
- * This is done so that the new time
696
- * is closest to what the user selected.
697
- */
698
- if (partsCopy.hour !== undefined && maxParts.hour !== undefined) {
699
- if (partsCopy.hour > maxParts.hour) {
700
- partsCopy.hour = maxParts.hour;
701
- partsCopy.minute = maxParts.minute;
702
- /**
703
- * If only the minute is out of bounds,
704
- * set it to the max minute.
705
- */
706
- }
707
- else if (partsCopy.hour === maxParts.hour &&
708
- partsCopy.minute !== undefined &&
709
- maxParts.minute !== undefined &&
710
- partsCopy.minute > maxParts.minute) {
711
- partsCopy.minute = maxParts.minute;
712
- }
713
- }
714
- }
715
- return partsCopy;
716
- };
717
- /**
718
- * Returns the closest date to refParts
719
- * that also meets the constraints of
720
- * the *Values params.
721
- */
722
- const getClosestValidDate = ({ refParts, monthValues, dayValues, yearValues, hourValues, minuteValues, minParts, maxParts, }) => {
723
- const { hour, minute, day, month, year } = refParts;
724
- const copyParts = Object.assign(Object.assign({}, refParts), { dayOfWeek: undefined });
725
- if (yearValues !== undefined) {
726
- // Filters out years that are out of the min/max bounds
727
- const filteredYears = yearValues.filter((year) => {
728
- if (minParts !== undefined && year < minParts.year) {
729
- return false;
730
- }
731
- if (maxParts !== undefined && year > maxParts.year) {
732
- return false;
733
- }
734
- return true;
735
- });
736
- copyParts.year = findClosestValue(year, filteredYears);
737
- }
738
- if (monthValues !== undefined) {
739
- // Filters out months that are out of the min/max bounds
740
- const filteredMonths = monthValues.filter((month) => {
741
- if (minParts !== undefined && copyParts.year === minParts.year && month < minParts.month) {
742
- return false;
743
- }
744
- if (maxParts !== undefined && copyParts.year === maxParts.year && month > maxParts.month) {
745
- return false;
746
- }
747
- return true;
748
- });
749
- copyParts.month = findClosestValue(month, filteredMonths);
750
- }
751
- // Day is nullable but cannot be undefined
752
- if (day !== null && dayValues !== undefined) {
753
- // Filters out days that are out of the min/max bounds
754
- const filteredDays = dayValues.filter((day) => {
755
- if (minParts !== undefined && isBefore(Object.assign(Object.assign({}, copyParts), { day }), minParts)) {
756
- return false;
757
- }
758
- if (maxParts !== undefined && isAfter(Object.assign(Object.assign({}, copyParts), { day }), maxParts)) {
759
- return false;
760
- }
761
- return true;
762
- });
763
- copyParts.day = findClosestValue(day, filteredDays);
764
- }
765
- if (hour !== undefined && hourValues !== undefined) {
766
- // Filters out hours that are out of the min/max bounds
767
- const filteredHours = hourValues.filter((hour) => {
768
- if ((minParts === null || minParts === void 0 ? void 0 : minParts.hour) !== undefined && isSameDay(copyParts, minParts) && hour < minParts.hour) {
769
- return false;
770
- }
771
- if ((maxParts === null || maxParts === void 0 ? void 0 : maxParts.hour) !== undefined && isSameDay(copyParts, maxParts) && hour > maxParts.hour) {
772
- return false;
773
- }
774
- return true;
775
- });
776
- copyParts.hour = findClosestValue(hour, filteredHours);
777
- copyParts.ampm = parseAmPm(copyParts.hour);
778
- }
779
- if (minute !== undefined && minuteValues !== undefined) {
780
- // Filters out minutes that are out of the min/max bounds
781
- const filteredMinutes = minuteValues.filter((minute) => {
782
- if ((minParts === null || minParts === void 0 ? void 0 : minParts.minute) !== undefined &&
783
- isSameDay(copyParts, minParts) &&
784
- copyParts.hour === minParts.hour &&
785
- minute < minParts.minute) {
786
- return false;
787
- }
788
- if ((maxParts === null || maxParts === void 0 ? void 0 : maxParts.minute) !== undefined &&
789
- isSameDay(copyParts, maxParts) &&
790
- copyParts.hour === maxParts.hour &&
791
- minute > maxParts.minute) {
792
- return false;
793
- }
794
- return true;
795
- });
796
- copyParts.minute = findClosestValue(minute, filteredMinutes);
797
- }
798
- return copyParts;
799
- };
800
- /**
801
- * Finds the value in "values" that is
802
- * numerically closest to "reference".
803
- * This function assumes that "values" is
804
- * already sorted in ascending order.
805
- * @param reference The reference number to use
806
- * when finding the closest value
807
- * @param values The allowed values that will be
808
- * searched to find the closest value to "reference"
809
- */
810
- const findClosestValue = (reference, values) => {
811
- let closestValue = values[0];
812
- let rank = Math.abs(closestValue - reference);
813
- for (let i = 1; i < values.length; i++) {
814
- const value = values[i];
815
- /**
816
- * This code prioritizes the first
817
- * closest result. Given two values
818
- * with the same distance from reference,
819
- * this code will prioritize the smaller of
820
- * the two values.
821
- */
822
- const valueRank = Math.abs(value - reference);
823
- if (valueRank < rank) {
824
- closestValue = value;
825
- rank = valueRank;
826
- }
827
- }
828
- return closestValue;
829
- };
830
-
831
- const getFormattedDayPeriod = (dayPeriod) => {
832
- if (dayPeriod === undefined) {
833
- return '';
834
- }
835
- return dayPeriod.toUpperCase();
836
- };
837
- /**
838
- * Including time zone options may lead to the rendered text showing a
839
- * different time from what was selected in the Datetime, which could cause
840
- * confusion.
841
- */
842
- const stripTimeZone = (formatOptions) => {
843
- return Object.assign(Object.assign({}, formatOptions), {
844
- /**
845
- * Setting the time zone to UTC ensures that the value shown is always the
846
- * same as what was selected and safeguards against older Safari bugs with
847
- * Intl.DateTimeFormat.
848
- */
849
- timeZone: 'UTC',
850
- /**
851
- * We do not want to display the time zone name
852
- */
853
- timeZoneName: undefined });
854
- };
855
- const getLocalizedTime = (locale, refParts, hourCycle, formatOptions = { hour: 'numeric', minute: 'numeric' }) => {
856
- const timeParts = {
857
- hour: refParts.hour,
858
- minute: refParts.minute,
859
- };
860
- if (timeParts.hour === undefined || timeParts.minute === undefined) {
861
- return 'Invalid Time';
862
- }
863
- return new Intl.DateTimeFormat(locale, Object.assign(Object.assign({}, stripTimeZone(formatOptions)), {
864
- /**
865
- * We use hourCycle here instead of hour12 due to:
866
- * https://bugs.chromium.org/p/chromium/issues/detail?id=1347316&q=hour12&can=2
867
- */
868
- hourCycle })).format(new Date(convertDataToISO(Object.assign({
869
- /**
870
- * JS uses a simplified ISO 8601 format which allows for
871
- * date-only formats and date-time formats, but not
872
- * time-only formats: https://tc39.es/ecma262/#sec-date-time-string-format
873
- * As a result, developers who only pass a time will get
874
- * an "Invalid Date" error. To account for this, we make sure that
875
- * year/day/month values are set when passing to new Date().
876
- * The Intl.DateTimeFormat call above only uses the hour/minute
877
- * values, so passing these date values should have no impact
878
- * on the time output.
879
- */
880
- year: 2023, day: 1, month: 1 }, timeParts)) + 'Z'));
881
- };
882
- /**
883
- * Adds padding to a time value so
884
- * that it is always 2 digits.
885
- */
886
- const addTimePadding = (value) => {
887
- const valueToString = value.toString();
888
- if (valueToString.length > 1) {
889
- return valueToString;
890
- }
891
- return `0${valueToString}`;
892
- };
893
- /**
894
- * Formats 24 hour times so that
895
- * it always has 2 digits. For
896
- * 12 hour times it ensures that
897
- * hour 0 is formatted as '12'.
898
- */
899
- const getFormattedHour = (hour, hourCycle) => {
900
- /**
901
- * Midnight for h11 starts at 0:00am
902
- * Midnight for h12 starts at 12:00am
903
- * Midnight for h23 starts at 00:00
904
- * Midnight for h24 starts at 24:00
905
- */
906
- if (hour === 0) {
907
- switch (hourCycle) {
908
- case 'h11':
909
- return '0';
910
- case 'h12':
911
- return '12';
912
- case 'h23':
913
- return '00';
914
- case 'h24':
915
- return '24';
916
- default:
917
- throw new Error(`Invalid hour cycle "${hourCycle}"`);
918
- }
919
- }
920
- const use24Hour = is24Hour(hourCycle);
921
- /**
922
- * h23 and h24 use 24 hour times.
923
- */
924
- if (use24Hour) {
925
- return addTimePadding(hour);
926
- }
927
- return hour.toString();
928
- };
929
- /**
930
- * Generates an aria-label to be read by screen readers
931
- * given a local, a date, and whether or not that date is
932
- * today's date.
933
- */
934
- const generateDayAriaLabel = (locale, today, refParts) => {
935
- if (refParts.day === null) {
936
- return null;
937
- }
938
- /**
939
- * MM/DD/YYYY will return midnight in the user's timezone.
940
- */
941
- const date = getNormalizedDate(refParts);
942
- const labelString = new Intl.DateTimeFormat(locale, {
943
- weekday: 'long',
944
- month: 'long',
945
- day: 'numeric',
946
- timeZone: 'UTC',
947
- }).format(date);
948
- /**
949
- * If date is today, prepend "Today" so screen readers indicate
950
- * that the date is today.
951
- */
952
- return today ? `Today, ${labelString}` : labelString;
953
- };
954
- /**
955
- * Given a locale and a date object,
956
- * return a formatted string that includes
957
- * the month name and full year.
958
- * Example: May 2021
959
- */
960
- const getMonthAndYear = (locale, refParts) => {
961
- const date = getNormalizedDate(refParts);
962
- return new Intl.DateTimeFormat(locale, { month: 'long', year: 'numeric', timeZone: 'UTC' }).format(date);
963
- };
964
- /**
965
- * Given a locale and a date object,
966
- * return a formatted string that includes
967
- * the numeric day.
968
- * Note: Some languages will add literal characters
969
- * to the end. This function removes those literals.
970
- * Example: 29
971
- */
972
- const getDay = (locale, refParts) => {
973
- return getLocalizedDateTimeParts(locale, refParts, { day: 'numeric' }).find((obj) => obj.type === 'day').value;
974
- };
975
- /**
976
- * Given a locale and a date object,
977
- * return a formatted string that includes
978
- * the numeric year.
979
- * Example: 2022
980
- */
981
- const getYear = (locale, refParts) => {
982
- return getLocalizedDateTime(locale, refParts, { year: 'numeric' });
983
- };
984
- /**
985
- * Given reference parts, return a JS Date object
986
- * with a normalized time.
987
- */
988
- const getNormalizedDate = (refParts) => {
989
- var _a, _b, _c;
990
- const timeString = refParts.hour !== undefined && refParts.minute !== undefined ? ` ${refParts.hour}:${refParts.minute}` : '';
991
- /**
992
- * We use / notation here for the date
993
- * so we do not need to do extra work and pad values with zeroes.
994
- * Values such as YYYY-MM are still valid, so
995
- * we add fallback values so we still get
996
- * a valid date otherwise we will pass in a string
997
- * like "//2023". Some browsers, such as Chrome, will
998
- * account for this and still return a valid date. However,
999
- * this is not a consistent behavior across all browsers.
1000
- */
1001
- return new Date(`${(_a = refParts.month) !== null && _a !== void 0 ? _a : 1}/${(_b = refParts.day) !== null && _b !== void 0 ? _b : 1}/${(_c = refParts.year) !== null && _c !== void 0 ? _c : 2023}${timeString} GMT+0000`);
1002
- };
1003
- /**
1004
- * Given a locale, DatetimeParts, and options
1005
- * format the DatetimeParts according to the options
1006
- * and locale combination. This returns a string. If
1007
- * you want an array of the individual pieces
1008
- * that make up the localized date string, use
1009
- * getLocalizedDateTimeParts.
1010
- */
1011
- const getLocalizedDateTime = (locale, refParts, options) => {
1012
- const date = getNormalizedDate(refParts);
1013
- return getDateTimeFormat(locale, stripTimeZone(options)).format(date);
1014
- };
1015
- /**
1016
- * Given a locale, DatetimeParts, and options
1017
- * format the DatetimeParts according to the options
1018
- * and locale combination. This returns an array of
1019
- * each piece of the date.
1020
- */
1021
- const getLocalizedDateTimeParts = (locale, refParts, options) => {
1022
- const date = getNormalizedDate(refParts);
1023
- return getDateTimeFormat(locale, options).formatToParts(date);
1024
- };
1025
- /**
1026
- * Wrapper function for Intl.DateTimeFormat.
1027
- * Allows developers to apply an allowed format to DatetimeParts.
1028
- * This function also has built in safeguards for older browser bugs
1029
- * with Intl.DateTimeFormat.
1030
- */
1031
- const getDateTimeFormat = (locale, options) => {
1032
- return new Intl.DateTimeFormat(locale, Object.assign(Object.assign({}, options), { timeZone: 'UTC' }));
1033
- };
1034
- /**
1035
- * Gets a localized version of "Today"
1036
- * Falls back to "Today" in English for
1037
- * browsers that do not support RelativeTimeFormat.
1038
- */
1039
- const getTodayLabel = (locale) => {
1040
- if ('RelativeTimeFormat' in Intl) {
1041
- const label = new Intl.RelativeTimeFormat(locale, { numeric: 'auto' }).format(0, 'day');
1042
- return label.charAt(0).toUpperCase() + label.slice(1);
1043
- }
1044
- else {
1045
- return 'Today';
1046
- }
1047
- };
1048
- /**
1049
- * When calling toISOString(), the browser
1050
- * will convert the date to UTC time by either adding
1051
- * or subtracting the time zone offset.
1052
- * To work around this, we need to either add
1053
- * or subtract the time zone offset to the Date
1054
- * object prior to calling toISOString().
1055
- * This allows us to get an ISO string
1056
- * that is in the user's time zone.
1057
- *
1058
- * Example:
1059
- * Time zone offset is 240
1060
- * Meaning: The browser needs to add 240 minutes
1061
- * to the Date object to get UTC time.
1062
- * What Ionic does: We subtract 240 minutes
1063
- * from the Date object. The browser then adds
1064
- * 240 minutes in toISOString(). The result
1065
- * is a time that is in the user's time zone
1066
- * and not UTC.
1067
- *
1068
- * Note: Some timezones include minute adjustments
1069
- * such as 30 or 45 minutes. This is why we use setMinutes
1070
- * instead of setHours.
1071
- * Example: India Standard Time
1072
- * Timezone offset: -330 = -5.5 hours.
1073
- *
1074
- * List of timezones with 30 and 45 minute timezones:
1075
- * https://www.timeanddate.com/time/time-zones-interesting.html
1076
- */
1077
- const removeDateTzOffset = (date) => {
1078
- const tzOffset = date.getTimezoneOffset();
1079
- date.setMinutes(date.getMinutes() - tzOffset);
1080
- return date;
1081
- };
1082
- const DATE_AM = removeDateTzOffset(new Date('2022T01:00'));
1083
- const DATE_PM = removeDateTzOffset(new Date('2022T13:00'));
1084
- /**
1085
- * Formats the locale's string representation of the day period (am/pm) for a given
1086
- * ref parts day period.
1087
- *
1088
- * @param locale The locale to format the day period in.
1089
- * @param value The date string, in ISO format.
1090
- * @returns The localized day period (am/pm) representation of the given value.
1091
- */
1092
- const getLocalizedDayPeriod = (locale, dayPeriod) => {
1093
- const date = dayPeriod === 'am' ? DATE_AM : DATE_PM;
1094
- const localizedDayPeriod = new Intl.DateTimeFormat(locale, {
1095
- hour: 'numeric',
1096
- timeZone: 'UTC',
1097
- })
1098
- .formatToParts(date)
1099
- .find((part) => part.type === 'dayPeriod');
1100
- if (localizedDayPeriod) {
1101
- return localizedDayPeriod.value;
1102
- }
1103
- return getFormattedDayPeriod(dayPeriod);
1104
- };
1105
- /**
1106
- * Formats the datetime's value to a string, for use in the native input.
1107
- *
1108
- * @param value The value to format, either an ISO string or an array thereof.
1109
- */
1110
- const formatValue = (value) => {
1111
- return Array.isArray(value) ? value.join(',') : value;
1112
- };
1113
-
1114
- /**
1115
- * Returns the current date as
1116
- * an ISO string in the user's
1117
- * time zone.
1118
- */
1119
- const getToday = () => {
1120
- /**
1121
- * ion-datetime intentionally does not
1122
- * parse time zones/do automatic time zone
1123
- * conversion when accepting user input.
1124
- * However when we get today's date string,
1125
- * we want it formatted relative to the user's
1126
- * time zone.
1127
- *
1128
- * When calling toISOString(), the browser
1129
- * will convert the date to UTC time by either adding
1130
- * or subtracting the time zone offset.
1131
- * To work around this, we need to either add
1132
- * or subtract the time zone offset to the Date
1133
- * object prior to calling toISOString().
1134
- * This allows us to get an ISO string
1135
- * that is in the user's time zone.
1136
- */
1137
- return removeDateTzOffset(new Date()).toISOString();
1138
- };
1139
- const minutes = [
1140
- 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31,
1141
- 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59,
1142
- ];
1143
- // h11 hour system uses 0-11. Midnight starts at 0:00am.
1144
- const hour11 = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11];
1145
- // h12 hour system uses 0-12. Midnight starts at 12:00am.
1146
- const hour12 = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11];
1147
- // h23 hour system uses 0-23. Midnight starts at 0:00.
1148
- const hour23 = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23];
1149
- // h24 hour system uses 1-24. Midnight starts at 24:00.
1150
- const hour24 = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 0];
1151
- /**
1152
- * Given a locale and a mode,
1153
- * return an array with formatted days
1154
- * of the week. iOS should display days
1155
- * such as "Mon" or "Tue".
1156
- * MD should display days such as "M"
1157
- * or "T".
1158
- */
1159
- const getDaysOfWeek = (locale, mode, firstDayOfWeek = 0) => {
1160
- /**
1161
- * Nov 1st, 2020 starts on a Sunday.
1162
- * ion-datetime assumes weeks start on Sunday,
1163
- * but is configurable via `firstDayOfWeek`.
1164
- */
1165
- const weekdayFormat = mode === 'ios' ? 'short' : 'narrow';
1166
- const intl = new Intl.DateTimeFormat(locale, { weekday: weekdayFormat });
1167
- const startDate = new Date('11/01/2020');
1168
- const daysOfWeek = [];
1169
- /**
1170
- * For each day of the week,
1171
- * get the day name.
1172
- */
1173
- for (let i = firstDayOfWeek; i < firstDayOfWeek + 7; i++) {
1174
- const currentDate = new Date(startDate);
1175
- currentDate.setDate(currentDate.getDate() + i);
1176
- daysOfWeek.push(intl.format(currentDate));
1177
- }
1178
- return daysOfWeek;
1179
- };
1180
- /**
1181
- * Returns an array containing all of the
1182
- * days in a month for a given year. Values are
1183
- * aligned with a week calendar starting on
1184
- * the firstDayOfWeek value (Sunday by default)
1185
- * using null values.
1186
- */
1187
- const getDaysOfMonth = (month, year, firstDayOfWeek) => {
1188
- const numDays = getNumDaysInMonth(month, year);
1189
- const firstOfMonth = new Date(`${month}/1/${year}`).getDay();
1190
- /**
1191
- * To get the first day of the month aligned on the correct
1192
- * day of the week, we need to determine how many "filler" days
1193
- * to generate. These filler days as empty/disabled buttons
1194
- * that fill the space of the days of the week before the first
1195
- * of the month.
1196
- *
1197
- * There are two cases here:
1198
- *
1199
- * 1. If firstOfMonth = 4, firstDayOfWeek = 0 then the offset
1200
- * is (4 - (0 + 1)) = 3. Since the offset loop goes from 0 to 3 inclusive,
1201
- * this will generate 4 filler days (0, 1, 2, 3), and then day of week 4 will have
1202
- * the first day of the month.
1203
- *
1204
- * 2. If firstOfMonth = 2, firstDayOfWeek = 4 then the offset
1205
- * is (6 - (4 - 2)) = 4. Since the offset loop goes from 0 to 4 inclusive,
1206
- * this will generate 5 filler days (0, 1, 2, 3, 4), and then day of week 5 will have
1207
- * the first day of the month.
1208
- */
1209
- const offset = firstOfMonth >= firstDayOfWeek ? firstOfMonth - (firstDayOfWeek + 1) : 6 - (firstDayOfWeek - firstOfMonth);
1210
- let days = [];
1211
- for (let i = 1; i <= numDays; i++) {
1212
- days.push({ day: i, dayOfWeek: (offset + i) % 7 });
1213
- }
1214
- for (let i = 0; i <= offset; i++) {
1215
- days = [{ day: null, dayOfWeek: null }, ...days];
1216
- }
1217
- return days;
1218
- };
1219
- /**
1220
- * Returns an array of pre-defined hour
1221
- * values based on the provided hourCycle.
1222
- */
1223
- const getHourData = (hourCycle) => {
1224
- switch (hourCycle) {
1225
- case 'h11':
1226
- return hour11;
1227
- case 'h12':
1228
- return hour12;
1229
- case 'h23':
1230
- return hour23;
1231
- case 'h24':
1232
- return hour24;
1233
- default:
1234
- throw new Error(`Invalid hour cycle "${hourCycle}"`);
1235
- }
1236
- };
1237
- /**
1238
- * Given a local, reference datetime parts and option
1239
- * max/min bound datetime parts, calculate the acceptable
1240
- * hour and minute values according to the bounds and locale.
1241
- */
1242
- const generateTime = (locale, refParts, hourCycle = 'h12', minParts, maxParts, hourValues, minuteValues) => {
1243
- const computedHourCycle = getHourCycle(locale, hourCycle);
1244
- const use24Hour = is24Hour(computedHourCycle);
1245
- let processedHours = getHourData(computedHourCycle);
1246
- let processedMinutes = minutes;
1247
- let isAMAllowed = true;
1248
- let isPMAllowed = true;
1249
- if (hourValues) {
1250
- processedHours = processedHours.filter((hour) => hourValues.includes(hour));
1251
- }
1252
- if (minuteValues) {
1253
- processedMinutes = processedMinutes.filter((minute) => minuteValues.includes(minute));
1254
- }
1255
- if (minParts) {
1256
- /**
1257
- * If ref day is the same as the
1258
- * minimum allowed day, filter hour/minute
1259
- * values according to min hour and minute.
1260
- */
1261
- if (isSameDay(refParts, minParts)) {
1262
- /**
1263
- * Users may not always set the hour/minute for
1264
- * min value (i.e. 2021-06-02) so we should allow
1265
- * all hours/minutes in that case.
1266
- */
1267
- if (minParts.hour !== undefined) {
1268
- processedHours = processedHours.filter((hour) => {
1269
- const convertedHour = refParts.ampm === 'pm' ? (hour + 12) % 24 : hour;
1270
- return (use24Hour ? hour : convertedHour) >= minParts.hour;
1271
- });
1272
- isAMAllowed = minParts.hour < 13;
1273
- }
1274
- if (minParts.minute !== undefined) {
1275
- /**
1276
- * The minimum minute range should not be enforced when
1277
- * the hour is greater than the min hour.
1278
- *
1279
- * For example with a minimum range of 09:30, users
1280
- * should be able to select 10:00-10:29 and beyond.
1281
- */
1282
- let isPastMinHour = false;
1283
- if (minParts.hour !== undefined && refParts.hour !== undefined) {
1284
- if (refParts.hour > minParts.hour) {
1285
- isPastMinHour = true;
1286
- }
1287
- }
1288
- processedMinutes = processedMinutes.filter((minute) => {
1289
- if (isPastMinHour) {
1290
- return true;
1291
- }
1292
- return minute >= minParts.minute;
1293
- });
1294
- }
1295
- /**
1296
- * If ref day is before minimum
1297
- * day do not render any hours/minute values
1298
- */
1299
- }
1300
- else if (isBefore(refParts, minParts)) {
1301
- processedHours = [];
1302
- processedMinutes = [];
1303
- isAMAllowed = isPMAllowed = false;
1304
- }
1305
- }
1306
- if (maxParts) {
1307
- /**
1308
- * If ref day is the same as the
1309
- * maximum allowed day, filter hour/minute
1310
- * values according to max hour and minute.
1311
- */
1312
- if (isSameDay(refParts, maxParts)) {
1313
- /**
1314
- * Users may not always set the hour/minute for
1315
- * max value (i.e. 2021-06-02) so we should allow
1316
- * all hours/minutes in that case.
1317
- */
1318
- if (maxParts.hour !== undefined) {
1319
- processedHours = processedHours.filter((hour) => {
1320
- const convertedHour = refParts.ampm === 'pm' ? (hour + 12) % 24 : hour;
1321
- return (use24Hour ? hour : convertedHour) <= maxParts.hour;
1322
- });
1323
- isPMAllowed = maxParts.hour >= 12;
1324
- }
1325
- if (maxParts.minute !== undefined && refParts.hour === maxParts.hour) {
1326
- // The available minutes should only be filtered when the hour is the same as the max hour.
1327
- // For example if the max hour is 10:30 and the current hour is 10:00,
1328
- // users should be able to select 00-30 minutes.
1329
- // If the current hour is 09:00, users should be able to select 00-60 minutes.
1330
- processedMinutes = processedMinutes.filter((minute) => minute <= maxParts.minute);
1331
- }
1332
- /**
1333
- * If ref day is after minimum
1334
- * day do not render any hours/minute values
1335
- */
1336
- }
1337
- else if (isAfter(refParts, maxParts)) {
1338
- processedHours = [];
1339
- processedMinutes = [];
1340
- isAMAllowed = isPMAllowed = false;
1341
- }
1342
- }
1343
- return {
1344
- hours: processedHours,
1345
- minutes: processedMinutes,
1346
- am: isAMAllowed,
1347
- pm: isPMAllowed,
1348
- };
1349
- };
1350
- /**
1351
- * Given DatetimeParts, generate the previous,
1352
- * current, and and next months.
1353
- */
1354
- const generateMonths = (refParts, forcedDate) => {
1355
- const current = { month: refParts.month, year: refParts.year, day: refParts.day };
1356
- /**
1357
- * If we're forcing a month to appear, and it's different from the current month,
1358
- * ensure it appears by replacing the next or previous month as appropriate.
1359
- */
1360
- if (forcedDate !== undefined && (refParts.month !== forcedDate.month || refParts.year !== forcedDate.year)) {
1361
- const forced = { month: forcedDate.month, year: forcedDate.year, day: forcedDate.day };
1362
- const forcedMonthIsBefore = isBefore(forced, current);
1363
- return forcedMonthIsBefore
1364
- ? [forced, current, getNextMonth(refParts)]
1365
- : [getPreviousMonth(refParts), current, forced];
1366
- }
1367
- return [getPreviousMonth(refParts), current, getNextMonth(refParts)];
1368
- };
1369
- const getMonthColumnData = (locale, refParts, minParts, maxParts, monthValues, formatOptions = {
1370
- month: 'long',
1371
- }) => {
1372
- const { year } = refParts;
1373
- const months = [];
1374
- if (monthValues !== undefined) {
1375
- let processedMonths = monthValues;
1376
- if ((maxParts === null || maxParts === void 0 ? void 0 : maxParts.month) !== undefined) {
1377
- processedMonths = processedMonths.filter((month) => month <= maxParts.month);
1378
- }
1379
- if ((minParts === null || minParts === void 0 ? void 0 : minParts.month) !== undefined) {
1380
- processedMonths = processedMonths.filter((month) => month >= minParts.month);
1381
- }
1382
- processedMonths.forEach((processedMonth) => {
1383
- const date = new Date(`${processedMonth}/1/${year} GMT+0000`);
1384
- const monthString = new Intl.DateTimeFormat(locale, Object.assign(Object.assign({}, formatOptions), { timeZone: 'UTC' })).format(date);
1385
- months.push({ text: monthString, value: processedMonth });
1386
- });
1387
- }
1388
- else {
1389
- const maxMonth = maxParts && maxParts.year === year ? maxParts.month : 12;
1390
- const minMonth = minParts && minParts.year === year ? minParts.month : 1;
1391
- for (let i = minMonth; i <= maxMonth; i++) {
1392
- /**
1393
- *
1394
- * There is a bug on iOS 14 where
1395
- * Intl.DateTimeFormat takes into account
1396
- * the local timezone offset when formatting dates.
1397
- *
1398
- * Forcing the timezone to 'UTC' fixes the issue. However,
1399
- * we should keep this workaround as it is safer. In the event
1400
- * this breaks in another browser, we will not be impacted
1401
- * because all dates will be interpreted in UTC.
1402
- *
1403
- * Example:
1404
- * new Intl.DateTimeFormat('en-US', { month: 'long' }).format(new Date('Sat Apr 01 2006 00:00:00 GMT-0400 (EDT)')) // "March"
1405
- * new Intl.DateTimeFormat('en-US', { month: 'long', timeZone: 'UTC' }).format(new Date('Sat Apr 01 2006 00:00:00 GMT-0400 (EDT)')) // "April"
1406
- *
1407
- * In certain timezones, iOS 14 shows the wrong
1408
- * date for .toUTCString(). To combat this, we
1409
- * force all of the timezones to GMT+0000 (UTC).
1410
- *
1411
- * Example:
1412
- * Time Zone: Central European Standard Time
1413
- * new Date('1/1/1992').toUTCString() // "Tue, 31 Dec 1991 23:00:00 GMT"
1414
- * new Date('1/1/1992 GMT+0000').toUTCString() // "Wed, 01 Jan 1992 00:00:00 GMT"
1415
- */
1416
- const date = new Date(`${i}/1/${year} GMT+0000`);
1417
- const monthString = new Intl.DateTimeFormat(locale, Object.assign(Object.assign({}, formatOptions), { timeZone: 'UTC' })).format(date);
1418
- months.push({ text: monthString, value: i });
1419
- }
1420
- }
1421
- return months;
1422
- };
1423
- /**
1424
- * Returns information regarding
1425
- * selectable dates (i.e 1st, 2nd, 3rd, etc)
1426
- * within a reference month.
1427
- * @param locale The locale to format the date with
1428
- * @param refParts The reference month/year to generate dates for
1429
- * @param minParts The minimum bound on the date that can be returned
1430
- * @param maxParts The maximum bound on the date that can be returned
1431
- * @param dayValues The allowed date values
1432
- * @returns Date data to be used in ion-picker-column
1433
- */
1434
- const getDayColumnData = (locale, refParts, minParts, maxParts, dayValues, formatOptions = {
1435
- day: 'numeric',
1436
- }) => {
1437
- const { month, year } = refParts;
1438
- const days = [];
1439
- /**
1440
- * If we have max/min bounds that in the same
1441
- * month/year as the refParts, we should
1442
- * use the define day as the max/min day.
1443
- * Otherwise, fallback to the max/min days in a month.
1444
- */
1445
- const numDaysInMonth = getNumDaysInMonth(month, year);
1446
- const maxDay = (maxParts === null || maxParts === void 0 ? void 0 : maxParts.day) !== null && (maxParts === null || maxParts === void 0 ? void 0 : maxParts.day) !== undefined && maxParts.year === year && maxParts.month === month
1447
- ? maxParts.day
1448
- : numDaysInMonth;
1449
- const minDay = (minParts === null || minParts === void 0 ? void 0 : minParts.day) !== null && (minParts === null || minParts === void 0 ? void 0 : minParts.day) !== undefined && minParts.year === year && minParts.month === month
1450
- ? minParts.day
1451
- : 1;
1452
- if (dayValues !== undefined) {
1453
- let processedDays = dayValues;
1454
- processedDays = processedDays.filter((day) => day >= minDay && day <= maxDay);
1455
- processedDays.forEach((processedDay) => {
1456
- const date = new Date(`${month}/${processedDay}/${year} GMT+0000`);
1457
- const dayString = new Intl.DateTimeFormat(locale, Object.assign(Object.assign({}, formatOptions), { timeZone: 'UTC' })).format(date);
1458
- days.push({ text: dayString, value: processedDay });
1459
- });
1460
- }
1461
- else {
1462
- for (let i = minDay; i <= maxDay; i++) {
1463
- const date = new Date(`${month}/${i}/${year} GMT+0000`);
1464
- const dayString = new Intl.DateTimeFormat(locale, Object.assign(Object.assign({}, formatOptions), { timeZone: 'UTC' })).format(date);
1465
- days.push({ text: dayString, value: i });
1466
- }
1467
- }
1468
- return days;
1469
- };
1470
- const getYearColumnData = (locale, refParts, minParts, maxParts, yearValues) => {
1471
- var _a, _b;
1472
- let processedYears = [];
1473
- if (yearValues !== undefined) {
1474
- processedYears = yearValues;
1475
- if ((maxParts === null || maxParts === void 0 ? void 0 : maxParts.year) !== undefined) {
1476
- processedYears = processedYears.filter((year) => year <= maxParts.year);
1477
- }
1478
- if ((minParts === null || minParts === void 0 ? void 0 : minParts.year) !== undefined) {
1479
- processedYears = processedYears.filter((year) => year >= minParts.year);
1480
- }
1481
- }
1482
- else {
1483
- const { year } = refParts;
1484
- const maxYear = (_a = maxParts === null || maxParts === void 0 ? void 0 : maxParts.year) !== null && _a !== void 0 ? _a : year;
1485
- const minYear = (_b = minParts === null || minParts === void 0 ? void 0 : minParts.year) !== null && _b !== void 0 ? _b : year - 100;
1486
- for (let i = minYear; i <= maxYear; i++) {
1487
- processedYears.push(i);
1488
- }
1489
- }
1490
- return processedYears.map((year) => ({
1491
- text: getYear(locale, { year, month: refParts.month, day: refParts.day }),
1492
- value: year,
1493
- }));
1494
- };
1495
- /**
1496
- * Given a starting date and an upper bound,
1497
- * this functions returns an array of all
1498
- * month objects in that range.
1499
- */
1500
- const getAllMonthsInRange = (currentParts, maxParts) => {
1501
- if (currentParts.month === maxParts.month && currentParts.year === maxParts.year) {
1502
- return [currentParts];
1503
- }
1504
- return [currentParts, ...getAllMonthsInRange(getNextMonth(currentParts), maxParts)];
1505
- };
1506
- /**
1507
- * Creates and returns picker items
1508
- * that represent the days in a month.
1509
- * Example: "Thu, Jun 2"
1510
- */
1511
- const getCombinedDateColumnData = (locale, todayParts, minParts, maxParts, dayValues, monthValues) => {
1512
- let items = [];
1513
- let parts = [];
1514
- /**
1515
- * Get all month objects from the min date
1516
- * to the max date. Note: Do not use getMonthColumnData
1517
- * as that function only generates dates within a
1518
- * single year.
1519
- */
1520
- let months = getAllMonthsInRange(minParts, maxParts);
1521
- /**
1522
- * Filter out any disallowed month values.
1523
- */
1524
- if (monthValues) {
1525
- months = months.filter(({ month }) => monthValues.includes(month));
1526
- }
1527
- /**
1528
- * Get all of the days in the month.
1529
- * From there, generate an array where
1530
- * each item has the month, date, and day
1531
- * of work as the text.
1532
- */
1533
- months.forEach((monthObject) => {
1534
- const referenceMonth = { month: monthObject.month, day: null, year: monthObject.year };
1535
- const monthDays = getDayColumnData(locale, referenceMonth, minParts, maxParts, dayValues, {
1536
- month: 'short',
1537
- day: 'numeric',
1538
- weekday: 'short',
1539
- });
1540
- const dateParts = [];
1541
- const dateColumnItems = [];
1542
- monthDays.forEach((dayObject) => {
1543
- const isToday = isSameDay(Object.assign(Object.assign({}, referenceMonth), { day: dayObject.value }), todayParts);
1544
- /**
1545
- * Today's date should read as "Today" (localized)
1546
- * not the actual date string
1547
- */
1548
- dateColumnItems.push({
1549
- text: isToday ? getTodayLabel(locale) : dayObject.text,
1550
- value: `${referenceMonth.year}-${referenceMonth.month}-${dayObject.value}`,
1551
- });
1552
- /**
1553
- * When selecting a date in the wheel picker
1554
- * we need access to the raw datetime parts data.
1555
- * The picker column only accepts values of
1556
- * type string or number, so we need to return
1557
- * two sets of data: A data set to be passed
1558
- * to the picker column, and a data set to
1559
- * be used to reference the raw data when
1560
- * updating the picker column value.
1561
- */
1562
- dateParts.push({
1563
- month: referenceMonth.month,
1564
- year: referenceMonth.year,
1565
- day: dayObject.value,
1566
- });
1567
- });
1568
- parts = [...parts, ...dateParts];
1569
- items = [...items, ...dateColumnItems];
1570
- });
1571
- return {
1572
- parts,
1573
- items,
1574
- };
1575
- };
1576
- const getTimeColumnsData = (locale, refParts, hourCycle, minParts, maxParts, allowedHourValues, allowedMinuteValues) => {
1577
- const computedHourCycle = getHourCycle(locale, hourCycle);
1578
- const use24Hour = is24Hour(computedHourCycle);
1579
- const { hours, minutes, am, pm } = generateTime(locale, refParts, computedHourCycle, minParts, maxParts, allowedHourValues, allowedMinuteValues);
1580
- const hoursItems = hours.map((hour) => {
1581
- return {
1582
- text: getFormattedHour(hour, computedHourCycle),
1583
- value: getInternalHourValue(hour, use24Hour, refParts.ampm),
1584
- };
1585
- });
1586
- const minutesItems = minutes.map((minute) => {
1587
- return {
1588
- text: addTimePadding(minute),
1589
- value: minute,
1590
- };
1591
- });
1592
- const dayPeriodItems = [];
1593
- if (am && !use24Hour) {
1594
- dayPeriodItems.push({
1595
- text: getLocalizedDayPeriod(locale, 'am'),
1596
- value: 'am',
1597
- });
1598
- }
1599
- if (pm && !use24Hour) {
1600
- dayPeriodItems.push({
1601
- text: getLocalizedDayPeriod(locale, 'pm'),
1602
- value: 'pm',
1603
- });
1604
- }
1605
- return {
1606
- minutesData: minutesItems,
1607
- hoursData: hoursItems,
1608
- dayPeriodData: dayPeriodItems,
1609
- };
1610
- };
1611
-
1612
- exports.calculateHourFromAMPM = calculateHourFromAMPM;
1613
- exports.clampDate = clampDate;
1614
- exports.convertDataToISO = convertDataToISO;
1615
- exports.convertToArrayOfNumbers = convertToArrayOfNumbers;
1616
- exports.formatValue = formatValue;
1617
- exports.generateDayAriaLabel = generateDayAriaLabel;
1618
- exports.generateMonths = generateMonths;
1619
- exports.getClosestValidDate = getClosestValidDate;
1620
- exports.getCombinedDateColumnData = getCombinedDateColumnData;
1621
- exports.getDay = getDay;
1622
- exports.getDayColumnData = getDayColumnData;
1623
- exports.getDaysOfMonth = getDaysOfMonth;
1624
- exports.getDaysOfWeek = getDaysOfWeek;
1625
- exports.getEndOfWeek = getEndOfWeek;
1626
- exports.getHourCycle = getHourCycle;
1627
- exports.getLocalizedDateTime = getLocalizedDateTime;
1628
- exports.getLocalizedTime = getLocalizedTime;
1629
- exports.getMonthAndYear = getMonthAndYear;
1630
- exports.getMonthColumnData = getMonthColumnData;
1631
- exports.getNextDay = getNextDay;
1632
- exports.getNextMonth = getNextMonth;
1633
- exports.getNextWeek = getNextWeek;
1634
- exports.getNextYear = getNextYear;
1635
- exports.getNumDaysInMonth = getNumDaysInMonth;
1636
- exports.getPartsFromCalendarDay = getPartsFromCalendarDay;
1637
- exports.getPreviousDay = getPreviousDay;
1638
- exports.getPreviousMonth = getPreviousMonth;
1639
- exports.getPreviousWeek = getPreviousWeek;
1640
- exports.getPreviousYear = getPreviousYear;
1641
- exports.getStartOfWeek = getStartOfWeek;
1642
- exports.getTimeColumnsData = getTimeColumnsData;
1643
- exports.getToday = getToday;
1644
- exports.getYearColumnData = getYearColumnData;
1645
- exports.isAfter = isAfter;
1646
- exports.isBefore = isBefore;
1647
- exports.isLocaleDayPeriodRTL = isLocaleDayPeriodRTL;
1648
- exports.isMonthFirstLocale = isMonthFirstLocale;
1649
- exports.isSameDay = isSameDay;
1650
- exports.parseAmPm = parseAmPm;
1651
- exports.parseDate = parseDate;
1652
- exports.parseMaxParts = parseMaxParts;
1653
- exports.parseMinParts = parseMinParts;
1654
- exports.validateParts = validateParts;
1655
- exports.warnIfValueOutOfBounds = warnIfValueOutOfBounds;
1656
-
1657
- //# sourceMappingURL=data-D1OXTASG.js.map