@ionic/core 7.5.8-dev.11702664817.19cab605 → 7.5.8-dev.11703088210.14a72b83

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 (493) hide show
  1. package/components/backdrop.js +12 -0
  2. package/components/button.js +2 -2
  3. package/components/data.js +1 -1
  4. package/components/gesture-controller.js +1 -1
  5. package/components/ion-content.js +1 -1
  6. package/components/ion-datetime.js +64 -40
  7. package/components/ion-input.js +0 -2
  8. package/components/ion-picker-column-internal.d.ts +11 -0
  9. package/components/ion-picker-column-internal.js +9 -0
  10. package/components/ion-picker-column.js +2 -2
  11. package/components/{ion-picker-legacy.d.ts → ion-picker-internal.d.ts} +4 -4
  12. package/components/ion-picker-internal.js +9 -0
  13. package/components/ion-picker.js +309 -1
  14. package/components/ion-refresher-content.js +10 -3
  15. package/components/ion-refresher.js +4 -183
  16. package/components/ion-searchbar.js +0 -2
  17. package/components/ion-textarea.js +0 -2
  18. package/components/ion-title.js +1 -22
  19. package/components/overlays.js +4 -11
  20. package/components/picker-column-internal.js +390 -0
  21. package/components/picker-column.js +322 -351
  22. package/components/{picker.js → picker-internal.js} +22 -29
  23. package/components/refresher.utils.js +196 -0
  24. package/dist/cjs/{app-globals-0af482c7.js → app-globals-28656db1.js} +1 -1
  25. package/dist/cjs/{button-active-9d7e0640.js → button-active-75b38d77.js} +2 -2
  26. package/dist/cjs/{data-e7526b58.js → data-36b9094e.js} +1 -1
  27. package/dist/cjs/{gesture-controller-9436f482.js → gesture-controller-c40c045a.js} +0 -1
  28. package/dist/cjs/{index-5cbb20f9.js → index-097270a3.js} +1 -1
  29. package/dist/cjs/{index-bbb4336c.js → index-b0102f48.js} +1 -39
  30. package/dist/cjs/{index-d4c2e02c.js → index-cb3e0ab7.js} +3 -3
  31. package/dist/cjs/{index-ee07ed59.js → index-d1b59ffa.js} +1 -1
  32. package/dist/cjs/index.cjs.js +9 -9
  33. package/dist/cjs/ion-accordion_2.cjs.entry.js +2 -2
  34. package/dist/cjs/ion-action-sheet.cjs.entry.js +6 -6
  35. package/dist/cjs/ion-alert.cjs.entry.js +6 -6
  36. package/dist/cjs/ion-app_8.cjs.entry.js +8 -28
  37. package/dist/cjs/ion-avatar_3.cjs.entry.js +2 -2
  38. package/dist/cjs/ion-back-button.cjs.entry.js +2 -2
  39. package/dist/cjs/ion-backdrop.cjs.entry.js +14 -2
  40. package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +2 -2
  41. package/dist/cjs/ion-button_2.cjs.entry.js +4 -4
  42. package/dist/cjs/ion-card_5.cjs.entry.js +2 -2
  43. package/dist/cjs/ion-checkbox.cjs.entry.js +2 -2
  44. package/dist/cjs/ion-chip.cjs.entry.js +2 -2
  45. package/dist/cjs/ion-col_3.cjs.entry.js +2 -2
  46. package/dist/cjs/ion-datetime-button.cjs.entry.js +3 -3
  47. package/dist/cjs/ion-datetime_3.cjs.entry.js +58 -38
  48. package/dist/cjs/ion-fab_3.cjs.entry.js +2 -2
  49. package/dist/cjs/ion-img.cjs.entry.js +2 -2
  50. package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +2 -2
  51. package/dist/cjs/ion-input.cjs.entry.js +2 -4
  52. package/dist/cjs/ion-item-option_3.cjs.entry.js +3 -3
  53. package/dist/cjs/ion-item_8.cjs.entry.js +2 -2
  54. package/dist/cjs/ion-loading.cjs.entry.js +3 -4
  55. package/dist/cjs/ion-menu_3.cjs.entry.js +6 -6
  56. package/dist/cjs/ion-modal.cjs.entry.js +6 -6
  57. package/dist/cjs/ion-nav_2.cjs.entry.js +4 -4
  58. package/dist/cjs/{ion-picker-column.cjs.entry.js → ion-picker-column-internal.cjs.entry.js} +89 -106
  59. package/dist/cjs/{ion-picker.cjs.entry.js → ion-picker-internal.cjs.entry.js} +20 -27
  60. package/dist/cjs/ion-popover.cjs.entry.js +4 -5
  61. package/dist/cjs/ion-progress-bar.cjs.entry.js +2 -2
  62. package/dist/cjs/ion-radio_2.cjs.entry.js +2 -2
  63. package/dist/cjs/ion-range.cjs.entry.js +3 -3
  64. package/dist/cjs/ion-refresher_2.cjs.entry.js +32 -17
  65. package/dist/cjs/ion-reorder_2.cjs.entry.js +3 -3
  66. package/dist/cjs/ion-ripple-effect.cjs.entry.js +2 -2
  67. package/dist/cjs/ion-route_4.cjs.entry.js +2 -2
  68. package/dist/cjs/ion-searchbar.cjs.entry.js +2 -4
  69. package/dist/cjs/ion-segment_2.cjs.entry.js +3 -3
  70. package/dist/cjs/ion-select_3.cjs.entry.js +3 -4
  71. package/dist/cjs/ion-spinner.cjs.entry.js +2 -2
  72. package/dist/cjs/ion-split-pane.cjs.entry.js +2 -2
  73. package/dist/cjs/ion-tab-bar_2.cjs.entry.js +2 -2
  74. package/dist/cjs/ion-tab_2.cjs.entry.js +1 -1
  75. package/dist/cjs/ion-text.cjs.entry.js +2 -2
  76. package/dist/cjs/ion-textarea.cjs.entry.js +2 -4
  77. package/dist/cjs/ion-toast.cjs.entry.js +3 -4
  78. package/dist/cjs/ion-toggle.cjs.entry.js +3 -3
  79. package/dist/cjs/{ionic-global-f4a2093b.js → ionic-global-62510d64.js} +1 -1
  80. package/dist/cjs/ionic.cjs.js +5 -5
  81. package/dist/cjs/{ios.transition-a4ffb5a2.js → ios.transition-d9c0e4fb.js} +2 -2
  82. package/dist/cjs/loader.cjs.js +4 -4
  83. package/dist/cjs/{md.transition-292abe1c.js → md.transition-4fac8a87.js} +2 -2
  84. package/dist/cjs/{overlays-e8e05b0e.js → overlays-b1471172.js} +5 -12
  85. package/dist/cjs/{status-tap-415acac6.js → status-tap-0aa8e1f2.js} +1 -1
  86. package/dist/cjs/{swipe-back-b8f2330b.js → swipe-back-2a858bbd.js} +2 -2
  87. package/dist/collection/collection-manifest.json +9 -10
  88. package/dist/collection/components/backdrop/backdrop.js +12 -0
  89. package/dist/collection/components/button/button.ios.css +1 -1
  90. package/dist/collection/components/button/button.md.css +1 -1
  91. package/dist/collection/components/button/test/wrap/button.e2e.js +24 -12
  92. package/dist/collection/components/content/content.css +4 -0
  93. package/dist/collection/components/datetime/datetime.ios.css +37 -91
  94. package/dist/collection/components/datetime/datetime.js +36 -24
  95. package/dist/collection/components/datetime/datetime.md.css +37 -96
  96. package/dist/collection/components/datetime/test/a11y/datetime.e2e.js +1 -1
  97. package/dist/collection/components/datetime/test/a11y/datetime.spec.js +9 -6
  98. package/dist/collection/components/datetime/test/basic/datetime.e2e.js +0 -10
  99. package/dist/collection/components/datetime/test/datetime.e2e.js +2 -2
  100. package/dist/collection/components/datetime/test/disabled/datetime.spec.js +4 -4
  101. package/dist/collection/components/datetime/test/locale/datetime.e2e.js +2 -2
  102. package/dist/collection/components/datetime/test/minmax/datetime.e2e.js +6 -6
  103. package/dist/collection/components/datetime/test/month-year-picker/datetime.e2e.js +1 -1
  104. package/dist/collection/components/datetime/test/prefer-wheel/datetime.e2e.js +41 -43
  105. package/dist/collection/components/datetime/test/presentation/datetime.e2e.js +1 -1
  106. package/dist/collection/components/datetime/test/readonly/datetime.e2e.js +4 -4
  107. package/dist/collection/components/datetime/test/values/datetime.e2e.js +12 -15
  108. package/dist/collection/components/datetime/utils/data.js +1 -1
  109. package/dist/collection/components/input/input.js +2 -4
  110. package/dist/collection/components/picker/picker.ios.css +211 -112
  111. package/dist/collection/components/picker/picker.js +744 -472
  112. package/dist/collection/components/picker/picker.md.css +198 -108
  113. package/dist/collection/components/picker/test/basic/picker.e2e.js +13 -99
  114. package/dist/collection/components/{picker-legacy → picker}/test/is-open/picker.e2e.js +4 -4
  115. package/dist/collection/components/{picker-legacy → picker}/test/picker-id.spec.js +5 -5
  116. package/dist/collection/components/{picker-legacy → picker}/test/trigger/picker.e2e.js +1 -1
  117. package/dist/collection/components/picker-column/picker-column.js +335 -497
  118. package/dist/collection/components/{picker-legacy-column → picker-column}/test/picker-column-aria.spec.js +3 -3
  119. package/dist/collection/components/{picker-legacy-column → picker-column}/test/picker-column-dynamic.spec.js +2 -2
  120. package/dist/collection/components/{picker-legacy-column → picker-column}/test/picker-column.spec.js +2 -2
  121. package/dist/collection/components/{picker-legacy-column → picker-column}/test/standalone/picker-column.e2e.js +3 -3
  122. package/dist/collection/components/{picker-column-option/picker-column-option.md.css → picker-column-internal/picker-column-internal.ios.css} +53 -6
  123. package/dist/collection/components/picker-column-internal/picker-column-internal.js +565 -0
  124. package/dist/collection/components/{picker-column/picker-column.css → picker-column-internal/picker-column-internal.md.css} +83 -96
  125. package/dist/collection/components/{picker-column/test/basic/picker-column.e2e.js → picker-column-internal/test/basic/picker-column-internal.e2e.js} +8 -8
  126. package/dist/collection/components/picker-column-internal/test/disabled/picker-column-internal.e2e.js +162 -0
  127. package/dist/collection/components/{picker-legacy/picker.md.css → picker-internal/picker-internal.ios.css} +100 -192
  128. package/dist/collection/components/picker-internal/picker-internal.js +544 -0
  129. package/dist/collection/components/{picker-legacy/picker.ios.css → picker-internal/picker-internal.md.css} +98 -207
  130. package/dist/collection/components/{picker/test/a11y/picker.e2e.js → picker-internal/test/a11y/picker-internal.e2e.js} +2 -2
  131. package/dist/collection/components/picker-internal/test/basic/picker-internal.e2e.js +118 -0
  132. package/dist/collection/components/{picker/test/keyboard-entry/picker.e2e.js → picker-internal/test/keyboard-entry/picker-internal.e2e.js} +32 -63
  133. package/dist/collection/components/refresher/refresher.utils.js +19 -11
  134. package/dist/collection/components/refresher-content/refresher-content.js +9 -3
  135. package/dist/collection/components/searchbar/searchbar.js +1 -3
  136. package/dist/collection/components/textarea/textarea.js +2 -4
  137. package/dist/collection/components/title/test/a11y/title.e2e.js +0 -39
  138. package/dist/collection/components/title/title.js +1 -22
  139. package/dist/collection/utils/gesture/gesture-controller.js +1 -1
  140. package/dist/collection/utils/overlays.js +4 -11
  141. package/dist/docs.json +47 -484
  142. package/dist/esm/{app-globals-722340c4.js → app-globals-c23144fc.js} +1 -1
  143. package/dist/esm/{button-active-ed9d848c.js → button-active-7013b5a1.js} +2 -2
  144. package/dist/esm/{data-4b9508c9.js → data-f5c75b4e.js} +1 -1
  145. package/dist/esm/{gesture-controller-314a54f6.js → gesture-controller-1bf57181.js} +1 -1
  146. package/dist/esm/{index-39782642.js → index-2cf77112.js} +2 -2
  147. package/dist/esm/{index-08d686eb.js → index-39329c6f.js} +1 -39
  148. package/dist/esm/{index-80492ed3.js → index-7a818ed3.js} +1 -1
  149. package/dist/esm/{index-d8817fb0.js → index-bebaae5d.js} +3 -3
  150. package/dist/esm/index.js +9 -9
  151. package/dist/esm/ion-accordion_2.entry.js +2 -2
  152. package/dist/esm/ion-action-sheet.entry.js +6 -6
  153. package/dist/esm/ion-alert.entry.js +6 -6
  154. package/dist/esm/ion-app_8.entry.js +8 -28
  155. package/dist/esm/ion-avatar_3.entry.js +2 -2
  156. package/dist/esm/ion-back-button.entry.js +2 -2
  157. package/dist/esm/ion-backdrop.entry.js +14 -2
  158. package/dist/esm/ion-breadcrumb_2.entry.js +2 -2
  159. package/dist/esm/ion-button_2.entry.js +4 -4
  160. package/dist/esm/ion-card_5.entry.js +2 -2
  161. package/dist/esm/ion-checkbox.entry.js +2 -2
  162. package/dist/esm/ion-chip.entry.js +2 -2
  163. package/dist/esm/ion-col_3.entry.js +2 -2
  164. package/dist/esm/ion-datetime-button.entry.js +3 -3
  165. package/dist/esm/ion-datetime_3.entry.js +57 -37
  166. package/dist/esm/ion-fab_3.entry.js +2 -2
  167. package/dist/esm/ion-img.entry.js +2 -2
  168. package/dist/esm/ion-infinite-scroll_2.entry.js +2 -2
  169. package/dist/esm/ion-input.entry.js +2 -4
  170. package/dist/esm/ion-item-option_3.entry.js +3 -3
  171. package/dist/esm/ion-item_8.entry.js +2 -2
  172. package/dist/esm/ion-loading.entry.js +3 -4
  173. package/dist/esm/ion-menu_3.entry.js +6 -6
  174. package/dist/esm/ion-modal.entry.js +6 -6
  175. package/dist/esm/ion-nav_2.entry.js +4 -4
  176. package/dist/esm/{ion-picker-column.entry.js → ion-picker-column-internal.entry.js} +89 -106
  177. package/dist/esm/{ion-picker.entry.js → ion-picker-internal.entry.js} +20 -27
  178. package/dist/esm/ion-popover.entry.js +4 -5
  179. package/dist/esm/ion-progress-bar.entry.js +2 -2
  180. package/dist/esm/ion-radio_2.entry.js +2 -2
  181. package/dist/esm/ion-range.entry.js +3 -3
  182. package/dist/esm/ion-refresher_2.entry.js +32 -17
  183. package/dist/esm/ion-reorder_2.entry.js +3 -3
  184. package/dist/esm/ion-ripple-effect.entry.js +2 -2
  185. package/dist/esm/ion-route_4.entry.js +2 -2
  186. package/dist/esm/ion-searchbar.entry.js +2 -4
  187. package/dist/esm/ion-segment_2.entry.js +3 -3
  188. package/dist/esm/ion-select_3.entry.js +3 -4
  189. package/dist/esm/ion-spinner.entry.js +2 -2
  190. package/dist/esm/ion-split-pane.entry.js +2 -2
  191. package/dist/esm/ion-tab-bar_2.entry.js +2 -2
  192. package/dist/esm/ion-tab_2.entry.js +1 -1
  193. package/dist/esm/ion-text.entry.js +2 -2
  194. package/dist/esm/ion-textarea.entry.js +2 -4
  195. package/dist/esm/ion-toast.entry.js +3 -4
  196. package/dist/esm/ion-toggle.entry.js +3 -3
  197. package/dist/esm/{ionic-global-c0cda98e.js → ionic-global-6c78e871.js} +1 -1
  198. package/dist/esm/ionic.js +6 -6
  199. package/dist/esm/{ios.transition-fd16bec1.js → ios.transition-daa373e9.js} +2 -2
  200. package/dist/esm/loader.js +5 -5
  201. package/dist/esm/{md.transition-94ac93e1.js → md.transition-91c3d3cc.js} +2 -2
  202. package/dist/esm/{overlays-fbc5cab5.js → overlays-64e67e2c.js} +5 -12
  203. package/dist/esm/{status-tap-2b93b1b5.js → status-tap-9dd45200.js} +1 -1
  204. package/dist/esm/{swipe-back-a8ca7f93.js → swipe-back-a6f386fc.js} +2 -2
  205. package/dist/esm-es5/app-globals-c23144fc.js +4 -0
  206. package/dist/esm-es5/{button-active-ed9d848c.js → button-active-7013b5a1.js} +1 -1
  207. package/dist/esm-es5/{gesture-controller-314a54f6.js → gesture-controller-1bf57181.js} +1 -1
  208. package/dist/esm-es5/{index-39782642.js → index-2cf77112.js} +1 -1
  209. package/dist/esm-es5/{index-08d686eb.js → index-39329c6f.js} +1 -1
  210. package/dist/esm-es5/{index-80492ed3.js → index-7a818ed3.js} +1 -1
  211. package/dist/esm-es5/{index-d8817fb0.js → index-bebaae5d.js} +1 -1
  212. package/dist/esm-es5/index.js +1 -1
  213. package/dist/esm-es5/ion-accordion_2.entry.js +1 -1
  214. package/dist/esm-es5/ion-action-sheet.entry.js +1 -1
  215. package/dist/esm-es5/ion-alert.entry.js +1 -1
  216. package/dist/esm-es5/ion-app_8.entry.js +1 -1
  217. package/dist/esm-es5/ion-avatar_3.entry.js +1 -1
  218. package/dist/esm-es5/ion-back-button.entry.js +1 -1
  219. package/dist/esm-es5/ion-backdrop.entry.js +1 -1
  220. package/dist/esm-es5/ion-breadcrumb_2.entry.js +1 -1
  221. package/dist/esm-es5/ion-button_2.entry.js +1 -1
  222. package/dist/esm-es5/ion-card_5.entry.js +1 -1
  223. package/dist/esm-es5/ion-checkbox.entry.js +1 -1
  224. package/dist/esm-es5/ion-chip.entry.js +1 -1
  225. package/dist/esm-es5/ion-col_3.entry.js +1 -1
  226. package/dist/esm-es5/ion-datetime-button.entry.js +1 -1
  227. package/dist/esm-es5/ion-datetime_3.entry.js +1 -1
  228. package/dist/esm-es5/ion-fab_3.entry.js +1 -1
  229. package/dist/esm-es5/ion-img.entry.js +1 -1
  230. package/dist/esm-es5/ion-infinite-scroll_2.entry.js +1 -1
  231. package/dist/esm-es5/ion-input.entry.js +1 -1
  232. package/dist/esm-es5/ion-item-option_3.entry.js +1 -1
  233. package/dist/esm-es5/ion-item_8.entry.js +1 -1
  234. package/dist/esm-es5/ion-loading.entry.js +1 -1
  235. package/dist/esm-es5/ion-menu_3.entry.js +1 -1
  236. package/dist/esm-es5/ion-modal.entry.js +1 -1
  237. package/dist/esm-es5/ion-nav_2.entry.js +1 -1
  238. package/dist/esm-es5/ion-picker-column-internal.entry.js +4 -0
  239. package/dist/esm-es5/ion-picker-internal.entry.js +4 -0
  240. package/dist/esm-es5/ion-popover.entry.js +1 -1
  241. package/dist/esm-es5/ion-progress-bar.entry.js +1 -1
  242. package/dist/esm-es5/ion-radio_2.entry.js +1 -1
  243. package/dist/esm-es5/ion-range.entry.js +1 -1
  244. package/dist/esm-es5/ion-refresher_2.entry.js +1 -1
  245. package/dist/esm-es5/ion-reorder_2.entry.js +1 -1
  246. package/dist/esm-es5/ion-ripple-effect.entry.js +1 -1
  247. package/dist/esm-es5/ion-route_4.entry.js +1 -1
  248. package/dist/esm-es5/ion-searchbar.entry.js +1 -1
  249. package/dist/esm-es5/ion-segment_2.entry.js +1 -1
  250. package/dist/esm-es5/ion-select_3.entry.js +1 -1
  251. package/dist/esm-es5/ion-spinner.entry.js +1 -1
  252. package/dist/esm-es5/ion-split-pane.entry.js +1 -1
  253. package/dist/esm-es5/ion-tab-bar_2.entry.js +1 -1
  254. package/dist/esm-es5/ion-tab_2.entry.js +1 -1
  255. package/dist/esm-es5/ion-text.entry.js +1 -1
  256. package/dist/esm-es5/ion-textarea.entry.js +1 -1
  257. package/dist/esm-es5/ion-toast.entry.js +1 -1
  258. package/dist/esm-es5/ion-toggle.entry.js +1 -1
  259. package/dist/esm-es5/{ionic-global-c0cda98e.js → ionic-global-6c78e871.js} +1 -1
  260. package/dist/esm-es5/ionic.js +1 -1
  261. package/dist/esm-es5/{ios.transition-fd16bec1.js → ios.transition-daa373e9.js} +1 -1
  262. package/dist/esm-es5/loader.js +1 -1
  263. package/dist/esm-es5/{md.transition-94ac93e1.js → md.transition-91c3d3cc.js} +1 -1
  264. package/dist/esm-es5/overlays-64e67e2c.js +4 -0
  265. package/dist/esm-es5/{status-tap-2b93b1b5.js → status-tap-9dd45200.js} +1 -1
  266. package/dist/esm-es5/swipe-back-a6f386fc.js +4 -0
  267. package/dist/html.html-data.json +3 -154
  268. package/dist/ionic/index.esm.js +1 -1
  269. package/dist/ionic/ionic.esm.js +1 -1
  270. package/dist/ionic/ionic.js +1 -1
  271. package/dist/ionic/{p-30029cc2.system.js → p-0263eb49.system.js} +1 -1
  272. package/dist/ionic/p-06600f70.js +4 -0
  273. package/dist/ionic/p-0827d00e.system.entry.js +4 -0
  274. package/dist/ionic/{p-9738fd82.js → p-12cdcb59.js} +1 -1
  275. package/dist/ionic/{p-1161a793.entry.js → p-161d0916.entry.js} +1 -1
  276. package/dist/ionic/{p-1d624e03.system.js → p-1631b52f.system.js} +1 -1
  277. package/dist/ionic/{p-34c39c48.entry.js → p-18032a93.entry.js} +1 -1
  278. package/dist/ionic/p-19545a49.system.entry.js +4 -0
  279. package/dist/ionic/{p-cfe57b1b.entry.js → p-1c6c6098.entry.js} +1 -1
  280. package/dist/ionic/{p-6e70dd1a.system.entry.js → p-1cbc21e2.system.entry.js} +1 -1
  281. package/dist/ionic/p-1e7daa1f.entry.js +4 -0
  282. package/dist/ionic/{p-2092f39f.entry.js → p-1ff22253.entry.js} +1 -1
  283. package/dist/ionic/{p-5ecae037.js → p-21f015cf.js} +1 -1
  284. package/dist/ionic/{p-3fd26bd6.system.entry.js → p-23a27e78.system.entry.js} +1 -1
  285. package/dist/ionic/p-2507b0c0.entry.js +4 -0
  286. package/dist/ionic/{p-22e5af95.entry.js → p-2657f213.entry.js} +1 -1
  287. package/dist/ionic/{p-6fd64e7c.system.entry.js → p-27a5f2c7.system.entry.js} +1 -1
  288. package/dist/ionic/{p-4a081ea9.entry.js → p-27e6473f.entry.js} +1 -1
  289. package/dist/ionic/{p-464975c5.system.entry.js → p-2a7e6572.system.entry.js} +1 -1
  290. package/dist/ionic/{p-77965464.system.entry.js → p-2ac9d078.system.entry.js} +1 -1
  291. package/dist/ionic/{p-4fb51e61.system.entry.js → p-2cd9cb80.system.entry.js} +1 -1
  292. package/dist/ionic/{p-17da5ed1.entry.js → p-312221db.entry.js} +1 -1
  293. package/dist/ionic/{p-a225bf0f.system.entry.js → p-315ad733.system.entry.js} +1 -1
  294. package/dist/ionic/{p-3e1e14d9.system.js → p-31b2326e.system.js} +1 -1
  295. package/dist/ionic/p-33f3cd49.entry.js +4 -0
  296. package/dist/ionic/{p-5b365ca7.system.js → p-34d6f520.system.js} +1 -1
  297. package/dist/ionic/{p-b133e9b4.entry.js → p-3535a36c.entry.js} +1 -1
  298. package/dist/ionic/p-35ce400e.system.js +4 -0
  299. package/dist/ionic/{p-93000a81.system.entry.js → p-3acad8ff.system.entry.js} +1 -1
  300. package/dist/ionic/{p-b5f9f14c.entry.js → p-3cb5466e.entry.js} +1 -1
  301. package/dist/ionic/{p-1fc72959.entry.js → p-3f5ae764.entry.js} +1 -1
  302. package/dist/ionic/{p-42ba3902.entry.js → p-405f1a72.entry.js} +1 -1
  303. package/dist/ionic/{p-96dbbac1.system.entry.js → p-41f7af3f.system.entry.js} +1 -1
  304. package/dist/ionic/{p-3fe96156.system.js → p-426bdba9.system.js} +1 -1
  305. package/dist/ionic/p-45db7949.system.entry.js +4 -0
  306. package/dist/ionic/{p-21c3515a.entry.js → p-46dbd723.entry.js} +1 -1
  307. package/dist/ionic/{p-ef126ae8.system.entry.js → p-4f71a9cf.system.entry.js} +1 -1
  308. package/dist/ionic/{p-a4afcc88.entry.js → p-53a3283e.entry.js} +1 -1
  309. package/dist/ionic/{p-4a36430f.system.entry.js → p-57c0d5bf.system.entry.js} +1 -1
  310. package/dist/ionic/p-58dd7c15.entry.js +4 -0
  311. package/dist/ionic/{p-b4a51c42.system.js → p-58ff9e5b.system.js} +1 -1
  312. package/dist/ionic/{p-cde52378.system.entry.js → p-5a7d5905.system.entry.js} +1 -1
  313. package/dist/ionic/p-5c7f13cd.system.entry.js +4 -0
  314. package/dist/ionic/{p-e8e86f69.system.entry.js → p-5f127075.system.entry.js} +1 -1
  315. package/dist/ionic/{p-4a31c99f.entry.js → p-5f46d93e.entry.js} +1 -1
  316. package/dist/ionic/{p-18ba8221.entry.js → p-5fb707e0.entry.js} +1 -1
  317. package/dist/ionic/{p-6fbecbda.entry.js → p-64af4468.entry.js} +1 -1
  318. package/dist/ionic/{p-232d1f22.entry.js → p-6744eca5.entry.js} +1 -1
  319. package/dist/ionic/{p-8f5d30f5.entry.js → p-67598744.entry.js} +1 -1
  320. package/dist/ionic/p-6a6477b2.js +4 -0
  321. package/dist/ionic/{p-7b725280.entry.js → p-6cf08720.entry.js} +1 -1
  322. package/dist/ionic/{p-6d72fb44.entry.js → p-70ecb18b.entry.js} +1 -1
  323. package/dist/ionic/{p-6b7c55cd.entry.js → p-71d986ae.entry.js} +1 -1
  324. package/dist/ionic/p-742e11cf.system.entry.js +4 -0
  325. package/dist/ionic/{p-f7a36cd0.system.js → p-7484b1d6.system.js} +1 -1
  326. package/dist/ionic/p-78ebf1b6.system.entry.js +4 -0
  327. package/dist/ionic/{p-b7010c69.system.entry.js → p-7ae5ca1f.system.entry.js} +1 -1
  328. package/dist/ionic/{p-c847fb35.system.entry.js → p-8261be6c.system.entry.js} +1 -1
  329. package/dist/ionic/p-83fada9e.system.entry.js +4 -0
  330. package/dist/ionic/{p-353b349d.entry.js → p-86c2bbc8.entry.js} +1 -1
  331. package/dist/ionic/{p-1208f939.entry.js → p-89026d53.entry.js} +1 -1
  332. package/dist/ionic/{p-9c229210.system.entry.js → p-89cfbc88.system.entry.js} +2 -2
  333. package/dist/ionic/p-8a10752d.entry.js +4 -0
  334. package/dist/ionic/{p-e7ea9815.system.entry.js → p-8a75f7bf.system.entry.js} +1 -1
  335. package/dist/ionic/{p-32303650.system.entry.js → p-8c202d6e.system.entry.js} +1 -1
  336. package/dist/ionic/{p-a9e3b5be.system.entry.js → p-90db28f8.system.entry.js} +1 -1
  337. package/dist/ionic/{p-d662d908.js → p-91f9e81b.js} +1 -1
  338. package/dist/ionic/{p-f910cc73.system.entry.js → p-93dac17a.system.entry.js} +1 -1
  339. package/dist/ionic/{p-b3b3efba.system.entry.js → p-98ac0e27.system.entry.js} +2 -2
  340. package/dist/ionic/{p-a98dc0c1.entry.js → p-99fe0543.entry.js} +1 -1
  341. package/dist/ionic/{p-c9a21dfd.system.entry.js → p-9f376964.system.entry.js} +1 -1
  342. package/dist/ionic/{p-0e53f8ea.system.entry.js → p-a0945c3a.system.entry.js} +1 -1
  343. package/dist/ionic/{p-9709ebd8.system.entry.js → p-a0db3de9.system.entry.js} +1 -1
  344. package/dist/ionic/{p-5d42b6b4.entry.js → p-a1b4dba7.entry.js} +1 -1
  345. package/dist/ionic/{p-3f6270b3.entry.js → p-a3a145d3.entry.js} +1 -1
  346. package/dist/ionic/{p-5a68960f.entry.js → p-a5c81b99.entry.js} +1 -1
  347. package/dist/ionic/{p-98f3d827.entry.js → p-a70b5d24.entry.js} +1 -1
  348. package/dist/ionic/{p-ab9456e9.system.entry.js → p-a843a90e.system.entry.js} +1 -1
  349. package/dist/ionic/{p-b752714f.system.entry.js → p-a99f14a7.system.entry.js} +1 -1
  350. package/dist/ionic/{p-564af202.system.entry.js → p-aac289d2.system.entry.js} +1 -1
  351. package/dist/ionic/{p-57477107.system.js → p-abab375b.system.js} +1 -1
  352. package/dist/ionic/{p-31158892.js → p-ac4a7fc0.js} +1 -1
  353. package/dist/ionic/{p-c3c3333a.js → p-acdd8148.js} +1 -1
  354. package/dist/ionic/{p-54dfc9b5.system.js → p-ad78c421.system.js} +1 -1
  355. package/dist/ionic/{p-caf21b46.system.entry.js → p-ad953217.system.entry.js} +1 -1
  356. package/dist/ionic/p-af959b5d.entry.js +4 -0
  357. package/dist/ionic/{p-b6f5e4f2.system.entry.js → p-b0fcf130.system.entry.js} +1 -1
  358. package/dist/ionic/p-b11ceee2.entry.js +4 -0
  359. package/dist/ionic/p-b5e33ebc.system.entry.js +4 -0
  360. package/dist/ionic/{p-2938823a.system.entry.js → p-b81a8111.system.entry.js} +1 -1
  361. package/dist/ionic/p-b8f2134e.js +4 -0
  362. package/dist/ionic/{p-9b97df10.js → p-bb3615f7.js} +1 -1
  363. package/dist/ionic/p-bbe3feee.entry.js +4 -0
  364. package/dist/ionic/{p-fbf3a689.system.entry.js → p-bc97b5cd.system.entry.js} +1 -1
  365. package/dist/ionic/{p-d37b441e.entry.js → p-c04accad.entry.js} +1 -1
  366. package/dist/ionic/{p-e3584231.system.js → p-c5ae50be.system.js} +1 -1
  367. package/dist/ionic/{p-20d469d0.system.js → p-c7c8429a.system.js} +1 -1
  368. package/dist/ionic/{p-c18de88a.system.entry.js → p-ca32685b.system.entry.js} +1 -1
  369. package/dist/ionic/p-cde72008.js +4 -0
  370. package/dist/ionic/p-d0251fc4.entry.js +4 -0
  371. package/dist/ionic/p-d1530ea9.entry.js +4 -0
  372. package/dist/ionic/{p-51a087d6.entry.js → p-d3e123c0.entry.js} +1 -1
  373. package/dist/ionic/p-ddccf1f4.js +4 -0
  374. package/dist/ionic/{p-2ab4e925.system.entry.js → p-df361680.system.entry.js} +1 -1
  375. package/dist/ionic/p-e145b9f9.entry.js +4 -0
  376. package/dist/ionic/{p-4155f352.system.js → p-e26030f8.system.js} +1 -1
  377. package/dist/ionic/{p-c91ccbfa.system.entry.js → p-e3c44332.system.entry.js} +1 -1
  378. package/dist/ionic/{p-f8a5bb89.entry.js → p-e4045e04.entry.js} +1 -1
  379. package/dist/ionic/{p-535d2a67.entry.js → p-e8e530fc.entry.js} +1 -1
  380. package/dist/ionic/p-eab6401e.js +4 -0
  381. package/dist/ionic/p-edc5c693.system.entry.js +4 -0
  382. package/dist/ionic/{p-4911a5d6.entry.js → p-ee4a54e3.entry.js} +1 -1
  383. package/dist/ionic/{p-5bebc7b3.system.entry.js → p-eef8d7e8.system.entry.js} +1 -1
  384. package/dist/ionic/p-f0384573.system.entry.js +4 -0
  385. package/dist/ionic/p-f10de9d5.system.js +4 -0
  386. package/dist/ionic/{p-4bee86bd.entry.js → p-f34d6a49.entry.js} +1 -1
  387. package/dist/ionic/p-f444fea5.entry.js +4 -0
  388. package/dist/ionic/{p-8ededb41.js → p-f5d2dc9b.js} +1 -1
  389. package/dist/ionic/{p-d3b030b8.system.js → p-f8c5a0dd.system.js} +1 -1
  390. package/dist/ionic/p-fcf49977.system.entry.js +4 -0
  391. package/dist/types/components/backdrop/backdrop.d.ts +3 -0
  392. package/dist/types/components/datetime/datetime.d.ts +1 -0
  393. package/dist/types/components/datetime/utils/data.d.ts +7 -11
  394. package/dist/types/components/input/input.d.ts +1 -5
  395. package/dist/types/components/menu/menu.d.ts +1 -1
  396. package/dist/types/components/picker/picker.d.ts +129 -75
  397. package/dist/types/components/picker-column/picker-column.d.ts +39 -99
  398. package/dist/types/components/picker-column-internal/picker-column-internal-interfaces.d.ts +5 -0
  399. package/dist/types/components/picker-column-internal/picker-column-internal.d.ts +102 -0
  400. package/dist/types/components/picker-internal/picker-internal-interfaces.d.ts +8 -0
  401. package/dist/types/components/picker-internal/picker-internal.d.ts +102 -0
  402. package/dist/types/components/refresher/refresher.utils.d.ts +16 -0
  403. package/dist/types/components/searchbar/searchbar.d.ts +0 -2
  404. package/dist/types/components/textarea/textarea.d.ts +1 -5
  405. package/dist/types/components.d.ts +129 -161
  406. package/dist/types/interface.d.ts +1 -1
  407. package/dist/types/utils/config.d.ts +2 -2
  408. package/dist/types/utils/gesture/gesture-controller.d.ts +0 -1
  409. package/dist/types/utils/overlays.d.ts +2 -5
  410. package/hydrate/index.d.ts +1 -1
  411. package/hydrate/index.js +990 -1102
  412. package/package.json +2 -2
  413. package/components/ion-picker-column-option.d.ts +0 -11
  414. package/components/ion-picker-column-option.js +0 -9
  415. package/components/ion-picker-legacy-column.d.ts +0 -11
  416. package/components/ion-picker-legacy-column.js +0 -9
  417. package/components/ion-picker-legacy.js +0 -309
  418. package/components/picker-column-option.js +0 -122
  419. package/components/picker-column2.js +0 -379
  420. package/dist/cjs/ion-picker-column-option.cjs.entry.js +0 -104
  421. package/dist/collection/components/picker/test/custom/picker.e2e.js +0 -85
  422. package/dist/collection/components/picker-column/test/disabled/picker-column.e2e.js +0 -91
  423. package/dist/collection/components/picker-column/test/slots/picker-column.e2e.js +0 -39
  424. package/dist/collection/components/picker-column-option/picker-column-option.ios.css +0 -87
  425. package/dist/collection/components/picker-column-option/picker-column-option.js +0 -173
  426. package/dist/collection/components/picker-column-option/test/a11y/picker-column-option.e2e.js +0 -18
  427. package/dist/collection/components/picker-column-option/test/basic/picker-column-option.e2e.js +0 -37
  428. package/dist/collection/components/picker-column-option/test/picker-column-option.spec.js +0 -29
  429. package/dist/collection/components/picker-legacy/picker.js +0 -817
  430. package/dist/collection/components/picker-legacy/test/basic/picker.e2e.js +0 -25
  431. package/dist/collection/components/picker-legacy-column/picker-column.js +0 -419
  432. package/dist/collection/components/title/test/title.spec.js +0 -132
  433. package/dist/collection/utils/test/overlays/overlays-scroll-blocking.spec.js +0 -65
  434. package/dist/esm/ion-picker-column-option.entry.js +0 -100
  435. package/dist/esm-es5/app-globals-722340c4.js +0 -4
  436. package/dist/esm-es5/ion-picker-column-option.entry.js +0 -4
  437. package/dist/esm-es5/ion-picker-column.entry.js +0 -4
  438. package/dist/esm-es5/ion-picker.entry.js +0 -4
  439. package/dist/esm-es5/overlays-fbc5cab5.js +0 -4
  440. package/dist/esm-es5/swipe-back-a8ca7f93.js +0 -4
  441. package/dist/ionic/p-1786bc72.js +0 -4
  442. package/dist/ionic/p-26798a7b.system.entry.js +0 -4
  443. package/dist/ionic/p-27bcbbc7.system.entry.js +0 -4
  444. package/dist/ionic/p-350f7292.system.entry.js +0 -4
  445. package/dist/ionic/p-36d194c5.entry.js +0 -4
  446. package/dist/ionic/p-3993ae66.entry.js +0 -4
  447. package/dist/ionic/p-4890093d.js +0 -4
  448. package/dist/ionic/p-51abefb7.system.js +0 -4
  449. package/dist/ionic/p-563c41f0.system.entry.js +0 -4
  450. package/dist/ionic/p-588fdf40.entry.js +0 -4
  451. package/dist/ionic/p-5a1aac13.system.entry.js +0 -4
  452. package/dist/ionic/p-73190c5f.entry.js +0 -4
  453. package/dist/ionic/p-73aa7604.entry.js +0 -4
  454. package/dist/ionic/p-76d3765d.js +0 -4
  455. package/dist/ionic/p-8017aad2.system.entry.js +0 -4
  456. package/dist/ionic/p-846ee227.entry.js +0 -4
  457. package/dist/ionic/p-8c97cdc0.entry.js +0 -4
  458. package/dist/ionic/p-8e42850f.entry.js +0 -4
  459. package/dist/ionic/p-8fa6583d.system.js +0 -4
  460. package/dist/ionic/p-91af3c52.system.entry.js +0 -4
  461. package/dist/ionic/p-a60a1ce5.js +0 -4
  462. package/dist/ionic/p-a8baa23e.entry.js +0 -4
  463. package/dist/ionic/p-a9a80f5b.entry.js +0 -4
  464. package/dist/ionic/p-afcf4620.entry.js +0 -4
  465. package/dist/ionic/p-b3d0a3d6.system.entry.js +0 -4
  466. package/dist/ionic/p-b4d31b30.system.entry.js +0 -4
  467. package/dist/ionic/p-c41bff4e.system.entry.js +0 -4
  468. package/dist/ionic/p-ca8938f4.js +0 -4
  469. package/dist/ionic/p-da15f571.system.entry.js +0 -4
  470. package/dist/ionic/p-e4d90573.js +0 -4
  471. package/dist/ionic/p-ea69616e.entry.js +0 -4
  472. package/dist/ionic/p-ea74e0c6.entry.js +0 -4
  473. package/dist/ionic/p-ffd5dba4.system.entry.js +0 -4
  474. package/dist/types/components/picker/picker-interfaces.d.ts +0 -8
  475. package/dist/types/components/picker-column/picker-column-interfaces.d.ts +0 -4
  476. package/dist/types/components/picker-column-option/picker-column-option.d.ts +0 -66
  477. package/dist/types/components/picker-legacy/picker.d.ts +0 -158
  478. package/dist/types/components/picker-legacy-column/picker-column.d.ts +0 -46
  479. /package/dist/collection/components/{picker-legacy → picker}/animations/ios.enter.js +0 -0
  480. /package/dist/collection/components/{picker-legacy → picker}/animations/ios.leave.js +0 -0
  481. /package/dist/collection/components/picker/{picker-interfaces.js → picker-interface.js} +0 -0
  482. /package/dist/collection/components/{picker-legacy-column → picker-column}/picker-column.ios.css +0 -0
  483. /package/dist/collection/components/{picker-legacy-column → picker-column}/picker-column.md.css +0 -0
  484. /package/dist/collection/components/{picker-legacy-column → picker-column}/test/test.utils.js +0 -0
  485. /package/dist/collection/components/{picker-column/picker-column-interfaces.js → picker-column-internal/picker-column-internal-interfaces.js} +0 -0
  486. /package/dist/collection/components/{picker-legacy/picker-interface.js → picker-internal/picker-internal-interfaces.js} +0 -0
  487. /package/dist/esm-es5/{data-4b9508c9.js → data-f5c75b4e.js} +0 -0
  488. /package/dist/ionic/{p-368f5215.js → p-2aea8b1e.js} +0 -0
  489. /package/dist/ionic/{p-f58981c2.system.js → p-82e3d633.system.js} +0 -0
  490. /package/dist/types/components/{picker-legacy → picker}/animations/ios.enter.d.ts +0 -0
  491. /package/dist/types/components/{picker-legacy → picker}/animations/ios.leave.d.ts +0 -0
  492. /package/dist/types/components/{picker-legacy → picker}/picker-interface.d.ts +0 -0
  493. /package/dist/types/components/{picker-legacy-column → picker-column}/test/test.utils.d.ts +0 -0
package/hydrate/index.js CHANGED
@@ -6,7 +6,7 @@
6
6
  Object.defineProperty(exports, '__esModule', { value: true });
7
7
 
8
8
  /*!
9
- Stencil Mock Doc v4.8.1 | MIT Licensed | https://stenciljs.com
9
+ Stencil Mock Doc v4.8.0 | MIT Licensed | https://stenciljs.com
10
10
  */
11
11
  const CONTENT_REF_ID = 'r';
12
12
  const ORG_LOCATION_ID = 'o';
@@ -8355,7 +8355,7 @@ const focusLastDescendant = (ref, overlay) => {
8355
8355
  * Should NOT include: Toast
8356
8356
  */
8357
8357
  const trapKeyboardFocus = (ev, doc) => {
8358
- const lastOverlay = getPresentedOverlay(doc, 'ion-alert,ion-action-sheet,ion-loading,ion-modal,ion-picker-legacy,ion-popover');
8358
+ const lastOverlay = getPresentedOverlay(doc, 'ion-alert,ion-action-sheet,ion-loading,ion-modal,ion-picker,ion-popover');
8359
8359
  const target = ev.target;
8360
8360
  /**
8361
8361
  * If no active overlay, ignore this event.
@@ -8540,7 +8540,7 @@ const dismissOverlay = (doc, data, role, overlayTag, id) => {
8540
8540
  */
8541
8541
  const getOverlays = (doc, selector) => {
8542
8542
  if (selector === undefined) {
8543
- selector = 'ion-alert,ion-action-sheet,ion-loading,ion-modal,ion-picker-legacy,ion-popover,ion-toast';
8543
+ selector = 'ion-alert,ion-action-sheet,ion-loading,ion-modal,ion-picker,ion-popover,ion-toast';
8544
8544
  }
8545
8545
  return Array.from(doc.querySelectorAll(selector)).filter((c) => c.overlayIndex > 0);
8546
8546
  };
@@ -8606,7 +8606,6 @@ const present = async (overlay, name, iosEnterAnimation, mdEnterAnimation, opts)
8606
8606
  return;
8607
8607
  }
8608
8608
  setRootAriaHidden(true);
8609
- document.body.classList.add(BACKDROP_NO_SCROLL);
8610
8609
  overlay.presented = true;
8611
8610
  overlay.willPresent.emit();
8612
8611
  (_a = overlay.willPresentShorthand) === null || _a === void 0 ? void 0 : _a.emit();
@@ -8669,14 +8668,12 @@ const dismiss = async (overlay, data, role, name, iosLeaveAnimation, mdLeaveAnim
8669
8668
  if (!overlay.presented) {
8670
8669
  return false;
8671
8670
  }
8672
- const lastOverlay = doc !== undefined && getPresentedOverlays(doc).length === 1;
8673
8671
  /**
8674
8672
  * If this is the last visible overlay then
8675
8673
  * we want to re-add the root to the accessibility tree.
8676
8674
  */
8677
- if (lastOverlay) {
8675
+ if (doc !== undefined && getPresentedOverlays(doc).length === 1) {
8678
8676
  setRootAriaHidden(false);
8679
- document.body.classList.remove(BACKDROP_NO_SCROLL);
8680
8677
  }
8681
8678
  overlay.presented = false;
8682
8679
  try {
@@ -11192,10 +11189,21 @@ class Backdrop {
11192
11189
  constructor(hostRef) {
11193
11190
  registerInstance(this, hostRef);
11194
11191
  this.ionBackdropTap = createEvent(this, "ionBackdropTap", 7);
11192
+ this.blocker = GESTURE_CONTROLLER.createBlocker({
11193
+ disableScroll: true,
11194
+ });
11195
11195
  this.visible = true;
11196
11196
  this.tappable = true;
11197
11197
  this.stopPropagation = true;
11198
11198
  }
11199
+ connectedCallback() {
11200
+ if (this.stopPropagation) {
11201
+ this.blocker.block();
11202
+ }
11203
+ }
11204
+ disconnectedCallback() {
11205
+ this.blocker.unblock();
11206
+ }
11199
11207
  onMouseDown(ev) {
11200
11208
  this.emitTap(ev);
11201
11209
  }
@@ -11524,9 +11532,9 @@ class Breadcrumbs {
11524
11532
  }; }
11525
11533
  }
11526
11534
 
11527
- const buttonIosCss = "/*!@:host*/.sc-ion-button-ios-h{--overflow:hidden;--ripple-color:currentColor;--border-width:initial;--border-color:initial;--border-style:initial;--color-activated:var(--color);--color-focused:var(--color);--color-hover:var(--color);--box-shadow:none;display:inline-block;width:auto;color:var(--color);font-family:var(--ion-font-family, inherit);text-align:center;text-decoration:none;white-space:normal;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:top;vertical-align:-webkit-baseline-middle;-webkit-font-kerning:none;font-kerning:none}/*!@:host(.button-disabled)*/.button-disabled.sc-ion-button-ios-h{cursor:default;opacity:0.5;pointer-events:none}/*!@:host(.button-solid)*/.button-solid.sc-ion-button-ios-h{--background:var(--ion-color-primary, #3880ff);--color:var(--ion-color-primary-contrast, #fff)}/*!@:host(.button-outline)*/.button-outline.sc-ion-button-ios-h{--border-color:var(--ion-color-primary, #3880ff);--background:transparent;--color:var(--ion-color-primary, #3880ff)}/*!@:host(.button-clear)*/.button-clear.sc-ion-button-ios-h{--border-width:0;--background:transparent;--color:var(--ion-color-primary, #3880ff)}/*!@:host(.button-block)*/.button-block.sc-ion-button-ios-h{display:block}/*!@:host(.button-block) .button-native*/.button-block.sc-ion-button-ios-h .button-native.sc-ion-button-ios{margin-left:0;margin-right:0;width:100%;clear:both;contain:content}/*!@:host(.button-block) .button-native::after*/.button-block.sc-ion-button-ios-h .button-native.sc-ion-button-ios::after{clear:both}/*!@:host(.button-full)*/.button-full.sc-ion-button-ios-h{display:block}/*!@:host(.button-full) .button-native*/.button-full.sc-ion-button-ios-h .button-native.sc-ion-button-ios{margin-left:0;margin-right:0;width:100%;contain:content}/*!@:host(.button-full:not(.button-round)) .button-native*/.button-full.sc-ion-button-ios-h:not(.button-round) .button-native.sc-ion-button-ios{border-radius:0;border-right-width:0;border-left-width:0}/*!@.button-native*/.button-native.sc-ion-button-ios{border-radius:var(--border-radius);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;width:100%;height:100%;min-height:inherit;-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);outline:none;background:var(--background);line-height:1;-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);contain:layout style;cursor:pointer;opacity:var(--opacity);overflow:var(--overflow);z-index:0;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none;appearance:none}/*!@.button-native::-moz-focus-inner*/.button-native.sc-ion-button-ios::-moz-focus-inner{border:0}/*!@.button-inner*/.button-inner.sc-ion-button-ios{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;z-index:1}/*!@::slotted([slot=start]),\n::slotted([slot=end])*/.sc-ion-button-ios-s>[slot=start],.sc-ion-button-ios-s>[slot=end]{-ms-flex-negative:0;flex-shrink:0}/*!@::slotted(ion-icon)*/.sc-ion-button-ios-s>ion-icon{font-size:1.35em;pointer-events:none}/*!@::slotted(ion-icon[slot=start])*/.sc-ion-button-ios-s>ion-icon[slot=start]{-webkit-margin-start:-0.3em;margin-inline-start:-0.3em;-webkit-margin-end:0.3em;margin-inline-end:0.3em;margin-top:0;margin-bottom:0}/*!@::slotted(ion-icon[slot=end])*/.sc-ion-button-ios-s>ion-icon[slot=end]{-webkit-margin-start:0.3em;margin-inline-start:0.3em;-webkit-margin-end:-0.2em;margin-inline-end:-0.2em;margin-top:0;margin-bottom:0}/*!@::slotted(ion-icon[slot=icon-only])*/.sc-ion-button-ios-s>ion-icon[slot=icon-only]{font-size:1.8em}/*!@ion-ripple-effect*/ion-ripple-effect.sc-ion-button-ios{color:var(--ripple-color)}/*!@.button-native::after*/.button-native.sc-ion-button-ios::after{left:0;right:0;top:0;bottom:0;position:absolute;content:\"\";opacity:0}/*!@:host(.ion-focused)*/.ion-focused.sc-ion-button-ios-h{color:var(--color-focused)}/*!@:host(.ion-focused) .button-native::after*/.ion-focused.sc-ion-button-ios-h .button-native.sc-ion-button-ios::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}@media (any-hover: hover){/*!@:host(:hover)*/.sc-ion-button-ios-h:hover{color:var(--color-hover)}/*!@:host(:hover) .button-native::after*/.sc-ion-button-ios-h:hover .button-native.sc-ion-button-ios::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}}/*!@:host(.ion-activated)*/.ion-activated.sc-ion-button-ios-h{color:var(--color-activated)}/*!@:host(.ion-activated) .button-native::after*/.ion-activated.sc-ion-button-ios-h .button-native.sc-ion-button-ios::after{background:var(--background-activated);opacity:var(--background-activated-opacity)}/*!@:host(.button-solid.ion-color) .button-native*/.button-solid.ion-color.sc-ion-button-ios-h .button-native.sc-ion-button-ios{background:var(--ion-color-base);color:var(--ion-color-contrast)}/*!@:host(.button-outline.ion-color) .button-native*/.button-outline.ion-color.sc-ion-button-ios-h .button-native.sc-ion-button-ios{border-color:var(--ion-color-base);background:transparent;color:var(--ion-color-base)}/*!@:host(.button-clear.ion-color) .button-native*/.button-clear.ion-color.sc-ion-button-ios-h .button-native.sc-ion-button-ios{background:transparent;color:var(--ion-color-base)}/*!@:host(.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native*/.in-toolbar.sc-ion-button-ios-h:not(.ion-color):not(.in-toolbar-color) .button-native.sc-ion-button-ios{color:var(--ion-toolbar-color, var(--color))}/*!@:host(.button-outline.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native*/.button-outline.in-toolbar.sc-ion-button-ios-h:not(.ion-color):not(.in-toolbar-color) .button-native.sc-ion-button-ios{border-color:var(--ion-toolbar-color, var(--color, var(--border-color)))}/*!@:host(.button-solid.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native*/.button-solid.in-toolbar.sc-ion-button-ios-h:not(.ion-color):not(.in-toolbar-color) .button-native.sc-ion-button-ios{background:var(--ion-toolbar-color, var(--background));color:var(--ion-toolbar-background, var(--color))}/*!@:host(.button-outline.ion-activated.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native*/.button-outline.ion-activated.in-toolbar.sc-ion-button-ios-h:not(.ion-color):not(.in-toolbar-color) .button-native.sc-ion-button-ios{background:var(--ion-toolbar-color, var(--color));color:var(--ion-toolbar-background, var(--background), var(--ion-color-primary-contrast, #fff))}/*!@:host*/.sc-ion-button-ios-h{--border-radius:14px;--padding-top:13px;--padding-bottom:13px;--padding-start:1em;--padding-end:1em;--transition:background-color, opacity 100ms linear;-webkit-margin-start:2px;margin-inline-start:2px;-webkit-margin-end:2px;margin-inline-end:2px;margin-top:4px;margin-bottom:4px;min-height:3.1em;font-size:min(1rem, 48px);font-weight:500;letter-spacing:0}/*!@:host(.button-solid)*/.button-solid.sc-ion-button-ios-h{--background-activated:var(--ion-color-primary-shade, #3171e0);--background-focused:var(--ion-color-primary-shade, #3171e0);--background-hover:var(--ion-color-primary-tint, #4c8dff);--background-activated-opacity:1;--background-focused-opacity:1;--background-hover-opacity:1}/*!@:host(.button-outline)*/.button-outline.sc-ion-button-ios-h{--border-radius:14px;--border-width:1px;--border-style:solid;--background-activated:var(--ion-color-primary, #3880ff);--background-focused:var(--ion-color-primary, #3880ff);--background-hover:transparent;--background-focused-opacity:.1;--color-activated:var(--ion-color-primary-contrast, #fff)}/*!@:host(.button-clear)*/.button-clear.sc-ion-button-ios-h{--background-activated:transparent;--background-activated-opacity:0;--background-focused:var(--ion-color-primary, #3880ff);--background-hover:transparent;--background-focused-opacity:.1;font-size:min(1.0625rem, 51px);font-weight:normal}/*!@:host(.in-buttons)*/.in-buttons.sc-ion-button-ios-h{font-size:clamp(17px, 1.0625rem, 21.08px);font-weight:400}/*!@:host(.button-large)*/.button-large.sc-ion-button-ios-h{--border-radius:16px;--padding-top:17px;--padding-start:1em;--padding-end:1em;--padding-bottom:17px;min-height:3.1em;font-size:min(1.25rem, 60px)}/*!@:host(.button-small)*/.button-small.sc-ion-button-ios-h{--border-radius:6px;--padding-top:4px;--padding-start:0.9em;--padding-end:0.9em;--padding-bottom:4px;min-height:2.1em;font-size:min(0.8125rem, 39px)}/*!@:host(.button-has-icon-only)*/.button-has-icon-only.sc-ion-button-ios-h{--padding-top:0;--padding-bottom:0}/*!@:host(.button-round)*/.button-round.sc-ion-button-ios-h{--border-radius:64px;--padding-top:0;--padding-start:26px;--padding-end:26px;--padding-bottom:0}/*!@:host(.button-strong)*/.button-strong.sc-ion-button-ios-h{font-weight:600}/*!@:host(.button-outline.ion-focused.ion-color) .button-native,\n:host(.button-clear.ion-focused.ion-color) .button-native*/.button-outline.ion-focused.ion-color.sc-ion-button-ios-h .button-native.sc-ion-button-ios,.button-clear.ion-focused.ion-color.sc-ion-button-ios-h .button-native.sc-ion-button-ios{color:var(--ion-color-base)}/*!@:host(.button-outline.ion-focused.ion-color) .button-native::after,\n:host(.button-clear.ion-focused.ion-color) .button-native::after*/.button-outline.ion-focused.ion-color.sc-ion-button-ios-h .button-native.sc-ion-button-ios::after,.button-clear.ion-focused.ion-color.sc-ion-button-ios-h .button-native.sc-ion-button-ios::after{background:var(--ion-color-base)}/*!@:host(.button-solid.ion-color.ion-focused) .button-native::after*/.button-solid.ion-color.ion-focused.sc-ion-button-ios-h .button-native.sc-ion-button-ios::after{background:var(--ion-color-shade)}@media (any-hover: hover){/*!@:host(.button-clear:not(.ion-activated):hover),\n :host(.button-outline:not(.ion-activated):hover)*/.button-clear.sc-ion-button-ios-h:not(.ion-activated):hover,.button-outline.sc-ion-button-ios-h:not(.ion-activated):hover{opacity:0.6}/*!@:host(.button-clear.ion-color:hover) .button-native,\n :host(.button-outline.ion-color:hover) .button-native*/.button-clear.ion-color.sc-ion-button-ios-h:hover .button-native.sc-ion-button-ios,.button-outline.ion-color.sc-ion-button-ios-h:hover .button-native.sc-ion-button-ios{color:var(--ion-color-base)}/*!@:host(.button-clear.ion-color:hover) .button-native::after,\n :host(.button-outline.ion-color:hover) .button-native::after*/.button-clear.ion-color.sc-ion-button-ios-h:hover .button-native.sc-ion-button-ios::after,.button-outline.ion-color.sc-ion-button-ios-h:hover .button-native.sc-ion-button-ios::after{background:transparent}/*!@:host(.button-solid.ion-color:hover) .button-native::after*/.button-solid.ion-color.sc-ion-button-ios-h:hover .button-native.sc-ion-button-ios::after{background:var(--ion-color-tint)}/*!@:host(:hover.button-solid.in-toolbar:not(.ion-color):not(.in-toolbar-color):not(.ion-activated)) .button-native::after*/.sc-ion-button-ios-h:hover.button-solid.in-toolbar:not(.ion-color):not(.in-toolbar-color):not(.ion-activated) .button-native.sc-ion-button-ios::after{background:#fff;opacity:0.1}}/*!@:host(.button-clear.ion-activated)*/.button-clear.ion-activated.sc-ion-button-ios-h{opacity:0.4}/*!@:host(.button-outline.ion-activated.ion-color) .button-native*/.button-outline.ion-activated.ion-color.sc-ion-button-ios-h .button-native.sc-ion-button-ios{color:var(--ion-color-contrast)}/*!@:host(.button-outline.ion-activated.ion-color) .button-native::after*/.button-outline.ion-activated.ion-color.sc-ion-button-ios-h .button-native.sc-ion-button-ios::after{background:var(--ion-color-base)}/*!@:host(.button-solid.ion-color.ion-activated) .button-native::after*/.button-solid.ion-color.ion-activated.sc-ion-button-ios-h .button-native.sc-ion-button-ios::after{background:var(--ion-color-shade)}";
11535
+ const buttonIosCss = "/*!@:host*/.sc-ion-button-ios-h{--overflow:hidden;--ripple-color:currentColor;--border-width:initial;--border-color:initial;--border-style:initial;--color-activated:var(--color);--color-focused:var(--color);--color-hover:var(--color);--box-shadow:none;display:inline-block;width:auto;color:var(--color);font-family:var(--ion-font-family, inherit);text-align:center;text-decoration:none;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:top;vertical-align:-webkit-baseline-middle;-webkit-font-kerning:none;font-kerning:none}/*!@:host(.button-disabled)*/.button-disabled.sc-ion-button-ios-h{cursor:default;opacity:0.5;pointer-events:none}/*!@:host(.button-solid)*/.button-solid.sc-ion-button-ios-h{--background:var(--ion-color-primary, #3880ff);--color:var(--ion-color-primary-contrast, #fff)}/*!@:host(.button-outline)*/.button-outline.sc-ion-button-ios-h{--border-color:var(--ion-color-primary, #3880ff);--background:transparent;--color:var(--ion-color-primary, #3880ff)}/*!@:host(.button-clear)*/.button-clear.sc-ion-button-ios-h{--border-width:0;--background:transparent;--color:var(--ion-color-primary, #3880ff)}/*!@:host(.button-block)*/.button-block.sc-ion-button-ios-h{display:block}/*!@:host(.button-block) .button-native*/.button-block.sc-ion-button-ios-h .button-native.sc-ion-button-ios{margin-left:0;margin-right:0;width:100%;clear:both;contain:content}/*!@:host(.button-block) .button-native::after*/.button-block.sc-ion-button-ios-h .button-native.sc-ion-button-ios::after{clear:both}/*!@:host(.button-full)*/.button-full.sc-ion-button-ios-h{display:block}/*!@:host(.button-full) .button-native*/.button-full.sc-ion-button-ios-h .button-native.sc-ion-button-ios{margin-left:0;margin-right:0;width:100%;contain:content}/*!@:host(.button-full:not(.button-round)) .button-native*/.button-full.sc-ion-button-ios-h:not(.button-round) .button-native.sc-ion-button-ios{border-radius:0;border-right-width:0;border-left-width:0}/*!@.button-native*/.button-native.sc-ion-button-ios{border-radius:var(--border-radius);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;width:100%;height:100%;min-height:inherit;-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);outline:none;background:var(--background);line-height:1;-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);contain:layout style;cursor:pointer;opacity:var(--opacity);overflow:var(--overflow);z-index:0;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none;appearance:none}/*!@.button-native::-moz-focus-inner*/.button-native.sc-ion-button-ios::-moz-focus-inner{border:0}/*!@.button-inner*/.button-inner.sc-ion-button-ios{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;z-index:1}/*!@::slotted([slot=start]),\n::slotted([slot=end])*/.sc-ion-button-ios-s>[slot=start],.sc-ion-button-ios-s>[slot=end]{-ms-flex-negative:0;flex-shrink:0}/*!@::slotted(ion-icon)*/.sc-ion-button-ios-s>ion-icon{font-size:1.35em;pointer-events:none}/*!@::slotted(ion-icon[slot=start])*/.sc-ion-button-ios-s>ion-icon[slot=start]{-webkit-margin-start:-0.3em;margin-inline-start:-0.3em;-webkit-margin-end:0.3em;margin-inline-end:0.3em;margin-top:0;margin-bottom:0}/*!@::slotted(ion-icon[slot=end])*/.sc-ion-button-ios-s>ion-icon[slot=end]{-webkit-margin-start:0.3em;margin-inline-start:0.3em;-webkit-margin-end:-0.2em;margin-inline-end:-0.2em;margin-top:0;margin-bottom:0}/*!@::slotted(ion-icon[slot=icon-only])*/.sc-ion-button-ios-s>ion-icon[slot=icon-only]{font-size:1.8em}/*!@ion-ripple-effect*/ion-ripple-effect.sc-ion-button-ios{color:var(--ripple-color)}/*!@.button-native::after*/.button-native.sc-ion-button-ios::after{left:0;right:0;top:0;bottom:0;position:absolute;content:\"\";opacity:0}/*!@:host(.ion-focused)*/.ion-focused.sc-ion-button-ios-h{color:var(--color-focused)}/*!@:host(.ion-focused) .button-native::after*/.ion-focused.sc-ion-button-ios-h .button-native.sc-ion-button-ios::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}@media (any-hover: hover){/*!@:host(:hover)*/.sc-ion-button-ios-h:hover{color:var(--color-hover)}/*!@:host(:hover) .button-native::after*/.sc-ion-button-ios-h:hover .button-native.sc-ion-button-ios::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}}/*!@:host(.ion-activated)*/.ion-activated.sc-ion-button-ios-h{color:var(--color-activated)}/*!@:host(.ion-activated) .button-native::after*/.ion-activated.sc-ion-button-ios-h .button-native.sc-ion-button-ios::after{background:var(--background-activated);opacity:var(--background-activated-opacity)}/*!@:host(.button-solid.ion-color) .button-native*/.button-solid.ion-color.sc-ion-button-ios-h .button-native.sc-ion-button-ios{background:var(--ion-color-base);color:var(--ion-color-contrast)}/*!@:host(.button-outline.ion-color) .button-native*/.button-outline.ion-color.sc-ion-button-ios-h .button-native.sc-ion-button-ios{border-color:var(--ion-color-base);background:transparent;color:var(--ion-color-base)}/*!@:host(.button-clear.ion-color) .button-native*/.button-clear.ion-color.sc-ion-button-ios-h .button-native.sc-ion-button-ios{background:transparent;color:var(--ion-color-base)}/*!@:host(.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native*/.in-toolbar.sc-ion-button-ios-h:not(.ion-color):not(.in-toolbar-color) .button-native.sc-ion-button-ios{color:var(--ion-toolbar-color, var(--color))}/*!@:host(.button-outline.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native*/.button-outline.in-toolbar.sc-ion-button-ios-h:not(.ion-color):not(.in-toolbar-color) .button-native.sc-ion-button-ios{border-color:var(--ion-toolbar-color, var(--color, var(--border-color)))}/*!@:host(.button-solid.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native*/.button-solid.in-toolbar.sc-ion-button-ios-h:not(.ion-color):not(.in-toolbar-color) .button-native.sc-ion-button-ios{background:var(--ion-toolbar-color, var(--background));color:var(--ion-toolbar-background, var(--color))}/*!@:host(.button-outline.ion-activated.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native*/.button-outline.ion-activated.in-toolbar.sc-ion-button-ios-h:not(.ion-color):not(.in-toolbar-color) .button-native.sc-ion-button-ios{background:var(--ion-toolbar-color, var(--color));color:var(--ion-toolbar-background, var(--background), var(--ion-color-primary-contrast, #fff))}/*!@:host*/.sc-ion-button-ios-h{--border-radius:14px;--padding-top:13px;--padding-bottom:13px;--padding-start:1em;--padding-end:1em;--transition:background-color, opacity 100ms linear;-webkit-margin-start:2px;margin-inline-start:2px;-webkit-margin-end:2px;margin-inline-end:2px;margin-top:4px;margin-bottom:4px;min-height:3.1em;font-size:min(1rem, 48px);font-weight:500;letter-spacing:0}/*!@:host(.button-solid)*/.button-solid.sc-ion-button-ios-h{--background-activated:var(--ion-color-primary-shade, #3171e0);--background-focused:var(--ion-color-primary-shade, #3171e0);--background-hover:var(--ion-color-primary-tint, #4c8dff);--background-activated-opacity:1;--background-focused-opacity:1;--background-hover-opacity:1}/*!@:host(.button-outline)*/.button-outline.sc-ion-button-ios-h{--border-radius:14px;--border-width:1px;--border-style:solid;--background-activated:var(--ion-color-primary, #3880ff);--background-focused:var(--ion-color-primary, #3880ff);--background-hover:transparent;--background-focused-opacity:.1;--color-activated:var(--ion-color-primary-contrast, #fff)}/*!@:host(.button-clear)*/.button-clear.sc-ion-button-ios-h{--background-activated:transparent;--background-activated-opacity:0;--background-focused:var(--ion-color-primary, #3880ff);--background-hover:transparent;--background-focused-opacity:.1;font-size:min(1.0625rem, 51px);font-weight:normal}/*!@:host(.in-buttons)*/.in-buttons.sc-ion-button-ios-h{font-size:clamp(17px, 1.0625rem, 21.08px);font-weight:400}/*!@:host(.button-large)*/.button-large.sc-ion-button-ios-h{--border-radius:16px;--padding-top:17px;--padding-start:1em;--padding-end:1em;--padding-bottom:17px;min-height:3.1em;font-size:min(1.25rem, 60px)}/*!@:host(.button-small)*/.button-small.sc-ion-button-ios-h{--border-radius:6px;--padding-top:4px;--padding-start:0.9em;--padding-end:0.9em;--padding-bottom:4px;min-height:2.1em;font-size:min(0.8125rem, 39px)}/*!@:host(.button-has-icon-only)*/.button-has-icon-only.sc-ion-button-ios-h{--padding-top:0;--padding-bottom:0}/*!@:host(.button-round)*/.button-round.sc-ion-button-ios-h{--border-radius:64px;--padding-top:0;--padding-start:26px;--padding-end:26px;--padding-bottom:0}/*!@:host(.button-strong)*/.button-strong.sc-ion-button-ios-h{font-weight:600}/*!@:host(.button-outline.ion-focused.ion-color) .button-native,\n:host(.button-clear.ion-focused.ion-color) .button-native*/.button-outline.ion-focused.ion-color.sc-ion-button-ios-h .button-native.sc-ion-button-ios,.button-clear.ion-focused.ion-color.sc-ion-button-ios-h .button-native.sc-ion-button-ios{color:var(--ion-color-base)}/*!@:host(.button-outline.ion-focused.ion-color) .button-native::after,\n:host(.button-clear.ion-focused.ion-color) .button-native::after*/.button-outline.ion-focused.ion-color.sc-ion-button-ios-h .button-native.sc-ion-button-ios::after,.button-clear.ion-focused.ion-color.sc-ion-button-ios-h .button-native.sc-ion-button-ios::after{background:var(--ion-color-base)}/*!@:host(.button-solid.ion-color.ion-focused) .button-native::after*/.button-solid.ion-color.ion-focused.sc-ion-button-ios-h .button-native.sc-ion-button-ios::after{background:var(--ion-color-shade)}@media (any-hover: hover){/*!@:host(.button-clear:not(.ion-activated):hover),\n :host(.button-outline:not(.ion-activated):hover)*/.button-clear.sc-ion-button-ios-h:not(.ion-activated):hover,.button-outline.sc-ion-button-ios-h:not(.ion-activated):hover{opacity:0.6}/*!@:host(.button-clear.ion-color:hover) .button-native,\n :host(.button-outline.ion-color:hover) .button-native*/.button-clear.ion-color.sc-ion-button-ios-h:hover .button-native.sc-ion-button-ios,.button-outline.ion-color.sc-ion-button-ios-h:hover .button-native.sc-ion-button-ios{color:var(--ion-color-base)}/*!@:host(.button-clear.ion-color:hover) .button-native::after,\n :host(.button-outline.ion-color:hover) .button-native::after*/.button-clear.ion-color.sc-ion-button-ios-h:hover .button-native.sc-ion-button-ios::after,.button-outline.ion-color.sc-ion-button-ios-h:hover .button-native.sc-ion-button-ios::after{background:transparent}/*!@:host(.button-solid.ion-color:hover) .button-native::after*/.button-solid.ion-color.sc-ion-button-ios-h:hover .button-native.sc-ion-button-ios::after{background:var(--ion-color-tint)}/*!@:host(:hover.button-solid.in-toolbar:not(.ion-color):not(.in-toolbar-color):not(.ion-activated)) .button-native::after*/.sc-ion-button-ios-h:hover.button-solid.in-toolbar:not(.ion-color):not(.in-toolbar-color):not(.ion-activated) .button-native.sc-ion-button-ios::after{background:#fff;opacity:0.1}}/*!@:host(.button-clear.ion-activated)*/.button-clear.ion-activated.sc-ion-button-ios-h{opacity:0.4}/*!@:host(.button-outline.ion-activated.ion-color) .button-native*/.button-outline.ion-activated.ion-color.sc-ion-button-ios-h .button-native.sc-ion-button-ios{color:var(--ion-color-contrast)}/*!@:host(.button-outline.ion-activated.ion-color) .button-native::after*/.button-outline.ion-activated.ion-color.sc-ion-button-ios-h .button-native.sc-ion-button-ios::after{background:var(--ion-color-base)}/*!@:host(.button-solid.ion-color.ion-activated) .button-native::after*/.button-solid.ion-color.ion-activated.sc-ion-button-ios-h .button-native.sc-ion-button-ios::after{background:var(--ion-color-shade)}";
11528
11536
 
11529
- const buttonMdCss = "/*!@:host*/.sc-ion-button-md-h{--overflow:hidden;--ripple-color:currentColor;--border-width:initial;--border-color:initial;--border-style:initial;--color-activated:var(--color);--color-focused:var(--color);--color-hover:var(--color);--box-shadow:none;display:inline-block;width:auto;color:var(--color);font-family:var(--ion-font-family, inherit);text-align:center;text-decoration:none;white-space:normal;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:top;vertical-align:-webkit-baseline-middle;-webkit-font-kerning:none;font-kerning:none}/*!@:host(.button-disabled)*/.button-disabled.sc-ion-button-md-h{cursor:default;opacity:0.5;pointer-events:none}/*!@:host(.button-solid)*/.button-solid.sc-ion-button-md-h{--background:var(--ion-color-primary, #3880ff);--color:var(--ion-color-primary-contrast, #fff)}/*!@:host(.button-outline)*/.button-outline.sc-ion-button-md-h{--border-color:var(--ion-color-primary, #3880ff);--background:transparent;--color:var(--ion-color-primary, #3880ff)}/*!@:host(.button-clear)*/.button-clear.sc-ion-button-md-h{--border-width:0;--background:transparent;--color:var(--ion-color-primary, #3880ff)}/*!@:host(.button-block)*/.button-block.sc-ion-button-md-h{display:block}/*!@:host(.button-block) .button-native*/.button-block.sc-ion-button-md-h .button-native.sc-ion-button-md{margin-left:0;margin-right:0;width:100%;clear:both;contain:content}/*!@:host(.button-block) .button-native::after*/.button-block.sc-ion-button-md-h .button-native.sc-ion-button-md::after{clear:both}/*!@:host(.button-full)*/.button-full.sc-ion-button-md-h{display:block}/*!@:host(.button-full) .button-native*/.button-full.sc-ion-button-md-h .button-native.sc-ion-button-md{margin-left:0;margin-right:0;width:100%;contain:content}/*!@:host(.button-full:not(.button-round)) .button-native*/.button-full.sc-ion-button-md-h:not(.button-round) .button-native.sc-ion-button-md{border-radius:0;border-right-width:0;border-left-width:0}/*!@.button-native*/.button-native.sc-ion-button-md{border-radius:var(--border-radius);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;width:100%;height:100%;min-height:inherit;-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);outline:none;background:var(--background);line-height:1;-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);contain:layout style;cursor:pointer;opacity:var(--opacity);overflow:var(--overflow);z-index:0;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none;appearance:none}/*!@.button-native::-moz-focus-inner*/.button-native.sc-ion-button-md::-moz-focus-inner{border:0}/*!@.button-inner*/.button-inner.sc-ion-button-md{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;z-index:1}/*!@::slotted([slot=start]),\n::slotted([slot=end])*/.sc-ion-button-md-s>[slot=start],.sc-ion-button-md-s>[slot=end]{-ms-flex-negative:0;flex-shrink:0}/*!@::slotted(ion-icon)*/.sc-ion-button-md-s>ion-icon{font-size:1.35em;pointer-events:none}/*!@::slotted(ion-icon[slot=start])*/.sc-ion-button-md-s>ion-icon[slot=start]{-webkit-margin-start:-0.3em;margin-inline-start:-0.3em;-webkit-margin-end:0.3em;margin-inline-end:0.3em;margin-top:0;margin-bottom:0}/*!@::slotted(ion-icon[slot=end])*/.sc-ion-button-md-s>ion-icon[slot=end]{-webkit-margin-start:0.3em;margin-inline-start:0.3em;-webkit-margin-end:-0.2em;margin-inline-end:-0.2em;margin-top:0;margin-bottom:0}/*!@::slotted(ion-icon[slot=icon-only])*/.sc-ion-button-md-s>ion-icon[slot=icon-only]{font-size:1.8em}/*!@ion-ripple-effect*/ion-ripple-effect.sc-ion-button-md{color:var(--ripple-color)}/*!@.button-native::after*/.button-native.sc-ion-button-md::after{left:0;right:0;top:0;bottom:0;position:absolute;content:\"\";opacity:0}/*!@:host(.ion-focused)*/.ion-focused.sc-ion-button-md-h{color:var(--color-focused)}/*!@:host(.ion-focused) .button-native::after*/.ion-focused.sc-ion-button-md-h .button-native.sc-ion-button-md::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}@media (any-hover: hover){/*!@:host(:hover)*/.sc-ion-button-md-h:hover{color:var(--color-hover)}/*!@:host(:hover) .button-native::after*/.sc-ion-button-md-h:hover .button-native.sc-ion-button-md::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}}/*!@:host(.ion-activated)*/.ion-activated.sc-ion-button-md-h{color:var(--color-activated)}/*!@:host(.ion-activated) .button-native::after*/.ion-activated.sc-ion-button-md-h .button-native.sc-ion-button-md::after{background:var(--background-activated);opacity:var(--background-activated-opacity)}/*!@:host(.button-solid.ion-color) .button-native*/.button-solid.ion-color.sc-ion-button-md-h .button-native.sc-ion-button-md{background:var(--ion-color-base);color:var(--ion-color-contrast)}/*!@:host(.button-outline.ion-color) .button-native*/.button-outline.ion-color.sc-ion-button-md-h .button-native.sc-ion-button-md{border-color:var(--ion-color-base);background:transparent;color:var(--ion-color-base)}/*!@:host(.button-clear.ion-color) .button-native*/.button-clear.ion-color.sc-ion-button-md-h .button-native.sc-ion-button-md{background:transparent;color:var(--ion-color-base)}/*!@:host(.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native*/.in-toolbar.sc-ion-button-md-h:not(.ion-color):not(.in-toolbar-color) .button-native.sc-ion-button-md{color:var(--ion-toolbar-color, var(--color))}/*!@:host(.button-outline.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native*/.button-outline.in-toolbar.sc-ion-button-md-h:not(.ion-color):not(.in-toolbar-color) .button-native.sc-ion-button-md{border-color:var(--ion-toolbar-color, var(--color, var(--border-color)))}/*!@:host(.button-solid.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native*/.button-solid.in-toolbar.sc-ion-button-md-h:not(.ion-color):not(.in-toolbar-color) .button-native.sc-ion-button-md{background:var(--ion-toolbar-color, var(--background));color:var(--ion-toolbar-background, var(--color))}/*!@:host(.button-outline.ion-activated.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native*/.button-outline.ion-activated.in-toolbar.sc-ion-button-md-h:not(.ion-color):not(.in-toolbar-color) .button-native.sc-ion-button-md{background:var(--ion-toolbar-color, var(--color));color:var(--ion-toolbar-background, var(--background), var(--ion-color-primary-contrast, #fff))}/*!@:host*/.sc-ion-button-md-h{--border-radius:4px;--padding-top:8px;--padding-bottom:8px;--padding-start:1.1em;--padding-end:1.1em;--transition:box-shadow 280ms cubic-bezier(.4, 0, .2, 1),\n background-color 15ms linear,\n color 15ms linear;-webkit-margin-start:2px;margin-inline-start:2px;-webkit-margin-end:2px;margin-inline-end:2px;margin-top:4px;margin-bottom:4px;min-height:36px;font-size:0.875rem;font-weight:500;letter-spacing:0.06em;text-transform:uppercase}/*!@:host(.button-solid)*/.button-solid.sc-ion-button-md-h{--background-activated:transparent;--background-hover:var(--ion-color-primary-contrast, #fff);--background-focused:var(--ion-color-primary-contrast, #fff);--background-activated-opacity:0;--background-focused-opacity:.24;--background-hover-opacity:.08;--box-shadow:0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12)}/*!@:host(.button-solid.ion-activated)*/.button-solid.ion-activated.sc-ion-button-md-h{--box-shadow:0 5px 5px -3px rgba(0, 0, 0, 0.2), 0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12)}/*!@:host(.button-outline)*/.button-outline.sc-ion-button-md-h{--border-width:2px;--border-style:solid;--box-shadow:none;--background-activated:transparent;--background-focused:var(--ion-color-primary, #3880ff);--background-hover:var(--ion-color-primary, #3880ff);--background-activated-opacity:0;--background-focused-opacity:.12;--background-hover-opacity:.04}/*!@:host(.button-outline.ion-activated.ion-color) .button-native*/.button-outline.ion-activated.ion-color.sc-ion-button-md-h .button-native.sc-ion-button-md{background:transparent}/*!@:host(.button-clear)*/.button-clear.sc-ion-button-md-h{--background-activated:transparent;--background-focused:var(--ion-color-primary, #3880ff);--background-hover:var(--ion-color-primary, #3880ff);--background-activated-opacity:0;--background-focused-opacity:.12;--background-hover-opacity:.04}/*!@:host(.button-round)*/.button-round.sc-ion-button-md-h{--border-radius:64px;--padding-top:0;--padding-start:26px;--padding-end:26px;--padding-bottom:0}/*!@:host(.button-large)*/.button-large.sc-ion-button-md-h{--padding-top:14px;--padding-start:1em;--padding-end:1em;--padding-bottom:14px;min-height:2.8em;font-size:1.25rem}/*!@:host(.button-small)*/.button-small.sc-ion-button-md-h{--padding-top:4px;--padding-start:0.9em;--padding-end:0.9em;--padding-bottom:4px;min-height:2.1em;font-size:0.8125rem}/*!@:host(.button-has-icon-only)*/.button-has-icon-only.sc-ion-button-md-h{--padding-top:0;--padding-bottom:0}/*!@:host(.button-strong)*/.button-strong.sc-ion-button-md-h{font-weight:bold}/*!@::slotted(ion-icon[slot=icon-only])*/.sc-ion-button-md-s>ion-icon[slot=icon-only]{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0}/*!@:host(.button-solid.ion-color.ion-focused) .button-native::after*/.button-solid.ion-color.ion-focused.sc-ion-button-md-h .button-native.sc-ion-button-md::after{background:var(--ion-color-contrast)}/*!@:host(.button-clear.ion-color.ion-focused) .button-native::after,\n:host(.button-outline.ion-color.ion-focused) .button-native::after*/.button-clear.ion-color.ion-focused.sc-ion-button-md-h .button-native.sc-ion-button-md::after,.button-outline.ion-color.ion-focused.sc-ion-button-md-h .button-native.sc-ion-button-md::after{background:var(--ion-color-base)}@media (any-hover: hover){/*!@:host(.button-solid.ion-color:hover) .button-native::after*/.button-solid.ion-color.sc-ion-button-md-h:hover .button-native.sc-ion-button-md::after{background:var(--ion-color-contrast)}/*!@:host(.button-clear.ion-color:hover) .button-native::after,\n :host(.button-outline.ion-color:hover) .button-native::after*/.button-clear.ion-color.sc-ion-button-md-h:hover .button-native.sc-ion-button-md::after,.button-outline.ion-color.sc-ion-button-md-h:hover .button-native.sc-ion-button-md::after{background:var(--ion-color-base)}}";
11537
+ const buttonMdCss = "/*!@:host*/.sc-ion-button-md-h{--overflow:hidden;--ripple-color:currentColor;--border-width:initial;--border-color:initial;--border-style:initial;--color-activated:var(--color);--color-focused:var(--color);--color-hover:var(--color);--box-shadow:none;display:inline-block;width:auto;color:var(--color);font-family:var(--ion-font-family, inherit);text-align:center;text-decoration:none;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:top;vertical-align:-webkit-baseline-middle;-webkit-font-kerning:none;font-kerning:none}/*!@:host(.button-disabled)*/.button-disabled.sc-ion-button-md-h{cursor:default;opacity:0.5;pointer-events:none}/*!@:host(.button-solid)*/.button-solid.sc-ion-button-md-h{--background:var(--ion-color-primary, #3880ff);--color:var(--ion-color-primary-contrast, #fff)}/*!@:host(.button-outline)*/.button-outline.sc-ion-button-md-h{--border-color:var(--ion-color-primary, #3880ff);--background:transparent;--color:var(--ion-color-primary, #3880ff)}/*!@:host(.button-clear)*/.button-clear.sc-ion-button-md-h{--border-width:0;--background:transparent;--color:var(--ion-color-primary, #3880ff)}/*!@:host(.button-block)*/.button-block.sc-ion-button-md-h{display:block}/*!@:host(.button-block) .button-native*/.button-block.sc-ion-button-md-h .button-native.sc-ion-button-md{margin-left:0;margin-right:0;width:100%;clear:both;contain:content}/*!@:host(.button-block) .button-native::after*/.button-block.sc-ion-button-md-h .button-native.sc-ion-button-md::after{clear:both}/*!@:host(.button-full)*/.button-full.sc-ion-button-md-h{display:block}/*!@:host(.button-full) .button-native*/.button-full.sc-ion-button-md-h .button-native.sc-ion-button-md{margin-left:0;margin-right:0;width:100%;contain:content}/*!@:host(.button-full:not(.button-round)) .button-native*/.button-full.sc-ion-button-md-h:not(.button-round) .button-native.sc-ion-button-md{border-radius:0;border-right-width:0;border-left-width:0}/*!@.button-native*/.button-native.sc-ion-button-md{border-radius:var(--border-radius);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;width:100%;height:100%;min-height:inherit;-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);outline:none;background:var(--background);line-height:1;-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);contain:layout style;cursor:pointer;opacity:var(--opacity);overflow:var(--overflow);z-index:0;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none;appearance:none}/*!@.button-native::-moz-focus-inner*/.button-native.sc-ion-button-md::-moz-focus-inner{border:0}/*!@.button-inner*/.button-inner.sc-ion-button-md{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;z-index:1}/*!@::slotted([slot=start]),\n::slotted([slot=end])*/.sc-ion-button-md-s>[slot=start],.sc-ion-button-md-s>[slot=end]{-ms-flex-negative:0;flex-shrink:0}/*!@::slotted(ion-icon)*/.sc-ion-button-md-s>ion-icon{font-size:1.35em;pointer-events:none}/*!@::slotted(ion-icon[slot=start])*/.sc-ion-button-md-s>ion-icon[slot=start]{-webkit-margin-start:-0.3em;margin-inline-start:-0.3em;-webkit-margin-end:0.3em;margin-inline-end:0.3em;margin-top:0;margin-bottom:0}/*!@::slotted(ion-icon[slot=end])*/.sc-ion-button-md-s>ion-icon[slot=end]{-webkit-margin-start:0.3em;margin-inline-start:0.3em;-webkit-margin-end:-0.2em;margin-inline-end:-0.2em;margin-top:0;margin-bottom:0}/*!@::slotted(ion-icon[slot=icon-only])*/.sc-ion-button-md-s>ion-icon[slot=icon-only]{font-size:1.8em}/*!@ion-ripple-effect*/ion-ripple-effect.sc-ion-button-md{color:var(--ripple-color)}/*!@.button-native::after*/.button-native.sc-ion-button-md::after{left:0;right:0;top:0;bottom:0;position:absolute;content:\"\";opacity:0}/*!@:host(.ion-focused)*/.ion-focused.sc-ion-button-md-h{color:var(--color-focused)}/*!@:host(.ion-focused) .button-native::after*/.ion-focused.sc-ion-button-md-h .button-native.sc-ion-button-md::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}@media (any-hover: hover){/*!@:host(:hover)*/.sc-ion-button-md-h:hover{color:var(--color-hover)}/*!@:host(:hover) .button-native::after*/.sc-ion-button-md-h:hover .button-native.sc-ion-button-md::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}}/*!@:host(.ion-activated)*/.ion-activated.sc-ion-button-md-h{color:var(--color-activated)}/*!@:host(.ion-activated) .button-native::after*/.ion-activated.sc-ion-button-md-h .button-native.sc-ion-button-md::after{background:var(--background-activated);opacity:var(--background-activated-opacity)}/*!@:host(.button-solid.ion-color) .button-native*/.button-solid.ion-color.sc-ion-button-md-h .button-native.sc-ion-button-md{background:var(--ion-color-base);color:var(--ion-color-contrast)}/*!@:host(.button-outline.ion-color) .button-native*/.button-outline.ion-color.sc-ion-button-md-h .button-native.sc-ion-button-md{border-color:var(--ion-color-base);background:transparent;color:var(--ion-color-base)}/*!@:host(.button-clear.ion-color) .button-native*/.button-clear.ion-color.sc-ion-button-md-h .button-native.sc-ion-button-md{background:transparent;color:var(--ion-color-base)}/*!@:host(.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native*/.in-toolbar.sc-ion-button-md-h:not(.ion-color):not(.in-toolbar-color) .button-native.sc-ion-button-md{color:var(--ion-toolbar-color, var(--color))}/*!@:host(.button-outline.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native*/.button-outline.in-toolbar.sc-ion-button-md-h:not(.ion-color):not(.in-toolbar-color) .button-native.sc-ion-button-md{border-color:var(--ion-toolbar-color, var(--color, var(--border-color)))}/*!@:host(.button-solid.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native*/.button-solid.in-toolbar.sc-ion-button-md-h:not(.ion-color):not(.in-toolbar-color) .button-native.sc-ion-button-md{background:var(--ion-toolbar-color, var(--background));color:var(--ion-toolbar-background, var(--color))}/*!@:host(.button-outline.ion-activated.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native*/.button-outline.ion-activated.in-toolbar.sc-ion-button-md-h:not(.ion-color):not(.in-toolbar-color) .button-native.sc-ion-button-md{background:var(--ion-toolbar-color, var(--color));color:var(--ion-toolbar-background, var(--background), var(--ion-color-primary-contrast, #fff))}/*!@:host*/.sc-ion-button-md-h{--border-radius:4px;--padding-top:8px;--padding-bottom:8px;--padding-start:1.1em;--padding-end:1.1em;--transition:box-shadow 280ms cubic-bezier(.4, 0, .2, 1),\n background-color 15ms linear,\n color 15ms linear;-webkit-margin-start:2px;margin-inline-start:2px;-webkit-margin-end:2px;margin-inline-end:2px;margin-top:4px;margin-bottom:4px;min-height:36px;font-size:0.875rem;font-weight:500;letter-spacing:0.06em;text-transform:uppercase}/*!@:host(.button-solid)*/.button-solid.sc-ion-button-md-h{--background-activated:transparent;--background-hover:var(--ion-color-primary-contrast, #fff);--background-focused:var(--ion-color-primary-contrast, #fff);--background-activated-opacity:0;--background-focused-opacity:.24;--background-hover-opacity:.08;--box-shadow:0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12)}/*!@:host(.button-solid.ion-activated)*/.button-solid.ion-activated.sc-ion-button-md-h{--box-shadow:0 5px 5px -3px rgba(0, 0, 0, 0.2), 0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12)}/*!@:host(.button-outline)*/.button-outline.sc-ion-button-md-h{--border-width:2px;--border-style:solid;--box-shadow:none;--background-activated:transparent;--background-focused:var(--ion-color-primary, #3880ff);--background-hover:var(--ion-color-primary, #3880ff);--background-activated-opacity:0;--background-focused-opacity:.12;--background-hover-opacity:.04}/*!@:host(.button-outline.ion-activated.ion-color) .button-native*/.button-outline.ion-activated.ion-color.sc-ion-button-md-h .button-native.sc-ion-button-md{background:transparent}/*!@:host(.button-clear)*/.button-clear.sc-ion-button-md-h{--background-activated:transparent;--background-focused:var(--ion-color-primary, #3880ff);--background-hover:var(--ion-color-primary, #3880ff);--background-activated-opacity:0;--background-focused-opacity:.12;--background-hover-opacity:.04}/*!@:host(.button-round)*/.button-round.sc-ion-button-md-h{--border-radius:64px;--padding-top:0;--padding-start:26px;--padding-end:26px;--padding-bottom:0}/*!@:host(.button-large)*/.button-large.sc-ion-button-md-h{--padding-top:14px;--padding-start:1em;--padding-end:1em;--padding-bottom:14px;min-height:2.8em;font-size:1.25rem}/*!@:host(.button-small)*/.button-small.sc-ion-button-md-h{--padding-top:4px;--padding-start:0.9em;--padding-end:0.9em;--padding-bottom:4px;min-height:2.1em;font-size:0.8125rem}/*!@:host(.button-has-icon-only)*/.button-has-icon-only.sc-ion-button-md-h{--padding-top:0;--padding-bottom:0}/*!@:host(.button-strong)*/.button-strong.sc-ion-button-md-h{font-weight:bold}/*!@::slotted(ion-icon[slot=icon-only])*/.sc-ion-button-md-s>ion-icon[slot=icon-only]{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0}/*!@:host(.button-solid.ion-color.ion-focused) .button-native::after*/.button-solid.ion-color.ion-focused.sc-ion-button-md-h .button-native.sc-ion-button-md::after{background:var(--ion-color-contrast)}/*!@:host(.button-clear.ion-color.ion-focused) .button-native::after,\n:host(.button-outline.ion-color.ion-focused) .button-native::after*/.button-clear.ion-color.ion-focused.sc-ion-button-md-h .button-native.sc-ion-button-md::after,.button-outline.ion-color.ion-focused.sc-ion-button-md-h .button-native.sc-ion-button-md::after{background:var(--ion-color-base)}@media (any-hover: hover){/*!@:host(.button-solid.ion-color:hover) .button-native::after*/.button-solid.ion-color.sc-ion-button-md-h:hover .button-native.sc-ion-button-md::after{background:var(--ion-color-contrast)}/*!@:host(.button-clear.ion-color:hover) .button-native::after,\n :host(.button-outline.ion-color:hover) .button-native::after*/.button-clear.ion-color.sc-ion-button-md-h:hover .button-native.sc-ion-button-md::after,.button-outline.ion-color.sc-ion-button-md-h:hover .button-native.sc-ion-button-md::after{background:var(--ion-color-base)}}";
11530
11538
 
11531
11539
  /**
11532
11540
  * @virtualProp {"ios" | "md"} mode - The mode determines which platform styles to use.
@@ -12646,7 +12654,7 @@ const isRTL$1 = (hostEl) => {
12646
12654
  return (document === null || document === void 0 ? void 0 : document.dir.toLowerCase()) === 'rtl';
12647
12655
  };
12648
12656
 
12649
- const contentCss = "/*!@:host*/.sc-ion-content-h{--background:var(--ion-background-color, #fff);--color:var(--ion-text-color, #000);--padding-top:0px;--padding-bottom:0px;--padding-start:0px;--padding-end:0px;--keyboard-offset:0px;--offset-top:0px;--offset-bottom:0px;--overflow:auto;display:block;position:relative;-ms-flex:1;flex:1;width:100%;height:100%;margin:0 !important;padding:0 !important;font-family:var(--ion-font-family, inherit);contain:size style}/*!@:host(.ion-color) .inner-scroll*/.ion-color.sc-ion-content-h .inner-scroll.sc-ion-content{background:var(--ion-color-base);color:var(--ion-color-contrast)}/*!@#background-content*/#background-content.sc-ion-content{left:0px;right:0px;top:calc(var(--offset-top) * -1);bottom:calc(var(--offset-bottom) * -1);position:absolute;background:var(--background)}/*!@.inner-scroll*/.inner-scroll.sc-ion-content{left:0px;right:0px;top:calc(var(--offset-top) * -1);bottom:calc(var(--offset-bottom) * -1);-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:calc(var(--padding-top) + var(--offset-top));padding-bottom:calc(var(--padding-bottom) + var(--keyboard-offset) + var(--offset-bottom));position:absolute;color:var(--color);-webkit-box-sizing:border-box;box-sizing:border-box;overflow:hidden;-ms-touch-action:pan-x pan-y pinch-zoom;touch-action:pan-x pan-y pinch-zoom}/*!@.scroll-y,\n.scroll-x*/.scroll-y.sc-ion-content,.scroll-x.sc-ion-content{-webkit-overflow-scrolling:touch;z-index:0;will-change:scroll-position}/*!@.scroll-y*/.scroll-y.sc-ion-content{overflow-y:var(--overflow);overscroll-behavior-y:contain}/*!@.scroll-x*/.scroll-x.sc-ion-content{overflow-x:var(--overflow);overscroll-behavior-x:contain}/*!@.overscroll::before,\n.overscroll::after*/.overscroll.sc-ion-content::before,.overscroll.sc-ion-content::after{position:absolute;width:1px;height:1px;content:\"\"}/*!@.overscroll::before*/.overscroll.sc-ion-content::before{bottom:-1px}/*!@.overscroll::after*/.overscroll.sc-ion-content::after{top:-1px}/*!@:host(.content-sizing)*/.content-sizing.sc-ion-content-h{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;min-height:0;contain:none}/*!@:host(.content-sizing) .inner-scroll*/.content-sizing.sc-ion-content-h .inner-scroll.sc-ion-content{position:relative;top:0;bottom:0;margin-top:calc(var(--offset-top) * -1);margin-bottom:calc(var(--offset-bottom) * -1)}/*!@.transition-effect*/.transition-effect.sc-ion-content{display:none;position:absolute;width:100%;height:100vh;opacity:0;pointer-events:none}/*!@:host(.content-ltr) .transition-effect*/.content-ltr.sc-ion-content-h .transition-effect.sc-ion-content{left:-100%}/*!@:host(.content-rtl) .transition-effect*/.content-rtl.sc-ion-content-h .transition-effect.sc-ion-content{right:-100%}/*!@.transition-cover*/.transition-cover.sc-ion-content{position:absolute;right:0;width:100%;height:100%;background:black;opacity:0.1}/*!@.transition-shadow*/.transition-shadow.sc-ion-content{display:block;position:absolute;width:100%;height:100%;-webkit-box-shadow:inset -9px 0 9px 0 rgba(0, 0, 100, 0.03);box-shadow:inset -9px 0 9px 0 rgba(0, 0, 100, 0.03)}/*!@:host(.content-ltr) .transition-shadow*/.content-ltr.sc-ion-content-h .transition-shadow.sc-ion-content{right:0}/*!@:host(.content-rtl) .transition-shadow*/.content-rtl.sc-ion-content-h .transition-shadow.sc-ion-content{left:0;-webkit-transform:scaleX(-1);transform:scaleX(-1)}/*!@::slotted([slot=fixed])*/.sc-ion-content-s>[slot=fixed]{position:absolute;-webkit-transform:translateZ(0);transform:translateZ(0)}";
12657
+ const contentCss = "/*!@:host*/.sc-ion-content-h{--background:var(--ion-background-color, #fff);--color:var(--ion-text-color, #000);--padding-top:0px;--padding-bottom:0px;--padding-start:0px;--padding-end:0px;--keyboard-offset:0px;--offset-top:0px;--offset-bottom:0px;--overflow:auto;display:block;position:relative;-ms-flex:1;flex:1;width:100%;height:100%;margin:0 !important;padding:0 !important;font-family:var(--ion-font-family, inherit);contain:size style}/*!@:host(.ion-color) .inner-scroll*/.ion-color.sc-ion-content-h .inner-scroll.sc-ion-content{background:var(--ion-color-base);color:var(--ion-color-contrast)}/*!@:host(.outer-content)*/.outer-content.sc-ion-content-h{--background:var(--ion-color-step-50, #f2f2f2)}/*!@#background-content*/#background-content.sc-ion-content{left:0px;right:0px;top:calc(var(--offset-top) * -1);bottom:calc(var(--offset-bottom) * -1);position:absolute;background:var(--background)}/*!@.inner-scroll*/.inner-scroll.sc-ion-content{left:0px;right:0px;top:calc(var(--offset-top) * -1);bottom:calc(var(--offset-bottom) * -1);-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:calc(var(--padding-top) + var(--offset-top));padding-bottom:calc(var(--padding-bottom) + var(--keyboard-offset) + var(--offset-bottom));position:absolute;color:var(--color);-webkit-box-sizing:border-box;box-sizing:border-box;overflow:hidden;-ms-touch-action:pan-x pan-y pinch-zoom;touch-action:pan-x pan-y pinch-zoom}/*!@.scroll-y,\n.scroll-x*/.scroll-y.sc-ion-content,.scroll-x.sc-ion-content{-webkit-overflow-scrolling:touch;z-index:0;will-change:scroll-position}/*!@.scroll-y*/.scroll-y.sc-ion-content{overflow-y:var(--overflow);overscroll-behavior-y:contain}/*!@.scroll-x*/.scroll-x.sc-ion-content{overflow-x:var(--overflow);overscroll-behavior-x:contain}/*!@.overscroll::before,\n.overscroll::after*/.overscroll.sc-ion-content::before,.overscroll.sc-ion-content::after{position:absolute;width:1px;height:1px;content:\"\"}/*!@.overscroll::before*/.overscroll.sc-ion-content::before{bottom:-1px}/*!@.overscroll::after*/.overscroll.sc-ion-content::after{top:-1px}/*!@:host(.content-sizing)*/.content-sizing.sc-ion-content-h{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;min-height:0;contain:none}/*!@:host(.content-sizing) .inner-scroll*/.content-sizing.sc-ion-content-h .inner-scroll.sc-ion-content{position:relative;top:0;bottom:0;margin-top:calc(var(--offset-top) * -1);margin-bottom:calc(var(--offset-bottom) * -1)}/*!@.transition-effect*/.transition-effect.sc-ion-content{display:none;position:absolute;width:100%;height:100vh;opacity:0;pointer-events:none}/*!@:host(.content-ltr) .transition-effect*/.content-ltr.sc-ion-content-h .transition-effect.sc-ion-content{left:-100%}/*!@:host(.content-rtl) .transition-effect*/.content-rtl.sc-ion-content-h .transition-effect.sc-ion-content{right:-100%}/*!@.transition-cover*/.transition-cover.sc-ion-content{position:absolute;right:0;width:100%;height:100%;background:black;opacity:0.1}/*!@.transition-shadow*/.transition-shadow.sc-ion-content{display:block;position:absolute;width:100%;height:100%;-webkit-box-shadow:inset -9px 0 9px 0 rgba(0, 0, 100, 0.03);box-shadow:inset -9px 0 9px 0 rgba(0, 0, 100, 0.03)}/*!@:host(.content-ltr) .transition-shadow*/.content-ltr.sc-ion-content-h .transition-shadow.sc-ion-content{right:0}/*!@:host(.content-rtl) .transition-shadow*/.content-rtl.sc-ion-content-h .transition-shadow.sc-ion-content{left:0;-webkit-transform:scaleX(-1);transform:scaleX(-1)}/*!@::slotted([slot=fixed])*/.sc-ion-content-s>[slot=fixed]{position:absolute;-webkit-transform:translateZ(0);transform:translateZ(0)}";
12650
12658
 
12651
12659
  /**
12652
12660
  * @slot - Content is placed in the scrollable area if provided without a slot.
@@ -14518,7 +14526,7 @@ const getMonthColumnData = (locale, refParts, minParts, maxParts, monthValues, f
14518
14526
  * @param minParts The minimum bound on the date that can be returned
14519
14527
  * @param maxParts The maximum bound on the date that can be returned
14520
14528
  * @param dayValues The allowed date values
14521
- * @returns Date data to be used in ion-picker-column
14529
+ * @returns Date data to be used in ion-picker-column-internal
14522
14530
  */
14523
14531
  const getDayColumnData = (locale, refParts, minParts, maxParts, dayValues, formatOptions = {
14524
14532
  day: 'numeric',
@@ -14865,9 +14873,9 @@ const getHighlightStyles = (highlightedDates, dateIsoString, el) => {
14865
14873
  return undefined;
14866
14874
  };
14867
14875
 
14868
- const datetimeIosCss = "/*!@:host*/.sc-ion-datetime-ios-h{display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;background:var(--background);overflow:hidden}/*!@:host(.datetime-size-fixed)*/.datetime-size-fixed.sc-ion-datetime-ios-h{width:auto;height:auto}/*!@:host(.datetime-size-fixed:not(.datetime-prefer-wheel))*/.datetime-size-fixed.sc-ion-datetime-ios-h:not(.datetime-prefer-wheel){max-width:350px}/*!@:host(.datetime-size-fixed.datetime-prefer-wheel)*/.datetime-size-fixed.datetime-prefer-wheel.sc-ion-datetime-ios-h{min-width:350px;max-width:-webkit-max-content;max-width:-moz-max-content;max-width:max-content}/*!@:host(.datetime-size-cover)*/.datetime-size-cover.sc-ion-datetime-ios-h{width:100%}/*!@:host .calendar-body,\n:host .datetime-year*/.sc-ion-datetime-ios-h .calendar-body.sc-ion-datetime-ios,.sc-ion-datetime-ios-h .datetime-year.sc-ion-datetime-ios{opacity:0}/*!@:host(:not(.datetime-ready)) .datetime-year*/.sc-ion-datetime-ios-h:not(.datetime-ready) .datetime-year.sc-ion-datetime-ios{position:absolute;pointer-events:none}/*!@:host(.datetime-ready) .calendar-body*/.datetime-ready.sc-ion-datetime-ios-h .calendar-body.sc-ion-datetime-ios{opacity:1}/*!@:host(.datetime-ready) .datetime-year*/.datetime-ready.sc-ion-datetime-ios-h .datetime-year.sc-ion-datetime-ios{display:none;opacity:1}/*!@:host .wheel-order-year-first .day-column*/.sc-ion-datetime-ios-h .wheel-order-year-first.sc-ion-datetime-ios .day-column.sc-ion-datetime-ios{-ms-flex-order:3;order:3;text-align:end}/*!@:host .wheel-order-year-first .month-column*/.sc-ion-datetime-ios-h .wheel-order-year-first.sc-ion-datetime-ios .month-column.sc-ion-datetime-ios{-ms-flex-order:2;order:2;text-align:end}/*!@:host .wheel-order-year-first .year-column*/.sc-ion-datetime-ios-h .wheel-order-year-first.sc-ion-datetime-ios .year-column.sc-ion-datetime-ios{-ms-flex-order:1;order:1;text-align:start}/*!@:host .datetime-calendar,\n:host .datetime-year*/.sc-ion-datetime-ios-h .datetime-calendar.sc-ion-datetime-ios,.sc-ion-datetime-ios-h .datetime-year.sc-ion-datetime-ios{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-flow:column;flex-flow:column}/*!@:host(.show-month-and-year) .datetime-year*/.show-month-and-year.sc-ion-datetime-ios-h .datetime-year.sc-ion-datetime-ios{display:-ms-flexbox;display:flex}@supports (background: -webkit-named-image(apple-pay-logo-black)) and (not (aspect-ratio: 1/1)){/*!@:host(.show-month-and-year) .calendar-next-prev,\n :host(.show-month-and-year) .calendar-days-of-week,\n :host(.show-month-and-year) .calendar-body,\n :host(.show-month-and-year) .datetime-time*/.show-month-and-year.sc-ion-datetime-ios-h .calendar-next-prev.sc-ion-datetime-ios,.show-month-and-year.sc-ion-datetime-ios-h .calendar-days-of-week.sc-ion-datetime-ios,.show-month-and-year.sc-ion-datetime-ios-h .calendar-body.sc-ion-datetime-ios,.show-month-and-year.sc-ion-datetime-ios-h .datetime-time.sc-ion-datetime-ios{position:absolute;visibility:hidden;pointer-events:none}/*!@@supports (inset-inline-start: 0)*/@supports .sc-ion-datetime-ios (inset-inline-start.sc-ion-datetime-ios: 0).sc-ion-datetime-ios{.sc-ion-datetime-ios-h.show-month-and-year .calendar-next-prev,.sc-ion-datetime-ios-h.show-month-and-year .calendar-days-of-week,.sc-ion-datetime-ios-h.show-month-and-year .calendar-body,.sc-ion-datetime-ios-h.show-month-and-year .datetime-time{inset-inline-start:-99999px}}/*!@@supports not (inset-inline-start: 0)*/@supports .sc-ion-datetime-ios not.sc-ion-datetime-ios (inset-inline-start.sc-ion-datetime-ios: 0).sc-ion-datetime-ios{.sc-ion-datetime-ios-h.show-month-and-year .calendar-next-prev,.sc-ion-datetime-ios-h.show-month-and-year .calendar-days-of-week,.sc-ion-datetime-ios-h.show-month-and-year .calendar-body,.sc-ion-datetime-ios-h.show-month-and-year .datetime-time{left:-99999px}.sc-ion-datetime-ios-h[dir=rtl].sc-ion-datetime-ios-h.show-month-and-year .calendar-next-prev,[dir=rtl] .sc-ion-datetime-ios-h.sc-ion-datetime-ios-h.show-month-and-year .calendar-next-prev,.sc-ion-datetime-ios-h[dir=rtl].show-month-and-year .calendar-next-prev,[dir=rtl] .sc-ion-datetime-ios-h.show-month-and-year .calendar-next-prev,.sc-ion-datetime-ios-h[dir=rtl].sc-ion-datetime-ios-h.show-month-and-year .calendar-days-of-week,[dir=rtl] .sc-ion-datetime-ios-h.sc-ion-datetime-ios-h.show-month-and-year .calendar-days-of-week,.sc-ion-datetime-ios-h[dir=rtl].show-month-and-year .calendar-days-of-week,[dir=rtl] .sc-ion-datetime-ios-h.show-month-and-year .calendar-days-of-week,.sc-ion-datetime-ios-h[dir=rtl].sc-ion-datetime-ios-h.show-month-and-year .calendar-body,[dir=rtl] .sc-ion-datetime-ios-h.sc-ion-datetime-ios-h.show-month-and-year .calendar-body,.sc-ion-datetime-ios-h[dir=rtl].show-month-and-year .calendar-body,[dir=rtl] .sc-ion-datetime-ios-h.show-month-and-year .calendar-body,.sc-ion-datetime-ios-h[dir=rtl].sc-ion-datetime-ios-h.show-month-and-year .datetime-time,[dir=rtl] .sc-ion-datetime-ios-h.sc-ion-datetime-ios-h.show-month-and-year .datetime-time,.sc-ion-datetime-ios-h[dir=rtl].show-month-and-year .datetime-time,[dir=rtl] .sc-ion-datetime-ios-h.show-month-and-year .datetime-time{left:unset;right:unset;right:-99999px}@supports selector(:dir(rtl)){.sc-ion-datetime-ios-h.show-month-and-year:dir(rtl) .calendar-next-prev,.sc-ion-datetime-ios-h.show-month-and-year:dir(rtl) .calendar-days-of-week,.sc-ion-datetime-ios-h.show-month-and-year:dir(rtl) .calendar-body,.sc-ion-datetime-ios-h.show-month-and-year:dir(rtl) .datetime-time{left:unset;right:unset;right:-99999px}}}}@supports (not (background: -webkit-named-image(apple-pay-logo-black))) or ((background: -webkit-named-image(apple-pay-logo-black)) and (aspect-ratio: 1/1)){/*!@:host(.show-month-and-year) .calendar-next-prev,\n :host(.show-month-and-year) .calendar-days-of-week,\n :host(.show-month-and-year) .calendar-body,\n :host(.show-month-and-year) .datetime-time*/.show-month-and-year.sc-ion-datetime-ios-h .calendar-next-prev.sc-ion-datetime-ios,.show-month-and-year.sc-ion-datetime-ios-h .calendar-days-of-week.sc-ion-datetime-ios,.show-month-and-year.sc-ion-datetime-ios-h .calendar-body.sc-ion-datetime-ios,.show-month-and-year.sc-ion-datetime-ios-h .datetime-time.sc-ion-datetime-ios{display:none}}/*!@:host(.month-year-picker-open) .datetime-footer*/.month-year-picker-open.sc-ion-datetime-ios-h .datetime-footer.sc-ion-datetime-ios{display:none}/*!@:host(.datetime-disabled)*/.datetime-disabled.sc-ion-datetime-ios-h{pointer-events:none}/*!@:host(.datetime-disabled) .calendar-days-of-week,\n:host(.datetime-disabled) .datetime-time*/.datetime-disabled.sc-ion-datetime-ios-h .calendar-days-of-week.sc-ion-datetime-ios,.datetime-disabled.sc-ion-datetime-ios-h .datetime-time.sc-ion-datetime-ios{opacity:0.4}/*!@:host(.datetime-readonly)*/.datetime-readonly.sc-ion-datetime-ios-h{pointer-events:none}/*!@:host(.datetime-readonly) .calendar-action-buttons,\n:host(.datetime-readonly) .calendar-body,\n:host(.datetime-readonly) .datetime-year*/.datetime-readonly.sc-ion-datetime-ios-h .calendar-action-buttons.sc-ion-datetime-ios,.datetime-readonly.sc-ion-datetime-ios-h .calendar-body.sc-ion-datetime-ios,.datetime-readonly.sc-ion-datetime-ios-h .datetime-year.sc-ion-datetime-ios{pointer-events:initial}/*!@:host(.datetime-readonly) .calendar-day[disabled]:not(.calendar-day-constrained),\n:host(.datetime-readonly) .datetime-action-buttons ion-button[disabled]*/.datetime-readonly.sc-ion-datetime-ios-h .calendar-day[disabled].sc-ion-datetime-ios:not(.calendar-day-constrained),.datetime-readonly.sc-ion-datetime-ios-h .datetime-action-buttons.sc-ion-datetime-ios ion-button[disabled].sc-ion-datetime-ios{opacity:1}/*!@:host .datetime-header .datetime-title*/.sc-ion-datetime-ios-h .datetime-header.sc-ion-datetime-ios .datetime-title.sc-ion-datetime-ios{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}/*!@:host .datetime-action-buttons.has-clear-button*/.sc-ion-datetime-ios-h .datetime-action-buttons.has-clear-button.sc-ion-datetime-ios{width:100%}/*!@:host .datetime-action-buttons ion-buttons*/.sc-ion-datetime-ios-h .datetime-action-buttons.sc-ion-datetime-ios ion-buttons.sc-ion-datetime-ios{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}/*!@.datetime-action-buttons .datetime-action-buttons-container*/.datetime-action-buttons.sc-ion-datetime-ios .datetime-action-buttons-container.sc-ion-datetime-ios{display:-ms-flexbox;display:flex}/*!@:host .calendar-action-buttons*/.sc-ion-datetime-ios-h .calendar-action-buttons.sc-ion-datetime-ios{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}/*!@:host .calendar-action-buttons ion-button*/.sc-ion-datetime-ios-h .calendar-action-buttons.sc-ion-datetime-ios ion-button.sc-ion-datetime-ios{--background:transparent}/*!@:host .calendar-days-of-week*/.sc-ion-datetime-ios-h .calendar-days-of-week.sc-ion-datetime-ios{display:grid;grid-template-columns:repeat(7, 1fr);text-align:center}/*!@.calendar-days-of-week .day-of-week*/.calendar-days-of-week.sc-ion-datetime-ios .day-of-week.sc-ion-datetime-ios{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:0;margin-bottom:0}/*!@:host .calendar-body*/.sc-ion-datetime-ios-h .calendar-body.sc-ion-datetime-ios{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-webkit-scroll-snap-type:x mandatory;-ms-scroll-snap-type:x mandatory;scroll-snap-type:x mandatory;overflow-x:scroll;overflow-y:hidden;scrollbar-width:none;outline:none}/*!@:host .calendar-body .calendar-month*/.sc-ion-datetime-ios-h .calendar-body.sc-ion-datetime-ios .calendar-month.sc-ion-datetime-ios{display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;scroll-snap-align:start;scroll-snap-stop:always;-ms-flex-negative:0;flex-shrink:0;width:100%}/*!@:host .calendar-body .calendar-month-disabled*/.sc-ion-datetime-ios-h .calendar-body.sc-ion-datetime-ios .calendar-month-disabled.sc-ion-datetime-ios{scroll-snap-align:none}/*!@:host .calendar-body::-webkit-scrollbar*/.sc-ion-datetime-ios-h .calendar-body.sc-ion-datetime-ios::-webkit-scrollbar{display:none}/*!@:host .calendar-body .calendar-month-grid*/.sc-ion-datetime-ios-h .calendar-body.sc-ion-datetime-ios .calendar-month-grid.sc-ion-datetime-ios{display:grid;grid-template-columns:repeat(7, 1fr)}/*!@:host .calendar-day-wrapper*/.sc-ion-datetime-ios-h .calendar-day-wrapper.sc-ion-datetime-ios{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;min-width:0;min-height:0;overflow:visible}/*!@.calendar-day*/.calendar-day.sc-ion-datetime-ios{border-radius:50%;-webkit-padding-start:0px;padding-inline-start:0px;-webkit-padding-end:0px;padding-inline-end:0px;padding-top:0px;padding-bottom:0px;-webkit-margin-start:0px;margin-inline-start:0px;-webkit-margin-end:0px;margin-inline-end:0px;margin-top:0px;margin-bottom:0px;display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;border:none;outline:none;background:none;color:currentColor;font-family:var(--ion-font-family, inherit);cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;z-index:0}/*!@:host .calendar-day[disabled]*/.sc-ion-datetime-ios-h .calendar-day[disabled].sc-ion-datetime-ios{pointer-events:none;opacity:0.4}/*!@.calendar-day:focus*/.calendar-day.sc-ion-datetime-ios:focus{background:rgba(var(--ion-color-base-rgb), 0.2);-webkit-box-shadow:0px 0px 0px 4px rgba(var(--ion-color-base-rgb), 0.2);box-shadow:0px 0px 0px 4px rgba(var(--ion-color-base-rgb), 0.2)}/*!@:host .datetime-time*/.sc-ion-datetime-ios-h .datetime-time.sc-ion-datetime-ios{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}/*!@:host(.datetime-presentation-time) .datetime-time*/.datetime-presentation-time.sc-ion-datetime-ios-h .datetime-time.sc-ion-datetime-ios{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0}/*!@:host ion-popover*/.sc-ion-datetime-ios-h ion-popover.sc-ion-datetime-ios{--height:200px}/*!@:host .time-header*/.sc-ion-datetime-ios-h .time-header.sc-ion-datetime-ios{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}/*!@:host .time-body*/.sc-ion-datetime-ios-h .time-body.sc-ion-datetime-ios{border-radius:8px;-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px;padding-top:6px;padding-bottom:6px;display:-ms-flexbox;display:flex;border:none;background:var(--ion-color-step-300, #edeef0);color:var(--ion-text-color, #000);font-family:inherit;font-size:inherit;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none}/*!@:host .time-body-active*/.sc-ion-datetime-ios-h .time-body-active.sc-ion-datetime-ios{color:var(--ion-color-base)}/*!@:host(.in-item)*/.in-item.sc-ion-datetime-ios-h{position:static}/*!@:host(.show-month-and-year) .calendar-action-buttons .calendar-month-year-toggle*/.show-month-and-year.sc-ion-datetime-ios-h .calendar-action-buttons.sc-ion-datetime-ios .calendar-month-year-toggle.sc-ion-datetime-ios{color:var(--ion-color-base)}/*!@.calendar-month-year*/.calendar-month-year.sc-ion-datetime-ios{min-width:0}/*!@.calendar-month-year-toggle*/.calendar-month-year-toggle.sc-ion-datetime-ios{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;position:relative;border:0;outline:none;background:transparent;cursor:pointer;z-index:1}/*!@.calendar-month-year-toggle::after*/.calendar-month-year-toggle.sc-ion-datetime-ios::after{left:0;right:0;top:0;bottom:0;position:absolute;content:\"\";opacity:0;-webkit-transition:opacity 15ms linear, background-color 15ms linear;transition:opacity 15ms linear, background-color 15ms linear;z-index:-1}/*!@.calendar-month-year-toggle.ion-focused::after*/.calendar-month-year-toggle.ion-focused.sc-ion-datetime-ios::after{background:currentColor}/*!@.calendar-month-year-toggle:disabled*/.calendar-month-year-toggle.sc-ion-datetime-ios:disabled{opacity:0.3;pointer-events:none}/*!@.calendar-month-year-toggle ion-icon*/.calendar-month-year-toggle.sc-ion-datetime-ios ion-icon.sc-ion-datetime-ios{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:0;padding-inline-end:0;padding-top:0;padding-bottom:0;-ms-flex-negative:0;flex-shrink:0}/*!@.calendar-month-year-toggle #toggle-wrapper*/.calendar-month-year-toggle.sc-ion-datetime-ios #toggle-wrapper.sc-ion-datetime-ios{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center}/*!@ion-picker*/ion-picker.sc-ion-datetime-ios{--highlight-background:var(--wheel-highlight-background);--highlight-border-radius:var(--wheel-highlight-border-radius);--fade-background-rgb:var(--wheel-fade-background-rgb)}/*!@:host*/.sc-ion-datetime-ios-h{--background:var(--ion-color-light, #ffffff);--background-rgb:var(--ion-color-light-rgb);--title-color:var(--ion-color-step-600, #666666)}/*!@:host(.datetime-presentation-date-time:not(.datetime-prefer-wheel)),\n:host(.datetime-presentation-time-date:not(.datetime-prefer-wheel)),\n:host(.datetime-presentation-date:not(.datetime-prefer-wheel))*/.datetime-presentation-date-time.sc-ion-datetime-ios-h:not(.datetime-prefer-wheel),.datetime-presentation-time-date.sc-ion-datetime-ios-h:not(.datetime-prefer-wheel),.datetime-presentation-date.sc-ion-datetime-ios-h:not(.datetime-prefer-wheel){min-height:350px}/*!@:host .datetime-header*/.sc-ion-datetime-ios-h .datetime-header.sc-ion-datetime-ios{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:16px;padding-bottom:16px;border-bottom:0.55px solid var(--ion-color-step-200, #cccccc);font-size:min(0.875rem, 22.4px)}/*!@:host .datetime-header .datetime-title*/.sc-ion-datetime-ios-h .datetime-header.sc-ion-datetime-ios .datetime-title.sc-ion-datetime-ios{color:var(--title-color)}/*!@:host .datetime-header .datetime-selected-date*/.sc-ion-datetime-ios-h .datetime-header.sc-ion-datetime-ios .datetime-selected-date.sc-ion-datetime-ios{margin-top:10px}/*!@.calendar-month-year-toggle*/.calendar-month-year-toggle.sc-ion-datetime-ios{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:0px;padding-bottom:0px;min-height:44px;font-size:min(1rem, 25.6px);font-weight:600}/*!@.calendar-month-year-toggle.ion-focused::after*/.calendar-month-year-toggle.ion-focused.sc-ion-datetime-ios::after{opacity:0.15}/*!@.calendar-month-year-toggle #toggle-wrapper*/.calendar-month-year-toggle.sc-ion-datetime-ios #toggle-wrapper.sc-ion-datetime-ios{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:8px;margin-inline-end:8px;margin-top:10px;margin-bottom:10px}/*!@:host .calendar-action-buttons .calendar-month-year-toggle ion-icon,\n:host .calendar-action-buttons ion-buttons ion-button*/.sc-ion-datetime-ios-h .calendar-action-buttons.sc-ion-datetime-ios .calendar-month-year-toggle.sc-ion-datetime-ios ion-icon.sc-ion-datetime-ios,.sc-ion-datetime-ios-h .calendar-action-buttons.sc-ion-datetime-ios ion-buttons.sc-ion-datetime-ios ion-button.sc-ion-datetime-ios{color:var(--ion-color-base)}/*!@:host .calendar-action-buttons ion-buttons*/.sc-ion-datetime-ios-h .calendar-action-buttons.sc-ion-datetime-ios ion-buttons.sc-ion-datetime-ios{padding-left:0;padding-right:0;padding-top:8px;padding-bottom:0}/*!@:host .calendar-action-buttons ion-buttons ion-button*/.sc-ion-datetime-ios-h .calendar-action-buttons.sc-ion-datetime-ios ion-buttons.sc-ion-datetime-ios ion-button.sc-ion-datetime-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}/*!@:host .calendar-days-of-week*/.sc-ion-datetime-ios-h .calendar-days-of-week.sc-ion-datetime-ios{-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px;padding-top:0;padding-bottom:0;color:var(--ion-color-step-300, #b3b3b3);font-size:min(0.75rem, 19.2px);font-weight:600;line-height:24px;text-transform:uppercase}@supports (border-radius: mod(1px, 1px)){/*!@.calendar-days-of-week .day-of-week*/.calendar-days-of-week.sc-ion-datetime-ios .day-of-week.sc-ion-datetime-ios{width:clamp(20px, calc(mod(min(1rem, 24px), 24px) * 10), 100%);height:24px;overflow:hidden}/*!@.calendar-day*/.calendar-day.sc-ion-datetime-ios{border-radius:max(8px, mod(min(1rem, 24px), 24px) * 10)}}@supports ((border-radius: mod(1px, 1px)) and (background: -webkit-named-image(apple-pay-logo-black)) and (not (contain-intrinsic-size: none))) or (not (border-radius: mod(1px, 1px))){/*!@.calendar-days-of-week .day-of-week*/.calendar-days-of-week.sc-ion-datetime-ios .day-of-week.sc-ion-datetime-ios{width:auto;height:auto;overflow:initial}/*!@.calendar-day*/.calendar-day.sc-ion-datetime-ios{border-radius:32px}}/*!@:host .calendar-body .calendar-month .calendar-month-grid*/.sc-ion-datetime-ios-h .calendar-body.sc-ion-datetime-ios .calendar-month.sc-ion-datetime-ios .calendar-month-grid.sc-ion-datetime-ios{-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px;padding-top:8px;padding-bottom:8px;-ms-flex-align:center;align-items:center;height:calc(100% - 16px)}/*!@:host .calendar-day-wrapper*/.sc-ion-datetime-ios-h .calendar-day-wrapper.sc-ion-datetime-ios{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:4px;padding-inline-end:4px;padding-top:4px;padding-bottom:4px;height:0;min-height:1rem}/*!@:host .calendar-day*/.sc-ion-datetime-ios-h .calendar-day.sc-ion-datetime-ios{width:40px;min-width:40px;height:40px;font-size:min(1.25rem, 32px)}/*!@.calendar-day.calendar-day-active*/.calendar-day.calendar-day-active.sc-ion-datetime-ios{background:rgba(var(--ion-color-base-rgb), 0.2)}/*!@:host .calendar-day.calendar-day-today*/.sc-ion-datetime-ios-h .calendar-day.calendar-day-today.sc-ion-datetime-ios{color:var(--ion-color-base)}/*!@:host .calendar-day.calendar-day-active*/.sc-ion-datetime-ios-h .calendar-day.calendar-day-active.sc-ion-datetime-ios{color:var(--ion-color-base);font-weight:600}/*!@:host .calendar-day.calendar-day-today.calendar-day-active*/.sc-ion-datetime-ios-h .calendar-day.calendar-day-today.calendar-day-active.sc-ion-datetime-ios{color:var(--ion-color-contrast)}/*!@:host .datetime-time*/.sc-ion-datetime-ios-h .datetime-time.sc-ion-datetime-ios{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:8px;padding-bottom:16px;font-size:min(1rem, 25.6px)}/*!@:host .datetime-time .time-header*/.sc-ion-datetime-ios-h .datetime-time.sc-ion-datetime-ios .time-header.sc-ion-datetime-ios{font-weight:600}/*!@:host .datetime-buttons*/.sc-ion-datetime-ios-h .datetime-buttons.sc-ion-datetime-ios{-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px;padding-top:8px;padding-bottom:8px;border-top:0.55px solid var(--ion-color-step-200, #cccccc)}/*!@:host .datetime-buttons ::slotted(ion-buttons),\n:host .datetime-buttons ion-buttons*/.sc-ion-datetime-ios-h .datetime-buttons .sc-ion-datetime-ios-s>ion-buttons,.sc-ion-datetime-ios-h .datetime-buttons.sc-ion-datetime-ios ion-buttons.sc-ion-datetime-ios{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between}/*!@:host .datetime-action-buttons*/.sc-ion-datetime-ios-h .datetime-action-buttons.sc-ion-datetime-ios{width:100%}";
14876
+ const datetimeIosCss = "/*!@:host*/.sc-ion-datetime-ios-h{display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;background:var(--background);overflow:hidden}/*!@ion-picker-column-internal*/ion-picker-column-internal.sc-ion-datetime-ios{min-width:26px}/*!@:host(.datetime-size-fixed)*/.datetime-size-fixed.sc-ion-datetime-ios-h{width:auto;height:auto}/*!@:host(.datetime-size-fixed:not(.datetime-prefer-wheel))*/.datetime-size-fixed.sc-ion-datetime-ios-h:not(.datetime-prefer-wheel){max-width:350px}/*!@:host(.datetime-size-fixed.datetime-prefer-wheel)*/.datetime-size-fixed.datetime-prefer-wheel.sc-ion-datetime-ios-h{min-width:350px;max-width:-webkit-max-content;max-width:-moz-max-content;max-width:max-content}/*!@:host(.datetime-size-cover)*/.datetime-size-cover.sc-ion-datetime-ios-h{width:100%}/*!@:host .calendar-body,\n:host .datetime-year*/.sc-ion-datetime-ios-h .calendar-body.sc-ion-datetime-ios,.sc-ion-datetime-ios-h .datetime-year.sc-ion-datetime-ios{opacity:0}/*!@:host(:not(.datetime-ready)) .datetime-year*/.sc-ion-datetime-ios-h:not(.datetime-ready) .datetime-year.sc-ion-datetime-ios{position:absolute;pointer-events:none}/*!@:host(.datetime-ready) .calendar-body*/.datetime-ready.sc-ion-datetime-ios-h .calendar-body.sc-ion-datetime-ios{opacity:1}/*!@:host(.datetime-ready) .datetime-year*/.datetime-ready.sc-ion-datetime-ios-h .datetime-year.sc-ion-datetime-ios{display:none;opacity:1}/*!@:host .wheel-order-year-first .day-column*/.sc-ion-datetime-ios-h .wheel-order-year-first.sc-ion-datetime-ios .day-column.sc-ion-datetime-ios{-ms-flex-order:3;order:3;text-align:end}/*!@:host .wheel-order-year-first .month-column*/.sc-ion-datetime-ios-h .wheel-order-year-first.sc-ion-datetime-ios .month-column.sc-ion-datetime-ios{-ms-flex-order:2;order:2;text-align:end}/*!@:host .wheel-order-year-first .year-column*/.sc-ion-datetime-ios-h .wheel-order-year-first.sc-ion-datetime-ios .year-column.sc-ion-datetime-ios{-ms-flex-order:1;order:1;text-align:start}/*!@:host .datetime-calendar,\n:host .datetime-year*/.sc-ion-datetime-ios-h .datetime-calendar.sc-ion-datetime-ios,.sc-ion-datetime-ios-h .datetime-year.sc-ion-datetime-ios{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-flow:column;flex-flow:column}/*!@:host(.show-month-and-year) .datetime-year*/.show-month-and-year.sc-ion-datetime-ios-h .datetime-year.sc-ion-datetime-ios{display:-ms-flexbox;display:flex}@supports (background: -webkit-named-image(apple-pay-logo-black)) and (not (aspect-ratio: 1/1)){/*!@:host(.show-month-and-year) .calendar-next-prev,\n :host(.show-month-and-year) .calendar-days-of-week,\n :host(.show-month-and-year) .calendar-body,\n :host(.show-month-and-year) .datetime-time*/.show-month-and-year.sc-ion-datetime-ios-h .calendar-next-prev.sc-ion-datetime-ios,.show-month-and-year.sc-ion-datetime-ios-h .calendar-days-of-week.sc-ion-datetime-ios,.show-month-and-year.sc-ion-datetime-ios-h .calendar-body.sc-ion-datetime-ios,.show-month-and-year.sc-ion-datetime-ios-h .datetime-time.sc-ion-datetime-ios{position:absolute;visibility:hidden;pointer-events:none}/*!@@supports (inset-inline-start: 0)*/@supports .sc-ion-datetime-ios (inset-inline-start.sc-ion-datetime-ios: 0).sc-ion-datetime-ios{.sc-ion-datetime-ios-h.show-month-and-year .calendar-next-prev,.sc-ion-datetime-ios-h.show-month-and-year .calendar-days-of-week,.sc-ion-datetime-ios-h.show-month-and-year .calendar-body,.sc-ion-datetime-ios-h.show-month-and-year .datetime-time{inset-inline-start:-99999px}}/*!@@supports not (inset-inline-start: 0)*/@supports .sc-ion-datetime-ios not.sc-ion-datetime-ios (inset-inline-start.sc-ion-datetime-ios: 0).sc-ion-datetime-ios{.sc-ion-datetime-ios-h.show-month-and-year .calendar-next-prev,.sc-ion-datetime-ios-h.show-month-and-year .calendar-days-of-week,.sc-ion-datetime-ios-h.show-month-and-year .calendar-body,.sc-ion-datetime-ios-h.show-month-and-year .datetime-time{left:-99999px}.sc-ion-datetime-ios-h[dir=rtl].sc-ion-datetime-ios-h.show-month-and-year .calendar-next-prev,[dir=rtl] .sc-ion-datetime-ios-h.sc-ion-datetime-ios-h.show-month-and-year .calendar-next-prev,.sc-ion-datetime-ios-h[dir=rtl].show-month-and-year .calendar-next-prev,[dir=rtl] .sc-ion-datetime-ios-h.show-month-and-year .calendar-next-prev,.sc-ion-datetime-ios-h[dir=rtl].sc-ion-datetime-ios-h.show-month-and-year .calendar-days-of-week,[dir=rtl] .sc-ion-datetime-ios-h.sc-ion-datetime-ios-h.show-month-and-year .calendar-days-of-week,.sc-ion-datetime-ios-h[dir=rtl].show-month-and-year .calendar-days-of-week,[dir=rtl] .sc-ion-datetime-ios-h.show-month-and-year .calendar-days-of-week,.sc-ion-datetime-ios-h[dir=rtl].sc-ion-datetime-ios-h.show-month-and-year .calendar-body,[dir=rtl] .sc-ion-datetime-ios-h.sc-ion-datetime-ios-h.show-month-and-year .calendar-body,.sc-ion-datetime-ios-h[dir=rtl].show-month-and-year .calendar-body,[dir=rtl] .sc-ion-datetime-ios-h.show-month-and-year .calendar-body,.sc-ion-datetime-ios-h[dir=rtl].sc-ion-datetime-ios-h.show-month-and-year .datetime-time,[dir=rtl] .sc-ion-datetime-ios-h.sc-ion-datetime-ios-h.show-month-and-year .datetime-time,.sc-ion-datetime-ios-h[dir=rtl].show-month-and-year .datetime-time,[dir=rtl] .sc-ion-datetime-ios-h.show-month-and-year .datetime-time{left:unset;right:unset;right:-99999px}@supports selector(:dir(rtl)){.sc-ion-datetime-ios-h.show-month-and-year:dir(rtl) .calendar-next-prev,.sc-ion-datetime-ios-h.show-month-and-year:dir(rtl) .calendar-days-of-week,.sc-ion-datetime-ios-h.show-month-and-year:dir(rtl) .calendar-body,.sc-ion-datetime-ios-h.show-month-and-year:dir(rtl) .datetime-time{left:unset;right:unset;right:-99999px}}}}@supports (not (background: -webkit-named-image(apple-pay-logo-black))) or ((background: -webkit-named-image(apple-pay-logo-black)) and (aspect-ratio: 1/1)){/*!@:host(.show-month-and-year) .calendar-next-prev,\n :host(.show-month-and-year) .calendar-days-of-week,\n :host(.show-month-and-year) .calendar-body,\n :host(.show-month-and-year) .datetime-time*/.show-month-and-year.sc-ion-datetime-ios-h .calendar-next-prev.sc-ion-datetime-ios,.show-month-and-year.sc-ion-datetime-ios-h .calendar-days-of-week.sc-ion-datetime-ios,.show-month-and-year.sc-ion-datetime-ios-h .calendar-body.sc-ion-datetime-ios,.show-month-and-year.sc-ion-datetime-ios-h .datetime-time.sc-ion-datetime-ios{display:none}}/*!@:host(.month-year-picker-open) .datetime-footer*/.month-year-picker-open.sc-ion-datetime-ios-h .datetime-footer.sc-ion-datetime-ios{display:none}/*!@:host(.datetime-disabled)*/.datetime-disabled.sc-ion-datetime-ios-h{pointer-events:none}/*!@:host(.datetime-disabled) .calendar-days-of-week,\n:host(.datetime-disabled) .datetime-time*/.datetime-disabled.sc-ion-datetime-ios-h .calendar-days-of-week.sc-ion-datetime-ios,.datetime-disabled.sc-ion-datetime-ios-h .datetime-time.sc-ion-datetime-ios{opacity:0.4}/*!@:host(.datetime-readonly)*/.datetime-readonly.sc-ion-datetime-ios-h{pointer-events:none}/*!@:host(.datetime-readonly) .calendar-action-buttons,\n:host(.datetime-readonly) .calendar-body,\n:host(.datetime-readonly) .datetime-year*/.datetime-readonly.sc-ion-datetime-ios-h .calendar-action-buttons.sc-ion-datetime-ios,.datetime-readonly.sc-ion-datetime-ios-h .calendar-body.sc-ion-datetime-ios,.datetime-readonly.sc-ion-datetime-ios-h .datetime-year.sc-ion-datetime-ios{pointer-events:initial}/*!@:host(.datetime-readonly) .calendar-day[disabled]:not(.calendar-day-constrained),\n:host(.datetime-readonly) .datetime-action-buttons ion-button[disabled]*/.datetime-readonly.sc-ion-datetime-ios-h .calendar-day[disabled].sc-ion-datetime-ios:not(.calendar-day-constrained),.datetime-readonly.sc-ion-datetime-ios-h .datetime-action-buttons.sc-ion-datetime-ios ion-button[disabled].sc-ion-datetime-ios{opacity:1}/*!@:host .datetime-header .datetime-title*/.sc-ion-datetime-ios-h .datetime-header.sc-ion-datetime-ios .datetime-title.sc-ion-datetime-ios{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}/*!@:host .datetime-action-buttons.has-clear-button*/.sc-ion-datetime-ios-h .datetime-action-buttons.has-clear-button.sc-ion-datetime-ios{width:100%}/*!@:host .datetime-action-buttons ion-buttons*/.sc-ion-datetime-ios-h .datetime-action-buttons.sc-ion-datetime-ios ion-buttons.sc-ion-datetime-ios{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}/*!@.datetime-action-buttons .datetime-action-buttons-container*/.datetime-action-buttons.sc-ion-datetime-ios .datetime-action-buttons-container.sc-ion-datetime-ios{display:-ms-flexbox;display:flex}/*!@:host .calendar-action-buttons*/.sc-ion-datetime-ios-h .calendar-action-buttons.sc-ion-datetime-ios{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}/*!@:host .calendar-action-buttons ion-item,\n:host .calendar-action-buttons ion-button*/.sc-ion-datetime-ios-h .calendar-action-buttons.sc-ion-datetime-ios ion-item.sc-ion-datetime-ios,.sc-ion-datetime-ios-h .calendar-action-buttons.sc-ion-datetime-ios ion-button.sc-ion-datetime-ios{--background:translucent}/*!@:host .calendar-action-buttons ion-item ion-label*/.sc-ion-datetime-ios-h .calendar-action-buttons.sc-ion-datetime-ios ion-item.sc-ion-datetime-ios ion-label.sc-ion-datetime-ios{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}/*!@:host .calendar-action-buttons ion-item ion-icon*/.sc-ion-datetime-ios-h .calendar-action-buttons.sc-ion-datetime-ios ion-item.sc-ion-datetime-ios ion-icon.sc-ion-datetime-ios{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:0;padding-inline-end:0;padding-top:0;padding-bottom:0}/*!@:host .calendar-days-of-week*/.sc-ion-datetime-ios-h .calendar-days-of-week.sc-ion-datetime-ios{display:grid;grid-template-columns:repeat(7, 1fr);text-align:center}/*!@.calendar-days-of-week .day-of-week*/.calendar-days-of-week.sc-ion-datetime-ios .day-of-week.sc-ion-datetime-ios{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:0;margin-bottom:0}/*!@:host .calendar-body*/.sc-ion-datetime-ios-h .calendar-body.sc-ion-datetime-ios{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-webkit-scroll-snap-type:x mandatory;-ms-scroll-snap-type:x mandatory;scroll-snap-type:x mandatory;overflow-x:scroll;overflow-y:hidden;scrollbar-width:none;outline:none}/*!@:host .calendar-body .calendar-month*/.sc-ion-datetime-ios-h .calendar-body.sc-ion-datetime-ios .calendar-month.sc-ion-datetime-ios{display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;scroll-snap-align:start;scroll-snap-stop:always;-ms-flex-negative:0;flex-shrink:0;width:100%}/*!@:host .calendar-body .calendar-month-disabled*/.sc-ion-datetime-ios-h .calendar-body.sc-ion-datetime-ios .calendar-month-disabled.sc-ion-datetime-ios{scroll-snap-align:none}/*!@:host .calendar-body::-webkit-scrollbar*/.sc-ion-datetime-ios-h .calendar-body.sc-ion-datetime-ios::-webkit-scrollbar{display:none}/*!@:host .calendar-body .calendar-month-grid*/.sc-ion-datetime-ios-h .calendar-body.sc-ion-datetime-ios .calendar-month-grid.sc-ion-datetime-ios{display:grid;grid-template-columns:repeat(7, 1fr)}/*!@:host .calendar-day-wrapper*/.sc-ion-datetime-ios-h .calendar-day-wrapper.sc-ion-datetime-ios{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;min-width:0;min-height:0;overflow:visible}/*!@.calendar-day*/.calendar-day.sc-ion-datetime-ios{border-radius:50%;-webkit-padding-start:0px;padding-inline-start:0px;-webkit-padding-end:0px;padding-inline-end:0px;padding-top:0px;padding-bottom:0px;-webkit-margin-start:0px;margin-inline-start:0px;-webkit-margin-end:0px;margin-inline-end:0px;margin-top:0px;margin-bottom:0px;display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;border:none;outline:none;background:none;color:currentColor;font-family:var(--ion-font-family, inherit);cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;z-index:0}/*!@:host .calendar-day[disabled]*/.sc-ion-datetime-ios-h .calendar-day[disabled].sc-ion-datetime-ios{pointer-events:none;opacity:0.4}/*!@.calendar-day:focus*/.calendar-day.sc-ion-datetime-ios:focus{background:rgba(var(--ion-color-base-rgb), 0.2);-webkit-box-shadow:0px 0px 0px 4px rgba(var(--ion-color-base-rgb), 0.2);box-shadow:0px 0px 0px 4px rgba(var(--ion-color-base-rgb), 0.2)}/*!@:host .datetime-time*/.sc-ion-datetime-ios-h .datetime-time.sc-ion-datetime-ios{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}/*!@:host(.datetime-presentation-time) .datetime-time*/.datetime-presentation-time.sc-ion-datetime-ios-h .datetime-time.sc-ion-datetime-ios{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0}/*!@:host ion-popover*/.sc-ion-datetime-ios-h ion-popover.sc-ion-datetime-ios{--height:200px}/*!@:host .time-header*/.sc-ion-datetime-ios-h .time-header.sc-ion-datetime-ios{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}/*!@:host .time-body*/.sc-ion-datetime-ios-h .time-body.sc-ion-datetime-ios{border-radius:8px;-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px;padding-top:6px;padding-bottom:6px;display:-ms-flexbox;display:flex;border:none;background:var(--ion-color-step-300, #edeef0);color:var(--ion-text-color, #000);font-family:inherit;font-size:inherit;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none}/*!@:host .time-body-active*/.sc-ion-datetime-ios-h .time-body-active.sc-ion-datetime-ios{color:var(--ion-color-base)}/*!@:host(.in-item)*/.in-item.sc-ion-datetime-ios-h{position:static}/*!@:host(.show-month-and-year) .calendar-action-buttons ion-item*/.show-month-and-year.sc-ion-datetime-ios-h .calendar-action-buttons.sc-ion-datetime-ios ion-item.sc-ion-datetime-ios{--color:var(--ion-color-base)}/*!@:host*/.sc-ion-datetime-ios-h{--background:var(--ion-color-light, #ffffff);--background-rgb:var(--ion-color-light-rgb);--title-color:var(--ion-color-step-600, #666666)}/*!@:host(.datetime-presentation-date-time:not(.datetime-prefer-wheel)),\n:host(.datetime-presentation-time-date:not(.datetime-prefer-wheel)),\n:host(.datetime-presentation-date:not(.datetime-prefer-wheel))*/.datetime-presentation-date-time.sc-ion-datetime-ios-h:not(.datetime-prefer-wheel),.datetime-presentation-time-date.sc-ion-datetime-ios-h:not(.datetime-prefer-wheel),.datetime-presentation-date.sc-ion-datetime-ios-h:not(.datetime-prefer-wheel){min-height:350px}/*!@:host .datetime-header*/.sc-ion-datetime-ios-h .datetime-header.sc-ion-datetime-ios{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:16px;padding-bottom:16px;border-bottom:0.55px solid var(--ion-color-step-200, #cccccc);font-size:min(0.875rem, 22.4px)}/*!@:host .datetime-header .datetime-title*/.sc-ion-datetime-ios-h .datetime-header.sc-ion-datetime-ios .datetime-title.sc-ion-datetime-ios{color:var(--title-color)}/*!@:host .datetime-header .datetime-selected-date*/.sc-ion-datetime-ios-h .datetime-header.sc-ion-datetime-ios .datetime-selected-date.sc-ion-datetime-ios{margin-top:10px}/*!@:host .calendar-action-buttons ion-item*/.sc-ion-datetime-ios-h .calendar-action-buttons.sc-ion-datetime-ios ion-item.sc-ion-datetime-ios{--padding-start:16px;--background-hover:transparent;--background-activated:transparent;font-size:min(1rem, 25.6px);font-weight:600}/*!@:host .calendar-action-buttons ion-item ion-icon,\n:host .calendar-action-buttons ion-buttons ion-button*/.sc-ion-datetime-ios-h .calendar-action-buttons.sc-ion-datetime-ios ion-item.sc-ion-datetime-ios ion-icon.sc-ion-datetime-ios,.sc-ion-datetime-ios-h .calendar-action-buttons.sc-ion-datetime-ios ion-buttons.sc-ion-datetime-ios ion-button.sc-ion-datetime-ios{color:var(--ion-color-base)}/*!@:host .calendar-action-buttons ion-buttons*/.sc-ion-datetime-ios-h .calendar-action-buttons.sc-ion-datetime-ios ion-buttons.sc-ion-datetime-ios{padding-left:0;padding-right:0;padding-top:8px;padding-bottom:0}/*!@:host .calendar-action-buttons ion-buttons ion-button*/.sc-ion-datetime-ios-h .calendar-action-buttons.sc-ion-datetime-ios ion-buttons.sc-ion-datetime-ios ion-button.sc-ion-datetime-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}/*!@:host .calendar-days-of-week*/.sc-ion-datetime-ios-h .calendar-days-of-week.sc-ion-datetime-ios{-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px;padding-top:0;padding-bottom:0;color:var(--ion-color-step-300, #b3b3b3);font-size:min(0.75rem, 19.2px);font-weight:600;line-height:24px;text-transform:uppercase}@supports (border-radius: mod(1px, 1px)){/*!@.calendar-days-of-week .day-of-week*/.calendar-days-of-week.sc-ion-datetime-ios .day-of-week.sc-ion-datetime-ios{width:clamp(20px, calc(mod(min(1rem, 24px), 24px) * 10), 100%);height:24px;overflow:hidden}/*!@.calendar-day*/.calendar-day.sc-ion-datetime-ios{border-radius:max(8px, mod(min(1rem, 24px), 24px) * 10)}}@supports ((border-radius: mod(1px, 1px)) and (background: -webkit-named-image(apple-pay-logo-black)) and (not (contain-intrinsic-size: none))) or (not (border-radius: mod(1px, 1px))){/*!@.calendar-days-of-week .day-of-week*/.calendar-days-of-week.sc-ion-datetime-ios .day-of-week.sc-ion-datetime-ios{width:auto;height:auto;overflow:initial}/*!@.calendar-day*/.calendar-day.sc-ion-datetime-ios{border-radius:32px}}/*!@:host .calendar-body .calendar-month .calendar-month-grid*/.sc-ion-datetime-ios-h .calendar-body.sc-ion-datetime-ios .calendar-month.sc-ion-datetime-ios .calendar-month-grid.sc-ion-datetime-ios{-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px;padding-top:8px;padding-bottom:8px;-ms-flex-align:center;align-items:center;height:calc(100% - 16px)}/*!@:host .calendar-day-wrapper*/.sc-ion-datetime-ios-h .calendar-day-wrapper.sc-ion-datetime-ios{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:4px;padding-inline-end:4px;padding-top:4px;padding-bottom:4px;height:0;min-height:1rem}/*!@:host .calendar-day*/.sc-ion-datetime-ios-h .calendar-day.sc-ion-datetime-ios{width:40px;min-width:40px;height:40px;font-size:min(1.25rem, 32px)}/*!@.calendar-day.calendar-day-active*/.calendar-day.calendar-day-active.sc-ion-datetime-ios{background:rgba(var(--ion-color-base-rgb), 0.2)}/*!@:host .calendar-day.calendar-day-today*/.sc-ion-datetime-ios-h .calendar-day.calendar-day-today.sc-ion-datetime-ios{color:var(--ion-color-base)}/*!@:host .calendar-day.calendar-day-active*/.sc-ion-datetime-ios-h .calendar-day.calendar-day-active.sc-ion-datetime-ios{color:var(--ion-color-base);font-weight:600}/*!@:host .calendar-day.calendar-day-today.calendar-day-active*/.sc-ion-datetime-ios-h .calendar-day.calendar-day-today.calendar-day-active.sc-ion-datetime-ios{color:var(--ion-color-contrast)}/*!@:host .datetime-time*/.sc-ion-datetime-ios-h .datetime-time.sc-ion-datetime-ios{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:8px;padding-bottom:16px;font-size:min(1rem, 25.6px)}/*!@:host .datetime-time .time-header*/.sc-ion-datetime-ios-h .datetime-time.sc-ion-datetime-ios .time-header.sc-ion-datetime-ios{font-weight:600}/*!@:host .datetime-buttons*/.sc-ion-datetime-ios-h .datetime-buttons.sc-ion-datetime-ios{-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px;padding-top:8px;padding-bottom:8px;border-top:0.55px solid var(--ion-color-step-200, #cccccc)}/*!@:host .datetime-buttons ::slotted(ion-buttons),\n:host .datetime-buttons ion-buttons*/.sc-ion-datetime-ios-h .datetime-buttons .sc-ion-datetime-ios-s>ion-buttons,.sc-ion-datetime-ios-h .datetime-buttons.sc-ion-datetime-ios ion-buttons.sc-ion-datetime-ios{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between}/*!@:host .datetime-action-buttons*/.sc-ion-datetime-ios-h .datetime-action-buttons.sc-ion-datetime-ios{width:100%}";
14869
14877
 
14870
- const datetimeMdCss = "/*!@:host*/.sc-ion-datetime-md-h{display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;background:var(--background);overflow:hidden}/*!@:host(.datetime-size-fixed)*/.datetime-size-fixed.sc-ion-datetime-md-h{width:auto;height:auto}/*!@:host(.datetime-size-fixed:not(.datetime-prefer-wheel))*/.datetime-size-fixed.sc-ion-datetime-md-h:not(.datetime-prefer-wheel){max-width:350px}/*!@:host(.datetime-size-fixed.datetime-prefer-wheel)*/.datetime-size-fixed.datetime-prefer-wheel.sc-ion-datetime-md-h{min-width:350px;max-width:-webkit-max-content;max-width:-moz-max-content;max-width:max-content}/*!@:host(.datetime-size-cover)*/.datetime-size-cover.sc-ion-datetime-md-h{width:100%}/*!@:host .calendar-body,\n:host .datetime-year*/.sc-ion-datetime-md-h .calendar-body.sc-ion-datetime-md,.sc-ion-datetime-md-h .datetime-year.sc-ion-datetime-md{opacity:0}/*!@:host(:not(.datetime-ready)) .datetime-year*/.sc-ion-datetime-md-h:not(.datetime-ready) .datetime-year.sc-ion-datetime-md{position:absolute;pointer-events:none}/*!@:host(.datetime-ready) .calendar-body*/.datetime-ready.sc-ion-datetime-md-h .calendar-body.sc-ion-datetime-md{opacity:1}/*!@:host(.datetime-ready) .datetime-year*/.datetime-ready.sc-ion-datetime-md-h .datetime-year.sc-ion-datetime-md{display:none;opacity:1}/*!@:host .wheel-order-year-first .day-column*/.sc-ion-datetime-md-h .wheel-order-year-first.sc-ion-datetime-md .day-column.sc-ion-datetime-md{-ms-flex-order:3;order:3;text-align:end}/*!@:host .wheel-order-year-first .month-column*/.sc-ion-datetime-md-h .wheel-order-year-first.sc-ion-datetime-md .month-column.sc-ion-datetime-md{-ms-flex-order:2;order:2;text-align:end}/*!@:host .wheel-order-year-first .year-column*/.sc-ion-datetime-md-h .wheel-order-year-first.sc-ion-datetime-md .year-column.sc-ion-datetime-md{-ms-flex-order:1;order:1;text-align:start}/*!@:host .datetime-calendar,\n:host .datetime-year*/.sc-ion-datetime-md-h .datetime-calendar.sc-ion-datetime-md,.sc-ion-datetime-md-h .datetime-year.sc-ion-datetime-md{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-flow:column;flex-flow:column}/*!@:host(.show-month-and-year) .datetime-year*/.show-month-and-year.sc-ion-datetime-md-h .datetime-year.sc-ion-datetime-md{display:-ms-flexbox;display:flex}@supports (background: -webkit-named-image(apple-pay-logo-black)) and (not (aspect-ratio: 1/1)){/*!@:host(.show-month-and-year) .calendar-next-prev,\n :host(.show-month-and-year) .calendar-days-of-week,\n :host(.show-month-and-year) .calendar-body,\n :host(.show-month-and-year) .datetime-time*/.show-month-and-year.sc-ion-datetime-md-h .calendar-next-prev.sc-ion-datetime-md,.show-month-and-year.sc-ion-datetime-md-h .calendar-days-of-week.sc-ion-datetime-md,.show-month-and-year.sc-ion-datetime-md-h .calendar-body.sc-ion-datetime-md,.show-month-and-year.sc-ion-datetime-md-h .datetime-time.sc-ion-datetime-md{position:absolute;visibility:hidden;pointer-events:none}/*!@@supports (inset-inline-start: 0)*/@supports .sc-ion-datetime-md (inset-inline-start.sc-ion-datetime-md: 0).sc-ion-datetime-md{.sc-ion-datetime-md-h.show-month-and-year .calendar-next-prev,.sc-ion-datetime-md-h.show-month-and-year .calendar-days-of-week,.sc-ion-datetime-md-h.show-month-and-year .calendar-body,.sc-ion-datetime-md-h.show-month-and-year .datetime-time{inset-inline-start:-99999px}}/*!@@supports not (inset-inline-start: 0)*/@supports .sc-ion-datetime-md not.sc-ion-datetime-md (inset-inline-start.sc-ion-datetime-md: 0).sc-ion-datetime-md{.sc-ion-datetime-md-h.show-month-and-year .calendar-next-prev,.sc-ion-datetime-md-h.show-month-and-year .calendar-days-of-week,.sc-ion-datetime-md-h.show-month-and-year .calendar-body,.sc-ion-datetime-md-h.show-month-and-year .datetime-time{left:-99999px}.sc-ion-datetime-md-h[dir=rtl].sc-ion-datetime-md-h.show-month-and-year .calendar-next-prev,[dir=rtl] .sc-ion-datetime-md-h.sc-ion-datetime-md-h.show-month-and-year .calendar-next-prev,.sc-ion-datetime-md-h[dir=rtl].show-month-and-year .calendar-next-prev,[dir=rtl] .sc-ion-datetime-md-h.show-month-and-year .calendar-next-prev,.sc-ion-datetime-md-h[dir=rtl].sc-ion-datetime-md-h.show-month-and-year .calendar-days-of-week,[dir=rtl] .sc-ion-datetime-md-h.sc-ion-datetime-md-h.show-month-and-year .calendar-days-of-week,.sc-ion-datetime-md-h[dir=rtl].show-month-and-year .calendar-days-of-week,[dir=rtl] .sc-ion-datetime-md-h.show-month-and-year .calendar-days-of-week,.sc-ion-datetime-md-h[dir=rtl].sc-ion-datetime-md-h.show-month-and-year .calendar-body,[dir=rtl] .sc-ion-datetime-md-h.sc-ion-datetime-md-h.show-month-and-year .calendar-body,.sc-ion-datetime-md-h[dir=rtl].show-month-and-year .calendar-body,[dir=rtl] .sc-ion-datetime-md-h.show-month-and-year .calendar-body,.sc-ion-datetime-md-h[dir=rtl].sc-ion-datetime-md-h.show-month-and-year .datetime-time,[dir=rtl] .sc-ion-datetime-md-h.sc-ion-datetime-md-h.show-month-and-year .datetime-time,.sc-ion-datetime-md-h[dir=rtl].show-month-and-year .datetime-time,[dir=rtl] .sc-ion-datetime-md-h.show-month-and-year .datetime-time{left:unset;right:unset;right:-99999px}@supports selector(:dir(rtl)){.sc-ion-datetime-md-h.show-month-and-year:dir(rtl) .calendar-next-prev,.sc-ion-datetime-md-h.show-month-and-year:dir(rtl) .calendar-days-of-week,.sc-ion-datetime-md-h.show-month-and-year:dir(rtl) .calendar-body,.sc-ion-datetime-md-h.show-month-and-year:dir(rtl) .datetime-time{left:unset;right:unset;right:-99999px}}}}@supports (not (background: -webkit-named-image(apple-pay-logo-black))) or ((background: -webkit-named-image(apple-pay-logo-black)) and (aspect-ratio: 1/1)){/*!@:host(.show-month-and-year) .calendar-next-prev,\n :host(.show-month-and-year) .calendar-days-of-week,\n :host(.show-month-and-year) .calendar-body,\n :host(.show-month-and-year) .datetime-time*/.show-month-and-year.sc-ion-datetime-md-h .calendar-next-prev.sc-ion-datetime-md,.show-month-and-year.sc-ion-datetime-md-h .calendar-days-of-week.sc-ion-datetime-md,.show-month-and-year.sc-ion-datetime-md-h .calendar-body.sc-ion-datetime-md,.show-month-and-year.sc-ion-datetime-md-h .datetime-time.sc-ion-datetime-md{display:none}}/*!@:host(.month-year-picker-open) .datetime-footer*/.month-year-picker-open.sc-ion-datetime-md-h .datetime-footer.sc-ion-datetime-md{display:none}/*!@:host(.datetime-disabled)*/.datetime-disabled.sc-ion-datetime-md-h{pointer-events:none}/*!@:host(.datetime-disabled) .calendar-days-of-week,\n:host(.datetime-disabled) .datetime-time*/.datetime-disabled.sc-ion-datetime-md-h .calendar-days-of-week.sc-ion-datetime-md,.datetime-disabled.sc-ion-datetime-md-h .datetime-time.sc-ion-datetime-md{opacity:0.4}/*!@:host(.datetime-readonly)*/.datetime-readonly.sc-ion-datetime-md-h{pointer-events:none}/*!@:host(.datetime-readonly) .calendar-action-buttons,\n:host(.datetime-readonly) .calendar-body,\n:host(.datetime-readonly) .datetime-year*/.datetime-readonly.sc-ion-datetime-md-h .calendar-action-buttons.sc-ion-datetime-md,.datetime-readonly.sc-ion-datetime-md-h .calendar-body.sc-ion-datetime-md,.datetime-readonly.sc-ion-datetime-md-h .datetime-year.sc-ion-datetime-md{pointer-events:initial}/*!@:host(.datetime-readonly) .calendar-day[disabled]:not(.calendar-day-constrained),\n:host(.datetime-readonly) .datetime-action-buttons ion-button[disabled]*/.datetime-readonly.sc-ion-datetime-md-h .calendar-day[disabled].sc-ion-datetime-md:not(.calendar-day-constrained),.datetime-readonly.sc-ion-datetime-md-h .datetime-action-buttons.sc-ion-datetime-md ion-button[disabled].sc-ion-datetime-md{opacity:1}/*!@:host .datetime-header .datetime-title*/.sc-ion-datetime-md-h .datetime-header.sc-ion-datetime-md .datetime-title.sc-ion-datetime-md{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}/*!@:host .datetime-action-buttons.has-clear-button*/.sc-ion-datetime-md-h .datetime-action-buttons.has-clear-button.sc-ion-datetime-md{width:100%}/*!@:host .datetime-action-buttons ion-buttons*/.sc-ion-datetime-md-h .datetime-action-buttons.sc-ion-datetime-md ion-buttons.sc-ion-datetime-md{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}/*!@.datetime-action-buttons .datetime-action-buttons-container*/.datetime-action-buttons.sc-ion-datetime-md .datetime-action-buttons-container.sc-ion-datetime-md{display:-ms-flexbox;display:flex}/*!@:host .calendar-action-buttons*/.sc-ion-datetime-md-h .calendar-action-buttons.sc-ion-datetime-md{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}/*!@:host .calendar-action-buttons ion-button*/.sc-ion-datetime-md-h .calendar-action-buttons.sc-ion-datetime-md ion-button.sc-ion-datetime-md{--background:transparent}/*!@:host .calendar-days-of-week*/.sc-ion-datetime-md-h .calendar-days-of-week.sc-ion-datetime-md{display:grid;grid-template-columns:repeat(7, 1fr);text-align:center}/*!@.calendar-days-of-week .day-of-week*/.calendar-days-of-week.sc-ion-datetime-md .day-of-week.sc-ion-datetime-md{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:0;margin-bottom:0}/*!@:host .calendar-body*/.sc-ion-datetime-md-h .calendar-body.sc-ion-datetime-md{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-webkit-scroll-snap-type:x mandatory;-ms-scroll-snap-type:x mandatory;scroll-snap-type:x mandatory;overflow-x:scroll;overflow-y:hidden;scrollbar-width:none;outline:none}/*!@:host .calendar-body .calendar-month*/.sc-ion-datetime-md-h .calendar-body.sc-ion-datetime-md .calendar-month.sc-ion-datetime-md{display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;scroll-snap-align:start;scroll-snap-stop:always;-ms-flex-negative:0;flex-shrink:0;width:100%}/*!@:host .calendar-body .calendar-month-disabled*/.sc-ion-datetime-md-h .calendar-body.sc-ion-datetime-md .calendar-month-disabled.sc-ion-datetime-md{scroll-snap-align:none}/*!@:host .calendar-body::-webkit-scrollbar*/.sc-ion-datetime-md-h .calendar-body.sc-ion-datetime-md::-webkit-scrollbar{display:none}/*!@:host .calendar-body .calendar-month-grid*/.sc-ion-datetime-md-h .calendar-body.sc-ion-datetime-md .calendar-month-grid.sc-ion-datetime-md{display:grid;grid-template-columns:repeat(7, 1fr)}/*!@:host .calendar-day-wrapper*/.sc-ion-datetime-md-h .calendar-day-wrapper.sc-ion-datetime-md{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;min-width:0;min-height:0;overflow:visible}/*!@.calendar-day*/.calendar-day.sc-ion-datetime-md{border-radius:50%;-webkit-padding-start:0px;padding-inline-start:0px;-webkit-padding-end:0px;padding-inline-end:0px;padding-top:0px;padding-bottom:0px;-webkit-margin-start:0px;margin-inline-start:0px;-webkit-margin-end:0px;margin-inline-end:0px;margin-top:0px;margin-bottom:0px;display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;border:none;outline:none;background:none;color:currentColor;font-family:var(--ion-font-family, inherit);cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;z-index:0}/*!@:host .calendar-day[disabled]*/.sc-ion-datetime-md-h .calendar-day[disabled].sc-ion-datetime-md{pointer-events:none;opacity:0.4}/*!@.calendar-day:focus*/.calendar-day.sc-ion-datetime-md:focus{background:rgba(var(--ion-color-base-rgb), 0.2);-webkit-box-shadow:0px 0px 0px 4px rgba(var(--ion-color-base-rgb), 0.2);box-shadow:0px 0px 0px 4px rgba(var(--ion-color-base-rgb), 0.2)}/*!@:host .datetime-time*/.sc-ion-datetime-md-h .datetime-time.sc-ion-datetime-md{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}/*!@:host(.datetime-presentation-time) .datetime-time*/.datetime-presentation-time.sc-ion-datetime-md-h .datetime-time.sc-ion-datetime-md{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0}/*!@:host ion-popover*/.sc-ion-datetime-md-h ion-popover.sc-ion-datetime-md{--height:200px}/*!@:host .time-header*/.sc-ion-datetime-md-h .time-header.sc-ion-datetime-md{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}/*!@:host .time-body*/.sc-ion-datetime-md-h .time-body.sc-ion-datetime-md{border-radius:8px;-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px;padding-top:6px;padding-bottom:6px;display:-ms-flexbox;display:flex;border:none;background:var(--ion-color-step-300, #edeef0);color:var(--ion-text-color, #000);font-family:inherit;font-size:inherit;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none}/*!@:host .time-body-active*/.sc-ion-datetime-md-h .time-body-active.sc-ion-datetime-md{color:var(--ion-color-base)}/*!@:host(.in-item)*/.in-item.sc-ion-datetime-md-h{position:static}/*!@:host(.show-month-and-year) .calendar-action-buttons .calendar-month-year-toggle*/.show-month-and-year.sc-ion-datetime-md-h .calendar-action-buttons.sc-ion-datetime-md .calendar-month-year-toggle.sc-ion-datetime-md{color:var(--ion-color-base)}/*!@.calendar-month-year*/.calendar-month-year.sc-ion-datetime-md{min-width:0}/*!@.calendar-month-year-toggle*/.calendar-month-year-toggle.sc-ion-datetime-md{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;position:relative;border:0;outline:none;background:transparent;cursor:pointer;z-index:1}/*!@.calendar-month-year-toggle::after*/.calendar-month-year-toggle.sc-ion-datetime-md::after{left:0;right:0;top:0;bottom:0;position:absolute;content:\"\";opacity:0;-webkit-transition:opacity 15ms linear, background-color 15ms linear;transition:opacity 15ms linear, background-color 15ms linear;z-index:-1}/*!@.calendar-month-year-toggle.ion-focused::after*/.calendar-month-year-toggle.ion-focused.sc-ion-datetime-md::after{background:currentColor}/*!@.calendar-month-year-toggle:disabled*/.calendar-month-year-toggle.sc-ion-datetime-md:disabled{opacity:0.3;pointer-events:none}/*!@.calendar-month-year-toggle ion-icon*/.calendar-month-year-toggle.sc-ion-datetime-md ion-icon.sc-ion-datetime-md{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:0;padding-inline-end:0;padding-top:0;padding-bottom:0;-ms-flex-negative:0;flex-shrink:0}/*!@.calendar-month-year-toggle #toggle-wrapper*/.calendar-month-year-toggle.sc-ion-datetime-md #toggle-wrapper.sc-ion-datetime-md{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center}/*!@ion-picker*/ion-picker.sc-ion-datetime-md{--highlight-background:var(--wheel-highlight-background);--highlight-border-radius:var(--wheel-highlight-border-radius);--fade-background-rgb:var(--wheel-fade-background-rgb)}/*!@:host*/.sc-ion-datetime-md-h{--background:var(--ion-color-step-100, #ffffff);--title-color:var(--ion-color-contrast)}/*!@:host .datetime-header*/.sc-ion-datetime-md-h .datetime-header.sc-ion-datetime-md{-webkit-padding-start:20px;padding-inline-start:20px;-webkit-padding-end:20px;padding-inline-end:20px;padding-top:20px;padding-bottom:20px;background:var(--ion-color-base);color:var(--title-color)}/*!@:host .datetime-header .datetime-title*/.sc-ion-datetime-md-h .datetime-header.sc-ion-datetime-md .datetime-title.sc-ion-datetime-md{font-size:0.75rem;text-transform:uppercase}/*!@:host .datetime-header .datetime-selected-date*/.sc-ion-datetime-md-h .datetime-header.sc-ion-datetime-md .datetime-selected-date.sc-ion-datetime-md{margin-top:30px;font-size:2.125rem}/*!@:host .calendar-action-buttons ion-button*/.sc-ion-datetime-md-h .calendar-action-buttons.sc-ion-datetime-md ion-button.sc-ion-datetime-md{--color:var(--ion-color-step-650, #595959)}/*!@.calendar-month-year-toggle*/.calendar-month-year-toggle.sc-ion-datetime-md{-webkit-padding-start:20px;padding-inline-start:20px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:12px;padding-bottom:12px;min-height:48px;background:transparent;color:var(--ion-color-step-650, #595959);z-index:1}/*!@.calendar-month-year-toggle.ion-focused::after*/.calendar-month-year-toggle.ion-focused.sc-ion-datetime-md::after{opacity:0.04}/*!@.calendar-month-year-toggle ion-ripple-effect*/.calendar-month-year-toggle.sc-ion-datetime-md ion-ripple-effect.sc-ion-datetime-md{color:currentColor}@media (any-hover: hover){/*!@.calendar-month-year-toggle.ion-activatable:not(.ion-focused):hover::after*/.calendar-month-year-toggle.ion-activatable.sc-ion-datetime-md:not(.ion-focused):hover::after{background:currentColor;opacity:0.04}}/*!@:host .calendar-days-of-week*/.sc-ion-datetime-md-h .calendar-days-of-week.sc-ion-datetime-md{-webkit-padding-start:10px;padding-inline-start:10px;-webkit-padding-end:10px;padding-inline-end:10px;padding-top:0px;padding-bottom:0px;color:var(--ion-color-step-500, gray);font-size:0.875rem;line-height:36px}/*!@:host .calendar-body .calendar-month .calendar-month-grid*/.sc-ion-datetime-md-h .calendar-body.sc-ion-datetime-md .calendar-month.sc-ion-datetime-md .calendar-month-grid.sc-ion-datetime-md{-webkit-padding-start:10px;padding-inline-start:10px;-webkit-padding-end:10px;padding-inline-end:10px;padding-top:4px;padding-bottom:4px;grid-template-rows:repeat(6, 1fr)}/*!@:host .calendar-day*/.sc-ion-datetime-md-h .calendar-day.sc-ion-datetime-md{width:42px;min-width:42px;height:42px;font-size:0.875rem}/*!@:host .calendar-day.calendar-day-today*/.sc-ion-datetime-md-h .calendar-day.calendar-day-today.sc-ion-datetime-md{border:1px solid var(--ion-color-base);color:var(--ion-color-base)}/*!@:host .calendar-day.calendar-day-active*/.sc-ion-datetime-md-h .calendar-day.calendar-day-active.sc-ion-datetime-md{color:var(--ion-color-contrast)}/*!@.calendar-day.calendar-day-active*/.calendar-day.calendar-day-active.sc-ion-datetime-md{border:1px solid var(--ion-color-base);background:var(--ion-color-base)}/*!@:host .datetime-time*/.sc-ion-datetime-md-h .datetime-time.sc-ion-datetime-md{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:8px;padding-bottom:8px}/*!@:host .time-header*/.sc-ion-datetime-md-h .time-header.sc-ion-datetime-md{color:var(--ion-color-step-650, #595959)}/*!@:host(.datetime-presentation-month) .datetime-year,\n:host(.datetime-presentation-year) .datetime-year,\n:host(.datetime-presentation-month-year) .datetime-year*/.datetime-presentation-month.sc-ion-datetime-md-h .datetime-year.sc-ion-datetime-md,.datetime-presentation-year.sc-ion-datetime-md-h .datetime-year.sc-ion-datetime-md,.datetime-presentation-month-year.sc-ion-datetime-md-h .datetime-year.sc-ion-datetime-md{margin-top:20px;margin-bottom:20px}/*!@:host .datetime-buttons*/.sc-ion-datetime-md-h .datetime-buttons.sc-ion-datetime-md{-webkit-padding-start:10px;padding-inline-start:10px;-webkit-padding-end:10px;padding-inline-end:10px;padding-top:10px;padding-bottom:10px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:end;justify-content:flex-end}";
14878
+ const datetimeMdCss = "/*!@:host*/.sc-ion-datetime-md-h{display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;background:var(--background);overflow:hidden}/*!@ion-picker-column-internal*/ion-picker-column-internal.sc-ion-datetime-md{min-width:26px}/*!@:host(.datetime-size-fixed)*/.datetime-size-fixed.sc-ion-datetime-md-h{width:auto;height:auto}/*!@:host(.datetime-size-fixed:not(.datetime-prefer-wheel))*/.datetime-size-fixed.sc-ion-datetime-md-h:not(.datetime-prefer-wheel){max-width:350px}/*!@:host(.datetime-size-fixed.datetime-prefer-wheel)*/.datetime-size-fixed.datetime-prefer-wheel.sc-ion-datetime-md-h{min-width:350px;max-width:-webkit-max-content;max-width:-moz-max-content;max-width:max-content}/*!@:host(.datetime-size-cover)*/.datetime-size-cover.sc-ion-datetime-md-h{width:100%}/*!@:host .calendar-body,\n:host .datetime-year*/.sc-ion-datetime-md-h .calendar-body.sc-ion-datetime-md,.sc-ion-datetime-md-h .datetime-year.sc-ion-datetime-md{opacity:0}/*!@:host(:not(.datetime-ready)) .datetime-year*/.sc-ion-datetime-md-h:not(.datetime-ready) .datetime-year.sc-ion-datetime-md{position:absolute;pointer-events:none}/*!@:host(.datetime-ready) .calendar-body*/.datetime-ready.sc-ion-datetime-md-h .calendar-body.sc-ion-datetime-md{opacity:1}/*!@:host(.datetime-ready) .datetime-year*/.datetime-ready.sc-ion-datetime-md-h .datetime-year.sc-ion-datetime-md{display:none;opacity:1}/*!@:host .wheel-order-year-first .day-column*/.sc-ion-datetime-md-h .wheel-order-year-first.sc-ion-datetime-md .day-column.sc-ion-datetime-md{-ms-flex-order:3;order:3;text-align:end}/*!@:host .wheel-order-year-first .month-column*/.sc-ion-datetime-md-h .wheel-order-year-first.sc-ion-datetime-md .month-column.sc-ion-datetime-md{-ms-flex-order:2;order:2;text-align:end}/*!@:host .wheel-order-year-first .year-column*/.sc-ion-datetime-md-h .wheel-order-year-first.sc-ion-datetime-md .year-column.sc-ion-datetime-md{-ms-flex-order:1;order:1;text-align:start}/*!@:host .datetime-calendar,\n:host .datetime-year*/.sc-ion-datetime-md-h .datetime-calendar.sc-ion-datetime-md,.sc-ion-datetime-md-h .datetime-year.sc-ion-datetime-md{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-flow:column;flex-flow:column}/*!@:host(.show-month-and-year) .datetime-year*/.show-month-and-year.sc-ion-datetime-md-h .datetime-year.sc-ion-datetime-md{display:-ms-flexbox;display:flex}@supports (background: -webkit-named-image(apple-pay-logo-black)) and (not (aspect-ratio: 1/1)){/*!@:host(.show-month-and-year) .calendar-next-prev,\n :host(.show-month-and-year) .calendar-days-of-week,\n :host(.show-month-and-year) .calendar-body,\n :host(.show-month-and-year) .datetime-time*/.show-month-and-year.sc-ion-datetime-md-h .calendar-next-prev.sc-ion-datetime-md,.show-month-and-year.sc-ion-datetime-md-h .calendar-days-of-week.sc-ion-datetime-md,.show-month-and-year.sc-ion-datetime-md-h .calendar-body.sc-ion-datetime-md,.show-month-and-year.sc-ion-datetime-md-h .datetime-time.sc-ion-datetime-md{position:absolute;visibility:hidden;pointer-events:none}/*!@@supports (inset-inline-start: 0)*/@supports .sc-ion-datetime-md (inset-inline-start.sc-ion-datetime-md: 0).sc-ion-datetime-md{.sc-ion-datetime-md-h.show-month-and-year .calendar-next-prev,.sc-ion-datetime-md-h.show-month-and-year .calendar-days-of-week,.sc-ion-datetime-md-h.show-month-and-year .calendar-body,.sc-ion-datetime-md-h.show-month-and-year .datetime-time{inset-inline-start:-99999px}}/*!@@supports not (inset-inline-start: 0)*/@supports .sc-ion-datetime-md not.sc-ion-datetime-md (inset-inline-start.sc-ion-datetime-md: 0).sc-ion-datetime-md{.sc-ion-datetime-md-h.show-month-and-year .calendar-next-prev,.sc-ion-datetime-md-h.show-month-and-year .calendar-days-of-week,.sc-ion-datetime-md-h.show-month-and-year .calendar-body,.sc-ion-datetime-md-h.show-month-and-year .datetime-time{left:-99999px}.sc-ion-datetime-md-h[dir=rtl].sc-ion-datetime-md-h.show-month-and-year .calendar-next-prev,[dir=rtl] .sc-ion-datetime-md-h.sc-ion-datetime-md-h.show-month-and-year .calendar-next-prev,.sc-ion-datetime-md-h[dir=rtl].show-month-and-year .calendar-next-prev,[dir=rtl] .sc-ion-datetime-md-h.show-month-and-year .calendar-next-prev,.sc-ion-datetime-md-h[dir=rtl].sc-ion-datetime-md-h.show-month-and-year .calendar-days-of-week,[dir=rtl] .sc-ion-datetime-md-h.sc-ion-datetime-md-h.show-month-and-year .calendar-days-of-week,.sc-ion-datetime-md-h[dir=rtl].show-month-and-year .calendar-days-of-week,[dir=rtl] .sc-ion-datetime-md-h.show-month-and-year .calendar-days-of-week,.sc-ion-datetime-md-h[dir=rtl].sc-ion-datetime-md-h.show-month-and-year .calendar-body,[dir=rtl] .sc-ion-datetime-md-h.sc-ion-datetime-md-h.show-month-and-year .calendar-body,.sc-ion-datetime-md-h[dir=rtl].show-month-and-year .calendar-body,[dir=rtl] .sc-ion-datetime-md-h.show-month-and-year .calendar-body,.sc-ion-datetime-md-h[dir=rtl].sc-ion-datetime-md-h.show-month-and-year .datetime-time,[dir=rtl] .sc-ion-datetime-md-h.sc-ion-datetime-md-h.show-month-and-year .datetime-time,.sc-ion-datetime-md-h[dir=rtl].show-month-and-year .datetime-time,[dir=rtl] .sc-ion-datetime-md-h.show-month-and-year .datetime-time{left:unset;right:unset;right:-99999px}@supports selector(:dir(rtl)){.sc-ion-datetime-md-h.show-month-and-year:dir(rtl) .calendar-next-prev,.sc-ion-datetime-md-h.show-month-and-year:dir(rtl) .calendar-days-of-week,.sc-ion-datetime-md-h.show-month-and-year:dir(rtl) .calendar-body,.sc-ion-datetime-md-h.show-month-and-year:dir(rtl) .datetime-time{left:unset;right:unset;right:-99999px}}}}@supports (not (background: -webkit-named-image(apple-pay-logo-black))) or ((background: -webkit-named-image(apple-pay-logo-black)) and (aspect-ratio: 1/1)){/*!@:host(.show-month-and-year) .calendar-next-prev,\n :host(.show-month-and-year) .calendar-days-of-week,\n :host(.show-month-and-year) .calendar-body,\n :host(.show-month-and-year) .datetime-time*/.show-month-and-year.sc-ion-datetime-md-h .calendar-next-prev.sc-ion-datetime-md,.show-month-and-year.sc-ion-datetime-md-h .calendar-days-of-week.sc-ion-datetime-md,.show-month-and-year.sc-ion-datetime-md-h .calendar-body.sc-ion-datetime-md,.show-month-and-year.sc-ion-datetime-md-h .datetime-time.sc-ion-datetime-md{display:none}}/*!@:host(.month-year-picker-open) .datetime-footer*/.month-year-picker-open.sc-ion-datetime-md-h .datetime-footer.sc-ion-datetime-md{display:none}/*!@:host(.datetime-disabled)*/.datetime-disabled.sc-ion-datetime-md-h{pointer-events:none}/*!@:host(.datetime-disabled) .calendar-days-of-week,\n:host(.datetime-disabled) .datetime-time*/.datetime-disabled.sc-ion-datetime-md-h .calendar-days-of-week.sc-ion-datetime-md,.datetime-disabled.sc-ion-datetime-md-h .datetime-time.sc-ion-datetime-md{opacity:0.4}/*!@:host(.datetime-readonly)*/.datetime-readonly.sc-ion-datetime-md-h{pointer-events:none}/*!@:host(.datetime-readonly) .calendar-action-buttons,\n:host(.datetime-readonly) .calendar-body,\n:host(.datetime-readonly) .datetime-year*/.datetime-readonly.sc-ion-datetime-md-h .calendar-action-buttons.sc-ion-datetime-md,.datetime-readonly.sc-ion-datetime-md-h .calendar-body.sc-ion-datetime-md,.datetime-readonly.sc-ion-datetime-md-h .datetime-year.sc-ion-datetime-md{pointer-events:initial}/*!@:host(.datetime-readonly) .calendar-day[disabled]:not(.calendar-day-constrained),\n:host(.datetime-readonly) .datetime-action-buttons ion-button[disabled]*/.datetime-readonly.sc-ion-datetime-md-h .calendar-day[disabled].sc-ion-datetime-md:not(.calendar-day-constrained),.datetime-readonly.sc-ion-datetime-md-h .datetime-action-buttons.sc-ion-datetime-md ion-button[disabled].sc-ion-datetime-md{opacity:1}/*!@:host .datetime-header .datetime-title*/.sc-ion-datetime-md-h .datetime-header.sc-ion-datetime-md .datetime-title.sc-ion-datetime-md{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}/*!@:host .datetime-action-buttons.has-clear-button*/.sc-ion-datetime-md-h .datetime-action-buttons.has-clear-button.sc-ion-datetime-md{width:100%}/*!@:host .datetime-action-buttons ion-buttons*/.sc-ion-datetime-md-h .datetime-action-buttons.sc-ion-datetime-md ion-buttons.sc-ion-datetime-md{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}/*!@.datetime-action-buttons .datetime-action-buttons-container*/.datetime-action-buttons.sc-ion-datetime-md .datetime-action-buttons-container.sc-ion-datetime-md{display:-ms-flexbox;display:flex}/*!@:host .calendar-action-buttons*/.sc-ion-datetime-md-h .calendar-action-buttons.sc-ion-datetime-md{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}/*!@:host .calendar-action-buttons ion-item,\n:host .calendar-action-buttons ion-button*/.sc-ion-datetime-md-h .calendar-action-buttons.sc-ion-datetime-md ion-item.sc-ion-datetime-md,.sc-ion-datetime-md-h .calendar-action-buttons.sc-ion-datetime-md ion-button.sc-ion-datetime-md{--background:translucent}/*!@:host .calendar-action-buttons ion-item ion-label*/.sc-ion-datetime-md-h .calendar-action-buttons.sc-ion-datetime-md ion-item.sc-ion-datetime-md ion-label.sc-ion-datetime-md{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}/*!@:host .calendar-action-buttons ion-item ion-icon*/.sc-ion-datetime-md-h .calendar-action-buttons.sc-ion-datetime-md ion-item.sc-ion-datetime-md ion-icon.sc-ion-datetime-md{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:0;padding-inline-end:0;padding-top:0;padding-bottom:0}/*!@:host .calendar-days-of-week*/.sc-ion-datetime-md-h .calendar-days-of-week.sc-ion-datetime-md{display:grid;grid-template-columns:repeat(7, 1fr);text-align:center}/*!@.calendar-days-of-week .day-of-week*/.calendar-days-of-week.sc-ion-datetime-md .day-of-week.sc-ion-datetime-md{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:0;margin-bottom:0}/*!@:host .calendar-body*/.sc-ion-datetime-md-h .calendar-body.sc-ion-datetime-md{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-webkit-scroll-snap-type:x mandatory;-ms-scroll-snap-type:x mandatory;scroll-snap-type:x mandatory;overflow-x:scroll;overflow-y:hidden;scrollbar-width:none;outline:none}/*!@:host .calendar-body .calendar-month*/.sc-ion-datetime-md-h .calendar-body.sc-ion-datetime-md .calendar-month.sc-ion-datetime-md{display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;scroll-snap-align:start;scroll-snap-stop:always;-ms-flex-negative:0;flex-shrink:0;width:100%}/*!@:host .calendar-body .calendar-month-disabled*/.sc-ion-datetime-md-h .calendar-body.sc-ion-datetime-md .calendar-month-disabled.sc-ion-datetime-md{scroll-snap-align:none}/*!@:host .calendar-body::-webkit-scrollbar*/.sc-ion-datetime-md-h .calendar-body.sc-ion-datetime-md::-webkit-scrollbar{display:none}/*!@:host .calendar-body .calendar-month-grid*/.sc-ion-datetime-md-h .calendar-body.sc-ion-datetime-md .calendar-month-grid.sc-ion-datetime-md{display:grid;grid-template-columns:repeat(7, 1fr)}/*!@:host .calendar-day-wrapper*/.sc-ion-datetime-md-h .calendar-day-wrapper.sc-ion-datetime-md{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;min-width:0;min-height:0;overflow:visible}/*!@.calendar-day*/.calendar-day.sc-ion-datetime-md{border-radius:50%;-webkit-padding-start:0px;padding-inline-start:0px;-webkit-padding-end:0px;padding-inline-end:0px;padding-top:0px;padding-bottom:0px;-webkit-margin-start:0px;margin-inline-start:0px;-webkit-margin-end:0px;margin-inline-end:0px;margin-top:0px;margin-bottom:0px;display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;border:none;outline:none;background:none;color:currentColor;font-family:var(--ion-font-family, inherit);cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;z-index:0}/*!@:host .calendar-day[disabled]*/.sc-ion-datetime-md-h .calendar-day[disabled].sc-ion-datetime-md{pointer-events:none;opacity:0.4}/*!@.calendar-day:focus*/.calendar-day.sc-ion-datetime-md:focus{background:rgba(var(--ion-color-base-rgb), 0.2);-webkit-box-shadow:0px 0px 0px 4px rgba(var(--ion-color-base-rgb), 0.2);box-shadow:0px 0px 0px 4px rgba(var(--ion-color-base-rgb), 0.2)}/*!@:host .datetime-time*/.sc-ion-datetime-md-h .datetime-time.sc-ion-datetime-md{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}/*!@:host(.datetime-presentation-time) .datetime-time*/.datetime-presentation-time.sc-ion-datetime-md-h .datetime-time.sc-ion-datetime-md{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0}/*!@:host ion-popover*/.sc-ion-datetime-md-h ion-popover.sc-ion-datetime-md{--height:200px}/*!@:host .time-header*/.sc-ion-datetime-md-h .time-header.sc-ion-datetime-md{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}/*!@:host .time-body*/.sc-ion-datetime-md-h .time-body.sc-ion-datetime-md{border-radius:8px;-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px;padding-top:6px;padding-bottom:6px;display:-ms-flexbox;display:flex;border:none;background:var(--ion-color-step-300, #edeef0);color:var(--ion-text-color, #000);font-family:inherit;font-size:inherit;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none}/*!@:host .time-body-active*/.sc-ion-datetime-md-h .time-body-active.sc-ion-datetime-md{color:var(--ion-color-base)}/*!@:host(.in-item)*/.in-item.sc-ion-datetime-md-h{position:static}/*!@:host(.show-month-and-year) .calendar-action-buttons ion-item*/.show-month-and-year.sc-ion-datetime-md-h .calendar-action-buttons.sc-ion-datetime-md ion-item.sc-ion-datetime-md{--color:var(--ion-color-base)}/*!@:host*/.sc-ion-datetime-md-h{--background:var(--ion-color-step-100, #ffffff);--title-color:var(--ion-color-contrast)}/*!@:host .datetime-header*/.sc-ion-datetime-md-h .datetime-header.sc-ion-datetime-md{-webkit-padding-start:20px;padding-inline-start:20px;-webkit-padding-end:20px;padding-inline-end:20px;padding-top:20px;padding-bottom:20px;background:var(--ion-color-base);color:var(--title-color)}/*!@:host .datetime-header .datetime-title*/.sc-ion-datetime-md-h .datetime-header.sc-ion-datetime-md .datetime-title.sc-ion-datetime-md{font-size:0.75rem;text-transform:uppercase}/*!@:host .datetime-header .datetime-selected-date*/.sc-ion-datetime-md-h .datetime-header.sc-ion-datetime-md .datetime-selected-date.sc-ion-datetime-md{margin-top:30px;font-size:2.125rem}/*!@:host .datetime-calendar .calendar-action-buttons ion-item*/.sc-ion-datetime-md-h .datetime-calendar.sc-ion-datetime-md .calendar-action-buttons.sc-ion-datetime-md ion-item.sc-ion-datetime-md{--padding-start:20px}/*!@:host .calendar-action-buttons ion-item,\n:host .calendar-action-buttons ion-button*/.sc-ion-datetime-md-h .calendar-action-buttons.sc-ion-datetime-md ion-item.sc-ion-datetime-md,.sc-ion-datetime-md-h .calendar-action-buttons.sc-ion-datetime-md ion-button.sc-ion-datetime-md{--color:var(--ion-color-step-650, #595959)}/*!@:host .calendar-days-of-week*/.sc-ion-datetime-md-h .calendar-days-of-week.sc-ion-datetime-md{-webkit-padding-start:10px;padding-inline-start:10px;-webkit-padding-end:10px;padding-inline-end:10px;padding-top:0px;padding-bottom:0px;color:var(--ion-color-step-500, gray);font-size:0.875rem;line-height:36px}/*!@:host .calendar-body .calendar-month .calendar-month-grid*/.sc-ion-datetime-md-h .calendar-body.sc-ion-datetime-md .calendar-month.sc-ion-datetime-md .calendar-month-grid.sc-ion-datetime-md{-webkit-padding-start:10px;padding-inline-start:10px;-webkit-padding-end:10px;padding-inline-end:10px;padding-top:4px;padding-bottom:4px;grid-template-rows:repeat(6, 1fr)}/*!@:host .calendar-day*/.sc-ion-datetime-md-h .calendar-day.sc-ion-datetime-md{width:42px;min-width:42px;height:42px;font-size:0.875rem}/*!@:host .calendar-day.calendar-day-today*/.sc-ion-datetime-md-h .calendar-day.calendar-day-today.sc-ion-datetime-md{border:1px solid var(--ion-color-base);color:var(--ion-color-base)}/*!@:host .calendar-day.calendar-day-active*/.sc-ion-datetime-md-h .calendar-day.calendar-day-active.sc-ion-datetime-md{color:var(--ion-color-contrast)}/*!@.calendar-day.calendar-day-active*/.calendar-day.calendar-day-active.sc-ion-datetime-md{border:1px solid var(--ion-color-base);background:var(--ion-color-base)}/*!@:host .datetime-time*/.sc-ion-datetime-md-h .datetime-time.sc-ion-datetime-md{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:8px;padding-bottom:8px}/*!@:host .time-header*/.sc-ion-datetime-md-h .time-header.sc-ion-datetime-md{color:var(--ion-color-step-650, #595959)}/*!@:host(.datetime-presentation-month) .datetime-year,\n:host(.datetime-presentation-year) .datetime-year,\n:host(.datetime-presentation-month-year) .datetime-year*/.datetime-presentation-month.sc-ion-datetime-md-h .datetime-year.sc-ion-datetime-md,.datetime-presentation-year.sc-ion-datetime-md-h .datetime-year.sc-ion-datetime-md,.datetime-presentation-month-year.sc-ion-datetime-md-h .datetime-year.sc-ion-datetime-md{margin-top:20px;margin-bottom:20px}/*!@:host .datetime-buttons*/.sc-ion-datetime-md-h .datetime-buttons.sc-ion-datetime-md{-webkit-padding-start:10px;padding-inline-start:10px;-webkit-padding-end:10px;padding-inline-end:10px;padding-top:10px;padding-bottom:10px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:end;justify-content:flex-end}";
14871
14879
 
14872
14880
  /**
14873
14881
  * @virtualProp {"ios" | "md"} mode - The mode determines which platform styles to use.
@@ -15838,7 +15846,7 @@ class Datetime {
15838
15846
  const renderArray = forcePresentation === 'time-date'
15839
15847
  ? [this.renderTimePickerColumns(forcePresentation), this.renderDatePickerColumns(forcePresentation)]
15840
15848
  : [this.renderDatePickerColumns(forcePresentation), this.renderTimePickerColumns(forcePresentation)];
15841
- return hAsync("ion-picker", null, renderArray);
15849
+ return hAsync("ion-picker-internal", null, renderArray);
15842
15850
  }
15843
15851
  renderDatePickerColumns(forcePresentation) {
15844
15852
  return forcePresentation === 'date-time' || forcePresentation === 'time-date'
@@ -15897,7 +15905,7 @@ class Datetime {
15897
15905
  const todayString = workingParts.day !== null
15898
15906
  ? `${workingParts.year}-${workingParts.month}-${workingParts.day}`
15899
15907
  : `${defaultParts.year}-${defaultParts.month}-${defaultParts.day}`;
15900
- return (hAsync("ion-picker-column", { class: "date-column", color: this.color, disabled: disabled, value: todayString, onIonChange: (ev) => {
15908
+ return (hAsync("ion-picker-column-internal", { class: "date-column", color: this.color, disabled: disabled, items: items, value: todayString, onIonChange: (ev) => {
15901
15909
  // TODO(FW-1823) Remove this when iOS 14 support is dropped.
15902
15910
  // Due to a Safari 14 issue we need to destroy
15903
15911
  // the scroll listener before we update state
@@ -15913,7 +15921,7 @@ class Datetime {
15913
15921
  // the working parts have been updated.
15914
15922
  this.initializeCalendarListener();
15915
15923
  ev.stopPropagation();
15916
- } }, items.map((item) => (hAsync("ion-picker-column-option", { part: item.value === todayString ? `${WHEEL_ITEM_PART} ${WHEEL_ITEM_ACTIVE_PART}` : WHEEL_ITEM_PART, key: item.value, disabled: item.disabled, value: item.value }, item.text)))));
15924
+ } }));
15917
15925
  }
15918
15926
  renderIndividualDatePickerColumns(forcePresentation) {
15919
15927
  const { workingParts, isDateEnabled } = this;
@@ -15981,8 +15989,7 @@ class Datetime {
15981
15989
  }
15982
15990
  const { disabled, workingParts } = this;
15983
15991
  const activePart = this.getActivePartsWithFallback();
15984
- const pickerColumnValue = (_a = (workingParts.day !== null ? workingParts.day : this.defaultParts.day)) !== null && _a !== void 0 ? _a : undefined;
15985
- return (hAsync("ion-picker-column", { class: "day-column", color: this.color, disabled: disabled, value: pickerColumnValue, onIonChange: (ev) => {
15992
+ return (hAsync("ion-picker-column-internal", { class: "day-column", color: this.color, disabled: disabled, items: days, value: (_a = (workingParts.day !== null ? workingParts.day : this.defaultParts.day)) !== null && _a !== void 0 ? _a : undefined, onIonChange: (ev) => {
15986
15993
  // TODO(FW-1823) Remove this when iOS 14 support is dropped.
15987
15994
  // Due to a Safari 14 issue we need to destroy
15988
15995
  // the scroll listener before we update state
@@ -15996,7 +16003,7 @@ class Datetime {
15996
16003
  // the working parts have been updated.
15997
16004
  this.initializeCalendarListener();
15998
16005
  ev.stopPropagation();
15999
- } }, days.map((day) => (hAsync("ion-picker-column-option", { part: day.value === pickerColumnValue ? `${WHEEL_ITEM_PART} ${WHEEL_ITEM_ACTIVE_PART}` : WHEEL_ITEM_PART, key: day.value, disabled: day.disabled, value: day.value }, day.text)))));
16006
+ } }));
16000
16007
  }
16001
16008
  renderMonthPickerColumn(months) {
16002
16009
  if (months.length === 0) {
@@ -16004,7 +16011,7 @@ class Datetime {
16004
16011
  }
16005
16012
  const { disabled, workingParts } = this;
16006
16013
  const activePart = this.getActivePartsWithFallback();
16007
- return (hAsync("ion-picker-column", { class: "month-column", color: this.color, disabled: disabled, value: workingParts.month, onIonChange: (ev) => {
16014
+ return (hAsync("ion-picker-column-internal", { class: "month-column", color: this.color, disabled: disabled, items: months, value: workingParts.month, onIonChange: (ev) => {
16008
16015
  // TODO(FW-1823) Remove this when iOS 14 support is dropped.
16009
16016
  // Due to a Safari 14 issue we need to destroy
16010
16017
  // the scroll listener before we update state
@@ -16018,7 +16025,7 @@ class Datetime {
16018
16025
  // the working parts have been updated.
16019
16026
  this.initializeCalendarListener();
16020
16027
  ev.stopPropagation();
16021
- } }, months.map((month) => (hAsync("ion-picker-column-option", { part: month.value === workingParts.month ? `${WHEEL_ITEM_PART} ${WHEEL_ITEM_ACTIVE_PART}` : WHEEL_ITEM_PART, key: month.value, disabled: month.disabled, value: month.value }, month.text)))));
16028
+ } }));
16022
16029
  }
16023
16030
  renderYearPickerColumn(years) {
16024
16031
  if (years.length === 0) {
@@ -16026,7 +16033,7 @@ class Datetime {
16026
16033
  }
16027
16034
  const { disabled, workingParts } = this;
16028
16035
  const activePart = this.getActivePartsWithFallback();
16029
- return (hAsync("ion-picker-column", { class: "year-column", color: this.color, disabled: disabled, value: workingParts.year, onIonChange: (ev) => {
16036
+ return (hAsync("ion-picker-column-internal", { class: "year-column", color: this.color, disabled: disabled, items: years, value: workingParts.year, onIonChange: (ev) => {
16030
16037
  // TODO(FW-1823) Remove this when iOS 14 support is dropped.
16031
16038
  // Due to a Safari 14 issue we need to destroy
16032
16039
  // the scroll listener before we update state
@@ -16040,7 +16047,7 @@ class Datetime {
16040
16047
  // the working parts have been updated.
16041
16048
  this.initializeCalendarListener();
16042
16049
  ev.stopPropagation();
16043
- } }, years.map((year) => (hAsync("ion-picker-column-option", { part: year.value === workingParts.year ? `${WHEEL_ITEM_PART} ${WHEEL_ITEM_ACTIVE_PART}` : WHEEL_ITEM_PART, key: year.value, disabled: year.disabled, value: year.value }, year.text)))));
16050
+ } }));
16044
16051
  }
16045
16052
  renderTimePickerColumns(forcePresentation) {
16046
16053
  if (['date', 'month', 'month-year', 'year'].includes(forcePresentation)) {
@@ -16069,22 +16076,22 @@ class Datetime {
16069
16076
  if (hoursData.length === 0)
16070
16077
  return [];
16071
16078
  const activePart = this.getActivePartsWithFallback();
16072
- return (hAsync("ion-picker-column", { color: this.color, disabled: disabled, value: activePart.hour, numericInput: true, onIonChange: (ev) => {
16079
+ return (hAsync("ion-picker-column-internal", { color: this.color, disabled: disabled, value: activePart.hour, items: hoursData, numericInput: true, onIonChange: (ev) => {
16073
16080
  this.setWorkingParts(Object.assign(Object.assign({}, workingParts), { hour: ev.detail.value }));
16074
16081
  this.setActiveParts(Object.assign(Object.assign({}, activePart), { hour: ev.detail.value }));
16075
16082
  ev.stopPropagation();
16076
- } }, hoursData.map((hour) => (hAsync("ion-picker-column-option", { part: hour.value === activePart.hour ? `${WHEEL_ITEM_PART} ${WHEEL_ITEM_ACTIVE_PART}` : WHEEL_ITEM_PART, key: hour.value, disabled: hour.disabled, value: hour.value }, hour.text)))));
16083
+ } }));
16077
16084
  }
16078
16085
  renderMinutePickerColumn(minutesData) {
16079
16086
  const { disabled, workingParts } = this;
16080
16087
  if (minutesData.length === 0)
16081
16088
  return [];
16082
16089
  const activePart = this.getActivePartsWithFallback();
16083
- return (hAsync("ion-picker-column", { color: this.color, disabled: disabled, value: activePart.minute, numericInput: true, onIonChange: (ev) => {
16090
+ return (hAsync("ion-picker-column-internal", { color: this.color, disabled: disabled, value: activePart.minute, items: minutesData, numericInput: true, onIonChange: (ev) => {
16084
16091
  this.setWorkingParts(Object.assign(Object.assign({}, workingParts), { minute: ev.detail.value }));
16085
16092
  this.setActiveParts(Object.assign(Object.assign({}, activePart), { minute: ev.detail.value }));
16086
16093
  ev.stopPropagation();
16087
- } }, minutesData.map((minute) => (hAsync("ion-picker-column-option", { part: minute.value === activePart.minute ? `${WHEEL_ITEM_PART} ${WHEEL_ITEM_ACTIVE_PART}` : WHEEL_ITEM_PART, key: minute.value, disabled: minute.disabled, value: minute.value }, minute.text)))));
16094
+ } }));
16088
16095
  }
16089
16096
  renderDayPeriodPickerColumn(dayPeriodData) {
16090
16097
  const { disabled, workingParts } = this;
@@ -16093,12 +16100,12 @@ class Datetime {
16093
16100
  }
16094
16101
  const activePart = this.getActivePartsWithFallback();
16095
16102
  const isDayPeriodRTL = isLocaleDayPeriodRTL(this.locale);
16096
- return (hAsync("ion-picker-column", { style: isDayPeriodRTL ? { order: '-1' } : {}, color: this.color, disabled: disabled, value: activePart.ampm, onIonChange: (ev) => {
16103
+ return (hAsync("ion-picker-column-internal", { style: isDayPeriodRTL ? { order: '-1' } : {}, color: this.color, disabled: disabled, value: activePart.ampm, items: dayPeriodData, onIonChange: (ev) => {
16097
16104
  const hour = calculateHourFromAMPM(workingParts, ev.detail.value);
16098
16105
  this.setWorkingParts(Object.assign(Object.assign({}, workingParts), { ampm: ev.detail.value, hour }));
16099
16106
  this.setActiveParts(Object.assign(Object.assign({}, activePart), { ampm: ev.detail.value, hour }));
16100
16107
  ev.stopPropagation();
16101
- } }, dayPeriodData.map((dayPeriod) => (hAsync("ion-picker-column-option", { part: dayPeriod.value === activePart.ampm ? `${WHEEL_ITEM_PART} ${WHEEL_ITEM_ACTIVE_PART}` : WHEEL_ITEM_PART, key: dayPeriod.value, disabled: dayPeriod.disabled, value: dayPeriod.value }, dayPeriod.text)))));
16108
+ } }));
16102
16109
  }
16103
16110
  renderWheelView(forcePresentation) {
16104
16111
  const { locale } = this;
@@ -16119,11 +16126,26 @@ class Datetime {
16119
16126
  const nextMonthDisabled = disabled || isNextMonthDisabled(this.workingParts, this.maxParts);
16120
16127
  // don't use the inheritAttributes util because it removes dir from the host, and we still need that
16121
16128
  const hostDir = this.el.getAttribute('dir') || undefined;
16122
- return (hAsync("div", { class: "calendar-header" }, hAsync("div", { class: "calendar-action-buttons" }, hAsync("div", { class: "calendar-month-year" }, hAsync("button", { class: {
16123
- 'calendar-month-year-toggle': true,
16124
- 'ion-activatable': true,
16125
- 'ion-focusable': true,
16126
- }, part: "month-year-button", disabled: disabled, "aria-label": this.showMonthAndYear ? 'Hide year picker' : 'Show year picker', onClick: () => this.toggleMonthAndYearView() }, hAsync("span", { id: "toggle-wrapper" }, getMonthAndYear(this.locale, this.workingParts), hAsync("ion-icon", { "aria-hidden": "true", icon: this.showMonthAndYear ? expandedIcon : collapsedIcon, lazy: false, flipRtl: true })), mode === 'md' && hAsync("ion-ripple-effect", null))), hAsync("div", { class: "calendar-next-prev" }, hAsync("ion-buttons", null, hAsync("ion-button", { "aria-label": "Previous month", disabled: prevMonthDisabled, onClick: () => this.prevMonth() }, hAsync("ion-icon", { dir: hostDir, "aria-hidden": "true", slot: "icon-only", icon: chevronBack, lazy: false, flipRtl: true })), hAsync("ion-button", { "aria-label": "Next month", disabled: nextMonthDisabled, onClick: () => this.nextMonth() }, hAsync("ion-icon", { dir: hostDir, "aria-hidden": "true", slot: "icon-only", icon: chevronForward, lazy: false, flipRtl: true }))))), hAsync("div", { class: "calendar-days-of-week", "aria-hidden": "true" }, getDaysOfWeek(this.locale, mode, this.firstDayOfWeek % 7).map((d) => {
16129
+ return (hAsync("div", { class: "calendar-header" }, hAsync("div", { class: "calendar-action-buttons" }, hAsync("div", { class: "calendar-month-year" }, hAsync("ion-item", { part: "month-year-button", ref: (el) => (this.monthYearToggleItemRef = el), button: true, "aria-label": "Show year picker", detail: false, lines: "none", disabled: disabled, onClick: () => {
16130
+ var _a;
16131
+ this.toggleMonthAndYearView();
16132
+ /**
16133
+ * TODO: FW-3547
16134
+ *
16135
+ * Currently there is not a way to set the aria-label on the inner button
16136
+ * on the `ion-item` and have it be reactive to changes. This is a workaround
16137
+ * until we either refactor `ion-item` to a button or Stencil adds a way to
16138
+ * have reactive props for built-in properties, such as `aria-label`.
16139
+ */
16140
+ const { monthYearToggleItemRef } = this;
16141
+ if (monthYearToggleItemRef) {
16142
+ const btn = (_a = monthYearToggleItemRef.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector('.item-native');
16143
+ if (btn) {
16144
+ const monthYearAriaLabel = this.showMonthAndYear ? 'Hide year picker' : 'Show year picker';
16145
+ btn.setAttribute('aria-label', monthYearAriaLabel);
16146
+ }
16147
+ }
16148
+ } }, hAsync("ion-label", null, getMonthAndYear(this.locale, this.workingParts), hAsync("ion-icon", { "aria-hidden": "true", icon: this.showMonthAndYear ? expandedIcon : collapsedIcon, lazy: false, flipRtl: true })))), hAsync("div", { class: "calendar-next-prev" }, hAsync("ion-buttons", null, hAsync("ion-button", { "aria-label": "Previous month", disabled: prevMonthDisabled, onClick: () => this.prevMonth() }, hAsync("ion-icon", { dir: hostDir, "aria-hidden": "true", slot: "icon-only", icon: chevronBack, lazy: false, flipRtl: true })), hAsync("ion-button", { "aria-label": "Next month", disabled: nextMonthDisabled, onClick: () => this.nextMonth() }, hAsync("ion-icon", { dir: hostDir, "aria-hidden": "true", slot: "icon-only", icon: chevronForward, lazy: false, flipRtl: true }))))), hAsync("div", { class: "calendar-days-of-week", "aria-hidden": "true" }, getDaysOfWeek(this.locale, mode, this.firstDayOfWeek % 7).map((d) => {
16127
16149
  return hAsync("div", { class: "day-of-week" }, d);
16128
16150
  }))));
16129
16151
  }
@@ -16284,7 +16306,7 @@ class Datetime {
16284
16306
  * This will correctly scroll the element position to the correct time value,
16285
16307
  * before the popover is fully presented.
16286
16308
  */
16287
- const cols = ev.target.querySelectorAll('ion-picker-column');
16309
+ const cols = ev.target.querySelectorAll('ion-picker-column-internal');
16288
16310
  // TODO (FW-615): Potentially remove this when intersection observers are fixed in picker column
16289
16311
  cols.forEach((col) => col.scrollActiveItemIntoView());
16290
16312
  }, style: {
@@ -16478,8 +16500,6 @@ class Datetime {
16478
16500
  }; }
16479
16501
  }
16480
16502
  let datetimeIds = 0;
16481
- const WHEEL_ITEM_PART = 'wheel-item';
16482
- const WHEEL_ITEM_ACTIVE_PART = `active`;
16483
16503
 
16484
16504
  const iosDatetimeButtonCss = "/*!@:host*/.sc-ion-datetime-button-ios-h{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}/*!@:host button*/.sc-ion-datetime-button-ios-h button.sc-ion-datetime-button-ios{border-radius:8px;-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px;padding-top:6px;padding-bottom:6px;-webkit-margin-start:2px;margin-inline-start:2px;-webkit-margin-end:2px;margin-inline-end:2px;margin-top:0px;margin-bottom:0px;position:relative;-webkit-transition:150ms color ease-in-out;transition:150ms color ease-in-out;border:none;background:var(--ion-color-step-300, #edeef0);color:var(--ion-text-color, #000);font-family:inherit;font-size:1rem;cursor:pointer;overflow:hidden;-webkit-appearance:none;-moz-appearance:none;appearance:none}/*!@:host(.time-active) #time-button,\n:host(.date-active) #date-button*/.time-active.sc-ion-datetime-button-ios-h #time-button.sc-ion-datetime-button-ios,.date-active.sc-ion-datetime-button-ios-h #date-button.sc-ion-datetime-button-ios{color:var(--ion-color-base)}/*!@:host(.datetime-button-disabled)*/.datetime-button-disabled.sc-ion-datetime-button-ios-h{pointer-events:none}/*!@:host(.datetime-button-disabled) button*/.datetime-button-disabled.sc-ion-datetime-button-ios-h button.sc-ion-datetime-button-ios{opacity:0.4}";
16485
16505
 
@@ -18740,8 +18760,6 @@ class Input {
18740
18760
  *
18741
18761
  * Developers who wish to focus an input when an overlay is presented
18742
18762
  * should call `setFocus` after `didPresent` has resolved.
18743
- *
18744
- * See [managing focus](/docs/developing/managing-focus) for more information.
18745
18763
  */
18746
18764
  async setFocus() {
18747
18765
  if (this.nativeInput) {
@@ -24527,501 +24545,6 @@ class Note {
24527
24545
  }; }
24528
24546
  }
24529
24547
 
24530
- const pickerIosCss$1 = "/*!@:host*/.sc-ion-picker-ios-h{display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:200px;direction:ltr;z-index:0}/*!@:host .picker-before,\n:host .picker-after*/.sc-ion-picker-ios-h .picker-before.sc-ion-picker-ios,.sc-ion-picker-ios-h .picker-after.sc-ion-picker-ios{position:absolute;width:100%;-webkit-transform:translateZ(0);transform:translateZ(0);z-index:1;pointer-events:none}/*!@:host .picker-before*/.sc-ion-picker-ios-h .picker-before.sc-ion-picker-ios{top:0;height:83px}@supports (inset-inline-start: 0){/*!@:host .picker-before*/.sc-ion-picker-ios-h .picker-before.sc-ion-picker-ios{inset-inline-start:0}}@supports not (inset-inline-start: 0){/*!@:host .picker-before*/.sc-ion-picker-ios-h .picker-before.sc-ion-picker-ios{left:0}/*!@:host-context([dir=rtl]) .picker-before*/[dir=rtl].sc-ion-picker-ios-h .picker-before.sc-ion-picker-ios,[dir=rtl] .sc-ion-picker-ios-h .picker-before.sc-ion-picker-ios{left:unset;right:unset;right:0}/*!@@supports selector(:dir(rtl))*/@supports .sc-ion-picker-ios selector(.sc-ion-picker-ios:dir(rtl)){.sc-ion-picker-ios-h:dir(rtl) .picker-before{left:unset;right:unset;right:0}}}/*!@:host .picker-after*/.sc-ion-picker-ios-h .picker-after.sc-ion-picker-ios{top:116px;height:84px}@supports (inset-inline-start: 0){/*!@:host .picker-after*/.sc-ion-picker-ios-h .picker-after.sc-ion-picker-ios{inset-inline-start:0}}@supports not (inset-inline-start: 0){/*!@:host .picker-after*/.sc-ion-picker-ios-h .picker-after.sc-ion-picker-ios{left:0}/*!@:host-context([dir=rtl]) .picker-after*/[dir=rtl].sc-ion-picker-ios-h .picker-after.sc-ion-picker-ios,[dir=rtl] .sc-ion-picker-ios-h .picker-after.sc-ion-picker-ios{left:unset;right:unset;right:0}/*!@@supports selector(:dir(rtl))*/@supports .sc-ion-picker-ios selector(.sc-ion-picker-ios:dir(rtl)){.sc-ion-picker-ios-h:dir(rtl) .picker-after{left:unset;right:unset;right:0}}}/*!@:host .picker-highlight*/.sc-ion-picker-ios-h .picker-highlight.sc-ion-picker-ios{border-radius:var(--highlight-border-radius, 8px);left:0;right:0;top:50%;bottom:0;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:0;margin-bottom:0;position:absolute;width:calc(100% - 16px);height:34px;-webkit-transform:translateY(-50%);transform:translateY(-50%);background:var(--highlight-background);z-index:-1}/*!@:host input*/.sc-ion-picker-ios-h input.sc-ion-picker-ios{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;clip:rect(0 0 0 0);opacity:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none}/*!@:host ::slotted(ion-picker-column:first-of-type)*/.sc-ion-picker-ios-h .sc-ion-picker-ios-s>ion-picker-column:first-of-type{text-align:start}/*!@:host ::slotted(ion-picker-column:last-of-type)*/.sc-ion-picker-ios-h .sc-ion-picker-ios-s>ion-picker-column:last-of-type{text-align:end}/*!@:host ::slotted(ion-picker-column:only-child)*/.sc-ion-picker-ios-h .sc-ion-picker-ios-s>ion-picker-column:only-child{text-align:center}/*!@:host .picker-before*/.sc-ion-picker-ios-h .picker-before.sc-ion-picker-ios{background:-webkit-gradient(linear, left top, left bottom, color-stop(20%, rgba(var(--fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 1)), to(rgba(var(--fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 0.8)));background:linear-gradient(to bottom, rgba(var(--fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 1) 20%, rgba(var(--fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 0.8) 100%)}/*!@:host .picker-after*/.sc-ion-picker-ios-h .picker-after.sc-ion-picker-ios{background:-webkit-gradient(linear, left bottom, left top, color-stop(20%, rgba(var(--fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 1)), to(rgba(var(--fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 0.8)));background:linear-gradient(to top, rgba(var(--fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 1) 20%, rgba(var(--fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 0.8) 100%)}/*!@:host .picker-highlight*/.sc-ion-picker-ios-h .picker-highlight.sc-ion-picker-ios{background:var(--highlight-background, var(--ion-color-step-150, #eeeeef))}";
24531
-
24532
- const pickerMdCss$1 = "/*!@:host*/.sc-ion-picker-md-h{display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:200px;direction:ltr;z-index:0}/*!@:host .picker-before,\n:host .picker-after*/.sc-ion-picker-md-h .picker-before.sc-ion-picker-md,.sc-ion-picker-md-h .picker-after.sc-ion-picker-md{position:absolute;width:100%;-webkit-transform:translateZ(0);transform:translateZ(0);z-index:1;pointer-events:none}/*!@:host .picker-before*/.sc-ion-picker-md-h .picker-before.sc-ion-picker-md{top:0;height:83px}@supports (inset-inline-start: 0){/*!@:host .picker-before*/.sc-ion-picker-md-h .picker-before.sc-ion-picker-md{inset-inline-start:0}}@supports not (inset-inline-start: 0){/*!@:host .picker-before*/.sc-ion-picker-md-h .picker-before.sc-ion-picker-md{left:0}/*!@:host-context([dir=rtl]) .picker-before*/[dir=rtl].sc-ion-picker-md-h .picker-before.sc-ion-picker-md,[dir=rtl] .sc-ion-picker-md-h .picker-before.sc-ion-picker-md{left:unset;right:unset;right:0}/*!@@supports selector(:dir(rtl))*/@supports .sc-ion-picker-md selector(.sc-ion-picker-md:dir(rtl)){.sc-ion-picker-md-h:dir(rtl) .picker-before{left:unset;right:unset;right:0}}}/*!@:host .picker-after*/.sc-ion-picker-md-h .picker-after.sc-ion-picker-md{top:116px;height:84px}@supports (inset-inline-start: 0){/*!@:host .picker-after*/.sc-ion-picker-md-h .picker-after.sc-ion-picker-md{inset-inline-start:0}}@supports not (inset-inline-start: 0){/*!@:host .picker-after*/.sc-ion-picker-md-h .picker-after.sc-ion-picker-md{left:0}/*!@:host-context([dir=rtl]) .picker-after*/[dir=rtl].sc-ion-picker-md-h .picker-after.sc-ion-picker-md,[dir=rtl] .sc-ion-picker-md-h .picker-after.sc-ion-picker-md{left:unset;right:unset;right:0}/*!@@supports selector(:dir(rtl))*/@supports .sc-ion-picker-md selector(.sc-ion-picker-md:dir(rtl)){.sc-ion-picker-md-h:dir(rtl) .picker-after{left:unset;right:unset;right:0}}}/*!@:host .picker-highlight*/.sc-ion-picker-md-h .picker-highlight.sc-ion-picker-md{border-radius:var(--highlight-border-radius, 8px);left:0;right:0;top:50%;bottom:0;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:0;margin-bottom:0;position:absolute;width:calc(100% - 16px);height:34px;-webkit-transform:translateY(-50%);transform:translateY(-50%);background:var(--highlight-background);z-index:-1}/*!@:host input*/.sc-ion-picker-md-h input.sc-ion-picker-md{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;clip:rect(0 0 0 0);opacity:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none}/*!@:host ::slotted(ion-picker-column:first-of-type)*/.sc-ion-picker-md-h .sc-ion-picker-md-s>ion-picker-column:first-of-type{text-align:start}/*!@:host ::slotted(ion-picker-column:last-of-type)*/.sc-ion-picker-md-h .sc-ion-picker-md-s>ion-picker-column:last-of-type{text-align:end}/*!@:host ::slotted(ion-picker-column:only-child)*/.sc-ion-picker-md-h .sc-ion-picker-md-s>ion-picker-column:only-child{text-align:center}/*!@:host .picker-before*/.sc-ion-picker-md-h .picker-before.sc-ion-picker-md{background:-webkit-gradient(linear, left top, left bottom, color-stop(20%, rgba(var(--fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 1)), color-stop(90%, rgba(var(--fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 0)));background:linear-gradient(to bottom, rgba(var(--fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 1) 20%, rgba(var(--fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 0) 90%)}/*!@:host .picker-after*/.sc-ion-picker-md-h .picker-after.sc-ion-picker-md{background:-webkit-gradient(linear, left bottom, left top, color-stop(30%, rgba(var(--fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 1)), color-stop(90%, rgba(var(--fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 0)));background:linear-gradient(to top, rgba(var(--fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 1) 30%, rgba(var(--fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 0) 90%)}";
24533
-
24534
- /**
24535
- * @virtualProp {"ios" | "md"} mode - The mode determines which platform styles to use.
24536
- */
24537
- class Picker$1 {
24538
- constructor(hostRef) {
24539
- registerInstance(this, hostRef);
24540
- this.ionInputModeChange = createEvent(this, "ionInputModeChange", 7);
24541
- this.useInputMode = false;
24542
- this.isInHighlightBounds = (ev) => {
24543
- const { highlightEl } = this;
24544
- if (!highlightEl) {
24545
- return false;
24546
- }
24547
- const bbox = highlightEl.getBoundingClientRect();
24548
- /**
24549
- * Check to see if the user clicked
24550
- * outside the bounds of the highlight.
24551
- */
24552
- const outsideX = ev.clientX < bbox.left || ev.clientX > bbox.right;
24553
- const outsideY = ev.clientY < bbox.top || ev.clientY > bbox.bottom;
24554
- if (outsideX || outsideY) {
24555
- return false;
24556
- }
24557
- return true;
24558
- };
24559
- /**
24560
- * If we are no longer focused
24561
- * on a picker column, then we should
24562
- * exit input mode. An exception is made
24563
- * for the input in the picker since having
24564
- * that focused means we are still in input mode.
24565
- */
24566
- this.onFocusOut = (ev) => {
24567
- // TODO(FW-2832): type
24568
- const { relatedTarget } = ev;
24569
- if (!relatedTarget || (relatedTarget.tagName !== 'ION-PICKER-COLUMN' && relatedTarget !== this.inputEl)) {
24570
- this.exitInputMode();
24571
- }
24572
- };
24573
- /**
24574
- * When picker columns receive focus
24575
- * the parent picker needs to determine
24576
- * whether to enter/exit input mode.
24577
- */
24578
- this.onFocusIn = (ev) => {
24579
- // TODO(FW-2832): type
24580
- const { target } = ev;
24581
- /**
24582
- * Due to browser differences in how/when focus
24583
- * is dispatched on certain elements, we need to
24584
- * make sure that this function only ever runs when
24585
- * focusing a picker column.
24586
- */
24587
- if (target.tagName !== 'ION-PICKER-COLUMN') {
24588
- return;
24589
- }
24590
- /**
24591
- * If we have actionOnClick
24592
- * then this means the user focused
24593
- * a picker column via mouse or
24594
- * touch (i.e. a PointerEvent). As a result,
24595
- * we should not enter/exit input mode
24596
- * until the click event has fired, which happens
24597
- * after the `focusin` event.
24598
- *
24599
- * Otherwise, the user likely focused
24600
- * the column using their keyboard and
24601
- * we should enter/exit input mode automatically.
24602
- */
24603
- if (!this.actionOnClick) {
24604
- const columnEl = target;
24605
- const allowInput = columnEl.numericInput;
24606
- if (allowInput) {
24607
- this.enterInputMode(columnEl, false);
24608
- }
24609
- else {
24610
- this.exitInputMode();
24611
- }
24612
- }
24613
- };
24614
- /**
24615
- * On click we need to run an actionOnClick
24616
- * function that has been set in onPointerDown
24617
- * so that we enter/exit input mode correctly.
24618
- */
24619
- this.onClick = () => {
24620
- const { actionOnClick } = this;
24621
- if (actionOnClick) {
24622
- actionOnClick();
24623
- this.actionOnClick = undefined;
24624
- }
24625
- };
24626
- /**
24627
- * Clicking a column also focuses the column on
24628
- * certain browsers, so we use onPointerDown
24629
- * to tell the onFocusIn function that users
24630
- * are trying to click the column rather than
24631
- * focus the column using the keyboard. When the
24632
- * user completes the click, the onClick function
24633
- * runs and runs the actionOnClick callback.
24634
- */
24635
- this.onPointerDown = (ev) => {
24636
- const { useInputMode, inputModeColumn, el } = this;
24637
- if (this.isInHighlightBounds(ev)) {
24638
- /**
24639
- * If we were already in
24640
- * input mode, then we should determine
24641
- * if we tapped a particular column and
24642
- * should switch to input mode for
24643
- * that specific column.
24644
- */
24645
- if (useInputMode) {
24646
- /**
24647
- * If we tapped a picker column
24648
- * then we should either switch to input
24649
- * mode for that column or all columns.
24650
- * Otherwise we should exit input mode
24651
- * since we just tapped the highlight and
24652
- * not a column.
24653
- */
24654
- if (ev.target.tagName === 'ION-PICKER-COLUMN') {
24655
- /**
24656
- * If user taps 2 different columns
24657
- * then we should just switch to input mode
24658
- * for the new column rather than switching to
24659
- * input mode for all columns.
24660
- */
24661
- if (inputModeColumn && inputModeColumn === ev.target) {
24662
- this.actionOnClick = () => {
24663
- this.enterInputMode();
24664
- };
24665
- }
24666
- else {
24667
- this.actionOnClick = () => {
24668
- this.enterInputMode(ev.target);
24669
- };
24670
- }
24671
- }
24672
- else {
24673
- this.actionOnClick = () => {
24674
- this.exitInputMode();
24675
- };
24676
- }
24677
- /**
24678
- * If we were not already in
24679
- * input mode, then we should
24680
- * enter input mode for all columns.
24681
- */
24682
- }
24683
- else {
24684
- /**
24685
- * If there is only 1 numeric input column
24686
- * then we should skip multi column input.
24687
- */
24688
- const columns = el.querySelectorAll('ion-picker-column.picker-column-numeric-input');
24689
- const columnEl = columns.length === 1 ? ev.target : undefined;
24690
- this.actionOnClick = () => {
24691
- this.enterInputMode(columnEl);
24692
- };
24693
- }
24694
- return;
24695
- }
24696
- this.actionOnClick = () => {
24697
- this.exitInputMode();
24698
- };
24699
- };
24700
- /**
24701
- * Enters input mode to allow
24702
- * for text entry of numeric values.
24703
- * If on mobile, we focus a hidden input
24704
- * field so that the on screen keyboard
24705
- * is brought up. When tabbing using a
24706
- * keyboard, picker columns receive an outline
24707
- * to indicate they are focused. As a result,
24708
- * we should not focus the hidden input as it
24709
- * would cause the outline to go away, preventing
24710
- * users from having any visual indication of which
24711
- * column is focused.
24712
- */
24713
- this.enterInputMode = (columnEl, focusInput = true) => {
24714
- const { inputEl, el } = this;
24715
- if (!inputEl) {
24716
- return;
24717
- }
24718
- /**
24719
- * Only active input mode if there is at
24720
- * least one column that accepts numeric input.
24721
- */
24722
- const hasInputColumn = el.querySelector('ion-picker-column.picker-column-numeric-input');
24723
- if (!hasInputColumn) {
24724
- return;
24725
- }
24726
- /**
24727
- * If columnEl is undefined then
24728
- * it is assumed that all numeric pickers
24729
- * are eligible for text entry.
24730
- * (i.e. hour and minute columns)
24731
- */
24732
- this.useInputMode = true;
24733
- this.inputModeColumn = columnEl;
24734
- /**
24735
- * Users with a keyboard and mouse can
24736
- * activate input mode where the input is
24737
- * focused as well as when it is not focused,
24738
- * so we need to make sure we clean up any
24739
- * old listeners.
24740
- */
24741
- if (focusInput) {
24742
- if (this.destroyKeypressListener) {
24743
- this.destroyKeypressListener();
24744
- this.destroyKeypressListener = undefined;
24745
- }
24746
- inputEl.focus();
24747
- }
24748
- else {
24749
- el.addEventListener('keypress', this.onKeyPress);
24750
- this.destroyKeypressListener = () => {
24751
- el.removeEventListener('keypress', this.onKeyPress);
24752
- };
24753
- }
24754
- this.emitInputModeChange();
24755
- };
24756
- this.onKeyPress = (ev) => {
24757
- const { inputEl } = this;
24758
- if (!inputEl) {
24759
- return;
24760
- }
24761
- const parsedValue = parseInt(ev.key, 10);
24762
- /**
24763
- * Only numbers should be allowed
24764
- */
24765
- if (!Number.isNaN(parsedValue)) {
24766
- inputEl.value += ev.key;
24767
- this.onInputChange();
24768
- }
24769
- };
24770
- this.selectSingleColumn = () => {
24771
- const { inputEl, inputModeColumn, singleColumnSearchTimeout } = this;
24772
- if (!inputEl || !inputModeColumn) {
24773
- return;
24774
- }
24775
- const options = Array.from(inputModeColumn.querySelectorAll('ion-picker-column-option')).filter((el) => el.disabled !== true);
24776
- /**
24777
- * If users pause for a bit, the search
24778
- * value should be reset similar to how a
24779
- * <select> behaves. So typing "34", waiting,
24780
- * then typing "5" should select "05".
24781
- */
24782
- if (singleColumnSearchTimeout) {
24783
- clearTimeout(singleColumnSearchTimeout);
24784
- }
24785
- this.singleColumnSearchTimeout = setTimeout(() => {
24786
- inputEl.value = '';
24787
- this.singleColumnSearchTimeout = undefined;
24788
- }, 1000);
24789
- /**
24790
- * For values that are longer than 2 digits long
24791
- * we should shift the value over 1 character
24792
- * to the left. So typing "456" would result in "56".
24793
- * TODO: If we want to support more than just
24794
- * time entry, we should update this value to be
24795
- * the max length of all of the picker items.
24796
- */
24797
- if (inputEl.value.length >= 3) {
24798
- const startIndex = inputEl.value.length - 2;
24799
- const newString = inputEl.value.substring(startIndex);
24800
- inputEl.value = newString;
24801
- this.selectSingleColumn();
24802
- return;
24803
- }
24804
- /**
24805
- * Checking the value of the input gets priority
24806
- * first. For example, if the value of the input
24807
- * is "1" and we entered "2", then the complete value
24808
- * is "12" and we should select hour 12.
24809
- *
24810
- * Regex removes any leading zeros from values like "02",
24811
- * but it keeps a single zero if there are only zeros in the string.
24812
- * 0+(?=[1-9]) --> Match 1 or more zeros that are followed by 1-9
24813
- * 0+(?=0$) --> Match 1 or more zeros that must be followed by one 0 and end.
24814
- */
24815
- const findItemFromCompleteValue = options.find(({ textContent }) => {
24816
- /**
24817
- * Keyboard entry is currently only used inside of Datetime
24818
- * where we guarantee textContent is set.
24819
- * If we end up exposing this feature publicly we should revisit this assumption.
24820
- */
24821
- const parsedText = textContent.replace(/^0+(?=[1-9])|0+(?=0$)/, '');
24822
- return parsedText === inputEl.value;
24823
- });
24824
- if (findItemFromCompleteValue) {
24825
- inputModeColumn.setValue(findItemFromCompleteValue.value);
24826
- return;
24827
- }
24828
- /**
24829
- * If we typed "56" to get minute 56, then typed "7",
24830
- * we should select "07" as "567" is not a valid minute.
24831
- */
24832
- if (inputEl.value.length === 2) {
24833
- const changedCharacter = inputEl.value.substring(inputEl.value.length - 1);
24834
- inputEl.value = changedCharacter;
24835
- this.selectSingleColumn();
24836
- }
24837
- };
24838
- /**
24839
- * Searches a list of column items for a particular
24840
- * value. This is currently used for numeric values.
24841
- * The zeroBehavior can be set to account for leading
24842
- * or trailing zeros when looking at the item text.
24843
- */
24844
- this.searchColumn = (colEl, value, zeroBehavior = 'start') => {
24845
- const behavior = zeroBehavior === 'start' ? /^0+/ : /0$/;
24846
- const option = Array.from(colEl.querySelectorAll('ion-picker-column-option')).find((el) => {
24847
- return el.disabled !== true && el.textContent.replace(behavior, '') === value;
24848
- });
24849
- if (option) {
24850
- colEl.setValue(option.value);
24851
- }
24852
- };
24853
- this.selectMultiColumn = () => {
24854
- const { inputEl, el } = this;
24855
- if (!inputEl) {
24856
- return;
24857
- }
24858
- const numericPickers = Array.from(el.querySelectorAll('ion-picker-column')).filter((col) => col.numericInput);
24859
- const firstColumn = numericPickers[0];
24860
- const lastColumn = numericPickers[1];
24861
- let value = inputEl.value;
24862
- let minuteValue;
24863
- switch (value.length) {
24864
- case 1:
24865
- this.searchColumn(firstColumn, value);
24866
- break;
24867
- case 2:
24868
- /**
24869
- * If the first character is `0` or `1` it is
24870
- * possible that users are trying to type `09`
24871
- * or `11` into the hour field, so we should look
24872
- * at that first.
24873
- */
24874
- const firstCharacter = inputEl.value.substring(0, 1);
24875
- value = firstCharacter === '0' || firstCharacter === '1' ? inputEl.value : firstCharacter;
24876
- this.searchColumn(firstColumn, value);
24877
- /**
24878
- * If only checked the first value,
24879
- * we can check the second value
24880
- * for a match in the minutes column
24881
- */
24882
- if (value.length === 1) {
24883
- minuteValue = inputEl.value.substring(inputEl.value.length - 1);
24884
- this.searchColumn(lastColumn, minuteValue, 'end');
24885
- }
24886
- break;
24887
- case 3:
24888
- /**
24889
- * If the first character is `0` or `1` it is
24890
- * possible that users are trying to type `09`
24891
- * or `11` into the hour field, so we should look
24892
- * at that first.
24893
- */
24894
- const firstCharacterAgain = inputEl.value.substring(0, 1);
24895
- value =
24896
- firstCharacterAgain === '0' || firstCharacterAgain === '1'
24897
- ? inputEl.value.substring(0, 2)
24898
- : firstCharacterAgain;
24899
- this.searchColumn(firstColumn, value);
24900
- /**
24901
- * If only checked the first value,
24902
- * we can check the second value
24903
- * for a match in the minutes column
24904
- */
24905
- minuteValue = value.length === 1 ? inputEl.value.substring(1) : inputEl.value.substring(2);
24906
- this.searchColumn(lastColumn, minuteValue, 'end');
24907
- break;
24908
- case 4:
24909
- /**
24910
- * If the first character is `0` or `1` it is
24911
- * possible that users are trying to type `09`
24912
- * or `11` into the hour field, so we should look
24913
- * at that first.
24914
- */
24915
- const firstCharacterAgainAgain = inputEl.value.substring(0, 1);
24916
- value =
24917
- firstCharacterAgainAgain === '0' || firstCharacterAgainAgain === '1'
24918
- ? inputEl.value.substring(0, 2)
24919
- : firstCharacterAgainAgain;
24920
- this.searchColumn(firstColumn, value);
24921
- /**
24922
- * If only checked the first value,
24923
- * we can check the second value
24924
- * for a match in the minutes column
24925
- */
24926
- const minuteValueAgain = value.length === 1
24927
- ? inputEl.value.substring(1, inputEl.value.length)
24928
- : inputEl.value.substring(2, inputEl.value.length);
24929
- this.searchColumn(lastColumn, minuteValueAgain, 'end');
24930
- break;
24931
- default:
24932
- const startIndex = inputEl.value.length - 4;
24933
- const newString = inputEl.value.substring(startIndex);
24934
- inputEl.value = newString;
24935
- this.selectMultiColumn();
24936
- break;
24937
- }
24938
- };
24939
- /**
24940
- * Searches the value of the active column
24941
- * to determine which value users are trying
24942
- * to select
24943
- */
24944
- this.onInputChange = () => {
24945
- const { useInputMode, inputEl, inputModeColumn } = this;
24946
- if (!useInputMode || !inputEl) {
24947
- return;
24948
- }
24949
- if (inputModeColumn) {
24950
- this.selectSingleColumn();
24951
- }
24952
- else {
24953
- this.selectMultiColumn();
24954
- }
24955
- };
24956
- /**
24957
- * Emit ionInputModeChange. Picker columns
24958
- * listen for this event to determine whether
24959
- * or not their column is "active" for text input.
24960
- */
24961
- this.emitInputModeChange = () => {
24962
- const { useInputMode, inputModeColumn } = this;
24963
- this.ionInputModeChange.emit({
24964
- useInputMode,
24965
- inputModeColumn,
24966
- });
24967
- };
24968
- }
24969
- /**
24970
- * When the picker is interacted with
24971
- * we need to prevent touchstart so other
24972
- * gestures do not fire. For example,
24973
- * scrolling on the wheel picker
24974
- * in ion-datetime should not cause
24975
- * a card modal to swipe to close.
24976
- */
24977
- preventTouchStartPropagation(ev) {
24978
- ev.stopPropagation();
24979
- }
24980
- componentWillLoad() {
24981
- getElementRoot(this.el).addEventListener('focusin', this.onFocusIn);
24982
- getElementRoot(this.el).addEventListener('focusout', this.onFocusOut);
24983
- }
24984
- /**
24985
- * @internal
24986
- * Exits text entry mode for the picker
24987
- * This method blurs the hidden input
24988
- * and cause the keyboard to dismiss.
24989
- */
24990
- async exitInputMode() {
24991
- const { inputEl, useInputMode } = this;
24992
- if (!useInputMode || !inputEl) {
24993
- return;
24994
- }
24995
- this.useInputMode = false;
24996
- this.inputModeColumn = undefined;
24997
- inputEl.blur();
24998
- inputEl.value = '';
24999
- if (this.destroyKeypressListener) {
25000
- this.destroyKeypressListener();
25001
- this.destroyKeypressListener = undefined;
25002
- }
25003
- this.emitInputModeChange();
25004
- }
25005
- render() {
25006
- return (hAsync(Host, { onPointerDown: (ev) => this.onPointerDown(ev), onClick: () => this.onClick() }, hAsync("input", { "aria-hidden": "true", tabindex: -1, inputmode: "numeric", type: "number", ref: (el) => (this.inputEl = el), onInput: () => this.onInputChange(), onBlur: () => this.exitInputMode() }), hAsync("div", { class: "picker-before" }), hAsync("div", { class: "picker-after" }), hAsync("div", { class: "picker-highlight", ref: (el) => (this.highlightEl = el) }), hAsync("slot", null)));
25007
- }
25008
- get el() { return getElement(this); }
25009
- static get style() { return {
25010
- ios: pickerIosCss$1,
25011
- md: pickerMdCss$1
25012
- }; }
25013
- static get cmpMeta() { return {
25014
- "$flags$": 41,
25015
- "$tagName$": "ion-picker",
25016
- "$members$": {
25017
- "exitInputMode": [64]
25018
- },
25019
- "$listeners$": [[1, "touchstart", "preventTouchStartPropagation"]],
25020
- "$lazyBundleId$": "-",
25021
- "$attrsToReflect$": []
25022
- }; }
25023
- }
25024
-
25025
24548
  /**
25026
24549
  * iOS Picker Enter Animation
25027
24550
  */
@@ -25066,9 +24589,9 @@ const iosLeaveAnimation$2 = (baseEl) => {
25066
24589
  .addAnimation([backdropAnimation, wrapperAnimation]);
25067
24590
  };
25068
24591
 
25069
- const pickerIosCss = ".sc-ion-picker-legacy-ios-h{--border-radius:0;--border-style:solid;--min-width:auto;--width:100%;--max-width:500px;--min-height:auto;--max-height:auto;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;top:0;display:block;position:absolute;width:100%;height:100%;outline:none;font-family:var(--ion-font-family, inherit);contain:strict;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1001}@supports (inset-inline-start: 0){.sc-ion-picker-legacy-ios-h{inset-inline-start:0}}@supports not (inset-inline-start: 0){.sc-ion-picker-legacy-ios-h{left:0}[dir=rtl].sc-ion-picker-legacy-ios-h,[dir=rtl] .sc-ion-picker-legacy-ios-h{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){.sc-ion-picker-legacy-ios-h:dir(rtl){left:unset;right:unset;right:0}}}.overlay-hidden.sc-ion-picker-legacy-ios-h{display:none}.picker-wrapper.sc-ion-picker-legacy-ios{border-radius:var(--border-radius);left:0;right:0;bottom:0;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:auto;margin-bottom:auto;-webkit-transform:translate3d(0, 100%, 0);transform:translate3d(0, 100%, 0);display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:column;flex-direction:column;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);contain:strict;overflow:hidden;z-index:10}.picker-toolbar.sc-ion-picker-legacy-ios{width:100%;background:transparent;contain:strict;z-index:1}.picker-button.sc-ion-picker-legacy-ios{border:0;font-family:inherit}.picker-button.sc-ion-picker-legacy-ios:active,.picker-button.sc-ion-picker-legacy-ios:focus{outline:none}.picker-columns.sc-ion-picker-legacy-ios{display:-ms-flexbox;display:flex;position:relative;-ms-flex-pack:center;justify-content:center;margin-bottom:var(--ion-safe-area-bottom, 0);contain:strict;overflow:hidden}.picker-above-highlight.sc-ion-picker-legacy-ios,.picker-below-highlight.sc-ion-picker-legacy-ios{display:none;pointer-events:none}.sc-ion-picker-legacy-ios-h{--background:var(--ion-background-color, #fff);--border-width:1px 0 0;--border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-250, #c8c7cc)));--height:260px;--backdrop-opacity:var(--ion-backdrop-opacity, 0.26);color:var(--ion-item-color, var(--ion-text-color, #000))}.picker-toolbar.sc-ion-picker-legacy-ios{display:-ms-flexbox;display:flex;height:44px;border-bottom:0.55px solid var(--border-color)}.picker-toolbar-button.sc-ion-picker-legacy-ios{-ms-flex:1;flex:1;text-align:end}.picker-toolbar-button.sc-ion-picker-legacy-ios:last-child .picker-button.sc-ion-picker-legacy-ios{font-weight:600}.picker-toolbar-button.sc-ion-picker-legacy-ios:first-child{font-weight:normal;text-align:start}.picker-button.sc-ion-picker-legacy-ios,.picker-button.ion-activated.sc-ion-picker-legacy-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-padding-start:1em;padding-inline-start:1em;-webkit-padding-end:1em;padding-inline-end:1em;padding-top:0;padding-bottom:0;height:44px;background:transparent;color:var(--ion-color-primary, #3880ff);font-size:16px}.picker-columns.sc-ion-picker-legacy-ios{height:215px;-webkit-perspective:1000px;perspective:1000px}.picker-above-highlight.sc-ion-picker-legacy-ios{top:0;-webkit-transform:translate3d(0, 0, 90px);transform:translate3d(0, 0, 90px);display:block;position:absolute;width:100%;height:81px;border-bottom:1px solid var(--border-color);background:-webkit-gradient(linear, left top, left bottom, color-stop(20%, var(--background, var(--ion-background-color, #fff))), to(rgba(var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255)), 0.8)));background:linear-gradient(to bottom, var(--background, var(--ion-background-color, #fff)) 20%, rgba(var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255)), 0.8) 100%);z-index:10}@supports (inset-inline-start: 0){.picker-above-highlight.sc-ion-picker-legacy-ios{inset-inline-start:0}}@supports not (inset-inline-start: 0){.picker-above-highlight.sc-ion-picker-legacy-ios{left:0}[dir=rtl].sc-ion-picker-legacy-ios-h .picker-above-highlight.sc-ion-picker-legacy-ios,[dir=rtl] .sc-ion-picker-legacy-ios-h .picker-above-highlight.sc-ion-picker-legacy-ios{left:unset;right:unset;right:0}[dir=rtl].sc-ion-picker-legacy-ios .picker-above-highlight.sc-ion-picker-legacy-ios{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){.picker-above-highlight.sc-ion-picker-legacy-ios:dir(rtl){left:unset;right:unset;right:0}}}.picker-below-highlight.sc-ion-picker-legacy-ios{top:115px;-webkit-transform:translate3d(0, 0, 90px);transform:translate3d(0, 0, 90px);display:block;position:absolute;width:100%;height:119px;border-top:1px solid var(--border-color);background:-webkit-gradient(linear, left bottom, left top, color-stop(30%, var(--background, var(--ion-background-color, #fff))), to(rgba(var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255)), 0.8)));background:linear-gradient(to top, var(--background, var(--ion-background-color, #fff)) 30%, rgba(var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255)), 0.8) 100%);z-index:11}@supports (inset-inline-start: 0){.picker-below-highlight.sc-ion-picker-legacy-ios{inset-inline-start:0}}@supports not (inset-inline-start: 0){.picker-below-highlight.sc-ion-picker-legacy-ios{left:0}[dir=rtl].sc-ion-picker-legacy-ios-h .picker-below-highlight.sc-ion-picker-legacy-ios,[dir=rtl] .sc-ion-picker-legacy-ios-h .picker-below-highlight.sc-ion-picker-legacy-ios{left:unset;right:unset;right:0}[dir=rtl].sc-ion-picker-legacy-ios .picker-below-highlight.sc-ion-picker-legacy-ios{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){.picker-below-highlight.sc-ion-picker-legacy-ios:dir(rtl){left:unset;right:unset;right:0}}}";
24592
+ const pickerIosCss = ".sc-ion-picker-ios-h{--border-radius:0;--border-style:solid;--min-width:auto;--width:100%;--max-width:500px;--min-height:auto;--max-height:auto;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;top:0;display:block;position:absolute;width:100%;height:100%;outline:none;font-family:var(--ion-font-family, inherit);contain:strict;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1001}@supports (inset-inline-start: 0){.sc-ion-picker-ios-h{inset-inline-start:0}}@supports not (inset-inline-start: 0){.sc-ion-picker-ios-h{left:0}[dir=rtl].sc-ion-picker-ios-h,[dir=rtl] .sc-ion-picker-ios-h{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){.sc-ion-picker-ios-h:dir(rtl){left:unset;right:unset;right:0}}}.overlay-hidden.sc-ion-picker-ios-h{display:none}.picker-wrapper.sc-ion-picker-ios{border-radius:var(--border-radius);left:0;right:0;bottom:0;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:auto;margin-bottom:auto;-webkit-transform:translate3d(0, 100%, 0);transform:translate3d(0, 100%, 0);display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:column;flex-direction:column;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);contain:strict;overflow:hidden;z-index:10}.picker-toolbar.sc-ion-picker-ios{width:100%;background:transparent;contain:strict;z-index:1}.picker-button.sc-ion-picker-ios{border:0;font-family:inherit}.picker-button.sc-ion-picker-ios:active,.picker-button.sc-ion-picker-ios:focus{outline:none}.picker-columns.sc-ion-picker-ios{display:-ms-flexbox;display:flex;position:relative;-ms-flex-pack:center;justify-content:center;margin-bottom:var(--ion-safe-area-bottom, 0);contain:strict;overflow:hidden}.picker-above-highlight.sc-ion-picker-ios,.picker-below-highlight.sc-ion-picker-ios{display:none;pointer-events:none}.sc-ion-picker-ios-h{--background:var(--ion-background-color, #fff);--border-width:1px 0 0;--border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-250, #c8c7cc)));--height:260px;--backdrop-opacity:var(--ion-backdrop-opacity, 0.26);color:var(--ion-item-color, var(--ion-text-color, #000))}.picker-toolbar.sc-ion-picker-ios{display:-ms-flexbox;display:flex;height:44px;border-bottom:0.55px solid var(--border-color)}.picker-toolbar-button.sc-ion-picker-ios{-ms-flex:1;flex:1;text-align:end}.picker-toolbar-button.sc-ion-picker-ios:last-child .picker-button.sc-ion-picker-ios{font-weight:600}.picker-toolbar-button.sc-ion-picker-ios:first-child{font-weight:normal;text-align:start}.picker-button.sc-ion-picker-ios,.picker-button.ion-activated.sc-ion-picker-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-padding-start:1em;padding-inline-start:1em;-webkit-padding-end:1em;padding-inline-end:1em;padding-top:0;padding-bottom:0;height:44px;background:transparent;color:var(--ion-color-primary, #3880ff);font-size:16px}.picker-columns.sc-ion-picker-ios{height:215px;-webkit-perspective:1000px;perspective:1000px}.picker-above-highlight.sc-ion-picker-ios{top:0;-webkit-transform:translate3d(0, 0, 90px);transform:translate3d(0, 0, 90px);display:block;position:absolute;width:100%;height:81px;border-bottom:1px solid var(--border-color);background:-webkit-gradient(linear, left top, left bottom, color-stop(20%, var(--background, var(--ion-background-color, #fff))), to(rgba(var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255)), 0.8)));background:linear-gradient(to bottom, var(--background, var(--ion-background-color, #fff)) 20%, rgba(var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255)), 0.8) 100%);z-index:10}@supports (inset-inline-start: 0){.picker-above-highlight.sc-ion-picker-ios{inset-inline-start:0}}@supports not (inset-inline-start: 0){.picker-above-highlight.sc-ion-picker-ios{left:0}[dir=rtl].sc-ion-picker-ios-h .picker-above-highlight.sc-ion-picker-ios,[dir=rtl] .sc-ion-picker-ios-h .picker-above-highlight.sc-ion-picker-ios{left:unset;right:unset;right:0}[dir=rtl].sc-ion-picker-ios .picker-above-highlight.sc-ion-picker-ios{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){.picker-above-highlight.sc-ion-picker-ios:dir(rtl){left:unset;right:unset;right:0}}}.picker-below-highlight.sc-ion-picker-ios{top:115px;-webkit-transform:translate3d(0, 0, 90px);transform:translate3d(0, 0, 90px);display:block;position:absolute;width:100%;height:119px;border-top:1px solid var(--border-color);background:-webkit-gradient(linear, left bottom, left top, color-stop(30%, var(--background, var(--ion-background-color, #fff))), to(rgba(var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255)), 0.8)));background:linear-gradient(to top, var(--background, var(--ion-background-color, #fff)) 30%, rgba(var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255)), 0.8) 100%);z-index:11}@supports (inset-inline-start: 0){.picker-below-highlight.sc-ion-picker-ios{inset-inline-start:0}}@supports not (inset-inline-start: 0){.picker-below-highlight.sc-ion-picker-ios{left:0}[dir=rtl].sc-ion-picker-ios-h .picker-below-highlight.sc-ion-picker-ios,[dir=rtl] .sc-ion-picker-ios-h .picker-below-highlight.sc-ion-picker-ios{left:unset;right:unset;right:0}[dir=rtl].sc-ion-picker-ios .picker-below-highlight.sc-ion-picker-ios{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){.picker-below-highlight.sc-ion-picker-ios:dir(rtl){left:unset;right:unset;right:0}}}";
25070
24593
 
25071
- const pickerMdCss = ".sc-ion-picker-legacy-md-h{--border-radius:0;--border-style:solid;--min-width:auto;--width:100%;--max-width:500px;--min-height:auto;--max-height:auto;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;top:0;display:block;position:absolute;width:100%;height:100%;outline:none;font-family:var(--ion-font-family, inherit);contain:strict;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1001}@supports (inset-inline-start: 0){.sc-ion-picker-legacy-md-h{inset-inline-start:0}}@supports not (inset-inline-start: 0){.sc-ion-picker-legacy-md-h{left:0}[dir=rtl].sc-ion-picker-legacy-md-h,[dir=rtl] .sc-ion-picker-legacy-md-h{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){.sc-ion-picker-legacy-md-h:dir(rtl){left:unset;right:unset;right:0}}}.overlay-hidden.sc-ion-picker-legacy-md-h{display:none}.picker-wrapper.sc-ion-picker-legacy-md{border-radius:var(--border-radius);left:0;right:0;bottom:0;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:auto;margin-bottom:auto;-webkit-transform:translate3d(0, 100%, 0);transform:translate3d(0, 100%, 0);display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:column;flex-direction:column;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);contain:strict;overflow:hidden;z-index:10}.picker-toolbar.sc-ion-picker-legacy-md{width:100%;background:transparent;contain:strict;z-index:1}.picker-button.sc-ion-picker-legacy-md{border:0;font-family:inherit}.picker-button.sc-ion-picker-legacy-md:active,.picker-button.sc-ion-picker-legacy-md:focus{outline:none}.picker-columns.sc-ion-picker-legacy-md{display:-ms-flexbox;display:flex;position:relative;-ms-flex-pack:center;justify-content:center;margin-bottom:var(--ion-safe-area-bottom, 0);contain:strict;overflow:hidden}.picker-above-highlight.sc-ion-picker-legacy-md,.picker-below-highlight.sc-ion-picker-legacy-md{display:none;pointer-events:none}.sc-ion-picker-legacy-md-h{--background:var(--ion-background-color, #fff);--border-width:0.55px 0 0;--border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.13))));--height:260px;--backdrop-opacity:var(--ion-backdrop-opacity, 0.26);color:var(--ion-item-color, var(--ion-text-color, #000))}.picker-toolbar.sc-ion-picker-legacy-md{display:-ms-flexbox;display:flex;-ms-flex-pack:end;justify-content:flex-end;height:44px}.picker-button.sc-ion-picker-legacy-md,.picker-button.ion-activated.sc-ion-picker-legacy-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-padding-start:1.1em;padding-inline-start:1.1em;-webkit-padding-end:1.1em;padding-inline-end:1.1em;padding-top:0;padding-bottom:0;height:44px;background:transparent;color:var(--ion-color-primary, #3880ff);font-size:14px;font-weight:500;text-transform:uppercase;-webkit-box-shadow:none;box-shadow:none}.picker-columns.sc-ion-picker-legacy-md{height:216px;-webkit-perspective:1800px;perspective:1800px}.picker-above-highlight.sc-ion-picker-legacy-md{top:0;-webkit-transform:translate3d(0, 0, 90px);transform:translate3d(0, 0, 90px);position:absolute;width:100%;height:81px;border-bottom:1px solid var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.13))));background:-webkit-gradient(linear, left top, left bottom, color-stop(20%, var(--ion-background-color, #fff)), to(rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8)));background:linear-gradient(to bottom, var(--ion-background-color, #fff) 20%, rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8) 100%);z-index:10}@supports (inset-inline-start: 0){.picker-above-highlight.sc-ion-picker-legacy-md{inset-inline-start:0}}@supports not (inset-inline-start: 0){.picker-above-highlight.sc-ion-picker-legacy-md{left:0}[dir=rtl].sc-ion-picker-legacy-md-h .picker-above-highlight.sc-ion-picker-legacy-md,[dir=rtl] .sc-ion-picker-legacy-md-h .picker-above-highlight.sc-ion-picker-legacy-md{left:unset;right:unset;right:0}[dir=rtl].sc-ion-picker-legacy-md .picker-above-highlight.sc-ion-picker-legacy-md{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){.picker-above-highlight.sc-ion-picker-legacy-md:dir(rtl){left:unset;right:unset;right:0}}}.picker-below-highlight.sc-ion-picker-legacy-md{top:115px;-webkit-transform:translate3d(0, 0, 90px);transform:translate3d(0, 0, 90px);position:absolute;width:100%;height:119px;border-top:1px solid var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.13))));background:-webkit-gradient(linear, left bottom, left top, color-stop(30%, var(--ion-background-color, #fff)), to(rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8)));background:linear-gradient(to top, var(--ion-background-color, #fff) 30%, rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8) 100%);z-index:11}@supports (inset-inline-start: 0){.picker-below-highlight.sc-ion-picker-legacy-md{inset-inline-start:0}}@supports not (inset-inline-start: 0){.picker-below-highlight.sc-ion-picker-legacy-md{left:0}[dir=rtl].sc-ion-picker-legacy-md-h .picker-below-highlight.sc-ion-picker-legacy-md,[dir=rtl] .sc-ion-picker-legacy-md-h .picker-below-highlight.sc-ion-picker-legacy-md{left:unset;right:unset;right:0}[dir=rtl].sc-ion-picker-legacy-md .picker-below-highlight.sc-ion-picker-legacy-md{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){.picker-below-highlight.sc-ion-picker-legacy-md:dir(rtl){left:unset;right:unset;right:0}}}";
24594
+ const pickerMdCss = ".sc-ion-picker-md-h{--border-radius:0;--border-style:solid;--min-width:auto;--width:100%;--max-width:500px;--min-height:auto;--max-height:auto;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;top:0;display:block;position:absolute;width:100%;height:100%;outline:none;font-family:var(--ion-font-family, inherit);contain:strict;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1001}@supports (inset-inline-start: 0){.sc-ion-picker-md-h{inset-inline-start:0}}@supports not (inset-inline-start: 0){.sc-ion-picker-md-h{left:0}[dir=rtl].sc-ion-picker-md-h,[dir=rtl] .sc-ion-picker-md-h{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){.sc-ion-picker-md-h:dir(rtl){left:unset;right:unset;right:0}}}.overlay-hidden.sc-ion-picker-md-h{display:none}.picker-wrapper.sc-ion-picker-md{border-radius:var(--border-radius);left:0;right:0;bottom:0;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:auto;margin-bottom:auto;-webkit-transform:translate3d(0, 100%, 0);transform:translate3d(0, 100%, 0);display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:column;flex-direction:column;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);contain:strict;overflow:hidden;z-index:10}.picker-toolbar.sc-ion-picker-md{width:100%;background:transparent;contain:strict;z-index:1}.picker-button.sc-ion-picker-md{border:0;font-family:inherit}.picker-button.sc-ion-picker-md:active,.picker-button.sc-ion-picker-md:focus{outline:none}.picker-columns.sc-ion-picker-md{display:-ms-flexbox;display:flex;position:relative;-ms-flex-pack:center;justify-content:center;margin-bottom:var(--ion-safe-area-bottom, 0);contain:strict;overflow:hidden}.picker-above-highlight.sc-ion-picker-md,.picker-below-highlight.sc-ion-picker-md{display:none;pointer-events:none}.sc-ion-picker-md-h{--background:var(--ion-background-color, #fff);--border-width:0.55px 0 0;--border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.13))));--height:260px;--backdrop-opacity:var(--ion-backdrop-opacity, 0.26);color:var(--ion-item-color, var(--ion-text-color, #000))}.picker-toolbar.sc-ion-picker-md{display:-ms-flexbox;display:flex;-ms-flex-pack:end;justify-content:flex-end;height:44px}.picker-button.sc-ion-picker-md,.picker-button.ion-activated.sc-ion-picker-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-padding-start:1.1em;padding-inline-start:1.1em;-webkit-padding-end:1.1em;padding-inline-end:1.1em;padding-top:0;padding-bottom:0;height:44px;background:transparent;color:var(--ion-color-primary, #3880ff);font-size:14px;font-weight:500;text-transform:uppercase;-webkit-box-shadow:none;box-shadow:none}.picker-columns.sc-ion-picker-md{height:216px;-webkit-perspective:1800px;perspective:1800px}.picker-above-highlight.sc-ion-picker-md{top:0;-webkit-transform:translate3d(0, 0, 90px);transform:translate3d(0, 0, 90px);position:absolute;width:100%;height:81px;border-bottom:1px solid var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.13))));background:-webkit-gradient(linear, left top, left bottom, color-stop(20%, var(--ion-background-color, #fff)), to(rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8)));background:linear-gradient(to bottom, var(--ion-background-color, #fff) 20%, rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8) 100%);z-index:10}@supports (inset-inline-start: 0){.picker-above-highlight.sc-ion-picker-md{inset-inline-start:0}}@supports not (inset-inline-start: 0){.picker-above-highlight.sc-ion-picker-md{left:0}[dir=rtl].sc-ion-picker-md-h .picker-above-highlight.sc-ion-picker-md,[dir=rtl] .sc-ion-picker-md-h .picker-above-highlight.sc-ion-picker-md{left:unset;right:unset;right:0}[dir=rtl].sc-ion-picker-md .picker-above-highlight.sc-ion-picker-md{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){.picker-above-highlight.sc-ion-picker-md:dir(rtl){left:unset;right:unset;right:0}}}.picker-below-highlight.sc-ion-picker-md{top:115px;-webkit-transform:translate3d(0, 0, 90px);transform:translate3d(0, 0, 90px);position:absolute;width:100%;height:119px;border-top:1px solid var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.13))));background:-webkit-gradient(linear, left bottom, left top, color-stop(30%, var(--ion-background-color, #fff)), to(rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8)));background:linear-gradient(to top, var(--ion-background-color, #fff) 30%, rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8) 100%);z-index:11}@supports (inset-inline-start: 0){.picker-below-highlight.sc-ion-picker-md{inset-inline-start:0}}@supports not (inset-inline-start: 0){.picker-below-highlight.sc-ion-picker-md{left:0}[dir=rtl].sc-ion-picker-md-h .picker-below-highlight.sc-ion-picker-md,[dir=rtl] .sc-ion-picker-md-h .picker-below-highlight.sc-ion-picker-md{left:unset;right:unset;right:0}[dir=rtl].sc-ion-picker-md .picker-below-highlight.sc-ion-picker-md{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){.picker-below-highlight.sc-ion-picker-md:dir(rtl){left:unset;right:unset;right:0}}}";
25072
24595
 
25073
24596
  // TODO(FW-2832): types
25074
24597
  /**
@@ -25141,7 +24664,6 @@ class Picker {
25141
24664
  setOverlayId(this.el);
25142
24665
  }
25143
24666
  componentDidLoad() {
25144
- printIonWarning('ion-picker-legacy and ion-picker-legacy-column have been deprecated in favor of new versions of the ion-picker and ion-picker-column components. These new components display inline with your page content allowing for more presentation flexibility than before.', this.el);
25145
24667
  /**
25146
24668
  * If picker was rendered with isOpen="true"
25147
24669
  * then we should open picker immediately.
@@ -25149,6 +24671,16 @@ class Picker {
25149
24671
  if (this.isOpen === true) {
25150
24672
  raf(() => this.present());
25151
24673
  }
24674
+ /**
24675
+ * When binding values in frameworks such as Angular
24676
+ * it is possible for the value to be set after the Web Component
24677
+ * initializes but before the value watcher is set up in Stencil.
24678
+ * As a result, the watcher callback may not be fired.
24679
+ * We work around this by manually calling the watcher
24680
+ * callback when the component has loaded and the watcher
24681
+ * is configured.
24682
+ */
24683
+ this.triggerChanged();
25152
24684
  }
25153
24685
  /**
25154
24686
  * Present the picker overlay after it has been created.
@@ -25245,7 +24777,7 @@ class Picker {
25245
24777
  zIndex: `${20000 + this.overlayIndex}`,
25246
24778
  }, class: Object.assign({ [mode]: true,
25247
24779
  // Used internally for styling
25248
- [`picker-${mode}`]: true, 'overlay-hidden': true }, getClassMap(this.cssClass)), onIonBackdropTap: this.onBackdropTap, onIonPickerWillDismiss: this.dispatchCancelHandler }), hAsync("ion-backdrop", { visible: this.showBackdrop, tappable: this.backdropDismiss }), hAsync("div", { tabindex: "0" }), hAsync("div", { class: "picker-wrapper ion-overlay-wrapper", role: "dialog" }, hAsync("div", { class: "picker-toolbar" }, this.buttons.map((b) => (hAsync("div", { class: buttonWrapperClass(b) }, hAsync("button", { type: "button", onClick: () => this.buttonClick(b), class: buttonClass$1(b) }, b.text))))), hAsync("div", { class: "picker-columns" }, hAsync("div", { class: "picker-above-highlight" }), this.presented && this.columns.map((c) => hAsync("ion-picker-legacy-column", { col: c })), hAsync("div", { class: "picker-below-highlight" }))), hAsync("div", { tabindex: "0" })));
24780
+ [`picker-${mode}`]: true, 'overlay-hidden': true }, getClassMap(this.cssClass)), onIonBackdropTap: this.onBackdropTap, onIonPickerWillDismiss: this.dispatchCancelHandler }), hAsync("ion-backdrop", { visible: this.showBackdrop, tappable: this.backdropDismiss }), hAsync("div", { tabindex: "0" }), hAsync("div", { class: "picker-wrapper ion-overlay-wrapper", role: "dialog" }, hAsync("div", { class: "picker-toolbar" }, this.buttons.map((b) => (hAsync("div", { class: buttonWrapperClass(b) }, hAsync("button", { type: "button", onClick: () => this.buttonClick(b), class: buttonClass$1(b) }, b.text))))), hAsync("div", { class: "picker-columns" }, hAsync("div", { class: "picker-above-highlight" }), this.presented && this.columns.map((c) => hAsync("ion-picker-column", { col: c })), hAsync("div", { class: "picker-below-highlight" }))), hAsync("div", { tabindex: "0" })));
25249
24781
  }
25250
24782
  get el() { return getElement(this); }
25251
24783
  static get watchers() { return {
@@ -25258,7 +24790,7 @@ class Picker {
25258
24790
  }; }
25259
24791
  static get cmpMeta() { return {
25260
24792
  "$flags$": 34,
25261
- "$tagName$": "ion-picker-legacy",
24793
+ "$tagName$": "ion-picker",
25262
24794
  "$members$": {
25263
24795
  "overlayIndex": [2, "overlay-index"],
25264
24796
  "delegate": [16],
@@ -25298,15 +24830,379 @@ const buttonClass$1 = (button) => {
25298
24830
  return Object.assign({ 'picker-button': true, 'ion-activatable': true }, getClassMap(button.cssClass));
25299
24831
  };
25300
24832
 
25301
- const pickerColumnCss = "/*!@:host*/.sc-ion-picker-column-h{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;max-width:100%;height:200px;font-size:22px;text-align:center}/*!@.picker-opts*/.picker-opts.sc-ion-picker-column{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:0px;padding-bottom:0px;min-width:26px;max-height:200px;outline:none;text-align:inherit;-webkit-scroll-snap-type:y mandatory;-ms-scroll-snap-type:y mandatory;scroll-snap-type:y mandatory;overflow-x:hidden;overflow-y:scroll;scrollbar-width:none}/*!@.picker-item-empty*/.picker-item-empty.sc-ion-picker-column{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:block;width:100%;height:34px;border:0px;outline:none;background:transparent;color:inherit;font-family:var(--ion-font-family, inherit);font-size:inherit;line-height:34px;text-align:inherit;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}/*!@.picker-opts::-webkit-scrollbar*/.picker-opts.sc-ion-picker-column::-webkit-scrollbar{display:none}/*!@::slotted(ion-picker-column-option)*/.sc-ion-picker-column-s>ion-picker-column-option{display:block;scroll-snap-align:center}/*!@.picker-item-empty,\n:host(:not([disabled])) ::slotted(ion-picker-column-option.option-disabled)*/.picker-item-empty.sc-ion-picker-column,.sc-ion-picker-column-h:not([disabled]).sc-ion-picker-column-s>ion-picker-column-option.option-disabled,.sc-ion-picker-column-h:not([disabled]) .sc-ion-picker-column-s>ion-picker-column-option.option-disabled{scroll-snap-align:none}/*!@::slotted([slot=prefix]), ::slotted([slot=suffix])*/.sc-ion-picker-column-s>[slot=prefix],.sc-ion-picker-column-s>[slot=suffix]{max-width:200px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}/*!@::slotted([slot=prefix])*/.sc-ion-picker-column-s>[slot=prefix]{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:0;padding-bottom:0;-ms-flex-pack:end;justify-content:end}/*!@::slotted([slot=suffix])*/.sc-ion-picker-column-s>[slot=suffix]{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:0;padding-bottom:0;-ms-flex-pack:start;justify-content:start}/*!@:host(.picker-column-disabled) .picker-opts*/.picker-column-disabled.sc-ion-picker-column-h .picker-opts.sc-ion-picker-column{overflow-y:hidden}/*!@:host(.picker-column-disabled) ::slotted(ion-picker-column-option)*/.sc-ion-picker-column-h.picker-column-disabled .sc-ion-picker-column-s>ion-picker-column-option{cursor:default;opacity:0.4;pointer-events:none}@media (any-hover: hover){/*!@:host(:focus) .picker-opts*/.sc-ion-picker-column-h:focus .picker-opts.sc-ion-picker-column{outline:none;background:rgba(var(--ion-color-base-rgb), 0.2)}}";
24833
+ const pickerColumnIosCss = ".picker-col{display:-ms-flexbox;display:flex;position:relative;-ms-flex:1;flex:1;-ms-flex-pack:center;justify-content:center;height:100%;-webkit-box-sizing:content-box;box-sizing:content-box;contain:content}.picker-opts{position:relative;-ms-flex:1;flex:1;max-width:100%}.picker-opt{top:0;display:block;position:absolute;width:100%;border:0;text-align:center;text-overflow:ellipsis;white-space:nowrap;contain:strict;overflow:hidden;will-change:transform}@supports (inset-inline-start: 0){.picker-opt{inset-inline-start:0}}@supports not (inset-inline-start: 0){.picker-opt{left:0}:host-context([dir=rtl]) .picker-opt{left:unset;right:unset;right:0}[dir=rtl] .picker-opt{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){.picker-opt:dir(rtl){left:unset;right:unset;right:0}}}.picker-opt.picker-opt-disabled{pointer-events:none}.picker-opt-disabled{opacity:0}.picker-opts-left{-ms-flex-pack:start;justify-content:flex-start}.picker-opts-right{-ms-flex-pack:end;justify-content:flex-end}.picker-opt:active,.picker-opt:focus{outline:none}.picker-prefix{position:relative;-ms-flex:1;flex:1;text-align:end;white-space:nowrap}.picker-suffix{position:relative;-ms-flex:1;flex:1;text-align:start;white-space:nowrap}.picker-col{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:4px;padding-inline-end:4px;padding-top:0;padding-bottom:0;-webkit-transform-style:preserve-3d;transform-style:preserve-3d}.picker-prefix,.picker-suffix,.picker-opts{top:77px;-webkit-transform-style:preserve-3d;transform-style:preserve-3d;color:inherit;font-size:20px;line-height:42px;pointer-events:none}.picker-opt{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-transform-origin:center center;transform-origin:center center;height:46px;-webkit-transform-style:preserve-3d;transform-style:preserve-3d;-webkit-transition-timing-function:ease-out;transition-timing-function:ease-out;background:transparent;color:inherit;font-size:20px;line-height:42px;-webkit-backface-visibility:hidden;backface-visibility:hidden;pointer-events:auto}:host-context([dir=rtl]) .picker-opt{-webkit-transform-origin:calc(100% - center) center;transform-origin:calc(100% - center) center}[dir=rtl] .picker-opt{-webkit-transform-origin:calc(100% - center) center;transform-origin:calc(100% - center) center}@supports selector(:dir(rtl)){.picker-opt:dir(rtl){-webkit-transform-origin:calc(100% - center) center;transform-origin:calc(100% - center) center}}";
24834
+
24835
+ const pickerColumnMdCss = ".picker-col{display:-ms-flexbox;display:flex;position:relative;-ms-flex:1;flex:1;-ms-flex-pack:center;justify-content:center;height:100%;-webkit-box-sizing:content-box;box-sizing:content-box;contain:content}.picker-opts{position:relative;-ms-flex:1;flex:1;max-width:100%}.picker-opt{top:0;display:block;position:absolute;width:100%;border:0;text-align:center;text-overflow:ellipsis;white-space:nowrap;contain:strict;overflow:hidden;will-change:transform}@supports (inset-inline-start: 0){.picker-opt{inset-inline-start:0}}@supports not (inset-inline-start: 0){.picker-opt{left:0}:host-context([dir=rtl]) .picker-opt{left:unset;right:unset;right:0}[dir=rtl] .picker-opt{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){.picker-opt:dir(rtl){left:unset;right:unset;right:0}}}.picker-opt.picker-opt-disabled{pointer-events:none}.picker-opt-disabled{opacity:0}.picker-opts-left{-ms-flex-pack:start;justify-content:flex-start}.picker-opts-right{-ms-flex-pack:end;justify-content:flex-end}.picker-opt:active,.picker-opt:focus{outline:none}.picker-prefix{position:relative;-ms-flex:1;flex:1;text-align:end;white-space:nowrap}.picker-suffix{position:relative;-ms-flex:1;flex:1;text-align:start;white-space:nowrap}.picker-col{-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px;padding-top:0;padding-bottom:0;-webkit-transform-style:preserve-3d;transform-style:preserve-3d}.picker-prefix,.picker-suffix,.picker-opts{top:77px;-webkit-transform-style:preserve-3d;transform-style:preserve-3d;color:inherit;font-size:22px;line-height:42px;pointer-events:none}.picker-opt{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;height:43px;-webkit-transition-timing-function:ease-out;transition-timing-function:ease-out;background:transparent;color:inherit;font-size:22px;line-height:42px;-webkit-backface-visibility:hidden;backface-visibility:hidden;pointer-events:auto}.picker-prefix,.picker-suffix,.picker-opt.picker-opt-selected{color:var(--ion-color-primary, #3880ff)}";
24836
+
24837
+ /**
24838
+ * @internal
24839
+ */
24840
+ class PickerColumnCmp {
24841
+ constructor(hostRef) {
24842
+ registerInstance(this, hostRef);
24843
+ this.ionPickerColChange = createEvent(this, "ionPickerColChange", 7);
24844
+ this.optHeight = 0;
24845
+ this.rotateFactor = 0;
24846
+ this.scaleFactor = 1;
24847
+ this.velocity = 0;
24848
+ this.y = 0;
24849
+ this.noAnimate = true;
24850
+ // `colDidChange` is a flag that gets set when the column is changed
24851
+ // dynamically. When this flag is set, the column will refresh
24852
+ // after the component re-renders to incorporate the new column data.
24853
+ // This is necessary because `this.refresh` queries for the option elements,
24854
+ // so it needs to wait for the latest elements to be available in the DOM.
24855
+ // Ex: column is created with 3 options. User updates the column data
24856
+ // to have 5 options. The column will still think it only has 3 options.
24857
+ this.colDidChange = false;
24858
+ this.col = undefined;
24859
+ }
24860
+ colChanged() {
24861
+ this.colDidChange = true;
24862
+ }
24863
+ async connectedCallback() {
24864
+ let pickerRotateFactor = 0;
24865
+ let pickerScaleFactor = 0.81;
24866
+ const mode = getIonMode$1(this);
24867
+ if (mode === 'ios') {
24868
+ pickerRotateFactor = -0.46;
24869
+ pickerScaleFactor = 1;
24870
+ }
24871
+ this.rotateFactor = pickerRotateFactor;
24872
+ this.scaleFactor = pickerScaleFactor;
24873
+ this.gesture = (await Promise.resolve().then(function () { return index; })).createGesture({
24874
+ el: this.el,
24875
+ gestureName: 'picker-swipe',
24876
+ gesturePriority: 100,
24877
+ threshold: 0,
24878
+ passive: false,
24879
+ onStart: (ev) => this.onStart(ev),
24880
+ onMove: (ev) => this.onMove(ev),
24881
+ onEnd: (ev) => this.onEnd(ev),
24882
+ });
24883
+ this.gesture.enable();
24884
+ // Options have not been initialized yet
24885
+ // Animation must be disabled through the `noAnimate` flag
24886
+ // Otherwise, the options will render
24887
+ // at the top of the column and transition down
24888
+ this.tmrId = setTimeout(() => {
24889
+ this.noAnimate = false;
24890
+ // After initialization, `refresh()` will be called
24891
+ // At this point, animation will be enabled. The options will
24892
+ // animate as they are being selected.
24893
+ this.refresh(true);
24894
+ }, 250);
24895
+ }
24896
+ componentDidLoad() {
24897
+ this.onDomChange();
24898
+ }
24899
+ componentDidUpdate() {
24900
+ // Options may have changed since last update.
24901
+ if (this.colDidChange) {
24902
+ // Animation must be disabled through the `onDomChange` parameter.
24903
+ // Otherwise, the recently added options will render
24904
+ // at the top of the column and transition down
24905
+ this.onDomChange(true, false);
24906
+ this.colDidChange = false;
24907
+ }
24908
+ }
24909
+ disconnectedCallback() {
24910
+ if (this.rafId !== undefined)
24911
+ cancelAnimationFrame(this.rafId);
24912
+ if (this.tmrId)
24913
+ clearTimeout(this.tmrId);
24914
+ if (this.gesture) {
24915
+ this.gesture.destroy();
24916
+ this.gesture = undefined;
24917
+ }
24918
+ }
24919
+ emitColChange() {
24920
+ this.ionPickerColChange.emit(this.col);
24921
+ }
24922
+ setSelected(selectedIndex, duration) {
24923
+ // if there is a selected index, then figure out it's y position
24924
+ // if there isn't a selected index, then just use the top y position
24925
+ const y = selectedIndex > -1 ? -(selectedIndex * this.optHeight) : 0;
24926
+ this.velocity = 0;
24927
+ // set what y position we're at
24928
+ if (this.rafId !== undefined)
24929
+ cancelAnimationFrame(this.rafId);
24930
+ this.update(y, duration, true);
24931
+ this.emitColChange();
24932
+ }
24933
+ update(y, duration, saveY) {
24934
+ if (!this.optsEl) {
24935
+ return;
24936
+ }
24937
+ // ensure we've got a good round number :)
24938
+ let translateY = 0;
24939
+ let translateZ = 0;
24940
+ const { col, rotateFactor } = this;
24941
+ const prevSelected = col.selectedIndex;
24942
+ const selectedIndex = (col.selectedIndex = this.indexForY(-y));
24943
+ const durationStr = duration === 0 ? '' : duration + 'ms';
24944
+ const scaleStr = `scale(${this.scaleFactor})`;
24945
+ const children = this.optsEl.children;
24946
+ for (let i = 0; i < children.length; i++) {
24947
+ const button = children[i];
24948
+ const opt = col.options[i];
24949
+ const optOffset = i * this.optHeight + y;
24950
+ let transform = '';
24951
+ if (rotateFactor !== 0) {
24952
+ const rotateX = optOffset * rotateFactor;
24953
+ if (Math.abs(rotateX) <= 90) {
24954
+ translateY = 0;
24955
+ translateZ = 90;
24956
+ transform = `rotateX(${rotateX}deg) `;
24957
+ }
24958
+ else {
24959
+ translateY = -9999;
24960
+ }
24961
+ }
24962
+ else {
24963
+ translateZ = 0;
24964
+ translateY = optOffset;
24965
+ }
24966
+ const selected = selectedIndex === i;
24967
+ transform += `translate3d(0px,${translateY}px,${translateZ}px) `;
24968
+ if (this.scaleFactor !== 1 && !selected) {
24969
+ transform += scaleStr;
24970
+ }
24971
+ // Update transition duration
24972
+ if (this.noAnimate) {
24973
+ opt.duration = 0;
24974
+ button.style.transitionDuration = '';
24975
+ }
24976
+ else if (duration !== opt.duration) {
24977
+ opt.duration = duration;
24978
+ button.style.transitionDuration = durationStr;
24979
+ }
24980
+ // Update transform
24981
+ if (transform !== opt.transform) {
24982
+ opt.transform = transform;
24983
+ }
24984
+ button.style.transform = transform;
24985
+ /**
24986
+ * Ensure that the select column
24987
+ * item has the selected class
24988
+ */
24989
+ opt.selected = selected;
24990
+ if (selected) {
24991
+ button.classList.add(PICKER_OPT_SELECTED);
24992
+ }
24993
+ else {
24994
+ button.classList.remove(PICKER_OPT_SELECTED);
24995
+ }
24996
+ }
24997
+ this.col.prevSelected = prevSelected;
24998
+ if (saveY) {
24999
+ this.y = y;
25000
+ }
25001
+ if (this.lastIndex !== selectedIndex) {
25002
+ // have not set a last index yet
25003
+ hapticSelectionChanged();
25004
+ this.lastIndex = selectedIndex;
25005
+ }
25006
+ }
25007
+ decelerate() {
25008
+ if (this.velocity !== 0) {
25009
+ // still decelerating
25010
+ this.velocity *= DECELERATION_FRICTION;
25011
+ // do not let it go slower than a velocity of 1
25012
+ this.velocity = this.velocity > 0 ? Math.max(this.velocity, 1) : Math.min(this.velocity, -1);
25013
+ let y = this.y + this.velocity;
25014
+ if (y > this.minY) {
25015
+ // whoops, it's trying to scroll up farther than the options we have!
25016
+ y = this.minY;
25017
+ this.velocity = 0;
25018
+ }
25019
+ else if (y < this.maxY) {
25020
+ // gahh, it's trying to scroll down farther than we can!
25021
+ y = this.maxY;
25022
+ this.velocity = 0;
25023
+ }
25024
+ this.update(y, 0, true);
25025
+ const notLockedIn = Math.round(y) % this.optHeight !== 0 || Math.abs(this.velocity) > 1;
25026
+ if (notLockedIn) {
25027
+ // isn't locked in yet, keep decelerating until it is
25028
+ this.rafId = requestAnimationFrame(() => this.decelerate());
25029
+ }
25030
+ else {
25031
+ this.velocity = 0;
25032
+ this.emitColChange();
25033
+ hapticSelectionEnd();
25034
+ }
25035
+ }
25036
+ else if (this.y % this.optHeight !== 0) {
25037
+ // needs to still get locked into a position so options line up
25038
+ const currentPos = Math.abs(this.y % this.optHeight);
25039
+ // create a velocity in the direction it needs to scroll
25040
+ this.velocity = currentPos > this.optHeight / 2 ? 1 : -1;
25041
+ this.decelerate();
25042
+ }
25043
+ }
25044
+ indexForY(y) {
25045
+ return Math.min(Math.max(Math.abs(Math.round(y / this.optHeight)), 0), this.col.options.length - 1);
25046
+ }
25047
+ onStart(detail) {
25048
+ // We have to prevent default in order to block scrolling under the picker
25049
+ // but we DO NOT have to stop propagation, since we still want
25050
+ // some "click" events to capture
25051
+ if (detail.event.cancelable) {
25052
+ detail.event.preventDefault();
25053
+ }
25054
+ detail.event.stopPropagation();
25055
+ hapticSelectionStart();
25056
+ // reset everything
25057
+ if (this.rafId !== undefined)
25058
+ cancelAnimationFrame(this.rafId);
25059
+ const options = this.col.options;
25060
+ let minY = options.length - 1;
25061
+ let maxY = 0;
25062
+ for (let i = 0; i < options.length; i++) {
25063
+ if (!options[i].disabled) {
25064
+ minY = Math.min(minY, i);
25065
+ maxY = Math.max(maxY, i);
25066
+ }
25067
+ }
25068
+ this.minY = -(minY * this.optHeight);
25069
+ this.maxY = -(maxY * this.optHeight);
25070
+ }
25071
+ onMove(detail) {
25072
+ if (detail.event.cancelable) {
25073
+ detail.event.preventDefault();
25074
+ }
25075
+ detail.event.stopPropagation();
25076
+ // update the scroll position relative to pointer start position
25077
+ let y = this.y + detail.deltaY;
25078
+ if (y > this.minY) {
25079
+ // scrolling up higher than scroll area
25080
+ y = Math.pow(y, 0.8);
25081
+ this.bounceFrom = y;
25082
+ }
25083
+ else if (y < this.maxY) {
25084
+ // scrolling down below scroll area
25085
+ y += Math.pow(this.maxY - y, 0.9);
25086
+ this.bounceFrom = y;
25087
+ }
25088
+ else {
25089
+ this.bounceFrom = 0;
25090
+ }
25091
+ this.update(y, 0, false);
25092
+ }
25093
+ onEnd(detail) {
25094
+ if (this.bounceFrom > 0) {
25095
+ // bounce back up
25096
+ this.update(this.minY, 100, true);
25097
+ this.emitColChange();
25098
+ return;
25099
+ }
25100
+ else if (this.bounceFrom < 0) {
25101
+ // bounce back down
25102
+ this.update(this.maxY, 100, true);
25103
+ this.emitColChange();
25104
+ return;
25105
+ }
25106
+ this.velocity = clamp(-MAX_PICKER_SPEED, detail.velocityY * 23, MAX_PICKER_SPEED);
25107
+ if (this.velocity === 0 && detail.deltaY === 0) {
25108
+ const opt = detail.event.target.closest('.picker-opt');
25109
+ if (opt === null || opt === void 0 ? void 0 : opt.hasAttribute('opt-index')) {
25110
+ this.setSelected(parseInt(opt.getAttribute('opt-index'), 10), TRANSITION_DURATION);
25111
+ }
25112
+ }
25113
+ else {
25114
+ this.y += detail.deltaY;
25115
+ if (Math.abs(detail.velocityY) < 0.05) {
25116
+ const isScrollingUp = detail.deltaY > 0;
25117
+ const optHeightFraction = (Math.abs(this.y) % this.optHeight) / this.optHeight;
25118
+ if (isScrollingUp && optHeightFraction > 0.5) {
25119
+ this.velocity = Math.abs(this.velocity) * -1;
25120
+ }
25121
+ else if (!isScrollingUp && optHeightFraction <= 0.5) {
25122
+ this.velocity = Math.abs(this.velocity);
25123
+ }
25124
+ }
25125
+ this.decelerate();
25126
+ }
25127
+ }
25128
+ refresh(forceRefresh, animated) {
25129
+ var _a;
25130
+ let min = this.col.options.length - 1;
25131
+ let max = 0;
25132
+ const options = this.col.options;
25133
+ for (let i = 0; i < options.length; i++) {
25134
+ if (!options[i].disabled) {
25135
+ min = Math.min(min, i);
25136
+ max = Math.max(max, i);
25137
+ }
25138
+ }
25139
+ /**
25140
+ * Only update selected value if column has a
25141
+ * velocity of 0. If it does not, then the
25142
+ * column is animating might land on
25143
+ * a value different than the value at
25144
+ * selectedIndex
25145
+ */
25146
+ if (this.velocity !== 0) {
25147
+ return;
25148
+ }
25149
+ const selectedIndex = clamp(min, (_a = this.col.selectedIndex) !== null && _a !== void 0 ? _a : 0, max);
25150
+ if (this.col.prevSelected !== selectedIndex || forceRefresh) {
25151
+ const y = selectedIndex * this.optHeight * -1;
25152
+ const duration = animated ? TRANSITION_DURATION : 0;
25153
+ this.velocity = 0;
25154
+ this.update(y, duration, true);
25155
+ }
25156
+ }
25157
+ onDomChange(forceRefresh, animated) {
25158
+ const colEl = this.optsEl;
25159
+ if (colEl) {
25160
+ // DOM READ
25161
+ // We perfom a DOM read over a rendered item, this needs to happen after the first render or after the the column has changed
25162
+ this.optHeight = colEl.firstElementChild ? colEl.firstElementChild.clientHeight : 0;
25163
+ }
25164
+ this.refresh(forceRefresh, animated);
25165
+ }
25166
+ render() {
25167
+ const col = this.col;
25168
+ const mode = getIonMode$1(this);
25169
+ return (hAsync(Host, { class: Object.assign({ [mode]: true, 'picker-col': true, 'picker-opts-left': this.col.align === 'left', 'picker-opts-right': this.col.align === 'right' }, getClassMap(col.cssClass)), style: {
25170
+ 'max-width': this.col.columnWidth,
25171
+ } }, col.prefix && (hAsync("div", { class: "picker-prefix", style: { width: col.prefixWidth } }, col.prefix)), hAsync("div", { class: "picker-opts", style: { maxWidth: col.optionsWidth }, ref: (el) => (this.optsEl = el) }, col.options.map((o, index) => (hAsync("button", { "aria-label": o.ariaLabel, class: { 'picker-opt': true, 'picker-opt-disabled': !!o.disabled }, "opt-index": index }, o.text)))), col.suffix && (hAsync("div", { class: "picker-suffix", style: { width: col.suffixWidth } }, col.suffix))));
25172
+ }
25173
+ get el() { return getElement(this); }
25174
+ static get watchers() { return {
25175
+ "col": ["colChanged"]
25176
+ }; }
25177
+ static get style() { return {
25178
+ ios: pickerColumnIosCss,
25179
+ md: pickerColumnMdCss
25180
+ }; }
25181
+ static get cmpMeta() { return {
25182
+ "$flags$": 32,
25183
+ "$tagName$": "ion-picker-column",
25184
+ "$members$": {
25185
+ "col": [16]
25186
+ },
25187
+ "$listeners$": undefined,
25188
+ "$lazyBundleId$": "-",
25189
+ "$attrsToReflect$": []
25190
+ }; }
25191
+ }
25192
+ const PICKER_OPT_SELECTED = 'picker-opt-selected';
25193
+ const DECELERATION_FRICTION = 0.97;
25194
+ const MAX_PICKER_SPEED = 90;
25195
+ const TRANSITION_DURATION = 150;
25196
+
25197
+ const pickerColumnInternalIosCss = "/*!@:host*/.sc-ion-picker-column-internal-ios-h{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:0px;padding-bottom:0px;height:200px;outline:none;font-size:22px;-webkit-scroll-snap-type:y mandatory;-ms-scroll-snap-type:y mandatory;scroll-snap-type:y mandatory;overflow-x:hidden;overflow-y:scroll;scrollbar-width:none;text-align:center}/*!@:host::-webkit-scrollbar*/.sc-ion-picker-column-internal-ios-h::-webkit-scrollbar{display:none}/*!@:host .picker-item*/.sc-ion-picker-column-internal-ios-h .picker-item.sc-ion-picker-column-internal-ios{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:block;width:100%;height:34px;border:0px;outline:none;background:transparent;color:inherit;font-family:var(--ion-font-family, inherit);font-size:inherit;line-height:34px;text-align:inherit;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;overflow:hidden;scroll-snap-align:center}/*!@:host .picker-item-empty,\n:host .picker-item[disabled]*/.sc-ion-picker-column-internal-ios-h .picker-item-empty.sc-ion-picker-column-internal-ios,.sc-ion-picker-column-internal-ios-h .picker-item[disabled].sc-ion-picker-column-internal-ios{cursor:default}/*!@:host .picker-item-empty,\n:host(:not([disabled])) .picker-item[disabled]*/.sc-ion-picker-column-internal-ios-h .picker-item-empty.sc-ion-picker-column-internal-ios,.sc-ion-picker-column-internal-ios-h:not([disabled]) .picker-item[disabled].sc-ion-picker-column-internal-ios{scroll-snap-align:none}/*!@:host([disabled])*/[disabled].sc-ion-picker-column-internal-ios-h{overflow-y:hidden}/*!@:host .picker-item[disabled]*/.sc-ion-picker-column-internal-ios-h .picker-item[disabled].sc-ion-picker-column-internal-ios{opacity:0.4}/*!@:host(.picker-column-active) .picker-item.picker-item-active*/.picker-column-active.sc-ion-picker-column-internal-ios-h .picker-item.picker-item-active.sc-ion-picker-column-internal-ios{color:var(--ion-color-base)}@media (any-hover: hover){/*!@:host(:focus)*/.sc-ion-picker-column-internal-ios-h:focus{outline:none;background:rgba(var(--ion-color-base-rgb), 0.2)}}";
25198
+
25199
+ const pickerColumnInternalMdCss = "/*!@:host*/.sc-ion-picker-column-internal-md-h{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:0px;padding-bottom:0px;height:200px;outline:none;font-size:22px;-webkit-scroll-snap-type:y mandatory;-ms-scroll-snap-type:y mandatory;scroll-snap-type:y mandatory;overflow-x:hidden;overflow-y:scroll;scrollbar-width:none;text-align:center}/*!@:host::-webkit-scrollbar*/.sc-ion-picker-column-internal-md-h::-webkit-scrollbar{display:none}/*!@:host .picker-item*/.sc-ion-picker-column-internal-md-h .picker-item.sc-ion-picker-column-internal-md{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:block;width:100%;height:34px;border:0px;outline:none;background:transparent;color:inherit;font-family:var(--ion-font-family, inherit);font-size:inherit;line-height:34px;text-align:inherit;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;overflow:hidden;scroll-snap-align:center}/*!@:host .picker-item-empty,\n:host .picker-item[disabled]*/.sc-ion-picker-column-internal-md-h .picker-item-empty.sc-ion-picker-column-internal-md,.sc-ion-picker-column-internal-md-h .picker-item[disabled].sc-ion-picker-column-internal-md{cursor:default}/*!@:host .picker-item-empty,\n:host(:not([disabled])) .picker-item[disabled]*/.sc-ion-picker-column-internal-md-h .picker-item-empty.sc-ion-picker-column-internal-md,.sc-ion-picker-column-internal-md-h:not([disabled]) .picker-item[disabled].sc-ion-picker-column-internal-md{scroll-snap-align:none}/*!@:host([disabled])*/[disabled].sc-ion-picker-column-internal-md-h{overflow-y:hidden}/*!@:host .picker-item[disabled]*/.sc-ion-picker-column-internal-md-h .picker-item[disabled].sc-ion-picker-column-internal-md{opacity:0.4}/*!@:host(.picker-column-active) .picker-item.picker-item-active*/.picker-column-active.sc-ion-picker-column-internal-md-h .picker-item.picker-item-active.sc-ion-picker-column-internal-md{color:var(--ion-color-base)}@media (any-hover: hover){/*!@:host(:focus)*/.sc-ion-picker-column-internal-md-h:focus{outline:none;background:rgba(var(--ion-color-base-rgb), 0.2)}}/*!@:host .picker-item-active*/.sc-ion-picker-column-internal-md-h .picker-item-active.sc-ion-picker-column-internal-md{color:var(--ion-color-base)}";
25302
25200
 
25303
25201
  /**
25304
25202
  * @virtualProp {"ios" | "md"} mode - The mode determines which platform styles to use.
25305
- *
25306
- * @slot prefix - Content to show on the left side of the picker options.
25307
- * @slot suffix - Content to show on the right side of the picker options.
25203
+ * @internal
25308
25204
  */
25309
- class PickerColumn {
25205
+ class PickerColumnInternal {
25310
25206
  constructor(hostRef) {
25311
25207
  registerInstance(this, hostRef);
25312
25208
  this.ionChange = createEvent(this, "ionChange", 7);
@@ -25314,11 +25210,11 @@ class PickerColumn {
25314
25210
  this.isColumnVisible = false;
25315
25211
  this.canExitInputMode = true;
25316
25212
  this.centerPickerItemInView = (target, smooth = true, canExitInputMode = true) => {
25317
- const { isColumnVisible, scrollEl } = this;
25318
- if (isColumnVisible && scrollEl) {
25213
+ const { el, isColumnVisible } = this;
25214
+ if (isColumnVisible) {
25319
25215
  // (Vertical offset from parent) - (three empty picker rows) + (half the height of the target to ensure the scroll triggers)
25320
25216
  const top = target.offsetTop - 3 * target.clientHeight + target.clientHeight / 2;
25321
- if (scrollEl.scrollTop !== top) {
25217
+ if (el.scrollTop !== top) {
25322
25218
  /**
25323
25219
  * Setting this flag prevents input
25324
25220
  * mode from exiting in the picker column's
@@ -25327,7 +25223,7 @@ class PickerColumn {
25327
25223
  * of these can cause a scroll to occur.
25328
25224
  */
25329
25225
  this.canExitInputMode = canExitInputMode;
25330
- scrollEl.scroll({
25226
+ el.scroll({
25331
25227
  top,
25332
25228
  left: 0,
25333
25229
  behavior: smooth ? 'smooth' : undefined,
@@ -25338,9 +25234,11 @@ class PickerColumn {
25338
25234
  this.setPickerItemActiveState = (item, isActive) => {
25339
25235
  if (isActive) {
25340
25236
  item.classList.add(PICKER_ITEM_ACTIVE_CLASS);
25237
+ item.part.add(PICKER_ITEM_ACTIVE_PART);
25341
25238
  }
25342
25239
  else {
25343
25240
  item.classList.remove(PICKER_ITEM_ACTIVE_CLASS);
25241
+ item.part.remove(PICKER_ITEM_ACTIVE_PART);
25344
25242
  }
25345
25243
  };
25346
25244
  /**
@@ -25394,13 +25292,11 @@ class PickerColumn {
25394
25292
  * be disabled on Android.
25395
25293
  */
25396
25294
  const enableHaptics = isPlatform('ios');
25397
- const { el, scrollEl } = this;
25295
+ const { el } = this;
25398
25296
  let timeout;
25399
25297
  let activeEl = this.activeItem;
25400
25298
  const scrollCallback = () => {
25401
25299
  raf(() => {
25402
- if (!scrollEl)
25403
- return;
25404
25300
  if (timeout) {
25405
25301
  clearTimeout(timeout);
25406
25302
  timeout = undefined;
@@ -25413,54 +25309,21 @@ class PickerColumn {
25413
25309
  * Select item in the center of the column
25414
25310
  * which is the month/year that we want to select
25415
25311
  */
25416
- const bbox = scrollEl.getBoundingClientRect();
25312
+ const bbox = el.getBoundingClientRect();
25417
25313
  const centerX = bbox.x + bbox.width / 2;
25418
25314
  const centerY = bbox.y + bbox.height / 2;
25419
- /**
25420
- * elementFromPoint returns the top-most element.
25421
- * This means that if an ion-backdrop is overlaying the
25422
- * picker then the appropriate picker column option will
25423
- * not be selected. To account for this, we use elementsFromPoint
25424
- * and use an Array.find to find the appropriate column option
25425
- * at that point.
25426
- *
25427
- * Additionally, the picker column could be used in the
25428
- * Shadow DOM (i.e. in ion-datetime) so we need to make
25429
- * sure we are choosing the correct host otherwise
25430
- * the elements returns by elementsFromPoint will be
25431
- * retargeted. To account for this, we check to see
25432
- * if the picker column has a parent shadow root. If
25433
- * so, we use that shadow root when doing elementsFromPoint.
25434
- * Otherwise, we just use the document.
25435
- */
25436
- const rootNode = el.getRootNode();
25437
- const hasParentShadow = rootNode instanceof ShadowRoot;
25438
- const referenceNode = hasParentShadow ? rootNode : doc;
25439
- /**
25440
- * If the reference node is undefined
25441
- * then it's likely that doc is undefined
25442
- * due to being in an SSR environment.
25443
- */
25444
- if (referenceNode === undefined) {
25445
- return;
25446
- }
25447
- const elementsAtPoint = referenceNode.elementsFromPoint(centerX, centerY);
25448
- /**
25449
- * elementsFromPoint can returns multiple elements
25450
- * so find the relevant picker column option if one exists.
25451
- */
25452
- const newActiveElement = elementsAtPoint.find((el) => el.tagName === 'ION-PICKER-COLUMN-OPTION');
25453
- if (activeEl !== undefined) {
25315
+ const activeElement = el.shadowRoot.elementFromPoint(centerX, centerY);
25316
+ if (activeEl !== null) {
25454
25317
  this.setPickerItemActiveState(activeEl, false);
25455
25318
  }
25456
- if (newActiveElement === undefined || newActiveElement.disabled) {
25319
+ if (activeElement === null || activeElement.disabled) {
25457
25320
  return;
25458
25321
  }
25459
25322
  /**
25460
25323
  * If we are selecting a new value,
25461
25324
  * we need to run haptics again.
25462
25325
  */
25463
- if (newActiveElement !== activeEl) {
25326
+ if (activeElement !== activeEl) {
25464
25327
  enableHaptics && hapticSelectionChanged();
25465
25328
  if (this.canExitInputMode) {
25466
25329
  /**
@@ -25477,8 +25340,8 @@ class PickerColumn {
25477
25340
  this.exitInputMode();
25478
25341
  }
25479
25342
  }
25480
- activeEl = newActiveElement;
25481
- this.setPickerItemActiveState(newActiveElement, true);
25343
+ activeEl = activeElement;
25344
+ this.setPickerItemActiveState(activeElement, true);
25482
25345
  timeout = setTimeout(() => {
25483
25346
  this.isScrolling = false;
25484
25347
  enableHaptics && hapticSelectionEnd();
@@ -25500,7 +25363,20 @@ class PickerColumn {
25500
25363
  * case, we should exit input mode.
25501
25364
  */
25502
25365
  this.canExitInputMode = true;
25503
- this.setValue(newActiveElement.value);
25366
+ const dataIndex = activeElement.getAttribute('data-index');
25367
+ /**
25368
+ * If no value it is
25369
+ * possible we hit one of the
25370
+ * empty padding columns.
25371
+ */
25372
+ if (dataIndex === null) {
25373
+ return;
25374
+ }
25375
+ const index = parseInt(dataIndex, 10);
25376
+ const selectedItem = this.items[index];
25377
+ if (selectedItem.value !== this.value) {
25378
+ this.setValue(selectedItem.value);
25379
+ }
25504
25380
  }, 250);
25505
25381
  });
25506
25382
  };
@@ -25509,11 +25385,9 @@ class PickerColumn {
25509
25385
  * does not fire when component is initially shown.
25510
25386
  */
25511
25387
  raf(() => {
25512
- if (!scrollEl)
25513
- return;
25514
- scrollEl.addEventListener('scroll', scrollCallback);
25388
+ el.addEventListener('scroll', scrollCallback);
25515
25389
  this.destroyScrollListener = () => {
25516
- scrollEl.removeEventListener('scroll', scrollCallback);
25390
+ el.removeEventListener('scroll', scrollCallback);
25517
25391
  };
25518
25392
  });
25519
25393
  };
@@ -25541,6 +25415,7 @@ class PickerColumn {
25541
25415
  };
25542
25416
  this.isActive = false;
25543
25417
  this.disabled = false;
25418
+ this.items = [];
25544
25419
  this.value = undefined;
25545
25420
  this.color = 'primary';
25546
25421
  this.numericInput = false;
@@ -25551,7 +25426,7 @@ class PickerColumn {
25551
25426
  * Only scroll the active item into view when the picker column
25552
25427
  * is actively visible to the user.
25553
25428
  */
25554
- this.scrollActiveItemIntoView(true);
25429
+ this.scrollActiveItemIntoView();
25555
25430
  }
25556
25431
  }
25557
25432
  /**
@@ -25589,33 +25464,36 @@ class PickerColumn {
25589
25464
  }
25590
25465
  };
25591
25466
  new IntersectionObserver(visibleCallback, { threshold: 0.001 }).observe(this.el);
25592
- const parentEl = (this.parentEl = this.el.closest('ion-picker'));
25467
+ const parentEl = (this.parentEl = this.el.closest('ion-picker-internal'));
25593
25468
  if (parentEl !== null) {
25594
25469
  // TODO(FW-2832): type
25595
25470
  parentEl.addEventListener('ionInputModeChange', (ev) => this.inputModeChange(ev));
25596
25471
  }
25597
25472
  }
25598
25473
  componentDidRender() {
25599
- const { el, activeItem, isColumnVisible, value } = this;
25600
- if (isColumnVisible && !activeItem) {
25601
- const firstOption = el.querySelector('ion-picker-column-option');
25602
- /**
25603
- * If the picker column does not have an active item and the current value
25604
- * does not match the first item in the picker column, that means
25605
- * the value is out of bounds. In this case, we assign the value to the
25606
- * first item to match the scroll position of the column.
25607
- *
25608
- */
25609
- if (firstOption !== null && firstOption.value !== value) {
25610
- this.setValue(firstOption.value);
25474
+ var _a;
25475
+ const { activeItem, items, isColumnVisible, value } = this;
25476
+ if (isColumnVisible) {
25477
+ if (activeItem) {
25478
+ this.scrollActiveItemIntoView();
25479
+ }
25480
+ else if (((_a = items[0]) === null || _a === void 0 ? void 0 : _a.value) !== value) {
25481
+ /**
25482
+ * If the picker column does not have an active item and the current value
25483
+ * does not match the first item in the picker column, that means
25484
+ * the value is out of bounds. In this case, we assign the value to the
25485
+ * first item to match the scroll position of the column.
25486
+ *
25487
+ */
25488
+ this.setValue(items[0].value);
25611
25489
  }
25612
25490
  }
25613
25491
  }
25614
25492
  /** @internal */
25615
- async scrollActiveItemIntoView(smooth = false) {
25493
+ async scrollActiveItemIntoView() {
25616
25494
  const activeEl = this.activeItem;
25617
25495
  if (activeEl) {
25618
- this.centerPickerItemInView(activeEl, smooth, false);
25496
+ this.centerPickerItemInView(activeEl, false, false);
25619
25497
  }
25620
25498
  }
25621
25499
  /**
@@ -25626,537 +25504,557 @@ class PickerColumn {
25626
25504
  * @internal
25627
25505
  */
25628
25506
  async setValue(value) {
25629
- if (this.disabled === true || this.value === value) {
25630
- return;
25631
- }
25507
+ const { items } = this;
25632
25508
  this.value = value;
25633
- this.ionChange.emit({ value });
25634
- }
25635
- /**
25636
- * Sets focus on the scrollable container within the picker column.
25637
- * Use this method instead of the global `pickerColumn.focus()`.
25638
- */
25639
- async setFocus() {
25640
- if (this.scrollEl) {
25641
- this.scrollEl.focus();
25509
+ const findItem = items.find((item) => item.value === value && item.disabled !== true);
25510
+ if (findItem) {
25511
+ this.ionChange.emit(findItem);
25642
25512
  }
25643
25513
  }
25644
25514
  get activeItem() {
25645
- const { value } = this;
25646
- const options = Array.from(this.el.querySelectorAll('ion-picker-column-option'));
25647
- return options.find((option) => {
25648
- /**
25649
- * If the whole picker column is disabled, the current value should appear active
25650
- * If the current value item is specifically disabled, it should not appear active
25651
- */
25652
- if (!this.disabled && option.disabled) {
25653
- return false;
25654
- }
25655
- return option.value === value;
25656
- });
25515
+ // If the whole picker column is disabled, the current value should appear active
25516
+ // If the current value item is specifically disabled, it should not appear active
25517
+ const selector = `.picker-item[data-value="${this.value}"]${this.disabled ? '' : ':not([disabled])'}`;
25518
+ return getElementRoot(this.el).querySelector(selector);
25657
25519
  }
25658
25520
  render() {
25659
- const { color, disabled, isActive, numericInput } = this;
25521
+ const { items, color, disabled: pickerDisabled, isActive, numericInput } = this;
25660
25522
  const mode = getIonMode$1(this);
25661
- return (hAsync(Host, { class: createColorClasses$1(color, {
25523
+ /**
25524
+ * exportparts is needed so ion-datetime can expose the parts
25525
+ * from two layers of shadow nesting. If this causes problems,
25526
+ * the attribute can be moved to datetime.tsx and set on every
25527
+ * instance of ion-picker-column-internal there instead.
25528
+ */
25529
+ return (hAsync(Host, { exportparts: `${PICKER_ITEM_PART}, ${PICKER_ITEM_ACTIVE_PART}`, disabled: pickerDisabled, tabindex: pickerDisabled ? null : 0, class: createColorClasses$1(color, {
25662
25530
  [mode]: true,
25663
25531
  ['picker-column-active']: isActive,
25664
25532
  ['picker-column-numeric-input']: numericInput,
25665
- ['picker-column-disabled']: disabled,
25666
- }) }, hAsync("slot", { name: "prefix" }), hAsync("div", { class: "picker-opts", tabindex: disabled ? undefined : 0, ref: (el) => {
25667
- this.scrollEl = el;
25668
- } }, hAsync("div", { class: "picker-item-empty", "aria-hidden": "true" }, "\u00A0"), hAsync("div", { class: "picker-item-empty", "aria-hidden": "true" }, "\u00A0"), hAsync("div", { class: "picker-item-empty", "aria-hidden": "true" }, "\u00A0"), hAsync("slot", null), hAsync("div", { class: "picker-item-empty", "aria-hidden": "true" }, "\u00A0"), hAsync("div", { class: "picker-item-empty", "aria-hidden": "true" }, "\u00A0"), hAsync("div", { class: "picker-item-empty", "aria-hidden": "true" }, "\u00A0")), hAsync("slot", { name: "suffix" })));
25533
+ }) }, hAsync("div", { class: "picker-item picker-item-empty", "aria-hidden": "true" }, "\u00A0"), hAsync("div", { class: "picker-item picker-item-empty", "aria-hidden": "true" }, "\u00A0"), hAsync("div", { class: "picker-item picker-item-empty", "aria-hidden": "true" }, "\u00A0"), items.map((item, index) => {
25534
+ const isItemDisabled = pickerDisabled || item.disabled || false;
25535
+ return (hAsync("button", { tabindex: "-1", class: {
25536
+ 'picker-item': true,
25537
+ }, "data-value": item.value, "data-index": index, onClick: (ev) => {
25538
+ this.centerPickerItemInView(ev.target, true);
25539
+ }, disabled: isItemDisabled, part: PICKER_ITEM_PART }, item.text));
25540
+ }), hAsync("div", { class: "picker-item picker-item-empty", "aria-hidden": "true" }, "\u00A0"), hAsync("div", { class: "picker-item picker-item-empty", "aria-hidden": "true" }, "\u00A0"), hAsync("div", { class: "picker-item picker-item-empty", "aria-hidden": "true" }, "\u00A0")));
25669
25541
  }
25670
25542
  get el() { return getElement(this); }
25671
25543
  static get watchers() { return {
25672
25544
  "value": ["valueChange"]
25673
25545
  }; }
25674
- static get style() { return pickerColumnCss; }
25546
+ static get style() { return {
25547
+ ios: pickerColumnInternalIosCss,
25548
+ md: pickerColumnInternalMdCss
25549
+ }; }
25675
25550
  static get cmpMeta() { return {
25676
- "$flags$": 9,
25677
- "$tagName$": "ion-picker-column",
25551
+ "$flags$": 41,
25552
+ "$tagName$": "ion-picker-column-internal",
25678
25553
  "$members$": {
25679
25554
  "disabled": [4],
25555
+ "items": [16],
25680
25556
  "value": [1032],
25681
25557
  "color": [513],
25682
25558
  "numericInput": [4, "numeric-input"],
25683
25559
  "isActive": [32],
25684
25560
  "scrollActiveItemIntoView": [64],
25685
- "setValue": [64],
25686
- "setFocus": [64]
25561
+ "setValue": [64]
25687
25562
  },
25688
25563
  "$listeners$": undefined,
25689
25564
  "$lazyBundleId$": "-",
25690
25565
  "$attrsToReflect$": [["color", "color"]]
25691
25566
  }; }
25692
25567
  }
25693
- const PICKER_ITEM_ACTIVE_CLASS = 'option-active';
25568
+ const PICKER_ITEM_ACTIVE_CLASS = 'picker-item-active';
25569
+ const PICKER_ITEM_PART = 'wheel-item';
25570
+ const PICKER_ITEM_ACTIVE_PART = 'active';
25694
25571
 
25695
- const pickerColumnIosCss = ".picker-col{display:-ms-flexbox;display:flex;position:relative;-ms-flex:1;flex:1;-ms-flex-pack:center;justify-content:center;height:100%;-webkit-box-sizing:content-box;box-sizing:content-box;contain:content}.picker-opts{position:relative;-ms-flex:1;flex:1;max-width:100%}.picker-opt{top:0;display:block;position:absolute;width:100%;border:0;text-align:center;text-overflow:ellipsis;white-space:nowrap;contain:strict;overflow:hidden;will-change:transform}@supports (inset-inline-start: 0){.picker-opt{inset-inline-start:0}}@supports not (inset-inline-start: 0){.picker-opt{left:0}:host-context([dir=rtl]) .picker-opt{left:unset;right:unset;right:0}[dir=rtl] .picker-opt{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){.picker-opt:dir(rtl){left:unset;right:unset;right:0}}}.picker-opt.picker-opt-disabled{pointer-events:none}.picker-opt-disabled{opacity:0}.picker-opts-left{-ms-flex-pack:start;justify-content:flex-start}.picker-opts-right{-ms-flex-pack:end;justify-content:flex-end}.picker-opt:active,.picker-opt:focus{outline:none}.picker-prefix{position:relative;-ms-flex:1;flex:1;text-align:end;white-space:nowrap}.picker-suffix{position:relative;-ms-flex:1;flex:1;text-align:start;white-space:nowrap}.picker-col{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:4px;padding-inline-end:4px;padding-top:0;padding-bottom:0;-webkit-transform-style:preserve-3d;transform-style:preserve-3d}.picker-prefix,.picker-suffix,.picker-opts{top:77px;-webkit-transform-style:preserve-3d;transform-style:preserve-3d;color:inherit;font-size:20px;line-height:42px;pointer-events:none}.picker-opt{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-transform-origin:center center;transform-origin:center center;height:46px;-webkit-transform-style:preserve-3d;transform-style:preserve-3d;-webkit-transition-timing-function:ease-out;transition-timing-function:ease-out;background:transparent;color:inherit;font-size:20px;line-height:42px;-webkit-backface-visibility:hidden;backface-visibility:hidden;pointer-events:auto}:host-context([dir=rtl]) .picker-opt{-webkit-transform-origin:calc(100% - center) center;transform-origin:calc(100% - center) center}[dir=rtl] .picker-opt{-webkit-transform-origin:calc(100% - center) center;transform-origin:calc(100% - center) center}@supports selector(:dir(rtl)){.picker-opt:dir(rtl){-webkit-transform-origin:calc(100% - center) center;transform-origin:calc(100% - center) center}}";
25572
+ const pickerInternalIosCss = "/*!@:host*/.sc-ion-picker-internal-ios-h{display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:200px;direction:ltr;z-index:0}/*!@:host .picker-before,\n:host .picker-after*/.sc-ion-picker-internal-ios-h .picker-before.sc-ion-picker-internal-ios,.sc-ion-picker-internal-ios-h .picker-after.sc-ion-picker-internal-ios{position:absolute;width:100%;-webkit-transform:translateZ(0);transform:translateZ(0);z-index:1;pointer-events:none}/*!@:host .picker-before*/.sc-ion-picker-internal-ios-h .picker-before.sc-ion-picker-internal-ios{top:0;height:83px}@supports (inset-inline-start: 0){/*!@:host .picker-before*/.sc-ion-picker-internal-ios-h .picker-before.sc-ion-picker-internal-ios{inset-inline-start:0}}@supports not (inset-inline-start: 0){/*!@:host .picker-before*/.sc-ion-picker-internal-ios-h .picker-before.sc-ion-picker-internal-ios{left:0}/*!@:host-context([dir=rtl]) .picker-before*/[dir=rtl].sc-ion-picker-internal-ios-h .picker-before.sc-ion-picker-internal-ios,[dir=rtl] .sc-ion-picker-internal-ios-h .picker-before.sc-ion-picker-internal-ios{left:unset;right:unset;right:0}/*!@@supports selector(:dir(rtl))*/@supports .sc-ion-picker-internal-ios selector(.sc-ion-picker-internal-ios:dir(rtl)){.sc-ion-picker-internal-ios-h:dir(rtl) .picker-before{left:unset;right:unset;right:0}}}/*!@:host .picker-after*/.sc-ion-picker-internal-ios-h .picker-after.sc-ion-picker-internal-ios{top:116px;height:84px}@supports (inset-inline-start: 0){/*!@:host .picker-after*/.sc-ion-picker-internal-ios-h .picker-after.sc-ion-picker-internal-ios{inset-inline-start:0}}@supports not (inset-inline-start: 0){/*!@:host .picker-after*/.sc-ion-picker-internal-ios-h .picker-after.sc-ion-picker-internal-ios{left:0}/*!@:host-context([dir=rtl]) .picker-after*/[dir=rtl].sc-ion-picker-internal-ios-h .picker-after.sc-ion-picker-internal-ios,[dir=rtl] .sc-ion-picker-internal-ios-h .picker-after.sc-ion-picker-internal-ios{left:unset;right:unset;right:0}/*!@@supports selector(:dir(rtl))*/@supports .sc-ion-picker-internal-ios selector(.sc-ion-picker-internal-ios:dir(rtl)){.sc-ion-picker-internal-ios-h:dir(rtl) .picker-after{left:unset;right:unset;right:0}}}/*!@:host .picker-highlight*/.sc-ion-picker-internal-ios-h .picker-highlight.sc-ion-picker-internal-ios{border-radius:8px;left:0;right:0;top:50%;bottom:0;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:0;margin-bottom:0;position:absolute;width:calc(100% - 16px);height:34px;-webkit-transform:translateY(-50%);transform:translateY(-50%);background:var(--wheel-highlight-background);z-index:-1}/*!@:host input*/.sc-ion-picker-internal-ios-h input.sc-ion-picker-internal-ios{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;clip:rect(0 0 0 0);opacity:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none}/*!@:host ::slotted(ion-picker-column-internal:first-of-type)*/.sc-ion-picker-internal-ios-h .sc-ion-picker-internal-ios-s>ion-picker-column-internal:first-of-type{text-align:start}/*!@:host ::slotted(ion-picker-column-internal:last-of-type)*/.sc-ion-picker-internal-ios-h .sc-ion-picker-internal-ios-s>ion-picker-column-internal:last-of-type{text-align:end}/*!@:host ::slotted(ion-picker-column-internal:only-child)*/.sc-ion-picker-internal-ios-h .sc-ion-picker-internal-ios-s>ion-picker-column-internal:only-child{text-align:center}/*!@:host .picker-before*/.sc-ion-picker-internal-ios-h .picker-before.sc-ion-picker-internal-ios{background:-webkit-gradient(linear, left top, left bottom, color-stop(20%, rgba(var(--wheel-fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 1)), to(rgba(var(--wheel-fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 0.8)));background:linear-gradient(to bottom, rgba(var(--wheel-fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 1) 20%, rgba(var(--wheel-fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 0.8) 100%)}/*!@:host .picker-after*/.sc-ion-picker-internal-ios-h .picker-after.sc-ion-picker-internal-ios{background:-webkit-gradient(linear, left bottom, left top, color-stop(20%, rgba(var(--wheel-fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 1)), to(rgba(var(--wheel-fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 0.8)));background:linear-gradient(to top, rgba(var(--wheel-fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 1) 20%, rgba(var(--wheel-fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 0.8) 100%)}/*!@:host .picker-highlight*/.sc-ion-picker-internal-ios-h .picker-highlight.sc-ion-picker-internal-ios{background:var(--wheel-highlight-background, var(--ion-color-step-150, #eeeeef))}";
25696
25573
 
25697
- const pickerColumnMdCss = ".picker-col{display:-ms-flexbox;display:flex;position:relative;-ms-flex:1;flex:1;-ms-flex-pack:center;justify-content:center;height:100%;-webkit-box-sizing:content-box;box-sizing:content-box;contain:content}.picker-opts{position:relative;-ms-flex:1;flex:1;max-width:100%}.picker-opt{top:0;display:block;position:absolute;width:100%;border:0;text-align:center;text-overflow:ellipsis;white-space:nowrap;contain:strict;overflow:hidden;will-change:transform}@supports (inset-inline-start: 0){.picker-opt{inset-inline-start:0}}@supports not (inset-inline-start: 0){.picker-opt{left:0}:host-context([dir=rtl]) .picker-opt{left:unset;right:unset;right:0}[dir=rtl] .picker-opt{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){.picker-opt:dir(rtl){left:unset;right:unset;right:0}}}.picker-opt.picker-opt-disabled{pointer-events:none}.picker-opt-disabled{opacity:0}.picker-opts-left{-ms-flex-pack:start;justify-content:flex-start}.picker-opts-right{-ms-flex-pack:end;justify-content:flex-end}.picker-opt:active,.picker-opt:focus{outline:none}.picker-prefix{position:relative;-ms-flex:1;flex:1;text-align:end;white-space:nowrap}.picker-suffix{position:relative;-ms-flex:1;flex:1;text-align:start;white-space:nowrap}.picker-col{-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px;padding-top:0;padding-bottom:0;-webkit-transform-style:preserve-3d;transform-style:preserve-3d}.picker-prefix,.picker-suffix,.picker-opts{top:77px;-webkit-transform-style:preserve-3d;transform-style:preserve-3d;color:inherit;font-size:22px;line-height:42px;pointer-events:none}.picker-opt{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;height:43px;-webkit-transition-timing-function:ease-out;transition-timing-function:ease-out;background:transparent;color:inherit;font-size:22px;line-height:42px;-webkit-backface-visibility:hidden;backface-visibility:hidden;pointer-events:auto}.picker-prefix,.picker-suffix,.picker-opt.picker-opt-selected{color:var(--ion-color-primary, #3880ff)}";
25574
+ const pickerInternalMdCss = "/*!@:host*/.sc-ion-picker-internal-md-h{display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:200px;direction:ltr;z-index:0}/*!@:host .picker-before,\n:host .picker-after*/.sc-ion-picker-internal-md-h .picker-before.sc-ion-picker-internal-md,.sc-ion-picker-internal-md-h .picker-after.sc-ion-picker-internal-md{position:absolute;width:100%;-webkit-transform:translateZ(0);transform:translateZ(0);z-index:1;pointer-events:none}/*!@:host .picker-before*/.sc-ion-picker-internal-md-h .picker-before.sc-ion-picker-internal-md{top:0;height:83px}@supports (inset-inline-start: 0){/*!@:host .picker-before*/.sc-ion-picker-internal-md-h .picker-before.sc-ion-picker-internal-md{inset-inline-start:0}}@supports not (inset-inline-start: 0){/*!@:host .picker-before*/.sc-ion-picker-internal-md-h .picker-before.sc-ion-picker-internal-md{left:0}/*!@:host-context([dir=rtl]) .picker-before*/[dir=rtl].sc-ion-picker-internal-md-h .picker-before.sc-ion-picker-internal-md,[dir=rtl] .sc-ion-picker-internal-md-h .picker-before.sc-ion-picker-internal-md{left:unset;right:unset;right:0}/*!@@supports selector(:dir(rtl))*/@supports .sc-ion-picker-internal-md selector(.sc-ion-picker-internal-md:dir(rtl)){.sc-ion-picker-internal-md-h:dir(rtl) .picker-before{left:unset;right:unset;right:0}}}/*!@:host .picker-after*/.sc-ion-picker-internal-md-h .picker-after.sc-ion-picker-internal-md{top:116px;height:84px}@supports (inset-inline-start: 0){/*!@:host .picker-after*/.sc-ion-picker-internal-md-h .picker-after.sc-ion-picker-internal-md{inset-inline-start:0}}@supports not (inset-inline-start: 0){/*!@:host .picker-after*/.sc-ion-picker-internal-md-h .picker-after.sc-ion-picker-internal-md{left:0}/*!@:host-context([dir=rtl]) .picker-after*/[dir=rtl].sc-ion-picker-internal-md-h .picker-after.sc-ion-picker-internal-md,[dir=rtl] .sc-ion-picker-internal-md-h .picker-after.sc-ion-picker-internal-md{left:unset;right:unset;right:0}/*!@@supports selector(:dir(rtl))*/@supports .sc-ion-picker-internal-md selector(.sc-ion-picker-internal-md:dir(rtl)){.sc-ion-picker-internal-md-h:dir(rtl) .picker-after{left:unset;right:unset;right:0}}}/*!@:host .picker-highlight*/.sc-ion-picker-internal-md-h .picker-highlight.sc-ion-picker-internal-md{border-radius:8px;left:0;right:0;top:50%;bottom:0;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:0;margin-bottom:0;position:absolute;width:calc(100% - 16px);height:34px;-webkit-transform:translateY(-50%);transform:translateY(-50%);background:var(--wheel-highlight-background);z-index:-1}/*!@:host input*/.sc-ion-picker-internal-md-h input.sc-ion-picker-internal-md{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;clip:rect(0 0 0 0);opacity:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none}/*!@:host ::slotted(ion-picker-column-internal:first-of-type)*/.sc-ion-picker-internal-md-h .sc-ion-picker-internal-md-s>ion-picker-column-internal:first-of-type{text-align:start}/*!@:host ::slotted(ion-picker-column-internal:last-of-type)*/.sc-ion-picker-internal-md-h .sc-ion-picker-internal-md-s>ion-picker-column-internal:last-of-type{text-align:end}/*!@:host ::slotted(ion-picker-column-internal:only-child)*/.sc-ion-picker-internal-md-h .sc-ion-picker-internal-md-s>ion-picker-column-internal:only-child{text-align:center}/*!@:host .picker-before*/.sc-ion-picker-internal-md-h .picker-before.sc-ion-picker-internal-md{background:-webkit-gradient(linear, left top, left bottom, color-stop(20%, rgba(var(--wheel-fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 1)), color-stop(90%, rgba(var(--wheel-fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 0)));background:linear-gradient(to bottom, rgba(var(--wheel-fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 1) 20%, rgba(var(--wheel-fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 0) 90%)}/*!@:host .picker-after*/.sc-ion-picker-internal-md-h .picker-after.sc-ion-picker-internal-md{background:-webkit-gradient(linear, left bottom, left top, color-stop(30%, rgba(var(--wheel-fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 1)), color-stop(90%, rgba(var(--wheel-fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 0)));background:linear-gradient(to top, rgba(var(--wheel-fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 1) 30%, rgba(var(--wheel-fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 0) 90%)}";
25698
25575
 
25699
25576
  /**
25577
+ * @virtualProp {"ios" | "md"} mode - The mode determines which platform styles to use.
25700
25578
  * @internal
25701
25579
  */
25702
- class PickerColumnCmp {
25580
+ class PickerInternal {
25703
25581
  constructor(hostRef) {
25704
25582
  registerInstance(this, hostRef);
25705
- this.ionPickerColChange = createEvent(this, "ionPickerColChange", 7);
25706
- this.optHeight = 0;
25707
- this.rotateFactor = 0;
25708
- this.scaleFactor = 1;
25709
- this.velocity = 0;
25710
- this.y = 0;
25711
- this.noAnimate = true;
25712
- // `colDidChange` is a flag that gets set when the column is changed
25713
- // dynamically. When this flag is set, the column will refresh
25714
- // after the component re-renders to incorporate the new column data.
25715
- // This is necessary because `this.refresh` queries for the option elements,
25716
- // so it needs to wait for the latest elements to be available in the DOM.
25717
- // Ex: column is created with 3 options. User updates the column data
25718
- // to have 5 options. The column will still think it only has 3 options.
25719
- this.colDidChange = false;
25720
- this.col = undefined;
25721
- }
25722
- colChanged() {
25723
- this.colDidChange = true;
25724
- }
25725
- async connectedCallback() {
25726
- let pickerRotateFactor = 0;
25727
- let pickerScaleFactor = 0.81;
25728
- const mode = getIonMode$1(this);
25729
- if (mode === 'ios') {
25730
- pickerRotateFactor = -0.46;
25731
- pickerScaleFactor = 1;
25732
- }
25733
- this.rotateFactor = pickerRotateFactor;
25734
- this.scaleFactor = pickerScaleFactor;
25735
- this.gesture = (await Promise.resolve().then(function () { return index; })).createGesture({
25736
- el: this.el,
25737
- gestureName: 'picker-swipe',
25738
- gesturePriority: 100,
25739
- threshold: 0,
25740
- passive: false,
25741
- onStart: (ev) => this.onStart(ev),
25742
- onMove: (ev) => this.onMove(ev),
25743
- onEnd: (ev) => this.onEnd(ev),
25744
- });
25745
- this.gesture.enable();
25746
- // Options have not been initialized yet
25747
- // Animation must be disabled through the `noAnimate` flag
25748
- // Otherwise, the options will render
25749
- // at the top of the column and transition down
25750
- this.tmrId = setTimeout(() => {
25751
- this.noAnimate = false;
25752
- // After initialization, `refresh()` will be called
25753
- // At this point, animation will be enabled. The options will
25754
- // animate as they are being selected.
25755
- this.refresh(true);
25756
- }, 250);
25757
- }
25758
- componentDidLoad() {
25759
- this.onDomChange();
25760
- }
25761
- componentDidUpdate() {
25762
- // Options may have changed since last update.
25763
- if (this.colDidChange) {
25764
- // Animation must be disabled through the `onDomChange` parameter.
25765
- // Otherwise, the recently added options will render
25766
- // at the top of the column and transition down
25767
- this.onDomChange(true, false);
25768
- this.colDidChange = false;
25769
- }
25770
- }
25771
- disconnectedCallback() {
25772
- if (this.rafId !== undefined)
25773
- cancelAnimationFrame(this.rafId);
25774
- if (this.tmrId)
25775
- clearTimeout(this.tmrId);
25776
- if (this.gesture) {
25777
- this.gesture.destroy();
25778
- this.gesture = undefined;
25779
- }
25780
- }
25781
- emitColChange() {
25782
- this.ionPickerColChange.emit(this.col);
25783
- }
25784
- setSelected(selectedIndex, duration) {
25785
- // if there is a selected index, then figure out it's y position
25786
- // if there isn't a selected index, then just use the top y position
25787
- const y = selectedIndex > -1 ? -(selectedIndex * this.optHeight) : 0;
25788
- this.velocity = 0;
25789
- // set what y position we're at
25790
- if (this.rafId !== undefined)
25791
- cancelAnimationFrame(this.rafId);
25792
- this.update(y, duration, true);
25793
- this.emitColChange();
25794
- }
25795
- update(y, duration, saveY) {
25796
- if (!this.optsEl) {
25797
- return;
25798
- }
25799
- // ensure we've got a good round number :)
25800
- let translateY = 0;
25801
- let translateZ = 0;
25802
- const { col, rotateFactor } = this;
25803
- const prevSelected = col.selectedIndex;
25804
- const selectedIndex = (col.selectedIndex = this.indexForY(-y));
25805
- const durationStr = duration === 0 ? '' : duration + 'ms';
25806
- const scaleStr = `scale(${this.scaleFactor})`;
25807
- const children = this.optsEl.children;
25808
- for (let i = 0; i < children.length; i++) {
25809
- const button = children[i];
25810
- const opt = col.options[i];
25811
- const optOffset = i * this.optHeight + y;
25812
- let transform = '';
25813
- if (rotateFactor !== 0) {
25814
- const rotateX = optOffset * rotateFactor;
25815
- if (Math.abs(rotateX) <= 90) {
25816
- translateY = 0;
25817
- translateZ = 90;
25818
- transform = `rotateX(${rotateX}deg) `;
25583
+ this.ionInputModeChange = createEvent(this, "ionInputModeChange", 7);
25584
+ this.useInputMode = false;
25585
+ this.isInHighlightBounds = (ev) => {
25586
+ const { highlightEl } = this;
25587
+ if (!highlightEl) {
25588
+ return false;
25589
+ }
25590
+ const bbox = highlightEl.getBoundingClientRect();
25591
+ /**
25592
+ * Check to see if the user clicked
25593
+ * outside the bounds of the highlight.
25594
+ */
25595
+ const outsideX = ev.clientX < bbox.left || ev.clientX > bbox.right;
25596
+ const outsideY = ev.clientY < bbox.top || ev.clientY > bbox.bottom;
25597
+ if (outsideX || outsideY) {
25598
+ return false;
25599
+ }
25600
+ return true;
25601
+ };
25602
+ /**
25603
+ * If we are no longer focused
25604
+ * on a picker column, then we should
25605
+ * exit input mode. An exception is made
25606
+ * for the input in the picker since having
25607
+ * that focused means we are still in input mode.
25608
+ */
25609
+ this.onFocusOut = (ev) => {
25610
+ // TODO(FW-2832): type
25611
+ const { relatedTarget } = ev;
25612
+ if (!relatedTarget || (relatedTarget.tagName !== 'ION-PICKER-COLUMN-INTERNAL' && relatedTarget !== this.inputEl)) {
25613
+ this.exitInputMode();
25614
+ }
25615
+ };
25616
+ /**
25617
+ * When picker columns receive focus
25618
+ * the parent picker needs to determine
25619
+ * whether to enter/exit input mode.
25620
+ */
25621
+ this.onFocusIn = (ev) => {
25622
+ // TODO(FW-2832): type
25623
+ const { target } = ev;
25624
+ /**
25625
+ * Due to browser differences in how/when focus
25626
+ * is dispatched on certain elements, we need to
25627
+ * make sure that this function only ever runs when
25628
+ * focusing a picker column.
25629
+ */
25630
+ if (target.tagName !== 'ION-PICKER-COLUMN-INTERNAL') {
25631
+ return;
25632
+ }
25633
+ /**
25634
+ * If we have actionOnClick
25635
+ * then this means the user focused
25636
+ * a picker column via mouse or
25637
+ * touch (i.e. a PointerEvent). As a result,
25638
+ * we should not enter/exit input mode
25639
+ * until the click event has fired, which happens
25640
+ * after the `focusin` event.
25641
+ *
25642
+ * Otherwise, the user likely focused
25643
+ * the column using their keyboard and
25644
+ * we should enter/exit input mode automatically.
25645
+ */
25646
+ if (!this.actionOnClick) {
25647
+ const columnEl = target;
25648
+ const allowInput = columnEl.numericInput;
25649
+ if (allowInput) {
25650
+ this.enterInputMode(columnEl, false);
25819
25651
  }
25820
25652
  else {
25821
- translateY = -9999;
25653
+ this.exitInputMode();
25654
+ }
25655
+ }
25656
+ };
25657
+ /**
25658
+ * On click we need to run an actionOnClick
25659
+ * function that has been set in onPointerDown
25660
+ * so that we enter/exit input mode correctly.
25661
+ */
25662
+ this.onClick = () => {
25663
+ const { actionOnClick } = this;
25664
+ if (actionOnClick) {
25665
+ actionOnClick();
25666
+ this.actionOnClick = undefined;
25667
+ }
25668
+ };
25669
+ /**
25670
+ * Clicking a column also focuses the column on
25671
+ * certain browsers, so we use onPointerDown
25672
+ * to tell the onFocusIn function that users
25673
+ * are trying to click the column rather than
25674
+ * focus the column using the keyboard. When the
25675
+ * user completes the click, the onClick function
25676
+ * runs and runs the actionOnClick callback.
25677
+ */
25678
+ this.onPointerDown = (ev) => {
25679
+ const { useInputMode, inputModeColumn, el } = this;
25680
+ if (this.isInHighlightBounds(ev)) {
25681
+ /**
25682
+ * If we were already in
25683
+ * input mode, then we should determine
25684
+ * if we tapped a particular column and
25685
+ * should switch to input mode for
25686
+ * that specific column.
25687
+ */
25688
+ if (useInputMode) {
25689
+ /**
25690
+ * If we tapped a picker column
25691
+ * then we should either switch to input
25692
+ * mode for that column or all columns.
25693
+ * Otherwise we should exit input mode
25694
+ * since we just tapped the highlight and
25695
+ * not a column.
25696
+ */
25697
+ if (ev.target.tagName === 'ION-PICKER-COLUMN-INTERNAL') {
25698
+ /**
25699
+ * If user taps 2 different columns
25700
+ * then we should just switch to input mode
25701
+ * for the new column rather than switching to
25702
+ * input mode for all columns.
25703
+ */
25704
+ if (inputModeColumn && inputModeColumn === ev.target) {
25705
+ this.actionOnClick = () => {
25706
+ this.enterInputMode();
25707
+ };
25708
+ }
25709
+ else {
25710
+ this.actionOnClick = () => {
25711
+ this.enterInputMode(ev.target);
25712
+ };
25713
+ }
25714
+ }
25715
+ else {
25716
+ this.actionOnClick = () => {
25717
+ this.exitInputMode();
25718
+ };
25719
+ }
25720
+ /**
25721
+ * If we were not already in
25722
+ * input mode, then we should
25723
+ * enter input mode for all columns.
25724
+ */
25725
+ }
25726
+ else {
25727
+ /**
25728
+ * If there is only 1 numeric input column
25729
+ * then we should skip multi column input.
25730
+ */
25731
+ const columns = el.querySelectorAll('ion-picker-column-internal.picker-column-numeric-input');
25732
+ const columnEl = columns.length === 1 ? ev.target : undefined;
25733
+ this.actionOnClick = () => {
25734
+ this.enterInputMode(columnEl);
25735
+ };
25736
+ }
25737
+ return;
25738
+ }
25739
+ this.actionOnClick = () => {
25740
+ this.exitInputMode();
25741
+ };
25742
+ };
25743
+ /**
25744
+ * Enters input mode to allow
25745
+ * for text entry of numeric values.
25746
+ * If on mobile, we focus a hidden input
25747
+ * field so that the on screen keyboard
25748
+ * is brought up. When tabbing using a
25749
+ * keyboard, picker columns receive an outline
25750
+ * to indicate they are focused. As a result,
25751
+ * we should not focus the hidden input as it
25752
+ * would cause the outline to go away, preventing
25753
+ * users from having any visual indication of which
25754
+ * column is focused.
25755
+ */
25756
+ this.enterInputMode = (columnEl, focusInput = true) => {
25757
+ const { inputEl, el } = this;
25758
+ if (!inputEl) {
25759
+ return;
25760
+ }
25761
+ /**
25762
+ * Only active input mode if there is at
25763
+ * least one column that accepts numeric input.
25764
+ */
25765
+ const hasInputColumn = el.querySelector('ion-picker-column-internal.picker-column-numeric-input');
25766
+ if (!hasInputColumn) {
25767
+ return;
25768
+ }
25769
+ /**
25770
+ * If columnEl is undefined then
25771
+ * it is assumed that all numeric pickers
25772
+ * are eligible for text entry.
25773
+ * (i.e. hour and minute columns)
25774
+ */
25775
+ this.useInputMode = true;
25776
+ this.inputModeColumn = columnEl;
25777
+ /**
25778
+ * Users with a keyboard and mouse can
25779
+ * activate input mode where the input is
25780
+ * focused as well as when it is not focused,
25781
+ * so we need to make sure we clean up any
25782
+ * old listeners.
25783
+ */
25784
+ if (focusInput) {
25785
+ if (this.destroyKeypressListener) {
25786
+ this.destroyKeypressListener();
25787
+ this.destroyKeypressListener = undefined;
25822
25788
  }
25789
+ inputEl.focus();
25823
25790
  }
25824
25791
  else {
25825
- translateZ = 0;
25826
- translateY = optOffset;
25827
- }
25828
- const selected = selectedIndex === i;
25829
- transform += `translate3d(0px,${translateY}px,${translateZ}px) `;
25830
- if (this.scaleFactor !== 1 && !selected) {
25831
- transform += scaleStr;
25792
+ el.addEventListener('keypress', this.onKeyPress);
25793
+ this.destroyKeypressListener = () => {
25794
+ el.removeEventListener('keypress', this.onKeyPress);
25795
+ };
25832
25796
  }
25833
- // Update transition duration
25834
- if (this.noAnimate) {
25835
- opt.duration = 0;
25836
- button.style.transitionDuration = '';
25797
+ this.emitInputModeChange();
25798
+ };
25799
+ this.onKeyPress = (ev) => {
25800
+ const { inputEl } = this;
25801
+ if (!inputEl) {
25802
+ return;
25837
25803
  }
25838
- else if (duration !== opt.duration) {
25839
- opt.duration = duration;
25840
- button.style.transitionDuration = durationStr;
25804
+ const parsedValue = parseInt(ev.key, 10);
25805
+ /**
25806
+ * Only numbers should be allowed
25807
+ */
25808
+ if (!Number.isNaN(parsedValue)) {
25809
+ inputEl.value += ev.key;
25810
+ this.onInputChange();
25841
25811
  }
25842
- // Update transform
25843
- if (transform !== opt.transform) {
25844
- opt.transform = transform;
25812
+ };
25813
+ this.selectSingleColumn = () => {
25814
+ const { inputEl, inputModeColumn, singleColumnSearchTimeout } = this;
25815
+ if (!inputEl || !inputModeColumn) {
25816
+ return;
25845
25817
  }
25846
- button.style.transform = transform;
25818
+ const values = inputModeColumn.items.filter((item) => item.disabled !== true);
25847
25819
  /**
25848
- * Ensure that the select column
25849
- * item has the selected class
25820
+ * If users pause for a bit, the search
25821
+ * value should be reset similar to how a
25822
+ * <select> behaves. So typing "34", waiting,
25823
+ * then typing "5" should select "05".
25850
25824
  */
25851
- opt.selected = selected;
25852
- if (selected) {
25853
- button.classList.add(PICKER_OPT_SELECTED);
25825
+ if (singleColumnSearchTimeout) {
25826
+ clearTimeout(singleColumnSearchTimeout);
25854
25827
  }
25855
- else {
25856
- button.classList.remove(PICKER_OPT_SELECTED);
25828
+ this.singleColumnSearchTimeout = setTimeout(() => {
25829
+ inputEl.value = '';
25830
+ this.singleColumnSearchTimeout = undefined;
25831
+ }, 1000);
25832
+ /**
25833
+ * For values that are longer than 2 digits long
25834
+ * we should shift the value over 1 character
25835
+ * to the left. So typing "456" would result in "56".
25836
+ * TODO: If we want to support more than just
25837
+ * time entry, we should update this value to be
25838
+ * the max length of all of the picker items.
25839
+ */
25840
+ if (inputEl.value.length >= 3) {
25841
+ const startIndex = inputEl.value.length - 2;
25842
+ const newString = inputEl.value.substring(startIndex);
25843
+ inputEl.value = newString;
25844
+ this.selectSingleColumn();
25845
+ return;
25857
25846
  }
25858
- }
25859
- this.col.prevSelected = prevSelected;
25860
- if (saveY) {
25861
- this.y = y;
25862
- }
25863
- if (this.lastIndex !== selectedIndex) {
25864
- // have not set a last index yet
25865
- hapticSelectionChanged();
25866
- this.lastIndex = selectedIndex;
25867
- }
25868
- }
25869
- decelerate() {
25870
- if (this.velocity !== 0) {
25871
- // still decelerating
25872
- this.velocity *= DECELERATION_FRICTION;
25873
- // do not let it go slower than a velocity of 1
25874
- this.velocity = this.velocity > 0 ? Math.max(this.velocity, 1) : Math.min(this.velocity, -1);
25875
- let y = this.y + this.velocity;
25876
- if (y > this.minY) {
25877
- // whoops, it's trying to scroll up farther than the options we have!
25878
- y = this.minY;
25879
- this.velocity = 0;
25847
+ /**
25848
+ * Checking the value of the input gets priority
25849
+ * first. For example, if the value of the input
25850
+ * is "1" and we entered "2", then the complete value
25851
+ * is "12" and we should select hour 12.
25852
+ *
25853
+ * Regex removes any leading zeros from values like "02",
25854
+ * but it keeps a single zero if there are only zeros in the string.
25855
+ * 0+(?=[1-9]) --> Match 1 or more zeros that are followed by 1-9
25856
+ * 0+(?=0$) --> Match 1 or more zeros that must be followed by one 0 and end.
25857
+ */
25858
+ const findItemFromCompleteValue = values.find(({ text }) => {
25859
+ const parsedText = text.replace(/^0+(?=[1-9])|0+(?=0$)/, '');
25860
+ return parsedText === inputEl.value;
25861
+ });
25862
+ if (findItemFromCompleteValue) {
25863
+ inputModeColumn.setValue(findItemFromCompleteValue.value);
25864
+ return;
25880
25865
  }
25881
- else if (y < this.maxY) {
25882
- // gahh, it's trying to scroll down farther than we can!
25883
- y = this.maxY;
25884
- this.velocity = 0;
25866
+ /**
25867
+ * If we typed "56" to get minute 56, then typed "7",
25868
+ * we should select "07" as "567" is not a valid minute.
25869
+ */
25870
+ if (inputEl.value.length === 2) {
25871
+ const changedCharacter = inputEl.value.substring(inputEl.value.length - 1);
25872
+ inputEl.value = changedCharacter;
25873
+ this.selectSingleColumn();
25885
25874
  }
25886
- this.update(y, 0, true);
25887
- const notLockedIn = Math.round(y) % this.optHeight !== 0 || Math.abs(this.velocity) > 1;
25888
- if (notLockedIn) {
25889
- // isn't locked in yet, keep decelerating until it is
25890
- this.rafId = requestAnimationFrame(() => this.decelerate());
25875
+ };
25876
+ /**
25877
+ * Searches a list of column items for a particular
25878
+ * value. This is currently used for numeric values.
25879
+ * The zeroBehavior can be set to account for leading
25880
+ * or trailing zeros when looking at the item text.
25881
+ */
25882
+ this.searchColumn = (colEl, value, zeroBehavior = 'start') => {
25883
+ const behavior = zeroBehavior === 'start' ? /^0+/ : /0$/;
25884
+ const item = colEl.items.find(({ text, disabled }) => disabled !== true && text.replace(behavior, '') === value);
25885
+ if (item) {
25886
+ colEl.setValue(item.value);
25891
25887
  }
25892
- else {
25893
- this.velocity = 0;
25894
- this.emitColChange();
25895
- hapticSelectionEnd();
25888
+ };
25889
+ this.selectMultiColumn = () => {
25890
+ const { inputEl, el } = this;
25891
+ if (!inputEl) {
25892
+ return;
25896
25893
  }
25897
- }
25898
- else if (this.y % this.optHeight !== 0) {
25899
- // needs to still get locked into a position so options line up
25900
- const currentPos = Math.abs(this.y % this.optHeight);
25901
- // create a velocity in the direction it needs to scroll
25902
- this.velocity = currentPos > this.optHeight / 2 ? 1 : -1;
25903
- this.decelerate();
25904
- }
25905
- }
25906
- indexForY(y) {
25907
- return Math.min(Math.max(Math.abs(Math.round(y / this.optHeight)), 0), this.col.options.length - 1);
25908
- }
25909
- onStart(detail) {
25910
- // We have to prevent default in order to block scrolling under the picker
25911
- // but we DO NOT have to stop propagation, since we still want
25912
- // some "click" events to capture
25913
- if (detail.event.cancelable) {
25914
- detail.event.preventDefault();
25915
- }
25916
- detail.event.stopPropagation();
25917
- hapticSelectionStart();
25918
- // reset everything
25919
- if (this.rafId !== undefined)
25920
- cancelAnimationFrame(this.rafId);
25921
- const options = this.col.options;
25922
- let minY = options.length - 1;
25923
- let maxY = 0;
25924
- for (let i = 0; i < options.length; i++) {
25925
- if (!options[i].disabled) {
25926
- minY = Math.min(minY, i);
25927
- maxY = Math.max(maxY, i);
25894
+ const numericPickers = Array.from(el.querySelectorAll('ion-picker-column-internal')).filter((col) => col.numericInput);
25895
+ const firstColumn = numericPickers[0];
25896
+ const lastColumn = numericPickers[1];
25897
+ let value = inputEl.value;
25898
+ let minuteValue;
25899
+ switch (value.length) {
25900
+ case 1:
25901
+ this.searchColumn(firstColumn, value);
25902
+ break;
25903
+ case 2:
25904
+ /**
25905
+ * If the first character is `0` or `1` it is
25906
+ * possible that users are trying to type `09`
25907
+ * or `11` into the hour field, so we should look
25908
+ * at that first.
25909
+ */
25910
+ const firstCharacter = inputEl.value.substring(0, 1);
25911
+ value = firstCharacter === '0' || firstCharacter === '1' ? inputEl.value : firstCharacter;
25912
+ this.searchColumn(firstColumn, value);
25913
+ /**
25914
+ * If only checked the first value,
25915
+ * we can check the second value
25916
+ * for a match in the minutes column
25917
+ */
25918
+ if (value.length === 1) {
25919
+ minuteValue = inputEl.value.substring(inputEl.value.length - 1);
25920
+ this.searchColumn(lastColumn, minuteValue, 'end');
25921
+ }
25922
+ break;
25923
+ case 3:
25924
+ /**
25925
+ * If the first character is `0` or `1` it is
25926
+ * possible that users are trying to type `09`
25927
+ * or `11` into the hour field, so we should look
25928
+ * at that first.
25929
+ */
25930
+ const firstCharacterAgain = inputEl.value.substring(0, 1);
25931
+ value =
25932
+ firstCharacterAgain === '0' || firstCharacterAgain === '1'
25933
+ ? inputEl.value.substring(0, 2)
25934
+ : firstCharacterAgain;
25935
+ this.searchColumn(firstColumn, value);
25936
+ /**
25937
+ * If only checked the first value,
25938
+ * we can check the second value
25939
+ * for a match in the minutes column
25940
+ */
25941
+ minuteValue = value.length === 1 ? inputEl.value.substring(1) : inputEl.value.substring(2);
25942
+ this.searchColumn(lastColumn, minuteValue, 'end');
25943
+ break;
25944
+ case 4:
25945
+ /**
25946
+ * If the first character is `0` or `1` it is
25947
+ * possible that users are trying to type `09`
25948
+ * or `11` into the hour field, so we should look
25949
+ * at that first.
25950
+ */
25951
+ const firstCharacterAgainAgain = inputEl.value.substring(0, 1);
25952
+ value =
25953
+ firstCharacterAgainAgain === '0' || firstCharacterAgainAgain === '1'
25954
+ ? inputEl.value.substring(0, 2)
25955
+ : firstCharacterAgainAgain;
25956
+ this.searchColumn(firstColumn, value);
25957
+ /**
25958
+ * If only checked the first value,
25959
+ * we can check the second value
25960
+ * for a match in the minutes column
25961
+ */
25962
+ const minuteValueAgain = value.length === 1
25963
+ ? inputEl.value.substring(1, inputEl.value.length)
25964
+ : inputEl.value.substring(2, inputEl.value.length);
25965
+ this.searchColumn(lastColumn, minuteValueAgain, 'end');
25966
+ break;
25967
+ default:
25968
+ const startIndex = inputEl.value.length - 4;
25969
+ const newString = inputEl.value.substring(startIndex);
25970
+ inputEl.value = newString;
25971
+ this.selectMultiColumn();
25972
+ break;
25928
25973
  }
25929
- }
25930
- this.minY = -(minY * this.optHeight);
25931
- this.maxY = -(maxY * this.optHeight);
25932
- }
25933
- onMove(detail) {
25934
- if (detail.event.cancelable) {
25935
- detail.event.preventDefault();
25936
- }
25937
- detail.event.stopPropagation();
25938
- // update the scroll position relative to pointer start position
25939
- let y = this.y + detail.deltaY;
25940
- if (y > this.minY) {
25941
- // scrolling up higher than scroll area
25942
- y = Math.pow(y, 0.8);
25943
- this.bounceFrom = y;
25944
- }
25945
- else if (y < this.maxY) {
25946
- // scrolling down below scroll area
25947
- y += Math.pow(this.maxY - y, 0.9);
25948
- this.bounceFrom = y;
25949
- }
25950
- else {
25951
- this.bounceFrom = 0;
25952
- }
25953
- this.update(y, 0, false);
25954
- }
25955
- onEnd(detail) {
25956
- if (this.bounceFrom > 0) {
25957
- // bounce back up
25958
- this.update(this.minY, 100, true);
25959
- this.emitColChange();
25960
- return;
25961
- }
25962
- else if (this.bounceFrom < 0) {
25963
- // bounce back down
25964
- this.update(this.maxY, 100, true);
25965
- this.emitColChange();
25966
- return;
25967
- }
25968
- this.velocity = clamp(-MAX_PICKER_SPEED, detail.velocityY * 23, MAX_PICKER_SPEED);
25969
- if (this.velocity === 0 && detail.deltaY === 0) {
25970
- const opt = detail.event.target.closest('.picker-opt');
25971
- if (opt === null || opt === void 0 ? void 0 : opt.hasAttribute('opt-index')) {
25972
- this.setSelected(parseInt(opt.getAttribute('opt-index'), 10), TRANSITION_DURATION);
25974
+ };
25975
+ /**
25976
+ * Searches the value of the active column
25977
+ * to determine which value users are trying
25978
+ * to select
25979
+ */
25980
+ this.onInputChange = () => {
25981
+ const { useInputMode, inputEl, inputModeColumn } = this;
25982
+ if (!useInputMode || !inputEl) {
25983
+ return;
25973
25984
  }
25974
- }
25975
- else {
25976
- this.y += detail.deltaY;
25977
- if (Math.abs(detail.velocityY) < 0.05) {
25978
- const isScrollingUp = detail.deltaY > 0;
25979
- const optHeightFraction = (Math.abs(this.y) % this.optHeight) / this.optHeight;
25980
- if (isScrollingUp && optHeightFraction > 0.5) {
25981
- this.velocity = Math.abs(this.velocity) * -1;
25982
- }
25983
- else if (!isScrollingUp && optHeightFraction <= 0.5) {
25984
- this.velocity = Math.abs(this.velocity);
25985
- }
25985
+ if (inputModeColumn) {
25986
+ this.selectSingleColumn();
25986
25987
  }
25987
- this.decelerate();
25988
- }
25989
- }
25990
- refresh(forceRefresh, animated) {
25991
- var _a;
25992
- let min = this.col.options.length - 1;
25993
- let max = 0;
25994
- const options = this.col.options;
25995
- for (let i = 0; i < options.length; i++) {
25996
- if (!options[i].disabled) {
25997
- min = Math.min(min, i);
25998
- max = Math.max(max, i);
25988
+ else {
25989
+ this.selectMultiColumn();
25999
25990
  }
26000
- }
26001
- /**
26002
- * Only update selected value if column has a
26003
- * velocity of 0. If it does not, then the
26004
- * column is animating might land on
26005
- * a value different than the value at
26006
- * selectedIndex
26007
- */
26008
- if (this.velocity !== 0) {
26009
- return;
26010
- }
26011
- const selectedIndex = clamp(min, (_a = this.col.selectedIndex) !== null && _a !== void 0 ? _a : 0, max);
26012
- if (this.col.prevSelected !== selectedIndex || forceRefresh) {
26013
- const y = selectedIndex * this.optHeight * -1;
26014
- const duration = animated ? TRANSITION_DURATION : 0;
26015
- this.velocity = 0;
26016
- this.update(y, duration, true);
26017
- }
26018
- }
26019
- onDomChange(forceRefresh, animated) {
26020
- const colEl = this.optsEl;
26021
- if (colEl) {
26022
- // DOM READ
26023
- // We perfom a DOM read over a rendered item, this needs to happen after the first render or after the the column has changed
26024
- this.optHeight = colEl.firstElementChild ? colEl.firstElementChild.clientHeight : 0;
26025
- }
26026
- this.refresh(forceRefresh, animated);
26027
- }
26028
- render() {
26029
- const col = this.col;
26030
- const mode = getIonMode$1(this);
26031
- return (hAsync(Host, { class: Object.assign({ [mode]: true, 'picker-col': true, 'picker-opts-left': this.col.align === 'left', 'picker-opts-right': this.col.align === 'right' }, getClassMap(col.cssClass)), style: {
26032
- 'max-width': this.col.columnWidth,
26033
- } }, col.prefix && (hAsync("div", { class: "picker-prefix", style: { width: col.prefixWidth } }, col.prefix)), hAsync("div", { class: "picker-opts", style: { maxWidth: col.optionsWidth }, ref: (el) => (this.optsEl = el) }, col.options.map((o, index) => (hAsync("button", { "aria-label": o.ariaLabel, class: { 'picker-opt': true, 'picker-opt-disabled': !!o.disabled }, "opt-index": index }, o.text)))), col.suffix && (hAsync("div", { class: "picker-suffix", style: { width: col.suffixWidth } }, col.suffix))));
26034
- }
26035
- get el() { return getElement(this); }
26036
- static get watchers() { return {
26037
- "col": ["colChanged"]
26038
- }; }
26039
- static get style() { return {
26040
- ios: pickerColumnIosCss,
26041
- md: pickerColumnMdCss
26042
- }; }
26043
- static get cmpMeta() { return {
26044
- "$flags$": 32,
26045
- "$tagName$": "ion-picker-legacy-column",
26046
- "$members$": {
26047
- "col": [16]
26048
- },
26049
- "$listeners$": undefined,
26050
- "$lazyBundleId$": "-",
26051
- "$attrsToReflect$": []
26052
- }; }
26053
- }
26054
- const PICKER_OPT_SELECTED = 'picker-opt-selected';
26055
- const DECELERATION_FRICTION = 0.97;
26056
- const MAX_PICKER_SPEED = 90;
26057
- const TRANSITION_DURATION = 150;
26058
-
26059
- const pickerColumnOptionIosCss = "/*!@button*/button.sc-ion-picker-column-option-ios{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;width:100%;height:34px;border:0px;outline:none;background:transparent;color:inherit;font-family:var(--ion-font-family, inherit);font-size:inherit;line-height:34px;text-align:inherit;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;overflow:hidden}/*!@:host(.option-disabled)*/.option-disabled.sc-ion-picker-column-option-ios-h{opacity:0.4}/*!@:host(.option-disabled) button*/.option-disabled.sc-ion-picker-column-option-ios-h button.sc-ion-picker-column-option-ios{cursor:default}";
26060
-
26061
- const pickerColumnOptionMdCss = "/*!@button*/button.sc-ion-picker-column-option-md{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;width:100%;height:34px;border:0px;outline:none;background:transparent;color:inherit;font-family:var(--ion-font-family, inherit);font-size:inherit;line-height:34px;text-align:inherit;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;overflow:hidden}/*!@:host(.option-disabled)*/.option-disabled.sc-ion-picker-column-option-md-h{opacity:0.4}/*!@:host(.option-disabled) button*/.option-disabled.sc-ion-picker-column-option-md-h button.sc-ion-picker-column-option-md{cursor:default}/*!@:host(.option-active)*/.option-active.sc-ion-picker-column-option-md-h{color:var(--ion-color-base)}";
26062
-
26063
- class PickerColumnOption {
26064
- constructor(hostRef) {
26065
- registerInstance(this, hostRef);
25991
+ };
26066
25992
  /**
26067
- * We keep track of the parent picker column
26068
- * so we can update the value of it when
26069
- * clicking an enable option.
25993
+ * Emit ionInputModeChange. Picker columns
25994
+ * listen for this event to determine whether
25995
+ * or not their column is "active" for text input.
26070
25996
  */
26071
- this.pickerColumn = null;
26072
- this.ariaLabel = null;
26073
- this.disabled = false;
26074
- this.value = undefined;
26075
- this.color = 'primary';
25997
+ this.emitInputModeChange = () => {
25998
+ const { useInputMode, inputModeColumn } = this;
25999
+ this.ionInputModeChange.emit({
26000
+ useInputMode,
26001
+ inputModeColumn,
26002
+ });
26003
+ };
26076
26004
  }
26077
26005
  /**
26078
- * The aria-label of the option has changed after the
26079
- * first render and needs to be updated within the component.
26080
- *
26081
- * @param ariaLbl The new aria-label value.
26006
+ * When the picker is interacted with
26007
+ * we need to prevent touchstart so other
26008
+ * gestures do not fire. For example,
26009
+ * scrolling on the wheel picker
26010
+ * in ion-datetime should not cause
26011
+ * a card modal to swipe to close.
26082
26012
  */
26083
- onAriaLabelChange(ariaLbl) {
26084
- this.ariaLabel = ariaLbl;
26013
+ preventTouchStartPropagation(ev) {
26014
+ ev.stopPropagation();
26085
26015
  }
26086
26016
  componentWillLoad() {
26087
- const inheritedAttributes = inheritAttributes$1(this.el, ['aria-label']);
26088
- /**
26089
- * The initial value of `aria-label` needs to be set for
26090
- * the first render.
26091
-
26092
- */
26093
- this.ariaLabel = inheritedAttributes['aria-label'] || null;
26094
- }
26095
- connectedCallback() {
26096
- this.pickerColumn = this.el.closest('ion-picker-column');
26097
- }
26098
- disconnectedCallback() {
26099
- this.pickerColumn = null;
26017
+ getElementRoot(this.el).addEventListener('focusin', this.onFocusIn);
26018
+ getElementRoot(this.el).addEventListener('focusout', this.onFocusOut);
26100
26019
  }
26101
26020
  /**
26102
- * The column options can load at any time
26103
- * so the options needs to tell the
26104
- * parent picker column when it is loaded
26105
- * so the picker column can ensure it is
26106
- * centered in the view.
26107
- *
26108
- * We intentionally run this for every
26109
- * option. If we only ran this from
26110
- * the selected option then if the newly
26111
- * loaded options were not selected then
26112
- * scrollActiveItemIntoView would not be called.
26021
+ * @internal
26022
+ * Exits text entry mode for the picker
26023
+ * This method blurs the hidden input
26024
+ * and cause the keyboard to dismiss.
26113
26025
  */
26114
- componentDidLoad() {
26115
- const { pickerColumn } = this;
26116
- if (pickerColumn !== null) {
26117
- pickerColumn.scrollActiveItemIntoView();
26026
+ async exitInputMode() {
26027
+ const { inputEl, useInputMode } = this;
26028
+ if (!useInputMode || !inputEl) {
26029
+ return;
26118
26030
  }
26119
- }
26120
- /**
26121
- * When an option is clicked, update the
26122
- * parent picker column value. This
26123
- * component will handle centering the option
26124
- * in the column view.
26125
- */
26126
- onClick() {
26127
- const { pickerColumn } = this;
26128
- if (pickerColumn !== null) {
26129
- pickerColumn.setValue(this.value);
26031
+ this.useInputMode = false;
26032
+ this.inputModeColumn = undefined;
26033
+ inputEl.blur();
26034
+ inputEl.value = '';
26035
+ if (this.destroyKeypressListener) {
26036
+ this.destroyKeypressListener();
26037
+ this.destroyKeypressListener = undefined;
26130
26038
  }
26039
+ this.emitInputModeChange();
26131
26040
  }
26132
26041
  render() {
26133
- const { color, disabled, ariaLabel } = this;
26134
- const mode = getIonMode$1(this);
26135
- return (hAsync(Host, { class: createColorClasses$1(color, {
26136
- [mode]: true,
26137
- ['option-disabled']: disabled,
26138
- }) }, hAsync("button", { tabindex: "-1", "aria-label": ariaLabel, disabled: disabled, onClick: () => this.onClick() }, hAsync("slot", null))));
26042
+ return (hAsync(Host, { onPointerDown: (ev) => this.onPointerDown(ev), onClick: () => this.onClick() }, hAsync("input", { "aria-hidden": "true", tabindex: -1, inputmode: "numeric", type: "number", ref: (el) => (this.inputEl = el), onInput: () => this.onInputChange(), onBlur: () => this.exitInputMode() }), hAsync("div", { class: "picker-before" }), hAsync("div", { class: "picker-after" }), hAsync("div", { class: "picker-highlight", ref: (el) => (this.highlightEl = el) }), hAsync("slot", null)));
26139
26043
  }
26140
26044
  get el() { return getElement(this); }
26141
- static get watchers() { return {
26142
- "aria-label": ["onAriaLabelChange"]
26143
- }; }
26144
26045
  static get style() { return {
26145
- ios: pickerColumnOptionIosCss,
26146
- md: pickerColumnOptionMdCss
26046
+ ios: pickerInternalIosCss,
26047
+ md: pickerInternalMdCss
26147
26048
  }; }
26148
26049
  static get cmpMeta() { return {
26149
26050
  "$flags$": 41,
26150
- "$tagName$": "ion-picker-column-option",
26051
+ "$tagName$": "ion-picker-internal",
26151
26052
  "$members$": {
26152
- "disabled": [4],
26153
- "value": [8],
26154
- "color": [513],
26155
- "ariaLabel": [32]
26053
+ "exitInputMode": [64]
26156
26054
  },
26157
- "$listeners$": undefined,
26055
+ "$listeners$": [[1, "touchstart", "preventTouchStartPropagation"]],
26158
26056
  "$lazyBundleId$": "-",
26159
- "$attrsToReflect$": [["color", "color"]]
26057
+ "$attrsToReflect$": []
26160
26058
  }; }
26161
26059
  }
26162
26060
 
@@ -28781,6 +28679,24 @@ const translateElement = (el, value, duration = 200) => {
28781
28679
  };
28782
28680
  // Utils
28783
28681
  // -----------------------------
28682
+ /**
28683
+ * In order to use the native iOS refresher the device must support rubber band scrolling.
28684
+ * As part of this, we need to exclude Desktop Safari because it has a slightly different rubber band effect that is not compatible with the native refresher in Ionic.
28685
+ *
28686
+ * We also need to be careful not to include devices that spoof their user agent.
28687
+ * For example, when using iOS emulation in Chrome the user agent will be spoofed such that
28688
+ * navigator.maxTouchPointer > 0. To work around this,
28689
+ * we check to see if the apple-pay-logo is supported as a named image which is only
28690
+ * true on Apple devices.
28691
+ *
28692
+ * We previously checked referencEl.style.webkitOverflowScrolling to explicitly check
28693
+ * for rubber band support. However, this property was removed on iPadOS and it's possible
28694
+ * that this will be removed on iOS in the future too.
28695
+ *
28696
+ */
28697
+ const supportsRubberBandScrolling = () => {
28698
+ return navigator.maxTouchPoints > 0 && CSS.supports('background: -webkit-named-image(apple-pay-logo-black)');
28699
+ };
28784
28700
  const shouldUseNativeRefresher = async (referenceEl, mode) => {
28785
28701
  const refresherContent = referenceEl.querySelector('ion-refresher-content');
28786
28702
  if (!refresherContent) {
@@ -28791,16 +28707,7 @@ const shouldUseNativeRefresher = async (referenceEl, mode) => {
28791
28707
  const refreshingSpinner = referenceEl.querySelector('ion-refresher-content .refresher-refreshing ion-spinner');
28792
28708
  return (pullingSpinner !== null &&
28793
28709
  refreshingSpinner !== null &&
28794
- /**
28795
- * We use webkitOverflowScrolling for feature detection with rubber band scrolling
28796
- * on iOS. When doing referenceEl.style, webkitOverflowScrolling is undefined on non-iOS platforms.
28797
- * However, it will be the empty string on iOS.
28798
- * Note that we do not use getPropertyValue (and thus need to cast as any) because calling
28799
- * getPropertyValue('-webkit-overflow-scrolling') will return the empty string if it is not
28800
- * set on the element, even if the platform does not support that.
28801
- */
28802
- ((mode === 'ios' && isPlatform('mobile') && referenceEl.style.webkitOverflowScrolling !== undefined) ||
28803
- mode === 'md'));
28710
+ ((mode === 'ios' && supportsRubberBandScrolling()) || mode === 'md'));
28804
28711
  };
28805
28712
 
28806
28713
  const refresherIosCss = "ion-refresher{top:0;display:none;position:absolute;width:100%;height:60px;pointer-events:none;z-index:-1}@supports (inset-inline-start: 0){ion-refresher{inset-inline-start:0}}@supports not (inset-inline-start: 0){ion-refresher{left:0}:host-context([dir=rtl]) ion-refresher{left:unset;right:unset;right:0}[dir=rtl] ion-refresher{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){ion-refresher:dir(rtl){left:unset;right:unset;right:0}}}ion-refresher.refresher-active{display:block}ion-refresher-content{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;height:100%}.refresher-pulling,.refresher-refreshing{display:none;width:100%}.refresher-pulling-icon,.refresher-refreshing-icon{-webkit-transform-origin:center;transform-origin:center;-webkit-transition:200ms;transition:200ms;font-size:30px;text-align:center}:host-context([dir=rtl]) .refresher-pulling-icon,:host-context([dir=rtl]) .refresher-refreshing-icon{-webkit-transform-origin:calc(100% - center);transform-origin:calc(100% - center)}[dir=rtl] .refresher-pulling-icon,[dir=rtl] .refresher-refreshing-icon{-webkit-transform-origin:calc(100% - center);transform-origin:calc(100% - center)}@supports selector(:dir(rtl)){.refresher-pulling-icon:dir(rtl),.refresher-refreshing-icon:dir(rtl){-webkit-transform-origin:calc(100% - center);transform-origin:calc(100% - center)}}.refresher-pulling-text,.refresher-refreshing-text{font-size:16px;text-align:center}ion-refresher-content .arrow-container{display:none}.refresher-pulling ion-refresher-content .refresher-pulling{display:block}.refresher-ready ion-refresher-content .refresher-pulling{display:block}.refresher-ready ion-refresher-content .refresher-pulling-icon{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.refresher-refreshing ion-refresher-content .refresher-refreshing{display:block}.refresher-cancelling ion-refresher-content .refresher-pulling{display:block}.refresher-cancelling ion-refresher-content .refresher-pulling-icon{-webkit-transform:scale(0);transform:scale(0)}.refresher-completing ion-refresher-content .refresher-refreshing{display:block}.refresher-completing ion-refresher-content .refresher-refreshing-icon{-webkit-transform:scale(0);transform:scale(0)}.refresher-native .refresher-pulling-text,.refresher-native .refresher-refreshing-text{display:none}.refresher-ios .refresher-pulling-icon,.refresher-ios .refresher-refreshing-icon{color:var(--ion-text-color, #000)}.refresher-ios .refresher-pulling-text,.refresher-ios .refresher-refreshing-text{color:var(--ion-text-color, #000)}.refresher-ios .refresher-refreshing .spinner-lines-ios line,.refresher-ios .refresher-refreshing .spinner-lines-small-ios line,.refresher-ios .refresher-refreshing .spinner-crescent circle{stroke:var(--ion-text-color, #000)}.refresher-ios .refresher-refreshing .spinner-bubbles circle,.refresher-ios .refresher-refreshing .spinner-circles circle,.refresher-ios .refresher-refreshing .spinner-dots circle{fill:var(--ion-text-color, #000)}ion-refresher.refresher-native{display:block;z-index:1}ion-refresher.refresher-native ion-spinner{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:0;margin-bottom:0}.refresher-native .refresher-refreshing ion-spinner{--refreshing-rotation-duration:2s;display:none;-webkit-animation:var(--refreshing-rotation-duration) ease-out refresher-rotate forwards;animation:var(--refreshing-rotation-duration) ease-out refresher-rotate forwards}.refresher-native .refresher-refreshing{display:none;-webkit-animation:250ms linear refresher-pop forwards;animation:250ms linear refresher-pop forwards}.refresher-native ion-spinner{width:32px;height:32px;color:var(--ion-color-step-450, #747577)}.refresher-native.refresher-refreshing .refresher-pulling ion-spinner,.refresher-native.refresher-completing .refresher-pulling ion-spinner{display:none}.refresher-native.refresher-refreshing .refresher-refreshing ion-spinner,.refresher-native.refresher-completing .refresher-refreshing ion-spinner{display:block}.refresher-native.refresher-pulling .refresher-pulling ion-spinner{display:block}.refresher-native.refresher-pulling .refresher-refreshing ion-spinner{display:none}.refresher-native.refresher-completing ion-refresher-content .refresher-refreshing-icon{-webkit-transform:scale(0) rotate(180deg);transform:scale(0) rotate(180deg);-webkit-transition:300ms;transition:300ms}@-webkit-keyframes refresher-pop{0%{-webkit-transform:scale(1);transform:scale(1);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}50%{-webkit-transform:scale(1.2);transform:scale(1.2);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}100%{-webkit-transform:scale(1);transform:scale(1)}}@keyframes refresher-pop{0%{-webkit-transform:scale(1);transform:scale(1);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}50%{-webkit-transform:scale(1.2);transform:scale(1.2);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}100%{-webkit-transform:scale(1);transform:scale(1)}}@-webkit-keyframes refresher-rotate{from{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(180deg);transform:rotate(180deg)}}@keyframes refresher-rotate{from{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(180deg);transform:rotate(180deg)}}";
@@ -29589,9 +29496,15 @@ class RefresherContent {
29589
29496
  }
29590
29497
  componentWillLoad() {
29591
29498
  if (this.pullingIcon === undefined) {
29499
+ /**
29500
+ * The native iOS refresher uses a spinner instead of
29501
+ * an icon, so we need to see if this device supports
29502
+ * the native iOS refresher.
29503
+ */
29504
+ const hasRubberBandScrolling = supportsRubberBandScrolling();
29592
29505
  const mode = getIonMode$1(this);
29593
- const overflowRefresher = this.el.style.webkitOverflowScrolling !== undefined ? 'lines' : arrowDown;
29594
- this.pullingIcon = config.get('refreshingIcon', mode === 'ios' && isPlatform('mobile') ? config.get('spinner', overflowRefresher) : 'circular');
29506
+ const overflowRefresher = hasRubberBandScrolling ? 'lines' : arrowDown;
29507
+ this.pullingIcon = config.get('refreshingIcon', mode === 'ios' && hasRubberBandScrolling ? config.get('spinner', overflowRefresher) : 'circular');
29595
29508
  }
29596
29509
  if (this.refreshingSpinner === undefined) {
29597
29510
  const mode = getIonMode$1(this);
@@ -31384,8 +31297,6 @@ class Searchbar {
31384
31297
  *
31385
31298
  * Developers who wish to focus an input when an overlay is presented
31386
31299
  * should call `setFocus` after `didPresent` has resolved.
31387
- *
31388
- * See [managing focus](/docs/developing/managing-focus) for more information.
31389
31300
  */
31390
31301
  async setFocus() {
31391
31302
  if (this.nativeInput) {
@@ -33867,8 +33778,6 @@ class Textarea {
33867
33778
  /**
33868
33779
  * Sets focus on the native `textarea` in `ion-textarea`. Use this method instead of the global
33869
33780
  * `textarea.focus()`.
33870
- *
33871
- * See [managing focus](/docs/developing/managing-focus) for more information.
33872
33781
  */
33873
33782
  async setFocus() {
33874
33783
  if (this.nativeInput) {
@@ -35065,29 +34974,9 @@ class ToolbarTitle {
35065
34974
  return this.size !== undefined ? this.size : 'default';
35066
34975
  }
35067
34976
  render() {
35068
- var _a;
35069
- const { el } = this;
35070
34977
  const mode = getIonMode$1(this);
35071
34978
  const size = this.getSize();
35072
- /**
35073
- * If there is already a level one heading
35074
- * within the context of the page then
35075
- * do not add another one.
35076
- */
35077
- const root = (_a = el.closest('.ion-page')) !== null && _a !== void 0 ? _a : doc === null || doc === void 0 ? void 0 : doc.body;
35078
- const hasHeading = root === null || root === void 0 ? void 0 : root.querySelector('h1, [role="heading"][aria-level="1"]');
35079
- const hasRole = el.hasAttribute('role');
35080
- /**
35081
- * The first `ion-title` on the page is considered
35082
- * the heading. This can be customized by setting
35083
- * role="heading" aria-level="1" on another element
35084
- * or by using h1.
35085
- *
35086
- * Level 1 headings must be contained inside of a landmark,
35087
- * so we check for ion-header which is typically the landmark.
35088
- */
35089
- const isHeading = hasRole === false && hasHeading === null && (root === null || root === void 0 ? void 0 : root.querySelector('ion-title')) === el && (el === null || el === void 0 ? void 0 : el.closest('ion-header[role]')) !== null;
35090
- return (hAsync(Host, { role: isHeading ? 'heading' : null, "aria-level": isHeading ? '1' : null, class: createColorClasses$1(this.color, {
34979
+ return (hAsync(Host, { class: createColorClasses$1(this.color, {
35091
34980
  [mode]: true,
35092
34981
  [`title-${size}`]: true,
35093
34982
  'title-rtl': document.dir === 'rtl',
@@ -35167,11 +35056,10 @@ registerComponents([
35167
35056
  Nav,
35168
35057
  NavLink,
35169
35058
  Note,
35170
- Picker$1,
35171
35059
  Picker,
35172
- PickerColumn,
35173
35060
  PickerColumnCmp,
35174
- PickerColumnOption,
35061
+ PickerColumnInternal,
35062
+ PickerInternal,
35175
35063
  Popover,
35176
35064
  ProgressBar,
35177
35065
  Radio,