@ionic/core 8.2.3-dev.11719301373.17616928 → 8.2.3-dev.11719439159.152ff050

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 (1437) hide show
  1. package/components/action-sheet.js +8 -13
  2. package/components/alert.js +10 -14
  3. package/components/backdrop.js +6 -10
  4. package/components/button.js +12 -41
  5. package/components/buttons.js +7 -11
  6. package/components/checkbox.js +13 -26
  7. package/components/data.js +4 -4
  8. package/components/index2.js +2 -1
  9. package/components/index4.js +7 -8
  10. package/components/index6.js +30 -27
  11. package/components/index7.js +27 -124
  12. package/components/index8.js +111 -150
  13. package/components/index9.js +167 -0
  14. package/components/input-shims.js +1 -1
  15. package/components/input.utils.js +1 -1
  16. package/components/ion-accordion-group.js +6 -9
  17. package/components/ion-accordion.js +9 -15
  18. package/components/ion-app.js +6 -5
  19. package/components/ion-avatar.js +3 -52
  20. package/components/ion-back-button.js +11 -15
  21. package/components/ion-badge.js +6 -42
  22. package/components/ion-breadcrumb.js +10 -16
  23. package/components/ion-breadcrumbs.js +5 -9
  24. package/components/ion-card-content.js +5 -9
  25. package/components/ion-card-header.js +5 -9
  26. package/components/ion-card-subtitle.js +5 -9
  27. package/components/ion-card-title.js +5 -9
  28. package/components/ion-card.js +9 -17
  29. package/components/ion-chip.js +8 -45
  30. package/components/ion-col.js +5 -5
  31. package/components/ion-content.js +11 -11
  32. package/components/ion-datetime-button.js +6 -9
  33. package/components/ion-datetime.js +20 -47
  34. package/components/ion-fab-button.js +9 -15
  35. package/components/ion-fab-list.js +5 -5
  36. package/components/ion-fab.js +6 -6
  37. package/components/ion-footer.js +11 -15
  38. package/components/ion-grid.js +5 -5
  39. package/components/ion-header.js +12 -16
  40. package/components/ion-img.js +2 -5
  41. package/components/ion-infinite-scroll-content.js +8 -12
  42. package/components/ion-infinite-scroll.js +5 -5
  43. package/components/ion-input-password-toggle.js +8 -7
  44. package/components/ion-input.js +20 -101
  45. package/components/ion-item-divider.js +5 -9
  46. package/components/ion-item-group.js +5 -9
  47. package/components/ion-item-option.js +8 -28
  48. package/components/ion-item-options.js +5 -9
  49. package/components/ion-item-sliding.js +5 -5
  50. package/components/ion-loading.js +8 -12
  51. package/components/ion-menu-button.js +9 -13
  52. package/components/ion-menu-toggle.js +5 -5
  53. package/components/ion-menu.js +7 -11
  54. package/components/ion-modal.js +11 -14
  55. package/components/ion-nav-link.js +1 -1
  56. package/components/ion-nav.js +6 -7
  57. package/components/ion-note.js +5 -9
  58. package/components/ion-picker-legacy.js +8 -7
  59. package/components/ion-progress-bar.js +6 -10
  60. package/components/ion-range.js +8 -11
  61. package/components/ion-refresher-content.js +8 -9
  62. package/components/ion-refresher.js +7 -11
  63. package/components/ion-reorder-group.js +5 -5
  64. package/components/ion-reorder.js +5 -23
  65. package/components/ion-router-link.js +6 -6
  66. package/components/ion-router-outlet.js +2 -2
  67. package/components/ion-row.js +2 -5
  68. package/components/ion-searchbar.js +16 -62
  69. package/components/ion-segment-button.js +8 -12
  70. package/components/ion-segment.js +5 -9
  71. package/components/ion-select-option.js +2 -5
  72. package/components/ion-select.js +28 -67
  73. package/components/ion-skeleton-text.js +5 -5
  74. package/components/ion-split-pane.js +8 -12
  75. package/components/ion-tab-bar.js +7 -11
  76. package/components/ion-tab-button.js +7 -11
  77. package/components/ion-tab.js +2 -2
  78. package/components/ion-tabs.js +2 -2
  79. package/components/ion-text.js +5 -5
  80. package/components/ion-textarea.js +9 -13
  81. package/components/ion-thumbnail.js +2 -5
  82. package/components/ion-title.js +7 -11
  83. package/components/ion-toast.js +9 -13
  84. package/components/ion-toggle.js +18 -56
  85. package/components/ion-toolbar.js +8 -16
  86. package/components/ionic-global.js +14 -191
  87. package/components/ios.transition.js +0 -1
  88. package/components/item.js +12 -18
  89. package/components/label.js +5 -9
  90. package/components/list-header.js +5 -9
  91. package/components/list.js +6 -29
  92. package/components/overlays.js +2 -1
  93. package/components/picker-column-option.js +5 -9
  94. package/components/picker-column.js +7 -7
  95. package/components/picker-column2.js +4 -4
  96. package/components/picker.js +4 -8
  97. package/components/popover.js +8 -11
  98. package/components/radio-group.js +3 -5
  99. package/components/radio.js +8 -12
  100. package/components/ripple-effect.js +5 -5
  101. package/components/select-popover.js +2 -9
  102. package/components/spinner.js +6 -6
  103. package/components/status-tap.js +1 -1
  104. package/css/core.css +1 -1
  105. package/css/core.css.map +1 -1
  106. package/css/display.css.map +1 -1
  107. package/css/flex-utils.css.map +1 -1
  108. package/css/float-elements.css.map +1 -1
  109. package/css/global.bundle.css.map +1 -1
  110. package/css/ionic-swiper.css +1 -1
  111. package/css/ionic-swiper.css.map +1 -1
  112. package/css/ionic.bundle.css +1 -1
  113. package/css/ionic.bundle.css.map +1 -1
  114. package/css/normalize.css.map +1 -1
  115. package/css/padding.css.map +1 -1
  116. package/css/palettes/dark.always.css.map +1 -1
  117. package/css/palettes/dark.class.css.map +1 -1
  118. package/css/palettes/dark.system.css.map +1 -1
  119. package/css/palettes/high-contrast-dark.always.css.map +1 -1
  120. package/css/palettes/high-contrast-dark.class.css.map +1 -1
  121. package/css/palettes/high-contrast-dark.system.css.map +1 -1
  122. package/css/palettes/high-contrast.always.css.map +1 -1
  123. package/css/palettes/high-contrast.class.css.map +1 -1
  124. package/css/palettes/high-contrast.system.css.map +1 -1
  125. package/css/structure.css.map +1 -1
  126. package/css/text-alignment.css.map +1 -1
  127. package/css/text-transformation.css.map +1 -1
  128. package/css/typography.css.map +1 -1
  129. package/css/utils.bundle.css.map +1 -1
  130. package/dist/cjs/{app-globals-5b0a3f95.js → app-globals-fa7f31d6.js} +1 -1
  131. package/dist/cjs/{button-active-b75108e6.js → button-active-24593fe7.js} +1 -1
  132. package/dist/cjs/{data-7d67d1e3.js → data-21dc0f81.js} +6 -6
  133. package/dist/cjs/{hardware-back-button-a90bf4cd.js → hardware-back-button-afaf185c.js} +2 -2
  134. package/dist/cjs/{index-59095e03.js → index-28e4e7aa.js} +12 -13
  135. package/dist/cjs/index-5915f9b3.js +38 -0
  136. package/dist/cjs/{index-ca6de37f.js → index-5b6a7459.js} +2 -2
  137. package/dist/cjs/{index-7f6ce0b7.js → index-cbd1dbd9.js} +185 -170
  138. package/dist/cjs/{index-71f7488c.js → index-e2659e6c.js} +8 -7
  139. package/dist/cjs/index.cjs.js +9 -8
  140. package/dist/cjs/{input-shims-58aadbb2.js → input-shims-9e59ef62.js} +2 -3
  141. package/dist/cjs/{input.utils-d9907cfc.js → input.utils-611cde0b.js} +2 -2
  142. package/dist/cjs/ion-accordion_2.cjs.entry.js +15 -24
  143. package/dist/cjs/ion-action-sheet.cjs.entry.js +13 -17
  144. package/dist/cjs/ion-alert.cjs.entry.js +15 -18
  145. package/dist/cjs/ion-app_8.cjs.entry.js +72 -94
  146. package/dist/cjs/ion-avatar_3.cjs.entry.js +8 -91
  147. package/dist/cjs/ion-back-button.cjs.entry.js +11 -15
  148. package/dist/cjs/ion-backdrop.cjs.entry.js +7 -11
  149. package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +14 -24
  150. package/dist/cjs/ion-button_2.cjs.entry.js +16 -45
  151. package/dist/cjs/ion-card_5.cjs.entry.js +26 -49
  152. package/dist/cjs/ion-checkbox.cjs.entry.js +13 -24
  153. package/dist/cjs/ion-chip.cjs.entry.js +8 -43
  154. package/dist/cjs/ion-col_3.cjs.entry.js +11 -14
  155. package/dist/cjs/ion-datetime-button.cjs.entry.js +12 -15
  156. package/dist/cjs/ion-datetime_3.cjs.entry.js +108 -135
  157. package/dist/cjs/ion-fab_3.cjs.entry.js +18 -24
  158. package/dist/cjs/ion-img.cjs.entry.js +3 -6
  159. package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +14 -17
  160. package/dist/cjs/ion-input-password-toggle.cjs.entry.js +11 -10
  161. package/dist/cjs/ion-input.cjs.entry.js +21 -100
  162. package/dist/cjs/ion-item-option_3.cjs.entry.js +17 -39
  163. package/dist/cjs/ion-item_8.cjs.entry.js +40 -88
  164. package/dist/cjs/ion-loading.cjs.entry.js +12 -15
  165. package/dist/cjs/ion-menu_3.cjs.entry.js +23 -30
  166. package/dist/cjs/ion-modal.cjs.entry.js +20 -23
  167. package/dist/cjs/ion-nav_2.cjs.entry.js +9 -10
  168. package/dist/cjs/ion-picker-column-option.cjs.entry.js +6 -10
  169. package/dist/cjs/ion-picker-column.cjs.entry.js +8 -8
  170. package/dist/cjs/ion-picker.cjs.entry.js +5 -9
  171. package/dist/cjs/ion-popover.cjs.entry.js +15 -18
  172. package/dist/cjs/ion-progress-bar.cjs.entry.js +7 -11
  173. package/dist/cjs/ion-radio_2.cjs.entry.js +11 -17
  174. package/dist/cjs/ion-range.cjs.entry.js +14 -17
  175. package/dist/cjs/ion-refresher_2.cjs.entry.js +15 -19
  176. package/dist/cjs/ion-reorder_2.cjs.entry.js +10 -27
  177. package/dist/cjs/ion-ripple-effect.cjs.entry.js +6 -6
  178. package/dist/cjs/ion-route_4.cjs.entry.js +7 -7
  179. package/dist/cjs/ion-searchbar.cjs.entry.js +16 -62
  180. package/dist/cjs/ion-segment_2.cjs.entry.js +13 -21
  181. package/dist/cjs/ion-select_3.cjs.entry.js +33 -81
  182. package/dist/cjs/ion-spinner.cjs.entry.js +7 -7
  183. package/dist/cjs/ion-split-pane.cjs.entry.js +9 -13
  184. package/dist/cjs/ion-tab-bar_2.cjs.entry.js +14 -22
  185. package/dist/cjs/ion-tab_2.cjs.entry.js +5 -5
  186. package/dist/cjs/ion-text.cjs.entry.js +6 -6
  187. package/dist/cjs/ion-textarea.cjs.entry.js +12 -15
  188. package/dist/cjs/ion-toast.cjs.entry.js +32 -36
  189. package/dist/cjs/ion-toggle.cjs.entry.js +18 -56
  190. package/dist/cjs/ionic-global-965d38d0.js +237 -0
  191. package/dist/cjs/ionic.cjs.js +5 -5
  192. package/dist/cjs/{ios.transition-4a91b726.js → ios.transition-6e9c7e9b.js} +4 -4
  193. package/dist/cjs/loader.cjs.js +4 -4
  194. package/dist/cjs/{md.transition-1d783fa9.js → md.transition-a9d8f0eb.js} +4 -3
  195. package/dist/cjs/{overlays-0c0d0193.js → overlays-cc4ac193.js} +4 -3
  196. package/dist/cjs/{status-tap-87959a2f.js → status-tap-f0912d4a.js} +3 -3
  197. package/dist/collection/collection-manifest.json +1 -1
  198. package/dist/collection/components/accordion/accordion.ios.css +0 -12
  199. package/dist/collection/components/accordion/accordion.js +15 -19
  200. package/dist/collection/components/accordion/accordion.md.css +0 -6
  201. package/dist/collection/components/accordion-group/accordion-group.ios.css +0 -12
  202. package/dist/collection/components/accordion-group/accordion-group.js +8 -11
  203. package/dist/collection/components/accordion-group/accordion-group.md.css +0 -18
  204. package/dist/collection/components/action-sheet/action-sheet.ios.css +6 -18
  205. package/dist/collection/components/action-sheet/action-sheet.js +10 -14
  206. package/dist/collection/components/action-sheet/action-sheet.md.css +5 -17
  207. package/dist/collection/components/alert/alert.ios.css +1 -19
  208. package/dist/collection/components/alert/alert.js +12 -15
  209. package/dist/collection/components/alert/alert.md.css +1 -19
  210. package/dist/collection/components/app/app.js +4 -8
  211. package/dist/collection/components/avatar/avatar.ios.css +0 -12
  212. package/dist/collection/components/avatar/avatar.js +4 -92
  213. package/dist/collection/components/avatar/avatar.md.css +0 -12
  214. package/dist/collection/components/back-button/back-button.ios.css +48 -60
  215. package/dist/collection/components/back-button/back-button.js +11 -14
  216. package/dist/collection/components/back-button/back-button.md.css +48 -60
  217. package/dist/collection/components/backdrop/backdrop.ios.css +1 -13
  218. package/dist/collection/components/backdrop/backdrop.js +6 -12
  219. package/dist/collection/components/backdrop/backdrop.md.css +1 -13
  220. package/dist/collection/components/badge/badge.ios.css +0 -12
  221. package/dist/collection/components/badge/badge.js +8 -75
  222. package/dist/collection/components/badge/badge.md.css +0 -12
  223. package/dist/collection/components/breadcrumb/breadcrumb.ios.css +8 -20
  224. package/dist/collection/components/breadcrumb/breadcrumb.js +10 -16
  225. package/dist/collection/components/breadcrumb/breadcrumb.md.css +8 -20
  226. package/dist/collection/components/breadcrumbs/breadcrumbs.ios.css +0 -6
  227. package/dist/collection/components/breadcrumbs/breadcrumbs.js +9 -11
  228. package/dist/collection/components/breadcrumbs/breadcrumbs.md.css +0 -6
  229. package/dist/collection/components/button/button.ios.css +16 -42
  230. package/dist/collection/components/button/button.js +17 -46
  231. package/dist/collection/components/button/button.md.css +20 -33
  232. package/dist/collection/components/buttons/buttons.ios.css +7 -59
  233. package/dist/collection/components/buttons/buttons.js +8 -14
  234. package/dist/collection/components/buttons/buttons.md.css +3 -55
  235. package/dist/collection/components/card/card.ios.css +4 -30
  236. package/dist/collection/components/card/card.js +10 -34
  237. package/dist/collection/components/card/card.md.css +4 -30
  238. package/dist/collection/components/card-content/card-content.ios.css +0 -12
  239. package/dist/collection/components/card-content/card-content.js +8 -11
  240. package/dist/collection/components/card-content/card-content.md.css +0 -12
  241. package/dist/collection/components/card-header/card-header.ios.css +0 -12
  242. package/dist/collection/components/card-header/card-header.js +9 -12
  243. package/dist/collection/components/card-header/card-header.md.css +0 -12
  244. package/dist/collection/components/card-subtitle/card-subtitle.ios.css +0 -12
  245. package/dist/collection/components/card-subtitle/card-subtitle.js +8 -11
  246. package/dist/collection/components/card-subtitle/card-subtitle.md.css +0 -12
  247. package/dist/collection/components/card-title/card-title.ios.css +0 -12
  248. package/dist/collection/components/card-title/card-title.js +8 -11
  249. package/dist/collection/components/card-title/card-title.md.css +0 -12
  250. package/dist/collection/components/checkbox/checkbox.ios.css +2 -20
  251. package/dist/collection/components/checkbox/checkbox.js +14 -59
  252. package/dist/collection/components/checkbox/checkbox.md.css +3 -21
  253. package/dist/collection/components/chip/chip.ios.css +1 -20
  254. package/dist/collection/components/chip/chip.js +8 -77
  255. package/dist/collection/components/chip/chip.md.css +1 -20
  256. package/dist/collection/components/col/col.css +0 -12
  257. package/dist/collection/components/col/col.js +5 -9
  258. package/dist/collection/components/content/content.css +2 -8
  259. package/dist/collection/components/content/content.js +10 -13
  260. package/dist/collection/components/datetime/datetime.ios.css +3 -15
  261. package/dist/collection/components/datetime/datetime.js +19 -47
  262. package/dist/collection/components/datetime/datetime.md.css +3 -15
  263. package/dist/collection/components/datetime/utils/data.js +3 -3
  264. package/dist/collection/components/datetime-button/datetime-button.ios.css +0 -6
  265. package/dist/collection/components/datetime-button/datetime-button.js +8 -11
  266. package/dist/collection/components/datetime-button/datetime-button.md.css +0 -6
  267. package/dist/collection/components/fab/fab.css +1 -25
  268. package/dist/collection/components/fab/fab.js +5 -9
  269. package/dist/collection/components/fab-button/fab-button.ios.css +6 -18
  270. package/dist/collection/components/fab-button/fab-button.js +14 -19
  271. package/dist/collection/components/fab-button/fab-button.md.css +8 -20
  272. package/dist/collection/components/fab-list/fab-list.css +0 -12
  273. package/dist/collection/components/fab-list/fab-list.js +5 -9
  274. package/dist/collection/components/footer/footer.ios.css +2 -14
  275. package/dist/collection/components/footer/footer.js +14 -17
  276. package/dist/collection/components/footer/footer.md.css +0 -12
  277. package/dist/collection/components/grid/grid.css +0 -12
  278. package/dist/collection/components/grid/grid.js +5 -9
  279. package/dist/collection/components/header/header.ios.css +10 -25
  280. package/dist/collection/components/header/header.js +14 -17
  281. package/dist/collection/components/header/header.md.css +8 -23
  282. package/dist/collection/components/img/img.js +2 -8
  283. package/dist/collection/components/infinite-scroll/infinite-scroll.js +4 -8
  284. package/dist/collection/components/infinite-scroll-content/infinite-scroll-content.ios.css +0 -12
  285. package/dist/collection/components/infinite-scroll-content/infinite-scroll-content.js +10 -16
  286. package/dist/collection/components/infinite-scroll-content/infinite-scroll-content.md.css +0 -12
  287. package/dist/collection/components/input/input.ios.css +2 -21
  288. package/dist/collection/components/input/input.js +29 -127
  289. package/dist/collection/components/input/input.md.css +4 -43
  290. package/dist/collection/components/input-password-toggle/input-password-toggle.js +5 -6
  291. package/dist/collection/components/item/item.ios.css +8 -20
  292. package/dist/collection/components/item/item.js +17 -22
  293. package/dist/collection/components/item/item.md.css +7 -31
  294. package/dist/collection/components/item-divider/item-divider.ios.css +0 -18
  295. package/dist/collection/components/item-divider/item-divider.js +8 -11
  296. package/dist/collection/components/item-divider/item-divider.md.css +0 -18
  297. package/dist/collection/components/item-group/item-group.ios.css +0 -12
  298. package/dist/collection/components/item-group/item-group.js +7 -13
  299. package/dist/collection/components/item-group/item-group.md.css +0 -12
  300. package/dist/collection/components/item-option/item-option.ios.css +2 -14
  301. package/dist/collection/components/item-option/item-option.js +8 -43
  302. package/dist/collection/components/item-option/item-option.md.css +2 -14
  303. package/dist/collection/components/item-options/item-options.ios.css +0 -18
  304. package/dist/collection/components/item-options/item-options.js +7 -13
  305. package/dist/collection/components/item-options/item-options.md.css +0 -18
  306. package/dist/collection/components/item-sliding/item-sliding.css +0 -6
  307. package/dist/collection/components/item-sliding/item-sliding.js +4 -8
  308. package/dist/collection/components/label/label.ios.css +0 -18
  309. package/dist/collection/components/label/label.js +8 -11
  310. package/dist/collection/components/label/label.md.css +0 -18
  311. package/dist/collection/components/list/list.ios.css +0 -18
  312. package/dist/collection/components/list/list.js +9 -47
  313. package/dist/collection/components/list/list.md.css +2 -20
  314. package/dist/collection/components/list-header/list-header.ios.css +0 -18
  315. package/dist/collection/components/list-header/list-header.js +8 -11
  316. package/dist/collection/components/list-header/list-header.md.css +0 -18
  317. package/dist/collection/components/loading/loading.ios.css +1 -13
  318. package/dist/collection/components/loading/loading.js +10 -13
  319. package/dist/collection/components/loading/loading.md.css +1 -13
  320. package/dist/collection/components/menu/menu.ios.css +3 -15
  321. package/dist/collection/components/menu/menu.js +7 -12
  322. package/dist/collection/components/menu/menu.md.css +3 -15
  323. package/dist/collection/components/menu-button/menu-button.ios.css +14 -48
  324. package/dist/collection/components/menu-button/menu-button.js +9 -12
  325. package/dist/collection/components/menu-button/menu-button.md.css +15 -49
  326. package/dist/collection/components/menu-toggle/menu-toggle.js +5 -8
  327. package/dist/collection/components/modal/modal.ios.css +2 -14
  328. package/dist/collection/components/modal/modal.js +10 -13
  329. package/dist/collection/components/modal/modal.md.css +2 -14
  330. package/dist/collection/components/nav/nav.css +1 -7
  331. package/dist/collection/components/nav/nav.js +5 -11
  332. package/dist/collection/components/nav-link/nav-link.js +1 -5
  333. package/dist/collection/components/note/note.ios.css +0 -12
  334. package/dist/collection/components/note/note.js +8 -11
  335. package/dist/collection/components/note/note.md.css +0 -12
  336. package/dist/collection/components/picker/picker.ios.css +3 -15
  337. package/dist/collection/components/picker/picker.js +5 -8
  338. package/dist/collection/components/picker/picker.md.css +3 -15
  339. package/dist/collection/components/picker-column/picker-column.css +2 -9
  340. package/dist/collection/components/picker-column/picker-column.js +7 -8
  341. package/dist/collection/components/picker-column-option/picker-column-option.ios.css +0 -6
  342. package/dist/collection/components/picker-column-option/picker-column-option.js +7 -13
  343. package/dist/collection/components/picker-column-option/picker-column-option.md.css +0 -6
  344. package/dist/collection/components/picker-legacy/picker.ios.css +1 -13
  345. package/dist/collection/components/picker-legacy/picker.js +6 -7
  346. package/dist/collection/components/picker-legacy/picker.md.css +1 -13
  347. package/dist/collection/components/picker-legacy-column/picker-column.ios.css +0 -12
  348. package/dist/collection/components/picker-legacy-column/picker-column.js +4 -4
  349. package/dist/collection/components/picker-legacy-column/picker-column.md.css +0 -12
  350. package/dist/collection/components/popover/popover.ios.css +1 -13
  351. package/dist/collection/components/popover/popover.js +12 -15
  352. package/dist/collection/components/popover/popover.md.css +1 -13
  353. package/dist/collection/components/progress-bar/progress-bar.ios.css +2 -8
  354. package/dist/collection/components/progress-bar/progress-bar.js +7 -10
  355. package/dist/collection/components/progress-bar/progress-bar.md.css +2 -8
  356. package/dist/collection/components/radio/radio.ios.css +2 -20
  357. package/dist/collection/components/radio/radio.js +9 -12
  358. package/dist/collection/components/radio/radio.md.css +2 -20
  359. package/dist/collection/components/radio-group/radio-group.js +3 -9
  360. package/dist/collection/components/range/range.ios.css +0 -12
  361. package/dist/collection/components/range/range.js +9 -12
  362. package/dist/collection/components/range/range.md.css +0 -12
  363. package/dist/collection/components/refresher/refresher.ios.css +1 -14
  364. package/dist/collection/components/refresher/refresher.js +8 -11
  365. package/dist/collection/components/refresher/refresher.md.css +2 -15
  366. package/dist/collection/components/refresher-content/refresher-content.js +7 -12
  367. package/dist/collection/components/reorder/reorder.ios.css +0 -6
  368. package/dist/collection/components/reorder/reorder.js +6 -26
  369. package/dist/collection/components/reorder/reorder.md.css +0 -6
  370. package/dist/collection/components/reorder-group/reorder-group.css +0 -6
  371. package/dist/collection/components/reorder-group/reorder-group.js +4 -8
  372. package/dist/collection/components/ripple-effect/ripple-effect.css +1 -7
  373. package/dist/collection/components/ripple-effect/ripple-effect.js +4 -8
  374. package/dist/collection/components/route/route.js +0 -4
  375. package/dist/collection/components/router/router.js +0 -4
  376. package/dist/collection/components/router-link/router-link.css +2 -8
  377. package/dist/collection/components/router-link/router-link.js +5 -9
  378. package/dist/collection/components/router-outlet/router-outlet.css +1 -7
  379. package/dist/collection/components/router-outlet/router-outlet.js +2 -5
  380. package/dist/collection/components/row/row.css +0 -12
  381. package/dist/collection/components/row/row.js +2 -9
  382. package/dist/collection/components/searchbar/searchbar.ios.css +18 -56
  383. package/dist/collection/components/searchbar/searchbar.js +24 -68
  384. package/dist/collection/components/searchbar/searchbar.md.css +18 -56
  385. package/dist/collection/components/segment/segment.ios.css +0 -18
  386. package/dist/collection/components/segment/segment.js +8 -11
  387. package/dist/collection/components/segment/segment.md.css +0 -18
  388. package/dist/collection/components/segment-button/segment-button.ios.css +4 -16
  389. package/dist/collection/components/segment-button/segment-button.js +9 -12
  390. package/dist/collection/components/segment-button/segment-button.md.css +6 -18
  391. package/dist/collection/components/select/select.ios.css +3 -22
  392. package/dist/collection/components/select/select.js +31 -70
  393. package/dist/collection/components/select/select.md.css +5 -38
  394. package/dist/collection/components/select-option/select-option.js +2 -9
  395. package/dist/collection/components/select-popover/select-popover.ios.css +0 -18
  396. package/dist/collection/components/select-popover/select-popover.js +4 -12
  397. package/dist/collection/components/select-popover/select-popover.md.css +0 -18
  398. package/dist/collection/components/skeleton-text/skeleton-text.css +0 -6
  399. package/dist/collection/components/skeleton-text/skeleton-text.js +5 -9
  400. package/dist/collection/components/spinner/spinner.css +0 -6
  401. package/dist/collection/components/spinner/spinner.js +6 -10
  402. package/dist/collection/components/split-pane/split-pane.ios.css +2 -20
  403. package/dist/collection/components/split-pane/split-pane.js +8 -14
  404. package/dist/collection/components/split-pane/split-pane.md.css +2 -20
  405. package/dist/collection/components/tab/tab.js +2 -6
  406. package/dist/collection/components/tab-bar/tab-bar.ios.css +43 -64
  407. package/dist/collection/components/tab-bar/tab-bar.js +9 -12
  408. package/dist/collection/components/tab-bar/tab-bar.md.css +43 -64
  409. package/dist/collection/components/tab-button/tab-button.ios.css +3 -15
  410. package/dist/collection/components/tab-button/tab-button.js +8 -11
  411. package/dist/collection/components/tab-button/tab-button.md.css +3 -15
  412. package/dist/collection/components/tabs/tabs.css +1 -7
  413. package/dist/collection/components/tabs/tabs.js +1 -4
  414. package/dist/collection/components/text/text.css +0 -6
  415. package/dist/collection/components/text/text.js +6 -7
  416. package/dist/collection/components/textarea/textarea.ios.css +1 -26
  417. package/dist/collection/components/textarea/textarea.js +12 -15
  418. package/dist/collection/components/textarea/textarea.md.css +2 -39
  419. package/dist/collection/components/thumbnail/thumbnail.css +0 -6
  420. package/dist/collection/components/thumbnail/thumbnail.js +2 -9
  421. package/dist/collection/components/title/title.ios.css +4 -32
  422. package/dist/collection/components/title/title.js +7 -13
  423. package/dist/collection/components/title/title.md.css +4 -32
  424. package/dist/collection/components/toast/animations/utils.js +1 -1
  425. package/dist/collection/components/toast/toast.ios.css +0 -12
  426. package/dist/collection/components/toast/toast.js +11 -15
  427. package/dist/collection/components/toast/toast.md.css +0 -12
  428. package/dist/collection/components/toggle/toggle.ios.css +2 -23
  429. package/dist/collection/components/toggle/toggle.js +18 -55
  430. package/dist/collection/components/toggle/toggle.md.css +2 -20
  431. package/dist/collection/components/toolbar/toolbar.ios.css +47 -90
  432. package/dist/collection/components/toolbar/toolbar.js +10 -34
  433. package/dist/collection/components/toolbar/toolbar.md.css +47 -90
  434. package/dist/collection/global/ionic-global.js +13 -161
  435. package/dist/collection/utils/menu-controller/animations/overlay.js +3 -3
  436. package/dist/collection/utils/menu-controller/animations/push.js +1 -2
  437. package/dist/collection/utils/menu-controller/animations/reveal.js +1 -2
  438. package/dist/collection/utils/test/playwright/generator.js +23 -48
  439. package/dist/collection/utils/test/playwright/page/utils/goto.js +5 -14
  440. package/dist/collection/utils/test/playwright/page/utils/set-content.js +1 -13
  441. package/dist/collection/utils/transition/ios.transition.js +0 -1
  442. package/dist/docs.json +212 -6414
  443. package/dist/esm/{app-globals-1fabe499.js → app-globals-a53a506f.js} +1 -1
  444. package/dist/esm/{button-active-367a8e84.js → button-active-ff6f2f4b.js} +1 -1
  445. package/dist/esm/{data-63b889c5.js → data-ae11fd43.js} +4 -4
  446. package/dist/esm/{hardware-back-button-2da817f5.js → hardware-back-button-fb02649b.js} +2 -2
  447. package/dist/esm/{index-44013081.js → index-1d0629cf.js} +8 -9
  448. package/dist/esm/{index-33a3d901.js → index-2f8c4022.js} +5 -4
  449. package/dist/esm/{index-00b4cca5.js → index-5cc724f3.js} +1 -1
  450. package/dist/esm/index-9b0d46f4.js +34 -0
  451. package/dist/esm/{index-3321c202.js → index-e06ef154.js} +186 -171
  452. package/dist/esm/index.js +9 -8
  453. package/dist/esm/{input-shims-c142630d.js → input-shims-0314bbe5.js} +2 -3
  454. package/dist/esm/{input.utils-68c66dbc.js → input.utils-09c71bc7.js} +1 -1
  455. package/dist/esm/ion-accordion_2.entry.js +14 -23
  456. package/dist/esm/ion-action-sheet.entry.js +13 -17
  457. package/dist/esm/ion-alert.entry.js +15 -18
  458. package/dist/esm/ion-app_8.entry.js +61 -83
  459. package/dist/esm/ion-avatar_3.entry.js +8 -91
  460. package/dist/esm/ion-back-button.entry.js +11 -15
  461. package/dist/esm/ion-backdrop.entry.js +7 -11
  462. package/dist/esm/ion-breadcrumb_2.entry.js +14 -24
  463. package/dist/esm/ion-button_2.entry.js +13 -42
  464. package/dist/esm/ion-card_5.entry.js +26 -49
  465. package/dist/esm/ion-checkbox.entry.js +13 -24
  466. package/dist/esm/ion-chip.entry.js +8 -43
  467. package/dist/esm/ion-col_3.entry.js +11 -14
  468. package/dist/esm/ion-datetime-button.entry.js +8 -11
  469. package/dist/esm/ion-datetime_3.entry.js +33 -60
  470. package/dist/esm/ion-fab_3.entry.js +18 -24
  471. package/dist/esm/ion-img.entry.js +3 -6
  472. package/dist/esm/ion-infinite-scroll_2.entry.js +14 -17
  473. package/dist/esm/ion-input-password-toggle.entry.js +8 -7
  474. package/dist/esm/ion-input.entry.js +21 -100
  475. package/dist/esm/ion-item-option_3.entry.js +17 -39
  476. package/dist/esm/ion-item_8.entry.js +40 -88
  477. package/dist/esm/ion-loading.entry.js +12 -15
  478. package/dist/esm/ion-menu_3.entry.js +23 -30
  479. package/dist/esm/ion-modal.entry.js +15 -18
  480. package/dist/esm/ion-nav_2.entry.js +9 -10
  481. package/dist/esm/ion-picker-column-option.entry.js +6 -10
  482. package/dist/esm/ion-picker-column.entry.js +8 -8
  483. package/dist/esm/ion-picker.entry.js +5 -9
  484. package/dist/esm/ion-popover.entry.js +12 -15
  485. package/dist/esm/ion-progress-bar.entry.js +7 -11
  486. package/dist/esm/ion-radio_2.entry.js +11 -17
  487. package/dist/esm/ion-range.entry.js +9 -12
  488. package/dist/esm/ion-refresher_2.entry.js +15 -19
  489. package/dist/esm/ion-reorder_2.entry.js +10 -27
  490. package/dist/esm/ion-ripple-effect.entry.js +6 -6
  491. package/dist/esm/ion-route_4.entry.js +7 -7
  492. package/dist/esm/ion-searchbar.entry.js +16 -62
  493. package/dist/esm/ion-segment_2.entry.js +13 -21
  494. package/dist/esm/ion-select_3.entry.js +33 -81
  495. package/dist/esm/ion-spinner.entry.js +7 -7
  496. package/dist/esm/ion-split-pane.entry.js +9 -13
  497. package/dist/esm/ion-tab-bar_2.entry.js +14 -22
  498. package/dist/esm/ion-tab_2.entry.js +5 -5
  499. package/dist/esm/ion-text.entry.js +6 -6
  500. package/dist/esm/ion-textarea.entry.js +12 -15
  501. package/dist/esm/ion-toast.entry.js +12 -16
  502. package/dist/esm/ion-toggle.entry.js +18 -56
  503. package/dist/esm/ionic-global-d92bc7d9.js +231 -0
  504. package/dist/esm/ionic.js +6 -6
  505. package/dist/esm/{ios.transition-688eab99.js → ios.transition-b70d7564.js} +4 -4
  506. package/dist/esm/loader.js +5 -5
  507. package/dist/esm/{md.transition-0540d1d2.js → md.transition-cd8b30a7.js} +4 -3
  508. package/dist/esm/{overlays-a0e93007.js → overlays-6e1a7f53.js} +3 -2
  509. package/dist/esm/{status-tap-8d02be66.js → status-tap-89432b2d.js} +3 -3
  510. package/dist/esm-es5/app-globals-a53a506f.js +4 -0
  511. package/dist/esm-es5/{button-active-367a8e84.js → button-active-ff6f2f4b.js} +1 -1
  512. package/dist/esm-es5/data-ae11fd43.js +4 -0
  513. package/dist/esm-es5/{hardware-back-button-2da817f5.js → hardware-back-button-fb02649b.js} +1 -1
  514. package/dist/esm-es5/index-1d0629cf.js +4 -0
  515. package/dist/esm-es5/index-2f8c4022.js +4 -0
  516. package/dist/esm-es5/index-5cc724f3.js +4 -0
  517. package/dist/esm-es5/index-9b0d46f4.js +4 -0
  518. package/dist/esm-es5/index-e06ef154.js +5 -0
  519. package/dist/esm-es5/index.js +1 -1
  520. package/dist/esm-es5/input-shims-0314bbe5.js +4 -0
  521. package/dist/esm-es5/input.utils-09c71bc7.js +4 -0
  522. package/dist/esm-es5/ion-accordion_2.entry.js +1 -1
  523. package/dist/esm-es5/ion-action-sheet.entry.js +1 -1
  524. package/dist/esm-es5/ion-alert.entry.js +1 -1
  525. package/dist/esm-es5/ion-app_8.entry.js +1 -1
  526. package/dist/esm-es5/ion-avatar_3.entry.js +1 -1
  527. package/dist/esm-es5/ion-back-button.entry.js +1 -1
  528. package/dist/esm-es5/ion-backdrop.entry.js +1 -1
  529. package/dist/esm-es5/ion-breadcrumb_2.entry.js +1 -1
  530. package/dist/esm-es5/ion-button_2.entry.js +1 -1
  531. package/dist/esm-es5/ion-card_5.entry.js +1 -1
  532. package/dist/esm-es5/ion-checkbox.entry.js +1 -1
  533. package/dist/esm-es5/ion-chip.entry.js +1 -1
  534. package/dist/esm-es5/ion-col_3.entry.js +1 -1
  535. package/dist/esm-es5/ion-datetime-button.entry.js +1 -1
  536. package/dist/esm-es5/ion-datetime_3.entry.js +1 -1
  537. package/dist/esm-es5/ion-fab_3.entry.js +1 -1
  538. package/dist/esm-es5/ion-img.entry.js +1 -1
  539. package/dist/esm-es5/ion-infinite-scroll_2.entry.js +1 -1
  540. package/dist/esm-es5/ion-input-password-toggle.entry.js +1 -1
  541. package/dist/esm-es5/ion-input.entry.js +1 -1
  542. package/dist/esm-es5/ion-item-option_3.entry.js +1 -1
  543. package/dist/esm-es5/ion-item_8.entry.js +1 -1
  544. package/dist/esm-es5/ion-loading.entry.js +1 -1
  545. package/dist/esm-es5/ion-menu_3.entry.js +1 -1
  546. package/dist/esm-es5/ion-modal.entry.js +1 -1
  547. package/dist/esm-es5/ion-nav_2.entry.js +1 -1
  548. package/dist/esm-es5/ion-picker-column-option.entry.js +1 -1
  549. package/dist/esm-es5/ion-picker-column.entry.js +1 -1
  550. package/dist/esm-es5/ion-picker.entry.js +1 -1
  551. package/dist/esm-es5/ion-popover.entry.js +1 -1
  552. package/dist/esm-es5/ion-progress-bar.entry.js +1 -1
  553. package/dist/esm-es5/ion-radio_2.entry.js +1 -1
  554. package/dist/esm-es5/ion-range.entry.js +1 -1
  555. package/dist/esm-es5/ion-refresher_2.entry.js +1 -1
  556. package/dist/esm-es5/ion-reorder_2.entry.js +1 -1
  557. package/dist/esm-es5/ion-ripple-effect.entry.js +1 -1
  558. package/dist/esm-es5/ion-route_4.entry.js +1 -1
  559. package/dist/esm-es5/ion-searchbar.entry.js +1 -1
  560. package/dist/esm-es5/ion-segment_2.entry.js +1 -1
  561. package/dist/esm-es5/ion-select_3.entry.js +1 -1
  562. package/dist/esm-es5/ion-spinner.entry.js +1 -1
  563. package/dist/esm-es5/ion-split-pane.entry.js +1 -1
  564. package/dist/esm-es5/ion-tab-bar_2.entry.js +1 -1
  565. package/dist/esm-es5/ion-tab_2.entry.js +1 -1
  566. package/dist/esm-es5/ion-text.entry.js +1 -1
  567. package/dist/esm-es5/ion-textarea.entry.js +1 -1
  568. package/dist/esm-es5/ion-toast.entry.js +1 -1
  569. package/dist/esm-es5/ion-toggle.entry.js +1 -1
  570. package/dist/esm-es5/ionic-global-d92bc7d9.js +4 -0
  571. package/dist/esm-es5/ionic.js +1 -1
  572. package/dist/esm-es5/ios.transition-b70d7564.js +4 -0
  573. package/dist/esm-es5/loader.js +1 -1
  574. package/dist/esm-es5/md.transition-cd8b30a7.js +4 -0
  575. package/dist/esm-es5/overlays-6e1a7f53.js +4 -0
  576. package/dist/esm-es5/status-tap-89432b2d.js +4 -0
  577. package/dist/html.html-data.json +113 -2101
  578. package/dist/ionic/index.esm.js +1 -1
  579. package/dist/ionic/ionic.esm.js +1 -1
  580. package/dist/ionic/ionic.js +1 -1
  581. package/dist/ionic/p-032df8ba.system.entry.js +4 -0
  582. package/dist/ionic/p-05cc8aee.system.entry.js +4 -0
  583. package/dist/ionic/{p-2fa9c16c.js → p-06e58c4e.js} +1 -1
  584. package/dist/ionic/p-06ebecaf.entry.js +4 -0
  585. package/dist/ionic/p-06fee233.js +4 -0
  586. package/dist/ionic/{p-4079d071.entry.js → p-083bbf52.entry.js} +1 -1
  587. package/dist/ionic/p-0be9ba18.system.entry.js +4 -0
  588. package/dist/ionic/{p-2ac68c59.system.js → p-0c06e09b.system.js} +1 -1
  589. package/dist/ionic/p-0ddd9286.system.entry.js +4 -0
  590. package/dist/ionic/p-12292d37.entry.js +4 -0
  591. package/dist/ionic/p-127dfa94.system.entry.js +4 -0
  592. package/dist/ionic/p-1304b2f4.entry.js +4 -0
  593. package/dist/ionic/p-144b1092.entry.js +4 -0
  594. package/dist/ionic/p-14b28c4d.system.entry.js +4 -0
  595. package/dist/ionic/{p-1ecfe64f.system.js → p-187ca590.system.js} +1 -1
  596. package/dist/ionic/p-1bb21eb2.system.entry.js +4 -0
  597. package/dist/ionic/{p-128f0f15.system.entry.js → p-1c9205c6.system.entry.js} +2 -2
  598. package/dist/ionic/p-1df99167.system.js +4 -0
  599. package/dist/ionic/p-1e9bc4e0.system.entry.js +4 -0
  600. package/dist/ionic/{p-a42e4adb.js → p-200c7b0a.js} +1 -1
  601. package/dist/ionic/p-21c31c91.entry.js +4 -0
  602. package/dist/ionic/p-2212b3dd.entry.js +4 -0
  603. package/dist/ionic/p-251e35bf.system.entry.js +4 -0
  604. package/dist/ionic/p-2690b1de.js +4 -0
  605. package/dist/ionic/p-29e70980.system.entry.js +4 -0
  606. package/dist/ionic/p-2b50ae21.entry.js +4 -0
  607. package/dist/ionic/p-2f51a59e.system.entry.js +4 -0
  608. package/dist/ionic/p-3251f335.system.entry.js +4 -0
  609. package/dist/ionic/p-3289aa03.entry.js +4 -0
  610. package/dist/ionic/p-368bd8e0.entry.js +4 -0
  611. package/dist/ionic/p-36d47091.entry.js +4 -0
  612. package/dist/ionic/p-38857824.entry.js +4 -0
  613. package/dist/ionic/{p-3862d08b.system.entry.js → p-3b3d4722.system.entry.js} +1 -1
  614. package/dist/ionic/p-3fc4ade9.system.entry.js +4 -0
  615. package/dist/ionic/p-46453157.entry.js +4 -0
  616. package/dist/ionic/p-4a56ed61.system.js +4 -0
  617. package/dist/ionic/p-4b9f2be3.entry.js +4 -0
  618. package/dist/ionic/p-4e71d73a.system.entry.js +4 -0
  619. package/dist/ionic/p-504b58cb.system.js +4 -0
  620. package/dist/ionic/p-5172d29f.entry.js +4 -0
  621. package/dist/ionic/p-541189ff.entry.js +4 -0
  622. package/dist/ionic/p-571b616a.js +4 -0
  623. package/dist/ionic/p-597849ee.entry.js +4 -0
  624. package/dist/ionic/p-59da9e8c.entry.js +4 -0
  625. package/dist/ionic/{p-a06d7e6a.system.js → p-5cf05ae4.system.js} +1 -1
  626. package/dist/ionic/p-5d030f7f.system.entry.js +4 -0
  627. package/dist/ionic/p-619129e1.system.js +4 -0
  628. package/dist/ionic/{p-e7e3ba54.system.entry.js → p-635c947e.system.entry.js} +1 -1
  629. package/dist/ionic/p-63ad45da.system.entry.js +4 -0
  630. package/dist/ionic/p-646ecffd.system.entry.js +4 -0
  631. package/dist/ionic/p-64c31fa6.entry.js +4 -0
  632. package/dist/ionic/p-660aa713.system.entry.js +4 -0
  633. package/dist/ionic/p-6621dd27.system.entry.js +4 -0
  634. package/dist/ionic/p-662a0f75.entry.js +4 -0
  635. package/dist/ionic/p-6859acef.system.entry.js +4 -0
  636. package/dist/ionic/p-704d249b.system.entry.js +4 -0
  637. package/dist/ionic/{p-41c9fb60.entry.js → p-712f4ef9.entry.js} +1 -1
  638. package/dist/ionic/p-71d0f3b5.entry.js +4 -0
  639. package/dist/ionic/p-724156b4.system.entry.js +4 -0
  640. package/dist/ionic/p-72a09ad4.js +4 -0
  641. package/dist/ionic/p-751d9583.entry.js +4 -0
  642. package/dist/ionic/p-7708f99f.system.entry.js +4 -0
  643. package/dist/ionic/{p-4058051c.entry.js → p-77a18aee.entry.js} +1 -1
  644. package/dist/ionic/p-77db4711.entry.js +4 -0
  645. package/dist/ionic/p-78b156e3.system.entry.js +4 -0
  646. package/dist/ionic/p-7975ca12.entry.js +4 -0
  647. package/dist/ionic/p-7e1e459c.system.entry.js +4 -0
  648. package/dist/ionic/p-8211deec.entry.js +4 -0
  649. package/dist/ionic/p-84fabe48.js +4 -0
  650. package/dist/ionic/p-86b152cd.entry.js +4 -0
  651. package/dist/ionic/p-880030e5.entry.js +4 -0
  652. package/dist/ionic/p-8bbc2e78.js +4 -0
  653. package/dist/ionic/p-8c4a8b15.system.entry.js +4 -0
  654. package/dist/ionic/{p-a2b60239.system.entry.js → p-8cb94ab0.system.entry.js} +1 -1
  655. package/dist/ionic/p-8d781910.system.entry.js +4 -0
  656. package/dist/ionic/p-8fb9a997.system.entry.js +4 -0
  657. package/dist/ionic/{p-cd99310b.js → p-96cc4814.js} +1 -1
  658. package/dist/ionic/{p-fa019443.system.js → p-98701ffb.system.js} +1 -1
  659. package/dist/ionic/p-9b0315b8.system.entry.js +4 -0
  660. package/dist/ionic/{p-c23822f8.entry.js → p-9c328f29.entry.js} +1 -1
  661. package/dist/ionic/{p-1b75a2d2.system.js → p-9ea607bd.system.js} +2 -2
  662. package/dist/ionic/p-9f25dac5.system.js +4 -0
  663. package/dist/ionic/p-9f66851e.entry.js +4 -0
  664. package/dist/ionic/{p-67f85d9a.system.entry.js → p-a13d5fdc.system.entry.js} +1 -1
  665. package/dist/ionic/p-a29432a7.system.js +5 -0
  666. package/dist/ionic/p-a4869688.js +4 -0
  667. package/dist/ionic/p-a5b7a083.system.entry.js +4 -0
  668. package/dist/ionic/{p-e59d16bd.entry.js → p-a790dcd8.entry.js} +1 -1
  669. package/dist/ionic/{p-c47b75e3.entry.js → p-ab11f574.entry.js} +1 -1
  670. package/dist/ionic/p-af19e2b0.system.entry.js +4 -0
  671. package/dist/ionic/p-af4e7c44.entry.js +4 -0
  672. package/dist/ionic/p-b27b19c5.js +4 -0
  673. package/dist/ionic/p-b5feddc3.js +5 -0
  674. package/dist/ionic/p-bf602e15.entry.js +4 -0
  675. package/dist/ionic/p-c0b66c05.entry.js +4 -0
  676. package/dist/ionic/p-c22a5a42.system.entry.js +4 -0
  677. package/dist/ionic/p-c5904db9.js +4 -0
  678. package/dist/ionic/p-ca09cfeb.system.js +4 -0
  679. package/dist/ionic/{p-b5cc6e57.system.entry.js → p-ca370b5c.system.entry.js} +2 -2
  680. package/dist/ionic/p-cc5d299d.system.entry.js +4 -0
  681. package/dist/ionic/p-cf0cb1fe.system.js +4 -0
  682. package/dist/ionic/p-d043806a.system.entry.js +4 -0
  683. package/dist/ionic/p-d3a59491.system.entry.js +4 -0
  684. package/dist/ionic/{p-6649365e.js → p-d60342e3.js} +1 -1
  685. package/dist/ionic/p-d82e2857.entry.js +4 -0
  686. package/dist/ionic/{p-2d618ba6.system.entry.js → p-dd0f72f1.system.entry.js} +1 -1
  687. package/dist/ionic/p-dfb78785.system.js +4 -0
  688. package/dist/ionic/p-e0c85680.system.js +4 -0
  689. package/dist/ionic/p-e1693e82.entry.js +4 -0
  690. package/dist/ionic/p-e1accd5b.entry.js +4 -0
  691. package/dist/ionic/p-e3407e40.entry.js +4 -0
  692. package/dist/ionic/p-e43c3327.entry.js +4 -0
  693. package/dist/ionic/p-e549747a.entry.js +4 -0
  694. package/dist/ionic/p-e6114d2e.entry.js +4 -0
  695. package/dist/ionic/p-e72ce03d.entry.js +4 -0
  696. package/dist/ionic/p-e7a7a142.js +4 -0
  697. package/dist/ionic/p-e8a328c9.entry.js +4 -0
  698. package/dist/ionic/p-e8fd9c89.system.entry.js +4 -0
  699. package/dist/ionic/p-e97b8dc6.entry.js +4 -0
  700. package/dist/ionic/{p-fc9f9e4d.system.js → p-f2103451.system.js} +1 -1
  701. package/dist/ionic/p-f3bbe501.system.entry.js +4 -0
  702. package/dist/ionic/{p-15901e6c.js → p-f5d40d6e.js} +1 -1
  703. package/dist/ionic/{p-d98a1d99.system.js → p-f687573e.system.js} +1 -1
  704. package/dist/ionic/p-f7508243.system.entry.js +4 -0
  705. package/dist/ionic/p-f7f0eb36.entry.js +4 -0
  706. package/dist/ionic/p-f85fc0e3.system.entry.js +4 -0
  707. package/dist/ionic/p-fa058cd0.system.entry.js +4 -0
  708. package/dist/ionic/p-fd108dce.system.entry.js +4 -0
  709. package/dist/ionic/p-feb153ae.entry.js +4 -0
  710. package/dist/ionic/p-ff4b7e40.system.js +4 -0
  711. package/dist/types/components/accordion/accordion.d.ts +2 -3
  712. package/dist/types/components/accordion-group/accordion-group.d.ts +1 -2
  713. package/dist/types/components/action-sheet/action-sheet-interface.d.ts +7 -3
  714. package/dist/types/components/action-sheet/action-sheet.d.ts +2 -3
  715. package/dist/types/components/alert/alert-interface.d.ts +7 -3
  716. package/dist/types/components/alert/alert.d.ts +2 -3
  717. package/dist/types/components/app/app.d.ts +0 -4
  718. package/dist/types/components/avatar/avatar.d.ts +0 -25
  719. package/dist/types/components/back-button/back-button.d.ts +1 -2
  720. package/dist/types/components/backdrop/backdrop.d.ts +0 -4
  721. package/dist/types/components/badge/badge.d.ts +1 -23
  722. package/dist/types/components/breadcrumb/breadcrumb.d.ts +1 -2
  723. package/dist/types/components/breadcrumbs/breadcrumbs.d.ts +2 -2
  724. package/dist/types/components/button/button.d.ts +4 -15
  725. package/dist/types/components/buttons/buttons.d.ts +1 -5
  726. package/dist/types/components/card/card.d.ts +1 -8
  727. package/dist/types/components/card-content/card-content.d.ts +1 -2
  728. package/dist/types/components/card-header/card-header.d.ts +2 -3
  729. package/dist/types/components/card-subtitle/card-subtitle.d.ts +1 -2
  730. package/dist/types/components/card-title/card-title.d.ts +1 -2
  731. package/dist/types/components/checkbox/checkbox.d.ts +4 -14
  732. package/dist/types/components/chip/chip.d.ts +1 -19
  733. package/dist/types/components/col/col.d.ts +0 -4
  734. package/dist/types/components/content/content.d.ts +0 -3
  735. package/dist/types/components/datetime/datetime.d.ts +1 -18
  736. package/dist/types/components/datetime/utils/data.d.ts +3 -3
  737. package/dist/types/components/datetime-button/datetime-button.d.ts +1 -2
  738. package/dist/types/components/fab/fab.d.ts +0 -4
  739. package/dist/types/components/fab-button/fab-button.d.ts +3 -4
  740. package/dist/types/components/fab-list/fab-list.d.ts +0 -4
  741. package/dist/types/components/footer/footer.d.ts +3 -4
  742. package/dist/types/components/grid/grid.d.ts +0 -4
  743. package/dist/types/components/header/header.d.ts +3 -4
  744. package/dist/types/components/img/img.d.ts +0 -3
  745. package/dist/types/components/infinite-scroll/infinite-scroll.d.ts +0 -4
  746. package/dist/types/components/infinite-scroll-content/infinite-scroll-content.d.ts +0 -4
  747. package/dist/types/components/input/input.d.ts +5 -31
  748. package/dist/types/components/item/item.d.ts +4 -5
  749. package/dist/types/components/item-divider/item-divider.d.ts +1 -2
  750. package/dist/types/components/item-group/item-group.d.ts +0 -4
  751. package/dist/types/components/item-option/item-option.d.ts +1 -11
  752. package/dist/types/components/item-options/item-options.d.ts +0 -4
  753. package/dist/types/components/item-sliding/item-sliding.d.ts +0 -4
  754. package/dist/types/components/label/label.d.ts +1 -2
  755. package/dist/types/components/list/list.d.ts +1 -15
  756. package/dist/types/components/list-header/list-header.d.ts +1 -2
  757. package/dist/types/components/loading/loading-interface.d.ts +7 -2
  758. package/dist/types/components/loading/loading.d.ts +2 -3
  759. package/dist/types/components/menu/menu.d.ts +0 -3
  760. package/dist/types/components/menu-button/menu-button.d.ts +1 -2
  761. package/dist/types/components/menu-toggle/menu-toggle.d.ts +0 -3
  762. package/dist/types/components/modal/modal-interface.d.ts +7 -3
  763. package/dist/types/components/modal/modal.d.ts +1 -2
  764. package/dist/types/components/nav/nav-interface.d.ts +1 -9
  765. package/dist/types/components/nav/nav.d.ts +1 -5
  766. package/dist/types/components/nav-link/nav-link.d.ts +0 -4
  767. package/dist/types/components/note/note.d.ts +1 -2
  768. package/dist/types/components/picker/picker.d.ts +1 -2
  769. package/dist/types/components/picker-column/picker-column.d.ts +1 -2
  770. package/dist/types/components/picker-column-option/picker-column-option.d.ts +0 -4
  771. package/dist/types/components/picker-legacy/picker.d.ts +1 -2
  772. package/dist/types/components/popover/popover-interface.d.ts +6 -3
  773. package/dist/types/components/popover/popover.d.ts +5 -6
  774. package/dist/types/components/progress-bar/progress-bar.d.ts +1 -2
  775. package/dist/types/components/radio/radio.d.ts +1 -2
  776. package/dist/types/components/radio-group/radio-group.d.ts +0 -4
  777. package/dist/types/components/range/range.d.ts +1 -2
  778. package/dist/types/components/refresher/refresher.d.ts +1 -2
  779. package/dist/types/components/refresher-content/refresher-content.d.ts +0 -4
  780. package/dist/types/components/reorder/reorder.d.ts +0 -11
  781. package/dist/types/components/reorder-group/reorder-group.d.ts +0 -4
  782. package/dist/types/components/ripple-effect/ripple-effect.d.ts +0 -4
  783. package/dist/types/components/route/route.d.ts +0 -4
  784. package/dist/types/components/router/router.d.ts +0 -4
  785. package/dist/types/components/router-link/router-link.d.ts +0 -4
  786. package/dist/types/components/router-outlet/router-outlet.d.ts +1 -4
  787. package/dist/types/components/row/row.d.ts +0 -4
  788. package/dist/types/components/searchbar/searchbar.d.ts +8 -27
  789. package/dist/types/components/segment/segment.d.ts +1 -2
  790. package/dist/types/components/segment-button/segment-button.d.ts +1 -2
  791. package/dist/types/components/select/select.d.ts +5 -24
  792. package/dist/types/components/select-option/select-option.d.ts +0 -4
  793. package/dist/types/components/select-popover/select-popover.d.ts +0 -3
  794. package/dist/types/components/skeleton-text/skeleton-text.d.ts +0 -4
  795. package/dist/types/components/spinner/spinner.d.ts +0 -4
  796. package/dist/types/components/split-pane/split-pane.d.ts +0 -4
  797. package/dist/types/components/tab/tab.d.ts +0 -4
  798. package/dist/types/components/tab-bar/tab-bar.d.ts +2 -3
  799. package/dist/types/components/tab-button/tab-button.d.ts +1 -2
  800. package/dist/types/components/tabs/tabs.d.ts +0 -3
  801. package/dist/types/components/text/text.d.ts +1 -2
  802. package/dist/types/components/textarea/textarea.d.ts +2 -3
  803. package/dist/types/components/thumbnail/thumbnail.d.ts +0 -4
  804. package/dist/types/components/title/title.d.ts +0 -4
  805. package/dist/types/components/toast/animations/utils.d.ts +2 -2
  806. package/dist/types/components/toast/toast-interface.d.ts +7 -3
  807. package/dist/types/components/toast/toast.d.ts +2 -3
  808. package/dist/types/components/toggle/toggle.d.ts +1 -19
  809. package/dist/types/components/toolbar/toolbar.d.ts +3 -9
  810. package/dist/types/components.d.ts +174 -1302
  811. package/dist/types/global/ionic-global.d.ts +2 -25
  812. package/dist/types/interface.d.ts +0 -3
  813. package/dist/types/stencil-public-runtime.d.ts +0 -2
  814. package/dist/types/utils/config.d.ts +2 -99
  815. package/dist/types/utils/overlays-interface.d.ts +1 -31
  816. package/dist/types/utils/test/playwright/generator.d.ts +2 -31
  817. package/hydrate/index.d.ts +29 -11
  818. package/hydrate/index.js +927 -1907
  819. package/hydrate/index.mjs +48653 -0
  820. package/hydrate/package.json +7 -1
  821. package/loader/index.d.ts +3 -0
  822. package/package.json +7 -10
  823. package/css/ionic/bundle.ionic.css +0 -1
  824. package/css/ionic/bundle.ionic.css.map +0 -1
  825. package/css/ionic/core.ionic.css +0 -1
  826. package/css/ionic/core.ionic.css.map +0 -1
  827. package/css/ionic/global.bundle.ionic.css +0 -1
  828. package/css/ionic/global.bundle.ionic.css.map +0 -1
  829. package/css/ionic/ionic-swiper.ionic.css +0 -1
  830. package/css/ionic/ionic-swiper.ionic.css.map +0 -1
  831. package/css/ionic/link.ionic.css +0 -1
  832. package/css/ionic/link.ionic.css.map +0 -1
  833. package/css/ionic/structure.ionic.css +0 -1
  834. package/css/ionic/structure.ionic.css.map +0 -1
  835. package/css/ionic/typography.ionic.css +0 -1
  836. package/css/ionic/typography.ionic.css.map +0 -1
  837. package/css/ionic/utils.bundle.ionic.css +0 -1
  838. package/css/ionic/utils.bundle.ionic.css.map +0 -1
  839. package/dist/cjs/ionic-global-2bd379ad.js +0 -418
  840. package/dist/collection/components/accordion/test/a11y/accordion.e2e.js +0 -40
  841. package/dist/collection/components/accordion/test/accordion.spec.js +0 -195
  842. package/dist/collection/components/accordion/test/basic/accordion.e2e.js +0 -52
  843. package/dist/collection/components/accordion/test/disabled/accordion.e2e.js +0 -94
  844. package/dist/collection/components/accordion/test/multiple/accordion.e2e.js +0 -26
  845. package/dist/collection/components/accordion/test/nested/accordion.e2e.js +0 -24
  846. package/dist/collection/components/accordion/test/readonly/accordion.e2e.js +0 -94
  847. package/dist/collection/components/accordion/test/standalone/accordion.e2e.js +0 -15
  848. package/dist/collection/components/action-sheet/test/a11y/action-sheet.e2e.js +0 -99
  849. package/dist/collection/components/action-sheet/test/action-sheet-id.spec.js +0 -32
  850. package/dist/collection/components/action-sheet/test/basic/action-sheet-rendering.e2e.js +0 -60
  851. package/dist/collection/components/action-sheet/test/basic/action-sheet.e2e.js +0 -142
  852. package/dist/collection/components/action-sheet/test/basic/action-sheet.spec.js +0 -40
  853. package/dist/collection/components/action-sheet/test/is-open/action-sheet.e2e.js +0 -33
  854. package/dist/collection/components/action-sheet/test/translucent/action-sheet.e2e.js +0 -18
  855. package/dist/collection/components/action-sheet/test/trigger/action-sheet.e2e.js +0 -29
  856. package/dist/collection/components/alert/test/a11y/alert.e2e.js +0 -247
  857. package/dist/collection/components/alert/test/alert-id.spec.js +0 -32
  858. package/dist/collection/components/alert/test/alert.spec.js +0 -37
  859. package/dist/collection/components/alert/test/basic/alert-tablet.e2e.js +0 -40
  860. package/dist/collection/components/alert/test/basic/alert.e2e.js +0 -135
  861. package/dist/collection/components/alert/test/is-open/alert.e2e.js +0 -33
  862. package/dist/collection/components/alert/test/standalone/alert.e2e.js +0 -17
  863. package/dist/collection/components/alert/test/trigger/alert.e2e.js +0 -29
  864. package/dist/collection/components/app/test/safe-area/app.e2e.js +0 -35
  865. package/dist/collection/components/avatar/avatar.ionic.css +0 -255
  866. package/dist/collection/components/avatar/test/basic/avatar.e2e.js +0 -24
  867. package/dist/collection/components/avatar/test/shape/avatar.e2e.js +0 -134
  868. package/dist/collection/components/avatar/test/size/avatar.e2e.js +0 -147
  869. package/dist/collection/components/back-button/test/a11y/back-button.e2e.js +0 -47
  870. package/dist/collection/components/back-button/test/back-button.spec.js +0 -86
  871. package/dist/collection/components/back-button/test/basic/back-button.e2e.js +0 -14
  872. package/dist/collection/components/back-button/test/toolbar/back-button.e2e.js +0 -14
  873. package/dist/collection/components/badge/badge.ionic.css +0 -256
  874. package/dist/collection/components/badge/test/a11y/badge.e2e.js +0 -40
  875. package/dist/collection/components/badge/test/basic/badge.e2e.js +0 -14
  876. package/dist/collection/components/badge/test/shape/badge.e2e.js +0 -84
  877. package/dist/collection/components/badge/test/size/badge.e2e.js +0 -96
  878. package/dist/collection/components/breadcrumb/test/aria.spec.js +0 -22
  879. package/dist/collection/components/breadcrumbs/test/a11y/breadcrumbs.e2e.js +0 -36
  880. package/dist/collection/components/breadcrumbs/test/basic/breadcrumbs.e2e.js +0 -14
  881. package/dist/collection/components/breadcrumbs/test/breadcrumbs.spec.js +0 -58
  882. package/dist/collection/components/breadcrumbs/test/collapsed/breadcrumbs.e2e.js +0 -14
  883. package/dist/collection/components/breadcrumbs/test/reactive/breadcrumbs.e2e.js +0 -51
  884. package/dist/collection/components/button/button.ionic.css +0 -417
  885. package/dist/collection/components/button/test/a11y/button.e2e.js +0 -109
  886. package/dist/collection/components/button/test/basic/button.e2e.js +0 -51
  887. package/dist/collection/components/button/test/clear/button.e2e.js +0 -17
  888. package/dist/collection/components/button/test/expand/button.e2e.js +0 -17
  889. package/dist/collection/components/button/test/form-reference/button.e2e.js +0 -135
  890. package/dist/collection/components/button/test/form-reference/button.spec.js +0 -26
  891. package/dist/collection/components/button/test/icon/button.e2e.js +0 -14
  892. package/dist/collection/components/button/test/outline/button.e2e.js +0 -15
  893. package/dist/collection/components/button/test/shape/button.e2e.js +0 -250
  894. package/dist/collection/components/button/test/size/button.e2e.js +0 -60
  895. package/dist/collection/components/button/test/states/button.e2e.js +0 -51
  896. package/dist/collection/components/button/test/strong/button.e2e.js +0 -48
  897. package/dist/collection/components/button/test/wrap/button.e2e.js +0 -126
  898. package/dist/collection/components/buttons/buttons.ionic.css +0 -101
  899. package/dist/collection/components/buttons/test/a11y/buttons.e2e.js +0 -74
  900. package/dist/collection/components/card/card.ionic.css +0 -88
  901. package/dist/collection/components/card/test/a11y/card.e2e.js +0 -31
  902. package/dist/collection/components/card/test/aria.spec.js +0 -16
  903. package/dist/collection/components/card/test/basic/card.e2e.js +0 -151
  904. package/dist/collection/components/card/test/shape/card.e2e.js +0 -40
  905. package/dist/collection/components/card-header/test/basic/card-header.e2e.js +0 -14
  906. package/dist/collection/components/checkbox/checkbox.ionic.css +0 -391
  907. package/dist/collection/components/checkbox/test/a11y/checkbox.e2e.js +0 -42
  908. package/dist/collection/components/checkbox/test/basic/checkbox.e2e.js +0 -152
  909. package/dist/collection/components/checkbox/test/checkbox.spec.js +0 -46
  910. package/dist/collection/components/checkbox/test/color/checkbox.e2e.js +0 -23
  911. package/dist/collection/components/checkbox/test/indeterminate/checkbox.e2e.js +0 -14
  912. package/dist/collection/components/checkbox/test/item/checkbox.e2e.js +0 -74
  913. package/dist/collection/components/checkbox/test/label/checkbox.e2e.js +0 -122
  914. package/dist/collection/components/checkbox/test/states/checkbox.e2e.js +0 -68
  915. package/dist/collection/components/chip/chip.ionic.css +0 -141
  916. package/dist/collection/components/chip/test/a11y/chip.e2e.js +0 -58
  917. package/dist/collection/components/chip/test/basic/chip.e2e.js +0 -81
  918. package/dist/collection/components/chip/test/shape/chip.e2e.js +0 -39
  919. package/dist/collection/components/chip/test/size/chip.e2e.js +0 -26
  920. package/dist/collection/components/chip/test/states/chip.e2e.js +0 -51
  921. package/dist/collection/components/content/test/basic/content.e2e.js +0 -17
  922. package/dist/collection/components/content/test/content.spec.js +0 -27
  923. package/dist/collection/components/content/test/fixed/content.e2e.js +0 -17
  924. package/dist/collection/components/content/test/fullscreen/content.e2e.js +0 -17
  925. package/dist/collection/components/content/test/standalone/content.e2e.js +0 -16
  926. package/dist/collection/components/datetime/test/a11y/datetime.e2e.js +0 -94
  927. package/dist/collection/components/datetime/test/a11y/datetime.spec.js +0 -40
  928. package/dist/collection/components/datetime/test/basic/datetime.e2e.js +0 -493
  929. package/dist/collection/components/datetime/test/color/datetime.e2e.js +0 -27
  930. package/dist/collection/components/datetime/test/comparison.spec.js +0 -43
  931. package/dist/collection/components/datetime/test/custom/datetime.e2e.js +0 -52
  932. package/dist/collection/components/datetime/test/data.spec.js +0 -456
  933. package/dist/collection/components/datetime/test/datetime.e2e.js +0 -39
  934. package/dist/collection/components/datetime/test/disable-dates/datetime.e2e.js +0 -150
  935. package/dist/collection/components/datetime/test/disabled/datetime.e2e.js +0 -68
  936. package/dist/collection/components/datetime/test/disabled/datetime.spec.js +0 -33
  937. package/dist/collection/components/datetime/test/display/datetime.e2e.js +0 -121
  938. package/dist/collection/components/datetime/test/first-day-of-week/datetime.e2e.js +0 -14
  939. package/dist/collection/components/datetime/test/format.spec.js +0 -174
  940. package/dist/collection/components/datetime/test/helpers.spec.js +0 -72
  941. package/dist/collection/components/datetime/test/highlighted-dates/datetime.e2e.js +0 -86
  942. package/dist/collection/components/datetime/test/hour-cycle/datetime.e2e.js +0 -37
  943. package/dist/collection/components/datetime/test/locale/datetime.e2e.js +0 -129
  944. package/dist/collection/components/datetime/test/manipulation.spec.js +0 -565
  945. package/dist/collection/components/datetime/test/minmax/datetime.e2e.js +0 -266
  946. package/dist/collection/components/datetime/test/month-year-picker/datetime.e2e.js +0 -29
  947. package/dist/collection/components/datetime/test/multiple/datetime.e2e.js +0 -242
  948. package/dist/collection/components/datetime/test/overlay-roles/datetime.e2e.js +0 -34
  949. package/dist/collection/components/datetime/test/parse.spec.js +0 -222
  950. package/dist/collection/components/datetime/test/position/datetime.e2e.js +0 -22
  951. package/dist/collection/components/datetime/test/prefer-wheel/datetime.e2e.js +0 -502
  952. package/dist/collection/components/datetime/test/prefer-wheel/datetime.spec.js +0 -27
  953. package/dist/collection/components/datetime/test/presentation/datetime.e2e.js +0 -169
  954. package/dist/collection/components/datetime/test/readonly/datetime.e2e.js +0 -113
  955. package/dist/collection/components/datetime/test/set-value/datetime.e2e.js +0 -50
  956. package/dist/collection/components/datetime/test/state.spec.js +0 -114
  957. package/dist/collection/components/datetime/test/time-label/datetime.e2e.js +0 -25
  958. package/dist/collection/components/datetime/test/values/datetime.e2e.js +0 -143
  959. package/dist/collection/components/datetime-button/test/a11y/datetime-button.e2e.js +0 -38
  960. package/dist/collection/components/datetime-button/test/basic/datetime-button.e2e.js +0 -254
  961. package/dist/collection/components/datetime-button/test/disabled/datetime-button.e2e.js +0 -27
  962. package/dist/collection/components/datetime-button/test/multiple/datetime-button.e2e.js +0 -96
  963. package/dist/collection/components/datetime-button/test/overlays/datetime-button.e2e.js +0 -143
  964. package/dist/collection/components/fab/test/basic/fab.e2e.js +0 -65
  965. package/dist/collection/components/fab/test/custom-size/fab.e2e.js +0 -17
  966. package/dist/collection/components/fab/test/safe-area/fab.e2e.js +0 -63
  967. package/dist/collection/components/fab/test/states/fab.e2e.js +0 -14
  968. package/dist/collection/components/fab/test/translucent/fab.e2e.js +0 -28
  969. package/dist/collection/components/fab-button/test/a11y/fab-button.e2e.js +0 -66
  970. package/dist/collection/components/footer/test/basic/footer.e2e.js +0 -61
  971. package/dist/collection/components/footer/test/fade/footer.e2e.js +0 -21
  972. package/dist/collection/components/footer/test/scroll-target/footer.e2e.js +0 -26
  973. package/dist/collection/components/footer/test/with-tabs/footer.e2e.js +0 -17
  974. package/dist/collection/components/grid/test/basic/grid.e2e.js +0 -17
  975. package/dist/collection/components/grid/test/offsets/grid.e2e.js +0 -17
  976. package/dist/collection/components/grid/test/padding/grid.e2e.js +0 -17
  977. package/dist/collection/components/grid/test/sizes/grid.e2e.js +0 -17
  978. package/dist/collection/components/header/header.ionic.css +0 -80
  979. package/dist/collection/components/header/test/a11y/header.e2e.js +0 -29
  980. package/dist/collection/components/header/test/basic/header.e2e.js +0 -156
  981. package/dist/collection/components/header/test/condense/header.e2e.js +0 -33
  982. package/dist/collection/components/header/test/fade/header.e2e.js +0 -21
  983. package/dist/collection/components/header/test/scroll-target/header.e2e.js +0 -26
  984. package/dist/collection/components/icon/test/basic/icon.e2e.js +0 -16
  985. package/dist/collection/components/icon/test/dir/icon.e2e.js +0 -23
  986. package/dist/collection/components/img/test/basic/img.e2e.js +0 -73
  987. package/dist/collection/components/img/test/draggable/img.e2e.js +0 -21
  988. package/dist/collection/components/infinite-scroll/test/basic/infinite-scroll.e2e.js +0 -19
  989. package/dist/collection/components/infinite-scroll/test/scroll-target/infinite-scroll.e2e.js +0 -19
  990. package/dist/collection/components/infinite-scroll/test/small-dom-update/infinite-scroll.e2e.js +0 -31
  991. package/dist/collection/components/infinite-scroll/test/top/infinite-scroll.e2e.js +0 -19
  992. package/dist/collection/components/infinite-scroll-content/test/infinite-scroll-content.spec.js +0 -37
  993. package/dist/collection/components/input/input.ionic.css +0 -1031
  994. package/dist/collection/components/input/test/a11y/input.e2e.js +0 -67
  995. package/dist/collection/components/input/test/basic/input.e2e.js +0 -168
  996. package/dist/collection/components/input/test/bottom-content/input.e2e.js +0 -164
  997. package/dist/collection/components/input/test/card/input.e2e.js +0 -22
  998. package/dist/collection/components/input/test/clear-on-edit/input.e2e.js +0 -53
  999. package/dist/collection/components/input/test/color/input.e2e.js +0 -130
  1000. package/dist/collection/components/input/test/fill/input.e2e.js +0 -201
  1001. package/dist/collection/components/input/test/highlight/input.e2e.js +0 -394
  1002. package/dist/collection/components/input/test/input.e2e.js +0 -17
  1003. package/dist/collection/components/input/test/input.spec.js +0 -98
  1004. package/dist/collection/components/input/test/item/input.e2e.js +0 -64
  1005. package/dist/collection/components/input/test/label-placement/input.e2e.js +0 -165
  1006. package/dist/collection/components/input/test/shape/input.e2e.js +0 -165
  1007. package/dist/collection/components/input/test/size/input.e2e.js +0 -164
  1008. package/dist/collection/components/input/test/slot/input.e2e.js +0 -77
  1009. package/dist/collection/components/input/test/states/input.e2e.js +0 -196
  1010. package/dist/collection/components/input-password-toggle/test/a11y/input-password-toggle.e2e.js +0 -21
  1011. package/dist/collection/components/input-password-toggle/test/basic/input-password-toggle.e2e.js +0 -38
  1012. package/dist/collection/components/input-password-toggle/test/input-password-toggle.spec.js +0 -76
  1013. package/dist/collection/components/item/item.ionic.css +0 -169
  1014. package/dist/collection/components/item/test/a11y/item.e2e.js +0 -123
  1015. package/dist/collection/components/item/test/a11y/item.spec.js +0 -48
  1016. package/dist/collection/components/item/test/alignment/item.e2e.js +0 -14
  1017. package/dist/collection/components/item/test/basic/item.e2e.js +0 -35
  1018. package/dist/collection/components/item/test/buttons/item.e2e.js +0 -45
  1019. package/dist/collection/components/item/test/colors/item.e2e.js +0 -17
  1020. package/dist/collection/components/item/test/css-variables/item.e2e.js +0 -17
  1021. package/dist/collection/components/item/test/disabled/item.e2e.js +0 -17
  1022. package/dist/collection/components/item/test/dividers/item.e2e.js +0 -14
  1023. package/dist/collection/components/item/test/groups/item.e2e.js +0 -16
  1024. package/dist/collection/components/item/test/icons/item.e2e.js +0 -14
  1025. package/dist/collection/components/item/test/images/item.e2e.js +0 -14
  1026. package/dist/collection/components/item/test/inputs/item.e2e.js +0 -199
  1027. package/dist/collection/components/item/test/item.spec.js +0 -20
  1028. package/dist/collection/components/item/test/lines/item.e2e.js +0 -14
  1029. package/dist/collection/components/item/test/media/item.e2e.js +0 -14
  1030. package/dist/collection/components/item/test/reorder/item.e2e.js +0 -16
  1031. package/dist/collection/components/item/test/slotted-inputs/item.e2e.js +0 -149
  1032. package/dist/collection/components/item/test/states/item.e2e.js +0 -17
  1033. package/dist/collection/components/item-divider/test/a11y/item-divider.e2e.js +0 -44
  1034. package/dist/collection/components/item-divider/test/basic/item-divider.e2e.js +0 -60
  1035. package/dist/collection/components/item-divider/test/spec/item-divider.e2e.js +0 -16
  1036. package/dist/collection/components/item-option/item-option.ionic.css +0 -325
  1037. package/dist/collection/components/item-options/item-options.ionic.css +0 -260
  1038. package/dist/collection/components/item-sliding/test/a11y/item-sliding.e2e.js +0 -62
  1039. package/dist/collection/components/item-sliding/test/async/item-sliding.e2e.js +0 -33
  1040. package/dist/collection/components/item-sliding/test/basic/item-sliding.e2e.js +0 -162
  1041. package/dist/collection/components/item-sliding/test/icons/item-sliding.e2e.js +0 -35
  1042. package/dist/collection/components/item-sliding/test/scroll-target/item-sliding.e2e.js +0 -29
  1043. package/dist/collection/components/item-sliding/test/shapes/item-sliding.e2e.js +0 -28
  1044. package/dist/collection/components/label/test/a11y/label.e2e.js +0 -111
  1045. package/dist/collection/components/label/test/basic/label.e2e.js +0 -45
  1046. package/dist/collection/components/label/test/color/label.e2e.js +0 -39
  1047. package/dist/collection/components/label/test/headings/label.e2e.js +0 -13
  1048. package/dist/collection/components/label/test/item/item.e2e.js +0 -24
  1049. package/dist/collection/components/list/list.ionic.css +0 -174
  1050. package/dist/collection/components/list/test/a11y/list.e2e.js +0 -15
  1051. package/dist/collection/components/list/test/basic/list.e2e.js +0 -24
  1052. package/dist/collection/components/list/test/inset/list.e2e.js +0 -69
  1053. package/dist/collection/components/list/test/lines/list.e2e.js +0 -167
  1054. package/dist/collection/components/list/test/shape/list.e2e.js +0 -204
  1055. package/dist/collection/components/list-header/test/a11y/list-header.e2e.js +0 -24
  1056. package/dist/collection/components/list-header/test/basic/list-header.e2e.js +0 -42
  1057. package/dist/collection/components/loading/test/a11y/loading.e2e.js +0 -61
  1058. package/dist/collection/components/loading/test/basic/loading.e2e.js +0 -80
  1059. package/dist/collection/components/loading/test/basic/loading.spec.js +0 -16
  1060. package/dist/collection/components/loading/test/is-open/loading.e2e.js +0 -28
  1061. package/dist/collection/components/loading/test/loading-id.spec.js +0 -32
  1062. package/dist/collection/components/loading/test/loading.spec.js +0 -37
  1063. package/dist/collection/components/loading/test/standalone/loading.e2e.js +0 -21
  1064. package/dist/collection/components/loading/test/trigger/loading.e2e.js +0 -32
  1065. package/dist/collection/components/menu/test/a11y/menu.e2e.js +0 -22
  1066. package/dist/collection/components/menu/test/basic/menu.e2e.js +0 -124
  1067. package/dist/collection/components/menu/test/custom/menu.e2e.js +0 -61
  1068. package/dist/collection/components/menu/test/disable/menu.e2e.js +0 -55
  1069. package/dist/collection/components/menu/test/focus-trap/menu.e2e.js +0 -72
  1070. package/dist/collection/components/menu/test/multiple/menu.e2e.js +0 -60
  1071. package/dist/collection/components/menu/test/safe-area/menu.e2e.js +0 -87
  1072. package/dist/collection/components/menu-button/menu-button.ionic.css +0 -240
  1073. package/dist/collection/components/menu-button/test/a11y/menu-button.e2e.js +0 -48
  1074. package/dist/collection/components/menu-button/test/async/menu-button.e2e.js +0 -23
  1075. package/dist/collection/components/menu-button/test/basic/menu-button.e2e.js +0 -14
  1076. package/dist/collection/components/menu-toggle/test/basic/menu-toggle.e2e.js +0 -43
  1077. package/dist/collection/components/modal/test/a11y/modal.e2e.js +0 -21
  1078. package/dist/collection/components/modal/test/animations/modal.e2e.js +0 -36
  1079. package/dist/collection/components/modal/test/basic/modal.e2e.js +0 -125
  1080. package/dist/collection/components/modal/test/basic/modal.spec.js +0 -35
  1081. package/dist/collection/components/modal/test/can-dismiss/modal-card.e2e.js +0 -55
  1082. package/dist/collection/components/modal/test/can-dismiss/modal-sheet.e2e.js +0 -73
  1083. package/dist/collection/components/modal/test/can-dismiss/modal.e2e.js +0 -27
  1084. package/dist/collection/components/modal/test/can-dismiss/modal.spec.js +0 -191
  1085. package/dist/collection/components/modal/test/card/modal-card.e2e.js +0 -83
  1086. package/dist/collection/components/modal/test/card/modal-tablet.e2e.js +0 -82
  1087. package/dist/collection/components/modal/test/card-nav/modal.e2e.js +0 -38
  1088. package/dist/collection/components/modal/test/card-refresher/modal.e2e.js +0 -22
  1089. package/dist/collection/components/modal/test/card-scroll-target/modal.e2e.js +0 -42
  1090. package/dist/collection/components/modal/test/custom/modal.e2e.js +0 -24
  1091. package/dist/collection/components/modal/test/custom-dialog/modal.e2e.js +0 -20
  1092. package/dist/collection/components/modal/test/dark-mode/model.e2e.js +0 -20
  1093. package/dist/collection/components/modal/test/inline/modal.e2e.js +0 -48
  1094. package/dist/collection/components/modal/test/is-open/modal.e2e.js +0 -25
  1095. package/dist/collection/components/modal/test/modal-attributes.spec.js +0 -32
  1096. package/dist/collection/components/modal/test/modal-id.spec.js +0 -32
  1097. package/dist/collection/components/modal/test/sheet/modal.e2e.js +0 -212
  1098. package/dist/collection/components/modal/test/standalone/modal.e2e.js +0 -19
  1099. package/dist/collection/components/modal/test/trigger/modal.e2e.js +0 -31
  1100. package/dist/collection/components/modal/utils.spec.js +0 -13
  1101. package/dist/collection/components/nav/test/basic/nav.e2e.js +0 -69
  1102. package/dist/collection/components/nav/test/modal-navigation/nav.e2e.js +0 -65
  1103. package/dist/collection/components/nav/test/nav-controller.spec.js +0 -749
  1104. package/dist/collection/components/nav/test/nested/nav.e2e.js +0 -66
  1105. package/dist/collection/components/nav/test/routing/nav.e2e.js +0 -87
  1106. package/dist/collection/components/note/test/a11y/note.e2e.js +0 -95
  1107. package/dist/collection/components/note/test/basic/note.e2e.js +0 -78
  1108. package/dist/collection/components/picker/test/a11y/picker.e2e.js +0 -15
  1109. package/dist/collection/components/picker/test/basic/picker.e2e.js +0 -111
  1110. package/dist/collection/components/picker/test/custom/picker.e2e.js +0 -85
  1111. package/dist/collection/components/picker/test/keyboard-entry/picker.e2e.js +0 -183
  1112. package/dist/collection/components/picker-column/test/basic/picker-column.e2e.js +0 -64
  1113. package/dist/collection/components/picker-column/test/disabled/picker-column.e2e.js +0 -91
  1114. package/dist/collection/components/picker-column/test/picker-column.spec.js +0 -83
  1115. package/dist/collection/components/picker-column/test/slots/picker-column.e2e.js +0 -39
  1116. package/dist/collection/components/picker-column-option/test/a11y/picker-column-option.e2e.js +0 -18
  1117. package/dist/collection/components/picker-column-option/test/basic/picker-column-option.e2e.js +0 -37
  1118. package/dist/collection/components/picker-column-option/test/picker-column-option.spec.js +0 -29
  1119. package/dist/collection/components/picker-legacy/test/basic/picker.e2e.js +0 -25
  1120. package/dist/collection/components/picker-legacy/test/is-open/picker.e2e.js +0 -28
  1121. package/dist/collection/components/picker-legacy/test/picker-id.spec.js +0 -32
  1122. package/dist/collection/components/picker-legacy/test/trigger/picker.e2e.js +0 -32
  1123. package/dist/collection/components/picker-legacy-column/test/picker-column-aria.spec.js +0 -35
  1124. package/dist/collection/components/picker-legacy-column/test/picker-column-dynamic.spec.js +0 -29
  1125. package/dist/collection/components/picker-legacy-column/test/picker-column.spec.js +0 -17
  1126. package/dist/collection/components/picker-legacy-column/test/standalone/picker-column.e2e.js +0 -35
  1127. package/dist/collection/components/popover/test/adjustment/popover.e2e.js +0 -33
  1128. package/dist/collection/components/popover/test/arrow/popover.e2e.js +0 -27
  1129. package/dist/collection/components/popover/test/async/popover.e2e.js +0 -42
  1130. package/dist/collection/components/popover/test/basic/popover.e2e.js +0 -211
  1131. package/dist/collection/components/popover/test/basic/popover.spec.js +0 -35
  1132. package/dist/collection/components/popover/test/dismiss-on-select/popover.e2e.js +0 -38
  1133. package/dist/collection/components/popover/test/inline/popover.e2e.js +0 -32
  1134. package/dist/collection/components/popover/test/is-open/popover.e2e.js +0 -13
  1135. package/dist/collection/components/popover/test/nested/popover.e2e.js +0 -92
  1136. package/dist/collection/components/popover/test/popover-id.spec.js +0 -32
  1137. package/dist/collection/components/popover/test/position/popover.e2e.js +0 -27
  1138. package/dist/collection/components/popover/test/reference/popover.e2e.js +0 -22
  1139. package/dist/collection/components/popover/test/size/popover.e2e.js +0 -41
  1140. package/dist/collection/components/popover/test/standalone/popover.e2e.js +0 -15
  1141. package/dist/collection/components/popover/test/trigger/popover.e2e.js +0 -46
  1142. package/dist/collection/components/popover/test/util.spec.js +0 -53
  1143. package/dist/collection/components/progress-bar/test/a11y/progress-bar.e2e.js +0 -24
  1144. package/dist/collection/components/progress-bar/test/basic/progress-bar.e2e.js +0 -14
  1145. package/dist/collection/components/progress-bar/test/buffer/progress-bar.e2e.js +0 -20
  1146. package/dist/collection/components/progress-bar/test/determinate/progress-bar.e2e.js +0 -20
  1147. package/dist/collection/components/radio/test/a11y/radio.e2e.js +0 -152
  1148. package/dist/collection/components/radio/test/color/radio.e2e.js +0 -27
  1149. package/dist/collection/components/radio/test/item/radio.e2e.js +0 -92
  1150. package/dist/collection/components/radio/test/label-placement/radio.e2e.js +0 -135
  1151. package/dist/collection/components/radio/test/radio.spec.js +0 -60
  1152. package/dist/collection/components/radio/test/states/radio.e2e.js +0 -45
  1153. package/dist/collection/components/radio-group/test/basic/radio-group.e2e.js +0 -85
  1154. package/dist/collection/components/radio-group/test/form/radio-group.e2e.js +0 -56
  1155. package/dist/collection/components/radio-group/test/radio-group-events.e2e.js +0 -80
  1156. package/dist/collection/components/radio-group/test/radio-group.spec.js +0 -69
  1157. package/dist/collection/components/radio-group/test/search/radio-group.e2e.js +0 -35
  1158. package/dist/collection/components/range/test/a11y/range.e2e.js +0 -89
  1159. package/dist/collection/components/range/test/active-bar-start/range.e2e.js +0 -14
  1160. package/dist/collection/components/range/test/basic/range.e2e.js +0 -31
  1161. package/dist/collection/components/range/test/color/range.e2e.js +0 -20
  1162. package/dist/collection/components/range/test/custom/range.e2e.js +0 -14
  1163. package/dist/collection/components/range/test/item/range.e2e.js +0 -70
  1164. package/dist/collection/components/range/test/label/range.e2e.js +0 -179
  1165. package/dist/collection/components/range/test/label/range.spec.js +0 -47
  1166. package/dist/collection/components/range/test/range-events.e2e.js +0 -179
  1167. package/dist/collection/components/range/test/range.spec.js +0 -209
  1168. package/dist/collection/components/range/test/scroll-target/range.e2e.js +0 -35
  1169. package/dist/collection/components/range/test/states/range.e2e.js +0 -53
  1170. package/dist/collection/components/refresher/test/a11y/refresher.e2e.js +0 -26
  1171. package/dist/collection/components/refresher/test/basic/refresher.e2e.js +0 -38
  1172. package/dist/collection/components/refresher/test/fullscreen/refresher.e2e.js +0 -77
  1173. package/dist/collection/components/refresher/test/scroll-target/refresher.e2e.js +0 -38
  1174. package/dist/collection/components/refresher-content/test/refresher-content.spec.js +0 -46
  1175. package/dist/collection/components/reorder-group/test/a11y/reorder-group.e2e.js +0 -33
  1176. package/dist/collection/components/reorder-group/test/basic/reorder-group.e2e.js +0 -36
  1177. package/dist/collection/components/reorder-group/test/interactive/reorder-group.e2e.js +0 -32
  1178. package/dist/collection/components/reorder-group/test/nested/reorder-group.e2e.js +0 -32
  1179. package/dist/collection/components/reorder-group/test/scroll-target/reorder-group.e2e.js +0 -32
  1180. package/dist/collection/components/ripple-effect/test/basic/ripple-effect.e2e.js +0 -66
  1181. package/dist/collection/components/router/test/basic/router.e2e.js +0 -68
  1182. package/dist/collection/components/router/test/guards/href/router.e2e.js +0 -60
  1183. package/dist/collection/components/router/test/guards/link/router.e2e.js +0 -60
  1184. package/dist/collection/components/router/test/guards/push/router.e2e.js +0 -60
  1185. package/dist/collection/components/router/test/guards/router.e2e.js +0 -13
  1186. package/dist/collection/components/router/test/matching.spec.js +0 -250
  1187. package/dist/collection/components/router/test/parser.spec.js +0 -133
  1188. package/dist/collection/components/router/test/path.spec.js +0 -218
  1189. package/dist/collection/components/router/test/router.spec.js +0 -55
  1190. package/dist/collection/components/router-link/test/a11y/router-link.e2e.js +0 -23
  1191. package/dist/collection/components/router-outlet/test/basic/router-outlet.e2e.js +0 -39
  1192. package/dist/collection/components/searchbar/searchbar.ionic.css +0 -269
  1193. package/dist/collection/components/searchbar/test/a11y/searchbar.e2e.js +0 -37
  1194. package/dist/collection/components/searchbar/test/basic/searchbar.e2e.js +0 -161
  1195. package/dist/collection/components/searchbar/test/events/searchbar.e2e.js +0 -67
  1196. package/dist/collection/components/searchbar/test/searchbar.spec.js +0 -33
  1197. package/dist/collection/components/segment/test/a11y/segment.e2e.js +0 -69
  1198. package/dist/collection/components/segment/test/basic/segment.e2e.js +0 -84
  1199. package/dist/collection/components/segment/test/custom/segment.e2e.js +0 -14
  1200. package/dist/collection/components/segment/test/icon/segment.e2e.js +0 -29
  1201. package/dist/collection/components/segment/test/modes/segment.e2e.js +0 -38
  1202. package/dist/collection/components/segment/test/scrollable/segment.e2e.js +0 -83
  1203. package/dist/collection/components/segment/test/segment-events.e2e.js +0 -209
  1204. package/dist/collection/components/segment/test/segment.spec.js +0 -37
  1205. package/dist/collection/components/segment/test/toolbar/segment.e2e.js +0 -122
  1206. package/dist/collection/components/segment/test/wrap/segment.e2e.js +0 -85
  1207. package/dist/collection/components/select/test/a11y/select.e2e.js +0 -101
  1208. package/dist/collection/components/select/test/async/select.e2e.js +0 -25
  1209. package/dist/collection/components/select/test/basic/select.e2e.js +0 -195
  1210. package/dist/collection/components/select/test/card/select.e2e.js +0 -22
  1211. package/dist/collection/components/select/test/color/select.e2e.js +0 -42
  1212. package/dist/collection/components/select/test/compare-with/select.e2e.js +0 -67
  1213. package/dist/collection/components/select/test/custom/select.e2e.js +0 -68
  1214. package/dist/collection/components/select/test/disabled/select.e2e.js +0 -30
  1215. package/dist/collection/components/select/test/fill/select.e2e.js +0 -217
  1216. package/dist/collection/components/select/test/highlight/select.e2e.js +0 -209
  1217. package/dist/collection/components/select/test/item/select.e2e.js +0 -56
  1218. package/dist/collection/components/select/test/label/select.e2e.js +0 -245
  1219. package/dist/collection/components/select/test/popover-size/select.e2e.js +0 -80
  1220. package/dist/collection/components/select/test/select.spec.js +0 -96
  1221. package/dist/collection/components/select/test/slot/select.e2e.js +0 -79
  1222. package/dist/collection/components/select/test/states/select.e2e.js +0 -41
  1223. package/dist/collection/components/select/test/toggle-icon/select.e2e.js +0 -30
  1224. package/dist/collection/components/select/test/wrapping/select.e2e.js +0 -36
  1225. package/dist/collection/components/select-popover/test/a11y/select-popover.e2e.js +0 -32
  1226. package/dist/collection/components/select-popover/test/basic/select-popover.e2e.js +0 -77
  1227. package/dist/collection/components/skeleton-text/test/basic/skeleton-text.e2e.js +0 -14
  1228. package/dist/collection/components/skeleton-text/test/custom/skeleton-text.e2e.js +0 -14
  1229. package/dist/collection/components/spinner/test/basic/spinner.e2e.js +0 -18
  1230. package/dist/collection/components/spinner/test/color/spinner.e2e.js +0 -21
  1231. package/dist/collection/components/spinner/test/resize/spinner.e2e.js +0 -35
  1232. package/dist/collection/components/split-pane/test/basic/split-pane.e2e.js +0 -29
  1233. package/dist/collection/components/split-pane/test/multiple/split-pane.e2e.js +0 -31
  1234. package/dist/collection/components/split-pane/test/wrapped-menu/split-pane.e2e.js +0 -41
  1235. package/dist/collection/components/tab-bar/tab-bar.ionic.css +0 -200
  1236. package/dist/collection/components/tab-bar/test/basic/tab-bar.e2e.js +0 -77
  1237. package/dist/collection/components/tab-bar/test/custom/tab-bar.e2e.js +0 -14
  1238. package/dist/collection/components/tab-bar/test/translucent/tab-bar.e2e.js +0 -70
  1239. package/dist/collection/components/tab-button/tab-button.ionic.css +0 -264
  1240. package/dist/collection/components/tab-button/test/a11y/tab-button.e2e.js +0 -15
  1241. package/dist/collection/components/tab-button/test/basic/tab-button.e2e.js +0 -81
  1242. package/dist/collection/components/tab-button/test/layout/tab-button.e2e.js +0 -123
  1243. package/dist/collection/components/tab-button/test/states/tab-button.e2e.js +0 -65
  1244. package/dist/collection/components/tabs/test/basic/tabs.e2e.js +0 -32
  1245. package/dist/collection/components/tabs/test/placements/tabs.e2e.js +0 -39
  1246. package/dist/collection/components/text/test/basic/text.e2e.js +0 -30
  1247. package/dist/collection/components/textarea/test/a11y/textarea.e2e.js +0 -67
  1248. package/dist/collection/components/textarea/test/autogrow/textarea.e2e.js +0 -48
  1249. package/dist/collection/components/textarea/test/bottom-content/textarea.e2e.js +0 -120
  1250. package/dist/collection/components/textarea/test/card/textarea.e2e.js +0 -22
  1251. package/dist/collection/components/textarea/test/clear-on-edit/textarea.e2e.js +0 -61
  1252. package/dist/collection/components/textarea/test/color/textarea.e2e.js +0 -131
  1253. package/dist/collection/components/textarea/test/cols/textarea.e2e.js +0 -37
  1254. package/dist/collection/components/textarea/test/fill/textarea.e2e.js +0 -205
  1255. package/dist/collection/components/textarea/test/highlight/textarea.e2e.js +0 -303
  1256. package/dist/collection/components/textarea/test/item/textarea.e2e.js +0 -64
  1257. package/dist/collection/components/textarea/test/label-placement/textarea.e2e.js +0 -224
  1258. package/dist/collection/components/textarea/test/slot/textarea.e2e.js +0 -63
  1259. package/dist/collection/components/textarea/test/states/textarea.e2e.js +0 -23
  1260. package/dist/collection/components/textarea/test/textarea-events.e2e.js +0 -70
  1261. package/dist/collection/components/textarea/test/textarea.spec.js +0 -59
  1262. package/dist/collection/components/thumbnail/test/basic/thumbnail.e2e.js +0 -48
  1263. package/dist/collection/components/title/test/a11y/title.e2e.js +0 -61
  1264. package/dist/collection/components/title/test/basic/title.e2e.js +0 -30
  1265. package/dist/collection/components/title/test/theme-ionic/title.e2e.js +0 -14
  1266. package/dist/collection/components/title/title.ionic.css +0 -155
  1267. package/dist/collection/components/toast/test/a11y/toast.e2e.js +0 -210
  1268. package/dist/collection/components/toast/test/basic/toast.e2e.js +0 -123
  1269. package/dist/collection/components/toast/test/is-open/toast.e2e.js +0 -28
  1270. package/dist/collection/components/toast/test/layout/toast.e2e.js +0 -17
  1271. package/dist/collection/components/toast/test/position-anchor/toast.e2e.js +0 -45
  1272. package/dist/collection/components/toast/test/standalone/toast.e2e.js +0 -21
  1273. package/dist/collection/components/toast/test/swipe-gesture/toast.e2e.js +0 -84
  1274. package/dist/collection/components/toast/test/toast-config.spec.js +0 -25
  1275. package/dist/collection/components/toast/test/toast-id.spec.js +0 -32
  1276. package/dist/collection/components/toast/test/toast.spec.js +0 -212
  1277. package/dist/collection/components/toast/test/trigger/toast.e2e.js +0 -32
  1278. package/dist/collection/components/toggle/test/a11y/toggle.e2e.js +0 -21
  1279. package/dist/collection/components/toggle/test/color/toggle.e2e.js +0 -23
  1280. package/dist/collection/components/toggle/test/enable-on-off-labels/toggle.e2e.js +0 -61
  1281. package/dist/collection/components/toggle/test/item/toggle.e2e.js +0 -104
  1282. package/dist/collection/components/toggle/test/label/toggle.e2e.js +0 -120
  1283. package/dist/collection/components/toggle/test/sizes/toggle.e2e.js +0 -14
  1284. package/dist/collection/components/toggle/test/states/toggle.e2e.js +0 -30
  1285. package/dist/collection/components/toggle/test/toggle.spec.js +0 -67
  1286. package/dist/collection/components/toolbar/test/basic/toolbar.e2e.js +0 -143
  1287. package/dist/collection/components/toolbar/test/colors/toolbar.e2e.js +0 -17
  1288. package/dist/collection/components/toolbar/toolbar.ionic.css +0 -233
  1289. package/dist/collection/css/test/link/basic/link.e2e.js +0 -35
  1290. package/dist/collection/css/test/typography/a11y/typography.e2e.js +0 -50
  1291. package/dist/collection/css/test/typography/basic/typography.e2e.js +0 -14
  1292. package/dist/collection/global/test/config-controller.spec.js +0 -85
  1293. package/dist/collection/global/test/ionic-global.spec.js +0 -109
  1294. package/dist/collection/themes/native/test/colors/theme.e2e.js +0 -170
  1295. package/dist/collection/utils/animation/test/animation.spec.js +0 -358
  1296. package/dist/collection/utils/animation/test/animationbuilder/animation.e2e.js +0 -31
  1297. package/dist/collection/utils/animation/test/basic/animation.e2e.js +0 -17
  1298. package/dist/collection/utils/animation/test/display/animation.e2e.js +0 -24
  1299. package/dist/collection/utils/animation/test/hooks/animation.e2e.js +0 -45
  1300. package/dist/collection/utils/animation/test/multiple/animation.e2e.js +0 -30
  1301. package/dist/collection/utils/content/content.utils.spec.js +0 -137
  1302. package/dist/collection/utils/floating-point/floating-point.spec.js +0 -22
  1303. package/dist/collection/utils/focus-controller/test/generic/focus-controller.e2e.js +0 -52
  1304. package/dist/collection/utils/focus-controller/test/ionic/focus-controller.e2e.js +0 -52
  1305. package/dist/collection/utils/helpers.spec.js +0 -36
  1306. package/dist/collection/utils/input-shims/hacks/test/scroll-assist.e2e.js +0 -115
  1307. package/dist/collection/utils/keyboard/test/keyboard-controller.spec.js +0 -21
  1308. package/dist/collection/utils/keyboard/test/keyboard.spec.js +0 -214
  1309. package/dist/collection/utils/rtl/dir.spec.js +0 -25
  1310. package/dist/collection/utils/sanitization/test/sanitization.spec.js +0 -43
  1311. package/dist/collection/utils/tap-click/test/tap-click.e2e.js +0 -25
  1312. package/dist/collection/utils/test/attributes.spec.js +0 -53
  1313. package/dist/collection/utils/test/framework-delegate/framework-delegate.e2e.js +0 -33
  1314. package/dist/collection/utils/test/hardware-back-button.spec.js +0 -91
  1315. package/dist/collection/utils/test/overlays/overlays-scroll-blocking.spec.js +0 -65
  1316. package/dist/collection/utils/test/overlays/overlays.e2e.js +0 -301
  1317. package/dist/collection/utils/test/overlays/overlays.spec.js +0 -206
  1318. package/dist/collection/utils/test/platform.spec.js +0 -132
  1319. package/dist/collection/utils/test/ready.spec.js +0 -39
  1320. package/dist/collection/utils/test/theme.spec.js +0 -56
  1321. package/dist/esm/ionic-global-be8fa30a.js +0 -408
  1322. package/dist/esm-es5/app-globals-1fabe499.js +0 -4
  1323. package/dist/esm-es5/data-63b889c5.js +0 -4
  1324. package/dist/esm-es5/index-00b4cca5.js +0 -4
  1325. package/dist/esm-es5/index-3321c202.js +0 -5
  1326. package/dist/esm-es5/index-33a3d901.js +0 -4
  1327. package/dist/esm-es5/index-44013081.js +0 -4
  1328. package/dist/esm-es5/input-shims-c142630d.js +0 -4
  1329. package/dist/esm-es5/input.utils-68c66dbc.js +0 -4
  1330. package/dist/esm-es5/ionic-global-be8fa30a.js +0 -4
  1331. package/dist/esm-es5/ios.transition-688eab99.js +0 -4
  1332. package/dist/esm-es5/md.transition-0540d1d2.js +0 -4
  1333. package/dist/esm-es5/overlays-a0e93007.js +0 -4
  1334. package/dist/esm-es5/status-tap-8d02be66.js +0 -4
  1335. package/dist/ionic/p-01ae1aa0.entry.js +0 -4
  1336. package/dist/ionic/p-021bee2f.system.entry.js +0 -4
  1337. package/dist/ionic/p-036d86ec.system.entry.js +0 -4
  1338. package/dist/ionic/p-0a93c048.system.js +0 -4
  1339. package/dist/ionic/p-1219eea0.system.entry.js +0 -4
  1340. package/dist/ionic/p-12a0de44.system.entry.js +0 -4
  1341. package/dist/ionic/p-132e1004.entry.js +0 -4
  1342. package/dist/ionic/p-1d548fea.system.entry.js +0 -4
  1343. package/dist/ionic/p-1dbb7fa3.entry.js +0 -4
  1344. package/dist/ionic/p-214631b2.system.entry.js +0 -4
  1345. package/dist/ionic/p-224ad51a.entry.js +0 -4
  1346. package/dist/ionic/p-22fef691.js +0 -4
  1347. package/dist/ionic/p-24592a4d.system.entry.js +0 -4
  1348. package/dist/ionic/p-27e42c9e.system.js +0 -4
  1349. package/dist/ionic/p-28a10445.system.js +0 -4
  1350. package/dist/ionic/p-2df16673.system.js +0 -5
  1351. package/dist/ionic/p-302c9c7a.system.entry.js +0 -4
  1352. package/dist/ionic/p-30b49657.system.entry.js +0 -4
  1353. package/dist/ionic/p-359afeb0.system.entry.js +0 -4
  1354. package/dist/ionic/p-3b989be4.entry.js +0 -4
  1355. package/dist/ionic/p-3c031826.system.entry.js +0 -4
  1356. package/dist/ionic/p-3c18022f.entry.js +0 -4
  1357. package/dist/ionic/p-3c6eae03.system.entry.js +0 -4
  1358. package/dist/ionic/p-3cccd1c7.system.entry.js +0 -4
  1359. package/dist/ionic/p-3d25c6d9.entry.js +0 -4
  1360. package/dist/ionic/p-3e2568b9.system.js +0 -4
  1361. package/dist/ionic/p-3e9a1680.js +0 -4
  1362. package/dist/ionic/p-40c14f53.system.entry.js +0 -4
  1363. package/dist/ionic/p-42452dc9.entry.js +0 -4
  1364. package/dist/ionic/p-42816eab.entry.js +0 -4
  1365. package/dist/ionic/p-42bb5ed7.system.entry.js +0 -4
  1366. package/dist/ionic/p-44314b44.system.entry.js +0 -4
  1367. package/dist/ionic/p-479bec54.entry.js +0 -4
  1368. package/dist/ionic/p-493a4548.js +0 -5
  1369. package/dist/ionic/p-49fee3a3.entry.js +0 -4
  1370. package/dist/ionic/p-4b9c6418.system.entry.js +0 -4
  1371. package/dist/ionic/p-4d6c2031.system.entry.js +0 -4
  1372. package/dist/ionic/p-4ec67d0a.entry.js +0 -4
  1373. package/dist/ionic/p-546438d8.js +0 -4
  1374. package/dist/ionic/p-563a8d3b.entry.js +0 -4
  1375. package/dist/ionic/p-56c72f65.system.entry.js +0 -4
  1376. package/dist/ionic/p-61ddbdb9.entry.js +0 -4
  1377. package/dist/ionic/p-644c505f.js +0 -4
  1378. package/dist/ionic/p-645a7748.entry.js +0 -4
  1379. package/dist/ionic/p-663d8429.system.entry.js +0 -4
  1380. package/dist/ionic/p-6746c32a.entry.js +0 -4
  1381. package/dist/ionic/p-6c57ed08.js +0 -4
  1382. package/dist/ionic/p-6daa3633.entry.js +0 -4
  1383. package/dist/ionic/p-7141dfca.entry.js +0 -4
  1384. package/dist/ionic/p-72e98815.system.js +0 -4
  1385. package/dist/ionic/p-752e285d.entry.js +0 -4
  1386. package/dist/ionic/p-79113968.js +0 -4
  1387. package/dist/ionic/p-7b590e46.system.js +0 -4
  1388. package/dist/ionic/p-7b914bfb.entry.js +0 -4
  1389. package/dist/ionic/p-7bf2087e.entry.js +0 -4
  1390. package/dist/ionic/p-7dad531c.system.entry.js +0 -4
  1391. package/dist/ionic/p-7f5f8a14.entry.js +0 -4
  1392. package/dist/ionic/p-8052f3ad.entry.js +0 -4
  1393. package/dist/ionic/p-82297db9.system.entry.js +0 -4
  1394. package/dist/ionic/p-82df3737.system.entry.js +0 -4
  1395. package/dist/ionic/p-87e823ce.js +0 -4
  1396. package/dist/ionic/p-8a04868b.system.entry.js +0 -4
  1397. package/dist/ionic/p-8ac5efa9.entry.js +0 -4
  1398. package/dist/ionic/p-8ed0cef4.system.entry.js +0 -4
  1399. package/dist/ionic/p-90027267.system.js +0 -4
  1400. package/dist/ionic/p-935801cc.entry.js +0 -4
  1401. package/dist/ionic/p-96f109ca.entry.js +0 -4
  1402. package/dist/ionic/p-9771abb4.entry.js +0 -4
  1403. package/dist/ionic/p-9a52a085.entry.js +0 -4
  1404. package/dist/ionic/p-9b925d37.system.entry.js +0 -4
  1405. package/dist/ionic/p-9ead4417.js +0 -4
  1406. package/dist/ionic/p-a3b856e6.system.entry.js +0 -4
  1407. package/dist/ionic/p-ada5e8bb.entry.js +0 -4
  1408. package/dist/ionic/p-b14d56c8.system.entry.js +0 -4
  1409. package/dist/ionic/p-bab398d1.entry.js +0 -4
  1410. package/dist/ionic/p-bb7162de.system.js +0 -4
  1411. package/dist/ionic/p-bedf240b.entry.js +0 -4
  1412. package/dist/ionic/p-bee73070.entry.js +0 -4
  1413. package/dist/ionic/p-c24b81cc.entry.js +0 -4
  1414. package/dist/ionic/p-c2eece5e.system.entry.js +0 -4
  1415. package/dist/ionic/p-c374ab05.system.js +0 -4
  1416. package/dist/ionic/p-c79decb5.system.entry.js +0 -4
  1417. package/dist/ionic/p-ca5aaed3.system.entry.js +0 -4
  1418. package/dist/ionic/p-cce8c245.entry.js +0 -4
  1419. package/dist/ionic/p-cd9a7c32.entry.js +0 -4
  1420. package/dist/ionic/p-d281c150.system.entry.js +0 -4
  1421. package/dist/ionic/p-d2a580db.entry.js +0 -4
  1422. package/dist/ionic/p-d4f55a93.entry.js +0 -4
  1423. package/dist/ionic/p-d718695f.entry.js +0 -4
  1424. package/dist/ionic/p-db08a2d0.system.entry.js +0 -4
  1425. package/dist/ionic/p-db3f14c1.system.entry.js +0 -4
  1426. package/dist/ionic/p-db8fac3d.system.entry.js +0 -4
  1427. package/dist/ionic/p-dc60009b.system.entry.js +0 -4
  1428. package/dist/ionic/p-dc8a3888.entry.js +0 -4
  1429. package/dist/ionic/p-e2313846.entry.js +0 -4
  1430. package/dist/ionic/p-e8aa220a.js +0 -4
  1431. package/dist/ionic/p-e900eba2.system.entry.js +0 -4
  1432. package/dist/ionic/p-ebc71ff5.system.entry.js +0 -4
  1433. package/dist/ionic/p-f0fab903.system.entry.js +0 -4
  1434. package/dist/ionic/p-f621b019.entry.js +0 -4
  1435. package/dist/ionic/p-fb17d462.entry.js +0 -4
  1436. package/dist/ionic/p-fb8ecdb4.system.entry.js +0 -4
  1437. package/dist/ionic/p-fcb1218a.system.entry.js +0 -4
@@ -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,e as createEvent,h,i as Host,g as getElement}from"./index-3321c202.js";import{g as getTimeGivenProgression}from"./cubic-bezier-fe2083dc.js";import{o as getPresentedOverlay,n as focusFirstDescendant,q as focusLastDescendant}from"./overlays-a0e93007.js";import{G as GESTURE_CONTROLLER}from"./gesture-controller-314a54f6.js";import{shouldUseCloseWatcher}from"./hardware-back-button-2da817f5.js";import{n as isEndSide,i as inheritAriaAttributes,m as assert,j as clamp}from"./helpers-da915de8.js";import{m as menuController}from"./index-44013081.js";import{h as hostContext,c as createColorClasses}from"./theme-01f3f29c.js";import{c as config,b as getIonMode,d as getIonTheme}from"./ionic-global-be8fa30a.js";import{u as menuOutline,v as menuSharp}from"./index-e2cf2ceb.js";import"./index-a5d50daf.js";import"./framework-delegate-63d1a679.js";import"./animation-eab5a4ca.js";var ionicMenuMdCss=":host{--width:304px;--min-width:auto;--max-width:auto;--height:100%;--min-height:auto;--max-height:auto;--background:var(--ion-background-color, #fff);right:0;left:0;top:0;bottom:0;display:none;position:absolute;contain:strict}:host(.show-menu){display:block}.menu-inner{-webkit-transform:translateX(-9999px);transform:translateX(-9999px);display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:justify;justify-content:space-between;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);background:var(--background);contain:strict}:host(.menu-side-start) .menu-inner{--ion-safe-area-right:0px;top:0;bottom:0}:host(.menu-side-start) .menu-inner{inset-inline-start:0;inset-inline-end:auto}:host-context([dir=rtl]):host(.menu-side-start) .menu-inner,:host-context([dir=rtl]).menu-side-start .menu-inner{--ion-safe-area-right:unset;--ion-safe-area-left:0px}@supports selector(:dir(rtl)){:host(.menu-side-start:dir(rtl)) .menu-inner{--ion-safe-area-right:unset;--ion-safe-area-left:0px}}:host(.menu-side-end) .menu-inner{--ion-safe-area-left:0px;top:0;bottom:0}:host(.menu-side-end) .menu-inner{inset-inline-start:auto;inset-inline-end:0}:host-context([dir=rtl]):host(.menu-side-end) .menu-inner,:host-context([dir=rtl]).menu-side-end .menu-inner{--ion-safe-area-left:unset;--ion-safe-area-right:0px}@supports selector(:dir(rtl)){:host(.menu-side-end:dir(rtl)) .menu-inner{--ion-safe-area-left:unset;--ion-safe-area-right:0px}}ion-backdrop{display:none;opacity:0.01;z-index:-1}@media (max-width: 340px){.menu-inner{--width:264px}}:host(.menu-type-reveal){z-index:0}:host(.menu-type-reveal.show-menu) .menu-inner{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}:host(.menu-type-overlay){z-index:1000}:host(.menu-type-overlay) .show-backdrop{display:block;cursor:pointer}:host(.menu-pane-visible){-ms-flex:0 1 auto;flex:0 1 auto;width:var(--side-width, var(--width));min-width:var(--side-min-width, var(--min-width));max-width:var(--side-max-width, var(--max-width))}:host(.menu-pane-visible.split-pane-side){right:0;left:0;top:0;bottom:0;position:relative;-webkit-box-shadow:none;box-shadow:none;z-index:0}:host(.menu-pane-visible.split-pane-side.menu-enabled){display:-ms-flexbox;display:flex;-ms-flex-negative:0;flex-shrink:0}:host(.menu-pane-visible.split-pane-side){-ms-flex-order:-1;order:-1}:host(.menu-pane-visible.split-pane-side[side=end]){-ms-flex-order:1;order:1}:host(.menu-pane-visible) .menu-inner{right:0;left:0;width:auto;-webkit-transform:none;transform:none;-webkit-box-shadow:none;box-shadow:none}:host(.menu-pane-visible) ion-backdrop{display:hidden !important}:host(.menu-pane-visible.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(.menu-pane-visible.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)}:host(.menu-type-overlay) .menu-inner{-webkit-box-shadow:4px 0px 16px rgba(0, 0, 0, 0.18);box-shadow:4px 0px 16px rgba(0, 0, 0, 0.18)}";var IonMenuIonicStyle0=ionicMenuMdCss;var menuIosCss=":host{--width:304px;--min-width:auto;--max-width:auto;--height:100%;--min-height:auto;--max-height:auto;--background:var(--ion-background-color, #fff);right:0;left:0;top:0;bottom:0;display:none;position:absolute;contain:strict}:host(.show-menu){display:block}.menu-inner{-webkit-transform:translateX(-9999px);transform:translateX(-9999px);display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:justify;justify-content:space-between;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);background:var(--background);contain:strict}:host(.menu-side-start) .menu-inner{--ion-safe-area-right:0px;top:0;bottom:0}:host(.menu-side-start) .menu-inner{inset-inline-start:0;inset-inline-end:auto}:host-context([dir=rtl]):host(.menu-side-start) .menu-inner,:host-context([dir=rtl]).menu-side-start .menu-inner{--ion-safe-area-right:unset;--ion-safe-area-left:0px}@supports selector(:dir(rtl)){:host(.menu-side-start:dir(rtl)) .menu-inner{--ion-safe-area-right:unset;--ion-safe-area-left:0px}}:host(.menu-side-end) .menu-inner{--ion-safe-area-left:0px;top:0;bottom:0}:host(.menu-side-end) .menu-inner{inset-inline-start:auto;inset-inline-end:0}:host-context([dir=rtl]):host(.menu-side-end) .menu-inner,:host-context([dir=rtl]).menu-side-end .menu-inner{--ion-safe-area-left:unset;--ion-safe-area-right:0px}@supports selector(:dir(rtl)){:host(.menu-side-end:dir(rtl)) .menu-inner{--ion-safe-area-left:unset;--ion-safe-area-right:0px}}ion-backdrop{display:none;opacity:0.01;z-index:-1}@media (max-width: 340px){.menu-inner{--width:264px}}:host(.menu-type-reveal){z-index:0}:host(.menu-type-reveal.show-menu) .menu-inner{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}:host(.menu-type-overlay){z-index:1000}:host(.menu-type-overlay) .show-backdrop{display:block;cursor:pointer}:host(.menu-pane-visible){-ms-flex:0 1 auto;flex:0 1 auto;width:var(--side-width, var(--width));min-width:var(--side-min-width, var(--min-width));max-width:var(--side-max-width, var(--max-width))}:host(.menu-pane-visible.split-pane-side){right:0;left:0;top:0;bottom:0;position:relative;-webkit-box-shadow:none;box-shadow:none;z-index:0}:host(.menu-pane-visible.split-pane-side.menu-enabled){display:-ms-flexbox;display:flex;-ms-flex-negative:0;flex-shrink:0}:host(.menu-pane-visible.split-pane-side){-ms-flex-order:-1;order:-1}:host(.menu-pane-visible.split-pane-side[side=end]){-ms-flex-order:1;order:1}:host(.menu-pane-visible) .menu-inner{right:0;left:0;width:auto;-webkit-transform:none;transform:none;-webkit-box-shadow:none;box-shadow:none}:host(.menu-pane-visible) ion-backdrop{display:hidden !important}:host(.menu-pane-visible.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(.menu-pane-visible.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)}:host(.menu-type-push){z-index:1000}:host(.menu-type-push) .show-backdrop{display:block}";var IonMenuIosStyle0=menuIosCss;var menuMdCss=":host{--width:304px;--min-width:auto;--max-width:auto;--height:100%;--min-height:auto;--max-height:auto;--background:var(--ion-background-color, #fff);right:0;left:0;top:0;bottom:0;display:none;position:absolute;contain:strict}:host(.show-menu){display:block}.menu-inner{-webkit-transform:translateX(-9999px);transform:translateX(-9999px);display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:justify;justify-content:space-between;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);background:var(--background);contain:strict}:host(.menu-side-start) .menu-inner{--ion-safe-area-right:0px;top:0;bottom:0}:host(.menu-side-start) .menu-inner{inset-inline-start:0;inset-inline-end:auto}:host-context([dir=rtl]):host(.menu-side-start) .menu-inner,:host-context([dir=rtl]).menu-side-start .menu-inner{--ion-safe-area-right:unset;--ion-safe-area-left:0px}@supports selector(:dir(rtl)){:host(.menu-side-start:dir(rtl)) .menu-inner{--ion-safe-area-right:unset;--ion-safe-area-left:0px}}:host(.menu-side-end) .menu-inner{--ion-safe-area-left:0px;top:0;bottom:0}:host(.menu-side-end) .menu-inner{inset-inline-start:auto;inset-inline-end:0}:host-context([dir=rtl]):host(.menu-side-end) .menu-inner,:host-context([dir=rtl]).menu-side-end .menu-inner{--ion-safe-area-left:unset;--ion-safe-area-right:0px}@supports selector(:dir(rtl)){:host(.menu-side-end:dir(rtl)) .menu-inner{--ion-safe-area-left:unset;--ion-safe-area-right:0px}}ion-backdrop{display:none;opacity:0.01;z-index:-1}@media (max-width: 340px){.menu-inner{--width:264px}}:host(.menu-type-reveal){z-index:0}:host(.menu-type-reveal.show-menu) .menu-inner{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}:host(.menu-type-overlay){z-index:1000}:host(.menu-type-overlay) .show-backdrop{display:block;cursor:pointer}:host(.menu-pane-visible){-ms-flex:0 1 auto;flex:0 1 auto;width:var(--side-width, var(--width));min-width:var(--side-min-width, var(--min-width));max-width:var(--side-max-width, var(--max-width))}:host(.menu-pane-visible.split-pane-side){right:0;left:0;top:0;bottom:0;position:relative;-webkit-box-shadow:none;box-shadow:none;z-index:0}:host(.menu-pane-visible.split-pane-side.menu-enabled){display:-ms-flexbox;display:flex;-ms-flex-negative:0;flex-shrink:0}:host(.menu-pane-visible.split-pane-side){-ms-flex-order:-1;order:-1}:host(.menu-pane-visible.split-pane-side[side=end]){-ms-flex-order:1;order:1}:host(.menu-pane-visible) .menu-inner{right:0;left:0;width:auto;-webkit-transform:none;transform:none;-webkit-box-shadow:none;box-shadow:none}:host(.menu-pane-visible) ion-backdrop{display:hidden !important}:host(.menu-pane-visible.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(.menu-pane-visible.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)}:host(.menu-type-overlay) .menu-inner{-webkit-box-shadow:4px 0px 16px rgba(0, 0, 0, 0.18);box-shadow:4px 0px 16px rgba(0, 0, 0, 0.18)}";var IonMenuMdStyle0=menuMdCss;var iosEasing="cubic-bezier(0.32,0.72,0,1)";var mdEasing="cubic-bezier(0.0,0.0,0.2,1)";var iosEasingReverse="cubic-bezier(1, 0, 0.68, 0.28)";var mdEasingReverse="cubic-bezier(0.4, 0, 0.6, 1)";var Menu=function(){function e(e){var t=this;registerInstance(this,e);this.ionWillOpen=createEvent(this,"ionWillOpen",7);this.ionWillClose=createEvent(this,"ionWillClose",7);this.ionDidOpen=createEvent(this,"ionDidOpen",7);this.ionDidClose=createEvent(this,"ionDidClose",7);this.ionMenuChange=createEvent(this,"ionMenuChange",7);this.lastOnEnd=0;this.blocker=GESTURE_CONTROLLER.createBlocker({disableScroll:true});this.didLoad=false;this.operationCancelled=false;this.isAnimating=false;this._isOpen=false;this.inheritedAttributes={};this.handleFocus=function(e){var n=getPresentedOverlay(document);if(n&&!n.contains(t.el)){return}t.trapKeyboardFocus(e,document)};this.isPaneVisible=false;this.isEndSide=false;this.contentId=undefined;this.menuId=undefined;this.type=undefined;this.disabled=false;this.side="start";this.swipeGesture=true;this.maxEdgeStart=50}e.prototype.typeChanged=function(e,t){var n=this.contentEl;if(n){if(t!==undefined){n.classList.remove("menu-content-".concat(t))}n.classList.add("menu-content-".concat(e));n.removeAttribute("style")}if(this.menuInnerEl){this.menuInnerEl.removeAttribute("style")}this.animation=undefined};e.prototype.disabledChanged=function(){this.updateState();this.ionMenuChange.emit({disabled:this.disabled,open:this._isOpen})};e.prototype.sideChanged=function(){this.isEndSide=isEndSide(this.side);this.animation=undefined};e.prototype.swipeGestureChanged=function(){this.updateState()};e.prototype.connectedCallback=function(){return __awaiter(this,void 0,void 0,(function(){var e,t;var n=this;return __generator(this,(function(i){switch(i.label){case 0:if(!(typeof customElements!=="undefined"&&customElements!=null))return[3,2];return[4,customElements.whenDefined("ion-menu")];case 1:i.sent();i.label=2;case 2:if(this.type===undefined){this.type=config.get("menuType","overlay")}e=this.contentId!==undefined?document.getElementById(this.contentId):null;if(e===null){console.error('Menu: must have a "content" element to listen for drag events on.');return[2]}if(this.el.contains(e)){console.error('Menu: "contentId" should refer to the main view\'s ion-content, not the ion-content inside of the ion-menu.')}this.contentEl=e;e.classList.add("menu-content");this.typeChanged(this.type,undefined);this.sideChanged();menuController._register(this);this.menuChanged();t=this;return[4,import("./index-39782642.js")];case 3:t.gesture=i.sent().createGesture({el:document,gestureName:"menu-swipe",gesturePriority:30,threshold:10,blurOnStart:true,canStart:function(e){return n.canStart(e)},onWillStart:function(){return n.onWillStart()},onStart:function(){return n.onStart()},onMove:function(e){return n.onMove(e)},onEnd:function(e){return n.onEnd(e)}});this.updateState();return[2]}}))}))};e.prototype.componentWillLoad=function(){this.inheritedAttributes=inheritAriaAttributes(this.el)};e.prototype.componentDidLoad=function(){return __awaiter(this,void 0,void 0,(function(){var e,t;return __generator(this,(function(n){switch(n.label){case 0:this.didLoad=true;e=this.el.closest("ion-split-pane");if(!(e!==null))return[3,2];t=this;return[4,e.isVisible()];case 1:t.isPaneVisible=n.sent();n.label=2;case 2:this.menuChanged();this.updateState();return[2]}}))}))};e.prototype.menuChanged=function(){if(this.didLoad){this.ionMenuChange.emit({disabled:this.disabled,open:this._isOpen})}};e.prototype.disconnectedCallback=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){switch(e.label){case 0:return[4,this.close(false)];case 1:e.sent();this.blocker.destroy();menuController._unregister(this);if(this.animation){this.animation.destroy()}if(this.gesture){this.gesture.destroy();this.gesture=undefined}this.animation=undefined;this.contentEl=undefined;return[2]}}))}))};e.prototype.onSplitPaneChanged=function(e){var t=this.el.closest("ion-split-pane");if(t!==null&&t===e.target){this.isPaneVisible=e.detail.visible;this.updateState()}};e.prototype.onBackdropClick=function(e){if(this._isOpen&&this.lastOnEnd<e.timeStamp-100){var t=e.composedPath?!e.composedPath().includes(this.menuInnerEl):false;if(t){e.preventDefault();e.stopPropagation();this.close()}}};e.prototype.onKeydown=function(e){if(e.key==="Escape"){this.close()}};e.prototype.isOpen=function(){return Promise.resolve(this._isOpen)};e.prototype.isActive=function(){return Promise.resolve(this._isActive())};e.prototype.open=function(e){if(e===void 0){e=true}return this.setOpen(true,e)};e.prototype.close=function(e){if(e===void 0){e=true}return this.setOpen(false,e)};e.prototype.toggle=function(e){if(e===void 0){e=true}return this.setOpen(!this._isOpen,e)};e.prototype.setOpen=function(e,t){if(t===void 0){t=true}return menuController._setOpen(this,e,t)};e.prototype.trapKeyboardFocus=function(e,t){var n=e.target;if(!n){return}if(this.el.contains(n)){this.lastFocus=n}else{var i=this.el;focusFirstDescendant(i);if(this.lastFocus===t.activeElement){focusLastDescendant(i)}}};e.prototype._setOpen=function(e){return __awaiter(this,arguments,void 0,(function(e,t){if(t===void 0){t=true}return __generator(this,(function(n){switch(n.label){case 0:if(!this._isActive()||this.isAnimating||e===this._isOpen){return[2,false]}this.beforeAnimation(e);return[4,this.loadAnimation()];case 1:n.sent();return[4,this.startAnimation(e,t)];case 2:n.sent();if(this.operationCancelled){this.operationCancelled=false;return[2,false]}this.afterAnimation(e);return[2,true]}}))}))};e.prototype.loadAnimation=function(){return __awaiter(this,void 0,void 0,(function(){var e,t,n,i;return __generator(this,(function(o){switch(o.label){case 0:e=this.menuInnerEl.offsetWidth;t=isEndSide(this.side);if(e===this.width&&this.animation!==undefined&&t===this.isEndSide){return[2]}this.width=e;this.isEndSide=t;if(this.animation){this.animation.destroy();this.animation=undefined}i=this;return[4,menuController._createAnimation(this.type,this)];case 1:n=i.animation=o.sent();if(!config.getBoolean("animated",true)){n.duration(0)}n.fill("both");return[2]}}))}))};e.prototype.startAnimation=function(e,t){return __awaiter(this,void 0,void 0,(function(){var n,i,o,r,a;return __generator(this,(function(s){switch(s.label){case 0:n=!e;i=getIonMode(this);o=i==="ios"?iosEasing:mdEasing;r=i==="ios"?iosEasingReverse:mdEasingReverse;a=this.animation.direction(n?"reverse":"normal").easing(n?r:o);if(!t)return[3,2];return[4,a.play()];case 1:s.sent();return[3,3];case 2:a.play({sync:true});s.label=3;case 3:if(a.getDirection()==="reverse"){a.direction("normal")}return[2]}}))}))};e.prototype._isActive=function(){return!this.disabled&&!this.isPaneVisible};e.prototype.canSwipe=function(){return this.swipeGesture&&!this.isAnimating&&this._isActive()};e.prototype.canStart=function(e){var t=!!document.querySelector("ion-modal.show-modal");if(t||!this.canSwipe()){return false}if(this._isOpen){return true}else if(menuController._getOpenSync()){return false}return checkEdgeSide(window,e.currentX,this.isEndSide,this.maxEdgeStart)};e.prototype.onWillStart=function(){this.beforeAnimation(!this._isOpen);return this.loadAnimation()};e.prototype.onStart=function(){if(!this.isAnimating||!this.animation){assert(false,"isAnimating has to be true");return}this.animation.progressStart(true,this._isOpen?1:0)};e.prototype.onMove=function(e){if(!this.isAnimating||!this.animation){assert(false,"isAnimating has to be true");return}var t=computeDelta(e.deltaX,this._isOpen,this.isEndSide);var n=t/this.width;this.animation.progressStep(this._isOpen?1-n:n)};e.prototype.onEnd=function(e){var t=this;if(!this.isAnimating||!this.animation){assert(false,"isAnimating has to be true");return}var n=this._isOpen;var i=this.isEndSide;var o=computeDelta(e.deltaX,n,i);var r=this.width;var a=o/r;var s=e.velocityX;var d=r/2;var h=s>=0&&(s>.2||e.deltaX>d);var u=s<=0&&(s<-.2||e.deltaX<-d);var l=n?i?h:u:i?u:h;var c=!n&&l;if(n&&!l){c=true}this.lastOnEnd=e.currentTime;var f=l?.001:-.001;var m=a<0?.01:a;f+=getTimeGivenProgression([0,0],[.4,0],[.6,1],[1,1],clamp(0,m,.9999))[0]||0;var p=this._isOpen?!l:l;this.animation.easing("cubic-bezier(0.4, 0.0, 0.6, 1)").onFinish((function(){return t.afterAnimation(c)}),{oneTimeCallback:true}).progressEnd(p?1:0,this._isOpen?1-f:f,300)};e.prototype.beforeAnimation=function(e){assert(!this.isAnimating,"_before() should not be called while animating");this.el.classList.add(SHOW_MENU);this.el.setAttribute("tabindex","0");if(this.backdropEl){this.backdropEl.classList.add(SHOW_BACKDROP)}if(this.contentEl){this.contentEl.classList.add(MENU_CONTENT_OPEN);this.contentEl.setAttribute("aria-hidden","true")}this.blocker.block();this.isAnimating=true;if(e){this.ionWillOpen.emit()}else{this.ionWillClose.emit()}};e.prototype.afterAnimation=function(e){var t;this._isOpen=e;this.isAnimating=false;if(!this._isOpen){this.blocker.unblock()}if(e){this.ionDidOpen.emit();var n=(t=document.activeElement)===null||t===void 0?void 0:t.closest("ion-menu");if(n!==this.el){this.el.focus()}document.addEventListener("focus",this.handleFocus,true)}else{this.el.classList.remove(SHOW_MENU);this.el.removeAttribute("tabindex");if(this.contentEl){this.contentEl.classList.remove(MENU_CONTENT_OPEN);this.contentEl.removeAttribute("aria-hidden")}if(this.backdropEl){this.backdropEl.classList.remove(SHOW_BACKDROP)}if(this.animation){this.animation.stop()}this.ionDidClose.emit();document.removeEventListener("focus",this.handleFocus,true)}};e.prototype.updateState=function(){var e=this._isActive();if(this.gesture){this.gesture.enable(e&&this.swipeGesture)}if(!e){if(this.isAnimating){this.operationCancelled=true}this.afterAnimation(false)}};e.prototype.render=function(){var e;var t=this;var n=this,i=n.type,o=n.disabled,r=n.el,a=n.isPaneVisible,s=n.inheritedAttributes,d=n.side;var u=getIonTheme(this);return h(Host,{key:"0a1caf2059df21bca634fbd1bbbd277aae79148f",onKeyDown:shouldUseCloseWatcher()?null:this.onKeydown,role:"navigation","aria-label":s["aria-label"]||"menu",class:(e={},e[u]=true,e["menu-type-".concat(i)]=true,e["menu-enabled"]=!o,e["menu-side-".concat(d)]=true,e["menu-pane-visible"]=a,e["split-pane-side"]=hostContext("ion-split-pane",r),e)},h("div",{key:"19d9087bbce335def3f71c1c6892adcbc3c4cb82",class:"menu-inner",part:"container",ref:function(e){return t.menuInnerEl=e}},h("slot",{key:"b857fac506707d7332cb7e5a97ac2bba668d5076"})),h("ion-backdrop",{key:"ad5dcc7cf8bf9c995753412f606ff43f7bfa2e7d",ref:function(e){return t.backdropEl=e},class:"menu-backdrop",tappable:false,stopPropagation:false,part:"backdrop"}))};Object.defineProperty(e.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{type:["typeChanged"],disabled:["disabledChanged"],side:["sideChanged"],swipeGesture:["swipeGestureChanged"]}},enumerable:false,configurable:true});return e}();var computeDelta=function(e,t,n){return Math.max(0,t!==n?-e:e)};var checkEdgeSide=function(e,t,n,i){if(n){return t>=e.innerWidth-i}else{return t<=i}};var SHOW_MENU="show-menu";var SHOW_BACKDROP="show-backdrop";var MENU_CONTENT_OPEN="menu-content-open";Menu.style={ionic:IonMenuIonicStyle0,ios:IonMenuIosStyle0,md:IonMenuMdStyle0};var updateVisibility=function(e){return __awaiter(void 0,void 0,void 0,(function(){var t,n;return __generator(this,(function(i){switch(i.label){case 0:return[4,menuController.get(e)];case 1:t=i.sent();n=t;if(!n)return[3,3];return[4,t.isActive()];case 2:n=i.sent();i.label=3;case 3:return[2,!!n]}}))}))};var menuButtonIonicCss=':host{--background:transparent;--color-focused:currentColor;--border-radius:initial;--padding-top:0;--padding-bottom:0;color:var(--color);text-align:center;text-decoration:none;text-overflow:ellipsis;text-transform:none;white-space:nowrap;-webkit-font-kerning:none;font-kerning:none}.button-native{border-radius:var(--border-radius);color:inherit;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-align:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;white-space: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);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;min-height:inherit;border:0;outline:none;background:var(--background);line-height:1;cursor:pointer;overflow:hidden;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:0;-webkit-appearance:none;-moz-appearance:none;appearance:none}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;min-height:inherit;z-index:1}ion-icon{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;pointer-events:none}:host(.menu-button-hidden){display:none}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}.button-native::after{right:0;left:0;top:0;bottom:0;position:absolute;content:"";opacity:0}@media (any-hover: hover){:host(:hover) .button-native{color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity, 0)}}:host(.in-toolbar:not(.in-toolbar-color)){color:var(--ion-toolbar-color, var(--color))}:host{--background-focused:currentColor;--background-focused-opacity:0.12;--background-hover:currentColor;--background-hover-opacity:0.04;--border-radius:var(--ionic-border-radius-full, 999px);--color:initial;--padding-start:0;--padding-end:0;position:relative;width:var(--ionic-scale-1000, 40px);height:var(--ionic-scale-1000, 40px);font-size:var(--ionic-font-size-600, 1.5rem)}';var IonMenuButtonIonicStyle0=menuButtonIonicCss;var menuButtonIosCss=':host{--background:transparent;--color-focused:currentColor;--border-radius:initial;--padding-top:0;--padding-bottom:0;color:var(--color);text-align:center;text-decoration:none;text-overflow:ellipsis;text-transform:none;white-space:nowrap;-webkit-font-kerning:none;font-kerning:none}.button-native{border-radius:var(--border-radius);color:inherit;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-align:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;white-space: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);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;min-height:inherit;border:0;outline:none;background:var(--background);line-height:1;cursor:pointer;overflow:hidden;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:0;-webkit-appearance:none;-moz-appearance:none;appearance:none}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;min-height:inherit;z-index:1}ion-icon{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;pointer-events:none}:host(.menu-button-hidden){display:none}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}.button-native::after{right:0;left:0;top:0;bottom:0;position:absolute;content:"";opacity:0}@media (any-hover: hover){:host(:hover) .button-native{color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity, 0)}}:host(.in-toolbar:not(.in-toolbar-color)){color:var(--ion-toolbar-color, var(--color))}:host(.menu-button-disabled){cursor:default;opacity:0.5;pointer-events:none}:host(.ion-color) .button-native{color:var(--ion-color-base)}:host{--background-focused:currentColor;--background-focused-opacity:0.1;--border-radius:4px;--color:var(--ion-color-primary, #0054e9);--padding-start:5px;--padding-end:5px;min-height:32px;font-size:clamp(31px, 1.9375rem, 38.13px)}:host(.ion-activated){opacity:0.4}@media (any-hover: hover){:host(:hover){opacity:0.6}}';var IonMenuButtonIosStyle0=menuButtonIosCss;var menuButtonMdCss=':host{--background:transparent;--color-focused:currentColor;--border-radius:initial;--padding-top:0;--padding-bottom:0;color:var(--color);text-align:center;text-decoration:none;text-overflow:ellipsis;text-transform:none;white-space:nowrap;-webkit-font-kerning:none;font-kerning:none}.button-native{border-radius:var(--border-radius);color:inherit;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-align:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;white-space: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);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;min-height:inherit;border:0;outline:none;background:var(--background);line-height:1;cursor:pointer;overflow:hidden;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:0;-webkit-appearance:none;-moz-appearance:none;appearance:none}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;min-height:inherit;z-index:1}ion-icon{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;pointer-events:none}:host(.menu-button-hidden){display:none}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}.button-native::after{right:0;left:0;top:0;bottom:0;position:absolute;content:"";opacity:0}@media (any-hover: hover){:host(:hover) .button-native{color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity, 0)}}:host(.in-toolbar:not(.in-toolbar-color)){color:var(--ion-toolbar-color, var(--color))}:host(.menu-button-disabled){cursor:default;opacity:0.5;pointer-events:none}:host(.ion-color) .button-native{color:var(--ion-color-base)}:host{--background-focused:currentColor;--background-focused-opacity:0.12;--background-hover:currentColor;--background-hover-opacity:0.04;--border-radius:50%;--color:initial;--padding-start:8px;--padding-end:8px;width:3rem;height:3rem;font-size:1.5rem}:host(.ion-color.ion-focused)::after{background:var(--ion-color-base)}@media (any-hover: hover){:host(.ion-color:hover) .button-native::after{background:var(--ion-color-base)}}';var IonMenuButtonMdStyle0=menuButtonMdCss;var MenuButton=function(){function e(e){var t=this;registerInstance(this,e);this.inheritedAttributes={};this.onClick=function(){return __awaiter(t,void 0,void 0,(function(){return __generator(this,(function(e){return[2,menuController.toggle(this.menu)]}))}))};this.visible=false;this.color=undefined;this.disabled=false;this.menu=undefined;this.autoHide=true;this.type="button"}e.prototype.componentWillLoad=function(){this.inheritedAttributes=inheritAriaAttributes(this.el)};e.prototype.componentDidLoad=function(){this.visibilityChanged()};e.prototype.visibilityChanged=function(){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(t){switch(t.label){case 0:e=this;return[4,updateVisibility(this.menu)];case 1:e.visible=t.sent();return[2]}}))}))};e.prototype.render=function(){var e;var t=this,n=t.color,i=t.disabled,o=t.inheritedAttributes;var r=getIonTheme(this);var a=config.get("menuIcon",r==="ios"?menuOutline:menuSharp);var s=this.autoHide&&!this.visible;var d={type:this.type};var u=o["aria-label"]||"menu";return h(Host,{key:"dc7af6b49fe4f1603d8b1909ddfeb0e3a13bc71f",onClick:this.onClick,"aria-disabled":i?"true":null,"aria-hidden":s?"true":null,class:createColorClasses(n,(e={},e[r]=true,e.button=true,e["menu-button-hidden"]=s,e["menu-button-disabled"]=i,e["in-toolbar"]=hostContext("ion-toolbar",this.el),e["in-toolbar-color"]=hostContext("ion-toolbar[color]",this.el),e["ion-activatable"]=true,e["ion-focusable"]=true,e))},h("button",Object.assign({key:"470a5e29e1535fe37f1dbfb561d9dc79ce6e13d7"},d,{disabled:i,class:"button-native",part:"native","aria-label":u}),h("span",{key:"62d94fd184257cf021bc7b71a9d68d7722b12b1c",class:"button-inner"},h("slot",{key:"49cb73d8c63853cef58ef8c4106053878407d239"},h("ion-icon",{key:"b26e656d335962c528b4180a49e1fc55e8331174",part:"icon",icon:a,lazy:false,"aria-hidden":"true"}))),r==="md"&&h("ion-ripple-effect",{key:"c99d120c6d0630f81e1b274750037f65c7d730ed",type:"unbounded"})))};Object.defineProperty(e.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();MenuButton.style={ionic:IonMenuButtonIonicStyle0,ios:IonMenuButtonIosStyle0,md:IonMenuButtonMdStyle0};var menuToggleCss=":host(.menu-toggle-hidden){display:none}";var IonMenuToggleStyle0=menuToggleCss;var MenuToggle=function(){function e(e){var t=this;registerInstance(this,e);this.onClick=function(){return menuController.toggle(t.menu)};this.visible=false;this.menu=undefined;this.autoHide=true}e.prototype.connectedCallback=function(){this.visibilityChanged()};e.prototype.visibilityChanged=function(){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(t){switch(t.label){case 0:e=this;return[4,updateVisibility(this.menu)];case 1:e.visible=t.sent();return[2]}}))}))};e.prototype.render=function(){var e;var t=getIonTheme(this);var n=this.autoHide&&!this.visible;return h(Host,{key:"67420de69745897b0a7092d24983dcd42c29b6e6",onClick:this.onClick,"aria-hidden":n?"true":null,class:(e={},e[t]=true,e["menu-toggle-hidden"]=n,e)},h("slot",{key:"2c4782f5bfbade9daa50a0dedb511bb7fda3bad5"}))};return e}();MenuToggle.style=IonMenuToggleStyle0;export{Menu as ion_menu,MenuButton as ion_menu_button,MenuToggle as ion_menu_toggle};
4
+ */import{r as registerInstance,d as createEvent,h,f as Host,i as getElement}from"./index-e06ef154.js";import{g as getTimeGivenProgression}from"./cubic-bezier-fe2083dc.js";import{o as getPresentedOverlay,n as focusFirstDescendant,q as focusLastDescendant}from"./overlays-6e1a7f53.js";import{G as GESTURE_CONTROLLER}from"./gesture-controller-314a54f6.js";import{shouldUseCloseWatcher}from"./hardware-back-button-fb02649b.js";import{n as isEndSide,i as inheritAriaAttributes,m as assert,j as clamp}from"./helpers-da915de8.js";import{m as menuController}from"./index-1d0629cf.js";import{h as hostContext,c as createColorClasses}from"./theme-01f3f29c.js";import{c as config,b as getIonMode}from"./ionic-global-d92bc7d9.js";import{u as menuOutline,v as menuSharp}from"./index-e2cf2ceb.js";import"./index-a5d50daf.js";import"./framework-delegate-63d1a679.js";import"./index-9b0d46f4.js";import"./animation-eab5a4ca.js";var menuIosCss=":host{--width:304px;--min-width:auto;--max-width:auto;--height:100%;--min-height:auto;--max-height:auto;--background:var(--ion-background-color, #fff);left:0;right:0;top:0;bottom:0;display:none;position:absolute;contain:strict}:host(.show-menu){display:block}.menu-inner{-webkit-transform:translateX(-9999px);transform:translateX(-9999px);display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:justify;justify-content:space-between;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);background:var(--background);contain:strict}:host(.menu-side-start) .menu-inner{--ion-safe-area-right:0px;top:0;bottom:0}:host(.menu-side-start) .menu-inner{inset-inline-start:0;inset-inline-end:auto}:host-context([dir=rtl]):host(.menu-side-start) .menu-inner,:host-context([dir=rtl]).menu-side-start .menu-inner{--ion-safe-area-right:unset;--ion-safe-area-left:0px}@supports selector(:dir(rtl)){:host(.menu-side-start:dir(rtl)) .menu-inner{--ion-safe-area-right:unset;--ion-safe-area-left:0px}}:host(.menu-side-end) .menu-inner{--ion-safe-area-left:0px;top:0;bottom:0}:host(.menu-side-end) .menu-inner{inset-inline-start:auto;inset-inline-end:0}:host-context([dir=rtl]):host(.menu-side-end) .menu-inner,:host-context([dir=rtl]).menu-side-end .menu-inner{--ion-safe-area-left:unset;--ion-safe-area-right:0px}@supports selector(:dir(rtl)){:host(.menu-side-end:dir(rtl)) .menu-inner{--ion-safe-area-left:unset;--ion-safe-area-right:0px}}ion-backdrop{display:none;opacity:0.01;z-index:-1}@media (max-width: 340px){.menu-inner{--width:264px}}:host(.menu-type-reveal){z-index:0}:host(.menu-type-reveal.show-menu) .menu-inner{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}:host(.menu-type-overlay){z-index:1000}:host(.menu-type-overlay) .show-backdrop{display:block;cursor:pointer}:host(.menu-pane-visible){-ms-flex:0 1 auto;flex:0 1 auto;width:var(--side-width, var(--width));min-width:var(--side-min-width, var(--min-width));max-width:var(--side-max-width, var(--max-width))}:host(.menu-pane-visible.split-pane-side){left:0;right:0;top:0;bottom:0;position:relative;-webkit-box-shadow:none;box-shadow:none;z-index:0}:host(.menu-pane-visible.split-pane-side.menu-enabled){display:-ms-flexbox;display:flex;-ms-flex-negative:0;flex-shrink:0}:host(.menu-pane-visible.split-pane-side){-ms-flex-order:-1;order:-1}:host(.menu-pane-visible.split-pane-side[side=end]){-ms-flex-order:1;order:1}:host(.menu-pane-visible) .menu-inner{left:0;right:0;width:auto;-webkit-transform:none;transform:none;-webkit-box-shadow:none;box-shadow:none}:host(.menu-pane-visible) ion-backdrop{display:hidden !important}:host(.menu-pane-visible.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(.menu-pane-visible.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)}:host(.menu-type-push){z-index:1000}:host(.menu-type-push) .show-backdrop{display:block}";var IonMenuIosStyle0=menuIosCss;var menuMdCss=":host{--width:304px;--min-width:auto;--max-width:auto;--height:100%;--min-height:auto;--max-height:auto;--background:var(--ion-background-color, #fff);left:0;right:0;top:0;bottom:0;display:none;position:absolute;contain:strict}:host(.show-menu){display:block}.menu-inner{-webkit-transform:translateX(-9999px);transform:translateX(-9999px);display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:justify;justify-content:space-between;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);background:var(--background);contain:strict}:host(.menu-side-start) .menu-inner{--ion-safe-area-right:0px;top:0;bottom:0}:host(.menu-side-start) .menu-inner{inset-inline-start:0;inset-inline-end:auto}:host-context([dir=rtl]):host(.menu-side-start) .menu-inner,:host-context([dir=rtl]).menu-side-start .menu-inner{--ion-safe-area-right:unset;--ion-safe-area-left:0px}@supports selector(:dir(rtl)){:host(.menu-side-start:dir(rtl)) .menu-inner{--ion-safe-area-right:unset;--ion-safe-area-left:0px}}:host(.menu-side-end) .menu-inner{--ion-safe-area-left:0px;top:0;bottom:0}:host(.menu-side-end) .menu-inner{inset-inline-start:auto;inset-inline-end:0}:host-context([dir=rtl]):host(.menu-side-end) .menu-inner,:host-context([dir=rtl]).menu-side-end .menu-inner{--ion-safe-area-left:unset;--ion-safe-area-right:0px}@supports selector(:dir(rtl)){:host(.menu-side-end:dir(rtl)) .menu-inner{--ion-safe-area-left:unset;--ion-safe-area-right:0px}}ion-backdrop{display:none;opacity:0.01;z-index:-1}@media (max-width: 340px){.menu-inner{--width:264px}}:host(.menu-type-reveal){z-index:0}:host(.menu-type-reveal.show-menu) .menu-inner{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}:host(.menu-type-overlay){z-index:1000}:host(.menu-type-overlay) .show-backdrop{display:block;cursor:pointer}:host(.menu-pane-visible){-ms-flex:0 1 auto;flex:0 1 auto;width:var(--side-width, var(--width));min-width:var(--side-min-width, var(--min-width));max-width:var(--side-max-width, var(--max-width))}:host(.menu-pane-visible.split-pane-side){left:0;right:0;top:0;bottom:0;position:relative;-webkit-box-shadow:none;box-shadow:none;z-index:0}:host(.menu-pane-visible.split-pane-side.menu-enabled){display:-ms-flexbox;display:flex;-ms-flex-negative:0;flex-shrink:0}:host(.menu-pane-visible.split-pane-side){-ms-flex-order:-1;order:-1}:host(.menu-pane-visible.split-pane-side[side=end]){-ms-flex-order:1;order:1}:host(.menu-pane-visible) .menu-inner{left:0;right:0;width:auto;-webkit-transform:none;transform:none;-webkit-box-shadow:none;box-shadow:none}:host(.menu-pane-visible) ion-backdrop{display:hidden !important}:host(.menu-pane-visible.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(.menu-pane-visible.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)}:host(.menu-type-overlay) .menu-inner{-webkit-box-shadow:4px 0px 16px rgba(0, 0, 0, 0.18);box-shadow:4px 0px 16px rgba(0, 0, 0, 0.18)}";var IonMenuMdStyle0=menuMdCss;var iosEasing="cubic-bezier(0.32,0.72,0,1)";var mdEasing="cubic-bezier(0.0,0.0,0.2,1)";var iosEasingReverse="cubic-bezier(1, 0, 0.68, 0.28)";var mdEasingReverse="cubic-bezier(0.4, 0, 0.6, 1)";var Menu=function(){function e(e){var t=this;registerInstance(this,e);this.ionWillOpen=createEvent(this,"ionWillOpen",7);this.ionWillClose=createEvent(this,"ionWillClose",7);this.ionDidOpen=createEvent(this,"ionDidOpen",7);this.ionDidClose=createEvent(this,"ionDidClose",7);this.ionMenuChange=createEvent(this,"ionMenuChange",7);this.lastOnEnd=0;this.blocker=GESTURE_CONTROLLER.createBlocker({disableScroll:true});this.didLoad=false;this.operationCancelled=false;this.isAnimating=false;this._isOpen=false;this.inheritedAttributes={};this.handleFocus=function(e){var n=getPresentedOverlay(document);if(n&&!n.contains(t.el)){return}t.trapKeyboardFocus(e,document)};this.isPaneVisible=false;this.isEndSide=false;this.contentId=undefined;this.menuId=undefined;this.type=undefined;this.disabled=false;this.side="start";this.swipeGesture=true;this.maxEdgeStart=50}e.prototype.typeChanged=function(e,t){var n=this.contentEl;if(n){if(t!==undefined){n.classList.remove("menu-content-".concat(t))}n.classList.add("menu-content-".concat(e));n.removeAttribute("style")}if(this.menuInnerEl){this.menuInnerEl.removeAttribute("style")}this.animation=undefined};e.prototype.disabledChanged=function(){this.updateState();this.ionMenuChange.emit({disabled:this.disabled,open:this._isOpen})};e.prototype.sideChanged=function(){this.isEndSide=isEndSide(this.side);this.animation=undefined};e.prototype.swipeGestureChanged=function(){this.updateState()};e.prototype.connectedCallback=function(){return __awaiter(this,void 0,void 0,(function(){var e,t;var n=this;return __generator(this,(function(i){switch(i.label){case 0:if(!(typeof customElements!=="undefined"&&customElements!=null))return[3,2];return[4,customElements.whenDefined("ion-menu")];case 1:i.sent();i.label=2;case 2:if(this.type===undefined){this.type=config.get("menuType","overlay")}e=this.contentId!==undefined?document.getElementById(this.contentId):null;if(e===null){console.error('Menu: must have a "content" element to listen for drag events on.');return[2]}if(this.el.contains(e)){console.error('Menu: "contentId" should refer to the main view\'s ion-content, not the ion-content inside of the ion-menu.')}this.contentEl=e;e.classList.add("menu-content");this.typeChanged(this.type,undefined);this.sideChanged();menuController._register(this);this.menuChanged();t=this;return[4,import("./index-39782642.js")];case 3:t.gesture=i.sent().createGesture({el:document,gestureName:"menu-swipe",gesturePriority:30,threshold:10,blurOnStart:true,canStart:function(e){return n.canStart(e)},onWillStart:function(){return n.onWillStart()},onStart:function(){return n.onStart()},onMove:function(e){return n.onMove(e)},onEnd:function(e){return n.onEnd(e)}});this.updateState();return[2]}}))}))};e.prototype.componentWillLoad=function(){this.inheritedAttributes=inheritAriaAttributes(this.el)};e.prototype.componentDidLoad=function(){return __awaiter(this,void 0,void 0,(function(){var e,t;return __generator(this,(function(n){switch(n.label){case 0:this.didLoad=true;e=this.el.closest("ion-split-pane");if(!(e!==null))return[3,2];t=this;return[4,e.isVisible()];case 1:t.isPaneVisible=n.sent();n.label=2;case 2:this.menuChanged();this.updateState();return[2]}}))}))};e.prototype.menuChanged=function(){if(this.didLoad){this.ionMenuChange.emit({disabled:this.disabled,open:this._isOpen})}};e.prototype.disconnectedCallback=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){switch(e.label){case 0:return[4,this.close(false)];case 1:e.sent();this.blocker.destroy();menuController._unregister(this);if(this.animation){this.animation.destroy()}if(this.gesture){this.gesture.destroy();this.gesture=undefined}this.animation=undefined;this.contentEl=undefined;return[2]}}))}))};e.prototype.onSplitPaneChanged=function(e){var t=this.el.closest("ion-split-pane");if(t!==null&&t===e.target){this.isPaneVisible=e.detail.visible;this.updateState()}};e.prototype.onBackdropClick=function(e){if(this._isOpen&&this.lastOnEnd<e.timeStamp-100){var t=e.composedPath?!e.composedPath().includes(this.menuInnerEl):false;if(t){e.preventDefault();e.stopPropagation();this.close()}}};e.prototype.onKeydown=function(e){if(e.key==="Escape"){this.close()}};e.prototype.isOpen=function(){return Promise.resolve(this._isOpen)};e.prototype.isActive=function(){return Promise.resolve(this._isActive())};e.prototype.open=function(e){if(e===void 0){e=true}return this.setOpen(true,e)};e.prototype.close=function(e){if(e===void 0){e=true}return this.setOpen(false,e)};e.prototype.toggle=function(e){if(e===void 0){e=true}return this.setOpen(!this._isOpen,e)};e.prototype.setOpen=function(e,t){if(t===void 0){t=true}return menuController._setOpen(this,e,t)};e.prototype.trapKeyboardFocus=function(e,t){var n=e.target;if(!n){return}if(this.el.contains(n)){this.lastFocus=n}else{var i=this.el;focusFirstDescendant(i);if(this.lastFocus===t.activeElement){focusLastDescendant(i)}}};e.prototype._setOpen=function(e){return __awaiter(this,arguments,void 0,(function(e,t){if(t===void 0){t=true}return __generator(this,(function(n){switch(n.label){case 0:if(!this._isActive()||this.isAnimating||e===this._isOpen){return[2,false]}this.beforeAnimation(e);return[4,this.loadAnimation()];case 1:n.sent();return[4,this.startAnimation(e,t)];case 2:n.sent();if(this.operationCancelled){this.operationCancelled=false;return[2,false]}this.afterAnimation(e);return[2,true]}}))}))};e.prototype.loadAnimation=function(){return __awaiter(this,void 0,void 0,(function(){var e,t,n,i;return __generator(this,(function(r){switch(r.label){case 0:e=this.menuInnerEl.offsetWidth;t=isEndSide(this.side);if(e===this.width&&this.animation!==undefined&&t===this.isEndSide){return[2]}this.width=e;this.isEndSide=t;if(this.animation){this.animation.destroy();this.animation=undefined}i=this;return[4,menuController._createAnimation(this.type,this)];case 1:n=i.animation=r.sent();if(!config.getBoolean("animated",true)){n.duration(0)}n.fill("both");return[2]}}))}))};e.prototype.startAnimation=function(e,t){return __awaiter(this,void 0,void 0,(function(){var n,i,r,o,s;return __generator(this,(function(a){switch(a.label){case 0:n=!e;i=getIonMode(this);r=i==="ios"?iosEasing:mdEasing;o=i==="ios"?iosEasingReverse:mdEasingReverse;s=this.animation.direction(n?"reverse":"normal").easing(n?o:r);if(!t)return[3,2];return[4,s.play()];case 1:a.sent();return[3,3];case 2:s.play({sync:true});a.label=3;case 3:if(s.getDirection()==="reverse"){s.direction("normal")}return[2]}}))}))};e.prototype._isActive=function(){return!this.disabled&&!this.isPaneVisible};e.prototype.canSwipe=function(){return this.swipeGesture&&!this.isAnimating&&this._isActive()};e.prototype.canStart=function(e){var t=!!document.querySelector("ion-modal.show-modal");if(t||!this.canSwipe()){return false}if(this._isOpen){return true}else if(menuController._getOpenSync()){return false}return checkEdgeSide(window,e.currentX,this.isEndSide,this.maxEdgeStart)};e.prototype.onWillStart=function(){this.beforeAnimation(!this._isOpen);return this.loadAnimation()};e.prototype.onStart=function(){if(!this.isAnimating||!this.animation){assert(false,"isAnimating has to be true");return}this.animation.progressStart(true,this._isOpen?1:0)};e.prototype.onMove=function(e){if(!this.isAnimating||!this.animation){assert(false,"isAnimating has to be true");return}var t=computeDelta(e.deltaX,this._isOpen,this.isEndSide);var n=t/this.width;this.animation.progressStep(this._isOpen?1-n:n)};e.prototype.onEnd=function(e){var t=this;if(!this.isAnimating||!this.animation){assert(false,"isAnimating has to be true");return}var n=this._isOpen;var i=this.isEndSide;var r=computeDelta(e.deltaX,n,i);var o=this.width;var s=r/o;var a=e.velocityX;var d=o/2;var h=a>=0&&(a>.2||e.deltaX>d);var u=a<=0&&(a<-.2||e.deltaX<-d);var l=n?i?h:u:i?u:h;var c=!n&&l;if(n&&!l){c=true}this.lastOnEnd=e.currentTime;var f=l?.001:-.001;var m=s<0?.01:s;f+=getTimeGivenProgression([0,0],[.4,0],[.6,1],[1,1],clamp(0,m,.9999))[0]||0;var p=this._isOpen?!l:l;this.animation.easing("cubic-bezier(0.4, 0.0, 0.6, 1)").onFinish((function(){return t.afterAnimation(c)}),{oneTimeCallback:true}).progressEnd(p?1:0,this._isOpen?1-f:f,300)};e.prototype.beforeAnimation=function(e){assert(!this.isAnimating,"_before() should not be called while animating");this.el.classList.add(SHOW_MENU);this.el.setAttribute("tabindex","0");if(this.backdropEl){this.backdropEl.classList.add(SHOW_BACKDROP)}if(this.contentEl){this.contentEl.classList.add(MENU_CONTENT_OPEN);this.contentEl.setAttribute("aria-hidden","true")}this.blocker.block();this.isAnimating=true;if(e){this.ionWillOpen.emit()}else{this.ionWillClose.emit()}};e.prototype.afterAnimation=function(e){var t;this._isOpen=e;this.isAnimating=false;if(!this._isOpen){this.blocker.unblock()}if(e){this.ionDidOpen.emit();var n=(t=document.activeElement)===null||t===void 0?void 0:t.closest("ion-menu");if(n!==this.el){this.el.focus()}document.addEventListener("focus",this.handleFocus,true)}else{this.el.classList.remove(SHOW_MENU);this.el.removeAttribute("tabindex");if(this.contentEl){this.contentEl.classList.remove(MENU_CONTENT_OPEN);this.contentEl.removeAttribute("aria-hidden")}if(this.backdropEl){this.backdropEl.classList.remove(SHOW_BACKDROP)}if(this.animation){this.animation.stop()}this.ionDidClose.emit();document.removeEventListener("focus",this.handleFocus,true)}};e.prototype.updateState=function(){var e=this._isActive();if(this.gesture){this.gesture.enable(e&&this.swipeGesture)}if(!e){if(this.isAnimating){this.operationCancelled=true}this.afterAnimation(false)}};e.prototype.render=function(){var e;var t=this;var n=this,i=n.type,r=n.disabled,o=n.el,s=n.isPaneVisible,a=n.inheritedAttributes,d=n.side;var u=getIonMode(this);return h(Host,{key:"30c0c9bfb8973e4a6feb658f8c4ee8e362f464ed",onKeyDown:shouldUseCloseWatcher()?null:this.onKeydown,role:"navigation","aria-label":a["aria-label"]||"menu",class:(e={},e[u]=true,e["menu-type-".concat(i)]=true,e["menu-enabled"]=!r,e["menu-side-".concat(d)]=true,e["menu-pane-visible"]=s,e["split-pane-side"]=hostContext("ion-split-pane",o),e)},h("div",{key:"34b0e5840906862cf1bc27207e089004b0402c56",class:"menu-inner",part:"container",ref:function(e){return t.menuInnerEl=e}},h("slot",{key:"2cd7e61a8c0987ca4b3f1f8b33cba7152f1275fe"})),h("ion-backdrop",{key:"d190b1f9b66c76e276f27bfe074d3aab796180fb",ref:function(e){return t.backdropEl=e},class:"menu-backdrop",tappable:false,stopPropagation:false,part:"backdrop"}))};Object.defineProperty(e.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{type:["typeChanged"],disabled:["disabledChanged"],side:["sideChanged"],swipeGesture:["swipeGestureChanged"]}},enumerable:false,configurable:true});return e}();var computeDelta=function(e,t,n){return Math.max(0,t!==n?-e:e)};var checkEdgeSide=function(e,t,n,i){if(n){return t>=e.innerWidth-i}else{return t<=i}};var SHOW_MENU="show-menu";var SHOW_BACKDROP="show-backdrop";var MENU_CONTENT_OPEN="menu-content-open";Menu.style={ios:IonMenuIosStyle0,md:IonMenuMdStyle0};var updateVisibility=function(e){return __awaiter(void 0,void 0,void 0,(function(){var t,n;return __generator(this,(function(i){switch(i.label){case 0:return[4,menuController.get(e)];case 1:t=i.sent();n=t;if(!n)return[3,3];return[4,t.isActive()];case 2:n=i.sent();i.label=3;case 3:return[2,!!n]}}))}))};var menuButtonIosCss=':host{--background:transparent;--color-focused:currentColor;--border-radius:initial;--padding-top:0;--padding-bottom:0;color:var(--color);text-align:center;text-decoration:none;text-overflow:ellipsis;text-transform:none;white-space:nowrap;-webkit-font-kerning:none;font-kerning:none}.button-native{border-radius:var(--border-radius);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;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);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;min-height:inherit;border:0;outline:none;background:var(--background);line-height:1;cursor:pointer;overflow:hidden;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:0;-webkit-appearance:none;-moz-appearance:none;appearance:none}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;min-height:inherit;z-index:1}ion-icon{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;pointer-events:none}:host(.menu-button-hidden){display:none}:host(.menu-button-disabled){cursor:default;opacity:0.5;pointer-events:none}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}@media (any-hover: hover){:host(:hover) .button-native{color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity, 0)}}:host(.ion-color) .button-native{color:var(--ion-color-base)}:host(.in-toolbar:not(.in-toolbar-color)){color:var(--ion-toolbar-color, var(--color))}:host{--background-focused:currentColor;--background-focused-opacity:.1;--border-radius:4px;--color:var(--ion-color-primary, #0054e9);--padding-start:5px;--padding-end:5px;min-height:32px;font-size:clamp(31px, 1.9375rem, 38.13px)}:host(.ion-activated){opacity:0.4}@media (any-hover: hover){:host(:hover){opacity:0.6}}';var IonMenuButtonIosStyle0=menuButtonIosCss;var menuButtonMdCss=':host{--background:transparent;--color-focused:currentColor;--border-radius:initial;--padding-top:0;--padding-bottom:0;color:var(--color);text-align:center;text-decoration:none;text-overflow:ellipsis;text-transform:none;white-space:nowrap;-webkit-font-kerning:none;font-kerning:none}.button-native{border-radius:var(--border-radius);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;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);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;min-height:inherit;border:0;outline:none;background:var(--background);line-height:1;cursor:pointer;overflow:hidden;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:0;-webkit-appearance:none;-moz-appearance:none;appearance:none}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;min-height:inherit;z-index:1}ion-icon{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;pointer-events:none}:host(.menu-button-hidden){display:none}:host(.menu-button-disabled){cursor:default;opacity:0.5;pointer-events:none}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}@media (any-hover: hover){:host(:hover) .button-native{color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity, 0)}}:host(.ion-color) .button-native{color:var(--ion-color-base)}:host(.in-toolbar:not(.in-toolbar-color)){color:var(--ion-toolbar-color, var(--color))}:host{--background-focused:currentColor;--background-focused-opacity:.12;--background-hover:currentColor;--background-hover-opacity:.04;--border-radius:50%;--color:initial;--padding-start:8px;--padding-end:8px;width:3rem;height:3rem;font-size:1.5rem}:host(.ion-color.ion-focused)::after{background:var(--ion-color-base)}@media (any-hover: hover){:host(.ion-color:hover) .button-native::after{background:var(--ion-color-base)}}';var IonMenuButtonMdStyle0=menuButtonMdCss;var MenuButton=function(){function e(e){var t=this;registerInstance(this,e);this.inheritedAttributes={};this.onClick=function(){return __awaiter(t,void 0,void 0,(function(){return __generator(this,(function(e){return[2,menuController.toggle(this.menu)]}))}))};this.visible=false;this.color=undefined;this.disabled=false;this.menu=undefined;this.autoHide=true;this.type="button"}e.prototype.componentWillLoad=function(){this.inheritedAttributes=inheritAriaAttributes(this.el)};e.prototype.componentDidLoad=function(){this.visibilityChanged()};e.prototype.visibilityChanged=function(){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(t){switch(t.label){case 0:e=this;return[4,updateVisibility(this.menu)];case 1:e.visible=t.sent();return[2]}}))}))};e.prototype.render=function(){var e;var t=this,n=t.color,i=t.disabled,r=t.inheritedAttributes;var o=getIonMode(this);var s=config.get("menuIcon",o==="ios"?menuOutline:menuSharp);var a=this.autoHide&&!this.visible;var d={type:this.type};var u=r["aria-label"]||"menu";return h(Host,{key:"95a8b9f09c7fae9713a8dc003ed277f6f31403da",onClick:this.onClick,"aria-disabled":i?"true":null,"aria-hidden":a?"true":null,class:createColorClasses(n,(e={},e[o]=true,e.button=true,e["menu-button-hidden"]=a,e["menu-button-disabled"]=i,e["in-toolbar"]=hostContext("ion-toolbar",this.el),e["in-toolbar-color"]=hostContext("ion-toolbar[color]",this.el),e["ion-activatable"]=true,e["ion-focusable"]=true,e))},h("button",Object.assign({key:"39f3ce20c400d2fac4890a042e8e44426709fca5"},d,{disabled:i,class:"button-native",part:"native","aria-label":u}),h("span",{key:"310978dc1cdef668de6720cde2a2304253679176",class:"button-inner"},h("slot",{key:"2a2b9de524c1fc3c526fe9559cb077b976852725"},h("ion-icon",{key:"9c22d7ea9fc3d76c32ec1c1b4b13d982c60b8c2d",part:"icon",icon:s,mode:o,lazy:false,"aria-hidden":"true"}))),o==="md"&&h("ion-ripple-effect",{key:"c58c9e29c763070383472f65a9d322a684bcb564",type:"unbounded"})))};Object.defineProperty(e.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();MenuButton.style={ios:IonMenuButtonIosStyle0,md:IonMenuButtonMdStyle0};var menuToggleCss=":host(.menu-toggle-hidden){display:none}";var IonMenuToggleStyle0=menuToggleCss;var MenuToggle=function(){function e(e){var t=this;registerInstance(this,e);this.onClick=function(){return menuController.toggle(t.menu)};this.visible=false;this.menu=undefined;this.autoHide=true}e.prototype.connectedCallback=function(){this.visibilityChanged()};e.prototype.visibilityChanged=function(){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(t){switch(t.label){case 0:e=this;return[4,updateVisibility(this.menu)];case 1:e.visible=t.sent();return[2]}}))}))};e.prototype.render=function(){var e;var t=getIonMode(this);var n=this.autoHide&&!this.visible;return h(Host,{key:"90e621f09792383f1badcc1b402b1ac7d08c5f98",onClick:this.onClick,"aria-hidden":n?"true":null,class:(e={},e[t]=true,e["menu-toggle-hidden"]=n,e)},h("slot",{key:"c0abdd1d91e9d80ee3704e3e374ebe1f29078460"}))};return e}();MenuToggle.style=IonMenuToggleStyle0;export{Menu as ion_menu,MenuButton as ion_menu_button,MenuToggle as ion_menu_toggle};
@@ -1,4 +1,4 @@
1
1
  import{__awaiter,__generator,__spreadArray}from"tslib";
2
2
  /*!
3
3
  * (C) Ionic http://ionicframework.com - MIT License
4
- */import{r as registerInstance,e as createEvent,w as writeTask,h,i as Host,g as getElement}from"./index-3321c202.js";import{f as findClosestIonContent,i as isIonContent,d as disableContentScrollY,r as resetContentScrollY,a as findIonContent,p as printIonContentErrorMsg}from"./index-00b4cca5.js";import{C as CoreDelegate,a as attachComponent,d as detachComponent}from"./framework-delegate-63d1a679.js";import{g as getElementRoot,j as clamp,r as raf,h as inheritAttributes,k as hasLazyBuild}from"./helpers-da915de8.js";import{c as createLockController}from"./lock-controller-316928be.js";import{p as printIonWarning,b as getIonMode,c as config,d as getIonTheme}from"./ionic-global-be8fa30a.js";import{g as getCapacitor}from"./capacitor-59395cbd.js";import{G as GESTURE,O as OVERLAY_GESTURE_PRIORITY,F as FOCUS_TRAP_DISABLE_CLASS,e as createTriggerController,B as BACKDROP,j as prepareOverlay,k as setOverlayId,f as present,g as dismiss,h as eventMethod}from"./overlays-a0e93007.js";import{g as getClassMap}from"./theme-01f3f29c.js";import{e as deepReady,w as waitForMount}from"./index-33a3d901.js";import{KEYBOARD_DID_OPEN}from"./keyboard-52278bd7.js";import{c as createAnimation}from"./animation-eab5a4ca.js";import{g as getTimeGivenProgression}from"./cubic-bezier-fe2083dc.js";import{createGesture}from"./index-39782642.js";import{w as win}from"./index-a5d50daf.js";import"./hardware-back-button-2da817f5.js";import"./gesture-controller-314a54f6.js";import"./keyboard-73175e24.js";var Style;(function(t){t["Dark"]="DARK";t["Light"]="LIGHT";t["Default"]="DEFAULT"})(Style||(Style={}));var StatusBar={getEngine:function(){var t=getCapacitor();if(t===null||t===void 0?void 0:t.isPluginAvailable("StatusBar")){return t.Plugins.StatusBar}return undefined},setStyle:function(t){var e=this.getEngine();if(!e){return}e.setStyle(t)},getStyle:function(){return __awaiter(this,void 0,void 0,(function(){var t,e;return __generator(this,(function(a){switch(a.label){case 0:t=this.getEngine();if(!t){return[2,Style.Default]}return[4,t.getInfo()];case 1:e=a.sent().style;return[2,e]}}))}))}};var getBackdropValueForSheet=function(t,e){if(e===1){return 0}var a=1/(1-e);var r=-(e*a);return t*a+r};var setCardStatusBarDark=function(){if(!win||win.innerWidth>=768){return}StatusBar.setStyle({style:Style.Dark})};var setCardStatusBarDefault=function(t){if(t===void 0){t=Style.Default}if(!win||win.innerWidth>=768){return}StatusBar.setStyle({style:t})};var handleCanDismiss=function(t,e){return __awaiter(void 0,void 0,void 0,(function(){var a;return __generator(this,(function(r){switch(r.label){case 0:if(typeof t.canDismiss!=="function"){return[2]}return[4,t.canDismiss(undefined,GESTURE)];case 1:a=r.sent();if(!a){return[2]}if(e.isRunning()){e.onFinish((function(){t.dismiss(undefined,"handler")}),{oneTimeCallback:true})}else{t.dismiss(undefined,"handler")}return[2]}}))}))};var calculateSpringStep=function(t){return.00255275*Math.pow(2.71828,-14.9619*t)-1.00255*Math.pow(2.71828,-.0380968*t)+1};var SwipeToCloseDefaults={MIN_PRESENTING_SCALE:.915};var createSwipeToCloseGesture=function(t,e,a,r){var i=.5;var n=t.offsetHeight;var o=false;var s=false;var d=null;var l=null;var c=.2;var h=true;var f=0;var u=function(){if(d&&isIonContent(d)){return d.scrollY}else{return true}};var p=function(t){var e=t.event.target;if(e===null||!e.closest){return true}d=findClosestIonContent(e);if(d){if(isIonContent(d)){var a=getElementRoot(d);l=a.querySelector(".inner-scroll")}else{l=d}var r=!!d.querySelector("ion-refresher");return!r&&l.scrollTop===0}var i=e.closest("ion-footer");if(i===null){return true}return false};var m=function(a){var r=a.deltaY;h=u();s=t.canDismiss!==undefined&&t.canDismiss!==true;if(r>0&&d){disableContentScrollY(d)}e.progressStart(true,o?1:0)};var v=function(t){var r=t.deltaY;if(r>0&&d){disableContentScrollY(d)}var o=t.deltaY/n;var l=o>=0&&s;var h=l?c:.9999;var u=l?calculateSpringStep(o/h):o;var p=clamp(1e-4,u,h);e.progressStep(p);if(p>=i&&f<i){setCardStatusBarDefault(a)}else if(p<i&&f>=i){setCardStatusBarDark()}f=p};var b=function(a){var l=a.velocityY;var f=a.deltaY/n;var u=f>=0&&s;var p=u?c:.9999;var m=u?calculateSpringStep(f/p):f;var v=clamp(1e-4,m,p);var b=(a.deltaY+l*1e3)/n;var g=!u&&b>=i;var x=g?-.001:.001;if(!g){e.easing("cubic-bezier(1, 0, 0.68, 0.28)");x+=getTimeGivenProgression([0,0],[1,0],[.68,.28],[1,1],v)[0]}else{e.easing("cubic-bezier(0.32, 0.72, 0, 1)");x+=getTimeGivenProgression([0,0],[.32,.72],[0,1],[1,1],v)[0]}var k=g?computeDuration(f*n,l):computeDuration((1-v)*n,l);o=g;w.enable(false);if(d){resetContentScrollY(d,h)}e.onFinish((function(){if(!g){w.enable(true)}})).progressEnd(g?1:0,x,k);if(u&&v>p/4){handleCanDismiss(t,e)}else if(g){r()}};var w=createGesture({el:t,gestureName:"modalSwipeToClose",gesturePriority:OVERLAY_GESTURE_PRIORITY,direction:"y",threshold:10,canStart:p,onStart:m,onMove:v,onEnd:b});return w};var computeDuration=function(t,e){return clamp(400,t/Math.abs(e*1.1),500)};var createSheetEnterAnimation=function(t){var e=t.currentBreakpoint,a=t.backdropBreakpoint;var r=a===undefined||a<e;var i=r?"calc(var(--backdrop-opacity) * ".concat(e,")"):"0";var n=createAnimation("backdropAnimation").fromTo("opacity",0,i);if(r){n.beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"])}var o=createAnimation("wrapperAnimation").keyframes([{offset:0,opacity:1,transform:"translateY(100%)"},{offset:1,opacity:1,transform:"translateY(".concat(100-e*100,"%)")}]);return{wrapperAnimation:o,backdropAnimation:n}};var createSheetLeaveAnimation=function(t){var e=t.currentBreakpoint,a=t.backdropBreakpoint;var r="calc(var(--backdrop-opacity) * ".concat(getBackdropValueForSheet(e,a),")");var i=[{offset:0,opacity:r},{offset:1,opacity:0}];var n=[{offset:0,opacity:r},{offset:a,opacity:0},{offset:1,opacity:0}];var o=createAnimation("backdropAnimation").keyframes(a!==0?n:i);var s=createAnimation("wrapperAnimation").keyframes([{offset:0,opacity:1,transform:"translateY(".concat(100-e*100,"%)")},{offset:1,opacity:1,transform:"translateY(100%)"}]);return{wrapperAnimation:s,backdropAnimation:o}};var createEnterAnimation$1=function(){var t=createAnimation().fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]);var e=createAnimation().fromTo("transform","translateY(100vh)","translateY(0vh)");return{backdropAnimation:t,wrapperAnimation:e}};var iosEnterAnimation=function(t,e){var a=e.presentingEl,r=e.currentBreakpoint;var i=getElementRoot(t);var n=r!==undefined?createSheetEnterAnimation(e):createEnterAnimation$1(),o=n.wrapperAnimation,s=n.backdropAnimation;s.addElement(i.querySelector("ion-backdrop"));o.addElement(i.querySelectorAll(".modal-wrapper, .modal-shadow")).beforeStyles({opacity:1});var d=createAnimation("entering-base").addElement(t).easing("cubic-bezier(0.32,0.72,0,1)").duration(500).addAnimation(o);if(a){var l=window.innerWidth<768;var c=a.tagName==="ION-MODAL"&&a.presentingElement!==undefined;var h=getElementRoot(a);var f=createAnimation().beforeStyles({transform:"translateY(0)","transform-origin":"top center",overflow:"hidden"});var u=document.body;if(l){var p=!CSS.supports("width","max(0px, 1px)")?"30px":"max(30px, var(--ion-safe-area-top))";var m=c?"-10px":p;var v=SwipeToCloseDefaults.MIN_PRESENTING_SCALE;var b="translateY(".concat(m,") scale(").concat(v,")");f.afterStyles({transform:b}).beforeAddWrite((function(){return u.style.setProperty("background-color","black")})).addElement(a).keyframes([{offset:0,filter:"contrast(1)",transform:"translateY(0px) scale(1)",borderRadius:"0px"},{offset:1,filter:"contrast(0.85)",transform:b,borderRadius:"10px 10px 0 0"}]);d.addAnimation(f)}else{d.addAnimation(s);if(!c){o.fromTo("opacity","0","1")}else{var v=c?SwipeToCloseDefaults.MIN_PRESENTING_SCALE:1;var b="translateY(-10px) scale(".concat(v,")");f.afterStyles({transform:b}).addElement(h.querySelector(".modal-wrapper")).keyframes([{offset:0,filter:"contrast(1)",transform:"translateY(0) scale(1)"},{offset:1,filter:"contrast(0.85)",transform:b}]);var w=createAnimation().afterStyles({transform:b}).addElement(h.querySelector(".modal-shadow")).keyframes([{offset:0,opacity:"1",transform:"translateY(0) scale(1)"},{offset:1,opacity:"0",transform:b}]);d.addAnimation([f,w])}}}else{d.addAnimation(s)}return d};var createLeaveAnimation$1=function(){var t=createAnimation().fromTo("opacity","var(--backdrop-opacity)",0);var e=createAnimation().fromTo("transform","translateY(0vh)","translateY(100vh)");return{backdropAnimation:t,wrapperAnimation:e}};var iosLeaveAnimation=function(t,e,a){if(a===void 0){a=500}var r=e.presentingEl,i=e.currentBreakpoint;var n=getElementRoot(t);var o=i!==undefined?createSheetLeaveAnimation(e):createLeaveAnimation$1(),s=o.wrapperAnimation,d=o.backdropAnimation;d.addElement(n.querySelector("ion-backdrop"));s.addElement(n.querySelectorAll(".modal-wrapper, .modal-shadow")).beforeStyles({opacity:1});var l=createAnimation("leaving-base").addElement(t).easing("cubic-bezier(0.32,0.72,0,1)").duration(a).addAnimation(s);if(r){var c=window.innerWidth<768;var h=r.tagName==="ION-MODAL"&&r.presentingElement!==undefined;var f=getElementRoot(r);var u=createAnimation().beforeClearStyles(["transform"]).afterClearStyles(["transform"]).onFinish((function(t){if(t!==1){return}r.style.setProperty("overflow","");var e=Array.from(p.querySelectorAll("ion-modal:not(.overlay-hidden)")).filter((function(t){return t.presentingElement!==undefined})).length;if(e<=1){p.style.setProperty("background-color","")}}));var p=document.body;if(c){var m=!CSS.supports("width","max(0px, 1px)")?"30px":"max(30px, var(--ion-safe-area-top))";var v=h?"-10px":m;var b=SwipeToCloseDefaults.MIN_PRESENTING_SCALE;var w="translateY(".concat(v,") scale(").concat(b,")");u.addElement(r).keyframes([{offset:0,filter:"contrast(0.85)",transform:w,borderRadius:"10px 10px 0 0"},{offset:1,filter:"contrast(1)",transform:"translateY(0px) scale(1)",borderRadius:"0px"}]);l.addAnimation(u)}else{l.addAnimation(d);if(!h){s.fromTo("opacity","1","0")}else{var b=h?SwipeToCloseDefaults.MIN_PRESENTING_SCALE:1;var w="translateY(-10px) scale(".concat(b,")");u.addElement(f.querySelector(".modal-wrapper")).afterStyles({transform:"translate3d(0, 0, 0)"}).keyframes([{offset:0,filter:"contrast(0.85)",transform:w},{offset:1,filter:"contrast(1)",transform:"translateY(0) scale(1)"}]);var g=createAnimation().addElement(f.querySelector(".modal-shadow")).afterStyles({transform:"translateY(0) scale(1)"}).keyframes([{offset:0,opacity:"0",transform:w},{offset:1,opacity:"1",transform:"translateY(0) scale(1)"}]);l.addAnimation([u,g])}}}else{l.addAnimation(d)}return l};var createEnterAnimation=function(){var t=createAnimation().fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]);var e=createAnimation().keyframes([{offset:0,opacity:.01,transform:"translateY(40px)"},{offset:1,opacity:1,transform:"translateY(0px)"}]);return{backdropAnimation:t,wrapperAnimation:e}};var mdEnterAnimation=function(t,e){var a=e.currentBreakpoint;var r=getElementRoot(t);var i=a!==undefined?createSheetEnterAnimation(e):createEnterAnimation(),n=i.wrapperAnimation,o=i.backdropAnimation;o.addElement(r.querySelector("ion-backdrop"));n.addElement(r.querySelector(".modal-wrapper"));return createAnimation().addElement(t).easing("cubic-bezier(0.36,0.66,0.04,1)").duration(280).addAnimation([o,n])};var createLeaveAnimation=function(){var t=createAnimation().fromTo("opacity","var(--backdrop-opacity)",0);var e=createAnimation().keyframes([{offset:0,opacity:.99,transform:"translateY(0px)"},{offset:1,opacity:0,transform:"translateY(40px)"}]);return{backdropAnimation:t,wrapperAnimation:e}};var mdLeaveAnimation=function(t,e){var a=e.currentBreakpoint;var r=getElementRoot(t);var i=a!==undefined?createSheetLeaveAnimation(e):createLeaveAnimation(),n=i.wrapperAnimation,o=i.backdropAnimation;o.addElement(r.querySelector("ion-backdrop"));n.addElement(r.querySelector(".modal-wrapper"));return createAnimation().easing("cubic-bezier(0.47,0,0.745,0.715)").duration(200).addAnimation([o,n])};var createSheetGesture=function(t,e,a,r,i,n,o,s,d,l){if(o===void 0){o=[]}var c=[{offset:0,opacity:"var(--backdrop-opacity)"},{offset:1,opacity:.01}];var h=[{offset:0,opacity:"var(--backdrop-opacity)"},{offset:1-i,opacity:0},{offset:1,opacity:0}];var f={WRAPPER_KEYFRAMES:[{offset:0,transform:"translateY(0%)"},{offset:1,transform:"translateY(100%)"}],BACKDROP_KEYFRAMES:i!==0?h:c};var u=t.querySelector("ion-content");var p=a.clientHeight;var m=r;var v=0;var b=false;var w=.95;var g=n.childAnimations.find((function(t){return t.id==="wrapperAnimation"}));var x=n.childAnimations.find((function(t){return t.id==="backdropAnimation"}));var k=o[o.length-1];var y=o[0];var A=function(){t.style.setProperty("pointer-events","auto");e.style.setProperty("pointer-events","auto");t.classList.remove(FOCUS_TRAP_DISABLE_CLASS)};var S=function(){t.style.setProperty("pointer-events","none");e.style.setProperty("pointer-events","none");t.classList.add(FOCUS_TRAP_DISABLE_CLASS)};if(g&&x){g.keyframes(__spreadArray([],f.WRAPPER_KEYFRAMES,true));x.keyframes(__spreadArray([],f.BACKDROP_KEYFRAMES,true));n.progressStart(true,1-m);var E=m>i;if(E){A()}else{S()}}if(u&&m!==k){u.scrollY=false}var C=function(t){var e=findClosestIonContent(t.event.target);m=s();if(m===1&&e){var a=isIonContent(e)?getElementRoot(e).querySelector(".inner-scroll"):e;var r=!!e.querySelector("ion-refresher");return!r&&a.scrollTop===0}return true};var _=function(e){b=t.canDismiss!==undefined&&t.canDismiss!==true&&y===0;if(e.deltaY>0&&u){u.scrollY=false}raf((function(){t.focus()}));n.progressStart(true,1-m)};var I=function(t){if(t.deltaY>0&&u){u.scrollY=false}var e=1-m;var a=o.length>1?1-o[1]:undefined;var r=e+t.deltaY/p;var i=a!==undefined&&r>=a&&b;var s=i?w:.9999;var d=i&&a!==undefined?a+calculateSpringStep((r-a)/(s-a)):r;v=clamp(1e-4,d,s);n.progressStep(v)};var D=function(t){var e=t.velocityY;var a=(t.deltaY+e*350)/p;var r=m-a;var i=o.reduce((function(t,e){return Math.abs(e-r)<Math.abs(t-r)?e:t}));M({breakpoint:i,breakpointOffset:v,canDismiss:b,animated:true})};var M=function(e){var a=e.breakpoint,r=e.canDismiss,s=e.breakpointOffset,c=e.animated;var h=r&&a===0;var p=h?m:a;var v=p!==0;m=0;if(g&&x){g.keyframes([{offset:0,transform:"translateY(".concat(s*100,"%)")},{offset:1,transform:"translateY(".concat((1-p)*100,"%)")}]);x.keyframes([{offset:0,opacity:"calc(var(--backdrop-opacity) * ".concat(getBackdropValueForSheet(1-s,i),")")},{offset:1,opacity:"calc(var(--backdrop-opacity) * ".concat(getBackdropValueForSheet(p,i),")")}]);n.progressStep(0)}Y.enable(false);if(h){handleCanDismiss(t,n)}else if(!v){d()}if(u&&p===o[o.length-1]){u.scrollY=true}return new Promise((function(t){n.onFinish((function(){if(v){if(g&&x){raf((function(){g.keyframes(__spreadArray([],f.WRAPPER_KEYFRAMES,true));x.keyframes(__spreadArray([],f.BACKDROP_KEYFRAMES,true));n.progressStart(true,1-p);m=p;l(m);var e=m>i;if(e){A()}else{S()}Y.enable(true);t()}))}else{Y.enable(true);t()}}else{t()}}),{oneTimeCallback:true}).progressEnd(1,0,c?500:0)}))};var Y=createGesture({el:a,gestureName:"modalSheet",gesturePriority:40,direction:"y",threshold:10,canStart:C,onStart:_,onMove:I,onEnd:D});return{gesture:Y,moveSheetToBreakpoint:M}};var ionicModalMdCss=':host{--width:100%;--min-width:auto;--max-width:auto;--height:100%;--min-height:auto;--max-height:auto;--overflow:hidden;--border-radius:0;--border-width:0;--border-style:none;--border-color:transparent;--background:var(--ion-background-color, #fff);--box-shadow:none;--backdrop-opacity:0;right:0;left:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;color:var(--ion-text-color, #000);contain:strict}.modal-wrapper,ion-backdrop{pointer-events:auto}:host(.overlay-hidden){display:none}.modal-wrapper,.modal-shadow{border-radius:var(--border-radius);width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);overflow:var(--overflow);z-index:10}.modal-shadow{position:absolute;background:transparent}@media only screen and (min-width: 768px) and (min-height: 600px){:host{--width:600px;--height:500px;--ion-safe-area-top:0px;--ion-safe-area-bottom:0px;--ion-safe-area-right:0px;--ion-safe-area-left:0px}}@media only screen and (min-width: 768px) and (min-height: 768px){:host{--width:600px;--height:600px}}.modal-handle{right:0px;left:0px;top:5px;border-radius:8px;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;position:absolute;width:36px;height:5px;-webkit-transform:translateZ(0);transform:translateZ(0);border:0;background:var(--ion-color-step-350, var(--ion-background-color-step-350, #c0c0be));cursor:pointer;z-index:11}.modal-handle::before{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:4px;padding-inline-end:4px;padding-top:4px;padding-bottom:4px;position:absolute;width:36px;height:5px;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%);content:""}:host(.modal-sheet){--height:calc(100% - (var(--ion-safe-area-top) + 10px))}:host(.modal-sheet) .modal-wrapper,:host(.modal-sheet) .modal-shadow{position:absolute;bottom:0}:host{--backdrop-opacity:var(--ion-backdrop-opacity, 0.32)}@media only screen and (min-width: 768px) and (min-height: 600px){:host{--border-radius:2px;--box-shadow:0 28px 48px rgba(0, 0, 0, 0.4)}}.modal-wrapper{-webkit-transform:translate3d(0, 40px, 0);transform:translate3d(0, 40px, 0);opacity:0.01}';var IonModalIonicStyle0=ionicModalMdCss;var modalIosCss=':host{--width:100%;--min-width:auto;--max-width:auto;--height:100%;--min-height:auto;--max-height:auto;--overflow:hidden;--border-radius:0;--border-width:0;--border-style:none;--border-color:transparent;--background:var(--ion-background-color, #fff);--box-shadow:none;--backdrop-opacity:0;right:0;left:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;color:var(--ion-text-color, #000);contain:strict}.modal-wrapper,ion-backdrop{pointer-events:auto}:host(.overlay-hidden){display:none}.modal-wrapper,.modal-shadow{border-radius:var(--border-radius);width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);overflow:var(--overflow);z-index:10}.modal-shadow{position:absolute;background:transparent}@media only screen and (min-width: 768px) and (min-height: 600px){:host{--width:600px;--height:500px;--ion-safe-area-top:0px;--ion-safe-area-bottom:0px;--ion-safe-area-right:0px;--ion-safe-area-left:0px}}@media only screen and (min-width: 768px) and (min-height: 768px){:host{--width:600px;--height:600px}}.modal-handle{right:0px;left:0px;top:5px;border-radius:8px;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;position:absolute;width:36px;height:5px;-webkit-transform:translateZ(0);transform:translateZ(0);border:0;background:var(--ion-color-step-350, var(--ion-background-color-step-350, #c0c0be));cursor:pointer;z-index:11}.modal-handle::before{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:4px;padding-inline-end:4px;padding-top:4px;padding-bottom:4px;position:absolute;width:36px;height:5px;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%);content:""}:host(.modal-sheet){--height:calc(100% - (var(--ion-safe-area-top) + 10px))}:host(.modal-sheet) .modal-wrapper,:host(.modal-sheet) .modal-shadow{position:absolute;bottom:0}:host{--backdrop-opacity:var(--ion-backdrop-opacity, 0.4)}:host(.modal-card),:host(.modal-sheet){--border-radius:10px}@media only screen and (min-width: 768px) and (min-height: 600px){:host{--border-radius:10px}}.modal-wrapper{-webkit-transform:translate3d(0, 100%, 0);transform:translate3d(0, 100%, 0)}@media screen and (max-width: 767px){@supports (width: max(0px, 1px)){:host(.modal-card){--height:calc(100% - max(30px, var(--ion-safe-area-top)) - 10px)}}@supports not (width: max(0px, 1px)){:host(.modal-card){--height:calc(100% - 40px)}}:host(.modal-card) .modal-wrapper{border-start-start-radius:var(--border-radius);border-start-end-radius:var(--border-radius);border-end-end-radius:0;border-end-start-radius:0}:host(.modal-card){--backdrop-opacity:0;--width:100%;-ms-flex-align:end;align-items:flex-end}:host(.modal-card) .modal-shadow{display:none}:host(.modal-card) ion-backdrop{pointer-events:none}}@media screen and (min-width: 768px){:host(.modal-card){--width:calc(100% - 120px);--height:calc(100% - (120px + var(--ion-safe-area-top) + var(--ion-safe-area-bottom)));--max-width:720px;--max-height:1000px;--backdrop-opacity:0;--box-shadow:0px 0px 30px 10px rgba(0, 0, 0, 0.1);-webkit-transition:all 0.5s ease-in-out;transition:all 0.5s ease-in-out}:host(.modal-card) .modal-wrapper{-webkit-box-shadow:none;box-shadow:none}:host(.modal-card) .modal-shadow{-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow)}}:host(.modal-sheet) .modal-wrapper{border-start-start-radius:var(--border-radius);border-start-end-radius:var(--border-radius);border-end-end-radius:0;border-end-start-radius:0}';var IonModalIosStyle0=modalIosCss;var modalMdCss=':host{--width:100%;--min-width:auto;--max-width:auto;--height:100%;--min-height:auto;--max-height:auto;--overflow:hidden;--border-radius:0;--border-width:0;--border-style:none;--border-color:transparent;--background:var(--ion-background-color, #fff);--box-shadow:none;--backdrop-opacity:0;right:0;left:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;color:var(--ion-text-color, #000);contain:strict}.modal-wrapper,ion-backdrop{pointer-events:auto}:host(.overlay-hidden){display:none}.modal-wrapper,.modal-shadow{border-radius:var(--border-radius);width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);overflow:var(--overflow);z-index:10}.modal-shadow{position:absolute;background:transparent}@media only screen and (min-width: 768px) and (min-height: 600px){:host{--width:600px;--height:500px;--ion-safe-area-top:0px;--ion-safe-area-bottom:0px;--ion-safe-area-right:0px;--ion-safe-area-left:0px}}@media only screen and (min-width: 768px) and (min-height: 768px){:host{--width:600px;--height:600px}}.modal-handle{right:0px;left:0px;top:5px;border-radius:8px;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;position:absolute;width:36px;height:5px;-webkit-transform:translateZ(0);transform:translateZ(0);border:0;background:var(--ion-color-step-350, var(--ion-background-color-step-350, #c0c0be));cursor:pointer;z-index:11}.modal-handle::before{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:4px;padding-inline-end:4px;padding-top:4px;padding-bottom:4px;position:absolute;width:36px;height:5px;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%);content:""}:host(.modal-sheet){--height:calc(100% - (var(--ion-safe-area-top) + 10px))}:host(.modal-sheet) .modal-wrapper,:host(.modal-sheet) .modal-shadow{position:absolute;bottom:0}:host{--backdrop-opacity:var(--ion-backdrop-opacity, 0.32)}@media only screen and (min-width: 768px) and (min-height: 600px){:host{--border-radius:2px;--box-shadow:0 28px 48px rgba(0, 0, 0, 0.4)}}.modal-wrapper{-webkit-transform:translate3d(0, 40px, 0);transform:translate3d(0, 40px, 0);opacity:0.01}';var IonModalMdStyle0=modalMdCss;var Modal=function(){function t(t){var e=this;registerInstance(this,t);this.didPresent=createEvent(this,"ionModalDidPresent",7);this.willPresent=createEvent(this,"ionModalWillPresent",7);this.willDismiss=createEvent(this,"ionModalWillDismiss",7);this.didDismiss=createEvent(this,"ionModalDidDismiss",7);this.ionBreakpointDidChange=createEvent(this,"ionBreakpointDidChange",7);this.didPresentShorthand=createEvent(this,"didPresent",7);this.willPresentShorthand=createEvent(this,"willPresent",7);this.willDismissShorthand=createEvent(this,"willDismiss",7);this.didDismissShorthand=createEvent(this,"didDismiss",7);this.ionMount=createEvent(this,"ionMount",7);this.lockController=createLockController();this.triggerController=createTriggerController();this.coreDelegate=CoreDelegate();this.isSheetModal=false;this.inheritedAttributes={};this.inline=false;this.gestureAnimationDismissing=false;this.onHandleClick=function(){var t=e,a=t.sheetTransition,r=t.handleBehavior;if(r!=="cycle"||a!==undefined){return}e.moveToNextBreakpoint()};this.onBackdropTap=function(){var t=e.sheetTransition;if(t!==undefined){return}e.dismiss(undefined,BACKDROP)};this.onLifecycle=function(t){var a=e.usersElement;var r=LIFECYCLE_MAP[t.type];if(a&&r){var i=new CustomEvent(r,{bubbles:false,cancelable:false,detail:t.detail});a.dispatchEvent(i)}};this.presented=false;this.hasController=false;this.overlayIndex=undefined;this.delegate=undefined;this.keyboardClose=true;this.enterAnimation=undefined;this.leaveAnimation=undefined;this.breakpoints=undefined;this.initialBreakpoint=undefined;this.backdropBreakpoint=0;this.handle=undefined;this.handleBehavior="none";this.component=undefined;this.componentProps=undefined;this.cssClass=undefined;this.backdropDismiss=true;this.showBackdrop=true;this.animated=true;this.presentingElement=undefined;this.htmlAttributes=undefined;this.isOpen=false;this.trigger=undefined;this.keepContentsMounted=false;this.focusTrap=true;this.canDismiss=true}t.prototype.onIsOpenChange=function(t,e){if(t===true&&e===false){this.present()}else if(t===false&&e===true){this.dismiss()}};t.prototype.triggerChanged=function(){var t=this,e=t.trigger,a=t.el,r=t.triggerController;if(e){r.addClickListener(a,e)}};t.prototype.breakpointsChanged=function(t){if(t!==undefined){this.sortedBreakpoints=t.sort((function(t,e){return t-e}))}};t.prototype.connectedCallback=function(){var t=this.el;prepareOverlay(t);this.triggerChanged()};t.prototype.disconnectedCallback=function(){this.triggerController.removeClickListener()};t.prototype.componentWillLoad=function(){var t=this;var e=this,a=e.breakpoints,r=e.initialBreakpoint,i=e.el,n=e.htmlAttributes;var o=this.isSheetModal=a!==undefined&&r!==undefined;var s=["aria-label","role"];this.inheritedAttributes=inheritAttributes(i,s);if(n!==undefined){s.forEach((function(e){var a;var r=n[e];if(r){t.inheritedAttributes=Object.assign(Object.assign({},t.inheritedAttributes),(a={},a[e]=n[e],a));delete n[e]}}))}if(o){this.currentBreakpoint=this.initialBreakpoint}if(a!==undefined&&r!==undefined&&!a.includes(r)){printIonWarning("Your breakpoints array must include the initialBreakpoint value.")}setOverlayId(i)};t.prototype.componentDidLoad=function(){var t=this;if(this.isOpen===true){raf((function(){return t.present()}))}this.breakpointsChanged(this.breakpoints);this.triggerChanged()};t.prototype.getDelegate=function(t){if(t===void 0){t=false}if(this.workingDelegate&&!t){return{delegate:this.workingDelegate,inline:this.inline}}var e=this.el.parentNode;var a=this.inline=e!==null&&!this.hasController;var r=this.workingDelegate=a?this.delegate||this.coreDelegate:this.delegate;return{inline:a,delegate:r}};t.prototype.checkCanDismiss=function(t,e){return __awaiter(this,void 0,void 0,(function(){var a;return __generator(this,(function(r){a=this.canDismiss;if(typeof a==="function"){return[2,a(t,e)]}return[2,a]}))}))};t.prototype.present=function(){return __awaiter(this,void 0,void 0,(function(){var t,e,a,r,i,n,o,s,d,l;var c=this;return __generator(this,(function(h){switch(h.label){case 0:return[4,this.lockController.lock()];case 1:t=h.sent();if(this.presented){t();return[2]}e=this,a=e.presentingElement,r=e.el;this.currentBreakpoint=this.initialBreakpoint;i=this.getDelegate(true),n=i.inline,o=i.delegate;this.ionMount.emit();s=this;return[4,attachComponent(o,r,this.component,["ion-page"],this.componentProps,n)];case 2:s.usersElement=h.sent();if(!hasLazyBuild(r))return[3,4];return[4,deepReady(this.usersElement)];case 3:h.sent();return[3,6];case 4:if(!!this.keepContentsMounted)return[3,6];return[4,waitForMount()];case 5:h.sent();h.label=6;case 6:writeTask((function(){return c.el.classList.add("show-modal")}));d=a!==undefined;if(!(d&&getIonMode(this)==="ios"))return[3,8];l=this;return[4,StatusBar.getStyle()];case 7:l.statusBarStyle=h.sent();setCardStatusBarDark();h.label=8;case 8:return[4,present(this,"modalEnter",iosEnterAnimation,mdEnterAnimation,{presentingEl:a,currentBreakpoint:this.initialBreakpoint,backdropBreakpoint:this.backdropBreakpoint})];case 9:h.sent();if(typeof window!=="undefined"){this.keyboardOpenCallback=function(){if(c.gesture){c.gesture.enable(false);raf((function(){if(c.gesture){c.gesture.enable(true)}}))}};window.addEventListener(KEYBOARD_DID_OPEN,this.keyboardOpenCallback)}if(this.isSheetModal){this.initSheetGesture()}else if(d){this.initSwipeToClose()}t();return[2]}}))}))};t.prototype.initSwipeToClose=function(){var t=this;var e;if(getIonMode(this)!=="ios"){return}var a=this.el;var r=this.leaveAnimation||config.get("modalLeave",iosLeaveAnimation);var i=this.animation=r(a,{presentingEl:this.presentingElement});var n=findIonContent(a);if(!n){printIonContentErrorMsg(a);return}var o=(e=this.statusBarStyle)!==null&&e!==void 0?e:Style.Default;this.gesture=createSwipeToCloseGesture(a,i,o,(function(){t.gestureAnimationDismissing=true;setCardStatusBarDefault(t.statusBarStyle);t.animation.onFinish((function(){return __awaiter(t,void 0,void 0,(function(){return __generator(this,(function(t){switch(t.label){case 0:return[4,this.dismiss(undefined,GESTURE)];case 1:t.sent();this.gestureAnimationDismissing=false;return[2]}}))}))}))}));this.gesture.enable(true)};t.prototype.initSheetGesture=function(){var t=this;var e=this,a=e.wrapperEl,r=e.initialBreakpoint,i=e.backdropBreakpoint;if(!a||r===undefined){return}var n=this.enterAnimation||config.get("modalEnter",iosEnterAnimation);var o=this.animation=n(this.el,{presentingEl:this.presentingElement,currentBreakpoint:r,backdropBreakpoint:i});o.progressStart(true,1);var s=createSheetGesture(this.el,this.backdropEl,a,r,i,o,this.sortedBreakpoints,(function(){var e;return(e=t.currentBreakpoint)!==null&&e!==void 0?e:0}),(function(){return t.sheetOnDismiss()}),(function(e){if(t.currentBreakpoint!==e){t.currentBreakpoint=e;t.ionBreakpointDidChange.emit({breakpoint:e})}})),d=s.gesture,l=s.moveSheetToBreakpoint;this.gesture=d;this.moveSheetToBreakpoint=l;this.gesture.enable(true)};t.prototype.sheetOnDismiss=function(){var t=this;this.gestureAnimationDismissing=true;this.animation.onFinish((function(){return __awaiter(t,void 0,void 0,(function(){return __generator(this,(function(t){switch(t.label){case 0:this.currentBreakpoint=0;this.ionBreakpointDidChange.emit({breakpoint:this.currentBreakpoint});return[4,this.dismiss(undefined,GESTURE)];case 1:t.sent();this.gestureAnimationDismissing=false;return[2]}}))}))}))};t.prototype.dismiss=function(t,e){return __awaiter(this,void 0,void 0,(function(){var a,r,i,n,o,s,d;var l=this;return __generator(this,(function(c){switch(c.label){case 0:if(this.gestureAnimationDismissing&&e!==GESTURE){return[2,false]}return[4,this.lockController.lock()];case 1:r=c.sent();i=e!=="handler";if(!i)return[3,3];return[4,this.checkCanDismiss(t,e)];case 2:i=!c.sent();c.label=3;case 3:if(i){r();return[2,false]}n=this.presentingElement;o=n!==undefined;if(o&&getIonMode(this)==="ios"){setCardStatusBarDefault(this.statusBarStyle)}if(typeof window!=="undefined"&&this.keyboardOpenCallback){window.removeEventListener(KEYBOARD_DID_OPEN,this.keyboardOpenCallback);this.keyboardOpenCallback=undefined}return[4,dismiss(this,t,e,"modalLeave",iosLeaveAnimation,mdLeaveAnimation,{presentingEl:n,currentBreakpoint:(a=this.currentBreakpoint)!==null&&a!==void 0?a:this.initialBreakpoint,backdropBreakpoint:this.backdropBreakpoint})];case 4:s=c.sent();if(!s)return[3,6];d=this.getDelegate().delegate;return[4,detachComponent(d,this.usersElement)];case 5:c.sent();writeTask((function(){return l.el.classList.remove("show-modal")}));if(this.animation){this.animation.destroy()}if(this.gesture){this.gesture.destroy()}c.label=6;case 6:this.currentBreakpoint=undefined;this.animation=undefined;r();return[2,s]}}))}))};t.prototype.onDidDismiss=function(){return eventMethod(this.el,"ionModalDidDismiss")};t.prototype.onWillDismiss=function(){return eventMethod(this.el,"ionModalWillDismiss")};t.prototype.setCurrentBreakpoint=function(t){return __awaiter(this,void 0,void 0,(function(){var e,a,r,i,n,o;return __generator(this,(function(s){switch(s.label){case 0:if(!this.isSheetModal){printIonWarning("setCurrentBreakpoint is only supported on sheet modals.");return[2]}if(!this.breakpoints.includes(t)){printIonWarning("Attempted to set invalid breakpoint value ".concat(t,". Please double check that the breakpoint value is part of your defined breakpoints."));return[2]}e=this,a=e.currentBreakpoint,r=e.moveSheetToBreakpoint,i=e.canDismiss,n=e.breakpoints,o=e.animated;if(a===t){return[2]}if(!r)return[3,2];this.sheetTransition=r({breakpoint:t,breakpointOffset:1-a,canDismiss:i!==undefined&&i!==true&&n[0]===0,animated:o});return[4,this.sheetTransition];case 1:s.sent();this.sheetTransition=undefined;s.label=2;case 2:return[2]}}))}))};t.prototype.getCurrentBreakpoint=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,this.currentBreakpoint]}))}))};t.prototype.moveToNextBreakpoint=function(){return __awaiter(this,void 0,void 0,(function(){var t,e,a,r,i,n,o;return __generator(this,(function(s){switch(s.label){case 0:t=this,e=t.breakpoints,a=t.currentBreakpoint;if(!e||a==null){return[2,false]}r=e.filter((function(t){return t!==0}));i=r.indexOf(a);n=(i+1)%r.length;o=r[n];return[4,this.setCurrentBreakpoint(o)];case 1:s.sent();return[2,true]}}))}))};t.prototype.render=function(){var t;var e=this;var a=this,r=a.handle,i=a.isSheetModal,n=a.presentingElement,o=a.htmlAttributes,s=a.handleBehavior,d=a.inheritedAttributes,l=a.focusTrap;var c=r!==false&&i;var f=getIonTheme(this);var u=n!==undefined&&f==="ios";var p=s==="cycle";return h(Host,Object.assign({key:"cbba5234526282eec06c2edca606e97cbde5c1ea","no-router":true,tabindex:"-1"},o,{style:{zIndex:"".concat(2e4+this.overlayIndex)},class:Object.assign((t={},t[f]=true,t["modal-default"]=!u&&!i,t["modal-card"]=u,t["modal-sheet"]=i,t["overlay-hidden"]=true,t[FOCUS_TRAP_DISABLE_CLASS]=l===false,t),getClassMap(this.cssClass)),onIonBackdropTap:this.onBackdropTap,onIonModalDidPresent:this.onLifecycle,onIonModalWillPresent:this.onLifecycle,onIonModalWillDismiss:this.onLifecycle,onIonModalDidDismiss:this.onLifecycle}),h("ion-backdrop",{key:"995ac308c884fab933d83e54c46e1097dbbc7342",ref:function(t){return e.backdropEl=t},visible:this.showBackdrop,tappable:this.backdropDismiss,part:"backdrop"}),f==="ios"&&h("div",{key:"38777922d1451e008e47586e1b7f238788ab1e41",class:"modal-shadow"}),h("div",Object.assign({key:"f13a1ebaa364be659252e1bedfa3bf401579e1c2",role:"dialog"},d,{"aria-modal":"true",class:"modal-wrapper ion-overlay-wrapper",part:"content",ref:function(t){return e.wrapperEl=t}}),c&&h("button",{key:"2707fd00af586e4ec4b63127f549766c24152aa1",class:"modal-handle",tabIndex:!p?-1:0,"aria-label":"Activate to adjust the size of the dialog overlaying the screen",onClick:p?this.onHandleClick:undefined,part:"handle"}),h("slot",{key:"31579849570471f6c3b7c0294fed0004bb138f11"})))};Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{isOpen:["onIsOpenChange"],trigger:["triggerChanged"]}},enumerable:false,configurable:true});return t}();var LIFECYCLE_MAP={ionModalDidPresent:"ionViewDidEnter",ionModalWillPresent:"ionViewWillEnter",ionModalWillDismiss:"ionViewWillLeave",ionModalDidDismiss:"ionViewDidLeave"};Modal.style={ionic:IonModalIonicStyle0,ios:IonModalIosStyle0,md:IonModalMdStyle0};export{Modal as ion_modal};
4
+ */import{r as registerInstance,d as createEvent,w as writeTask,h,f as Host,i as getElement}from"./index-e06ef154.js";import{f as findClosestIonContent,i as isIonContent,d as disableContentScrollY,r as resetContentScrollY,a as findIonContent,p as printIonContentErrorMsg}from"./index-5cc724f3.js";import{C as CoreDelegate,a as attachComponent,d as detachComponent}from"./framework-delegate-63d1a679.js";import{g as getElementRoot,j as clamp,r as raf,h as inheritAttributes,k as hasLazyBuild}from"./helpers-da915de8.js";import{c as createLockController}from"./lock-controller-316928be.js";import{p as printIonWarning}from"./index-9b0d46f4.js";import{g as getCapacitor}from"./capacitor-59395cbd.js";import{G as GESTURE,O as OVERLAY_GESTURE_PRIORITY,F as FOCUS_TRAP_DISABLE_CLASS,e as createTriggerController,B as BACKDROP,j as prepareOverlay,k as setOverlayId,f as present,g as dismiss,h as eventMethod}from"./overlays-6e1a7f53.js";import{g as getClassMap}from"./theme-01f3f29c.js";import{e as deepReady,w as waitForMount}from"./index-2f8c4022.js";import{b as getIonMode,c as config}from"./ionic-global-d92bc7d9.js";import{KEYBOARD_DID_OPEN}from"./keyboard-52278bd7.js";import{c as createAnimation}from"./animation-eab5a4ca.js";import{g as getTimeGivenProgression}from"./cubic-bezier-fe2083dc.js";import{createGesture}from"./index-39782642.js";import{w as win}from"./index-a5d50daf.js";import"./hardware-back-button-fb02649b.js";import"./gesture-controller-314a54f6.js";import"./keyboard-73175e24.js";var Style;(function(t){t["Dark"]="DARK";t["Light"]="LIGHT";t["Default"]="DEFAULT"})(Style||(Style={}));var StatusBar={getEngine:function(){var t=getCapacitor();if(t===null||t===void 0?void 0:t.isPluginAvailable("StatusBar")){return t.Plugins.StatusBar}return undefined},setStyle:function(t){var e=this.getEngine();if(!e){return}e.setStyle(t)},getStyle:function(){return __awaiter(this,void 0,void 0,(function(){var t,e;return __generator(this,(function(r){switch(r.label){case 0:t=this.getEngine();if(!t){return[2,Style.Default]}return[4,t.getInfo()];case 1:e=r.sent().style;return[2,e]}}))}))}};var getBackdropValueForSheet=function(t,e){if(e===1){return 0}var r=1/(1-e);var a=-(e*r);return t*r+a};var setCardStatusBarDark=function(){if(!win||win.innerWidth>=768){return}StatusBar.setStyle({style:Style.Dark})};var setCardStatusBarDefault=function(t){if(t===void 0){t=Style.Default}if(!win||win.innerWidth>=768){return}StatusBar.setStyle({style:t})};var handleCanDismiss=function(t,e){return __awaiter(void 0,void 0,void 0,(function(){var r;return __generator(this,(function(a){switch(a.label){case 0:if(typeof t.canDismiss!=="function"){return[2]}return[4,t.canDismiss(undefined,GESTURE)];case 1:r=a.sent();if(!r){return[2]}if(e.isRunning()){e.onFinish((function(){t.dismiss(undefined,"handler")}),{oneTimeCallback:true})}else{t.dismiss(undefined,"handler")}return[2]}}))}))};var calculateSpringStep=function(t){return.00255275*Math.pow(2.71828,-14.9619*t)-1.00255*Math.pow(2.71828,-.0380968*t)+1};var SwipeToCloseDefaults={MIN_PRESENTING_SCALE:.915};var createSwipeToCloseGesture=function(t,e,r,a){var n=.5;var i=t.offsetHeight;var o=false;var s=false;var d=null;var f=null;var c=.2;var l=true;var u=0;var h=function(){if(d&&isIonContent(d)){return d.scrollY}else{return true}};var p=function(t){var e=t.event.target;if(e===null||!e.closest){return true}d=findClosestIonContent(e);if(d){if(isIonContent(d)){var r=getElementRoot(d);f=r.querySelector(".inner-scroll")}else{f=d}var a=!!d.querySelector("ion-refresher");return!a&&f.scrollTop===0}var n=e.closest("ion-footer");if(n===null){return true}return false};var v=function(r){var a=r.deltaY;l=h();s=t.canDismiss!==undefined&&t.canDismiss!==true;if(a>0&&d){disableContentScrollY(d)}e.progressStart(true,o?1:0)};var m=function(t){var a=t.deltaY;if(a>0&&d){disableContentScrollY(d)}var o=t.deltaY/i;var f=o>=0&&s;var l=f?c:.9999;var h=f?calculateSpringStep(o/l):o;var p=clamp(1e-4,h,l);e.progressStep(p);if(p>=n&&u<n){setCardStatusBarDefault(r)}else if(p<n&&u>=n){setCardStatusBarDark()}u=p};var b=function(r){var f=r.velocityY;var u=r.deltaY/i;var h=u>=0&&s;var p=h?c:.9999;var v=h?calculateSpringStep(u/p):u;var m=clamp(1e-4,v,p);var b=(r.deltaY+f*1e3)/i;var g=!h&&b>=n;var x=g?-.001:.001;if(!g){e.easing("cubic-bezier(1, 0, 0.68, 0.28)");x+=getTimeGivenProgression([0,0],[1,0],[.68,.28],[1,1],m)[0]}else{e.easing("cubic-bezier(0.32, 0.72, 0, 1)");x+=getTimeGivenProgression([0,0],[.32,.72],[0,1],[1,1],m)[0]}var y=g?computeDuration(u*i,f):computeDuration((1-m)*i,f);o=g;w.enable(false);if(d){resetContentScrollY(d,l)}e.onFinish((function(){if(!g){w.enable(true)}})).progressEnd(g?1:0,x,y);if(h&&m>p/4){handleCanDismiss(t,e)}else if(g){a()}};var w=createGesture({el:t,gestureName:"modalSwipeToClose",gesturePriority:OVERLAY_GESTURE_PRIORITY,direction:"y",threshold:10,canStart:p,onStart:v,onMove:m,onEnd:b});return w};var computeDuration=function(t,e){return clamp(400,t/Math.abs(e*1.1),500)};var createSheetEnterAnimation=function(t){var e=t.currentBreakpoint,r=t.backdropBreakpoint;var a=r===undefined||r<e;var n=a?"calc(var(--backdrop-opacity) * ".concat(e,")"):"0";var i=createAnimation("backdropAnimation").fromTo("opacity",0,n);if(a){i.beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"])}var o=createAnimation("wrapperAnimation").keyframes([{offset:0,opacity:1,transform:"translateY(100%)"},{offset:1,opacity:1,transform:"translateY(".concat(100-e*100,"%)")}]);return{wrapperAnimation:o,backdropAnimation:i}};var createSheetLeaveAnimation=function(t){var e=t.currentBreakpoint,r=t.backdropBreakpoint;var a="calc(var(--backdrop-opacity) * ".concat(getBackdropValueForSheet(e,r),")");var n=[{offset:0,opacity:a},{offset:1,opacity:0}];var i=[{offset:0,opacity:a},{offset:r,opacity:0},{offset:1,opacity:0}];var o=createAnimation("backdropAnimation").keyframes(r!==0?i:n);var s=createAnimation("wrapperAnimation").keyframes([{offset:0,opacity:1,transform:"translateY(".concat(100-e*100,"%)")},{offset:1,opacity:1,transform:"translateY(100%)"}]);return{wrapperAnimation:s,backdropAnimation:o}};var createEnterAnimation$1=function(){var t=createAnimation().fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]);var e=createAnimation().fromTo("transform","translateY(100vh)","translateY(0vh)");return{backdropAnimation:t,wrapperAnimation:e}};var iosEnterAnimation=function(t,e){var r=e.presentingEl,a=e.currentBreakpoint;var n=getElementRoot(t);var i=a!==undefined?createSheetEnterAnimation(e):createEnterAnimation$1(),o=i.wrapperAnimation,s=i.backdropAnimation;s.addElement(n.querySelector("ion-backdrop"));o.addElement(n.querySelectorAll(".modal-wrapper, .modal-shadow")).beforeStyles({opacity:1});var d=createAnimation("entering-base").addElement(t).easing("cubic-bezier(0.32,0.72,0,1)").duration(500).addAnimation(o);if(r){var f=window.innerWidth<768;var c=r.tagName==="ION-MODAL"&&r.presentingElement!==undefined;var l=getElementRoot(r);var u=createAnimation().beforeStyles({transform:"translateY(0)","transform-origin":"top center",overflow:"hidden"});var h=document.body;if(f){var p=!CSS.supports("width","max(0px, 1px)")?"30px":"max(30px, var(--ion-safe-area-top))";var v=c?"-10px":p;var m=SwipeToCloseDefaults.MIN_PRESENTING_SCALE;var b="translateY(".concat(v,") scale(").concat(m,")");u.afterStyles({transform:b}).beforeAddWrite((function(){return h.style.setProperty("background-color","black")})).addElement(r).keyframes([{offset:0,filter:"contrast(1)",transform:"translateY(0px) scale(1)",borderRadius:"0px"},{offset:1,filter:"contrast(0.85)",transform:b,borderRadius:"10px 10px 0 0"}]);d.addAnimation(u)}else{d.addAnimation(s);if(!c){o.fromTo("opacity","0","1")}else{var m=c?SwipeToCloseDefaults.MIN_PRESENTING_SCALE:1;var b="translateY(-10px) scale(".concat(m,")");u.afterStyles({transform:b}).addElement(l.querySelector(".modal-wrapper")).keyframes([{offset:0,filter:"contrast(1)",transform:"translateY(0) scale(1)"},{offset:1,filter:"contrast(0.85)",transform:b}]);var w=createAnimation().afterStyles({transform:b}).addElement(l.querySelector(".modal-shadow")).keyframes([{offset:0,opacity:"1",transform:"translateY(0) scale(1)"},{offset:1,opacity:"0",transform:b}]);d.addAnimation([u,w])}}}else{d.addAnimation(s)}return d};var createLeaveAnimation$1=function(){var t=createAnimation().fromTo("opacity","var(--backdrop-opacity)",0);var e=createAnimation().fromTo("transform","translateY(0vh)","translateY(100vh)");return{backdropAnimation:t,wrapperAnimation:e}};var iosLeaveAnimation=function(t,e,r){if(r===void 0){r=500}var a=e.presentingEl,n=e.currentBreakpoint;var i=getElementRoot(t);var o=n!==undefined?createSheetLeaveAnimation(e):createLeaveAnimation$1(),s=o.wrapperAnimation,d=o.backdropAnimation;d.addElement(i.querySelector("ion-backdrop"));s.addElement(i.querySelectorAll(".modal-wrapper, .modal-shadow")).beforeStyles({opacity:1});var f=createAnimation("leaving-base").addElement(t).easing("cubic-bezier(0.32,0.72,0,1)").duration(r).addAnimation(s);if(a){var c=window.innerWidth<768;var l=a.tagName==="ION-MODAL"&&a.presentingElement!==undefined;var u=getElementRoot(a);var h=createAnimation().beforeClearStyles(["transform"]).afterClearStyles(["transform"]).onFinish((function(t){if(t!==1){return}a.style.setProperty("overflow","");var e=Array.from(p.querySelectorAll("ion-modal:not(.overlay-hidden)")).filter((function(t){return t.presentingElement!==undefined})).length;if(e<=1){p.style.setProperty("background-color","")}}));var p=document.body;if(c){var v=!CSS.supports("width","max(0px, 1px)")?"30px":"max(30px, var(--ion-safe-area-top))";var m=l?"-10px":v;var b=SwipeToCloseDefaults.MIN_PRESENTING_SCALE;var w="translateY(".concat(m,") scale(").concat(b,")");h.addElement(a).keyframes([{offset:0,filter:"contrast(0.85)",transform:w,borderRadius:"10px 10px 0 0"},{offset:1,filter:"contrast(1)",transform:"translateY(0px) scale(1)",borderRadius:"0px"}]);f.addAnimation(h)}else{f.addAnimation(d);if(!l){s.fromTo("opacity","1","0")}else{var b=l?SwipeToCloseDefaults.MIN_PRESENTING_SCALE:1;var w="translateY(-10px) scale(".concat(b,")");h.addElement(u.querySelector(".modal-wrapper")).afterStyles({transform:"translate3d(0, 0, 0)"}).keyframes([{offset:0,filter:"contrast(0.85)",transform:w},{offset:1,filter:"contrast(1)",transform:"translateY(0) scale(1)"}]);var g=createAnimation().addElement(u.querySelector(".modal-shadow")).afterStyles({transform:"translateY(0) scale(1)"}).keyframes([{offset:0,opacity:"0",transform:w},{offset:1,opacity:"1",transform:"translateY(0) scale(1)"}]);f.addAnimation([h,g])}}}else{f.addAnimation(d)}return f};var createEnterAnimation=function(){var t=createAnimation().fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]);var e=createAnimation().keyframes([{offset:0,opacity:.01,transform:"translateY(40px)"},{offset:1,opacity:1,transform:"translateY(0px)"}]);return{backdropAnimation:t,wrapperAnimation:e}};var mdEnterAnimation=function(t,e){var r=e.currentBreakpoint;var a=getElementRoot(t);var n=r!==undefined?createSheetEnterAnimation(e):createEnterAnimation(),i=n.wrapperAnimation,o=n.backdropAnimation;o.addElement(a.querySelector("ion-backdrop"));i.addElement(a.querySelector(".modal-wrapper"));return createAnimation().addElement(t).easing("cubic-bezier(0.36,0.66,0.04,1)").duration(280).addAnimation([o,i])};var createLeaveAnimation=function(){var t=createAnimation().fromTo("opacity","var(--backdrop-opacity)",0);var e=createAnimation().keyframes([{offset:0,opacity:.99,transform:"translateY(0px)"},{offset:1,opacity:0,transform:"translateY(40px)"}]);return{backdropAnimation:t,wrapperAnimation:e}};var mdLeaveAnimation=function(t,e){var r=e.currentBreakpoint;var a=getElementRoot(t);var n=r!==undefined?createSheetLeaveAnimation(e):createLeaveAnimation(),i=n.wrapperAnimation,o=n.backdropAnimation;o.addElement(a.querySelector("ion-backdrop"));i.addElement(a.querySelector(".modal-wrapper"));return createAnimation().easing("cubic-bezier(0.47,0,0.745,0.715)").duration(200).addAnimation([o,i])};var createSheetGesture=function(t,e,r,a,n,i,o,s,d,f){if(o===void 0){o=[]}var c=[{offset:0,opacity:"var(--backdrop-opacity)"},{offset:1,opacity:.01}];var l=[{offset:0,opacity:"var(--backdrop-opacity)"},{offset:1-n,opacity:0},{offset:1,opacity:0}];var u={WRAPPER_KEYFRAMES:[{offset:0,transform:"translateY(0%)"},{offset:1,transform:"translateY(100%)"}],BACKDROP_KEYFRAMES:n!==0?l:c};var h=t.querySelector("ion-content");var p=r.clientHeight;var v=a;var m=0;var b=false;var w=.95;var g=i.childAnimations.find((function(t){return t.id==="wrapperAnimation"}));var x=i.childAnimations.find((function(t){return t.id==="backdropAnimation"}));var y=o[o.length-1];var k=o[0];var A=function(){t.style.setProperty("pointer-events","auto");e.style.setProperty("pointer-events","auto");t.classList.remove(FOCUS_TRAP_DISABLE_CLASS)};var S=function(){t.style.setProperty("pointer-events","none");e.style.setProperty("pointer-events","none");t.classList.add(FOCUS_TRAP_DISABLE_CLASS)};if(g&&x){g.keyframes(__spreadArray([],u.WRAPPER_KEYFRAMES,true));x.keyframes(__spreadArray([],u.BACKDROP_KEYFRAMES,true));i.progressStart(true,1-v);var E=v>n;if(E){A()}else{S()}}if(h&&v!==y){h.scrollY=false}var _=function(t){var e=findClosestIonContent(t.event.target);v=s();if(v===1&&e){var r=isIonContent(e)?getElementRoot(e).querySelector(".inner-scroll"):e;var a=!!e.querySelector("ion-refresher");return!a&&r.scrollTop===0}return true};var C=function(e){b=t.canDismiss!==undefined&&t.canDismiss!==true&&k===0;if(e.deltaY>0&&h){h.scrollY=false}raf((function(){t.focus()}));i.progressStart(true,1-v)};var D=function(t){if(t.deltaY>0&&h){h.scrollY=false}var e=1-v;var r=o.length>1?1-o[1]:undefined;var a=e+t.deltaY/p;var n=r!==undefined&&a>=r&&b;var s=n?w:.9999;var d=n&&r!==undefined?r+calculateSpringStep((a-r)/(s-r)):a;m=clamp(1e-4,d,s);i.progressStep(m)};var I=function(t){var e=t.velocityY;var r=(t.deltaY+e*350)/p;var a=v-r;var n=o.reduce((function(t,e){return Math.abs(e-a)<Math.abs(t-a)?e:t}));M({breakpoint:n,breakpointOffset:m,canDismiss:b,animated:true})};var M=function(e){var r=e.breakpoint,a=e.canDismiss,s=e.breakpointOffset,c=e.animated;var l=a&&r===0;var p=l?v:r;var m=p!==0;v=0;if(g&&x){g.keyframes([{offset:0,transform:"translateY(".concat(s*100,"%)")},{offset:1,transform:"translateY(".concat((1-p)*100,"%)")}]);x.keyframes([{offset:0,opacity:"calc(var(--backdrop-opacity) * ".concat(getBackdropValueForSheet(1-s,n),")")},{offset:1,opacity:"calc(var(--backdrop-opacity) * ".concat(getBackdropValueForSheet(p,n),")")}]);i.progressStep(0)}Y.enable(false);if(l){handleCanDismiss(t,i)}else if(!m){d()}if(h&&p===o[o.length-1]){h.scrollY=true}return new Promise((function(t){i.onFinish((function(){if(m){if(g&&x){raf((function(){g.keyframes(__spreadArray([],u.WRAPPER_KEYFRAMES,true));x.keyframes(__spreadArray([],u.BACKDROP_KEYFRAMES,true));i.progressStart(true,1-p);v=p;f(v);var e=v>n;if(e){A()}else{S()}Y.enable(true);t()}))}else{Y.enable(true);t()}}else{t()}}),{oneTimeCallback:true}).progressEnd(1,0,c?500:0)}))};var Y=createGesture({el:r,gestureName:"modalSheet",gesturePriority:40,direction:"y",threshold:10,canStart:_,onStart:C,onMove:D,onEnd:I});return{gesture:Y,moveSheetToBreakpoint:M}};var modalIosCss=':host{--width:100%;--min-width:auto;--max-width:auto;--height:100%;--min-height:auto;--max-height:auto;--overflow:hidden;--border-radius:0;--border-width:0;--border-style:none;--border-color:transparent;--background:var(--ion-background-color, #fff);--box-shadow:none;--backdrop-opacity:0;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;color:var(--ion-text-color, #000);contain:strict}.modal-wrapper,ion-backdrop{pointer-events:auto}:host(.overlay-hidden){display:none}.modal-wrapper,.modal-shadow{border-radius:var(--border-radius);width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);overflow:var(--overflow);z-index:10}.modal-shadow{position:absolute;background:transparent}@media only screen and (min-width: 768px) and (min-height: 600px){:host{--width:600px;--height:500px;--ion-safe-area-top:0px;--ion-safe-area-bottom:0px;--ion-safe-area-right:0px;--ion-safe-area-left:0px}}@media only screen and (min-width: 768px) and (min-height: 768px){:host{--width:600px;--height:600px}}.modal-handle{left:0px;right:0px;top:5px;border-radius:8px;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;position:absolute;width:36px;height:5px;-webkit-transform:translateZ(0);transform:translateZ(0);border:0;background:var(--ion-color-step-350, var(--ion-background-color-step-350, #c0c0be));cursor:pointer;z-index:11}.modal-handle::before{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:4px;padding-inline-end:4px;padding-top:4px;padding-bottom:4px;position:absolute;width:36px;height:5px;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%);content:""}:host(.modal-sheet){--height:calc(100% - (var(--ion-safe-area-top) + 10px))}:host(.modal-sheet) .modal-wrapper,:host(.modal-sheet) .modal-shadow{position:absolute;bottom:0}:host{--backdrop-opacity:var(--ion-backdrop-opacity, 0.4)}:host(.modal-card),:host(.modal-sheet){--border-radius:10px}@media only screen and (min-width: 768px) and (min-height: 600px){:host{--border-radius:10px}}.modal-wrapper{-webkit-transform:translate3d(0, 100%, 0);transform:translate3d(0, 100%, 0)}@media screen and (max-width: 767px){@supports (width: max(0px, 1px)){:host(.modal-card){--height:calc(100% - max(30px, var(--ion-safe-area-top)) - 10px)}}@supports not (width: max(0px, 1px)){:host(.modal-card){--height:calc(100% - 40px)}}:host(.modal-card) .modal-wrapper{border-start-start-radius:var(--border-radius);border-start-end-radius:var(--border-radius);border-end-end-radius:0;border-end-start-radius:0}:host(.modal-card){--backdrop-opacity:0;--width:100%;-ms-flex-align:end;align-items:flex-end}:host(.modal-card) .modal-shadow{display:none}:host(.modal-card) ion-backdrop{pointer-events:none}}@media screen and (min-width: 768px){:host(.modal-card){--width:calc(100% - 120px);--height:calc(100% - (120px + var(--ion-safe-area-top) + var(--ion-safe-area-bottom)));--max-width:720px;--max-height:1000px;--backdrop-opacity:0;--box-shadow:0px 0px 30px 10px rgba(0, 0, 0, 0.1);-webkit-transition:all 0.5s ease-in-out;transition:all 0.5s ease-in-out}:host(.modal-card) .modal-wrapper{-webkit-box-shadow:none;box-shadow:none}:host(.modal-card) .modal-shadow{-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow)}}:host(.modal-sheet) .modal-wrapper{border-start-start-radius:var(--border-radius);border-start-end-radius:var(--border-radius);border-end-end-radius:0;border-end-start-radius:0}';var IonModalIosStyle0=modalIosCss;var modalMdCss=':host{--width:100%;--min-width:auto;--max-width:auto;--height:100%;--min-height:auto;--max-height:auto;--overflow:hidden;--border-radius:0;--border-width:0;--border-style:none;--border-color:transparent;--background:var(--ion-background-color, #fff);--box-shadow:none;--backdrop-opacity:0;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;color:var(--ion-text-color, #000);contain:strict}.modal-wrapper,ion-backdrop{pointer-events:auto}:host(.overlay-hidden){display:none}.modal-wrapper,.modal-shadow{border-radius:var(--border-radius);width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);overflow:var(--overflow);z-index:10}.modal-shadow{position:absolute;background:transparent}@media only screen and (min-width: 768px) and (min-height: 600px){:host{--width:600px;--height:500px;--ion-safe-area-top:0px;--ion-safe-area-bottom:0px;--ion-safe-area-right:0px;--ion-safe-area-left:0px}}@media only screen and (min-width: 768px) and (min-height: 768px){:host{--width:600px;--height:600px}}.modal-handle{left:0px;right:0px;top:5px;border-radius:8px;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;position:absolute;width:36px;height:5px;-webkit-transform:translateZ(0);transform:translateZ(0);border:0;background:var(--ion-color-step-350, var(--ion-background-color-step-350, #c0c0be));cursor:pointer;z-index:11}.modal-handle::before{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:4px;padding-inline-end:4px;padding-top:4px;padding-bottom:4px;position:absolute;width:36px;height:5px;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%);content:""}:host(.modal-sheet){--height:calc(100% - (var(--ion-safe-area-top) + 10px))}:host(.modal-sheet) .modal-wrapper,:host(.modal-sheet) .modal-shadow{position:absolute;bottom:0}:host{--backdrop-opacity:var(--ion-backdrop-opacity, 0.32)}@media only screen and (min-width: 768px) and (min-height: 600px){:host{--border-radius:2px;--box-shadow:0 28px 48px rgba(0, 0, 0, 0.4)}}.modal-wrapper{-webkit-transform:translate3d(0, 40px, 0);transform:translate3d(0, 40px, 0);opacity:0.01}';var IonModalMdStyle0=modalMdCss;var Modal=function(){function t(t){var e=this;registerInstance(this,t);this.didPresent=createEvent(this,"ionModalDidPresent",7);this.willPresent=createEvent(this,"ionModalWillPresent",7);this.willDismiss=createEvent(this,"ionModalWillDismiss",7);this.didDismiss=createEvent(this,"ionModalDidDismiss",7);this.ionBreakpointDidChange=createEvent(this,"ionBreakpointDidChange",7);this.didPresentShorthand=createEvent(this,"didPresent",7);this.willPresentShorthand=createEvent(this,"willPresent",7);this.willDismissShorthand=createEvent(this,"willDismiss",7);this.didDismissShorthand=createEvent(this,"didDismiss",7);this.ionMount=createEvent(this,"ionMount",7);this.lockController=createLockController();this.triggerController=createTriggerController();this.coreDelegate=CoreDelegate();this.isSheetModal=false;this.inheritedAttributes={};this.inline=false;this.gestureAnimationDismissing=false;this.onHandleClick=function(){var t=e,r=t.sheetTransition,a=t.handleBehavior;if(a!=="cycle"||r!==undefined){return}e.moveToNextBreakpoint()};this.onBackdropTap=function(){var t=e.sheetTransition;if(t!==undefined){return}e.dismiss(undefined,BACKDROP)};this.onLifecycle=function(t){var r=e.usersElement;var a=LIFECYCLE_MAP[t.type];if(r&&a){var n=new CustomEvent(a,{bubbles:false,cancelable:false,detail:t.detail});r.dispatchEvent(n)}};this.presented=false;this.hasController=false;this.overlayIndex=undefined;this.delegate=undefined;this.keyboardClose=true;this.enterAnimation=undefined;this.leaveAnimation=undefined;this.breakpoints=undefined;this.initialBreakpoint=undefined;this.backdropBreakpoint=0;this.handle=undefined;this.handleBehavior="none";this.component=undefined;this.componentProps=undefined;this.cssClass=undefined;this.backdropDismiss=true;this.showBackdrop=true;this.animated=true;this.presentingElement=undefined;this.htmlAttributes=undefined;this.isOpen=false;this.trigger=undefined;this.keepContentsMounted=false;this.focusTrap=true;this.canDismiss=true}t.prototype.onIsOpenChange=function(t,e){if(t===true&&e===false){this.present()}else if(t===false&&e===true){this.dismiss()}};t.prototype.triggerChanged=function(){var t=this,e=t.trigger,r=t.el,a=t.triggerController;if(e){a.addClickListener(r,e)}};t.prototype.breakpointsChanged=function(t){if(t!==undefined){this.sortedBreakpoints=t.sort((function(t,e){return t-e}))}};t.prototype.connectedCallback=function(){var t=this.el;prepareOverlay(t);this.triggerChanged()};t.prototype.disconnectedCallback=function(){this.triggerController.removeClickListener()};t.prototype.componentWillLoad=function(){var t=this;var e=this,r=e.breakpoints,a=e.initialBreakpoint,n=e.el,i=e.htmlAttributes;var o=this.isSheetModal=r!==undefined&&a!==undefined;var s=["aria-label","role"];this.inheritedAttributes=inheritAttributes(n,s);if(i!==undefined){s.forEach((function(e){var r;var a=i[e];if(a){t.inheritedAttributes=Object.assign(Object.assign({},t.inheritedAttributes),(r={},r[e]=i[e],r));delete i[e]}}))}if(o){this.currentBreakpoint=this.initialBreakpoint}if(r!==undefined&&a!==undefined&&!r.includes(a)){printIonWarning("Your breakpoints array must include the initialBreakpoint value.")}setOverlayId(n)};t.prototype.componentDidLoad=function(){var t=this;if(this.isOpen===true){raf((function(){return t.present()}))}this.breakpointsChanged(this.breakpoints);this.triggerChanged()};t.prototype.getDelegate=function(t){if(t===void 0){t=false}if(this.workingDelegate&&!t){return{delegate:this.workingDelegate,inline:this.inline}}var e=this.el.parentNode;var r=this.inline=e!==null&&!this.hasController;var a=this.workingDelegate=r?this.delegate||this.coreDelegate:this.delegate;return{inline:r,delegate:a}};t.prototype.checkCanDismiss=function(t,e){return __awaiter(this,void 0,void 0,(function(){var r;return __generator(this,(function(a){r=this.canDismiss;if(typeof r==="function"){return[2,r(t,e)]}return[2,r]}))}))};t.prototype.present=function(){return __awaiter(this,void 0,void 0,(function(){var t,e,r,a,n,i,o,s,d,f;var c=this;return __generator(this,(function(l){switch(l.label){case 0:return[4,this.lockController.lock()];case 1:t=l.sent();if(this.presented){t();return[2]}e=this,r=e.presentingElement,a=e.el;this.currentBreakpoint=this.initialBreakpoint;n=this.getDelegate(true),i=n.inline,o=n.delegate;this.ionMount.emit();s=this;return[4,attachComponent(o,a,this.component,["ion-page"],this.componentProps,i)];case 2:s.usersElement=l.sent();if(!hasLazyBuild(a))return[3,4];return[4,deepReady(this.usersElement)];case 3:l.sent();return[3,6];case 4:if(!!this.keepContentsMounted)return[3,6];return[4,waitForMount()];case 5:l.sent();l.label=6;case 6:writeTask((function(){return c.el.classList.add("show-modal")}));d=r!==undefined;if(!(d&&getIonMode(this)==="ios"))return[3,8];f=this;return[4,StatusBar.getStyle()];case 7:f.statusBarStyle=l.sent();setCardStatusBarDark();l.label=8;case 8:return[4,present(this,"modalEnter",iosEnterAnimation,mdEnterAnimation,{presentingEl:r,currentBreakpoint:this.initialBreakpoint,backdropBreakpoint:this.backdropBreakpoint})];case 9:l.sent();if(typeof window!=="undefined"){this.keyboardOpenCallback=function(){if(c.gesture){c.gesture.enable(false);raf((function(){if(c.gesture){c.gesture.enable(true)}}))}};window.addEventListener(KEYBOARD_DID_OPEN,this.keyboardOpenCallback)}if(this.isSheetModal){this.initSheetGesture()}else if(d){this.initSwipeToClose()}t();return[2]}}))}))};t.prototype.initSwipeToClose=function(){var t=this;var e;if(getIonMode(this)!=="ios"){return}var r=this.el;var a=this.leaveAnimation||config.get("modalLeave",iosLeaveAnimation);var n=this.animation=a(r,{presentingEl:this.presentingElement});var i=findIonContent(r);if(!i){printIonContentErrorMsg(r);return}var o=(e=this.statusBarStyle)!==null&&e!==void 0?e:Style.Default;this.gesture=createSwipeToCloseGesture(r,n,o,(function(){t.gestureAnimationDismissing=true;setCardStatusBarDefault(t.statusBarStyle);t.animation.onFinish((function(){return __awaiter(t,void 0,void 0,(function(){return __generator(this,(function(t){switch(t.label){case 0:return[4,this.dismiss(undefined,GESTURE)];case 1:t.sent();this.gestureAnimationDismissing=false;return[2]}}))}))}))}));this.gesture.enable(true)};t.prototype.initSheetGesture=function(){var t=this;var e=this,r=e.wrapperEl,a=e.initialBreakpoint,n=e.backdropBreakpoint;if(!r||a===undefined){return}var i=this.enterAnimation||config.get("modalEnter",iosEnterAnimation);var o=this.animation=i(this.el,{presentingEl:this.presentingElement,currentBreakpoint:a,backdropBreakpoint:n});o.progressStart(true,1);var s=createSheetGesture(this.el,this.backdropEl,r,a,n,o,this.sortedBreakpoints,(function(){var e;return(e=t.currentBreakpoint)!==null&&e!==void 0?e:0}),(function(){return t.sheetOnDismiss()}),(function(e){if(t.currentBreakpoint!==e){t.currentBreakpoint=e;t.ionBreakpointDidChange.emit({breakpoint:e})}})),d=s.gesture,f=s.moveSheetToBreakpoint;this.gesture=d;this.moveSheetToBreakpoint=f;this.gesture.enable(true)};t.prototype.sheetOnDismiss=function(){var t=this;this.gestureAnimationDismissing=true;this.animation.onFinish((function(){return __awaiter(t,void 0,void 0,(function(){return __generator(this,(function(t){switch(t.label){case 0:this.currentBreakpoint=0;this.ionBreakpointDidChange.emit({breakpoint:this.currentBreakpoint});return[4,this.dismiss(undefined,GESTURE)];case 1:t.sent();this.gestureAnimationDismissing=false;return[2]}}))}))}))};t.prototype.dismiss=function(t,e){return __awaiter(this,void 0,void 0,(function(){var r,a,n,i,o,s,d;var f=this;return __generator(this,(function(c){switch(c.label){case 0:if(this.gestureAnimationDismissing&&e!==GESTURE){return[2,false]}return[4,this.lockController.lock()];case 1:a=c.sent();n=e!=="handler";if(!n)return[3,3];return[4,this.checkCanDismiss(t,e)];case 2:n=!c.sent();c.label=3;case 3:if(n){a();return[2,false]}i=this.presentingElement;o=i!==undefined;if(o&&getIonMode(this)==="ios"){setCardStatusBarDefault(this.statusBarStyle)}if(typeof window!=="undefined"&&this.keyboardOpenCallback){window.removeEventListener(KEYBOARD_DID_OPEN,this.keyboardOpenCallback);this.keyboardOpenCallback=undefined}return[4,dismiss(this,t,e,"modalLeave",iosLeaveAnimation,mdLeaveAnimation,{presentingEl:i,currentBreakpoint:(r=this.currentBreakpoint)!==null&&r!==void 0?r:this.initialBreakpoint,backdropBreakpoint:this.backdropBreakpoint})];case 4:s=c.sent();if(!s)return[3,6];d=this.getDelegate().delegate;return[4,detachComponent(d,this.usersElement)];case 5:c.sent();writeTask((function(){return f.el.classList.remove("show-modal")}));if(this.animation){this.animation.destroy()}if(this.gesture){this.gesture.destroy()}c.label=6;case 6:this.currentBreakpoint=undefined;this.animation=undefined;a();return[2,s]}}))}))};t.prototype.onDidDismiss=function(){return eventMethod(this.el,"ionModalDidDismiss")};t.prototype.onWillDismiss=function(){return eventMethod(this.el,"ionModalWillDismiss")};t.prototype.setCurrentBreakpoint=function(t){return __awaiter(this,void 0,void 0,(function(){var e,r,a,n,i,o;return __generator(this,(function(s){switch(s.label){case 0:if(!this.isSheetModal){printIonWarning("setCurrentBreakpoint is only supported on sheet modals.");return[2]}if(!this.breakpoints.includes(t)){printIonWarning("Attempted to set invalid breakpoint value ".concat(t,". Please double check that the breakpoint value is part of your defined breakpoints."));return[2]}e=this,r=e.currentBreakpoint,a=e.moveSheetToBreakpoint,n=e.canDismiss,i=e.breakpoints,o=e.animated;if(r===t){return[2]}if(!a)return[3,2];this.sheetTransition=a({breakpoint:t,breakpointOffset:1-r,canDismiss:n!==undefined&&n!==true&&i[0]===0,animated:o});return[4,this.sheetTransition];case 1:s.sent();this.sheetTransition=undefined;s.label=2;case 2:return[2]}}))}))};t.prototype.getCurrentBreakpoint=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,this.currentBreakpoint]}))}))};t.prototype.moveToNextBreakpoint=function(){return __awaiter(this,void 0,void 0,(function(){var t,e,r,a,n,i,o;return __generator(this,(function(s){switch(s.label){case 0:t=this,e=t.breakpoints,r=t.currentBreakpoint;if(!e||r==null){return[2,false]}a=e.filter((function(t){return t!==0}));n=a.indexOf(r);i=(n+1)%a.length;o=a[i];return[4,this.setCurrentBreakpoint(o)];case 1:s.sent();return[2,true]}}))}))};t.prototype.render=function(){var t;var e=this;var r=this,a=r.handle,n=r.isSheetModal,i=r.presentingElement,o=r.htmlAttributes,s=r.handleBehavior,d=r.inheritedAttributes,f=r.focusTrap;var c=a!==false&&n;var l=getIonMode(this);var u=i!==undefined&&l==="ios";var p=s==="cycle";return h(Host,Object.assign({key:"fe6fd17cf857127f89d652b9aa3e9473d28c55db","no-router":true,tabindex:"-1"},o,{style:{zIndex:"".concat(2e4+this.overlayIndex)},class:Object.assign((t={},t[l]=true,t["modal-default"]=!u&&!n,t["modal-card"]=u,t["modal-sheet"]=n,t["overlay-hidden"]=true,t[FOCUS_TRAP_DISABLE_CLASS]=f===false,t),getClassMap(this.cssClass)),onIonBackdropTap:this.onBackdropTap,onIonModalDidPresent:this.onLifecycle,onIonModalWillPresent:this.onLifecycle,onIonModalWillDismiss:this.onLifecycle,onIonModalDidDismiss:this.onLifecycle}),h("ion-backdrop",{key:"0f3a31363c2717e5483bc0412c25804897d4aff8",ref:function(t){return e.backdropEl=t},visible:this.showBackdrop,tappable:this.backdropDismiss,part:"backdrop"}),l==="ios"&&h("div",{key:"0e5ed59162ff08fe0a9f757e06bdacc75f65c0ed",class:"modal-shadow"}),h("div",Object.assign({key:"35cdbe2238765e5f346ad7be64f7eefa8c78f0c0",role:"dialog"},d,{"aria-modal":"true",class:"modal-wrapper ion-overlay-wrapper",part:"content",ref:function(t){return e.wrapperEl=t}}),c&&h("button",{key:"7a4031eaebf9a098f4c4220a5fe9d1c25cc0ec92",class:"modal-handle",tabIndex:!p?-1:0,"aria-label":"Activate to adjust the size of the dialog overlaying the screen",onClick:p?this.onHandleClick:undefined,part:"handle"}),h("slot",{key:"534adc8e5bd850199fe2e9e16f0e7c19217d8486"})))};Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{isOpen:["onIsOpenChange"],trigger:["triggerChanged"]}},enumerable:false,configurable:true});return t}();var LIFECYCLE_MAP={ionModalDidPresent:"ionViewDidEnter",ionModalWillPresent:"ionViewWillEnter",ionModalWillDismiss:"ionViewWillLeave",ionModalDidDismiss:"ionViewDidLeave"};Modal.style={ios:IonModalIosStyle0,md:IonModalMdStyle0};export{Modal as ion_modal};
@@ -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,e as createEvent,h,g as getElement,i as Host}from"./index-3321c202.js";import{g as getTimeGivenProgression}from"./cubic-bezier-fe2083dc.js";import{m as assert,s as shallowEqualStringMap}from"./helpers-da915de8.js";import{l as lifecycle,t as transition,s as setPageHidden,d as LIFECYCLE_WILL_UNLOAD,b as LIFECYCLE_WILL_LEAVE,c as LIFECYCLE_DID_LEAVE}from"./index-33a3d901.js";import{b as getIonMode,c as config,d as getIonTheme}from"./ionic-global-be8fa30a.js";import{a as attachComponent}from"./framework-delegate-63d1a679.js";var VIEW_STATE_NEW=1;var VIEW_STATE_ATTACHED=2;var VIEW_STATE_DESTROYED=3;var ViewController=function(){function t(t,e){this.component=t;this.params=e;this.state=VIEW_STATE_NEW}t.prototype.init=function(t){return __awaiter(this,void 0,void 0,(function(){var e,i;return __generator(this,(function(n){switch(n.label){case 0:this.state=VIEW_STATE_ATTACHED;if(!!this.element)return[3,2];e=this.component;i=this;return[4,attachComponent(this.delegate,t,e,["ion-page","ion-page-invisible"],this.params)];case 1:i.element=n.sent();n.label=2;case 2:return[2]}}))}))};t.prototype._destroy=function(){assert(this.state!==VIEW_STATE_DESTROYED,"view state must be ATTACHED");var t=this.element;if(t){if(this.delegate){this.delegate.removeViewFromDom(t.parentElement,t)}else{t.remove()}}this.nav=undefined;this.state=VIEW_STATE_DESTROYED};return t}();var matches=function(t,e,i){if(!t){return false}if(t.component!==e){return false}return shallowEqualStringMap(t.params,i)};var convertToView=function(t,e){if(!t){return null}if(t instanceof ViewController){return t}return new ViewController(t,e)};var convertToViews=function(t){return t.map((function(t){if(t instanceof ViewController){return t}if("component"in t){return convertToView(t.component,t.componentProps===null?undefined:t.componentProps)}return convertToView(t,undefined)})).filter((function(t){return t!==null}))};var navCss=":host{right:0;left:0;top:0;bottom:0;position:absolute;contain:layout size style;z-index:0}";var IonNavStyle0=navCss;var Nav=function(){function t(t){registerInstance(this,t);this.ionNavWillLoad=createEvent(this,"ionNavWillLoad",7);this.ionNavWillChange=createEvent(this,"ionNavWillChange",3);this.ionNavDidChange=createEvent(this,"ionNavDidChange",3);this.transInstr=[];this.gestureOrAnimationInProgress=false;this.useRouter=false;this.isTransitioning=false;this.destroyed=false;this.views=[];this.didLoad=false;this.delegate=undefined;this.swipeGesture=undefined;this.animated=true;this.animation=undefined;this.rootParams=undefined;this.root=undefined}t.prototype.swipeGestureChanged=function(){if(this.gesture){this.gesture.enable(this.swipeGesture===true)}};t.prototype.rootChanged=function(){if(this.root===undefined){return}if(this.didLoad===false){return}if(!this.useRouter){if(this.root!==undefined){this.setRoot(this.root,this.rootParams)}}};t.prototype.componentWillLoad=function(){this.useRouter=document.querySelector("ion-router")!==null&&this.el.closest("[no-router]")===null;if(this.swipeGesture===undefined){var t=getIonMode(this);this.swipeGesture=config.getBoolean("swipeBackEnabled",t==="ios")}this.ionNavWillLoad.emit()};t.prototype.componentDidLoad=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(e){switch(e.label){case 0:this.didLoad=true;this.rootChanged();t=this;return[4,import("./swipe-back-e5394307.js")];case 1:t.gesture=e.sent().createSwipeBackGesture(this.el,this.canStart.bind(this),this.onStart.bind(this),this.onMove.bind(this),this.onEnd.bind(this));this.swipeGestureChanged();return[2]}}))}))};t.prototype.connectedCallback=function(){this.destroyed=false};t.prototype.disconnectedCallback=function(){for(var t=0,e=this.views;t<e.length;t++){var i=e[t];lifecycle(i.element,LIFECYCLE_WILL_UNLOAD);i._destroy()}if(this.gesture){this.gesture.destroy();this.gesture=undefined}this.transInstr.length=0;this.views.length=0;this.destroyed=true};t.prototype.push=function(t,e,i,n){return this.insert(-1,t,e,i,n)};t.prototype.insert=function(t,e,i,n,r){return this.insertPages(t,[{component:e,componentProps:i}],n,r)};t.prototype.insertPages=function(t,e,i,n){return this.queueTrns({insertStart:t,insertViews:e,opts:i},n)};t.prototype.pop=function(t,e){return this.removeIndex(-1,1,t,e)};t.prototype.popTo=function(t,e,i){var n={removeStart:-1,removeCount:-1,opts:e};if(typeof t==="object"&&t.component){n.removeView=t;n.removeStart=1}else if(typeof t==="number"){n.removeStart=t+1}return this.queueTrns(n,i)};t.prototype.popToRoot=function(t,e){return this.removeIndex(1,-1,t,e)};t.prototype.removeIndex=function(t,e,i,n){if(e===void 0){e=1}return this.queueTrns({removeStart:t,removeCount:e,opts:i},n)};t.prototype.setRoot=function(t,e,i,n){return this.setPages([{component:t,componentProps:e}],i,n)};t.prototype.setPages=function(t,e,i){e!==null&&e!==void 0?e:e={};if(e.animated!==true){e.animated=false}return this.queueTrns({insertStart:0,insertViews:t,removeStart:0,removeCount:-1,opts:e},i)};t.prototype.setRouteId=function(t,e,i,n){var r=this;var s=this.getActiveSync();if(matches(s,t,e)){return Promise.resolve({changed:false,element:s.element})}var a;var o=new Promise((function(t){return a=t}));var u;var f={updateURL:false,viewIsReady:function(t){var e;var i=new Promise((function(t){return e=t}));a({changed:true,element:t,markVisible:function(){return __awaiter(r,void 0,void 0,(function(){return __generator(this,(function(t){switch(t.label){case 0:e();return[4,u];case 1:t.sent();return[2]}}))}))}});return i}};if(i==="root"){u=this.setRoot(t,e,f)}else{var h=this.views.find((function(i){return matches(i,t,e)}));if(h){u=this.popTo(h,Object.assign(Object.assign({},f),{direction:"back",animationBuilder:n}))}else if(i==="forward"){u=this.push(t,e,Object.assign(Object.assign({},f),{animationBuilder:n}))}else if(i==="back"){u=this.setRoot(t,e,Object.assign(Object.assign({},f),{direction:"back",animated:true,animationBuilder:n}))}}return o};t.prototype.getRouteId=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(e){t=this.getActiveSync();if(t){return[2,{id:t.element.tagName,params:t.params,element:t.element}]}return[2,undefined]}))}))};t.prototype.getActive=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,this.getActiveSync()]}))}))};t.prototype.getByIndex=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){return[2,this.views[t]]}))}))};t.prototype.canGoBack=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){return[2,this.canGoBackSync(t)]}))}))};t.prototype.getPrevious=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){return[2,this.getPreviousSync(t)]}))}))};t.prototype.getLength=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,Promise.resolve(this.views.length)]}))}))};t.prototype.getActiveSync=function(){return this.views[this.views.length-1]};t.prototype.canGoBackSync=function(t){if(t===void 0){t=this.getActiveSync()}return!!(t&&this.getPreviousSync(t))};t.prototype.getPreviousSync=function(t){if(t===void 0){t=this.getActiveSync()}if(!t){return undefined}var e=this.views;var i=e.indexOf(t);return i>0?e[i-1]:undefined};t.prototype.queueTrns=function(t,e){return __awaiter(this,void 0,void 0,(function(){var i,n,r,s,a;return __generator(this,(function(o){switch(o.label){case 0:if(this.isTransitioning&&((i=t.opts)===null||i===void 0?void 0:i.skipIfBusy)){return[2,false]}r=new Promise((function(e,i){t.resolve=e;t.reject=i}));t.done=e;if(!(t.opts&&t.opts.updateURL!==false&&this.useRouter))return[3,2];s=document.querySelector("ion-router");if(!s)return[3,2];return[4,s.canTransition()];case 1:a=o.sent();if(a===false){return[2,false]}if(typeof a==="string"){s.push(a,t.opts.direction||"back");return[2,false]}o.label=2;case 2:if(((n=t.insertViews)===null||n===void 0?void 0:n.length)===0){t.insertViews=undefined}this.transInstr.push(t);this.nextTrns();return[2,r]}}))}))};t.prototype.success=function(t,e){if(this.destroyed){this.fireError("nav controller was destroyed",e);return}if(e.done){e.done(t.hasCompleted,t.requiresTransition,t.enteringView,t.leavingView,t.direction)}e.resolve(t.hasCompleted);if(e.opts.updateURL!==false&&this.useRouter){var i=document.querySelector("ion-router");if(i){var n=t.direction==="back"?"back":"forward";i.navChanged(n)}}};t.prototype.failed=function(t,e){if(this.destroyed){this.fireError("nav controller was destroyed",e);return}this.transInstr.length=0;this.fireError(t,e)};t.prototype.fireError=function(t,e){if(e.done){e.done(false,false,t)}if(e.reject&&!this.destroyed){e.reject(t)}else{e.resolve(false)}};t.prototype.nextTrns=function(){if(this.isTransitioning){return false}var t=this.transInstr.shift();if(!t){return false}this.runTransition(t);return true};t.prototype.runTransition=function(t){return __awaiter(this,void 0,void 0,(function(){var e,i,n,r,s,a;return __generator(this,(function(o){switch(o.label){case 0:o.trys.push([0,6,,7]);this.ionNavWillChange.emit();this.isTransitioning=true;this.prepareTI(t);e=this.getActiveSync();i=this.getEnteringView(t,e);if(!e&&!i){throw new Error("no views in the stack to be removed")}if(!(i&&i.state===VIEW_STATE_NEW))return[3,2];return[4,i.init(this.el)];case 1:o.sent();o.label=2;case 2:this.postViewInit(i,e,t);n=(t.enteringRequiresTransition||t.leavingRequiresTransition)&&i!==e;if(n&&t.opts&&e){r=t.opts.direction==="back";if(r){t.opts.animationBuilder=t.opts.animationBuilder||(i===null||i===void 0?void 0:i.animationBuilder)}e.animationBuilder=t.opts.animationBuilder}s=void 0;if(!n)return[3,4];return[4,this.transition(i,e,t)];case 3:s=o.sent();return[3,5];case 4:s={hasCompleted:true,requiresTransition:false};o.label=5;case 5:this.success(s,t);this.ionNavDidChange.emit();return[3,7];case 6:a=o.sent();this.failed(a,t);return[3,7];case 7:this.isTransitioning=false;this.nextTrns();return[2]}}))}))};t.prototype.prepareTI=function(t){var e,i;var n;var r=this.views.length;(e=t.opts)!==null&&e!==void 0?e:t.opts={};(i=(n=t.opts).delegate)!==null&&i!==void 0?i:n.delegate=this.delegate;if(t.removeView!==undefined){assert(t.removeStart!==undefined,"removeView needs removeStart");assert(t.removeCount!==undefined,"removeView needs removeCount");var s=this.views.indexOf(t.removeView);if(s<0){throw new Error("removeView was not found")}t.removeStart+=s}if(t.removeStart!==undefined){if(t.removeStart<0){t.removeStart=r-1}if(t.removeCount<0){t.removeCount=r-t.removeStart}t.leavingRequiresTransition=t.removeCount>0&&t.removeStart+t.removeCount===r}if(t.insertViews){if(t.insertStart<0||t.insertStart>r){t.insertStart=r}t.enteringRequiresTransition=t.insertStart===r}var a=t.insertViews;if(!a){return}assert(a.length>0,"length can not be zero");var o=convertToViews(a);if(o.length===0){throw new Error("invalid views to insert")}for(var u=0,f=o;u<f.length;u++){var h=f[u];h.delegate=t.opts.delegate;var c=h.nav;if(c&&c!==this){throw new Error("inserted view was already inserted")}if(h.state===VIEW_STATE_DESTROYED){throw new Error("inserted view was already destroyed")}}t.insertViews=o};t.prototype.getEnteringView=function(t,e){var i=t.insertViews;if(i!==undefined){return i[i.length-1]}var n=t.removeStart;if(n!==undefined){var r=this.views;var s=n+t.removeCount;for(var a=r.length-1;a>=0;a--){var o=r[a];if((a<n||a>=s)&&o!==e){return o}}}return undefined};t.prototype.postViewInit=function(t,e,i){var n,r,s;assert(e||t,"Both leavingView and enteringView are null");assert(i.resolve,"resolve must be valid");assert(i.reject,"reject must be valid");var a=i.opts;var o=i.insertViews,u=i.removeStart,f=i.removeCount;var h;if(u!==undefined&&f!==undefined){assert(u>=0,"removeStart can not be negative");assert(f>=0,"removeCount can not be negative");h=[];for(var c=u;c<u+f;c++){var v=this.views[c];if(v!==undefined&&v!==t&&v!==e){h.push(v)}}(n=a.direction)!==null&&n!==void 0?n:a.direction="back"}var d=this.views.length+((r=o===null||o===void 0?void 0:o.length)!==null&&r!==void 0?r:0)-(f!==null&&f!==void 0?f:0);assert(d>=0,"final balance can not be negative");if(d===0){console.warn("You can't remove all the pages in the navigation stack. nav.pop() is probably called too many times.",this,this.el);throw new Error("navigation stack needs at least one root page")}if(o){var l=i.insertStart;for(var m=0,_=o;m<_.length;m++){var v=_[m];this.insertViewAt(v,l);l++}if(i.enteringRequiresTransition){(s=a.direction)!==null&&s!==void 0?s:a.direction="forward"}}if(h&&h.length>0){for(var E=0,w=h;E<w.length;E++){var v=w[E];lifecycle(v.element,LIFECYCLE_WILL_LEAVE);lifecycle(v.element,LIFECYCLE_DID_LEAVE);lifecycle(v.element,LIFECYCLE_WILL_UNLOAD)}for(var g=0,b=h;g<b.length;g++){var v=b[g];this.destroyView(v)}}};t.prototype.transition=function(t,e,i){return __awaiter(this,void 0,void 0,(function(){var n,r,s,a,o,u,f,h;var c=this;return __generator(this,(function(v){switch(v.label){case 0:n=i.opts;r=n.progressAnimation?function(t){if(t!==undefined&&!c.gestureOrAnimationInProgress){c.gestureOrAnimationInProgress=true;t.onFinish((function(){c.gestureOrAnimationInProgress=false}),{oneTimeCallback:true});t.progressEnd(0,0,0)}else{c.sbAni=t}}:undefined;s=getIonTheme(this);a=getIonMode(this,s);o=t.element;u=e&&e.element;f=Object.assign(Object.assign({mode:a,theme:s,showGoBack:this.canGoBackSync(t),baseEl:this.el,progressCallback:r,animated:this.animated&&config.getBoolean("animated",true),enteringEl:o,leavingEl:u},n),{animationBuilder:n.animationBuilder||this.animation||config.get("navAnimation")});return[4,transition(f)];case 1:h=v.sent().hasCompleted;return[2,this.transitionFinish(h,t,e,n)]}}))}))};t.prototype.transitionFinish=function(t,e,i,n){var r=t?e:i;if(r){this.unmountInactiveViews(r)}return{hasCompleted:t,requiresTransition:true,enteringView:e,leavingView:i,direction:n.direction}};t.prototype.insertViewAt=function(t,e){var i=this.views;var n=i.indexOf(t);if(n>-1){assert(t.nav===this,"view is not part of the nav");i.splice(n,1);i.splice(e,0,t)}else{assert(!t.nav,"nav is used");t.nav=this;i.splice(e,0,t)}};t.prototype.removeView=function(t){assert(t.state===VIEW_STATE_ATTACHED||t.state===VIEW_STATE_DESTROYED,"view state should be loaded or destroyed");var e=this.views;var i=e.indexOf(t);assert(i>-1,"view must be part of the stack");if(i>=0){e.splice(i,1)}};t.prototype.destroyView=function(t){t._destroy();this.removeView(t)};t.prototype.unmountInactiveViews=function(t){if(this.destroyed){return}var e=this.views;var i=e.indexOf(t);for(var n=e.length-1;n>=0;n--){var r=e[n];var s=r.element;if(s){if(n>i){lifecycle(s,LIFECYCLE_WILL_UNLOAD);this.destroyView(r)}else if(n<i){setPageHidden(s,true)}}}};t.prototype.canStart=function(){return!this.gestureOrAnimationInProgress&&!!this.swipeGesture&&!this.isTransitioning&&this.transInstr.length===0&&this.canGoBackSync()};t.prototype.onStart=function(){this.gestureOrAnimationInProgress=true;this.pop({direction:"back",progressAnimation:true})};t.prototype.onMove=function(t){if(this.sbAni){this.sbAni.progressStep(t)}};t.prototype.onEnd=function(t,e,i){var n=this;if(this.sbAni){this.sbAni.onFinish((function(){n.gestureOrAnimationInProgress=false}),{oneTimeCallback:true});var r=t?-.001:.001;if(!t){this.sbAni.easing("cubic-bezier(1, 0, 0.68, 0.28)");r+=getTimeGivenProgression([0,0],[1,0],[.68,.28],[1,1],e)[0]}else{r+=getTimeGivenProgression([0,0],[.32,.72],[0,1],[1,1],e)[0]}this.sbAni.progressEnd(t?1:0,r,i)}else{this.gestureOrAnimationInProgress=false}};t.prototype.render=function(){return h("slot",{key:"cb4e79a79821427dcb55f9e97342662a1e3b6d6e"})};Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{swipeGesture:["swipeGestureChanged"],root:["rootChanged"]}},enumerable:false,configurable:true});return t}();Nav.style=IonNavStyle0;var navLink=function(t,e,i,n,r){var s=t.closest("ion-nav");if(s){if(e==="forward"){if(i!==undefined){return s.push(i,n,{skipIfBusy:true,animationBuilder:r})}}else if(e==="root"){if(i!==undefined){return s.setRoot(i,n,{skipIfBusy:true,animationBuilder:r})}}else if(e==="back"){return s.pop({skipIfBusy:true,animationBuilder:r})}}return Promise.resolve(false)};var NavLink=function(){function t(t){var e=this;registerInstance(this,t);this.onClick=function(){return navLink(e.el,e.routerDirection,e.component,e.componentProps,e.routerAnimation)};this.component=undefined;this.componentProps=undefined;this.routerDirection="forward";this.routerAnimation=undefined}t.prototype.render=function(){return h(Host,{key:"de17298fc02afaa1ffbe8609ec6d9d61c4967f83",onClick:this.onClick})};Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});return t}();export{Nav as ion_nav,NavLink as ion_nav_link};
4
+ */import{r as registerInstance,d as createEvent,h,i as getElement,f as Host}from"./index-e06ef154.js";import{g as getTimeGivenProgression}from"./cubic-bezier-fe2083dc.js";import{m as assert,s as shallowEqualStringMap}from"./helpers-da915de8.js";import{l as lifecycle,t as transition,s as setPageHidden,d as LIFECYCLE_WILL_UNLOAD,b as LIFECYCLE_WILL_LEAVE,c as LIFECYCLE_DID_LEAVE}from"./index-2f8c4022.js";import{b as getIonMode,c as config}from"./ionic-global-d92bc7d9.js";import{a as attachComponent}from"./framework-delegate-63d1a679.js";import"./index-9b0d46f4.js";var VIEW_STATE_NEW=1;var VIEW_STATE_ATTACHED=2;var VIEW_STATE_DESTROYED=3;var ViewController=function(){function t(t,e){this.component=t;this.params=e;this.state=VIEW_STATE_NEW}t.prototype.init=function(t){return __awaiter(this,void 0,void 0,(function(){var e,i;return __generator(this,(function(n){switch(n.label){case 0:this.state=VIEW_STATE_ATTACHED;if(!!this.element)return[3,2];e=this.component;i=this;return[4,attachComponent(this.delegate,t,e,["ion-page","ion-page-invisible"],this.params)];case 1:i.element=n.sent();n.label=2;case 2:return[2]}}))}))};t.prototype._destroy=function(){assert(this.state!==VIEW_STATE_DESTROYED,"view state must be ATTACHED");var t=this.element;if(t){if(this.delegate){this.delegate.removeViewFromDom(t.parentElement,t)}else{t.remove()}}this.nav=undefined;this.state=VIEW_STATE_DESTROYED};return t}();var matches=function(t,e,i){if(!t){return false}if(t.component!==e){return false}return shallowEqualStringMap(t.params,i)};var convertToView=function(t,e){if(!t){return null}if(t instanceof ViewController){return t}return new ViewController(t,e)};var convertToViews=function(t){return t.map((function(t){if(t instanceof ViewController){return t}if("component"in t){return convertToView(t.component,t.componentProps===null?undefined:t.componentProps)}return convertToView(t,undefined)})).filter((function(t){return t!==null}))};var navCss=":host{left:0;right:0;top:0;bottom:0;position:absolute;contain:layout size style;z-index:0}";var IonNavStyle0=navCss;var Nav=function(){function t(t){registerInstance(this,t);this.ionNavWillLoad=createEvent(this,"ionNavWillLoad",7);this.ionNavWillChange=createEvent(this,"ionNavWillChange",3);this.ionNavDidChange=createEvent(this,"ionNavDidChange",3);this.transInstr=[];this.gestureOrAnimationInProgress=false;this.useRouter=false;this.isTransitioning=false;this.destroyed=false;this.views=[];this.didLoad=false;this.delegate=undefined;this.swipeGesture=undefined;this.animated=true;this.animation=undefined;this.rootParams=undefined;this.root=undefined}t.prototype.swipeGestureChanged=function(){if(this.gesture){this.gesture.enable(this.swipeGesture===true)}};t.prototype.rootChanged=function(){if(this.root===undefined){return}if(this.didLoad===false){return}if(!this.useRouter){if(this.root!==undefined){this.setRoot(this.root,this.rootParams)}}};t.prototype.componentWillLoad=function(){this.useRouter=document.querySelector("ion-router")!==null&&this.el.closest("[no-router]")===null;if(this.swipeGesture===undefined){var t=getIonMode(this);this.swipeGesture=config.getBoolean("swipeBackEnabled",t==="ios")}this.ionNavWillLoad.emit()};t.prototype.componentDidLoad=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(e){switch(e.label){case 0:this.didLoad=true;this.rootChanged();t=this;return[4,import("./swipe-back-e5394307.js")];case 1:t.gesture=e.sent().createSwipeBackGesture(this.el,this.canStart.bind(this),this.onStart.bind(this),this.onMove.bind(this),this.onEnd.bind(this));this.swipeGestureChanged();return[2]}}))}))};t.prototype.connectedCallback=function(){this.destroyed=false};t.prototype.disconnectedCallback=function(){for(var t=0,e=this.views;t<e.length;t++){var i=e[t];lifecycle(i.element,LIFECYCLE_WILL_UNLOAD);i._destroy()}if(this.gesture){this.gesture.destroy();this.gesture=undefined}this.transInstr.length=0;this.views.length=0;this.destroyed=true};t.prototype.push=function(t,e,i,n){return this.insert(-1,t,e,i,n)};t.prototype.insert=function(t,e,i,n,r){return this.insertPages(t,[{component:e,componentProps:i}],n,r)};t.prototype.insertPages=function(t,e,i,n){return this.queueTrns({insertStart:t,insertViews:e,opts:i},n)};t.prototype.pop=function(t,e){return this.removeIndex(-1,1,t,e)};t.prototype.popTo=function(t,e,i){var n={removeStart:-1,removeCount:-1,opts:e};if(typeof t==="object"&&t.component){n.removeView=t;n.removeStart=1}else if(typeof t==="number"){n.removeStart=t+1}return this.queueTrns(n,i)};t.prototype.popToRoot=function(t,e){return this.removeIndex(1,-1,t,e)};t.prototype.removeIndex=function(t,e,i,n){if(e===void 0){e=1}return this.queueTrns({removeStart:t,removeCount:e,opts:i},n)};t.prototype.setRoot=function(t,e,i,n){return this.setPages([{component:t,componentProps:e}],i,n)};t.prototype.setPages=function(t,e,i){e!==null&&e!==void 0?e:e={};if(e.animated!==true){e.animated=false}return this.queueTrns({insertStart:0,insertViews:t,removeStart:0,removeCount:-1,opts:e},i)};t.prototype.setRouteId=function(t,e,i,n){var r=this;var s=this.getActiveSync();if(matches(s,t,e)){return Promise.resolve({changed:false,element:s.element})}var a;var o=new Promise((function(t){return a=t}));var u;var f={updateURL:false,viewIsReady:function(t){var e;var i=new Promise((function(t){return e=t}));a({changed:true,element:t,markVisible:function(){return __awaiter(r,void 0,void 0,(function(){return __generator(this,(function(t){switch(t.label){case 0:e();return[4,u];case 1:t.sent();return[2]}}))}))}});return i}};if(i==="root"){u=this.setRoot(t,e,f)}else{var h=this.views.find((function(i){return matches(i,t,e)}));if(h){u=this.popTo(h,Object.assign(Object.assign({},f),{direction:"back",animationBuilder:n}))}else if(i==="forward"){u=this.push(t,e,Object.assign(Object.assign({},f),{animationBuilder:n}))}else if(i==="back"){u=this.setRoot(t,e,Object.assign(Object.assign({},f),{direction:"back",animated:true,animationBuilder:n}))}}return o};t.prototype.getRouteId=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(e){t=this.getActiveSync();if(t){return[2,{id:t.element.tagName,params:t.params,element:t.element}]}return[2,undefined]}))}))};t.prototype.getActive=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,this.getActiveSync()]}))}))};t.prototype.getByIndex=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){return[2,this.views[t]]}))}))};t.prototype.canGoBack=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){return[2,this.canGoBackSync(t)]}))}))};t.prototype.getPrevious=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){return[2,this.getPreviousSync(t)]}))}))};t.prototype.getLength=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,Promise.resolve(this.views.length)]}))}))};t.prototype.getActiveSync=function(){return this.views[this.views.length-1]};t.prototype.canGoBackSync=function(t){if(t===void 0){t=this.getActiveSync()}return!!(t&&this.getPreviousSync(t))};t.prototype.getPreviousSync=function(t){if(t===void 0){t=this.getActiveSync()}if(!t){return undefined}var e=this.views;var i=e.indexOf(t);return i>0?e[i-1]:undefined};t.prototype.queueTrns=function(t,e){return __awaiter(this,void 0,void 0,(function(){var i,n,r,s,a;return __generator(this,(function(o){switch(o.label){case 0:if(this.isTransitioning&&((i=t.opts)===null||i===void 0?void 0:i.skipIfBusy)){return[2,false]}r=new Promise((function(e,i){t.resolve=e;t.reject=i}));t.done=e;if(!(t.opts&&t.opts.updateURL!==false&&this.useRouter))return[3,2];s=document.querySelector("ion-router");if(!s)return[3,2];return[4,s.canTransition()];case 1:a=o.sent();if(a===false){return[2,false]}if(typeof a==="string"){s.push(a,t.opts.direction||"back");return[2,false]}o.label=2;case 2:if(((n=t.insertViews)===null||n===void 0?void 0:n.length)===0){t.insertViews=undefined}this.transInstr.push(t);this.nextTrns();return[2,r]}}))}))};t.prototype.success=function(t,e){if(this.destroyed){this.fireError("nav controller was destroyed",e);return}if(e.done){e.done(t.hasCompleted,t.requiresTransition,t.enteringView,t.leavingView,t.direction)}e.resolve(t.hasCompleted);if(e.opts.updateURL!==false&&this.useRouter){var i=document.querySelector("ion-router");if(i){var n=t.direction==="back"?"back":"forward";i.navChanged(n)}}};t.prototype.failed=function(t,e){if(this.destroyed){this.fireError("nav controller was destroyed",e);return}this.transInstr.length=0;this.fireError(t,e)};t.prototype.fireError=function(t,e){if(e.done){e.done(false,false,t)}if(e.reject&&!this.destroyed){e.reject(t)}else{e.resolve(false)}};t.prototype.nextTrns=function(){if(this.isTransitioning){return false}var t=this.transInstr.shift();if(!t){return false}this.runTransition(t);return true};t.prototype.runTransition=function(t){return __awaiter(this,void 0,void 0,(function(){var e,i,n,r,s,a;return __generator(this,(function(o){switch(o.label){case 0:o.trys.push([0,6,,7]);this.ionNavWillChange.emit();this.isTransitioning=true;this.prepareTI(t);e=this.getActiveSync();i=this.getEnteringView(t,e);if(!e&&!i){throw new Error("no views in the stack to be removed")}if(!(i&&i.state===VIEW_STATE_NEW))return[3,2];return[4,i.init(this.el)];case 1:o.sent();o.label=2;case 2:this.postViewInit(i,e,t);n=(t.enteringRequiresTransition||t.leavingRequiresTransition)&&i!==e;if(n&&t.opts&&e){r=t.opts.direction==="back";if(r){t.opts.animationBuilder=t.opts.animationBuilder||(i===null||i===void 0?void 0:i.animationBuilder)}e.animationBuilder=t.opts.animationBuilder}s=void 0;if(!n)return[3,4];return[4,this.transition(i,e,t)];case 3:s=o.sent();return[3,5];case 4:s={hasCompleted:true,requiresTransition:false};o.label=5;case 5:this.success(s,t);this.ionNavDidChange.emit();return[3,7];case 6:a=o.sent();this.failed(a,t);return[3,7];case 7:this.isTransitioning=false;this.nextTrns();return[2]}}))}))};t.prototype.prepareTI=function(t){var e,i;var n;var r=this.views.length;(e=t.opts)!==null&&e!==void 0?e:t.opts={};(i=(n=t.opts).delegate)!==null&&i!==void 0?i:n.delegate=this.delegate;if(t.removeView!==undefined){assert(t.removeStart!==undefined,"removeView needs removeStart");assert(t.removeCount!==undefined,"removeView needs removeCount");var s=this.views.indexOf(t.removeView);if(s<0){throw new Error("removeView was not found")}t.removeStart+=s}if(t.removeStart!==undefined){if(t.removeStart<0){t.removeStart=r-1}if(t.removeCount<0){t.removeCount=r-t.removeStart}t.leavingRequiresTransition=t.removeCount>0&&t.removeStart+t.removeCount===r}if(t.insertViews){if(t.insertStart<0||t.insertStart>r){t.insertStart=r}t.enteringRequiresTransition=t.insertStart===r}var a=t.insertViews;if(!a){return}assert(a.length>0,"length can not be zero");var o=convertToViews(a);if(o.length===0){throw new Error("invalid views to insert")}for(var u=0,f=o;u<f.length;u++){var h=f[u];h.delegate=t.opts.delegate;var c=h.nav;if(c&&c!==this){throw new Error("inserted view was already inserted")}if(h.state===VIEW_STATE_DESTROYED){throw new Error("inserted view was already destroyed")}}t.insertViews=o};t.prototype.getEnteringView=function(t,e){var i=t.insertViews;if(i!==undefined){return i[i.length-1]}var n=t.removeStart;if(n!==undefined){var r=this.views;var s=n+t.removeCount;for(var a=r.length-1;a>=0;a--){var o=r[a];if((a<n||a>=s)&&o!==e){return o}}}return undefined};t.prototype.postViewInit=function(t,e,i){var n,r,s;assert(e||t,"Both leavingView and enteringView are null");assert(i.resolve,"resolve must be valid");assert(i.reject,"reject must be valid");var a=i.opts;var o=i.insertViews,u=i.removeStart,f=i.removeCount;var h;if(u!==undefined&&f!==undefined){assert(u>=0,"removeStart can not be negative");assert(f>=0,"removeCount can not be negative");h=[];for(var c=u;c<u+f;c++){var d=this.views[c];if(d!==undefined&&d!==t&&d!==e){h.push(d)}}(n=a.direction)!==null&&n!==void 0?n:a.direction="back"}var v=this.views.length+((r=o===null||o===void 0?void 0:o.length)!==null&&r!==void 0?r:0)-(f!==null&&f!==void 0?f:0);assert(v>=0,"final balance can not be negative");if(v===0){console.warn("You can't remove all the pages in the navigation stack. nav.pop() is probably called too many times.",this,this.el);throw new Error("navigation stack needs at least one root page")}if(o){var l=i.insertStart;for(var _=0,m=o;_<m.length;_++){var d=m[_];this.insertViewAt(d,l);l++}if(i.enteringRequiresTransition){(s=a.direction)!==null&&s!==void 0?s:a.direction="forward"}}if(h&&h.length>0){for(var E=0,w=h;E<w.length;E++){var d=w[E];lifecycle(d.element,LIFECYCLE_WILL_LEAVE);lifecycle(d.element,LIFECYCLE_DID_LEAVE);lifecycle(d.element,LIFECYCLE_WILL_UNLOAD)}for(var g=0,b=h;g<b.length;g++){var d=b[g];this.destroyView(d)}}};t.prototype.transition=function(t,e,i){return __awaiter(this,void 0,void 0,(function(){var n,r,s,a,o,u,f;var h=this;return __generator(this,(function(c){switch(c.label){case 0:n=i.opts;r=n.progressAnimation?function(t){if(t!==undefined&&!h.gestureOrAnimationInProgress){h.gestureOrAnimationInProgress=true;t.onFinish((function(){h.gestureOrAnimationInProgress=false}),{oneTimeCallback:true});t.progressEnd(0,0,0)}else{h.sbAni=t}}:undefined;s=getIonMode(this);a=t.element;o=e&&e.element;u=Object.assign(Object.assign({mode:s,showGoBack:this.canGoBackSync(t),baseEl:this.el,progressCallback:r,animated:this.animated&&config.getBoolean("animated",true),enteringEl:a,leavingEl:o},n),{animationBuilder:n.animationBuilder||this.animation||config.get("navAnimation")});return[4,transition(u)];case 1:f=c.sent().hasCompleted;return[2,this.transitionFinish(f,t,e,n)]}}))}))};t.prototype.transitionFinish=function(t,e,i,n){var r=t?e:i;if(r){this.unmountInactiveViews(r)}return{hasCompleted:t,requiresTransition:true,enteringView:e,leavingView:i,direction:n.direction}};t.prototype.insertViewAt=function(t,e){var i=this.views;var n=i.indexOf(t);if(n>-1){assert(t.nav===this,"view is not part of the nav");i.splice(n,1);i.splice(e,0,t)}else{assert(!t.nav,"nav is used");t.nav=this;i.splice(e,0,t)}};t.prototype.removeView=function(t){assert(t.state===VIEW_STATE_ATTACHED||t.state===VIEW_STATE_DESTROYED,"view state should be loaded or destroyed");var e=this.views;var i=e.indexOf(t);assert(i>-1,"view must be part of the stack");if(i>=0){e.splice(i,1)}};t.prototype.destroyView=function(t){t._destroy();this.removeView(t)};t.prototype.unmountInactiveViews=function(t){if(this.destroyed){return}var e=this.views;var i=e.indexOf(t);for(var n=e.length-1;n>=0;n--){var r=e[n];var s=r.element;if(s){if(n>i){lifecycle(s,LIFECYCLE_WILL_UNLOAD);this.destroyView(r)}else if(n<i){setPageHidden(s,true)}}}};t.prototype.canStart=function(){return!this.gestureOrAnimationInProgress&&!!this.swipeGesture&&!this.isTransitioning&&this.transInstr.length===0&&this.canGoBackSync()};t.prototype.onStart=function(){this.gestureOrAnimationInProgress=true;this.pop({direction:"back",progressAnimation:true})};t.prototype.onMove=function(t){if(this.sbAni){this.sbAni.progressStep(t)}};t.prototype.onEnd=function(t,e,i){var n=this;if(this.sbAni){this.sbAni.onFinish((function(){n.gestureOrAnimationInProgress=false}),{oneTimeCallback:true});var r=t?-.001:.001;if(!t){this.sbAni.easing("cubic-bezier(1, 0, 0.68, 0.28)");r+=getTimeGivenProgression([0,0],[1,0],[.68,.28],[1,1],e)[0]}else{r+=getTimeGivenProgression([0,0],[.32,.72],[0,1],[1,1],e)[0]}this.sbAni.progressEnd(t?1:0,r,i)}else{this.gestureOrAnimationInProgress=false}};t.prototype.render=function(){return h("slot",{key:"e9d99a8a0b84f02f9964d8143cd5e647e43334f9"})};Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{swipeGesture:["swipeGestureChanged"],root:["rootChanged"]}},enumerable:false,configurable:true});return t}();Nav.style=IonNavStyle0;var navLink=function(t,e,i,n,r){var s=t.closest("ion-nav");if(s){if(e==="forward"){if(i!==undefined){return s.push(i,n,{skipIfBusy:true,animationBuilder:r})}}else if(e==="root"){if(i!==undefined){return s.setRoot(i,n,{skipIfBusy:true,animationBuilder:r})}}else if(e==="back"){return s.pop({skipIfBusy:true,animationBuilder:r})}}return Promise.resolve(false)};var NavLink=function(){function t(t){var e=this;registerInstance(this,t);this.onClick=function(){return navLink(e.el,e.routerDirection,e.component,e.componentProps,e.routerAnimation)};this.component=undefined;this.componentProps=undefined;this.routerDirection="forward";this.routerAnimation=undefined}t.prototype.render=function(){return h(Host,{key:"42c23dcdec5fdb25defebaf6e8a9fa75754ff8eb",onClick:this.onClick})};Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});return t}();export{Nav as ion_nav,NavLink as ion_nav_link};
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * (C) Ionic http://ionicframework.com - MIT License
3
3
  */
4
- import{r as registerInstance,h,i as Host,g as getElement}from"./index-3321c202.js";import{h as inheritAttributes}from"./helpers-da915de8.js";import{c as createColorClasses}from"./theme-01f3f29c.js";import{d as getIonTheme}from"./ionic-global-be8fa30a.js";var ionicPickerColumnOptionMdCss="button{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;width:100%;height:34px;border:0px;outline:none;background:transparent;color:inherit;font-family:var(--ion-font-family, inherit);font-size:inherit;line-height:34px;text-align:inherit;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;overflow:hidden}:host(.option-disabled){opacity:0.4}:host(.option-disabled) button{cursor:default}:host(.option-active){color:var(--ion-color-base)}";var IonPickerColumnOptionIonicStyle0=ionicPickerColumnOptionMdCss;var pickerColumnOptionIosCss="button{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;width:100%;height:34px;border:0px;outline:none;background:transparent;color:inherit;font-family:var(--ion-font-family, inherit);font-size:inherit;line-height:34px;text-align:inherit;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;overflow:hidden}:host(.option-disabled){opacity:0.4}:host(.option-disabled) button{cursor:default}";var IonPickerColumnOptionIosStyle0=pickerColumnOptionIosCss;var pickerColumnOptionMdCss="button{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;width:100%;height:34px;border:0px;outline:none;background:transparent;color:inherit;font-family:var(--ion-font-family, inherit);font-size:inherit;line-height:34px;text-align:inherit;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;overflow:hidden}:host(.option-disabled){opacity:0.4}:host(.option-disabled) button{cursor:default}:host(.option-active){color:var(--ion-color-base)}";var IonPickerColumnOptionMdStyle0=pickerColumnOptionMdCss;var PickerColumnOption=function(){function i(i){registerInstance(this,i);this.pickerColumn=null;this.ariaLabel=null;this.disabled=false;this.value=undefined;this.color="primary"}i.prototype.onAriaLabelChange=function(i){this.ariaLabel=i};i.prototype.componentWillLoad=function(){var i=inheritAttributes(this.el,["aria-label"]);this.ariaLabel=i["aria-label"]||null};i.prototype.connectedCallback=function(){this.pickerColumn=this.el.closest("ion-picker-column")};i.prototype.disconnectedCallback=function(){this.pickerColumn=null};i.prototype.componentDidLoad=function(){var i=this.pickerColumn;if(i!==null){i.scrollActiveItemIntoView()}};i.prototype.onClick=function(){var i=this.pickerColumn;if(i!==null){i.setValue(this.value)}};i.prototype.render=function(){var i;var t=this;var o=this,n=o.color,e=o.disabled,r=o.ariaLabel;var a=getIonTheme(this);return h(Host,{key:"4808bb9a8e4427c371441f42be82d3f0422bd6d6",class:createColorClasses(n,(i={},i[a]=true,i["option-disabled"]=e,i))},h("button",{key:"45d1142d3a83d97c4c3108dc02bc6d5ee2802c5b",tabindex:"-1","aria-label":r,disabled:e,onClick:function(){return t.onClick()}},h("slot",{key:"3d0a4b0f1ceacc9679fd5850738409ccd10b73e6"})))};Object.defineProperty(i.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(i,"watchers",{get:function(){return{"aria-label":["onAriaLabelChange"]}},enumerable:false,configurable:true});return i}();PickerColumnOption.style={ionic:IonPickerColumnOptionIonicStyle0,ios:IonPickerColumnOptionIosStyle0,md:IonPickerColumnOptionMdStyle0};export{PickerColumnOption as ion_picker_column_option};
4
+ import{r as registerInstance,h,f as Host,i as getElement}from"./index-e06ef154.js";import{h as inheritAttributes}from"./helpers-da915de8.js";import{c as createColorClasses}from"./theme-01f3f29c.js";import{b as getIonMode}from"./ionic-global-d92bc7d9.js";var pickerColumnOptionIosCss="button{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;width:100%;height:34px;border:0px;outline:none;background:transparent;color:inherit;font-family:var(--ion-font-family, inherit);font-size:inherit;line-height:34px;text-align:inherit;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;overflow:hidden}:host(.option-disabled){opacity:0.4}:host(.option-disabled) button{cursor:default}";var IonPickerColumnOptionIosStyle0=pickerColumnOptionIosCss;var pickerColumnOptionMdCss="button{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;width:100%;height:34px;border:0px;outline:none;background:transparent;color:inherit;font-family:var(--ion-font-family, inherit);font-size:inherit;line-height:34px;text-align:inherit;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;overflow:hidden}:host(.option-disabled){opacity:0.4}:host(.option-disabled) button{cursor:default}:host(.option-active){color:var(--ion-color-base)}";var IonPickerColumnOptionMdStyle0=pickerColumnOptionMdCss;var PickerColumnOption=function(){function t(t){registerInstance(this,t);this.pickerColumn=null;this.ariaLabel=null;this.disabled=false;this.value=undefined;this.color="primary"}t.prototype.onAriaLabelChange=function(t){this.ariaLabel=t};t.prototype.componentWillLoad=function(){var t=inheritAttributes(this.el,["aria-label"]);this.ariaLabel=t["aria-label"]||null};t.prototype.connectedCallback=function(){this.pickerColumn=this.el.closest("ion-picker-column")};t.prototype.disconnectedCallback=function(){this.pickerColumn=null};t.prototype.componentDidLoad=function(){var t=this.pickerColumn;if(t!==null){t.scrollActiveItemIntoView()}};t.prototype.onClick=function(){var t=this.pickerColumn;if(t!==null){t.setValue(this.value)}};t.prototype.render=function(){var t;var i=this;var n=this,e=n.color,o=n.disabled,r=n.ariaLabel;var a=getIonMode(this);return h(Host,{key:"cc4435a0ce0e55be1321bcabaf342ed68cf5ba1e",class:createColorClasses(e,(t={},t[a]=true,t["option-disabled"]=o,t))},h("button",{key:"0187fb967771e0787807a8538dce4e59f6a98565",tabindex:"-1","aria-label":r,disabled:o,onClick:function(){return i.onClick()}},h("slot",{key:"dbe52552f3f27332816748c12d929cc81060841d"})))};Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{"aria-label":["onAriaLabelChange"]}},enumerable:false,configurable:true});return t}();PickerColumnOption.style={ios:IonPickerColumnOptionIosStyle0,md:IonPickerColumnOptionMdStyle0};export{PickerColumnOption as ion_picker_column_option};
@@ -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,e as createEvent,h,i as Host,g as getElement}from"./index-3321c202.js";import{d as doc}from"./index-a5d50daf.js";import{r as raf,g as getElementRoot}from"./helpers-da915de8.js";import{a as hapticSelectionStart,b as hapticSelectionChanged,h as hapticSelectionEnd}from"./haptic-ac164e4c.js";import{a as isPlatform,d as getIonTheme}from"./ionic-global-be8fa30a.js";import{c as createColorClasses}from"./theme-01f3f29c.js";import"./capacitor-59395cbd.js";var pickerColumnCss=":host{display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;max-width:100%;height:200px;font-size:22px;text-align:center}.assistive-focusable{right:0;left:0;top:0;bottom:0;position:absolute;z-index:1;pointer-events:none}.assistive-focusable:focus{outline:none}.picker-opts{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:0px;padding-bottom:0px;min-width:26px;max-height:200px;outline:none;text-align:inherit;-webkit-scroll-snap-type:y mandatory;-ms-scroll-snap-type:y mandatory;scroll-snap-type:y mandatory;overflow-x:hidden;overflow-y:scroll;scrollbar-width:none}.picker-item-empty{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:block;width:100%;height:34px;border:0px;outline:none;background:transparent;color:inherit;font-family:var(--ion-font-family, inherit);font-size:inherit;line-height:34px;text-align:inherit;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.picker-opts::-webkit-scrollbar{display:none}::slotted(ion-picker-column-option){display:block;scroll-snap-align:center}.picker-item-empty,:host(:not([disabled])) ::slotted(ion-picker-column-option.option-disabled){scroll-snap-align:none}::slotted([slot=prefix]),::slotted([slot=suffix]){max-width:200px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}::slotted([slot=prefix]){-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:0;padding-bottom:0;-ms-flex-pack:end;justify-content:end}::slotted([slot=suffix]){-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:0;padding-bottom:0;-ms-flex-pack:start;justify-content:start}:host(.picker-column-disabled) .picker-opts{overflow-y:hidden}:host(.picker-column-disabled) ::slotted(ion-picker-column-option){cursor:default;opacity:0.4;pointer-events:none}@media (any-hover: hover){:host(:focus) .picker-opts{outline:none;background:rgba(var(--ion-color-base-rgb), 0.2)}}";var IonPickerColumnStyle0=pickerColumnCss;var PickerColumn=function(){function e(e){var i=this;registerInstance(this,e);this.ionChange=createEvent(this,"ionChange",7);this.isScrolling=false;this.isColumnVisible=false;this.canExitInputMode=true;this.updateValueTextOnScroll=false;this.centerPickerItemInView=function(e,t,n){if(t===void 0){t=true}if(n===void 0){n=true}var a=i,r=a.isColumnVisible,o=a.scrollEl;if(r&&o){var s=e.offsetTop-3*e.clientHeight+e.clientHeight/2;if(o.scrollTop!==s){i.canExitInputMode=n;i.updateValueTextOnScroll=false;o.scroll({top:s,left:0,behavior:t?"smooth":undefined})}}};this.setPickerItemActiveState=function(e,i){if(i){e.classList.add(PICKER_ITEM_ACTIVE_CLASS)}else{e.classList.remove(PICKER_ITEM_ACTIVE_CLASS)}};this.inputModeChange=function(e){if(!i.numericInput){return}var t=e.detail,n=t.useInputMode,a=t.inputModeColumn;var r=a===undefined||a===i.el;if(!n||!r){i.setInputModeActive(false);return}i.setInputModeActive(true)};this.setInputModeActive=function(e){if(i.isScrolling){i.scrollEndCallback=function(){i.isActive=e};return}i.isActive=e};this.initializeScrollListener=function(){var e=isPlatform("ios");var t=i,n=t.el,a=t.scrollEl;var r;var o=i.activeItem;var s=function(){raf((function(){var t;if(!a)return;if(r){clearTimeout(r);r=undefined}if(!i.isScrolling){e&&hapticSelectionStart();i.isScrolling=true}var s=a.getBoundingClientRect();var l=s.x+s.width/2;var c=s.y+s.height/2;var d=n.getRootNode();var f=d instanceof ShadowRoot;var u=f?d:doc;if(u===undefined){return}var p=u.elementsFromPoint(l,c);var h=p.find((function(e){return e.tagName==="ION-PICKER-COLUMN-OPTION"}));if(o!==undefined){i.setPickerItemActiveState(o,false)}if(h===undefined||h.disabled){return}if(h!==o){e&&hapticSelectionChanged();if(i.canExitInputMode){i.exitInputMode()}}o=h;i.setPickerItemActiveState(h,true);if(i.updateValueTextOnScroll){(t=i.assistiveFocusable)===null||t===void 0?void 0:t.setAttribute("aria-valuetext",i.getOptionValueText(h))}r=setTimeout((function(){i.isScrolling=false;i.updateValueTextOnScroll=true;e&&hapticSelectionEnd();var t=i.scrollEndCallback;if(t){t();i.scrollEndCallback=undefined}i.canExitInputMode=true;i.setValue(h.value)}),250)}))};raf((function(){if(!a)return;a.addEventListener("scroll",s);i.destroyScrollListener=function(){a.removeEventListener("scroll",s)}}))};this.exitInputMode=function(){var e=i.parentEl;if(e==null)return;e.exitInputMode();i.el.classList.remove("picker-column-active")};this.findNextOption=function(e){if(e===void 0){e=1}var t=i.activeItem;if(!t)return null;var n=t;var a=t.nextElementSibling;while(a!=null){if(e>0){e--}if(a.tagName==="ION-PICKER-COLUMN-OPTION"&&!a.disabled&&e===0){return a}n=a;a=a.nextElementSibling}return n};this.findPreviousOption=function(e){if(e===void 0){e=1}var t=i.activeItem;if(!t)return null;var n=t;var a=t.previousElementSibling;while(a!=null){if(e>0){e--}if(a.tagName==="ION-PICKER-COLUMN-OPTION"&&!a.disabled&&e===0){return a}n=a;a=a.previousElementSibling}return n};this.onKeyDown=function(e){var t=isPlatform("mobile");var n=null;switch(e.key){case"ArrowDown":n=t?i.findPreviousOption():i.findNextOption();break;case"ArrowUp":n=t?i.findNextOption():i.findPreviousOption();break;case"PageUp":n=t?i.findNextOption(5):i.findPreviousOption(5);break;case"PageDown":n=t?i.findPreviousOption(5):i.findNextOption(5);break;case"Home":n=i.el.querySelector("ion-picker-column-option:first-of-type");break;case"End":n=i.el.querySelector("ion-picker-column-option:last-of-type");break}if(n!==null){i.setValue(n.value);e.preventDefault()}};this.getOptionValueText=function(e){var i;return e?(i=e.getAttribute("aria-label"))!==null&&i!==void 0?i:e.innerText:""};this.renderAssistiveFocusable=function(){var e=i.activeItem;var t=i.getOptionValueText(e);return h("div",{ref:function(e){return i.assistiveFocusable=e},class:"assistive-focusable",role:"slider",tabindex:i.disabled?undefined:0,"aria-label":i.ariaLabel,"aria-valuemin":0,"aria-valuemax":0,"aria-valuenow":0,"aria-valuetext":t,"aria-orientation":"vertical",onKeyDown:function(e){return i.onKeyDown(e)}})};this.ariaLabel=null;this.isActive=false;this.disabled=false;this.value=undefined;this.color="primary";this.numericInput=false}e.prototype.ariaLabelChanged=function(e){this.ariaLabel=e};e.prototype.valueChange=function(){if(this.isColumnVisible){this.scrollActiveItemIntoView(true)}};e.prototype.componentWillLoad=function(){var e=this;var i=this.parentEl=this.el.closest("ion-picker");var t=function(i){var t=i[i.length-1];if(t.isIntersecting){var n=e,a=n.activeItem,r=n.el;e.isColumnVisible=true;var o=getElementRoot(r).querySelector(".".concat(PICKER_ITEM_ACTIVE_CLASS));if(o){e.setPickerItemActiveState(o,false)}e.scrollActiveItemIntoView();if(a){e.setPickerItemActiveState(a,true)}e.initializeScrollListener()}else{e.isColumnVisible=false;if(e.destroyScrollListener){e.destroyScrollListener();e.destroyScrollListener=undefined}}};new IntersectionObserver(t,{threshold:.001,root:this.parentEl}).observe(this.el);if(i!==null){i.addEventListener("ionInputModeChange",(function(i){return e.inputModeChange(i)}))}};e.prototype.componentDidRender=function(){var e=this,i=e.el,t=e.activeItem,n=e.isColumnVisible,a=e.value;if(n&&!t){var r=i.querySelector("ion-picker-column-option");if(r!==null&&r.value!==a){this.setValue(r.value)}}};e.prototype.scrollActiveItemIntoView=function(){return __awaiter(this,arguments,void 0,(function(e){var i;if(e===void 0){e=false}return __generator(this,(function(t){i=this.activeItem;if(i){this.centerPickerItemInView(i,e,false)}return[2]}))}))};e.prototype.setValue=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(i){if(this.disabled===true||this.value===e){return[2]}this.value=e;this.ionChange.emit({value:e});return[2]}))}))};e.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){if(this.assistiveFocusable){this.assistiveFocusable.focus()}return[2]}))}))};e.prototype.connectedCallback=function(){var e;this.ariaLabel=(e=this.el.getAttribute("aria-label"))!==null&&e!==void 0?e:"Select a value"};Object.defineProperty(e.prototype,"activeItem",{get:function(){var e=this;var i=this.value;var t=Array.from(this.el.querySelectorAll("ion-picker-column-option"));return t.find((function(t){if(!e.disabled&&t.disabled){return false}return t.value===i}))},enumerable:false,configurable:true});e.prototype.render=function(){var e;var i=this;var t=this,n=t.color,a=t.disabled,r=t.isActive,o=t.numericInput;var s=getIonTheme(this);return h(Host,{key:"d8394b411538657d4dcf74d419d26731674b4139",class:createColorClasses(n,(e={},e[s]=true,e["picker-column-active"]=r,e["picker-column-numeric-input"]=o,e["picker-column-disabled"]=a,e))},this.renderAssistiveFocusable(),h("slot",{key:"76f125144484f040f1f84fdd94bfa4f667ded873",name:"prefix"}),h("div",{key:"43ce783c7ec5168ba05cdad07259d6f64accd948","aria-hidden":"true",class:"picker-opts",ref:function(e){i.scrollEl=e},tabIndex:-1},h("div",{key:"c34013dd35974ee01b8d6c7afee63ed274669742",class:"picker-item-empty","aria-hidden":"true"}," "),h("div",{key:"775350f6dfd63e89a39f043fca24b3205eb6b012",class:"picker-item-empty","aria-hidden":"true"}," "),h("div",{key:"c11a4228f40a3abbce211633dab9d4a73e7bab66",class:"picker-item-empty","aria-hidden":"true"}," "),h("slot",{key:"6c1a0a56e44e7091b63f405801ad480731522ac5"}),h("div",{key:"47e32bd7a7c7e446920ed21d9ea8a353500f93cc",class:"picker-item-empty","aria-hidden":"true"}," "),h("div",{key:"b0e0a8f82cfa913aef913c799a5314ef435aae45",class:"picker-item-empty","aria-hidden":"true"}," "),h("div",{key:"c0c6b1b323ae8123fdc4ca7b42355d22645e2916",class:"picker-item-empty","aria-hidden":"true"}," ")),h("slot",{key:"0f61d56444d9d34fafd1d9ba4a6461845ce848d5",name:"suffix"}))};Object.defineProperty(e.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{"aria-label":["ariaLabelChanged"],value:["valueChange"]}},enumerable:false,configurable:true});return e}();var PICKER_ITEM_ACTIVE_CLASS="option-active";PickerColumn.style=IonPickerColumnStyle0;export{PickerColumn as ion_picker_column};
4
+ */import{r as registerInstance,d as createEvent,h,f as Host,i as getElement}from"./index-e06ef154.js";import{d as doc}from"./index-a5d50daf.js";import{r as raf,g as getElementRoot}from"./helpers-da915de8.js";import{a as hapticSelectionStart,b as hapticSelectionChanged,h as hapticSelectionEnd}from"./haptic-ac164e4c.js";import{a as isPlatform,b as getIonMode}from"./ionic-global-d92bc7d9.js";import{c as createColorClasses}from"./theme-01f3f29c.js";import"./capacitor-59395cbd.js";var pickerColumnCss=":host{display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;max-width:100%;height:200px;font-size:22px;text-align:center}.assistive-focusable{left:0;right:0;top:0;bottom:0;position:absolute;z-index:1;pointer-events:none}.assistive-focusable:focus{outline:none}.picker-opts{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:0px;padding-bottom:0px;min-width:26px;max-height:200px;outline:none;text-align:inherit;-webkit-scroll-snap-type:y mandatory;-ms-scroll-snap-type:y mandatory;scroll-snap-type:y mandatory;overflow-x:hidden;overflow-y:scroll;scrollbar-width:none}.picker-item-empty{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:block;width:100%;height:34px;border:0px;outline:none;background:transparent;color:inherit;font-family:var(--ion-font-family, inherit);font-size:inherit;line-height:34px;text-align:inherit;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.picker-opts::-webkit-scrollbar{display:none}::slotted(ion-picker-column-option){display:block;scroll-snap-align:center}.picker-item-empty,:host(:not([disabled])) ::slotted(ion-picker-column-option.option-disabled){scroll-snap-align:none}::slotted([slot=prefix]),::slotted([slot=suffix]){max-width:200px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}::slotted([slot=prefix]){-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:0;padding-bottom:0;-ms-flex-pack:end;justify-content:end}::slotted([slot=suffix]){-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:0;padding-bottom:0;-ms-flex-pack:start;justify-content:start}:host(.picker-column-disabled) .picker-opts{overflow-y:hidden}:host(.picker-column-disabled) ::slotted(ion-picker-column-option){cursor:default;opacity:0.4;pointer-events:none}@media (any-hover: hover){:host(:focus) .picker-opts{outline:none;background:rgba(var(--ion-color-base-rgb), 0.2)}}";var IonPickerColumnStyle0=pickerColumnCss;var PickerColumn=function(){function e(e){var i=this;registerInstance(this,e);this.ionChange=createEvent(this,"ionChange",7);this.isScrolling=false;this.isColumnVisible=false;this.canExitInputMode=true;this.updateValueTextOnScroll=false;this.centerPickerItemInView=function(e,t,n){if(t===void 0){t=true}if(n===void 0){n=true}var a=i,r=a.isColumnVisible,o=a.scrollEl;if(r&&o){var s=e.offsetTop-3*e.clientHeight+e.clientHeight/2;if(o.scrollTop!==s){i.canExitInputMode=n;i.updateValueTextOnScroll=false;o.scroll({top:s,left:0,behavior:t?"smooth":undefined})}}};this.setPickerItemActiveState=function(e,i){if(i){e.classList.add(PICKER_ITEM_ACTIVE_CLASS)}else{e.classList.remove(PICKER_ITEM_ACTIVE_CLASS)}};this.inputModeChange=function(e){if(!i.numericInput){return}var t=e.detail,n=t.useInputMode,a=t.inputModeColumn;var r=a===undefined||a===i.el;if(!n||!r){i.setInputModeActive(false);return}i.setInputModeActive(true)};this.setInputModeActive=function(e){if(i.isScrolling){i.scrollEndCallback=function(){i.isActive=e};return}i.isActive=e};this.initializeScrollListener=function(){var e=isPlatform("ios");var t=i,n=t.el,a=t.scrollEl;var r;var o=i.activeItem;var s=function(){raf((function(){var t;if(!a)return;if(r){clearTimeout(r);r=undefined}if(!i.isScrolling){e&&hapticSelectionStart();i.isScrolling=true}var s=a.getBoundingClientRect();var l=s.x+s.width/2;var c=s.y+s.height/2;var d=n.getRootNode();var f=d instanceof ShadowRoot;var u=f?d:doc;if(u===undefined){return}var p=u.elementsFromPoint(l,c);var h=p.find((function(e){return e.tagName==="ION-PICKER-COLUMN-OPTION"}));if(o!==undefined){i.setPickerItemActiveState(o,false)}if(h===undefined||h.disabled){return}if(h!==o){e&&hapticSelectionChanged();if(i.canExitInputMode){i.exitInputMode()}}o=h;i.setPickerItemActiveState(h,true);if(i.updateValueTextOnScroll){(t=i.assistiveFocusable)===null||t===void 0?void 0:t.setAttribute("aria-valuetext",i.getOptionValueText(h))}r=setTimeout((function(){i.isScrolling=false;i.updateValueTextOnScroll=true;e&&hapticSelectionEnd();var t=i.scrollEndCallback;if(t){t();i.scrollEndCallback=undefined}i.canExitInputMode=true;i.setValue(h.value)}),250)}))};raf((function(){if(!a)return;a.addEventListener("scroll",s);i.destroyScrollListener=function(){a.removeEventListener("scroll",s)}}))};this.exitInputMode=function(){var e=i.parentEl;if(e==null)return;e.exitInputMode();i.el.classList.remove("picker-column-active")};this.findNextOption=function(e){if(e===void 0){e=1}var t=i.activeItem;if(!t)return null;var n=t;var a=t.nextElementSibling;while(a!=null){if(e>0){e--}if(a.tagName==="ION-PICKER-COLUMN-OPTION"&&!a.disabled&&e===0){return a}n=a;a=a.nextElementSibling}return n};this.findPreviousOption=function(e){if(e===void 0){e=1}var t=i.activeItem;if(!t)return null;var n=t;var a=t.previousElementSibling;while(a!=null){if(e>0){e--}if(a.tagName==="ION-PICKER-COLUMN-OPTION"&&!a.disabled&&e===0){return a}n=a;a=a.previousElementSibling}return n};this.onKeyDown=function(e){var t=isPlatform("mobile");var n=null;switch(e.key){case"ArrowDown":n=t?i.findPreviousOption():i.findNextOption();break;case"ArrowUp":n=t?i.findNextOption():i.findPreviousOption();break;case"PageUp":n=t?i.findNextOption(5):i.findPreviousOption(5);break;case"PageDown":n=t?i.findPreviousOption(5):i.findNextOption(5);break;case"Home":n=i.el.querySelector("ion-picker-column-option:first-of-type");break;case"End":n=i.el.querySelector("ion-picker-column-option:last-of-type");break}if(n!==null){i.setValue(n.value);e.preventDefault()}};this.getOptionValueText=function(e){var i;return e?(i=e.getAttribute("aria-label"))!==null&&i!==void 0?i:e.innerText:""};this.renderAssistiveFocusable=function(){var e=i.activeItem;var t=i.getOptionValueText(e);return h("div",{ref:function(e){return i.assistiveFocusable=e},class:"assistive-focusable",role:"slider",tabindex:i.disabled?undefined:0,"aria-label":i.ariaLabel,"aria-valuemin":0,"aria-valuemax":0,"aria-valuenow":0,"aria-valuetext":t,"aria-orientation":"vertical",onKeyDown:function(e){return i.onKeyDown(e)}})};this.ariaLabel=null;this.isActive=false;this.disabled=false;this.value=undefined;this.color="primary";this.numericInput=false}e.prototype.ariaLabelChanged=function(e){this.ariaLabel=e};e.prototype.valueChange=function(){if(this.isColumnVisible){this.scrollActiveItemIntoView(true)}};e.prototype.componentWillLoad=function(){var e=this;var i=this.parentEl=this.el.closest("ion-picker");var t=function(i){var t=i[i.length-1];if(t.isIntersecting){var n=e,a=n.activeItem,r=n.el;e.isColumnVisible=true;var o=getElementRoot(r).querySelector(".".concat(PICKER_ITEM_ACTIVE_CLASS));if(o){e.setPickerItemActiveState(o,false)}e.scrollActiveItemIntoView();if(a){e.setPickerItemActiveState(a,true)}e.initializeScrollListener()}else{e.isColumnVisible=false;if(e.destroyScrollListener){e.destroyScrollListener();e.destroyScrollListener=undefined}}};new IntersectionObserver(t,{threshold:.001,root:this.parentEl}).observe(this.el);if(i!==null){i.addEventListener("ionInputModeChange",(function(i){return e.inputModeChange(i)}))}};e.prototype.componentDidRender=function(){var e=this,i=e.el,t=e.activeItem,n=e.isColumnVisible,a=e.value;if(n&&!t){var r=i.querySelector("ion-picker-column-option");if(r!==null&&r.value!==a){this.setValue(r.value)}}};e.prototype.scrollActiveItemIntoView=function(){return __awaiter(this,arguments,void 0,(function(e){var i;if(e===void 0){e=false}return __generator(this,(function(t){i=this.activeItem;if(i){this.centerPickerItemInView(i,e,false)}return[2]}))}))};e.prototype.setValue=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(i){if(this.disabled===true||this.value===e){return[2]}this.value=e;this.ionChange.emit({value:e});return[2]}))}))};e.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){if(this.assistiveFocusable){this.assistiveFocusable.focus()}return[2]}))}))};e.prototype.connectedCallback=function(){var e;this.ariaLabel=(e=this.el.getAttribute("aria-label"))!==null&&e!==void 0?e:"Select a value"};Object.defineProperty(e.prototype,"activeItem",{get:function(){var e=this;var i=this.value;var t=Array.from(this.el.querySelectorAll("ion-picker-column-option"));return t.find((function(t){if(!e.disabled&&t.disabled){return false}return t.value===i}))},enumerable:false,configurable:true});e.prototype.render=function(){var e;var i=this;var t=this,n=t.color,a=t.disabled,r=t.isActive,o=t.numericInput;var s=getIonMode(this);return h(Host,{key:"d60736ce74c0e8c774a163272b78fbad32993ec2",class:createColorClasses(n,(e={},e[s]=true,e["picker-column-active"]=r,e["picker-column-numeric-input"]=o,e["picker-column-disabled"]=a,e))},this.renderAssistiveFocusable(),h("slot",{key:"74611112ef154b343ae29a773f8cd8a01cc1447d",name:"prefix"}),h("div",{key:"af772d2b61b7eb41a567593d290b80a50b7caa72","aria-hidden":"true",class:"picker-opts",ref:function(e){i.scrollEl=e},tabIndex:-1},h("div",{key:"4b646ee97bcf8ed541b9798c91dff189eec41dd1",class:"picker-item-empty","aria-hidden":"true"}," "),h("div",{key:"a44d1a10d20a13aeb47f9871b09e291aa7f216bd",class:"picker-item-empty","aria-hidden":"true"}," "),h("div",{key:"6a481715bd68fa68dc2a76c2e867ce771ea680b0",class:"picker-item-empty","aria-hidden":"true"}," "),h("slot",{key:"23236e731b1ad432c104761ebeec91697a6b7643"}),h("div",{key:"58a6c1f35a3ff0b26acaceebfd477d74b6dcfd6d",class:"picker-item-empty","aria-hidden":"true"}," "),h("div",{key:"ea864872dec6dc363406d1bd9101b1bf21944db6",class:"picker-item-empty","aria-hidden":"true"}," "),h("div",{key:"28cc4c570d0dd59f491eef2b15a5ed706d28b7bb",class:"picker-item-empty","aria-hidden":"true"}," ")),h("slot",{key:"cff1cc0bea732a5ce22bb451c5ea404a84af1993",name:"suffix"}))};Object.defineProperty(e.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{"aria-label":["ariaLabelChanged"],value:["valueChange"]}},enumerable:false,configurable:true});return e}();var PICKER_ITEM_ACTIVE_CLASS="option-active";PickerColumn.style=IonPickerColumnStyle0;export{PickerColumn as ion_picker_column};
@@ -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,e as createEvent,h,i as Host,g as getElement}from"./index-3321c202.js";import{g as getElementRoot}from"./helpers-da915de8.js";var ionicPickerMdCss=":host{display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:200px;direction:ltr;z-index:0}:host .picker-before,:host .picker-after{position:absolute;width:100%;-webkit-transform:translateZ(0);transform:translateZ(0);z-index:1;pointer-events:none}:host .picker-before{top:0;height:83px}:host .picker-before{inset-inline-start:0}:host .picker-after{top:116px;height:84px}:host .picker-after{inset-inline-start:0}:host .picker-highlight{border-radius:var(--highlight-border-radius, 8px);right:0;left:0;top:50%;bottom:0;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:0;margin-bottom:0;position:absolute;width:calc(100% - 16px);height:34px;-webkit-transform:translateY(-50%);transform:translateY(-50%);background:var(--highlight-background);z-index:-1}:host input{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;opacity:0;overflow:hidden;clip:rect(0 0 0 0);-webkit-appearance:none;-moz-appearance:none}:host ::slotted(ion-picker-column:first-of-type){text-align:start}:host ::slotted(ion-picker-column:last-of-type){text-align:end}:host ::slotted(ion-picker-column:only-child){text-align:center}:host .picker-before{background:-webkit-gradient(linear, left top, left bottom, color-stop(20%, rgba(var(--fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 1)), color-stop(90%, rgba(var(--fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 0)));background:linear-gradient(to bottom, rgba(var(--fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 1) 20%, rgba(var(--fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 0) 90%)}:host .picker-after{background:-webkit-gradient(linear, left bottom, left top, color-stop(30%, rgba(var(--fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 1)), color-stop(90%, rgba(var(--fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 0)));background:linear-gradient(to top, rgba(var(--fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 1) 30%, rgba(var(--fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 0) 90%)}";var IonPickerIonicStyle0=ionicPickerMdCss;var pickerIosCss=":host{display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:200px;direction:ltr;z-index:0}:host .picker-before,:host .picker-after{position:absolute;width:100%;-webkit-transform:translateZ(0);transform:translateZ(0);z-index:1;pointer-events:none}:host .picker-before{top:0;height:83px}:host .picker-before{inset-inline-start:0}:host .picker-after{top:116px;height:84px}:host .picker-after{inset-inline-start:0}:host .picker-highlight{border-radius:var(--highlight-border-radius, 8px);right:0;left:0;top:50%;bottom:0;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:0;margin-bottom:0;position:absolute;width:calc(100% - 16px);height:34px;-webkit-transform:translateY(-50%);transform:translateY(-50%);background:var(--highlight-background);z-index:-1}:host input{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;opacity:0;overflow:hidden;clip:rect(0 0 0 0);-webkit-appearance:none;-moz-appearance:none}:host ::slotted(ion-picker-column:first-of-type){text-align:start}:host ::slotted(ion-picker-column:last-of-type){text-align:end}:host ::slotted(ion-picker-column:only-child){text-align:center}:host .picker-before{background:-webkit-gradient(linear, left top, left bottom, color-stop(20%, rgba(var(--fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 1)), to(rgba(var(--fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 0.8)));background:linear-gradient(to bottom, rgba(var(--fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 1) 20%, rgba(var(--fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 0.8) 100%)}:host .picker-after{background:-webkit-gradient(linear, left bottom, left top, color-stop(20%, rgba(var(--fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 1)), to(rgba(var(--fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 0.8)));background:linear-gradient(to top, rgba(var(--fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 1) 20%, rgba(var(--fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 0.8) 100%)}:host .picker-highlight{background:var(--highlight-background, var(--ion-color-step-150, var(--ion-background-color-step-150, #eeeeef)))}";var IonPickerIosStyle0=pickerIosCss;var pickerMdCss=":host{display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:200px;direction:ltr;z-index:0}:host .picker-before,:host .picker-after{position:absolute;width:100%;-webkit-transform:translateZ(0);transform:translateZ(0);z-index:1;pointer-events:none}:host .picker-before{top:0;height:83px}:host .picker-before{inset-inline-start:0}:host .picker-after{top:116px;height:84px}:host .picker-after{inset-inline-start:0}:host .picker-highlight{border-radius:var(--highlight-border-radius, 8px);right:0;left:0;top:50%;bottom:0;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:0;margin-bottom:0;position:absolute;width:calc(100% - 16px);height:34px;-webkit-transform:translateY(-50%);transform:translateY(-50%);background:var(--highlight-background);z-index:-1}:host input{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;opacity:0;overflow:hidden;clip:rect(0 0 0 0);-webkit-appearance:none;-moz-appearance:none}:host ::slotted(ion-picker-column:first-of-type){text-align:start}:host ::slotted(ion-picker-column:last-of-type){text-align:end}:host ::slotted(ion-picker-column:only-child){text-align:center}:host .picker-before{background:-webkit-gradient(linear, left top, left bottom, color-stop(20%, rgba(var(--fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 1)), color-stop(90%, rgba(var(--fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 0)));background:linear-gradient(to bottom, rgba(var(--fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 1) 20%, rgba(var(--fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 0) 90%)}:host .picker-after{background:-webkit-gradient(linear, left bottom, left top, color-stop(30%, rgba(var(--fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 1)), color-stop(90%, rgba(var(--fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 0)));background:linear-gradient(to top, rgba(var(--fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 1) 30%, rgba(var(--fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 0) 90%)}";var IonPickerMdStyle0=pickerMdCss;var Picker=function(){function r(r){var t=this;registerInstance(this,r);this.ionInputModeChange=createEvent(this,"ionInputModeChange",7);this.useInputMode=false;this.isInHighlightBounds=function(r){var e=t.highlightEl;if(!e){return false}var o=e.getBoundingClientRect();var n=r.clientX<o.left||r.clientX>o.right;var a=r.clientY<o.top||r.clientY>o.bottom;if(n||a){return false}return true};this.onFocusOut=function(r){var e=r.relatedTarget;if(!e||e.tagName!=="ION-PICKER-COLUMN"&&e!==t.inputEl){t.exitInputMode()}};this.onFocusIn=function(r){var e=r.target;if(e.tagName!=="ION-PICKER-COLUMN"){return}if(!t.actionOnClick){var o=e;var n=o.numericInput;if(n){t.enterInputMode(o,false)}else{t.exitInputMode()}}};this.onClick=function(){var r=t.actionOnClick;if(r){r();t.actionOnClick=undefined}};this.onPointerDown=function(r){var e=t,o=e.useInputMode,n=e.inputModeColumn,a=e.el;if(t.isInHighlightBounds(r)){if(o){if(r.target.tagName==="ION-PICKER-COLUMN"){if(n&&n===r.target){t.actionOnClick=function(){t.enterInputMode()}}else{t.actionOnClick=function(){t.enterInputMode(r.target)}}}else{t.actionOnClick=function(){t.exitInputMode()}}}else{var i=a.querySelectorAll("ion-picker-column.picker-column-numeric-input");var c=i.length===1?r.target:undefined;t.actionOnClick=function(){t.enterInputMode(c)}}return}t.actionOnClick=function(){t.exitInputMode()}};this.enterInputMode=function(r,e){if(e===void 0){e=true}var o=t,n=o.inputEl,a=o.el;if(!n){return}var i=a.querySelector("ion-picker-column.picker-column-numeric-input");if(!i){return}t.useInputMode=true;t.inputModeColumn=r;if(e){if(t.destroyKeypressListener){t.destroyKeypressListener();t.destroyKeypressListener=undefined}n.focus()}else{a.addEventListener("keypress",t.onKeyPress);t.destroyKeypressListener=function(){a.removeEventListener("keypress",t.onKeyPress)}}t.emitInputModeChange()};this.onKeyPress=function(r){var e=t.inputEl;if(!e){return}var o=parseInt(r.key,10);if(!Number.isNaN(o)){e.value+=r.key;t.onInputChange()}};this.selectSingleColumn=function(){var r=t,e=r.inputEl,o=r.inputModeColumn,n=r.singleColumnSearchTimeout;if(!e||!o){return}var a=Array.from(o.querySelectorAll("ion-picker-column-option")).filter((function(r){return r.disabled!==true}));if(n){clearTimeout(n)}t.singleColumnSearchTimeout=setTimeout((function(){e.value="";t.singleColumnSearchTimeout=undefined}),1e3);if(e.value.length>=3){var i=e.value.length-2;var c=e.value.substring(i);e.value=c;t.selectSingleColumn();return}var g=a.find((function(r){var t=r.textContent;var o=t.replace(/^0+(?=[1-9])|0+(?=0$)/,"");return o===e.value}));if(g){o.setValue(g.value);return}if(e.value.length===2){var b=e.value.substring(e.value.length-1);e.value=b;t.selectSingleColumn()}};this.searchColumn=function(r,t,e){if(e===void 0){e="start"}var o=e==="start"?/^0+/:/0$/;var n=Array.from(r.querySelectorAll("ion-picker-column-option")).find((function(r){return r.disabled!==true&&r.textContent.replace(o,"")===t}));if(n){r.setValue(n.value)}};this.selectMultiColumn=function(){var r=t,e=r.inputEl,o=r.el;if(!e){return}var n=Array.from(o.querySelectorAll("ion-picker-column")).filter((function(r){return r.numericInput}));var a=n[0];var i=n[1];var c=e.value;var g;switch(c.length){case 1:t.searchColumn(a,c);break;case 2:var b=e.value.substring(0,1);c=b==="0"||b==="1"?e.value:b;t.searchColumn(a,c);if(c.length===1){g=e.value.substring(e.value.length-1);t.searchColumn(i,g,"end")}break;case 3:var d=e.value.substring(0,1);c=d==="0"||d==="1"?e.value.substring(0,2):d;t.searchColumn(a,c);g=c.length===1?e.value.substring(1):e.value.substring(2);t.searchColumn(i,g,"end");break;case 4:var s=e.value.substring(0,1);c=s==="0"||s==="1"?e.value.substring(0,2):s;t.searchColumn(a,c);var u=c.length===1?e.value.substring(1,e.value.length):e.value.substring(2,e.value.length);t.searchColumn(i,u,"end");break;default:var l=e.value.length-4;var f=e.value.substring(l);e.value=f;t.selectMultiColumn();break}};this.onInputChange=function(){var r=t,e=r.useInputMode,o=r.inputEl,n=r.inputModeColumn;if(!e||!o){return}if(n){t.selectSingleColumn()}else{t.selectMultiColumn()}};this.emitInputModeChange=function(){var r=t,e=r.useInputMode,o=r.inputModeColumn;t.ionInputModeChange.emit({useInputMode:e,inputModeColumn:o})}}r.prototype.preventTouchStartPropagation=function(r){r.stopPropagation()};r.prototype.componentWillLoad=function(){getElementRoot(this.el).addEventListener("focusin",this.onFocusIn);getElementRoot(this.el).addEventListener("focusout",this.onFocusOut)};r.prototype.exitInputMode=function(){return __awaiter(this,void 0,void 0,(function(){var r,t,e;return __generator(this,(function(o){r=this,t=r.inputEl,e=r.useInputMode;if(!e||!t){return[2]}this.useInputMode=false;this.inputModeColumn=undefined;t.blur();t.value="";if(this.destroyKeypressListener){this.destroyKeypressListener();this.destroyKeypressListener=undefined}this.emitInputModeChange();return[2]}))}))};r.prototype.render=function(){var r=this;return h(Host,{key:"2d007df5759a9ebed88d794354ebaef4e2a51b56",onPointerDown:function(t){return r.onPointerDown(t)},onClick:function(){return r.onClick()}},h("input",{key:"6a8723a290e0615d3856db6525737256091cf170","aria-hidden":"true",tabindex:-1,inputmode:"numeric",type:"number",onKeyDown:function(t){var e;if(t.key==="Enter"){(e=r.inputEl)===null||e===void 0?void 0:e.blur()}},ref:function(t){return r.inputEl=t},onInput:function(){return r.onInputChange()},onBlur:function(){return r.exitInputMode()}}),h("div",{key:"65ab09b2d852acdb3085fdb807940c439b31338e",class:"picker-before"}),h("div",{key:"d3781006c58e456133e04f9c0d6f54e775c3fc8d",class:"picker-after"}),h("div",{key:"34bf77b3b4ea1c2f3aa8e55f6288a6e808bc256d",class:"picker-highlight",ref:function(t){return r.highlightEl=t}}),h("slot",{key:"854507de0a26d84cf24dc37dd3077e3d7f8883ab"}))};Object.defineProperty(r.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});return r}();Picker.style={ionic:IonPickerIonicStyle0,ios:IonPickerIosStyle0,md:IonPickerMdStyle0};export{Picker as ion_picker};
4
+ */import{r as registerInstance,d as createEvent,h,f as Host,i as getElement}from"./index-e06ef154.js";import{g as getElementRoot}from"./helpers-da915de8.js";var pickerIosCss=":host{display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:200px;direction:ltr;z-index:0}:host .picker-before,:host .picker-after{position:absolute;width:100%;-webkit-transform:translateZ(0);transform:translateZ(0);z-index:1;pointer-events:none}:host .picker-before{top:0;height:83px}:host .picker-before{inset-inline-start:0}:host .picker-after{top:116px;height:84px}:host .picker-after{inset-inline-start:0}:host .picker-highlight{border-radius:var(--highlight-border-radius, 8px);left:0;right:0;top:50%;bottom:0;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:0;margin-bottom:0;position:absolute;width:calc(100% - 16px);height:34px;-webkit-transform:translateY(-50%);transform:translateY(-50%);background:var(--highlight-background);z-index:-1}:host input{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;clip:rect(0 0 0 0);opacity:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none}:host ::slotted(ion-picker-column:first-of-type){text-align:start}:host ::slotted(ion-picker-column:last-of-type){text-align:end}:host ::slotted(ion-picker-column:only-child){text-align:center}:host .picker-before{background:-webkit-gradient(linear, left top, left bottom, color-stop(20%, rgba(var(--fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 1)), to(rgba(var(--fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 0.8)));background:linear-gradient(to bottom, rgba(var(--fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 1) 20%, rgba(var(--fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 0.8) 100%)}:host .picker-after{background:-webkit-gradient(linear, left bottom, left top, color-stop(20%, rgba(var(--fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 1)), to(rgba(var(--fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 0.8)));background:linear-gradient(to top, rgba(var(--fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 1) 20%, rgba(var(--fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 0.8) 100%)}:host .picker-highlight{background:var(--highlight-background, var(--ion-color-step-150, var(--ion-background-color-step-150, #eeeeef)))}";var IonPickerIosStyle0=pickerIosCss;var pickerMdCss=":host{display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:200px;direction:ltr;z-index:0}:host .picker-before,:host .picker-after{position:absolute;width:100%;-webkit-transform:translateZ(0);transform:translateZ(0);z-index:1;pointer-events:none}:host .picker-before{top:0;height:83px}:host .picker-before{inset-inline-start:0}:host .picker-after{top:116px;height:84px}:host .picker-after{inset-inline-start:0}:host .picker-highlight{border-radius:var(--highlight-border-radius, 8px);left:0;right:0;top:50%;bottom:0;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:0;margin-bottom:0;position:absolute;width:calc(100% - 16px);height:34px;-webkit-transform:translateY(-50%);transform:translateY(-50%);background:var(--highlight-background);z-index:-1}:host input{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;clip:rect(0 0 0 0);opacity:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none}:host ::slotted(ion-picker-column:first-of-type){text-align:start}:host ::slotted(ion-picker-column:last-of-type){text-align:end}:host ::slotted(ion-picker-column:only-child){text-align:center}:host .picker-before{background:-webkit-gradient(linear, left top, left bottom, color-stop(20%, rgba(var(--fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 1)), color-stop(90%, rgba(var(--fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 0)));background:linear-gradient(to bottom, rgba(var(--fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 1) 20%, rgba(var(--fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 0) 90%)}:host .picker-after{background:-webkit-gradient(linear, left bottom, left top, color-stop(30%, rgba(var(--fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 1)), color-stop(90%, rgba(var(--fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 0)));background:linear-gradient(to top, rgba(var(--fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 1) 30%, rgba(var(--fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 0) 90%)}";var IonPickerMdStyle0=pickerMdCss;var Picker=function(){function r(r){var t=this;registerInstance(this,r);this.ionInputModeChange=createEvent(this,"ionInputModeChange",7);this.useInputMode=false;this.isInHighlightBounds=function(r){var e=t.highlightEl;if(!e){return false}var n=e.getBoundingClientRect();var o=r.clientX<n.left||r.clientX>n.right;var i=r.clientY<n.top||r.clientY>n.bottom;if(o||i){return false}return true};this.onFocusOut=function(r){var e=r.relatedTarget;if(!e||e.tagName!=="ION-PICKER-COLUMN"&&e!==t.inputEl){t.exitInputMode()}};this.onFocusIn=function(r){var e=r.target;if(e.tagName!=="ION-PICKER-COLUMN"){return}if(!t.actionOnClick){var n=e;var o=n.numericInput;if(o){t.enterInputMode(n,false)}else{t.exitInputMode()}}};this.onClick=function(){var r=t.actionOnClick;if(r){r();t.actionOnClick=undefined}};this.onPointerDown=function(r){var e=t,n=e.useInputMode,o=e.inputModeColumn,i=e.el;if(t.isInHighlightBounds(r)){if(n){if(r.target.tagName==="ION-PICKER-COLUMN"){if(o&&o===r.target){t.actionOnClick=function(){t.enterInputMode()}}else{t.actionOnClick=function(){t.enterInputMode(r.target)}}}else{t.actionOnClick=function(){t.exitInputMode()}}}else{var a=i.querySelectorAll("ion-picker-column.picker-column-numeric-input");var c=a.length===1?r.target:undefined;t.actionOnClick=function(){t.enterInputMode(c)}}return}t.actionOnClick=function(){t.exitInputMode()}};this.enterInputMode=function(r,e){if(e===void 0){e=true}var n=t,o=n.inputEl,i=n.el;if(!o){return}var a=i.querySelector("ion-picker-column.picker-column-numeric-input");if(!a){return}t.useInputMode=true;t.inputModeColumn=r;if(e){if(t.destroyKeypressListener){t.destroyKeypressListener();t.destroyKeypressListener=undefined}o.focus()}else{i.addEventListener("keypress",t.onKeyPress);t.destroyKeypressListener=function(){i.removeEventListener("keypress",t.onKeyPress)}}t.emitInputModeChange()};this.onKeyPress=function(r){var e=t.inputEl;if(!e){return}var n=parseInt(r.key,10);if(!Number.isNaN(n)){e.value+=r.key;t.onInputChange()}};this.selectSingleColumn=function(){var r=t,e=r.inputEl,n=r.inputModeColumn,o=r.singleColumnSearchTimeout;if(!e||!n){return}var i=Array.from(n.querySelectorAll("ion-picker-column-option")).filter((function(r){return r.disabled!==true}));if(o){clearTimeout(o)}t.singleColumnSearchTimeout=setTimeout((function(){e.value="";t.singleColumnSearchTimeout=undefined}),1e3);if(e.value.length>=3){var a=e.value.length-2;var c=e.value.substring(a);e.value=c;t.selectSingleColumn();return}var s=i.find((function(r){var t=r.textContent;var n=t.replace(/^0+(?=[1-9])|0+(?=0$)/,"");return n===e.value}));if(s){n.setValue(s.value);return}if(e.value.length===2){var u=e.value.substring(e.value.length-1);e.value=u;t.selectSingleColumn()}};this.searchColumn=function(r,t,e){if(e===void 0){e="start"}var n=e==="start"?/^0+/:/0$/;var o=Array.from(r.querySelectorAll("ion-picker-column-option")).find((function(r){return r.disabled!==true&&r.textContent.replace(n,"")===t}));if(o){r.setValue(o.value)}};this.selectMultiColumn=function(){var r=t,e=r.inputEl,n=r.el;if(!e){return}var o=Array.from(n.querySelectorAll("ion-picker-column")).filter((function(r){return r.numericInput}));var i=o[0];var a=o[1];var c=e.value;var s;switch(c.length){case 1:t.searchColumn(i,c);break;case 2:var u=e.value.substring(0,1);c=u==="0"||u==="1"?e.value:u;t.searchColumn(i,c);if(c.length===1){s=e.value.substring(e.value.length-1);t.searchColumn(a,s,"end")}break;case 3:var g=e.value.substring(0,1);c=g==="0"||g==="1"?e.value.substring(0,2):g;t.searchColumn(i,c);s=c.length===1?e.value.substring(1):e.value.substring(2);t.searchColumn(a,s,"end");break;case 4:var d=e.value.substring(0,1);c=d==="0"||d==="1"?e.value.substring(0,2):d;t.searchColumn(i,c);var b=c.length===1?e.value.substring(1,e.value.length):e.value.substring(2,e.value.length);t.searchColumn(a,b,"end");break;default:var f=e.value.length-4;var l=e.value.substring(f);e.value=l;t.selectMultiColumn();break}};this.onInputChange=function(){var r=t,e=r.useInputMode,n=r.inputEl,o=r.inputModeColumn;if(!e||!n){return}if(o){t.selectSingleColumn()}else{t.selectMultiColumn()}};this.emitInputModeChange=function(){var r=t,e=r.useInputMode,n=r.inputModeColumn;t.ionInputModeChange.emit({useInputMode:e,inputModeColumn:n})}}r.prototype.preventTouchStartPropagation=function(r){r.stopPropagation()};r.prototype.componentWillLoad=function(){getElementRoot(this.el).addEventListener("focusin",this.onFocusIn);getElementRoot(this.el).addEventListener("focusout",this.onFocusOut)};r.prototype.exitInputMode=function(){return __awaiter(this,void 0,void 0,(function(){var r,t,e;return __generator(this,(function(n){r=this,t=r.inputEl,e=r.useInputMode;if(!e||!t){return[2]}this.useInputMode=false;this.inputModeColumn=undefined;t.blur();t.value="";if(this.destroyKeypressListener){this.destroyKeypressListener();this.destroyKeypressListener=undefined}this.emitInputModeChange();return[2]}))}))};r.prototype.render=function(){var r=this;return h(Host,{key:"02b0687b1f80ba295a965dfba76dd59e2d1de5d3",onPointerDown:function(t){return r.onPointerDown(t)},onClick:function(){return r.onClick()}},h("input",{key:"f83ed84bcf9e02539c00d8a4e63e6a0d7fc4ac71","aria-hidden":"true",tabindex:-1,inputmode:"numeric",type:"number",onKeyDown:function(t){var e;if(t.key==="Enter"){(e=r.inputEl)===null||e===void 0?void 0:e.blur()}},ref:function(t){return r.inputEl=t},onInput:function(){return r.onInputChange()},onBlur:function(){return r.exitInputMode()}}),h("div",{key:"45b07fb0617d8e006712776bf78302288edb3ff4",class:"picker-before"}),h("div",{key:"73009229368e0d62b09c913aacade26f068a7aa9",class:"picker-after"}),h("div",{key:"b73da00e446cd1cfd511c39212e14a00d355752e",class:"picker-highlight",ref:function(t){return r.highlightEl=t}}),h("slot",{key:"d969f5efc5ddb9eda6c4828702efd1ceeb69f767"}))};Object.defineProperty(r.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});return r}();Picker.style={ios:IonPickerIosStyle0,md:IonPickerMdStyle0};export{Picker as ion_picker};