@ionic/core 7.5.4-dev.11699031793.11a4baba → 7.5.4-dev.11699037031.16f5cbc8

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 (476) hide show
  1. package/components/animation.js +12 -11
  2. package/components/checkbox.js +2 -0
  3. package/components/index4.js +10 -12
  4. package/components/index5.js +0 -22
  5. package/components/input-shims.js +12 -7
  6. package/components/ion-datetime.js +2 -2
  7. package/components/ion-input.js +2 -0
  8. package/components/ion-range.js +2 -0
  9. package/components/ion-select.js +5 -25
  10. package/components/ion-skeleton-text.js +14 -1
  11. package/components/ion-textarea.js +2 -0
  12. package/components/ion-toast.js +13 -18
  13. package/components/ion-toggle.js +2 -0
  14. package/components/item.js +2 -2
  15. package/components/label.js +2 -2
  16. package/components/radio-group.js +2 -0
  17. package/components/radio.js +35 -2
  18. package/dist/cjs/{animation-1083855c.js → animation-d101aa7a.js} +13 -12
  19. package/dist/cjs/{app-globals-d1892126.js → app-globals-ef077808.js} +1 -1
  20. package/dist/cjs/{button-active-e93ab34d.js → button-active-69c3bee4.js} +2 -2
  21. package/dist/cjs/{capacitor-2ffba62a.js → capacitor-f68447d3.js} +1 -1
  22. package/dist/cjs/compare-with-utils-50c82573.js +37 -0
  23. package/dist/cjs/{haptic-678abc9f.js → haptic-a74c2767.js} +1 -1
  24. package/dist/cjs/{index-4323b635.js → index-9146d04a.js} +12 -14
  25. package/dist/cjs/{index-84c4c696.js → index-adbcffee.js} +3 -3
  26. package/dist/cjs/index-c8d52405.js +10 -0
  27. package/dist/cjs/{index-9f379eaa.js → index-e9634bc9.js} +1 -1
  28. package/dist/cjs/index.cjs.js +10 -10
  29. package/dist/cjs/{input-shims-b0a75a01.js → input-shims-3e3f35b9.js} +15 -10
  30. package/dist/cjs/{input.utils-0fe3097c.js → input.utils-590f0f18.js} +1 -1
  31. package/dist/cjs/ion-accordion_2.cjs.entry.js +3 -3
  32. package/dist/cjs/ion-action-sheet.cjs.entry.js +8 -8
  33. package/dist/cjs/ion-alert.cjs.entry.js +8 -8
  34. package/dist/cjs/ion-app_8.cjs.entry.js +11 -11
  35. package/dist/cjs/ion-avatar_3.cjs.entry.js +2 -2
  36. package/dist/cjs/ion-back-button.cjs.entry.js +3 -3
  37. package/dist/cjs/ion-backdrop.cjs.entry.js +2 -2
  38. package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +3 -3
  39. package/dist/cjs/ion-button_2.cjs.entry.js +2 -2
  40. package/dist/cjs/ion-card_5.cjs.entry.js +2 -2
  41. package/dist/cjs/ion-checkbox.cjs.entry.js +4 -2
  42. package/dist/cjs/ion-chip.cjs.entry.js +2 -2
  43. package/dist/cjs/ion-col_3.cjs.entry.js +2 -2
  44. package/dist/cjs/ion-datetime-button.cjs.entry.js +2 -2
  45. package/dist/cjs/ion-datetime_3.cjs.entry.js +10 -10
  46. package/dist/cjs/ion-fab_3.cjs.entry.js +3 -3
  47. package/dist/cjs/ion-img.cjs.entry.js +2 -2
  48. package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +2 -2
  49. package/dist/cjs/ion-input.cjs.entry.js +8 -6
  50. package/dist/cjs/ion-item-option_3.cjs.entry.js +2 -2
  51. package/dist/cjs/ion-item_8.cjs.entry.js +20 -7
  52. package/dist/cjs/ion-loading.cjs.entry.js +5 -5
  53. package/dist/cjs/ion-menu_3.cjs.entry.js +8 -8
  54. package/dist/cjs/ion-modal.cjs.entry.js +9 -9
  55. package/dist/cjs/ion-nav_2.cjs.entry.js +3 -3
  56. package/dist/cjs/ion-picker-column-internal.cjs.entry.js +5 -5
  57. package/dist/cjs/ion-picker-internal.cjs.entry.js +1 -1
  58. package/dist/cjs/ion-popover.cjs.entry.js +6 -6
  59. package/dist/cjs/ion-progress-bar.cjs.entry.js +2 -2
  60. package/dist/cjs/ion-radio_2.cjs.entry.js +8 -3
  61. package/dist/cjs/ion-range.cjs.entry.js +4 -2
  62. package/dist/cjs/ion-refresher_2.cjs.entry.js +7 -7
  63. package/dist/cjs/ion-reorder_2.cjs.entry.js +6 -6
  64. package/dist/cjs/ion-ripple-effect.cjs.entry.js +2 -2
  65. package/dist/cjs/ion-route_4.cjs.entry.js +2 -2
  66. package/dist/cjs/ion-searchbar.cjs.entry.js +3 -3
  67. package/dist/cjs/ion-segment_2.cjs.entry.js +2 -2
  68. package/dist/cjs/ion-select_3.cjs.entry.js +15 -34
  69. package/dist/cjs/ion-spinner.cjs.entry.js +2 -2
  70. package/dist/cjs/ion-split-pane.cjs.entry.js +2 -2
  71. package/dist/cjs/ion-tab-bar_2.cjs.entry.js +6 -6
  72. package/dist/cjs/ion-tab_2.cjs.entry.js +1 -1
  73. package/dist/cjs/ion-text.cjs.entry.js +2 -2
  74. package/dist/cjs/ion-textarea.cjs.entry.js +7 -5
  75. package/dist/cjs/ion-toast.cjs.entry.js +18 -23
  76. package/dist/cjs/ion-toggle.cjs.entry.js +8 -6
  77. package/dist/cjs/{ionic-global-91f1f8f2.js → ionic-global-4538d91c.js} +1 -1
  78. package/dist/cjs/ionic.cjs.js +4 -4
  79. package/dist/cjs/{ios.transition-facbe500.js → ios.transition-7972d9e3.js} +4 -4
  80. package/dist/cjs/{keyboard-fd7db491.js → keyboard-43df0428.js} +1 -1
  81. package/dist/cjs/{keyboard-38f2bb7b.js → keyboard-840107b3.js} +3 -3
  82. package/dist/cjs/{keyboard-controller-50beb83a.js → keyboard-controller-019f42df.js} +2 -2
  83. package/dist/cjs/loader.cjs.js +4 -4
  84. package/dist/cjs/{md.transition-0a7d53f1.js → md.transition-6e61a10f.js} +4 -4
  85. package/dist/cjs/{notch-controller-f4f6af5d.js → notch-controller-c22d1344.js} +1 -1
  86. package/dist/cjs/{overlays-91bb8ff7.js → overlays-d80a2cf2.js} +2 -2
  87. package/dist/cjs/{status-tap-a9d8edcf.js → status-tap-2e9f9c86.js} +1 -1
  88. package/dist/collection/components/checkbox/checkbox.js +2 -0
  89. package/dist/collection/components/datetime/datetime.ios.css +1 -0
  90. package/dist/collection/components/datetime/datetime.md.css +1 -0
  91. package/dist/collection/components/icon/test/dir/heart-broken.svg +0 -0
  92. package/dist/collection/components/input/input.js +2 -0
  93. package/dist/collection/components/item/item.ios.css +85 -15
  94. package/dist/collection/components/item/item.md.css +85 -15
  95. package/dist/collection/components/item/test/basic/item.e2e.js +26 -0
  96. package/dist/collection/components/item/test/disabled/item.e2e.js +0 -1
  97. package/dist/collection/components/item/test/icons/heart-broken.svg +0 -0
  98. package/dist/collection/components/label/label.ios.css +14 -3
  99. package/dist/collection/components/label/label.md.css +14 -3
  100. package/dist/collection/components/note/test/a11y/note.e2e.js +43 -0
  101. package/dist/collection/components/radio/radio.js +5 -2
  102. package/dist/collection/components/radio-group/radio-group.js +24 -0
  103. package/dist/collection/components/radio-group/test/compare-with/radio-group.e2e.js +93 -0
  104. package/dist/collection/components/range/range.js +2 -0
  105. package/dist/collection/components/select/select.ios.css +5 -0
  106. package/dist/collection/components/select/select.js +4 -24
  107. package/dist/collection/components/select/select.md.css +5 -0
  108. package/dist/collection/components/select/test/legacy/wrapping/select.e2e.js +1 -1
  109. package/dist/collection/components/skeleton-text/skeleton-text.js +39 -0
  110. package/dist/collection/components/textarea/textarea.js +2 -0
  111. package/dist/collection/components/toast/animations/md.enter.js +2 -2
  112. package/dist/collection/components/toast/animations/utils.js +9 -14
  113. package/dist/collection/components/toast/toast.ios.css +10 -10
  114. package/dist/collection/components/toast/toast.md.css +10 -0
  115. package/dist/collection/components/toggle/toggle.js +2 -0
  116. package/dist/collection/utils/animation/animation.js +12 -11
  117. package/dist/collection/utils/browser/index.js +0 -22
  118. package/dist/collection/utils/forms/compare-with-utils.js +32 -0
  119. package/dist/collection/utils/forms/index.js +1 -0
  120. package/dist/collection/utils/input-shims/input-shims.js +12 -6
  121. package/dist/collection/utils/menu-controller/index.js +10 -12
  122. package/dist/docs.json +43 -2
  123. package/dist/esm/{animation-8aa13916.js → animation-cf3dd234.js} +13 -12
  124. package/dist/esm/{app-globals-8d413354.js → app-globals-ba8b3a06.js} +1 -1
  125. package/dist/esm/{button-active-c7a04c9a.js → button-active-109ba60d.js} +2 -2
  126. package/dist/esm/{capacitor-b4979570.js → capacitor-f1f25364.js} +1 -1
  127. package/dist/esm/compare-with-utils-363d00b3.js +34 -0
  128. package/dist/esm/{haptic-1243b917.js → haptic-1a66d69f.js} +1 -1
  129. package/dist/esm/{index-d62333a6.js → index-50582f1c.js} +3 -3
  130. package/dist/esm/{index-e2052f20.js → index-6a48e009.js} +12 -14
  131. package/dist/esm/index-a5d50daf.js +7 -0
  132. package/dist/esm/{index-f0cc4e14.js → index-c9e82353.js} +1 -1
  133. package/dist/esm/index.js +10 -10
  134. package/dist/esm/{input-shims-d0c93e5d.js → input-shims-1d767845.js} +14 -9
  135. package/dist/esm/{input.utils-ec063df4.js → input.utils-d04a7212.js} +1 -1
  136. package/dist/esm/ion-accordion_2.entry.js +3 -3
  137. package/dist/esm/ion-action-sheet.entry.js +8 -8
  138. package/dist/esm/ion-alert.entry.js +8 -8
  139. package/dist/esm/ion-app_8.entry.js +11 -11
  140. package/dist/esm/ion-avatar_3.entry.js +2 -2
  141. package/dist/esm/ion-back-button.entry.js +3 -3
  142. package/dist/esm/ion-backdrop.entry.js +2 -2
  143. package/dist/esm/ion-breadcrumb_2.entry.js +3 -3
  144. package/dist/esm/ion-button_2.entry.js +2 -2
  145. package/dist/esm/ion-card_5.entry.js +2 -2
  146. package/dist/esm/ion-checkbox.entry.js +4 -2
  147. package/dist/esm/ion-chip.entry.js +2 -2
  148. package/dist/esm/ion-col_3.entry.js +2 -2
  149. package/dist/esm/ion-datetime-button.entry.js +2 -2
  150. package/dist/esm/ion-datetime_3.entry.js +10 -10
  151. package/dist/esm/ion-fab_3.entry.js +3 -3
  152. package/dist/esm/ion-img.entry.js +2 -2
  153. package/dist/esm/ion-infinite-scroll_2.entry.js +2 -2
  154. package/dist/esm/ion-input.entry.js +8 -6
  155. package/dist/esm/ion-item-option_3.entry.js +2 -2
  156. package/dist/esm/ion-item_8.entry.js +20 -7
  157. package/dist/esm/ion-loading.entry.js +5 -5
  158. package/dist/esm/ion-menu_3.entry.js +8 -8
  159. package/dist/esm/ion-modal.entry.js +9 -9
  160. package/dist/esm/ion-nav_2.entry.js +3 -3
  161. package/dist/esm/ion-picker-column-internal.entry.js +5 -5
  162. package/dist/esm/ion-picker-internal.entry.js +1 -1
  163. package/dist/esm/ion-popover.entry.js +6 -6
  164. package/dist/esm/ion-progress-bar.entry.js +2 -2
  165. package/dist/esm/ion-radio_2.entry.js +8 -3
  166. package/dist/esm/ion-range.entry.js +4 -2
  167. package/dist/esm/ion-refresher_2.entry.js +7 -7
  168. package/dist/esm/ion-reorder_2.entry.js +6 -6
  169. package/dist/esm/ion-ripple-effect.entry.js +2 -2
  170. package/dist/esm/ion-route_4.entry.js +2 -2
  171. package/dist/esm/ion-searchbar.entry.js +3 -3
  172. package/dist/esm/ion-segment_2.entry.js +2 -2
  173. package/dist/esm/ion-select_3.entry.js +11 -30
  174. package/dist/esm/ion-spinner.entry.js +2 -2
  175. package/dist/esm/ion-split-pane.entry.js +2 -2
  176. package/dist/esm/ion-tab-bar_2.entry.js +6 -6
  177. package/dist/esm/ion-tab_2.entry.js +1 -1
  178. package/dist/esm/ion-text.entry.js +2 -2
  179. package/dist/esm/ion-textarea.entry.js +7 -5
  180. package/dist/esm/ion-toast.entry.js +18 -23
  181. package/dist/esm/ion-toggle.entry.js +8 -6
  182. package/dist/esm/{ionic-global-8673c5ce.js → ionic-global-7efdecd0.js} +1 -1
  183. package/dist/esm/ionic.js +5 -5
  184. package/dist/esm/{ios.transition-2fdb6f26.js → ios.transition-e20d71bc.js} +4 -4
  185. package/dist/esm/{keyboard-b551279d.js → keyboard-9f771a04.js} +3 -3
  186. package/dist/esm/{keyboard-b063f012.js → keyboard-b6230bfb.js} +1 -1
  187. package/dist/esm/{keyboard-controller-0c2dce71.js → keyboard-controller-3f0faa10.js} +2 -2
  188. package/dist/esm/loader.js +5 -5
  189. package/dist/esm/{md.transition-6f8b3cd0.js → md.transition-a8469407.js} +4 -4
  190. package/dist/esm/{notch-controller-8c9c0e54.js → notch-controller-3f79197e.js} +1 -1
  191. package/dist/esm/{overlays-d4c45da6.js → overlays-a31c8878.js} +2 -2
  192. package/dist/esm/polyfills/core-js.js +0 -0
  193. package/dist/esm/polyfills/dom.js +0 -0
  194. package/dist/esm/polyfills/es5-html-element.js +0 -0
  195. package/dist/esm/polyfills/index.js +0 -0
  196. package/dist/esm/polyfills/system.js +0 -0
  197. package/dist/esm/{status-tap-71db1a8f.js → status-tap-7ca28a1c.js} +1 -1
  198. package/dist/esm-es5/{animation-8aa13916.js → animation-cf3dd234.js} +1 -1
  199. package/dist/esm-es5/app-globals-ba8b3a06.js +4 -0
  200. package/dist/esm-es5/{button-active-c7a04c9a.js → button-active-109ba60d.js} +1 -1
  201. package/dist/esm-es5/{capacitor-b4979570.js → capacitor-f1f25364.js} +1 -1
  202. package/dist/esm-es5/compare-with-utils-363d00b3.js +4 -0
  203. package/dist/esm-es5/{haptic-1243b917.js → haptic-1a66d69f.js} +1 -1
  204. package/dist/esm-es5/{index-d62333a6.js → index-50582f1c.js} +1 -1
  205. package/dist/esm-es5/index-6a48e009.js +4 -0
  206. package/dist/esm-es5/index-c9e82353.js +4 -0
  207. package/dist/esm-es5/index.js +1 -1
  208. package/dist/esm-es5/input-shims-1d767845.js +4 -0
  209. package/dist/esm-es5/input.utils-d04a7212.js +4 -0
  210. package/dist/esm-es5/ion-accordion_2.entry.js +1 -1
  211. package/dist/esm-es5/ion-action-sheet.entry.js +1 -1
  212. package/dist/esm-es5/ion-alert.entry.js +1 -1
  213. package/dist/esm-es5/ion-app_8.entry.js +1 -1
  214. package/dist/esm-es5/ion-avatar_3.entry.js +1 -1
  215. package/dist/esm-es5/ion-back-button.entry.js +1 -1
  216. package/dist/esm-es5/ion-backdrop.entry.js +1 -1
  217. package/dist/esm-es5/ion-breadcrumb_2.entry.js +1 -1
  218. package/dist/esm-es5/ion-button_2.entry.js +1 -1
  219. package/dist/esm-es5/ion-card_5.entry.js +1 -1
  220. package/dist/esm-es5/ion-checkbox.entry.js +1 -1
  221. package/dist/esm-es5/ion-chip.entry.js +1 -1
  222. package/dist/esm-es5/ion-col_3.entry.js +1 -1
  223. package/dist/esm-es5/ion-datetime-button.entry.js +1 -1
  224. package/dist/esm-es5/ion-datetime_3.entry.js +1 -1
  225. package/dist/esm-es5/ion-fab_3.entry.js +1 -1
  226. package/dist/esm-es5/ion-img.entry.js +1 -1
  227. package/dist/esm-es5/ion-infinite-scroll_2.entry.js +1 -1
  228. package/dist/esm-es5/ion-input.entry.js +1 -1
  229. package/dist/esm-es5/ion-item-option_3.entry.js +1 -1
  230. package/dist/esm-es5/ion-item_8.entry.js +1 -1
  231. package/dist/esm-es5/ion-loading.entry.js +1 -1
  232. package/dist/esm-es5/ion-menu_3.entry.js +1 -1
  233. package/dist/esm-es5/ion-modal.entry.js +1 -1
  234. package/dist/esm-es5/ion-nav_2.entry.js +1 -1
  235. package/dist/esm-es5/ion-picker-column-internal.entry.js +1 -1
  236. package/dist/esm-es5/ion-picker-internal.entry.js +1 -1
  237. package/dist/esm-es5/ion-popover.entry.js +1 -1
  238. package/dist/esm-es5/ion-progress-bar.entry.js +1 -1
  239. package/dist/esm-es5/ion-radio_2.entry.js +1 -1
  240. package/dist/esm-es5/ion-range.entry.js +1 -1
  241. package/dist/esm-es5/ion-refresher_2.entry.js +1 -1
  242. package/dist/esm-es5/ion-reorder_2.entry.js +1 -1
  243. package/dist/esm-es5/ion-ripple-effect.entry.js +1 -1
  244. package/dist/esm-es5/ion-route_4.entry.js +1 -1
  245. package/dist/esm-es5/ion-searchbar.entry.js +1 -1
  246. package/dist/esm-es5/ion-segment_2.entry.js +1 -1
  247. package/dist/esm-es5/ion-select_3.entry.js +1 -1
  248. package/dist/esm-es5/ion-spinner.entry.js +1 -1
  249. package/dist/esm-es5/ion-split-pane.entry.js +1 -1
  250. package/dist/esm-es5/ion-tab-bar_2.entry.js +1 -1
  251. package/dist/esm-es5/ion-tab_2.entry.js +1 -1
  252. package/dist/esm-es5/ion-text.entry.js +1 -1
  253. package/dist/esm-es5/ion-textarea.entry.js +1 -1
  254. package/dist/esm-es5/ion-toast.entry.js +1 -1
  255. package/dist/esm-es5/ion-toggle.entry.js +1 -1
  256. package/dist/esm-es5/{ionic-global-8673c5ce.js → ionic-global-7efdecd0.js} +1 -1
  257. package/dist/esm-es5/ionic.js +1 -1
  258. package/dist/esm-es5/{ios.transition-2fdb6f26.js → ios.transition-e20d71bc.js} +1 -1
  259. package/dist/esm-es5/{keyboard-b551279d.js → keyboard-9f771a04.js} +1 -1
  260. package/dist/esm-es5/{keyboard-b063f012.js → keyboard-b6230bfb.js} +1 -1
  261. package/dist/esm-es5/{keyboard-controller-0c2dce71.js → keyboard-controller-3f0faa10.js} +1 -1
  262. package/dist/esm-es5/loader.js +1 -1
  263. package/dist/esm-es5/md.transition-a8469407.js +4 -0
  264. package/dist/esm-es5/{notch-controller-8c9c0e54.js → notch-controller-3f79197e.js} +1 -1
  265. package/dist/esm-es5/{overlays-d4c45da6.js → overlays-a31c8878.js} +1 -1
  266. package/dist/esm-es5/{status-tap-71db1a8f.js → status-tap-7ca28a1c.js} +1 -1
  267. package/dist/html.html-data.json +5 -1
  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-793625e5.system.entry.js → p-00a10b94.system.entry.js} +1 -1
  272. package/dist/ionic/{p-1e87e3fb.system.js → p-0148306b.system.js} +1 -1
  273. package/dist/ionic/{p-c096895d.system.js → p-02663394.system.js} +1 -1
  274. package/dist/ionic/{p-d1ac0094.entry.js → p-03a36678.entry.js} +1 -1
  275. package/dist/ionic/{p-8c44e074.system.entry.js → p-0becf7b5.system.entry.js} +1 -1
  276. package/dist/ionic/{p-3d074f21.system.js → p-0c40f7d3.system.js} +1 -1
  277. package/dist/ionic/{p-44723fa5.entry.js → p-0e8335b9.entry.js} +1 -1
  278. package/dist/ionic/p-11104d0d.entry.js +4 -0
  279. package/dist/ionic/{p-81c818e7.js → p-11cb4e19.js} +1 -1
  280. package/dist/ionic/{p-ef0d410f.entry.js → p-12d62aa9.entry.js} +1 -1
  281. package/dist/ionic/p-139bd79d.system.entry.js +4 -0
  282. package/dist/ionic/{p-3b3046e8.system.js → p-13dd7d20.system.js} +1 -1
  283. package/dist/ionic/{p-d9c86724.system.entry.js → p-152998a6.system.entry.js} +1 -1
  284. package/dist/ionic/{p-1acd1607.system.entry.js → p-15512a5e.system.entry.js} +1 -1
  285. package/dist/ionic/{p-276afddd.js → p-1667596c.js} +1 -1
  286. package/dist/ionic/{p-076e622f.system.entry.js → p-1b5b6845.system.entry.js} +1 -1
  287. package/dist/ionic/{p-3878d22f.system.entry.js → p-1e59dd04.system.entry.js} +1 -1
  288. package/dist/ionic/{p-2954d245.system.entry.js → p-20ff4d7f.system.entry.js} +1 -1
  289. package/dist/ionic/{p-b95cc39b.entry.js → p-25b8d65c.entry.js} +1 -1
  290. package/dist/ionic/p-265fec8a.entry.js +4 -0
  291. package/dist/ionic/{p-6a61d423.system.entry.js → p-27923249.system.entry.js} +1 -1
  292. package/dist/ionic/{p-6008efa0.entry.js → p-2d86b19a.entry.js} +1 -1
  293. package/dist/ionic/{p-c5106edf.entry.js → p-2fb115dc.entry.js} +1 -1
  294. package/dist/ionic/{p-4f91b9c6.js → p-307963db.js} +1 -1
  295. package/dist/ionic/p-314c4dee.js +4 -0
  296. package/dist/ionic/p-3554b264.js +4 -0
  297. package/dist/ionic/{p-08dcf03a.entry.js → p-35787a6f.entry.js} +1 -1
  298. package/dist/ionic/{p-14be0381.system.entry.js → p-35e25602.system.entry.js} +1 -1
  299. package/dist/ionic/{p-202654b4.system.entry.js → p-3962542f.system.entry.js} +1 -1
  300. package/dist/ionic/{p-0993782a.system.entry.js → p-3a769110.system.entry.js} +1 -1
  301. package/dist/ionic/p-3afb9c3d.entry.js +4 -0
  302. package/dist/ionic/{p-f323209c.system.entry.js → p-3e1deb37.system.entry.js} +1 -1
  303. package/dist/ionic/{p-b977b57a.js → p-3e8d7ed8.js} +1 -1
  304. package/dist/ionic/{p-1289df52.entry.js → p-3fc0b7ba.entry.js} +1 -1
  305. package/dist/ionic/{p-b4085a03.system.entry.js → p-400a78f3.system.entry.js} +1 -1
  306. package/dist/ionic/p-40dd5937.system.js +4 -0
  307. package/dist/ionic/{p-da6b2907.entry.js → p-4430713b.entry.js} +1 -1
  308. package/dist/ionic/{p-93a2c76b.entry.js → p-47826f19.entry.js} +1 -1
  309. package/dist/ionic/p-494e75ad.js +4 -0
  310. package/dist/ionic/{p-091702af.system.entry.js → p-4c50b357.system.entry.js} +1 -1
  311. package/dist/ionic/{p-cc68ad40.system.js → p-4c75cb48.system.js} +1 -1
  312. package/dist/ionic/p-4e3c07a6.system.js +4 -0
  313. package/dist/ionic/p-4e4ee05e.js +4 -0
  314. package/dist/ionic/{p-a134a81b.system.entry.js → p-50375f3b.system.entry.js} +1 -1
  315. package/dist/ionic/{p-40f5a803.entry.js → p-510bc27b.entry.js} +1 -1
  316. package/dist/ionic/{p-9c933855.system.entry.js → p-51b94085.system.entry.js} +1 -1
  317. package/dist/ionic/{p-6e4225ed.entry.js → p-53b1930e.entry.js} +1 -1
  318. package/dist/ionic/p-561cc050.system.js +4 -0
  319. package/dist/ionic/p-57b14769.js +4 -0
  320. package/dist/ionic/{p-8cf94fc1.js → p-5885e9af.js} +1 -1
  321. package/dist/ionic/{p-889118cf.system.entry.js → p-59107f99.system.entry.js} +1 -1
  322. package/dist/ionic/{p-8f518e79.entry.js → p-5a7df436.entry.js} +1 -1
  323. package/dist/ionic/{p-4639874e.system.js → p-5b978c94.system.js} +2 -2
  324. package/dist/ionic/{p-ae2e4e30.system.entry.js → p-5c7107b4.system.entry.js} +1 -1
  325. package/dist/ionic/{p-959e7a7a.js → p-60f25049.js} +1 -1
  326. package/dist/ionic/p-647fcea8.entry.js +4 -0
  327. package/dist/ionic/{p-cd1c8ab2.entry.js → p-6825ff8d.entry.js} +1 -1
  328. package/dist/ionic/{p-7fd77f56.system.entry.js → p-696c63fb.system.entry.js} +1 -1
  329. package/dist/ionic/{p-b923f3d7.js → p-6a309574.js} +1 -1
  330. package/dist/ionic/{p-f2743f0f.system.entry.js → p-6abde4f1.system.entry.js} +1 -1
  331. package/dist/ionic/p-6d3ba3ba.system.entry.js +4 -0
  332. package/dist/ionic/p-6dc21cd1.system.entry.js +4 -0
  333. package/dist/ionic/{p-3299adbf.system.entry.js → p-70bf6086.system.entry.js} +1 -1
  334. package/dist/ionic/p-70dcf429.js +4 -0
  335. package/dist/ionic/p-710cea83.system.js +4 -0
  336. package/dist/ionic/{p-d0c701d0.system.entry.js → p-71e70a57.system.entry.js} +1 -1
  337. package/dist/ionic/p-73df8d76.system.js +4 -0
  338. package/dist/ionic/{p-f33808d4.entry.js → p-75338011.entry.js} +1 -1
  339. package/dist/ionic/p-7ac30f6a.entry.js +4 -0
  340. package/dist/ionic/p-7acd17bc.entry.js +4 -0
  341. package/dist/ionic/p-7d68e4ea.entry.js +4 -0
  342. package/dist/ionic/{p-ce62bf2c.system.entry.js → p-7dafac2c.system.entry.js} +1 -1
  343. package/dist/ionic/{p-3632220b.system.js → p-7def197f.system.js} +1 -1
  344. package/dist/ionic/p-8140a084.entry.js +4 -0
  345. package/dist/ionic/{p-7e6cf80c.entry.js → p-89703003.entry.js} +1 -1
  346. package/dist/ionic/{p-10a2ab8c.system.entry.js → p-8a9760f7.system.entry.js} +1 -1
  347. package/dist/ionic/{p-b1200f55.entry.js → p-8be2b964.entry.js} +1 -1
  348. package/dist/ionic/p-8e7ff561.entry.js +4 -0
  349. package/dist/ionic/{p-153ea88b.system.entry.js → p-90020ef0.system.entry.js} +1 -1
  350. package/dist/ionic/{p-b4b4bb29.system.js → p-9292fd42.system.js} +1 -1
  351. package/dist/ionic/p-92ac915c.system.js +4 -0
  352. package/dist/ionic/{p-88cfa8f1.system.entry.js → p-9471d511.system.entry.js} +1 -1
  353. package/dist/ionic/{p-38fbf9f5.system.entry.js → p-957f3028.system.entry.js} +1 -1
  354. package/dist/ionic/{p-41477ad9.system.js → p-958f1c70.system.js} +1 -1
  355. package/dist/ionic/{p-8c63eccf.system.js → p-98c70e3c.system.js} +1 -1
  356. package/dist/ionic/{p-e23c3d22.entry.js → p-9939c98e.entry.js} +1 -1
  357. package/dist/ionic/{p-8708a93c.entry.js → p-999a7271.entry.js} +1 -1
  358. package/dist/ionic/{p-a30595f3.system.entry.js → p-9b34caa0.system.entry.js} +1 -1
  359. package/dist/ionic/{p-c2af8468.system.entry.js → p-a03566c4.system.entry.js} +2 -2
  360. package/dist/ionic/{p-419eb426.js → p-a135e3ba.js} +1 -1
  361. package/dist/ionic/{p-1df460d5.system.entry.js → p-a3434028.system.entry.js} +1 -1
  362. package/dist/ionic/{p-cd3a87bd.system.entry.js → p-a6880f79.system.entry.js} +1 -1
  363. package/dist/ionic/p-a6b819ca.entry.js +4 -0
  364. package/dist/ionic/{p-5504ca9b.system.js → p-abaa9b48.system.js} +1 -1
  365. package/dist/ionic/{p-ab4cff27.system.js → p-aec8a70a.system.js} +1 -1
  366. package/dist/ionic/{p-d59f70db.entry.js → p-b3d50a72.entry.js} +1 -1
  367. package/dist/ionic/{p-31589ed7.entry.js → p-b86c6c05.entry.js} +1 -1
  368. package/dist/ionic/{p-ecbc7728.system.entry.js → p-bc48e521.system.entry.js} +1 -1
  369. package/dist/ionic/{p-f3d770d2.entry.js → p-bc6e32d2.entry.js} +1 -1
  370. package/dist/ionic/{p-5b9cb91d.system.entry.js → p-bedc16f0.system.entry.js} +1 -1
  371. package/dist/ionic/{p-0335e66c.entry.js → p-bf3396e1.entry.js} +1 -1
  372. package/dist/ionic/{p-f30dabf4.entry.js → p-c09fa14d.entry.js} +1 -1
  373. package/dist/ionic/p-c2db1374.system.js +4 -0
  374. package/dist/ionic/{p-9da6eef4.entry.js → p-c2e199ac.entry.js} +1 -1
  375. package/dist/ionic/{p-55a8f9a3.entry.js → p-c32a6c04.entry.js} +1 -1
  376. package/dist/ionic/p-c3547c7a.system.js +4 -0
  377. package/dist/ionic/{p-952c64ea.entry.js → p-c4381a06.entry.js} +1 -1
  378. package/dist/ionic/{p-7eaa28eb.system.entry.js → p-c7138053.system.entry.js} +1 -1
  379. package/dist/ionic/{p-287d76e0.entry.js → p-ce20c101.entry.js} +1 -1
  380. package/dist/ionic/{p-fc758470.entry.js → p-d2de097b.entry.js} +1 -1
  381. package/dist/ionic/{p-a7c33806.entry.js → p-d3278cb8.entry.js} +1 -1
  382. package/dist/ionic/p-d54a8393.system.entry.js +4 -0
  383. package/dist/ionic/{p-bd946be0.entry.js → p-d73eb00e.entry.js} +1 -1
  384. package/dist/ionic/{p-da26ba41.js → p-df18d20d.js} +1 -1
  385. package/dist/ionic/{p-176a386b.system.entry.js → p-e4d66e2d.system.entry.js} +1 -1
  386. package/dist/ionic/{p-094dbfa5.entry.js → p-e53f2605.entry.js} +1 -1
  387. package/dist/ionic/{p-3bad5c1a.js → p-e5fd9f10.js} +1 -1
  388. package/dist/ionic/{p-0d8e9076.system.entry.js → p-e66f7d10.system.entry.js} +1 -1
  389. package/dist/ionic/{p-ccdcb022.system.js → p-e7d20dfb.system.js} +1 -1
  390. package/dist/ionic/{p-664cb3ad.system.entry.js → p-e91c7eb4.system.entry.js} +1 -1
  391. package/dist/ionic/p-e9fe3c8b.system.entry.js +4 -0
  392. package/dist/ionic/p-ea78392c.js +4 -0
  393. package/dist/ionic/{p-ce9bf0ed.entry.js → p-ebdaf11b.entry.js} +1 -1
  394. package/dist/ionic/{p-51086b36.system.entry.js → p-ed8a02a2.system.entry.js} +1 -1
  395. package/dist/ionic/{p-8bda8767.js → p-edd568c5.js} +1 -1
  396. package/dist/ionic/{p-1b16c2ef.system.entry.js → p-eec1aa12.system.entry.js} +1 -1
  397. package/dist/ionic/p-f4ccdc77.js +4 -0
  398. package/dist/ionic/{p-4d06fd5b.entry.js → p-f6d089a7.entry.js} +1 -1
  399. package/dist/ionic/p-f7769c83.js +4 -0
  400. package/dist/ionic/p-f7bc6157.system.entry.js +4 -0
  401. package/dist/ionic/{p-d27ade6f.system.entry.js → p-f8febce9.system.entry.js} +1 -1
  402. package/dist/ionic/{p-bba2ce59.system.js → p-f9a641fa.system.js} +1 -1
  403. package/dist/ionic/p-fa67d712.entry.js +4 -0
  404. package/dist/ionic/p-fdcd4618.entry.js +4 -0
  405. package/dist/node_modules/ionicons/dist/collection/components/icon/icon.css +144 -0
  406. package/dist/types/components/radio-group/radio-group-interface.d.ts +1 -0
  407. package/dist/types/components/radio-group/radio-group.d.ts +8 -1
  408. package/dist/types/components/router/router.d.ts +2 -1
  409. package/dist/types/components/select/select.d.ts +4 -1
  410. package/dist/types/components/skeleton-text/skeleton-text.d.ts +9 -1
  411. package/dist/types/components/toast/animations/utils.d.ts +6 -4
  412. package/dist/types/components.d.ts +27 -4
  413. package/dist/types/interface.d.ts +1 -5
  414. package/dist/types/utils/animation/animation-interface.d.ts +4 -4
  415. package/dist/types/utils/browser/index.d.ts +11 -2
  416. package/dist/types/utils/forms/compare-with-utils.d.ts +11 -0
  417. package/dist/types/utils/forms/index.d.ts +1 -0
  418. package/dist/types/utils/hardware-back-button.d.ts +4 -0
  419. package/dist/types/utils/test/playwright/page/utils/goto.d.ts +1 -1
  420. package/hydrate/index.js +102 -93
  421. package/package.json +30 -31
  422. package/dist/cjs/index-306a7476.js +0 -32
  423. package/dist/collection/components/item/test/text/item.e2e.js +0 -14
  424. package/dist/esm/index-7a14ecec.js +0 -29
  425. package/dist/esm-es5/app-globals-8d413354.js +0 -4
  426. package/dist/esm-es5/index-e2052f20.js +0 -4
  427. package/dist/esm-es5/index-f0cc4e14.js +0 -4
  428. package/dist/esm-es5/input-shims-d0c93e5d.js +0 -4
  429. package/dist/esm-es5/input.utils-ec063df4.js +0 -4
  430. package/dist/esm-es5/md.transition-6f8b3cd0.js +0 -4
  431. package/dist/ionic/p-02863edb.system.js +0 -4
  432. package/dist/ionic/p-0f23c3a5.entry.js +0 -4
  433. package/dist/ionic/p-0f4f11eb.entry.js +0 -4
  434. package/dist/ionic/p-2ac243b7.entry.js +0 -4
  435. package/dist/ionic/p-2e8e0045.js +0 -4
  436. package/dist/ionic/p-3602001b.system.js +0 -4
  437. package/dist/ionic/p-3daa6ecf.js +0 -4
  438. package/dist/ionic/p-4c724478.entry.js +0 -4
  439. package/dist/ionic/p-5916b355.system.entry.js +0 -4
  440. package/dist/ionic/p-67eecef4.system.js +0 -4
  441. package/dist/ionic/p-843fe6e3.entry.js +0 -4
  442. package/dist/ionic/p-8d9c5be5.system.entry.js +0 -4
  443. package/dist/ionic/p-910c1904.system.entry.js +0 -4
  444. package/dist/ionic/p-94154db4.js +0 -4
  445. package/dist/ionic/p-97c65aa5.js +0 -4
  446. package/dist/ionic/p-9ab6f3e6.system.js +0 -4
  447. package/dist/ionic/p-9c7a56f0.entry.js +0 -4
  448. package/dist/ionic/p-9e4bb700.entry.js +0 -4
  449. package/dist/ionic/p-a3b6e1b2.entry.js +0 -4
  450. package/dist/ionic/p-a809a205.js +0 -4
  451. package/dist/ionic/p-ad227931.system.js +0 -4
  452. package/dist/ionic/p-c3b62be8.system.entry.js +0 -4
  453. package/dist/ionic/p-c75422d5.entry.js +0 -4
  454. package/dist/ionic/p-c87d155e.entry.js +0 -4
  455. package/dist/ionic/p-cbe7738f.entry.js +0 -4
  456. package/dist/ionic/p-cc196b34.js +0 -4
  457. package/dist/ionic/p-d05b431a.system.entry.js +0 -4
  458. package/dist/ionic/p-d1de1188.js +0 -4
  459. package/dist/ionic/p-d37d3ebc.system.entry.js +0 -4
  460. package/dist/ionic/p-dee844d7.js +0 -4
  461. package/dist/ionic/p-f47f2024.entry.js +0 -4
  462. package/dist/ionic/p-f9336ef9.system.js +0 -4
  463. package/dist/ionic/p-ff5a10f9.system.js +0 -4
  464. /package/dist/cjs/{index-677c4d13.js → index-09471526.js} +0 -0
  465. /package/dist/cjs/{index-53026db1.js → index-73186843.js} +0 -0
  466. /package/dist/esm/{index-8eb0239b.js → index-4392ebcb.js} +0 -0
  467. /package/dist/esm/{index-4d016006.js → index-c132c5f1.js} +0 -0
  468. /package/dist/esm-es5/{index-8eb0239b.js → index-4392ebcb.js} +0 -0
  469. /package/dist/esm-es5/{index-7a14ecec.js → index-a5d50daf.js} +0 -0
  470. /package/dist/esm-es5/{index-4d016006.js → index-c132c5f1.js} +0 -0
  471. /package/dist/ionic/{p-0e94957a.system.js → p-792919fd.system.js} +0 -0
  472. /package/dist/ionic/{p-b347cfd1.js → p-7b30edcc.js} +0 -0
  473. /package/dist/ionic/{p-0c55ffe1.system.js → p-8050b9b9.system.js} +0 -0
  474. /package/dist/ionic/{p-2814c8e5.system.js → p-dab42c1b.system.js} +0 -0
  475. /package/dist/ionic/{p-e90d610c.js → p-ea96fa73.js} +0 -0
  476. /package/dist/ionic/{p-8a40746c.js → p-f5e886cd.js} +0 -0
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * (C) Ionic http://ionicframework.com - MIT License
3
+ */
4
+ import{r as i,d as t,h as n,H as o,f as e,i as r}from"./p-f5e886cd.js";import{c as a}from"./p-ca5cf574.js";import{c as l}from"./p-e5fd9f10.js";import{j as s,i as p,k as d,c,h as u}from"./p-63eb0acd.js";import{p as h}from"./p-1b8e1d03.js";import{c as m,g as b}from"./p-1667596c.js";import{h as g,c as f}from"./p-1d072d3d.js";import{b as v,d as x}from"./p-ea96fa73.js";import{b as w}from"./p-3e8d7ed8.js";import"./p-7b30edcc.js";const y=class{constructor(n){i(this,n),this.ionInput=t(this,"ionInput",7),this.ionChange=t(this,"ionChange",7),this.ionBlur=t(this,"ionBlur",7),this.ionFocus=t(this,"ionFocus",7),this.ionStyle=t(this,"ionStyle",7),this.inputId="ion-input-"+k++,this.inheritedAttributes={},this.isComposing=!1,this.hasLoggedDeprecationWarning=!1,this.didInputClearOnEdit=!1,this.onInput=i=>{const t=i.target;t&&(this.value=t.value||""),this.emitInputChange(i)},this.onChange=i=>{this.emitValueChange(i)},this.onBlur=i=>{this.hasFocus=!1,this.emitStyle(),this.focusedValue!==this.value&&this.emitValueChange(i),this.didInputClearOnEdit=!1,this.ionBlur.emit(i)},this.onFocus=i=>{this.hasFocus=!0,this.focusedValue=this.value,this.emitStyle(),this.ionFocus.emit(i)},this.onKeydown=i=>{this.checkClearOnEdit(i)},this.onCompositionStart=()=>{this.isComposing=!0},this.onCompositionEnd=()=>{this.isComposing=!1},this.clearTextInput=i=>{this.clearInput&&!this.readonly&&!this.disabled&&i&&(i.preventDefault(),i.stopPropagation(),this.setFocus()),this.value="",this.emitInputChange(i)},this.hasFocus=!1,this.color=void 0,this.accept=void 0,this.autocapitalize="off",this.autocomplete="off",this.autocorrect="off",this.autofocus=!1,this.clearInput=!1,this.clearOnEdit=void 0,this.counter=!1,this.counterFormatter=void 0,this.debounce=void 0,this.disabled=!1,this.enterkeyhint=void 0,this.errorText=void 0,this.fill=void 0,this.inputmode=void 0,this.helperText=void 0,this.label=void 0,this.labelPlacement="start",this.legacy=void 0,this.max=void 0,this.maxlength=void 0,this.min=void 0,this.minlength=void 0,this.multiple=void 0,this.name=this.inputId,this.pattern=void 0,this.placeholder=void 0,this.readonly=!1,this.required=!1,this.shape=void 0,this.spellcheck=!1,this.step=void 0,this.size=void 0,this.type="text",this.value=""}debounceChanged(){const{ionInput:i,debounce:t,originalIonInput:n}=this;this.ionInput=void 0===t?null!=n?n:i:s(i,t)}disabledChanged(){this.emitStyle()}placeholderChanged(){this.emitStyle()}valueChanged(){const i=this.nativeInput,t=this.getValue();i&&i.value!==t&&!this.isComposing&&(i.value=t),this.emitStyle()}componentWillLoad(){this.inheritedAttributes=Object.assign(Object.assign({},p(this.el)),d(this.el,["tabindex","title","data-form-type"]))}connectedCallback(){const{el:i}=this;this.legacyFormController=a(i),this.slotMutationController=m(i,"label",(()=>r(this))),this.notchController=l(i,(()=>this.notchSpacerEl),(()=>this.labelSlot)),this.emitStyle(),this.debounceChanged(),document.dispatchEvent(new CustomEvent("ionInputDidLoad",{detail:this.el}))}componentDidLoad(){this.originalIonInput=this.ionInput}componentDidRender(){var i;null===(i=this.notchController)||void 0===i||i.calculateNotchWidth()}disconnectedCallback(){document.dispatchEvent(new CustomEvent("ionInputDidUnload",{detail:this.el})),this.slotMutationController&&(this.slotMutationController.destroy(),this.slotMutationController=void 0),this.notchController&&(this.notchController.destroy(),this.notchController=void 0)}async setFocus(){this.nativeInput&&this.nativeInput.focus()}async getInputElement(){return this.nativeInput||await new Promise((i=>c(this.el,i))),Promise.resolve(this.nativeInput)}emitValueChange(i){const{value:t}=this,n=null==t?t:t.toString();this.focusedValue=n,this.ionChange.emit({value:n,event:i})}emitInputChange(i){const{value:t}=this,n=null==t?t:t.toString();this.ionInput.emit({value:n,event:i})}shouldClearOnEdit(){const{type:i,clearOnEdit:t}=this;return void 0===t?"password"===i:t}getValue(){return"number"==typeof this.value?this.value.toString():(this.value||"").toString()}emitStyle(){this.legacyFormController.hasLegacyControl()&&this.ionStyle.emit({interactive:!0,input:!0,"has-placeholder":void 0!==this.placeholder,"has-value":this.hasValue(),"has-focus":this.hasFocus,"interactive-disabled":this.disabled,legacy:!!this.legacy})}checkClearOnEdit(i){this.shouldClearOnEdit()&&(!this.didInputClearOnEdit&&this.hasValue()&&"Enter"!==i.key&&"Tab"!==i.key&&(this.value="",this.emitInputChange(i)),this.didInputClearOnEdit=!0)}hasValue(){return this.getValue().length>0}renderHintText(){const{helperText:i,errorText:t}=this;return[n("div",{class:"helper-text"},i),n("div",{class:"error-text"},t)]}renderCounter(){const{counter:i,maxlength:t,counterFormatter:o,value:e}=this;if(!0===i&&void 0!==t)return n("div",{class:"counter"},b(e,t,o))}renderBottomContent(){const{counter:i,helperText:t,errorText:o,maxlength:e}=this;if(t||o||!0===i&&void 0!==e)return n("div",{class:"input-bottom"},this.renderHintText(),this.renderCounter())}renderLabel(){const{label:i}=this;return n("div",{class:{"label-text-wrapper":!0,"label-text-wrapper-hidden":!this.hasLabel}},void 0===i?n("slot",{name:"label"}):n("div",{class:"label-text"},i))}get labelSlot(){return this.el.querySelector('[slot="label"]')}get hasLabel(){return void 0!==this.label||null!==this.labelSlot}renderLabelContainer(){return"md"===w(this)&&"outline"===this.fill?[n("div",{class:"input-outline-container"},n("div",{class:"input-outline-start"}),n("div",{class:{"input-outline-notch":!0,"input-outline-notch-hidden":!this.hasLabel}},n("div",{class:"notch-spacer","aria-hidden":"true",ref:i=>this.notchSpacerEl=i},this.label)),n("div",{class:"input-outline-end"})),this.renderLabel()]:this.renderLabel()}renderInput(){const{disabled:i,fill:t,readonly:e,shape:r,inputId:a,labelPlacement:l}=this,s=w(this),p=this.getValue(),d=g("ion-item",this.el),c="md"===s&&"outline"!==t&&!d;return n(o,{class:f(this.color,{[s]:!0,"has-value":this.hasValue(),"has-focus":this.hasFocus,[`input-fill-${t}`]:void 0!==t,[`input-shape-${r}`]:void 0!==r,[`input-label-placement-${l}`]:!0,"in-item":d,"in-item-color":g("ion-item.ion-color",this.el),"input-disabled":i})},n("label",{class:"input-wrapper"},this.renderLabelContainer(),n("div",{class:"native-wrapper"},n("input",Object.assign({class:"native-input",ref:i=>this.nativeInput=i,id:a,disabled:i,accept:this.accept,autoCapitalize:this.autocapitalize,autoComplete:this.autocomplete,autoCorrect:this.autocorrect,autoFocus:this.autofocus,enterKeyHint:this.enterkeyhint,inputMode:this.inputmode,min:this.min,max:this.max,minLength:this.minlength,maxLength:this.maxlength,multiple:this.multiple,name:this.name,pattern:this.pattern,placeholder:this.placeholder||"",readOnly:e,required:this.required,spellcheck:this.spellcheck,step:this.step,size:this.size,type:this.type,value:p,onInput:this.onInput,onChange:this.onChange,onBlur:this.onBlur,onFocus:this.onFocus,onKeyDown:this.onKeydown,onCompositionstart:this.onCompositionStart,onCompositionend:this.onCompositionEnd},this.inheritedAttributes)),this.clearInput&&!e&&!i&&n("button",{"aria-label":"reset",type:"button",class:"input-clear-icon",onPointerDown:i=>{i.preventDefault()},onClick:this.clearTextInput},n("ion-icon",{"aria-hidden":"true",icon:"ios"===s?v:x}))),c&&n("div",{class:"input-highlight"})),this.renderBottomContent())}renderLegacyInput(){this.hasLoggedDeprecationWarning||(h('ion-input now requires providing a label with either the "label" property or the "aria-label" attribute. To migrate, remove any usage of "ion-label" and pass the label text to either the "label" property or the "aria-label" attribute.\n\nExample: <ion-input label="Email"></ion-input>\nExample with aria-label: <ion-input aria-label="Email"></ion-input>\n\nFor inputs that do not render the label immediately next to the input, developers may continue to use "ion-label" but must manually associate the label with the input by using "aria-labelledby".\n\nDevelopers can use the "legacy" property to continue using the legacy form markup. This property will be removed in an upcoming major release of Ionic where this form control will use the modern form markup.',this.el),this.legacy&&h('ion-input is being used with the "legacy" property enabled which will forcibly enable the legacy form markup. This property will be removed in an upcoming major release of Ionic where this form control will use the modern form markup.\n\nDevelopers can dismiss this warning by removing their usage of the "legacy" property and using the new input syntax.',this.el),this.hasLoggedDeprecationWarning=!0);const i=w(this),t=this.getValue(),e=this.inputId+"-lbl",r=u(this.el);return r&&(r.id=e),n(o,{"aria-disabled":this.disabled?"true":null,class:f(this.color,{[i]:!0,"has-value":this.hasValue(),"has-focus":this.hasFocus,"legacy-input":!0,"in-item-color":g("ion-item.ion-color",this.el)})},n("input",Object.assign({class:"native-input",ref:i=>this.nativeInput=i,"aria-labelledby":r?r.id:null,disabled:this.disabled,accept:this.accept,autoCapitalize:this.autocapitalize,autoComplete:this.autocomplete,autoCorrect:this.autocorrect,autoFocus:this.autofocus,enterKeyHint:this.enterkeyhint,inputMode:this.inputmode,min:this.min,max:this.max,minLength:this.minlength,maxLength:this.maxlength,multiple:this.multiple,name:this.name,pattern:this.pattern,placeholder:this.placeholder||"",readOnly:this.readonly,required:this.required,spellcheck:this.spellcheck,step:this.step,size:this.size,type:this.type,value:t,onInput:this.onInput,onChange:this.onChange,onBlur:this.onBlur,onFocus:this.onFocus,onKeyDown:this.onKeydown},this.inheritedAttributes)),this.clearInput&&!this.readonly&&!this.disabled&&n("button",{"aria-label":"reset",type:"button",class:"input-clear-icon",onPointerDown:i=>{i.preventDefault()},onClick:this.clearTextInput},n("ion-icon",{"aria-hidden":"true",icon:"ios"===i?v:x})))}render(){const{legacyFormController:i}=this;return i.hasLegacyControl()?this.renderLegacyInput():this.renderInput()}get el(){return e(this)}static get watchers(){return{debounce:["debounceChanged"],disabled:["disabledChanged"],placeholder:["placeholderChanged"],value:["valueChanged"]}}};let k=0;y.style={ios:".sc-ion-input-ios-h{--placeholder-color:initial;--placeholder-font-style:initial;--placeholder-font-weight:initial;--placeholder-opacity:0.6;--padding-top:0px;--padding-end:0px;--padding-bottom:0px;--padding-start:0px;--background:transparent;--color:initial;--border-style:solid;--highlight-color-focused:var(--ion-color-primary, #3880ff);--highlight-color-valid:var(--ion-color-success, #2dd36f);--highlight-color-invalid:var(--ion-color-danger, #eb445a);--highlight-color:var(--highlight-color-focused);display:block;position:relative;width:100%;padding:0 !important;color:var(--color);font-family:var(--ion-font-family, inherit);z-index:2}.legacy-input.sc-ion-input-ios-h{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-align:center;align-items:center;background:var(--background)}.legacy-input.sc-ion-input-ios-h .native-input.sc-ion-input-ios{-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);border-radius:var(--border-radius)}ion-item.sc-ion-input-ios-h:not(.item-label):not(.item-has-modern-input),ion-item:not(.item-label):not(.item-has-modern-input) .sc-ion-input-ios-h{--padding-start:0}ion-item[slot=start].sc-ion-input-ios-h,ion-item [slot=start].sc-ion-input-ios-h,ion-item[slot=end].sc-ion-input-ios-h,ion-item [slot=end].sc-ion-input-ios-h{width:auto}.legacy-input.ion-color.sc-ion-input-ios-h{color:var(--ion-color-base)}.ion-color.sc-ion-input-ios-h{--highlight-color-focused:var(--ion-color-base)}.sc-ion-input-ios-h:not(.legacy-input){min-height:44px}.input-label-placement-floating.sc-ion-input-ios-h,.input-label-placement-stacked.sc-ion-input-ios-h{min-height:56px}.native-input.sc-ion-input-ios{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;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:inline-block;position:relative;-ms-flex:1;flex:1;width:100%;max-width:100%;max-height:100%;border:0;outline:none;background:transparent;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none;appearance:none;z-index:1}.native-input.sc-ion-input-ios::-webkit-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-input.sc-ion-input-ios::-moz-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-input.sc-ion-input-ios:-ms-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-input.sc-ion-input-ios::-ms-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-input.sc-ion-input-ios::placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-input.sc-ion-input-ios:-webkit-autofill{background-color:transparent}.native-input.sc-ion-input-ios:invalid{-webkit-box-shadow:none;box-shadow:none}.native-input.sc-ion-input-ios::-ms-clear{display:none}.cloned-input.sc-ion-input-ios{top:0;bottom:0;position:absolute;pointer-events:none}@supports (inset-inline-start: 0){.cloned-input.sc-ion-input-ios{inset-inline-start:0}}@supports not (inset-inline-start: 0){.cloned-input.sc-ion-input-ios{left:0}[dir=rtl].sc-ion-input-ios-h .cloned-input.sc-ion-input-ios,[dir=rtl] .sc-ion-input-ios-h .cloned-input.sc-ion-input-ios{left:unset;right:unset;right:0}[dir=rtl].sc-ion-input-ios .cloned-input.sc-ion-input-ios{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){.cloned-input.sc-ion-input-ios:dir(rtl){left:unset;right:unset;right:0}}}.cloned-input.sc-ion-input-ios:disabled{opacity:1}.legacy-input.sc-ion-input-ios-h .input-clear-icon.sc-ion-input-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}.input-clear-icon.sc-ion-input-ios{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:auto;margin-bottom:auto;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;background-position:center;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:30px;height:30px;border:0;outline:none;background-color:transparent;background-repeat:no-repeat;color:var(--ion-color-step-600, #666666);visibility:hidden;-webkit-appearance:none;-moz-appearance:none;appearance:none}.in-item-color.sc-ion-input-ios-h .input-clear-icon.sc-ion-input-ios{color:inherit}.input-clear-icon.sc-ion-input-ios:focus{opacity:0.5}.has-value.sc-ion-input-ios-h .input-clear-icon.sc-ion-input-ios{visibility:visible}.has-focus.sc-ion-input-ios-h{pointer-events:none}.has-focus.sc-ion-input-ios-h input.sc-ion-input-ios,.has-focus.sc-ion-input-ios-h a.sc-ion-input-ios,.has-focus.sc-ion-input-ios-h button.sc-ion-input-ios{pointer-events:auto}.item-label-floating.item-has-placeholder.sc-ion-input-ios-h:not(.item-has-value),.item-label-floating.item-has-placeholder:not(.item-has-value) .sc-ion-input-ios-h{opacity:0}.item-label-floating.item-has-placeholder.sc-ion-input-ios-h:not(.item-has-value).item-has-focus,.item-label-floating.item-has-placeholder:not(.item-has-value).item-has-focus .sc-ion-input-ios-h{-webkit-transition:opacity 0.15s cubic-bezier(0.4, 0, 0.2, 1);transition:opacity 0.15s cubic-bezier(0.4, 0, 0.2, 1);opacity:1}.input-wrapper.sc-ion-input-ios{-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);border-radius:var(--border-radius);display:-ms-flexbox;display:flex;position:relative;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:stretch;align-items:stretch;height:inherit;min-height:inherit;-webkit-transition:background-color 15ms linear;transition:background-color 15ms linear;background:var(--background);line-height:normal}.native-wrapper.sc-ion-input-ios{display:-ms-flexbox;display:flex;position:relative;-ms-flex-positive:1;flex-grow:1;width:100%}.ion-touched.ion-invalid.sc-ion-input-ios-h{--highlight-color:var(--highlight-color-invalid)}.ion-valid.sc-ion-input-ios-h{--highlight-color:var(--highlight-color-valid)}.input-bottom.sc-ion-input-ios{-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:5px;padding-bottom:0;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;border-top:var(--border-width) var(--border-style) var(--border-color);font-size:0.75rem}.has-focus.ion-valid.sc-ion-input-ios-h,.ion-touched.ion-invalid.sc-ion-input-ios-h{--border-color:var(--highlight-color)}.input-bottom.sc-ion-input-ios .error-text.sc-ion-input-ios{display:none;color:var(--highlight-color-invalid)}.input-bottom.sc-ion-input-ios .helper-text.sc-ion-input-ios{display:block;color:var(--ion-color-step-550, #737373)}.ion-touched.ion-invalid.sc-ion-input-ios-h .input-bottom.sc-ion-input-ios .error-text.sc-ion-input-ios{display:block}.ion-touched.ion-invalid.sc-ion-input-ios-h .input-bottom.sc-ion-input-ios .helper-text.sc-ion-input-ios{display:none}.input-bottom.sc-ion-input-ios .counter.sc-ion-input-ios{-webkit-margin-start:auto;margin-inline-start:auto;color:var(--ion-color-step-550, #737373);white-space:nowrap;-webkit-padding-start:16px;padding-inline-start:16px}.has-focus.sc-ion-input-ios-h input.sc-ion-input-ios{caret-color:var(--highlight-color)}.label-text-wrapper.sc-ion-input-ios{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;max-width:200px;-webkit-transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);pointer-events:none}.label-text.sc-ion-input-ios,.sc-ion-input-ios-s>[slot=label]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.label-text-wrapper-hidden.sc-ion-input-ios,.input-outline-notch-hidden.sc-ion-input-ios{display:none}.input-wrapper.sc-ion-input-ios input.sc-ion-input-ios{-webkit-transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1)}.input-label-placement-start.sc-ion-input-ios-h .input-wrapper.sc-ion-input-ios{-ms-flex-direction:row;flex-direction:row}.input-label-placement-start.sc-ion-input-ios-h .label-text-wrapper.sc-ion-input-ios{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:0;margin-bottom:0}.input-label-placement-end.sc-ion-input-ios-h .input-wrapper.sc-ion-input-ios{-ms-flex-direction:row-reverse;flex-direction:row-reverse}.input-label-placement-end.sc-ion-input-ios-h .label-text-wrapper.sc-ion-input-ios{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0;margin-top:0;margin-bottom:0}.input-label-placement-fixed.sc-ion-input-ios-h .label-text-wrapper.sc-ion-input-ios{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:0;margin-bottom:0}.input-label-placement-fixed.sc-ion-input-ios-h .label-text.sc-ion-input-ios{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}.input-label-placement-stacked.sc-ion-input-ios-h .input-wrapper.sc-ion-input-ios,.input-label-placement-floating.sc-ion-input-ios-h .input-wrapper.sc-ion-input-ios{-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:start}.input-label-placement-stacked.sc-ion-input-ios-h .label-text-wrapper.sc-ion-input-ios,.input-label-placement-floating.sc-ion-input-ios-h .label-text-wrapper.sc-ion-input-ios{-webkit-transform-origin:left top;transform-origin:left top;max-width:100%;z-index:2}[dir=rtl].sc-ion-input-ios-h -no-combinator.input-label-placement-stacked.sc-ion-input-ios-h .label-text-wrapper.sc-ion-input-ios,[dir=rtl] .sc-ion-input-ios-h -no-combinator.input-label-placement-stacked.sc-ion-input-ios-h .label-text-wrapper.sc-ion-input-ios,[dir=rtl].input-label-placement-stacked.sc-ion-input-ios-h .label-text-wrapper.sc-ion-input-ios,[dir=rtl] .input-label-placement-stacked.sc-ion-input-ios-h .label-text-wrapper.sc-ion-input-ios,[dir=rtl].sc-ion-input-ios-h -no-combinator.input-label-placement-floating.sc-ion-input-ios-h .label-text-wrapper.sc-ion-input-ios,[dir=rtl] .sc-ion-input-ios-h -no-combinator.input-label-placement-floating.sc-ion-input-ios-h .label-text-wrapper.sc-ion-input-ios,[dir=rtl].input-label-placement-floating.sc-ion-input-ios-h .label-text-wrapper.sc-ion-input-ios,[dir=rtl] .input-label-placement-floating.sc-ion-input-ios-h .label-text-wrapper.sc-ion-input-ios{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){.input-label-placement-stacked.sc-ion-input-ios-h:dir(rtl) .label-text-wrapper.sc-ion-input-ios,.input-label-placement-floating.sc-ion-input-ios-h:dir(rtl) .label-text-wrapper.sc-ion-input-ios{-webkit-transform-origin:right top;transform-origin:right top}}.input-label-placement-stacked.sc-ion-input-ios-h input.sc-ion-input-ios,.input-label-placement-floating.sc-ion-input-ios-h input.sc-ion-input-ios{margin-left:0;margin-right:0;margin-top:1px;margin-bottom:0}.input-label-placement-floating.sc-ion-input-ios-h .label-text-wrapper.sc-ion-input-ios{-webkit-transform:translateY(100%) scale(1);transform:translateY(100%) scale(1)}.input-label-placement-floating.sc-ion-input-ios-h input.sc-ion-input-ios{opacity:0}.has-focus.input-label-placement-floating.sc-ion-input-ios-h input.sc-ion-input-ios,.has-value.input-label-placement-floating.sc-ion-input-ios-h input.sc-ion-input-ios{opacity:1}.input-label-placement-stacked.sc-ion-input-ios-h .label-text-wrapper.sc-ion-input-ios,.has-focus.input-label-placement-floating.sc-ion-input-ios-h .label-text-wrapper.sc-ion-input-ios,.has-value.input-label-placement-floating.sc-ion-input-ios-h .label-text-wrapper.sc-ion-input-ios{-webkit-transform:translateY(50%) scale(0.75);transform:translateY(50%) scale(0.75);max-width:calc(100% / 0.75)}.sc-ion-input-ios-h{--border-width:0.55px;--border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-250, #c8c7cc)));font-size:inherit}.legacy-input.sc-ion-input-ios-h{--padding-top:10px;--padding-end:8px;--padding-bottom:10px;--padding-start:0}.item-label-stacked.sc-ion-input-ios-h,.item-label-stacked .sc-ion-input-ios-h,.item-label-floating.sc-ion-input-ios-h,.item-label-floating .sc-ion-input-ios-h{--padding-top:8px;--padding-bottom:8px;--padding-start:0px}.input-clear-icon.sc-ion-input-ios ion-icon.sc-ion-input-ios{width:18px;height:18px}.legacy-input.sc-ion-input-ios-h .native-input[disabled].sc-ion-input-ios,.input-disabled.sc-ion-input-ios-h{opacity:0.3}",md:".sc-ion-input-md-h{--placeholder-color:initial;--placeholder-font-style:initial;--placeholder-font-weight:initial;--placeholder-opacity:0.6;--padding-top:0px;--padding-end:0px;--padding-bottom:0px;--padding-start:0px;--background:transparent;--color:initial;--border-style:solid;--highlight-color-focused:var(--ion-color-primary, #3880ff);--highlight-color-valid:var(--ion-color-success, #2dd36f);--highlight-color-invalid:var(--ion-color-danger, #eb445a);--highlight-color:var(--highlight-color-focused);display:block;position:relative;width:100%;padding:0 !important;color:var(--color);font-family:var(--ion-font-family, inherit);z-index:2}.legacy-input.sc-ion-input-md-h{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-align:center;align-items:center;background:var(--background)}.legacy-input.sc-ion-input-md-h .native-input.sc-ion-input-md{-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);border-radius:var(--border-radius)}ion-item.sc-ion-input-md-h:not(.item-label):not(.item-has-modern-input),ion-item:not(.item-label):not(.item-has-modern-input) .sc-ion-input-md-h{--padding-start:0}ion-item[slot=start].sc-ion-input-md-h,ion-item [slot=start].sc-ion-input-md-h,ion-item[slot=end].sc-ion-input-md-h,ion-item [slot=end].sc-ion-input-md-h{width:auto}.legacy-input.ion-color.sc-ion-input-md-h{color:var(--ion-color-base)}.ion-color.sc-ion-input-md-h{--highlight-color-focused:var(--ion-color-base)}.sc-ion-input-md-h:not(.legacy-input){min-height:44px}.input-label-placement-floating.sc-ion-input-md-h,.input-label-placement-stacked.sc-ion-input-md-h{min-height:56px}.native-input.sc-ion-input-md{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;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:inline-block;position:relative;-ms-flex:1;flex:1;width:100%;max-width:100%;max-height:100%;border:0;outline:none;background:transparent;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none;appearance:none;z-index:1}.native-input.sc-ion-input-md::-webkit-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-input.sc-ion-input-md::-moz-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-input.sc-ion-input-md:-ms-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-input.sc-ion-input-md::-ms-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-input.sc-ion-input-md::placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-input.sc-ion-input-md:-webkit-autofill{background-color:transparent}.native-input.sc-ion-input-md:invalid{-webkit-box-shadow:none;box-shadow:none}.native-input.sc-ion-input-md::-ms-clear{display:none}.cloned-input.sc-ion-input-md{top:0;bottom:0;position:absolute;pointer-events:none}@supports (inset-inline-start: 0){.cloned-input.sc-ion-input-md{inset-inline-start:0}}@supports not (inset-inline-start: 0){.cloned-input.sc-ion-input-md{left:0}[dir=rtl].sc-ion-input-md-h .cloned-input.sc-ion-input-md,[dir=rtl] .sc-ion-input-md-h .cloned-input.sc-ion-input-md{left:unset;right:unset;right:0}[dir=rtl].sc-ion-input-md .cloned-input.sc-ion-input-md{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){.cloned-input.sc-ion-input-md:dir(rtl){left:unset;right:unset;right:0}}}.cloned-input.sc-ion-input-md:disabled{opacity:1}.legacy-input.sc-ion-input-md-h .input-clear-icon.sc-ion-input-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}.input-clear-icon.sc-ion-input-md{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:auto;margin-bottom:auto;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;background-position:center;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:30px;height:30px;border:0;outline:none;background-color:transparent;background-repeat:no-repeat;color:var(--ion-color-step-600, #666666);visibility:hidden;-webkit-appearance:none;-moz-appearance:none;appearance:none}.in-item-color.sc-ion-input-md-h .input-clear-icon.sc-ion-input-md{color:inherit}.input-clear-icon.sc-ion-input-md:focus{opacity:0.5}.has-value.sc-ion-input-md-h .input-clear-icon.sc-ion-input-md{visibility:visible}.has-focus.sc-ion-input-md-h{pointer-events:none}.has-focus.sc-ion-input-md-h input.sc-ion-input-md,.has-focus.sc-ion-input-md-h a.sc-ion-input-md,.has-focus.sc-ion-input-md-h button.sc-ion-input-md{pointer-events:auto}.item-label-floating.item-has-placeholder.sc-ion-input-md-h:not(.item-has-value),.item-label-floating.item-has-placeholder:not(.item-has-value) .sc-ion-input-md-h{opacity:0}.item-label-floating.item-has-placeholder.sc-ion-input-md-h:not(.item-has-value).item-has-focus,.item-label-floating.item-has-placeholder:not(.item-has-value).item-has-focus .sc-ion-input-md-h{-webkit-transition:opacity 0.15s cubic-bezier(0.4, 0, 0.2, 1);transition:opacity 0.15s cubic-bezier(0.4, 0, 0.2, 1);opacity:1}.input-wrapper.sc-ion-input-md{-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);border-radius:var(--border-radius);display:-ms-flexbox;display:flex;position:relative;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:stretch;align-items:stretch;height:inherit;min-height:inherit;-webkit-transition:background-color 15ms linear;transition:background-color 15ms linear;background:var(--background);line-height:normal}.native-wrapper.sc-ion-input-md{display:-ms-flexbox;display:flex;position:relative;-ms-flex-positive:1;flex-grow:1;width:100%}.ion-touched.ion-invalid.sc-ion-input-md-h{--highlight-color:var(--highlight-color-invalid)}.ion-valid.sc-ion-input-md-h{--highlight-color:var(--highlight-color-valid)}.input-bottom.sc-ion-input-md{-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:5px;padding-bottom:0;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;border-top:var(--border-width) var(--border-style) var(--border-color);font-size:0.75rem}.has-focus.ion-valid.sc-ion-input-md-h,.ion-touched.ion-invalid.sc-ion-input-md-h{--border-color:var(--highlight-color)}.input-bottom.sc-ion-input-md .error-text.sc-ion-input-md{display:none;color:var(--highlight-color-invalid)}.input-bottom.sc-ion-input-md .helper-text.sc-ion-input-md{display:block;color:var(--ion-color-step-550, #737373)}.ion-touched.ion-invalid.sc-ion-input-md-h .input-bottom.sc-ion-input-md .error-text.sc-ion-input-md{display:block}.ion-touched.ion-invalid.sc-ion-input-md-h .input-bottom.sc-ion-input-md .helper-text.sc-ion-input-md{display:none}.input-bottom.sc-ion-input-md .counter.sc-ion-input-md{-webkit-margin-start:auto;margin-inline-start:auto;color:var(--ion-color-step-550, #737373);white-space:nowrap;-webkit-padding-start:16px;padding-inline-start:16px}.has-focus.sc-ion-input-md-h input.sc-ion-input-md{caret-color:var(--highlight-color)}.label-text-wrapper.sc-ion-input-md{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;max-width:200px;-webkit-transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);pointer-events:none}.label-text.sc-ion-input-md,.sc-ion-input-md-s>[slot=label]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.label-text-wrapper-hidden.sc-ion-input-md,.input-outline-notch-hidden.sc-ion-input-md{display:none}.input-wrapper.sc-ion-input-md input.sc-ion-input-md{-webkit-transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1)}.input-label-placement-start.sc-ion-input-md-h .input-wrapper.sc-ion-input-md{-ms-flex-direction:row;flex-direction:row}.input-label-placement-start.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:0;margin-bottom:0}.input-label-placement-end.sc-ion-input-md-h .input-wrapper.sc-ion-input-md{-ms-flex-direction:row-reverse;flex-direction:row-reverse}.input-label-placement-end.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0;margin-top:0;margin-bottom:0}.input-label-placement-fixed.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:0;margin-bottom:0}.input-label-placement-fixed.sc-ion-input-md-h .label-text.sc-ion-input-md{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}.input-label-placement-stacked.sc-ion-input-md-h .input-wrapper.sc-ion-input-md,.input-label-placement-floating.sc-ion-input-md-h .input-wrapper.sc-ion-input-md{-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:start}.input-label-placement-stacked.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md,.input-label-placement-floating.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md{-webkit-transform-origin:left top;transform-origin:left top;max-width:100%;z-index:2}[dir=rtl].sc-ion-input-md-h -no-combinator.input-label-placement-stacked.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md,[dir=rtl] .sc-ion-input-md-h -no-combinator.input-label-placement-stacked.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md,[dir=rtl].input-label-placement-stacked.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md,[dir=rtl] .input-label-placement-stacked.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md,[dir=rtl].sc-ion-input-md-h -no-combinator.input-label-placement-floating.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md,[dir=rtl] .sc-ion-input-md-h -no-combinator.input-label-placement-floating.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md,[dir=rtl].input-label-placement-floating.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md,[dir=rtl] .input-label-placement-floating.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){.input-label-placement-stacked.sc-ion-input-md-h:dir(rtl) .label-text-wrapper.sc-ion-input-md,.input-label-placement-floating.sc-ion-input-md-h:dir(rtl) .label-text-wrapper.sc-ion-input-md{-webkit-transform-origin:right top;transform-origin:right top}}.input-label-placement-stacked.sc-ion-input-md-h input.sc-ion-input-md,.input-label-placement-floating.sc-ion-input-md-h input.sc-ion-input-md{margin-left:0;margin-right:0;margin-top:1px;margin-bottom:0}.input-label-placement-floating.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md{-webkit-transform:translateY(100%) scale(1);transform:translateY(100%) scale(1)}.input-label-placement-floating.sc-ion-input-md-h input.sc-ion-input-md{opacity:0}.has-focus.input-label-placement-floating.sc-ion-input-md-h input.sc-ion-input-md,.has-value.input-label-placement-floating.sc-ion-input-md-h input.sc-ion-input-md{opacity:1}.input-label-placement-stacked.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md,.has-focus.input-label-placement-floating.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md,.has-value.input-label-placement-floating.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md{-webkit-transform:translateY(50%) scale(0.75);transform:translateY(50%) scale(0.75);max-width:calc(100% / 0.75)}.input-fill-solid.sc-ion-input-md-h{--background:var(--ion-color-step-50, #f2f2f2);--border-color:var(--ion-color-step-500, gray);--border-radius:4px;--padding-start:16px;--padding-end:16px;min-height:56px}.input-fill-solid.sc-ion-input-md-h .input-wrapper.sc-ion-input-md{border-bottom:var(--border-width) var(--border-style) var(--border-color)}.has-focus.input-fill-solid.ion-valid.sc-ion-input-md-h,.input-fill-solid.ion-touched.ion-invalid.sc-ion-input-md-h{--border-color:var(--highlight-color)}.input-fill-solid.sc-ion-input-md-h .input-bottom.sc-ion-input-md{border-top:none}@media (any-hover: hover){.input-fill-solid.sc-ion-input-md-h:hover{--background:var(--ion-color-step-100, #e6e6e6);--border-color:var(--ion-color-step-750, #404040)}}.input-fill-solid.has-focus.sc-ion-input-md-h{--background:var(--ion-color-step-150, #d9d9d9);--border-color:var(--ion-color-step-750, #404040)}.input-fill-solid.sc-ion-input-md-h .input-wrapper.sc-ion-input-md{border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius);border-bottom-right-radius:0px;border-bottom-left-radius:0px}[dir=rtl].sc-ion-input-md-h -no-combinator.input-fill-solid.sc-ion-input-md-h .input-wrapper.sc-ion-input-md,[dir=rtl] .sc-ion-input-md-h -no-combinator.input-fill-solid.sc-ion-input-md-h .input-wrapper.sc-ion-input-md,[dir=rtl].input-fill-solid.sc-ion-input-md-h .input-wrapper.sc-ion-input-md,[dir=rtl] .input-fill-solid.sc-ion-input-md-h .input-wrapper.sc-ion-input-md{border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius);border-bottom-right-radius:0px;border-bottom-left-radius:0px}@supports selector(:dir(rtl)){.input-fill-solid.sc-ion-input-md-h:dir(rtl) .input-wrapper.sc-ion-input-md{border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius);border-bottom-right-radius:0px;border-bottom-left-radius:0px}}.input-fill-solid.input-label-placement-stacked.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md,.has-focus.input-fill-solid.input-label-placement-floating.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md,.has-value.input-fill-solid.input-label-placement-floating.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md{max-width:calc(100% / 0.75)}.input-fill-outline.sc-ion-input-md-h{--border-color:var(--ion-color-step-300, #b3b3b3);--border-radius:4px;--padding-start:16px;--padding-end:16px;min-height:56px}.input-fill-outline.input-shape-round.sc-ion-input-md-h{--border-radius:28px;--padding-start:32px;--padding-end:32px}.has-focus.input-fill-outline.ion-valid.sc-ion-input-md-h,.input-fill-outline.ion-touched.ion-invalid.sc-ion-input-md-h{--border-color:var(--highlight-color)}@media (any-hover: hover){.input-fill-outline.sc-ion-input-md-h:hover{--border-color:var(--ion-color-step-750, #404040)}}.input-fill-outline.has-focus.sc-ion-input-md-h{--border-width:2px;--border-color:var(--highlight-color)}.input-fill-outline.sc-ion-input-md-h .input-bottom.sc-ion-input-md{border-top:none}.input-fill-outline.sc-ion-input-md-h .input-wrapper.sc-ion-input-md{border-bottom:none}.input-fill-outline.input-label-placement-stacked.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md,.input-fill-outline.input-label-placement-floating.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md{-webkit-transform-origin:left top;transform-origin:left top;position:absolute;max-width:calc(100% - var(--padding-start) - var(--padding-end))}[dir=rtl].sc-ion-input-md-h -no-combinator.input-fill-outline.input-label-placement-stacked.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md,[dir=rtl] .sc-ion-input-md-h -no-combinator.input-fill-outline.input-label-placement-stacked.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md,[dir=rtl].input-fill-outline.input-label-placement-stacked.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md,[dir=rtl] .input-fill-outline.input-label-placement-stacked.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md,[dir=rtl].sc-ion-input-md-h -no-combinator.input-fill-outline.input-label-placement-floating.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md,[dir=rtl] .sc-ion-input-md-h -no-combinator.input-fill-outline.input-label-placement-floating.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md,[dir=rtl].input-fill-outline.input-label-placement-floating.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md,[dir=rtl] .input-fill-outline.input-label-placement-floating.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){.input-fill-outline.input-label-placement-stacked.sc-ion-input-md-h:dir(rtl) .label-text-wrapper.sc-ion-input-md,.input-fill-outline.input-label-placement-floating.sc-ion-input-md-h:dir(rtl) .label-text-wrapper.sc-ion-input-md{-webkit-transform-origin:right top;transform-origin:right top}}.input-fill-outline.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md{position:relative}.has-focus.input-fill-outline.input-label-placement-floating.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md,.has-value.input-fill-outline.input-label-placement-floating.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md,.input-fill-outline.input-label-placement-stacked.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md{-webkit-transform:translateY(-32%) scale(0.75);transform:translateY(-32%) scale(0.75);margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;max-width:calc((100% - var(--padding-start) - var(--padding-end) - 8px) / 0.75)}.input-fill-outline.input-label-placement-stacked.sc-ion-input-md-h input.sc-ion-input-md,.input-fill-outline.input-label-placement-floating.sc-ion-input-md-h input.sc-ion-input-md{margin-left:0;margin-right:0;margin-top:6px;margin-bottom:6px}.input-fill-outline.sc-ion-input-md-h .input-outline-container.sc-ion-input-md{left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;width:100%;height:100%}.input-fill-outline.sc-ion-input-md-h .input-outline-start.sc-ion-input-md,.input-fill-outline.sc-ion-input-md-h .input-outline-end.sc-ion-input-md{pointer-events:none}.input-fill-outline.sc-ion-input-md-h .input-outline-start.sc-ion-input-md,.input-fill-outline.sc-ion-input-md-h .input-outline-notch.sc-ion-input-md,.input-fill-outline.sc-ion-input-md-h .input-outline-end.sc-ion-input-md{border-top:var(--border-width) var(--border-style) var(--border-color);border-bottom:var(--border-width) var(--border-style) var(--border-color)}.input-fill-outline.sc-ion-input-md-h .input-outline-notch.sc-ion-input-md{max-width:calc(100% - var(--padding-start) - var(--padding-end))}.input-fill-outline.sc-ion-input-md-h .notch-spacer.sc-ion-input-md{-webkit-padding-end:8px;padding-inline-end:8px;font-size:calc(1em * 0.75);opacity:0;pointer-events:none;-webkit-box-sizing:content-box;box-sizing:content-box}.input-fill-outline.sc-ion-input-md-h .input-outline-start.sc-ion-input-md{border-top-left-radius:var(--border-radius);border-top-right-radius:0px;border-bottom-right-radius:0px;border-bottom-left-radius:var(--border-radius);-webkit-border-start:var(--border-width) var(--border-style) var(--border-color);border-inline-start:var(--border-width) var(--border-style) var(--border-color);width:calc(var(--padding-start) - 4px)}[dir=rtl].sc-ion-input-md-h -no-combinator.input-fill-outline.sc-ion-input-md-h .input-outline-start.sc-ion-input-md,[dir=rtl] .sc-ion-input-md-h -no-combinator.input-fill-outline.sc-ion-input-md-h .input-outline-start.sc-ion-input-md,[dir=rtl].input-fill-outline.sc-ion-input-md-h .input-outline-start.sc-ion-input-md,[dir=rtl] .input-fill-outline.sc-ion-input-md-h .input-outline-start.sc-ion-input-md{border-top-left-radius:0px;border-top-right-radius:var(--border-radius);border-bottom-right-radius:var(--border-radius);border-bottom-left-radius:0px}@supports selector(:dir(rtl)){.input-fill-outline.sc-ion-input-md-h:dir(rtl) .input-outline-start.sc-ion-input-md{border-top-left-radius:0px;border-top-right-radius:var(--border-radius);border-bottom-right-radius:var(--border-radius);border-bottom-left-radius:0px}}.input-fill-outline.sc-ion-input-md-h .input-outline-end.sc-ion-input-md{-webkit-border-end:var(--border-width) var(--border-style) var(--border-color);border-inline-end:var(--border-width) var(--border-style) var(--border-color);border-top-left-radius:0px;border-top-right-radius:var(--border-radius);border-bottom-right-radius:var(--border-radius);border-bottom-left-radius:0px;-ms-flex-positive:1;flex-grow:1}[dir=rtl].sc-ion-input-md-h -no-combinator.input-fill-outline.sc-ion-input-md-h .input-outline-end.sc-ion-input-md,[dir=rtl] .sc-ion-input-md-h -no-combinator.input-fill-outline.sc-ion-input-md-h .input-outline-end.sc-ion-input-md,[dir=rtl].input-fill-outline.sc-ion-input-md-h .input-outline-end.sc-ion-input-md,[dir=rtl] .input-fill-outline.sc-ion-input-md-h .input-outline-end.sc-ion-input-md{border-top-left-radius:var(--border-radius);border-top-right-radius:0px;border-bottom-right-radius:0px;border-bottom-left-radius:var(--border-radius)}@supports selector(:dir(rtl)){.input-fill-outline.sc-ion-input-md-h:dir(rtl) .input-outline-end.sc-ion-input-md{border-top-left-radius:var(--border-radius);border-top-right-radius:0px;border-bottom-right-radius:0px;border-bottom-left-radius:var(--border-radius)}}.has-focus.input-fill-outline.input-label-placement-floating.sc-ion-input-md-h .input-outline-notch.sc-ion-input-md,.has-value.input-fill-outline.input-label-placement-floating.sc-ion-input-md-h .input-outline-notch.sc-ion-input-md,.input-fill-outline.input-label-placement-stacked.sc-ion-input-md-h .input-outline-notch.sc-ion-input-md{border-top:none}.sc-ion-input-md-h{--border-width:1px;--border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.13))));font-size:inherit}.legacy-input.sc-ion-input-md-h{--padding-top:10px;--padding-end:0;--padding-bottom:10px;--padding-start:8px}.item-label-stacked.sc-ion-input-md-h,.item-label-stacked .sc-ion-input-md-h,.item-label-floating.sc-ion-input-md-h,.item-label-floating .sc-ion-input-md-h{--padding-top:8px;--padding-bottom:8px;--padding-start:0}.input-clear-icon.sc-ion-input-md ion-icon.sc-ion-input-md{width:22px;height:22px}.legacy-input.sc-ion-input-md-h .native-input[disabled].sc-ion-input-md,.input-disabled.sc-ion-input-md-h{opacity:0.38}.has-focus.ion-valid.sc-ion-input-md-h,.ion-touched.ion-invalid.sc-ion-input-md-h{--border-color:var(--highlight-color)}.input-bottom.sc-ion-input-md .counter.sc-ion-input-md{letter-spacing:0.0333333333em}.input-label-placement-floating.has-focus.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md,.input-label-placement-stacked.has-focus.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md{color:var(--highlight-color)}.has-focus.input-label-placement-floating.ion-valid.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md,.input-label-placement-floating.ion-touched.ion-invalid.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md,.has-focus.input-label-placement-stacked.ion-valid.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md,.input-label-placement-stacked.ion-touched.ion-invalid.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md{color:var(--highlight-color)}.input-highlight.sc-ion-input-md{bottom:-1px;position:absolute;width:100%;height:2px;-webkit-transform:scale(0);transform:scale(0);-webkit-transition:-webkit-transform 200ms;transition:-webkit-transform 200ms;transition:transform 200ms;transition:transform 200ms, -webkit-transform 200ms;background:var(--highlight-color)}@supports (inset-inline-start: 0){.input-highlight.sc-ion-input-md{inset-inline-start:0}}@supports not (inset-inline-start: 0){.input-highlight.sc-ion-input-md{left:0}[dir=rtl].sc-ion-input-md-h .input-highlight.sc-ion-input-md,[dir=rtl] .sc-ion-input-md-h .input-highlight.sc-ion-input-md{left:unset;right:unset;right:0}[dir=rtl].sc-ion-input-md .input-highlight.sc-ion-input-md{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){.input-highlight.sc-ion-input-md:dir(rtl){left:unset;right:unset;right:0}}}.has-focus.sc-ion-input-md-h .input-highlight.sc-ion-input-md{-webkit-transform:scale(1);transform:scale(1)}.in-item.sc-ion-input-md-h .input-highlight.sc-ion-input-md{bottom:0}@supports (inset-inline-start: 0){.in-item.sc-ion-input-md-h .input-highlight.sc-ion-input-md{inset-inline-start:0}}@supports not (inset-inline-start: 0){.in-item.sc-ion-input-md-h .input-highlight.sc-ion-input-md{left:0}[dir=rtl].sc-ion-input-md-h -no-combinator.in-item.sc-ion-input-md-h .input-highlight.sc-ion-input-md,[dir=rtl] .sc-ion-input-md-h -no-combinator.in-item.sc-ion-input-md-h .input-highlight.sc-ion-input-md,[dir=rtl].in-item.sc-ion-input-md-h .input-highlight.sc-ion-input-md,[dir=rtl] .in-item.sc-ion-input-md-h .input-highlight.sc-ion-input-md{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){.in-item.sc-ion-input-md-h:dir(rtl) .input-highlight.sc-ion-input-md{left:unset;right:unset;right:0}}}.input-shape-round.sc-ion-input-md-h{--border-radius:16px}"};export{y as ion_input}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * (C) Ionic http://ionicframework.com - MIT License
3
+ */
4
+ import{r as e,d as t,h as l,H as i,f as o,i as s}from"./p-f5e886cd.js";import{c as a}from"./p-ca5cf574.js";import{c as r}from"./p-e5fd9f10.js";import{i as n,c}from"./p-ea78392c.js";import{k as d,f as p,h,d as b,e as m}from"./p-63eb0acd.js";import{p as g}from"./p-1b8e1d03.js";import{c as f,b as u,a as x,s as v}from"./p-307963db.js";import{i as w}from"./p-6dbfe5d4.js";import{h as k,c as y,g as z}from"./p-1d072d3d.js";import{w as j}from"./p-f10de93b.js";import{w as C,q as O}from"./p-ea96fa73.js";import{b as $}from"./p-3e8d7ed8.js";import"./p-7b30edcc.js";import"./p-b287ab05.js";import"./p-185e427e.js";const I=class{constructor(l){e(this,l),this.ionChange=t(this,"ionChange",7),this.ionCancel=t(this,"ionCancel",7),this.ionDismiss=t(this,"ionDismiss",7),this.ionFocus=t(this,"ionFocus",7),this.ionBlur=t(this,"ionBlur",7),this.ionStyle=t(this,"ionStyle",7),this.inputId="ion-sel-"+P++,this.inheritedAttributes={},this.hasLoggedDeprecationWarning=!1,this.onClick=e=>{this.setFocus(),this.open(e)},this.onFocus=()=>{this.ionFocus.emit()},this.onBlur=()=>{this.ionBlur.emit()},this.isExpanded=!1,this.cancelText="Cancel",this.color=void 0,this.compareWith=void 0,this.disabled=!1,this.fill=void 0,this.interface="alert",this.interfaceOptions={},this.justify="space-between",this.label=void 0,this.labelPlacement="start",this.legacy=void 0,this.multiple=!1,this.name=this.inputId,this.okText="OK",this.placeholder=void 0,this.selectedText=void 0,this.toggleIcon=void 0,this.expandedIcon=void 0,this.shape=void 0,this.value=void 0}styleChanged(){this.emitStyle()}setValue(e){this.value=e,this.ionChange.emit({value:e})}componentWillLoad(){this.inheritedAttributes=d(this.el,["aria-label"])}async connectedCallback(){const{el:e}=this;this.legacyFormController=a(e),this.notchController=r(e,(()=>this.notchSpacerEl),(()=>this.labelSlot)),this.updateOverlayOptions(),this.emitStyle(),this.mutationO=j(this.el,"ion-select-option",(async()=>{this.updateOverlayOptions(),s(this)}))}disconnectedCallback(){this.mutationO&&(this.mutationO.disconnect(),this.mutationO=void 0),this.notchController&&(this.notchController.destroy(),this.notchController=void 0)}async open(e){if(this.disabled||this.isExpanded)return;this.isExpanded=!0;const t=this.overlay=await this.createOverlay(e);if(t.onDidDismiss().then((()=>{this.overlay=void 0,this.isExpanded=!1,this.ionDismiss.emit(),this.setFocus()})),await t.present(),"popover"===this.interface){const e=this.childOpts.map((e=>e.value)).indexOf(this.value);if(e>-1){const l=t.querySelector(`.select-interface-option:nth-child(${e+1})`);if(l){p(l);const e=l.querySelector("ion-radio, ion-checkbox");e&&e.focus()}}else{const e=t.querySelector("ion-radio:not(.radio-disabled), ion-checkbox:not(.checkbox-disabled)");e&&(p(e.closest("ion-item")),e.focus())}}return t}createOverlay(e){let t=this.interface;return"action-sheet"===t&&this.multiple&&(console.warn(`Select interface cannot be "${t}" with a multi-value select. Using the "alert" interface instead.`),t="alert"),"popover"!==t||e||(console.warn(`Select interface cannot be a "${t}" without passing an event. Using the "alert" interface instead.`),t="alert"),"action-sheet"===t?this.openActionSheet():"popover"===t?this.openPopover(e):this.openAlert()}updateOverlayOptions(){const e=this.overlay;if(!e)return;const t=this.childOpts,l=this.value;switch(this.interface){case"action-sheet":e.buttons=this.createActionSheetButtons(t,l);break;case"popover":const i=e.querySelector("ion-select-popover");i&&(i.options=this.createPopoverOptions(t,l));break;case"alert":e.inputs=this.createAlertInputs(t,this.multiple?"checkbox":"radio",l)}}createActionSheetButtons(e,t){const l=e.map((e=>{const l=S(e),i=Array.from(e.classList).filter((e=>"hydrated"!==e)).join(" "),o=`${E} ${i}`;return{role:n(t,l,this.compareWith)?"selected":"",text:e.textContent,cssClass:o,handler:()=>{this.setValue(l)}}}));return l.push({text:this.cancelText,role:"cancel",handler:()=>{this.ionCancel.emit()}}),l}createAlertInputs(e,t,l){return e.map((e=>{const i=S(e),o=Array.from(e.classList).filter((e=>"hydrated"!==e)).join(" ");return{type:t,cssClass:`${E} ${o}`,label:e.textContent||"",value:i,checked:n(l,i,this.compareWith),disabled:e.disabled}}))}createPopoverOptions(e,t){return e.map((e=>{const l=S(e),i=Array.from(e.classList).filter((e=>"hydrated"!==e)).join(" ");return{text:e.textContent||"",cssClass:`${E} ${i}`,value:l,checked:n(t,l,this.compareWith),disabled:e.disabled,handler:e=>{this.setValue(e),this.multiple||this.close()}}}))}async openPopover(e){const{fill:t,labelPlacement:l}=this,i=this.interfaceOptions,o=$(this),s="md"!==o,a=this.multiple,r=this.value;let n=e,c="auto";if(this.legacyFormController.hasLegacyControl()){const t=this.el.closest("ion-item");t&&(t.classList.contains("item-label-floating")||t.classList.contains("item-label-stacked"))&&(n=Object.assign(Object.assign({},e),{detail:{ionShadowTarget:t}}),c="cover")}else"floating"===l||"stacked"===l||"md"===o&&void 0!==t?c="cover":n=Object.assign(Object.assign({},e),{detail:{ionShadowTarget:this.nativeWrapperEl}});const d=Object.assign(Object.assign({mode:o,event:n,alignment:"center",size:c,showBackdrop:s},i),{component:"ion-select-popover",cssClass:["select-popover",i.cssClass],componentProps:{header:i.header,subHeader:i.subHeader,message:i.message,multiple:a,value:r,options:this.createPopoverOptions(this.childOpts,r)}});return f.create(d)}async openActionSheet(){const e=$(this),t=this.interfaceOptions,l=Object.assign(Object.assign({mode:e},t),{buttons:this.createActionSheetButtons(this.childOpts,this.value),cssClass:["select-action-sheet",t.cssClass]});return u.create(l)}async openAlert(){let e,t;this.legacyFormController.hasLegacyControl()?(e=this.getLabel(),t=e?e.textContent:null):t=this.labelText;const l=this.interfaceOptions,i=this.multiple?"checkbox":"radio",o=$(this),s=Object.assign(Object.assign({mode:o},l),{header:l.header?l.header:t,inputs:this.createAlertInputs(this.childOpts,i,this.value),buttons:[{text:this.cancelText,role:"cancel",handler:()=>{this.ionCancel.emit()}},{text:this.okText,handler:e=>{this.setValue(e)}}],cssClass:["select-alert",l.cssClass,this.multiple?"multiple-select-alert":"single-select-alert"]});return x.create(s)}close(){return this.overlay?this.overlay.dismiss():Promise.resolve(!1)}getLabel(){return h(this.el)}hasValue(){return""!==this.getText()}get childOpts(){return Array.from(this.el.querySelectorAll("ion-select-option"))}get labelText(){const{label:e}=this;if(void 0!==e)return e;const{labelSlot:t}=this;return null!==t?t.textContent:void 0}getText(){const e=this.selectedText;return null!=e&&""!==e?e:T(this.childOpts,this.value,this.compareWith)}setFocus(){this.focusEl&&this.focusEl.focus()}emitStyle(){const{disabled:e}=this,t={"interactive-disabled":e};this.legacyFormController.hasLegacyControl()&&(t.interactive=!0,t.select=!0,t["select-disabled"]=e,t["has-placeholder"]=void 0!==this.placeholder,t["has-value"]=this.hasValue(),t["has-focus"]=this.isExpanded,t.legacy=!!this.legacy),this.ionStyle.emit(t)}renderLabel(){const{label:e}=this;return l("div",{class:{"label-text-wrapper":!0,"label-text-wrapper-hidden":!this.hasLabel},part:"label"},void 0===e?l("slot",{name:"label"}):l("div",{class:"label-text"},e))}componentDidRender(){var e;null===(e=this.notchController)||void 0===e||e.calculateNotchWidth()}get labelSlot(){return this.el.querySelector('[slot="label"]')}get hasLabel(){return void 0!==this.label||null!==this.labelSlot}renderLabelContainer(){return"md"===$(this)&&"outline"===this.fill?[l("div",{class:"select-outline-container"},l("div",{class:"select-outline-start"}),l("div",{class:{"select-outline-notch":!0,"select-outline-notch-hidden":!this.hasLabel}},l("div",{class:"notch-spacer","aria-hidden":"true",ref:e=>this.notchSpacerEl=e},this.label)),l("div",{class:"select-outline-end"})),this.renderLabel()]:this.renderLabel()}renderSelect(){const{disabled:e,el:t,isExpanded:o,expandedIcon:s,labelPlacement:a,justify:r,placeholder:n,fill:c,shape:d,name:p,value:h}=this,m=$(this),g="floating"===a||"stacked"===a,f=!g,u=w(t)?"rtl":"ltr",x=k("ion-item",this.el),v="md"===m&&"outline"!==c&&!x;return b(!0,t,p,A(h),e),l(i,{onClick:this.onClick,class:y(this.color,{[m]:!0,"in-item":x,"in-item-color":k("ion-item.ion-color",t),"select-disabled":e,"select-expanded":o,"has-expanded-icon":void 0!==s,"has-value":this.hasValue(),"has-placeholder":void 0!==n,"ion-focusable":!0,[`select-${u}`]:!0,[`select-fill-${c}`]:void 0!==c,[`select-justify-${r}`]:f,[`select-shape-${d}`]:void 0!==d,[`select-label-placement-${a}`]:!0})},l("label",{class:"select-wrapper",id:"select-label"},this.renderLabelContainer(),l("div",{class:"native-wrapper",ref:e=>this.nativeWrapperEl=e,part:"container"},this.renderSelectText(),!g&&this.renderSelectIcon(),this.renderListbox()),g&&this.renderSelectIcon(),v&&l("div",{class:"select-highlight"})))}renderLegacySelect(){this.hasLoggedDeprecationWarning||(g('ion-select now requires providing a label with either the "label" property or the "aria-label" attribute. To migrate, remove any usage of "ion-label" and pass the label text to either the "label" property or the "aria-label" attribute.\n\nExample: <ion-select label="Favorite Color">...</ion-select>\nExample with aria-label: <ion-select aria-label="Favorite Color">...</ion-select>\n\nDevelopers can use the "legacy" property to continue using the legacy form markup. This property will be removed in an upcoming major release of Ionic where this form control will use the modern form markup.',this.el),this.legacy&&g('ion-select is being used with the "legacy" property enabled which will forcibly enable the legacy form markup. This property will be removed in an upcoming major release of Ionic where this form control will use the modern form markup.\n Developers can dismiss this warning by removing their usage of the "legacy" property and using the new select syntax.',this.el),this.hasLoggedDeprecationWarning=!0);const{disabled:e,el:t,inputId:o,isExpanded:s,expandedIcon:a,name:r,placeholder:n,value:c}=this,d=$(this),{labelText:p,labelId:h}=m(t,o);b(!0,t,r,A(c),e);let f=this.getText();""===f&&void 0!==n&&(f=n);const u=void 0!==p?""!==f?`${f}, ${p}`:p:f;return l(i,{onClick:this.onClick,role:"button","aria-haspopup":"listbox","aria-disabled":e?"true":null,"aria-label":u,class:{[d]:!0,"in-item":k("ion-item",t),"in-item-color":k("ion-item.ion-color",t),"select-disabled":e,"select-expanded":s,"has-expanded-icon":void 0!==a,"legacy-select":!0}},this.renderSelectText(),this.renderSelectIcon(),l("label",{id:h},u),this.renderListbox())}renderSelectText(){const{placeholder:e}=this;let t=!1,i=this.getText();return""===i&&void 0!==e&&(i=e,t=!0),l("div",{"aria-hidden":"true",class:{"select-text":!0,"select-placeholder":t},part:t?"placeholder":"text"},i)}renderSelectIcon(){const e=$(this),{isExpanded:t,toggleIcon:i,expandedIcon:o}=this;let s;return s=t&&void 0!==o?o:null!=i?i:"ios"===e?C:O,l("ion-icon",{class:"select-icon",part:"icon","aria-hidden":"true",icon:s})}get ariaLabel(){var e,t;const{placeholder:l,el:i,inputId:o,inheritedAttributes:s}=this,a=this.getText(),{labelText:r}=m(i,o),n=null!==(t=null!==(e=this.labelText)&&void 0!==e?e:s["aria-label"])&&void 0!==t?t:r;let c=a;return""===c&&void 0!==l&&(c=l),void 0!==n&&(c=""===c?n:`${n}, ${c}`),c}renderListbox(){const{disabled:e,inputId:t,isExpanded:i}=this;return l("button",{disabled:e,id:t,"aria-label":this.ariaLabel,"aria-haspopup":"dialog","aria-expanded":`${i}`,onFocus:this.onFocus,onBlur:this.onBlur,ref:e=>this.focusEl=e})}render(){const{legacyFormController:e}=this;return e.hasLegacyControl()?this.renderLegacySelect():this.renderSelect()}get el(){return o(this)}static get watchers(){return{disabled:["styleChanged"],isExpanded:["styleChanged"],placeholder:["styleChanged"],value:["styleChanged"]}}},S=e=>{const t=e.value;return void 0===t?e.textContent||"":t},A=e=>{if(null!=e)return Array.isArray(e)?e.join(","):e.toString()},T=(e,t,l)=>void 0===t?"":Array.isArray(t)?t.map((t=>Y(e,t,l))).filter((e=>null!==e)).join(", "):Y(e,t,l)||"",Y=(e,t,l)=>{const i=e.find((e=>c(t,S(e),l)));return i?i.textContent:null};let P=0;const E="select-interface-option";I.style={ios:":host{--padding-top:0px;--padding-end:0px;--padding-bottom:0px;--padding-start:0px;--placeholder-color:currentColor;--placeholder-opacity:0.6;--background:transparent;--border-style:solid;--highlight-color-focused:var(--ion-color-primary, #3880ff);--highlight-color-valid:var(--ion-color-success, #2dd36f);--highlight-color-invalid:var(--ion-color-danger, #eb445a);--highlight-color:var(--highlight-color-focused);display:block;position:relative;font-family:var(--ion-font-family, inherit);white-space:nowrap;cursor:pointer;z-index:2}:host(:not(.legacy-select)){width:100%;min-height:44px}:host(.select-label-placement-floating),:host(.select-label-placement-stacked){min-height:56px}:host(.ion-color){--highlight-color-focused:var(--ion-color-base)}:host(.legacy-select){-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);display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;overflow:hidden}:host(.in-item:not(.legacy-select)){-ms-flex:1 1 0px;flex:1 1 0;width:0}:host(.in-item.legacy-select){position:static;max-width:45%}:host(.select-disabled){pointer-events:none}:host(.ion-focused) button{border:2px solid #5e9ed6}:host([slot=start]:not(.legacy-select)),:host([slot=end]:not(.legacy-select)){width:auto}.select-placeholder{color:var(--placeholder-color);opacity:var(--placeholder-opacity)}:host(.legacy-select) label{top:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;position:absolute;width:100%;height:100%;border:0;background:transparent;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;opacity:0}@supports (inset-inline-start: 0){:host(.legacy-select) label{inset-inline-start:0}}@supports not (inset-inline-start: 0){:host(.legacy-select) label{left:0}:host-context([dir=rtl]):host(.legacy-select) label,:host-context([dir=rtl]).legacy-select label{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){:host(.legacy-select:dir(rtl)) label{left:unset;right:unset;right:0}}}:host(.legacy-select) label::-moz-focus-inner{border:0}button{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}.select-icon{-webkit-margin-start:4px;margin-inline-start:4px;-webkit-margin-end:0;margin-inline-end:0;margin-top:0;margin-bottom:0;position:relative}:host(.in-item-color) .select-icon{color:inherit}:host(.select-label-placement-stacked) .select-icon,:host(.select-label-placement-floating) .select-icon{position:absolute;height:100%}:host(.select-ltr.select-label-placement-stacked) .select-icon,:host(.select-ltr.select-label-placement-floating) .select-icon{right:var(--padding-end, 0)}:host(.select-rtl.select-label-placement-stacked) .select-icon,:host(.select-rtl.select-label-placement-floating) .select-icon{left:var(--padding-start, 0)}.select-text{-ms-flex:1;flex:1;min-width:16px;font-size:inherit;text-overflow:ellipsis;white-space:inherit;overflow:hidden}.select-wrapper{-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);border-radius:var(--border-radius);display:-ms-flexbox;display:flex;position:relative;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;height:inherit;min-height:inherit;-webkit-transition:background-color 15ms linear;transition:background-color 15ms linear;background:var(--background);line-height:normal;cursor:inherit;-webkit-box-sizing:border-box;box-sizing:border-box}.select-wrapper .select-placeholder{-webkit-transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1)}:host(.ion-touched.ion-invalid){--highlight-color:var(--highlight-color-invalid)}:host(.ion-valid){--highlight-color:var(--highlight-color-valid)}.label-text-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;max-width:200px;-webkit-transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);pointer-events:none}.label-text,::slotted([slot=label]){text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.label-text-wrapper-hidden,.select-outline-notch-hidden{display:none}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-webkit-transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);overflow:hidden}:host(.select-justify-space-between) .select-wrapper{-ms-flex-pack:justify;justify-content:space-between}:host(.select-justify-start) .select-wrapper{-ms-flex-pack:start;justify-content:start}:host(.select-justify-end) .select-wrapper{-ms-flex-pack:end;justify-content:end}:host(.select-label-placement-start) .select-wrapper{-ms-flex-direction:row;flex-direction:row}:host(.select-label-placement-start) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:0;margin-bottom:0}:host(.select-label-placement-end) .select-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.select-label-placement-end) .label-text-wrapper{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0;margin-top:0;margin-bottom:0}:host(.select-label-placement-fixed) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:0;margin-bottom:0}:host(.select-label-placement-fixed) .label-text-wrapper{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}:host(.select-label-placement-stacked) .select-wrapper,:host(.select-label-placement-floating) .select-wrapper{-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:start}:host(.select-label-placement-stacked) .label-text-wrapper,:host(.select-label-placement-floating) .label-text-wrapper{max-width:100%}:host(.select-ltr.select-label-placement-stacked) .label-text-wrapper,:host(.select-ltr.select-label-placement-floating) .label-text-wrapper{-webkit-transform-origin:left top;transform-origin:left top}:host(.select-rtl.select-label-placement-stacked) .label-text-wrapper,:host(.select-rtl.select-label-placement-floating) .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}:host(.select-label-placement-stacked) .native-wrapper,:host(.select-label-placement-floating) .native-wrapper{margin-left:0;margin-right:0;margin-top:1px;margin-bottom:0;-ms-flex-positive:1;flex-grow:1;width:100%}:host(.select-label-placement-floating) .label-text-wrapper{-webkit-transform:translateY(100%) scale(1);transform:translateY(100%) scale(1)}:host(.select-label-placement-floating) .native-wrapper .select-placeholder{opacity:0}:host(.select-expanded.select-label-placement-floating) .native-wrapper .select-placeholder,:host(.ion-focused.select-label-placement-floating) .native-wrapper .select-placeholder,:host(.has-value.select-label-placement-floating) .native-wrapper .select-placeholder{opacity:1}:host(.select-label-placement-stacked) .label-text-wrapper,:host(.select-expanded.select-label-placement-floating) .label-text-wrapper,:host(.ion-focused.select-label-placement-floating) .label-text-wrapper,:host(.has-value.select-label-placement-floating) .label-text-wrapper{-webkit-transform:translateY(50%) scale(0.75);transform:translateY(50%) scale(0.75);max-width:calc(100% / 0.75)}:host(.legacy-select){--padding-top:10px;--padding-end:8px;--padding-bottom:10px;--padding-start:16px}.select-icon{width:1.125rem;height:1.125rem;color:var(--ion-color-step-650, #595959)}:host(.select-label-placement-stacked) .native-wrapper,:host(.select-label-placement-floating) .native-wrapper{width:calc(100% - 1.125rem - 4px)}:host(.select-disabled){opacity:0.3}",md:":host{--padding-top:0px;--padding-end:0px;--padding-bottom:0px;--padding-start:0px;--placeholder-color:currentColor;--placeholder-opacity:0.6;--background:transparent;--border-style:solid;--highlight-color-focused:var(--ion-color-primary, #3880ff);--highlight-color-valid:var(--ion-color-success, #2dd36f);--highlight-color-invalid:var(--ion-color-danger, #eb445a);--highlight-color:var(--highlight-color-focused);display:block;position:relative;font-family:var(--ion-font-family, inherit);white-space:nowrap;cursor:pointer;z-index:2}:host(:not(.legacy-select)){width:100%;min-height:44px}:host(.select-label-placement-floating),:host(.select-label-placement-stacked){min-height:56px}:host(.ion-color){--highlight-color-focused:var(--ion-color-base)}:host(.legacy-select){-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);display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;overflow:hidden}:host(.in-item:not(.legacy-select)){-ms-flex:1 1 0px;flex:1 1 0;width:0}:host(.in-item.legacy-select){position:static;max-width:45%}:host(.select-disabled){pointer-events:none}:host(.ion-focused) button{border:2px solid #5e9ed6}:host([slot=start]:not(.legacy-select)),:host([slot=end]:not(.legacy-select)){width:auto}.select-placeholder{color:var(--placeholder-color);opacity:var(--placeholder-opacity)}:host(.legacy-select) label{top:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;position:absolute;width:100%;height:100%;border:0;background:transparent;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;opacity:0}@supports (inset-inline-start: 0){:host(.legacy-select) label{inset-inline-start:0}}@supports not (inset-inline-start: 0){:host(.legacy-select) label{left:0}:host-context([dir=rtl]):host(.legacy-select) label,:host-context([dir=rtl]).legacy-select label{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){:host(.legacy-select:dir(rtl)) label{left:unset;right:unset;right:0}}}:host(.legacy-select) label::-moz-focus-inner{border:0}button{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}.select-icon{-webkit-margin-start:4px;margin-inline-start:4px;-webkit-margin-end:0;margin-inline-end:0;margin-top:0;margin-bottom:0;position:relative}:host(.in-item-color) .select-icon{color:inherit}:host(.select-label-placement-stacked) .select-icon,:host(.select-label-placement-floating) .select-icon{position:absolute;height:100%}:host(.select-ltr.select-label-placement-stacked) .select-icon,:host(.select-ltr.select-label-placement-floating) .select-icon{right:var(--padding-end, 0)}:host(.select-rtl.select-label-placement-stacked) .select-icon,:host(.select-rtl.select-label-placement-floating) .select-icon{left:var(--padding-start, 0)}.select-text{-ms-flex:1;flex:1;min-width:16px;font-size:inherit;text-overflow:ellipsis;white-space:inherit;overflow:hidden}.select-wrapper{-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);border-radius:var(--border-radius);display:-ms-flexbox;display:flex;position:relative;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;height:inherit;min-height:inherit;-webkit-transition:background-color 15ms linear;transition:background-color 15ms linear;background:var(--background);line-height:normal;cursor:inherit;-webkit-box-sizing:border-box;box-sizing:border-box}.select-wrapper .select-placeholder{-webkit-transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1)}:host(.ion-touched.ion-invalid){--highlight-color:var(--highlight-color-invalid)}:host(.ion-valid){--highlight-color:var(--highlight-color-valid)}.label-text-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;max-width:200px;-webkit-transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);pointer-events:none}.label-text,::slotted([slot=label]){text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.label-text-wrapper-hidden,.select-outline-notch-hidden{display:none}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-webkit-transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);overflow:hidden}:host(.select-justify-space-between) .select-wrapper{-ms-flex-pack:justify;justify-content:space-between}:host(.select-justify-start) .select-wrapper{-ms-flex-pack:start;justify-content:start}:host(.select-justify-end) .select-wrapper{-ms-flex-pack:end;justify-content:end}:host(.select-label-placement-start) .select-wrapper{-ms-flex-direction:row;flex-direction:row}:host(.select-label-placement-start) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:0;margin-bottom:0}:host(.select-label-placement-end) .select-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.select-label-placement-end) .label-text-wrapper{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0;margin-top:0;margin-bottom:0}:host(.select-label-placement-fixed) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:0;margin-bottom:0}:host(.select-label-placement-fixed) .label-text-wrapper{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}:host(.select-label-placement-stacked) .select-wrapper,:host(.select-label-placement-floating) .select-wrapper{-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:start}:host(.select-label-placement-stacked) .label-text-wrapper,:host(.select-label-placement-floating) .label-text-wrapper{max-width:100%}:host(.select-ltr.select-label-placement-stacked) .label-text-wrapper,:host(.select-ltr.select-label-placement-floating) .label-text-wrapper{-webkit-transform-origin:left top;transform-origin:left top}:host(.select-rtl.select-label-placement-stacked) .label-text-wrapper,:host(.select-rtl.select-label-placement-floating) .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}:host(.select-label-placement-stacked) .native-wrapper,:host(.select-label-placement-floating) .native-wrapper{margin-left:0;margin-right:0;margin-top:1px;margin-bottom:0;-ms-flex-positive:1;flex-grow:1;width:100%}:host(.select-label-placement-floating) .label-text-wrapper{-webkit-transform:translateY(100%) scale(1);transform:translateY(100%) scale(1)}:host(.select-label-placement-floating) .native-wrapper .select-placeholder{opacity:0}:host(.select-expanded.select-label-placement-floating) .native-wrapper .select-placeholder,:host(.ion-focused.select-label-placement-floating) .native-wrapper .select-placeholder,:host(.has-value.select-label-placement-floating) .native-wrapper .select-placeholder{opacity:1}:host(.select-label-placement-stacked) .label-text-wrapper,:host(.select-expanded.select-label-placement-floating) .label-text-wrapper,:host(.ion-focused.select-label-placement-floating) .label-text-wrapper,:host(.has-value.select-label-placement-floating) .label-text-wrapper{-webkit-transform:translateY(50%) scale(0.75);transform:translateY(50%) scale(0.75);max-width:calc(100% / 0.75)}:host(.select-fill-solid){--background:var(--ion-color-step-50, #f2f2f2);--border-color:var(--ion-color-step-500, gray);--border-radius:4px;--padding-start:16px;--padding-end:16px;min-height:56px}:host(.select-fill-solid) .select-wrapper{border-bottom:var(--border-width) var(--border-style) var(--border-color)}:host(.has-focus.select-fill-solid.ion-valid),:host(.select-fill-solid.ion-touched.ion-invalid){--border-color:var(--highlight-color)}:host(.select-fill-solid) .select-bottom{border-top:none}@media (any-hover: hover){:host(.select-fill-solid:hover){--background:var(--ion-color-step-100, #e6e6e6);--border-color:var(--ion-color-step-750, #404040)}}:host(.select-fill-solid.select-expanded),:host(.select-fill-solid.ion-focused){--background:var(--ion-color-step-150, #d9d9d9);--border-color:var(--ion-color-step-750, #404040)}:host(.select-fill-solid) .select-wrapper{border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius);border-bottom-right-radius:0px;border-bottom-left-radius:0px}:host-context([dir=rtl]):host(.select-fill-solid) .select-wrapper,:host-context([dir=rtl]).select-fill-solid .select-wrapper{border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius);border-bottom-right-radius:0px;border-bottom-left-radius:0px}@supports selector(:dir(rtl)){:host(.select-fill-solid:dir(rtl)) .select-wrapper{border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius);border-bottom-right-radius:0px;border-bottom-left-radius:0px}}:host(.select-fill-solid.select-label-placement-stacked) .label-text-wrapper,:host(.select-expanded.select-fill-solid.select-label-placement-floating) .label-text-wrapper,:host(.ion-focused.select-fill-solid.select-label-placement-floating) .label-text-wrapper,:host(.has-value.select-fill-solid.select-label-placement-floating) .label-text-wrapper{max-width:calc(100% / 0.75)}:host(.select-fill-outline){--border-color:var(--ion-color-step-300, #b3b3b3);--border-radius:4px;--padding-start:16px;--padding-end:16px;min-height:56px}:host(.select-fill-outline.select-shape-round){--border-radius:28px;--padding-start:32px;--padding-end:32px}:host(.has-focus.select-fill-outline.ion-valid),:host(.select-fill-outline.ion-touched.ion-invalid){--border-color:var(--highlight-color)}@media (any-hover: hover){:host(.select-fill-outline:hover){--border-color:var(--ion-color-step-750, #404040)}}:host(.select-fill-outline.select-expanded),:host(.select-fill-outline.ion-focused){--border-width:2px;--border-color:var(--highlight-color)}:host(.select-fill-outline) .select-bottom{border-top:none}:host(.select-fill-outline) .select-wrapper{border-bottom:none}:host(.select-ltr.select-fill-outline.select-label-placement-stacked) .label-text-wrapper,:host(.select-ltr.select-fill-outline.select-label-placement-floating) .label-text-wrapper{-webkit-transform-origin:left top;transform-origin:left top}:host(.select-rtl.select-fill-outline.select-label-placement-stacked) .label-text-wrapper,:host(.select-rtl.select-fill-outline.select-label-placement-floating) .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}:host(.select-fill-outline.select-label-placement-stacked) .label-text-wrapper,:host(.select-fill-outline.select-label-placement-floating) .label-text-wrapper{position:absolute;max-width:calc(100% - var(--padding-start) - var(--padding-end))}:host(.select-fill-outline) .label-text-wrapper{position:relative;z-index:1}:host(.select-expanded.select-fill-outline.select-label-placement-floating) .label-text-wrapper,:host(.ion-focused.select-fill-outline.select-label-placement-floating) .label-text-wrapper,:host(.has-value.select-fill-outline.select-label-placement-floating) .label-text-wrapper,:host(.select-fill-outline.select-label-placement-stacked) .label-text-wrapper{-webkit-transform:translateY(-32%) scale(0.75);transform:translateY(-32%) scale(0.75);margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;max-width:calc((100% - var(--padding-start) - var(--padding-end) - 8px) / 0.75)}:host(.select-fill-outline.select-label-placement-stacked) select,:host(.select-fill-outline.select-label-placement-floating) select{margin-left:0;margin-right:0;margin-top:6px;margin-bottom:6px}:host(.select-fill-outline) .select-outline-container{left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;width:100%;height:100%}:host(.select-fill-outline) .select-outline-start,:host(.select-fill-outline) .select-outline-end{pointer-events:none}:host(.select-fill-outline) .select-outline-start,:host(.select-fill-outline) .select-outline-notch,:host(.select-fill-outline) .select-outline-end{border-top:var(--border-width) var(--border-style) var(--border-color);border-bottom:var(--border-width) var(--border-style) var(--border-color);-webkit-box-sizing:border-box;box-sizing:border-box}:host(.select-fill-outline) .select-outline-notch{max-width:calc(100% - var(--padding-start) - var(--padding-end))}:host(.select-fill-outline) .notch-spacer{-webkit-padding-end:8px;padding-inline-end:8px;font-size:calc(1em * 0.75);opacity:0;pointer-events:none}:host(.select-fill-outline) .select-outline-start{-webkit-border-start:var(--border-width) var(--border-style) var(--border-color);border-inline-start:var(--border-width) var(--border-style) var(--border-color)}:host(.select-ltr.select-fill-outline) .select-outline-start{border-radius:var(--border-radius) 0px 0px var(--border-radius)}:host(.select-rtl.select-fill-outline) .select-outline-start{border-radius:0px var(--border-radius) var(--border-radius) 0px}:host(.select-fill-outline) .select-outline-start{width:calc(var(--padding-start) - 4px)}:host(.select-fill-outline) .select-outline-end{-webkit-border-end:var(--border-width) var(--border-style) var(--border-color);border-inline-end:var(--border-width) var(--border-style) var(--border-color)}:host(.select-ltr.select-fill-outline) .select-outline-end{border-radius:0px var(--border-radius) var(--border-radius) 0px}:host(.select-rtl.select-fill-outline) .select-outline-end{border-radius:var(--border-radius) 0px 0px var(--border-radius)}:host(.select-fill-outline) .select-outline-end{-ms-flex-positive:1;flex-grow:1}:host(.select-expanded.select-fill-outline.select-label-placement-floating) .select-outline-notch,:host(.ion-focused.select-fill-outline.select-label-placement-floating) .select-outline-notch,:host(.has-value.select-fill-outline.select-label-placement-floating) .select-outline-notch,:host(.select-fill-outline.select-label-placement-stacked) .select-outline-notch{border-top:none}:host{--border-width:1px;--border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.13))))}:host(.legacy-select){--padding-top:10px;--padding-end:0;--padding-bottom:10px;--padding-start:16px}.select-icon{width:0.8125rem;-webkit-transition:-webkit-transform 0.15s cubic-bezier(0.4, 0, 0.2, 1);transition:-webkit-transform 0.15s cubic-bezier(0.4, 0, 0.2, 1);transition:transform 0.15s cubic-bezier(0.4, 0, 0.2, 1);transition:transform 0.15s cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 0.15s cubic-bezier(0.4, 0, 0.2, 1);color:var(--ion-color-step-500, gray)}:host(.select-label-placement-floating.select-expanded) .label-text-wrapper,:host(.select-label-placement-floating.ion-focused) .label-text-wrapper,:host(.select-label-placement-stacked.select-expanded) .label-text-wrapper,:host(.select-label-placement-stacked.ion-focused) .label-text-wrapper{color:var(--highlight-color)}:host(.has-focus.select-label-placement-floating.ion-valid) .label-text-wrapper,:host(.select-label-placement-floating.ion-touched.ion-invalid) .label-text-wrapper,:host(.has-focus.select-label-placement-stacked.ion-valid) .label-text-wrapper,:host(.select-label-placement-stacked.ion-touched.ion-invalid) .label-text-wrapper{color:var(--highlight-color)}.select-highlight{bottom:-1px;position:absolute;width:100%;height:2px;-webkit-transform:scale(0);transform:scale(0);-webkit-transition:-webkit-transform 200ms;transition:-webkit-transform 200ms;transition:transform 200ms;transition:transform 200ms, -webkit-transform 200ms;background:var(--highlight-color)}@supports (inset-inline-start: 0){.select-highlight{inset-inline-start:0}}@supports not (inset-inline-start: 0){.select-highlight{left:0}:host-context([dir=rtl]) .select-highlight{left:unset;right:unset;right:0}[dir=rtl] .select-highlight{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){.select-highlight:dir(rtl){left:unset;right:unset;right:0}}}:host(.select-expanded) .select-highlight,:host(.ion-focused) .select-highlight{-webkit-transform:scale(1);transform:scale(1)}:host(.in-item) .select-highlight{bottom:0}@supports (inset-inline-start: 0){:host(.in-item) .select-highlight{inset-inline-start:0}}@supports not (inset-inline-start: 0){:host(.in-item) .select-highlight{left:0}:host-context([dir=rtl]):host(.in-item) .select-highlight,:host-context([dir=rtl]).in-item .select-highlight{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){:host(.in-item:dir(rtl)) .select-highlight{left:unset;right:unset;right:0}}}:host(.select-expanded:not(.legacy-select):not(.has-expanded-icon)) .select-icon{-webkit-transform:rotate(180deg);transform:rotate(180deg)}:host(.select-expanded) .select-wrapper .select-icon,:host(.has-focus.ion-valid) .select-wrapper .select-icon,:host(.ion-touched.ion-invalid) .select-wrapper .select-icon,:host(.ion-focused) .select-wrapper .select-icon{color:var(--highlight-color)}:host-context(.item-label-stacked) .select-icon,:host-context(.item-label-floating:not(.item-fill-outline)) .select-icon,:host-context(.item-label-floating.item-fill-outline){-webkit-transform:translate3d(0, -9px, 0);transform:translate3d(0, -9px, 0)}:host-context(.item-has-focus):host(:not(.has-expanded-icon)) .select-icon{-webkit-transform:rotate(180deg);transform:rotate(180deg)}:host-context(.item-has-focus.item-label-stacked):host(:not(.has-expanded-icon)) .select-icon,:host-context(.item-has-focus.item-label-floating:not(.item-fill-outline)):host(:not(.has-expanded-icon)) .select-icon{-webkit-transform:translate3d(0, -9px, 0) rotate(180deg);transform:translate3d(0, -9px, 0) rotate(180deg)}:host(.select-shape-round){--border-radius:16px}:host(.select-label-placement-stacked) .native-wrapper,:host(.select-label-placement-floating) .native-wrapper{width:calc(100% - 0.8125rem - 4px)}:host(.select-disabled){opacity:0.38}"};const L=class{constructor(t){e(this,t),this.inputId="ion-selopt-"+F++,this.disabled=!1,this.value=void 0}render(){return l(i,{role:"option",id:this.inputId,class:$(this)})}get el(){return o(this)}};let F=0;L.style=":host{display:none}";const _=class{constructor(t){e(this,t),this.header=void 0,this.subHeader=void 0,this.message=void 0,this.multiple=void 0,this.options=[]}findOptionFromEvent(e){const{options:t}=this;return t.find((t=>t.value===e.target.value))}callOptionHandler(e){const t=this.findOptionFromEvent(e),l=this.getValues(e);(null==t?void 0:t.handler)&&v(t.handler,l)}dismissParentPopover(){const e=this.el.closest("ion-popover");e&&e.dismiss()}setChecked(e){const{multiple:t}=this,l=this.findOptionFromEvent(e);t&&l&&(l.checked=e.detail.checked)}getValues(e){const{multiple:t,options:l}=this;if(t)return l.filter((e=>e.checked)).map((e=>e.value));const i=this.findOptionFromEvent(e);return i?i.value:void 0}renderOptions(e){const{multiple:t}=this;return!0===t?this.renderCheckboxOptions(e):this.renderRadioOptions(e)}renderCheckboxOptions(e){return e.map((e=>l("ion-item",{class:Object.assign({"item-checkbox-checked":e.checked},z(e.cssClass))},l("ion-checkbox",{value:e.value,disabled:e.disabled,checked:e.checked,justify:"start",labelPlacement:"end",onIonChange:e=>{this.setChecked(e),this.callOptionHandler(e),s(this)}},e.text))))}renderRadioOptions(e){const t=e.filter((e=>e.checked)).map((e=>e.value))[0];return l("ion-radio-group",{value:t,onIonChange:e=>this.callOptionHandler(e)},e.map((e=>l("ion-item",{class:Object.assign({"item-radio-checked":e.value===t},z(e.cssClass))},l("ion-radio",{value:e.value,disabled:e.disabled,onClick:()=>this.dismissParentPopover(),onKeyUp:e=>{" "===e.key&&this.dismissParentPopover()}},e.text)))))}render(){const{header:e,message:t,options:o,subHeader:s}=this,a=void 0!==s||void 0!==t;return l(i,{class:$(this)},l("ion-list",null,void 0!==e&&l("ion-list-header",null,e),a&&l("ion-item",null,l("ion-label",{class:"ion-text-wrap"},void 0!==s&&l("h3",null,s),void 0!==t&&l("p",null,t))),this.renderOptions(o)))}get el(){return o(this)}};_.style={ios:".sc-ion-select-popover-ios-h ion-list.sc-ion-select-popover-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}ion-list-header.sc-ion-select-popover-ios,ion-label.sc-ion-select-popover-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}",md:".sc-ion-select-popover-md-h ion-list.sc-ion-select-popover-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}ion-list-header.sc-ion-select-popover-md,ion-label.sc-ion-select-popover-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}ion-list.sc-ion-select-popover-md ion-radio.sc-ion-select-popover-md::part(container){opacity:0}ion-item.sc-ion-select-popover-md{--inner-border-width:0}.item-radio-checked.sc-ion-select-popover-md{--background:rgba(var(--ion-color-primary-rgb, 56, 128, 255), 0.08);--background-focused:var(--ion-color-primary, #3880ff);--background-focused-opacity:0.2;--background-hover:var(--ion-color-primary, #3880ff);--background-hover-opacity:0.12}.item-checkbox-checked.sc-ion-select-popover-md{--background-activated:var(--ion-item-color, var(--ion-text-color, #000));--background-focused:var(--ion-item-color, var(--ion-text-color, #000));--background-hover:var(--ion-item-color, var(--ion-text-color, #000));--color:var(--ion-color-primary, #3880ff)}"};export{I as ion_select,L as ion_select_option,_ as ion_select_popover}
@@ -0,0 +1,144 @@
1
+ :host {
2
+ display: inline-block;
3
+
4
+ width: 1em;
5
+ height: 1em;
6
+
7
+ contain: strict;
8
+
9
+ fill: currentColor;
10
+
11
+ box-sizing: content-box !important;
12
+
13
+ }
14
+
15
+ :host .ionicon {
16
+ stroke: currentColor;
17
+ }
18
+
19
+ .ionicon-fill-none {
20
+ fill: none;
21
+ }
22
+
23
+ .ionicon-stroke-width {
24
+ stroke-width: 32px;
25
+ stroke-width: var(--ionicon-stroke-width, 32px);
26
+ }
27
+
28
+ .icon-inner,
29
+ .ionicon,
30
+ svg {
31
+ display: block;
32
+
33
+ height: 100%;
34
+ width: 100%;
35
+ }
36
+
37
+ /* Icon RTL
38
+ * -----------------------------------------------------------
39
+ */
40
+
41
+ /**
42
+ * Safari <16.4 incorrectly reports
43
+ * that it supports :dir(rtl) when it does not.
44
+ * This @supports statement lets us target
45
+ * WebKit browsers to apply the RTL fallback.
46
+ * -webkit-named-image only exists on WebKit.
47
+ * For WebKit browsers that do support :dir(rtl)
48
+ * (i.e. Safari >= 16.4) then the :dir(rtl)
49
+ * code farther down on the page will take
50
+ * effect and override this fallback.
51
+ */
52
+ @supports (background: -webkit-named-image(i)) {
53
+ :host(.icon-rtl) .icon-inner {
54
+ transform: scaleX(-1);
55
+ }
56
+ }
57
+
58
+ /**
59
+ * Fallback for browsers that support
60
+ * neither :host-context nor :dir.
61
+ * The icon will not react to dir
62
+ * changes, but it will at least
63
+ * respect the dir on component load.
64
+ */
65
+ @supports not selector(:dir(rtl)) and selector(:host-context([dir='rtl'])) {
66
+ :host(.icon-rtl) .icon-inner {
67
+ transform: scaleX(-1);
68
+ }
69
+ }
70
+
71
+ /* :host-context is supported in chromium; :dir is supported in safari & firefox */
72
+ :host(.flip-rtl):host-context([dir='rtl']) .icon-inner {
73
+ transform: scaleX(-1);
74
+ }
75
+
76
+ @supports selector(:dir(rtl)) {
77
+ :host(.flip-rtl:dir(rtl)) .icon-inner {
78
+ transform: scaleX(-1);
79
+ }
80
+ /**
81
+ * This is needed for WebKit otherwise the fallback
82
+ * will always cause the icon to be flipped if the document
83
+ * loads in RTL.
84
+ */
85
+ :host(.flip-rtl:dir(ltr)) .icon-inner {
86
+ transform: scaleX(1);
87
+ }
88
+ }
89
+
90
+ /* Icon Sizes
91
+ * -----------------------------------------------------------
92
+ */
93
+
94
+ :host(.icon-small) {
95
+ font-size: 1.125rem !important;
96
+ }
97
+
98
+ :host(.icon-large) {
99
+ font-size: 2rem !important;
100
+ }
101
+
102
+ /* Icon Colors
103
+ * -----------------------------------------------------------
104
+ */
105
+
106
+ :host(.ion-color) {
107
+ color: var(--ion-color-base) !important;
108
+ }
109
+
110
+ :host(.ion-color-primary) {
111
+ --ion-color-base: var(--ion-color-primary, #3880ff);
112
+ }
113
+
114
+ :host(.ion-color-secondary) {
115
+ --ion-color-base: var(--ion-color-secondary, #0cd1e8);
116
+ }
117
+
118
+ :host(.ion-color-tertiary) {
119
+ --ion-color-base: var(--ion-color-tertiary, #f4a942);
120
+ }
121
+
122
+ :host(.ion-color-success) {
123
+ --ion-color-base: var(--ion-color-success, #10dc60);
124
+ }
125
+
126
+ :host(.ion-color-warning) {
127
+ --ion-color-base: var(--ion-color-warning, #ffce00);
128
+ }
129
+
130
+ :host(.ion-color-danger) {
131
+ --ion-color-base: var(--ion-color-danger, #f14141);
132
+ }
133
+
134
+ :host(.ion-color-light) {
135
+ --ion-color-base: var(--ion-color-light, #f4f5f8);
136
+ }
137
+
138
+ :host(.ion-color-medium) {
139
+ --ion-color-base: var(--ion-color-medium, #989aa2);
140
+ }
141
+
142
+ :host(.ion-color-dark) {
143
+ --ion-color-base: var(--ion-color-dark, #222428);
144
+ }
@@ -6,3 +6,4 @@ export interface RadioGroupCustomEvent<T = any> extends CustomEvent {
6
6
  detail: RadioGroupChangeEventDetail<T>;
7
7
  target: HTMLIonRadioGroupElement;
8
8
  }
9
+ export type RadioGroupCompareFn = (currentValue: any, compareValue: any) => boolean;
@@ -1,5 +1,5 @@
1
1
  import type { ComponentInterface, EventEmitter } from '../../stencil-public-runtime';
2
- import type { RadioGroupChangeEventDetail } from './radio-group-interface';
2
+ import type { RadioGroupChangeEventDetail, RadioGroupCompareFn } from './radio-group-interface';
3
3
  export declare class RadioGroup implements ComponentInterface {
4
4
  private inputId;
5
5
  private labelId;
@@ -9,6 +9,13 @@ export declare class RadioGroup implements ComponentInterface {
9
9
  * If `true`, the radios can be deselected.
10
10
  */
11
11
  allowEmptySelection: boolean;
12
+ /**
13
+ * This property allows developers to specify a custom function or property
14
+ * name for comparing objects when determining the selected option in the
15
+ * ion-radio-group. When not specified, the default behavior will use object
16
+ * equality (===) for comparison.
17
+ */
18
+ compareWith?: string | RadioGroupCompareFn | null;
12
19
  /**
13
20
  * The name of the control, which is submitted with the form data.
14
21
  */
@@ -1,5 +1,6 @@
1
1
  import type { ComponentInterface, EventEmitter } from '../../stencil-public-runtime';
2
- import type { AnimationBuilder, BackButtonEvent } from '../../interface';
2
+ import type { BackButtonEvent } from "../../utils/hardware-back-button";
3
+ import type { AnimationBuilder } from '../../interface';
3
4
  import type { RouterDirection, RouterEventDetail } from './utils/interface';
4
5
  export declare class Router implements ComponentInterface {
5
6
  private previousPath;
@@ -38,7 +38,10 @@ export declare class Select implements ComponentInterface {
38
38
  */
39
39
  color?: Color;
40
40
  /**
41
- * A property name or function used to compare object values
41
+ * This property allows developers to specify a custom function or property
42
+ * name for comparing objects when determining the selected option in the
43
+ * ion-select. When not specified, the default behavior will use object
44
+ * equality (===) for comparison.
42
45
  */
43
46
  compareWith?: string | SelectCompareFn | null;
44
47
  /**
@@ -1,9 +1,17 @@
1
- import type { ComponentInterface } from '../../stencil-public-runtime';
1
+ import type { ComponentInterface, EventEmitter } from '../../stencil-public-runtime';
2
+ import type { StyleEventDetail } from '../../interface';
2
3
  export declare class SkeletonText implements ComponentInterface {
3
4
  el: HTMLElement;
4
5
  /**
5
6
  * If `true`, the skeleton text will animate.
6
7
  */
7
8
  animated: boolean;
9
+ /**
10
+ * Emitted when the styles change.
11
+ * @internal
12
+ */
13
+ ionStyle: EventEmitter<StyleEventDetail>;
14
+ componentWillLoad(): void;
15
+ private emitStyle;
8
16
  render(): any;
9
17
  }
@@ -4,10 +4,12 @@ import type { ToastAnimationPosition, ToastPosition } from '../toast-interface';
4
4
  * Calculate the CSS top and bottom position of the toast, to be used
5
5
  * as starting points for the animation keyframes.
6
6
  *
7
- * Note that MD animates bottom-positioned toasts using style.bottom,
8
- * which calculates from the bottom edge of the screen, while iOS uses
9
- * translateY, which calculates from the top edge of the screen. This
10
- * is why the bottom calculates differ slightly between modes.
7
+ * The default animations for both MD and iOS
8
+ * use translateY, which calculates from the
9
+ * top edge of the screen. This behavior impacts
10
+ * how we compute the offset when a toast has
11
+ * position='bottom' since we need to calculate from
12
+ * the bottom edge of the screen instead.
11
13
  *
12
14
  * @param position The value of the toast's position prop.
13
15
  * @param positionAnchor The element the toast should be anchored to,
@@ -27,7 +27,7 @@ import { PickerButton, PickerColumn } from "./components/picker/picker-interface
27
27
  import { PickerColumnItem } from "./components/picker-column-internal/picker-column-internal-interfaces";
28
28
  import { PickerInternalChangeEventDetail } from "./components/picker-internal/picker-internal-interfaces";
29
29
  import { PopoverSize, PositionAlign, PositionReference, PositionSide, TriggerAction } from "./components/popover/popover-interface";
30
- import { RadioGroupChangeEventDetail } from "./components/radio-group/radio-group-interface";
30
+ import { RadioGroupChangeEventDetail, RadioGroupCompareFn } from "./components/radio-group/radio-group-interface";
31
31
  import { PinFormatter, RangeChangeEventDetail, RangeKnobMoveEndEventDetail, RangeKnobMoveStartEventDetail, RangeValue } from "./components/range/range-interface";
32
32
  import { RefresherEventDetail } from "./components/refresher/refresher-interface";
33
33
  import { ItemReorderEventDetail } from "./components/reorder-group/reorder-group-interface";
@@ -63,7 +63,7 @@ export { PickerButton, PickerColumn } from "./components/picker/picker-interface
63
63
  export { PickerColumnItem } from "./components/picker-column-internal/picker-column-internal-interfaces";
64
64
  export { PickerInternalChangeEventDetail } from "./components/picker-internal/picker-internal-interfaces";
65
65
  export { PopoverSize, PositionAlign, PositionReference, PositionSide, TriggerAction } from "./components/popover/popover-interface";
66
- export { RadioGroupChangeEventDetail } from "./components/radio-group/radio-group-interface";
66
+ export { RadioGroupChangeEventDetail, RadioGroupCompareFn } from "./components/radio-group/radio-group-interface";
67
67
  export { PinFormatter, RangeChangeEventDetail, RangeKnobMoveEndEventDetail, RangeKnobMoveStartEventDetail, RangeValue } from "./components/range/range-interface";
68
68
  export { RefresherEventDetail } from "./components/refresher/refresher-interface";
69
69
  export { ItemReorderEventDetail } from "./components/reorder-group/reorder-group-interface";
@@ -2265,6 +2265,10 @@ export namespace Components {
2265
2265
  * If `true`, the radios can be deselected.
2266
2266
  */
2267
2267
  "allowEmptySelection": boolean;
2268
+ /**
2269
+ * This property allows developers to specify a custom function or property name for comparing objects when determining the selected option in the ion-radio-group. When not specified, the default behavior will use object equality (===) for comparison.
2270
+ */
2271
+ "compareWith"?: string | RadioGroupCompareFn | null;
2268
2272
  /**
2269
2273
  * The name of the control, which is submitted with the form data.
2270
2274
  */
@@ -2684,7 +2688,7 @@ export namespace Components {
2684
2688
  */
2685
2689
  "color"?: Color;
2686
2690
  /**
2687
- * A property name or function used to compare object values
2691
+ * This property allows developers to specify a custom function or property name for comparing objects when determining the selected option in the ion-select. When not specified, the default behavior will use object equality (===) for comparison.
2688
2692
  */
2689
2693
  "compareWith"?: string | SelectCompareFn | null;
2690
2694
  /**
@@ -3386,6 +3390,10 @@ export interface IonSelectCustomEvent<T> extends CustomEvent<T> {
3386
3390
  detail: T;
3387
3391
  target: HTMLIonSelectElement;
3388
3392
  }
3393
+ export interface IonSkeletonTextCustomEvent<T> extends CustomEvent<T> {
3394
+ detail: T;
3395
+ target: HTMLIonSkeletonTextElement;
3396
+ }
3389
3397
  export interface IonSplitPaneCustomEvent<T> extends CustomEvent<T> {
3390
3398
  detail: T;
3391
3399
  target: HTMLIonSplitPaneElement;
@@ -4400,7 +4408,18 @@ declare global {
4400
4408
  prototype: HTMLIonSelectPopoverElement;
4401
4409
  new (): HTMLIonSelectPopoverElement;
4402
4410
  };
4411
+ interface HTMLIonSkeletonTextElementEventMap {
4412
+ "ionStyle": StyleEventDetail;
4413
+ }
4403
4414
  interface HTMLIonSkeletonTextElement extends Components.IonSkeletonText, HTMLStencilElement {
4415
+ addEventListener<K extends keyof HTMLIonSkeletonTextElementEventMap>(type: K, listener: (this: HTMLIonSkeletonTextElement, ev: IonSkeletonTextCustomEvent<HTMLIonSkeletonTextElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
4416
+ addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
4417
+ addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
4418
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
4419
+ removeEventListener<K extends keyof HTMLIonSkeletonTextElementEventMap>(type: K, listener: (this: HTMLIonSkeletonTextElement, ev: IonSkeletonTextCustomEvent<HTMLIonSkeletonTextElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
4420
+ removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
4421
+ removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
4422
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
4404
4423
  }
4405
4424
  var HTMLIonSkeletonTextElement: {
4406
4425
  prototype: HTMLIonSkeletonTextElement;
@@ -6823,6 +6842,10 @@ declare namespace LocalJSX {
6823
6842
  * If `true`, the radios can be deselected.
6824
6843
  */
6825
6844
  "allowEmptySelection"?: boolean;
6845
+ /**
6846
+ * This property allows developers to specify a custom function or property name for comparing objects when determining the selected option in the ion-radio-group. When not specified, the default behavior will use object equality (===) for comparison.
6847
+ */
6848
+ "compareWith"?: string | RadioGroupCompareFn | null;
6826
6849
  /**
6827
6850
  * The name of the control, which is submitted with the form data.
6828
6851
  */
@@ -7280,7 +7303,7 @@ declare namespace LocalJSX {
7280
7303
  */
7281
7304
  "color"?: Color;
7282
7305
  /**
7283
- * A property name or function used to compare object values
7306
+ * This property allows developers to specify a custom function or property name for comparing objects when determining the selected option in the ion-select. When not specified, the default behavior will use object equality (===) for comparison.
7284
7307
  */
7285
7308
  "compareWith"?: string | SelectCompareFn | null;
7286
7309
  /**
@@ -32,6 +32,7 @@ export { TabsCustomEvent } from './components/tabs/tabs-interface';
32
32
  export { TextareaCustomEvent } from './components/textarea/textarea-interface';
33
33
  export { ToastOptions } from './components/toast/toast-interface';
34
34
  export { ToggleCustomEvent } from './components/toggle/toggle-interface';
35
+ export { BackButtonEvent, BackButtonEventDetail } from './utils/hardware-back-button';
35
36
 
36
37
  // Types from utils
37
38
  export {
@@ -140,17 +141,12 @@ export type ComponentRef = Function | HTMLElement | string | null;
140
141
  // eslint-disable-next-line
141
142
  export type ComponentProps<T = null> = { [key: string]: any };
142
143
  export type CssClassMap = { [className: string]: boolean };
143
- export type BackButtonEvent = CustomEvent<BackButtonEventDetail>;
144
144
 
145
145
  export interface FrameworkDelegate {
146
146
  attachViewToDom(container: any, component: any, propsOrDataObj?: any, cssClasses?: string[]): Promise<HTMLElement>;
147
147
  removeViewFromDom(container: any, component: any): Promise<void>;
148
148
  }
149
149
 
150
- export interface BackButtonEventDetail {
151
- register(priority: number, handler: (processNextHandler: () => void) => Promise<any> | void): void;
152
- }
153
-
154
150
  export interface KeyboardEventDetail {
155
151
  keyboardHeight: number;
156
152
  }
@@ -27,9 +27,9 @@ export interface Animation {
27
27
  progressStart(forceLinearEasing?: boolean, step?: number): Animation;
28
28
  progressStep(step: number): Animation;
29
29
  progressEnd(playTo: 0 | 1 | undefined, step: number, dur?: number): Animation;
30
- from(property: string, value: any): Animation;
31
- to(property: string, value: any): Animation;
32
- fromTo(property: string, fromValue: any, toValue: any): Animation;
30
+ from(property: string, value: string | number): Animation;
31
+ to(property: string, value: string | number): Animation;
32
+ fromTo(property: string, fromValue: string | number, toValue: string | number): Animation;
33
33
  /**
34
34
  * Set the keyframes for the animation.
35
35
  */
@@ -106,7 +106,7 @@ export interface Animation {
106
106
  * browsers that do not support
107
107
  * the Web Animations API.
108
108
  */
109
- getWebAnimations(): any[];
109
+ getWebAnimations(): globalThis.Animation[];
110
110
  /**
111
111
  * Add a function that performs a
112
112
  * DOM read to be run after the
@@ -1,3 +1,4 @@
1
+ import type { BackButtonEvent } from "../hardware-back-button";
1
2
  /**
2
3
  * When accessing the document or window, it is important
3
4
  * to account for SSR applications where the
@@ -26,14 +27,22 @@
26
27
  * on the window for certain CustomEvent types you can add that definition
27
28
  * here as long as you are using the "win" utility below.
28
29
  */
29
- type IonicWindow = Window & {
30
+ type IonicEvents = {
30
31
  addEventListener(type: 'ionKeyboardDidShow', listener: (ev: CustomEvent<{
31
32
  keyboardHeight: number;
32
33
  }>) => void, options?: boolean | AddEventListenerOptions): void;
33
34
  removeEventListener(type: 'ionKeyboardDidShow', listener: (ev: CustomEvent<{
34
35
  keyboardHeight: number;
35
36
  }>) => void, options?: boolean | AddEventListenerOptions): void;
37
+ addEventListener(type: 'ionInputDidLoad', listener: (ev: CustomEvent<HTMLIonInputElement | HTMLIonTextareaElement>) => void, options?: boolean | AddEventListenerOptions): void;
38
+ removeEventListener(type: 'ionInputDidLoad', listener: (ev: CustomEvent<HTMLIonInputElement | HTMLIonTextareaElement>) => void, options?: boolean | AddEventListenerOptions): void;
39
+ addEventListener(type: 'ionInputDidUnload', listener: (ev: CustomEvent<HTMLIonInputElement | HTMLIonTextareaElement>) => void, options?: boolean | AddEventListenerOptions): void;
40
+ removeEventListener(type: 'ionInputDidUnload', listener: (ev: CustomEvent<HTMLIonInputElement | HTMLIonTextareaElement>) => void, options?: boolean | AddEventListenerOptions): void;
41
+ addEventListener(type: 'ionBackButton', listener: (ev: BackButtonEvent) => void, options?: boolean | AddEventListenerOptions): void;
42
+ removeEventListener(type: 'ionBackButton', listener: (ev: BackButtonEvent) => void, options?: boolean | AddEventListenerOptions): void;
36
43
  };
44
+ type IonicWindow = Window & IonicEvents;
45
+ type IonicDocument = Document & IonicEvents;
37
46
  export declare const win: IonicWindow | undefined;
38
- export declare const doc: Document | undefined;
47
+ export declare const doc: IonicDocument | undefined;
39
48
  export {};