voyager-ionic-core 7.5.0 → 7.5.5

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 (594) hide show
  1. package/components/action-sheet.js +2 -2
  2. package/components/alert.js +2 -2
  3. package/components/animation.js +18 -3
  4. package/components/checkbox.js +2 -2
  5. package/components/form-controller.js +1 -5
  6. package/components/index8.js +0 -1
  7. package/components/input-shims.js +9 -1
  8. package/components/ion-accordion-group.js +11 -1
  9. package/components/ion-datetime.js +48 -23
  10. package/components/ion-fab-list.js +1 -1
  11. package/components/ion-fab.js +1 -1
  12. package/components/ion-header.js +1 -1
  13. package/components/ion-input.js +11 -4
  14. package/components/ion-item-divider.js +2 -2
  15. package/components/ion-item-option.js +2 -2
  16. package/components/ion-menu.js +17 -5
  17. package/components/ion-modal.js +8 -8
  18. package/components/ion-range.js +2 -2
  19. package/components/ion-refresher.js +8 -1
  20. package/components/ion-reorder.js +2 -2
  21. package/components/ion-searchbar.js +10 -3
  22. package/components/ion-segment.js +43 -17
  23. package/components/ion-select.js +2 -2
  24. package/components/ion-tab-bar.js +2 -2
  25. package/components/ion-tab-button.js +2 -2
  26. package/components/ion-textarea.js +11 -4
  27. package/components/ion-title.js +1 -1
  28. package/components/ion-toast.js +2 -2
  29. package/components/ion-toggle.js +2 -2
  30. package/components/ios.transition.js +209 -41
  31. package/components/item.js +2 -2
  32. package/components/list-header.js +2 -2
  33. package/components/list.js +2 -2
  34. package/components/picker-internal.js +2 -2
  35. package/components/popover.js +2 -2
  36. package/components/radio-group.js +10 -1
  37. package/components/radio.js +2 -3
  38. package/components/watch-options.js +14 -3
  39. package/css/core.css.map +1 -1
  40. package/css/display.css.map +1 -1
  41. package/css/float-elements.css.map +1 -1
  42. package/css/global.bundle.css.map +1 -1
  43. package/css/ionic.bundle.css.map +1 -1
  44. package/css/padding.css.map +1 -1
  45. package/css/structure.css.map +1 -1
  46. package/css/text-alignment.css.map +1 -1
  47. package/css/text-transformation.css.map +1 -1
  48. package/css/typography.css.map +1 -1
  49. package/css/utils.bundle.css.map +1 -1
  50. package/dist/cjs/{animation-c8bdd3c7.js → animation-1083855c.js} +18 -3
  51. package/dist/cjs/{app-globals-fe1ad535.js → app-globals-1d4c1dbf.js} +1 -1
  52. package/dist/cjs/{button-active-c0ff1915.js → button-active-af897e0e.js} +1 -1
  53. package/dist/cjs/{form-controller-5e223b54.js → form-controller-9343050c.js} +1 -5
  54. package/dist/cjs/{index-d93fb71d.js → index-573877f3.js} +3 -3
  55. package/dist/cjs/{index-305a23dc.js → index-c2940dc1.js} +127 -57
  56. package/dist/cjs/{index-5e7529f6.js → index-d7561763.js} +2 -2
  57. package/dist/cjs/{index-10873539.js → index-da2c7a37.js} +0 -1
  58. package/dist/cjs/index.cjs.js +8 -8
  59. package/dist/cjs/{input-shims-da7dc0de.js → input-shims-b0a75a01.js} +10 -2
  60. package/dist/cjs/ion-accordion_2.cjs.entry.js +13 -3
  61. package/dist/cjs/ion-action-sheet.cjs.entry.js +7 -7
  62. package/dist/cjs/ion-alert.cjs.entry.js +7 -7
  63. package/dist/cjs/ion-app_8.cjs.entry.js +8 -8
  64. package/dist/cjs/ion-avatar_3.cjs.entry.js +2 -2
  65. package/dist/cjs/ion-back-button.cjs.entry.js +2 -2
  66. package/dist/cjs/ion-backdrop.cjs.entry.js +2 -2
  67. package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +2 -2
  68. package/dist/cjs/ion-button_2.cjs.entry.js +2 -2
  69. package/dist/cjs/ion-card_5.cjs.entry.js +2 -2
  70. package/dist/cjs/ion-checkbox.cjs.entry.js +5 -5
  71. package/dist/cjs/ion-chip.cjs.entry.js +2 -2
  72. package/dist/cjs/ion-col_3.cjs.entry.js +2 -2
  73. package/dist/cjs/ion-datetime-button.cjs.entry.js +2 -2
  74. package/dist/cjs/ion-datetime_3.cjs.entry.js +52 -27
  75. package/dist/cjs/ion-fab_3.cjs.entry.js +4 -4
  76. package/dist/cjs/ion-img.cjs.entry.js +2 -2
  77. package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +3 -3
  78. package/dist/cjs/ion-input.cjs.entry.js +13 -6
  79. package/dist/cjs/ion-item-option_3.cjs.entry.js +6 -6
  80. package/dist/cjs/ion-item_8.cjs.entry.js +10 -10
  81. package/dist/cjs/ion-loading.cjs.entry.js +4 -4
  82. package/dist/cjs/ion-menu_3.cjs.entry.js +22 -10
  83. package/dist/cjs/ion-modal.cjs.entry.js +14 -14
  84. package/dist/cjs/ion-nav_2.cjs.entry.js +3 -3
  85. package/dist/cjs/ion-picker-column-internal.cjs.entry.js +2 -2
  86. package/dist/cjs/ion-picker-internal.cjs.entry.js +3 -3
  87. package/dist/cjs/ion-popover.cjs.entry.js +7 -7
  88. package/dist/cjs/ion-progress-bar.cjs.entry.js +2 -2
  89. package/dist/cjs/ion-radio_2.cjs.entry.js +15 -7
  90. package/dist/cjs/ion-range.cjs.entry.js +6 -6
  91. package/dist/cjs/ion-refresher_2.cjs.entry.js +12 -5
  92. package/dist/cjs/ion-reorder_2.cjs.entry.js +5 -5
  93. package/dist/cjs/ion-ripple-effect.cjs.entry.js +2 -2
  94. package/dist/cjs/ion-route_4.cjs.entry.js +2 -2
  95. package/dist/cjs/ion-searchbar.cjs.entry.js +11 -4
  96. package/dist/cjs/ion-segment_2.cjs.entry.js +45 -19
  97. package/dist/cjs/ion-select_3.cjs.entry.js +7 -7
  98. package/dist/cjs/ion-spinner.cjs.entry.js +2 -2
  99. package/dist/cjs/ion-split-pane.cjs.entry.js +2 -2
  100. package/dist/cjs/ion-tab-bar_2.cjs.entry.js +6 -6
  101. package/dist/cjs/ion-tab_2.cjs.entry.js +1 -1
  102. package/dist/cjs/ion-text.cjs.entry.js +2 -2
  103. package/dist/cjs/ion-textarea.cjs.entry.js +13 -6
  104. package/dist/cjs/ion-toast.cjs.entry.js +6 -6
  105. package/dist/cjs/ion-toggle.cjs.entry.js +5 -5
  106. package/dist/cjs/{ionic-global-fb752503.js → ionic-global-ea2901a3.js} +1 -1
  107. package/dist/cjs/ionic.cjs.js +4 -4
  108. package/dist/cjs/{ios.transition-a4d545dd.js → ios.transition-ac909bc8.js} +212 -44
  109. package/dist/cjs/loader.cjs.js +3 -3
  110. package/dist/cjs/{md.transition-80bb961b.js → md.transition-907af519.js} +3 -3
  111. package/dist/cjs/{overlays-1a734051.js → overlays-2ffc5f27.js} +1 -1
  112. package/dist/cjs/{status-tap-778e8054.js → status-tap-3fb2391a.js} +2 -2
  113. package/dist/cjs/{watch-options-f3f77e54.js → watch-options-53bbb124.js} +14 -3
  114. package/dist/collection/collection-manifest.json +1 -1
  115. package/dist/collection/components/accordion-group/accordion-group.js +10 -0
  116. package/dist/collection/components/accordion-group/accordion-group.md.css +2 -2
  117. package/dist/collection/components/action-sheet/action-sheet.ios.css +18 -5
  118. package/dist/collection/components/action-sheet/action-sheet.md.css +18 -5
  119. package/dist/collection/components/action-sheet/test/basic/action-sheet.e2e.js +59 -0
  120. package/dist/collection/components/alert/alert.ios.css +37 -4
  121. package/dist/collection/components/alert/alert.md.css +37 -4
  122. package/dist/collection/components/alert/test/a11y/alert.e2e.js +48 -0
  123. package/dist/collection/components/checkbox/checkbox.ios.css +3 -3
  124. package/dist/collection/components/checkbox/checkbox.md.css +3 -3
  125. package/dist/collection/components/datetime/datetime.ios.css +24 -4
  126. package/dist/collection/components/datetime/datetime.js +47 -22
  127. package/dist/collection/components/datetime/datetime.md.css +24 -8
  128. package/dist/collection/components/datetime/test/a11y/datetime.e2e.js +66 -0
  129. package/dist/collection/components/datetime/test/disabled/datetime.e2e.js +68 -0
  130. package/dist/collection/components/datetime/test/readonly/datetime.e2e.js +113 -0
  131. package/dist/collection/components/fab/fab.css +24 -36
  132. package/dist/collection/components/fab/test/safe-area/fab.e2e.js +63 -0
  133. package/dist/collection/components/fab-list/fab-list.css +2 -2
  134. package/dist/collection/components/header/header.ios.css +4 -1
  135. package/dist/collection/components/input/input.ios.css +15 -15
  136. package/dist/collection/components/input/input.js +9 -2
  137. package/dist/collection/components/input/input.md.css +22 -10
  138. package/dist/collection/components/item/item.ios.css +60 -12
  139. package/dist/collection/components/item/item.md.css +63 -15
  140. package/dist/collection/components/item/test/basic/item.e2e.js +26 -0
  141. package/dist/collection/components/item-divider/item-divider.ios.css +35 -8
  142. package/dist/collection/components/item-divider/item-divider.md.css +35 -8
  143. package/dist/collection/components/item-divider/test/basic/item-divider.e2e.js +22 -0
  144. package/dist/collection/components/item-option/item-option.ios.css +0 -10
  145. package/dist/collection/components/item-option/item-option.md.css +0 -10
  146. package/dist/collection/components/item-sliding/test/basic/item-sliding.e2e.js +77 -0
  147. package/dist/collection/components/label/label.ios.css +1 -1
  148. package/dist/collection/components/list/list.ios.css +15 -1
  149. package/dist/collection/components/list/list.md.css +41 -3
  150. package/dist/collection/components/list/test/lines/list.e2e.js +143 -0
  151. package/dist/collection/components/list-header/list-header.ios.css +15 -2
  152. package/dist/collection/components/list-header/list-header.md.css +15 -2
  153. package/dist/collection/components/list-header/test/basic/list-header.e2e.js +28 -0
  154. package/dist/collection/components/menu/menu.ios.css +4 -4
  155. package/dist/collection/components/menu/menu.js +15 -3
  156. package/dist/collection/components/menu/menu.md.css +4 -4
  157. package/dist/collection/components/modal/animations/ios.enter.js +3 -3
  158. package/dist/collection/components/modal/animations/ios.leave.js +4 -4
  159. package/dist/collection/components/modal/modal.ios.css +2 -2
  160. package/dist/collection/components/picker/picker.ios.css +1 -1
  161. package/dist/collection/components/picker/picker.md.css +1 -1
  162. package/dist/collection/components/picker-internal/picker-internal.ios.css +2 -2
  163. package/dist/collection/components/picker-internal/picker-internal.md.css +2 -2
  164. package/dist/collection/components/picker-internal/test/basic/picker-internal.e2e.js +5 -0
  165. package/dist/collection/components/popover/popover.ios.css +4 -4
  166. package/dist/collection/components/popover/popover.md.css +2 -2
  167. package/dist/collection/components/radio/radio.ios.css +4 -4
  168. package/dist/collection/components/radio/radio.js +5 -2
  169. package/dist/collection/components/radio/radio.md.css +4 -4
  170. package/dist/collection/components/radio/test/legacy/a11y/radio.e2e.js +5 -5
  171. package/dist/collection/components/radio-group/radio-group.js +10 -1
  172. package/dist/collection/components/range/range.ios.css +1 -1
  173. package/dist/collection/components/range/range.md.css +1 -1
  174. package/dist/collection/components/refresher/refresher.utils.js +8 -1
  175. package/dist/collection/components/reorder/reorder.ios.css +1 -34
  176. package/dist/collection/components/reorder/reorder.md.css +1 -34
  177. package/dist/collection/components/searchbar/searchbar.js +9 -2
  178. package/dist/collection/components/searchbar/searchbar.md.css +12 -6
  179. package/dist/collection/components/searchbar/test/basic/searchbar.e2e.js +25 -0
  180. package/dist/collection/components/segment/segment.js +43 -17
  181. package/dist/collection/components/select/select.ios.css +12 -15
  182. package/dist/collection/components/select/select.md.css +16 -7
  183. package/dist/collection/components/split-pane/test/multiple/split-pane.e2e.js +31 -0
  184. package/dist/collection/components/tab-bar/tab-bar.ios.css +4 -4
  185. package/dist/collection/components/tab-bar/tab-bar.md.css +4 -4
  186. package/dist/collection/components/tab-bar/test/basic/tab-bar.e2e.js +43 -0
  187. package/dist/collection/components/tab-button/tab-button.ios.css +3 -3
  188. package/dist/collection/components/tab-button/tab-button.md.css +3 -3
  189. package/dist/collection/components/textarea/textarea.ios.css +19 -19
  190. package/dist/collection/components/textarea/textarea.js +9 -2
  191. package/dist/collection/components/textarea/textarea.md.css +26 -20
  192. package/dist/collection/components/title/title.ios.css +11 -2
  193. package/dist/collection/components/toast/toast.ios.css +1 -1
  194. package/dist/collection/components/toast/toast.md.css +1 -1
  195. package/dist/collection/components/toggle/toggle.ios.css +3 -3
  196. package/dist/collection/components/toggle/toggle.md.css +3 -3
  197. package/dist/collection/utils/animation/animation.js +18 -3
  198. package/dist/collection/utils/content/index.js +0 -1
  199. package/dist/collection/utils/forms/form-controller.js +1 -5
  200. package/dist/collection/utils/input-shims/hacks/common.js +9 -1
  201. package/dist/collection/utils/transition/ios.transition.js +209 -41
  202. package/dist/collection/utils/watch-options.js +14 -3
  203. package/dist/docs.json +3 -3
  204. package/dist/esm/{animation-92066c62.js → animation-8aa13916.js} +18 -3
  205. package/dist/esm/{app-globals-ec816a70.js → app-globals-2398e405.js} +1 -1
  206. package/dist/esm/{button-active-d926d4f4.js → button-active-ce5cba4c.js} +1 -1
  207. package/dist/esm/{form-controller-ed77647a.js → form-controller-64edeaad.js} +1 -5
  208. package/dist/esm/{index-df55802d.js → index-0aa6e61f.js} +2 -2
  209. package/dist/esm/{index-746a238e.js → index-4392efa5.js} +0 -1
  210. package/dist/esm/{index-7d2b2808.js → index-6a0ccabb.js} +3 -3
  211. package/dist/esm/{index-b49b173c.js → index-7c9b1bca.js} +127 -57
  212. package/dist/esm/index.js +8 -8
  213. package/dist/esm/{input-shims-d78a3c77.js → input-shims-d0c93e5d.js} +10 -2
  214. package/dist/esm/ion-accordion_2.entry.js +13 -3
  215. package/dist/esm/ion-action-sheet.entry.js +7 -7
  216. package/dist/esm/ion-alert.entry.js +7 -7
  217. package/dist/esm/ion-app_8.entry.js +8 -8
  218. package/dist/esm/ion-avatar_3.entry.js +2 -2
  219. package/dist/esm/ion-back-button.entry.js +2 -2
  220. package/dist/esm/ion-backdrop.entry.js +2 -2
  221. package/dist/esm/ion-breadcrumb_2.entry.js +2 -2
  222. package/dist/esm/ion-button_2.entry.js +2 -2
  223. package/dist/esm/ion-card_5.entry.js +2 -2
  224. package/dist/esm/ion-checkbox.entry.js +5 -5
  225. package/dist/esm/ion-chip.entry.js +2 -2
  226. package/dist/esm/ion-col_3.entry.js +2 -2
  227. package/dist/esm/ion-datetime-button.entry.js +2 -2
  228. package/dist/esm/ion-datetime_3.entry.js +52 -27
  229. package/dist/esm/ion-fab_3.entry.js +4 -4
  230. package/dist/esm/ion-img.entry.js +2 -2
  231. package/dist/esm/ion-infinite-scroll_2.entry.js +3 -3
  232. package/dist/esm/ion-input.entry.js +14 -7
  233. package/dist/esm/ion-item-option_3.entry.js +6 -6
  234. package/dist/esm/ion-item_8.entry.js +10 -10
  235. package/dist/esm/ion-loading.entry.js +4 -4
  236. package/dist/esm/ion-menu_3.entry.js +22 -10
  237. package/dist/esm/ion-modal.entry.js +14 -14
  238. package/dist/esm/ion-nav_2.entry.js +3 -3
  239. package/dist/esm/ion-picker-column-internal.entry.js +2 -2
  240. package/dist/esm/ion-picker-internal.entry.js +3 -3
  241. package/dist/esm/ion-popover.entry.js +7 -7
  242. package/dist/esm/ion-progress-bar.entry.js +2 -2
  243. package/dist/esm/ion-radio_2.entry.js +15 -7
  244. package/dist/esm/ion-range.entry.js +6 -6
  245. package/dist/esm/ion-refresher_2.entry.js +12 -5
  246. package/dist/esm/ion-reorder_2.entry.js +5 -5
  247. package/dist/esm/ion-ripple-effect.entry.js +2 -2
  248. package/dist/esm/ion-route_4.entry.js +2 -2
  249. package/dist/esm/ion-searchbar.entry.js +12 -5
  250. package/dist/esm/ion-segment_2.entry.js +45 -19
  251. package/dist/esm/ion-select_3.entry.js +7 -7
  252. package/dist/esm/ion-spinner.entry.js +2 -2
  253. package/dist/esm/ion-split-pane.entry.js +2 -2
  254. package/dist/esm/ion-tab-bar_2.entry.js +6 -6
  255. package/dist/esm/ion-tab_2.entry.js +1 -1
  256. package/dist/esm/ion-text.entry.js +2 -2
  257. package/dist/esm/ion-textarea.entry.js +14 -7
  258. package/dist/esm/ion-toast.entry.js +6 -6
  259. package/dist/esm/ion-toggle.entry.js +5 -5
  260. package/dist/esm/{ionic-global-246ca78f.js → ionic-global-40e42e7f.js} +1 -1
  261. package/dist/esm/ionic.js +5 -5
  262. package/dist/esm/{ios.transition-a86d7bbe.js → ios.transition-1651c430.js} +212 -44
  263. package/dist/esm/loader.js +4 -4
  264. package/dist/esm/{md.transition-365ef6b6.js → md.transition-66f18369.js} +3 -3
  265. package/dist/esm/{overlays-cec6bac8.js → overlays-6c9feb7e.js} +1 -1
  266. package/dist/esm/{status-tap-9aeeaca5.js → status-tap-9ce68758.js} +2 -2
  267. package/dist/esm/{watch-options-355a920a.js → watch-options-02d8498b.js} +14 -3
  268. package/dist/esm-es5/animation-8aa13916.js +4 -0
  269. package/dist/esm-es5/app-globals-2398e405.js +4 -0
  270. package/dist/esm-es5/{button-active-d926d4f4.js → button-active-ce5cba4c.js} +1 -1
  271. package/dist/esm-es5/config-96c9ace3.js +1 -1
  272. package/dist/esm-es5/cubic-bezier-66542bc5.js +1 -1
  273. package/dist/esm-es5/data-44d9e816.js +1 -1
  274. package/dist/esm-es5/dir-912e3e13.js +1 -1
  275. package/dist/esm-es5/focus-visible-85493433.js +1 -1
  276. package/dist/esm-es5/form-controller-64edeaad.js +4 -0
  277. package/dist/esm-es5/framework-delegate-aa433dea.js +1 -1
  278. package/dist/esm-es5/gesture-controller-0fa396c4.js +1 -1
  279. package/dist/esm-es5/haptic-1243b917.js +1 -1
  280. package/dist/esm-es5/hardware-back-button-39299f84.js +1 -1
  281. package/dist/esm-es5/helpers-3379ba19.js +1 -1
  282. package/dist/esm-es5/index-0aa6e61f.js +4 -0
  283. package/dist/esm-es5/index-4392efa5.js +4 -0
  284. package/dist/esm-es5/index-6a0ccabb.js +4 -0
  285. package/dist/esm-es5/index-7c9b1bca.js +5 -0
  286. package/dist/esm-es5/index-f0cc4e14.js +1 -1
  287. package/dist/esm-es5/index-ff313b19.js +1 -1
  288. package/dist/esm-es5/index.js +1 -1
  289. package/dist/esm-es5/input-shims-d0c93e5d.js +4 -0
  290. package/dist/esm-es5/input.utils-ec063df4.js +1 -1
  291. package/dist/esm-es5/ion-accordion_2.entry.js +1 -1
  292. package/dist/esm-es5/ion-action-sheet.entry.js +1 -1
  293. package/dist/esm-es5/ion-alert.entry.js +1 -1
  294. package/dist/esm-es5/ion-app_8.entry.js +1 -1
  295. package/dist/esm-es5/ion-avatar_3.entry.js +1 -1
  296. package/dist/esm-es5/ion-back-button.entry.js +1 -1
  297. package/dist/esm-es5/ion-backdrop.entry.js +1 -1
  298. package/dist/esm-es5/ion-breadcrumb_2.entry.js +1 -1
  299. package/dist/esm-es5/ion-button_2.entry.js +1 -1
  300. package/dist/esm-es5/ion-card_5.entry.js +1 -1
  301. package/dist/esm-es5/ion-checkbox.entry.js +1 -1
  302. package/dist/esm-es5/ion-chip.entry.js +1 -1
  303. package/dist/esm-es5/ion-col_3.entry.js +1 -1
  304. package/dist/esm-es5/ion-datetime-button.entry.js +1 -1
  305. package/dist/esm-es5/ion-datetime_3.entry.js +1 -1
  306. package/dist/esm-es5/ion-fab_3.entry.js +1 -1
  307. package/dist/esm-es5/ion-img.entry.js +1 -1
  308. package/dist/esm-es5/ion-infinite-scroll_2.entry.js +1 -1
  309. package/dist/esm-es5/ion-input.entry.js +1 -1
  310. package/dist/esm-es5/ion-item-option_3.entry.js +1 -1
  311. package/dist/esm-es5/ion-item_8.entry.js +1 -1
  312. package/dist/esm-es5/ion-loading.entry.js +1 -1
  313. package/dist/esm-es5/ion-menu_3.entry.js +1 -1
  314. package/dist/esm-es5/ion-modal.entry.js +1 -1
  315. package/dist/esm-es5/ion-nav_2.entry.js +1 -1
  316. package/dist/esm-es5/ion-picker-column-internal.entry.js +1 -1
  317. package/dist/esm-es5/ion-picker-internal.entry.js +1 -1
  318. package/dist/esm-es5/ion-popover.entry.js +1 -1
  319. package/dist/esm-es5/ion-progress-bar.entry.js +1 -1
  320. package/dist/esm-es5/ion-radio_2.entry.js +1 -1
  321. package/dist/esm-es5/ion-range.entry.js +1 -1
  322. package/dist/esm-es5/ion-refresher_2.entry.js +1 -1
  323. package/dist/esm-es5/ion-reorder_2.entry.js +1 -1
  324. package/dist/esm-es5/ion-ripple-effect.entry.js +1 -1
  325. package/dist/esm-es5/ion-route_4.entry.js +1 -1
  326. package/dist/esm-es5/ion-searchbar.entry.js +1 -1
  327. package/dist/esm-es5/ion-segment_2.entry.js +1 -1
  328. package/dist/esm-es5/ion-select_3.entry.js +1 -1
  329. package/dist/esm-es5/ion-spinner.entry.js +1 -1
  330. package/dist/esm-es5/ion-split-pane.entry.js +1 -1
  331. package/dist/esm-es5/ion-tab-bar_2.entry.js +1 -1
  332. package/dist/esm-es5/ion-tab_2.entry.js +1 -1
  333. package/dist/esm-es5/ion-text.entry.js +1 -1
  334. package/dist/esm-es5/ion-textarea.entry.js +1 -1
  335. package/dist/esm-es5/ion-toast.entry.js +1 -1
  336. package/dist/esm-es5/ion-toggle.entry.js +1 -1
  337. package/dist/esm-es5/ionic-global-40e42e7f.js +4 -0
  338. package/dist/esm-es5/ionic.js +1 -1
  339. package/dist/esm-es5/ios.transition-1651c430.js +4 -0
  340. package/dist/esm-es5/keyboard-b551279d.js +1 -1
  341. package/dist/esm-es5/keyboard-controller-0c2dce71.js +1 -1
  342. package/dist/esm-es5/loader.js +1 -1
  343. package/dist/esm-es5/md.transition-66f18369.js +4 -0
  344. package/dist/esm-es5/notch-controller-8c9c0e54.js +1 -1
  345. package/dist/esm-es5/overlays-6c9feb7e.js +4 -0
  346. package/dist/esm-es5/spinner-configs-d09fbbbb.js +1 -1
  347. package/dist/esm-es5/status-tap-9ce68758.js +4 -0
  348. package/dist/esm-es5/swipe-back-cd4295f3.js +1 -1
  349. package/dist/esm-es5/watch-options-02d8498b.js +4 -0
  350. package/dist/html.html-data.json +1 -1
  351. package/dist/ionic/index.esm.js +1 -1
  352. package/dist/ionic/ionic.esm.js +1 -1
  353. package/dist/ionic/ionic.js +1 -1
  354. package/dist/ionic/p-0330f0a3.system.entry.js +4 -0
  355. package/dist/ionic/{p-a7f8dc42.entry.js → p-0492946a.entry.js} +1 -1
  356. package/dist/ionic/{p-78030c1f.system.entry.js → p-07d9e9cd.system.entry.js} +1 -1
  357. package/dist/ionic/{p-ced41304.system.js → p-09d142b3.system.js} +1 -1
  358. package/dist/ionic/{p-fcf47f80.entry.js → p-0a794e83.entry.js} +1 -1
  359. package/dist/ionic/p-0d8e9393.entry.js +4 -0
  360. package/dist/ionic/p-0dc0d9b5.entry.js +4 -0
  361. package/dist/ionic/p-0e23256e.system.entry.js +4 -0
  362. package/dist/ionic/p-14aca3fb.entry.js +4 -0
  363. package/dist/ionic/p-14b4348c.system.js +4 -0
  364. package/dist/ionic/{p-108f9d49.entry.js → p-174f3446.entry.js} +1 -1
  365. package/dist/ionic/p-18e01b30.system.entry.js +4 -0
  366. package/dist/ionic/p-1a8ae7a7.system.entry.js +4 -0
  367. package/dist/ionic/p-1cb5f2f8.system.entry.js +4 -0
  368. package/dist/ionic/{p-c42c86c0.system.entry.js → p-1d269117.system.entry.js} +1 -1
  369. package/dist/ionic/{p-0ac3fb2c.entry.js → p-1dc91702.entry.js} +1 -1
  370. package/dist/ionic/p-1e5165db.system.entry.js +4 -0
  371. package/dist/ionic/{p-0b00b937.entry.js → p-1e86a71b.entry.js} +1 -1
  372. package/dist/ionic/p-1f4f0d59.system.entry.js +4 -0
  373. package/dist/ionic/p-20cf4994.js +4 -0
  374. package/dist/ionic/p-236063ec.system.entry.js +4 -0
  375. package/dist/ionic/p-2b89ea1b.system.js +1 -1
  376. package/dist/ionic/p-2e8e0045.js +4 -0
  377. package/dist/ionic/{p-ce7d67a7.system.entry.js → p-34d2de14.system.entry.js} +2 -2
  378. package/dist/ionic/{p-303bf1e8.system.entry.js → p-352c0232.system.entry.js} +2 -2
  379. package/dist/ionic/p-3602001b.system.js +4 -0
  380. package/dist/ionic/p-3632220b.system.js +1 -1
  381. package/dist/ionic/p-377c636c.system.entry.js +4 -0
  382. package/dist/ionic/{p-f9fa802c.system.entry.js → p-39044fe6.system.entry.js} +2 -2
  383. package/dist/ionic/{p-38089641.entry.js → p-3ce8c3e3.entry.js} +1 -1
  384. package/dist/ionic/p-3d7fea9b.system.entry.js +4 -0
  385. package/dist/ionic/p-3de79805.entry.js +4 -0
  386. package/dist/ionic/{p-0bbede6a.system.entry.js → p-3fb57e1b.system.entry.js} +1 -1
  387. package/dist/ionic/{p-5c3e72a8.system.js → p-40903d34.system.js} +1 -1
  388. package/dist/ionic/p-41122cd6.system.js +4 -0
  389. package/dist/ionic/p-41477ad9.system.js +1 -1
  390. package/dist/ionic/p-44bc8b45.system.js +2 -2
  391. package/dist/ionic/p-4518e4c0.system.entry.js +4 -0
  392. package/dist/ionic/{p-eab10949.system.entry.js → p-45da1e68.system.entry.js} +1 -1
  393. package/dist/ionic/p-4794e0ac.system.entry.js +4 -0
  394. package/dist/ionic/p-479cdbf8.system.js +2 -2
  395. package/dist/ionic/{p-4e50b8d1.entry.js → p-48d9faa7.entry.js} +1 -1
  396. package/dist/ionic/{p-8d6728a1.system.entry.js → p-4a142496.system.entry.js} +1 -1
  397. package/dist/ionic/p-4c80afe1.system.entry.js +4 -0
  398. package/dist/ionic/p-4cd588b3.system.entry.js +4 -0
  399. package/dist/ionic/{p-afb6658f.entry.js → p-4dbac22d.entry.js} +1 -1
  400. package/dist/ionic/p-4e6a1efb.system.entry.js +4 -0
  401. package/dist/ionic/p-4ecb5692.entry.js +4 -0
  402. package/dist/ionic/p-5370e786.js +4 -0
  403. package/dist/ionic/p-55ed230e.system.js +4 -0
  404. package/dist/ionic/p-56dc022e.system.js +1 -1
  405. package/dist/ionic/p-5aac9314.system.js +4 -0
  406. package/dist/ionic/p-5bd4e009.entry.js +4 -0
  407. package/dist/ionic/{p-6f8a95a3.system.entry.js → p-5cfb3feb.system.entry.js} +2 -2
  408. package/dist/ionic/{p-181b7c2a.js → p-5d711127.js} +1 -1
  409. package/dist/ionic/p-5da0eb3e.system.entry.js +4 -0
  410. package/dist/ionic/p-5deff017.entry.js +4 -0
  411. package/dist/ionic/p-613d4042.system.js +2 -2
  412. package/dist/ionic/p-63d519fb.entry.js +4 -0
  413. package/dist/ionic/{p-8083aadb.entry.js → p-63f08fe3.entry.js} +1 -1
  414. package/dist/ionic/{p-35b26732.entry.js → p-64296b15.entry.js} +1 -1
  415. package/dist/ionic/p-64ed03a3.entry.js +4 -0
  416. package/dist/ionic/p-664d2b07.system.entry.js +4 -0
  417. package/dist/ionic/p-67aab78f.js +4 -0
  418. package/dist/ionic/{p-e0f52215.system.entry.js → p-67e18f02.system.entry.js} +1 -1
  419. package/dist/ionic/{p-572cce26.system.entry.js → p-67ed452a.system.entry.js} +2 -2
  420. package/dist/ionic/p-67eecef4.system.js +4 -0
  421. package/dist/ionic/{p-76378400.js → p-6c3d5383.js} +1 -1
  422. package/dist/ionic/{p-1289b3b5.system.entry.js → p-6e23777e.system.entry.js} +2 -2
  423. package/dist/ionic/p-702d85d8.system.js +4 -0
  424. package/dist/ionic/{p-1edb53a1.entry.js → p-7176cea3.entry.js} +1 -1
  425. package/dist/ionic/p-73411c1b.entry.js +4 -0
  426. package/dist/ionic/p-73420380.js +4 -0
  427. package/dist/ionic/{p-6ea2e653.entry.js → p-744973f3.entry.js} +1 -1
  428. package/dist/ionic/p-772f6c84.system.js +2 -2
  429. package/dist/ionic/p-77e7a9c8.entry.js +4 -0
  430. package/dist/ionic/p-7ab6fc5a.system.entry.js +4 -0
  431. package/dist/ionic/{p-31119a15.entry.js → p-7cee75c0.entry.js} +1 -1
  432. package/dist/ionic/{p-cf62e1c8.js → p-800ef057.js} +1 -1
  433. package/dist/ionic/p-815c2fba.system.js +2 -2
  434. package/dist/ionic/p-819ff3b9.system.js +1 -1
  435. package/dist/ionic/p-87411e39.system.js +1 -1
  436. package/dist/ionic/p-8a308596.system.js +4 -0
  437. package/dist/ionic/{p-3818f63f.entry.js → p-8ad82eb3.entry.js} +1 -1
  438. package/dist/ionic/{p-c4a5de01.entry.js → p-8b29691f.entry.js} +1 -1
  439. package/dist/ionic/p-8c15eda7.system.js +2 -2
  440. package/dist/ionic/p-8e1bded3.entry.js +4 -0
  441. package/dist/ionic/{p-15decbec.entry.js → p-9209d90c.entry.js} +1 -1
  442. package/dist/ionic/{p-96ba8eac.entry.js → p-92800752.entry.js} +1 -1
  443. package/dist/ionic/p-965677f1.entry.js +4 -0
  444. package/dist/ionic/{p-446230d7.js → p-97c65aa5.js} +1 -1
  445. package/dist/ionic/p-97e31c0a.system.js +4 -0
  446. package/dist/ionic/p-9ab6f3e6.system.js +1 -1
  447. package/dist/ionic/{p-62e7d4fa.js → p-9b89cbde.js} +1 -1
  448. package/dist/ionic/p-9e852ff1.system.js +1 -1
  449. package/dist/ionic/p-a0b6d438.js +4 -0
  450. package/dist/ionic/p-a545b4f1.system.js +4 -0
  451. package/dist/ionic/p-a5c1e6ce.entry.js +4 -0
  452. package/dist/ionic/p-a6d83a03.system.entry.js +4 -0
  453. package/dist/ionic/p-a8e68fd9.entry.js +4 -0
  454. package/dist/ionic/{p-aa377971.system.js → p-a936d224.system.js} +1 -1
  455. package/dist/ionic/{p-beb864e4.system.entry.js → p-a9c3699b.system.entry.js} +1 -1
  456. package/dist/ionic/p-ab4cff27.system.js +1 -1
  457. package/dist/ionic/{p-012952cd.system.entry.js → p-abacb44b.system.entry.js} +2 -2
  458. package/dist/ionic/{p-1f81b5be.entry.js → p-af016cd3.entry.js} +1 -1
  459. package/dist/ionic/{p-a9c32660.entry.js → p-b0cee324.entry.js} +1 -1
  460. package/dist/ionic/{p-f4309ac7.entry.js → p-b1142133.entry.js} +1 -1
  461. package/dist/ionic/p-b17b7c3c.system.entry.js +4 -0
  462. package/dist/ionic/p-b203659a.system.entry.js +4 -0
  463. package/dist/ionic/{p-c679fcb5.entry.js → p-b2a74a72.entry.js} +1 -1
  464. package/dist/ionic/p-b4b4bb29.system.js +1 -1
  465. package/dist/ionic/p-b6f8ee31.entry.js +4 -0
  466. package/dist/ionic/p-b8c3f071.system.js +1 -1
  467. package/dist/ionic/p-b906c5ca.entry.js +4 -0
  468. package/dist/ionic/p-b912e055.system.js +1 -1
  469. package/dist/ionic/{p-e42aaa8b.entry.js → p-b91fe549.entry.js} +1 -1
  470. package/dist/ionic/p-bba2ce59.system.js +1 -1
  471. package/dist/ionic/p-beb64be7.system.entry.js +4 -0
  472. package/dist/ionic/p-bed722c4.system.entry.js +4 -0
  473. package/dist/ionic/p-c0c81820.system.js +4 -0
  474. package/dist/ionic/p-c224b9a9.js +5 -0
  475. package/dist/ionic/p-c4042875.system.js +4 -0
  476. package/dist/ionic/p-c4f2dce7.system.js +1 -1
  477. package/dist/ionic/{p-6f6646bf.system.entry.js → p-c7b8c2ef.system.entry.js} +1 -1
  478. package/dist/ionic/{p-1ecba429.entry.js → p-c7d30db9.entry.js} +1 -1
  479. package/dist/ionic/{p-db1a1e00.entry.js → p-c919498d.entry.js} +1 -1
  480. package/dist/ionic/{p-54200074.entry.js → p-ca5219df.entry.js} +1 -1
  481. package/dist/ionic/p-ccdcb022.system.js +1 -1
  482. package/dist/ionic/p-cf425ec5.system.entry.js +4 -0
  483. package/dist/ionic/p-d2597b3e.system.js +5 -0
  484. package/dist/ionic/p-d3952bd5.system.entry.js +4 -0
  485. package/dist/ionic/{p-8c1805f4.system.entry.js → p-d7ea6a0d.system.entry.js} +1 -1
  486. package/dist/ionic/p-db5043df.system.entry.js +4 -0
  487. package/dist/ionic/p-dfa756ed.system.js +4 -0
  488. package/dist/ionic/{p-28ea45b9.js → p-e6b240a0.js} +1 -1
  489. package/dist/ionic/{p-cabd2c6d.entry.js → p-e76a4bc8.entry.js} +1 -1
  490. package/dist/ionic/{p-cf0c93e3.system.entry.js → p-e8400078.system.entry.js} +2 -2
  491. package/dist/ionic/{p-4e6e43c1.entry.js → p-ed636a74.entry.js} +1 -1
  492. package/dist/ionic/p-f10de93b.js +4 -0
  493. package/dist/ionic/{p-f919c026.entry.js → p-f4cc91f6.entry.js} +1 -1
  494. package/dist/ionic/p-f5a750e4.system.entry.js +4 -0
  495. package/dist/ionic/p-f8e620f1.entry.js +4 -0
  496. package/dist/ionic/p-fa8d4788.system.js +1 -1
  497. package/dist/ionic/{p-8a2801f1.system.entry.js → p-ff5144f3.system.entry.js} +1 -1
  498. package/dist/ionic/p-ff5a10f9.system.js +2 -2
  499. package/dist/ionic/{p-6129af0a.system.entry.js → p-ffb876b0.system.entry.js} +1 -1
  500. package/dist/types/components/datetime/datetime.d.ts +1 -1
  501. package/dist/types/components/menu/menu-interface.d.ts +15 -4
  502. package/dist/types/components/radio/radio.d.ts +1 -1
  503. package/dist/types/components.d.ts +627 -3
  504. package/dist/types/stencil-public-runtime.d.ts +21 -0
  505. package/dist/types/utils/content/index.d.ts +1 -1
  506. package/dist/types/utils/focus-visible.d.ts +3 -2
  507. package/dist/types/utils/menu-controller/index.d.ts +2 -21
  508. package/dist/types/utils/test/platform.utils.d.ts +9 -9
  509. package/dist/types/utils/watch-options.d.ts +9 -1
  510. package/hydrate/index.d.ts +1 -1
  511. package/hydrate/index.js +567 -238
  512. package/package.json +11 -14
  513. package/dist/esm-es5/animation-92066c62.js +0 -4
  514. package/dist/esm-es5/app-globals-ec816a70.js +0 -4
  515. package/dist/esm-es5/form-controller-ed77647a.js +0 -4
  516. package/dist/esm-es5/index-746a238e.js +0 -4
  517. package/dist/esm-es5/index-7d2b2808.js +0 -4
  518. package/dist/esm-es5/index-b49b173c.js +0 -5
  519. package/dist/esm-es5/index-df55802d.js +0 -4
  520. package/dist/esm-es5/input-shims-d78a3c77.js +0 -4
  521. package/dist/esm-es5/ionic-global-246ca78f.js +0 -4
  522. package/dist/esm-es5/ios.transition-a86d7bbe.js +0 -4
  523. package/dist/esm-es5/md.transition-365ef6b6.js +0 -4
  524. package/dist/esm-es5/overlays-cec6bac8.js +0 -4
  525. package/dist/esm-es5/status-tap-9aeeaca5.js +0 -4
  526. package/dist/esm-es5/watch-options-355a920a.js +0 -4
  527. package/dist/ionic/p-015187e5.system.js +0 -4
  528. package/dist/ionic/p-06ac429a.js +0 -5
  529. package/dist/ionic/p-0b7c25ee.system.entry.js +0 -4
  530. package/dist/ionic/p-0f1f59da.system.entry.js +0 -4
  531. package/dist/ionic/p-128a98e8.system.js +0 -4
  532. package/dist/ionic/p-16e44585.js +0 -4
  533. package/dist/ionic/p-19fba51c.entry.js +0 -4
  534. package/dist/ionic/p-1a463b1e.system.entry.js +0 -4
  535. package/dist/ionic/p-1f260a7b.entry.js +0 -4
  536. package/dist/ionic/p-29073efe.system.entry.js +0 -4
  537. package/dist/ionic/p-2bbf3ac4.system.entry.js +0 -4
  538. package/dist/ionic/p-33a8349a.system.entry.js +0 -4
  539. package/dist/ionic/p-34259245.system.entry.js +0 -4
  540. package/dist/ionic/p-35e399bd.entry.js +0 -4
  541. package/dist/ionic/p-38c5fe2b.system.entry.js +0 -4
  542. package/dist/ionic/p-3a58e3a4.system.entry.js +0 -4
  543. package/dist/ionic/p-3d726a67.system.js +0 -4
  544. package/dist/ionic/p-3f3da911.system.entry.js +0 -4
  545. package/dist/ionic/p-4215652f.system.entry.js +0 -4
  546. package/dist/ionic/p-4f97c112.entry.js +0 -4
  547. package/dist/ionic/p-54f6cd27.system.entry.js +0 -4
  548. package/dist/ionic/p-5b976d70.entry.js +0 -4
  549. package/dist/ionic/p-5bf16a18.js +0 -4
  550. package/dist/ionic/p-629aa3fd.system.js +0 -5
  551. package/dist/ionic/p-64475ab5.system.js +0 -4
  552. package/dist/ionic/p-673846f6.entry.js +0 -4
  553. package/dist/ionic/p-6ce0a709.system.entry.js +0 -4
  554. package/dist/ionic/p-818b2e75.entry.js +0 -4
  555. package/dist/ionic/p-81ef7437.system.entry.js +0 -4
  556. package/dist/ionic/p-8e24ebbc.js +0 -4
  557. package/dist/ionic/p-8f01a9a2.system.js +0 -4
  558. package/dist/ionic/p-939e0fa1.system.js +0 -4
  559. package/dist/ionic/p-95817276.system.entry.js +0 -4
  560. package/dist/ionic/p-9b9dcc3e.system.entry.js +0 -4
  561. package/dist/ionic/p-9dc85536.system.entry.js +0 -4
  562. package/dist/ionic/p-9f2e0db9.js +0 -4
  563. package/dist/ionic/p-a04bfada.entry.js +0 -4
  564. package/dist/ionic/p-a164e3ab.system.entry.js +0 -4
  565. package/dist/ionic/p-a200a7fc.entry.js +0 -4
  566. package/dist/ionic/p-a34fc12e.system.entry.js +0 -4
  567. package/dist/ionic/p-ad48dd13.system.js +0 -4
  568. package/dist/ionic/p-b132c2c0.system.js +0 -4
  569. package/dist/ionic/p-b3c68723.system.js +0 -4
  570. package/dist/ionic/p-b61a2fa0.system.entry.js +0 -4
  571. package/dist/ionic/p-b753ec0d.system.entry.js +0 -4
  572. package/dist/ionic/p-b9047b05.system.js +0 -4
  573. package/dist/ionic/p-c05315f5.system.entry.js +0 -4
  574. package/dist/ionic/p-c105bd36.entry.js +0 -4
  575. package/dist/ionic/p-c49672d8.system.js +0 -4
  576. package/dist/ionic/p-c87827ca.system.js +0 -4
  577. package/dist/ionic/p-c8c9d699.system.entry.js +0 -4
  578. package/dist/ionic/p-c92f0a6d.system.entry.js +0 -4
  579. package/dist/ionic/p-c956e82c.system.entry.js +0 -4
  580. package/dist/ionic/p-c994fff0.system.js +0 -4
  581. package/dist/ionic/p-ca5cf574.js +0 -4
  582. package/dist/ionic/p-cd2d17c3.system.entry.js +0 -4
  583. package/dist/ionic/p-d35217be.entry.js +0 -4
  584. package/dist/ionic/p-d6e53e66.entry.js +0 -4
  585. package/dist/ionic/p-e1d5752d.system.entry.js +0 -4
  586. package/dist/ionic/p-e2bb634f.js +0 -4
  587. package/dist/ionic/p-e38a5f77.js +0 -4
  588. package/dist/ionic/p-e65ebe96.entry.js +0 -4
  589. package/dist/ionic/p-e74faf2a.entry.js +0 -4
  590. package/dist/ionic/p-eac263dd.entry.js +0 -4
  591. package/dist/ionic/p-f34f001c.entry.js +0 -4
  592. package/dist/ionic/p-f5bf698b.entry.js +0 -4
  593. package/dist/ionic/p-f7566bad.entry.js +0 -4
  594. /package/dist/ionic/{p-b24aa895.js → p-114a36ed.js} +0 -0
@@ -1,11 +1,11 @@
1
1
  /*!
2
2
  * (C) Ionic http://ionicframework.com - MIT License
3
3
  */
4
- import { c as createAnimation } from './animation-92066c62.js';
5
- import { g as getIonPageElement } from './index-7d2b2808.js';
4
+ import { c as createAnimation } from './animation-8aa13916.js';
5
+ import { g as getIonPageElement } from './index-6a0ccabb.js';
6
6
  import './index-7a14ecec.js';
7
7
  import './helpers-3379ba19.js';
8
- import './index-b49b173c.js';
8
+ import './index-7c9b1bca.js';
9
9
 
10
10
  const DURATION = 540;
11
11
  // TODO(FW-2832): types
@@ -58,60 +58,134 @@ const createLargeTitleTransition = (rootAnimation, rtl, backDirection, enteringE
58
58
  if (shouldAnimationForward) {
59
59
  const leavingLargeTitleBox = leavingLargeTitle.getBoundingClientRect();
60
60
  const enteringBackButtonBox = enteringBackButton.getBoundingClientRect();
61
- animateLargeTitle(rootAnimation, rtl, backDirection, leavingLargeTitle, leavingLargeTitleBox, enteringBackButtonBox);
62
- animateBackButton(rootAnimation, rtl, backDirection, enteringBackButton, leavingLargeTitleBox, enteringBackButtonBox);
61
+ const enteringBackButtonTextEl = shadow(enteringBackButton).querySelector('.button-text');
62
+ const enteringBackButtonTextBox = enteringBackButtonTextEl.getBoundingClientRect();
63
+ const leavingLargeTitleTextEl = shadow(leavingLargeTitle).querySelector('.toolbar-title');
64
+ const leavingLargeTitleTextBox = leavingLargeTitleTextEl.getBoundingClientRect();
65
+ animateLargeTitle(rootAnimation, rtl, backDirection, leavingLargeTitle, leavingLargeTitleBox, leavingLargeTitleTextBox, enteringBackButtonTextEl, enteringBackButtonTextBox);
66
+ animateBackButton(rootAnimation, rtl, backDirection, enteringBackButton, enteringBackButtonBox, enteringBackButtonTextEl, enteringBackButtonTextBox, leavingLargeTitle, leavingLargeTitleTextBox);
63
67
  }
64
68
  else if (shouldAnimationBackward) {
65
69
  const enteringLargeTitleBox = enteringLargeTitle.getBoundingClientRect();
66
70
  const leavingBackButtonBox = leavingBackButton.getBoundingClientRect();
67
- animateLargeTitle(rootAnimation, rtl, backDirection, enteringLargeTitle, enteringLargeTitleBox, leavingBackButtonBox);
68
- animateBackButton(rootAnimation, rtl, backDirection, leavingBackButton, enteringLargeTitleBox, leavingBackButtonBox);
71
+ const leavingBackButtonTextEl = shadow(leavingBackButton).querySelector('.button-text');
72
+ const leavingBackButtonTextBox = leavingBackButtonTextEl.getBoundingClientRect();
73
+ const enteringLargeTitleTextEl = shadow(enteringLargeTitle).querySelector('.toolbar-title');
74
+ const enteringLargeTitleTextBox = enteringLargeTitleTextEl.getBoundingClientRect();
75
+ animateLargeTitle(rootAnimation, rtl, backDirection, enteringLargeTitle, enteringLargeTitleBox, enteringLargeTitleTextBox, leavingBackButtonTextEl, leavingBackButtonTextBox);
76
+ animateBackButton(rootAnimation, rtl, backDirection, leavingBackButton, leavingBackButtonBox, leavingBackButtonTextEl, leavingBackButtonTextBox, enteringLargeTitle, enteringLargeTitleTextBox);
69
77
  }
70
78
  return {
71
79
  forward: shouldAnimationForward,
72
80
  backward: shouldAnimationBackward,
73
81
  };
74
82
  };
75
- const animateBackButton = (rootAnimation, rtl, backDirection, backButtonEl, largeTitleBox, backButtonBox) => {
83
+ const animateBackButton = (rootAnimation, rtl, backDirection, backButtonEl, backButtonBox, backButtonTextEl, backButtonTextBox, largeTitleEl, largeTitleTextBox) => {
84
+ var _a, _b;
76
85
  const BACK_BUTTON_START_OFFSET = rtl ? `calc(100% - ${backButtonBox.right + 4}px)` : `${backButtonBox.left - 4}px`;
77
- const START_TEXT_TRANSLATE = rtl ? '7px' : '-7px';
78
- const END_TEXT_TRANSLATE = rtl ? '-4px' : '4px';
79
- const ICON_TRANSLATE = rtl ? '-4px' : '4px';
80
86
  const TEXT_ORIGIN_X = rtl ? 'right' : 'left';
81
87
  const ICON_ORIGIN_X = rtl ? 'left' : 'right';
88
+ const CONTAINER_ORIGIN_X = rtl ? 'right' : 'left';
89
+ /**
90
+ * When the title and back button texts match
91
+ * then they should overlap during the page transition.
92
+ * If the texts do not match up then the back button text scale adjusts
93
+ * to not perfectly match the large title text otherwise the
94
+ * proportions will be incorrect.
95
+ * When the texts match we scale both the width and height to account for
96
+ * font weight differences between the title and back button.
97
+ */
98
+ const doTitleAndButtonTextsMatch = ((_a = backButtonTextEl.textContent) === null || _a === void 0 ? void 0 : _a.trim()) === ((_b = largeTitleEl.textContent) === null || _b === void 0 ? void 0 : _b.trim());
99
+ const WIDTH_SCALE = largeTitleTextBox.width / backButtonTextBox.width;
100
+ /**
101
+ * We subtract an offset to account for slight sizing/padding
102
+ * differences between the title and the back button.
103
+ */
104
+ const HEIGHT_SCALE = (largeTitleTextBox.height - LARGE_TITLE_SIZE_OFFSET) / backButtonTextBox.height;
105
+ const TEXT_START_SCALE = doTitleAndButtonTextsMatch
106
+ ? `scale(${WIDTH_SCALE}, ${HEIGHT_SCALE})`
107
+ : `scale(${HEIGHT_SCALE})`;
108
+ const TEXT_END_SCALE = 'scale(1)';
109
+ const backButtonIconEl = shadow(backButtonEl).querySelector('ion-icon');
110
+ const backButtonIconBox = backButtonIconEl.getBoundingClientRect();
111
+ /**
112
+ * We need to offset the container by the icon dimensions
113
+ * so that the back button text aligns with the large title
114
+ * text. Otherwise, the back button icon will align with the
115
+ * large title text but the back button text will not.
116
+ */
117
+ const CONTAINER_START_TRANSLATE_X = rtl
118
+ ? `${backButtonIconBox.width / 2 - (backButtonIconBox.right - backButtonBox.right)}px`
119
+ : `${backButtonBox.left - backButtonIconBox.width / 2}px`;
120
+ const CONTAINER_END_TRANSLATE_X = rtl ? `-${window.innerWidth - backButtonBox.right}px` : `${backButtonBox.left}px`;
121
+ /**
122
+ * Back button container should be
123
+ * aligned to the top of the title container
124
+ * so the texts overlap as the back button
125
+ * text begins to fade in.
126
+ */
127
+ const CONTAINER_START_TRANSLATE_Y = `${largeTitleTextBox.top}px`;
128
+ /**
129
+ * The cloned back button should align exactly with the
130
+ * real back button on the entering page otherwise there will
131
+ * be a layout shift.
132
+ */
133
+ const CONTAINER_END_TRANSLATE_Y = `${backButtonBox.top}px`;
134
+ /**
135
+ * In the forward direction, the cloned back button
136
+ * container should translate from over the large title
137
+ * to over the back button. In the backward direction,
138
+ * it should translate from over the back button to over
139
+ * the large title.
140
+ */
141
+ const FORWARD_CONTAINER_KEYFRAMES = [
142
+ { offset: 0, transform: `translate3d(${CONTAINER_START_TRANSLATE_X}, ${CONTAINER_START_TRANSLATE_Y}, 0)` },
143
+ { offset: 1, transform: `translate3d(${CONTAINER_END_TRANSLATE_X}, ${CONTAINER_END_TRANSLATE_Y}, 0)` },
144
+ ];
145
+ const BACKWARD_CONTAINER_KEYFRAMES = [
146
+ { offset: 0, transform: `translate3d(${CONTAINER_END_TRANSLATE_X}, ${CONTAINER_END_TRANSLATE_Y}, 0)` },
147
+ { offset: 1, transform: `translate3d(${CONTAINER_START_TRANSLATE_X}, ${CONTAINER_START_TRANSLATE_Y}, 0)` },
148
+ ];
149
+ const CONTAINER_KEYFRAMES = backDirection ? BACKWARD_CONTAINER_KEYFRAMES : FORWARD_CONTAINER_KEYFRAMES;
150
+ /**
151
+ * In the forward direction, the text in the cloned back button
152
+ * should start to be (roughly) the size of the large title
153
+ * and then scale down to be the size of the actual back button.
154
+ * The text should also translate, but that translate is handled
155
+ * by the container keyframes.
156
+ */
82
157
  const FORWARD_TEXT_KEYFRAMES = [
83
- {
84
- offset: 0,
85
- opacity: 0,
86
- transform: `translate3d(${START_TEXT_TRANSLATE}, ${largeTitleBox.top - 40}px, 0) scale(2.1)`,
87
- },
88
- { offset: 1, opacity: 1, transform: `translate3d(${END_TEXT_TRANSLATE}, ${backButtonBox.top - 46}px, 0) scale(1)` },
158
+ { offset: 0, opacity: 0, transform: TEXT_START_SCALE },
159
+ { offset: 1, opacity: 1, transform: TEXT_END_SCALE },
89
160
  ];
90
161
  const BACKWARD_TEXT_KEYFRAMES = [
91
- { offset: 0, opacity: 1, transform: `translate3d(${END_TEXT_TRANSLATE}, ${backButtonBox.top - 46}px, 0) scale(1)` },
92
- { offset: 0.6, opacity: 0 },
93
- {
94
- offset: 1,
95
- opacity: 0,
96
- transform: `translate3d(${START_TEXT_TRANSLATE}, ${largeTitleBox.top - 40}px, 0) scale(2.1)`,
97
- },
162
+ { offset: 0, opacity: 1, transform: TEXT_END_SCALE },
163
+ { offset: 1, opacity: 0, transform: TEXT_START_SCALE },
98
164
  ];
99
165
  const TEXT_KEYFRAMES = backDirection ? BACKWARD_TEXT_KEYFRAMES : FORWARD_TEXT_KEYFRAMES;
166
+ /**
167
+ * The icon should scale in/out in the second
168
+ * half of the animation. The icon should also
169
+ * translate, but that translate is handled by the
170
+ * container keyframes.
171
+ */
100
172
  const FORWARD_ICON_KEYFRAMES = [
101
- { offset: 0, opacity: 0, transform: `translate3d(${ICON_TRANSLATE}, ${backButtonBox.top - 41}px, 0) scale(0.6)` },
102
- { offset: 1, opacity: 1, transform: `translate3d(${ICON_TRANSLATE}, ${backButtonBox.top - 46}px, 0) scale(1)` },
173
+ { offset: 0, opacity: 0, transform: 'scale(0.6)' },
174
+ { offset: 0.6, opacity: 0, transform: 'scale(0.6)' },
175
+ { offset: 1, opacity: 1, transform: 'scale(1)' },
103
176
  ];
104
177
  const BACKWARD_ICON_KEYFRAMES = [
105
- { offset: 0, opacity: 1, transform: `translate3d(${ICON_TRANSLATE}, ${backButtonBox.top - 46}px, 0) scale(1)` },
106
- { offset: 0.2, opacity: 0, transform: `translate3d(${ICON_TRANSLATE}, ${backButtonBox.top - 41}px, 0) scale(0.6)` },
107
- { offset: 1, opacity: 0, transform: `translate3d(${ICON_TRANSLATE}, ${backButtonBox.top - 41}px, 0) scale(0.6)` },
178
+ { offset: 0, opacity: 1, transform: 'scale(1)' },
179
+ { offset: 0.2, opacity: 0, transform: 'scale(0.6)' },
180
+ { offset: 1, opacity: 0, transform: 'scale(0.6)' },
108
181
  ];
109
182
  const ICON_KEYFRAMES = backDirection ? BACKWARD_ICON_KEYFRAMES : FORWARD_ICON_KEYFRAMES;
110
183
  const enteringBackButtonTextAnimation = createAnimation();
111
184
  const enteringBackButtonIconAnimation = createAnimation();
185
+ const enteringBackButtonAnimation = createAnimation();
112
186
  const clonedBackButtonEl = getClonedElement('ion-back-button');
113
- const backButtonTextEl = shadow(clonedBackButtonEl).querySelector('.button-text');
114
- const backButtonIconEl = shadow(clonedBackButtonEl).querySelector('ion-icon');
187
+ const clonedBackButtonTextEl = shadow(clonedBackButtonEl).querySelector('.button-text');
188
+ const clonedBackButtonIconEl = shadow(clonedBackButtonEl).querySelector('ion-icon');
115
189
  clonedBackButtonEl.text = backButtonEl.text;
116
190
  clonedBackButtonEl.mode = backButtonEl.mode;
117
191
  clonedBackButtonEl.icon = backButtonEl.icon;
@@ -119,11 +193,19 @@ const animateBackButton = (rootAnimation, rtl, backDirection, backButtonEl, larg
119
193
  clonedBackButtonEl.disabled = backButtonEl.disabled;
120
194
  clonedBackButtonEl.style.setProperty('display', 'block');
121
195
  clonedBackButtonEl.style.setProperty('position', 'fixed');
122
- enteringBackButtonIconAnimation.addElement(backButtonIconEl);
123
- enteringBackButtonTextAnimation.addElement(backButtonTextEl);
196
+ enteringBackButtonIconAnimation.addElement(clonedBackButtonIconEl);
197
+ enteringBackButtonTextAnimation.addElement(clonedBackButtonTextEl);
198
+ enteringBackButtonAnimation.addElement(clonedBackButtonEl);
199
+ enteringBackButtonAnimation
200
+ .beforeStyles({
201
+ position: 'absolute',
202
+ top: '0px',
203
+ [CONTAINER_ORIGIN_X]: '0px',
204
+ })
205
+ .keyframes(CONTAINER_KEYFRAMES);
124
206
  enteringBackButtonTextAnimation
125
207
  .beforeStyles({
126
- 'transform-origin': `${TEXT_ORIGIN_X} center`,
208
+ 'transform-origin': `${TEXT_ORIGIN_X} top`,
127
209
  })
128
210
  .beforeAddWrite(() => {
129
211
  backButtonEl.style.setProperty('display', 'none');
@@ -140,21 +222,91 @@ const animateBackButton = (rootAnimation, rtl, backDirection, backButtonEl, larg
140
222
  'transform-origin': `${ICON_ORIGIN_X} center`,
141
223
  })
142
224
  .keyframes(ICON_KEYFRAMES);
143
- rootAnimation.addAnimation([enteringBackButtonTextAnimation, enteringBackButtonIconAnimation]);
225
+ rootAnimation.addAnimation([
226
+ enteringBackButtonTextAnimation,
227
+ enteringBackButtonIconAnimation,
228
+ enteringBackButtonAnimation,
229
+ ]);
144
230
  };
145
- const animateLargeTitle = (rootAnimation, rtl, backDirection, largeTitleEl, largeTitleBox, backButtonBox) => {
146
- const TITLE_START_OFFSET = rtl ? `calc(100% - ${largeTitleBox.right}px)` : `${largeTitleBox.left}px`;
147
- const START_TRANSLATE = rtl ? '-18px' : '18px';
231
+ const animateLargeTitle = (rootAnimation, rtl, backDirection, largeTitleEl, largeTitleBox, largeTitleTextBox, backButtonTextEl, backButtonTextBox) => {
232
+ var _a, _b;
233
+ /**
234
+ * The horizontal transform origin for the large title
235
+ */
148
236
  const ORIGIN_X = rtl ? 'right' : 'left';
237
+ const TITLE_START_OFFSET = rtl ? `calc(100% - ${largeTitleBox.right}px)` : `${largeTitleBox.left}px`;
238
+ /**
239
+ * The cloned large should align exactly with the
240
+ * real large title on the leaving page otherwise there will
241
+ * be a layout shift.
242
+ */
243
+ const START_TRANSLATE_X = '0px';
244
+ const START_TRANSLATE_Y = `${largeTitleBox.top}px`;
245
+ /**
246
+ * How much to offset the large title translation by.
247
+ * This accounts for differences in sizing between the large
248
+ * title and the back button due to padding and font weight.
249
+ */
250
+ const LARGE_TITLE_TRANSLATION_OFFSET = 8;
251
+ /**
252
+ * The scaled title should (roughly) overlap the back button.
253
+ * This ensures that the back button and title overlap during
254
+ * the animation. Note that since both elements either fade in
255
+ * or fade out over the course of the animation, neither element
256
+ * will be fully visible on top of the other. As a result, the overlap
257
+ * does not need to be perfect, so approximate values are acceptable here.
258
+ */
259
+ const END_TRANSLATE_X = rtl
260
+ ? `-${window.innerWidth - backButtonTextBox.right - LARGE_TITLE_TRANSLATION_OFFSET}px`
261
+ : `${backButtonTextBox.x - LARGE_TITLE_TRANSLATION_OFFSET}px`;
262
+ /**
263
+ * The top of the scaled large title
264
+ * should match with the top of the
265
+ * back button text element.
266
+ * We subtract 2px to account for the top padding
267
+ * on the large title element.
268
+ */
269
+ const LARGE_TITLE_TOP_PADDING = 2;
270
+ const END_TRANSLATE_Y = `${backButtonTextBox.y - LARGE_TITLE_TOP_PADDING}px`;
271
+ /**
272
+ * In the forward direction, the large title should start at its
273
+ * normal size and then scale down to be (roughly) the size of the
274
+ * back button on the other view. In the backward direction, the
275
+ * large title should start at (roughly) the size of the back button
276
+ * and then scale up to its original size.
277
+ *
278
+ * Note that since both elements either fade in
279
+ * or fade out over the course of the animation, neither element
280
+ * will be fully visible on top of the other. As a result, the overlap
281
+ * does not need to be perfect, so approximate values are acceptable here.
282
+ */
283
+ /**
284
+ * When the title and back button texts match
285
+ * then they should overlap during the page transition.
286
+ * If the texts do not match up then the large title text scale adjusts
287
+ * to not perfectly match the back button text otherwise the
288
+ * proportions will be incorrect.
289
+ * When the texts match we scale both the width and height to account for
290
+ * font weight differences between the title and back button.
291
+ */
292
+ const doTitleAndButtonTextsMatch = ((_a = backButtonTextEl.textContent) === null || _a === void 0 ? void 0 : _a.trim()) === ((_b = largeTitleEl.textContent) === null || _b === void 0 ? void 0 : _b.trim());
293
+ const WIDTH_SCALE = backButtonTextBox.width / largeTitleTextBox.width;
294
+ const HEIGHT_SCALE = backButtonTextBox.height / (largeTitleTextBox.height - LARGE_TITLE_SIZE_OFFSET);
295
+ const START_SCALE = 'scale(1)';
296
+ const END_SCALE = doTitleAndButtonTextsMatch ? `scale(${WIDTH_SCALE}, ${HEIGHT_SCALE})` : `scale(${HEIGHT_SCALE})`;
149
297
  const BACKWARDS_KEYFRAMES = [
150
- { offset: 0, opacity: 0, transform: `translate3d(${START_TRANSLATE}, ${backButtonBox.top - 4}px, 0) scale(0.49)` },
298
+ { offset: 0, opacity: 0, transform: `translate3d(${END_TRANSLATE_X}, ${END_TRANSLATE_Y}, 0) ${END_SCALE}` },
151
299
  { offset: 0.1, opacity: 0 },
152
- { offset: 1, opacity: 1, transform: `translate3d(0, ${largeTitleBox.top + 2}px, 0) scale(1)` },
300
+ { offset: 1, opacity: 1, transform: `translate3d(${START_TRANSLATE_X}, ${START_TRANSLATE_Y}, 0) ${START_SCALE}` },
153
301
  ];
154
302
  const FORWARDS_KEYFRAMES = [
155
- { offset: 0, opacity: 0.99, transform: `translate3d(0, ${largeTitleBox.top + 2}px, 0) scale(1)` },
303
+ {
304
+ offset: 0,
305
+ opacity: 0.99,
306
+ transform: `translate3d(${START_TRANSLATE_X}, ${START_TRANSLATE_Y}, 0) ${START_SCALE}`,
307
+ },
156
308
  { offset: 0.6, opacity: 0 },
157
- { offset: 1, opacity: 0, transform: `translate3d(${START_TRANSLATE}, ${backButtonBox.top - 4}px, 0) scale(0.5)` },
309
+ { offset: 1, opacity: 0, transform: `translate3d(${END_TRANSLATE_X}, ${END_TRANSLATE_Y}, 0) ${END_SCALE}` },
158
310
  ];
159
311
  const KEYFRAMES = backDirection ? BACKWARDS_KEYFRAMES : FORWARDS_KEYFRAMES;
160
312
  const clonedTitleEl = getClonedElement('ion-title');
@@ -165,8 +317,14 @@ const animateLargeTitle = (rootAnimation, rtl, backDirection, largeTitleEl, larg
165
317
  clonedLargeTitleAnimation.addElement(clonedTitleEl);
166
318
  clonedLargeTitleAnimation
167
319
  .beforeStyles({
168
- 'transform-origin': `${ORIGIN_X} center`,
169
- height: '46px',
320
+ 'transform-origin': `${ORIGIN_X} top`,
321
+ /**
322
+ * Since font size changes will cause
323
+ * the dimension of the large title to change
324
+ * we need to set the cloned title height
325
+ * equal to that of the original large title height.
326
+ */
327
+ height: `${largeTitleBox.height}px`,
170
328
  display: '',
171
329
  position: 'relative',
172
330
  [ORIGIN_X]: TITLE_START_OFFSET,
@@ -479,5 +637,15 @@ const iosTransitionAnimation = (navEl, opts) => {
479
637
  throw err;
480
638
  }
481
639
  };
640
+ /**
641
+ * The scale of the back button during the animation
642
+ * is computed based on the scale of the large title
643
+ * and vice versa. However, we need to account for slight
644
+ * variations in the size of the large title due to
645
+ * padding and font weight. This value should be used to subtract
646
+ * a small amount from the large title height when computing scales
647
+ * to get more accurate scale results.
648
+ */
649
+ const LARGE_TITLE_SIZE_OFFSET = 10;
482
650
 
483
651
  export { iosTransitionAnimation, shadow };
@@ -1,10 +1,10 @@
1
1
  /*!
2
2
  * (C) Ionic http://ionicframework.com - MIT License
3
3
  */
4
- import { b as bootstrapLazy } from './index-b49b173c.js';
5
- export { s as setNonce } from './index-b49b173c.js';
6
- import { g as globalScripts } from './app-globals-ec816a70.js';
7
- import './ionic-global-246ca78f.js';
4
+ import { b as bootstrapLazy } from './index-7c9b1bca.js';
5
+ export { s as setNonce } from './index-7c9b1bca.js';
6
+ import { g as globalScripts } from './app-globals-2398e405.js';
7
+ import './ionic-global-40e42e7f.js';
8
8
 
9
9
  const defineCustomElements = (win, options) => {
10
10
  if (typeof window === 'undefined') return undefined;
@@ -1,11 +1,11 @@
1
1
  /*!
2
2
  * (C) Ionic http://ionicframework.com - MIT License
3
3
  */
4
- import { c as createAnimation } from './animation-92066c62.js';
5
- import { g as getIonPageElement } from './index-7d2b2808.js';
4
+ import { c as createAnimation } from './animation-8aa13916.js';
5
+ import { g as getIonPageElement } from './index-6a0ccabb.js';
6
6
  import './index-7a14ecec.js';
7
7
  import './helpers-3379ba19.js';
8
- import './index-b49b173c.js';
8
+ import './index-7c9b1bca.js';
9
9
 
10
10
  const mdTransitionAnimation = (_, opts) => {
11
11
  var _a, _b, _c;
@@ -2,7 +2,7 @@
2
2
  * (C) Ionic http://ionicframework.com - MIT License
3
3
  */
4
4
  import { d as doc } from './index-7a14ecec.js';
5
- import { b as getIonMode, c as config } from './ionic-global-246ca78f.js';
5
+ import { b as getIonMode, c as config } from './ionic-global-40e42e7f.js';
6
6
  import { C as CoreDelegate } from './framework-delegate-aa433dea.js';
7
7
  import { OVERLAY_BACK_BUTTON_PRIORITY } from './hardware-back-button-39299f84.js';
8
8
  import { c as componentOnReady, f as focusElement, a as addEventListener, b as removeEventListener, g as getElementRoot } from './helpers-3379ba19.js';
@@ -1,8 +1,8 @@
1
1
  /*!
2
2
  * (C) Ionic http://ionicframework.com - MIT License
3
3
  */
4
- import { e as readTask, w as writeTask } from './index-b49b173c.js';
5
- import { f as findClosestIonContent, s as scrollToTop } from './index-746a238e.js';
4
+ import { e as readTask, w as writeTask } from './index-7c9b1bca.js';
5
+ import { f as findClosestIonContent, s as scrollToTop } from './index-4392efa5.js';
6
6
  import { c as componentOnReady } from './helpers-3379ba19.js';
7
7
  import './index-595d62c9.js';
8
8
 
@@ -1,7 +1,6 @@
1
1
  /*!
2
2
  * (C) Ionic http://ionicframework.com - MIT License
3
3
  */
4
- // TODO(FW-2832): types
5
4
  const watchForOptions = (containerEl, tagName, onChange) => {
6
5
  if (typeof MutationObserver === 'undefined') {
7
6
  return;
@@ -25,10 +24,22 @@ const getSelectedOption = (mutationList, tagName) => {
25
24
  });
26
25
  return newOption;
27
26
  };
28
- const findCheckedOption = (el, tagName) => {
29
- if (el.nodeType !== 1) {
27
+ /**
28
+ * The "value" key is only set on some components such as ion-select-option.
29
+ * As a result, we create a default union type of HTMLElement and the "value" key.
30
+ * However, implementers are required to provide the appropriate component type
31
+ * such as HTMLIonSelectOptionElement.
32
+ */
33
+ const findCheckedOption = (node, tagName) => {
34
+ /**
35
+ * https://developer.mozilla.org/en-US/docs/Web/API/Node/nodeType
36
+ * The above check ensures "node" is an Element (nodeType 1).
37
+ */
38
+ if (node.nodeType !== 1) {
30
39
  return undefined;
31
40
  }
41
+ // HTMLElement inherits from Element, so we cast "el" as T.
42
+ const el = node;
32
43
  const options = el.tagName === tagName.toUpperCase() ? [el] : Array.from(el.querySelectorAll(tagName));
33
44
  return options.find((o) => o.value === el.value);
34
45
  };
@@ -0,0 +1,4 @@
1
+ import{__spreadArray}from"tslib";
2
+ /*!
3
+ * (C) Ionic http://ionicframework.com - MIT License
4
+ */import{w as win}from"./index-7a14ecec.js";import{r as raf}from"./helpers-3379ba19.js";var animationPrefix;var processKeyframes=function(n){n.forEach((function(n){for(var r in n){if(n.hasOwnProperty(r)){var e=n[r];if(r==="easing"){var t="animation-timing-function";n[t]=e;delete n[r]}else{var t=convertCamelCaseToHypen(r);if(t!==r){n[t]=e;delete n[r]}}}}}));return n};var convertCamelCaseToHypen=function(n){return n.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()};var getAnimationPrefix=function(n){if(animationPrefix===undefined){var r=n.style.animationName!==undefined;var e=n.style.webkitAnimationName!==undefined;animationPrefix=!r&&e?"-webkit-":""}return animationPrefix};var setStyleProperty=function(n,r,e){var t=r.startsWith("animation")?getAnimationPrefix(n):"";n.style.setProperty(t+r,e)};var removeStyleProperty=function(n,r){var e=r.startsWith("animation")?getAnimationPrefix(n):"";n.style.removeProperty(e+r)};var animationEnd=function(n,r){var e;var t={passive:true};var i=function(){if(e){e()}};var a=function(e){if(n===e.target){i();r(e)}};if(n){n.addEventListener("webkitAnimationEnd",a,t);n.addEventListener("animationend",a,t);e=function(){n.removeEventListener("webkitAnimationEnd",a,t);n.removeEventListener("animationend",a,t)}}return i};var generateKeyframeRules=function(n){if(n===void 0){n=[]}return n.map((function(n){var r=n.offset;var e=[];for(var t in n){if(n.hasOwnProperty(t)&&t!=="offset"){e.push("".concat(t,": ").concat(n[t],";"))}}return"".concat(r*100,"% { ").concat(e.join(" ")," }")})).join(" ")};var keyframeIds=[];var generateKeyframeName=function(n){var r=keyframeIds.indexOf(n);if(r<0){r=keyframeIds.push(n)-1}return"ion-animation-".concat(r)};var getStyleContainer=function(n){var r=n.getRootNode!==undefined?n.getRootNode():n;return r.head||r};var createKeyframeStylesheet=function(n,r,e){var t;var i=getStyleContainer(e);var a=getAnimationPrefix(e);var f=i.querySelector("#"+n);if(f){return f}var o=((t=e.ownerDocument)!==null&&t!==void 0?t:document).createElement("style");o.id=n;o.textContent="@".concat(a,"keyframes ").concat(n," { ").concat(r," } @").concat(a,"keyframes ").concat(n,"-alt { ").concat(r," }");i.appendChild(o);return o};var addClassToArray=function(n,r){if(n===void 0){n=[]}if(r!==undefined){var e=Array.isArray(r)?r:[r];return __spreadArray(__spreadArray([],n,true),e,true)}return n};var createAnimation=function(n){var r;var e;var t;var i;var a;var f;var o=[];var u=[];var v=[];var l=false;var s;var c={};var d=[];var y=[];var m={};var p=0;var S=false;var P=false;var g;var A;var C;var b;var T=true;var k=false;var E=true;var _;var x;var K=false;var h=n;var w=[];var I=[];var R=[];var F=[];var D=[];var W=[];var j=[];var H=[];var M=[];var N=[];var $=[];var z=typeof AnimationEffect==="function"||win!==undefined&&typeof win.AnimationEffect==="function";var Z=typeof Element==="function"&&typeof Element.prototype.animate==="function"&&z;var q=100;var B=function(){return $};var G=function(n){D.forEach((function(r){r.destroy(n)}));J(n);F.length=0;D.length=0;o.length=0;X();l=false;E=true;return x};var J=function(n){Y();if(n){nn()}};var L=function(){S=false;P=false;E=true;A=undefined;C=undefined;b=undefined;p=0;k=false;T=true;K=false};var O=function(){return p!==0&&!K};var Q=function(n,r){var e=r.findIndex((function(r){return r.c===n}));if(e>-1){r.splice(e,1)}};var U=function(n,r){R.push({c:n,o:r});return x};var V=function(n,r){var e=(r===null||r===void 0?void 0:r.oneTimeCallback)?I:w;e.push({c:n,o:r});return x};var X=function(){w.length=0;I.length=0;return x};var Y=function(){if(Z){$.forEach((function(n){n.cancel()}));$.length=0}else{var n=F.slice();raf((function(){n.forEach((function(n){removeStyleProperty(n,"animation-name");removeStyleProperty(n,"animation-duration");removeStyleProperty(n,"animation-timing-function");removeStyleProperty(n,"animation-iteration-count");removeStyleProperty(n,"animation-delay");removeStyleProperty(n,"animation-play-state");removeStyleProperty(n,"animation-fill-mode");removeStyleProperty(n,"animation-direction")}))}))}};var nn=function(){W.forEach((function(n){if(n===null||n===void 0?void 0:n.parentNode){n.parentNode.removeChild(n)}}));W.length=0};var rn=function(n){j.push(n);return x};var en=function(n){H.push(n);return x};var tn=function(n){M.push(n);return x};var an=function(n){N.push(n);return x};var fn=function(n){u=addClassToArray(u,n);return x};var on=function(n){v=addClassToArray(v,n);return x};var un=function(n){if(n===void 0){n={}}c=n;return x};var vn=function(n){if(n===void 0){n=[]}for(var r=0,e=n;r<e.length;r++){var t=e[r];c[t]=""}return x};var ln=function(n){d=addClassToArray(d,n);return x};var sn=function(n){y=addClassToArray(y,n);return x};var cn=function(n){if(n===void 0){n={}}m=n;return x};var dn=function(n){if(n===void 0){n=[]}for(var r=0,e=n;r<e.length;r++){var t=e[r];m[t]=""}return x};var yn=function(){if(a!==undefined){return a}if(s){return s.getFill()}return"both"};var mn=function(){if(A!==undefined){return A}if(f!==undefined){return f}if(s){return s.getDirection()}return"normal"};var pn=function(){if(S){return"linear"}if(t!==undefined){return t}if(s){return s.getEasing()}return"linear"};var Sn=function(){if(P){return 0}if(C!==undefined){return C}if(e!==undefined){return e}if(s){return s.getDuration()}return 0};var Pn=function(){if(i!==undefined){return i}if(s){return s.getIterations()}return 1};var gn=function(){if(b!==undefined){return b}if(r!==undefined){return r}if(s){return s.getDelay()}return 0};var An=function(){return o};var Cn=function(n){f=n;zn(true);return x};var bn=function(n){a=n;zn(true);return x};var Tn=function(n){r=n;zn(true);return x};var kn=function(n){t=n;zn(true);return x};var En=function(n){if(!Z&&n===0){n=1}e=n;zn(true);return x};var _n=function(n){i=n;zn(true);return x};var xn=function(n){s=n;return x};var Kn=function(n){if(n!=null){if(n.nodeType===1){F.push(n)}else if(n.length>=0){for(var r=0;r<n.length;r++){F.push(n[r])}}else{console.error("Invalid addElement value")}}return x};var hn=function(n){if(n!=null){if(Array.isArray(n)){for(var r=0,e=n;r<e.length;r++){var t=e[r];t.parent(x);D.push(t)}}else{n.parent(x);D.push(n)}}return x};var wn=function(n){var r=o!==n;o=n;if(r){In(o)}return x};var In=function(n){if(Z){B().forEach((function(r){var e=r.effect;if(e.setKeyframes){e.setKeyframes(n)}else{var t=new KeyframeEffect(e.target,n,e.getTiming());r.effect=t}}))}else{Wn()}};var Rn=function(){j.forEach((function(n){return n()}));H.forEach((function(n){return n()}));var n=u;var r=v;var e=c;F.forEach((function(t){var i=t.classList;n.forEach((function(n){return i.add(n)}));r.forEach((function(n){return i.remove(n)}));for(var a in e){if(e.hasOwnProperty(a)){setStyleProperty(t,a,e[a])}}}))};var Fn=function(){On();M.forEach((function(n){return n()}));N.forEach((function(n){return n()}));var n=T?1:0;var r=d;var e=y;var t=m;F.forEach((function(n){var i=n.classList;r.forEach((function(n){return i.add(n)}));e.forEach((function(n){return i.remove(n)}));for(var a in t){if(t.hasOwnProperty(a)){setStyleProperty(n,a,t[a])}}}));w.forEach((function(r){return r.c(n,x)}));I.forEach((function(r){return r.c(n,x)}));I.length=0;E=true;if(T){k=true}T=true};var Dn=function(){if(p===0){return}p--;if(p===0){Fn();if(s){s.animationFinish()}}};var Wn=function(r){if(r===void 0){r=true}nn();var e=processKeyframes(o);F.forEach((function(t){if(e.length>0){var i=generateKeyframeRules(e);_=n!==undefined?n:generateKeyframeName(i);var a=createKeyframeStylesheet(_,i,t);W.push(a);setStyleProperty(t,"animation-duration","".concat(Sn(),"ms"));setStyleProperty(t,"animation-timing-function",pn());setStyleProperty(t,"animation-delay","".concat(gn(),"ms"));setStyleProperty(t,"animation-fill-mode",yn());setStyleProperty(t,"animation-direction",mn());var f=Pn()===Infinity?"infinite":Pn().toString();setStyleProperty(t,"animation-iteration-count",f);setStyleProperty(t,"animation-play-state","paused");if(r){setStyleProperty(t,"animation-name","".concat(a.id,"-alt"))}raf((function(){setStyleProperty(t,"animation-name",a.id||null)}))}}))};var jn=function(){F.forEach((function(n){var r=n.animate(o,{id:h,delay:gn(),duration:Sn(),easing:pn(),iterations:Pn(),fill:yn(),direction:mn()});r.pause();$.push(r)}));if($.length>0){$[0].onfinish=function(){Dn()}}};var Hn=function(n){if(n===void 0){n=true}Rn();if(o.length>0){if(Z){jn()}else{Wn(n)}}l=true};var Mn=function(n){n=Math.min(Math.max(n,0),.9999);if(Z){$.forEach((function(r){r.currentTime=r.effect.getComputedTiming().delay+Sn()*n;r.pause()}))}else{var r="-".concat(Sn()*n,"ms");F.forEach((function(n){if(o.length>0){setStyleProperty(n,"animation-delay",r);setStyleProperty(n,"animation-play-state","paused")}}))}};var Nn=function(n){$.forEach((function(n){n.effect.updateTiming({delay:gn(),duration:Sn(),easing:pn(),iterations:Pn(),fill:yn(),direction:mn()})}));if(n!==undefined){Mn(n)}};var $n=function(n,r){if(n===void 0){n=true}raf((function(){F.forEach((function(e){setStyleProperty(e,"animation-name",_||null);setStyleProperty(e,"animation-duration","".concat(Sn(),"ms"));setStyleProperty(e,"animation-timing-function",pn());setStyleProperty(e,"animation-delay",r!==undefined?"-".concat(r*Sn(),"ms"):"".concat(gn(),"ms"));setStyleProperty(e,"animation-fill-mode",yn()||null);setStyleProperty(e,"animation-direction",mn()||null);var t=Pn()===Infinity?"infinite":Pn().toString();setStyleProperty(e,"animation-iteration-count",t);if(n){setStyleProperty(e,"animation-name","".concat(_,"-alt"))}raf((function(){setStyleProperty(e,"animation-name",_||null)}))}))}))};var zn=function(n,r,e){if(n===void 0){n=false}if(r===void 0){r=true}if(n){D.forEach((function(t){t.update(n,r,e)}))}if(Z){Nn(e)}else{$n(r,e)}return x};var Zn=function(n,r){if(n===void 0){n=false}D.forEach((function(e){e.progressStart(n,r)}));Gn();S=n;if(!l){Hn()}zn(false,true,r);return x};var qn=function(n){D.forEach((function(r){r.progressStep(n)}));Mn(n);return x};var Bn=function(n,r,e){S=false;D.forEach((function(t){t.progressEnd(n,r,e)}));if(e!==undefined){C=e}k=false;T=true;if(n===0){A=mn()==="reverse"?"normal":"reverse";if(A==="reverse"){T=false}if(Z){zn();Mn(1-r)}else{b=(1-r)*Sn()*-1;zn(false,false)}}else if(n===1){if(Z){zn();Mn(r)}else{b=r*Sn()*-1;zn(false,false)}}if(n!==undefined){V((function(){C=undefined;A=undefined;b=undefined}),{oneTimeCallback:true});if(!s){Yn()}}return x};var Gn=function(){if(l){if(Z){$.forEach((function(n){n.pause()}))}else{F.forEach((function(n){setStyleProperty(n,"animation-play-state","paused")}))}K=true}};var Jn=function(){D.forEach((function(n){n.pause()}));Gn();return x};var Ln=function(){g=undefined;Dn()};var On=function(){if(g){clearTimeout(g)}};var Qn=function(){On();raf((function(){F.forEach((function(n){if(o.length>0){setStyleProperty(n,"animation-play-state","running")}}))}));if(o.length===0||F.length===0){Dn()}else{var n=gn()||0;var r=Sn()||0;var e=Pn()||1;if(isFinite(e)){g=setTimeout(Ln,n+r*e+q)}animationEnd(F[0],(function(){On();raf((function(){Un();raf(Dn)}))}))}};var Un=function(){F.forEach((function(n){removeStyleProperty(n,"animation-duration");removeStyleProperty(n,"animation-delay");removeStyleProperty(n,"animation-play-state")}))};var Vn=function(){$.forEach((function(n){n.play()}));if(o.length===0||F.length===0){Dn()}};var Xn=function(){if(Z){Mn(0);Nn()}else{$n()}};var Yn=function(n){return new Promise((function(r){if(n===null||n===void 0?void 0:n.sync){P=true;V((function(){return P=false}),{oneTimeCallback:true})}if(!l){Hn()}if(k){Xn();k=false}if(E){p=D.length+1;E=false}var e=function(){Q(t,I);r()};var t=function(){Q(e,R);r()};V(t,{oneTimeCallback:true});U(e,{oneTimeCallback:true});D.forEach((function(n){n.play()}));if(Z){Vn()}else{Qn()}K=false}))};var nr=function(){D.forEach((function(n){n.stop()}));if(l){Y();l=false}L();R.forEach((function(n){return n.c(0,x)}));R.length=0};var rr=function(n,r){var e;var t=o[0];if(t!==undefined&&(t.offset===undefined||t.offset===0)){t[n]=r}else{o=__spreadArray([(e={offset:0},e[n]=r,e)],o,true)}return x};var er=function(n,r){var e;var t=o[o.length-1];if(t!==undefined&&(t.offset===undefined||t.offset===1)){t[n]=r}else{o=__spreadArray(__spreadArray([],o,true),[(e={offset:1},e[n]=r,e)],false)}return x};var tr=function(n,r,e){return rr(n,r).to(n,e)};return x={parentAnimation:s,elements:F,childAnimations:D,id:h,animationFinish:Dn,from:rr,to:er,fromTo:tr,parent:xn,play:Yn,pause:Jn,stop:nr,destroy:G,keyframes:wn,addAnimation:hn,addElement:Kn,update:zn,fill:bn,direction:Cn,iterations:_n,duration:En,easing:kn,delay:Tn,getWebAnimations:B,getKeyframes:An,getFill:yn,getDirection:mn,getDelay:gn,getIterations:Pn,getEasing:pn,getDuration:Sn,afterAddRead:tn,afterAddWrite:an,afterClearStyles:dn,afterStyles:cn,afterRemoveClass:sn,afterAddClass:ln,beforeAddRead:rn,beforeAddWrite:en,beforeClearStyles:vn,beforeStyles:un,beforeRemoveClass:on,beforeAddClass:fn,onFinish:V,isRunning:O,progressStart:Zn,progressStep:qn,progressEnd:Bn}};export{createAnimation as c};
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * (C) Ionic http://ionicframework.com - MIT License
3
+ */
4
+ import{i as initialize}from"./ionic-global-40e42e7f.js";var globalScripts=initialize;export{globalScripts as g};
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * (C) Ionic http://ionicframework.com - MIT License
3
3
  */
4
- import{w as writeTask}from"./index-b49b173c.js";import{h as hapticSelectionEnd,a as hapticSelectionStart,b as hapticSelectionChanged}from"./haptic-1243b917.js";import{createGesture}from"./index-ff313b19.js";var createButtonActiveGesture=function(t,e){var n;var r;var i=function(t,r,i){if(typeof document==="undefined"){return}var o=document.elementFromPoint(t,r);if(!o||!e(o)){c();return}if(o!==n){c();a(o,i)}};var a=function(t,e){n=t;if(!r){r=n}var i=n;writeTask((function(){return i.classList.add("ion-activated")}));e()};var c=function(t){if(t===void 0){t=false}if(!n){return}var e=n;writeTask((function(){return e.classList.remove("ion-activated")}));if(t&&r!==n){n.click()}n=undefined};return createGesture({el:t,gestureName:"buttonActiveDrag",threshold:0,onStart:function(t){return i(t.currentX,t.currentY,hapticSelectionStart)},onMove:function(t){return i(t.currentX,t.currentY,hapticSelectionChanged)},onEnd:function(){c(true);hapticSelectionEnd();r=undefined}})};export{createButtonActiveGesture as c};
4
+ import{w as writeTask}from"./index-7c9b1bca.js";import{h as hapticSelectionEnd,a as hapticSelectionStart,b as hapticSelectionChanged}from"./haptic-1243b917.js";import{createGesture}from"./index-ff313b19.js";var createButtonActiveGesture=function(t,e){var n;var r;var i=function(t,r,i){if(typeof document==="undefined"){return}var o=document.elementFromPoint(t,r);if(!o||!e(o)){c();return}if(o!==n){c();a(o,i)}};var a=function(t,e){n=t;if(!r){r=n}var i=n;writeTask((function(){return i.classList.add("ion-activated")}));e()};var c=function(t){if(t===void 0){t=false}if(!n){return}var e=n;writeTask((function(){return e.classList.remove("ion-activated")}));if(t&&r!==n){n.click()}n=undefined};return createGesture({el:t,gestureName:"buttonActiveDrag",threshold:0,onStart:function(t){return i(t.currentX,t.currentY,hapticSelectionStart)},onMove:function(t){return i(t.currentX,t.currentY,hapticSelectionChanged)},onEnd:function(){c(true);hapticSelectionEnd();r=undefined}})};export{createButtonActiveGesture as c};
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * (C) Ionic http://ionicframework.com - MIT License
3
3
  */
4
- var sanitizeDOMString=function(e){try{if(e instanceof IonicSafeString){return e.value}if(!isSanitizerEnabled()||typeof e!=="string"||e===""){return e}if(e.includes("onload=")){return""}var n=document.createDocumentFragment();var r=document.createElement("div");n.appendChild(r);r.innerHTML=e;blockedTags.forEach((function(e){var r=n.querySelectorAll(e);for(var t=r.length-1;t>=0;t--){var i=r[t];if(i.parentNode){i.parentNode.removeChild(i)}else{n.removeChild(i)}var a=getElementChildren(i);for(var o=0;o<a.length;o++){sanitizeElement(a[o])}}}));var t=getElementChildren(n);for(var i=0;i<t.length;i++){sanitizeElement(t[i])}var a=document.createElement("div");a.appendChild(n);var o=a.querySelector("div");return o!==null?o.innerHTML:a.innerHTML}catch(e){console.error(e);return""}};var sanitizeElement=function(e){if(e.nodeType&&e.nodeType!==1){return}if(typeof NamedNodeMap!=="undefined"&&!(e.attributes instanceof NamedNodeMap)){e.remove();return}for(var n=e.attributes.length-1;n>=0;n--){var r=e.attributes.item(n);var t=r.name;if(!allowedAttributes.includes(t.toLowerCase())){e.removeAttribute(t);continue}var i=r.value;var a=e[t];if(i!=null&&i.toLowerCase().includes("javascript:")||a!=null&&a.toLowerCase().includes("javascript:")){e.removeAttribute(t)}}var o=getElementChildren(e);for(var n=0;n<o.length;n++){sanitizeElement(o[n])}};var getElementChildren=function(e){return e.children!=null?e.children:e.childNodes};var isSanitizerEnabled=function(){var e;var n=window;var r=(e=n===null||n===void 0?void 0:n.Ionic)===null||e===void 0?void 0:e.config;if(r){if(r.get){return r.get("sanitizerEnabled",true)}else{return r.sanitizerEnabled===true||r.sanitizerEnabled===undefined}}return true};var allowedAttributes=["class","id","href","src","name","slot"];var blockedTags=["script","style","iframe","meta","link","object","embed"];var IonicSafeString=function(){function e(e){this.value=e}return e}();var setupConfig=function(e){var n=window;var r=n.Ionic;if(r&&r.config&&r.config.constructor.name!=="Object"){return}n.Ionic=n.Ionic||{};n.Ionic.config=Object.assign(Object.assign({},n.Ionic.config),e);return n.Ionic.config};var getMode=function(){var e;var n=window;var r=(e=n===null||n===void 0?void 0:n.Ionic)===null||e===void 0?void 0:e.config;if(r){if(r.mode){return r.mode}else{return r.get("mode")}}return"md"};var ENABLE_HTML_CONTENT_DEFAULT=false;export{ENABLE_HTML_CONTENT_DEFAULT as E,IonicSafeString as I,sanitizeDOMString as a,getMode as g,setupConfig as s};
4
+ var sanitizeDOMString=function(e){try{if(e instanceof IonicSafeString){return e.value}if(!isSanitizerEnabled()||typeof e!=="string"||e===""){return e}if(e.includes("onload=")){return""}var r=document.createDocumentFragment();var n=document.createElement("div");r.appendChild(n);n.innerHTML=e;blockedTags.forEach((function(e){var n=r.querySelectorAll(e);for(var t=n.length-1;t>=0;t--){var i=n[t];if(i.parentNode){i.parentNode.removeChild(i)}else{r.removeChild(i)}var a=getElementChildren(i);for(var o=0;o<a.length;o++){sanitizeElement(a[o])}}}));var t=getElementChildren(r);for(var i=0;i<t.length;i++){sanitizeElement(t[i])}var a=document.createElement("div");a.appendChild(r);var o=a.querySelector("div");return o!==null?o.innerHTML:a.innerHTML}catch(e){console.error(e);return""}};var sanitizeElement=function(e){if(e.nodeType&&e.nodeType!==1){return}if(typeof NamedNodeMap!=="undefined"&&!(e.attributes instanceof NamedNodeMap)){e.remove();return}for(var r=e.attributes.length-1;r>=0;r--){var n=e.attributes.item(r);var t=n.name;if(!allowedAttributes.includes(t.toLowerCase())){e.removeAttribute(t);continue}var i=n.value;var a=e[t];if(i!=null&&i.toLowerCase().includes("javascript:")||a!=null&&a.toLowerCase().includes("javascript:")){e.removeAttribute(t)}}var o=getElementChildren(e);for(var r=0;r<o.length;r++){sanitizeElement(o[r])}};var getElementChildren=function(e){return e.children!=null?e.children:e.childNodes};var isSanitizerEnabled=function(){var e;var r=window;var n=(e=r===null||r===void 0?void 0:r.Ionic)===null||e===void 0?void 0:e.config;if(n){if(n.get){return n.get("sanitizerEnabled",true)}else{return n.sanitizerEnabled===true||n.sanitizerEnabled===undefined}}return true};var allowedAttributes=["class","id","href","src","name","slot"];var blockedTags=["script","style","iframe","meta","link","object","embed"];var IonicSafeString=function(){function e(e){this.value=e}return e}();var setupConfig=function(e){var r=window;var n=r.Ionic;if(n&&n.config&&n.config.constructor.name!=="Object"){return}r.Ionic=r.Ionic||{};r.Ionic.config=Object.assign(Object.assign({},r.Ionic.config),e);return r.Ionic.config};var getMode=function(){var e;var r=window;var n=(e=r===null||r===void 0?void 0:r.Ionic)===null||e===void 0?void 0:e.config;if(n){if(n.mode){return n.mode}else{return n.get("mode")}}return"md"};var ENABLE_HTML_CONTENT_DEFAULT=false;export{ENABLE_HTML_CONTENT_DEFAULT as E,IonicSafeString as I,sanitizeDOMString as a,getMode as g,setupConfig as s};
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * (C) Ionic http://ionicframework.com - MIT License
3
3
  */
4
- var getTimeGivenProgression=function(t,r,a,e,o){return solveCubicBezier(t[1],r[1],a[1],e[1],o).map((function(o){return solveCubicParametricEquation(t[0],r[0],a[0],e[0],o)}))};var solveCubicParametricEquation=function(t,r,a,e,o){var i=3*r*Math.pow(o-1,2);var n=-3*a*o+3*a+e*o;var u=t*Math.pow(o-1,3);return o*(i+o*n)-u};var solveCubicBezier=function(t,r,a,e,o){t-=o;r-=o;a-=o;e-=o;var i=solveCubicEquation(e-3*a+3*r-t,3*a-6*r+3*t,3*r-3*t,t);return i.filter((function(t){return t>=0&&t<=1}))};var solveQuadraticEquation=function(t,r,a){var e=r*r-4*t*a;if(e<0){return[]}else{return[(-r+Math.sqrt(e))/(2*t),(-r-Math.sqrt(e))/(2*t)]}};var solveCubicEquation=function(t,r,a,e){if(t===0){return solveQuadraticEquation(r,a,e)}r/=t;a/=t;e/=t;var o=(3*a-r*r)/3;var i=(2*r*r*r-9*r*a+27*e)/27;if(o===0){return[Math.pow(-i,1/3)]}else if(i===0){return[Math.sqrt(-o),-Math.sqrt(-o)]}var n=Math.pow(i/2,2)+Math.pow(o/3,3);if(n===0){return[Math.pow(i/2,1/2)-r/3]}else if(n>0){return[Math.pow(-(i/2)+Math.sqrt(n),1/3)-Math.pow(i/2+Math.sqrt(n),1/3)-r/3]}var u=Math.sqrt(Math.pow(-(o/3),3));var s=Math.acos(-(i/(2*Math.sqrt(Math.pow(-(o/3),3)))));var v=2*Math.pow(u,1/3);return[v*Math.cos(s/3)-r/3,v*Math.cos((s+2*Math.PI)/3)-r/3,v*Math.cos((s+4*Math.PI)/3)-r/3]};export{getTimeGivenProgression as g};
4
+ var getTimeGivenProgression=function(t,a,r,e,i){return solveCubicBezier(t[1],a[1],r[1],e[1],i).map((function(i){return solveCubicParametricEquation(t[0],a[0],r[0],e[0],i)}))};var solveCubicParametricEquation=function(t,a,r,e,i){var n=3*a*Math.pow(i-1,2);var u=-3*r*i+3*r+e*i;var o=t*Math.pow(i-1,3);return i*(n+i*u)-o};var solveCubicBezier=function(t,a,r,e,i){t-=i;a-=i;r-=i;e-=i;var n=solveCubicEquation(e-3*r+3*a-t,3*r-6*a+3*t,3*a-3*t,t);return n.filter((function(t){return t>=0&&t<=1}))};var solveQuadraticEquation=function(t,a,r){var e=a*a-4*t*r;if(e<0){return[]}else{return[(-a+Math.sqrt(e))/(2*t),(-a-Math.sqrt(e))/(2*t)]}};var solveCubicEquation=function(t,a,r,e){if(t===0){return solveQuadraticEquation(a,r,e)}a/=t;r/=t;e/=t;var i=(3*r-a*a)/3;var n=(2*a*a*a-9*a*r+27*e)/27;if(i===0){return[Math.pow(-n,1/3)]}else if(n===0){return[Math.sqrt(-i),-Math.sqrt(-i)]}var u=Math.pow(n/2,2)+Math.pow(i/3,3);if(u===0){return[Math.pow(n/2,1/2)-a/3]}else if(u>0){return[Math.pow(-(n/2)+Math.sqrt(u),1/3)-Math.pow(n/2+Math.sqrt(u),1/3)-a/3]}var o=Math.sqrt(Math.pow(-(i/3),3));var v=Math.acos(-(n/(2*Math.sqrt(Math.pow(-(i/3),3)))));var h=2*Math.pow(o,1/3);return[h*Math.cos(v/3)-a/3,h*Math.cos((v+2*Math.PI)/3)-a/3,h*Math.cos((v+4*Math.PI)/3)-a/3]};export{getTimeGivenProgression as g};
@@ -1,4 +1,4 @@
1
1
  import{__spreadArray}from"tslib";
2
2
  /*!
3
3
  * (C) Ionic http://ionicframework.com - MIT License
4
- */import{p as printIonWarning}from"./index-595d62c9.js";var isSameDay=function(e,r){return e.month===r.month&&e.day===r.day&&e.year===r.year};var isBefore=function(e,r){return!!(e.year<r.year||e.year===r.year&&e.month<r.month||e.year===r.year&&e.month===r.month&&e.day!==null&&e.day<r.day)};var isAfter=function(e,r){return!!(e.year>r.year||e.year===r.year&&e.month>r.month||e.year===r.year&&e.month===r.month&&e.day!==null&&e.day>r.day)};var warnIfValueOutOfBounds=function(e,r,a){var t=Array.isArray(e)?e:[e];for(var n=0,o=t;n<o.length;n++){var i=o[n];if(r!==undefined&&isBefore(i,r)||a!==undefined&&isAfter(i,a)){printIonWarning("The value provided to ion-datetime is out of bounds.\n\n"+"Min: ".concat(JSON.stringify(r),"\n")+"Max: ".concat(JSON.stringify(a),"\n")+"Value: ".concat(JSON.stringify(e)));break}}};var isLeapYear=function(e){return e%4===0&&e%100!==0||e%400===0};var getHourCycle=function(e,r){if(r!==undefined){return r}var a=new Intl.DateTimeFormat(e,{hour:"numeric"});var t=a.resolvedOptions();if(t.hourCycle!==undefined){return t.hourCycle}var n=new Date("5/18/2021 00:00");var o=a.formatToParts(n);var i=o.find((function(e){return e.type==="hour"}));if(!i){throw new Error("Hour value not found from DateTimeFormat")}switch(i.value){case"0":return"h11";case"12":return"h12";case"00":return"h23";case"24":return"h24";default:throw new Error('Invalid hour cycle "'.concat(r,'"'))}};var is24Hour=function(e){return e==="h23"||e==="h24"};var getNumDaysInMonth=function(e,r){return e===4||e===6||e===9||e===11?30:e===2?isLeapYear(r)?29:28:31};var isMonthFirstLocale=function(e,r){if(r===void 0){r={month:"numeric",year:"numeric"}}var a=new Intl.DateTimeFormat(e,r).formatToParts(new Date);return a[0].type==="month"};var isLocaleDayPeriodRTL=function(e){var r=new Intl.DateTimeFormat(e,{hour:"numeric"}).formatToParts(new Date);return r[0].type==="dayPeriod"};var ISO_8601_REGEXP=/^(\d{4}|[+\-]\d{6})(?:-(\d{2})(?:-(\d{2}))?)?(?:T(\d{2}):(\d{2})(?::(\d{2})(?:\.(\d{3}))?)?(?:(Z)|([+\-])(\d{2})(?::(\d{2}))?)?)?$/;var TIME_REGEXP=/^((\d{2}):(\d{2})(?::(\d{2})(?:\.(\d{3}))?)?(?:(Z)|([+\-])(\d{2})(?::(\d{2}))?)?)?$/;var convertToArrayOfNumbers=function(e){if(e===undefined){return}var r=e;if(typeof e==="string"){r=e.replace(/\[|\]|\s/g,"").split(",")}var a;if(Array.isArray(r)){a=r.map((function(e){return parseInt(e,10)})).filter(isFinite)}else{a=[r]}return a};var getPartsFromCalendarDay=function(e){return{month:parseInt(e.getAttribute("data-month"),10),day:parseInt(e.getAttribute("data-day"),10),year:parseInt(e.getAttribute("data-year"),10),dayOfWeek:parseInt(e.getAttribute("data-day-of-week"),10)}};function parseDate(e){if(Array.isArray(e)){var r=[];for(var a=0,t=e;a<t.length;a++){var n=t[a];var o=parseDate(n);if(!o){return undefined}r.push(o)}return r}var i=null;if(e!=null&&e!==""){i=TIME_REGEXP.exec(e);if(i){i.unshift(undefined,undefined);i[2]=i[3]=undefined}else{i=ISO_8601_REGEXP.exec(e)}}if(i===null){printIonWarning("Unable to parse date string: ".concat(e,". Please provide a valid ISO 8601 datetime string."));return undefined}for(var u=1;u<8;u++){i[u]=i[u]!==undefined?parseInt(i[u],10):undefined}return{year:i[1],month:i[2],day:i[3],hour:i[4],minute:i[5],ampm:i[4]<12?"am":"pm"}}var clampDate=function(e,r,a){if(r&&isBefore(e,r)){return r}else if(a&&isAfter(e,a)){return a}return e};var parseAmPm=function(e){return e>=12?"pm":"am"};var parseMaxParts=function(e,r){var a=parseDate(e);if(a===undefined){return}var t=a.month,n=a.day,o=a.year,i=a.hour,u=a.minute;var d=o!==null&&o!==void 0?o:r.year;var f=t!==null&&t!==void 0?t:12;return{month:f,day:n!==null&&n!==void 0?n:getNumDaysInMonth(f,d),year:d,hour:i!==null&&i!==void 0?i:23,minute:u!==null&&u!==void 0?u:59}};var parseMinParts=function(e,r){var a=parseDate(e);if(a===undefined){return}var t=a.month,n=a.day,o=a.year,i=a.hour,u=a.minute;return{month:t!==null&&t!==void 0?t:1,day:n!==null&&n!==void 0?n:1,year:o!==null&&o!==void 0?o:r.year,hour:i!==null&&i!==void 0?i:0,minute:u!==null&&u!==void 0?u:0}};var twoDigit=function(e){return("0"+(e!==undefined?Math.abs(e):"0")).slice(-2)};var fourDigit=function(e){return("000"+(e!==undefined?Math.abs(e):"0")).slice(-4)};function convertDataToISO(e){if(Array.isArray(e)){return e.map((function(e){return convertDataToISO(e)}))}var r="";if(e.year!==undefined){r=fourDigit(e.year);if(e.month!==undefined){r+="-"+twoDigit(e.month);if(e.day!==undefined){r+="-"+twoDigit(e.day);if(e.hour!==undefined){r+="T".concat(twoDigit(e.hour),":").concat(twoDigit(e.minute),":00")}}}}else if(e.hour!==undefined){r=twoDigit(e.hour)+":"+twoDigit(e.minute)}return r}var convert12HourTo24Hour=function(e,r){if(r===undefined){return e}if(r==="am"){if(e===12){return 0}return e}if(e===12){return 12}return e+12};var getStartOfWeek=function(e){var r=e.dayOfWeek;if(r===null||r===undefined){throw new Error("No day of week provided")}return subtractDays(e,r)};var getEndOfWeek=function(e){var r=e.dayOfWeek;if(r===null||r===undefined){throw new Error("No day of week provided")}return addDays(e,6-r)};var getNextDay=function(e){return addDays(e,1)};var getPreviousDay=function(e){return subtractDays(e,1)};var getPreviousWeek=function(e){return subtractDays(e,7)};var getNextWeek=function(e){return addDays(e,7)};var subtractDays=function(e,r){var a=e.month,t=e.day,n=e.year;if(t===null){throw new Error("No day provided")}var o={month:a,day:t,year:n};o.day=t-r;if(o.day<1){o.month-=1}if(o.month<1){o.month=12;o.year-=1}if(o.day<1){var i=getNumDaysInMonth(o.month,o.year);o.day=i+o.day}return o};var addDays=function(e,r){var a=e.month,t=e.day,n=e.year;if(t===null){throw new Error("No day provided")}var o={month:a,day:t,year:n};var i=getNumDaysInMonth(a,n);o.day=t+r;if(o.day>i){o.day-=i;o.month+=1}if(o.month>12){o.month=1;o.year+=1}return o};var getPreviousMonth=function(e){var r=e.month===1?12:e.month-1;var a=e.month===1?e.year-1:e.year;var t=getNumDaysInMonth(r,a);var n=t<e.day?t:e.day;return{month:r,year:a,day:n}};var getNextMonth=function(e){var r=e.month===12?1:e.month+1;var a=e.month===12?e.year+1:e.year;var t=getNumDaysInMonth(r,a);var n=t<e.day?t:e.day;return{month:r,year:a,day:n}};var changeYear=function(e,r){var a=e.month;var t=e.year+r;var n=getNumDaysInMonth(a,t);var o=n<e.day?n:e.day;return{month:a,year:t,day:o}};var getPreviousYear=function(e){return changeYear(e,-1)};var getNextYear=function(e){return changeYear(e,1)};var getInternalHourValue=function(e,r,a){if(r){return e}return convert12HourTo24Hour(e,a)};var calculateHourFromAMPM=function(e,r){var a=e.ampm,t=e.hour;var n=t;if(a==="am"&&r==="pm"){n=convert12HourTo24Hour(n,"pm")}else if(a==="pm"&&r==="am"){n=Math.abs(n-12)}return n};var validateParts=function(e,r,a){var t=e.month,n=e.day,o=e.year;var i=clampDate(Object.assign({},e),r,a);var u=getNumDaysInMonth(t,o);if(n!==null&&u<n){i.day=u}if(r!==undefined&&isSameDay(i,r)){if(i.hour!==undefined&&r.hour!==undefined){if(i.hour<r.hour){i.hour=r.hour;i.minute=r.minute}else if(i.hour===r.hour&&i.minute!==undefined&&r.minute!==undefined&&i.minute<r.minute){i.minute=r.minute}}}if(a!==undefined&&isSameDay(e,a)){if(i.hour!==undefined&&a.hour!==undefined){if(i.hour>a.hour){i.hour=a.hour;i.minute=a.minute}else if(i.hour===a.hour&&i.minute!==undefined&&a.minute!==undefined&&i.minute>a.minute){i.minute=a.minute}}}return i};var getClosestValidDate=function(e,r,a,t,n,o){var i=e.hour,u=e.minute,d=e.day,f=e.month,m=e.year;var s=Object.assign(Object.assign({},e),{dayOfWeek:undefined});if(r!==undefined){s.month=findClosestValue(f,r)}if(d!==null&&a!==undefined){s.day=findClosestValue(d,a)}if(t!==undefined){s.year=findClosestValue(m,t)}if(i!==undefined&&n!==undefined){s.hour=findClosestValue(i,n);s.ampm=parseAmPm(s.hour)}if(u!==undefined&&o!==undefined){s.minute=findClosestValue(u,o)}return s};var findClosestValue=function(e,r){var a=r[0];var t=Math.abs(a-e);for(var n=1;n<r.length;n++){var o=r[n];var i=Math.abs(o-e);if(i<t){a=o;t=i}}return a};var getFormattedDayPeriod=function(e){if(e===undefined){return""}return e.toUpperCase()};var getLocalizedTime=function(e,r,a){var t={hour:r.hour,minute:r.minute};if(t.hour===undefined||t.minute===undefined){return"Invalid Time"}return new Intl.DateTimeFormat(e,{hour:"numeric",minute:"numeric",timeZone:"UTC",hourCycle:a}).format(new Date(convertDataToISO(Object.assign({year:2023,day:1,month:1},t))+"Z"))};var addTimePadding=function(e){var r=e.toString();if(r.length>1){return r}return"0".concat(r)};var getFormattedHour=function(e,r){if(e===0){switch(r){case"h11":return"0";case"h12":return"12";case"h23":return"00";case"h24":return"24";default:throw new Error('Invalid hour cycle "'.concat(r,'"'))}}var a=is24Hour(r);if(a){return addTimePadding(e)}return e.toString()};var generateDayAriaLabel=function(e,r,a){if(a.day===null){return null}var t=getNormalizedDate(a);var n=new Intl.DateTimeFormat(e,{weekday:"long",month:"long",day:"numeric",timeZone:"UTC"}).format(t);return r?"Today, ".concat(n):n};var getMonthAndDay=function(e,r){var a=getNormalizedDate(r);return new Intl.DateTimeFormat(e,{weekday:"short",month:"short",day:"numeric",timeZone:"UTC"}).format(a)};var getMonthAndYear=function(e,r){var a=getNormalizedDate(r);return new Intl.DateTimeFormat(e,{month:"long",year:"numeric",timeZone:"UTC"}).format(a)};var getMonthDayAndYear=function(e,r){return getLocalizedDateTime(e,r,{month:"short",day:"numeric",year:"numeric"})};var getDay=function(e,r){return getLocalizedDateTimeParts(e,r,{day:"numeric"}).find((function(e){return e.type==="day"})).value};var getYear=function(e,r){return getLocalizedDateTime(e,r,{year:"numeric"})};var getNormalizedDate=function(e){var r,a,t;var n=e.hour!==undefined&&e.minute!==undefined?" ".concat(e.hour,":").concat(e.minute):"";return new Date("".concat((r=e.month)!==null&&r!==void 0?r:1,"/").concat((a=e.day)!==null&&a!==void 0?a:1,"/").concat((t=e.year)!==null&&t!==void 0?t:2023).concat(n," GMT+0000"))};var getLocalizedDateTime=function(e,r,a){var t=getNormalizedDate(r);return getDateTimeFormat(e,a).format(t)};var getLocalizedDateTimeParts=function(e,r,a){var t=getNormalizedDate(r);return getDateTimeFormat(e,a).formatToParts(t)};var getDateTimeFormat=function(e,r){return new Intl.DateTimeFormat(e,Object.assign(Object.assign({},r),{timeZone:"UTC"}))};var getTodayLabel=function(e){if("RelativeTimeFormat"in Intl){var r=new Intl.RelativeTimeFormat(e,{numeric:"auto"}).format(0,"day");return r.charAt(0).toUpperCase()+r.slice(1)}else{return"Today"}};var removeDateTzOffset=function(e){var r=e.getTimezoneOffset();e.setMinutes(e.getMinutes()-r);return e};var DATE_AM=removeDateTzOffset(new Date("2022T01:00"));var DATE_PM=removeDateTzOffset(new Date("2022T13:00"));var getLocalizedDayPeriod=function(e,r){var a=r==="am"?DATE_AM:DATE_PM;var t=new Intl.DateTimeFormat(e,{hour:"numeric",timeZone:"UTC"}).formatToParts(a).find((function(e){return e.type==="dayPeriod"}));if(t){return t.value}return getFormattedDayPeriod(r)};var formatValue=function(e){return Array.isArray(e)?e.join(","):e};var getToday=function(){return removeDateTzOffset(new Date).toISOString()};var minutes=[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,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];var hour11=[0,1,2,3,4,5,6,7,8,9,10,11];var hour12=[0,1,2,3,4,5,6,7,8,9,10,11];var 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];var 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];var getDaysOfWeek=function(e,r,a){if(a===void 0){a=0}var t=r==="ios"?"short":"narrow";var n=new Intl.DateTimeFormat(e,{weekday:t});var o=new Date("11/01/2020");var i=[];for(var u=a;u<a+7;u++){var d=new Date(o);d.setDate(d.getDate()+u);i.push(n.format(d))}return i};var getDaysOfMonth=function(e,r,a){var t=getNumDaysInMonth(e,r);var n=new Date("".concat(e,"/1/").concat(r)).getDay();var o=n>=a?n-(a+1):6-(a-n);var i=[];for(var u=1;u<=t;u++){i.push({day:u,dayOfWeek:(o+u)%7})}for(var u=0;u<=o;u++){i=__spreadArray([{day:null,dayOfWeek:null}],i,true)}return i};var getHourData=function(e){switch(e){case"h11":return hour11;case"h12":return hour12;case"h23":return hour23;case"h24":return hour24;default:throw new Error('Invalid hour cycle "'.concat(e,'"'))}};var generateTime=function(e,r,a,t,n,o,i){if(a===void 0){a="h12"}var u=getHourCycle(e,a);var d=is24Hour(u);var f=getHourData(u);var m=minutes;var s=true;var v=true;if(o){f=f.filter((function(e){return o.includes(e)}))}if(i){m=m.filter((function(e){return i.includes(e)}))}if(t){if(isSameDay(r,t)){if(t.hour!==undefined){f=f.filter((function(e){var a=r.ampm==="pm"?(e+12)%24:e;return(d?e:a)>=t.hour}));s=t.hour<13}if(t.minute!==undefined){var c=false;if(t.hour!==undefined&&r.hour!==undefined){if(r.hour>t.hour){c=true}}m=m.filter((function(e){if(c){return true}return e>=t.minute}))}}else if(isBefore(r,t)){f=[];m=[];s=v=false}}if(n){if(isSameDay(r,n)){if(n.hour!==undefined){f=f.filter((function(e){var a=r.ampm==="pm"?(e+12)%24:e;return(d?e:a)<=n.hour}));v=n.hour>=12}if(n.minute!==undefined&&r.hour===n.hour){m=m.filter((function(e){return e<=n.minute}))}}else if(isAfter(r,n)){f=[];m=[];s=v=false}}return{hours:f,minutes:m,am:s,pm:v}};var generateMonths=function(e,r){var a={month:e.month,year:e.year,day:e.day};if(r!==undefined&&(e.month!==r.month||e.year!==r.year)){var t={month:r.month,year:r.year,day:r.day};var n=isBefore(t,a);return n?[t,a,getNextMonth(e)]:[getPreviousMonth(e),a,t]}return[getPreviousMonth(e),a,getNextMonth(e)]};var getMonthColumnData=function(e,r,a,t,n,o){if(o===void 0){o={month:"long"}}var i=r.year;var u=[];if(n!==undefined){var d=n;if((t===null||t===void 0?void 0:t.month)!==undefined){d=d.filter((function(e){return e<=t.month}))}if((a===null||a===void 0?void 0:a.month)!==undefined){d=d.filter((function(e){return e>=a.month}))}d.forEach((function(r){var a=new Date("".concat(r,"/1/").concat(i," GMT+0000"));var t=new Intl.DateTimeFormat(e,Object.assign(Object.assign({},o),{timeZone:"UTC"})).format(a);u.push({text:t,value:r})}))}else{var f=t&&t.year===i?t.month:12;var m=a&&a.year===i?a.month:1;for(var s=m;s<=f;s++){var v=new Date("".concat(s,"/1/").concat(i," GMT+0000"));var c=new Intl.DateTimeFormat(e,Object.assign(Object.assign({},o),{timeZone:"UTC"})).format(v);u.push({text:c,value:s})}}return u};var getDayColumnData=function(e,r,a,t,n,o){if(o===void 0){o={day:"numeric"}}var i=r.month,u=r.year;var d=[];var f=getNumDaysInMonth(i,u);var m=(t===null||t===void 0?void 0:t.day)!==null&&(t===null||t===void 0?void 0:t.day)!==undefined&&t.year===u&&t.month===i?t.day:f;var s=(a===null||a===void 0?void 0:a.day)!==null&&(a===null||a===void 0?void 0:a.day)!==undefined&&a.year===u&&a.month===i?a.day:1;if(n!==undefined){var v=n;v=v.filter((function(e){return e>=s&&e<=m}));v.forEach((function(r){var a=new Date("".concat(i,"/").concat(r,"/").concat(u," GMT+0000"));var t=new Intl.DateTimeFormat(e,Object.assign(Object.assign({},o),{timeZone:"UTC"})).format(a);d.push({text:t,value:r})}))}else{for(var c=s;c<=m;c++){var l=new Date("".concat(i,"/").concat(c,"/").concat(u," GMT+0000"));var y=new Intl.DateTimeFormat(e,Object.assign(Object.assign({},o),{timeZone:"UTC"})).format(l);d.push({text:y,value:c})}}return d};var getYearColumnData=function(e,r,a,t,n){var o,i;var u=[];if(n!==undefined){u=n;if((t===null||t===void 0?void 0:t.year)!==undefined){u=u.filter((function(e){return e<=t.year}))}if((a===null||a===void 0?void 0:a.year)!==undefined){u=u.filter((function(e){return e>=a.year}))}}else{var d=r.year;var f=(o=t===null||t===void 0?void 0:t.year)!==null&&o!==void 0?o:d;var m=(i=a===null||a===void 0?void 0:a.year)!==null&&i!==void 0?i:d-100;for(var s=m;s<=f;s++){u.push(s)}}return u.map((function(a){return{text:getYear(e,{year:a,month:r.month,day:r.day}),value:a}}))};var getAllMonthsInRange=function(e,r){if(e.month===r.month&&e.year===r.year){return[e]}return __spreadArray([e],getAllMonthsInRange(getNextMonth(e),r),true)};var getCombinedDateColumnData=function(e,r,a,t,n,o){var i=[];var u=[];var d=getAllMonthsInRange(a,t);if(o){d=d.filter((function(e){var r=e.month;return o.includes(r)}))}d.forEach((function(o){var d={month:o.month,day:null,year:o.year};var f=getDayColumnData(e,d,a,t,n,{month:"short",day:"numeric",weekday:"short"});var m=[];var s=[];f.forEach((function(a){var t=isSameDay(Object.assign(Object.assign({},d),{day:a.value}),r);s.push({text:t?getTodayLabel(e):a.text,value:"".concat(d.year,"-").concat(d.month,"-").concat(a.value)});m.push({month:d.month,year:d.year,day:a.value})}));u=__spreadArray(__spreadArray([],u,true),m,true);i=__spreadArray(__spreadArray([],i,true),s,true)}));return{parts:u,items:i}};var getTimeColumnsData=function(e,r,a,t,n,o,i){var u=getHourCycle(e,a);var d=is24Hour(u);var f=generateTime(e,r,u,t,n,o,i),m=f.hours,s=f.minutes,v=f.am,c=f.pm;var l=m.map((function(e){return{text:getFormattedHour(e,u),value:getInternalHourValue(e,d,r.ampm)}}));var y=s.map((function(e){return{text:addTimePadding(e),value:e}}));var h=[];if(v&&!d){h.push({text:getLocalizedDayPeriod(e,"am"),value:"am"})}if(c&&!d){h.push({text:getLocalizedDayPeriod(e,"pm"),value:"pm"})}return{minutesData:y,hoursData:l,dayPeriodData:h}};export{getDayColumnData as A,getYearColumnData as B,isMonthFirstLocale as C,getTimeColumnsData as D,isLocaleDayPeriodRTL as E,getDaysOfWeek as F,getMonthAndYear as G,getDaysOfMonth as H,generateMonths as I,getHourCycle as J,getLocalizedTime as K,getMonthAndDay as L,formatValue as M,getNextYear as N,getPreviousYear as O,clampDate as P,parseAmPm as Q,calculateHourFromAMPM as R,getLocalizedDateTime as S,getMonthDayAndYear as T,getDay as a,isAfter as b,isSameDay as c,getPreviousMonth as d,getNextMonth as e,getPartsFromCalendarDay as f,generateDayAriaLabel as g,getEndOfWeek as h,isBefore as i,getStartOfWeek as j,getPreviousDay as k,getNextDay as l,getPreviousWeek as m,getNextWeek as n,parseMaxParts as o,parseMinParts as p,parseDate as q,convertToArrayOfNumbers as r,convertDataToISO as s,getToday as t,getClosestValidDate as u,validateParts as v,warnIfValueOutOfBounds as w,getNumDaysInMonth as x,getCombinedDateColumnData as y,getMonthColumnData as z};
4
+ */import{p as printIonWarning}from"./index-595d62c9.js";var isSameDay=function(e,r){return e.month===r.month&&e.day===r.day&&e.year===r.year};var isBefore=function(e,r){return!!(e.year<r.year||e.year===r.year&&e.month<r.month||e.year===r.year&&e.month===r.month&&e.day!==null&&e.day<r.day)};var isAfter=function(e,r){return!!(e.year>r.year||e.year===r.year&&e.month>r.month||e.year===r.year&&e.month===r.month&&e.day!==null&&e.day>r.day)};var warnIfValueOutOfBounds=function(e,r,n){var a=Array.isArray(e)?e:[e];for(var t=0,i=a;t<i.length;t++){var u=i[t];if(r!==undefined&&isBefore(u,r)||n!==undefined&&isAfter(u,n)){printIonWarning("The value provided to ion-datetime is out of bounds.\n\n"+"Min: ".concat(JSON.stringify(r),"\n")+"Max: ".concat(JSON.stringify(n),"\n")+"Value: ".concat(JSON.stringify(e)));break}}};var isLeapYear=function(e){return e%4===0&&e%100!==0||e%400===0};var getHourCycle=function(e,r){if(r!==undefined){return r}var n=new Intl.DateTimeFormat(e,{hour:"numeric"});var a=n.resolvedOptions();if(a.hourCycle!==undefined){return a.hourCycle}var t=new Date("5/18/2021 00:00");var i=n.formatToParts(t);var u=i.find((function(e){return e.type==="hour"}));if(!u){throw new Error("Hour value not found from DateTimeFormat")}switch(u.value){case"0":return"h11";case"12":return"h12";case"00":return"h23";case"24":return"h24";default:throw new Error('Invalid hour cycle "'.concat(r,'"'))}};var is24Hour=function(e){return e==="h23"||e==="h24"};var getNumDaysInMonth=function(e,r){return e===4||e===6||e===9||e===11?30:e===2?isLeapYear(r)?29:28:31};var isMonthFirstLocale=function(e,r){if(r===void 0){r={month:"numeric",year:"numeric"}}var n=new Intl.DateTimeFormat(e,r).formatToParts(new Date);return n[0].type==="month"};var isLocaleDayPeriodRTL=function(e){var r=new Intl.DateTimeFormat(e,{hour:"numeric"}).formatToParts(new Date);return r[0].type==="dayPeriod"};var ISO_8601_REGEXP=/^(\d{4}|[+\-]\d{6})(?:-(\d{2})(?:-(\d{2}))?)?(?:T(\d{2}):(\d{2})(?::(\d{2})(?:\.(\d{3}))?)?(?:(Z)|([+\-])(\d{2})(?::(\d{2}))?)?)?$/;var TIME_REGEXP=/^((\d{2}):(\d{2})(?::(\d{2})(?:\.(\d{3}))?)?(?:(Z)|([+\-])(\d{2})(?::(\d{2}))?)?)?$/;var convertToArrayOfNumbers=function(e){if(e===undefined){return}var r=e;if(typeof e==="string"){r=e.replace(/\[|\]|\s/g,"").split(",")}var n;if(Array.isArray(r)){n=r.map((function(e){return parseInt(e,10)})).filter(isFinite)}else{n=[r]}return n};var getPartsFromCalendarDay=function(e){return{month:parseInt(e.getAttribute("data-month"),10),day:parseInt(e.getAttribute("data-day"),10),year:parseInt(e.getAttribute("data-year"),10),dayOfWeek:parseInt(e.getAttribute("data-day-of-week"),10)}};function parseDate(e){if(Array.isArray(e)){var r=[];for(var n=0,a=e;n<a.length;n++){var t=a[n];var i=parseDate(t);if(!i){return undefined}r.push(i)}return r}var u=null;if(e!=null&&e!==""){u=TIME_REGEXP.exec(e);if(u){u.unshift(undefined,undefined);u[2]=u[3]=undefined}else{u=ISO_8601_REGEXP.exec(e)}}if(u===null){printIonWarning("Unable to parse date string: ".concat(e,". Please provide a valid ISO 8601 datetime string."));return undefined}for(var o=1;o<8;o++){u[o]=u[o]!==undefined?parseInt(u[o],10):undefined}return{year:u[1],month:u[2],day:u[3],hour:u[4],minute:u[5],ampm:u[4]<12?"am":"pm"}}var clampDate=function(e,r,n){if(r&&isBefore(e,r)){return r}else if(n&&isAfter(e,n)){return n}return e};var parseAmPm=function(e){return e>=12?"pm":"am"};var parseMaxParts=function(e,r){var n=parseDate(e);if(n===undefined){return}var a=n.month,t=n.day,i=n.year,u=n.hour,o=n.minute;var d=i!==null&&i!==void 0?i:r.year;var f=a!==null&&a!==void 0?a:12;return{month:f,day:t!==null&&t!==void 0?t:getNumDaysInMonth(f,d),year:d,hour:u!==null&&u!==void 0?u:23,minute:o!==null&&o!==void 0?o:59}};var parseMinParts=function(e,r){var n=parseDate(e);if(n===undefined){return}var a=n.month,t=n.day,i=n.year,u=n.hour,o=n.minute;return{month:a!==null&&a!==void 0?a:1,day:t!==null&&t!==void 0?t:1,year:i!==null&&i!==void 0?i:r.year,hour:u!==null&&u!==void 0?u:0,minute:o!==null&&o!==void 0?o:0}};var twoDigit=function(e){return("0"+(e!==undefined?Math.abs(e):"0")).slice(-2)};var fourDigit=function(e){return("000"+(e!==undefined?Math.abs(e):"0")).slice(-4)};function convertDataToISO(e){if(Array.isArray(e)){return e.map((function(e){return convertDataToISO(e)}))}var r="";if(e.year!==undefined){r=fourDigit(e.year);if(e.month!==undefined){r+="-"+twoDigit(e.month);if(e.day!==undefined){r+="-"+twoDigit(e.day);if(e.hour!==undefined){r+="T".concat(twoDigit(e.hour),":").concat(twoDigit(e.minute),":00")}}}}else if(e.hour!==undefined){r=twoDigit(e.hour)+":"+twoDigit(e.minute)}return r}var convert12HourTo24Hour=function(e,r){if(r===undefined){return e}if(r==="am"){if(e===12){return 0}return e}if(e===12){return 12}return e+12};var getStartOfWeek=function(e){var r=e.dayOfWeek;if(r===null||r===undefined){throw new Error("No day of week provided")}return subtractDays(e,r)};var getEndOfWeek=function(e){var r=e.dayOfWeek;if(r===null||r===undefined){throw new Error("No day of week provided")}return addDays(e,6-r)};var getNextDay=function(e){return addDays(e,1)};var getPreviousDay=function(e){return subtractDays(e,1)};var getPreviousWeek=function(e){return subtractDays(e,7)};var getNextWeek=function(e){return addDays(e,7)};var subtractDays=function(e,r){var n=e.month,a=e.day,t=e.year;if(a===null){throw new Error("No day provided")}var i={month:n,day:a,year:t};i.day=a-r;if(i.day<1){i.month-=1}if(i.month<1){i.month=12;i.year-=1}if(i.day<1){var u=getNumDaysInMonth(i.month,i.year);i.day=u+i.day}return i};var addDays=function(e,r){var n=e.month,a=e.day,t=e.year;if(a===null){throw new Error("No day provided")}var i={month:n,day:a,year:t};var u=getNumDaysInMonth(n,t);i.day=a+r;if(i.day>u){i.day-=u;i.month+=1}if(i.month>12){i.month=1;i.year+=1}return i};var getPreviousMonth=function(e){var r=e.month===1?12:e.month-1;var n=e.month===1?e.year-1:e.year;var a=getNumDaysInMonth(r,n);var t=a<e.day?a:e.day;return{month:r,year:n,day:t}};var getNextMonth=function(e){var r=e.month===12?1:e.month+1;var n=e.month===12?e.year+1:e.year;var a=getNumDaysInMonth(r,n);var t=a<e.day?a:e.day;return{month:r,year:n,day:t}};var changeYear=function(e,r){var n=e.month;var a=e.year+r;var t=getNumDaysInMonth(n,a);var i=t<e.day?t:e.day;return{month:n,year:a,day:i}};var getPreviousYear=function(e){return changeYear(e,-1)};var getNextYear=function(e){return changeYear(e,1)};var getInternalHourValue=function(e,r,n){if(r){return e}return convert12HourTo24Hour(e,n)};var calculateHourFromAMPM=function(e,r){var n=e.ampm,a=e.hour;var t=a;if(n==="am"&&r==="pm"){t=convert12HourTo24Hour(t,"pm")}else if(n==="pm"&&r==="am"){t=Math.abs(t-12)}return t};var validateParts=function(e,r,n){var a=e.month,t=e.day,i=e.year;var u=clampDate(Object.assign({},e),r,n);var o=getNumDaysInMonth(a,i);if(t!==null&&o<t){u.day=o}if(r!==undefined&&isSameDay(u,r)){if(u.hour!==undefined&&r.hour!==undefined){if(u.hour<r.hour){u.hour=r.hour;u.minute=r.minute}else if(u.hour===r.hour&&u.minute!==undefined&&r.minute!==undefined&&u.minute<r.minute){u.minute=r.minute}}}if(n!==undefined&&isSameDay(e,n)){if(u.hour!==undefined&&n.hour!==undefined){if(u.hour>n.hour){u.hour=n.hour;u.minute=n.minute}else if(u.hour===n.hour&&u.minute!==undefined&&n.minute!==undefined&&u.minute>n.minute){u.minute=n.minute}}}return u};var getClosestValidDate=function(e,r,n,a,t,i){var u=e.hour,o=e.minute,d=e.day,f=e.month,v=e.year;var s=Object.assign(Object.assign({},e),{dayOfWeek:undefined});if(r!==undefined){s.month=findClosestValue(f,r)}if(d!==null&&n!==undefined){s.day=findClosestValue(d,n)}if(a!==undefined){s.year=findClosestValue(v,a)}if(u!==undefined&&t!==undefined){s.hour=findClosestValue(u,t);s.ampm=parseAmPm(s.hour)}if(o!==undefined&&i!==undefined){s.minute=findClosestValue(o,i)}return s};var findClosestValue=function(e,r){var n=r[0];var a=Math.abs(n-e);for(var t=1;t<r.length;t++){var i=r[t];var u=Math.abs(i-e);if(u<a){n=i;a=u}}return n};var getFormattedDayPeriod=function(e){if(e===undefined){return""}return e.toUpperCase()};var getLocalizedTime=function(e,r,n){var a={hour:r.hour,minute:r.minute};if(a.hour===undefined||a.minute===undefined){return"Invalid Time"}return new Intl.DateTimeFormat(e,{hour:"numeric",minute:"numeric",timeZone:"UTC",hourCycle:n}).format(new Date(convertDataToISO(Object.assign({year:2023,day:1,month:1},a))+"Z"))};var addTimePadding=function(e){var r=e.toString();if(r.length>1){return r}return"0".concat(r)};var getFormattedHour=function(e,r){if(e===0){switch(r){case"h11":return"0";case"h12":return"12";case"h23":return"00";case"h24":return"24";default:throw new Error('Invalid hour cycle "'.concat(r,'"'))}}var n=is24Hour(r);if(n){return addTimePadding(e)}return e.toString()};var generateDayAriaLabel=function(e,r,n){if(n.day===null){return null}var a=getNormalizedDate(n);var t=new Intl.DateTimeFormat(e,{weekday:"long",month:"long",day:"numeric",timeZone:"UTC"}).format(a);return r?"Today, ".concat(t):t};var getMonthAndDay=function(e,r){var n=getNormalizedDate(r);return new Intl.DateTimeFormat(e,{weekday:"short",month:"short",day:"numeric",timeZone:"UTC"}).format(n)};var getMonthAndYear=function(e,r){var n=getNormalizedDate(r);return new Intl.DateTimeFormat(e,{month:"long",year:"numeric",timeZone:"UTC"}).format(n)};var getMonthDayAndYear=function(e,r){return getLocalizedDateTime(e,r,{month:"short",day:"numeric",year:"numeric"})};var getDay=function(e,r){return getLocalizedDateTimeParts(e,r,{day:"numeric"}).find((function(e){return e.type==="day"})).value};var getYear=function(e,r){return getLocalizedDateTime(e,r,{year:"numeric"})};var getNormalizedDate=function(e){var r,n,a;var t=e.hour!==undefined&&e.minute!==undefined?" ".concat(e.hour,":").concat(e.minute):"";return new Date("".concat((r=e.month)!==null&&r!==void 0?r:1,"/").concat((n=e.day)!==null&&n!==void 0?n:1,"/").concat((a=e.year)!==null&&a!==void 0?a:2023).concat(t," GMT+0000"))};var getLocalizedDateTime=function(e,r,n){var a=getNormalizedDate(r);return getDateTimeFormat(e,n).format(a)};var getLocalizedDateTimeParts=function(e,r,n){var a=getNormalizedDate(r);return getDateTimeFormat(e,n).formatToParts(a)};var getDateTimeFormat=function(e,r){return new Intl.DateTimeFormat(e,Object.assign(Object.assign({},r),{timeZone:"UTC"}))};var getTodayLabel=function(e){if("RelativeTimeFormat"in Intl){var r=new Intl.RelativeTimeFormat(e,{numeric:"auto"}).format(0,"day");return r.charAt(0).toUpperCase()+r.slice(1)}else{return"Today"}};var removeDateTzOffset=function(e){var r=e.getTimezoneOffset();e.setMinutes(e.getMinutes()-r);return e};var DATE_AM=removeDateTzOffset(new Date("2022T01:00"));var DATE_PM=removeDateTzOffset(new Date("2022T13:00"));var getLocalizedDayPeriod=function(e,r){var n=r==="am"?DATE_AM:DATE_PM;var a=new Intl.DateTimeFormat(e,{hour:"numeric",timeZone:"UTC"}).formatToParts(n).find((function(e){return e.type==="dayPeriod"}));if(a){return a.value}return getFormattedDayPeriod(r)};var formatValue=function(e){return Array.isArray(e)?e.join(","):e};var getToday=function(){return removeDateTzOffset(new Date).toISOString()};var minutes=[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,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];var hour11=[0,1,2,3,4,5,6,7,8,9,10,11];var hour12=[0,1,2,3,4,5,6,7,8,9,10,11];var 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];var 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];var getDaysOfWeek=function(e,r,n){if(n===void 0){n=0}var a=r==="ios"?"short":"narrow";var t=new Intl.DateTimeFormat(e,{weekday:a});var i=new Date("11/01/2020");var u=[];for(var o=n;o<n+7;o++){var d=new Date(i);d.setDate(d.getDate()+o);u.push(t.format(d))}return u};var getDaysOfMonth=function(e,r,n){var a=getNumDaysInMonth(e,r);var t=new Date("".concat(e,"/1/").concat(r)).getDay();var i=t>=n?t-(n+1):6-(n-t);var u=[];for(var o=1;o<=a;o++){u.push({day:o,dayOfWeek:(i+o)%7})}for(var o=0;o<=i;o++){u=__spreadArray([{day:null,dayOfWeek:null}],u,true)}return u};var getHourData=function(e){switch(e){case"h11":return hour11;case"h12":return hour12;case"h23":return hour23;case"h24":return hour24;default:throw new Error('Invalid hour cycle "'.concat(e,'"'))}};var generateTime=function(e,r,n,a,t,i,u){if(n===void 0){n="h12"}var o=getHourCycle(e,n);var d=is24Hour(o);var f=getHourData(o);var v=minutes;var s=true;var l=true;if(i){f=f.filter((function(e){return i.includes(e)}))}if(u){v=v.filter((function(e){return u.includes(e)}))}if(a){if(isSameDay(r,a)){if(a.hour!==undefined){f=f.filter((function(e){var n=r.ampm==="pm"?(e+12)%24:e;return(d?e:n)>=a.hour}));s=a.hour<13}if(a.minute!==undefined){var c=false;if(a.hour!==undefined&&r.hour!==undefined){if(r.hour>a.hour){c=true}}v=v.filter((function(e){if(c){return true}return e>=a.minute}))}}else if(isBefore(r,a)){f=[];v=[];s=l=false}}if(t){if(isSameDay(r,t)){if(t.hour!==undefined){f=f.filter((function(e){var n=r.ampm==="pm"?(e+12)%24:e;return(d?e:n)<=t.hour}));l=t.hour>=12}if(t.minute!==undefined&&r.hour===t.hour){v=v.filter((function(e){return e<=t.minute}))}}else if(isAfter(r,t)){f=[];v=[];s=l=false}}return{hours:f,minutes:v,am:s,pm:l}};var generateMonths=function(e,r){var n={month:e.month,year:e.year,day:e.day};if(r!==undefined&&(e.month!==r.month||e.year!==r.year)){var a={month:r.month,year:r.year,day:r.day};var t=isBefore(a,n);return t?[a,n,getNextMonth(e)]:[getPreviousMonth(e),n,a]}return[getPreviousMonth(e),n,getNextMonth(e)]};var getMonthColumnData=function(e,r,n,a,t,i){if(i===void 0){i={month:"long"}}var u=r.year;var o=[];if(t!==undefined){var d=t;if((a===null||a===void 0?void 0:a.month)!==undefined){d=d.filter((function(e){return e<=a.month}))}if((n===null||n===void 0?void 0:n.month)!==undefined){d=d.filter((function(e){return e>=n.month}))}d.forEach((function(r){var n=new Date("".concat(r,"/1/").concat(u," GMT+0000"));var a=new Intl.DateTimeFormat(e,Object.assign(Object.assign({},i),{timeZone:"UTC"})).format(n);o.push({text:a,value:r})}))}else{var f=a&&a.year===u?a.month:12;var v=n&&n.year===u?n.month:1;for(var s=v;s<=f;s++){var l=new Date("".concat(s,"/1/").concat(u," GMT+0000"));var c=new Intl.DateTimeFormat(e,Object.assign(Object.assign({},i),{timeZone:"UTC"})).format(l);o.push({text:c,value:s})}}return o};var getDayColumnData=function(e,r,n,a,t,i){if(i===void 0){i={day:"numeric"}}var u=r.month,o=r.year;var d=[];var f=getNumDaysInMonth(u,o);var v=(a===null||a===void 0?void 0:a.day)!==null&&(a===null||a===void 0?void 0:a.day)!==undefined&&a.year===o&&a.month===u?a.day:f;var s=(n===null||n===void 0?void 0:n.day)!==null&&(n===null||n===void 0?void 0:n.day)!==undefined&&n.year===o&&n.month===u?n.day:1;if(t!==undefined){var l=t;l=l.filter((function(e){return e>=s&&e<=v}));l.forEach((function(r){var n=new Date("".concat(u,"/").concat(r,"/").concat(o," GMT+0000"));var a=new Intl.DateTimeFormat(e,Object.assign(Object.assign({},i),{timeZone:"UTC"})).format(n);d.push({text:a,value:r})}))}else{for(var c=s;c<=v;c++){var m=new Date("".concat(u,"/").concat(c,"/").concat(o," GMT+0000"));var y=new Intl.DateTimeFormat(e,Object.assign(Object.assign({},i),{timeZone:"UTC"})).format(m);d.push({text:y,value:c})}}return d};var getYearColumnData=function(e,r,n,a,t){var i,u;var o=[];if(t!==undefined){o=t;if((a===null||a===void 0?void 0:a.year)!==undefined){o=o.filter((function(e){return e<=a.year}))}if((n===null||n===void 0?void 0:n.year)!==undefined){o=o.filter((function(e){return e>=n.year}))}}else{var d=r.year;var f=(i=a===null||a===void 0?void 0:a.year)!==null&&i!==void 0?i:d;var v=(u=n===null||n===void 0?void 0:n.year)!==null&&u!==void 0?u:d-100;for(var s=v;s<=f;s++){o.push(s)}}return o.map((function(n){return{text:getYear(e,{year:n,month:r.month,day:r.day}),value:n}}))};var getAllMonthsInRange=function(e,r){if(e.month===r.month&&e.year===r.year){return[e]}return __spreadArray([e],getAllMonthsInRange(getNextMonth(e),r),true)};var getCombinedDateColumnData=function(e,r,n,a,t,i){var u=[];var o=[];var d=getAllMonthsInRange(n,a);if(i){d=d.filter((function(e){var r=e.month;return i.includes(r)}))}d.forEach((function(i){var d={month:i.month,day:null,year:i.year};var f=getDayColumnData(e,d,n,a,t,{month:"short",day:"numeric",weekday:"short"});var v=[];var s=[];f.forEach((function(n){var a=isSameDay(Object.assign(Object.assign({},d),{day:n.value}),r);s.push({text:a?getTodayLabel(e):n.text,value:"".concat(d.year,"-").concat(d.month,"-").concat(n.value)});v.push({month:d.month,year:d.year,day:n.value})}));o=__spreadArray(__spreadArray([],o,true),v,true);u=__spreadArray(__spreadArray([],u,true),s,true)}));return{parts:o,items:u}};var getTimeColumnsData=function(e,r,n,a,t,i,u){var o=getHourCycle(e,n);var d=is24Hour(o);var f=generateTime(e,r,o,a,t,i,u),v=f.hours,s=f.minutes,l=f.am,c=f.pm;var m=v.map((function(e){return{text:getFormattedHour(e,o),value:getInternalHourValue(e,d,r.ampm)}}));var y=s.map((function(e){return{text:addTimePadding(e),value:e}}));var g=[];if(l&&!d){g.push({text:getLocalizedDayPeriod(e,"am"),value:"am"})}if(c&&!d){g.push({text:getLocalizedDayPeriod(e,"pm"),value:"pm"})}return{minutesData:y,hoursData:m,dayPeriodData:g}};export{getDayColumnData as A,getYearColumnData as B,isMonthFirstLocale as C,getTimeColumnsData as D,isLocaleDayPeriodRTL as E,getDaysOfWeek as F,getMonthAndYear as G,getDaysOfMonth as H,generateMonths as I,getHourCycle as J,getLocalizedTime as K,getMonthAndDay as L,formatValue as M,getNextYear as N,getPreviousYear as O,clampDate as P,parseAmPm as Q,calculateHourFromAMPM as R,getLocalizedDateTime as S,getMonthDayAndYear as T,getDay as a,isAfter as b,isSameDay as c,getPreviousMonth as d,getNextMonth as e,getPartsFromCalendarDay as f,generateDayAriaLabel as g,getEndOfWeek as h,isBefore as i,getStartOfWeek as j,getPreviousDay as k,getNextDay as l,getPreviousWeek as m,getNextWeek as n,parseMaxParts as o,parseMinParts as p,parseDate as q,convertToArrayOfNumbers as r,convertDataToISO as s,getToday as t,getClosestValidDate as u,validateParts as v,warnIfValueOutOfBounds as w,getNumDaysInMonth as x,getCombinedDateColumnData as y,getMonthColumnData as z};
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * (C) Ionic http://ionicframework.com - MIT License
3
3
  */
4
- var isRTL=function(r){if(r){if(r.dir!==""){return r.dir.toLowerCase()==="rtl"}}return(document===null||document===void 0?void 0:document.dir.toLowerCase())==="rtl"};export{isRTL as i};
4
+ var isRTL=function(t){if(t){if(t.dir!==""){return t.dir.toLowerCase()==="rtl"}}return(document===null||document===void 0?void 0:document.dir.toLowerCase())==="rtl"};export{isRTL as i};