voyager-ionic-core 7.2.3-tweak.1 → 7.4.3

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 (1182) hide show
  1. package/components/action-sheet.js +12 -17
  2. package/components/alert.js +17 -20
  3. package/components/button-active.js +1 -1
  4. package/components/button.js +18 -0
  5. package/components/checkbox.js +15 -7
  6. package/components/data.js +47 -9
  7. package/components/framework-delegate.js +21 -2
  8. package/components/icon.js +6 -0
  9. package/components/index.d.ts +6 -0
  10. package/components/index.js +3 -3
  11. package/components/index2.js +203 -429
  12. package/components/index3.js +429 -203
  13. package/components/input-shims.js +88 -7
  14. package/components/ion-accordion-group.js +5 -1
  15. package/components/ion-accordion.js +2 -0
  16. package/components/ion-breadcrumbs.js +5 -1
  17. package/components/ion-content.js +51 -5
  18. package/components/ion-datetime-button.js +3 -0
  19. package/components/ion-datetime.js +142 -92
  20. package/components/ion-fab-list.js +3 -1
  21. package/components/ion-fab.js +3 -1
  22. package/components/ion-header.js +1 -1
  23. package/components/ion-img.js +2 -0
  24. package/components/ion-infinite-scroll.js +3 -0
  25. package/components/ion-input.js +6 -1
  26. package/components/ion-item-sliding.js +3 -1
  27. package/components/ion-loading.js +11 -16
  28. package/components/ion-menu.js +25 -7
  29. package/components/ion-modal.js +46 -42
  30. package/components/ion-nav.js +5 -2
  31. package/components/ion-picker.js +11 -16
  32. package/components/ion-range.js +41 -6
  33. package/components/ion-refresher.js +5 -3
  34. package/components/ion-reorder-group.js +3 -1
  35. package/components/ion-route-redirect.js +3 -0
  36. package/components/ion-route.js +4 -0
  37. package/components/ion-router-outlet.js +8 -13
  38. package/components/ion-searchbar.js +4 -0
  39. package/components/ion-segment-button.js +2 -0
  40. package/components/ion-segment.js +42 -25
  41. package/components/ion-select.js +5 -0
  42. package/components/ion-split-pane.js +4 -0
  43. package/components/ion-tab-bar.js +6 -0
  44. package/components/ion-tab.js +2 -0
  45. package/components/ion-textarea.js +8 -4
  46. package/components/ion-title.js +3 -1
  47. package/components/ion-toast.js +15 -17
  48. package/components/ion-toggle.js +9 -4
  49. package/components/ion-toolbar.js +2 -2
  50. package/components/ios.transition.js +1 -1
  51. package/components/item.js +48 -10
  52. package/components/label.js +5 -2
  53. package/components/lock-controller.js +38 -0
  54. package/components/md.transition.js +1 -1
  55. package/components/notch-controller.js +1 -1
  56. package/components/overlays.js +30 -10
  57. package/components/picker-column-internal.js +2 -0
  58. package/components/picker-column.js +3 -1
  59. package/components/popover.js +20 -30
  60. package/components/radio-group.js +3 -1
  61. package/components/radio.js +11 -3
  62. package/components/swipe-back.js +1 -1
  63. package/css/core.css +0 -1
  64. package/css/core.css.map +1 -1
  65. package/css/ionic.bundle.css +1 -1
  66. package/css/ionic.bundle.css.map +1 -1
  67. package/dist/cjs/{animation-c68ec4cb.js → animation-2bb33618.js} +2 -2
  68. package/dist/cjs/{app-globals-3ba8ddad.js → app-globals-84b6a756.js} +1 -1
  69. package/dist/cjs/{button-active-7578c6c2.js → button-active-c358e83c.js} +3 -3
  70. package/dist/cjs/{capacitor-a77e977e.js → capacitor-2ffba62a.js} +1 -1
  71. package/dist/cjs/{data-3a7f5c1a.js → data-db832785.js} +48 -10
  72. package/dist/cjs/{form-controller-d42b8c05.js → form-controller-5e223b54.js} +1 -1
  73. package/dist/cjs/{framework-delegate-d2bbe945.js → framework-delegate-c0873a6f.js} +22 -3
  74. package/dist/cjs/{haptic-89b33156.js → haptic-c5f6b4d5.js} +1 -1
  75. package/dist/cjs/{index-def9efb5.js → index-0ee995e4.js} +1 -1
  76. package/dist/cjs/{index-dc56ac38.js → index-10873539.js} +2 -2
  77. package/dist/cjs/{index-b358eb23.js → index-14a4821e.js} +188 -45
  78. package/dist/cjs/{index-1901dd17.js → index-97a3eade.js} +4 -4
  79. package/dist/cjs/{index-404c1016.js → index-9f379eaa.js} +2 -2
  80. package/dist/cjs/{index-4e642409.js → index-acf6bdf0.js} +4 -4
  81. package/dist/cjs/index.cjs.js +24 -23
  82. package/dist/cjs/{input-shims-9b42b3fe.js → input-shims-da7dc0de.js} +96 -16
  83. package/dist/cjs/{input.utils-7e077818.js → input.utils-0fe3097c.js} +3 -3
  84. package/dist/cjs/ion-accordion_2.cjs.entry.js +5 -5
  85. package/dist/cjs/ion-action-sheet.cjs.entry.js +24 -32
  86. package/dist/cjs/ion-alert.cjs.entry.js +27 -35
  87. package/dist/cjs/ion-app_8.cjs.entry.js +79 -40
  88. package/dist/cjs/ion-avatar_3.cjs.entry.js +3 -3
  89. package/dist/cjs/ion-back-button.cjs.entry.js +5 -5
  90. package/dist/cjs/ion-backdrop.cjs.entry.js +3 -3
  91. package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +5 -5
  92. package/dist/cjs/ion-button_2.cjs.entry.js +21 -5
  93. package/dist/cjs/ion-card_5.cjs.entry.js +4 -4
  94. package/dist/cjs/ion-checkbox.cjs.entry.js +17 -13
  95. package/dist/cjs/ion-chip.cjs.entry.js +3 -3
  96. package/dist/cjs/ion-col_3.cjs.entry.js +2 -2
  97. package/dist/cjs/ion-datetime-button.cjs.entry.js +9 -6
  98. package/dist/cjs/ion-datetime_3.cjs.entry.js +156 -125
  99. package/dist/cjs/ion-fab_3.cjs.entry.js +7 -7
  100. package/dist/cjs/ion-img.cjs.entry.js +3 -3
  101. package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +6 -6
  102. package/dist/cjs/ion-input.cjs.entry.js +11 -11
  103. package/dist/cjs/ion-item-option_3.cjs.entry.js +8 -8
  104. package/dist/cjs/ion-item_8.cjs.entry.js +43 -16
  105. package/dist/cjs/ion-loading.cjs.entry.js +19 -27
  106. package/dist/cjs/ion-menu_3.cjs.entry.js +32 -19
  107. package/dist/cjs/ion-modal.cjs.entry.js +59 -58
  108. package/dist/cjs/ion-nav_2.cjs.entry.js +8 -8
  109. package/dist/cjs/ion-picker-column-internal.cjs.entry.js +7 -7
  110. package/dist/cjs/ion-picker-internal.cjs.entry.js +2 -2
  111. package/dist/cjs/ion-popover.cjs.entry.js +26 -40
  112. package/dist/cjs/ion-progress-bar.cjs.entry.js +4 -4
  113. package/dist/cjs/ion-radio_2.cjs.entry.js +11 -9
  114. package/dist/cjs/ion-range.cjs.entry.js +42 -14
  115. package/dist/cjs/ion-refresher_2.cjs.entry.js +16 -16
  116. package/dist/cjs/ion-reorder_2.cjs.entry.js +10 -10
  117. package/dist/cjs/ion-ripple-effect.cjs.entry.js +2 -2
  118. package/dist/cjs/ion-route_4.cjs.entry.js +4 -4
  119. package/dist/cjs/ion-searchbar.cjs.entry.js +6 -6
  120. package/dist/cjs/ion-segment_2.cjs.entry.js +40 -29
  121. package/dist/cjs/ion-select_3.cjs.entry.js +14 -14
  122. package/dist/cjs/ion-spinner.cjs.entry.js +4 -4
  123. package/dist/cjs/ion-split-pane.cjs.entry.js +2 -2
  124. package/dist/cjs/ion-tab-bar_2.cjs.entry.js +12 -8
  125. package/dist/cjs/ion-tab_2.cjs.entry.js +3 -3
  126. package/dist/cjs/ion-text.cjs.entry.js +3 -3
  127. package/dist/cjs/ion-textarea.cjs.entry.js +12 -12
  128. package/dist/cjs/ion-toast.cjs.entry.js +23 -28
  129. package/dist/cjs/ion-toggle.cjs.entry.js +17 -15
  130. package/dist/cjs/{ionic-global-5e671da5.js → ionic-global-a71608df.js} +1 -1
  131. package/dist/cjs/ionic.cjs.js +5 -8
  132. package/dist/cjs/{ios.transition-0b0d2e7f.js → ios.transition-e31445c2.js} +5 -5
  133. package/dist/cjs/{keyboard-2eabd73b.js → keyboard-38f2bb7b.js} +3 -3
  134. package/dist/cjs/{keyboard-controller-4aa8c1d6.js → keyboard-controller-50beb83a.js} +2 -2
  135. package/dist/cjs/{keyboard-f35d0b9d.js → keyboard-fd7db491.js} +1 -1
  136. package/dist/cjs/loader.cjs.js +5 -14
  137. package/dist/cjs/lock-controller-4ae2eb59.js +40 -0
  138. package/dist/cjs/{md.transition-481e9b5f.js → md.transition-fb13ac79.js} +5 -5
  139. package/dist/cjs/{notch-controller-159c65d4.js → notch-controller-f4f6af5d.js} +3 -3
  140. package/dist/cjs/{overlays-d17b3668.js → overlays-efc9d511.js} +36 -16
  141. package/dist/cjs/{status-tap-6061aa3f.js → status-tap-8c22e017.js} +4 -4
  142. package/dist/cjs/{swipe-back-7e99fa89.js → swipe-back-d97c74d1.js} +4 -4
  143. package/dist/collection/collection-manifest.json +94 -94
  144. package/dist/collection/components/accordion/accordion.js +4 -4
  145. package/dist/collection/components/accordion/test/a11y/accordion.e2e.js +1 -1
  146. package/dist/collection/components/accordion/test/accordion.e2e.js +1 -1
  147. package/dist/collection/components/accordion/test/basic/accordion.e2e.js +1 -1
  148. package/dist/collection/components/accordion/test/multiple/accordion.e2e.js +1 -1
  149. package/dist/collection/components/accordion/test/nested/accordion.e2e.js +1 -1
  150. package/dist/collection/components/accordion/test/standalone/accordion.e2e.js +2 -2
  151. package/dist/collection/components/accordion-group/accordion-group.js +12 -7
  152. package/dist/collection/components/action-sheet/action-sheet.js +47 -39
  153. package/dist/collection/components/action-sheet/test/a11y/action-sheet.e2e.js +19 -4
  154. package/dist/collection/components/action-sheet/test/basic/action-sheet-rendering.e2e.js +1 -1
  155. package/dist/collection/components/action-sheet/test/basic/action-sheet.e2e.js +2 -2
  156. package/dist/collection/components/action-sheet/test/basic/fixture.js +1 -1
  157. package/dist/collection/components/action-sheet/test/is-open/action-sheet.e2e.js +1 -1
  158. package/dist/collection/components/action-sheet/test/translucent/action-sheet.e2e.js +1 -1
  159. package/dist/collection/components/action-sheet/test/trigger/action-sheet.e2e.js +1 -1
  160. package/dist/collection/components/alert/alert.ios.css +3 -8
  161. package/dist/collection/components/alert/alert.js +52 -42
  162. package/dist/collection/components/alert/alert.md.css +3 -9
  163. package/dist/collection/components/alert/test/a11y/alert.e2e.js +11 -2
  164. package/dist/collection/components/alert/test/basic/alert.e2e.js +1 -1
  165. package/dist/collection/components/alert/test/is-open/alert.e2e.js +1 -1
  166. package/dist/collection/components/alert/test/standalone/alert.e2e.js +1 -1
  167. package/dist/collection/components/alert/test/trigger/alert.e2e.js +1 -1
  168. package/dist/collection/components/app/app.js +7 -5
  169. package/dist/collection/components/app/test/safe-area/app.e2e.js +1 -1
  170. package/dist/collection/components/avatar/avatar.js +2 -2
  171. package/dist/collection/components/avatar/test/basic/avatar.e2e.js +1 -1
  172. package/dist/collection/components/back-button/back-button.js +8 -6
  173. package/dist/collection/components/back-button/test/basic/back-button.e2e.js +1 -1
  174. package/dist/collection/components/back-button/test/toolbar/back-button.e2e.js +1 -1
  175. package/dist/collection/components/backdrop/backdrop.js +2 -2
  176. package/dist/collection/components/badge/badge.js +4 -3
  177. package/dist/collection/components/badge/test/basic/badge.e2e.js +1 -1
  178. package/dist/collection/components/breadcrumb/breadcrumb.js +11 -7
  179. package/dist/collection/components/breadcrumbs/breadcrumbs.js +6 -4
  180. package/dist/collection/components/breadcrumbs/test/a11y/breadcrumbs.e2e.js +2 -2
  181. package/dist/collection/components/breadcrumbs/test/basic/breadcrumbs.e2e.js +1 -1
  182. package/dist/collection/components/breadcrumbs/test/collapsed/breadcrumbs.e2e.js +1 -1
  183. package/dist/collection/components/breadcrumbs/test/reactive/breadcrumbs.e2e.js +1 -1
  184. package/dist/collection/components/button/button.js +26 -6
  185. package/dist/collection/components/button/test/basic/button.e2e.js +1 -1
  186. package/dist/collection/components/button/test/clear/button.e2e.js +1 -1
  187. package/dist/collection/components/button/test/expand/button.e2e.js +1 -1
  188. package/dist/collection/components/button/test/form-reference/button.e2e.js +1 -1
  189. package/dist/collection/components/button/test/icon/button.e2e.js +1 -1
  190. package/dist/collection/components/button/test/outline/button.e2e.js +1 -1
  191. package/dist/collection/components/button/test/round/button.e2e.js +1 -1
  192. package/dist/collection/components/button/test/size/button.e2e.js +1 -1
  193. package/dist/collection/components/button/test/strong/button.e2e.js +1 -1
  194. package/dist/collection/components/button/test/wrap/button.e2e.js +1 -1
  195. package/dist/collection/components/buttons/buttons.js +2 -2
  196. package/dist/collection/components/card/card.js +8 -5
  197. package/dist/collection/components/card/test/basic/card.e2e.js +1 -1
  198. package/dist/collection/components/card-content/card-content.js +2 -2
  199. package/dist/collection/components/card-header/card-header.js +4 -3
  200. package/dist/collection/components/card-header/test/basic/card-header.e2e.js +1 -1
  201. package/dist/collection/components/card-subtitle/card-subtitle.js +4 -3
  202. package/dist/collection/components/card-title/card-title.js +4 -3
  203. package/dist/collection/components/checkbox/checkbox.ios.css +67 -0
  204. package/dist/collection/components/checkbox/checkbox.js +38 -13
  205. package/dist/collection/components/checkbox/checkbox.md.css +67 -0
  206. package/dist/collection/components/checkbox/test/a11y/checkbox.e2e.js +2 -2
  207. package/dist/collection/components/checkbox/test/basic/checkbox.e2e.js +18 -1
  208. package/dist/collection/components/checkbox/test/color/checkbox.e2e.js +3 -3
  209. package/dist/collection/components/checkbox/test/indeterminate/checkbox.e2e.js +1 -1
  210. package/dist/collection/components/checkbox/test/item/checkbox.e2e.js +18 -5
  211. package/dist/collection/components/checkbox/test/label/checkbox.e2e.js +38 -11
  212. package/dist/collection/components/checkbox/test/legacy/basic/checkbox.e2e.js +19 -2
  213. package/dist/collection/components/checkbox/test/legacy/indeterminate/checkbox.e2e.js +2 -2
  214. package/dist/collection/components/checkbox/test/states/checkbox.e2e.js +5 -5
  215. package/dist/collection/components/chip/chip.js +4 -3
  216. package/dist/collection/components/chip/test/basic/chip.e2e.js +1 -1
  217. package/dist/collection/components/chip/test/states/chip.e2e.js +1 -1
  218. package/dist/collection/components/col/col.js +2 -2
  219. package/dist/collection/components/content/content.js +76 -24
  220. package/dist/collection/components/content/test/basic/content.e2e.js +1 -1
  221. package/dist/collection/components/content/test/fixed/content.e2e.js +1 -1
  222. package/dist/collection/components/content/test/fullscreen/content.e2e.js +1 -1
  223. package/dist/collection/components/content/test/standalone/content.e2e.js +1 -1
  224. package/dist/collection/components/datetime/datetime.ios.css +32 -29
  225. package/dist/collection/components/datetime/datetime.js +169 -114
  226. package/dist/collection/components/datetime/datetime.md.css +20 -28
  227. package/dist/collection/components/datetime/test/basic/datetime.e2e.js +26 -1
  228. package/dist/collection/components/datetime/test/color/datetime.e2e.js +2 -2
  229. package/dist/collection/components/datetime/test/custom/datetime.e2e.js +28 -9
  230. package/dist/collection/components/datetime/test/datetime.e2e.js +1 -1
  231. package/dist/collection/components/datetime/test/disable-dates/datetime.e2e.js +1 -1
  232. package/dist/collection/components/datetime/test/display/datetime.e2e.js +1 -1
  233. package/dist/collection/components/datetime/test/first-day-of-week/datetime.e2e.js +1 -1
  234. package/dist/collection/components/datetime/test/highlighted-dates/datetime.e2e.js +1 -1
  235. package/dist/collection/components/datetime/test/hour-cycle/datetime.e2e.js +1 -1
  236. package/dist/collection/components/datetime/test/locale/datetime.e2e.js +1 -1
  237. package/dist/collection/components/datetime/test/minmax/datetime.e2e.js +1 -1
  238. package/dist/collection/components/datetime/test/month-year-picker/datetime.e2e.js +1 -1
  239. package/dist/collection/components/datetime/test/multiple/datetime.e2e.js +1 -1
  240. package/dist/collection/components/datetime/test/position/datetime.e2e.js +1 -1
  241. package/dist/collection/components/datetime/test/prefer-wheel/datetime.e2e.js +16 -1
  242. package/dist/collection/components/datetime/test/presentation/datetime.e2e.js +49 -18
  243. package/dist/collection/components/datetime/test/set-value/datetime.e2e.js +10 -13
  244. package/dist/collection/components/datetime/test/time-label/datetime.e2e.js +1 -1
  245. package/dist/collection/components/datetime/test/values/datetime.e2e.js +1 -1
  246. package/dist/collection/components/datetime/utils/data.js +18 -10
  247. package/dist/collection/components/datetime/utils/format.js +1 -1
  248. package/dist/collection/components/datetime/utils/manipulation.js +3 -3
  249. package/dist/collection/components/datetime/utils/parse.js +36 -5
  250. package/dist/collection/components/datetime/utils/state.js +3 -3
  251. package/dist/collection/components/datetime-button/datetime-button.js +11 -7
  252. package/dist/collection/components/datetime-button/test/basic/datetime-button.e2e.js +1 -1
  253. package/dist/collection/components/datetime-button/test/disabled/datetime-button.e2e.js +1 -1
  254. package/dist/collection/components/datetime-button/test/multiple/datetime-button.e2e.js +1 -1
  255. package/dist/collection/components/datetime-button/test/overlays/datetime-button.e2e.js +1 -1
  256. package/dist/collection/components/fab/fab.css +88 -28
  257. package/dist/collection/components/fab/fab.js +6 -4
  258. package/dist/collection/components/fab/test/basic/fab.e2e.js +1 -1
  259. package/dist/collection/components/fab/test/custom-size/fab.e2e.js +17 -0
  260. package/dist/collection/components/fab/test/states/fab.e2e.js +1 -1
  261. package/dist/collection/components/fab/test/translucent/fab.e2e.js +1 -1
  262. package/dist/collection/components/fab-button/fab-button.js +9 -6
  263. package/dist/collection/components/fab-button/test/a11y/fab-button.e2e.js +1 -1
  264. package/dist/collection/components/fab-list/fab-list.css +17 -10
  265. package/dist/collection/components/fab-list/fab-list.js +2 -2
  266. package/dist/collection/components/footer/footer.js +3 -3
  267. package/dist/collection/components/footer/footer.utils.js +1 -1
  268. package/dist/collection/components/footer/test/basic/footer.e2e.js +1 -1
  269. package/dist/collection/components/footer/test/fade/footer.e2e.js +1 -1
  270. package/dist/collection/components/footer/test/scroll-target/footer.e2e.js +1 -1
  271. package/dist/collection/components/footer/test/with-tabs/footer.e2e.js +1 -1
  272. package/dist/collection/components/grid/grid.js +2 -2
  273. package/dist/collection/components/grid/test/basic/grid.e2e.js +1 -1
  274. package/dist/collection/components/grid/test/offsets/grid.e2e.js +1 -1
  275. package/dist/collection/components/grid/test/padding/grid.e2e.js +1 -1
  276. package/dist/collection/components/grid/test/sizes/grid.e2e.js +1 -1
  277. package/dist/collection/components/header/header.ios.css +26 -1
  278. package/dist/collection/components/header/header.js +3 -3
  279. package/dist/collection/components/header/header.utils.js +1 -1
  280. package/dist/collection/components/header/test/a11y/header.e2e.js +2 -2
  281. package/dist/collection/components/header/test/basic/header.e2e.js +1 -1
  282. package/dist/collection/components/header/test/condense/header.e2e.js +1 -1
  283. package/dist/collection/components/header/test/fade/header.e2e.js +1 -1
  284. package/dist/collection/components/header/test/scroll-target/header.e2e.js +1 -1
  285. package/dist/collection/components/icon/test/basic/icon.e2e.js +1 -1
  286. package/dist/collection/components/icon/test/dir/icon.e2e.js +1 -1
  287. package/dist/collection/components/img/img.js +2 -2
  288. package/dist/collection/components/img/test/basic/img.e2e.js +1 -1
  289. package/dist/collection/components/img/test/draggable/img.e2e.js +1 -1
  290. package/dist/collection/components/infinite-scroll/infinite-scroll.js +4 -3
  291. package/dist/collection/components/infinite-scroll/test/basic/infinite-scroll.e2e.js +1 -1
  292. package/dist/collection/components/infinite-scroll/test/scroll-target/infinite-scroll.e2e.js +1 -1
  293. package/dist/collection/components/infinite-scroll/test/top/infinite-scroll.e2e.js +1 -1
  294. package/dist/collection/components/infinite-scroll-content/infinite-scroll-content.js +7 -5
  295. package/dist/collection/components/input/input.js +27 -16
  296. package/dist/collection/components/input/test/a11y/input.e2e.js +2 -2
  297. package/dist/collection/components/input/test/basic/input.e2e.js +1 -1
  298. package/dist/collection/components/input/test/bottom-content/input.e2e.js +8 -8
  299. package/dist/collection/components/input/test/card/input.e2e.js +2 -2
  300. package/dist/collection/components/input/test/clear-on-edit/input.e2e.js +33 -0
  301. package/dist/collection/components/input/test/color/input.e2e.js +16 -16
  302. package/dist/collection/components/input/test/fill/input.e2e.js +11 -11
  303. package/dist/collection/components/input/test/highlight/input.e2e.js +10 -10
  304. package/dist/collection/components/input/test/input.e2e.js +1 -1
  305. package/dist/collection/components/input/test/item/input.e2e.js +3 -3
  306. package/dist/collection/components/input/test/label-placement/input.e2e.js +17 -17
  307. package/dist/collection/components/input/test/legacy/a11y/input.e2e.js +1 -1
  308. package/dist/collection/components/input/test/legacy/basic/input.e2e.js +11 -11
  309. package/dist/collection/components/input/test/legacy/clear-on-edit/input.e2e.js +1 -1
  310. package/dist/collection/components/input/test/legacy/input-events.e2e.js +1 -1
  311. package/dist/collection/components/input/test/legacy/masking/input.e2e.js +1 -1
  312. package/dist/collection/components/input/test/legacy/spec/input.e2e.js +1 -1
  313. package/dist/collection/components/input/test/states/input.e2e.js +3 -3
  314. package/dist/collection/components/item/item.ios.css +8 -4
  315. package/dist/collection/components/item/item.js +57 -14
  316. package/dist/collection/components/item/item.md.css +8 -4
  317. package/dist/collection/components/item/test/a11y/item.e2e.js +2 -2
  318. package/dist/collection/components/item/test/alignment/item.e2e.js +1 -1
  319. package/dist/collection/components/item/test/basic/item.e2e.js +1 -1
  320. package/dist/collection/components/item/test/buttons/item.e2e.js +1 -1
  321. package/dist/collection/components/item/test/colors/item.e2e.js +1 -1
  322. package/dist/collection/components/item/test/counter/item.e2e.js +1 -1
  323. package/dist/collection/components/item/test/css-variables/item.e2e.js +1 -1
  324. package/dist/collection/components/item/test/disabled/item.e2e.js +1 -1
  325. package/dist/collection/components/item/test/dividers/item.e2e.js +1 -1
  326. package/dist/collection/components/item/test/groups/item.e2e.js +1 -1
  327. package/dist/collection/components/item/test/highlight/item.e2e.js +1 -1
  328. package/dist/collection/components/item/test/icons/item.e2e.js +1 -1
  329. package/dist/collection/components/item/test/images/item.e2e.js +1 -1
  330. package/dist/collection/components/item/test/inputs/item.e2e.js +1 -1
  331. package/dist/collection/components/item/test/legacy/alignment/item.e2e.js +1 -1
  332. package/dist/collection/components/item/test/legacy/disabled/item.e2e.js +1 -1
  333. package/dist/collection/components/item/test/legacy/fill/item.e2e.js +1 -1
  334. package/dist/collection/components/item/test/legacy/form/item.e2e.js +1 -1
  335. package/dist/collection/components/item/test/lines/item.e2e.js +1 -1
  336. package/dist/collection/components/item/test/media/item.e2e.js +1 -1
  337. package/dist/collection/components/item/test/reorder/item.e2e.js +1 -1
  338. package/dist/collection/components/item/test/slotted-inputs/item.e2e.js +1 -1
  339. package/dist/collection/components/item/test/states/item.e2e.js +1 -1
  340. package/dist/collection/components/item/test/text/item.e2e.js +1 -1
  341. package/dist/collection/components/item-divider/item-divider.js +4 -3
  342. package/dist/collection/components/item-divider/test/basic/item-divider.e2e.js +1 -1
  343. package/dist/collection/components/item-divider/test/spec/item-divider.e2e.js +1 -1
  344. package/dist/collection/components/item-group/item-group.js +2 -2
  345. package/dist/collection/components/item-option/item-option.js +4 -3
  346. package/dist/collection/components/item-options/item-options.js +6 -4
  347. package/dist/collection/components/item-sliding/item-sliding.js +14 -8
  348. package/dist/collection/components/item-sliding/test/async/item-sliding.e2e.js +1 -1
  349. package/dist/collection/components/item-sliding/test/basic/item-sliding.e2e.js +39 -13
  350. package/dist/collection/components/item-sliding/test/icons/item-sliding.e2e.js +22 -7
  351. package/dist/collection/components/item-sliding/test/scroll-target/item-sliding.e2e.js +4 -10
  352. package/dist/collection/components/item-sliding/test/test.utils.js +9 -1
  353. package/dist/collection/components/label/label.ios.css +2 -4
  354. package/dist/collection/components/label/label.js +8 -5
  355. package/dist/collection/components/label/label.md.css +2 -4
  356. package/dist/collection/components/label/test/basic/label.e2e.js +1 -1
  357. package/dist/collection/components/label/test/color/label.e2e.js +1 -1
  358. package/dist/collection/components/label/test/headings/label.e2e.js +1 -1
  359. package/dist/collection/components/list/list.js +4 -3
  360. package/dist/collection/components/list/test/a11y/list.e2e.js +2 -2
  361. package/dist/collection/components/list/test/basic/list.e2e.js +1 -1
  362. package/dist/collection/components/list/test/inset/list.e2e.js +1 -1
  363. package/dist/collection/components/list/test/lines/list.e2e.js +1 -1
  364. package/dist/collection/components/list-header/list-header.js +4 -3
  365. package/dist/collection/components/list-header/test/basic/list-header.e2e.js +1 -1
  366. package/dist/collection/components/loading/loading.js +49 -40
  367. package/dist/collection/components/loading/test/a11y/loading.e2e.js +2 -2
  368. package/dist/collection/components/loading/test/basic/loading.e2e.js +1 -1
  369. package/dist/collection/components/loading/test/is-open/loading.e2e.js +1 -1
  370. package/dist/collection/components/loading/test/standalone/loading.e2e.js +1 -1
  371. package/dist/collection/components/loading/test/trigger/loading.e2e.js +1 -1
  372. package/dist/collection/components/menu/menu.ios.css +102 -0
  373. package/dist/collection/components/menu/menu.js +35 -14
  374. package/dist/collection/components/menu/menu.md.css +102 -0
  375. package/dist/collection/components/menu/test/a11y/menu.e2e.js +2 -2
  376. package/dist/collection/components/menu/test/basic/menu.e2e.js +1 -1
  377. package/dist/collection/components/menu/test/focus-trap/menu.e2e.js +1 -1
  378. package/dist/collection/components/menu/test/safe-area/menu.e2e.js +87 -0
  379. package/dist/collection/components/menu-button/menu-button.js +7 -6
  380. package/dist/collection/components/menu-button/test/a11y/menu-button.e2e.js +2 -2
  381. package/dist/collection/components/menu-button/test/async/menu-button.e2e.js +23 -0
  382. package/dist/collection/components/menu-button/test/basic/menu-button.e2e.js +1 -1
  383. package/dist/collection/components/menu-toggle/menu-toggle.js +3 -3
  384. package/dist/collection/components/menu-toggle/test/basic/menu-toggle.e2e.js +1 -1
  385. package/dist/collection/components/modal/animations/ios.enter.js +2 -2
  386. package/dist/collection/components/modal/animations/ios.leave.js +2 -2
  387. package/dist/collection/components/modal/animations/md.enter.js +1 -1
  388. package/dist/collection/components/modal/animations/md.leave.js +1 -1
  389. package/dist/collection/components/modal/animations/sheet.js +1 -1
  390. package/dist/collection/components/modal/gestures/sheet.js +2 -2
  391. package/dist/collection/components/modal/gestures/swipe-to-close.js +2 -2
  392. package/dist/collection/components/modal/modal.js +102 -76
  393. package/dist/collection/components/modal/test/a11y/modal.e2e.js +2 -2
  394. package/dist/collection/components/modal/test/basic/modal.e2e.js +1 -1
  395. package/dist/collection/components/modal/test/can-dismiss/modal-card.e2e.js +1 -1
  396. package/dist/collection/components/modal/test/can-dismiss/modal-sheet.e2e.js +2 -2
  397. package/dist/collection/components/modal/test/can-dismiss/modal.e2e.js +1 -1
  398. package/dist/collection/components/modal/test/card/modal-card.e2e.js +2 -2
  399. package/dist/collection/components/modal/test/card/modal-tablet.e2e.js +6 -6
  400. package/dist/collection/components/modal/test/card-nav/modal.e2e.js +5 -6
  401. package/dist/collection/components/modal/test/card-refresher/modal.e2e.js +2 -2
  402. package/dist/collection/components/modal/test/card-scroll-target/modal.e2e.js +2 -2
  403. package/dist/collection/components/modal/test/custom/modal.e2e.js +1 -1
  404. package/dist/collection/components/modal/test/custom-dialog/modal.e2e.js +1 -1
  405. package/dist/collection/components/modal/test/dark-mode/model.e2e.js +1 -1
  406. package/dist/collection/components/modal/test/fixtures.js +1 -1
  407. package/dist/collection/components/modal/test/inline/modal.e2e.js +1 -1
  408. package/dist/collection/components/modal/test/is-open/modal.e2e.js +1 -1
  409. package/dist/collection/components/modal/test/sheet/modal.e2e.js +2 -2
  410. package/dist/collection/components/modal/test/trigger/modal.e2e.js +1 -1
  411. package/dist/collection/components/modal/utils.spec.js +1 -1
  412. package/dist/collection/components/nav/nav.css +0 -1
  413. package/dist/collection/components/nav/nav.js +129 -67
  414. package/dist/collection/components/nav/test/basic/nav.e2e.js +1 -1
  415. package/dist/collection/components/nav/test/modal-navigation/nav.e2e.js +1 -1
  416. package/dist/collection/components/nav/test/nested/nav.e2e.js +1 -1
  417. package/dist/collection/components/nav/test/routing/nav.e2e.js +1 -1
  418. package/dist/collection/components/nav-link/nav-link.js +10 -6
  419. package/dist/collection/components/note/note.js +4 -3
  420. package/dist/collection/components/note/test/basic/note.e2e.js +1 -1
  421. package/dist/collection/components/picker/picker.js +50 -39
  422. package/dist/collection/components/picker/test/basic/picker.e2e.js +1 -1
  423. package/dist/collection/components/picker/test/is-open/picker.e2e.js +1 -1
  424. package/dist/collection/components/picker/test/trigger/picker.e2e.js +1 -1
  425. package/dist/collection/components/picker-column/picker-column.js +6 -4
  426. package/dist/collection/components/picker-column/test/standalone/picker-column.e2e.js +1 -1
  427. package/dist/collection/components/picker-column/test/test.utils.js +2 -2
  428. package/dist/collection/components/picker-column-internal/picker-column-internal.js +12 -7
  429. package/dist/collection/components/picker-column-internal/test/basic/picker-column-internal.e2e.js +1 -1
  430. package/dist/collection/components/picker-column-internal/test/disabled/picker-column-internal.e2e.js +1 -1
  431. package/dist/collection/components/picker-internal/picker-internal.js +5 -3
  432. package/dist/collection/components/picker-internal/test/a11y/picker-internal.e2e.js +2 -2
  433. package/dist/collection/components/picker-internal/test/basic/picker-internal.e2e.js +1 -1
  434. package/dist/collection/components/picker-internal/test/keyboard-entry/picker-internal.e2e.js +1 -1
  435. package/dist/collection/components/popover/animations/ios.enter.js +1 -1
  436. package/dist/collection/components/popover/animations/md.enter.js +1 -1
  437. package/dist/collection/components/popover/popover.js +84 -67
  438. package/dist/collection/components/popover/test/adjustment/popover.e2e.js +1 -1
  439. package/dist/collection/components/popover/test/arrow/popover.e2e.js +2 -2
  440. package/dist/collection/components/popover/test/async/popover.e2e.js +42 -0
  441. package/dist/collection/components/popover/test/basic/popover.e2e.js +2 -2
  442. package/dist/collection/components/popover/test/dismiss-on-select/popover.e2e.js +2 -2
  443. package/dist/collection/components/popover/test/fixture.js +1 -1
  444. package/dist/collection/components/popover/test/inline/popover.e2e.js +2 -2
  445. package/dist/collection/components/popover/test/is-open/popover.e2e.js +1 -1
  446. package/dist/collection/components/popover/test/nested/popover.e2e.js +1 -1
  447. package/dist/collection/components/popover/test/position/popover.e2e.js +2 -2
  448. package/dist/collection/components/popover/test/reference/popover.e2e.js +1 -1
  449. package/dist/collection/components/popover/test/size/popover.e2e.js +2 -2
  450. package/dist/collection/components/popover/test/standalone/popover.e2e.js +1 -1
  451. package/dist/collection/components/popover/test/test.utils.js +1 -1
  452. package/dist/collection/components/popover/test/trigger/popover.e2e.js +2 -2
  453. package/dist/collection/components/progress-bar/progress-bar.js +5 -4
  454. package/dist/collection/components/progress-bar/test/basic/progress-bar.e2e.js +1 -1
  455. package/dist/collection/components/progress-bar/test/buffer/progress-bar.e2e.js +20 -0
  456. package/dist/collection/components/progress-bar/test/determinate/progress-bar.e2e.js +20 -0
  457. package/dist/collection/components/radio/radio.ios.css +67 -0
  458. package/dist/collection/components/radio/radio.js +34 -10
  459. package/dist/collection/components/radio/radio.md.css +67 -0
  460. package/dist/collection/components/radio/test/a11y/radio.e2e.js +2 -2
  461. package/dist/collection/components/radio/test/color/radio.e2e.js +3 -3
  462. package/dist/collection/components/radio/test/item/radio.e2e.js +42 -4
  463. package/dist/collection/components/radio/test/label-placement/radio.e2e.js +41 -10
  464. package/dist/collection/components/radio/test/legacy/a11y/radio.e2e.js +5 -3
  465. package/dist/collection/components/radio/test/legacy/basic/radio.e2e.js +1 -1
  466. package/dist/collection/components/radio/test/states/radio.e2e.js +5 -5
  467. package/dist/collection/components/radio-group/radio-group.js +6 -4
  468. package/dist/collection/components/radio-group/test/basic/radio-group.e2e.js +2 -2
  469. package/dist/collection/components/radio-group/test/fixtures.js +1 -1
  470. package/dist/collection/components/radio-group/test/form/radio-group.e2e.js +1 -1
  471. package/dist/collection/components/radio-group/test/legacy/basic/radio-group.e2e.js +1 -1
  472. package/dist/collection/components/radio-group/test/legacy/form/radio-group.e2e.js +1 -1
  473. package/dist/collection/components/radio-group/test/legacy/search/radio-group.e2e.js +1 -1
  474. package/dist/collection/components/radio-group/test/radio-group-events.e2e.js +1 -1
  475. package/dist/collection/components/radio-group/test/search/radio-group.e2e.js +2 -2
  476. package/dist/collection/components/range/range.ios.css +80 -1
  477. package/dist/collection/components/range/range.js +53 -17
  478. package/dist/collection/components/range/range.md.css +80 -1
  479. package/dist/collection/components/range/test/a11y/range.e2e.js +2 -2
  480. package/dist/collection/components/range/test/active-bar-start/range.e2e.js +1 -1
  481. package/dist/collection/components/range/test/basic/range.e2e.js +1 -1
  482. package/dist/collection/components/range/test/color/range.e2e.js +2 -2
  483. package/dist/collection/components/range/test/custom/range.e2e.js +2 -2
  484. package/dist/collection/components/range/test/item/range.e2e.js +30 -4
  485. package/dist/collection/components/range/test/label/range.e2e.js +72 -13
  486. package/dist/collection/components/range/test/legacy/a11y/range.e2e.js +4 -4
  487. package/dist/collection/components/range/test/legacy/active-bar-start/range.e2e.js +2 -2
  488. package/dist/collection/components/range/test/legacy/basic/range.e2e.js +3 -8
  489. package/dist/collection/components/range/test/legacy/range-events.e2e.js +1 -1
  490. package/dist/collection/components/range/test/legacy/scroll-target/range.e2e.js +1 -1
  491. package/dist/collection/components/range/test/range-events.e2e.js +17 -18
  492. package/dist/collection/components/range/test/scroll-target/range.e2e.js +1 -1
  493. package/dist/collection/components/range/test/states/range.e2e.js +5 -5
  494. package/dist/collection/components/refresher/refresher.js +11 -7
  495. package/dist/collection/components/refresher/refresher.utils.js +1 -1
  496. package/dist/collection/components/refresher/test/basic/refresher.e2e.js +3 -4
  497. package/dist/collection/components/refresher/test/scroll-target/refresher.e2e.js +5 -6
  498. package/dist/collection/components/refresher/test/test.utils.js +4 -1
  499. package/dist/collection/components/refresher-content/refresher-content.js +13 -9
  500. package/dist/collection/components/reorder/reorder.js +3 -3
  501. package/dist/collection/components/reorder-group/reorder-group.js +6 -4
  502. package/dist/collection/components/reorder-group/test/basic/reorder-group.e2e.js +1 -1
  503. package/dist/collection/components/reorder-group/test/interactive/reorder-group.e2e.js +3 -5
  504. package/dist/collection/components/reorder-group/test/nested/reorder-group.e2e.js +3 -5
  505. package/dist/collection/components/reorder-group/test/scroll-target/reorder-group.e2e.js +3 -5
  506. package/dist/collection/components/ripple-effect/ripple-effect.js +4 -3
  507. package/dist/collection/components/ripple-effect/test/basic/ripple-effect.e2e.js +1 -1
  508. package/dist/collection/components/route/route.js +4 -2
  509. package/dist/collection/components/router/router.js +26 -16
  510. package/dist/collection/components/router/test/basic/router.e2e.js +1 -1
  511. package/dist/collection/components/router/test/guards/href/router.e2e.js +2 -2
  512. package/dist/collection/components/router/test/guards/link/router.e2e.js +2 -2
  513. package/dist/collection/components/router/test/guards/push/router.e2e.js +2 -2
  514. package/dist/collection/components/router/test/guards/router.e2e.js +1 -1
  515. package/dist/collection/components/router/utils/debug.js +1 -1
  516. package/dist/collection/components/router/utils/dom.js +1 -1
  517. package/dist/collection/components/router/utils/parser.js +1 -1
  518. package/dist/collection/components/router/utils/path.js +1 -1
  519. package/dist/collection/components/router-link/router-link.js +8 -5
  520. package/dist/collection/components/router-outlet/{route-outlet.css → router-outlet.css} +0 -1
  521. package/dist/collection/components/router-outlet/{route-outlet.js → router-outlet.js} +40 -29
  522. package/dist/collection/components/router-outlet/test/basic/router-outlet.e2e.js +1 -1
  523. package/dist/collection/components/row/row.js +2 -2
  524. package/dist/collection/components/searchbar/searchbar.js +20 -12
  525. package/dist/collection/components/searchbar/test/basic/searchbar.e2e.js +1 -1
  526. package/dist/collection/components/searchbar/test/events/searchbar.e2e.js +1 -1
  527. package/dist/collection/components/segment/segment.js +47 -30
  528. package/dist/collection/components/segment/test/a11y/segment.e2e.js +2 -2
  529. package/dist/collection/components/segment/test/basic/segment.e2e.js +1 -1
  530. package/dist/collection/components/segment/test/custom/segment.e2e.js +1 -1
  531. package/dist/collection/components/segment/test/icon/segment.e2e.js +1 -1
  532. package/dist/collection/components/segment/test/modes/segment.e2e.js +1 -1
  533. package/dist/collection/components/segment/test/scrollable/segment.e2e.js +41 -2
  534. package/dist/collection/components/segment/test/segment-events.e2e.js +1 -1
  535. package/dist/collection/components/segment/test/toolbar/segment.e2e.js +1 -1
  536. package/dist/collection/components/segment/test/wrap/segment.e2e.js +1 -1
  537. package/dist/collection/components/segment-button/segment-button.js +8 -5
  538. package/dist/collection/components/select/select.js +19 -11
  539. package/dist/collection/components/select/test/a11y/select.e2e.js +2 -2
  540. package/dist/collection/components/select/test/async/select.e2e.js +1 -1
  541. package/dist/collection/components/select/test/basic/select.e2e.js +22 -1
  542. package/dist/collection/components/select/test/card/select.e2e.js +2 -2
  543. package/dist/collection/components/select/test/color/select.e2e.js +4 -4
  544. package/dist/collection/components/select/test/compare-with/select.e2e.js +1 -1
  545. package/dist/collection/components/select/test/custom/select.e2e.js +1 -1
  546. package/dist/collection/components/select/test/fill/select.e2e.js +11 -11
  547. package/dist/collection/components/select/test/highlight/select.e2e.js +4 -4
  548. package/dist/collection/components/select/test/item/select.e2e.js +3 -3
  549. package/dist/collection/components/select/test/label/select.e2e.js +21 -21
  550. package/dist/collection/components/select/test/legacy/async/select.e2e.js +1 -1
  551. package/dist/collection/components/select/test/legacy/basic/select.e2e.js +1 -1
  552. package/dist/collection/components/select/test/legacy/compare-with/select.e2e.js +1 -1
  553. package/dist/collection/components/select/test/legacy/custom/custom.e2e.js +1 -1
  554. package/dist/collection/components/select/test/legacy/single-value/select.e2e.js +1 -1
  555. package/dist/collection/components/select/test/legacy/spec/select.e2e.js +1 -1
  556. package/dist/collection/components/select/test/legacy/wrapping/select.e2e.js +1 -1
  557. package/dist/collection/components/select/test/popover-size/select.e2e.js +1 -1
  558. package/dist/collection/components/select/test/states/select.e2e.js +5 -5
  559. package/dist/collection/components/select/test/toggle-icon/select.e2e.js +1 -1
  560. package/dist/collection/components/select/test/wrapping/select.e2e.js +1 -1
  561. package/dist/collection/components/select-option/select-option.js +2 -2
  562. package/dist/collection/components/select-popover/select-popover.js +4 -3
  563. package/dist/collection/components/select-popover/test/basic/select-popover.e2e.js +2 -2
  564. package/dist/collection/components/select-popover/test/fixtures.js +1 -1
  565. package/dist/collection/components/skeleton-text/skeleton-text.js +3 -3
  566. package/dist/collection/components/skeleton-text/test/basic/skeleton-text.e2e.js +1 -1
  567. package/dist/collection/components/skeleton-text/test/custom/skeleton-text.e2e.js +1 -1
  568. package/dist/collection/components/spinner/spinner.js +8 -6
  569. package/dist/collection/components/spinner/test/basic/spinner.e2e.js +1 -1
  570. package/dist/collection/components/spinner/test/color/spinner.e2e.js +1 -1
  571. package/dist/collection/components/spinner/test/resize/spinner.e2e.js +1 -1
  572. package/dist/collection/components/split-pane/split-pane.js +2 -2
  573. package/dist/collection/components/split-pane/test/basic/split-pane.e2e.js +1 -1
  574. package/dist/collection/components/tab/tab.js +7 -4
  575. package/dist/collection/components/tab-bar/tab-bar.js +27 -4
  576. package/dist/collection/components/tab-bar/test/custom/tab-bar.e2e.js +1 -1
  577. package/dist/collection/components/tab-bar/test/translucent/tab-bar.e2e.js +31 -1
  578. package/dist/collection/components/tab-button/tab-button.js +7 -5
  579. package/dist/collection/components/tab-button/test/a11y/tab-button.e2e.js +2 -2
  580. package/dist/collection/components/tab-button/test/basic/tab-button.e2e.js +1 -1
  581. package/dist/collection/components/tab-button/test/layout/tab-button.e2e.js +1 -1
  582. package/dist/collection/components/tab-button/test/states/tab-button.e2e.js +1 -1
  583. package/dist/collection/components/tabs/tabs.js +19 -10
  584. package/dist/collection/components/tabs/test/basic/tabs.e2e.js +1 -1
  585. package/dist/collection/components/tabs/test/placements/tabs.e2e.js +1 -1
  586. package/dist/collection/components/text/test/basic/text.e2e.js +1 -1
  587. package/dist/collection/components/text/text.js +4 -3
  588. package/dist/collection/components/textarea/test/a11y/textarea.e2e.js +2 -2
  589. package/dist/collection/components/textarea/test/autogrow/textarea.e2e.js +1 -1
  590. package/dist/collection/components/textarea/test/bottom-content/textarea.e2e.js +7 -7
  591. package/dist/collection/components/textarea/test/card/textarea.e2e.js +2 -2
  592. package/dist/collection/components/textarea/test/clear-on-edit/textarea.e2e.js +25 -0
  593. package/dist/collection/components/textarea/test/color/textarea.e2e.js +16 -16
  594. package/dist/collection/components/textarea/test/cols/textarea.e2e.js +37 -0
  595. package/dist/collection/components/textarea/test/fill/textarea.e2e.js +11 -11
  596. package/dist/collection/components/textarea/test/highlight/textarea.e2e.js +10 -10
  597. package/dist/collection/components/textarea/test/item/textarea.e2e.js +3 -3
  598. package/dist/collection/components/textarea/test/label-placement/textarea.e2e.js +22 -22
  599. package/dist/collection/components/textarea/test/legacy/a11y/textarea.e2e.js +1 -1
  600. package/dist/collection/components/textarea/test/legacy/autogrow/textarea.e2e.js +6 -6
  601. package/dist/collection/components/textarea/test/legacy/basic/textarea.e2e.js +1 -1
  602. package/dist/collection/components/textarea/test/legacy/clear-on-edit/textarea.e2e.js +1 -1
  603. package/dist/collection/components/textarea/test/states/textarea.e2e.js +3 -3
  604. package/dist/collection/components/textarea/test/textarea-events.e2e.js +1 -1
  605. package/dist/collection/components/textarea/textarea.ios.css +16 -0
  606. package/dist/collection/components/textarea/textarea.js +23 -14
  607. package/dist/collection/components/textarea/textarea.md.css +16 -0
  608. package/dist/collection/components/thumbnail/test/basic/thumbnail.e2e.js +1 -1
  609. package/dist/collection/components/thumbnail/thumbnail.js +2 -2
  610. package/dist/collection/components/title/test/basic/title.e2e.js +16 -1
  611. package/dist/collection/components/title/title.ios.css +1 -1
  612. package/dist/collection/components/title/title.js +6 -4
  613. package/dist/collection/components/toast/test/a11y/toast.e2e.js +14 -6
  614. package/dist/collection/components/toast/test/basic/toast.e2e.js +1 -1
  615. package/dist/collection/components/toast/test/is-open/toast.e2e.js +1 -1
  616. package/dist/collection/components/toast/test/layout/toast.e2e.js +1 -1
  617. package/dist/collection/components/toast/test/standalone/toast.e2e.js +1 -1
  618. package/dist/collection/components/toast/test/trigger/toast.e2e.js +1 -1
  619. package/dist/collection/components/toast/toast.js +64 -46
  620. package/dist/collection/components/toggle/test/a11y/toggle.e2e.js +2 -2
  621. package/dist/collection/components/toggle/test/color/toggle.e2e.js +3 -3
  622. package/dist/collection/components/toggle/test/enable-on-off-labels/toggle.e2e.js +1 -1
  623. package/dist/collection/components/toggle/test/item/toggle.e2e.js +48 -5
  624. package/dist/collection/components/toggle/test/label/toggle.e2e.js +37 -10
  625. package/dist/collection/components/toggle/test/legacy/basic/toggle.e2e.js +1 -1
  626. package/dist/collection/components/toggle/test/legacy/enable-on-off-labels/toggle.e2e.js +3 -3
  627. package/dist/collection/components/toggle/test/legacy/sizes/toggle.e2e.js +2 -2
  628. package/dist/collection/components/toggle/test/sizes/toggle.e2e.js +1 -1
  629. package/dist/collection/components/toggle/test/states/toggle.e2e.js +4 -4
  630. package/dist/collection/components/toggle/toggle.ios.css +67 -1
  631. package/dist/collection/components/toggle/toggle.js +34 -11
  632. package/dist/collection/components/toggle/toggle.md.css +67 -1
  633. package/dist/collection/components/toolbar/test/basic/toolbar.e2e.js +1 -1
  634. package/dist/collection/components/toolbar/test/colors/toolbar.e2e.js +1 -1
  635. package/dist/collection/components/toolbar/toolbar.ios.css +12 -4
  636. package/dist/collection/components/toolbar/toolbar.js +4 -3
  637. package/dist/collection/components/toolbar/toolbar.md.css +2 -4
  638. package/dist/collection/global/ionic-global.js +3 -3
  639. package/dist/collection/index.js +2 -1
  640. package/dist/collection/utils/animation/animation.js +3 -3
  641. package/dist/collection/utils/animation/test/animationbuilder/animation.e2e.js +3 -0
  642. package/dist/collection/utils/animation/test/display/animation.e2e.js +1 -1
  643. package/dist/collection/utils/animation/test/hooks/animation.e2e.js +1 -1
  644. package/dist/collection/utils/animation/test/multiple/animation.e2e.js +1 -1
  645. package/dist/collection/utils/content/content.utils.spec.js +1 -1
  646. package/dist/collection/utils/content/index.js +2 -2
  647. package/dist/collection/utils/floating-point/floating-point.spec.js +1 -1
  648. package/dist/collection/utils/forms/notch-controller.js +1 -1
  649. package/dist/collection/utils/framework-delegate.js +22 -3
  650. package/dist/collection/utils/gesture/button-active.js +3 -3
  651. package/dist/collection/utils/gesture/index.js +3 -3
  652. package/dist/collection/utils/gesture/pointer-events.js +1 -1
  653. package/dist/collection/utils/gesture/swipe-back.js +3 -3
  654. package/dist/collection/utils/helpers.spec.js +1 -1
  655. package/dist/collection/utils/input-shims/hacks/hide-caret.js +2 -2
  656. package/dist/collection/utils/input-shims/hacks/input-blurring.js +1 -1
  657. package/dist/collection/utils/input-shims/hacks/scroll-assist.js +92 -10
  658. package/dist/collection/utils/input-shims/hacks/scroll-data.js +3 -4
  659. package/dist/collection/utils/input-shims/hacks/test/scroll-assist.e2e.js +1 -1
  660. package/dist/collection/utils/input-shims/input-shims.js +6 -6
  661. package/dist/collection/utils/keyboard/keyboard-controller.js +1 -1
  662. package/dist/collection/utils/keyboard/keyboard.js +1 -1
  663. package/dist/collection/utils/lock-controller.js +36 -0
  664. package/dist/collection/utils/menu-controller/animations/base.js +1 -1
  665. package/dist/collection/utils/menu-controller/animations/overlay.js +3 -3
  666. package/dist/collection/utils/menu-controller/animations/push.js +3 -3
  667. package/dist/collection/utils/menu-controller/animations/reveal.js +3 -3
  668. package/dist/collection/utils/menu-controller/index.js +5 -5
  669. package/dist/collection/utils/native/haptic.js +1 -1
  670. package/dist/collection/utils/native/keyboard.js +2 -2
  671. package/dist/collection/utils/native/status-bar.js +1 -1
  672. package/dist/collection/utils/overlays.js +35 -15
  673. package/dist/collection/utils/platform.js +1 -1
  674. package/dist/collection/utils/rtl/dir.spec.js +1 -1
  675. package/dist/collection/utils/status-tap.js +3 -3
  676. package/dist/collection/utils/tap-click/index.js +1 -1
  677. package/dist/collection/utils/tap-click/test/tap-click.e2e.js +1 -1
  678. package/dist/collection/utils/test/framework-delegate/framework-delegate.e2e.js +1 -1
  679. package/dist/collection/utils/test/overlays/overlays.e2e.js +1 -1
  680. package/dist/collection/utils/test/playwright/drag-element.js +67 -8
  681. package/dist/collection/utils/test/playwright/matchers/index.js +3 -3
  682. package/dist/collection/utils/test/playwright/matchers/toHaveReceivedEventDetail.js +2 -2
  683. package/dist/collection/utils/test/playwright/page/utils/goto.js +3 -0
  684. package/dist/collection/utils/test/playwright/page/utils/index.js +0 -1
  685. package/dist/collection/utils/test/playwright/page/utils/locator.js +1 -1
  686. package/dist/collection/utils/test/playwright/page/utils/set-content.js +3 -0
  687. package/dist/collection/utils/test/playwright/page/utils/spy-on-event.js +1 -1
  688. package/dist/collection/utils/test/playwright/playwright-page.js +4 -5
  689. package/dist/collection/utils/test/playwright/viewports/index.js +4 -0
  690. package/dist/collection/utils/transition/index.js +3 -3
  691. package/dist/collection/utils/transition/ios.transition.js +2 -2
  692. package/dist/collection/utils/transition/md.transition.js +2 -2
  693. package/dist/docs.d.ts +361 -88
  694. package/dist/docs.json +7176 -117
  695. package/dist/esm/{animation-258fd22b.js → animation-a1d9e088.js} +2 -2
  696. package/dist/esm/{app-globals-70454efb.js → app-globals-df292a32.js} +1 -1
  697. package/dist/esm/{button-active-aef107f0.js → button-active-7180a130.js} +3 -3
  698. package/dist/esm/{capacitor-6d1861b7.js → capacitor-b4979570.js} +1 -1
  699. package/dist/esm/{data-605c040f.js → data-009dbf15.js} +48 -10
  700. package/dist/esm/{form-controller-6cd7ebd1.js → form-controller-ed77647a.js} +1 -1
  701. package/dist/esm/{framework-delegate-6a45ed30.js → framework-delegate-aa433dea.js} +22 -3
  702. package/dist/esm/{haptic-d85b8584.js → haptic-6447af60.js} +1 -1
  703. package/dist/esm/{index-afea2bcf.js → index-32c6828b.js} +4 -4
  704. package/dist/esm/{index-6e89f340.js → index-3d6aefa2.js} +4 -4
  705. package/dist/esm/{index-7373924f.js → index-746a238e.js} +2 -2
  706. package/dist/esm/{index-36a5fd75.js → index-cb894020.js} +188 -45
  707. package/dist/esm/{index-2d0c7c77.js → index-f0cc4e14.js} +2 -2
  708. package/dist/esm/{index-422b6e83.js → index-ff313b19.js} +2 -2
  709. package/dist/esm/index.js +17 -17
  710. package/dist/esm/{input-shims-5b912f6d.js → input-shims-d78a3c77.js} +93 -13
  711. package/dist/esm/{input.utils-4c00ca72.js → input.utils-ec063df4.js} +3 -3
  712. package/dist/esm/ion-accordion_2.entry.js +5 -5
  713. package/dist/esm/ion-action-sheet.entry.js +24 -32
  714. package/dist/esm/ion-alert.entry.js +27 -35
  715. package/dist/esm/ion-app_8.entry.js +79 -40
  716. package/dist/esm/ion-avatar_3.entry.js +3 -3
  717. package/dist/esm/ion-back-button.entry.js +5 -5
  718. package/dist/esm/ion-backdrop.entry.js +3 -3
  719. package/dist/esm/ion-breadcrumb_2.entry.js +5 -5
  720. package/dist/esm/ion-button_2.entry.js +21 -5
  721. package/dist/esm/ion-card_5.entry.js +4 -4
  722. package/dist/esm/ion-checkbox.entry.js +17 -13
  723. package/dist/esm/ion-chip.entry.js +3 -3
  724. package/dist/esm/ion-col_3.entry.js +2 -2
  725. package/dist/esm/ion-datetime-button.entry.js +9 -6
  726. package/dist/esm/ion-datetime_3.entry.js +156 -125
  727. package/dist/esm/ion-fab_3.entry.js +7 -7
  728. package/dist/esm/ion-img.entry.js +3 -3
  729. package/dist/esm/ion-infinite-scroll_2.entry.js +6 -6
  730. package/dist/esm/ion-input.entry.js +11 -11
  731. package/dist/esm/ion-item-option_3.entry.js +8 -8
  732. package/dist/esm/ion-item_8.entry.js +43 -16
  733. package/dist/esm/ion-loading.entry.js +19 -27
  734. package/dist/esm/ion-menu_3.entry.js +32 -19
  735. package/dist/esm/ion-modal.entry.js +59 -58
  736. package/dist/esm/ion-nav_2.entry.js +8 -8
  737. package/dist/esm/ion-picker-column-internal.entry.js +7 -7
  738. package/dist/esm/ion-picker-internal.entry.js +2 -2
  739. package/dist/esm/ion-popover.entry.js +26 -40
  740. package/dist/esm/ion-progress-bar.entry.js +4 -4
  741. package/dist/esm/ion-radio_2.entry.js +11 -9
  742. package/dist/esm/ion-range.entry.js +42 -14
  743. package/dist/esm/ion-refresher_2.entry.js +16 -16
  744. package/dist/esm/ion-reorder_2.entry.js +10 -10
  745. package/dist/esm/ion-ripple-effect.entry.js +2 -2
  746. package/dist/esm/ion-route_4.entry.js +4 -4
  747. package/dist/esm/ion-searchbar.entry.js +6 -6
  748. package/dist/esm/ion-segment_2.entry.js +40 -29
  749. package/dist/esm/ion-select_3.entry.js +14 -14
  750. package/dist/esm/ion-spinner.entry.js +4 -4
  751. package/dist/esm/ion-split-pane.entry.js +2 -2
  752. package/dist/esm/ion-tab-bar_2.entry.js +12 -8
  753. package/dist/esm/ion-tab_2.entry.js +3 -3
  754. package/dist/esm/ion-text.entry.js +3 -3
  755. package/dist/esm/ion-textarea.entry.js +12 -12
  756. package/dist/esm/ion-toast.entry.js +23 -28
  757. package/dist/esm/ion-toggle.entry.js +17 -15
  758. package/dist/esm/{ionic-global-a9abd569.js → ionic-global-63a8d8c9.js} +1 -1
  759. package/dist/esm/ionic.js +6 -9
  760. package/dist/esm/{ios.transition-6a838b0c.js → ios.transition-d8223b18.js} +5 -5
  761. package/dist/esm/{keyboard-cdb83866.js → keyboard-b063f012.js} +1 -1
  762. package/dist/esm/{keyboard-a818f780.js → keyboard-b551279d.js} +3 -3
  763. package/dist/esm/{keyboard-controller-4149afc6.js → keyboard-controller-0c2dce71.js} +2 -2
  764. package/dist/esm/loader.js +6 -15
  765. package/dist/esm/lock-controller-e8c6c051.js +38 -0
  766. package/dist/esm/{md.transition-b7d7b475.js → md.transition-caed184e.js} +5 -5
  767. package/dist/esm/{notch-controller-cfcb8c01.js → notch-controller-8c9c0e54.js} +3 -3
  768. package/dist/esm/{overlays-4801a327.js → overlays-84621c0a.js} +35 -15
  769. package/dist/esm/{status-tap-211f1ad8.js → status-tap-73e982b6.js} +4 -4
  770. package/dist/esm/{swipe-back-2f9f0102.js → swipe-back-6e8158bc.js} +4 -4
  771. package/dist/esm-es5/{animation-258fd22b.js → animation-a1d9e088.js} +1 -1
  772. package/dist/esm-es5/app-globals-df292a32.js +4 -0
  773. package/dist/esm-es5/{button-active-aef107f0.js → button-active-7180a130.js} +1 -1
  774. package/dist/esm-es5/{capacitor-6d1861b7.js → capacitor-b4979570.js} +1 -1
  775. package/dist/esm-es5/data-009dbf15.js +4 -0
  776. package/dist/esm-es5/form-controller-ed77647a.js +4 -0
  777. package/dist/esm-es5/framework-delegate-aa433dea.js +4 -0
  778. package/dist/esm-es5/{haptic-d85b8584.js → haptic-6447af60.js} +1 -1
  779. package/dist/esm-es5/{index-afea2bcf.js → index-32c6828b.js} +1 -1
  780. package/dist/esm-es5/{index-6e89f340.js → index-3d6aefa2.js} +1 -1
  781. package/dist/esm-es5/{index-7373924f.js → index-746a238e.js} +1 -1
  782. package/dist/esm-es5/index-cb894020.js +5 -0
  783. package/dist/esm-es5/{index-2d0c7c77.js → index-f0cc4e14.js} +1 -1
  784. package/dist/esm-es5/{index-422b6e83.js → index-ff313b19.js} +1 -1
  785. package/dist/esm-es5/index.js +1 -1
  786. package/dist/esm-es5/input-shims-d78a3c77.js +4 -0
  787. package/dist/esm-es5/{input.utils-4c00ca72.js → input.utils-ec063df4.js} +1 -1
  788. package/dist/esm-es5/ion-accordion_2.entry.js +1 -1
  789. package/dist/esm-es5/ion-action-sheet.entry.js +1 -1
  790. package/dist/esm-es5/ion-alert.entry.js +1 -1
  791. package/dist/esm-es5/ion-app_8.entry.js +1 -1
  792. package/dist/esm-es5/ion-avatar_3.entry.js +1 -1
  793. package/dist/esm-es5/ion-back-button.entry.js +1 -1
  794. package/dist/esm-es5/ion-backdrop.entry.js +1 -1
  795. package/dist/esm-es5/ion-breadcrumb_2.entry.js +1 -1
  796. package/dist/esm-es5/ion-button_2.entry.js +1 -1
  797. package/dist/esm-es5/ion-card_5.entry.js +1 -1
  798. package/dist/esm-es5/ion-checkbox.entry.js +1 -1
  799. package/dist/esm-es5/ion-chip.entry.js +1 -1
  800. package/dist/esm-es5/ion-col_3.entry.js +1 -1
  801. package/dist/esm-es5/ion-datetime-button.entry.js +1 -1
  802. package/dist/esm-es5/ion-datetime_3.entry.js +1 -1
  803. package/dist/esm-es5/ion-fab_3.entry.js +1 -1
  804. package/dist/esm-es5/ion-img.entry.js +1 -1
  805. package/dist/esm-es5/ion-infinite-scroll_2.entry.js +1 -1
  806. package/dist/esm-es5/ion-input.entry.js +1 -1
  807. package/dist/esm-es5/ion-item-option_3.entry.js +1 -1
  808. package/dist/esm-es5/ion-item_8.entry.js +1 -1
  809. package/dist/esm-es5/ion-loading.entry.js +1 -1
  810. package/dist/esm-es5/ion-menu_3.entry.js +1 -1
  811. package/dist/esm-es5/ion-modal.entry.js +1 -1
  812. package/dist/esm-es5/ion-nav_2.entry.js +1 -1
  813. package/dist/esm-es5/ion-picker-column-internal.entry.js +1 -1
  814. package/dist/esm-es5/ion-picker-internal.entry.js +1 -1
  815. package/dist/esm-es5/ion-popover.entry.js +1 -1
  816. package/dist/esm-es5/ion-progress-bar.entry.js +1 -1
  817. package/dist/esm-es5/ion-radio_2.entry.js +1 -1
  818. package/dist/esm-es5/ion-range.entry.js +1 -1
  819. package/dist/esm-es5/ion-refresher_2.entry.js +1 -1
  820. package/dist/esm-es5/ion-reorder_2.entry.js +1 -1
  821. package/dist/esm-es5/ion-ripple-effect.entry.js +1 -1
  822. package/dist/esm-es5/ion-route_4.entry.js +1 -1
  823. package/dist/esm-es5/ion-searchbar.entry.js +1 -1
  824. package/dist/esm-es5/ion-segment_2.entry.js +1 -1
  825. package/dist/esm-es5/ion-select_3.entry.js +1 -1
  826. package/dist/esm-es5/ion-spinner.entry.js +1 -1
  827. package/dist/esm-es5/ion-split-pane.entry.js +1 -1
  828. package/dist/esm-es5/ion-tab-bar_2.entry.js +1 -1
  829. package/dist/esm-es5/ion-tab_2.entry.js +1 -1
  830. package/dist/esm-es5/ion-text.entry.js +1 -1
  831. package/dist/esm-es5/ion-textarea.entry.js +1 -1
  832. package/dist/esm-es5/ion-toast.entry.js +1 -1
  833. package/dist/esm-es5/ion-toggle.entry.js +1 -1
  834. package/dist/esm-es5/{ionic-global-a9abd569.js → ionic-global-63a8d8c9.js} +1 -1
  835. package/dist/esm-es5/ionic.js +1 -1
  836. package/dist/esm-es5/{ios.transition-6a838b0c.js → ios.transition-d8223b18.js} +1 -1
  837. package/dist/esm-es5/{keyboard-cdb83866.js → keyboard-b063f012.js} +1 -1
  838. package/dist/esm-es5/{keyboard-a818f780.js → keyboard-b551279d.js} +1 -1
  839. package/dist/esm-es5/{keyboard-controller-4149afc6.js → keyboard-controller-0c2dce71.js} +1 -1
  840. package/dist/esm-es5/loader.js +1 -1
  841. package/dist/esm-es5/lock-controller-e8c6c051.js +4 -0
  842. package/dist/esm-es5/md.transition-caed184e.js +4 -0
  843. package/dist/esm-es5/{notch-controller-cfcb8c01.js → notch-controller-8c9c0e54.js} +1 -1
  844. package/dist/esm-es5/overlays-84621c0a.js +4 -0
  845. package/dist/esm-es5/{status-tap-211f1ad8.js → status-tap-73e982b6.js} +1 -1
  846. package/dist/esm-es5/{swipe-back-2f9f0102.js → swipe-back-6e8158bc.js} +1 -1
  847. package/dist/html.html-data.json +139 -91
  848. package/dist/ionic/index.esm.js +1 -1
  849. package/dist/ionic/ionic.esm.js +1 -1
  850. package/dist/ionic/ionic.js +2 -6
  851. package/dist/ionic/{p-d267077c.system.entry.js → p-007168b8.system.entry.js} +1 -1
  852. package/dist/ionic/p-00cf2d6c.js +4 -0
  853. package/dist/ionic/p-018ad59f.entry.js +4 -0
  854. package/dist/ionic/p-037e2738.system.entry.js +4 -0
  855. package/dist/ionic/p-043e8328.system.js +4 -0
  856. package/dist/ionic/{p-138fcf0f.entry.js → p-0793ebfd.entry.js} +1 -1
  857. package/dist/ionic/{p-66bd7d60.entry.js → p-0e070fbe.entry.js} +1 -1
  858. package/dist/ionic/p-0e9a055c.js +4 -0
  859. package/dist/ionic/{p-e3f387af.system.js → p-14d7b7e2.system.js} +1 -1
  860. package/dist/ionic/{p-b159246b.entry.js → p-15278928.entry.js} +1 -1
  861. package/dist/ionic/p-1c59608c.system.entry.js +4 -0
  862. package/dist/ionic/p-1caf1ec6.entry.js +4 -0
  863. package/dist/ionic/p-1d2d1ab5.system.entry.js +4 -0
  864. package/dist/ionic/p-21085f64.system.entry.js +4 -0
  865. package/dist/ionic/p-23e76249.entry.js +4 -0
  866. package/dist/ionic/p-26fbffd4.system.js +5 -0
  867. package/dist/ionic/{p-8a95273c.js → p-276afddd.js} +1 -1
  868. package/dist/ionic/{p-43060640.system.entry.js → p-28678af4.system.entry.js} +1 -1
  869. package/dist/ionic/p-2992f2a8.entry.js +4 -0
  870. package/dist/ionic/{p-40f778e6.js → p-30b04d8d.js} +1 -1
  871. package/dist/ionic/{p-f3116c14.system.js → p-3632220b.system.js} +1 -1
  872. package/dist/ionic/{p-cd582fdb.system.entry.js → p-37fc0d22.system.entry.js} +1 -1
  873. package/dist/ionic/p-3bad5c1a.js +4 -0
  874. package/dist/ionic/{p-1699be8e.entry.js → p-3bf7c0dc.entry.js} +1 -1
  875. package/dist/ionic/{p-aa7b8135.system.js → p-3d726a67.system.js} +1 -1
  876. package/dist/ionic/{p-5d6123f1.entry.js → p-3db27dec.entry.js} +1 -1
  877. package/dist/ionic/{p-a780a377.entry.js → p-3dce88bf.entry.js} +1 -1
  878. package/dist/ionic/{p-9dcf76ff.system.entry.js → p-3e6b0330.system.entry.js} +1 -1
  879. package/dist/ionic/{p-59a47aff.system.js → p-41477ad9.system.js} +1 -1
  880. package/dist/ionic/{p-d7fd994b.js → p-419eb426.js} +1 -1
  881. package/dist/ionic/p-44ef7224.system.js +4 -0
  882. package/dist/ionic/p-469d6a98.entry.js +4 -0
  883. package/dist/ionic/p-4af11953.entry.js +4 -0
  884. package/dist/ionic/p-4b23f472.entry.js +4 -0
  885. package/dist/ionic/{p-a2e57f27.entry.js → p-4c20879c.entry.js} +1 -1
  886. package/dist/ionic/p-4e76e29a.system.entry.js +4 -0
  887. package/dist/ionic/p-50d83224.entry.js +4 -0
  888. package/dist/ionic/{p-c75da7cf.system.js → p-534a1cbc.system.js} +1 -1
  889. package/dist/ionic/p-53b2a46f.js +4 -0
  890. package/dist/ionic/{p-ed70dec7.entry.js → p-57743e20.entry.js} +1 -1
  891. package/dist/ionic/{p-d7e0a42b.system.js → p-57c5eca2.system.js} +2 -2
  892. package/dist/ionic/p-58565369.system.entry.js +4 -0
  893. package/dist/ionic/{p-505d3b57.system.js → p-5c24c115.system.js} +1 -1
  894. package/dist/ionic/{p-7c63a67f.system.entry.js → p-5fd0a13e.system.entry.js} +1 -1
  895. package/dist/ionic/{p-084b2140.system.js → p-613d4042.system.js} +1 -1
  896. package/dist/ionic/{p-6ff7a5e5.entry.js → p-63f39d2f.entry.js} +1 -1
  897. package/dist/ionic/{p-4c9a0825.system.js → p-64475ab5.system.js} +2 -2
  898. package/dist/ionic/p-6641d7fa.js +4 -0
  899. package/dist/ionic/{p-fc431180.entry.js → p-67e21699.entry.js} +1 -1
  900. package/dist/ionic/p-68a3da51.js +4 -0
  901. package/dist/ionic/p-68b405cc.entry.js +4 -0
  902. package/dist/ionic/{p-565d288e.system.js → p-6b2641f6.system.js} +1 -1
  903. package/dist/ionic/{p-9cfa25d2.system.entry.js → p-6c7d61b9.system.entry.js} +1 -1
  904. package/dist/ionic/{p-ab692eeb.entry.js → p-6ce891b2.entry.js} +1 -1
  905. package/dist/ionic/{p-8a9d2a85.system.entry.js → p-6db9035a.system.entry.js} +1 -1
  906. package/dist/ionic/{p-9edd7119.system.entry.js → p-6f3099b6.system.entry.js} +1 -1
  907. package/dist/ionic/p-73eba881.system.js +4 -0
  908. package/dist/ionic/p-772f6c84.system.js +4 -0
  909. package/dist/ionic/{p-9a7f5ed5.entry.js → p-7887ac7a.entry.js} +1 -1
  910. package/dist/ionic/{p-c1f5d275.js → p-7a590a28.js} +1 -1
  911. package/dist/ionic/p-7b15d413.entry.js +4 -0
  912. package/dist/ionic/{p-0b761768.system.js → p-7c901810.system.js} +1 -1
  913. package/dist/ionic/p-7cad90ed.entry.js +4 -0
  914. package/dist/ionic/p-7cfd253c.js +4 -0
  915. package/dist/ionic/p-7d6f2bbb.system.entry.js +4 -0
  916. package/dist/ionic/{p-c05662ba.system.entry.js → p-7fd0f045.system.entry.js} +1 -1
  917. package/dist/ionic/p-81c818e7.js +4 -0
  918. package/dist/ionic/{p-fc2c5521.system.entry.js → p-84549737.system.entry.js} +1 -1
  919. package/dist/ionic/p-8957b1de.system.entry.js +4 -0
  920. package/dist/ionic/{p-e4146230.system.entry.js → p-89e3d112.system.entry.js} +1 -1
  921. package/dist/ionic/{p-609ac308.js → p-8a289322.js} +1 -1
  922. package/dist/ionic/{p-46956a85.js → p-8b1be026.js} +1 -1
  923. package/dist/ionic/p-8c17d825.js +4 -0
  924. package/dist/ionic/{p-0c92638a.js → p-8cf94fc1.js} +1 -1
  925. package/dist/ionic/p-8f36cde3.system.entry.js +4 -0
  926. package/dist/ionic/p-903c36fe.js +5 -0
  927. package/dist/ionic/p-90ebbca0.entry.js +4 -0
  928. package/dist/ionic/{p-ee5049fd.entry.js → p-9201a4d3.entry.js} +1 -1
  929. package/dist/ionic/{p-477f7813.entry.js → p-92d72ad8.entry.js} +1 -1
  930. package/dist/ionic/{p-52540082.js → p-94a4ce40.js} +1 -1
  931. package/dist/ionic/p-95e44641.system.entry.js +4 -0
  932. package/dist/ionic/{p-ee9863ad.js → p-9649c54e.js} +1 -1
  933. package/dist/ionic/p-96ad49f1.entry.js +4 -0
  934. package/dist/ionic/{p-e8b9a6b2.system.entry.js → p-9a6f6789.system.entry.js} +1 -1
  935. package/dist/ionic/{p-86e57430.system.js → p-9ab6f3e6.system.js} +1 -1
  936. package/dist/ionic/{p-49ead5cb.system.js → p-9d0916cb.system.js} +1 -1
  937. package/dist/ionic/p-9e727d1d.entry.js +4 -0
  938. package/dist/ionic/{p-dd54d07b.system.entry.js → p-9e91c83f.system.entry.js} +1 -1
  939. package/dist/ionic/p-9f2e0db9.js +4 -0
  940. package/dist/ionic/{p-f9f3ef7c.system.js → p-9f9efb31.system.js} +1 -1
  941. package/dist/ionic/p-a0e2f6d8.entry.js +4 -0
  942. package/dist/ionic/{p-30ae30f8.entry.js → p-a1d7f4ef.entry.js} +1 -1
  943. package/dist/ionic/{p-f6f393ee.system.entry.js → p-a4e95028.system.entry.js} +1 -1
  944. package/dist/ionic/p-a51f5932.entry.js +4 -0
  945. package/dist/ionic/p-a6c52452.entry.js +4 -0
  946. package/dist/ionic/{p-40ed5852.system.js → p-a732cfec.system.js} +1 -1
  947. package/dist/ionic/{p-fa98c2a6.system.js → p-a760fd9a.system.js} +1 -1
  948. package/dist/ionic/{p-7cc4d08a.system.entry.js → p-a8403bed.system.entry.js} +1 -1
  949. package/dist/ionic/{p-94d4b708.system.entry.js → p-a9b13f18.system.entry.js} +1 -1
  950. package/dist/ionic/{p-2d55f2bd.system.js → p-ab4cff27.system.js} +1 -1
  951. package/dist/ionic/p-ab7edc16.system.entry.js +4 -0
  952. package/dist/ionic/{p-465e0121.system.entry.js → p-abfd1f2e.system.entry.js} +1 -1
  953. package/dist/ionic/p-ac32f6ce.entry.js +4 -0
  954. package/dist/ionic/p-b132c2c0.system.js +4 -0
  955. package/dist/ionic/{p-6f59ad61.entry.js → p-b2397f35.entry.js} +1 -1
  956. package/dist/ionic/p-b24aa895.js +4 -0
  957. package/dist/ionic/{p-a7016aef.entry.js → p-b27772bf.entry.js} +1 -1
  958. package/dist/ionic/p-b287ab05.js +4 -0
  959. package/dist/ionic/p-b370d1b4.js +4 -0
  960. package/dist/ionic/p-b3bcef34.system.entry.js +4 -0
  961. package/dist/ionic/p-b4c0e9ee.entry.js +4 -0
  962. package/dist/ionic/{p-b46c09ac.system.entry.js → p-b4daca17.system.entry.js} +1 -1
  963. package/dist/ionic/p-b79eb3cd.entry.js +4 -0
  964. package/dist/ionic/{p-322237d0.entry.js → p-b9e2aede.entry.js} +1 -1
  965. package/dist/ionic/{p-28342e96.js → p-bb6f38ed.js} +1 -1
  966. package/dist/ionic/{p-c3325038.system.js → p-bba2ce59.system.js} +1 -1
  967. package/dist/ionic/{p-088a58a8.system.entry.js → p-c09e1da9.system.entry.js} +1 -1
  968. package/dist/ionic/{p-f7515628.entry.js → p-c2d6b2fb.entry.js} +1 -1
  969. package/dist/ionic/p-c381a9a9.system.entry.js +4 -0
  970. package/dist/ionic/p-c8ec0d79.system.js +4 -0
  971. package/dist/ionic/p-ca5cf574.js +4 -0
  972. package/dist/ionic/{p-0dd11651.entry.js → p-ca655a7c.entry.js} +1 -1
  973. package/dist/ionic/p-cc196b34.js +4 -0
  974. package/dist/ionic/{p-0fba861a.system.js → p-ccdcb022.system.js} +1 -1
  975. package/dist/ionic/{p-9912d985.js → p-d1de1188.js} +1 -1
  976. package/dist/ionic/{p-54ada505.entry.js → p-d2a278b1.entry.js} +1 -1
  977. package/dist/ionic/{p-355aae8e.system.entry.js → p-d511de89.system.entry.js} +1 -1
  978. package/dist/ionic/p-d580cbb7.system.entry.js +4 -0
  979. package/dist/ionic/{p-13cb1942.system.entry.js → p-d90f0779.system.entry.js} +1 -1
  980. package/dist/ionic/p-da024961.entry.js +4 -0
  981. package/dist/ionic/p-dd0c00ed.entry.js +4 -0
  982. package/dist/ionic/p-e263255c.system.entry.js +4 -0
  983. package/dist/ionic/p-e3272ed8.entry.js +4 -0
  984. package/dist/ionic/{p-f67dfe83.system.entry.js → p-e40b2cb4.system.entry.js} +1 -1
  985. package/dist/ionic/p-e6d2cca2.system.entry.js +4 -0
  986. package/dist/ionic/p-e88ed929.system.entry.js +4 -0
  987. package/dist/ionic/p-eacb02b2.system.js +4 -0
  988. package/dist/ionic/{p-54d3d2b6.entry.js → p-ec29338e.entry.js} +1 -1
  989. package/dist/ionic/p-ec451ef7.system.entry.js +4 -0
  990. package/dist/ionic/{p-ec8a20f7.system.entry.js → p-f1c2678b.system.entry.js} +1 -1
  991. package/dist/ionic/{p-46cac66d.system.entry.js → p-f37d6823.system.entry.js} +1 -1
  992. package/dist/ionic/p-f4267847.system.entry.js +4 -0
  993. package/dist/ionic/p-f6f4d4bb.system.entry.js +4 -0
  994. package/dist/ionic/{p-c056132d.entry.js → p-fa06c407.entry.js} +1 -1
  995. package/dist/ionic/{p-c3da26fd.system.js → p-fa8d4788.system.js} +1 -1
  996. package/dist/ionic/p-fb18f74b.system.entry.js +4 -0
  997. package/dist/ionic/{p-163145e8.system.entry.js → p-fbc7995a.system.entry.js} +1 -1
  998. package/dist/ionic/{p-3ca87455.system.js → p-ff5a10f9.system.js} +1 -1
  999. package/dist/types/components/action-sheet/action-sheet-interface.d.ts +3 -0
  1000. package/dist/types/components/action-sheet/action-sheet.d.ts +1 -1
  1001. package/dist/types/components/alert/alert-interface.d.ts +3 -0
  1002. package/dist/types/components/alert/alert.d.ts +1 -1
  1003. package/dist/types/components/button/button.d.ts +9 -0
  1004. package/dist/types/components/checkbox/checkbox.d.ts +9 -1
  1005. package/dist/types/components/content/content.d.ts +2 -1
  1006. package/dist/types/components/datetime/datetime.d.ts +23 -10
  1007. package/dist/types/components/datetime/utils/data.d.ts +1 -1
  1008. package/dist/types/components/datetime/utils/parse.d.ts +5 -5
  1009. package/dist/types/components/item/item.d.ts +2 -0
  1010. package/dist/types/components/item-sliding/test/test.utils.d.ts +5 -0
  1011. package/dist/types/components/loading/loading.d.ts +1 -1
  1012. package/dist/types/components/menu/menu.d.ts +2 -0
  1013. package/dist/types/components/modal/modal.d.ts +1 -1
  1014. package/dist/types/components/picker/picker-interface.d.ts +3 -0
  1015. package/dist/types/components/picker/picker.d.ts +1 -1
  1016. package/dist/types/components/popover/popover.d.ts +1 -1
  1017. package/dist/types/components/radio/radio.d.ts +8 -1
  1018. package/dist/types/components/range/range.d.ts +10 -1
  1019. package/dist/types/components/router-outlet/{route-outlet.d.ts → router-outlet.d.ts} +1 -2
  1020. package/dist/types/components/segment/segment.d.ts +1 -0
  1021. package/dist/types/components/tab-bar/tab-bar.d.ts +8 -0
  1022. package/dist/types/components/toast/toast-interface.d.ts +6 -0
  1023. package/dist/types/components/toast/toast.d.ts +2 -1
  1024. package/dist/types/components/toggle/toggle.d.ts +8 -1
  1025. package/dist/types/components.d.ts +42 -16
  1026. package/dist/types/index.d.ts +1 -0
  1027. package/dist/types/interface.d.ts +1 -0
  1028. package/dist/types/stencil-public-runtime.d.ts +17 -5
  1029. package/dist/types/utils/browser/index.d.ts +16 -1
  1030. package/dist/types/utils/input-shims/hacks/scroll-data.d.ts +1 -1
  1031. package/dist/types/utils/lock-controller.d.ts +10 -0
  1032. package/dist/types/utils/overlays.d.ts +5 -2
  1033. package/dist/types/utils/test/playwright/drag-element.d.ts +8 -1
  1034. package/dist/types/utils/test/playwright/page/utils/index.d.ts +0 -1
  1035. package/dist/types/utils/test/playwright/playwright-declarations.d.ts +0 -5
  1036. package/dist/types/utils/test/playwright/viewports/index.d.ts +4 -0
  1037. package/hydrate/index.d.ts +6 -6
  1038. package/hydrate/index.js +731 -478
  1039. package/loader/index.d.ts +1 -1
  1040. package/package.json +7 -6
  1041. package/dist/collection/utils/test/playwright/page/utils/get-snapshot-settings.js +0 -32
  1042. package/dist/esm/polyfills/css-shim.js +0 -1
  1043. package/dist/esm-es5/app-globals-70454efb.js +0 -4
  1044. package/dist/esm-es5/data-605c040f.js +0 -4
  1045. package/dist/esm-es5/form-controller-6cd7ebd1.js +0 -4
  1046. package/dist/esm-es5/framework-delegate-6a45ed30.js +0 -4
  1047. package/dist/esm-es5/index-36a5fd75.js +0 -5
  1048. package/dist/esm-es5/input-shims-5b912f6d.js +0 -4
  1049. package/dist/esm-es5/md.transition-b7d7b475.js +0 -4
  1050. package/dist/esm-es5/overlays-4801a327.js +0 -4
  1051. package/dist/ionic/p-004db8b3.entry.js +0 -4
  1052. package/dist/ionic/p-026e6f00.system.entry.js +0 -4
  1053. package/dist/ionic/p-05111967.entry.js +0 -4
  1054. package/dist/ionic/p-0768899f.system.entry.js +0 -4
  1055. package/dist/ionic/p-0e51ceb7.system.entry.js +0 -4
  1056. package/dist/ionic/p-138715e1.system.js +0 -4
  1057. package/dist/ionic/p-164b025e.system.js +0 -4
  1058. package/dist/ionic/p-1ce8e1ca.system.entry.js +0 -4
  1059. package/dist/ionic/p-1f05aa2b.system.entry.js +0 -4
  1060. package/dist/ionic/p-21e3627d.entry.js +0 -4
  1061. package/dist/ionic/p-2e5dc115.entry.js +0 -4
  1062. package/dist/ionic/p-335e3cfe.js +0 -4
  1063. package/dist/ionic/p-34f66fef.entry.js +0 -4
  1064. package/dist/ionic/p-37184fe8.js +0 -4
  1065. package/dist/ionic/p-39a30df1.entry.js +0 -4
  1066. package/dist/ionic/p-3bf5cd2e.system.entry.js +0 -4
  1067. package/dist/ionic/p-3f9dbcfc.system.entry.js +0 -4
  1068. package/dist/ionic/p-4108c24e.entry.js +0 -4
  1069. package/dist/ionic/p-451cbc39.js +0 -4
  1070. package/dist/ionic/p-4ab679fd.system.js +0 -4
  1071. package/dist/ionic/p-4f7973ad.entry.js +0 -4
  1072. package/dist/ionic/p-5a3ee051.system.js +0 -4
  1073. package/dist/ionic/p-5c30baea.system.entry.js +0 -4
  1074. package/dist/ionic/p-5db06d92.system.entry.js +0 -4
  1075. package/dist/ionic/p-5dc1aee9.entry.js +0 -4
  1076. package/dist/ionic/p-5de3c520.js +0 -4
  1077. package/dist/ionic/p-627e74b4.js +0 -4
  1078. package/dist/ionic/p-68ff1f90.entry.js +0 -4
  1079. package/dist/ionic/p-69a66969.js +0 -4
  1080. package/dist/ionic/p-6a0edd6d.system.js +0 -5
  1081. package/dist/ionic/p-6eeeee8b.system.entry.js +0 -4
  1082. package/dist/ionic/p-72969d37.entry.js +0 -4
  1083. package/dist/ionic/p-74a23266.system.entry.js +0 -4
  1084. package/dist/ionic/p-8711de04.entry.js +0 -4
  1085. package/dist/ionic/p-871802fe.entry.js +0 -4
  1086. package/dist/ionic/p-897e142d.entry.js +0 -4
  1087. package/dist/ionic/p-8da248f0.system.entry.js +0 -4
  1088. package/dist/ionic/p-9131f2ce.system.entry.js +0 -4
  1089. package/dist/ionic/p-921d49a0.entry.js +0 -4
  1090. package/dist/ionic/p-94bb8e22.entry.js +0 -4
  1091. package/dist/ionic/p-954ce757.system.entry.js +0 -4
  1092. package/dist/ionic/p-99eac672.system.js +0 -4
  1093. package/dist/ionic/p-9c935c1f.system.entry.js +0 -4
  1094. package/dist/ionic/p-a18e77cb.system.entry.js +0 -4
  1095. package/dist/ionic/p-a4ef5b36.js +0 -4
  1096. package/dist/ionic/p-a5808f22.entry.js +0 -4
  1097. package/dist/ionic/p-acd4af3a.entry.js +0 -4
  1098. package/dist/ionic/p-b096113b.js +0 -4
  1099. package/dist/ionic/p-b6098fdf.entry.js +0 -4
  1100. package/dist/ionic/p-b6519389.system.entry.js +0 -4
  1101. package/dist/ionic/p-c60bc054.system.entry.js +0 -4
  1102. package/dist/ionic/p-c7d59299.js +0 -4
  1103. package/dist/ionic/p-c9b94b63.system.entry.js +0 -4
  1104. package/dist/ionic/p-cc6e5174.js +0 -4
  1105. package/dist/ionic/p-cd83e6cc.system.entry.js +0 -4
  1106. package/dist/ionic/p-d0dedc45.entry.js +0 -4
  1107. package/dist/ionic/p-d34c3e77.js +0 -4
  1108. package/dist/ionic/p-d834e36b.entry.js +0 -4
  1109. package/dist/ionic/p-d9bc4210.js +0 -5
  1110. package/dist/ionic/p-e171bd9c.system.js +0 -4
  1111. package/dist/ionic/p-f16ea33b.entry.js +0 -4
  1112. package/dist/ionic/p-f321535c.js +0 -4
  1113. package/dist/ionic/p-f3c381f2.entry.js +0 -4
  1114. package/dist/ionic/p-f484f0e1.system.entry.js +0 -4
  1115. package/dist/ionic/p-f810e0d3.js +0 -4
  1116. package/dist/ionic/p-ffe2c670.js +0 -4
  1117. package/dist/types/utils/test/playwright/page/utils/get-snapshot-settings.d.ts +0 -8
  1118. /package/dist/cjs/{config-172736e4.js → config-d5882735.js} +0 -0
  1119. /package/dist/cjs/{cubic-bezier-0e51923d.js → cubic-bezier-6b9222ad.js} +0 -0
  1120. /package/dist/cjs/{dir-186d3a4d.js → dir-f1e0ca26.js} +0 -0
  1121. /package/dist/cjs/{focus-visible-6163be3a.js → focus-visible-a7545600.js} +0 -0
  1122. /package/dist/cjs/{gesture-controller-e2865472.js → gesture-controller-b46721be.js} +0 -0
  1123. /package/dist/cjs/{hardware-back-button-bae6e13a.js → hardware-back-button-b67c8e75.js} +0 -0
  1124. /package/dist/cjs/{helpers-77560954.js → helpers-ea4ccbcb.js} +0 -0
  1125. /package/dist/cjs/{index-f0d7c9cc.js → index-306a7476.js} +0 -0
  1126. /package/dist/cjs/{index-79605113.js → index-cc7dfb7c.js} +0 -0
  1127. /package/dist/cjs/{index-b0e73ba0.js → index-d8d1fc0b.js} +0 -0
  1128. /package/dist/cjs/{spinner-configs-7d30ff6f.js → spinner-configs-f7b5105b.js} +0 -0
  1129. /package/dist/cjs/{theme-e6fec71e.js → theme-fbc56b3b.js} +0 -0
  1130. /package/dist/cjs/{watch-options-4d182698.js → watch-options-f3f77e54.js} +0 -0
  1131. /package/dist/esm/{config-80c044f2.js → config-96c9ace3.js} +0 -0
  1132. /package/dist/esm/{cubic-bezier-e78d1307.js → cubic-bezier-66542bc5.js} +0 -0
  1133. /package/dist/esm/{dir-e8b767a8.js → dir-912e3e13.js} +0 -0
  1134. /package/dist/esm/{focus-visible-10ad4867.js → focus-visible-85493433.js} +0 -0
  1135. /package/dist/esm/{gesture-controller-17060b7c.js → gesture-controller-0fa396c4.js} +0 -0
  1136. /package/dist/esm/{hardware-back-button-490df115.js → hardware-back-button-39299f84.js} +0 -0
  1137. /package/dist/esm/{helpers-f586db1c.js → helpers-3379ba19.js} +0 -0
  1138. /package/dist/esm/{index-e86f0117.js → index-595d62c9.js} +0 -0
  1139. /package/dist/esm/{index-b32cad98.js → index-7a14ecec.js} +0 -0
  1140. /package/dist/esm/{index-393bc14a.js → index-ecfc2c9f.js} +0 -0
  1141. /package/dist/esm/{spinner-configs-40ada8cd.js → spinner-configs-d09fbbbb.js} +0 -0
  1142. /package/dist/esm/{theme-7670341c.js → theme-17531cdf.js} +0 -0
  1143. /package/dist/esm/{watch-options-4d421847.js → watch-options-355a920a.js} +0 -0
  1144. /package/dist/esm-es5/{config-80c044f2.js → config-96c9ace3.js} +0 -0
  1145. /package/dist/esm-es5/{cubic-bezier-e78d1307.js → cubic-bezier-66542bc5.js} +0 -0
  1146. /package/dist/esm-es5/{dir-e8b767a8.js → dir-912e3e13.js} +0 -0
  1147. /package/dist/esm-es5/{focus-visible-10ad4867.js → focus-visible-85493433.js} +0 -0
  1148. /package/dist/esm-es5/{gesture-controller-17060b7c.js → gesture-controller-0fa396c4.js} +0 -0
  1149. /package/dist/esm-es5/{hardware-back-button-490df115.js → hardware-back-button-39299f84.js} +0 -0
  1150. /package/dist/esm-es5/{helpers-f586db1c.js → helpers-3379ba19.js} +0 -0
  1151. /package/dist/esm-es5/{index-e86f0117.js → index-595d62c9.js} +0 -0
  1152. /package/dist/esm-es5/{index-b32cad98.js → index-7a14ecec.js} +0 -0
  1153. /package/dist/esm-es5/{index-393bc14a.js → index-ecfc2c9f.js} +0 -0
  1154. /package/dist/esm-es5/{spinner-configs-40ada8cd.js → spinner-configs-d09fbbbb.js} +0 -0
  1155. /package/dist/esm-es5/{theme-7670341c.js → theme-17531cdf.js} +0 -0
  1156. /package/dist/esm-es5/{watch-options-4d421847.js → watch-options-355a920a.js} +0 -0
  1157. /package/dist/ionic/{p-35d01c78.js → p-0a87858b.js} +0 -0
  1158. /package/dist/ionic/{p-3b753651.system.js → p-0e94957a.system.js} +0 -0
  1159. /package/dist/ionic/{p-6561b0e5.js → p-185e427e.js} +0 -0
  1160. /package/dist/ionic/{p-e1bc9a81.js → p-1b8e1d03.js} +0 -0
  1161. /package/dist/ionic/{p-fe01417c.js → p-1d072d3d.js} +0 -0
  1162. /package/dist/ionic/{p-5503807a.system.js → p-2b89ea1b.system.js} +0 -0
  1163. /package/dist/ionic/{p-1ef14636.system.js → p-44bc8b45.system.js} +0 -0
  1164. /package/dist/ionic/{p-97891b6b.system.js → p-479cdbf8.system.js} +0 -0
  1165. /package/dist/ionic/{p-09292468.system.js → p-56dc022e.system.js} +0 -0
  1166. /package/dist/ionic/{p-c099b4c9.js → p-5bf16a18.js} +0 -0
  1167. /package/dist/ionic/{p-38bc7b29.js → p-63eb0acd.js} +0 -0
  1168. /package/dist/ionic/{p-bb5b0f18.js → p-6dbfe5d4.js} +0 -0
  1169. /package/dist/ionic/{p-d2405689.js → p-76fce40e.js} +0 -0
  1170. /package/dist/ionic/{p-7ec7dc35.js → p-7b021525.js} +0 -0
  1171. /package/dist/ionic/{p-bb38e011.js → p-7c2bac85.js} +0 -0
  1172. /package/dist/ionic/{p-86d4b2bf.system.js → p-815c2fba.system.js} +0 -0
  1173. /package/dist/ionic/{p-c2257c28.system.js → p-819ff3b9.system.js} +0 -0
  1174. /package/dist/ionic/{p-56929710.system.js → p-87411e39.system.js} +0 -0
  1175. /package/dist/ionic/{p-dc3c3a0a.system.js → p-8985b268.system.js} +0 -0
  1176. /package/dist/ionic/{p-04f1268e.system.js → p-8c15eda7.system.js} +0 -0
  1177. /package/dist/ionic/{p-72dbfdd4.system.js → p-9e852ff1.system.js} +0 -0
  1178. /package/dist/ionic/{p-3c349187.js → p-b347cfd1.js} +0 -0
  1179. /package/dist/ionic/{p-896b72c9.js → p-c18d6eac.js} +0 -0
  1180. /package/dist/ionic/{p-eb54056c.system.js → p-c4f2dce7.system.js} +0 -0
  1181. /package/dist/ionic/{p-4a212c9c.system.js → p-c87827ca.system.js} +0 -0
  1182. /package/dist/ionic/{p-e1c318e0.js → p-e0b06b65.js} +0 -0
@@ -1,4 +1,4 @@
1
1
  import{__awaiter,__generator}from"tslib";
2
2
  /*!
3
3
  * (C) Ionic http://ionicframework.com - MIT License
4
- */import{r as registerInstance,d as createEvent,h,H as Host,f as getElement,i as forceUpdate}from"./index-36a5fd75.js";import{c as createLegacyFormController}from"./form-controller-6cd7ebd1.js";import{c as createNotchController}from"./notch-controller-cfcb8c01.js";import{k as inheritAttributes,f as focusElement,h as findItemLabel,d as renderHiddenInput,e as getAriaLabel}from"./helpers-f586db1c.js";import{p as printIonWarning}from"./index-e86f0117.js";import{c as popoverController,b as actionSheetController,a as alertController,s as safeCall}from"./overlays-4801a327.js";import{i as isRTL}from"./dir-e8b767a8.js";import{h as hostContext,c as createColorClasses,g as getClassMap}from"./theme-7670341c.js";import{w as watchForOptions}from"./watch-options-4d421847.js";import{w as chevronExpand,q as caretDownSharp}from"./index-393bc14a.js";import{b as getIonMode}from"./ionic-global-a9abd569.js";import"./index-b32cad98.js";import"./framework-delegate-6a45ed30.js";import"./hardware-back-button-490df115.js";var selectIosCss=":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%}: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.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) label:dir(rtl){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}:host(:not(.legacy-select)){min-height:44px}:host(.select-label-placement-floating),:host(.select-label-placement-stacked){min-height:56px}.select-icon{width:18px;height:18px;color:var(--ion-color-step-650, #595959)}:host(.select-label-placement-stacked) .native-wrapper,:host(.select-label-placement-floating) .native-wrapper{width:calc(100% - 18px - 4px)}:host(.select-disabled){opacity:0.3}";var selectMdCss=":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%}: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.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) label:dir(rtl){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}: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) .select-wrapper:dir(rtl){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}: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}:host(:not(.legacy-select)){min-height:56px}.select-icon{width:13px;-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) .select-highlight:dir(rtl){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% - 13px - 4px)}:host(.select-disabled){opacity:0.38}";var Select=function(){function e(e){var t=this;registerInstance(this,e);this.ionChange=createEvent(this,"ionChange",7);this.ionCancel=createEvent(this,"ionCancel",7);this.ionDismiss=createEvent(this,"ionDismiss",7);this.ionFocus=createEvent(this,"ionFocus",7);this.ionBlur=createEvent(this,"ionBlur",7);this.ionStyle=createEvent(this,"ionStyle",7);this.inputId="ion-sel-".concat(selectIds++);this.inheritedAttributes={};this.hasLoggedDeprecationWarning=false;this.onClick=function(e){t.setFocus();t.open(e)};this.onFocus=function(){t.ionFocus.emit()};this.onBlur=function(){t.ionBlur.emit()};this.isExpanded=false;this.cancelText="Cancel";this.color=undefined;this.compareWith=undefined;this.disabled=false;this.fill=undefined;this.interface="alert";this.interfaceOptions={};this.justify="space-between";this.label=undefined;this.labelPlacement="start";this.legacy=undefined;this.multiple=false;this.name=this.inputId;this.okText="OK";this.placeholder=undefined;this.selectedText=undefined;this.toggleIcon=undefined;this.expandedIcon=undefined;this.shape=undefined;this.value=undefined}e.prototype.styleChanged=function(){this.emitStyle()};e.prototype.setValue=function(e){this.value=e;this.ionChange.emit({value:e})};e.prototype.componentWillLoad=function(){this.inheritedAttributes=inheritAttributes(this.el,["aria-label"])};e.prototype.connectedCallback=function(){return __awaiter(this,void 0,void 0,(function(){var e;var t=this;return __generator(this,(function(i){e=this.el;this.legacyFormController=createLegacyFormController(e);this.notchController=createNotchController(e,(function(){return t.notchSpacerEl}),(function(){return t.labelSlot}));this.updateOverlayOptions();this.emitStyle();this.mutationO=watchForOptions(this.el,"ion-select-option",(function(){return __awaiter(t,void 0,void 0,(function(){return __generator(this,(function(e){this.updateOverlayOptions();forceUpdate(this);return[2]}))}))}));return[2]}))}))};e.prototype.disconnectedCallback=function(){if(this.mutationO){this.mutationO.disconnect();this.mutationO=undefined}if(this.notchController){this.notchController.destroy();this.notchController=undefined}};e.prototype.open=function(e){return __awaiter(this,void 0,void 0,(function(){var t,i,l,r,o;var n=this;return __generator(this,(function(a){switch(a.label){case 0:if(this.disabled||this.isExpanded){return[2,undefined]}this.isExpanded=true;i=this;return[4,this.createOverlay(e)];case 1:t=i.overlay=a.sent();t.onDidDismiss().then((function(){n.overlay=undefined;n.isExpanded=false;n.ionDismiss.emit();n.setFocus()}));return[4,t.present()];case 2:a.sent();if(this.interface==="popover"){l=this.childOpts.map((function(e){return e.value})).indexOf(this.value);l=l>-1?l:0;r=t.querySelector(".select-interface-option:nth-child(".concat(l+1,")"));if(r){focusElement(r);o=r.querySelector("ion-radio, ion-checkbox");if(o){o.focus()}}}return[2,t]}}))}))};e.prototype.createOverlay=function(e){var t=this.interface;if(t==="action-sheet"&&this.multiple){console.warn('Select interface cannot be "'.concat(t,'" with a multi-value select. Using the "alert" interface instead.'));t="alert"}if(t==="popover"&&!e){console.warn('Select interface cannot be a "'.concat(t,'" without passing an event. Using the "alert" interface instead.'));t="alert"}if(t==="action-sheet"){return this.openActionSheet()}if(t==="popover"){return this.openPopover(e)}return this.openAlert()};e.prototype.updateOverlayOptions=function(){var e=this.overlay;if(!e){return}var t=this.childOpts;var i=this.value;switch(this.interface){case"action-sheet":e.buttons=this.createActionSheetButtons(t,i);break;case"popover":var l=e.querySelector("ion-select-popover");if(l){l.options=this.createPopoverOptions(t,i)}break;case"alert":var r=this.multiple?"checkbox":"radio";e.inputs=this.createAlertInputs(t,r,i);break}};e.prototype.createActionSheetButtons=function(e,t){var i=this;var l=e.map((function(e){var l=getOptionValue(e);var r=Array.from(e.classList).filter((function(e){return e!=="hydrated"})).join(" ");var o="".concat(OPTION_CLASS," ").concat(r);return{role:isOptionSelected(t,l,i.compareWith)?"selected":"",text:e.textContent,cssClass:o,handler:function(){i.setValue(l)}}}));l.push({text:this.cancelText,role:"cancel",handler:function(){i.ionCancel.emit()}});return l};e.prototype.createAlertInputs=function(e,t,i){var l=this;var r=e.map((function(e){var r=getOptionValue(e);var o=Array.from(e.classList).filter((function(e){return e!=="hydrated"})).join(" ");var n="".concat(OPTION_CLASS," ").concat(o);return{type:t,cssClass:n,label:e.textContent||"",value:r,checked:isOptionSelected(i,r,l.compareWith),disabled:e.disabled}}));return r};e.prototype.createPopoverOptions=function(e,t){var i=this;var l=e.map((function(e){var l=getOptionValue(e);var r=Array.from(e.classList).filter((function(e){return e!=="hydrated"})).join(" ");var o="".concat(OPTION_CLASS," ").concat(r);return{text:e.textContent||"",cssClass:o,value:l,checked:isOptionSelected(t,l,i.compareWith),disabled:e.disabled,handler:function(e){i.setValue(e);if(!i.multiple){i.close()}}}}));return l};e.prototype.openPopover=function(e){return __awaiter(this,void 0,void 0,(function(){var t,i,l,r,o,n,a,s,c,d,p,h,u;return __generator(this,(function(b){t=this,i=t.fill,l=t.labelPlacement;r=this.interfaceOptions;o=getIonMode(this);n=o==="md"?false:true;a=this.multiple;s=this.value;c=e;d="auto";if(this.legacyFormController.hasLegacyControl()){p=this.el.closest("ion-item");if(p&&(p.classList.contains("item-label-floating")||p.classList.contains("item-label-stacked"))){c=Object.assign(Object.assign({},e),{detail:{ionShadowTarget:p}});d="cover"}}else{h=l==="floating"||l==="stacked";if(h||o==="md"&&i!==undefined){d="cover"}else{c=Object.assign(Object.assign({},e),{detail:{ionShadowTarget:this.nativeWrapperEl}})}}u=Object.assign(Object.assign({mode:o,event:c,alignment:"center",size:d,showBackdrop:n},r),{component:"ion-select-popover",cssClass:["select-popover",r.cssClass],componentProps:{header:r.header,subHeader:r.subHeader,message:r.message,multiple:a,value:s,options:this.createPopoverOptions(this.childOpts,s)}});return[2,popoverController.create(u)]}))}))};e.prototype.openActionSheet=function(){return __awaiter(this,void 0,void 0,(function(){var e,t,i;return __generator(this,(function(l){e=getIonMode(this);t=this.interfaceOptions;i=Object.assign(Object.assign({mode:e},t),{buttons:this.createActionSheetButtons(this.childOpts,this.value),cssClass:["select-action-sheet",t.cssClass]});return[2,actionSheetController.create(i)]}))}))};e.prototype.openAlert=function(){return __awaiter(this,void 0,void 0,(function(){var e,t,i,l,r,o;var n=this;return __generator(this,(function(a){if(this.legacyFormController.hasLegacyControl()){e=this.getLabel();t=e?e.textContent:null}else{t=this.labelText}i=this.interfaceOptions;l=this.multiple?"checkbox":"radio";r=getIonMode(this);o=Object.assign(Object.assign({mode:r},i),{header:i.header?i.header:t,inputs:this.createAlertInputs(this.childOpts,l,this.value),buttons:[{text:this.cancelText,role:"cancel",handler:function(){n.ionCancel.emit()}},{text:this.okText,handler:function(e){n.setValue(e)}}],cssClass:["select-alert",i.cssClass,this.multiple?"multiple-select-alert":"single-select-alert"]});return[2,alertController.create(o)]}))}))};e.prototype.close=function(){if(!this.overlay){return Promise.resolve(false)}return this.overlay.dismiss()};e.prototype.getLabel=function(){return findItemLabel(this.el)};e.prototype.hasValue=function(){return this.getText()!==""};Object.defineProperty(e.prototype,"childOpts",{get:function(){return Array.from(this.el.querySelectorAll("ion-select-option"))},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"labelText",{get:function(){var e=this.label;if(e!==undefined){return e}var t=this.labelSlot;if(t!==null){return t.textContent}return},enumerable:false,configurable:true});e.prototype.getText=function(){var e=this.selectedText;if(e!=null&&e!==""){return e}return generateText(this.childOpts,this.value,this.compareWith)};e.prototype.setFocus=function(){if(this.focusEl){this.focusEl.focus()}};e.prototype.emitStyle=function(){var e=this.disabled;var t={"interactive-disabled":e};if(this.legacyFormController.hasLegacyControl()){t["interactive"]=true;t["select"]=true;t["select-disabled"]=e;t["has-placeholder"]=this.placeholder!==undefined;t["has-value"]=this.hasValue();t["has-focus"]=this.isExpanded}this.ionStyle.emit(t)};e.prototype.renderLabel=function(){var e=this.label;return h("div",{class:{"label-text-wrapper":true,"label-text-wrapper-hidden":!this.hasLabel},part:"label"},e===undefined?h("slot",{name:"label"}):h("div",{class:"label-text"},e))};e.prototype.componentDidRender=function(){var e;(e=this.notchController)===null||e===void 0?void 0:e.calculateNotchWidth()};Object.defineProperty(e.prototype,"labelSlot",{get:function(){return this.el.querySelector('[slot="label"]')},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"hasLabel",{get:function(){return this.label!==undefined||this.labelSlot!==null},enumerable:false,configurable:true});e.prototype.renderLabelContainer=function(){var e=this;var t=getIonMode(this);var i=t==="md"&&this.fill==="outline";if(i){return[h("div",{class:"select-outline-container"},h("div",{class:"select-outline-start"}),h("div",{class:{"select-outline-notch":true,"select-outline-notch-hidden":!this.hasLabel}},h("div",{class:"notch-spacer","aria-hidden":"true",ref:function(t){return e.notchSpacerEl=t}},this.label)),h("div",{class:"select-outline-end"})),this.renderLabel()]}return this.renderLabel()};e.prototype.renderSelect=function(){var e;var t=this;var i=this,l=i.disabled,r=i.el,o=i.isExpanded,n=i.expandedIcon,a=i.labelPlacement,s=i.justify,c=i.placeholder,d=i.fill,p=i.shape,u=i.name,b=i.value;var f=getIonMode(this);var m=a==="floating"||a==="stacked";var g=!m;var v=isRTL(r)?"rtl":"ltr";var x=hostContext("ion-item",this.el);var w=f==="md"&&d!=="outline"&&!x;renderHiddenInput(true,r,u,parseValue(b),l);return h(Host,{onClick:this.onClick,class:createColorClasses(this.color,(e={},e[f]=true,e["in-item"]=x,e["in-item-color"]=hostContext("ion-item.ion-color",r),e["select-disabled"]=l,e["select-expanded"]=o,e["has-expanded-icon"]=n!==undefined,e["has-value"]=this.hasValue(),e["has-placeholder"]=c!==undefined,e["ion-focusable"]=true,e["select-".concat(v)]=true,e["select-fill-".concat(d)]=d!==undefined,e["select-justify-".concat(s)]=g,e["select-shape-".concat(p)]=p!==undefined,e["select-label-placement-".concat(a)]=true,e))},h("label",{class:"select-wrapper",id:"select-label"},this.renderLabelContainer(),h("div",{class:"native-wrapper",ref:function(e){return t.nativeWrapperEl=e},part:"container"},this.renderSelectText(),!m&&this.renderSelectIcon(),this.renderListbox()),m&&this.renderSelectIcon(),w&&h("div",{class:"select-highlight"})))};e.prototype.renderLegacySelect=function(){var e;if(!this.hasLoggedDeprecationWarning){printIonWarning('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);if(this.legacy){printIonWarning('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=true}var t=this,i=t.disabled,l=t.el,r=t.inputId,o=t.isExpanded,n=t.expandedIcon,a=t.name,s=t.placeholder,c=t.value;var d=getIonMode(this);var p=getAriaLabel(l,r),u=p.labelText,b=p.labelId;renderHiddenInput(true,l,a,parseValue(c),i);var f=this.getText();var m=f;if(m===""&&s!==undefined){m=s}var g=u!==undefined?m!==""?"".concat(m,", ").concat(u):u:m;return h(Host,{onClick:this.onClick,role:"button","aria-haspopup":"listbox","aria-disabled":i?"true":null,"aria-label":g,class:(e={},e[d]=true,e["in-item"]=hostContext("ion-item",l),e["in-item-color"]=hostContext("ion-item.ion-color",l),e["select-disabled"]=i,e["select-expanded"]=o,e["has-expanded-icon"]=n!==undefined,e["legacy-select"]=true,e)},this.renderSelectText(),this.renderSelectIcon(),h("label",{id:b},g),this.renderListbox())};e.prototype.renderSelectText=function(){var e=this.placeholder;var t=this.getText();var i=false;var l=t;if(l===""&&e!==undefined){l=e;i=true}var r={"select-text":true,"select-placeholder":i};var o=i?"placeholder":"text";return h("div",{"aria-hidden":"true",class:r,part:o},l)};e.prototype.renderSelectIcon=function(){var e=getIonMode(this);var t=this,i=t.isExpanded,l=t.toggleIcon,r=t.expandedIcon;var o;if(i&&r!==undefined){o=r}else{var n=e==="ios"?chevronExpand:caretDownSharp;o=l!==null&&l!==void 0?l:n}return h("ion-icon",{class:"select-icon",part:"icon","aria-hidden":"true",icon:o})};Object.defineProperty(e.prototype,"ariaLabel",{get:function(){var e,t;var i=this,l=i.placeholder,r=i.el,o=i.inputId,n=i.inheritedAttributes;var a=this.getText();var s=getAriaLabel(r,o).labelText;var c=(t=(e=this.labelText)!==null&&e!==void 0?e:n["aria-label"])!==null&&t!==void 0?t:s;var d=a;if(d===""&&l!==undefined){d=l}if(c!==undefined){d=d===""?c:"".concat(c,", ").concat(d)}return d},enumerable:false,configurable:true});e.prototype.renderListbox=function(){var e=this;var t=this,i=t.disabled,l=t.inputId,r=t.isExpanded;return h("button",{disabled:i,id:l,"aria-label":this.ariaLabel,"aria-haspopup":"listbox","aria-expanded":"".concat(r),onFocus:this.onFocus,onBlur:this.onBlur,ref:function(t){return e.focusEl=t}})};e.prototype.render=function(){var e=this.legacyFormController;return e.hasLegacyControl()?this.renderLegacySelect():this.renderSelect()};Object.defineProperty(e.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{disabled:["styleChanged"],isExpanded:["styleChanged"],placeholder:["styleChanged"],value:["styleChanged"]}},enumerable:false,configurable:true});return e}();var isOptionSelected=function(e,t,i){if(e===undefined){return false}if(Array.isArray(e)){return e.some((function(e){return compareOptions(e,t,i)}))}else{return compareOptions(e,t,i)}};var getOptionValue=function(e){var t=e.value;return t===undefined?e.textContent||"":t};var parseValue=function(e){if(e==null){return undefined}if(Array.isArray(e)){return e.join(",")}return e.toString()};var compareOptions=function(e,t,i){if(typeof i==="function"){return i(e,t)}else if(typeof i==="string"){return e[i]===t[i]}else{return Array.isArray(t)?t.includes(e):e===t}};var generateText=function(e,t,i){if(t===undefined){return""}if(Array.isArray(t)){return t.map((function(t){return textForValue(e,t,i)})).filter((function(e){return e!==null})).join(", ")}else{return textForValue(e,t,i)||""}};var textForValue=function(e,t,i){var l=e.find((function(e){return compareOptions(t,getOptionValue(e),i)}));return l?l.textContent:null};var selectIds=0;var OPTION_CLASS="select-interface-option";Select.style={ios:selectIosCss,md:selectMdCss};var selectOptionCss=":host{display:none}";var SelectOption=function(){function e(e){registerInstance(this,e);this.inputId="ion-selopt-".concat(selectOptionIds++);this.disabled=false;this.value=undefined}e.prototype.render=function(){return h(Host,{role:"option",id:this.inputId,class:getIonMode(this)})};Object.defineProperty(e.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();var selectOptionIds=0;SelectOption.style=selectOptionCss;var selectPopoverIosCss=".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}";var selectPopoverMdCss=".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)}";var SelectPopover=function(){function e(e){registerInstance(this,e);this.header=undefined;this.subHeader=undefined;this.message=undefined;this.multiple=undefined;this.options=[]}e.prototype.findOptionFromEvent=function(e){var t=this.options;return t.find((function(t){return t.value===e.target.value}))};e.prototype.callOptionHandler=function(e){var t=this.findOptionFromEvent(e);var i=this.getValues(e);if(t===null||t===void 0?void 0:t.handler){safeCall(t.handler,i)}};e.prototype.dismissParentPopover=function(){var e=this.el.closest("ion-popover");if(e){e.dismiss()}};e.prototype.setChecked=function(e){var t=this.multiple;var i=this.findOptionFromEvent(e);if(t&&i){i.checked=e.detail.checked}};e.prototype.getValues=function(e){var t=this,i=t.multiple,l=t.options;if(i){return l.filter((function(e){return e.checked})).map((function(e){return e.value}))}var r=this.findOptionFromEvent(e);return r?r.value:undefined};e.prototype.renderOptions=function(e){var t=this.multiple;switch(t){case true:return this.renderCheckboxOptions(e);default:return this.renderRadioOptions(e)}};e.prototype.renderCheckboxOptions=function(e){var t=this;return e.map((function(e){return h("ion-item",{class:Object.assign({"item-checkbox-checked":e.checked},getClassMap(e.cssClass))},h("ion-checkbox",{value:e.value,disabled:e.disabled,checked:e.checked,justify:"start",labelPlacement:"end",onIonChange:function(e){t.setChecked(e);t.callOptionHandler(e);forceUpdate(t)}},e.text))}))};e.prototype.renderRadioOptions=function(e){var t=this;var i=e.filter((function(e){return e.checked})).map((function(e){return e.value}))[0];return h("ion-radio-group",{value:i,onIonChange:function(e){return t.callOptionHandler(e)}},e.map((function(e){return h("ion-item",{class:Object.assign({"item-radio-checked":e.value===i},getClassMap(e.cssClass))},h("ion-radio",{value:e.value,disabled:e.disabled,onClick:function(){return t.dismissParentPopover()},onKeyUp:function(e){if(e.key===" "){t.dismissParentPopover()}}},e.text))})))};e.prototype.render=function(){var e=this,t=e.header,i=e.message,l=e.options,r=e.subHeader;var o=r!==undefined||i!==undefined;return h(Host,{class:getIonMode(this)},h("ion-list",null,t!==undefined&&h("ion-list-header",null,t),o&&h("ion-item",null,h("ion-label",{class:"ion-text-wrap"},r!==undefined&&h("h3",null,r),i!==undefined&&h("p",null,i))),this.renderOptions(l)))};Object.defineProperty(e.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();SelectPopover.style={ios:selectPopoverIosCss,md:selectPopoverMdCss};export{Select as ion_select,SelectOption as ion_select_option,SelectPopover as ion_select_popover};
4
+ */import{r as registerInstance,d as createEvent,h,H as Host,f as getElement,i as forceUpdate}from"./index-cb894020.js";import{c as createLegacyFormController}from"./form-controller-ed77647a.js";import{c as createNotchController}from"./notch-controller-8c9c0e54.js";import{k as inheritAttributes,f as focusElement,h as findItemLabel,d as renderHiddenInput,e as getAriaLabel}from"./helpers-3379ba19.js";import{p as printIonWarning}from"./index-595d62c9.js";import{c as popoverController,b as actionSheetController,a as alertController,s as safeCall}from"./overlays-84621c0a.js";import{i as isRTL}from"./dir-912e3e13.js";import{h as hostContext,c as createColorClasses,g as getClassMap}from"./theme-17531cdf.js";import{w as watchForOptions}from"./watch-options-355a920a.js";import{w as chevronExpand,q as caretDownSharp}from"./index-ecfc2c9f.js";import{b as getIonMode}from"./ionic-global-63a8d8c9.js";import"./index-7a14ecec.js";import"./framework-delegate-aa433dea.js";import"./hardware-back-button-39299f84.js";var selectIosCss=":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%}: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.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) label:dir(rtl){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}:host(:not(.legacy-select)){min-height:44px}:host(.select-label-placement-floating),:host(.select-label-placement-stacked){min-height:56px}.select-icon{width:18px;height:18px;color:var(--ion-color-step-650, #595959)}:host(.select-label-placement-stacked) .native-wrapper,:host(.select-label-placement-floating) .native-wrapper{width:calc(100% - 18px - 4px)}:host(.select-disabled){opacity:0.3}";var selectMdCss=":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%}: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.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) label:dir(rtl){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}: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) .select-wrapper:dir(rtl){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}: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}:host(:not(.legacy-select)){min-height:56px}.select-icon{width:13px;-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) .select-highlight:dir(rtl){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% - 13px - 4px)}:host(.select-disabled){opacity:0.38}";var Select=function(){function e(e){var t=this;registerInstance(this,e);this.ionChange=createEvent(this,"ionChange",7);this.ionCancel=createEvent(this,"ionCancel",7);this.ionDismiss=createEvent(this,"ionDismiss",7);this.ionFocus=createEvent(this,"ionFocus",7);this.ionBlur=createEvent(this,"ionBlur",7);this.ionStyle=createEvent(this,"ionStyle",7);this.inputId="ion-sel-".concat(selectIds++);this.inheritedAttributes={};this.hasLoggedDeprecationWarning=false;this.onClick=function(e){t.setFocus();t.open(e)};this.onFocus=function(){t.ionFocus.emit()};this.onBlur=function(){t.ionBlur.emit()};this.isExpanded=false;this.cancelText="Cancel";this.color=undefined;this.compareWith=undefined;this.disabled=false;this.fill=undefined;this.interface="alert";this.interfaceOptions={};this.justify="space-between";this.label=undefined;this.labelPlacement="start";this.legacy=undefined;this.multiple=false;this.name=this.inputId;this.okText="OK";this.placeholder=undefined;this.selectedText=undefined;this.toggleIcon=undefined;this.expandedIcon=undefined;this.shape=undefined;this.value=undefined}e.prototype.styleChanged=function(){this.emitStyle()};e.prototype.setValue=function(e){this.value=e;this.ionChange.emit({value:e})};e.prototype.componentWillLoad=function(){this.inheritedAttributes=inheritAttributes(this.el,["aria-label"])};e.prototype.connectedCallback=function(){return __awaiter(this,void 0,void 0,(function(){var e;var t=this;return __generator(this,(function(i){e=this.el;this.legacyFormController=createLegacyFormController(e);this.notchController=createNotchController(e,(function(){return t.notchSpacerEl}),(function(){return t.labelSlot}));this.updateOverlayOptions();this.emitStyle();this.mutationO=watchForOptions(this.el,"ion-select-option",(function(){return __awaiter(t,void 0,void 0,(function(){return __generator(this,(function(e){this.updateOverlayOptions();forceUpdate(this);return[2]}))}))}));return[2]}))}))};e.prototype.disconnectedCallback=function(){if(this.mutationO){this.mutationO.disconnect();this.mutationO=undefined}if(this.notchController){this.notchController.destroy();this.notchController=undefined}};e.prototype.open=function(e){return __awaiter(this,void 0,void 0,(function(){var t,i,l,r,o;var n=this;return __generator(this,(function(a){switch(a.label){case 0:if(this.disabled||this.isExpanded){return[2,undefined]}this.isExpanded=true;i=this;return[4,this.createOverlay(e)];case 1:t=i.overlay=a.sent();t.onDidDismiss().then((function(){n.overlay=undefined;n.isExpanded=false;n.ionDismiss.emit();n.setFocus()}));return[4,t.present()];case 2:a.sent();if(this.interface==="popover"){l=this.childOpts.map((function(e){return e.value})).indexOf(this.value);l=l>-1?l:0;r=t.querySelector(".select-interface-option:nth-child(".concat(l+1,")"));if(r){focusElement(r);o=r.querySelector("ion-radio, ion-checkbox");if(o){o.focus()}}}return[2,t]}}))}))};e.prototype.createOverlay=function(e){var t=this.interface;if(t==="action-sheet"&&this.multiple){console.warn('Select interface cannot be "'.concat(t,'" with a multi-value select. Using the "alert" interface instead.'));t="alert"}if(t==="popover"&&!e){console.warn('Select interface cannot be a "'.concat(t,'" without passing an event. Using the "alert" interface instead.'));t="alert"}if(t==="action-sheet"){return this.openActionSheet()}if(t==="popover"){return this.openPopover(e)}return this.openAlert()};e.prototype.updateOverlayOptions=function(){var e=this.overlay;if(!e){return}var t=this.childOpts;var i=this.value;switch(this.interface){case"action-sheet":e.buttons=this.createActionSheetButtons(t,i);break;case"popover":var l=e.querySelector("ion-select-popover");if(l){l.options=this.createPopoverOptions(t,i)}break;case"alert":var r=this.multiple?"checkbox":"radio";e.inputs=this.createAlertInputs(t,r,i);break}};e.prototype.createActionSheetButtons=function(e,t){var i=this;var l=e.map((function(e){var l=getOptionValue(e);var r=Array.from(e.classList).filter((function(e){return e!=="hydrated"})).join(" ");var o="".concat(OPTION_CLASS," ").concat(r);return{role:isOptionSelected(t,l,i.compareWith)?"selected":"",text:e.textContent,cssClass:o,handler:function(){i.setValue(l)}}}));l.push({text:this.cancelText,role:"cancel",handler:function(){i.ionCancel.emit()}});return l};e.prototype.createAlertInputs=function(e,t,i){var l=this;var r=e.map((function(e){var r=getOptionValue(e);var o=Array.from(e.classList).filter((function(e){return e!=="hydrated"})).join(" ");var n="".concat(OPTION_CLASS," ").concat(o);return{type:t,cssClass:n,label:e.textContent||"",value:r,checked:isOptionSelected(i,r,l.compareWith),disabled:e.disabled}}));return r};e.prototype.createPopoverOptions=function(e,t){var i=this;var l=e.map((function(e){var l=getOptionValue(e);var r=Array.from(e.classList).filter((function(e){return e!=="hydrated"})).join(" ");var o="".concat(OPTION_CLASS," ").concat(r);return{text:e.textContent||"",cssClass:o,value:l,checked:isOptionSelected(t,l,i.compareWith),disabled:e.disabled,handler:function(e){i.setValue(e);if(!i.multiple){i.close()}}}}));return l};e.prototype.openPopover=function(e){return __awaiter(this,void 0,void 0,(function(){var t,i,l,r,o,n,a,s,c,d,p,h,u;return __generator(this,(function(b){t=this,i=t.fill,l=t.labelPlacement;r=this.interfaceOptions;o=getIonMode(this);n=o==="md"?false:true;a=this.multiple;s=this.value;c=e;d="auto";if(this.legacyFormController.hasLegacyControl()){p=this.el.closest("ion-item");if(p&&(p.classList.contains("item-label-floating")||p.classList.contains("item-label-stacked"))){c=Object.assign(Object.assign({},e),{detail:{ionShadowTarget:p}});d="cover"}}else{h=l==="floating"||l==="stacked";if(h||o==="md"&&i!==undefined){d="cover"}else{c=Object.assign(Object.assign({},e),{detail:{ionShadowTarget:this.nativeWrapperEl}})}}u=Object.assign(Object.assign({mode:o,event:c,alignment:"center",size:d,showBackdrop:n},r),{component:"ion-select-popover",cssClass:["select-popover",r.cssClass],componentProps:{header:r.header,subHeader:r.subHeader,message:r.message,multiple:a,value:s,options:this.createPopoverOptions(this.childOpts,s)}});return[2,popoverController.create(u)]}))}))};e.prototype.openActionSheet=function(){return __awaiter(this,void 0,void 0,(function(){var e,t,i;return __generator(this,(function(l){e=getIonMode(this);t=this.interfaceOptions;i=Object.assign(Object.assign({mode:e},t),{buttons:this.createActionSheetButtons(this.childOpts,this.value),cssClass:["select-action-sheet",t.cssClass]});return[2,actionSheetController.create(i)]}))}))};e.prototype.openAlert=function(){return __awaiter(this,void 0,void 0,(function(){var e,t,i,l,r,o;var n=this;return __generator(this,(function(a){if(this.legacyFormController.hasLegacyControl()){e=this.getLabel();t=e?e.textContent:null}else{t=this.labelText}i=this.interfaceOptions;l=this.multiple?"checkbox":"radio";r=getIonMode(this);o=Object.assign(Object.assign({mode:r},i),{header:i.header?i.header:t,inputs:this.createAlertInputs(this.childOpts,l,this.value),buttons:[{text:this.cancelText,role:"cancel",handler:function(){n.ionCancel.emit()}},{text:this.okText,handler:function(e){n.setValue(e)}}],cssClass:["select-alert",i.cssClass,this.multiple?"multiple-select-alert":"single-select-alert"]});return[2,alertController.create(o)]}))}))};e.prototype.close=function(){if(!this.overlay){return Promise.resolve(false)}return this.overlay.dismiss()};e.prototype.getLabel=function(){return findItemLabel(this.el)};e.prototype.hasValue=function(){return this.getText()!==""};Object.defineProperty(e.prototype,"childOpts",{get:function(){return Array.from(this.el.querySelectorAll("ion-select-option"))},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"labelText",{get:function(){var e=this.label;if(e!==undefined){return e}var t=this.labelSlot;if(t!==null){return t.textContent}return},enumerable:false,configurable:true});e.prototype.getText=function(){var e=this.selectedText;if(e!=null&&e!==""){return e}return generateText(this.childOpts,this.value,this.compareWith)};e.prototype.setFocus=function(){if(this.focusEl){this.focusEl.focus()}};e.prototype.emitStyle=function(){var e=this.disabled;var t={"interactive-disabled":e};if(this.legacyFormController.hasLegacyControl()){t["interactive"]=true;t["select"]=true;t["select-disabled"]=e;t["has-placeholder"]=this.placeholder!==undefined;t["has-value"]=this.hasValue();t["has-focus"]=this.isExpanded}this.ionStyle.emit(t)};e.prototype.renderLabel=function(){var e=this.label;return h("div",{class:{"label-text-wrapper":true,"label-text-wrapper-hidden":!this.hasLabel},part:"label"},e===undefined?h("slot",{name:"label"}):h("div",{class:"label-text"},e))};e.prototype.componentDidRender=function(){var e;(e=this.notchController)===null||e===void 0?void 0:e.calculateNotchWidth()};Object.defineProperty(e.prototype,"labelSlot",{get:function(){return this.el.querySelector('[slot="label"]')},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"hasLabel",{get:function(){return this.label!==undefined||this.labelSlot!==null},enumerable:false,configurable:true});e.prototype.renderLabelContainer=function(){var e=this;var t=getIonMode(this);var i=t==="md"&&this.fill==="outline";if(i){return[h("div",{class:"select-outline-container"},h("div",{class:"select-outline-start"}),h("div",{class:{"select-outline-notch":true,"select-outline-notch-hidden":!this.hasLabel}},h("div",{class:"notch-spacer","aria-hidden":"true",ref:function(t){return e.notchSpacerEl=t}},this.label)),h("div",{class:"select-outline-end"})),this.renderLabel()]}return this.renderLabel()};e.prototype.renderSelect=function(){var e;var t=this;var i=this,l=i.disabled,r=i.el,o=i.isExpanded,n=i.expandedIcon,a=i.labelPlacement,s=i.justify,c=i.placeholder,d=i.fill,p=i.shape,u=i.name,b=i.value;var f=getIonMode(this);var m=a==="floating"||a==="stacked";var g=!m;var v=isRTL(r)?"rtl":"ltr";var x=hostContext("ion-item",this.el);var w=f==="md"&&d!=="outline"&&!x;renderHiddenInput(true,r,u,parseValue(b),l);return h(Host,{onClick:this.onClick,class:createColorClasses(this.color,(e={},e[f]=true,e["in-item"]=x,e["in-item-color"]=hostContext("ion-item.ion-color",r),e["select-disabled"]=l,e["select-expanded"]=o,e["has-expanded-icon"]=n!==undefined,e["has-value"]=this.hasValue(),e["has-placeholder"]=c!==undefined,e["ion-focusable"]=true,e["select-".concat(v)]=true,e["select-fill-".concat(d)]=d!==undefined,e["select-justify-".concat(s)]=g,e["select-shape-".concat(p)]=p!==undefined,e["select-label-placement-".concat(a)]=true,e))},h("label",{class:"select-wrapper",id:"select-label"},this.renderLabelContainer(),h("div",{class:"native-wrapper",ref:function(e){return t.nativeWrapperEl=e},part:"container"},this.renderSelectText(),!m&&this.renderSelectIcon(),this.renderListbox()),m&&this.renderSelectIcon(),w&&h("div",{class:"select-highlight"})))};e.prototype.renderLegacySelect=function(){var e;if(!this.hasLoggedDeprecationWarning){printIonWarning('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);if(this.legacy){printIonWarning('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=true}var t=this,i=t.disabled,l=t.el,r=t.inputId,o=t.isExpanded,n=t.expandedIcon,a=t.name,s=t.placeholder,c=t.value;var d=getIonMode(this);var p=getAriaLabel(l,r),u=p.labelText,b=p.labelId;renderHiddenInput(true,l,a,parseValue(c),i);var f=this.getText();var m=f;if(m===""&&s!==undefined){m=s}var g=u!==undefined?m!==""?"".concat(m,", ").concat(u):u:m;return h(Host,{onClick:this.onClick,role:"button","aria-haspopup":"listbox","aria-disabled":i?"true":null,"aria-label":g,class:(e={},e[d]=true,e["in-item"]=hostContext("ion-item",l),e["in-item-color"]=hostContext("ion-item.ion-color",l),e["select-disabled"]=i,e["select-expanded"]=o,e["has-expanded-icon"]=n!==undefined,e["legacy-select"]=true,e)},this.renderSelectText(),this.renderSelectIcon(),h("label",{id:b},g),this.renderListbox())};e.prototype.renderSelectText=function(){var e=this.placeholder;var t=this.getText();var i=false;var l=t;if(l===""&&e!==undefined){l=e;i=true}var r={"select-text":true,"select-placeholder":i};var o=i?"placeholder":"text";return h("div",{"aria-hidden":"true",class:r,part:o},l)};e.prototype.renderSelectIcon=function(){var e=getIonMode(this);var t=this,i=t.isExpanded,l=t.toggleIcon,r=t.expandedIcon;var o;if(i&&r!==undefined){o=r}else{var n=e==="ios"?chevronExpand:caretDownSharp;o=l!==null&&l!==void 0?l:n}return h("ion-icon",{class:"select-icon",part:"icon","aria-hidden":"true",icon:o})};Object.defineProperty(e.prototype,"ariaLabel",{get:function(){var e,t;var i=this,l=i.placeholder,r=i.el,o=i.inputId,n=i.inheritedAttributes;var a=this.getText();var s=getAriaLabel(r,o).labelText;var c=(t=(e=this.labelText)!==null&&e!==void 0?e:n["aria-label"])!==null&&t!==void 0?t:s;var d=a;if(d===""&&l!==undefined){d=l}if(c!==undefined){d=d===""?c:"".concat(c,", ").concat(d)}return d},enumerable:false,configurable:true});e.prototype.renderListbox=function(){var e=this;var t=this,i=t.disabled,l=t.inputId,r=t.isExpanded;return h("button",{disabled:i,id:l,"aria-label":this.ariaLabel,"aria-haspopup":"listbox","aria-expanded":"".concat(r),onFocus:this.onFocus,onBlur:this.onBlur,ref:function(t){return e.focusEl=t}})};e.prototype.render=function(){var e=this.legacyFormController;return e.hasLegacyControl()?this.renderLegacySelect():this.renderSelect()};Object.defineProperty(e.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{disabled:["styleChanged"],isExpanded:["styleChanged"],placeholder:["styleChanged"],value:["styleChanged"]}},enumerable:false,configurable:true});return e}();var isOptionSelected=function(e,t,i){if(e===undefined){return false}if(Array.isArray(e)){return e.some((function(e){return compareOptions(e,t,i)}))}else{return compareOptions(e,t,i)}};var getOptionValue=function(e){var t=e.value;return t===undefined?e.textContent||"":t};var parseValue=function(e){if(e==null){return undefined}if(Array.isArray(e)){return e.join(",")}return e.toString()};var compareOptions=function(e,t,i){if(typeof i==="function"){return i(e,t)}else if(typeof i==="string"){return e[i]===t[i]}else{return Array.isArray(t)?t.includes(e):e===t}};var generateText=function(e,t,i){if(t===undefined){return""}if(Array.isArray(t)){return t.map((function(t){return textForValue(e,t,i)})).filter((function(e){return e!==null})).join(", ")}else{return textForValue(e,t,i)||""}};var textForValue=function(e,t,i){var l=e.find((function(e){return compareOptions(t,getOptionValue(e),i)}));return l?l.textContent:null};var selectIds=0;var OPTION_CLASS="select-interface-option";Select.style={ios:selectIosCss,md:selectMdCss};var selectOptionCss=":host{display:none}";var SelectOption=function(){function e(e){registerInstance(this,e);this.inputId="ion-selopt-".concat(selectOptionIds++);this.disabled=false;this.value=undefined}e.prototype.render=function(){return h(Host,{role:"option",id:this.inputId,class:getIonMode(this)})};Object.defineProperty(e.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();var selectOptionIds=0;SelectOption.style=selectOptionCss;var selectPopoverIosCss=".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}";var selectPopoverMdCss=".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)}";var SelectPopover=function(){function e(e){registerInstance(this,e);this.header=undefined;this.subHeader=undefined;this.message=undefined;this.multiple=undefined;this.options=[]}e.prototype.findOptionFromEvent=function(e){var t=this.options;return t.find((function(t){return t.value===e.target.value}))};e.prototype.callOptionHandler=function(e){var t=this.findOptionFromEvent(e);var i=this.getValues(e);if(t===null||t===void 0?void 0:t.handler){safeCall(t.handler,i)}};e.prototype.dismissParentPopover=function(){var e=this.el.closest("ion-popover");if(e){e.dismiss()}};e.prototype.setChecked=function(e){var t=this.multiple;var i=this.findOptionFromEvent(e);if(t&&i){i.checked=e.detail.checked}};e.prototype.getValues=function(e){var t=this,i=t.multiple,l=t.options;if(i){return l.filter((function(e){return e.checked})).map((function(e){return e.value}))}var r=this.findOptionFromEvent(e);return r?r.value:undefined};e.prototype.renderOptions=function(e){var t=this.multiple;switch(t){case true:return this.renderCheckboxOptions(e);default:return this.renderRadioOptions(e)}};e.prototype.renderCheckboxOptions=function(e){var t=this;return e.map((function(e){return h("ion-item",{class:Object.assign({"item-checkbox-checked":e.checked},getClassMap(e.cssClass))},h("ion-checkbox",{value:e.value,disabled:e.disabled,checked:e.checked,justify:"start",labelPlacement:"end",onIonChange:function(e){t.setChecked(e);t.callOptionHandler(e);forceUpdate(t)}},e.text))}))};e.prototype.renderRadioOptions=function(e){var t=this;var i=e.filter((function(e){return e.checked})).map((function(e){return e.value}))[0];return h("ion-radio-group",{value:i,onIonChange:function(e){return t.callOptionHandler(e)}},e.map((function(e){return h("ion-item",{class:Object.assign({"item-radio-checked":e.value===i},getClassMap(e.cssClass))},h("ion-radio",{value:e.value,disabled:e.disabled,onClick:function(){return t.dismissParentPopover()},onKeyUp:function(e){if(e.key===" "){t.dismissParentPopover()}}},e.text))})))};e.prototype.render=function(){var e=this,t=e.header,i=e.message,l=e.options,r=e.subHeader;var o=r!==undefined||i!==undefined;return h(Host,{class:getIonMode(this)},h("ion-list",null,t!==undefined&&h("ion-list-header",null,t),o&&h("ion-item",null,h("ion-label",{class:"ion-text-wrap"},r!==undefined&&h("h3",null,r),i!==undefined&&h("p",null,i))),this.renderOptions(l)))};Object.defineProperty(e.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();SelectPopover.style={ios:selectPopoverIosCss,md:selectPopoverMdCss};export{Select as ion_select,SelectOption as ion_select_option,SelectPopover as ion_select_popover};
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * (C) Ionic http://ionicframework.com - MIT License
3
3
  */
4
- import{r as registerInstance,h,H as Host}from"./index-36a5fd75.js";import{c as createColorClasses}from"./theme-7670341c.js";import{c as config,b as getIonMode}from"./ionic-global-a9abd569.js";import{S as SPINNERS}from"./spinner-configs-40ada8cd.js";var spinnerCss=":host{display:inline-block;position:relative;width:28px;height:28px;color:var(--color);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}:host(.ion-color){color:var(--ion-color-base)}svg{-webkit-transform-origin:center;transform-origin:center;position:absolute;top:0;left:0;width:100%;height:100%;-webkit-transform:translateZ(0);transform:translateZ(0)}:host-context([dir=rtl]) svg{-webkit-transform-origin:calc(100% - center);transform-origin:calc(100% - center)}[dir=rtl] svg{-webkit-transform-origin:calc(100% - center);transform-origin:calc(100% - center)}@supports selector(:dir(rtl)){svg:dir(rtl){-webkit-transform-origin:calc(100% - center);transform-origin:calc(100% - center)}}:host(.spinner-lines) line,:host(.spinner-lines-small) line{stroke-width:7px}:host(.spinner-lines-sharp) line,:host(.spinner-lines-sharp-small) line{stroke-width:4px}:host(.spinner-lines) line,:host(.spinner-lines-small) line,:host(.spinner-lines-sharp) line,:host(.spinner-lines-sharp-small) line{stroke-linecap:round;stroke:currentColor}:host(.spinner-lines) svg,:host(.spinner-lines-small) svg,:host(.spinner-lines-sharp) svg,:host(.spinner-lines-sharp-small) svg{-webkit-animation:spinner-fade-out 1s linear infinite;animation:spinner-fade-out 1s linear infinite}:host(.spinner-bubbles) svg{-webkit-animation:spinner-scale-out 1s linear infinite;animation:spinner-scale-out 1s linear infinite;fill:currentColor}:host(.spinner-circles) svg{-webkit-animation:spinner-fade-out 1s linear infinite;animation:spinner-fade-out 1s linear infinite;fill:currentColor}:host(.spinner-crescent) circle{fill:transparent;stroke-width:4px;stroke-dasharray:128px;stroke-dashoffset:82px;stroke:currentColor}:host(.spinner-crescent) svg{-webkit-animation:spinner-rotate 1s linear infinite;animation:spinner-rotate 1s linear infinite}:host(.spinner-dots) circle{stroke-width:0;fill:currentColor}:host(.spinner-dots) svg{-webkit-animation:spinner-dots 1s linear infinite;animation:spinner-dots 1s linear infinite}:host(.spinner-circular) svg{-webkit-animation:spinner-circular linear infinite;animation:spinner-circular linear infinite}:host(.spinner-circular) circle{-webkit-animation:spinner-circular-inner ease-in-out infinite;animation:spinner-circular-inner ease-in-out infinite;stroke:currentColor;stroke-dasharray:80px, 200px;stroke-dashoffset:0px;stroke-width:5.6;fill:none}:host(.spinner-paused),:host(.spinner-paused) svg,:host(.spinner-paused) circle{-webkit-animation-play-state:paused;animation-play-state:paused}@-webkit-keyframes spinner-fade-out{0%{opacity:1}100%{opacity:0}}@keyframes spinner-fade-out{0%{opacity:1}100%{opacity:0}}@-webkit-keyframes spinner-scale-out{0%{-webkit-transform:scale(1, 1);transform:scale(1, 1)}100%{-webkit-transform:scale(0, 0);transform:scale(0, 0)}}@keyframes spinner-scale-out{0%{-webkit-transform:scale(1, 1);transform:scale(1, 1)}100%{-webkit-transform:scale(0, 0);transform:scale(0, 0)}}@-webkit-keyframes spinner-rotate{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes spinner-rotate{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@-webkit-keyframes spinner-dots{0%{-webkit-transform:scale(1, 1);transform:scale(1, 1);opacity:0.9}50%{-webkit-transform:scale(0.4, 0.4);transform:scale(0.4, 0.4);opacity:0.3}100%{-webkit-transform:scale(1, 1);transform:scale(1, 1);opacity:0.9}}@keyframes spinner-dots{0%{-webkit-transform:scale(1, 1);transform:scale(1, 1);opacity:0.9}50%{-webkit-transform:scale(0.4, 0.4);transform:scale(0.4, 0.4);opacity:0.3}100%{-webkit-transform:scale(1, 1);transform:scale(1, 1);opacity:0.9}}@-webkit-keyframes spinner-circular{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes spinner-circular{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@-webkit-keyframes spinner-circular-inner{0%{stroke-dasharray:1px, 200px;stroke-dashoffset:0px}50%{stroke-dasharray:100px, 200px;stroke-dashoffset:-15px}100%{stroke-dasharray:100px, 200px;stroke-dashoffset:-125px}}@keyframes spinner-circular-inner{0%{stroke-dasharray:1px, 200px;stroke-dashoffset:0px}50%{stroke-dasharray:100px, 200px;stroke-dashoffset:-15px}100%{stroke-dasharray:100px, 200px;stroke-dashoffset:-125px}}";var Spinner=function(){function e(e){registerInstance(this,e);this.color=undefined;this.duration=undefined;this.name=undefined;this.paused=false}e.prototype.getName=function(){var e=this.name||config.get("spinner");var r=getIonMode(this);if(e){return e}return r==="ios"?"lines":"circular"};e.prototype.render=function(){var e;var r;var n=this;var s=getIonMode(n);var t=n.getName();var i=(r=SPINNERS[t])!==null&&r!==void 0?r:SPINNERS["lines"];var a=typeof n.duration==="number"&&n.duration>10?n.duration:i.dur;var o=[];if(i.circles!==undefined){for(var l=0;l<i.circles;l++){o.push(buildCircle(i,a,l,i.circles))}}else if(i.lines!==undefined){for(var l=0;l<i.lines;l++){o.push(buildLine(i,a,l,i.lines))}}return h(Host,{class:createColorClasses(n.color,(e={},e[s]=true,e["spinner-".concat(t)]=true,e["spinner-paused"]=n.paused||config.getBoolean("_testing"),e)),role:"progressbar",style:i.elmDuration?{animationDuration:a+"ms"}:{}},o)};return e}();var buildCircle=function(e,r,n,s){var t=e.fn(r,n,s);t.style["animation-duration"]=r+"ms";return h("svg",{viewBox:t.viewBox||"0 0 64 64",style:t.style},h("circle",{transform:t.transform||"translate(32,32)",cx:t.cx,cy:t.cy,r:t.r,style:e.elmDuration?{animationDuration:r+"ms"}:{}}))};var buildLine=function(e,r,n,s){var t=e.fn(r,n,s);t.style["animation-duration"]=r+"ms";return h("svg",{viewBox:t.viewBox||"0 0 64 64",style:t.style},h("line",{transform:"translate(32,32)",y1:t.y1,y2:t.y2}))};Spinner.style=spinnerCss;export{Spinner as ion_spinner};
4
+ import{r as registerInstance,h,H as Host}from"./index-cb894020.js";import{c as createColorClasses}from"./theme-17531cdf.js";import{c as config,b as getIonMode}from"./ionic-global-63a8d8c9.js";import{S as SPINNERS}from"./spinner-configs-d09fbbbb.js";var spinnerCss=":host{display:inline-block;position:relative;width:28px;height:28px;color:var(--color);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}:host(.ion-color){color:var(--ion-color-base)}svg{-webkit-transform-origin:center;transform-origin:center;position:absolute;top:0;left:0;width:100%;height:100%;-webkit-transform:translateZ(0);transform:translateZ(0)}:host-context([dir=rtl]) svg{-webkit-transform-origin:calc(100% - center);transform-origin:calc(100% - center)}[dir=rtl] svg{-webkit-transform-origin:calc(100% - center);transform-origin:calc(100% - center)}@supports selector(:dir(rtl)){svg:dir(rtl){-webkit-transform-origin:calc(100% - center);transform-origin:calc(100% - center)}}:host(.spinner-lines) line,:host(.spinner-lines-small) line{stroke-width:7px}:host(.spinner-lines-sharp) line,:host(.spinner-lines-sharp-small) line{stroke-width:4px}:host(.spinner-lines) line,:host(.spinner-lines-small) line,:host(.spinner-lines-sharp) line,:host(.spinner-lines-sharp-small) line{stroke-linecap:round;stroke:currentColor}:host(.spinner-lines) svg,:host(.spinner-lines-small) svg,:host(.spinner-lines-sharp) svg,:host(.spinner-lines-sharp-small) svg{-webkit-animation:spinner-fade-out 1s linear infinite;animation:spinner-fade-out 1s linear infinite}:host(.spinner-bubbles) svg{-webkit-animation:spinner-scale-out 1s linear infinite;animation:spinner-scale-out 1s linear infinite;fill:currentColor}:host(.spinner-circles) svg{-webkit-animation:spinner-fade-out 1s linear infinite;animation:spinner-fade-out 1s linear infinite;fill:currentColor}:host(.spinner-crescent) circle{fill:transparent;stroke-width:4px;stroke-dasharray:128px;stroke-dashoffset:82px;stroke:currentColor}:host(.spinner-crescent) svg{-webkit-animation:spinner-rotate 1s linear infinite;animation:spinner-rotate 1s linear infinite}:host(.spinner-dots) circle{stroke-width:0;fill:currentColor}:host(.spinner-dots) svg{-webkit-animation:spinner-dots 1s linear infinite;animation:spinner-dots 1s linear infinite}:host(.spinner-circular) svg{-webkit-animation:spinner-circular linear infinite;animation:spinner-circular linear infinite}:host(.spinner-circular) circle{-webkit-animation:spinner-circular-inner ease-in-out infinite;animation:spinner-circular-inner ease-in-out infinite;stroke:currentColor;stroke-dasharray:80px, 200px;stroke-dashoffset:0px;stroke-width:5.6;fill:none}:host(.spinner-paused),:host(.spinner-paused) svg,:host(.spinner-paused) circle{-webkit-animation-play-state:paused;animation-play-state:paused}@-webkit-keyframes spinner-fade-out{0%{opacity:1}100%{opacity:0}}@keyframes spinner-fade-out{0%{opacity:1}100%{opacity:0}}@-webkit-keyframes spinner-scale-out{0%{-webkit-transform:scale(1, 1);transform:scale(1, 1)}100%{-webkit-transform:scale(0, 0);transform:scale(0, 0)}}@keyframes spinner-scale-out{0%{-webkit-transform:scale(1, 1);transform:scale(1, 1)}100%{-webkit-transform:scale(0, 0);transform:scale(0, 0)}}@-webkit-keyframes spinner-rotate{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes spinner-rotate{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@-webkit-keyframes spinner-dots{0%{-webkit-transform:scale(1, 1);transform:scale(1, 1);opacity:0.9}50%{-webkit-transform:scale(0.4, 0.4);transform:scale(0.4, 0.4);opacity:0.3}100%{-webkit-transform:scale(1, 1);transform:scale(1, 1);opacity:0.9}}@keyframes spinner-dots{0%{-webkit-transform:scale(1, 1);transform:scale(1, 1);opacity:0.9}50%{-webkit-transform:scale(0.4, 0.4);transform:scale(0.4, 0.4);opacity:0.3}100%{-webkit-transform:scale(1, 1);transform:scale(1, 1);opacity:0.9}}@-webkit-keyframes spinner-circular{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes spinner-circular{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@-webkit-keyframes spinner-circular-inner{0%{stroke-dasharray:1px, 200px;stroke-dashoffset:0px}50%{stroke-dasharray:100px, 200px;stroke-dashoffset:-15px}100%{stroke-dasharray:100px, 200px;stroke-dashoffset:-125px}}@keyframes spinner-circular-inner{0%{stroke-dasharray:1px, 200px;stroke-dashoffset:0px}50%{stroke-dasharray:100px, 200px;stroke-dashoffset:-15px}100%{stroke-dasharray:100px, 200px;stroke-dashoffset:-125px}}";var Spinner=function(){function e(e){registerInstance(this,e);this.color=undefined;this.duration=undefined;this.name=undefined;this.paused=false}e.prototype.getName=function(){var e=this.name||config.get("spinner");var r=getIonMode(this);if(e){return e}return r==="ios"?"lines":"circular"};e.prototype.render=function(){var e;var r;var n=this;var s=getIonMode(n);var t=n.getName();var i=(r=SPINNERS[t])!==null&&r!==void 0?r:SPINNERS["lines"];var a=typeof n.duration==="number"&&n.duration>10?n.duration:i.dur;var o=[];if(i.circles!==undefined){for(var l=0;l<i.circles;l++){o.push(buildCircle(i,a,l,i.circles))}}else if(i.lines!==undefined){for(var l=0;l<i.lines;l++){o.push(buildLine(i,a,l,i.lines))}}return h(Host,{class:createColorClasses(n.color,(e={},e[s]=true,e["spinner-".concat(t)]=true,e["spinner-paused"]=n.paused||config.getBoolean("_testing"),e)),role:"progressbar",style:i.elmDuration?{animationDuration:a+"ms"}:{}},o)};return e}();var buildCircle=function(e,r,n,s){var t=e.fn(r,n,s);t.style["animation-duration"]=r+"ms";return h("svg",{viewBox:t.viewBox||"0 0 64 64",style:t.style},h("circle",{transform:t.transform||"translate(32,32)",cx:t.cx,cy:t.cy,r:t.r,style:e.elmDuration?{animationDuration:r+"ms"}:{}}))};var buildLine=function(e,r,n,s){var t=e.fn(r,n,s);t.style["animation-duration"]=r+"ms";return h("svg",{viewBox:t.viewBox||"0 0 64 64",style:t.style},h("line",{transform:"translate(32,32)",y1:t.y1,y2:t.y2}))};Spinner.style=spinnerCss;export{Spinner as ion_spinner};
@@ -1,4 +1,4 @@
1
1
  import{__awaiter,__generator}from"tslib";
2
2
  /*!
3
3
  * (C) Ionic http://ionicframework.com - MIT License
4
- */import{r as registerInstance,d as createEvent,h,H as Host,f as getElement}from"./index-36a5fd75.js";import{b as getIonMode}from"./ionic-global-a9abd569.js";var splitPaneIosCss=":host{--side-width:100%;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;contain:strict}::slotted(ion-menu.menu-pane-visible){-ms-flex:0 1 auto;flex:0 1 auto;width:var(--side-width);min-width:var(--side-min-width);max-width:var(--side-max-width)}:host(.split-pane-visible) ::slotted(.split-pane-side),:host(.split-pane-visible) ::slotted(.split-pane-main){left:0;right:0;top:0;bottom:0;position:relative;-webkit-box-shadow:none !important;box-shadow:none !important;z-index:0}:host(.split-pane-visible) ::slotted(.split-pane-main){-ms-flex:1;flex:1}:host(.split-pane-visible) ::slotted(.split-pane-side:not(ion-menu)),:host(.split-pane-visible) ::slotted(ion-menu.split-pane-side.menu-enabled){display:-ms-flexbox;display:flex;-ms-flex-negative:0;flex-shrink:0}::slotted(.split-pane-side:not(ion-menu)){display:none}:host(.split-pane-visible) ::slotted(.split-pane-side){-ms-flex-order:-1;order:-1}:host(.split-pane-visible) ::slotted(.split-pane-side[side=end]){-ms-flex-order:1;order:1}:host{--border:0.55px solid var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-250, #c8c7cc)));--side-min-width:270px;--side-max-width:28%}:host(.split-pane-visible) ::slotted(.split-pane-side){-webkit-border-start:0;border-inline-start:0;-webkit-border-end:var(--border);border-inline-end:var(--border);border-top:0;border-bottom:0;min-width:var(--side-min-width);max-width:var(--side-max-width)}:host(.split-pane-visible) ::slotted(.split-pane-side[side=end]){-webkit-border-start:var(--border);border-inline-start:var(--border);-webkit-border-end:0;border-inline-end:0;border-top:0;border-bottom:0;min-width:var(--side-min-width);max-width:var(--side-max-width)}";var splitPaneMdCss=":host{--side-width:100%;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;contain:strict}::slotted(ion-menu.menu-pane-visible){-ms-flex:0 1 auto;flex:0 1 auto;width:var(--side-width);min-width:var(--side-min-width);max-width:var(--side-max-width)}:host(.split-pane-visible) ::slotted(.split-pane-side),:host(.split-pane-visible) ::slotted(.split-pane-main){left:0;right:0;top:0;bottom:0;position:relative;-webkit-box-shadow:none !important;box-shadow:none !important;z-index:0}:host(.split-pane-visible) ::slotted(.split-pane-main){-ms-flex:1;flex:1}:host(.split-pane-visible) ::slotted(.split-pane-side:not(ion-menu)),:host(.split-pane-visible) ::slotted(ion-menu.split-pane-side.menu-enabled){display:-ms-flexbox;display:flex;-ms-flex-negative:0;flex-shrink:0}::slotted(.split-pane-side:not(ion-menu)){display:none}:host(.split-pane-visible) ::slotted(.split-pane-side){-ms-flex-order:-1;order:-1}:host(.split-pane-visible) ::slotted(.split-pane-side[side=end]){-ms-flex-order:1;order:1}:host{--border:1px solid var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.13))));--side-min-width:270px;--side-max-width:28%}:host(.split-pane-visible) ::slotted(.split-pane-side){-webkit-border-start:0;border-inline-start:0;-webkit-border-end:var(--border);border-inline-end:var(--border);border-top:0;border-bottom:0;min-width:var(--side-min-width);max-width:var(--side-max-width)}:host(.split-pane-visible) ::slotted(.split-pane-side[side=end]){-webkit-border-start:var(--border);border-inline-start:var(--border);-webkit-border-end:0;border-inline-end:0;border-top:0;border-bottom:0;min-width:var(--side-min-width);max-width:var(--side-max-width)}";var SPLIT_PANE_MAIN="split-pane-main";var SPLIT_PANE_SIDE="split-pane-side";var QUERY={xs:"(min-width: 0px)",sm:"(min-width: 576px)",md:"(min-width: 768px)",lg:"(min-width: 992px)",xl:"(min-width: 1200px)",never:""};var SplitPane=function(){function e(e){registerInstance(this,e);this.ionSplitPaneVisible=createEvent(this,"ionSplitPaneVisible",7);this.visible=false;this.contentId=undefined;this.disabled=false;this.when=QUERY["lg"]}e.prototype.visibleChanged=function(e){var i={visible:e,isPane:this.isPane.bind(this)};this.ionSplitPaneVisible.emit(i)};e.prototype.connectedCallback=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){switch(e.label){case 0:if(!(typeof customElements!=="undefined"&&customElements!=null))return[3,2];return[4,customElements.whenDefined("ion-split-pane")];case 1:e.sent();e.label=2;case 2:this.styleChildren();this.updateState();return[2]}}))}))};e.prototype.disconnectedCallback=function(){if(this.rmL){this.rmL();this.rmL=undefined}};e.prototype.updateState=function(){var e=this;if(this.rmL){this.rmL();this.rmL=undefined}if(this.disabled){this.visible=false;return}var i=this.when;if(typeof i==="boolean"){this.visible=i;return}var t=QUERY[i]||i;if(t.length===0){this.visible=false;return}if(window.matchMedia){var s=function(i){e.visible=i.matches};var n=window.matchMedia(t);n.addListener(s);this.rmL=function(){return n.removeListener(s)};this.visible=n.matches}};e.prototype.isPane=function(e){if(!this.visible){return false}return e.parentElement===this.el&&e.classList.contains(SPLIT_PANE_SIDE)};e.prototype.styleChildren=function(){var e=this.contentId;var i=this.el.children;var t=this.el.childElementCount;var s=false;for(var n=0;n<t;n++){var o=i[n];var r=e!==undefined&&o.id===e;if(r){if(s){console.warn("split pane cannot have more than one main node");return}s=true}setPaneClass(o,r)}if(!s){console.warn("split pane does not have a specified main node")}};e.prototype.render=function(){var e;var i=getIonMode(this);return h(Host,{class:(e={},e[i]=true,e["split-pane-".concat(i)]=true,e["split-pane-visible"]=this.visible,e)},h("slot",null))};Object.defineProperty(e.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{visible:["visibleChanged"],disabled:["updateState"],when:["updateState"]}},enumerable:false,configurable:true});return e}();var setPaneClass=function(e,i){var t;var s;if(i){t=SPLIT_PANE_MAIN;s=SPLIT_PANE_SIDE}else{t=SPLIT_PANE_SIDE;s=SPLIT_PANE_MAIN}var n=e.classList;n.add(t);n.remove(s)};SplitPane.style={ios:splitPaneIosCss,md:splitPaneMdCss};export{SplitPane as ion_split_pane};
4
+ */import{r as registerInstance,d as createEvent,h,H as Host,f as getElement}from"./index-cb894020.js";import{b as getIonMode}from"./ionic-global-63a8d8c9.js";var splitPaneIosCss=":host{--side-width:100%;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;contain:strict}::slotted(ion-menu.menu-pane-visible){-ms-flex:0 1 auto;flex:0 1 auto;width:var(--side-width);min-width:var(--side-min-width);max-width:var(--side-max-width)}:host(.split-pane-visible) ::slotted(.split-pane-side),:host(.split-pane-visible) ::slotted(.split-pane-main){left:0;right:0;top:0;bottom:0;position:relative;-webkit-box-shadow:none !important;box-shadow:none !important;z-index:0}:host(.split-pane-visible) ::slotted(.split-pane-main){-ms-flex:1;flex:1}:host(.split-pane-visible) ::slotted(.split-pane-side:not(ion-menu)),:host(.split-pane-visible) ::slotted(ion-menu.split-pane-side.menu-enabled){display:-ms-flexbox;display:flex;-ms-flex-negative:0;flex-shrink:0}::slotted(.split-pane-side:not(ion-menu)){display:none}:host(.split-pane-visible) ::slotted(.split-pane-side){-ms-flex-order:-1;order:-1}:host(.split-pane-visible) ::slotted(.split-pane-side[side=end]){-ms-flex-order:1;order:1}:host{--border:0.55px solid var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-250, #c8c7cc)));--side-min-width:270px;--side-max-width:28%}:host(.split-pane-visible) ::slotted(.split-pane-side){-webkit-border-start:0;border-inline-start:0;-webkit-border-end:var(--border);border-inline-end:var(--border);border-top:0;border-bottom:0;min-width:var(--side-min-width);max-width:var(--side-max-width)}:host(.split-pane-visible) ::slotted(.split-pane-side[side=end]){-webkit-border-start:var(--border);border-inline-start:var(--border);-webkit-border-end:0;border-inline-end:0;border-top:0;border-bottom:0;min-width:var(--side-min-width);max-width:var(--side-max-width)}";var splitPaneMdCss=":host{--side-width:100%;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;contain:strict}::slotted(ion-menu.menu-pane-visible){-ms-flex:0 1 auto;flex:0 1 auto;width:var(--side-width);min-width:var(--side-min-width);max-width:var(--side-max-width)}:host(.split-pane-visible) ::slotted(.split-pane-side),:host(.split-pane-visible) ::slotted(.split-pane-main){left:0;right:0;top:0;bottom:0;position:relative;-webkit-box-shadow:none !important;box-shadow:none !important;z-index:0}:host(.split-pane-visible) ::slotted(.split-pane-main){-ms-flex:1;flex:1}:host(.split-pane-visible) ::slotted(.split-pane-side:not(ion-menu)),:host(.split-pane-visible) ::slotted(ion-menu.split-pane-side.menu-enabled){display:-ms-flexbox;display:flex;-ms-flex-negative:0;flex-shrink:0}::slotted(.split-pane-side:not(ion-menu)){display:none}:host(.split-pane-visible) ::slotted(.split-pane-side){-ms-flex-order:-1;order:-1}:host(.split-pane-visible) ::slotted(.split-pane-side[side=end]){-ms-flex-order:1;order:1}:host{--border:1px solid var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.13))));--side-min-width:270px;--side-max-width:28%}:host(.split-pane-visible) ::slotted(.split-pane-side){-webkit-border-start:0;border-inline-start:0;-webkit-border-end:var(--border);border-inline-end:var(--border);border-top:0;border-bottom:0;min-width:var(--side-min-width);max-width:var(--side-max-width)}:host(.split-pane-visible) ::slotted(.split-pane-side[side=end]){-webkit-border-start:var(--border);border-inline-start:var(--border);-webkit-border-end:0;border-inline-end:0;border-top:0;border-bottom:0;min-width:var(--side-min-width);max-width:var(--side-max-width)}";var SPLIT_PANE_MAIN="split-pane-main";var SPLIT_PANE_SIDE="split-pane-side";var QUERY={xs:"(min-width: 0px)",sm:"(min-width: 576px)",md:"(min-width: 768px)",lg:"(min-width: 992px)",xl:"(min-width: 1200px)",never:""};var SplitPane=function(){function e(e){registerInstance(this,e);this.ionSplitPaneVisible=createEvent(this,"ionSplitPaneVisible",7);this.visible=false;this.contentId=undefined;this.disabled=false;this.when=QUERY["lg"]}e.prototype.visibleChanged=function(e){var i={visible:e,isPane:this.isPane.bind(this)};this.ionSplitPaneVisible.emit(i)};e.prototype.connectedCallback=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){switch(e.label){case 0:if(!(typeof customElements!=="undefined"&&customElements!=null))return[3,2];return[4,customElements.whenDefined("ion-split-pane")];case 1:e.sent();e.label=2;case 2:this.styleChildren();this.updateState();return[2]}}))}))};e.prototype.disconnectedCallback=function(){if(this.rmL){this.rmL();this.rmL=undefined}};e.prototype.updateState=function(){var e=this;if(this.rmL){this.rmL();this.rmL=undefined}if(this.disabled){this.visible=false;return}var i=this.when;if(typeof i==="boolean"){this.visible=i;return}var t=QUERY[i]||i;if(t.length===0){this.visible=false;return}if(window.matchMedia){var s=function(i){e.visible=i.matches};var n=window.matchMedia(t);n.addListener(s);this.rmL=function(){return n.removeListener(s)};this.visible=n.matches}};e.prototype.isPane=function(e){if(!this.visible){return false}return e.parentElement===this.el&&e.classList.contains(SPLIT_PANE_SIDE)};e.prototype.styleChildren=function(){var e=this.contentId;var i=this.el.children;var t=this.el.childElementCount;var s=false;for(var n=0;n<t;n++){var o=i[n];var r=e!==undefined&&o.id===e;if(r){if(s){console.warn("split pane cannot have more than one main node");return}s=true}setPaneClass(o,r)}if(!s){console.warn("split pane does not have a specified main node")}};e.prototype.render=function(){var e;var i=getIonMode(this);return h(Host,{class:(e={},e[i]=true,e["split-pane-".concat(i)]=true,e["split-pane-visible"]=this.visible,e)},h("slot",null))};Object.defineProperty(e.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{visible:["visibleChanged"],disabled:["updateState"],when:["updateState"]}},enumerable:false,configurable:true});return e}();var setPaneClass=function(e,i){var t;var s;if(i){t=SPLIT_PANE_MAIN;s=SPLIT_PANE_SIDE}else{t=SPLIT_PANE_SIDE;s=SPLIT_PANE_MAIN}var n=e.classList;n.add(t);n.remove(s)};SplitPane.style={ios:splitPaneIosCss,md:splitPaneMdCss};export{SplitPane as ion_split_pane};
@@ -1,4 +1,4 @@
1
1
  import{__awaiter,__generator}from"tslib";
2
2
  /*!
3
3
  * (C) Ionic http://ionicframework.com - MIT License
4
- */import{r as registerInstance,d as createEvent,h,H as Host,f as getElement}from"./index-36a5fd75.js";import{c as createKeyboardController}from"./keyboard-controller-4149afc6.js";import{c as createColorClasses}from"./theme-7670341c.js";import{b as getIonMode,c as config}from"./ionic-global-a9abd569.js";import{k as inheritAttributes}from"./helpers-f586db1c.js";import"./index-b32cad98.js";import"./keyboard-cdb83866.js";import"./capacitor-6d1861b7.js";var tabBarIosCss=":host{-webkit-padding-start:var(--ion-safe-area-left);padding-inline-start:var(--ion-safe-area-left);-webkit-padding-end:var(--ion-safe-area-right);padding-inline-end:var(--ion-safe-area-right);display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:auto;padding-bottom:var(--ion-safe-area-bottom, 0);border-top:var(--border);background:var(--background);color:var(--color);text-align:center;contain:strict;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:10;-webkit-box-sizing:content-box !important;box-sizing:content-box !important}:host(.ion-color) ::slotted(ion-tab-button){--background-focused:var(--ion-color-shade);--color-selected:var(--ion-color-contrast)}:host(.ion-color) ::slotted(.tab-selected){color:var(--ion-color-contrast)}:host(.ion-color),:host(.ion-color) ::slotted(ion-tab-button){color:rgba(var(--ion-color-contrast-rgb), 0.7)}:host(.ion-color),:host(.ion-color) ::slotted(ion-tab-button){background:var(--ion-color-base)}:host(.ion-color) ::slotted(ion-tab-button.ion-focused),:host(.tab-bar-translucent) ::slotted(ion-tab-button.ion-focused){background:var(--background-focused)}:host(.tab-bar-translucent) ::slotted(ion-tab-button){background:transparent}:host([slot=top]){padding-top:var(--ion-safe-area-top, 0);padding-bottom:0;border-top:0;border-bottom:var(--border)}:host(.tab-bar-hidden){display:none !important}:host{--background:var(--ion-tab-bar-background, var(--ion-color-step-50, #f7f7f7));--background-focused:var(--ion-tab-bar-background-focused, #e0e0e0);--border:0.55px solid var(--ion-tab-bar-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.2))));--color:var(--ion-tab-bar-color, var(--ion-color-step-600, #666666));--color-selected:var(--ion-tab-bar-color-selected, var(--ion-color-primary, #3880ff));height:50px}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){:host(.tab-bar-translucent){--background:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8);-webkit-backdrop-filter:saturate(210%) blur(20px);backdrop-filter:saturate(210%) blur(20px)}:host(.ion-color.tab-bar-translucent){background:rgba(var(--ion-color-base-rgb), 0.8)}:host(.tab-bar-translucent) ::slotted(ion-tab-button.ion-focused){background:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.6)}}";var tabBarMdCss=":host{-webkit-padding-start:var(--ion-safe-area-left);padding-inline-start:var(--ion-safe-area-left);-webkit-padding-end:var(--ion-safe-area-right);padding-inline-end:var(--ion-safe-area-right);display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:auto;padding-bottom:var(--ion-safe-area-bottom, 0);border-top:var(--border);background:var(--background);color:var(--color);text-align:center;contain:strict;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:10;-webkit-box-sizing:content-box !important;box-sizing:content-box !important}:host(.ion-color) ::slotted(ion-tab-button){--background-focused:var(--ion-color-shade);--color-selected:var(--ion-color-contrast)}:host(.ion-color) ::slotted(.tab-selected){color:var(--ion-color-contrast)}:host(.ion-color),:host(.ion-color) ::slotted(ion-tab-button){color:rgba(var(--ion-color-contrast-rgb), 0.7)}:host(.ion-color),:host(.ion-color) ::slotted(ion-tab-button){background:var(--ion-color-base)}:host(.ion-color) ::slotted(ion-tab-button.ion-focused),:host(.tab-bar-translucent) ::slotted(ion-tab-button.ion-focused){background:var(--background-focused)}:host(.tab-bar-translucent) ::slotted(ion-tab-button){background:transparent}:host([slot=top]){padding-top:var(--ion-safe-area-top, 0);padding-bottom:0;border-top:0;border-bottom:var(--border)}:host(.tab-bar-hidden){display:none !important}:host{--background:var(--ion-tab-bar-background, var(--ion-background-color, #fff));--background-focused:var(--ion-tab-bar-background-focused, #e0e0e0);--border:1px solid var(--ion-tab-bar-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.07))));--color:var(--ion-tab-bar-color, var(--ion-color-step-650, #595959));--color-selected:var(--ion-tab-bar-color-selected, var(--ion-color-primary, #3880ff));height:56px}";var TabBar=function(){function t(t){registerInstance(this,t);this.ionTabBarChanged=createEvent(this,"ionTabBarChanged",7);this.keyboardCtrl=null;this.keyboardVisible=false;this.color=undefined;this.selectedTab=undefined;this.translucent=false}t.prototype.selectedTabChanged=function(){if(this.selectedTab!==undefined){this.ionTabBarChanged.emit({tab:this.selectedTab})}};t.prototype.componentWillLoad=function(){this.selectedTabChanged()};t.prototype.connectedCallback=function(){return __awaiter(this,void 0,void 0,(function(){var t;var o=this;return __generator(this,(function(e){switch(e.label){case 0:t=this;return[4,createKeyboardController((function(t,e){return __awaiter(o,void 0,void 0,(function(){return __generator(this,(function(o){switch(o.label){case 0:if(!(t===false&&e!==undefined))return[3,2];return[4,e];case 1:o.sent();o.label=2;case 2:this.keyboardVisible=t;return[2]}}))}))}))];case 1:t.keyboardCtrl=e.sent();return[2]}}))}))};t.prototype.disconnectedCallback=function(){if(this.keyboardCtrl){this.keyboardCtrl.destroy()}};t.prototype.render=function(){var t;var o=this,e=o.color,n=o.translucent,i=o.keyboardVisible;var a=getIonMode(this);var r=i&&this.el.getAttribute("slot")!=="top";return h(Host,{role:"tablist","aria-hidden":r?"true":null,class:createColorClasses(e,(t={},t[a]=true,t["tab-bar-translucent"]=n,t["tab-bar-hidden"]=r,t))},h("slot",null))};Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{selectedTab:["selectedTabChanged"]}},enumerable:false,configurable:true});return t}();TabBar.style={ios:tabBarIosCss,md:tabBarMdCss};var tabButtonIosCss=':host{--ripple-color:var(--color-selected);--background-focused-opacity:1;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;height:100%;outline:none;background:var(--background);color:var(--color)}.button-native{border-radius:inherit;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-pack:inherit;justify-content:inherit;width:100%;height:100%;border:0;outline:none;background:transparent;text-decoration:none;cursor:pointer;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-user-drag:none}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:inherit;flex-flow:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-pack:inherit;justify-content:inherit;width:100%;height:100%;z-index:1}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}@media (any-hover: hover){a:hover{color:var(--color-selected)}}:host(.tab-selected){color:var(--color-selected)}:host(.tab-hidden){display:none !important}:host(.tab-disabled){pointer-events:none;opacity:0.4}::slotted(ion-label),::slotted(ion-icon){display:block;-ms-flex-item-align:center;align-self:center;max-width:100%;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box}::slotted(ion-label){-ms-flex-order:0;order:0}::slotted(ion-icon){-ms-flex-order:-1;order:-1;height:1em}:host(.tab-has-label-only) ::slotted(ion-label){white-space:normal}::slotted(ion-badge){-webkit-box-sizing:border-box;box-sizing:border-box;position:absolute;z-index:1}:host(.tab-layout-icon-start){-ms-flex-direction:row;flex-direction:row}:host(.tab-layout-icon-end){-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.tab-layout-icon-bottom){-ms-flex-direction:column-reverse;flex-direction:column-reverse}:host(.tab-layout-icon-hide) ::slotted(ion-icon){display:none}:host(.tab-layout-label-hide) ::slotted(ion-label){display:none}ion-ripple-effect{color:var(--ripple-color)}:host{--padding-top:0;--padding-end:2px;--padding-bottom:0;--padding-start:2px;max-width:240px;font-size:10px}::slotted(ion-badge){-webkit-padding-start:6px;padding-inline-start:6px;-webkit-padding-end:6px;padding-inline-end:6px;padding-top:1px;padding-bottom:1px;top:4px;height:auto;font-size:12px;line-height:16px}@supports (inset-inline-start: 0){::slotted(ion-badge){inset-inline-start:calc(50% + 6px)}}@supports not (inset-inline-start: 0){::slotted(ion-badge){left:calc(50% + 6px)}:host-context([dir=rtl]) ::slotted(ion-badge){left:unset;right:unset;right:calc(50% + 6px)}[dir=rtl] ::slotted(ion-badge){left:unset;right:unset;right:calc(50% + 6px)}@supports selector(:dir(rtl)){::slotted(ion-badge):dir(rtl){left:unset;right:unset;right:calc(50% + 6px)}}}::slotted(ion-icon){margin-top:2px;margin-bottom:2px;font-size:30px}::slotted(ion-icon::before){vertical-align:top}::slotted(ion-label){margin-top:0;margin-bottom:1px;min-height:11px;font-weight:500}:host(.tab-has-label-only) ::slotted(ion-label){margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:12px;font-size:14px;line-height:1.1}:host(.tab-layout-icon-end) ::slotted(ion-label),:host(.tab-layout-icon-start) ::slotted(ion-label),:host(.tab-layout-icon-hide) ::slotted(ion-label){margin-top:2px;margin-bottom:2px;font-size:14px;line-height:1.1}:host(.tab-layout-icon-end) ::slotted(ion-icon),:host(.tab-layout-icon-start) ::slotted(ion-icon){min-width:24px;height:26px;margin-top:2px;margin-bottom:1px;font-size:24px}@supports (inset-inline-start: 0){:host(.tab-layout-icon-bottom) ::slotted(ion-badge){inset-inline-start:calc(50% + 12px)}}@supports not (inset-inline-start: 0){:host(.tab-layout-icon-bottom) ::slotted(ion-badge){left:calc(50% + 12px)}:host-context([dir=rtl]):host(.tab-layout-icon-bottom) ::slotted(ion-badge),:host-context([dir=rtl]).tab-layout-icon-bottom ::slotted(ion-badge){left:unset;right:unset;right:calc(50% + 12px)}@supports selector(:dir(rtl)){:host(.tab-layout-icon-bottom) ::slotted(ion-badge):dir(rtl){left:unset;right:unset;right:calc(50% + 12px)}}}:host(.tab-layout-icon-bottom) ::slotted(ion-icon){margin-top:0;margin-bottom:1px}:host(.tab-layout-icon-bottom) ::slotted(ion-label){margin-top:4px}:host(.tab-layout-icon-start) ::slotted(ion-badge),:host(.tab-layout-icon-end) ::slotted(ion-badge){top:10px}@supports (inset-inline-start: 0){:host(.tab-layout-icon-start) ::slotted(ion-badge),:host(.tab-layout-icon-end) ::slotted(ion-badge){inset-inline-start:calc(50% + 35px)}}@supports not (inset-inline-start: 0){:host(.tab-layout-icon-start) ::slotted(ion-badge),:host(.tab-layout-icon-end) ::slotted(ion-badge){left:calc(50% + 35px)}:host-context([dir=rtl]):host(.tab-layout-icon-start) ::slotted(ion-badge),:host-context([dir=rtl]).tab-layout-icon-start ::slotted(ion-badge),:host-context([dir=rtl]):host(.tab-layout-icon-end) ::slotted(ion-badge),:host-context([dir=rtl]).tab-layout-icon-end ::slotted(ion-badge){left:unset;right:unset;right:calc(50% + 35px)}@supports selector(:dir(rtl)){:host(.tab-layout-icon-start) ::slotted(ion-badge):dir(rtl),:host(.tab-layout-icon-end) ::slotted(ion-badge):dir(rtl){left:unset;right:unset;right:calc(50% + 35px)}}}:host(.tab-layout-icon-hide) ::slotted(ion-badge),:host(.tab-has-label-only) ::slotted(ion-badge){top:10px}@supports (inset-inline-start: 0){:host(.tab-layout-icon-hide) ::slotted(ion-badge),:host(.tab-has-label-only) ::slotted(ion-badge){inset-inline-start:calc(50% + 30px)}}@supports not (inset-inline-start: 0){:host(.tab-layout-icon-hide) ::slotted(ion-badge),:host(.tab-has-label-only) ::slotted(ion-badge){left:calc(50% + 30px)}:host-context([dir=rtl]):host(.tab-layout-icon-hide) ::slotted(ion-badge),:host-context([dir=rtl]).tab-layout-icon-hide ::slotted(ion-badge),:host-context([dir=rtl]):host(.tab-has-label-only) ::slotted(ion-badge),:host-context([dir=rtl]).tab-has-label-only ::slotted(ion-badge){left:unset;right:unset;right:calc(50% + 30px)}@supports selector(:dir(rtl)){:host(.tab-layout-icon-hide) ::slotted(ion-badge):dir(rtl),:host(.tab-has-label-only) ::slotted(ion-badge):dir(rtl){left:unset;right:unset;right:calc(50% + 30px)}}}:host(.tab-layout-label-hide) ::slotted(ion-badge),:host(.tab-has-icon-only) ::slotted(ion-badge){top:10px}:host(.tab-layout-label-hide) ::slotted(ion-icon){margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}';var tabButtonMdCss=':host{--ripple-color:var(--color-selected);--background-focused-opacity:1;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;height:100%;outline:none;background:var(--background);color:var(--color)}.button-native{border-radius:inherit;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-pack:inherit;justify-content:inherit;width:100%;height:100%;border:0;outline:none;background:transparent;text-decoration:none;cursor:pointer;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-user-drag:none}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:inherit;flex-flow:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-pack:inherit;justify-content:inherit;width:100%;height:100%;z-index:1}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}@media (any-hover: hover){a:hover{color:var(--color-selected)}}:host(.tab-selected){color:var(--color-selected)}:host(.tab-hidden){display:none !important}:host(.tab-disabled){pointer-events:none;opacity:0.4}::slotted(ion-label),::slotted(ion-icon){display:block;-ms-flex-item-align:center;align-self:center;max-width:100%;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box}::slotted(ion-label){-ms-flex-order:0;order:0}::slotted(ion-icon){-ms-flex-order:-1;order:-1;height:1em}:host(.tab-has-label-only) ::slotted(ion-label){white-space:normal}::slotted(ion-badge){-webkit-box-sizing:border-box;box-sizing:border-box;position:absolute;z-index:1}:host(.tab-layout-icon-start){-ms-flex-direction:row;flex-direction:row}:host(.tab-layout-icon-end){-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.tab-layout-icon-bottom){-ms-flex-direction:column-reverse;flex-direction:column-reverse}:host(.tab-layout-icon-hide) ::slotted(ion-icon){display:none}:host(.tab-layout-label-hide) ::slotted(ion-label){display:none}ion-ripple-effect{color:var(--ripple-color)}:host{--padding-top:0;--padding-end:12px;--padding-bottom:0;--padding-start:12px;max-width:168px;font-size:12px;font-weight:normal;letter-spacing:0.03em}::slotted(ion-label){margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;text-transform:none}::slotted(ion-icon){margin-left:0;margin-right:0;margin-top:16px;margin-bottom:16px;-webkit-transform-origin:center center;transform-origin:center center;font-size:22px}:host-context([dir=rtl]) ::slotted(ion-icon){-webkit-transform-origin:calc(100% - center) center;transform-origin:calc(100% - center) center}[dir=rtl] ::slotted(ion-icon){-webkit-transform-origin:calc(100% - center) center;transform-origin:calc(100% - center) center}@supports selector(:dir(rtl)){::slotted(ion-icon):dir(rtl){-webkit-transform-origin:calc(100% - center) center;transform-origin:calc(100% - center) center}}::slotted(ion-badge){border-radius:8px;-webkit-padding-start:2px;padding-inline-start:2px;-webkit-padding-end:2px;padding-inline-end:2px;padding-top:3px;padding-bottom:2px;top:8px;min-width:12px;font-size:8px;font-weight:normal}@supports (inset-inline-start: 0){::slotted(ion-badge){inset-inline-start:calc(50% + 6px)}}@supports not (inset-inline-start: 0){::slotted(ion-badge){left:calc(50% + 6px)}:host-context([dir=rtl]) ::slotted(ion-badge){left:unset;right:unset;right:calc(50% + 6px)}[dir=rtl] ::slotted(ion-badge){left:unset;right:unset;right:calc(50% + 6px)}@supports selector(:dir(rtl)){::slotted(ion-badge):dir(rtl){left:unset;right:unset;right:calc(50% + 6px)}}}::slotted(ion-badge:empty){display:block;min-width:8px;height:8px}:host(.tab-layout-icon-top) ::slotted(ion-icon){margin-top:6px;margin-bottom:2px}:host(.tab-layout-icon-top) ::slotted(ion-label){margin-top:0;margin-bottom:6px}:host(.tab-layout-icon-bottom) ::slotted(ion-badge){top:8px}@supports (inset-inline-start: 0){:host(.tab-layout-icon-bottom) ::slotted(ion-badge){inset-inline-start:70%}}@supports not (inset-inline-start: 0){:host(.tab-layout-icon-bottom) ::slotted(ion-badge){left:70%}:host-context([dir=rtl]):host(.tab-layout-icon-bottom) ::slotted(ion-badge),:host-context([dir=rtl]).tab-layout-icon-bottom ::slotted(ion-badge){left:unset;right:unset;right:70%}@supports selector(:dir(rtl)){:host(.tab-layout-icon-bottom) ::slotted(ion-badge):dir(rtl){left:unset;right:unset;right:70%}}}:host(.tab-layout-icon-bottom) ::slotted(ion-icon){margin-top:0;margin-bottom:6px}:host(.tab-layout-icon-bottom) ::slotted(ion-label){margin-top:6px;margin-bottom:0}:host(.tab-layout-icon-start) ::slotted(ion-badge),:host(.tab-layout-icon-end) ::slotted(ion-badge){top:16px}@supports (inset-inline-start: 0){:host(.tab-layout-icon-start) ::slotted(ion-badge),:host(.tab-layout-icon-end) ::slotted(ion-badge){inset-inline-start:80%}}@supports not (inset-inline-start: 0){:host(.tab-layout-icon-start) ::slotted(ion-badge),:host(.tab-layout-icon-end) ::slotted(ion-badge){left:80%}:host-context([dir=rtl]):host(.tab-layout-icon-start) ::slotted(ion-badge),:host-context([dir=rtl]).tab-layout-icon-start ::slotted(ion-badge),:host-context([dir=rtl]):host(.tab-layout-icon-end) ::slotted(ion-badge),:host-context([dir=rtl]).tab-layout-icon-end ::slotted(ion-badge){left:unset;right:unset;right:80%}@supports selector(:dir(rtl)){:host(.tab-layout-icon-start) ::slotted(ion-badge):dir(rtl),:host(.tab-layout-icon-end) ::slotted(ion-badge):dir(rtl){left:unset;right:unset;right:80%}}}:host(.tab-layout-icon-start) ::slotted(ion-icon){-webkit-margin-end:6px;margin-inline-end:6px}:host(.tab-layout-icon-end) ::slotted(ion-icon){-webkit-margin-start:6px;margin-inline-start:6px}:host(.tab-layout-icon-hide) ::slotted(ion-badge),:host(.tab-has-label-only) ::slotted(ion-badge){top:16px}@supports (inset-inline-start: 0){:host(.tab-layout-icon-hide) ::slotted(ion-badge),:host(.tab-has-label-only) ::slotted(ion-badge){inset-inline-start:70%}}@supports not (inset-inline-start: 0){:host(.tab-layout-icon-hide) ::slotted(ion-badge),:host(.tab-has-label-only) ::slotted(ion-badge){left:70%}:host-context([dir=rtl]):host(.tab-layout-icon-hide) ::slotted(ion-badge),:host-context([dir=rtl]).tab-layout-icon-hide ::slotted(ion-badge),:host-context([dir=rtl]):host(.tab-has-label-only) ::slotted(ion-badge),:host-context([dir=rtl]).tab-has-label-only ::slotted(ion-badge){left:unset;right:unset;right:70%}@supports selector(:dir(rtl)){:host(.tab-layout-icon-hide) ::slotted(ion-badge):dir(rtl),:host(.tab-has-label-only) ::slotted(ion-badge):dir(rtl){left:unset;right:unset;right:70%}}}:host(.tab-layout-icon-hide) ::slotted(ion-label),:host(.tab-has-label-only) ::slotted(ion-label){margin-top:0;margin-bottom:0}:host(.tab-layout-label-hide) ::slotted(ion-badge),:host(.tab-has-icon-only) ::slotted(ion-badge){top:16px}:host(.tab-layout-label-hide) ::slotted(ion-icon),:host(.tab-has-icon-only) ::slotted(ion-icon){margin-top:0;margin-bottom:0;font-size:24px}';var TabButton=function(){function t(t){var o=this;registerInstance(this,t);this.ionTabButtonClick=createEvent(this,"ionTabButtonClick",7);this.inheritedAttributes={};this.onKeyUp=function(t){if(t.key==="Enter"||t.key===" "){o.selectTab(t)}};this.onClick=function(t){o.selectTab(t)};this.disabled=false;this.download=undefined;this.href=undefined;this.rel=undefined;this.layout=undefined;this.selected=false;this.tab=undefined;this.target=undefined}t.prototype.onTabBarChanged=function(t){var o=t.target;var e=this.el.parentElement;if(t.composedPath().includes(e)||(o===null||o===void 0?void 0:o.contains(this.el))){this.selected=this.tab===t.detail.tab}};t.prototype.componentWillLoad=function(){this.inheritedAttributes=Object.assign({},inheritAttributes(this.el,["aria-label"]));if(this.layout===undefined){this.layout=config.get("tabButtonLayout","icon-top")}};t.prototype.selectTab=function(t){if(this.tab!==undefined){if(!this.disabled){this.ionTabButtonClick.emit({tab:this.tab,href:this.href,selected:this.selected})}t.preventDefault()}};Object.defineProperty(t.prototype,"hasLabel",{get:function(){return!!this.el.querySelector("ion-label")},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"hasIcon",{get:function(){return!!this.el.querySelector("ion-icon")},enumerable:false,configurable:true});t.prototype.render=function(){var t;var o=this,e=o.disabled,n=o.hasIcon,i=o.hasLabel,a=o.href,r=o.rel,s=o.target,l=o.layout,d=o.selected,b=o.tab,c=o.inheritedAttributes;var p=getIonMode(this);var u={download:this.download,href:a,rel:r,target:s};return h(Host,{onClick:this.onClick,onKeyup:this.onKeyUp,id:b!==undefined?"tab-button-".concat(b):null,class:(t={},t[p]=true,t["tab-selected"]=d,t["tab-disabled"]=e,t["tab-has-label"]=i,t["tab-has-icon"]=n,t["tab-has-label-only"]=i&&!n,t["tab-has-icon-only"]=n&&!i,t["tab-layout-".concat(l)]=true,t["ion-activatable"]=true,t["ion-selectable"]=true,t["ion-focusable"]=true,t)},h("a",Object.assign({},u,{class:"button-native",part:"native",role:"tab","aria-selected":d?"true":null,"aria-disabled":e?"true":null,tabindex:e?"-1":undefined},c),h("span",{class:"button-inner"},h("slot",null)),p==="md"&&h("ion-ripple-effect",{type:"unbounded"})))};Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});return t}();TabButton.style={ios:tabButtonIosCss,md:tabButtonMdCss};export{TabBar as ion_tab_bar,TabButton as ion_tab_button};
4
+ */import{r as registerInstance,d as createEvent,h,H as Host,f as getElement}from"./index-cb894020.js";import{c as createKeyboardController}from"./keyboard-controller-0c2dce71.js";import{c as createColorClasses}from"./theme-17531cdf.js";import{b as getIonMode,c as config}from"./ionic-global-63a8d8c9.js";import{k as inheritAttributes}from"./helpers-3379ba19.js";import"./index-7a14ecec.js";import"./keyboard-b063f012.js";import"./capacitor-b4979570.js";var tabBarIosCss=":host{-webkit-padding-start:var(--ion-safe-area-left);padding-inline-start:var(--ion-safe-area-left);-webkit-padding-end:var(--ion-safe-area-right);padding-inline-end:var(--ion-safe-area-right);display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:auto;padding-bottom:var(--ion-safe-area-bottom, 0);border-top:var(--border);background:var(--background);color:var(--color);text-align:center;contain:strict;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:10;-webkit-box-sizing:content-box !important;box-sizing:content-box !important}:host(.ion-color) ::slotted(ion-tab-button){--background-focused:var(--ion-color-shade);--color-selected:var(--ion-color-contrast)}:host(.ion-color) ::slotted(.tab-selected){color:var(--ion-color-contrast)}:host(.ion-color),:host(.ion-color) ::slotted(ion-tab-button){color:rgba(var(--ion-color-contrast-rgb), 0.7)}:host(.ion-color),:host(.ion-color) ::slotted(ion-tab-button){background:var(--ion-color-base)}:host(.ion-color) ::slotted(ion-tab-button.ion-focused),:host(.tab-bar-translucent) ::slotted(ion-tab-button.ion-focused){background:var(--background-focused)}:host(.tab-bar-translucent) ::slotted(ion-tab-button){background:transparent}:host([slot=top]){padding-top:var(--ion-safe-area-top, 0);padding-bottom:0;border-top:0;border-bottom:var(--border)}:host(.tab-bar-hidden){display:none !important}:host{--background:var(--ion-tab-bar-background, var(--ion-color-step-50, #f7f7f7));--background-focused:var(--ion-tab-bar-background-focused, #e0e0e0);--border:0.55px solid var(--ion-tab-bar-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.2))));--color:var(--ion-tab-bar-color, var(--ion-color-step-600, #666666));--color-selected:var(--ion-tab-bar-color-selected, var(--ion-color-primary, #3880ff));height:50px}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){:host(.tab-bar-translucent){--background:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8);-webkit-backdrop-filter:saturate(210%) blur(20px);backdrop-filter:saturate(210%) blur(20px)}:host(.ion-color.tab-bar-translucent){background:rgba(var(--ion-color-base-rgb), 0.8)}:host(.tab-bar-translucent) ::slotted(ion-tab-button.ion-focused){background:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.6)}}";var tabBarMdCss=":host{-webkit-padding-start:var(--ion-safe-area-left);padding-inline-start:var(--ion-safe-area-left);-webkit-padding-end:var(--ion-safe-area-right);padding-inline-end:var(--ion-safe-area-right);display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:auto;padding-bottom:var(--ion-safe-area-bottom, 0);border-top:var(--border);background:var(--background);color:var(--color);text-align:center;contain:strict;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:10;-webkit-box-sizing:content-box !important;box-sizing:content-box !important}:host(.ion-color) ::slotted(ion-tab-button){--background-focused:var(--ion-color-shade);--color-selected:var(--ion-color-contrast)}:host(.ion-color) ::slotted(.tab-selected){color:var(--ion-color-contrast)}:host(.ion-color),:host(.ion-color) ::slotted(ion-tab-button){color:rgba(var(--ion-color-contrast-rgb), 0.7)}:host(.ion-color),:host(.ion-color) ::slotted(ion-tab-button){background:var(--ion-color-base)}:host(.ion-color) ::slotted(ion-tab-button.ion-focused),:host(.tab-bar-translucent) ::slotted(ion-tab-button.ion-focused){background:var(--background-focused)}:host(.tab-bar-translucent) ::slotted(ion-tab-button){background:transparent}:host([slot=top]){padding-top:var(--ion-safe-area-top, 0);padding-bottom:0;border-top:0;border-bottom:var(--border)}:host(.tab-bar-hidden){display:none !important}:host{--background:var(--ion-tab-bar-background, var(--ion-background-color, #fff));--background-focused:var(--ion-tab-bar-background-focused, #e0e0e0);--border:1px solid var(--ion-tab-bar-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.07))));--color:var(--ion-tab-bar-color, var(--ion-color-step-650, #595959));--color-selected:var(--ion-tab-bar-color-selected, var(--ion-color-primary, #3880ff));height:56px}";var TabBar=function(){function t(t){registerInstance(this,t);this.ionTabBarChanged=createEvent(this,"ionTabBarChanged",7);this.ionTabBarLoaded=createEvent(this,"ionTabBarLoaded",7);this.keyboardCtrl=null;this.keyboardVisible=false;this.color=undefined;this.selectedTab=undefined;this.translucent=false}t.prototype.selectedTabChanged=function(){if(this.selectedTab!==undefined){this.ionTabBarChanged.emit({tab:this.selectedTab})}};t.prototype.componentWillLoad=function(){this.selectedTabChanged()};t.prototype.connectedCallback=function(){return __awaiter(this,void 0,void 0,(function(){var t;var o=this;return __generator(this,(function(e){switch(e.label){case 0:t=this;return[4,createKeyboardController((function(t,e){return __awaiter(o,void 0,void 0,(function(){return __generator(this,(function(o){switch(o.label){case 0:if(!(t===false&&e!==undefined))return[3,2];return[4,e];case 1:o.sent();o.label=2;case 2:this.keyboardVisible=t;return[2]}}))}))}))];case 1:t.keyboardCtrl=e.sent();return[2]}}))}))};t.prototype.disconnectedCallback=function(){if(this.keyboardCtrl){this.keyboardCtrl.destroy()}};t.prototype.componentDidLoad=function(){this.ionTabBarLoaded.emit()};t.prototype.render=function(){var t;var o=this,e=o.color,n=o.translucent,i=o.keyboardVisible;var a=getIonMode(this);var r=i&&this.el.getAttribute("slot")!=="top";return h(Host,{role:"tablist","aria-hidden":r?"true":null,class:createColorClasses(e,(t={},t[a]=true,t["tab-bar-translucent"]=n,t["tab-bar-hidden"]=r,t))},h("slot",null))};Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{selectedTab:["selectedTabChanged"]}},enumerable:false,configurable:true});return t}();TabBar.style={ios:tabBarIosCss,md:tabBarMdCss};var tabButtonIosCss=':host{--ripple-color:var(--color-selected);--background-focused-opacity:1;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;height:100%;outline:none;background:var(--background);color:var(--color)}.button-native{border-radius:inherit;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-pack:inherit;justify-content:inherit;width:100%;height:100%;border:0;outline:none;background:transparent;text-decoration:none;cursor:pointer;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-user-drag:none}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:inherit;flex-flow:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-pack:inherit;justify-content:inherit;width:100%;height:100%;z-index:1}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}@media (any-hover: hover){a:hover{color:var(--color-selected)}}:host(.tab-selected){color:var(--color-selected)}:host(.tab-hidden){display:none !important}:host(.tab-disabled){pointer-events:none;opacity:0.4}::slotted(ion-label),::slotted(ion-icon){display:block;-ms-flex-item-align:center;align-self:center;max-width:100%;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box}::slotted(ion-label){-ms-flex-order:0;order:0}::slotted(ion-icon){-ms-flex-order:-1;order:-1;height:1em}:host(.tab-has-label-only) ::slotted(ion-label){white-space:normal}::slotted(ion-badge){-webkit-box-sizing:border-box;box-sizing:border-box;position:absolute;z-index:1}:host(.tab-layout-icon-start){-ms-flex-direction:row;flex-direction:row}:host(.tab-layout-icon-end){-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.tab-layout-icon-bottom){-ms-flex-direction:column-reverse;flex-direction:column-reverse}:host(.tab-layout-icon-hide) ::slotted(ion-icon){display:none}:host(.tab-layout-label-hide) ::slotted(ion-label){display:none}ion-ripple-effect{color:var(--ripple-color)}:host{--padding-top:0;--padding-end:2px;--padding-bottom:0;--padding-start:2px;max-width:240px;font-size:10px}::slotted(ion-badge){-webkit-padding-start:6px;padding-inline-start:6px;-webkit-padding-end:6px;padding-inline-end:6px;padding-top:1px;padding-bottom:1px;top:4px;height:auto;font-size:12px;line-height:16px}@supports (inset-inline-start: 0){::slotted(ion-badge){inset-inline-start:calc(50% + 6px)}}@supports not (inset-inline-start: 0){::slotted(ion-badge){left:calc(50% + 6px)}:host-context([dir=rtl]) ::slotted(ion-badge){left:unset;right:unset;right:calc(50% + 6px)}[dir=rtl] ::slotted(ion-badge){left:unset;right:unset;right:calc(50% + 6px)}@supports selector(:dir(rtl)){::slotted(ion-badge):dir(rtl){left:unset;right:unset;right:calc(50% + 6px)}}}::slotted(ion-icon){margin-top:2px;margin-bottom:2px;font-size:30px}::slotted(ion-icon::before){vertical-align:top}::slotted(ion-label){margin-top:0;margin-bottom:1px;min-height:11px;font-weight:500}:host(.tab-has-label-only) ::slotted(ion-label){margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:12px;font-size:14px;line-height:1.1}:host(.tab-layout-icon-end) ::slotted(ion-label),:host(.tab-layout-icon-start) ::slotted(ion-label),:host(.tab-layout-icon-hide) ::slotted(ion-label){margin-top:2px;margin-bottom:2px;font-size:14px;line-height:1.1}:host(.tab-layout-icon-end) ::slotted(ion-icon),:host(.tab-layout-icon-start) ::slotted(ion-icon){min-width:24px;height:26px;margin-top:2px;margin-bottom:1px;font-size:24px}@supports (inset-inline-start: 0){:host(.tab-layout-icon-bottom) ::slotted(ion-badge){inset-inline-start:calc(50% + 12px)}}@supports not (inset-inline-start: 0){:host(.tab-layout-icon-bottom) ::slotted(ion-badge){left:calc(50% + 12px)}:host-context([dir=rtl]):host(.tab-layout-icon-bottom) ::slotted(ion-badge),:host-context([dir=rtl]).tab-layout-icon-bottom ::slotted(ion-badge){left:unset;right:unset;right:calc(50% + 12px)}@supports selector(:dir(rtl)){:host(.tab-layout-icon-bottom) ::slotted(ion-badge):dir(rtl){left:unset;right:unset;right:calc(50% + 12px)}}}:host(.tab-layout-icon-bottom) ::slotted(ion-icon){margin-top:0;margin-bottom:1px}:host(.tab-layout-icon-bottom) ::slotted(ion-label){margin-top:4px}:host(.tab-layout-icon-start) ::slotted(ion-badge),:host(.tab-layout-icon-end) ::slotted(ion-badge){top:10px}@supports (inset-inline-start: 0){:host(.tab-layout-icon-start) ::slotted(ion-badge),:host(.tab-layout-icon-end) ::slotted(ion-badge){inset-inline-start:calc(50% + 35px)}}@supports not (inset-inline-start: 0){:host(.tab-layout-icon-start) ::slotted(ion-badge),:host(.tab-layout-icon-end) ::slotted(ion-badge){left:calc(50% + 35px)}:host-context([dir=rtl]):host(.tab-layout-icon-start) ::slotted(ion-badge),:host-context([dir=rtl]).tab-layout-icon-start ::slotted(ion-badge),:host-context([dir=rtl]):host(.tab-layout-icon-end) ::slotted(ion-badge),:host-context([dir=rtl]).tab-layout-icon-end ::slotted(ion-badge){left:unset;right:unset;right:calc(50% + 35px)}@supports selector(:dir(rtl)){:host(.tab-layout-icon-start) ::slotted(ion-badge):dir(rtl),:host(.tab-layout-icon-end) ::slotted(ion-badge):dir(rtl){left:unset;right:unset;right:calc(50% + 35px)}}}:host(.tab-layout-icon-hide) ::slotted(ion-badge),:host(.tab-has-label-only) ::slotted(ion-badge){top:10px}@supports (inset-inline-start: 0){:host(.tab-layout-icon-hide) ::slotted(ion-badge),:host(.tab-has-label-only) ::slotted(ion-badge){inset-inline-start:calc(50% + 30px)}}@supports not (inset-inline-start: 0){:host(.tab-layout-icon-hide) ::slotted(ion-badge),:host(.tab-has-label-only) ::slotted(ion-badge){left:calc(50% + 30px)}:host-context([dir=rtl]):host(.tab-layout-icon-hide) ::slotted(ion-badge),:host-context([dir=rtl]).tab-layout-icon-hide ::slotted(ion-badge),:host-context([dir=rtl]):host(.tab-has-label-only) ::slotted(ion-badge),:host-context([dir=rtl]).tab-has-label-only ::slotted(ion-badge){left:unset;right:unset;right:calc(50% + 30px)}@supports selector(:dir(rtl)){:host(.tab-layout-icon-hide) ::slotted(ion-badge):dir(rtl),:host(.tab-has-label-only) ::slotted(ion-badge):dir(rtl){left:unset;right:unset;right:calc(50% + 30px)}}}:host(.tab-layout-label-hide) ::slotted(ion-badge),:host(.tab-has-icon-only) ::slotted(ion-badge){top:10px}:host(.tab-layout-label-hide) ::slotted(ion-icon){margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}';var tabButtonMdCss=':host{--ripple-color:var(--color-selected);--background-focused-opacity:1;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;height:100%;outline:none;background:var(--background);color:var(--color)}.button-native{border-radius:inherit;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-pack:inherit;justify-content:inherit;width:100%;height:100%;border:0;outline:none;background:transparent;text-decoration:none;cursor:pointer;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-user-drag:none}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:inherit;flex-flow:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-pack:inherit;justify-content:inherit;width:100%;height:100%;z-index:1}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}@media (any-hover: hover){a:hover{color:var(--color-selected)}}:host(.tab-selected){color:var(--color-selected)}:host(.tab-hidden){display:none !important}:host(.tab-disabled){pointer-events:none;opacity:0.4}::slotted(ion-label),::slotted(ion-icon){display:block;-ms-flex-item-align:center;align-self:center;max-width:100%;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box}::slotted(ion-label){-ms-flex-order:0;order:0}::slotted(ion-icon){-ms-flex-order:-1;order:-1;height:1em}:host(.tab-has-label-only) ::slotted(ion-label){white-space:normal}::slotted(ion-badge){-webkit-box-sizing:border-box;box-sizing:border-box;position:absolute;z-index:1}:host(.tab-layout-icon-start){-ms-flex-direction:row;flex-direction:row}:host(.tab-layout-icon-end){-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.tab-layout-icon-bottom){-ms-flex-direction:column-reverse;flex-direction:column-reverse}:host(.tab-layout-icon-hide) ::slotted(ion-icon){display:none}:host(.tab-layout-label-hide) ::slotted(ion-label){display:none}ion-ripple-effect{color:var(--ripple-color)}:host{--padding-top:0;--padding-end:12px;--padding-bottom:0;--padding-start:12px;max-width:168px;font-size:12px;font-weight:normal;letter-spacing:0.03em}::slotted(ion-label){margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;text-transform:none}::slotted(ion-icon){margin-left:0;margin-right:0;margin-top:16px;margin-bottom:16px;-webkit-transform-origin:center center;transform-origin:center center;font-size:22px}:host-context([dir=rtl]) ::slotted(ion-icon){-webkit-transform-origin:calc(100% - center) center;transform-origin:calc(100% - center) center}[dir=rtl] ::slotted(ion-icon){-webkit-transform-origin:calc(100% - center) center;transform-origin:calc(100% - center) center}@supports selector(:dir(rtl)){::slotted(ion-icon):dir(rtl){-webkit-transform-origin:calc(100% - center) center;transform-origin:calc(100% - center) center}}::slotted(ion-badge){border-radius:8px;-webkit-padding-start:2px;padding-inline-start:2px;-webkit-padding-end:2px;padding-inline-end:2px;padding-top:3px;padding-bottom:2px;top:8px;min-width:12px;font-size:8px;font-weight:normal}@supports (inset-inline-start: 0){::slotted(ion-badge){inset-inline-start:calc(50% + 6px)}}@supports not (inset-inline-start: 0){::slotted(ion-badge){left:calc(50% + 6px)}:host-context([dir=rtl]) ::slotted(ion-badge){left:unset;right:unset;right:calc(50% + 6px)}[dir=rtl] ::slotted(ion-badge){left:unset;right:unset;right:calc(50% + 6px)}@supports selector(:dir(rtl)){::slotted(ion-badge):dir(rtl){left:unset;right:unset;right:calc(50% + 6px)}}}::slotted(ion-badge:empty){display:block;min-width:8px;height:8px}:host(.tab-layout-icon-top) ::slotted(ion-icon){margin-top:6px;margin-bottom:2px}:host(.tab-layout-icon-top) ::slotted(ion-label){margin-top:0;margin-bottom:6px}:host(.tab-layout-icon-bottom) ::slotted(ion-badge){top:8px}@supports (inset-inline-start: 0){:host(.tab-layout-icon-bottom) ::slotted(ion-badge){inset-inline-start:70%}}@supports not (inset-inline-start: 0){:host(.tab-layout-icon-bottom) ::slotted(ion-badge){left:70%}:host-context([dir=rtl]):host(.tab-layout-icon-bottom) ::slotted(ion-badge),:host-context([dir=rtl]).tab-layout-icon-bottom ::slotted(ion-badge){left:unset;right:unset;right:70%}@supports selector(:dir(rtl)){:host(.tab-layout-icon-bottom) ::slotted(ion-badge):dir(rtl){left:unset;right:unset;right:70%}}}:host(.tab-layout-icon-bottom) ::slotted(ion-icon){margin-top:0;margin-bottom:6px}:host(.tab-layout-icon-bottom) ::slotted(ion-label){margin-top:6px;margin-bottom:0}:host(.tab-layout-icon-start) ::slotted(ion-badge),:host(.tab-layout-icon-end) ::slotted(ion-badge){top:16px}@supports (inset-inline-start: 0){:host(.tab-layout-icon-start) ::slotted(ion-badge),:host(.tab-layout-icon-end) ::slotted(ion-badge){inset-inline-start:80%}}@supports not (inset-inline-start: 0){:host(.tab-layout-icon-start) ::slotted(ion-badge),:host(.tab-layout-icon-end) ::slotted(ion-badge){left:80%}:host-context([dir=rtl]):host(.tab-layout-icon-start) ::slotted(ion-badge),:host-context([dir=rtl]).tab-layout-icon-start ::slotted(ion-badge),:host-context([dir=rtl]):host(.tab-layout-icon-end) ::slotted(ion-badge),:host-context([dir=rtl]).tab-layout-icon-end ::slotted(ion-badge){left:unset;right:unset;right:80%}@supports selector(:dir(rtl)){:host(.tab-layout-icon-start) ::slotted(ion-badge):dir(rtl),:host(.tab-layout-icon-end) ::slotted(ion-badge):dir(rtl){left:unset;right:unset;right:80%}}}:host(.tab-layout-icon-start) ::slotted(ion-icon){-webkit-margin-end:6px;margin-inline-end:6px}:host(.tab-layout-icon-end) ::slotted(ion-icon){-webkit-margin-start:6px;margin-inline-start:6px}:host(.tab-layout-icon-hide) ::slotted(ion-badge),:host(.tab-has-label-only) ::slotted(ion-badge){top:16px}@supports (inset-inline-start: 0){:host(.tab-layout-icon-hide) ::slotted(ion-badge),:host(.tab-has-label-only) ::slotted(ion-badge){inset-inline-start:70%}}@supports not (inset-inline-start: 0){:host(.tab-layout-icon-hide) ::slotted(ion-badge),:host(.tab-has-label-only) ::slotted(ion-badge){left:70%}:host-context([dir=rtl]):host(.tab-layout-icon-hide) ::slotted(ion-badge),:host-context([dir=rtl]).tab-layout-icon-hide ::slotted(ion-badge),:host-context([dir=rtl]):host(.tab-has-label-only) ::slotted(ion-badge),:host-context([dir=rtl]).tab-has-label-only ::slotted(ion-badge){left:unset;right:unset;right:70%}@supports selector(:dir(rtl)){:host(.tab-layout-icon-hide) ::slotted(ion-badge):dir(rtl),:host(.tab-has-label-only) ::slotted(ion-badge):dir(rtl){left:unset;right:unset;right:70%}}}:host(.tab-layout-icon-hide) ::slotted(ion-label),:host(.tab-has-label-only) ::slotted(ion-label){margin-top:0;margin-bottom:0}:host(.tab-layout-label-hide) ::slotted(ion-badge),:host(.tab-has-icon-only) ::slotted(ion-badge){top:16px}:host(.tab-layout-label-hide) ::slotted(ion-icon),:host(.tab-has-icon-only) ::slotted(ion-icon){margin-top:0;margin-bottom:0;font-size:24px}';var TabButton=function(){function t(t){var o=this;registerInstance(this,t);this.ionTabButtonClick=createEvent(this,"ionTabButtonClick",7);this.inheritedAttributes={};this.onKeyUp=function(t){if(t.key==="Enter"||t.key===" "){o.selectTab(t)}};this.onClick=function(t){o.selectTab(t)};this.disabled=false;this.download=undefined;this.href=undefined;this.rel=undefined;this.layout=undefined;this.selected=false;this.tab=undefined;this.target=undefined}t.prototype.onTabBarChanged=function(t){var o=t.target;var e=this.el.parentElement;if(t.composedPath().includes(e)||(o===null||o===void 0?void 0:o.contains(this.el))){this.selected=this.tab===t.detail.tab}};t.prototype.componentWillLoad=function(){this.inheritedAttributes=Object.assign({},inheritAttributes(this.el,["aria-label"]));if(this.layout===undefined){this.layout=config.get("tabButtonLayout","icon-top")}};t.prototype.selectTab=function(t){if(this.tab!==undefined){if(!this.disabled){this.ionTabButtonClick.emit({tab:this.tab,href:this.href,selected:this.selected})}t.preventDefault()}};Object.defineProperty(t.prototype,"hasLabel",{get:function(){return!!this.el.querySelector("ion-label")},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"hasIcon",{get:function(){return!!this.el.querySelector("ion-icon")},enumerable:false,configurable:true});t.prototype.render=function(){var t;var o=this,e=o.disabled,n=o.hasIcon,i=o.hasLabel,a=o.href,r=o.rel,s=o.target,l=o.layout,d=o.selected,b=o.tab,c=o.inheritedAttributes;var p=getIonMode(this);var u={download:this.download,href:a,rel:r,target:s};return h(Host,{onClick:this.onClick,onKeyup:this.onKeyUp,id:b!==undefined?"tab-button-".concat(b):null,class:(t={},t[p]=true,t["tab-selected"]=d,t["tab-disabled"]=e,t["tab-has-label"]=i,t["tab-has-icon"]=n,t["tab-has-label-only"]=i&&!n,t["tab-has-icon-only"]=n&&!i,t["tab-layout-".concat(l)]=true,t["ion-activatable"]=true,t["ion-selectable"]=true,t["ion-focusable"]=true,t)},h("a",Object.assign({},u,{class:"button-native",part:"native",role:"tab","aria-selected":d?"true":null,"aria-disabled":e?"true":null,tabindex:e?"-1":undefined},c),h("span",{class:"button-inner"},h("slot",null)),p==="md"&&h("ion-ripple-effect",{type:"unbounded"})))};Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});return t}();TabButton.style={ios:tabButtonIosCss,md:tabButtonMdCss};export{TabBar as ion_tab_bar,TabButton as ion_tab_button};
@@ -1,4 +1,4 @@
1
1
  import{__awaiter,__generator}from"tslib";
2
2
  /*!
3
3
  * (C) Ionic http://ionicframework.com - MIT License
4
- */import{r as registerInstance,h,H as Host,f as getElement,d as createEvent}from"./index-36a5fd75.js";import{a as attachComponent}from"./framework-delegate-6a45ed30.js";import"./helpers-f586db1c.js";var tabCss=":host(.tab-hidden){display:none !important}";var Tab=function(){function e(e){registerInstance(this,e);this.loaded=false;this.active=false;this.delegate=undefined;this.tab=undefined;this.component=undefined}e.prototype.componentWillLoad=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){switch(e.label){case 0:if(!this.active)return[3,2];return[4,this.setActive()];case 1:e.sent();e.label=2;case 2:return[2]}}))}))};e.prototype.setActive=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){switch(e.label){case 0:return[4,this.prepareLazyLoaded()];case 1:e.sent();this.active=true;return[2]}}))}))};e.prototype.changeActive=function(e){if(e){this.prepareLazyLoaded()}};e.prototype.prepareLazyLoaded=function(){if(!this.loaded&&this.component!=null){this.loaded=true;try{return attachComponent(this.delegate,this.el,this.component,["ion-page"])}catch(e){console.error(e)}}return Promise.resolve(undefined)};e.prototype.render=function(){var e=this,t=e.tab,i=e.active,n=e.component;return h(Host,{role:"tabpanel","aria-hidden":!i?"true":null,"aria-labelledby":"tab-button-".concat(t),class:{"ion-page":n===undefined,"tab-hidden":!i}},h("slot",null))};Object.defineProperty(e.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{active:["changeActive"]}},enumerable:false,configurable:true});return e}();Tab.style=tabCss;var tabsCss=":host{left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:column;flex-direction:column;width:100%;height:100%;contain:layout size style;z-index:0}.tabs-inner{position:relative;-ms-flex:1;flex:1;contain:layout size style}";var Tabs=function(){function e(e){var t=this;registerInstance(this,e);this.ionNavWillLoad=createEvent(this,"ionNavWillLoad",7);this.ionTabsWillChange=createEvent(this,"ionTabsWillChange",3);this.ionTabsDidChange=createEvent(this,"ionTabsDidChange",3);this.transitioning=false;this.onTabClicked=function(e){var i=e.detail,n=i.href,r=i.tab;if(t.useRouter&&n!==undefined){var o=document.querySelector("ion-router");if(o){o.push(n)}}else{t.select(r)}};this.selectedTab=undefined;this.useRouter=false}e.prototype.componentWillLoad=function(){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(t){switch(t.label){case 0:if(!this.useRouter){this.useRouter=!!document.querySelector("ion-router")&&!this.el.closest("[no-router]")}if(!!this.useRouter)return[3,2];e=this.tabs;if(!(e.length>0))return[3,2];return[4,this.select(e[0])];case 1:t.sent();t.label=2;case 2:this.ionNavWillLoad.emit();return[2]}}))}))};e.prototype.componentWillRender=function(){var e=this.el.querySelector("ion-tab-bar");if(e){var t=this.selectedTab?this.selectedTab.tab:undefined;e.selectedTab=t}};e.prototype.select=function(e){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(i){switch(i.label){case 0:t=getTab(this.tabs,e);if(!this.shouldSwitch(t)){return[2,false]}return[4,this.setActive(t)];case 1:i.sent();return[4,this.notifyRouter()];case 2:i.sent();this.tabSwitch();return[2,true]}}))}))};e.prototype.getTab=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,getTab(this.tabs,e)]}))}))};e.prototype.getSelected=function(){return Promise.resolve(this.selectedTab?this.selectedTab.tab:undefined)};e.prototype.setRouteId=function(e){return __awaiter(this,void 0,void 0,(function(){var t;var i=this;return __generator(this,(function(n){switch(n.label){case 0:t=getTab(this.tabs,e);if(!this.shouldSwitch(t)){return[2,{changed:false,element:this.selectedTab}]}return[4,this.setActive(t)];case 1:n.sent();return[2,{changed:true,element:this.selectedTab,markVisible:function(){return i.tabSwitch()}}]}}))}))};e.prototype.getRouteId=function(){return __awaiter(this,void 0,void 0,(function(){var e,t;return __generator(this,(function(i){t=(e=this.selectedTab)===null||e===void 0?void 0:e.tab;return[2,t!==undefined?{id:t,element:this.selectedTab}:undefined]}))}))};e.prototype.setActive=function(e){if(this.transitioning){return Promise.reject("transitioning already happening")}this.transitioning=true;this.leavingTab=this.selectedTab;this.selectedTab=e;this.ionTabsWillChange.emit({tab:e.tab});e.active=true;return Promise.resolve()};e.prototype.tabSwitch=function(){var e=this.selectedTab;var t=this.leavingTab;this.leavingTab=undefined;this.transitioning=false;if(!e){return}if(t!==e){if(t){t.active=false}this.ionTabsDidChange.emit({tab:e.tab})}};e.prototype.notifyRouter=function(){if(this.useRouter){var e=document.querySelector("ion-router");if(e){return e.navChanged("forward")}}return Promise.resolve(false)};e.prototype.shouldSwitch=function(e){var t=this.selectedTab;return e!==undefined&&e!==t&&!this.transitioning};Object.defineProperty(e.prototype,"tabs",{get:function(){return Array.from(this.el.querySelectorAll("ion-tab"))},enumerable:false,configurable:true});e.prototype.render=function(){return h(Host,{onIonTabButtonClick:this.onTabClicked},h("slot",{name:"top"}),h("div",{class:"tabs-inner"},h("slot",null)),h("slot",{name:"bottom"}))};Object.defineProperty(e.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();var getTab=function(e,t){var i=typeof t==="string"?e.find((function(e){return e.tab===t})):t;if(!i){console.error('tab with id: "'.concat(i,'" does not exist'))}return i};Tabs.style=tabsCss;export{Tab as ion_tab,Tabs as ion_tabs};
4
+ */import{r as registerInstance,h,H as Host,f as getElement,d as createEvent}from"./index-cb894020.js";import{a as attachComponent}from"./framework-delegate-aa433dea.js";import"./helpers-3379ba19.js";var tabCss=":host(.tab-hidden){display:none !important}";var Tab=function(){function e(e){registerInstance(this,e);this.loaded=false;this.active=false;this.delegate=undefined;this.tab=undefined;this.component=undefined}e.prototype.componentWillLoad=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){switch(e.label){case 0:if(!this.active)return[3,2];return[4,this.setActive()];case 1:e.sent();e.label=2;case 2:return[2]}}))}))};e.prototype.setActive=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){switch(e.label){case 0:return[4,this.prepareLazyLoaded()];case 1:e.sent();this.active=true;return[2]}}))}))};e.prototype.changeActive=function(e){if(e){this.prepareLazyLoaded()}};e.prototype.prepareLazyLoaded=function(){if(!this.loaded&&this.component!=null){this.loaded=true;try{return attachComponent(this.delegate,this.el,this.component,["ion-page"])}catch(e){console.error(e)}}return Promise.resolve(undefined)};e.prototype.render=function(){var e=this,t=e.tab,i=e.active,n=e.component;return h(Host,{role:"tabpanel","aria-hidden":!i?"true":null,"aria-labelledby":"tab-button-".concat(t),class:{"ion-page":n===undefined,"tab-hidden":!i}},h("slot",null))};Object.defineProperty(e.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{active:["changeActive"]}},enumerable:false,configurable:true});return e}();Tab.style=tabCss;var tabsCss=":host{left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:column;flex-direction:column;width:100%;height:100%;contain:layout size style;z-index:0}.tabs-inner{position:relative;-ms-flex:1;flex:1;contain:layout size style}";var Tabs=function(){function e(e){var t=this;registerInstance(this,e);this.ionNavWillLoad=createEvent(this,"ionNavWillLoad",7);this.ionTabsWillChange=createEvent(this,"ionTabsWillChange",3);this.ionTabsDidChange=createEvent(this,"ionTabsDidChange",3);this.transitioning=false;this.onTabClicked=function(e){var i=e.detail,n=i.href,r=i.tab;if(t.useRouter&&n!==undefined){var a=document.querySelector("ion-router");if(a){a.push(n)}}else{t.select(r)}};this.selectedTab=undefined;this.useRouter=false}e.prototype.componentWillLoad=function(){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(t){switch(t.label){case 0:if(!this.useRouter){this.useRouter=!!document.querySelector("ion-router")&&!this.el.closest("[no-router]")}if(!!this.useRouter)return[3,2];e=this.tabs;if(!(e.length>0))return[3,2];return[4,this.select(e[0])];case 1:t.sent();t.label=2;case 2:this.ionNavWillLoad.emit();return[2]}}))}))};e.prototype.componentWillRender=function(){var e=this.el.querySelector("ion-tab-bar");if(e){var t=this.selectedTab?this.selectedTab.tab:undefined;e.selectedTab=t}};e.prototype.select=function(e){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(i){switch(i.label){case 0:t=getTab(this.tabs,e);if(!this.shouldSwitch(t)){return[2,false]}return[4,this.setActive(t)];case 1:i.sent();return[4,this.notifyRouter()];case 2:i.sent();this.tabSwitch();return[2,true]}}))}))};e.prototype.getTab=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,getTab(this.tabs,e)]}))}))};e.prototype.getSelected=function(){return Promise.resolve(this.selectedTab?this.selectedTab.tab:undefined)};e.prototype.setRouteId=function(e){return __awaiter(this,void 0,void 0,(function(){var t;var i=this;return __generator(this,(function(n){switch(n.label){case 0:t=getTab(this.tabs,e);if(!this.shouldSwitch(t)){return[2,{changed:false,element:this.selectedTab}]}return[4,this.setActive(t)];case 1:n.sent();return[2,{changed:true,element:this.selectedTab,markVisible:function(){return i.tabSwitch()}}]}}))}))};e.prototype.getRouteId=function(){return __awaiter(this,void 0,void 0,(function(){var e,t;return __generator(this,(function(i){t=(e=this.selectedTab)===null||e===void 0?void 0:e.tab;return[2,t!==undefined?{id:t,element:this.selectedTab}:undefined]}))}))};e.prototype.setActive=function(e){if(this.transitioning){return Promise.reject("transitioning already happening")}this.transitioning=true;this.leavingTab=this.selectedTab;this.selectedTab=e;this.ionTabsWillChange.emit({tab:e.tab});e.active=true;return Promise.resolve()};e.prototype.tabSwitch=function(){var e=this.selectedTab;var t=this.leavingTab;this.leavingTab=undefined;this.transitioning=false;if(!e){return}if(t!==e){if(t){t.active=false}this.ionTabsDidChange.emit({tab:e.tab})}};e.prototype.notifyRouter=function(){if(this.useRouter){var e=document.querySelector("ion-router");if(e){return e.navChanged("forward")}}return Promise.resolve(false)};e.prototype.shouldSwitch=function(e){var t=this.selectedTab;return e!==undefined&&e!==t&&!this.transitioning};Object.defineProperty(e.prototype,"tabs",{get:function(){return Array.from(this.el.querySelectorAll("ion-tab"))},enumerable:false,configurable:true});e.prototype.render=function(){return h(Host,{onIonTabButtonClick:this.onTabClicked},h("slot",{name:"top"}),h("div",{class:"tabs-inner"},h("slot",null)),h("slot",{name:"bottom"}))};Object.defineProperty(e.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();var getTab=function(e,t){var i=typeof t==="string"?e.find((function(e){return e.tab===t})):t;if(!i){console.error('tab with id: "'.concat(i,'" does not exist'))}return i};Tabs.style=tabsCss;export{Tab as ion_tab,Tabs as ion_tabs};
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * (C) Ionic http://ionicframework.com - MIT License
3
3
  */
4
- import{r as registerInstance,h,H as Host}from"./index-36a5fd75.js";import{c as createColorClasses}from"./theme-7670341c.js";import{b as getIonMode}from"./ionic-global-a9abd569.js";var textCss=":host(.ion-color){color:var(--ion-color-base)}";var Text=function(){function o(o){registerInstance(this,o);this.color=undefined}o.prototype.render=function(){var o;var t=getIonMode(this);return h(Host,{class:createColorClasses(this.color,(o={},o[t]=true,o))},h("slot",null))};return o}();Text.style=textCss;export{Text as ion_text};
4
+ import{r as registerInstance,h,H as Host}from"./index-cb894020.js";import{c as createColorClasses}from"./theme-17531cdf.js";import{b as getIonMode}from"./ionic-global-63a8d8c9.js";var textCss=":host(.ion-color){color:var(--ion-color-base)}";var Text=function(){function o(o){registerInstance(this,o);this.color=undefined}o.prototype.render=function(){var o;var t=getIonMode(this);return h(Host,{class:createColorClasses(this.color,(o={},o[t]=true,o))},h("slot",null))};return o}();Text.style=textCss;export{Text as ion_text};