@ionic/core 8.3.3-dev.11729027747.1d05ced8 → 8.3.3-dev.11729113140.194d2c73

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 (429) hide show
  1. package/components/action-sheet.js +34 -22
  2. package/components/alert.js +2 -2
  3. package/components/backdrop.js +1 -1
  4. package/components/button.js +2 -2
  5. package/components/buttons.js +2 -2
  6. package/components/checkbox.js +3 -3
  7. package/components/ion-app.js +1 -1
  8. package/components/ion-avatar.js +1 -1
  9. package/components/ion-back-button.js +2 -2
  10. package/components/ion-badge.js +2 -2
  11. package/components/ion-breadcrumb.js +4 -4
  12. package/components/ion-breadcrumbs.js +2 -2
  13. package/components/ion-card-content.js +1 -1
  14. package/components/ion-card-header.js +2 -2
  15. package/components/ion-card-subtitle.js +2 -2
  16. package/components/ion-card-title.js +2 -2
  17. package/components/ion-card.js +1 -1
  18. package/components/ion-chip.js +2 -2
  19. package/components/ion-col.js +2 -2
  20. package/components/ion-content.js +3 -3
  21. package/components/ion-datetime-button.js +2 -2
  22. package/components/ion-datetime.js +2 -2
  23. package/components/ion-fab-button.js +2 -2
  24. package/components/ion-fab-list.js +2 -2
  25. package/components/ion-fab.js +2 -2
  26. package/components/ion-footer.js +2 -2
  27. package/components/ion-grid.js +2 -2
  28. package/components/ion-header.js +2 -2
  29. package/components/ion-img.js +1 -1
  30. package/components/ion-infinite-scroll-content.js +2 -2
  31. package/components/ion-infinite-scroll.js +1 -1
  32. package/components/ion-input-password-toggle.js +3 -3
  33. package/components/ion-input.js +3 -3
  34. package/components/ion-item-divider.js +2 -2
  35. package/components/ion-item-group.js +1 -1
  36. package/components/ion-item-option.js +2 -2
  37. package/components/ion-item-options.js +1 -1
  38. package/components/ion-item-sliding.js +1 -1
  39. package/components/ion-loading.js +2 -2
  40. package/components/ion-menu-button.js +2 -2
  41. package/components/ion-menu-toggle.js +2 -2
  42. package/components/ion-menu.js +2 -2
  43. package/components/ion-modal.js +4 -4
  44. package/components/ion-nav-link.js +1 -1
  45. package/components/ion-nav.js +1 -1
  46. package/components/ion-note.js +2 -2
  47. package/components/ion-picker-legacy.js +2 -2
  48. package/components/ion-progress-bar.js +1 -1
  49. package/components/ion-range.js +3 -3
  50. package/components/ion-refresher-content.js +1 -1
  51. package/components/ion-refresher.js +1 -1
  52. package/components/ion-reorder-group.js +1 -1
  53. package/components/ion-reorder.js +1 -1
  54. package/components/ion-router-link.js +2 -2
  55. package/components/ion-router-outlet.js +1 -1
  56. package/components/ion-row.js +1 -1
  57. package/components/ion-searchbar.js +4 -4
  58. package/components/ion-segment-button.js +3 -3
  59. package/components/ion-segment.js +2 -2
  60. package/components/ion-select-option.js +1 -1
  61. package/components/ion-select.js +2 -2
  62. package/components/ion-skeleton-text.js +2 -2
  63. package/components/ion-split-pane.js +2 -2
  64. package/components/ion-tab-bar.js +2 -2
  65. package/components/ion-tab-button.js +2 -2
  66. package/components/ion-tab.js +2 -2
  67. package/components/ion-tabs.js +1 -1
  68. package/components/ion-text.js +2 -2
  69. package/components/ion-textarea.js +2 -2
  70. package/components/ion-thumbnail.js +1 -1
  71. package/components/ion-title.js +2 -2
  72. package/components/ion-toast.js +2 -2
  73. package/components/ion-toggle.js +3 -3
  74. package/components/ion-toolbar.js +2 -2
  75. package/components/label.js +2 -2
  76. package/components/list-header.js +2 -2
  77. package/components/list.js +1 -1
  78. package/components/picker-column-option.js +2 -2
  79. package/components/picker-column.js +3 -3
  80. package/components/picker-column2.js +2 -2
  81. package/components/picker.js +2 -2
  82. package/components/popover.js +2 -2
  83. package/components/radio-group.js +1 -1
  84. package/components/radio.js +3 -3
  85. package/components/ripple-effect.js +1 -1
  86. package/components/select-popover.js +1 -1
  87. package/components/spinner.js +1 -1
  88. package/dist/cjs/ion-action-sheet.cjs.entry.js +20 -20
  89. package/dist/cjs/ion-alert.cjs.entry.js +2 -2
  90. package/dist/cjs/ion-app_8.cjs.entry.js +15 -15
  91. package/dist/cjs/ion-avatar_3.cjs.entry.js +4 -4
  92. package/dist/cjs/ion-back-button.cjs.entry.js +2 -2
  93. package/dist/cjs/ion-backdrop.cjs.entry.js +1 -1
  94. package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +6 -6
  95. package/dist/cjs/ion-button_2.cjs.entry.js +2 -2
  96. package/dist/cjs/ion-card_5.cjs.entry.js +8 -8
  97. package/dist/cjs/ion-checkbox.cjs.entry.js +3 -3
  98. package/dist/cjs/ion-chip.cjs.entry.js +2 -2
  99. package/dist/cjs/ion-col_3.cjs.entry.js +5 -5
  100. package/dist/cjs/ion-datetime-button.cjs.entry.js +2 -2
  101. package/dist/cjs/ion-datetime_3.cjs.entry.js +6 -6
  102. package/dist/cjs/ion-fab_3.cjs.entry.js +6 -6
  103. package/dist/cjs/ion-img.cjs.entry.js +1 -1
  104. package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +3 -3
  105. package/dist/cjs/ion-input-password-toggle.cjs.entry.js +3 -3
  106. package/dist/cjs/ion-input.cjs.entry.js +3 -3
  107. package/dist/cjs/ion-item-option_3.cjs.entry.js +4 -4
  108. package/dist/cjs/ion-item_8.cjs.entry.js +12 -12
  109. package/dist/cjs/ion-loading.cjs.entry.js +2 -2
  110. package/dist/cjs/ion-menu_3.cjs.entry.js +6 -6
  111. package/dist/cjs/ion-modal.cjs.entry.js +4 -4
  112. package/dist/cjs/ion-nav_2.cjs.entry.js +2 -2
  113. package/dist/cjs/ion-picker-column-option.cjs.entry.js +2 -2
  114. package/dist/cjs/ion-picker-column.cjs.entry.js +3 -3
  115. package/dist/cjs/ion-picker.cjs.entry.js +2 -2
  116. package/dist/cjs/ion-popover.cjs.entry.js +2 -2
  117. package/dist/cjs/ion-progress-bar.cjs.entry.js +1 -1
  118. package/dist/cjs/ion-radio_2.cjs.entry.js +4 -4
  119. package/dist/cjs/ion-range.cjs.entry.js +3 -3
  120. package/dist/cjs/ion-refresher_2.cjs.entry.js +2 -2
  121. package/dist/cjs/ion-reorder_2.cjs.entry.js +2 -2
  122. package/dist/cjs/ion-ripple-effect.cjs.entry.js +1 -1
  123. package/dist/cjs/ion-route_4.cjs.entry.js +2 -2
  124. package/dist/cjs/ion-searchbar.cjs.entry.js +4 -4
  125. package/dist/cjs/ion-segment_2.cjs.entry.js +5 -5
  126. package/dist/cjs/ion-select_3.cjs.entry.js +4 -4
  127. package/dist/cjs/ion-spinner.cjs.entry.js +1 -1
  128. package/dist/cjs/ion-split-pane.cjs.entry.js +2 -2
  129. package/dist/cjs/ion-tab-bar_2.cjs.entry.js +4 -4
  130. package/dist/cjs/ion-tab_2.cjs.entry.js +3 -3
  131. package/dist/cjs/ion-text.cjs.entry.js +2 -2
  132. package/dist/cjs/ion-textarea.cjs.entry.js +2 -2
  133. package/dist/cjs/ion-toast.cjs.entry.js +2 -2
  134. package/dist/cjs/ion-toggle.cjs.entry.js +3 -3
  135. package/dist/cjs/ionic.cjs.js +1 -1
  136. package/dist/cjs/loader.cjs.js +1 -1
  137. package/dist/collection/components/action-sheet/action-sheet.ios.css +1 -1
  138. package/dist/collection/components/action-sheet/action-sheet.js +18 -27
  139. package/dist/collection/components/action-sheet/action-sheet.md.css +1 -1
  140. package/dist/collection/components/alert/alert.js +2 -2
  141. package/dist/collection/components/app/app.js +1 -1
  142. package/dist/collection/components/avatar/avatar.js +1 -1
  143. package/dist/collection/components/back-button/back-button.js +2 -2
  144. package/dist/collection/components/backdrop/backdrop.js +1 -1
  145. package/dist/collection/components/badge/badge.js +2 -2
  146. package/dist/collection/components/breadcrumb/breadcrumb.js +4 -4
  147. package/dist/collection/components/breadcrumbs/breadcrumbs.js +2 -2
  148. package/dist/collection/components/button/button.js +2 -2
  149. package/dist/collection/components/buttons/buttons.js +2 -2
  150. package/dist/collection/components/card/card.js +1 -1
  151. package/dist/collection/components/card-content/card-content.js +1 -1
  152. package/dist/collection/components/card-header/card-header.js +2 -2
  153. package/dist/collection/components/card-subtitle/card-subtitle.js +2 -2
  154. package/dist/collection/components/card-title/card-title.js +2 -2
  155. package/dist/collection/components/checkbox/checkbox.js +3 -3
  156. package/dist/collection/components/chip/chip.js +2 -2
  157. package/dist/collection/components/col/col.js +2 -2
  158. package/dist/collection/components/content/content.js +3 -3
  159. package/dist/collection/components/datetime/datetime.js +2 -2
  160. package/dist/collection/components/datetime-button/datetime-button.js +2 -2
  161. package/dist/collection/components/fab/fab.js +2 -2
  162. package/dist/collection/components/fab-button/fab-button.js +2 -2
  163. package/dist/collection/components/fab-list/fab-list.js +2 -2
  164. package/dist/collection/components/footer/footer.js +2 -2
  165. package/dist/collection/components/grid/grid.js +2 -2
  166. package/dist/collection/components/header/header.js +2 -2
  167. package/dist/collection/components/img/img.js +1 -1
  168. package/dist/collection/components/infinite-scroll/infinite-scroll.js +1 -1
  169. package/dist/collection/components/infinite-scroll-content/infinite-scroll-content.js +2 -2
  170. package/dist/collection/components/input/input.js +3 -3
  171. package/dist/collection/components/input-password-toggle/input-password-toggle.js +3 -3
  172. package/dist/collection/components/item-divider/item-divider.js +2 -2
  173. package/dist/collection/components/item-group/item-group.js +1 -1
  174. package/dist/collection/components/item-option/item-option.js +2 -2
  175. package/dist/collection/components/item-options/item-options.js +1 -1
  176. package/dist/collection/components/item-sliding/item-sliding.js +1 -1
  177. package/dist/collection/components/label/label.js +2 -2
  178. package/dist/collection/components/list/list.js +1 -1
  179. package/dist/collection/components/list-header/list-header.js +2 -2
  180. package/dist/collection/components/loading/loading.js +2 -2
  181. package/dist/collection/components/menu/menu.js +2 -2
  182. package/dist/collection/components/menu-button/menu-button.js +2 -2
  183. package/dist/collection/components/menu-toggle/menu-toggle.js +2 -2
  184. package/dist/collection/components/modal/modal.js +4 -4
  185. package/dist/collection/components/nav/nav.js +1 -1
  186. package/dist/collection/components/nav-link/nav-link.js +1 -1
  187. package/dist/collection/components/note/note.js +2 -2
  188. package/dist/collection/components/picker/picker.js +2 -2
  189. package/dist/collection/components/picker-column/picker-column.js +3 -3
  190. package/dist/collection/components/picker-column-option/picker-column-option.js +2 -2
  191. package/dist/collection/components/picker-legacy/picker.js +2 -2
  192. package/dist/collection/components/picker-legacy-column/picker-column.js +2 -2
  193. package/dist/collection/components/popover/popover.js +2 -2
  194. package/dist/collection/components/progress-bar/progress-bar.js +1 -1
  195. package/dist/collection/components/radio/radio.js +3 -3
  196. package/dist/collection/components/radio-group/radio-group.js +1 -1
  197. package/dist/collection/components/range/range.js +3 -3
  198. package/dist/collection/components/refresher/refresher.js +1 -1
  199. package/dist/collection/components/refresher-content/refresher-content.js +1 -1
  200. package/dist/collection/components/reorder/reorder.js +1 -1
  201. package/dist/collection/components/reorder-group/reorder-group.js +1 -1
  202. package/dist/collection/components/ripple-effect/ripple-effect.js +1 -1
  203. package/dist/collection/components/router-link/router-link.js +2 -2
  204. package/dist/collection/components/router-outlet/router-outlet.js +1 -1
  205. package/dist/collection/components/row/row.js +1 -1
  206. package/dist/collection/components/searchbar/searchbar.js +4 -4
  207. package/dist/collection/components/segment/segment.js +2 -2
  208. package/dist/collection/components/segment-button/segment-button.js +3 -3
  209. package/dist/collection/components/select/select.js +2 -2
  210. package/dist/collection/components/select-option/select-option.js +1 -1
  211. package/dist/collection/components/select-popover/select-popover.js +1 -1
  212. package/dist/collection/components/skeleton-text/skeleton-text.js +2 -2
  213. package/dist/collection/components/spinner/spinner.js +1 -1
  214. package/dist/collection/components/split-pane/split-pane.js +2 -2
  215. package/dist/collection/components/tab/tab.js +2 -2
  216. package/dist/collection/components/tab-bar/tab-bar.js +2 -2
  217. package/dist/collection/components/tab-button/tab-button.js +2 -2
  218. package/dist/collection/components/tabs/tabs.js +1 -1
  219. package/dist/collection/components/text/text.js +2 -2
  220. package/dist/collection/components/textarea/textarea.js +2 -2
  221. package/dist/collection/components/thumbnail/thumbnail.js +1 -1
  222. package/dist/collection/components/title/title.js +2 -2
  223. package/dist/collection/components/toast/toast.js +2 -2
  224. package/dist/collection/components/toggle/toggle.js +3 -3
  225. package/dist/collection/components/toolbar/toolbar.js +2 -2
  226. package/dist/docs.json +14 -4
  227. package/dist/esm/ion-action-sheet.entry.js +20 -20
  228. package/dist/esm/ion-alert.entry.js +2 -2
  229. package/dist/esm/ion-app_8.entry.js +15 -15
  230. package/dist/esm/ion-avatar_3.entry.js +4 -4
  231. package/dist/esm/ion-back-button.entry.js +2 -2
  232. package/dist/esm/ion-backdrop.entry.js +1 -1
  233. package/dist/esm/ion-breadcrumb_2.entry.js +6 -6
  234. package/dist/esm/ion-button_2.entry.js +2 -2
  235. package/dist/esm/ion-card_5.entry.js +8 -8
  236. package/dist/esm/ion-checkbox.entry.js +3 -3
  237. package/dist/esm/ion-chip.entry.js +2 -2
  238. package/dist/esm/ion-col_3.entry.js +5 -5
  239. package/dist/esm/ion-datetime-button.entry.js +2 -2
  240. package/dist/esm/ion-datetime_3.entry.js +6 -6
  241. package/dist/esm/ion-fab_3.entry.js +6 -6
  242. package/dist/esm/ion-img.entry.js +1 -1
  243. package/dist/esm/ion-infinite-scroll_2.entry.js +3 -3
  244. package/dist/esm/ion-input-password-toggle.entry.js +3 -3
  245. package/dist/esm/ion-input.entry.js +3 -3
  246. package/dist/esm/ion-item-option_3.entry.js +4 -4
  247. package/dist/esm/ion-item_8.entry.js +12 -12
  248. package/dist/esm/ion-loading.entry.js +2 -2
  249. package/dist/esm/ion-menu_3.entry.js +6 -6
  250. package/dist/esm/ion-modal.entry.js +4 -4
  251. package/dist/esm/ion-nav_2.entry.js +2 -2
  252. package/dist/esm/ion-picker-column-option.entry.js +2 -2
  253. package/dist/esm/ion-picker-column.entry.js +3 -3
  254. package/dist/esm/ion-picker.entry.js +2 -2
  255. package/dist/esm/ion-popover.entry.js +2 -2
  256. package/dist/esm/ion-progress-bar.entry.js +1 -1
  257. package/dist/esm/ion-radio_2.entry.js +4 -4
  258. package/dist/esm/ion-range.entry.js +3 -3
  259. package/dist/esm/ion-refresher_2.entry.js +2 -2
  260. package/dist/esm/ion-reorder_2.entry.js +2 -2
  261. package/dist/esm/ion-ripple-effect.entry.js +1 -1
  262. package/dist/esm/ion-route_4.entry.js +2 -2
  263. package/dist/esm/ion-searchbar.entry.js +4 -4
  264. package/dist/esm/ion-segment_2.entry.js +5 -5
  265. package/dist/esm/ion-select_3.entry.js +4 -4
  266. package/dist/esm/ion-spinner.entry.js +1 -1
  267. package/dist/esm/ion-split-pane.entry.js +2 -2
  268. package/dist/esm/ion-tab-bar_2.entry.js +4 -4
  269. package/dist/esm/ion-tab_2.entry.js +3 -3
  270. package/dist/esm/ion-text.entry.js +2 -2
  271. package/dist/esm/ion-textarea.entry.js +2 -2
  272. package/dist/esm/ion-toast.entry.js +2 -2
  273. package/dist/esm/ion-toggle.entry.js +3 -3
  274. package/dist/esm/ionic.js +1 -1
  275. package/dist/esm/loader.js +1 -1
  276. package/dist/esm-es5/ion-action-sheet.entry.js +1 -1
  277. package/dist/esm-es5/ion-alert.entry.js +1 -1
  278. package/dist/esm-es5/ion-app_8.entry.js +1 -1
  279. package/dist/esm-es5/ion-avatar_3.entry.js +1 -1
  280. package/dist/esm-es5/ion-back-button.entry.js +1 -1
  281. package/dist/esm-es5/ion-backdrop.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-chip.entry.js +1 -1
  287. package/dist/esm-es5/ion-col_3.entry.js +1 -1
  288. package/dist/esm-es5/ion-datetime-button.entry.js +1 -1
  289. package/dist/esm-es5/ion-datetime_3.entry.js +1 -1
  290. package/dist/esm-es5/ion-fab_3.entry.js +1 -1
  291. package/dist/esm-es5/ion-img.entry.js +1 -1
  292. package/dist/esm-es5/ion-infinite-scroll_2.entry.js +1 -1
  293. package/dist/esm-es5/ion-input-password-toggle.entry.js +1 -1
  294. package/dist/esm-es5/ion-input.entry.js +1 -1
  295. package/dist/esm-es5/ion-item-option_3.entry.js +1 -1
  296. package/dist/esm-es5/ion-item_8.entry.js +1 -1
  297. package/dist/esm-es5/ion-loading.entry.js +1 -1
  298. package/dist/esm-es5/ion-menu_3.entry.js +1 -1
  299. package/dist/esm-es5/ion-modal.entry.js +1 -1
  300. package/dist/esm-es5/ion-nav_2.entry.js +1 -1
  301. package/dist/esm-es5/ion-picker-column-option.entry.js +1 -1
  302. package/dist/esm-es5/ion-picker-column.entry.js +1 -1
  303. package/dist/esm-es5/ion-picker.entry.js +1 -1
  304. package/dist/esm-es5/ion-popover.entry.js +1 -1
  305. package/dist/esm-es5/ion-progress-bar.entry.js +1 -1
  306. package/dist/esm-es5/ion-radio_2.entry.js +1 -1
  307. package/dist/esm-es5/ion-range.entry.js +1 -1
  308. package/dist/esm-es5/ion-refresher_2.entry.js +1 -1
  309. package/dist/esm-es5/ion-reorder_2.entry.js +1 -1
  310. package/dist/esm-es5/ion-ripple-effect.entry.js +1 -1
  311. package/dist/esm-es5/ion-route_4.entry.js +1 -1
  312. package/dist/esm-es5/ion-searchbar.entry.js +1 -1
  313. package/dist/esm-es5/ion-segment_2.entry.js +1 -1
  314. package/dist/esm-es5/ion-select_3.entry.js +1 -1
  315. package/dist/esm-es5/ion-spinner.entry.js +1 -1
  316. package/dist/esm-es5/ion-split-pane.entry.js +1 -1
  317. package/dist/esm-es5/ion-tab-bar_2.entry.js +1 -1
  318. package/dist/esm-es5/ion-tab_2.entry.js +1 -1
  319. package/dist/esm-es5/ion-text.entry.js +1 -1
  320. package/dist/esm-es5/ion-textarea.entry.js +1 -1
  321. package/dist/esm-es5/ion-toast.entry.js +1 -1
  322. package/dist/esm-es5/ion-toggle.entry.js +1 -1
  323. package/dist/esm-es5/ionic.js +1 -1
  324. package/dist/esm-es5/loader.js +1 -1
  325. package/dist/ionic/ionic.esm.js +1 -1
  326. package/dist/ionic/{p-7603fa3c.entry.js → p-03868d1d.entry.js} +1 -1
  327. package/dist/ionic/{p-79357257.system.entry.js → p-050a50e6.system.entry.js} +2 -2
  328. package/dist/ionic/{p-51f35545.entry.js → p-072ed43e.entry.js} +1 -1
  329. package/dist/ionic/{p-08d58c6e.system.entry.js → p-0b82c65b.system.entry.js} +1 -1
  330. package/dist/ionic/{p-7219765b.system.entry.js → p-108dfae3.system.entry.js} +1 -1
  331. package/dist/ionic/{p-4689be69.entry.js → p-1437acda.entry.js} +1 -1
  332. package/dist/ionic/{p-bfadf647.entry.js → p-153f4241.entry.js} +1 -1
  333. package/dist/ionic/{p-10d5c336.system.entry.js → p-15cbdf18.system.entry.js} +2 -2
  334. package/dist/ionic/{p-6632c950.system.entry.js → p-15fc489f.system.entry.js} +1 -1
  335. package/dist/ionic/{p-82229906.entry.js → p-1b4556cf.entry.js} +1 -1
  336. package/dist/ionic/p-1e644118.entry.js +4 -0
  337. package/dist/ionic/{p-b16f01c0.system.entry.js → p-1f9e350a.system.entry.js} +1 -1
  338. package/dist/ionic/{p-d0d0b5da.entry.js → p-21714c97.entry.js} +1 -1
  339. package/dist/ionic/{p-b4d17d24.system.entry.js → p-242ba41c.system.entry.js} +1 -1
  340. package/dist/ionic/{p-bd18dd08.system.entry.js → p-27278438.system.entry.js} +1 -1
  341. package/dist/ionic/{p-24fa7c25.entry.js → p-28cd9738.entry.js} +1 -1
  342. package/dist/ionic/{p-a168b755.entry.js → p-2ff38923.entry.js} +1 -1
  343. package/dist/ionic/{p-f8ad7ea4.system.entry.js → p-301a801a.system.entry.js} +1 -1
  344. package/dist/ionic/{p-fa8d5872.system.entry.js → p-3066d27b.system.entry.js} +1 -1
  345. package/dist/ionic/p-322c5fb4.system.js +1 -1
  346. package/dist/ionic/{p-ed972ec6.system.entry.js → p-33115f69.system.entry.js} +1 -1
  347. package/dist/ionic/{p-cd83e57a.system.entry.js → p-35486885.system.entry.js} +1 -1
  348. package/dist/ionic/{p-e71ad7fd.system.entry.js → p-3d9903f5.system.entry.js} +1 -1
  349. package/dist/ionic/{p-99f8439c.entry.js → p-3df2d35c.entry.js} +1 -1
  350. package/dist/ionic/{p-d16f52c4.entry.js → p-41baf584.entry.js} +1 -1
  351. package/dist/ionic/{p-669bec19.entry.js → p-423e944c.entry.js} +1 -1
  352. package/dist/ionic/{p-000616a6.system.entry.js → p-43f172d8.system.entry.js} +1 -1
  353. package/dist/ionic/{p-b096d8e2.system.entry.js → p-453b0b5c.system.entry.js} +1 -1
  354. package/dist/ionic/{p-7f63a0a9.system.entry.js → p-4613748f.system.entry.js} +1 -1
  355. package/dist/ionic/{p-f8bd587f.entry.js → p-499e27b8.entry.js} +1 -1
  356. package/dist/ionic/{p-d1960417.system.entry.js → p-4a96ada0.system.entry.js} +1 -1
  357. package/dist/ionic/{p-762a188e.system.entry.js → p-4c23c00d.system.entry.js} +2 -2
  358. package/dist/ionic/{p-ef942556.system.entry.js → p-5244c684.system.entry.js} +1 -1
  359. package/dist/ionic/{p-fb4aa2f3.system.entry.js → p-5390d402.system.entry.js} +1 -1
  360. package/dist/ionic/{p-aebea85f.entry.js → p-56e8b882.entry.js} +1 -1
  361. package/dist/ionic/{p-f7a79406.system.entry.js → p-59b940a4.system.entry.js} +1 -1
  362. package/dist/ionic/{p-8522dc98.entry.js → p-5a8f5d9f.entry.js} +1 -1
  363. package/dist/ionic/{p-a40583b8.entry.js → p-5ab4b47d.entry.js} +1 -1
  364. package/dist/ionic/{p-368d64f5.entry.js → p-5f61ff91.entry.js} +1 -1
  365. package/dist/ionic/p-6674595b.entry.js +4 -0
  366. package/dist/ionic/{p-b0815de0.entry.js → p-694f2e47.entry.js} +1 -1
  367. package/dist/ionic/{p-8c559d3e.system.entry.js → p-6a05f5b4.system.entry.js} +1 -1
  368. package/dist/ionic/{p-85047881.entry.js → p-6bc4a7be.entry.js} +1 -1
  369. package/dist/ionic/{p-aff11d9d.system.entry.js → p-6d633bdd.system.entry.js} +1 -1
  370. package/dist/ionic/{p-fb7ccf79.entry.js → p-72b4ec08.entry.js} +1 -1
  371. package/dist/ionic/{p-eff0c7a8.system.entry.js → p-77ec77c9.system.entry.js} +1 -1
  372. package/dist/ionic/{p-f2a066df.system.entry.js → p-782865e3.system.entry.js} +2 -2
  373. package/dist/ionic/{p-6fefff9f.system.entry.js → p-7a5a88ef.system.entry.js} +2 -2
  374. package/dist/ionic/{p-6aa6d203.system.entry.js → p-7c06824d.system.entry.js} +1 -1
  375. package/dist/ionic/{p-caec9a53.system.entry.js → p-7cb8aa5a.system.entry.js} +1 -1
  376. package/dist/ionic/{p-bf18fec7.system.entry.js → p-83352533.system.entry.js} +1 -1
  377. package/dist/ionic/{p-490c8a1a.system.entry.js → p-843c45fc.system.entry.js} +1 -1
  378. package/dist/ionic/{p-6a4ffe5b.entry.js → p-865c554d.entry.js} +1 -1
  379. package/dist/ionic/{p-0bd1e451.system.entry.js → p-876c56d2.system.entry.js} +1 -1
  380. package/dist/ionic/{p-dda1c6b2.entry.js → p-87fd7d52.entry.js} +1 -1
  381. package/dist/ionic/{p-7f764683.entry.js → p-880b189d.entry.js} +1 -1
  382. package/dist/ionic/{p-d061a468.system.entry.js → p-8961fd4e.system.entry.js} +2 -2
  383. package/dist/ionic/{p-f7ae9e98.entry.js → p-8f76c617.entry.js} +1 -1
  384. package/dist/ionic/{p-a604f134.system.entry.js → p-8fcb8057.system.entry.js} +2 -2
  385. package/dist/ionic/{p-37990e47.system.entry.js → p-9049c38c.system.entry.js} +1 -1
  386. package/dist/ionic/{p-39d31e65.entry.js → p-976306d9.entry.js} +1 -1
  387. package/dist/ionic/{p-4a2a18a8.entry.js → p-98de22f8.entry.js} +1 -1
  388. package/dist/ionic/{p-8ebf2e18.entry.js → p-99350a5b.entry.js} +1 -1
  389. package/dist/ionic/{p-76c72e72.entry.js → p-a1626462.entry.js} +1 -1
  390. package/dist/ionic/{p-6c05b139.entry.js → p-a217f70d.entry.js} +1 -1
  391. package/dist/ionic/{p-01363de7.entry.js → p-a2849fdb.entry.js} +1 -1
  392. package/dist/ionic/{p-8c7835a4.system.entry.js → p-a2cae0ef.system.entry.js} +1 -1
  393. package/dist/ionic/{p-7c010051.system.entry.js → p-a7def74a.system.entry.js} +1 -1
  394. package/dist/ionic/{p-af6ce16f.entry.js → p-a7f98a5b.entry.js} +1 -1
  395. package/dist/ionic/{p-27d8ecaa.system.entry.js → p-af2be780.system.entry.js} +1 -1
  396. package/dist/ionic/{p-325e50fe.system.entry.js → p-b1bf9eb1.system.entry.js} +1 -1
  397. package/dist/ionic/{p-f7a4f0c9.entry.js → p-b3bd0537.entry.js} +1 -1
  398. package/dist/ionic/{p-52738d32.entry.js → p-b644aa68.entry.js} +1 -1
  399. package/dist/ionic/{p-26d3578f.system.entry.js → p-b755a78c.system.entry.js} +1 -1
  400. package/dist/ionic/p-b7be75cb.entry.js +4 -0
  401. package/dist/ionic/{p-93555796.system.entry.js → p-baead60e.system.entry.js} +1 -1
  402. package/dist/ionic/{p-ccf3e048.entry.js → p-bb12b5de.entry.js} +1 -1
  403. package/dist/ionic/{p-b3fe1b31.entry.js → p-bba68030.entry.js} +1 -1
  404. package/dist/ionic/p-bc0bd2c1.system.entry.js +4 -0
  405. package/dist/ionic/{p-e47ea956.system.entry.js → p-bc110359.system.entry.js} +1 -1
  406. package/dist/ionic/{p-f98b76f3.entry.js → p-c4ec872c.entry.js} +1 -1
  407. package/dist/ionic/{p-f73a7a4b.system.entry.js → p-c7ce0f99.system.entry.js} +1 -1
  408. package/dist/ionic/{p-5626a758.entry.js → p-c82f1132.entry.js} +1 -1
  409. package/dist/ionic/{p-59bfe113.entry.js → p-d4ef905f.entry.js} +1 -1
  410. package/dist/ionic/{p-a35df635.entry.js → p-d838e45f.entry.js} +1 -1
  411. package/dist/ionic/{p-988c0d79.system.entry.js → p-e720c0d4.system.entry.js} +1 -1
  412. package/dist/ionic/{p-c4e1473f.entry.js → p-e75fd8e1.entry.js} +1 -1
  413. package/dist/ionic/{p-18853369.system.entry.js → p-e8325a4d.system.entry.js} +1 -1
  414. package/dist/ionic/p-eb91437e.entry.js +4 -0
  415. package/dist/ionic/{p-0114f140.entry.js → p-f24995b2.entry.js} +1 -1
  416. package/dist/ionic/{p-1704f743.system.entry.js → p-f3c1b363.system.entry.js} +1 -1
  417. package/dist/ionic/{p-a48267bc.system.entry.js → p-facfffe0.system.entry.js} +1 -1
  418. package/dist/ionic/{p-45f40456.entry.js → p-fe5028f5.entry.js} +1 -1
  419. package/dist/ionic/{p-1604366a.entry.js → p-ff1211dc.entry.js} +1 -1
  420. package/dist/ionic/{p-eec956a8.entry.js → p-ff1a021a.entry.js} +1 -1
  421. package/dist/types/components/action-sheet/action-sheet.d.ts +1 -0
  422. package/hydrate/index.js +180 -180
  423. package/hydrate/index.mjs +180 -180
  424. package/package.json +1 -1
  425. package/dist/ionic/p-0da547d8.entry.js +0 -4
  426. package/dist/ionic/p-11ee3944.system.entry.js +0 -4
  427. package/dist/ionic/p-90e5b963.entry.js +0 -4
  428. package/dist/ionic/p-d4b05952.entry.js +0 -4
  429. package/dist/ionic/p-d58830bc.entry.js +0 -4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ionic/core",
3
- "version": "8.3.3-dev.11729027747.1d05ced8",
3
+ "version": "8.3.3-dev.11729113140.194d2c73",
4
4
  "description": "Base components for Ionic",
5
5
  "keywords": [
6
6
  "ionic",
@@ -1,4 +0,0 @@
1
- /*!
2
- * (C) Ionic http://ionicframework.com - MIT License
3
- */
4
- import{r as t,d as o,e,h as i,f as n,i as a}from"./p-d836d43e.js";import{c as r}from"./p-69066a53.js";import{r as c}from"./p-b51e4004.js";import{c as s}from"./p-ccd02320.js";import{d,e as h,B as l,i as b,f as p,g as u,h as g,s as v,j as m,k as f}from"./p-a440397c.js";import{g as k}from"./p-47794def.js";import{b as x}from"./p-0574e87e.js";import{c as w}from"./p-c7e16491.js";import"./p-89b61afc.js";import"./p-c61cc894.js";import"./p-7b30edcc.js";import"./p-8ededb41.js";import"./p-9b97df10.js";import"./p-ecceeb90.js";import"./p-3cc276f4.js";import"./p-06fee233.js";const y=t=>{const o=w(),e=w(),i=w();return e.addElement(t.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),i.addElement(t.querySelector(".action-sheet-wrapper")).fromTo("transform","translateY(100%)","translateY(0%)"),o.addElement(t).easing("cubic-bezier(.36,.66,.04,1)").duration(400).addAnimation([e,i])},z=t=>{const o=w(),e=w(),i=w();return e.addElement(t.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",0),i.addElement(t.querySelector(".action-sheet-wrapper")).fromTo("transform","translateY(0%)","translateY(100%)"),o.addElement(t).easing("cubic-bezier(.36,.66,.04,1)").duration(450).addAnimation([e,i])},j=t=>{const o=w(),e=w(),i=w();return e.addElement(t.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),i.addElement(t.querySelector(".action-sheet-wrapper")).fromTo("transform","translateY(100%)","translateY(0%)"),o.addElement(t).easing("cubic-bezier(.36,.66,.04,1)").duration(400).addAnimation([e,i])},D=t=>{const o=w(),e=w(),i=w();return e.addElement(t.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",0),i.addElement(t.querySelector(".action-sheet-wrapper")).fromTo("transform","translateY(0%)","translateY(100%)"),o.addElement(t).easing("cubic-bezier(.36,.66,.04,1)").duration(450).addAnimation([e,i])},C=class{constructor(e){t(this,e),this.didPresent=o(this,"ionActionSheetDidPresent",7),this.willPresent=o(this,"ionActionSheetWillPresent",7),this.willDismiss=o(this,"ionActionSheetWillDismiss",7),this.didDismiss=o(this,"ionActionSheetDidDismiss",7),this.didPresentShorthand=o(this,"didPresent",7),this.willPresentShorthand=o(this,"willPresent",7),this.willDismissShorthand=o(this,"willDismiss",7),this.didDismissShorthand=o(this,"didDismiss",7),this.delegateController=d(this),this.lockController=s(),this.triggerController=h(),this.presented=!1,this.onBackdropTap=()=>{this.dismiss(void 0,l)},this.dispatchCancelHandler=t=>{if(b(t.detail.role)){const t=this.getButtons().find((t=>"cancel"===t.role));this.callButtonHandler(t)}},this.overlayIndex=void 0,this.delegate=void 0,this.hasController=!1,this.keyboardClose=!0,this.enterAnimation=void 0,this.leaveAnimation=void 0,this.buttons=[],this.cssClass=void 0,this.backdropDismiss=!0,this.header=void 0,this.subHeader=void 0,this.translucent=!1,this.animated=!0,this.htmlAttributes=void 0,this.isOpen=!1,this.trigger=void 0}onIsOpenChange(t,o){!0===t&&!1===o?this.present():!1===t&&!0===o&&this.dismiss()}triggerChanged(){const{trigger:t,el:o,triggerController:e}=this;t&&e.addClickListener(o,t)}async present(){const t=await this.lockController.lock();await this.delegateController.attachViewToDom(),await p(this,"actionSheetEnter",y,j),t()}async dismiss(t,o){const e=await this.lockController.lock(),i=await u(this,t,o,"actionSheetLeave",z,D);return i&&this.delegateController.removeViewFromDom(),e(),i}onDidDismiss(){return g(this.el,"ionActionSheetDidDismiss")}onWillDismiss(){return g(this.el,"ionActionSheetWillDismiss")}async callButtonHandler(t){return!t||!1!==await v(t.handler)}getButtons(){return this.buttons.map((t=>"string"==typeof t?{text:t}:t))}connectedCallback(){m(this.el),this.triggerChanged()}disconnectedCallback(){this.gesture&&(this.gesture.destroy(),this.gesture=void 0),this.triggerController.removeClickListener()}componentWillLoad(){var t;(null===(t=this.htmlAttributes)||void 0===t?void 0:t.id)||f(this.el)}componentDidLoad(){const{groupEl:t,wrapperEl:o}=this;!this.gesture&&"ios"===x(this)&&o&&t&&e((()=>{t.scrollHeight>t.clientHeight||(this.gesture=r(o,(t=>t.classList.contains("action-sheet-button"))),this.gesture.enable(!0))})),!0===this.isOpen&&c((()=>this.present())),this.triggerChanged()}render(){const{header:t,htmlAttributes:o,overlayIndex:e}=this,a=x(this),r=`action-sheet-${e}-header`;return i(n,Object.assign({key:"e1b1ed6c403a2740700053df4bd0264982e5f75c",role:"dialog","aria-modal":"true","aria-labelledby":void 0!==t?r:null,tabindex:"-1"},o,{style:{zIndex:`${2e4+this.overlayIndex}`},class:Object.assign(Object.assign({[a]:!0},k(this.cssClass)),{"overlay-hidden":!0,"action-sheet-translucent":this.translucent}),onIonActionSheetWillDismiss:this.dispatchCancelHandler,onIonBackdropTap:this.onBackdropTap}),i("ion-backdrop",{key:"9fa9befdcea7af76811b78f9f025f4565bc25f9e",tappable:this.backdropDismiss}),i("div",{key:"63ed6cbdec2ea50dd7c1989677ac0cb1924e4b8c",tabindex:"0"}),i("div",{key:"e93d88a957d3deb4c886069bf7bb4c1b3c32c77e",class:"action-sheet-wrapper ion-overlay-wrapper",ref:t=>this.wrapperEl=t},i("div",{key:"8681ca457aa67fc9646cc9b03af2458cfc6af654",class:"action-sheet-head"},void 0!==t&&i("h2",{key:"df225c04e4e9f57e944084c1205870dbfebe7175",id:r,class:{"action-sheet-title":!0,"action-sheet-has-sub-title":void 0!==this.subHeader}},t),void 0!==this.subHeader&&i("h2",{key:"49dbc8bc9fe09375719c783dcd4ae1a63287befa",class:"action-sheet-sub-title"},this.subHeader))),i("div",{key:"22fc26a805b5a0d406caf0c83e00a9f6cea339c7",tabindex:"0"}))}get el(){return a(this)}static get watchers(){return{isOpen:["onIsOpenChange"],trigger:["triggerChanged"]}}};C.style={ios:".sc-ion-action-sheet-ios-h{--color:initial;--button-color-activated:var(--button-color);--button-color-focused:var(--button-color);--button-color-hover:var(--button-color);--button-color-selected:var(--button-color);--min-width:auto;--width:100%;--max-width:500px;--min-height:auto;--height:auto;--max-height:calc(100% - (var(--ion-safe-area-top) + var(--ion-safe-area-bottom)));-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;left:0;right:0;top:0;bottom:0;display:block;position:fixed;outline:none;font-family:var(--ion-font-family, inherit);-ms-touch-action:none;touch-action:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1001}.overlay-hidden.sc-ion-action-sheet-ios-h{display:none}.action-sheet-wrapper.sc-ion-action-sheet-ios{left:0;right:0;bottom:0;-webkit-transform:translate3d(0, 100%, 0);transform:translate3d(0, 100%, 0);display:block;position:absolute;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);z-index:10;pointer-events:none}.action-sheet-button.sc-ion-action-sheet-ios{display:block;position:relative;width:100%;border:0;outline:none;background:var(--button-background);color:var(--button-color);font-family:inherit;overflow:hidden}.action-sheet-button.sc-ion-action-sheet-ios:disabled{color:var(--button-color-disabled);opacity:0.4}.action-sheet-button-inner.sc-ion-action-sheet-ios{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;pointer-events:none;width:100%;height:100%;z-index:1}.action-sheet-container.sc-ion-action-sheet-ios{display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;-ms-flex-pack:end;justify-content:flex-end;height:100%;max-height:calc(100vh - (var(--ion-safe-area-top, 0) + var(--ion-safe-area-bottom, 0)));max-height:calc(100dvh - (var(--ion-safe-area-top, 0) + var(--ion-safe-area-bottom, 0)))}.action-sheet-group.sc-ion-action-sheet-ios{-ms-flex-negative:2;flex-shrink:2;overscroll-behavior-y:contain;overflow-y:auto;-webkit-overflow-scrolling:touch;pointer-events:all;background:var(--background)}@media (any-pointer: coarse){.action-sheet-group.sc-ion-action-sheet-ios::-webkit-scrollbar{display:none}}.action-sheet-group-cancel.sc-ion-action-sheet-ios{-ms-flex-negative:0;flex-shrink:0;overflow:hidden}.action-sheet-selected.sc-ion-action-sheet-ios{color:var(--button-color-selected)}.action-sheet-selected.sc-ion-action-sheet-ios::after{background:var(--button-background-selected);opacity:var(--button-background-selected-opacity)}.action-sheet-button.ion-activated.sc-ion-action-sheet-ios{color:var(--button-color-activated)}.action-sheet-button.ion-activated.sc-ion-action-sheet-ios::after{background:var(--button-background-activated);opacity:var(--button-background-activated-opacity)}.action-sheet-button.ion-focused.sc-ion-action-sheet-ios{color:var(--button-color-focused);background-color:var(--button-background-focused);opacity:var(--button-background-focused-opacity)}.action-sheet-button.ion-focused.sc-ion-action-sheet-ios::after{background:var(--button-background-focused);opacity:var(--button-background-focused-opacity)}@media (any-hover: hover){.action-sheet-button.sc-ion-action-sheet-ios:not(:disabled):hover{color:var(--button-color-hover)}.action-sheet-button.sc-ion-action-sheet-ios:not(:disabled):hover::after{background:var(--button-background-hover);opacity:var(--button-background-hover-opacity)}}.sc-ion-action-sheet-ios-h{--background:var(--ion-overlay-background-color, var(--ion-color-step-100, var(--ion-background-color-step-100, #f9f9f9)));--backdrop-opacity:var(--ion-backdrop-opacity, 0.4);--button-background:linear-gradient(0deg, rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.08), rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.08) 50%, transparent 50%) bottom/100% 1px no-repeat transparent;--button-background-activated:var(--ion-text-color, #000);--button-background-activated-opacity:.08;--button-background-hover:currentColor;--button-background-hover-opacity:.04;--button-background-focused:currentColor;--button-background-focused-opacity:.12;--button-background-selected:var(--ion-color-step-150, var(--ion-background-color-step-150, var(--ion-background-color, #fff)));--button-background-selected-opacity:1;--button-color:var(--ion-color-primary, #0054e9);--button-color-disabled:var(--ion-color-step-850, var(--ion-text-color-step-150, #262626));--color:var(--ion-color-step-400, var(--ion-text-color-step-600, #999999));text-align:center}.action-sheet-wrapper.sc-ion-action-sheet-ios{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:var(--ion-safe-area-top, 0);padding-bottom:var(--ion-safe-area-bottom, 0);-webkit-box-sizing:content-box;box-sizing:content-box}.action-sheet-container.sc-ion-action-sheet-ios{-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px;padding-top:0;padding-bottom:0}.action-sheet-group.sc-ion-action-sheet-ios{border-radius:13px;margin-bottom:8px}.action-sheet-group.sc-ion-action-sheet-ios:first-child{margin-top:10px}.action-sheet-group.sc-ion-action-sheet-ios:last-child{margin-bottom:10px}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){.action-sheet-translucent.sc-ion-action-sheet-ios-h .action-sheet-group.sc-ion-action-sheet-ios{background-color:transparent;-webkit-backdrop-filter:saturate(280%) blur(20px);backdrop-filter:saturate(280%) blur(20px)}.action-sheet-translucent.sc-ion-action-sheet-ios-h .action-sheet-title.sc-ion-action-sheet-ios,.action-sheet-translucent.sc-ion-action-sheet-ios-h .action-sheet-button.sc-ion-action-sheet-ios{background-color:transparent;background-image:-webkit-gradient(linear, left bottom, left top, from(rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8)), to(rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8))), -webkit-gradient(linear, left bottom, left top, from(rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.4)), color-stop(50%, rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.4)), color-stop(50%, rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8)));background-image:linear-gradient(0deg, rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8), rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8) 100%), linear-gradient(0deg, rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.4), rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.4) 50%, rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8) 50%);background-repeat:no-repeat;background-position:top, bottom;background-size:100% calc(100% - 1px), 100% 1px;-webkit-backdrop-filter:saturate(120%);backdrop-filter:saturate(120%)}.action-sheet-translucent.sc-ion-action-sheet-ios-h .action-sheet-button.ion-activated.sc-ion-action-sheet-ios{background-color:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.7);background-image:none}.action-sheet-translucent.sc-ion-action-sheet-ios-h .action-sheet-cancel.sc-ion-action-sheet-ios{background:var(--button-background-selected)}}.action-sheet-title.sc-ion-action-sheet-ios{background:-webkit-gradient(linear, left bottom, left top, from(rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.08)), color-stop(50%, rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.08)), color-stop(50%, transparent)) bottom/100% 1px no-repeat transparent;background:linear-gradient(0deg, rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.08), rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.08) 50%, transparent 50%) bottom/100% 1px no-repeat transparent}.action-sheet-title.sc-ion-action-sheet-ios{-webkit-padding-start:10px;padding-inline-start:10px;-webkit-padding-end:10px;padding-inline-end:10px;padding-top:14px;padding-bottom:13px;color:var(--color, var(--ion-color-step-400, var(--ion-text-color-step-600, #999999)));font-size:max(13px, 0.8125rem);font-weight:400;text-align:center}.action-sheet-title.action-sheet-has-sub-title.sc-ion-action-sheet-ios{font-weight:600}.action-sheet-sub-title.sc-ion-action-sheet-ios{padding-left:0;padding-right:0;padding-top:6px;padding-bottom:0;font-size:max(13px, 0.8125rem);font-weight:400}.action-sheet-button.sc-ion-action-sheet-ios{-webkit-padding-start:14px;padding-inline-start:14px;-webkit-padding-end:14px;padding-inline-end:14px;padding-top:14px;padding-bottom:14px;min-height:56px;font-size:max(20px, 1.25rem);contain:content}.action-sheet-button.sc-ion-action-sheet-ios .action-sheet-icon.sc-ion-action-sheet-ios{-webkit-margin-end:0.3em;margin-inline-end:0.3em;font-size:max(28px, 1.75rem);pointer-events:none}.action-sheet-button.sc-ion-action-sheet-ios:last-child{background-image:none}.action-sheet-selected.sc-ion-action-sheet-ios{font-weight:bold}.action-sheet-cancel.sc-ion-action-sheet-ios{font-weight:600}.action-sheet-cancel.sc-ion-action-sheet-ios::after{background:var(--button-background-selected);opacity:var(--button-background-selected-opacity)}.action-sheet-destructive.sc-ion-action-sheet-ios,.action-sheet-destructive.ion-activated.sc-ion-action-sheet-ios,.action-sheet-destructive.ion-focused.sc-ion-action-sheet-ios{color:var(--ion-color-danger, #c5000f)}@media (any-hover: hover){.action-sheet-destructive.sc-ion-action-sheet-ios:hover{color:var(--ion-color-danger, #c5000f)}}",md:".sc-ion-action-sheet-md-h{--color:initial;--button-color-activated:var(--button-color);--button-color-focused:var(--button-color);--button-color-hover:var(--button-color);--button-color-selected:var(--button-color);--min-width:auto;--width:100%;--max-width:500px;--min-height:auto;--height:auto;--max-height:calc(100% - (var(--ion-safe-area-top) + var(--ion-safe-area-bottom)));-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;left:0;right:0;top:0;bottom:0;display:block;position:fixed;outline:none;font-family:var(--ion-font-family, inherit);-ms-touch-action:none;touch-action:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1001}.overlay-hidden.sc-ion-action-sheet-md-h{display:none}.action-sheet-wrapper.sc-ion-action-sheet-md{left:0;right:0;bottom:0;-webkit-transform:translate3d(0, 100%, 0);transform:translate3d(0, 100%, 0);display:block;position:absolute;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);z-index:10;pointer-events:none}.action-sheet-button.sc-ion-action-sheet-md{display:block;position:relative;width:100%;border:0;outline:none;background:var(--button-background);color:var(--button-color);font-family:inherit;overflow:hidden}.action-sheet-button.sc-ion-action-sheet-md:disabled{color:var(--button-color-disabled);opacity:0.4}.action-sheet-button-inner.sc-ion-action-sheet-md{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;pointer-events:none;width:100%;height:100%;z-index:1}.action-sheet-container.sc-ion-action-sheet-md{display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;-ms-flex-pack:end;justify-content:flex-end;height:100%;max-height:calc(100vh - (var(--ion-safe-area-top, 0) + var(--ion-safe-area-bottom, 0)));max-height:calc(100dvh - (var(--ion-safe-area-top, 0) + var(--ion-safe-area-bottom, 0)))}.action-sheet-group.sc-ion-action-sheet-md{-ms-flex-negative:2;flex-shrink:2;overscroll-behavior-y:contain;overflow-y:auto;-webkit-overflow-scrolling:touch;pointer-events:all;background:var(--background)}@media (any-pointer: coarse){.action-sheet-group.sc-ion-action-sheet-md::-webkit-scrollbar{display:none}}.action-sheet-group-cancel.sc-ion-action-sheet-md{-ms-flex-negative:0;flex-shrink:0;overflow:hidden}.action-sheet-selected.sc-ion-action-sheet-md{color:var(--button-color-selected)}.action-sheet-selected.sc-ion-action-sheet-md::after{background:var(--button-background-selected);opacity:var(--button-background-selected-opacity)}.action-sheet-button.ion-activated.sc-ion-action-sheet-md{color:var(--button-color-activated)}.action-sheet-button.ion-activated.sc-ion-action-sheet-md::after{background:var(--button-background-activated);opacity:var(--button-background-activated-opacity)}.action-sheet-button.ion-focused.sc-ion-action-sheet-md{color:var(--button-color-focused);background-color:var(--button-background-focused);opacity:var(--button-background-focused-opacity)}.action-sheet-button.ion-focused.sc-ion-action-sheet-md::after{background:var(--button-background-focused);opacity:var(--button-background-focused-opacity)}@media (any-hover: hover){.action-sheet-button.sc-ion-action-sheet-md:not(:disabled):hover{color:var(--button-color-hover)}.action-sheet-button.sc-ion-action-sheet-md:not(:disabled):hover::after{background:var(--button-background-hover);opacity:var(--button-background-hover-opacity)}}.sc-ion-action-sheet-md-h{--background:var(--ion-overlay-background-color, var(--ion-background-color, #fff));--backdrop-opacity:var(--ion-backdrop-opacity, 0.32);--button-background:transparent;--button-background-selected:currentColor;--button-background-selected-opacity:0;--button-background-activated:transparent;--button-background-activated-opacity:0;--button-background-hover:currentColor;--button-background-hover-opacity:.04;--button-background-focused:currentColor;--button-background-focused-opacity:.12;--button-color:var(--ion-color-step-850, var(--ion-text-color-step-150, #262626));--button-color-disabled:var(--button-color);--color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.54)}.action-sheet-wrapper.sc-ion-action-sheet-md{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:var(--ion-safe-area-top, 0);margin-bottom:0}.action-sheet-title.sc-ion-action-sheet-md{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:20px;padding-bottom:17px;min-height:60px;color:var(--color, rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.54));font-size:1rem;text-align:start}.action-sheet-sub-title.sc-ion-action-sheet-md{padding-left:0;padding-right:0;padding-top:16px;padding-bottom:0;font-size:0.875rem}.action-sheet-group.sc-ion-action-sheet-md:first-child{padding-top:0}.action-sheet-group.sc-ion-action-sheet-md:last-child{padding-bottom:var(--ion-safe-area-bottom)}.action-sheet-button.sc-ion-action-sheet-md{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:12px;padding-bottom:12px;position:relative;min-height:52px;font-size:1rem;text-align:start;contain:content;overflow:hidden}.action-sheet-icon.sc-ion-action-sheet-md{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:32px;margin-inline-end:32px;margin-top:0;margin-bottom:0;color:var(--color);font-size:1.5rem}.action-sheet-button-inner.sc-ion-action-sheet-md{-ms-flex-pack:start;justify-content:flex-start}.action-sheet-selected.sc-ion-action-sheet-md{font-weight:bold}"};export{C as ion_action_sheet}
@@ -1,4 +0,0 @@
1
- /*!
2
- * (C) Ionic http://ionicframework.com - MIT License
3
- */
4
- System.register(["./p-25180df3.system.js","./p-4609d030.system.js","./p-a69b9fc5.system.js"],(function(t){"use strict";var n,s,e,a,c;return{setters:[function(t){n=t.r;s=t.h;e=t.f},function(t){a=t.c},function(t){c=t.b}],execute:function(){var f=":host(.ion-color){color:var(--ion-color-base)}";var o=f;var r=t("ion_text",function(){function t(t){n(this,t);this.color=undefined}t.prototype.render=function(){var t;var n=c(this);return s(e,{key:"ab9a44c87ae1a8315ca07721f683fb439f2caff1",class:a(this.color,(t={},t[n]=true,t))},s("slot",{key:"809b39d6b64195fdf9788ae121a4f241ba1cac6b"}))};return t}());r.style=o}}}));
@@ -1,4 +0,0 @@
1
- /*!
2
- * (C) Ionic http://ionicframework.com - MIT License
3
- */
4
- import{r as t,d as o,i as n,h as e,f as i}from"./p-d836d43e.js";import{c as r,o as s}from"./p-b51e4004.js";import{o as c,c as a}from"./p-47794def.js";import{b as h}from"./p-0574e87e.js";const u=class{constructor(n){t(this,n),this.ionRouteDataChanged=o(this,"ionRouteDataChanged",7),this.url="",this.component=void 0,this.componentProps=void 0,this.beforeLeave=void 0,this.beforeEnter=void 0}onUpdate(t){this.ionRouteDataChanged.emit(t)}onComponentProps(t,o){if(t===o)return;const n=t?Object.keys(t):[],e=o?Object.keys(o):[];if(n.length===e.length){for(const e of n)if(t[e]!==o[e])return void this.onUpdate(t)}else this.onUpdate(t)}connectedCallback(){this.ionRouteDataChanged.emit()}static get watchers(){return{url:["onUpdate"],component:["onUpdate"],componentProps:["onComponentProps"]}}},l=class{constructor(n){t(this,n),this.ionRouteRedirectChanged=o(this,"ionRouteRedirectChanged",7),this.from=void 0,this.to=void 0}propDidChange(){this.ionRouteRedirectChanged.emit()}connectedCallback(){this.ionRouteRedirectChanged.emit()}static get watchers(){return{from:["propDidChange"],to:["propDidChange"]}}},f="root",d="forward",w=t=>"/"+t.filter((t=>t.length>0)).join("/"),p=t=>{let o,n=[""];if(null!=t){const e=t.indexOf("?");e>-1&&(o=t.substring(e+1),t=t.substring(0,e)),n=t.split("/").map((t=>t.trim())).filter((t=>t.length>0)),0===n.length&&(n=[""])}return{segments:n,queryString:o}},m=async(t,o,n,e,i=!1,s)=>{try{const c=v(t);if(e>=o.length||!c)return i;await new Promise((t=>r(c,t)));const a=o[e],h=await c.setRouteId(a.id,a.params,n,s);return h.changed&&(n=f,i=!0),i=await m(h.element,o,n,e+1,i,s),h.markVisible&&await h.markVisible(),i}catch(t){return console.error(t),!1}},b=":not([no-router]) ion-nav, :not([no-router]) ion-tabs, :not([no-router]) ion-router-outlet",v=t=>{if(!t)return;if(t.matches(b))return t;const o=t.querySelector(b);return null!=o?o:void 0},g=(t,o)=>o.find((o=>((t,o)=>{const{from:n,to:e}=o;if(void 0===e)return!1;if(n.length>t.length)return!1;for(let o=0;o<n.length;o++){const e=n[o];if("*"===e)return!0;if(e!==t[o])return!1}return n.length===t.length})(t,o))),y=(t,o)=>{const n=Math.min(t.length,o.length);let e=0;for(let i=0;i<n;i++){const n=t[i],r=o[i];if(n.id.toLowerCase()!==r.id)break;if(n.params){const t=Object.keys(n.params);if(t.length===r.segments.length){const o=t.map((t=>`:${t}`));for(let t=0;t<o.length&&o[t].toLowerCase()===r.segments[t];t++)e++}}e++}return e},R=(t,o)=>{const n=new O(t);let e,i=!1;for(let t=0;t<o.length;t++){const r=o[t].segments;if(""===r[0])i=!0;else{for(const o of r){const i=n.next();if(":"===o[0]){if(""===i)return null;e=e||[],(e[t]||(e[t]={}))[o.slice(1)]=i}else if(i!==o)return null}i=!1}}return i&&i!==(""===n.next())?null:e?o.map(((t,o)=>({id:t.id,segments:t.segments,params:C(t.params,e[o]),beforeEnter:t.beforeEnter,beforeLeave:t.beforeLeave}))):o},C=(t,o)=>t||o?Object.assign(Object.assign({},t),o):void 0,k=(t,o)=>{let n=null,e=0;for(const i of o){const o=R(t,i);if(null!==o){const t=j(o);t>e&&(e=t,n=o)}}return n},j=t=>{let o=1,n=1;for(const e of t)for(const t of e.segments)":"===t[0]?o+=Math.pow(1,n):""!==t&&(o+=Math.pow(2,n)),n++;return o};class O{constructor(t){this.segments=t.slice()}next(){return this.segments.length>0?this.segments.shift():""}}const D=(t,o)=>o in t?t[o]:t.hasAttribute(o)?t.getAttribute(o):null,E=t=>Array.from(t.children).filter((t=>"ION-ROUTE-REDIRECT"===t.tagName)).map((t=>{const o=D(t,"to");return{from:p(D(t,"from")).segments,to:null==o?void 0:p(o)}})),S=t=>L($(t)),$=t=>Array.from(t.children).filter((t=>"ION-ROUTE"===t.tagName&&t.component)).map((t=>{const o=D(t,"component");return{segments:p(D(t,"url")).segments,id:o.toLowerCase(),params:t.componentProps,beforeLeave:t.beforeLeave,beforeEnter:t.beforeEnter,children:$(t)}})),L=t=>{const o=[];for(const n of t)P([],o,n);return o},P=(t,o,n)=>{if(t=[...t,{id:n.id,segments:n.segments,params:n.params,beforeLeave:n.beforeLeave,beforeEnter:n.beforeEnter}],0!==n.children.length)for(const e of n.children)P(t,o,e);else o.push(t)},U=class{constructor(n){t(this,n),this.ionRouteWillChange=o(this,"ionRouteWillChange",7),this.ionRouteDidChange=o(this,"ionRouteDidChange",7),this.previousPath=null,this.busy=!1,this.state=0,this.lastState=0,this.root="/",this.useHash=!0}async componentWillLoad(){await(v(document.body)?Promise.resolve():new Promise((t=>{window.addEventListener("ionNavWillLoad",(()=>t()),{once:!0})})));const t=await this.runGuards(this.getSegments());if(!0!==t){if("object"==typeof t){const{redirect:o}=t,n=p(o);this.setSegments(n.segments,f,n.queryString),await this.writeNavStateRoot(n.segments,f)}}else await this.onRoutesChanged()}componentDidLoad(){window.addEventListener("ionRouteRedirectChanged",s(this.onRedirectChanged.bind(this),10)),window.addEventListener("ionRouteDataChanged",s(this.onRoutesChanged.bind(this),100))}async onPopState(){const t=this.historyDirection();let o=this.getSegments();const n=await this.runGuards(o);if(!0!==n){if("object"!=typeof n)return!1;o=p(n.redirect).segments}return this.writeNavStateRoot(o,t)}onBackButton(t){t.detail.register(0,(t=>{this.back(),t()}))}async canTransition(){const t=await this.runGuards();return!0===t||"object"==typeof t&&t.redirect}async push(t,o="forward",n){var e;if(t.startsWith(".")){const o=null!==(e=this.previousPath)&&void 0!==e?e:"/",n=new URL(t,`https://host/${o}`);t=n.pathname+n.search}let i=p(t);const r=await this.runGuards(i.segments);if(!0!==r){if("object"!=typeof r)return!1;i=p(r.redirect)}return this.setSegments(i.segments,o,i.queryString),this.writeNavStateRoot(i.segments,o,n)}back(){return window.history.back(),Promise.resolve(this.waitPromise)}async printDebug(){(t=>{console.group(`[ion-core] ROUTES[${t.length}]`);for(const o of t){const t=[];o.forEach((o=>t.push(...o.segments)));const n=o.map((t=>t.id));console.debug(`%c ${w(t)}`,"font-weight: bold; padding-left: 20px","=>\t",`(${n.join(", ")})`)}console.groupEnd()})(S(this.el)),(t=>{console.group(`[ion-core] REDIRECTS[${t.length}]`);for(const o of t)o.to&&console.debug("FROM: ",`$c ${w(o.from)}`,"font-weight: bold"," TO: ",`$c ${w(o.to.segments)}`,"font-weight: bold");console.groupEnd()})(E(this.el))}async navChanged(t){if(this.busy)return console.warn("[ion-router] router is busy, navChanged was cancelled"),!1;const{ids:o,outlet:n}=await(async()=>{const t=[];let o,n=window.document.body;for(;o=v(n);){const e=await o.getRouteId();if(!e)break;n=e.element,e.element=void 0,t.push(e)}return{ids:t,outlet:o}})(),e=((t,o)=>{let n=null,e=0;for(const i of o){const o=y(t,i);o>e&&(n=i,e=o)}return n?n.map(((o,n)=>{var e;return{id:o.id,segments:o.segments,params:C(o.params,null===(e=t[n])||void 0===e?void 0:e.params)}})):null})(o,S(this.el));if(!e)return console.warn("[ion-router] no matching URL for ",o.map((t=>t.id))),!1;const i=(t=>{const o=[];for(const n of t)for(const t of n.segments)if(":"===t[0]){const e=n.params&&n.params[t.slice(1)];if(!e)return null;o.push(e)}else""!==t&&o.push(t);return o})(e);return i?(this.setSegments(i,t),await this.safeWriteNavState(n,e,f,i,null,o.length),!0):(console.warn("[ion-router] router could not match path because some required param is missing"),!1)}onRedirectChanged(){const t=this.getSegments();t&&g(t,E(this.el))&&this.writeNavStateRoot(t,f)}onRoutesChanged(){return this.writeNavStateRoot(this.getSegments(),f)}historyDirection(){var t;const o=window;null===o.history.state&&(this.state++,o.history.replaceState(this.state,o.document.title,null===(t=o.document.location)||void 0===t?void 0:t.href));const n=o.history.state,e=this.lastState;return this.lastState=n,n>e||n>=e&&e>0?d:n<e?"back":f}async writeNavStateRoot(t,o,n){if(!t)return console.error("[ion-router] URL is not part of the routing set"),!1;const e=E(this.el),i=g(t,e);let r=null;if(i){const{segments:n,queryString:e}=i.to;this.setSegments(n,o,e),r=i.from,t=n}const s=S(this.el),c=k(t,s);return c?this.safeWriteNavState(document.body,c,o,t,r,0,n):(console.error("[ion-router] the path does not match any route"),!1)}async safeWriteNavState(t,o,n,e,i,r=0,s){const c=await this.lock();let a=!1;try{a=await this.writeNavState(t,o,n,e,i,r,s)}catch(t){console.error(t)}return c(),a}async lock(){const t=this.waitPromise;let o;return this.waitPromise=new Promise((t=>o=t)),void 0!==t&&await t,o}async runGuards(t=this.getSegments(),o){if(void 0===o&&(o=p(this.previousPath).segments),!t||!o)return!0;const n=S(this.el),e=k(o,n),i=e&&e[e.length-1].beforeLeave,r=!i||await i();if(!1===r||"object"==typeof r)return r;const s=k(t,n),c=s&&s[s.length-1].beforeEnter;return!c||c()}async writeNavState(t,o,n,e,i,r=0,s){if(this.busy)return console.warn("[ion-router] router is busy, transition was cancelled"),!1;this.busy=!0;const c=this.routeChangeEvent(e,i);c&&this.ionRouteWillChange.emit(c);const a=await m(t,o,n,r,!1,s);return this.busy=!1,c&&this.ionRouteDidChange.emit(c),a}setSegments(t,o,n){this.state++,((t,o,n,e,i,r,s)=>{const c=((t,o,n)=>{let e=w(t);return o&&(e="#"+e),void 0!==n&&(e+="?"+n),e})([...p(o).segments,...e],n,s);i===d?t.pushState(r,"",c):t.replaceState(r,"",c)})(window.history,this.root,this.useHash,t,o,this.state,n)}getSegments(){return((t,o,n)=>{const e=p(this.root).segments,i=n?t.hash.slice(1):t.pathname;return((t,o)=>{if(t.length>o.length)return null;if(t.length<=1&&""===t[0])return o;for(let n=0;n<t.length;n++)if(t[n]!==o[n])return null;return o.length===t.length?[""]:o.slice(t.length)})(e,p(i).segments)})(window.location,0,this.useHash)}routeChangeEvent(t,o){const n=this.previousPath,e=w(t);return this.previousPath=e,e===n?null:{from:n,redirectedFrom:o?w(o):null,to:e}}get el(){return n(this)}},x=class{constructor(o){t(this,o),this.onClick=t=>{c(this.href,t,this.routerDirection,this.routerAnimation)},this.color=void 0,this.href=void 0,this.rel=void 0,this.routerDirection="forward",this.routerAnimation=void 0,this.target=void 0}render(){const t=h(this),o={href:this.href,rel:this.rel,target:this.target};return e(i,{key:"7b104b8b4d6d36394604342225a9cd3bcc232297",onClick:this.onClick,class:a(this.color,{[t]:!0,"ion-activatable":!0})},e("a",Object.assign({key:"689e38a58764eca01bc42448f8ec4d0cad66b7b6"},o),e("slot",{key:"c7c24a3b278f323efc18b842652104799bfe8887"})))}};x.style=":host{--background:transparent;--color:var(--ion-color-primary, #0054e9);background:var(--background);color:var(--color)}:host(.ion-color){color:var(--ion-color-base)}a{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit}";export{u as ion_route,l as ion_route_redirect,U as ion_router,x as ion_router_link}
@@ -1,4 +0,0 @@
1
- /*!
2
- * (C) Ionic http://ionicframework.com - MIT License
3
- */
4
- import{r as o,h as s,f as a}from"./p-d836d43e.js";import{c as r}from"./p-47794def.js";import{b as t}from"./p-0574e87e.js";const c=class{constructor(s){o(this,s),this.color=void 0}render(){const o=t(this);return s(a,{key:"ab9a44c87ae1a8315ca07721f683fb439f2caff1",class:r(this.color,{[o]:!0})},s("slot",{key:"809b39d6b64195fdf9788ae121a4f241ba1cac6b"}))}};c.style=":host(.ion-color){color:var(--ion-color-base)}";export{c as ion_text}
@@ -1,4 +0,0 @@
1
- /*!
2
- * (C) Ionic http://ionicframework.com - MIT License
3
- */
4
- import{r as t,d as o,h as i,f as a,i as e}from"./p-d836d43e.js";import{E as s,a as n}from"./p-41d5544e.js";import{g as r,r as d}from"./p-b51e4004.js";import{c as l}from"./p-ccd02320.js";import{p}from"./p-06fee233.js";import{O as c,d as h,e as b,i as m,j as u,k as g,f,g as x,h as v,s as w,G as y}from"./p-a440397c.js";import{c as k,g as $}from"./p-47794def.js";import{c as j,b as T}from"./p-0574e87e.js";import{c as Y}from"./p-c7e16491.js";import{w as z}from"./p-7b30edcc.js";import{createGesture as D}from"./p-8ededb41.js";import"./p-ecceeb90.js";import"./p-3cc276f4.js";import"./p-9b97df10.js";const C=(t,o)=>Math.floor(t/2-o/2),M=(t,o)=>{const i=Y(),a=Y(),{position:e,top:s,bottom:n}=o,d=r(t).querySelector(".toast-wrapper");switch(a.addElement(d),e){case"top":a.fromTo("transform","translateY(-100%)",`translateY(${s})`);break;case"middle":const o=C(t.clientHeight,d.clientHeight);d.style.top=`${o}px`,a.fromTo("opacity",.01,1);break;default:a.fromTo("transform","translateY(100%)",`translateY(${n})`)}return i.easing("cubic-bezier(.155,1.105,.295,1.12)").duration(400).addAnimation(a)},O=(t,o)=>{const i=Y(),a=Y(),{position:e,top:s,bottom:n}=o,d=r(t).querySelector(".toast-wrapper");switch(a.addElement(d),e){case"top":a.fromTo("transform",`translateY(${s})`,"translateY(-100%)");break;case"middle":a.fromTo("opacity",.99,0);break;default:a.fromTo("transform",`translateY(${n})`,"translateY(100%)")}return i.easing("cubic-bezier(.36,.66,.04,1)").duration(300).addAnimation(a)},P=(t,o)=>{const i=Y(),a=Y(),{position:e,top:s,bottom:n}=o,d=r(t).querySelector(".toast-wrapper");switch(a.addElement(d),e){case"top":d.style.setProperty("transform",`translateY(${s})`),a.fromTo("opacity",.01,1);break;case"middle":const o=C(t.clientHeight,d.clientHeight);d.style.top=`${o}px`,a.fromTo("opacity",.01,1);break;default:d.style.setProperty("transform",`translateY(${n})`),a.fromTo("opacity",.01,1)}return i.easing("cubic-bezier(.36,.66,.04,1)").duration(400).addAnimation(a)},E=t=>{const o=Y(),i=Y(),a=r(t).querySelector(".toast-wrapper");return i.addElement(a).fromTo("opacity",.99,0),o.easing("cubic-bezier(.36,.66,.04,1)").duration(300).addAnimation(i)},H=class{constructor(i){t(this,i),this.didPresent=o(this,"ionToastDidPresent",7),this.willPresent=o(this,"ionToastWillPresent",7),this.willDismiss=o(this,"ionToastWillDismiss",7),this.didDismiss=o(this,"ionToastDidDismiss",7),this.didPresentShorthand=o(this,"didPresent",7),this.willPresentShorthand=o(this,"willPresent",7),this.willDismissShorthand=o(this,"willDismiss",7),this.didDismissShorthand=o(this,"didDismiss",7),this.delegateController=h(this),this.lockController=l(),this.triggerController=b(),this.customHTMLEnabled=j.get("innerHTMLTemplatesEnabled",s),this.presented=!1,this.dispatchCancelHandler=t=>{if(m(t.detail.role)){const t=this.getButtons().find((t=>"cancel"===t.role));this.callButtonHandler(t)}},this.createSwipeGesture=t=>{const o=this.gesture=((t,o,i)=>{const a=r(t).querySelector(".toast-wrapper"),e=t.clientHeight,s=a.getBoundingClientRect();let n=0;const d="middle"===t.position?.5:0,l="top"===t.position?-1:1,p=C(e,s.height),h=[{offset:0,transform:`translateY(-${p+s.height}px)`},{offset:.5,transform:"translateY(0px)"},{offset:1,transform:`translateY(${p+s.height}px)`}],b=Y("toast-swipe-to-dismiss-animation").addElement(a).duration(100);switch(t.position){case"middle":n=e+s.height,b.keyframes(h),b.progressStart(!0,.5);break;case"top":n=s.bottom,b.keyframes([{offset:0,transform:`translateY(${o.top})`},{offset:1,transform:"translateY(-100%)"}]),b.progressStart(!0,0);break;default:n=e-s.top,b.keyframes([{offset:0,transform:`translateY(${o.bottom})`},{offset:1,transform:"translateY(100%)"}]),b.progressStart(!0,0)}const m=t=>t*l/n,u=D({el:a,gestureName:"toast-swipe-to-dismiss",gesturePriority:c,direction:"y",onMove:t=>{const o=d+m(t.deltaY);b.progressStep(o)},onEnd:o=>{const e=o.velocityY,s=(o.deltaY+1e3*e)/n*l;u.enable(!1);let r=!0,d=1,c=0,g=0;if("middle"===t.position){r=s>=.25||s<=-.25,d=1,c=0;const t=a.getBoundingClientRect(),i=t.top-p,e=(p+t.height)*(o.deltaY<=0?-1:1);b.keyframes([{offset:0,transform:`translateY(${i}px)`},{offset:1,transform:`translateY(${r?`${e}px`:"0px"})`}]),g=e-i}else r=s>=.5,d=r?1:0,c=m(o.deltaY),g=(r?1-c:c)*n;const f=Math.min(Math.abs(g)/Math.abs(e),200);b.onFinish((()=>{r?(i(),b.destroy()):("middle"===t.position?b.keyframes(h).progressStart(!0,.5):b.progressStart(!0,0),u.enable(!0))}),{oneTimeCallback:!0}).progressEnd(d,c,f)}});return u})(this.el,t,(()=>{this.dismiss(void 0,y)}));o.enable(!0)},this.destroySwipeGesture=()=>{const{gesture:t}=this;void 0!==t&&(t.destroy(),this.gesture=void 0)},this.prefersSwipeGesture=()=>{const{swipeGesture:t}=this;return"vertical"===t},this.revealContentToScreenReader=!1,this.overlayIndex=void 0,this.delegate=void 0,this.hasController=!1,this.color=void 0,this.enterAnimation=void 0,this.leaveAnimation=void 0,this.cssClass=void 0,this.duration=j.getNumber("toastDuration",0),this.header=void 0,this.layout="baseline",this.message=void 0,this.keyboardClose=!1,this.position="bottom",this.positionAnchor=void 0,this.buttons=void 0,this.translucent=!1,this.animated=!0,this.icon=void 0,this.htmlAttributes=void 0,this.swipeGesture=void 0,this.isOpen=!1,this.trigger=void 0}swipeGestureChanged(){this.destroySwipeGesture(),this.presented&&this.prefersSwipeGesture()&&this.createSwipeGesture(this.lastPresentedPosition)}onIsOpenChange(t,o){!0===t&&!1===o?this.present():!1===t&&!0===o&&this.dismiss()}triggerChanged(){const{trigger:t,el:o,triggerController:i}=this;t&&i.addClickListener(o,t)}connectedCallback(){u(this.el),this.triggerChanged()}disconnectedCallback(){this.triggerController.removeClickListener()}componentWillLoad(){var t;(null===(t=this.htmlAttributes)||void 0===t?void 0:t.id)||g(this.el)}componentDidLoad(){!0===this.isOpen&&d((()=>this.present())),this.triggerChanged()}async present(){const t=await this.lockController.lock();await this.delegateController.attachViewToDom();const{el:o,position:i}=this,a=function(t,o,i,a){let e;if(e="md"===i?"top"===t?8:-8:"top"===t?10:-10,o&&z){!function(t,o){null===t.offsetParent&&p("The positionAnchor element for ion-toast was found in the DOM, but appears to be hidden. This may lead to unexpected positioning of the toast.",o)}(o,a);const i=o.getBoundingClientRect();return"top"===t?e+=i.bottom:"bottom"===t&&(e-=z.innerHeight-i.top),{top:`${e}px`,bottom:`${e}px`}}return{top:`calc(${e}px + var(--ion-safe-area-top, 0px))`,bottom:`calc(${e}px - var(--ion-safe-area-bottom, 0px))`}}(i,this.getAnchorElement(),T(this),o);this.lastPresentedPosition=a,await f(this,"toastEnter",M,P,{position:i,top:a.top,bottom:a.bottom}),this.revealContentToScreenReader=!0,this.duration>0&&(this.durationTimeout=setTimeout((()=>this.dismiss(void 0,"timeout")),this.duration)),this.prefersSwipeGesture()&&this.createSwipeGesture(a),t()}async dismiss(t,o){var i,a;const e=await this.lockController.lock(),{durationTimeout:s,position:n,lastPresentedPosition:r}=this;s&&clearTimeout(s);const d=await x(this,t,o,"toastLeave",O,E,{position:n,top:null!==(i=null==r?void 0:r.top)&&void 0!==i?i:"",bottom:null!==(a=null==r?void 0:r.bottom)&&void 0!==a?a:""});return d&&(this.delegateController.removeViewFromDom(),this.revealContentToScreenReader=!1),this.lastPresentedPosition=void 0,this.destroySwipeGesture(),e(),d}onDidDismiss(){return v(this.el,"ionToastDidDismiss")}onWillDismiss(){return v(this.el,"ionToastWillDismiss")}getButtons(){return this.buttons?this.buttons.map((t=>"string"==typeof t?{text:t}:t)):[]}getAnchorElement(){const{position:t,positionAnchor:o,el:i}=this;if(void 0!==o)if("middle"!==t||void 0===o){if("string"==typeof o){const t=document.getElementById(o);return null===t?void p(`An anchor element with an ID of "${o}" was not found in the DOM.`,i):t}if(o instanceof HTMLElement)return o;p("Invalid positionAnchor value:",o,i)}else p('The positionAnchor property is ignored when using position="middle".',this.el)}async buttonClick(t){const o=t.role;return m(o)||await this.callButtonHandler(t)?this.dismiss(void 0,o):Promise.resolve()}async callButtonHandler(t){if(null==t?void 0:t.handler)try{if(!1===await w(t.handler))return!1}catch(t){console.error(t)}return!0}renderButtons(t,o){if(0===t.length)return;const a=T(this);return i("div",{class:{"toast-button-group":!0,[`toast-button-group-${o}`]:!0}},t.map((t=>i("button",Object.assign({},t.htmlAttributes,{type:"button",class:I(t),tabIndex:0,onClick:()=>this.buttonClick(t),part:L(t)}),i("div",{class:"toast-button-inner"},t.icon&&i("ion-icon",{"aria-hidden":"true",icon:t.icon,slot:void 0===t.text?"icon-only":void 0,class:"toast-button-icon"}),t.text),"md"===a&&i("ion-ripple-effect",{type:void 0!==t.icon&&void 0===t.text?"unbounded":"bounded"})))))}renderToastMessage(t,o=null){const{customHTMLEnabled:a,message:e}=this;return a?i("div",{key:t,"aria-hidden":o,class:"toast-message",part:"message",innerHTML:n(e)}):i("div",{key:t,"aria-hidden":o,class:"toast-message",part:"message"},e)}renderHeader(t,o=null){return i("div",{key:t,class:"toast-header","aria-hidden":o,part:"header"},this.header)}render(){const{layout:t,el:o,revealContentToScreenReader:e,header:s,message:n}=this,r=this.getButtons(),d=r.filter((t=>"start"===t.side)),l=r.filter((t=>"start"!==t.side)),c=T(this),h={"toast-wrapper":!0,[`toast-${this.position}`]:!0,[`toast-layout-${t}`]:!0};return"stacked"===t&&d.length>0&&l.length>0&&p("This toast is using start and end buttons with the stacked toast layout. We recommend following the best practice of using either start or end buttons with the stacked toast layout.",o),i(a,Object.assign({key:"fd7f35a7fb769a46d1860f0d16d2a97f287b49d2",tabindex:"-1"},this.htmlAttributes,{style:{zIndex:`${6e4+this.overlayIndex}`},class:k(this.color,Object.assign(Object.assign({[c]:!0},$(this.cssClass)),{"overlay-hidden":!0,"toast-translucent":this.translucent})),onIonToastWillDismiss:this.dispatchCancelHandler}),i("div",{key:"0ebf71074b240fd63a7ec816855f16d327742d4e",class:h},i("div",{key:"364ed5cf8591d3ce8e159c4bd480a921a1163ced",class:"toast-container",part:"container"},this.renderButtons(d,"start"),void 0!==this.icon&&i("ion-icon",{key:"9f57da73c79c747fd2b387900c67c7d6c871a910",class:"toast-icon",part:"icon",icon:this.icon,lazy:!1,"aria-hidden":"true"}),i("div",{key:"58343c16377abd5d76b7b3ae928c2437da0259fb",class:"toast-content",role:"status","aria-atomic":"true","aria-live":"polite"},!e&&void 0!==s&&this.renderHeader("oldHeader","true"),!e&&void 0!==n&&this.renderToastMessage("oldMessage","true"),e&&void 0!==s&&this.renderHeader("header"),e&&void 0!==n&&this.renderToastMessage("header")),this.renderButtons(l,"end"))))}get el(){return e(this)}static get watchers(){return{swipeGesture:["swipeGestureChanged"],isOpen:["onIsOpenChange"],trigger:["triggerChanged"]}}},I=t=>({"toast-button":!0,"toast-button-icon-only":void 0!==t.icon&&void 0===t.text,[`toast-button-${t.role}`]:void 0!==t.role,"ion-focusable":!0,"ion-activatable":!0}),L=t=>m(t.role)?"button cancel":"button";H.style={ios:":host{--border-width:0;--border-style:none;--border-color:initial;--box-shadow:none;--min-width:auto;--width:auto;--min-height:auto;--height:auto;--max-height:auto;--white-space:normal;top:0;display:block;position:absolute;width:100%;height:100%;outline:none;color:var(--color);font-family:var(--ion-font-family, inherit);contain:strict;z-index:1001;pointer-events:none}:host{inset-inline-start:0}:host(.overlay-hidden){display:none}:host(.ion-color){--button-color:inherit;color:var(--ion-color-contrast)}:host(.ion-color) .toast-button-cancel{color:inherit}:host(.ion-color) .toast-wrapper{background:var(--ion-color-base)}.toast-wrapper{border-radius:var(--border-radius);width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow)}.toast-wrapper{inset-inline-start:var(--start);inset-inline-end:var(--end)}.toast-wrapper.toast-top{-webkit-transform:translate3d(0, -100%, 0);transform:translate3d(0, -100%, 0);top:0}.toast-wrapper.toast-bottom{-webkit-transform:translate3d(0, 100%, 0);transform:translate3d(0, 100%, 0);bottom:0}.toast-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;pointer-events:auto;height:inherit;min-height:inherit;max-height:inherit;contain:content}.toast-layout-stacked .toast-container{-ms-flex-wrap:wrap;flex-wrap:wrap}.toast-layout-baseline .toast-content{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center}.toast-icon{-webkit-margin-start:16px;margin-inline-start:16px}.toast-content{min-width:0}.toast-message{-ms-flex:1;flex:1;white-space:var(--white-space)}.toast-button-group{display:-ms-flexbox;display:flex}.toast-layout-stacked .toast-button-group{-ms-flex-pack:end;justify-content:end;width:100%}.toast-button{border:0;outline:none;color:var(--button-color);z-index:0}.toast-icon,.toast-button-icon{font-size:1.4em}.toast-button-inner{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}@media (any-hover: hover){.toast-button:hover{cursor:pointer}}:host{--background:var(--ion-color-step-50, var(--ion-background-color-step-50, #f2f2f2));--border-radius:14px;--button-color:var(--ion-color-primary, #0054e9);--color:var(--ion-color-step-850, var(--ion-text-color-step-150, #262626));--max-width:700px;--max-height:478px;--start:10px;--end:10px;font-size:clamp(14px, 0.875rem, 43.4px)}.toast-wrapper{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:auto;margin-bottom:auto;display:block;position:absolute;z-index:10}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){:host(.toast-translucent) .toast-wrapper{background:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8);-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px)}:host(.ion-color.toast-translucent) .toast-wrapper{background:rgba(var(--ion-color-base-rgb), 0.8)}}.toast-wrapper.toast-middle{opacity:0.01}.toast-content{-webkit-padding-start:15px;padding-inline-start:15px;-webkit-padding-end:15px;padding-inline-end:15px;padding-top:15px;padding-bottom:15px}.toast-header{margin-bottom:2px;font-weight:500}.toast-button{-webkit-padding-start:15px;padding-inline-start:15px;-webkit-padding-end:15px;padding-inline-end:15px;padding-top:10px;padding-bottom:10px;min-height:44px;-webkit-transition:background-color, opacity 100ms linear;transition:background-color, opacity 100ms linear;border:0;background-color:transparent;font-family:var(--ion-font-family);font-size:clamp(17px, 1.0625rem, 21.998px);font-weight:500;overflow:hidden}.toast-button.ion-activated{opacity:0.4}@media (any-hover: hover){.toast-button:hover{opacity:0.6}}",md:":host{--border-width:0;--border-style:none;--border-color:initial;--box-shadow:none;--min-width:auto;--width:auto;--min-height:auto;--height:auto;--max-height:auto;--white-space:normal;top:0;display:block;position:absolute;width:100%;height:100%;outline:none;color:var(--color);font-family:var(--ion-font-family, inherit);contain:strict;z-index:1001;pointer-events:none}:host{inset-inline-start:0}:host(.overlay-hidden){display:none}:host(.ion-color){--button-color:inherit;color:var(--ion-color-contrast)}:host(.ion-color) .toast-button-cancel{color:inherit}:host(.ion-color) .toast-wrapper{background:var(--ion-color-base)}.toast-wrapper{border-radius:var(--border-radius);width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow)}.toast-wrapper{inset-inline-start:var(--start);inset-inline-end:var(--end)}.toast-wrapper.toast-top{-webkit-transform:translate3d(0, -100%, 0);transform:translate3d(0, -100%, 0);top:0}.toast-wrapper.toast-bottom{-webkit-transform:translate3d(0, 100%, 0);transform:translate3d(0, 100%, 0);bottom:0}.toast-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;pointer-events:auto;height:inherit;min-height:inherit;max-height:inherit;contain:content}.toast-layout-stacked .toast-container{-ms-flex-wrap:wrap;flex-wrap:wrap}.toast-layout-baseline .toast-content{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center}.toast-icon{-webkit-margin-start:16px;margin-inline-start:16px}.toast-content{min-width:0}.toast-message{-ms-flex:1;flex:1;white-space:var(--white-space)}.toast-button-group{display:-ms-flexbox;display:flex}.toast-layout-stacked .toast-button-group{-ms-flex-pack:end;justify-content:end;width:100%}.toast-button{border:0;outline:none;color:var(--button-color);z-index:0}.toast-icon,.toast-button-icon{font-size:1.4em}.toast-button-inner{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}@media (any-hover: hover){.toast-button:hover{cursor:pointer}}:host{--background:var(--ion-color-step-800, var(--ion-background-color-step-800, #333333));--border-radius:4px;--box-shadow:0 3px 5px -1px rgba(0, 0, 0, 0.2), 0 6px 10px 0 rgba(0, 0, 0, 0.14), 0 1px 18px 0 rgba(0, 0, 0, 0.12);--button-color:var(--ion-color-primary, #0054e9);--color:var(--ion-color-step-50, var(--ion-text-color-step-950, #f2f2f2));--max-width:700px;--start:8px;--end:8px;font-size:0.875rem}.toast-wrapper{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:auto;margin-bottom:auto;display:block;position:absolute;opacity:0.01;z-index:10}.toast-content{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:14px;padding-bottom:14px}.toast-header{margin-bottom:2px;font-weight:500;line-height:1.25rem}.toast-message{line-height:1.25rem}.toast-layout-baseline .toast-button-group-start{-webkit-margin-start:8px;margin-inline-start:8px}.toast-layout-stacked .toast-button-group-start{-webkit-margin-end:8px;margin-inline-end:8px;margin-top:8px}.toast-layout-baseline .toast-button-group-end{-webkit-margin-end:8px;margin-inline-end:8px}.toast-layout-stacked .toast-button-group-end{-webkit-margin-end:8px;margin-inline-end:8px;margin-bottom:8px}.toast-button{-webkit-padding-start:15px;padding-inline-start:15px;-webkit-padding-end:15px;padding-inline-end:15px;padding-top:10px;padding-bottom:10px;position:relative;background-color:transparent;font-family:var(--ion-font-family);font-size:0.875rem;font-weight:500;letter-spacing:0.84px;text-transform:uppercase;overflow:hidden}.toast-button-cancel{color:var(--ion-color-step-100, var(--ion-text-color-step-900, #e6e6e6))}.toast-button-icon-only{border-radius:50%;-webkit-padding-start:9px;padding-inline-start:9px;-webkit-padding-end:9px;padding-inline-end:9px;padding-top:9px;padding-bottom:9px;width:36px;height:36px}@media (any-hover: hover){.toast-button:hover{background-color:rgba(var(--ion-color-primary-rgb, 0, 84, 233), 0.08)}.toast-button-cancel:hover{background-color:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.08)}}"};export{H as ion_toast}