@ionic/core 8.4.4-dev.11741101920.155e1c29 → 8.4.4-dev.11741136034.11909e03

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 (516) hide show
  1. package/components/alert.js +25 -4
  2. package/components/checkbox.js +4 -6
  3. package/components/helpers.js +11 -1
  4. package/components/index6.js +3 -11
  5. package/components/index9.js +1 -1
  6. package/components/ion-item-divider.js +2 -2
  7. package/components/ion-item-group.js +1 -1
  8. package/components/ion-item-option.js +2 -2
  9. package/components/ion-item-options.js +1 -1
  10. package/components/ion-item-sliding.js +1 -1
  11. package/components/ion-loading.js +2 -2
  12. package/components/ion-menu-button.js +2 -2
  13. package/components/ion-menu-toggle.js +2 -2
  14. package/components/ion-menu.js +2 -2
  15. package/components/ion-nav-link.js +1 -1
  16. package/components/ion-nav.js +1 -1
  17. package/components/ion-note.js +2 -2
  18. package/components/ion-picker-legacy.js +2 -2
  19. package/components/ion-progress-bar.js +1 -1
  20. package/components/ion-range.js +3 -3
  21. package/components/ion-refresher-content.js +1 -1
  22. package/components/ion-refresher.js +1 -1
  23. package/components/ion-reorder-group.js +1 -1
  24. package/components/ion-reorder.js +1 -1
  25. package/components/ion-router-link.js +2 -2
  26. package/components/ion-router-outlet.js +1 -1
  27. package/components/ion-row.js +1 -1
  28. package/components/ion-searchbar.js +4 -4
  29. package/components/ion-segment-button.js +40 -9
  30. package/components/ion-segment-content.js +1 -1
  31. package/components/ion-segment-view.js +2 -2
  32. package/components/ion-segment.js +2 -2
  33. package/components/ion-select-option.js +1 -1
  34. package/components/ion-select.js +4 -6
  35. package/components/ion-skeleton-text.js +2 -2
  36. package/components/ion-split-pane.js +2 -2
  37. package/components/ion-tab-bar.js +2 -2
  38. package/components/ion-tab-button.js +2 -2
  39. package/components/ion-tab.js +2 -2
  40. package/components/ion-tabs.js +1 -1
  41. package/components/ion-text.js +2 -2
  42. package/components/ion-textarea.js +2 -2
  43. package/components/ion-thumbnail.js +1 -1
  44. package/components/ion-toast.js +2 -2
  45. package/components/ion-toggle.js +4 -6
  46. package/components/label.js +2 -2
  47. package/components/list-header.js +2 -2
  48. package/components/modal.js +35 -259
  49. package/components/picker-column-option.js +2 -2
  50. package/components/picker-column2.js +2 -2
  51. package/components/popover.js +2 -2
  52. package/components/radio-group.js +2 -39
  53. package/components/radio.js +3 -3
  54. package/components/ripple-effect.js +1 -1
  55. package/components/select-modal.js +1 -1
  56. package/components/select-popover.js +1 -1
  57. package/components/spinner.js +1 -1
  58. package/components/title.js +2 -2
  59. package/components/toolbar.js +2 -2
  60. package/css/core.css.map +1 -1
  61. package/css/ionic.bundle.css.map +1 -1
  62. package/dist/cjs/{data-108e531d.js → data-21dc0f81.js} +1 -1
  63. package/dist/cjs/{framework-delegate-55f5683a.js → framework-delegate-05579976.js} +1 -1
  64. package/dist/cjs/{helpers-afaa9001.js → helpers-4be3f90d.js} +11 -0
  65. package/dist/cjs/{index-3652c918.js → index-1ae3f40a.js} +2 -2
  66. package/dist/cjs/{index-e975c92b.js → index-4e14a46e.js} +4 -4
  67. package/dist/cjs/{index-2a46a047.js → index-5915f9b3.js} +3 -11
  68. package/dist/cjs/{index-9509ecad.js → index-ad7a712e.js} +1 -1
  69. package/dist/cjs/{index-0d762bba.js → index-c441c903.js} +2 -2
  70. package/dist/cjs/index.cjs.js +8 -8
  71. package/dist/cjs/{input-shims-cd05268a.js → input-shims-e748a364.js} +3 -5
  72. package/dist/cjs/{input.utils-ffb2f81b.js → input.utils-74e4ec28.js} +2 -2
  73. package/dist/cjs/ion-accordion_2.cjs.entry.js +2 -2
  74. package/dist/cjs/ion-action-sheet.cjs.entry.js +4 -4
  75. package/dist/cjs/ion-alert.cjs.entry.js +29 -8
  76. package/dist/cjs/ion-app_8.cjs.entry.js +14 -14
  77. package/dist/cjs/ion-avatar_3.cjs.entry.js +1 -1
  78. package/dist/cjs/ion-back-button.cjs.entry.js +1 -1
  79. package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +1 -1
  80. package/dist/cjs/ion-button_2.cjs.entry.js +2 -2
  81. package/dist/cjs/ion-card_5.cjs.entry.js +1 -1
  82. package/dist/cjs/ion-checkbox.cjs.entry.js +5 -6
  83. package/dist/cjs/ion-col_3.cjs.entry.js +1 -1
  84. package/dist/cjs/ion-datetime-button.cjs.entry.js +3 -3
  85. package/dist/cjs/ion-datetime_3.cjs.entry.js +9 -9
  86. package/dist/cjs/ion-fab_3.cjs.entry.js +1 -1
  87. package/dist/cjs/ion-img.cjs.entry.js +1 -1
  88. package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +3 -3
  89. package/dist/cjs/ion-input-password-toggle.cjs.entry.js +1 -1
  90. package/dist/cjs/ion-input.cjs.entry.js +4 -4
  91. package/dist/cjs/ion-item-option_3.cjs.entry.js +7 -7
  92. package/dist/cjs/ion-item_8.cjs.entry.js +12 -12
  93. package/dist/cjs/ion-loading.cjs.entry.js +6 -6
  94. package/dist/cjs/ion-menu_3.cjs.entry.js +11 -11
  95. package/dist/cjs/ion-modal.cjs.entry.js +41 -264
  96. package/dist/cjs/ion-nav_2.cjs.entry.js +7 -7
  97. package/dist/cjs/ion-picker-column-option.cjs.entry.js +3 -3
  98. package/dist/cjs/ion-picker-column.cjs.entry.js +1 -1
  99. package/dist/cjs/ion-picker.cjs.entry.js +1 -1
  100. package/dist/cjs/ion-popover.cjs.entry.js +7 -7
  101. package/dist/cjs/ion-progress-bar.cjs.entry.js +2 -2
  102. package/dist/cjs/ion-radio_2.cjs.entry.js +5 -40
  103. package/dist/cjs/ion-range.cjs.entry.js +6 -6
  104. package/dist/cjs/ion-refresher_2.cjs.entry.js +5 -5
  105. package/dist/cjs/ion-reorder_2.cjs.entry.js +5 -5
  106. package/dist/cjs/ion-ripple-effect.cjs.entry.js +1 -1
  107. package/dist/cjs/ion-route_4.cjs.entry.js +3 -3
  108. package/dist/cjs/ion-searchbar.cjs.entry.js +5 -5
  109. package/dist/cjs/ion-segment-content.cjs.entry.js +1 -1
  110. package/dist/cjs/ion-segment-view.cjs.entry.js +2 -2
  111. package/dist/cjs/ion-segment_2.cjs.entry.js +42 -11
  112. package/dist/cjs/ion-select-modal.cjs.entry.js +5 -5
  113. package/dist/cjs/ion-select_3.cjs.entry.js +11 -12
  114. package/dist/cjs/ion-spinner.cjs.entry.js +1 -1
  115. package/dist/cjs/ion-split-pane.cjs.entry.js +2 -2
  116. package/dist/cjs/ion-tab-bar_2.cjs.entry.js +5 -5
  117. package/dist/cjs/ion-tab_2.cjs.entry.js +5 -5
  118. package/dist/cjs/ion-text.cjs.entry.js +2 -2
  119. package/dist/cjs/ion-textarea.cjs.entry.js +6 -6
  120. package/dist/cjs/ion-toast.cjs.entry.js +6 -6
  121. package/dist/cjs/ion-toggle.cjs.entry.js +5 -6
  122. package/dist/cjs/ionic.cjs.js +1 -1
  123. package/dist/cjs/{ios.transition-0e664e88.js → ios.transition-afdec89f.js} +3 -3
  124. package/dist/cjs/loader.cjs.js +1 -1
  125. package/dist/cjs/{md.transition-2e8aef2c.js → md.transition-9f0d3db5.js} +3 -3
  126. package/dist/cjs/{notch-controller-d69150f5.js → notch-controller-a0c464d1.js} +1 -1
  127. package/dist/cjs/{overlays-65fdaff6.js → overlays-76b29cd4.js} +3 -3
  128. package/dist/cjs/{status-tap-d74f1429.js → status-tap-fb807fad.js} +3 -4
  129. package/dist/cjs/{swipe-back-0303a5e4.js → swipe-back-47a52b83.js} +1 -1
  130. package/dist/collection/components/alert/alert.js +29 -4
  131. package/dist/collection/components/checkbox/checkbox.js +4 -23
  132. package/dist/collection/components/item-divider/item-divider.js +2 -2
  133. package/dist/collection/components/item-group/item-group.js +1 -1
  134. package/dist/collection/components/item-option/item-option.js +2 -2
  135. package/dist/collection/components/item-options/item-options.js +1 -1
  136. package/dist/collection/components/item-sliding/item-sliding.js +1 -1
  137. package/dist/collection/components/label/label.js +2 -2
  138. package/dist/collection/components/list-header/list-header.js +2 -2
  139. package/dist/collection/components/loading/loading.js +2 -2
  140. package/dist/collection/components/menu/menu.js +2 -2
  141. package/dist/collection/components/menu-button/menu-button.js +2 -2
  142. package/dist/collection/components/menu-toggle/menu-toggle.js +2 -2
  143. package/dist/collection/components/modal/animations/ios.enter.js +4 -50
  144. package/dist/collection/components/modal/animations/ios.leave.js +2 -24
  145. package/dist/collection/components/modal/animations/md.enter.js +5 -52
  146. package/dist/collection/components/modal/animations/md.leave.js +3 -26
  147. package/dist/collection/components/modal/animations/sheet.js +2 -11
  148. package/dist/collection/components/modal/gestures/sheet.js +10 -79
  149. package/dist/collection/components/modal/modal.ios.css +0 -16
  150. package/dist/collection/components/modal/modal.js +7 -32
  151. package/dist/collection/components/modal/modal.md.css +0 -6
  152. package/dist/collection/components/nav/nav.js +1 -1
  153. package/dist/collection/components/nav-link/nav-link.js +1 -1
  154. package/dist/collection/components/note/note.js +2 -2
  155. package/dist/collection/components/picker-column-option/picker-column-option.js +2 -2
  156. package/dist/collection/components/picker-legacy/picker.js +2 -2
  157. package/dist/collection/components/picker-legacy-column/picker-column.js +2 -2
  158. package/dist/collection/components/popover/popover.js +2 -2
  159. package/dist/collection/components/progress-bar/progress-bar.js +1 -1
  160. package/dist/collection/components/radio/radio.js +3 -3
  161. package/dist/collection/components/radio-group/radio-group.js +1 -72
  162. package/dist/collection/components/range/range.js +3 -3
  163. package/dist/collection/components/refresher/refresher.js +1 -1
  164. package/dist/collection/components/refresher-content/refresher-content.js +1 -1
  165. package/dist/collection/components/reorder/reorder.js +1 -1
  166. package/dist/collection/components/reorder-group/reorder-group.js +1 -1
  167. package/dist/collection/components/ripple-effect/ripple-effect.js +1 -1
  168. package/dist/collection/components/router-link/router-link.js +2 -2
  169. package/dist/collection/components/router-outlet/router-outlet.js +1 -1
  170. package/dist/collection/components/row/row.js +1 -1
  171. package/dist/collection/components/searchbar/searchbar.js +4 -4
  172. package/dist/collection/components/segment/segment.js +2 -2
  173. package/dist/collection/components/segment-button/segment-button.js +40 -9
  174. package/dist/collection/components/segment-content/segment-content.js +1 -1
  175. package/dist/collection/components/segment-view/segment-view.js +2 -2
  176. package/dist/collection/components/select/select.js +4 -23
  177. package/dist/collection/components/select-modal/select-modal.js +1 -1
  178. package/dist/collection/components/select-option/select-option.js +1 -1
  179. package/dist/collection/components/select-popover/select-popover.js +1 -1
  180. package/dist/collection/components/skeleton-text/skeleton-text.js +2 -2
  181. package/dist/collection/components/spinner/spinner.js +1 -1
  182. package/dist/collection/components/split-pane/split-pane.js +2 -2
  183. package/dist/collection/components/tab/tab.js +2 -2
  184. package/dist/collection/components/tab-bar/tab-bar.js +2 -2
  185. package/dist/collection/components/tab-button/tab-button.js +2 -2
  186. package/dist/collection/components/tabs/tabs.js +1 -1
  187. package/dist/collection/components/text/text.js +2 -2
  188. package/dist/collection/components/textarea/textarea.js +2 -2
  189. package/dist/collection/components/thumbnail/thumbnail.js +1 -1
  190. package/dist/collection/components/title/title.js +2 -2
  191. package/dist/collection/components/toast/toast.js +2 -2
  192. package/dist/collection/components/toggle/toggle.js +4 -23
  193. package/dist/collection/components/toolbar/toolbar.js +2 -6
  194. package/dist/collection/utils/helpers.js +10 -0
  195. package/dist/collection/utils/logging/index.js +3 -10
  196. package/dist/docs.json +6 -163
  197. package/dist/esm/{data-b3284b5e.js → data-ae11fd43.js} +1 -1
  198. package/dist/esm/{framework-delegate-63d1a679.js → framework-delegate-f683816e.js} +1 -1
  199. package/dist/esm/{helpers-da915de8.js → helpers-9b49d7d2.js} +11 -1
  200. package/dist/esm/{index-efb8ecdf.js → index-33f7e3ff.js} +2 -2
  201. package/dist/esm/{index-79b30591.js → index-5a0f5fd0.js} +1 -1
  202. package/dist/esm/{index-2f7fde3d.js → index-7ec5519a.js} +4 -4
  203. package/dist/esm/{index-cb21eccb.js → index-8785a9c6.js} +2 -2
  204. package/dist/esm/{index-6ad967f3.js → index-9b0d46f4.js} +3 -11
  205. package/dist/esm/index.js +8 -8
  206. package/dist/esm/{input-shims-2fd7c6ef.js → input-shims-0e65111b.js} +3 -5
  207. package/dist/esm/{input.utils-961c9f17.js → input.utils-1ad8dafc.js} +2 -2
  208. package/dist/esm/ion-accordion_2.entry.js +2 -2
  209. package/dist/esm/ion-action-sheet.entry.js +4 -4
  210. package/dist/esm/ion-alert.entry.js +29 -8
  211. package/dist/esm/ion-app_8.entry.js +14 -14
  212. package/dist/esm/ion-avatar_3.entry.js +1 -1
  213. package/dist/esm/ion-back-button.entry.js +1 -1
  214. package/dist/esm/ion-breadcrumb_2.entry.js +1 -1
  215. package/dist/esm/ion-button_2.entry.js +2 -2
  216. package/dist/esm/ion-card_5.entry.js +1 -1
  217. package/dist/esm/ion-checkbox.entry.js +5 -6
  218. package/dist/esm/ion-col_3.entry.js +1 -1
  219. package/dist/esm/ion-datetime-button.entry.js +3 -3
  220. package/dist/esm/ion-datetime_3.entry.js +9 -9
  221. package/dist/esm/ion-fab_3.entry.js +1 -1
  222. package/dist/esm/ion-img.entry.js +1 -1
  223. package/dist/esm/ion-infinite-scroll_2.entry.js +3 -3
  224. package/dist/esm/ion-input-password-toggle.entry.js +1 -1
  225. package/dist/esm/ion-input.entry.js +4 -4
  226. package/dist/esm/ion-item-option_3.entry.js +7 -7
  227. package/dist/esm/ion-item_8.entry.js +12 -12
  228. package/dist/esm/ion-loading.entry.js +6 -6
  229. package/dist/esm/ion-menu_3.entry.js +11 -11
  230. package/dist/esm/ion-modal.entry.js +41 -264
  231. package/dist/esm/ion-nav_2.entry.js +7 -7
  232. package/dist/esm/ion-picker-column-option.entry.js +3 -3
  233. package/dist/esm/ion-picker-column.entry.js +1 -1
  234. package/dist/esm/ion-picker.entry.js +1 -1
  235. package/dist/esm/ion-popover.entry.js +7 -7
  236. package/dist/esm/ion-progress-bar.entry.js +2 -2
  237. package/dist/esm/ion-radio_2.entry.js +5 -40
  238. package/dist/esm/ion-range.entry.js +6 -6
  239. package/dist/esm/ion-refresher_2.entry.js +5 -5
  240. package/dist/esm/ion-reorder_2.entry.js +5 -5
  241. package/dist/esm/ion-ripple-effect.entry.js +1 -1
  242. package/dist/esm/ion-route_4.entry.js +3 -3
  243. package/dist/esm/ion-searchbar.entry.js +5 -5
  244. package/dist/esm/ion-segment-content.entry.js +1 -1
  245. package/dist/esm/ion-segment-view.entry.js +2 -2
  246. package/dist/esm/ion-segment_2.entry.js +42 -11
  247. package/dist/esm/ion-select-modal.entry.js +5 -5
  248. package/dist/esm/ion-select_3.entry.js +11 -12
  249. package/dist/esm/ion-spinner.entry.js +1 -1
  250. package/dist/esm/ion-split-pane.entry.js +2 -2
  251. package/dist/esm/ion-tab-bar_2.entry.js +5 -5
  252. package/dist/esm/ion-tab_2.entry.js +5 -5
  253. package/dist/esm/ion-text.entry.js +2 -2
  254. package/dist/esm/ion-textarea.entry.js +6 -6
  255. package/dist/esm/ion-toast.entry.js +6 -6
  256. package/dist/esm/ion-toggle.entry.js +5 -6
  257. package/dist/esm/ionic.js +1 -1
  258. package/dist/esm/{ios.transition-b1da3753.js → ios.transition-085853ff.js} +3 -3
  259. package/dist/esm/loader.js +1 -1
  260. package/dist/esm/{md.transition-571b3859.js → md.transition-33826623.js} +3 -3
  261. package/dist/esm/{notch-controller-55b09e11.js → notch-controller-3dc61260.js} +1 -1
  262. package/dist/esm/{overlays-5deab4de.js → overlays-e3d0d356.js} +3 -3
  263. package/dist/esm/{status-tap-79eac0ac.js → status-tap-163e8128.js} +3 -4
  264. package/dist/esm/{swipe-back-e5394307.js → swipe-back-23ee7ab1.js} +1 -1
  265. package/dist/esm-es5/{data-b3284b5e.js → data-ae11fd43.js} +1 -1
  266. package/dist/esm-es5/{framework-delegate-63d1a679.js → framework-delegate-f683816e.js} +1 -1
  267. package/dist/esm-es5/{helpers-da915de8.js → helpers-9b49d7d2.js} +1 -1
  268. package/dist/esm-es5/{index-efb8ecdf.js → index-33f7e3ff.js} +1 -1
  269. package/dist/esm-es5/{index-79b30591.js → index-5a0f5fd0.js} +1 -1
  270. package/dist/esm-es5/{index-2f7fde3d.js → index-7ec5519a.js} +1 -1
  271. package/dist/esm-es5/{index-cb21eccb.js → index-8785a9c6.js} +1 -1
  272. package/dist/esm-es5/index-9b0d46f4.js +4 -0
  273. package/dist/esm-es5/index.js +1 -1
  274. package/dist/esm-es5/input-shims-0e65111b.js +4 -0
  275. package/dist/esm-es5/{input.utils-961c9f17.js → input.utils-1ad8dafc.js} +1 -1
  276. package/dist/esm-es5/ion-accordion_2.entry.js +1 -1
  277. package/dist/esm-es5/ion-action-sheet.entry.js +1 -1
  278. package/dist/esm-es5/ion-alert.entry.js +1 -1
  279. package/dist/esm-es5/ion-app_8.entry.js +1 -1
  280. package/dist/esm-es5/ion-avatar_3.entry.js +1 -1
  281. package/dist/esm-es5/ion-back-button.entry.js +1 -1
  282. package/dist/esm-es5/ion-breadcrumb_2.entry.js +1 -1
  283. package/dist/esm-es5/ion-button_2.entry.js +1 -1
  284. package/dist/esm-es5/ion-card_5.entry.js +1 -1
  285. package/dist/esm-es5/ion-checkbox.entry.js +1 -1
  286. package/dist/esm-es5/ion-col_3.entry.js +1 -1
  287. package/dist/esm-es5/ion-datetime-button.entry.js +1 -1
  288. package/dist/esm-es5/ion-datetime_3.entry.js +1 -1
  289. package/dist/esm-es5/ion-fab_3.entry.js +1 -1
  290. package/dist/esm-es5/ion-img.entry.js +1 -1
  291. package/dist/esm-es5/ion-infinite-scroll_2.entry.js +1 -1
  292. package/dist/esm-es5/ion-input-password-toggle.entry.js +1 -1
  293. package/dist/esm-es5/ion-input.entry.js +1 -1
  294. package/dist/esm-es5/ion-item-option_3.entry.js +1 -1
  295. package/dist/esm-es5/ion-item_8.entry.js +1 -1
  296. package/dist/esm-es5/ion-loading.entry.js +1 -1
  297. package/dist/esm-es5/ion-menu_3.entry.js +1 -1
  298. package/dist/esm-es5/ion-modal.entry.js +1 -1
  299. package/dist/esm-es5/ion-nav_2.entry.js +1 -1
  300. package/dist/esm-es5/ion-picker-column-option.entry.js +1 -1
  301. package/dist/esm-es5/ion-picker-column.entry.js +1 -1
  302. package/dist/esm-es5/ion-picker.entry.js +1 -1
  303. package/dist/esm-es5/ion-popover.entry.js +1 -1
  304. package/dist/esm-es5/ion-progress-bar.entry.js +1 -1
  305. package/dist/esm-es5/ion-radio_2.entry.js +1 -1
  306. package/dist/esm-es5/ion-range.entry.js +1 -1
  307. package/dist/esm-es5/ion-refresher_2.entry.js +1 -1
  308. package/dist/esm-es5/ion-reorder_2.entry.js +1 -1
  309. package/dist/esm-es5/ion-ripple-effect.entry.js +1 -1
  310. package/dist/esm-es5/ion-route_4.entry.js +1 -1
  311. package/dist/esm-es5/ion-searchbar.entry.js +1 -1
  312. package/dist/esm-es5/ion-segment-content.entry.js +1 -1
  313. package/dist/esm-es5/ion-segment-view.entry.js +1 -1
  314. package/dist/esm-es5/ion-segment_2.entry.js +1 -1
  315. package/dist/esm-es5/ion-select-modal.entry.js +1 -1
  316. package/dist/esm-es5/ion-select_3.entry.js +1 -1
  317. package/dist/esm-es5/ion-spinner.entry.js +1 -1
  318. package/dist/esm-es5/ion-split-pane.entry.js +1 -1
  319. package/dist/esm-es5/ion-tab-bar_2.entry.js +1 -1
  320. package/dist/esm-es5/ion-tab_2.entry.js +1 -1
  321. package/dist/esm-es5/ion-text.entry.js +1 -1
  322. package/dist/esm-es5/ion-textarea.entry.js +1 -1
  323. package/dist/esm-es5/ion-toast.entry.js +1 -1
  324. package/dist/esm-es5/ion-toggle.entry.js +1 -1
  325. package/dist/esm-es5/ionic.js +1 -1
  326. package/dist/esm-es5/{ios.transition-b1da3753.js → ios.transition-085853ff.js} +1 -1
  327. package/dist/esm-es5/loader.js +1 -1
  328. package/dist/esm-es5/md.transition-33826623.js +4 -0
  329. package/dist/esm-es5/{notch-controller-55b09e11.js → notch-controller-3dc61260.js} +1 -1
  330. package/dist/esm-es5/{overlays-5deab4de.js → overlays-e3d0d356.js} +1 -1
  331. package/dist/esm-es5/status-tap-163e8128.js +4 -0
  332. package/dist/esm-es5/{swipe-back-e5394307.js → swipe-back-23ee7ab1.js} +1 -1
  333. package/dist/html.html-data.json +0 -24
  334. package/dist/ionic/index.esm.js +1 -1
  335. package/dist/ionic/ionic.esm.js +1 -1
  336. package/dist/ionic/{p-f1c4dcd4.js → p-02e1ebd9.js} +1 -1
  337. package/dist/ionic/{p-27d29df8.entry.js → p-02e23f26.entry.js} +1 -1
  338. package/dist/ionic/{p-4b4f4a4c.entry.js → p-0397811d.entry.js} +1 -1
  339. package/dist/ionic/p-06fee233.js +4 -0
  340. package/dist/ionic/p-075a94bd.js +4 -0
  341. package/dist/ionic/p-0a59f4fa.entry.js +4 -0
  342. package/dist/ionic/{p-2346ab53.system.entry.js → p-0c9b6d3a.system.entry.js} +1 -1
  343. package/dist/ionic/p-0e43be1b.entry.js +4 -0
  344. package/dist/ionic/{p-7ed1657c.system.entry.js → p-0eb2553a.system.entry.js} +1 -1
  345. package/dist/ionic/p-0ee3b5a2.system.js +4 -0
  346. package/dist/ionic/p-135e5731.js +4 -0
  347. package/dist/ionic/{p-b6efeab8.js → p-13dc21b0.js} +1 -1
  348. package/dist/ionic/{p-7a6eaf9e.entry.js → p-14143257.entry.js} +1 -1
  349. package/dist/ionic/p-14be4015.entry.js +4 -0
  350. package/dist/ionic/{p-248318e0.system.entry.js → p-162c8d0c.system.entry.js} +1 -1
  351. package/dist/ionic/{p-7af3d1e8.system.entry.js → p-16799667.system.entry.js} +1 -1
  352. package/dist/ionic/p-16bfb979.system.entry.js +4 -0
  353. package/dist/ionic/{p-a88dec0d.system.js → p-1a790eef.system.js} +2 -2
  354. package/dist/ionic/{p-d8d15f9b.system.entry.js → p-1bbe8665.system.entry.js} +2 -2
  355. package/dist/ionic/{p-5d0c6c4d.system.entry.js → p-1bc65aec.system.entry.js} +1 -1
  356. package/dist/ionic/p-1f405274.js +4 -0
  357. package/dist/ionic/{p-120fb79a.entry.js → p-203633d1.entry.js} +1 -1
  358. package/dist/ionic/{p-e0a6dc45.system.entry.js → p-2507278c.system.entry.js} +1 -1
  359. package/dist/ionic/{p-f658c74e.system.entry.js → p-2515cb4d.system.entry.js} +1 -1
  360. package/dist/ionic/p-25fa1d30.system.entry.js +4 -0
  361. package/dist/ionic/{p-40b5455f.entry.js → p-26194519.entry.js} +1 -1
  362. package/dist/ionic/p-265939f0.entry.js +4 -0
  363. package/dist/ionic/{p-e9ddf8fe.system.entry.js → p-2abae1cc.system.entry.js} +1 -1
  364. package/dist/ionic/{p-34b11c24.js → p-2bc73fb5.js} +1 -1
  365. package/dist/ionic/p-2c8798d0.entry.js +4 -0
  366. package/dist/ionic/p-2c9eb774.system.js +4 -0
  367. package/dist/ionic/{p-a3a1d721.system.entry.js → p-2ef3c7ee.system.entry.js} +1 -1
  368. package/dist/ionic/p-322c5fb4.system.js +1 -1
  369. package/dist/ionic/{p-51030d96.entry.js → p-32e99b0a.entry.js} +1 -1
  370. package/dist/ionic/{p-c4238c12.system.js → p-340e3f24.system.js} +1 -1
  371. package/dist/ionic/{p-a090bce8.system.entry.js → p-3572f86a.system.entry.js} +1 -1
  372. package/dist/ionic/{p-0ef6abb0.system.entry.js → p-3df889b3.system.entry.js} +1 -1
  373. package/dist/ionic/{p-05b74e45.system.entry.js → p-3eaf1444.system.entry.js} +1 -1
  374. package/dist/ionic/{p-4e6a6eca.entry.js → p-41780810.entry.js} +1 -1
  375. package/dist/ionic/{p-5cc9314d.system.entry.js → p-424eb140.system.entry.js} +1 -1
  376. package/dist/ionic/{p-1ab13b2b.js → p-42808996.js} +1 -1
  377. package/dist/ionic/{p-5e0df4c8.system.entry.js → p-4346c79d.system.entry.js} +1 -1
  378. package/dist/ionic/{p-a15ddedb.system.js → p-4452a8ac.system.js} +1 -1
  379. package/dist/ionic/{p-b1eb86fd.entry.js → p-45de8d2a.entry.js} +1 -1
  380. package/dist/ionic/{p-8ac07653.system.entry.js → p-48a8d9b4.system.entry.js} +2 -2
  381. package/dist/ionic/p-49a0e74c.entry.js +4 -0
  382. package/dist/ionic/{p-52d7a191.entry.js → p-4ad78edc.entry.js} +1 -1
  383. package/dist/ionic/{p-1e6d7da3.entry.js → p-4c252070.entry.js} +1 -1
  384. package/dist/ionic/p-4e131759.entry.js +4 -0
  385. package/dist/ionic/{p-19ea7bff.system.js → p-5126cf1e.system.js} +1 -1
  386. package/dist/ionic/{p-cb13696c.js → p-51dec25d.js} +1 -1
  387. package/dist/ionic/{p-933727f9.system.entry.js → p-561ddcd4.system.entry.js} +2 -2
  388. package/dist/ionic/p-56da53ad.system.entry.js +4 -0
  389. package/dist/ionic/{p-948e6c6a.entry.js → p-57379000.entry.js} +1 -1
  390. package/dist/ionic/{p-e75295c8.entry.js → p-57ceead7.entry.js} +1 -1
  391. package/dist/ionic/{p-b1f885df.entry.js → p-5b932840.entry.js} +1 -1
  392. package/dist/ionic/{p-15d18206.entry.js → p-5cde8ef3.entry.js} +1 -1
  393. package/dist/ionic/p-6190d0d6.entry.js +4 -0
  394. package/dist/ionic/p-61d044b4.entry.js +4 -0
  395. package/dist/ionic/{p-1c934892.entry.js → p-62af944c.entry.js} +1 -1
  396. package/dist/ionic/p-68dc53a5.js +4 -0
  397. package/dist/ionic/{p-bd5f29ea.entry.js → p-6b1bd0c1.entry.js} +1 -1
  398. package/dist/ionic/{p-fd6cff12.entry.js → p-6d32975a.entry.js} +1 -1
  399. package/dist/ionic/{p-33c9f005.system.entry.js → p-70ccc275.system.entry.js} +2 -2
  400. package/dist/ionic/{p-f2a72b24.entry.js → p-73dc4950.entry.js} +1 -1
  401. package/dist/ionic/{p-f8e37d24.system.entry.js → p-7458862e.system.entry.js} +1 -1
  402. package/dist/ionic/{p-7895d719.entry.js → p-76446a85.entry.js} +1 -1
  403. package/dist/ionic/{p-55d16109.system.entry.js → p-77e7b7b6.system.entry.js} +1 -1
  404. package/dist/ionic/{p-72812e99.js → p-7a1766d6.js} +1 -1
  405. package/dist/ionic/{p-542a569d.system.entry.js → p-7b96e5c1.system.entry.js} +1 -1
  406. package/dist/ionic/{p-8e5dbf2b.entry.js → p-7b98cebe.entry.js} +1 -1
  407. package/dist/ionic/{p-5d93d251.entry.js → p-803f0bc2.entry.js} +1 -1
  408. package/dist/ionic/p-82b931e2.entry.js +4 -0
  409. package/dist/ionic/{p-f907406b.entry.js → p-83e68c71.entry.js} +1 -1
  410. package/dist/ionic/{p-1e67b266.system.entry.js → p-84d08aae.system.entry.js} +1 -1
  411. package/dist/ionic/{p-d22e2a38.system.js → p-881d9e52.system.js} +1 -1
  412. package/dist/ionic/p-8a836849.entry.js +4 -0
  413. package/dist/ionic/{p-e09d6392.system.entry.js → p-91f17b25.system.entry.js} +2 -2
  414. package/dist/ionic/{p-cd7ffa67.system.entry.js → p-92365bc1.system.entry.js} +1 -1
  415. package/dist/ionic/{p-d7aa6b00.entry.js → p-955c3eb8.entry.js} +1 -1
  416. package/dist/ionic/{p-bf63d4b2.entry.js → p-95775830.entry.js} +1 -1
  417. package/dist/ionic/{p-8635f5e6.system.js → p-95da3ae2.system.js} +1 -1
  418. package/dist/ionic/{p-39164acf.system.entry.js → p-9a1f985d.system.entry.js} +1 -1
  419. package/dist/ionic/{p-b9d7015f.entry.js → p-9b3bb24e.entry.js} +1 -1
  420. package/dist/ionic/{p-d2203d60.system.entry.js → p-9be5f3ee.system.entry.js} +2 -2
  421. package/dist/ionic/{p-5c08627a.system.js → p-9eee4de1.system.js} +1 -1
  422. package/dist/ionic/{p-7de1e42c.system.js → p-a2b6dd57.system.js} +1 -1
  423. package/dist/ionic/{p-62f648c8.system.entry.js → p-a3c78186.system.entry.js} +1 -1
  424. package/dist/ionic/{p-37495da1.system.entry.js → p-a4575db1.system.entry.js} +1 -1
  425. package/dist/ionic/{p-01186920.system.entry.js → p-a9e24ae2.system.entry.js} +1 -1
  426. package/dist/ionic/{p-0eb35a7f.system.js → p-aa63b365.system.js} +1 -1
  427. package/dist/ionic/{p-abf549eb.entry.js → p-af09741c.entry.js} +1 -1
  428. package/dist/ionic/{p-2d1d8a25.entry.js → p-afecb188.entry.js} +1 -1
  429. package/dist/ionic/{p-3ad285e3.system.js → p-b3680e2f.system.js} +1 -1
  430. package/dist/ionic/p-b7433d7d.js +4 -0
  431. package/dist/ionic/{p-d341d412.system.entry.js → p-b91acf8d.system.entry.js} +1 -1
  432. package/dist/ionic/{p-b51e4004.js → p-bb11d9fb.js} +1 -1
  433. package/dist/ionic/{p-081a4ce4.entry.js → p-bb2a6761.entry.js} +1 -1
  434. package/dist/ionic/{p-ada36597.system.js → p-c1b51537.system.js} +1 -1
  435. package/dist/ionic/{p-8cfba7e9.system.entry.js → p-c29f8157.system.entry.js} +1 -1
  436. package/dist/ionic/{p-c51dc7fe.entry.js → p-c32644d7.entry.js} +1 -1
  437. package/dist/ionic/{p-c41ac815.entry.js → p-c8d645b3.entry.js} +1 -1
  438. package/dist/ionic/p-cc700b6b.entry.js +4 -0
  439. package/dist/ionic/{p-cb6954d4.system.entry.js → p-d06601eb.system.entry.js} +1 -1
  440. package/dist/ionic/{p-b7329612.system.entry.js → p-d192fdf7.system.entry.js} +1 -1
  441. package/dist/ionic/{p-3cc276f4.js → p-d4ca0475.js} +1 -1
  442. package/dist/ionic/{p-1a5bc5f7.js → p-d60342e3.js} +1 -1
  443. package/dist/ionic/{p-89bf08c7.entry.js → p-da074ff7.entry.js} +1 -1
  444. package/dist/ionic/{p-58d5df0c.system.entry.js → p-da8ef548.system.entry.js} +1 -1
  445. package/dist/ionic/{p-985a7e17.system.entry.js → p-dc146a2a.system.entry.js} +1 -1
  446. package/dist/ionic/{p-cac0e0b3.system.entry.js → p-dd0c9350.system.entry.js} +1 -1
  447. package/dist/ionic/p-df862603.entry.js +4 -0
  448. package/dist/ionic/{p-922daa9f.entry.js → p-e1bbacb7.entry.js} +1 -1
  449. package/dist/ionic/{p-b0c7b12b.system.entry.js → p-e265ae18.system.entry.js} +1 -1
  450. package/dist/ionic/{p-1fbc571c.system.entry.js → p-e2e19375.system.entry.js} +1 -1
  451. package/dist/ionic/p-e308de5b.system.js +4 -0
  452. package/dist/ionic/{p-b3c60433.system.js → p-e8232807.system.js} +1 -1
  453. package/dist/ionic/{p-a4a2420e.system.entry.js → p-e8c3fb87.system.entry.js} +1 -1
  454. package/dist/ionic/{p-15e76dd1.entry.js → p-e8f34871.entry.js} +1 -1
  455. package/dist/ionic/{p-3b33b7d3.entry.js → p-e97a3f44.entry.js} +1 -1
  456. package/dist/ionic/{p-fd4e25b5.system.entry.js → p-ed75fcfb.system.entry.js} +1 -1
  457. package/dist/ionic/{p-c7ab2908.system.entry.js → p-f2b8c349.system.entry.js} +1 -1
  458. package/dist/ionic/{p-31c37f38.system.entry.js → p-f301a694.system.entry.js} +1 -1
  459. package/dist/ionic/{p-e76dae93.entry.js → p-f42743d1.entry.js} +1 -1
  460. package/dist/ionic/{p-28706c6f.js → p-f5035354.js} +1 -1
  461. package/dist/ionic/{p-343b6b1d.system.js → p-f687573e.system.js} +1 -1
  462. package/dist/ionic/{p-bc68c7cf.system.entry.js → p-f78af648.system.entry.js} +1 -1
  463. package/dist/ionic/{p-63b0abde.system.entry.js → p-f89cf011.system.entry.js} +1 -1
  464. package/dist/ionic/{p-7b9a2b23.entry.js → p-fca17935.entry.js} +1 -1
  465. package/dist/ionic/{p-744b2484.system.entry.js → p-fca6ef5f.system.entry.js} +1 -1
  466. package/dist/ionic/p-ff4b7e40.system.js +4 -0
  467. package/dist/ionic/{p-01af2109.system.entry.js → p-ffc48bc5.system.entry.js} +1 -1
  468. package/dist/types/components/checkbox/checkbox.d.ts +0 -6
  469. package/dist/types/components/modal/animations/sheet.d.ts +0 -1
  470. package/dist/types/components/modal/gestures/sheet.d.ts +1 -1
  471. package/dist/types/components/modal/modal-interface.d.ts +0 -1
  472. package/dist/types/components/modal/modal.d.ts +0 -11
  473. package/dist/types/components/radio-group/radio-group.d.ts +0 -15
  474. package/dist/types/components/segment-button/segment-button.d.ts +2 -1
  475. package/dist/types/components/select/select.d.ts +0 -6
  476. package/dist/types/components/toggle/toggle.d.ts +0 -6
  477. package/dist/types/components/toolbar/toolbar.d.ts +0 -4
  478. package/dist/types/components.d.ts +0 -48
  479. package/dist/types/utils/config.d.ts +0 -9
  480. package/dist/types/utils/helpers.d.ts +1 -0
  481. package/dist/types/utils/logging/index.d.ts +1 -13
  482. package/hydrate/index.js +208 -423
  483. package/hydrate/index.mjs +208 -423
  484. package/package.json +2 -2
  485. package/dist/collection/components/radio-group/radio-group.ios.css +0 -206
  486. package/dist/collection/components/radio-group/radio-group.md.css +0 -206
  487. package/dist/esm-es5/index-6ad967f3.js +0 -4
  488. package/dist/esm-es5/input-shims-2fd7c6ef.js +0 -4
  489. package/dist/esm-es5/md.transition-571b3859.js +0 -4
  490. package/dist/esm-es5/status-tap-79eac0ac.js +0 -4
  491. package/dist/ionic/p-0af823e1.js +0 -4
  492. package/dist/ionic/p-0b7112fc.entry.js +0 -4
  493. package/dist/ionic/p-109cae7d.entry.js +0 -4
  494. package/dist/ionic/p-2b048a95.system.entry.js +0 -4
  495. package/dist/ionic/p-3e6be709.entry.js +0 -4
  496. package/dist/ionic/p-4c2d5b80.system.js +0 -4
  497. package/dist/ionic/p-4c98e2cf.system.js +0 -4
  498. package/dist/ionic/p-67222c16.system.js +0 -4
  499. package/dist/ionic/p-6c95736e.entry.js +0 -4
  500. package/dist/ionic/p-71c9d1fe.entry.js +0 -4
  501. package/dist/ionic/p-72bc8a1c.js +0 -4
  502. package/dist/ionic/p-7513b0c4.js +0 -4
  503. package/dist/ionic/p-870ae33b.system.entry.js +0 -4
  504. package/dist/ionic/p-87479c71.entry.js +0 -4
  505. package/dist/ionic/p-89cc9270.entry.js +0 -4
  506. package/dist/ionic/p-8e35b472.entry.js +0 -4
  507. package/dist/ionic/p-8f4361a8.system.entry.js +0 -4
  508. package/dist/ionic/p-9135153b.entry.js +0 -4
  509. package/dist/ionic/p-9343a445.js +0 -4
  510. package/dist/ionic/p-a3db8ee3.js +0 -4
  511. package/dist/ionic/p-a8f2c254.entry.js +0 -4
  512. package/dist/ionic/p-ba3f918e.entry.js +0 -4
  513. package/dist/ionic/p-c4d86289.entry.js +0 -4
  514. package/dist/ionic/p-d1c5b60e.system.js +0 -4
  515. package/dist/ionic/p-da7e1bc4.entry.js +0 -4
  516. package/dist/ionic/p-e8d56122.js +0 -4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ionic/core",
3
- "version": "8.4.4-dev.11741101920.155e1c29",
3
+ "version": "8.4.4-dev.11741136034.11909e03",
4
4
  "description": "Base components for Ionic",
5
5
  "keywords": [
6
6
  "ionic",
@@ -41,7 +41,7 @@
41
41
  "@capacitor/haptics": "^6.0.0",
42
42
  "@capacitor/keyboard": "^6.0.0",
43
43
  "@capacitor/status-bar": "^6.0.0",
44
- "@clack/prompts": "^0.9.0",
44
+ "@clack/prompts": "^0.10.0",
45
45
  "@ionic/eslint-config": "^0.3.0",
46
46
  "@ionic/prettier-config": "^2.0.0",
47
47
  "@playwright/test": "^1.46.1",
@@ -1,206 +0,0 @@
1
- /**
2
- * Convert a font size to a dynamic font size.
3
- * Fonts that participate in Dynamic Type should use
4
- * dynamic font sizes.
5
- * @param size - The initial font size including the unit (i.e. px or pt)
6
- * @param unit (optional) - The unit to convert to. Use this if you want to
7
- * convert to a unit other than $baselineUnit.
8
- */
9
- /**
10
- * Convert a font size to a dynamic font size but impose
11
- * a maximum font size.
12
- * @param size - The initial font size including the unit (i.e. px or pt)
13
- * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
14
- * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
15
- * convert to a unit other than $baselineUnit.
16
- */
17
- /**
18
- * Convert a font size to a dynamic font size but impose
19
- * a minimum font size.
20
- * @param size - The initial font size including the unit (i.e. px or pt)
21
- * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
22
- * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
23
- * convert to a unit other than $baselineUnit.
24
- */
25
- /**
26
- * Convert a font size to a dynamic font size but impose
27
- * maximum and minimum font sizes.
28
- * @param size - The initial font size including the unit (i.e. px or pt)
29
- * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
30
- * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
31
- * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
32
- * convert to a unit other than $baselineUnit.
33
- */
34
- /**
35
- * A heuristic that applies CSS to tablet
36
- * viewports.
37
- *
38
- * Usage:
39
- * @include tablet-viewport() {
40
- * :host {
41
- * background-color: green;
42
- * }
43
- * }
44
- */
45
- /**
46
- * A heuristic that applies CSS to mobile
47
- * viewports (i.e. phones, not tablets).
48
- *
49
- * Usage:
50
- * @include mobile-viewport() {
51
- * :host {
52
- * background-color: blue;
53
- * }
54
- * }
55
- */
56
- /**
57
- * Convert a font size to a dynamic font size.
58
- * Fonts that participate in Dynamic Type should use
59
- * dynamic font sizes.
60
- * @param size - The initial font size including the unit (i.e. px or pt)
61
- * @param unit (optional) - The unit to convert to. Use this if you want to
62
- * convert to a unit other than $baselineUnit.
63
- */
64
- /**
65
- * Convert a font size to a dynamic font size but impose
66
- * a maximum font size.
67
- * @param size - The initial font size including the unit (i.e. px or pt)
68
- * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
69
- * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
70
- * convert to a unit other than $baselineUnit.
71
- */
72
- /**
73
- * Convert a font size to a dynamic font size but impose
74
- * a minimum font size.
75
- * @param size - The initial font size including the unit (i.e. px or pt)
76
- * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
77
- * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
78
- * convert to a unit other than $baselineUnit.
79
- */
80
- /**
81
- * Convert a font size to a dynamic font size but impose
82
- * maximum and minimum font sizes.
83
- * @param size - The initial font size including the unit (i.e. px or pt)
84
- * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
85
- * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
86
- * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
87
- * convert to a unit other than $baselineUnit.
88
- */
89
- /**
90
- * A heuristic that applies CSS to tablet
91
- * viewports.
92
- *
93
- * Usage:
94
- * @include tablet-viewport() {
95
- * :host {
96
- * background-color: green;
97
- * }
98
- * }
99
- */
100
- /**
101
- * A heuristic that applies CSS to mobile
102
- * viewports (i.e. phones, not tablets).
103
- *
104
- * Usage:
105
- * @include mobile-viewport() {
106
- * :host {
107
- * background-color: blue;
108
- * }
109
- * }
110
- */
111
- ion-radio-group {
112
- vertical-align: top;
113
- }
114
-
115
- .radio-group-wrapper {
116
- display: inline;
117
- }
118
-
119
- .radio-group-top {
120
- line-height: 1.5;
121
- }
122
-
123
- /**
124
- * Error text should only be shown when .ion-invalid is
125
- * present on the radio group. Otherwise the helper text should
126
- * be shown.
127
- */
128
- .radio-group-top .error-text {
129
- display: none;
130
- color: var(--ion-color-danger, #c5000f);
131
- }
132
-
133
- .radio-group-top .helper-text {
134
- display: block;
135
- color: var(--ion-color-step-700, var(--ion-text-color-step-300, #4d4d4d));
136
- }
137
-
138
- .ion-touched.ion-invalid .radio-group-top .error-text {
139
- display: block;
140
- }
141
-
142
- .ion-touched.ion-invalid .radio-group-top .helper-text {
143
- display: none;
144
- }
145
-
146
- /**
147
- * Convert a font size to a dynamic font size.
148
- * Fonts that participate in Dynamic Type should use
149
- * dynamic font sizes.
150
- * @param size - The initial font size including the unit (i.e. px or pt)
151
- * @param unit (optional) - The unit to convert to. Use this if you want to
152
- * convert to a unit other than $baselineUnit.
153
- */
154
- /**
155
- * Convert a font size to a dynamic font size but impose
156
- * a maximum font size.
157
- * @param size - The initial font size including the unit (i.e. px or pt)
158
- * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
159
- * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
160
- * convert to a unit other than $baselineUnit.
161
- */
162
- /**
163
- * Convert a font size to a dynamic font size but impose
164
- * a minimum font size.
165
- * @param size - The initial font size including the unit (i.e. px or pt)
166
- * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
167
- * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
168
- * convert to a unit other than $baselineUnit.
169
- */
170
- /**
171
- * Convert a font size to a dynamic font size but impose
172
- * maximum and minimum font sizes.
173
- * @param size - The initial font size including the unit (i.e. px or pt)
174
- * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
175
- * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
176
- * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
177
- * convert to a unit other than $baselineUnit.
178
- */
179
- /**
180
- * A heuristic that applies CSS to tablet
181
- * viewports.
182
- *
183
- * Usage:
184
- * @include tablet-viewport() {
185
- * :host {
186
- * background-color: green;
187
- * }
188
- * }
189
- */
190
- /**
191
- * A heuristic that applies CSS to mobile
192
- * viewports (i.e. phones, not tablets).
193
- *
194
- * Usage:
195
- * @include mobile-viewport() {
196
- * :host {
197
- * background-color: blue;
198
- * }
199
- * }
200
- */
201
- ion-list .radio-group-top {
202
- -webkit-padding-start: 16px;
203
- padding-inline-start: 16px;
204
- -webkit-padding-end: 16px;
205
- padding-inline-end: 16px;
206
- }
@@ -1,206 +0,0 @@
1
- /**
2
- * Convert a font size to a dynamic font size.
3
- * Fonts that participate in Dynamic Type should use
4
- * dynamic font sizes.
5
- * @param size - The initial font size including the unit (i.e. px or pt)
6
- * @param unit (optional) - The unit to convert to. Use this if you want to
7
- * convert to a unit other than $baselineUnit.
8
- */
9
- /**
10
- * Convert a font size to a dynamic font size but impose
11
- * a maximum font size.
12
- * @param size - The initial font size including the unit (i.e. px or pt)
13
- * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
14
- * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
15
- * convert to a unit other than $baselineUnit.
16
- */
17
- /**
18
- * Convert a font size to a dynamic font size but impose
19
- * a minimum font size.
20
- * @param size - The initial font size including the unit (i.e. px or pt)
21
- * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
22
- * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
23
- * convert to a unit other than $baselineUnit.
24
- */
25
- /**
26
- * Convert a font size to a dynamic font size but impose
27
- * maximum and minimum font sizes.
28
- * @param size - The initial font size including the unit (i.e. px or pt)
29
- * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
30
- * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
31
- * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
32
- * convert to a unit other than $baselineUnit.
33
- */
34
- /**
35
- * A heuristic that applies CSS to tablet
36
- * viewports.
37
- *
38
- * Usage:
39
- * @include tablet-viewport() {
40
- * :host {
41
- * background-color: green;
42
- * }
43
- * }
44
- */
45
- /**
46
- * A heuristic that applies CSS to mobile
47
- * viewports (i.e. phones, not tablets).
48
- *
49
- * Usage:
50
- * @include mobile-viewport() {
51
- * :host {
52
- * background-color: blue;
53
- * }
54
- * }
55
- */
56
- /**
57
- * Convert a font size to a dynamic font size.
58
- * Fonts that participate in Dynamic Type should use
59
- * dynamic font sizes.
60
- * @param size - The initial font size including the unit (i.e. px or pt)
61
- * @param unit (optional) - The unit to convert to. Use this if you want to
62
- * convert to a unit other than $baselineUnit.
63
- */
64
- /**
65
- * Convert a font size to a dynamic font size but impose
66
- * a maximum font size.
67
- * @param size - The initial font size including the unit (i.e. px or pt)
68
- * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
69
- * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
70
- * convert to a unit other than $baselineUnit.
71
- */
72
- /**
73
- * Convert a font size to a dynamic font size but impose
74
- * a minimum font size.
75
- * @param size - The initial font size including the unit (i.e. px or pt)
76
- * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
77
- * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
78
- * convert to a unit other than $baselineUnit.
79
- */
80
- /**
81
- * Convert a font size to a dynamic font size but impose
82
- * maximum and minimum font sizes.
83
- * @param size - The initial font size including the unit (i.e. px or pt)
84
- * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
85
- * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
86
- * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
87
- * convert to a unit other than $baselineUnit.
88
- */
89
- /**
90
- * A heuristic that applies CSS to tablet
91
- * viewports.
92
- *
93
- * Usage:
94
- * @include tablet-viewport() {
95
- * :host {
96
- * background-color: green;
97
- * }
98
- * }
99
- */
100
- /**
101
- * A heuristic that applies CSS to mobile
102
- * viewports (i.e. phones, not tablets).
103
- *
104
- * Usage:
105
- * @include mobile-viewport() {
106
- * :host {
107
- * background-color: blue;
108
- * }
109
- * }
110
- */
111
- ion-radio-group {
112
- vertical-align: top;
113
- }
114
-
115
- .radio-group-wrapper {
116
- display: inline;
117
- }
118
-
119
- .radio-group-top {
120
- line-height: 1.5;
121
- }
122
-
123
- /**
124
- * Error text should only be shown when .ion-invalid is
125
- * present on the radio group. Otherwise the helper text should
126
- * be shown.
127
- */
128
- .radio-group-top .error-text {
129
- display: none;
130
- color: var(--ion-color-danger, #c5000f);
131
- }
132
-
133
- .radio-group-top .helper-text {
134
- display: block;
135
- color: var(--ion-color-step-700, var(--ion-text-color-step-300, #4d4d4d));
136
- }
137
-
138
- .ion-touched.ion-invalid .radio-group-top .error-text {
139
- display: block;
140
- }
141
-
142
- .ion-touched.ion-invalid .radio-group-top .helper-text {
143
- display: none;
144
- }
145
-
146
- /**
147
- * Convert a font size to a dynamic font size.
148
- * Fonts that participate in Dynamic Type should use
149
- * dynamic font sizes.
150
- * @param size - The initial font size including the unit (i.e. px or pt)
151
- * @param unit (optional) - The unit to convert to. Use this if you want to
152
- * convert to a unit other than $baselineUnit.
153
- */
154
- /**
155
- * Convert a font size to a dynamic font size but impose
156
- * a maximum font size.
157
- * @param size - The initial font size including the unit (i.e. px or pt)
158
- * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
159
- * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
160
- * convert to a unit other than $baselineUnit.
161
- */
162
- /**
163
- * Convert a font size to a dynamic font size but impose
164
- * a minimum font size.
165
- * @param size - The initial font size including the unit (i.e. px or pt)
166
- * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
167
- * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
168
- * convert to a unit other than $baselineUnit.
169
- */
170
- /**
171
- * Convert a font size to a dynamic font size but impose
172
- * maximum and minimum font sizes.
173
- * @param size - The initial font size including the unit (i.e. px or pt)
174
- * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
175
- * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
176
- * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
177
- * convert to a unit other than $baselineUnit.
178
- */
179
- /**
180
- * A heuristic that applies CSS to tablet
181
- * viewports.
182
- *
183
- * Usage:
184
- * @include tablet-viewport() {
185
- * :host {
186
- * background-color: green;
187
- * }
188
- * }
189
- */
190
- /**
191
- * A heuristic that applies CSS to mobile
192
- * viewports (i.e. phones, not tablets).
193
- *
194
- * Usage:
195
- * @include mobile-viewport() {
196
- * :host {
197
- * background-color: blue;
198
- * }
199
- * }
200
- */
201
- ion-list .radio-group-top {
202
- -webkit-padding-start: 16px;
203
- padding-inline-start: 16px;
204
- -webkit-padding-end: 16px;
205
- padding-inline-end: 16px;
206
- }
@@ -1,4 +0,0 @@
1
- import{__spreadArray}from"tslib";
2
- /*!
3
- * (C) Ionic http://ionicframework.com - MIT License
4
- */import{c as config}from"./ionic-global-c81d82ab.js";var printIonWarning=function(r){var o=[];for(var n=1;n<arguments.length;n++){o[n-1]=arguments[n]}var a=config.get("logLevel","WARN");if(["WARN"].includes(a)){return console.warn.apply(console,__spreadArray(["[Ionic Warning]: ".concat(r)],o,false))}};var printIonError=function(r){var o=[];for(var n=1;n<arguments.length;n++){o[n-1]=arguments[n]}var a=config.get("logLevel","ERROR");if(["ERROR","WARN"].includes(a)){return console.error.apply(console,__spreadArray(["[Ionic Error]: ".concat(r)],o,false))}};var printRequiredElementError=function(r){var o=[];for(var n=1;n<arguments.length;n++){o[n-1]=arguments[n]}return console.error("<".concat(r.tagName.toLowerCase(),"> must be used inside ").concat(o.join(" or "),"."))};export{printIonError as a,printRequiredElementError as b,printIonWarning as p};
@@ -1,4 +0,0 @@
1
- import{__awaiter,__generator,__spreadArray}from"tslib";
2
- /*!
3
- * (C) Ionic http://ionicframework.com - MIT License
4
- */import{w as win,d as doc}from"./index-a5d50daf.js";import{g as getScrollElement,c as scrollByPoint,f as findClosestIonContent}from"./index-efb8ecdf.js";import{a as addEventListener,b as removeEventListener,r as raf,c as componentOnReady}from"./helpers-da915de8.js";import{a as KeyboardResize,K as Keyboard}from"./keyboard-73175e24.js";import"./index-6ad967f3.js";import"./ionic-global-c81d82ab.js";import"./index-28849c61.js";import"./capacitor-59395cbd.js";var cloneMap=new WeakMap;var relocateInput=function(r,n,e,t,i){if(t===void 0){t=0}if(i===void 0){i=false}if(cloneMap.has(r)===e){return}if(e){addClone(r,n,t,i)}else{removeClone(r,n)}};var isFocused=function(r){return r===r.getRootNode().activeElement};var addClone=function(r,n,e,t){if(t===void 0){t=false}var i=n.parentNode;var o=n.cloneNode(false);o.classList.add("cloned-input");o.tabIndex=-1;if(t){o.disabled=true}i.appendChild(o);cloneMap.set(r,o);var a=r.ownerDocument;var u=a.dir==="rtl"?9999:-9999;r.style.pointerEvents="none";n.style.transform="translate3d(".concat(u,"px,").concat(e,"px,0) scale(0)")};var removeClone=function(r,n){var e=cloneMap.get(r);if(e){cloneMap.delete(r);e.remove()}r.style.pointerEvents="";n.style.transform=""};var SCROLL_AMOUNT_PADDING=50;var enableHideCaretOnScroll=function(r,n,e){if(!e||!n){return function(){return}}var t=function(e){if(isFocused(n)){relocateInput(r,n,e)}};var i=function(){return relocateInput(r,n,false)};var o=function(){return t(true)};var a=function(){return t(false)};addEventListener(e,"ionScrollStart",o);addEventListener(e,"ionScrollEnd",a);n.addEventListener("blur",i);return function(){removeEventListener(e,"ionScrollStart",o);removeEventListener(e,"ionScrollEnd",a);n.removeEventListener("blur",i)}};var SKIP_SELECTOR="input, textarea, [no-blur], [contenteditable]";var enableInputBlurring=function(){var r=true;var n=false;var e=document;var t=function(){n=true};var i=function(){r=true};var o=function(t){if(n){n=false;return}var i=e.activeElement;if(!i){return}if(i.matches(SKIP_SELECTOR)){return}var o=t.target;if(o===i){return}if(o.matches(SKIP_SELECTOR)||o.closest(SKIP_SELECTOR)){return}r=false;setTimeout((function(){if(!r){i.blur()}}),50)};addEventListener(e,"ionScrollStart",t);e.addEventListener("focusin",i,true);e.addEventListener("touchend",o,false);return function(){removeEventListener(e,"ionScrollStart",t,true);e.removeEventListener("focusin",i,true);e.removeEventListener("touchend",o,false)}};var SCROLL_ASSIST_SPEED=.3;var getScrollData=function(r,n,e,t){var i;var o=(i=r.closest("ion-item,[ion-item]"))!==null&&i!==void 0?i:r;return calcScrollData(o.getBoundingClientRect(),n.getBoundingClientRect(),e,t)};var calcScrollData=function(r,n,e,t){var i=r.top;var o=r.bottom;var a=n.top;var u=Math.min(n.bottom,t-e);var c=a+15;var d=u-SCROLL_AMOUNT_PADDING;var f=d-o;var l=c-i;var s=Math.round(f<0?-f:l>0?-l:0);var v=Math.min(s,i-a);var S=Math.abs(v);var _=S/SCROLL_ASSIST_SPEED;var w=Math.min(400,Math.max(150,_));return{scrollAmount:v,scrollDuration:w,scrollPadding:e,inputSafeY:-(i-c)+4}};var PADDING_TIMER_KEY="$ionPaddingTimer";var setScrollPadding=function(r,n,e){var t=r[PADDING_TIMER_KEY];if(t){clearTimeout(t)}if(n>0){r.style.setProperty("--keyboard-offset","".concat(n,"px"))}else{r[PADDING_TIMER_KEY]=setTimeout((function(){r.style.setProperty("--keyboard-offset","0px");if(e){e()}}),120)}};var setClearScrollPaddingListener=function(r,n,e){var t=function(){if(n){setScrollPadding(n,0,e)}};r.addEventListener("focusout",t,{once:true})};var currentPadding=0;var SKIP_SCROLL_ASSIST="data-ionic-skip-scroll-assist";var enableScrollAssist=function(r,n,e,t,i,o,a,u){if(u===void 0){u=false}var c=o&&(a===undefined||a.mode===KeyboardResize.None);var d=false;var f=win!==undefined?win.innerHeight:0;var l=function(i){if(d===false){d=true;return}jsSetFocus(r,n,e,t,i.detail.keyboardHeight,c,u,f,false)};var s=function(){d=false;win===null||win===void 0?void 0:win.removeEventListener("ionKeyboardDidShow",l);r.removeEventListener("focusout",s)};var v=function(){return __awaiter(void 0,void 0,void 0,(function(){return __generator(this,(function(o){if(n.hasAttribute(SKIP_SCROLL_ASSIST)){n.removeAttribute(SKIP_SCROLL_ASSIST);return[2]}jsSetFocus(r,n,e,t,i,c,u,f);win===null||win===void 0?void 0:win.addEventListener("ionKeyboardDidShow",l);r.addEventListener("focusout",s);return[2]}))}))};r.addEventListener("focusin",v);return function(){r.removeEventListener("focusin",v);win===null||win===void 0?void 0:win.removeEventListener("ionKeyboardDidShow",l);r.removeEventListener("focusout",s)}};var setManualFocus=function(r){if(document.activeElement===r){return}r.setAttribute(SKIP_SCROLL_ASSIST,"true");r.focus()};var jsSetFocus=function(r,n,e,t,i,o){var a=[];for(var u=6;u<arguments.length;u++){a[u-6]=arguments[u]}return __awaiter(void 0,__spreadArray([r,n,e,t,i,o],a,true),void 0,(function(r,n,e,t,i,o,a,u,c){var d,f,l,s,v,S;if(a===void 0){a=false}if(u===void 0){u=0}if(c===void 0){c=true}return __generator(this,(function(_){switch(_.label){case 0:if(!e&&!t){return[2]}d=getScrollData(r,e||t,i,u);if(e&&Math.abs(d.scrollAmount)<4){setManualFocus(n);if(o&&e!==null){setScrollPadding(e,currentPadding);setClearScrollPaddingListener(n,e,(function(){return currentPadding=0}))}return[2]}relocateInput(r,n,true,d.inputSafeY,a);setManualFocus(n);raf((function(){return r.click()}));if(o&&e){currentPadding=d.scrollPadding;setScrollPadding(e,currentPadding)}if(!(typeof window!=="undefined"))return[3,3];l=function(){return __awaiter(void 0,void 0,void 0,(function(){return __generator(this,(function(t){switch(t.label){case 0:if(f!==undefined){clearTimeout(f)}window.removeEventListener("ionKeyboardDidShow",s);window.removeEventListener("ionKeyboardDidShow",l);if(!e)return[3,2];return[4,scrollByPoint(e,0,d.scrollAmount,d.scrollDuration)];case 1:t.sent();t.label=2;case 2:relocateInput(r,n,false,d.inputSafeY);setManualFocus(n);if(o){setClearScrollPaddingListener(n,e,(function(){return currentPadding=0}))}return[2]}}))}))};s=function(){window.removeEventListener("ionKeyboardDidShow",s);window.addEventListener("ionKeyboardDidShow",l)};if(!e)return[3,2];return[4,getScrollElement(e)];case 1:v=_.sent();S=v.scrollHeight-v.clientHeight;if(c&&d.scrollAmount>S-v.scrollTop){if(n.type==="password"){d.scrollAmount+=SCROLL_AMOUNT_PADDING;window.addEventListener("ionKeyboardDidShow",s)}else{window.addEventListener("ionKeyboardDidShow",l)}f=setTimeout(l,1e3);return[2]}_.label=2;case 2:l();_.label=3;case 3:return[2]}}))}))};var INPUT_BLURRING=true;var startInputShims=function(r,n){return __awaiter(void 0,void 0,void 0,(function(){var e,t,i,o,a,u,c,d,f,l,s,v,S,_,w,p;return __generator(this,(function(I){switch(I.label){case 0:if(doc===undefined){return[2]}e=n==="ios";t=n==="android";i=r.getNumber("keyboardHeight",290);o=r.getBoolean("scrollAssist",true);a=r.getBoolean("hideCaretOnScroll",e);u=r.getBoolean("inputBlurring",false);c=r.getBoolean("scrollPadding",true);d=Array.from(doc.querySelectorAll("ion-input, ion-textarea"));f=new WeakMap;l=new WeakMap;return[4,Keyboard.getResizeMode()];case 1:s=I.sent();v=function(r){return __awaiter(void 0,void 0,void 0,(function(){var n,e,u,d,v,S,v;return __generator(this,(function(_){switch(_.label){case 0:return[4,new Promise((function(n){return componentOnReady(r,n)}))];case 1:_.sent();n=r.shadowRoot||r;e=n.querySelector("input")||n.querySelector("textarea");u=findClosestIonContent(r);d=!u?r.closest("ion-footer"):null;if(!e){return[2]}if(!!u&&a&&!f.has(r)){v=enableHideCaretOnScroll(r,e,u);f.set(r,v)}S=e.type==="date"||e.type==="datetime-local";if(!S&&(!!u||!!d)&&o&&!l.has(r)){v=enableScrollAssist(r,e,u,d,i,c,s,t);l.set(r,v)}return[2]}}))}))};S=function(r){if(a){var n=f.get(r);if(n){n()}f.delete(r)}if(o){var n=l.get(r);if(n){n()}l.delete(r)}};if(u&&INPUT_BLURRING){enableInputBlurring()}for(_=0,w=d;_<w.length;_++){p=w[_];v(p)}doc.addEventListener("ionInputDidLoad",(function(r){v(r.detail)}));doc.addEventListener("ionInputDidUnload",(function(r){S(r.detail)}));return[2]}}))}))};export{startInputShims};
@@ -1,4 +0,0 @@
1
- /*!
2
- * (C) Ionic http://ionicframework.com - MIT License
3
- */
4
- import{c as createAnimation}from"./animation-eab5a4ca.js";import{g as getIonPageElement}from"./index-2f7fde3d.js";import"./index-a5d50daf.js";import"./ionic-global-c81d82ab.js";import"./index-28849c61.js";import"./index-6ad967f3.js";import"./helpers-da915de8.js";var mdTransitionAnimation=function(a,i){var n,e,t;var r="40px";var o="0px";var m=i.direction==="back";var s=i.enteringEl;var c=i.leavingEl;var l=getIonPageElement(s);var d=l.querySelector("ion-toolbar");var v=createAnimation();v.addElement(l).fill("both").beforeRemoveClass("ion-page-invisible");if(m){v.duration(((n=i.duration)!==null&&n!==void 0?n:0)||200).easing("cubic-bezier(0.47,0,0.745,0.715)")}else{v.duration(((e=i.duration)!==null&&e!==void 0?e:0)||280).easing("cubic-bezier(0.36,0.66,0.04,1)").fromTo("transform","translateY(".concat(r,")"),"translateY(".concat(o,")")).fromTo("opacity",.01,1)}if(d){var p=createAnimation();p.addElement(d);v.addAnimation(p)}if(c&&m){v.duration(((t=i.duration)!==null&&t!==void 0?t:0)||200).easing("cubic-bezier(0.47,0,0.745,0.715)");var f=createAnimation();f.addElement(getIonPageElement(c)).onFinish((function(a){if(a===1&&f.elements.length>0){f.elements[0].style.setProperty("display","none")}})).fromTo("transform","translateY(".concat(o,")"),"translateY(".concat(r,")")).fromTo("opacity",1,0);v.addAnimation(f)}return v};export{mdTransitionAnimation};
@@ -1,4 +0,0 @@
1
- import{__awaiter,__generator}from"tslib";
2
- /*!
3
- * (C) Ionic http://ionicframework.com - MIT License
4
- */import{e as readTask,w as writeTask}from"./index-28849c61.js";import{f as findClosestIonContent,s as scrollToTop}from"./index-efb8ecdf.js";import{c as componentOnReady}from"./helpers-da915de8.js";import"./index-6ad967f3.js";import"./ionic-global-c81d82ab.js";var startStatusTap=function(){var o=window;o.addEventListener("statusTap",(function(){readTask((function(){var t=o.innerWidth;var r=o.innerHeight;var n=document.elementFromPoint(t/2,r/2);if(!n){return}var e=findClosestIonContent(n);if(e){new Promise((function(o){return componentOnReady(e,o)})).then((function(){writeTask((function(){return __awaiter(void 0,void 0,void 0,(function(){return __generator(this,(function(o){switch(o.label){case 0:e.style.setProperty("--overflow","hidden");return[4,scrollToTop(e,300)];case 1:o.sent();e.style.removeProperty("--overflow");return[2]}}))}))}))}))}}))}))};export{startStatusTap};
@@ -1,4 +0,0 @@
1
- /*!
2
- * (C) Ionic http://ionicframework.com - MIT License
3
- */
4
- import{c as o}from"./p-c7e16491.js";import{g as t}from"./p-f1c4dcd4.js";import"./p-7b30edcc.js";import"./p-0574e87e.js";import"./p-d836d43e.js";import"./p-e8d56122.js";import"./p-b51e4004.js";const i=(i,r)=>{var e,p,s;const a="40px",c="back"===r.direction,n=r.leavingEl,l=t(r.enteringEl),b=l.querySelector("ion-toolbar"),m=o();if(m.addElement(l).fill("both").beforeRemoveClass("ion-page-invisible"),c?m.duration((null!==(e=r.duration)&&void 0!==e?e:0)||200).easing("cubic-bezier(0.47,0,0.745,0.715)"):m.duration((null!==(p=r.duration)&&void 0!==p?p:0)||280).easing("cubic-bezier(0.36,0.66,0.04,1)").fromTo("transform",`translateY(${a})`,"translateY(0px)").fromTo("opacity",.01,1),b){const t=o();t.addElement(b),m.addAnimation(t)}if(n&&c){m.duration((null!==(s=r.duration)&&void 0!==s?s:0)||200).easing("cubic-bezier(0.47,0,0.745,0.715)");const i=o();i.addElement(t(n)).onFinish((o=>{1===o&&i.elements.length>0&&i.elements[0].style.setProperty("display","none")})).fromTo("transform","translateY(0px)",`translateY(${a})`).fromTo("opacity",1,0),m.addAnimation(i)}return m};export{i as mdTransitionAnimation}
@@ -1,4 +0,0 @@
1
- /*!
2
- * (C) Ionic http://ionicframework.com - MIT License
3
- */
4
- import{r as e,d as t,h as i,f as l,i as o,j as s}from"./p-d836d43e.js";import{c as r}from"./p-34b11c24.js";import{i as a,c as n}from"./p-de756e5c.js";import{h as c,f as d,d as p}from"./p-b51e4004.js";import{c as h,b,a as m,m as g,s as f}from"./p-28706c6f.js";import{i as u}from"./p-fb813dab.js";import{h as x,c as v,g as w}from"./p-47794def.js";import{w as k}from"./p-459d13d5.js";import{w as y,q as j}from"./p-da2b833b.js";import{b as z}from"./p-0574e87e.js";import"./p-7b30edcc.js";import"./p-ecceeb90.js";import"./p-3cc276f4.js";import"./p-9b97df10.js";import"./p-e8d56122.js";const C=class{constructor(i){e(this,i),this.ionChange=t(this,"ionChange",7),this.ionCancel=t(this,"ionCancel",7),this.ionDismiss=t(this,"ionDismiss",7),this.ionFocus=t(this,"ionFocus",7),this.ionBlur=t(this,"ionBlur",7),this.ionStyle=t(this,"ionStyle",7),this.inputId="ion-sel-"+Y++,this.inheritedAttributes={},this.onClick=e=>{const t=e.target,i=t.closest('[slot="start"], [slot="end"]');t===this.el||null===i?(this.setFocus(),this.open(e)):e.preventDefault()},this.onFocus=()=>{this.ionFocus.emit()},this.onBlur=()=>{this.ionBlur.emit()},this.isExpanded=!1,this.cancelText="Cancel",this.color=void 0,this.compareWith=void 0,this.disabled=!1,this.fill=void 0,this.interface="alert",this.interfaceOptions={},this.justify=void 0,this.label=void 0,this.labelPlacement="start",this.multiple=!1,this.name=this.inputId,this.okText="OK",this.placeholder=void 0,this.selectedText=void 0,this.toggleIcon=void 0,this.expandedIcon=void 0,this.shape=void 0,this.value=void 0,this.required=!1}styleChanged(){this.emitStyle()}setValue(e){this.value=e,this.ionChange.emit({value:e})}async connectedCallback(){const{el:e}=this;this.notchController=r(e,(()=>this.notchSpacerEl),(()=>this.labelSlot)),this.updateOverlayOptions(),this.emitStyle(),this.mutationO=k(this.el,"ion-select-option",(async()=>{this.updateOverlayOptions(),s(this)}))}componentWillLoad(){this.inheritedAttributes=c(this.el,["aria-label"])}componentDidLoad(){this.emitStyle()}disconnectedCallback(){this.mutationO&&(this.mutationO.disconnect(),this.mutationO=void 0),this.notchController&&(this.notchController.destroy(),this.notchController=void 0)}async open(e){if(this.disabled||this.isExpanded)return;this.isExpanded=!0;const t=this.overlay=await this.createOverlay(e);if(t.onDidDismiss().then((()=>{this.overlay=void 0,this.isExpanded=!1,this.ionDismiss.emit(),this.setFocus()})),await t.present(),"popover"===this.interface||"modal"===this.interface){const e=this.childOpts.findIndex((e=>e.value===this.value));if(e>-1){const i=t.querySelector(`.select-interface-option:nth-child(${e+1})`);if(i){const e=i.querySelector("ion-radio, ion-checkbox");e&&e.setFocus(),d(i)}}else{const e=t.querySelector("ion-radio:not(.radio-disabled), ion-checkbox:not(.checkbox-disabled)");e&&(e.setFocus(),d(e.closest("ion-item")))}}return t}createOverlay(e){let t=this.interface;return"action-sheet"===t&&this.multiple&&(console.warn(`Select interface cannot be "${t}" with a multi-value select. Using the "alert" interface instead.`),t="alert"),"popover"!==t||e||(console.warn(`Select interface cannot be a "${t}" without passing an event. Using the "alert" interface instead.`),t="alert"),"action-sheet"===t?this.openActionSheet():"popover"===t?this.openPopover(e):"modal"===t?this.openModal():this.openAlert()}updateOverlayOptions(){const e=this.overlay;if(!e)return;const t=this.childOpts,i=this.value;switch(this.interface){case"action-sheet":e.buttons=this.createActionSheetButtons(t,i);break;case"popover":const l=e.querySelector("ion-select-popover");l&&(l.options=this.createOverlaySelectOptions(t,i));break;case"modal":const o=e.querySelector("ion-select-modal");o&&(o.options=this.createOverlaySelectOptions(t,i));break;case"alert":e.inputs=this.createAlertInputs(t,this.multiple?"checkbox":"radio",i)}}createActionSheetButtons(e,t){const i=e.map((e=>{const i=O(e),l=Array.from(e.classList).filter((e=>"hydrated"!==e)).join(" "),o=`${P} ${l}`;return{role:a(t,i,this.compareWith)?"selected":"",text:e.textContent,cssClass:o,handler:()=>{this.setValue(i)}}}));return i.push({text:this.cancelText,role:"cancel",handler:()=>{this.ionCancel.emit()}}),i}createAlertInputs(e,t,i){return e.map((e=>{const l=O(e),o=Array.from(e.classList).filter((e=>"hydrated"!==e)).join(" ");return{type:t,cssClass:`${P} ${o}`,label:e.textContent||"",value:l,checked:a(i,l,this.compareWith),disabled:e.disabled}}))}createOverlaySelectOptions(e,t){return e.map((e=>{const i=O(e),l=Array.from(e.classList).filter((e=>"hydrated"!==e)).join(" ");return{text:e.textContent||"",cssClass:`${P} ${l}`,value:i,checked:a(t,i,this.compareWith),disabled:e.disabled,handler:e=>{this.setValue(e),this.multiple||this.close()}}}))}async openPopover(e){const{fill:t,labelPlacement:i}=this,l=this.interfaceOptions,o=z(this),s="md"!==o,r=this.multiple,a=this.value;let n=e,c="auto";"floating"===i||"stacked"===i||"md"===o&&void 0!==t?c="cover":n=Object.assign(Object.assign({},e),{detail:{ionShadowTarget:this.nativeWrapperEl}});const d=Object.assign(Object.assign({mode:o,event:n,alignment:"center",size:c,showBackdrop:s},l),{component:"ion-select-popover",cssClass:["select-popover",l.cssClass],componentProps:{header:l.header,subHeader:l.subHeader,message:l.message,multiple:r,value:a,options:this.createOverlaySelectOptions(this.childOpts,a)}});return h.create(d)}async openActionSheet(){const e=z(this),t=this.interfaceOptions,i=Object.assign(Object.assign({mode:e},t),{buttons:this.createActionSheetButtons(this.childOpts,this.value),cssClass:["select-action-sheet",t.cssClass]});return b.create(i)}async openAlert(){const e=this.interfaceOptions,t=this.multiple?"checkbox":"radio",i=z(this),l=Object.assign(Object.assign({mode:i},e),{header:e.header?e.header:this.labelText,inputs:this.createAlertInputs(this.childOpts,t,this.value),buttons:[{text:this.cancelText,role:"cancel",handler:()=>{this.ionCancel.emit()}},{text:this.okText,handler:e=>{this.setValue(e)}}],cssClass:["select-alert",e.cssClass,this.multiple?"multiple-select-alert":"single-select-alert"]});return m.create(l)}openModal(){const{multiple:e,value:t,interfaceOptions:i}=this,l=z(this),o=Object.assign(Object.assign({},i),{mode:l,cssClass:["select-modal",i.cssClass],component:"ion-select-modal",componentProps:{header:i.header,multiple:e,value:t,options:this.createOverlaySelectOptions(this.childOpts,t)}});return g.create(o)}close(){return this.overlay?this.overlay.dismiss():Promise.resolve(!1)}hasValue(){return""!==this.getText()}get childOpts(){return Array.from(this.el.querySelectorAll("ion-select-option"))}get labelText(){const{label:e}=this;if(void 0!==e)return e;const{labelSlot:t}=this;return null!==t?t.textContent:void 0}getText(){const e=this.selectedText;return null!=e&&""!==e?e:S(this.childOpts,this.value,this.compareWith)}setFocus(){this.focusEl&&this.focusEl.focus()}emitStyle(){const{disabled:e}=this;this.ionStyle.emit({"interactive-disabled":e})}renderLabel(){const{label:e}=this;return i("div",{class:{"label-text-wrapper":!0,"label-text-wrapper-hidden":!this.hasLabel},part:"label"},void 0===e?i("slot",{name:"label"}):i("div",{class:"label-text"},e))}componentDidRender(){var e;null===(e=this.notchController)||void 0===e||e.calculateNotchWidth()}get labelSlot(){return this.el.querySelector('[slot="label"]')}get hasLabel(){return void 0!==this.label||null!==this.labelSlot}renderLabelContainer(){return"md"===z(this)&&"outline"===this.fill?[i("div",{class:"select-outline-container"},i("div",{class:"select-outline-start"}),i("div",{class:{"select-outline-notch":!0,"select-outline-notch-hidden":!this.hasLabel}},i("div",{class:"notch-spacer","aria-hidden":"true",ref:e=>this.notchSpacerEl=e},this.label)),i("div",{class:"select-outline-end"})),this.renderLabel()]:this.renderLabel()}renderSelectText(){const{placeholder:e}=this;let t=!1,l=this.getText();return""===l&&void 0!==e&&(l=e,t=!0),i("div",{"aria-hidden":"true",class:{"select-text":!0,"select-placeholder":t},part:t?"placeholder":"text"},l)}renderSelectIcon(){const e=z(this),{isExpanded:t,toggleIcon:l,expandedIcon:o}=this;let s;return s=t&&void 0!==o?o:null!=l?l:"ios"===e?y:j,i("ion-icon",{class:"select-icon",part:"icon","aria-hidden":"true",icon:s})}get ariaLabel(){var e;const{placeholder:t,inheritedAttributes:i}=this,l=this.getText(),o=null!==(e=i["aria-label"])&&void 0!==e?e:this.labelText;let s=l;return""===s&&void 0!==t&&(s=t),void 0!==o&&(s=""===s?o:`${o}, ${s}`),s}renderListbox(){const{disabled:e,inputId:t,isExpanded:l,required:o}=this;return i("button",{disabled:e,id:t,"aria-label":this.ariaLabel,"aria-haspopup":"dialog","aria-expanded":`${l}`,"aria-required":`${o}`,onFocus:this.onFocus,onBlur:this.onBlur,ref:e=>this.focusEl=e})}render(){const{disabled:e,el:t,isExpanded:o,expandedIcon:s,labelPlacement:r,justify:a,placeholder:n,fill:c,shape:d,name:h,value:b}=this,m=z(this),g="floating"===r||"stacked"===r,f=!g&&void 0!==a,w=u(t)?"rtl":"ltr",k=x("ion-item",this.el),y="md"===m&&"outline"!==c&&!k,j=this.hasValue(),C=null!==t.querySelector('[slot="start"], [slot="end"]');p(!0,t,h,$(b),e);const O="stacked"===r||"floating"===r&&(j||o||C);return i(l,{key:"457f1130a291ff1f6fdb8a112f6c32b53efdad7a",onClick:this.onClick,class:v(this.color,{[m]:!0,"in-item":k,"in-item-color":x("ion-item.ion-color",t),"select-disabled":e,"select-expanded":o,"has-expanded-icon":void 0!==s,"has-value":j,"label-floating":O,"has-placeholder":void 0!==n,"ion-focusable":!0,[`select-${w}`]:!0,[`select-fill-${c}`]:void 0!==c,[`select-justify-${a}`]:f,[`select-shape-${d}`]:void 0!==d,[`select-label-placement-${r}`]:!0})},i("label",{key:"4a66b0da8142d5e83f061308ccaece0737bc1d30",class:"select-wrapper",id:"select-label"},this.renderLabelContainer(),i("div",{key:"62c964f75bca42d8ec0d5026b701b0848c14f701",class:"select-wrapper-inner"},i("slot",{key:"1c59f789706d5308763465c6bbca218e14774c81",name:"start"}),i("div",{key:"22dc110d2fe3215bc23867eb1453192d2aed547e",class:"native-wrapper",ref:e=>this.nativeWrapperEl=e,part:"container"},this.renderSelectText(),this.renderListbox()),i("slot",{key:"13e05653f277726ea4cd1c48318c182bd106e69b",name:"end"}),!g&&this.renderSelectIcon()),g&&this.renderSelectIcon(),y&&i("div",{key:"eab497a5e69bb956884bd0522c1503f654651226",class:"select-highlight"})))}get el(){return o(this)}static get watchers(){return{disabled:["styleChanged"],isExpanded:["styleChanged"],placeholder:["styleChanged"],value:["styleChanged"]}}},O=e=>{const t=e.value;return void 0===t?e.textContent||"":t},$=e=>{if(null!=e)return Array.isArray(e)?e.join(","):e.toString()},S=(e,t,i)=>void 0===t?"":Array.isArray(t)?t.map((t=>A(e,t,i))).filter((e=>null!==e)).join(", "):A(e,t,i)||"",A=(e,t,i)=>{const l=e.find((e=>n(t,O(e),i)));return l?l.textContent:null};let Y=0;const P="select-interface-option";C.style={ios:":host{--padding-top:0px;--padding-end:0px;--padding-bottom:0px;--padding-start:0px;--placeholder-color:currentColor;--placeholder-opacity:var(--ion-placeholder-opacity, 0.6);--background:transparent;--border-style:solid;--highlight-color-focused:var(--ion-color-primary, #0054e9);--highlight-color-valid:var(--ion-color-success, #2dd55b);--highlight-color-invalid:var(--ion-color-danger, #c5000f);--highlight-color:var(--highlight-color-focused);display:block;position:relative;width:100%;min-height:44px;font-family:var(--ion-font-family, inherit);white-space:nowrap;cursor:pointer;z-index:2}:host(.select-label-placement-floating),:host(.select-label-placement-stacked){min-height:56px}:host(.ion-color){--highlight-color-focused:var(--ion-color-base)}:host(.in-item){-ms-flex:1 1 0px;flex:1 1 0}:host(.select-disabled){pointer-events:none}:host(.ion-focused) button{border:2px solid #5e9ed6}:host([slot=start]),:host([slot=end]){-ms-flex:initial;flex:initial;width:auto}.select-placeholder{color:var(--placeholder-color);opacity:var(--placeholder-opacity)}button{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;clip:rect(0 0 0 0);opacity:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none}.select-icon{-webkit-margin-start:4px;margin-inline-start:4px;-webkit-margin-end:0;margin-inline-end:0;margin-top:0;margin-bottom:0;position:relative;-ms-flex-negative:0;flex-shrink:0}:host(.in-item-color) .select-icon{color:inherit}:host(.select-label-placement-stacked) .select-icon,:host(.select-label-placement-floating) .select-icon{position:absolute;height:100%}:host(.select-ltr.select-label-placement-stacked) .select-icon,:host(.select-ltr.select-label-placement-floating) .select-icon{right:var(--padding-end, 0)}:host(.select-rtl.select-label-placement-stacked) .select-icon,:host(.select-rtl.select-label-placement-floating) .select-icon{left:var(--padding-start, 0)}.select-text{-ms-flex:1;flex:1;min-width:16px;font-size:inherit;text-overflow:ellipsis;white-space:inherit;overflow:hidden}.select-wrapper{-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);border-radius:var(--border-radius);display:-ms-flexbox;display:flex;position:relative;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;height:inherit;min-height:inherit;-webkit-transition:background-color 15ms linear;transition:background-color 15ms linear;background:var(--background);line-height:normal;cursor:inherit;-webkit-box-sizing:border-box;box-sizing:border-box}.select-wrapper .select-placeholder{-webkit-transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1)}.select-wrapper-inner{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;overflow:hidden}:host(.select-label-placement-stacked) .select-wrapper-inner,:host(.select-label-placement-floating) .select-wrapper-inner{-ms-flex-positive:1;flex-grow:1}:host(.ion-touched.ion-invalid){--highlight-color:var(--highlight-color-invalid)}:host(.ion-valid){--highlight-color:var(--highlight-color-valid)}.label-text-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;max-width:200px;-webkit-transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);pointer-events:none}.label-text,::slotted([slot=label]){text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.label-text-wrapper-hidden,.select-outline-notch-hidden{display:none}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-webkit-transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);overflow:hidden}:host(.select-justify-space-between) .select-wrapper{-ms-flex-pack:justify;justify-content:space-between}:host(.select-justify-start) .select-wrapper{-ms-flex-pack:start;justify-content:start}:host(.select-justify-end) .select-wrapper{-ms-flex-pack:end;justify-content:end}:host(.select-label-placement-start) .select-wrapper{-ms-flex-direction:row;flex-direction:row}:host(.select-label-placement-start) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:0;margin-bottom:0}:host(.select-label-placement-end) .select-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.select-label-placement-end) .label-text-wrapper{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0;margin-top:0;margin-bottom:0}:host(.select-label-placement-fixed) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:0;margin-bottom:0}:host(.select-label-placement-fixed) .label-text-wrapper{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}:host(.select-label-placement-stacked) .select-wrapper,:host(.select-label-placement-floating) .select-wrapper{-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:start}:host(.select-label-placement-stacked) .label-text-wrapper,:host(.select-label-placement-floating) .label-text-wrapper{max-width:100%}:host(.select-ltr.select-label-placement-stacked) .label-text-wrapper,:host(.select-ltr.select-label-placement-floating) .label-text-wrapper{-webkit-transform-origin:left top;transform-origin:left top}:host(.select-rtl.select-label-placement-stacked) .label-text-wrapper,:host(.select-rtl.select-label-placement-floating) .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}:host(.select-label-placement-stacked) .native-wrapper,:host(.select-label-placement-floating) .native-wrapper{margin-left:0;margin-right:0;margin-top:1px;margin-bottom:0;-ms-flex-positive:1;flex-grow:1;width:100%}:host(.select-label-placement-floating) .label-text-wrapper{-webkit-transform:translateY(100%) scale(1);transform:translateY(100%) scale(1)}:host(.select-label-placement-floating:not(.label-floating)) .native-wrapper .select-placeholder{opacity:0}:host(.select-expanded.select-label-placement-floating) .native-wrapper .select-placeholder,:host(.ion-focused.select-label-placement-floating) .native-wrapper .select-placeholder,:host(.has-value.select-label-placement-floating) .native-wrapper .select-placeholder{opacity:1}:host(.label-floating) .label-text-wrapper{-webkit-transform:translateY(50%) scale(0.75);transform:translateY(50%) scale(0.75);max-width:calc(100% / 0.75)}::slotted([slot=start]),::slotted([slot=end]){-ms-flex-negative:0;flex-shrink:0}::slotted([slot=start]:last-of-type){-webkit-margin-end:16px;margin-inline-end:16px;-webkit-margin-start:0;margin-inline-start:0}::slotted([slot=end]:first-of-type){-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0}:host{--highlight-height:0px}.select-icon{width:1.125rem;height:1.125rem;color:var(--ion-color-step-650, var(--ion-text-color-step-350, #595959))}:host(.select-label-placement-stacked) .select-wrapper-inner,:host(.select-label-placement-floating) .select-wrapper-inner{width:calc(100% - 1.125rem - 4px)}:host(.select-disabled){opacity:0.3}::slotted(ion-button[slot=start].button-has-icon-only),::slotted(ion-button[slot=end].button-has-icon-only){--border-radius:50%;--padding-start:0;--padding-end:0;--padding-top:0;--padding-bottom:0;aspect-ratio:1}",md:":host{--padding-top:0px;--padding-end:0px;--padding-bottom:0px;--padding-start:0px;--placeholder-color:currentColor;--placeholder-opacity:var(--ion-placeholder-opacity, 0.6);--background:transparent;--border-style:solid;--highlight-color-focused:var(--ion-color-primary, #0054e9);--highlight-color-valid:var(--ion-color-success, #2dd55b);--highlight-color-invalid:var(--ion-color-danger, #c5000f);--highlight-color:var(--highlight-color-focused);display:block;position:relative;width:100%;min-height:44px;font-family:var(--ion-font-family, inherit);white-space:nowrap;cursor:pointer;z-index:2}:host(.select-label-placement-floating),:host(.select-label-placement-stacked){min-height:56px}:host(.ion-color){--highlight-color-focused:var(--ion-color-base)}:host(.in-item){-ms-flex:1 1 0px;flex:1 1 0}:host(.select-disabled){pointer-events:none}:host(.ion-focused) button{border:2px solid #5e9ed6}:host([slot=start]),:host([slot=end]){-ms-flex:initial;flex:initial;width:auto}.select-placeholder{color:var(--placeholder-color);opacity:var(--placeholder-opacity)}button{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;clip:rect(0 0 0 0);opacity:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none}.select-icon{-webkit-margin-start:4px;margin-inline-start:4px;-webkit-margin-end:0;margin-inline-end:0;margin-top:0;margin-bottom:0;position:relative;-ms-flex-negative:0;flex-shrink:0}:host(.in-item-color) .select-icon{color:inherit}:host(.select-label-placement-stacked) .select-icon,:host(.select-label-placement-floating) .select-icon{position:absolute;height:100%}:host(.select-ltr.select-label-placement-stacked) .select-icon,:host(.select-ltr.select-label-placement-floating) .select-icon{right:var(--padding-end, 0)}:host(.select-rtl.select-label-placement-stacked) .select-icon,:host(.select-rtl.select-label-placement-floating) .select-icon{left:var(--padding-start, 0)}.select-text{-ms-flex:1;flex:1;min-width:16px;font-size:inherit;text-overflow:ellipsis;white-space:inherit;overflow:hidden}.select-wrapper{-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);border-radius:var(--border-radius);display:-ms-flexbox;display:flex;position:relative;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;height:inherit;min-height:inherit;-webkit-transition:background-color 15ms linear;transition:background-color 15ms linear;background:var(--background);line-height:normal;cursor:inherit;-webkit-box-sizing:border-box;box-sizing:border-box}.select-wrapper .select-placeholder{-webkit-transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1)}.select-wrapper-inner{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;overflow:hidden}:host(.select-label-placement-stacked) .select-wrapper-inner,:host(.select-label-placement-floating) .select-wrapper-inner{-ms-flex-positive:1;flex-grow:1}:host(.ion-touched.ion-invalid){--highlight-color:var(--highlight-color-invalid)}:host(.ion-valid){--highlight-color:var(--highlight-color-valid)}.label-text-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;max-width:200px;-webkit-transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);pointer-events:none}.label-text,::slotted([slot=label]){text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.label-text-wrapper-hidden,.select-outline-notch-hidden{display:none}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-webkit-transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);overflow:hidden}:host(.select-justify-space-between) .select-wrapper{-ms-flex-pack:justify;justify-content:space-between}:host(.select-justify-start) .select-wrapper{-ms-flex-pack:start;justify-content:start}:host(.select-justify-end) .select-wrapper{-ms-flex-pack:end;justify-content:end}:host(.select-label-placement-start) .select-wrapper{-ms-flex-direction:row;flex-direction:row}:host(.select-label-placement-start) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:0;margin-bottom:0}:host(.select-label-placement-end) .select-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.select-label-placement-end) .label-text-wrapper{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0;margin-top:0;margin-bottom:0}:host(.select-label-placement-fixed) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:0;margin-bottom:0}:host(.select-label-placement-fixed) .label-text-wrapper{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}:host(.select-label-placement-stacked) .select-wrapper,:host(.select-label-placement-floating) .select-wrapper{-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:start}:host(.select-label-placement-stacked) .label-text-wrapper,:host(.select-label-placement-floating) .label-text-wrapper{max-width:100%}:host(.select-ltr.select-label-placement-stacked) .label-text-wrapper,:host(.select-ltr.select-label-placement-floating) .label-text-wrapper{-webkit-transform-origin:left top;transform-origin:left top}:host(.select-rtl.select-label-placement-stacked) .label-text-wrapper,:host(.select-rtl.select-label-placement-floating) .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}:host(.select-label-placement-stacked) .native-wrapper,:host(.select-label-placement-floating) .native-wrapper{margin-left:0;margin-right:0;margin-top:1px;margin-bottom:0;-ms-flex-positive:1;flex-grow:1;width:100%}:host(.select-label-placement-floating) .label-text-wrapper{-webkit-transform:translateY(100%) scale(1);transform:translateY(100%) scale(1)}:host(.select-label-placement-floating:not(.label-floating)) .native-wrapper .select-placeholder{opacity:0}:host(.select-expanded.select-label-placement-floating) .native-wrapper .select-placeholder,:host(.ion-focused.select-label-placement-floating) .native-wrapper .select-placeholder,:host(.has-value.select-label-placement-floating) .native-wrapper .select-placeholder{opacity:1}:host(.label-floating) .label-text-wrapper{-webkit-transform:translateY(50%) scale(0.75);transform:translateY(50%) scale(0.75);max-width:calc(100% / 0.75)}::slotted([slot=start]),::slotted([slot=end]){-ms-flex-negative:0;flex-shrink:0}::slotted([slot=start]:last-of-type){-webkit-margin-end:16px;margin-inline-end:16px;-webkit-margin-start:0;margin-inline-start:0}::slotted([slot=end]:first-of-type){-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0}:host(.select-fill-solid){--background:var(--ion-color-step-50, var(--ion-background-color-step-50, #f2f2f2));--border-color:var(--ion-color-step-500, var(--ion-background-color-step-500, gray));--border-radius:4px;--padding-start:16px;--padding-end:16px;min-height:56px}:host(.select-fill-solid) .select-wrapper{border-bottom:var(--border-width) var(--border-style) var(--border-color)}:host(.has-focus.select-fill-solid.ion-valid),:host(.select-fill-solid.ion-touched.ion-invalid){--border-color:var(--highlight-color)}:host(.select-fill-solid) .select-bottom{border-top:none}@media (any-hover: hover){:host(.select-fill-solid:hover){--background:var(--ion-color-step-100, var(--ion-background-color-step-100, #e6e6e6));--border-color:var(--ion-color-step-750, var(--ion-background-color-step-750, #404040))}}:host(.select-fill-solid.select-expanded),:host(.select-fill-solid.ion-focused){--background:var(--ion-color-step-150, var(--ion-background-color-step-150, #d9d9d9));--border-color:var(--ion-color-step-750, var(--ion-background-color-step-750, #404040))}:host(.select-fill-solid) .select-wrapper{border-start-start-radius:var(--border-radius);border-start-end-radius:var(--border-radius);border-end-end-radius:0px;border-end-start-radius:0px}:host(.label-floating.select-fill-solid) .label-text-wrapper{max-width:calc(100% / 0.75)}:host(.select-fill-outline){--border-color:var(--ion-color-step-300, var(--ion-background-color-step-300, #b3b3b3));--border-radius:4px;--padding-start:16px;--padding-end:16px;min-height:56px}:host(.select-fill-outline.select-shape-round){--border-radius:28px;--padding-start:32px;--padding-end:32px}:host(.has-focus.select-fill-outline.ion-valid),:host(.select-fill-outline.ion-touched.ion-invalid){--border-color:var(--highlight-color)}@media (any-hover: hover){:host(.select-fill-outline:hover){--border-color:var(--ion-color-step-750, var(--ion-background-color-step-750, #404040))}}:host(.select-fill-outline.select-expanded),:host(.select-fill-outline.ion-focused){--border-width:var(--highlight-height);--border-color:var(--highlight-color)}:host(.select-fill-outline) .select-bottom{border-top:none}:host(.select-fill-outline) .select-wrapper{border-bottom:none}:host(.select-ltr.select-fill-outline.select-label-placement-stacked) .label-text-wrapper,:host(.select-ltr.select-fill-outline.select-label-placement-floating) .label-text-wrapper{-webkit-transform-origin:left top;transform-origin:left top}:host(.select-rtl.select-fill-outline.select-label-placement-stacked) .label-text-wrapper,:host(.select-rtl.select-fill-outline.select-label-placement-floating) .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}:host(.select-fill-outline.select-label-placement-stacked) .label-text-wrapper,:host(.select-fill-outline.select-label-placement-floating) .label-text-wrapper{position:absolute;max-width:calc(100% - var(--padding-start) - var(--padding-end))}:host(.select-fill-outline) .label-text-wrapper{position:relative;z-index:1}:host(.label-floating.select-fill-outline) .label-text-wrapper{-webkit-transform:translateY(-32%) scale(0.75);transform:translateY(-32%) scale(0.75);margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;max-width:calc((100% - var(--padding-start) - var(--padding-end) - 8px) / 0.75)}:host(.select-fill-outline.select-label-placement-stacked) select,:host(.select-fill-outline.select-label-placement-floating) select{margin-left:0;margin-right:0;margin-top:6px;margin-bottom:6px}:host(.select-fill-outline) .select-outline-container{left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;width:100%;height:100%}:host(.select-fill-outline) .select-outline-start,:host(.select-fill-outline) .select-outline-end{pointer-events:none}:host(.select-fill-outline) .select-outline-start,:host(.select-fill-outline) .select-outline-notch,:host(.select-fill-outline) .select-outline-end{border-top:var(--border-width) var(--border-style) var(--border-color);border-bottom:var(--border-width) var(--border-style) var(--border-color);-webkit-box-sizing:border-box;box-sizing:border-box}:host(.select-fill-outline) .select-outline-notch{max-width:calc(100% - var(--padding-start) - var(--padding-end))}:host(.select-fill-outline) .notch-spacer{-webkit-padding-end:8px;padding-inline-end:8px;font-size:calc(1em * 0.75);opacity:0;pointer-events:none}:host(.select-fill-outline) .select-outline-start{-webkit-border-start:var(--border-width) var(--border-style) var(--border-color);border-inline-start:var(--border-width) var(--border-style) var(--border-color)}:host(.select-fill-outline) .select-outline-start{border-start-start-radius:var(--border-radius);border-start-end-radius:0px;border-end-end-radius:0px;border-end-start-radius:var(--border-radius)}:host(.select-fill-outline) .select-outline-start{width:calc(var(--padding-start) - 4px)}:host(.select-fill-outline) .select-outline-end{-webkit-border-end:var(--border-width) var(--border-style) var(--border-color);border-inline-end:var(--border-width) var(--border-style) var(--border-color)}:host(.select-fill-outline) .select-outline-end{border-start-start-radius:0px;border-start-end-radius:var(--border-radius);border-end-end-radius:var(--border-radius);border-end-start-radius:0px}:host(.select-fill-outline) .select-outline-end{-ms-flex-positive:1;flex-grow:1}:host(.label-floating.select-fill-outline) .select-outline-notch{border-top:none}:host{--border-width:1px;--border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, var(--ion-background-color-step-150, rgba(0, 0, 0, 0.13)))));--highlight-height:2px}.select-icon{width:0.8125rem;-webkit-transition:-webkit-transform 0.15s cubic-bezier(0.4, 0, 0.2, 1);transition:-webkit-transform 0.15s cubic-bezier(0.4, 0, 0.2, 1);transition:transform 0.15s cubic-bezier(0.4, 0, 0.2, 1);transition:transform 0.15s cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 0.15s cubic-bezier(0.4, 0, 0.2, 1);color:var(--ion-color-step-500, var(--ion-text-color-step-500, gray))}:host(.select-label-placement-floating.select-expanded) .label-text-wrapper,:host(.select-label-placement-floating.ion-focused) .label-text-wrapper,:host(.select-label-placement-stacked.select-expanded) .label-text-wrapper,:host(.select-label-placement-stacked.ion-focused) .label-text-wrapper{color:var(--highlight-color)}:host(.has-focus.select-label-placement-floating.ion-valid) .label-text-wrapper,:host(.select-label-placement-floating.ion-touched.ion-invalid) .label-text-wrapper,:host(.has-focus.select-label-placement-stacked.ion-valid) .label-text-wrapper,:host(.select-label-placement-stacked.ion-touched.ion-invalid) .label-text-wrapper{color:var(--highlight-color)}.select-highlight{bottom:-1px;position:absolute;width:100%;height:var(--highlight-height);-webkit-transform:scale(0);transform:scale(0);-webkit-transition:-webkit-transform 200ms;transition:-webkit-transform 200ms;transition:transform 200ms;transition:transform 200ms, -webkit-transform 200ms;background:var(--highlight-color)}.select-highlight{inset-inline-start:0}:host(.select-expanded) .select-highlight,:host(.ion-focused) .select-highlight{-webkit-transform:scale(1);transform:scale(1)}:host(.in-item) .select-highlight{bottom:0}:host(.in-item) .select-highlight{inset-inline-start:0}:host(.select-expanded:not(.has-expanded-icon)) .select-icon{-webkit-transform:rotate(180deg);transform:rotate(180deg)}:host(.select-expanded) .select-wrapper .select-icon,:host(.has-focus.ion-valid) .select-wrapper .select-icon,:host(.ion-touched.ion-invalid) .select-wrapper .select-icon,:host(.ion-focused) .select-wrapper .select-icon{color:var(--highlight-color)}:host(.select-shape-round){--border-radius:16px}:host(.select-label-placement-stacked) .select-wrapper-inner,:host(.select-label-placement-floating) .select-wrapper-inner{width:calc(100% - 0.8125rem - 4px)}:host(.select-disabled){opacity:0.38}::slotted(ion-button[slot=start].button-has-icon-only),::slotted(ion-button[slot=end].button-has-icon-only){--border-radius:50%;--padding-start:8px;--padding-end:8px;--padding-top:8px;--padding-bottom:8px;aspect-ratio:1;min-height:40px}"};const I=class{constructor(t){e(this,t),this.inputId="ion-selopt-"+L++,this.disabled=!1,this.value=void 0}render(){return i(l,{key:"8c96c199ce3a3065de3fe446500f567236e0610a",role:"option",id:this.inputId,class:z(this)})}get el(){return o(this)}};let L=0;I.style=":host{display:none}";const E=class{constructor(t){e(this,t),this.header=void 0,this.subHeader=void 0,this.message=void 0,this.multiple=void 0,this.options=[]}findOptionFromEvent(e){const{options:t}=this;return t.find((t=>t.value===e.target.value))}callOptionHandler(e){const t=this.findOptionFromEvent(e),i=this.getValues(e);(null==t?void 0:t.handler)&&f(t.handler,i)}dismissParentPopover(){const e=this.el.closest("ion-popover");e&&e.dismiss()}setChecked(e){const{multiple:t}=this,i=this.findOptionFromEvent(e);t&&i&&(i.checked=e.detail.checked)}getValues(e){const{multiple:t,options:i}=this;if(t)return i.filter((e=>e.checked)).map((e=>e.value));const l=this.findOptionFromEvent(e);return l?l.value:void 0}renderOptions(e){const{multiple:t}=this;return!0===t?this.renderCheckboxOptions(e):this.renderRadioOptions(e)}renderCheckboxOptions(e){return e.map((e=>i("ion-item",{class:Object.assign({"item-checkbox-checked":e.checked},w(e.cssClass))},i("ion-checkbox",{value:e.value,disabled:e.disabled,checked:e.checked,justify:"start",labelPlacement:"end",onIonChange:e=>{this.setChecked(e),this.callOptionHandler(e),s(this)}},e.text))))}renderRadioOptions(e){const t=e.filter((e=>e.checked)).map((e=>e.value))[0];return i("ion-radio-group",{value:t,onIonChange:e=>this.callOptionHandler(e)},e.map((e=>i("ion-item",{class:Object.assign({"item-radio-checked":e.value===t},w(e.cssClass))},i("ion-radio",{value:e.value,disabled:e.disabled,onClick:()=>this.dismissParentPopover(),onKeyUp:e=>{" "===e.key&&this.dismissParentPopover()}},e.text)))))}render(){const{header:e,message:t,options:o,subHeader:s}=this,r=void 0!==s||void 0!==t;return i(l,{key:"542367ab8fb72bfebf7e65630b91017d68827fd6",class:z(this)},i("ion-list",{key:"f2f0f37e1365cd7780b02de1a1698700d0df48a7"},void 0!==e&&i("ion-list-header",{key:"4b8800a68e800f19277a44b7074ca24b70218daf"},e),r&&i("ion-item",{key:"932b7903daf97d5a57d289b7ee49e868bb9b0cf5"},i("ion-label",{key:"fc3f1b69aa2a0bc6125d35692dcad3a8a99fd160",class:"ion-text-wrap"},void 0!==s&&i("h3",{key:"eceab2f47afa95f04b138342b0bdbfa1f50919a8"},s),void 0!==t&&i("p",{key:"70f4e27ad1316318efd0c17efce31e5e45c8fa02"},t))),this.renderOptions(o)))}get el(){return o(this)}};E.style={ios:".sc-ion-select-popover-ios-h ion-list.sc-ion-select-popover-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}ion-list-header.sc-ion-select-popover-ios,ion-label.sc-ion-select-popover-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}.sc-ion-select-popover-ios-h{overflow-y:auto}",md:".sc-ion-select-popover-md-h ion-list.sc-ion-select-popover-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}ion-list-header.sc-ion-select-popover-md,ion-label.sc-ion-select-popover-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}.sc-ion-select-popover-md-h{overflow-y:auto}ion-list.sc-ion-select-popover-md ion-radio.sc-ion-select-popover-md::part(container){display:none}ion-list.sc-ion-select-popover-md ion-radio.sc-ion-select-popover-md::part(label){margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}ion-item.sc-ion-select-popover-md{--inner-border-width:0}.item-radio-checked.sc-ion-select-popover-md{--background:rgba(var(--ion-color-primary-rgb, 0, 84, 233), 0.08);--background-focused:var(--ion-color-primary, #0054e9);--background-focused-opacity:0.2;--background-hover:var(--ion-color-primary, #0054e9);--background-hover-opacity:0.12}.item-checkbox-checked.sc-ion-select-popover-md{--background-activated:var(--ion-item-color, var(--ion-text-color, #000));--background-focused:var(--ion-item-color, var(--ion-text-color, #000));--background-hover:var(--ion-item-color, var(--ion-text-color, #000));--color:var(--ion-color-primary, #0054e9)}"};export{C as ion_select,I as ion_select_option,E as ion_select_popover}
@@ -1,4 +0,0 @@
1
- /*!
2
- * (C) Ionic http://ionicframework.com - MIT License
3
- */
4
- import{r as t,d as i,h as s,i as e,f as o}from"./p-d836d43e.js";import{g as n}from"./p-2408c236.js";import{m as r,s as a}from"./p-b51e4004.js";import{b as h,c}from"./p-0574e87e.js";import{l as d,t as l,s as u,d as v,b as m,c as f}from"./p-f1c4dcd4.js";import{a as p}from"./p-3cc276f4.js";import"./p-e8d56122.js";class w{constructor(t,i){this.component=t,this.params=i,this.state=1}async init(t){if(this.state=2,!this.element){const i=this.component;this.element=await p(this.delegate,t,i,["ion-page","ion-page-invisible"],this.params)}}_destroy(){r(3!==this.state,"view state must be ATTACHED");const t=this.element;t&&(this.delegate?this.delegate.removeViewFromDom(t.parentElement,t):t.remove()),this.nav=void 0,this.state=3}}const b=(t,i,s)=>!!t&&t.component===i&&a(t.params,s),g=(t,i)=>t?t instanceof w?t:new w(t,i):null,y=class{constructor(s){t(this,s),this.ionNavWillLoad=i(this,"ionNavWillLoad",7),this.ionNavWillChange=i(this,"ionNavWillChange",3),this.ionNavDidChange=i(this,"ionNavDidChange",3),this.transInstr=[],this.gestureOrAnimationInProgress=!1,this.useRouter=!1,this.isTransitioning=!1,this.destroyed=!1,this.views=[],this.didLoad=!1,this.delegate=void 0,this.swipeGesture=void 0,this.animated=!0,this.animation=void 0,this.rootParams=void 0,this.root=void 0}swipeGestureChanged(){this.gesture&&this.gesture.enable(!0===this.swipeGesture)}rootChanged(){void 0!==this.root&&!1!==this.didLoad&&(this.useRouter||void 0!==this.root&&this.setRoot(this.root,this.rootParams))}componentWillLoad(){if(this.useRouter=null!==document.querySelector("ion-router")&&null===this.el.closest("[no-router]"),void 0===this.swipeGesture){const t=h(this);this.swipeGesture=c.getBoolean("swipeBackEnabled","ios"===t)}this.ionNavWillLoad.emit()}async componentDidLoad(){this.didLoad=!0,this.rootChanged(),this.gesture=(await import("./p-72bc8a1c.js")).createSwipeBackGesture(this.el,this.canStart.bind(this),this.onStart.bind(this),this.onMove.bind(this),this.onEnd.bind(this)),this.swipeGestureChanged()}connectedCallback(){this.destroyed=!1}disconnectedCallback(){for(const t of this.views)d(t.element,v),t._destroy();this.gesture&&(this.gesture.destroy(),this.gesture=void 0),this.transInstr.length=0,this.views.length=0,this.destroyed=!0}push(t,i,s,e){return this.insert(-1,t,i,s,e)}insert(t,i,s,e,o){return this.insertPages(t,[{component:i,componentProps:s}],e,o)}insertPages(t,i,s,e){return this.queueTrns({insertStart:t,insertViews:i,opts:s},e)}pop(t,i){return this.removeIndex(-1,1,t,i)}popTo(t,i,s){const e={removeStart:-1,removeCount:-1,opts:i};return"object"==typeof t&&t.component?(e.removeView=t,e.removeStart=1):"number"==typeof t&&(e.removeStart=t+1),this.queueTrns(e,s)}popToRoot(t,i){return this.removeIndex(1,-1,t,i)}removeIndex(t,i=1,s,e){return this.queueTrns({removeStart:t,removeCount:i,opts:s},e)}setRoot(t,i,s,e){return this.setPages([{component:t,componentProps:i}],s,e)}setPages(t,i,s){return null!=i||(i={}),!0!==i.animated&&(i.animated=!1),this.queueTrns({insertStart:0,insertViews:t,removeStart:0,removeCount:-1,opts:i},s)}setRouteId(t,i,s,e){const o=this.getActiveSync();if(b(o,t,i))return Promise.resolve({changed:!1,element:o.element});let n;const r=new Promise((t=>n=t));let a;const h={updateURL:!1,viewIsReady:t=>{let i;const s=new Promise((t=>i=t));return n({changed:!0,element:t,markVisible:async()=>{i(),await a}}),s}};if("root"===s)a=this.setRoot(t,i,h);else{const o=this.views.find((s=>b(s,t,i)));o?a=this.popTo(o,Object.assign(Object.assign({},h),{direction:"back",animationBuilder:e})):"forward"===s?a=this.push(t,i,Object.assign(Object.assign({},h),{animationBuilder:e})):"back"===s&&(a=this.setRoot(t,i,Object.assign(Object.assign({},h),{direction:"back",animated:!0,animationBuilder:e})))}return r}async getRouteId(){const t=this.getActiveSync();if(t)return{id:t.element.tagName,params:t.params,element:t.element}}async getActive(){return this.getActiveSync()}async getByIndex(t){return this.views[t]}async canGoBack(t){return this.canGoBackSync(t)}async getPrevious(t){return this.getPreviousSync(t)}async getLength(){return Promise.resolve(this.views.length)}getActiveSync(){return this.views[this.views.length-1]}canGoBackSync(t=this.getActiveSync()){return!(!t||!this.getPreviousSync(t))}getPreviousSync(t=this.getActiveSync()){if(!t)return;const i=this.views,s=i.indexOf(t);return s>0?i[s-1]:void 0}async queueTrns(t,i){var s,e;if(this.isTransitioning&&(null===(s=t.opts)||void 0===s?void 0:s.skipIfBusy))return!1;const o=new Promise(((i,s)=>{t.resolve=i,t.reject=s}));if(t.done=i,t.opts&&!1!==t.opts.updateURL&&this.useRouter){const i=document.querySelector("ion-router");if(i){const s=await i.canTransition();if(!1===s)return!1;if("string"==typeof s)return i.push(s,t.opts.direction||"back"),!1}}return 0===(null===(e=t.insertViews)||void 0===e?void 0:e.length)&&(t.insertViews=void 0),this.transInstr.push(t),this.nextTrns(),o}success(t,i){if(this.destroyed)this.fireError("nav controller was destroyed",i);else if(i.done&&i.done(t.hasCompleted,t.requiresTransition,t.enteringView,t.leavingView,t.direction),i.resolve(t.hasCompleted),!1!==i.opts.updateURL&&this.useRouter){const i=document.querySelector("ion-router");i&&i.navChanged("back"===t.direction?"back":"forward")}}failed(t,i){this.destroyed?this.fireError("nav controller was destroyed",i):(this.transInstr.length=0,this.fireError(t,i))}fireError(t,i){i.done&&i.done(!1,!1,t),i.reject&&!this.destroyed?i.reject(t):i.resolve(!1)}nextTrns(){if(this.isTransitioning)return!1;const t=this.transInstr.shift();return!!t&&(this.runTransition(t),!0)}async runTransition(t){try{this.ionNavWillChange.emit(),this.isTransitioning=!0,this.prepareTI(t);const i=this.getActiveSync(),s=this.getEnteringView(t,i);if(!i&&!s)throw new Error("no views in the stack to be removed");s&&1===s.state&&await s.init(this.el),this.postViewInit(s,i,t);const e=(t.enteringRequiresTransition||t.leavingRequiresTransition)&&s!==i;let o;e&&t.opts&&i&&("back"===t.opts.direction&&(t.opts.animationBuilder=t.opts.animationBuilder||(null==s?void 0:s.animationBuilder)),i.animationBuilder=t.opts.animationBuilder),o=e?await this.transition(s,i,t):{hasCompleted:!0,requiresTransition:!1},this.success(o,t),this.ionNavDidChange.emit()}catch(i){this.failed(i,t)}this.isTransitioning=!1,this.nextTrns()}prepareTI(t){var i,s,e;const o=this.views.length;if(null!==(i=t.opts)&&void 0!==i||(t.opts={}),null!==(s=(e=t.opts).delegate)&&void 0!==s||(e.delegate=this.delegate),void 0!==t.removeView){r(void 0!==t.removeStart,"removeView needs removeStart"),r(void 0!==t.removeCount,"removeView needs removeCount");const i=this.views.indexOf(t.removeView);if(i<0)throw new Error("removeView was not found");t.removeStart+=i}void 0!==t.removeStart&&(t.removeStart<0&&(t.removeStart=o-1),t.removeCount<0&&(t.removeCount=o-t.removeStart),t.leavingRequiresTransition=t.removeCount>0&&t.removeStart+t.removeCount===o),t.insertViews&&((t.insertStart<0||t.insertStart>o)&&(t.insertStart=o),t.enteringRequiresTransition=t.insertStart===o);const n=t.insertViews;if(!n)return;r(n.length>0,"length can not be zero");const a=n.map((t=>t instanceof w?t:"component"in t?g(t.component,null===t.componentProps?void 0:t.componentProps):g(t,void 0))).filter((t=>null!==t));if(0===a.length)throw new Error("invalid views to insert");for(const i of a){i.delegate=t.opts.delegate;const s=i.nav;if(s&&s!==this)throw new Error("inserted view was already inserted");if(3===i.state)throw new Error("inserted view was already destroyed")}t.insertViews=a}getEnteringView(t,i){const s=t.insertViews;if(void 0!==s)return s[s.length-1];const e=t.removeStart;if(void 0!==e){const s=this.views,o=e+t.removeCount;for(let t=s.length-1;t>=0;t--){const n=s[t];if((t<e||t>=o)&&n!==i)return n}}}postViewInit(t,i,s){var e,o,n;r(i||t,"Both leavingView and enteringView are null"),r(s.resolve,"resolve must be valid"),r(s.reject,"reject must be valid");const a=s.opts,{insertViews:h,removeStart:c,removeCount:l}=s;let u;if(void 0!==c&&void 0!==l){r(c>=0,"removeStart can not be negative"),r(l>=0,"removeCount can not be negative"),u=[];for(let s=c;s<c+l;s++){const e=this.views[s];void 0!==e&&e!==t&&e!==i&&u.push(e)}null!==(e=a.direction)&&void 0!==e||(a.direction="back")}const p=this.views.length+(null!==(o=null==h?void 0:h.length)&&void 0!==o?o:0)-(null!=l?l:0);if(r(p>=0,"final balance can not be negative"),0===p)throw console.warn("You can't remove all the pages in the navigation stack. nav.pop() is probably called too many times.",this,this.el),new Error("navigation stack needs at least one root page");if(h){let t=s.insertStart;for(const i of h)this.insertViewAt(i,t),t++;s.enteringRequiresTransition&&(null!==(n=a.direction)&&void 0!==n||(a.direction="forward"))}if(u&&u.length>0){for(const t of u)d(t.element,m),d(t.element,f),d(t.element,v);for(const t of u)this.destroyView(t)}}async transition(t,i,s){const e=s.opts,o=e.progressAnimation?t=>{void 0===t||this.gestureOrAnimationInProgress?this.sbAni=t:(this.gestureOrAnimationInProgress=!0,t.onFinish((()=>{this.gestureOrAnimationInProgress=!1}),{oneTimeCallback:!0}),t.progressEnd(0,0,0))}:void 0,n=h(this),r=t.element,a=i&&i.element,d=Object.assign(Object.assign({mode:n,showGoBack:this.canGoBackSync(t),baseEl:this.el,progressCallback:o,animated:this.animated&&c.getBoolean("animated",!0),enteringEl:r,leavingEl:a},e),{animationBuilder:e.animationBuilder||this.animation||c.get("navAnimation")}),{hasCompleted:u}=await l(d);return this.transitionFinish(u,t,i,e)}transitionFinish(t,i,s,e){const o=t?i:s;return o&&this.unmountInactiveViews(o),{hasCompleted:t,requiresTransition:!0,enteringView:i,leavingView:s,direction:e.direction}}insertViewAt(t,i){const s=this.views,e=s.indexOf(t);e>-1?(r(t.nav===this,"view is not part of the nav"),s.splice(e,1),s.splice(i,0,t)):(r(!t.nav,"nav is used"),t.nav=this,s.splice(i,0,t))}removeView(t){r(2===t.state||3===t.state,"view state should be loaded or destroyed");const i=this.views,s=i.indexOf(t);r(s>-1,"view must be part of the stack"),s>=0&&i.splice(s,1)}destroyView(t){t._destroy(),this.removeView(t)}unmountInactiveViews(t){if(this.destroyed)return;const i=this.views,s=i.indexOf(t);for(let t=i.length-1;t>=0;t--){const e=i[t],o=e.element;o&&(t>s?(d(o,v),this.destroyView(e)):t<s&&u(o,!0))}}canStart(){return!this.gestureOrAnimationInProgress&&!!this.swipeGesture&&!this.isTransitioning&&0===this.transInstr.length&&this.canGoBackSync()}onStart(){this.gestureOrAnimationInProgress=!0,this.pop({direction:"back",progressAnimation:!0})}onMove(t){this.sbAni&&this.sbAni.progressStep(t)}onEnd(t,i,s){if(this.sbAni){this.sbAni.onFinish((()=>{this.gestureOrAnimationInProgress=!1}),{oneTimeCallback:!0});let e=t?-.001:.001;t?e+=n([0,0],[.32,.72],[0,1],[1,1],i)[0]:(this.sbAni.easing("cubic-bezier(1, 0, 0.68, 0.28)"),e+=n([0,0],[1,0],[.68,.28],[1,1],i)[0]),this.sbAni.progressEnd(t?1:0,e,s)}else this.gestureOrAnimationInProgress=!1}render(){return s("slot",{key:"71e9b5d07fc90ca5534197a63a003a4154aabd59"})}get el(){return e(this)}static get watchers(){return{swipeGesture:["swipeGestureChanged"],root:["rootChanged"]}}};y.style=":host{left:0;right:0;top:0;bottom:0;position:absolute;contain:layout size style;z-index:0}";const k=class{constructor(i){t(this,i),this.onClick=()=>((t,i,s,e,o)=>{const n=this.el.closest("ion-nav");if(n)if("forward"===i){if(void 0!==s)return n.push(s,e,{skipIfBusy:!0,animationBuilder:o})}else if("root"===i){if(void 0!==s)return n.setRoot(s,e,{skipIfBusy:!0,animationBuilder:o})}else if("back"===i)return n.pop({skipIfBusy:!0,animationBuilder:o});return Promise.resolve(!1)})(0,this.routerDirection,this.component,this.componentProps,this.routerAnimation),this.component=void 0,this.componentProps=void 0,this.routerDirection="forward",this.routerAnimation=void 0}render(){return s(o,{key:"9ba170d1b10e08e8a6b5e6a30d363871d455a0a9",onClick:this.onClick})}get el(){return e(this)}};export{y as ion_nav,k as ion_nav_link}