@ionic/core 7.3.4-dev.11694706860.14b2710d → 7.3.4-dev.11695051069.10d92d60

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 (339) hide show
  1. package/components/icon.js +22 -5
  2. package/components/index7.js +1 -1
  3. package/components/input-shims.js +7 -116
  4. package/components/ion-menu.js +2 -2
  5. package/components/ion-toolbar.js +2 -2
  6. package/dist/cjs/{app-globals-a63c2a19.js → app-globals-a579aafd.js} +1 -1
  7. package/dist/cjs/{button-active-0ff8e82c.js → button-active-dfd2756e.js} +1 -1
  8. package/dist/cjs/{index-184fdd62.js → index-484b1104.js} +6 -6
  9. package/dist/cjs/{index-e6416850.js → index-653be4df.js} +1 -1
  10. package/dist/cjs/{index-be8a2ab9.js → index-8568bedb.js} +3 -3
  11. package/dist/cjs/{index-d8d1fc0b.js → index-c3b215ee.js} +1 -1
  12. package/dist/cjs/index.cjs.js +7 -7
  13. package/dist/cjs/{input-shims-f682e46b.js → input-shims-f8569707.js} +12 -120
  14. package/dist/cjs/ion-accordion_2.cjs.entry.js +3 -3
  15. package/dist/cjs/ion-action-sheet.cjs.entry.js +4 -4
  16. package/dist/cjs/ion-alert.cjs.entry.js +4 -4
  17. package/dist/cjs/ion-app_8.cjs.entry.js +7 -7
  18. package/dist/cjs/ion-avatar_3.cjs.entry.js +2 -2
  19. package/dist/cjs/ion-back-button.cjs.entry.js +3 -3
  20. package/dist/cjs/ion-backdrop.cjs.entry.js +2 -2
  21. package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +3 -3
  22. package/dist/cjs/ion-button_2.cjs.entry.js +24 -7
  23. package/dist/cjs/ion-card_5.cjs.entry.js +2 -2
  24. package/dist/cjs/ion-checkbox.cjs.entry.js +2 -2
  25. package/dist/cjs/ion-chip.cjs.entry.js +2 -2
  26. package/dist/cjs/ion-col_3.cjs.entry.js +2 -2
  27. package/dist/cjs/ion-datetime-button.cjs.entry.js +2 -2
  28. package/dist/cjs/ion-datetime_3.cjs.entry.js +4 -4
  29. package/dist/cjs/ion-fab_3.cjs.entry.js +3 -3
  30. package/dist/cjs/ion-img.cjs.entry.js +2 -2
  31. package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +2 -2
  32. package/dist/cjs/ion-input.cjs.entry.js +3 -3
  33. package/dist/cjs/ion-item-option_3.cjs.entry.js +2 -2
  34. package/dist/cjs/ion-item_8.cjs.entry.js +3 -3
  35. package/dist/cjs/ion-loading.cjs.entry.js +3 -3
  36. package/dist/cjs/ion-menu_3.cjs.entry.js +7 -7
  37. package/dist/cjs/ion-modal.cjs.entry.js +4 -4
  38. package/dist/cjs/ion-nav_2.cjs.entry.js +3 -3
  39. package/dist/cjs/ion-picker-column-internal.cjs.entry.js +2 -2
  40. package/dist/cjs/ion-picker-internal.cjs.entry.js +1 -1
  41. package/dist/cjs/ion-popover.cjs.entry.js +4 -4
  42. package/dist/cjs/ion-progress-bar.cjs.entry.js +2 -2
  43. package/dist/cjs/ion-radio_2.cjs.entry.js +2 -2
  44. package/dist/cjs/ion-range.cjs.entry.js +2 -2
  45. package/dist/cjs/ion-refresher_2.cjs.entry.js +3 -3
  46. package/dist/cjs/ion-reorder_2.cjs.entry.js +3 -3
  47. package/dist/cjs/ion-ripple-effect.cjs.entry.js +2 -2
  48. package/dist/cjs/ion-route_4.cjs.entry.js +2 -2
  49. package/dist/cjs/ion-searchbar.cjs.entry.js +3 -3
  50. package/dist/cjs/ion-segment_2.cjs.entry.js +2 -2
  51. package/dist/cjs/ion-select_3.cjs.entry.js +4 -4
  52. package/dist/cjs/ion-spinner.cjs.entry.js +2 -2
  53. package/dist/cjs/ion-split-pane.cjs.entry.js +2 -2
  54. package/dist/cjs/ion-tab-bar_2.cjs.entry.js +2 -2
  55. package/dist/cjs/ion-tab_2.cjs.entry.js +1 -1
  56. package/dist/cjs/ion-text.cjs.entry.js +2 -2
  57. package/dist/cjs/ion-textarea.cjs.entry.js +2 -2
  58. package/dist/cjs/ion-toast.cjs.entry.js +3 -3
  59. package/dist/cjs/ion-toggle.cjs.entry.js +3 -3
  60. package/dist/cjs/{ionic-global-6d5d27b5.js → ionic-global-f81d8b73.js} +1 -1
  61. package/dist/cjs/ionic.cjs.js +4 -4
  62. package/dist/cjs/{ios.transition-80582b44.js → ios.transition-f7c78d7c.js} +2 -2
  63. package/dist/cjs/loader.cjs.js +3 -3
  64. package/dist/cjs/{md.transition-eeca9fb5.js → md.transition-65dc7dce.js} +2 -2
  65. package/dist/cjs/{overlays-c78a0148.js → overlays-5c1706ed.js} +1 -1
  66. package/dist/cjs/{status-tap-cc4c6539.js → status-tap-4564b66c.js} +1 -1
  67. package/dist/collection/collection-manifest.json +1 -1
  68. package/dist/collection/components/menu/menu.ios.css +0 -94
  69. package/dist/collection/components/menu/menu.md.css +0 -94
  70. package/dist/collection/components/toolbar/toolbar.ios.css +4 -2
  71. package/dist/collection/components/toolbar/toolbar.md.css +4 -2
  72. package/dist/collection/utils/input-shims/hacks/scroll-assist.js +4 -114
  73. package/dist/collection/utils/input-shims/hacks/scroll-data.js +3 -2
  74. package/dist/docs.json +2 -2
  75. package/dist/esm/{app-globals-c7886b40.js → app-globals-e8ddf830.js} +1 -1
  76. package/dist/esm/{button-active-b76ae4ec.js → button-active-2da0f611.js} +1 -1
  77. package/dist/esm/{index-01839411.js → index-6391de89.js} +3 -3
  78. package/dist/esm/{index-adfb2000.js → index-847f2fde.js} +6 -6
  79. package/dist/esm/{index-ecfc2c9f.js → index-87d8642c.js} +1 -1
  80. package/dist/esm/{index-48f5e259.js → index-b3e05099.js} +1 -1
  81. package/dist/esm/index.js +7 -7
  82. package/dist/esm/{input-shims-7e15f73c.js → input-shims-af993f05.js} +8 -116
  83. package/dist/esm/ion-accordion_2.entry.js +3 -3
  84. package/dist/esm/ion-action-sheet.entry.js +4 -4
  85. package/dist/esm/ion-alert.entry.js +4 -4
  86. package/dist/esm/ion-app_8.entry.js +7 -7
  87. package/dist/esm/ion-avatar_3.entry.js +2 -2
  88. package/dist/esm/ion-back-button.entry.js +3 -3
  89. package/dist/esm/ion-backdrop.entry.js +2 -2
  90. package/dist/esm/ion-breadcrumb_2.entry.js +3 -3
  91. package/dist/esm/ion-button_2.entry.js +24 -7
  92. package/dist/esm/ion-card_5.entry.js +2 -2
  93. package/dist/esm/ion-checkbox.entry.js +2 -2
  94. package/dist/esm/ion-chip.entry.js +2 -2
  95. package/dist/esm/ion-col_3.entry.js +2 -2
  96. package/dist/esm/ion-datetime-button.entry.js +2 -2
  97. package/dist/esm/ion-datetime_3.entry.js +4 -4
  98. package/dist/esm/ion-fab_3.entry.js +3 -3
  99. package/dist/esm/ion-img.entry.js +2 -2
  100. package/dist/esm/ion-infinite-scroll_2.entry.js +2 -2
  101. package/dist/esm/ion-input.entry.js +3 -3
  102. package/dist/esm/ion-item-option_3.entry.js +2 -2
  103. package/dist/esm/ion-item_8.entry.js +3 -3
  104. package/dist/esm/ion-loading.entry.js +3 -3
  105. package/dist/esm/ion-menu_3.entry.js +7 -7
  106. package/dist/esm/ion-modal.entry.js +4 -4
  107. package/dist/esm/ion-nav_2.entry.js +3 -3
  108. package/dist/esm/ion-picker-column-internal.entry.js +2 -2
  109. package/dist/esm/ion-picker-internal.entry.js +1 -1
  110. package/dist/esm/ion-popover.entry.js +4 -4
  111. package/dist/esm/ion-progress-bar.entry.js +2 -2
  112. package/dist/esm/ion-radio_2.entry.js +2 -2
  113. package/dist/esm/ion-range.entry.js +2 -2
  114. package/dist/esm/ion-refresher_2.entry.js +3 -3
  115. package/dist/esm/ion-reorder_2.entry.js +3 -3
  116. package/dist/esm/ion-ripple-effect.entry.js +2 -2
  117. package/dist/esm/ion-route_4.entry.js +2 -2
  118. package/dist/esm/ion-searchbar.entry.js +3 -3
  119. package/dist/esm/ion-segment_2.entry.js +2 -2
  120. package/dist/esm/ion-select_3.entry.js +4 -4
  121. package/dist/esm/ion-spinner.entry.js +2 -2
  122. package/dist/esm/ion-split-pane.entry.js +2 -2
  123. package/dist/esm/ion-tab-bar_2.entry.js +2 -2
  124. package/dist/esm/ion-tab_2.entry.js +1 -1
  125. package/dist/esm/ion-text.entry.js +2 -2
  126. package/dist/esm/ion-textarea.entry.js +2 -2
  127. package/dist/esm/ion-toast.entry.js +3 -3
  128. package/dist/esm/ion-toggle.entry.js +3 -3
  129. package/dist/esm/{ionic-global-9080266a.js → ionic-global-1ef19007.js} +1 -1
  130. package/dist/esm/ionic.js +5 -5
  131. package/dist/esm/{ios.transition-f43871cd.js → ios.transition-3137d23e.js} +2 -2
  132. package/dist/esm/loader.js +4 -4
  133. package/dist/esm/{md.transition-12d21ad0.js → md.transition-48b3b77c.js} +2 -2
  134. package/dist/esm/{overlays-4565894b.js → overlays-e1dadfe6.js} +1 -1
  135. package/dist/esm/{status-tap-121c711d.js → status-tap-823a0df3.js} +1 -1
  136. package/dist/esm-es5/app-globals-e8ddf830.js +4 -0
  137. package/dist/esm-es5/{button-active-b76ae4ec.js → button-active-2da0f611.js} +1 -1
  138. package/dist/esm-es5/{index-01839411.js → index-6391de89.js} +1 -1
  139. package/dist/esm-es5/{index-48f5e259.js → index-b3e05099.js} +1 -1
  140. package/dist/esm-es5/index.js +1 -1
  141. package/dist/esm-es5/input-shims-af993f05.js +4 -0
  142. package/dist/esm-es5/ion-accordion_2.entry.js +1 -1
  143. package/dist/esm-es5/ion-action-sheet.entry.js +1 -1
  144. package/dist/esm-es5/ion-alert.entry.js +1 -1
  145. package/dist/esm-es5/ion-app_8.entry.js +1 -1
  146. package/dist/esm-es5/ion-avatar_3.entry.js +1 -1
  147. package/dist/esm-es5/ion-back-button.entry.js +1 -1
  148. package/dist/esm-es5/ion-backdrop.entry.js +1 -1
  149. package/dist/esm-es5/ion-breadcrumb_2.entry.js +1 -1
  150. package/dist/esm-es5/ion-button_2.entry.js +1 -1
  151. package/dist/esm-es5/ion-card_5.entry.js +1 -1
  152. package/dist/esm-es5/ion-checkbox.entry.js +1 -1
  153. package/dist/esm-es5/ion-chip.entry.js +1 -1
  154. package/dist/esm-es5/ion-col_3.entry.js +1 -1
  155. package/dist/esm-es5/ion-datetime-button.entry.js +1 -1
  156. package/dist/esm-es5/ion-datetime_3.entry.js +1 -1
  157. package/dist/esm-es5/ion-fab_3.entry.js +1 -1
  158. package/dist/esm-es5/ion-img.entry.js +1 -1
  159. package/dist/esm-es5/ion-infinite-scroll_2.entry.js +1 -1
  160. package/dist/esm-es5/ion-input.entry.js +1 -1
  161. package/dist/esm-es5/ion-item-option_3.entry.js +1 -1
  162. package/dist/esm-es5/ion-item_8.entry.js +1 -1
  163. package/dist/esm-es5/ion-loading.entry.js +1 -1
  164. package/dist/esm-es5/ion-menu_3.entry.js +1 -1
  165. package/dist/esm-es5/ion-modal.entry.js +1 -1
  166. package/dist/esm-es5/ion-nav_2.entry.js +1 -1
  167. package/dist/esm-es5/ion-picker-column-internal.entry.js +1 -1
  168. package/dist/esm-es5/ion-picker-internal.entry.js +1 -1
  169. package/dist/esm-es5/ion-popover.entry.js +1 -1
  170. package/dist/esm-es5/ion-progress-bar.entry.js +1 -1
  171. package/dist/esm-es5/ion-radio_2.entry.js +1 -1
  172. package/dist/esm-es5/ion-range.entry.js +1 -1
  173. package/dist/esm-es5/ion-refresher_2.entry.js +1 -1
  174. package/dist/esm-es5/ion-reorder_2.entry.js +1 -1
  175. package/dist/esm-es5/ion-ripple-effect.entry.js +1 -1
  176. package/dist/esm-es5/ion-route_4.entry.js +1 -1
  177. package/dist/esm-es5/ion-searchbar.entry.js +1 -1
  178. package/dist/esm-es5/ion-segment_2.entry.js +1 -1
  179. package/dist/esm-es5/ion-select_3.entry.js +1 -1
  180. package/dist/esm-es5/ion-spinner.entry.js +1 -1
  181. package/dist/esm-es5/ion-split-pane.entry.js +1 -1
  182. package/dist/esm-es5/ion-tab-bar_2.entry.js +1 -1
  183. package/dist/esm-es5/ion-tab_2.entry.js +1 -1
  184. package/dist/esm-es5/ion-text.entry.js +1 -1
  185. package/dist/esm-es5/ion-textarea.entry.js +1 -1
  186. package/dist/esm-es5/ion-toast.entry.js +1 -1
  187. package/dist/esm-es5/ion-toggle.entry.js +1 -1
  188. package/dist/esm-es5/{ionic-global-9080266a.js → ionic-global-1ef19007.js} +1 -1
  189. package/dist/esm-es5/ionic.js +1 -1
  190. package/dist/esm-es5/{ios.transition-f43871cd.js → ios.transition-3137d23e.js} +1 -1
  191. package/dist/esm-es5/loader.js +1 -1
  192. package/dist/esm-es5/md.transition-48b3b77c.js +4 -0
  193. package/dist/esm-es5/{overlays-4565894b.js → overlays-e1dadfe6.js} +1 -1
  194. package/dist/esm-es5/{status-tap-121c711d.js → status-tap-823a0df3.js} +1 -1
  195. package/dist/ionic/index.esm.js +1 -1
  196. package/dist/ionic/ionic.esm.js +1 -1
  197. package/dist/ionic/ionic.js +1 -1
  198. package/dist/ionic/{p-af6125d1.system.entry.js → p-0053fe81.system.entry.js} +1 -1
  199. package/dist/ionic/{p-9b53c813.entry.js → p-0142ba6d.entry.js} +1 -1
  200. package/dist/ionic/{p-516421e2.system.entry.js → p-0219ac12.system.entry.js} +1 -1
  201. package/dist/ionic/{p-c2d6088f.entry.js → p-0660215f.entry.js} +1 -1
  202. package/dist/ionic/{p-c68a8814.system.js → p-06902103.system.js} +1 -1
  203. package/dist/ionic/{p-4446e19f.system.entry.js → p-06d6e9c0.system.entry.js} +1 -1
  204. package/dist/ionic/{p-74834696.system.entry.js → p-0b68c41d.system.entry.js} +1 -1
  205. package/dist/ionic/p-0be94477.entry.js +4 -0
  206. package/dist/ionic/{p-e239ab05.system.entry.js → p-0cc2bf5a.system.entry.js} +1 -1
  207. package/dist/ionic/{p-5df94bf8.entry.js → p-0ff17c93.entry.js} +1 -1
  208. package/dist/ionic/{p-d57e8b06.js → p-11248f01.js} +1 -1
  209. package/dist/ionic/{p-5080e623.system.entry.js → p-11a42c03.system.entry.js} +1 -1
  210. package/dist/ionic/{p-9f3ad626.system.entry.js → p-180f4e51.system.entry.js} +1 -1
  211. package/dist/ionic/{p-a8270ae8.system.entry.js → p-1d82df31.system.entry.js} +1 -1
  212. package/dist/ionic/{p-48d378cf.entry.js → p-1ec4dc01.entry.js} +1 -1
  213. package/dist/ionic/{p-28d8b87b.entry.js → p-208f640c.entry.js} +1 -1
  214. package/dist/ionic/{p-3bf120f8.system.entry.js → p-23f63cc8.system.entry.js} +1 -1
  215. package/dist/ionic/{p-d8d30fd1.system.entry.js → p-2539e967.system.entry.js} +1 -1
  216. package/dist/ionic/p-273e78ae.entry.js +4 -0
  217. package/dist/ionic/{p-17e961cf.entry.js → p-2cdcd6f2.entry.js} +1 -1
  218. package/dist/ionic/{p-4e1a58c6.system.entry.js → p-32d11ce2.system.entry.js} +1 -1
  219. package/dist/ionic/{p-c8c0d58a.system.entry.js → p-336420f9.system.entry.js} +1 -1
  220. package/dist/ionic/{p-11d0977d.entry.js → p-38dd9aec.entry.js} +1 -1
  221. package/dist/ionic/{p-26276eb7.system.entry.js → p-3ea57ced.system.entry.js} +1 -1
  222. package/dist/ionic/{p-fde174d6.system.entry.js → p-3ef88fc2.system.entry.js} +1 -1
  223. package/dist/ionic/{p-be187db3.entry.js → p-4457f4a6.entry.js} +1 -1
  224. package/dist/ionic/p-4531b920.system.js +4 -0
  225. package/dist/ionic/{p-73cd1204.system.entry.js → p-45ee211b.system.entry.js} +1 -1
  226. package/dist/ionic/{p-8db97b90.entry.js → p-48144921.entry.js} +1 -1
  227. package/dist/ionic/{p-ec344ed1.system.entry.js → p-5221e3d9.system.entry.js} +1 -1
  228. package/dist/ionic/{p-47a11fc4.entry.js → p-55afcc56.entry.js} +1 -1
  229. package/dist/ionic/{p-98bfaff3.system.entry.js → p-57dc87eb.system.entry.js} +1 -1
  230. package/dist/ionic/p-582dc7c1.js +4 -0
  231. package/dist/ionic/{p-bacf09d3.entry.js → p-59646db0.entry.js} +1 -1
  232. package/dist/ionic/{p-dc7d392d.entry.js → p-5b88f780.entry.js} +1 -1
  233. package/dist/ionic/{p-9eaaa910.entry.js → p-5cd94cc1.entry.js} +1 -1
  234. package/dist/ionic/{p-fb26fa56.system.entry.js → p-5d7aa5dc.system.entry.js} +1 -1
  235. package/dist/ionic/{p-68deb933.entry.js → p-5ed5b824.entry.js} +1 -1
  236. package/dist/ionic/{p-44a6f15d.system.entry.js → p-5f611d9e.system.entry.js} +1 -1
  237. package/dist/ionic/{p-a037b6d5.system.entry.js → p-62324608.system.entry.js} +1 -1
  238. package/dist/ionic/{p-f62bed60.entry.js → p-639d7b25.entry.js} +1 -1
  239. package/dist/ionic/{p-9eced28c.entry.js → p-653f2fc6.entry.js} +1 -1
  240. package/dist/ionic/{p-8bcd482b.entry.js → p-68e0ea3c.entry.js} +1 -1
  241. package/dist/ionic/{p-2e5930dd.system.js → p-69303bb5.system.js} +1 -1
  242. package/dist/ionic/{p-42e0558f.entry.js → p-6b3afb0f.entry.js} +1 -1
  243. package/dist/ionic/{p-cd002251.entry.js → p-728ac2b3.entry.js} +1 -1
  244. package/dist/ionic/p-778460f7.js +4 -0
  245. package/dist/ionic/{p-3f15f60b.entry.js → p-77f91ca9.entry.js} +1 -1
  246. package/dist/ionic/{p-b052b578.entry.js → p-785b0913.entry.js} +1 -1
  247. package/dist/ionic/p-79d17e21.system.entry.js +4 -0
  248. package/dist/ionic/{p-ff3d728d.system.js → p-7b16490a.system.js} +1 -1
  249. package/dist/ionic/{p-4d2807fa.entry.js → p-7b3fcf85.entry.js} +1 -1
  250. package/dist/ionic/{p-629b0629.js → p-7c938ad6.js} +1 -1
  251. package/dist/ionic/{p-5e549223.system.js → p-81597423.system.js} +1 -1
  252. package/dist/ionic/{p-3d5a6d14.system.js → p-82632e15.system.js} +1 -1
  253. package/dist/ionic/{p-a314559e.system.js → p-83008f7c.system.js} +2 -2
  254. package/dist/ionic/{p-7474a472.system.entry.js → p-839bd69f.system.entry.js} +1 -1
  255. package/dist/ionic/{p-07f5e286.entry.js → p-857be909.entry.js} +1 -1
  256. package/dist/ionic/{p-4f7109fa.entry.js → p-859b1ee6.entry.js} +1 -1
  257. package/dist/ionic/{p-95188051.system.entry.js → p-87383d00.system.entry.js} +1 -1
  258. package/dist/ionic/{p-7106c152.system.js → p-8843b046.system.js} +1 -1
  259. package/dist/ionic/{p-57847936.entry.js → p-8a676776.entry.js} +1 -1
  260. package/dist/ionic/{p-ee55302a.system.entry.js → p-8afcaae4.system.entry.js} +1 -1
  261. package/dist/ionic/{p-5fc777e6.system.js → p-8ba724fa.system.js} +1 -1
  262. package/dist/ionic/{p-b3f6f321.js → p-91459620.js} +1 -1
  263. package/dist/ionic/{p-49f2eaa6.entry.js → p-93e47822.entry.js} +1 -1
  264. package/dist/ionic/{p-6dff4431.entry.js → p-98a189f3.entry.js} +1 -1
  265. package/dist/ionic/{p-0dbfa45f.entry.js → p-98ebc376.entry.js} +1 -1
  266. package/dist/ionic/{p-07656a8a.entry.js → p-99028088.entry.js} +1 -1
  267. package/dist/ionic/{p-fa8fc77b.system.entry.js → p-a1191dc0.system.entry.js} +1 -1
  268. package/dist/ionic/p-a2b25750.js +4 -0
  269. package/dist/ionic/p-a62c0ff4.js +4 -0
  270. package/dist/ionic/{p-b453b38d.entry.js → p-a8e01c65.entry.js} +1 -1
  271. package/dist/ionic/{p-5a9dc764.system.entry.js → p-af0bc751.system.entry.js} +1 -1
  272. package/dist/ionic/{p-0ce43a8f.system.entry.js → p-b0129e93.system.entry.js} +1 -1
  273. package/dist/ionic/{p-6ccffb74.system.entry.js → p-b0e9e0b8.system.entry.js} +1 -1
  274. package/dist/ionic/{p-f3ec1f2b.entry.js → p-b1e8f045.entry.js} +1 -1
  275. package/dist/ionic/{p-563068af.js → p-b22ee0dc.js} +1 -1
  276. package/dist/ionic/{p-204fb8f0.system.entry.js → p-b2514862.system.entry.js} +1 -1
  277. package/dist/ionic/{p-bfee11b2.system.js → p-b32742f3.system.js} +1 -1
  278. package/dist/ionic/{p-1b533a76.system.entry.js → p-b3cfc6e1.system.entry.js} +1 -1
  279. package/dist/ionic/{p-dc4c9086.system.entry.js → p-b5aa940c.system.entry.js} +1 -1
  280. package/dist/ionic/{p-1c236453.system.entry.js → p-bbae0ac3.system.entry.js} +1 -1
  281. package/dist/ionic/{p-32983529.system.entry.js → p-bf4b8d8a.system.entry.js} +1 -1
  282. package/dist/ionic/{p-5163baf4.system.entry.js → p-c4afbed8.system.entry.js} +1 -1
  283. package/dist/ionic/p-c53dd7a2.entry.js +4 -0
  284. package/dist/ionic/{p-b4e49652.entry.js → p-c759a704.entry.js} +1 -1
  285. package/dist/ionic/{p-041ac2c3.entry.js → p-c75d63c0.entry.js} +1 -1
  286. package/dist/ionic/{p-a033a91d.system.entry.js → p-d1bab5e7.system.entry.js} +1 -1
  287. package/dist/ionic/{p-5260588f.system.entry.js → p-d1d3b740.system.entry.js} +1 -1
  288. package/dist/ionic/p-d2d25501.entry.js +4 -0
  289. package/dist/ionic/{p-765e6339.entry.js → p-d313542f.entry.js} +1 -1
  290. package/dist/ionic/{p-59b40b60.entry.js → p-d3378c35.entry.js} +1 -1
  291. package/dist/ionic/{p-b9179eab.entry.js → p-d3b8aebf.entry.js} +1 -1
  292. package/dist/ionic/{p-eb91aee6.entry.js → p-d5e3bff3.entry.js} +1 -1
  293. package/dist/ionic/p-d898dd46.js +4 -0
  294. package/dist/ionic/{p-ef8a8827.system.entry.js → p-dbb48066.system.entry.js} +1 -1
  295. package/dist/ionic/{p-574411f2.system.entry.js → p-dc49c681.system.entry.js} +1 -1
  296. package/dist/ionic/{p-a122ecd0.system.js → p-df6743df.system.js} +1 -1
  297. package/dist/ionic/{p-2ac2278e.system.entry.js → p-e1f491c6.system.entry.js} +1 -1
  298. package/dist/ionic/{p-3c325277.js → p-e3cba96d.js} +1 -1
  299. package/dist/ionic/p-e3d5608d.system.js +4 -0
  300. package/dist/ionic/{p-84084b75.entry.js → p-e46368a2.entry.js} +1 -1
  301. package/dist/ionic/{p-b8d7f0eb.system.entry.js → p-e53b8af4.system.entry.js} +1 -1
  302. package/dist/ionic/{p-9be96bf3.system.entry.js → p-e679bd69.system.entry.js} +1 -1
  303. package/dist/ionic/{p-ec7ff98b.entry.js → p-ed7b205b.entry.js} +1 -1
  304. package/dist/ionic/{p-6276ba2f.system.entry.js → p-f79efebd.system.entry.js} +1 -1
  305. package/dist/ionic/{p-9e8727d6.entry.js → p-f7faa32d.entry.js} +1 -1
  306. package/dist/ionic/{p-810f1bc9.system.entry.js → p-f95f798a.system.entry.js} +1 -1
  307. package/dist/ionic/{p-6eb7b33c.system.entry.js → p-fa3327e8.system.entry.js} +1 -1
  308. package/dist/ionic/{p-072f99fd.entry.js → p-fabb7294.entry.js} +1 -1
  309. package/dist/ionic/{p-e65aed58.system.entry.js → p-fd42994b.system.entry.js} +1 -1
  310. package/dist/ionic/{p-1916030e.entry.js → p-fe83e3e2.entry.js} +1 -1
  311. package/dist/ionic/{p-b703ebeb.system.entry.js → p-fea46870.system.entry.js} +1 -1
  312. package/dist/node_modules/ionicons/dist/collection/components/icon/icon.css +50 -6
  313. package/dist/types/stencil-public-runtime.d.ts +3 -3
  314. package/dist/types/utils/browser/index.d.ts +1 -16
  315. package/dist/types/utils/input-shims/hacks/scroll-data.d.ts +1 -1
  316. package/hydrate/index.d.ts +5 -5
  317. package/hydrate/index.js +68 -50
  318. package/package.json +4 -4
  319. package/dist/esm-es5/app-globals-c7886b40.js +0 -4
  320. package/dist/esm-es5/input-shims-7e15f73c.js +0 -4
  321. package/dist/esm-es5/md.transition-12d21ad0.js +0 -4
  322. package/dist/ionic/p-23ddd787.system.entry.js +0 -4
  323. package/dist/ionic/p-2b0ecc04.entry.js +0 -4
  324. package/dist/ionic/p-56495958.js +0 -4
  325. package/dist/ionic/p-75d4ceab.js +0 -4
  326. package/dist/ionic/p-83459b99.entry.js +0 -4
  327. package/dist/ionic/p-8f7edf3e.js +0 -4
  328. package/dist/ionic/p-99a3df5c.entry.js +0 -4
  329. package/dist/ionic/p-a40c963c.system.js +0 -4
  330. package/dist/ionic/p-a533868d.system.js +0 -4
  331. package/dist/ionic/p-b4829399.js +0 -4
  332. package/dist/ionic/p-c7ce7e18.entry.js +0 -4
  333. package/dist/ionic/p-dacb0258.js +0 -4
  334. /package/dist/esm-es5/{index-adfb2000.js → index-847f2fde.js} +0 -0
  335. /package/dist/esm-es5/{index-ecfc2c9f.js → index-87d8642c.js} +0 -0
  336. /package/dist/ionic/{p-a18eb556.js → p-156967ec.js} +0 -0
  337. /package/dist/ionic/{p-0a87858b.js → p-547db962.js} +0 -0
  338. /package/dist/ionic/{p-2441ba84.system.js → p-5b553dc0.system.js} +0 -0
  339. /package/dist/ionic/{p-8985b268.system.js → p-de640b80.system.js} +0 -0
@@ -1,4 +0,0 @@
1
- /*!
2
- * (C) Ionic http://ionicframework.com - MIT License
3
- */
4
- import{r as t,d as e,h as i,H as n,f as o}from"./p-a18eb556.js";import{g as s}from"./p-7c2bac85.js";import{d as r}from"./p-b347cfd1.js";import{G as a}from"./p-e0b06b65.js";import{p as h,i as d,o as l,l as u}from"./p-63eb0acd.js";import{m as c}from"./p-dacb0258.js";import{q as m}from"./p-56495958.js";import{c as p,b}from"./p-563068af.js";import{c as f,h as g}from"./p-1d072d3d.js";import{u as v,v as x}from"./p-0a87858b.js";import"./p-185e427e.js";import"./p-94a4ce40.js";import"./p-b287ab05.js";import"./p-1b8e1d03.js";const w='[tabindex]:not([tabindex^="-"]), input:not([type=hidden]):not([tabindex^="-"]), textarea:not([tabindex^="-"]), button:not([tabindex^="-"]), select:not([tabindex^="-"]), .ion-focusable:not([tabindex^="-"])',y=class{constructor(i){t(this,i),this.ionWillOpen=e(this,"ionWillOpen",7),this.ionWillClose=e(this,"ionWillClose",7),this.ionDidOpen=e(this,"ionDidOpen",7),this.ionDidClose=e(this,"ionDidClose",7),this.ionMenuChange=e(this,"ionMenuChange",7),this.lastOnEnd=0,this.blocker=a.createBlocker({disableScroll:!0}),this.didLoad=!1,this.isAnimating=!1,this._isOpen=!1,this.inheritedAttributes={},this.handleFocus=t=>{const e=m(document);e&&!e.contains(this.el)||this.trapKeyboardFocus(t,document)},this.isPaneVisible=!1,this.isEndSide=!1,this.contentId=void 0,this.menuId=void 0,this.type=void 0,this.disabled=!1,this.side="start",this.swipeGesture=!0,this.maxEdgeStart=50}typeChanged(t,e){const i=this.contentEl;i&&(void 0!==e&&i.classList.remove(`menu-content-${e}`),i.classList.add(`menu-content-${t}`),i.removeAttribute("style")),this.menuInnerEl&&this.menuInnerEl.removeAttribute("style"),this.animation=void 0}disabledChanged(){this.updateState(),this.ionMenuChange.emit({disabled:this.disabled,open:this._isOpen})}sideChanged(){this.isEndSide=h(this.side),this.animation=void 0}swipeGestureChanged(){this.updateState()}async connectedCallback(){"undefined"!=typeof customElements&&null!=customElements&&await customElements.whenDefined("ion-menu"),void 0===this.type&&(this.type=p.get("menuType","overlay"));const t=void 0!==this.contentId?document.getElementById(this.contentId):null;null!==t?(this.el.contains(t)&&console.error('Menu: "contentId" should refer to the main view\'s ion-content, not the ion-content inside of the ion-menu.'),this.contentEl=t,t.classList.add("menu-content"),this.typeChanged(this.type,void 0),this.sideChanged(),c._register(this),this.menuChanged(),this.gesture=(await import("./p-8b1be026.js")).createGesture({el:document,gestureName:"menu-swipe",gesturePriority:30,threshold:10,blurOnStart:!0,canStart:t=>this.canStart(t),onWillStart:()=>this.onWillStart(),onStart:()=>this.onStart(),onMove:t=>this.onMove(t),onEnd:t=>this.onEnd(t)}),this.updateState()):console.error('Menu: must have a "content" element to listen for drag events on.')}componentWillLoad(){this.inheritedAttributes=d(this.el)}async componentDidLoad(){this.didLoad=!0,this.menuChanged(),this.updateState()}menuChanged(){this.didLoad&&this.ionMenuChange.emit({disabled:this.disabled,open:this._isOpen})}async disconnectedCallback(){await this.close(!1),this.blocker.destroy(),c._unregister(this),this.animation&&this.animation.destroy(),this.gesture&&(this.gesture.destroy(),this.gesture=void 0),this.animation=void 0,this.contentEl=void 0}onSplitPaneChanged(t){this.isPaneVisible=t.detail.isPane(this.el),this.updateState()}onBackdropClick(t){this._isOpen&&this.lastOnEnd<t.timeStamp-100&&t.composedPath&&!t.composedPath().includes(this.menuInnerEl)&&(t.preventDefault(),t.stopPropagation(),this.close())}onKeydown(t){"Escape"===t.key&&this.close()}isOpen(){return Promise.resolve(this._isOpen)}isActive(){return Promise.resolve(this._isActive())}open(t=!0){return this.setOpen(!0,t)}close(t=!0){return this.setOpen(!1,t)}toggle(t=!0){return this.setOpen(!this._isOpen,t)}setOpen(t,e=!0){return c._setOpen(this,t,e)}focusFirstDescendant(){const{el:t}=this,e=t.querySelector(w);e?e.focus():t.focus()}focusLastDescendant(){const{el:t}=this,e=Array.from(t.querySelectorAll(w)),i=e.length>0?e[e.length-1]:null;i?i.focus():t.focus()}trapKeyboardFocus(t,e){const i=t.target;i&&(this.el.contains(i)?this.lastFocus=i:(this.focusFirstDescendant(),this.lastFocus===e.activeElement&&this.focusLastDescendant()))}async _setOpen(t,e=!0){return!(!this._isActive()||this.isAnimating||t===this._isOpen||(this.beforeAnimation(t),await this.loadAnimation(),await this.startAnimation(t,e),this.afterAnimation(t),0))}async loadAnimation(){const t=this.menuInnerEl.offsetWidth,e=h(this.side);t===this.width&&void 0!==this.animation&&e===this.isEndSide||(this.width=t,this.isEndSide=e,this.animation&&(this.animation.destroy(),this.animation=void 0),this.animation=await c._createAnimation(this.type,this),p.getBoolean("animated",!0)||this.animation.duration(0),this.animation.fill("both"))}async startAnimation(t,e){const i=!t,n=b(this),o="ios"===n?"cubic-bezier(0.32,0.72,0,1)":"cubic-bezier(0.0,0.0,0.2,1)",s="ios"===n?"cubic-bezier(1, 0, 0.68, 0.28)":"cubic-bezier(0.4, 0, 0.6, 1)",r=this.animation.direction(i?"reverse":"normal").easing(i?s:o).onFinish((()=>{"reverse"===r.getDirection()&&r.direction("normal")}));e?await r.play():r.play({sync:!0})}_isActive(){return!this.disabled&&!this.isPaneVisible}canSwipe(){return this.swipeGesture&&!this.isAnimating&&this._isActive()}canStart(t){return!(document.querySelector("ion-modal.show-modal")||!this.canSwipe())&&(!!this._isOpen||!c._getOpenSync()&&C(window,t.currentX,this.isEndSide,this.maxEdgeStart))}onWillStart(){return this.beforeAnimation(!this._isOpen),this.loadAnimation()}onStart(){this.isAnimating&&this.animation?this.animation.progressStart(!0,this._isOpen?1:0):l(!1,"isAnimating has to be true")}onMove(t){if(!this.isAnimating||!this.animation)return void l(!1,"isAnimating has to be true");const e=k(t.deltaX,this._isOpen,this.isEndSide)/this.width;this.animation.progressStep(this._isOpen?1-e:e)}onEnd(t){if(!this.isAnimating||!this.animation)return void l(!1,"isAnimating has to be true");const e=this._isOpen,i=this.isEndSide,n=k(t.deltaX,e,i),o=this.width,r=n/o,a=t.velocityX,h=o/2,d=a>=0&&(a>.2||t.deltaX>h),c=a<=0&&(a<-.2||t.deltaX<-h),m=e?i?d:c:i?c:d;let p=!e&&m;e&&!m&&(p=!0),this.lastOnEnd=t.currentTime;let b=m?.001:-.001;b+=s([0,0],[.4,0],[.6,1],[1,1],u(0,r<0?.01:r,.9999))[0]||0;const f=this._isOpen?!m:m;this.animation.easing("cubic-bezier(0.4, 0.0, 0.6, 1)").onFinish((()=>this.afterAnimation(p)),{oneTimeCallback:!0}).progressEnd(f?1:0,this._isOpen?1-b:b,300)}beforeAnimation(t){l(!this.isAnimating,"_before() should not be called while animating"),this.el.classList.add(z),this.el.setAttribute("tabindex","0"),this.backdropEl&&this.backdropEl.classList.add(j),this.contentEl&&(this.contentEl.classList.add(A),this.contentEl.setAttribute("aria-hidden","true")),this.blocker.block(),this.isAnimating=!0,t?this.ionWillOpen.emit():this.ionWillClose.emit()}afterAnimation(t){var e;l(this.isAnimating,"_before() should be called while animating"),this._isOpen=t,this.isAnimating=!1,this._isOpen||this.blocker.unblock(),t?(this.ionDidOpen.emit(),(null===(e=document.activeElement)||void 0===e?void 0:e.closest("ion-menu"))!==this.el&&this.el.focus(),document.addEventListener("focus",this.handleFocus,!0)):(this.el.classList.remove(z),this.el.removeAttribute("tabindex"),this.contentEl&&(this.contentEl.classList.remove(A),this.contentEl.removeAttribute("aria-hidden")),this.backdropEl&&this.backdropEl.classList.remove(j),this.animation&&this.animation.stop(),this.ionDidClose.emit(),document.removeEventListener("focus",this.handleFocus,!0))}updateState(){const t=this._isActive();this.gesture&&this.gesture.enable(t&&this.swipeGesture),!t&&this._isOpen&&this.forceClosing(),(null==r?void 0:r.contains(this.el))&&(this.disabled||c._setActiveMenu(this)),l(!this.isAnimating,"can not be animating")}forceClosing(){l(this._isOpen,"menu cannot be closed"),this.isAnimating=!0,this.animation.direction("reverse").play({sync:!0}),this.afterAnimation(!1)}render(){const{type:t,disabled:e,isPaneVisible:o,inheritedAttributes:s,side:r}=this,a=b(this);return i(n,{role:"navigation","aria-label":s["aria-label"]||"menu",class:{[a]:!0,[`menu-type-${t}`]:!0,"menu-enabled":!e,[`menu-side-${r}`]:!0,"menu-pane-visible":o}},i("div",{class:"menu-inner",part:"container",ref:t=>this.menuInnerEl=t},i("slot",null)),i("ion-backdrop",{ref:t=>this.backdropEl=t,class:"menu-backdrop",tappable:!1,stopPropagation:!1,part:"backdrop"}))}get el(){return o(this)}static get watchers(){return{type:["typeChanged"],disabled:["disabledChanged"],side:["sideChanged"],swipeGesture:["swipeGestureChanged"]}}},k=(t,e,i)=>Math.max(0,e!==i?-t:t),C=(t,e,i,n)=>i?e>=t.innerWidth-n:e<=n,z="show-menu",j="show-backdrop",A="menu-content-open";y.style={ios:":host{--width:304px;--min-width:auto;--max-width:auto;--height:100%;--min-height:auto;--max-height:auto;--background:var(--ion-background-color, #fff);left:0;right:0;top:0;bottom:0;display:none;position:absolute;contain:strict}:host(.show-menu){display:block}.menu-inner{-webkit-transform:translateX(-9999px);transform:translateX(-9999px);display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:justify;justify-content:space-between;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);background:var(--background);contain:strict}:host(.menu-side-start) .menu-inner{--ion-safe-area-right:0px;top:0;bottom:0}@supports (inset-inline-start: 0){:host(.menu-side-start) .menu-inner{inset-inline-start:0;inset-inline-end:auto}}@supports not (inset-inline-start: 0){:host(.menu-side-start) .menu-inner{left:0;right:auto}:host-context([dir=rtl]):host(.menu-side-start) .menu-inner,:host-context([dir=rtl]).menu-side-start .menu-inner{left:unset;right:unset;left:auto;right:0}@supports selector(:dir(rtl)){:host(.menu-side-start) .menu-inner:dir(rtl){left:unset;right:unset;left:auto;right:0}}}:host-context([dir=rtl]):host(.menu-side-start) .menu-inner,:host-context([dir=rtl]).menu-side-start .menu-inner{--ion-safe-area-right:env(safe-area-inset-right);--ion-safe-area-left:0px}@supports selector(:dir(rtl)){:host(.menu-side-start) .menu-inner:dir(rtl){--ion-safe-area-right:env(safe-area-inset-right);--ion-safe-area-left:0px}}:host(.menu-side-end) .menu-inner{--ion-safe-area-left:0px;top:0;bottom:0}@supports (inset-inline-start: 0){:host(.menu-side-end) .menu-inner{inset-inline-start:auto;inset-inline-end:0}}@supports not (inset-inline-start: 0){:host(.menu-side-end) .menu-inner{left:auto;right:0}:host-context([dir=rtl]):host(.menu-side-end) .menu-inner,:host-context([dir=rtl]).menu-side-end .menu-inner{left:unset;right:unset;left:0;right:auto}@supports selector(:dir(rtl)){:host(.menu-side-end) .menu-inner:dir(rtl){left:unset;right:unset;left:0;right:auto}}}:host-context([dir=rtl]):host(.menu-side-end) .menu-inner,:host-context([dir=rtl]).menu-side-end .menu-inner{--ion-safe-area-left:env(safe-area-inset-left);--ion-safe-area-right:0px}@supports selector(:dir(rtl)){:host(.menu-side-end) .menu-inner:dir(rtl){--ion-safe-area-left:env(safe-area-inset-left);--ion-safe-area-right:0px}}ion-backdrop{display:none;opacity:0.01;z-index:-1}@media (max-width: 340px){.menu-inner{--width:264px}}:host(.menu-type-reveal){z-index:0}:host(.menu-type-reveal.show-menu) .menu-inner{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}:host(.menu-type-overlay){z-index:1000}:host(.menu-type-overlay) .show-backdrop{display:block;cursor:pointer}:host(.menu-pane-visible){width:var(--width);min-width:var(--min-width);max-width:var(--max-width)}:host(.menu-pane-visible) .menu-inner{left:0;right:0;width:auto;-webkit-transform:none !important;transform:none !important;-webkit-box-shadow:none !important;box-shadow:none !important}:host(.menu-pane-visible) ion-backdrop{display:hidden !important;}:host(.menu-type-push){z-index:1000}:host(.menu-type-push) .show-backdrop{display:block}",md:":host{--width:304px;--min-width:auto;--max-width:auto;--height:100%;--min-height:auto;--max-height:auto;--background:var(--ion-background-color, #fff);left:0;right:0;top:0;bottom:0;display:none;position:absolute;contain:strict}:host(.show-menu){display:block}.menu-inner{-webkit-transform:translateX(-9999px);transform:translateX(-9999px);display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:justify;justify-content:space-between;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);background:var(--background);contain:strict}:host(.menu-side-start) .menu-inner{--ion-safe-area-right:0px;top:0;bottom:0}@supports (inset-inline-start: 0){:host(.menu-side-start) .menu-inner{inset-inline-start:0;inset-inline-end:auto}}@supports not (inset-inline-start: 0){:host(.menu-side-start) .menu-inner{left:0;right:auto}:host-context([dir=rtl]):host(.menu-side-start) .menu-inner,:host-context([dir=rtl]).menu-side-start .menu-inner{left:unset;right:unset;left:auto;right:0}@supports selector(:dir(rtl)){:host(.menu-side-start) .menu-inner:dir(rtl){left:unset;right:unset;left:auto;right:0}}}:host-context([dir=rtl]):host(.menu-side-start) .menu-inner,:host-context([dir=rtl]).menu-side-start .menu-inner{--ion-safe-area-right:env(safe-area-inset-right);--ion-safe-area-left:0px}@supports selector(:dir(rtl)){:host(.menu-side-start) .menu-inner:dir(rtl){--ion-safe-area-right:env(safe-area-inset-right);--ion-safe-area-left:0px}}:host(.menu-side-end) .menu-inner{--ion-safe-area-left:0px;top:0;bottom:0}@supports (inset-inline-start: 0){:host(.menu-side-end) .menu-inner{inset-inline-start:auto;inset-inline-end:0}}@supports not (inset-inline-start: 0){:host(.menu-side-end) .menu-inner{left:auto;right:0}:host-context([dir=rtl]):host(.menu-side-end) .menu-inner,:host-context([dir=rtl]).menu-side-end .menu-inner{left:unset;right:unset;left:0;right:auto}@supports selector(:dir(rtl)){:host(.menu-side-end) .menu-inner:dir(rtl){left:unset;right:unset;left:0;right:auto}}}:host-context([dir=rtl]):host(.menu-side-end) .menu-inner,:host-context([dir=rtl]).menu-side-end .menu-inner{--ion-safe-area-left:env(safe-area-inset-left);--ion-safe-area-right:0px}@supports selector(:dir(rtl)){:host(.menu-side-end) .menu-inner:dir(rtl){--ion-safe-area-left:env(safe-area-inset-left);--ion-safe-area-right:0px}}ion-backdrop{display:none;opacity:0.01;z-index:-1}@media (max-width: 340px){.menu-inner{--width:264px}}:host(.menu-type-reveal){z-index:0}:host(.menu-type-reveal.show-menu) .menu-inner{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}:host(.menu-type-overlay){z-index:1000}:host(.menu-type-overlay) .show-backdrop{display:block;cursor:pointer}:host(.menu-pane-visible){width:var(--width);min-width:var(--min-width);max-width:var(--max-width)}:host(.menu-pane-visible) .menu-inner{left:0;right:0;width:auto;-webkit-transform:none !important;transform:none !important;-webkit-box-shadow:none !important;box-shadow:none !important}:host(.menu-pane-visible) ion-backdrop{display:hidden !important;}:host(.menu-type-overlay) .menu-inner{-webkit-box-shadow:4px 0px 16px rgba(0, 0, 0, 0.18);box-shadow:4px 0px 16px rgba(0, 0, 0, 0.18)}"};const S=async t=>{const e=await c.get(t);return!(!e||!await e.isActive())},_=class{constructor(e){t(this,e),this.inheritedAttributes={},this.onClick=async()=>c.toggle(this.menu),this.visible=!1,this.color=void 0,this.disabled=!1,this.menu=void 0,this.autoHide=!0,this.type="button"}componentWillLoad(){this.inheritedAttributes=d(this.el)}componentDidLoad(){this.visibilityChanged()}async visibilityChanged(){this.visible=await S(this.menu)}render(){const{color:t,disabled:e,inheritedAttributes:o}=this,s=b(this),r=p.get("menuIcon","ios"===s?v:x),a=this.autoHide&&!this.visible,h={type:this.type},d=o["aria-label"]||"menu";return i(n,{onClick:this.onClick,"aria-disabled":e?"true":null,"aria-hidden":a?"true":null,class:f(t,{[s]:!0,button:!0,"menu-button-hidden":a,"menu-button-disabled":e,"in-toolbar":g("ion-toolbar",this.el),"in-toolbar-color":g("ion-toolbar[color]",this.el),"ion-activatable":!0,"ion-focusable":!0})},i("button",Object.assign({},h,{disabled:e,class:"button-native",part:"native","aria-label":d}),i("span",{class:"button-inner"},i("slot",null,i("ion-icon",{part:"icon",icon:r,mode:s,lazy:!1,"aria-hidden":"true"}))),"md"===s&&i("ion-ripple-effect",{type:"unbounded"})))}get el(){return o(this)}};_.style={ios:':host{--background:transparent;--color-focused:currentColor;--border-radius:initial;--padding-top:0;--padding-bottom:0;color:var(--color);text-align:center;text-decoration:none;text-overflow:ellipsis;text-transform:none;white-space:nowrap;-webkit-font-kerning:none;font-kerning:none}.button-native{border-radius:var(--border-radius);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;border:0;outline:none;background:var(--background);line-height:1;cursor:pointer;overflow:hidden;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:0;-webkit-appearance:none;-moz-appearance:none;appearance:none}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;z-index:1}ion-icon{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;pointer-events:none}:host(.menu-button-hidden){display:none}:host(.menu-button-disabled){cursor:default;opacity:0.5;pointer-events:none}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}@media (any-hover: hover){:host(:hover) .button-native{color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity, 0)}}:host(.ion-color) .button-native{color:var(--ion-color-base)}:host(.in-toolbar:not(.in-toolbar-color)){color:var(--ion-toolbar-color, var(--color))}:host{--background-focused:currentColor;--background-focused-opacity:.1;--border-radius:4px;--color:var(--ion-color-primary, #3880ff);--padding-start:5px;--padding-end:5px;height:32px;font-size:31px}:host(.ion-activated){opacity:0.4}@media (any-hover: hover){:host(:hover){opacity:0.6}}',md:':host{--background:transparent;--color-focused:currentColor;--border-radius:initial;--padding-top:0;--padding-bottom:0;color:var(--color);text-align:center;text-decoration:none;text-overflow:ellipsis;text-transform:none;white-space:nowrap;-webkit-font-kerning:none;font-kerning:none}.button-native{border-radius:var(--border-radius);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;border:0;outline:none;background:var(--background);line-height:1;cursor:pointer;overflow:hidden;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:0;-webkit-appearance:none;-moz-appearance:none;appearance:none}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;z-index:1}ion-icon{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;pointer-events:none}:host(.menu-button-hidden){display:none}:host(.menu-button-disabled){cursor:default;opacity:0.5;pointer-events:none}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}@media (any-hover: hover){:host(:hover) .button-native{color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity, 0)}}:host(.ion-color) .button-native{color:var(--ion-color-base)}:host(.in-toolbar:not(.in-toolbar-color)){color:var(--ion-toolbar-color, var(--color))}:host{--background-focused:currentColor;--background-focused-opacity:.12;--background-hover:currentColor;--background-hover-opacity:.04;--border-radius:50%;--color:initial;--padding-start:8px;--padding-end:8px;width:48px;height:48px;font-size:24px}:host(.ion-color.ion-focused)::after{background:var(--ion-color-base)}@media (any-hover: hover){:host(.ion-color:hover) .button-native::after{background:var(--ion-color-base)}}'};const O=class{constructor(e){t(this,e),this.onClick=()=>c.toggle(this.menu),this.visible=!1,this.menu=void 0,this.autoHide=!0}connectedCallback(){this.visibilityChanged()}async visibilityChanged(){this.visible=await S(this.menu)}render(){const t=b(this),e=this.autoHide&&!this.visible;return i(n,{onClick:this.onClick,"aria-hidden":e?"true":null,class:{[t]:!0,"menu-toggle-hidden":e}},i("slot",null))}};O.style=":host(.menu-toggle-hidden){display:none}";export{y as ion_menu,_ as ion_menu_button,O as ion_menu_toggle}
@@ -1,4 +0,0 @@
1
- /*!
2
- * (C) Ionic http://ionicframework.com - MIT License
3
- */
4
- import{w as e,B as i}from"./p-a18eb556.js";import{r as a}from"./p-63eb0acd.js";const n="ionViewWillEnter",o="ionViewDidEnter",s="ionViewWillLeave",t="ionViewDidLeave",r="ionViewWillUnload",c=i=>new Promise(((a,n)=>{e((()=>{p(i),w(i).then((e=>{e.animation&&e.animation.destroy(),d(i),a(e)}),(e=>{d(i),n(e)}))}))})),p=e=>{const i=e.enteringEl,a=e.leavingEl;k(i,a,e.direction),e.showGoBack?i.classList.add("can-go-back"):i.classList.remove("can-go-back"),j(i,!1),i.style.setProperty("pointer-events","none"),a&&(j(a,!1),a.style.setProperty("pointer-events","none"))},w=async e=>{const a=await l(e);return a&&i.isBrowser?m(a,e):v(e)},d=e=>{const i=e.enteringEl,a=e.leavingEl;i.classList.remove("ion-page-invisible"),i.style.removeProperty("pointer-events"),void 0!==a&&(a.classList.remove("ion-page-invisible"),a.style.removeProperty("pointer-events"))},l=async e=>{if(e.leavingEl&&e.animated&&0!==e.duration)return e.animationBuilder?e.animationBuilder:"ios"===e.mode?(await import("./p-d57e8b06.js")).iosTransitionAnimation:(await import("./p-75d4ceab.js")).mdTransitionAnimation},m=async(e,i)=>{await b(i,!0);const a=e(i.baseEl,i);g(i.enteringEl,i.leavingEl);const n=await f(a,i);return i.progressCallback&&i.progressCallback(void 0),n&&y(i.enteringEl,i.leavingEl),{hasCompleted:n,animation:a}},v=async e=>{const i=e.enteringEl,a=e.leavingEl;return await b(e,!1),g(i,a),y(i,a),{hasCompleted:!0}},b=async(e,i)=>{(void 0!==e.deepWait?e.deepWait:i)&&await Promise.all([V(e.enteringEl),V(e.leavingEl)]),await u(e.viewIsReady,e.enteringEl)},u=async(e,i)=>{e&&await e(i)},f=(e,i)=>{const a=i.progressCallback,n=new Promise((i=>{e.onFinish((e=>i(1===e)))}));return a?(e.progressStart(!0),a(e)):e.play(),n},g=(e,i)=>{h(i,s),h(e,n)},y=(e,i)=>{h(e,o),h(i,t)},h=(e,i)=>{if(e){const a=new CustomEvent(i,{bubbles:!1,cancelable:!1});e.dispatchEvent(a)}},P=()=>new Promise((e=>a((()=>a((()=>e())))))),V=async e=>{const i=e;if(i){if(null!=i.componentOnReady){if(null!=await i.componentOnReady())return}else if(null!=i.__registerHost){const e=new Promise((e=>a(e)));return void await e}await Promise.all(Array.from(i.children).map(V))}},j=(e,i)=>{i?(e.setAttribute("aria-hidden","true"),e.classList.add("ion-page-hidden")):(e.hidden=!1,e.removeAttribute("aria-hidden"),e.classList.remove("ion-page-hidden"))},k=(e,i,a)=>{void 0!==e&&(e.style.zIndex="back"===a?"99":"101"),void 0!==i&&(i.style.zIndex="100")},C=e=>{if(e.classList.contains("ion-page"))return e;return e.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")||e};export{n as L,o as a,s as b,t as c,r as d,V as e,C as g,h as l,j as s,c as t,P as w}
@@ -1,4 +0,0 @@
1
- /*!
2
- * (C) Ionic http://ionicframework.com - MIT License
3
- */
4
- import{r as t,d as o,f as n,h as i,H as e}from"./p-a18eb556.js";import{c as r,q as s}from"./p-63eb0acd.js";import{o as a,c}from"./p-1d072d3d.js";import{b as h}from"./p-563068af.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):[],i=o?Object.keys(o):[];if(n.length===i.length){for(const i of n)if(t[i]!==o[i])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 i=t.indexOf("?");i>-1&&(o=t.substring(i+1),t=t.substring(0,i)),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,i,e=!1,s)=>{try{const a=g(t);if(i>=o.length||!a)return e;await new Promise((t=>r(a,t)));const c=o[i],h=await a.setRouteId(c.id,c.params,n,s);return h.changed&&(n=f,e=!0),e=await m(h.element,o,n,i+1,e,s),h.markVisible&&await h.markVisible(),e}catch(t){return console.error(t),!1}},v=":not([no-router]) ion-nav, :not([no-router]) ion-tabs, :not([no-router]) ion-router-outlet",g=t=>{if(!t)return;if(t.matches(v))return t;const o=t.querySelector(v);return null!=o?o:void 0},b=(t,o)=>o.find((o=>((t,o)=>{const{from:n,to:i}=o;if(void 0===i)return!1;if(n.length>t.length)return!1;for(let o=0;o<n.length;o++){const i=n[o];if("*"===i)return!0;if(i!==t[o])return!1}return n.length===t.length})(t,o))),y=(t,o)=>{const n=Math.min(t.length,o.length);let i=0;for(let e=0;e<n;e++){const n=t[e],r=o[e];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++)i++}}i++}return i},R=(t,o)=>{const n=new O(t);let i,e=!1;for(let t=0;t<o.length;t++){const r=o[t].segments;if(""===r[0])e=!0;else{for(const o of r){const e=n.next();if(":"===o[0]){if(""===e)return null;i=i||[],(i[t]||(i[t]={}))[o.slice(1)]=e}else if(e!==o)return null}e=!1}}return e&&e!==(""===n.next())?null:i?o.map(((t,o)=>({id:t.id,segments:t.segments,params:C(t.params,i[o]),beforeEnter:t.beforeEnter,beforeLeave:t.beforeLeave}))):o},C=(t,o)=>t||o?Object.assign(Object.assign({},t),o):void 0,j=(t,o)=>{let n=null,i=0;for(const e of o){const o=R(t,e);if(null!==o){const t=k(o);t>i&&(i=t,n=o)}}return n},k=t=>{let o=1,n=1;for(const i of t)for(const t of i.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 i of n.children)P(t,o,i);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(g(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 i;if(t.startsWith(".")){const o=null!==(i=this.previousPath)&&void 0!==i?i:"/",n=new URL(t,`https://host/${o}`);t=n.pathname+n.search}let e=p(t);const r=await this.runGuards(e.segments);if(!0!==r){if("object"!=typeof r)return!1;e=p(r.redirect)}return this.setSegments(e.segments,o,e.queryString),this.writeNavStateRoot(e.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=g(n);){const i=await o.getRouteId();if(!i)break;n=i.element,i.element=void 0,t.push(i)}return{ids:t,outlet:o}})(),i=((t,o)=>{let n=null,i=0;for(const e of o){const o=y(t,e);o>i&&(n=e,i=o)}return n?n.map(((o,n)=>{var i;return{id:o.id,segments:o.segments,params:C(o.params,null===(i=t[n])||void 0===i?void 0:i.params)}})):null})(o,S(this.el));if(!i)return console.warn("[ion-router] no matching URL for ",o.map((t=>t.id))),!1;const e=(t=>{const o=[];for(const n of t)for(const t of n.segments)if(":"===t[0]){const i=n.params&&n.params[t.slice(1)];if(!i)return null;o.push(i)}else""!==t&&o.push(t);return o})(i);return e?(this.setSegments(e,t),await this.safeWriteNavState(n,i,f,e,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&&b(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,i=this.lastState;return this.lastState=n,n>i||n>=i&&i>0?d:n<i?"back":f}async writeNavStateRoot(t,o,n){if(!t)return console.error("[ion-router] URL is not part of the routing set"),!1;const i=E(this.el),e=b(t,i);let r=null;if(e){const{segments:n,queryString:i}=e.to;this.setSegments(n,o,i),r=e.from,t=n}const s=S(this.el),a=j(t,s);return a?this.safeWriteNavState(document.body,a,o,t,r,0,n):(console.error("[ion-router] the path does not match any route"),!1)}async safeWriteNavState(t,o,n,i,e,r=0,s){const a=await this.lock();let c=!1;try{c=await this.writeNavState(t,o,n,i,e,r,s)}catch(t){console.error(t)}return a(),c}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),i=j(o,n),e=i&&i[i.length-1].beforeLeave,r=!e||await e();if(!1===r||"object"==typeof r)return r;const s=j(t,n),a=s&&s[s.length-1].beforeEnter;return!a||a()}async writeNavState(t,o,n,i,e,r=0,s){if(this.busy)return console.warn("[ion-router] router is busy, transition was cancelled"),!1;this.busy=!0;const a=this.routeChangeEvent(i,e);a&&this.ionRouteWillChange.emit(a);const c=await m(t,o,n,r,!1,s);return this.busy=!1,a&&this.ionRouteDidChange.emit(a),c}setSegments(t,o,n){this.state++,((t,o,n,i,e,r,s)=>{const a=((t,o,n)=>{let i=w(t);return o&&(i="#"+i),void 0!==n&&(i+="?"+n),i})([...p(o).segments,...i],n,s);e===d?t.pushState(r,"",a):t.replaceState(r,"",a)})(window.history,this.root,this.useHash,t,o,this.state,n)}getSegments(){return((t,o,n)=>{const i=p(this.root).segments,e=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)})(i,p(e).segments)})(window.location,0,this.useHash)}routeChangeEvent(t,o){const n=this.previousPath,i=w(t);return this.previousPath=i,i===n?null:{from:n,redirectedFrom:o?w(o):null,to:i}}get el(){return n(this)}},x=class{constructor(o){t(this,o),this.onClick=t=>{a(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 i(e,{onClick:this.onClick,class:c(this.color,{[t]:!0,"ion-activatable":!0})},i("a",Object.assign({},o),i("slot",null)))}};x.style=":host{--background:transparent;--color:var(--ion-color-primary, #3880ff);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
- var __awaiter=this&&this.__awaiter||function(e,t,n,r){function i(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function a(e){try{s(r.next(e))}catch(e){o(e)}}function u(e){try{s(r["throw"](e))}catch(e){o(e)}}function s(e){e.done?n(e.value):i(e.value).then(a,u)}s((r=r.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},r,i,o,a;return a={next:u(0),throw:u(1),return:u(2)},typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function u(e){return function(t){return s([e,t])}}function s(u){if(r)throw new TypeError("Generator is already executing.");while(a&&(a=0,u[0]&&(n=0)),n)try{if(r=1,i&&(o=u[0]&2?i["return"]:u[0]?i["throw"]||((o=i["return"])&&o.call(i),0):i.next)&&!(o=o.call(i,u[1])).done)return o;if(i=0,o)u=[u[0]&2,o.value];switch(u[0]){case 0:case 1:o=u;break;case 4:n.label++;return{value:u[1],done:false};case 5:n.label++;i=u[1];u=[0];continue;case 7:u=n.ops.pop();n.trys.pop();continue;default:if(!(o=n.trys,o=o.length>0&&o[o.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!o||u[1]>o[0]&&u[1]<o[3])){n.label=u[1];break}if(u[0]===6&&n.label<o[1]){n.label=o[1];o=u;break}if(o&&n.label<o[2]){n.label=o[2];n.ops.push(u);break}if(o[2])n.ops.pop();n.trys.pop();continue}u=t.call(e,n)}catch(e){u=[6,e];i=0}finally{r=o=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:true}}};
2
- /*!
3
- * (C) Ionic http://ionicframework.com - MIT License
4
- */System.register(["./p-64475ab5.system.js","./p-815c2fba.system.js","./p-bba2ce59.system.js","./p-0e94957a.system.js","./p-479cdbf8.system.js","./p-ccdcb022.system.js"],(function(e){"use strict";var t,n,r,i,o,a,u,s,c,f;return{setters:[function(e){t=e.g;n=e.c;r=e.f},function(e){i=e.a;o=e.b;a=e.r;u=e.c},function(e){s=e.a;c=e.K},function(e){f=e.w},function(){},function(){}],execute:function(){var l=this;var d=new WeakMap;var v=function(e,t,n,r,i){if(r===void 0){r=0}if(i===void 0){i=false}if(d.has(e)===n){return}if(n){m(e,t,r,i)}else{p(e,t)}};var h=function(e){return e===e.getRootNode().activeElement};var m=function(e,t,n,r){if(r===void 0){r=false}var i=t.parentNode;var o=t.cloneNode(false);o.classList.add("cloned-input");o.tabIndex=-1;if(r){o.disabled=true}i.appendChild(o);d.set(e,o);var a=e.ownerDocument;var u=a.dir==="rtl"?9999:-9999;e.style.pointerEvents="none";t.style.transform="translate3d(".concat(u,"px,").concat(n,"px,0) scale(0)")};var p=function(e,t){var n=d.get(e);if(n){d.delete(e);n.remove()}e.style.pointerEvents="";t.style.transform=""};var b=50;var w=function(e,t,n){if(!n||!t){return function(){return}}var r=function(n){if(h(t)){v(e,t,n)}};var a=function(){return v(e,t,false)};var u=function(){return r(true)};var s=function(){return r(false)};i(n,"ionScrollStart",u);i(n,"ionScrollEnd",s);t.addEventListener("blur",a);return function(){o(n,"ionScrollStart",u);o(n,"ionScrollEnd",s);t.removeEventListener("blur",a)}};var y="input, textarea, [no-blur], [contenteditable]";var g=function(){var e=true;var t=false;var n=document;var r=function(){t=true};var a=function(){e=true};var u=function(r){if(t){t=false;return}var i=n.activeElement;if(!i){return}if(i.matches(y)){return}var o=r.target;if(o===i){return}if(o.matches(y)||o.closest(y)){return}e=false;setTimeout((function(){if(!e){i.blur()}}),50)};i(n,"ionScrollStart",r);n.addEventListener("focusin",a,true);n.addEventListener("touchend",u,false);return function(){o(n,"ionScrollStart",r,true);n.removeEventListener("focusin",a,true);n.removeEventListener("touchend",u,false)}};var E=.3;var S=function(e,t,n,r){var i;var o=(i=e.closest("ion-item,[ion-item]"))!==null&&i!==void 0?i:e;return _(o.getBoundingClientRect(),t.getBoundingClientRect(),n,r)};var _=function(e,t,n,r){var i=e.top;var o=e.bottom;var a=t.top;var u=Math.min(t.bottom,r-n);var s=a+15;var c=u-b;var f=c-o;var l=s-i;var d=Math.round(f<0?-f:l>0?-l:0);var v=Math.min(d,i-a);var h=Math.abs(v);var m=h/E;var p=Math.min(400,Math.max(150,m));return{scrollAmount:v,scrollDuration:p,scrollPadding:n,inputSafeY:-(i-s)+4}};var L="$ionPaddingTimer";var x=function(e,t,n){var r=e[L];if(r){clearTimeout(r)}if(t>0){e.style.setProperty("--keyboard-offset","".concat(t,"px"))}else{e[L]=setTimeout((function(){e.style.setProperty("--keyboard-offset","0px");if(n){n()}}),120)}};var D=function(e,t,n){var r=function(){if(t){x(t,0,n)}};e.addEventListener("focusout",r,{once:true})};var k=0;var A="data-ionic-skip-scroll-assist";var M=function(e,t,n,r,i,o,a,u){if(u===void 0){u=false}var c=o&&(a===undefined||a.mode===s.None);var d=false;var v=f!==undefined?f.innerHeight:0;var h=v;var m=function(i){var o=i.detail.keyboardHeight;v=f!==undefined?f.innerHeight:0;if(d===false){d=true;return}if(a!==undefined&&a.mode===s.Native&&v!==h){v+=o}P(e,t,n,r,o,c,u,v,false)};var p=function(){d=false;f===null||f===void 0?void 0:f.removeEventListener("ionKeyboardDidShow",m);e.removeEventListener("focusout",p,true)};var b=function(){return __awaiter(l,void 0,void 0,(function(){return __generator(this,(function(o){if(t.hasAttribute(A)){t.removeAttribute(A);return[2]}P(e,t,n,r,i,c,u,v);f===null||f===void 0?void 0:f.addEventListener("ionKeyboardDidShow",m);e.addEventListener("focusout",p,true);return[2]}))}))};e.addEventListener("focusin",b,true);return function(){e.removeEventListener("focusin",b,true);f===null||f===void 0?void 0:f.removeEventListener("ionKeyboardDidShow",m);e.removeEventListener("focusout",p,true)}};var K=function(e){if(document.activeElement===e){return}e.setAttribute(A,"true");e.focus()};var P=function(e,r,i,o,u,s,c,f,d){if(c===void 0){c=false}if(f===void 0){f=0}if(d===void 0){d=true}return __awaiter(l,void 0,void 0,(function(){var l,h,m,p,w,y;var g=this;return __generator(this,(function(E){switch(E.label){case 0:if(!i&&!o){return[2]}l=S(e,i||o,u,f);if(i&&Math.abs(l.scrollAmount)<4){K(r);if(s&&i!==null){x(i,k);D(r,i,(function(){return k=0}))}return[2]}v(e,r,true,l.inputSafeY,c);K(r);a((function(){return e.click()}));if(s&&i){k=l.scrollPadding;x(i,k)}if(!(typeof window!=="undefined"))return[3,3];m=function(){return __awaiter(g,void 0,void 0,(function(){return __generator(this,(function(t){switch(t.label){case 0:if(h!==undefined){clearTimeout(h)}window.removeEventListener("ionKeyboardDidShow",p);window.removeEventListener("ionKeyboardDidShow",m);if(!i)return[3,2];return[4,n(i,0,l.scrollAmount,l.scrollDuration)];case 1:t.sent();t.label=2;case 2:v(e,r,false,l.inputSafeY);K(r);if(s){D(r,i,(function(){return k=0}))}return[2]}}))}))};p=function(){window.removeEventListener("ionKeyboardDidShow",p);window.addEventListener("ionKeyboardDidShow",m)};if(!i)return[3,2];return[4,t(i)];case 1:w=E.sent();y=w.scrollHeight-w.clientHeight;if(d&&l.scrollAmount>y-w.scrollTop){if(r.type==="password"){l.scrollAmount+=b;window.addEventListener("ionKeyboardDidShow",p)}else{window.addEventListener("ionKeyboardDidShow",m)}h=setTimeout(m,1e3);return[2]}E.label=2;case 2:m();E.label=3;case 3:return[2]}}))}))};var T=true;var B=e("startInputShims",(function(e,t){return __awaiter(l,void 0,void 0,(function(){var n,i,o,a,s,f,l,d,v,h,m,p,b,y,E,S,_;var L=this;return __generator(this,(function(x){switch(x.label){case 0:n=document;i=t==="ios";o=t==="android";a=e.getNumber("keyboardHeight",290);s=e.getBoolean("scrollAssist",true);f=e.getBoolean("hideCaretOnScroll",i);l=e.getBoolean("inputBlurring",i);d=e.getBoolean("scrollPadding",true);v=Array.from(n.querySelectorAll("ion-input, ion-textarea"));h=new WeakMap;m=new WeakMap;return[4,c.getResizeMode()];case 1:p=x.sent();b=function(e){return __awaiter(L,void 0,void 0,(function(){var t,n,i,c,l,v,l;return __generator(this,(function(b){switch(b.label){case 0:return[4,new Promise((function(t){return u(e,t)}))];case 1:b.sent();t=e.shadowRoot||e;n=t.querySelector("input")||t.querySelector("textarea");i=r(e);c=!i?e.closest("ion-footer"):null;if(!n){return[2]}if(!!i&&f&&!h.has(e)){l=w(e,n,i);h.set(e,l)}v=n.type==="date"||n.type==="datetime-local";if(!v&&(!!i||!!c)&&s&&!m.has(e)){l=M(e,n,i,c,a,d,p,o);m.set(e,l)}return[2]}}))}))};y=function(e){if(f){var t=h.get(e);if(t){t()}h.delete(e)}if(s){var t=m.get(e);if(t){t()}m.delete(e)}};if(l&&T){g()}for(E=0,S=v;E<S.length;E++){_=S[E];b(_)}n.addEventListener("ionInputDidLoad",(function(e){b(e.detail)}));n.addEventListener("ionInputDidUnload",(function(e){y(e.detail)}));return[2]}}))}))}))}}}));
@@ -1,4 +0,0 @@
1
- /*!
2
- * (C) Ionic http://ionicframework.com - MIT License
3
- */
4
- System.register(["./p-6b2641f6.system.js","./p-a122ecd0.system.js","./p-0e94957a.system.js","./p-815c2fba.system.js","./p-2441ba84.system.js"],(function(n){"use strict";var e,t;return{setters:[function(n){e=n.c},function(n){t=n.g},function(){},function(){},function(){}],execute:function(){var a=n("mdTransitionAnimation",(function(n,a){var i,r,o;var s="40px";var c="0px";var l=a.direction==="back";var u=a.enteringEl;var d=a.leavingEl;var f=t(u);var m=f.querySelector("ion-toolbar");var v=e();v.addElement(f).fill("both").beforeRemoveClass("ion-page-invisible");if(l){v.duration(((i=a.duration)!==null&&i!==void 0?i:0)||200).easing("cubic-bezier(0.47,0,0.745,0.715)")}else{v.duration(((r=a.duration)!==null&&r!==void 0?r:0)||280).easing("cubic-bezier(0.36,0.66,0.04,1)").fromTo("transform","translateY(".concat(s,")"),"translateY(".concat(c,")")).fromTo("opacity",.01,1)}if(m){var b=e();b.addElement(m);v.addAnimation(b)}if(d&&l){v.duration(((o=a.duration)!==null&&o!==void 0?o:0)||200).easing("cubic-bezier(0.47,0,0.745,0.715)");var p=e();p.addElement(t(d)).onFinish((function(n){if(n===1&&p.elements.length>0){p.elements[0].style.setProperty("display","none")}})).fromTo("transform","translateY(".concat(c,")"),"translateY(".concat(s,")")).fromTo("opacity",1,0);v.addAnimation(p)}return v}))}}}));
@@ -1,4 +0,0 @@
1
- /*!
2
- * (C) Ionic http://ionicframework.com - MIT License
3
- */
4
- import{g as o,c as t,f as n}from"./p-b24aa895.js";import{a as i,b as a,r as e,c as r}from"./p-63eb0acd.js";import{a as s,K as d}from"./p-419eb426.js";import{w as c}from"./p-b347cfd1.js";import"./p-1b8e1d03.js";import"./p-cc196b34.js";const l=new WeakMap,u=(o,t,n,i=0,a=!1)=>{l.has(o)!==n&&(n?f(o,t,i,a):w(o,t))},f=(o,t,n,i=!1)=>{const a=t.parentNode,e=t.cloneNode(!1);e.classList.add("cloned-input"),e.tabIndex=-1,i&&(e.disabled=!0),a.appendChild(e),l.set(o,e);const r="rtl"===o.ownerDocument.dir?9999:-9999;o.style.pointerEvents="none",t.style.transform=`translate3d(${r}px,${n}px,0) scale(0)`},w=(o,t)=>{const n=l.get(o);n&&(l.delete(o),n.remove()),o.style.pointerEvents="",t.style.transform=""},p="input, textarea, [no-blur], [contenteditable]",b="$ionPaddingTimer",m=(o,t,n)=>{const i=o[b];i&&clearTimeout(i),t>0?o.style.setProperty("--keyboard-offset",`${t}px`):o[b]=setTimeout((()=>{o.style.setProperty("--keyboard-offset","0px"),n&&n()}),120)},h=(o,t,n)=>{o.addEventListener("focusout",(()=>{t&&m(t,0,n)}),{once:!0})};let y=0;const S="data-ionic-skip-scroll-assist",D=o=>{document.activeElement!==o&&(o.setAttribute(S,"true"),o.focus())},v=async(n,i,a,r,s,d,c=!1,l=0,f=!0)=>{if(!a&&!r)return;const w=((o,t,n,i)=>{var a;return((o,t,n,i)=>{const a=o.top,e=o.bottom,r=t.top,s=r+15,d=Math.min(t.bottom,i-n)-50-e,c=s-a,l=Math.round(d<0?-d:c>0?-c:0),u=Math.min(l,a-r),f=Math.abs(u);return{scrollAmount:u,scrollDuration:Math.min(400,Math.max(150,f/.3)),scrollPadding:n,inputSafeY:4-(a-s)}})((null!==(a=o.closest("ion-item,[ion-item]"))&&void 0!==a?a:o).getBoundingClientRect(),t.getBoundingClientRect(),n,i)})(n,a||r,s,l);if(a&&Math.abs(w.scrollAmount)<4)return D(i),void(d&&null!==a&&(m(a,y),h(i,a,(()=>y=0))));if(u(n,i,!0,w.inputSafeY,c),D(i),e((()=>n.click())),d&&a&&(y=w.scrollPadding,m(a,y)),"undefined"!=typeof window){let e;const r=async()=>{void 0!==e&&clearTimeout(e),window.removeEventListener("ionKeyboardDidShow",s),window.removeEventListener("ionKeyboardDidShow",r),a&&await t(a,0,w.scrollAmount,w.scrollDuration),u(n,i,!1,w.inputSafeY),D(i),d&&h(i,a,(()=>y=0))},s=()=>{window.removeEventListener("ionKeyboardDidShow",s),window.addEventListener("ionKeyboardDidShow",r)};if(a){const t=await o(a);if(f&&w.scrollAmount>t.scrollHeight-t.clientHeight-t.scrollTop)return"password"===i.type?(w.scrollAmount+=50,window.addEventListener("ionKeyboardDidShow",s)):window.addEventListener("ionKeyboardDidShow",r),void(e=setTimeout(r,1e3))}r()}},K=async(o,t)=>{const e=document,l="ios"===t,f="android"===t,w=o.getNumber("keyboardHeight",290),b=o.getBoolean("scrollAssist",!0),m=o.getBoolean("hideCaretOnScroll",l),h=o.getBoolean("inputBlurring",l),y=o.getBoolean("scrollPadding",!0),D=Array.from(e.querySelectorAll("ion-input, ion-textarea")),K=new WeakMap,M=new WeakMap,k=await d.getResizeMode(),x=async o=>{await new Promise((t=>r(o,t)));const t=o.shadowRoot||o,e=t.querySelector("input")||t.querySelector("textarea"),d=n(o),l=d?null:o.closest("ion-footer");if(e){if(d&&m&&!K.has(o)){const t=((o,t,n)=>{if(!n||!t)return()=>{};const e=n=>{var i;(i=t)===i.getRootNode().activeElement&&u(o,t,n)},r=()=>u(o,t,!1),s=()=>e(!0),d=()=>e(!1);return i(n,"ionScrollStart",s),i(n,"ionScrollEnd",d),t.addEventListener("blur",r),()=>{a(n,"ionScrollStart",s),a(n,"ionScrollEnd",d),t.removeEventListener("blur",r)}})(o,e,d);K.set(o,t)}if("date"!==e.type&&"datetime-local"!==e.type&&(d||l)&&b&&!M.has(o)){const t=((o,t,n,i,a,e,r,d=!1)=>{const l=e&&(void 0===r||r.mode===s.None);let u=!1,f=void 0!==c?c.innerHeight:0;const w=f,p=a=>{const{keyboardHeight:e}=a.detail;f=void 0!==c?c.innerHeight:0,!1!==u?(void 0!==r&&r.mode===s.Native&&f!==w&&(f+=e),v(o,t,n,i,e,l,d,f,!1)):u=!0},b=()=>{u=!1,null==c||c.removeEventListener("ionKeyboardDidShow",p),o.removeEventListener("focusout",b,!0)},m=async()=>{t.hasAttribute(S)?t.removeAttribute(S):(v(o,t,n,i,a,l,d,f),null==c||c.addEventListener("ionKeyboardDidShow",p),o.addEventListener("focusout",b,!0))};return o.addEventListener("focusin",m,!0),()=>{o.removeEventListener("focusin",m,!0),null==c||c.removeEventListener("ionKeyboardDidShow",p),o.removeEventListener("focusout",b,!0)}})(o,e,d,l,w,y,k,f);M.set(o,t)}}};h&&(()=>{let o=!0,t=!1;const n=document;i(n,"ionScrollStart",(()=>{t=!0})),n.addEventListener("focusin",(()=>{o=!0}),!0),n.addEventListener("touchend",(i=>{if(t)return void(t=!1);const a=n.activeElement;if(!a)return;if(a.matches(p))return;const e=i.target;e!==a&&(e.matches(p)||e.closest(p)||(o=!1,setTimeout((()=>{o||a.blur()}),50)))}),!1)})();for(const o of D)x(o);e.addEventListener("ionInputDidLoad",(o=>{x(o.detail)})),e.addEventListener("ionInputDidUnload",(o=>{(o=>{if(m){const t=K.get(o);t&&t(),K.delete(o)}if(b){const t=M.get(o);t&&t(),M.delete(o)}})(o.detail)}))};export{K as startInputShims}
@@ -1,4 +0,0 @@
1
- /*!
2
- * (C) Ionic http://ionicframework.com - MIT License
3
- */
4
- import{r as o,h as t,H as i,f as n,d as e}from"./p-a18eb556.js";import{r,t as a,a as s,b as d,g as c}from"./p-63eb0acd.js";import{l as h}from"./p-0a87858b.js";import{c as l,b as p}from"./p-563068af.js";import{p as u}from"./p-1b8e1d03.js";const x=class{constructor(t){o(this,t),this.updateListener=()=>this.updateState(!1),this.setItemDefaults=()=>{const o=this.getSlottedHeaderIonItem();o&&(o.button=!0,o.detail=!1,void 0===o.lines&&(o.lines="full"))},this.getSlottedHeaderIonItem=()=>{const{headerEl:o}=this;if(!o)return;const t=o.querySelector("slot");return t&&void 0!==t.assignedElements?t.assignedElements().find((o=>"ION-ITEM"===o.tagName)):void 0},this.setAria=(o=!1)=>{const t=this.getSlottedHeaderIonItem();if(!t)return;const i=c(t).querySelector("button");i&&i.setAttribute("aria-expanded",`${o}`)},this.slotToggleIcon=()=>{const o=this.getSlottedHeaderIonItem();if(!o)return;const{toggleIconSlot:t,toggleIcon:i}=this;if(o.querySelector(".ion-accordion-toggle-icon"))return;const n=document.createElement("ion-icon");n.slot=t,n.lazy=!1,n.classList.add("ion-accordion-toggle-icon"),n.icon=i,n.setAttribute("aria-hidden","true"),o.appendChild(n)},this.expandAccordion=(o=!1)=>{const{contentEl:t,contentElWrapper:i}=this;o||void 0===t||void 0===i?this.state=4:4!==this.state&&(void 0!==this.currentRaf&&cancelAnimationFrame(this.currentRaf),this.shouldAnimate()?r((()=>{this.state=8,this.currentRaf=r((async()=>{const o=i.offsetHeight,n=a(t,2e3);t.style.setProperty("max-height",`${o}px`),await n,this.state=4,t.style.removeProperty("max-height")}))})):this.state=4)},this.collapseAccordion=(o=!1)=>{const{contentEl:t}=this;o||void 0===t?this.state=1:1!==this.state&&(void 0!==this.currentRaf&&cancelAnimationFrame(this.currentRaf),this.shouldAnimate()?this.currentRaf=r((async()=>{t.style.setProperty("max-height",`${t.offsetHeight}px`),r((async()=>{const o=a(t,2e3);this.state=2,await o,this.state=1,t.style.removeProperty("max-height")}))})):this.state=1)},this.shouldAnimate=()=>"undefined"!=typeof window&&(!matchMedia("(prefers-reduced-motion: reduce)").matches&&!(!l.get("animated",!0)||this.accordionGroupEl&&!this.accordionGroupEl.animated)),this.updateState=async(o=!1)=>{const t=this.accordionGroupEl,i=this.value;if(!t)return;const n=t.value;if(Array.isArray(n)?n.includes(i):n===i)this.expandAccordion(o),this.isNext=this.isPrevious=!1;else{this.collapseAccordion(o);const t=this.getNextSibling(),i=null==t?void 0:t.value;void 0!==i&&(this.isPrevious=Array.isArray(n)?n.includes(i):n===i);const e=this.getPreviousSibling(),r=null==e?void 0:e.value;void 0!==r&&(this.isNext=Array.isArray(n)?n.includes(r):n===r)}},this.getNextSibling=()=>{if(!this.el)return;const o=this.el.nextElementSibling;return"ION-ACCORDION"===(null==o?void 0:o.tagName)?o:void 0},this.getPreviousSibling=()=>{if(!this.el)return;const o=this.el.previousElementSibling;return"ION-ACCORDION"===(null==o?void 0:o.tagName)?o:void 0},this.state=1,this.isNext=!1,this.isPrevious=!1,this.value="ion-accordion-"+g++,this.disabled=!1,this.readonly=!1,this.toggleIcon=h,this.toggleIconSlot="end"}valueChanged(){this.updateState()}connectedCallback(){var o;const t=this.accordionGroupEl=null===(o=this.el)||void 0===o?void 0:o.closest("ion-accordion-group");t&&(this.updateState(!0),s(t,"ionValueChange",this.updateListener))}disconnectedCallback(){const o=this.accordionGroupEl;o&&d(o,"ionValueChange",this.updateListener)}componentDidLoad(){this.setItemDefaults(),this.slotToggleIcon(),r((()=>{this.setAria(4===this.state||8===this.state)}))}toggleExpanded(){const{accordionGroupEl:o,value:t,state:i}=this;o&&o.requestAccordionToggle(t,1===i||2===i)}render(){const{disabled:o,readonly:n}=this,e=p(this),r=4===this.state||8===this.state,a=r?"header expanded":"header",s=r?"content expanded":"content";return this.setAria(r),t(i,{class:{[e]:!0,"accordion-expanding":8===this.state,"accordion-expanded":4===this.state,"accordion-collapsing":2===this.state,"accordion-collapsed":1===this.state,"accordion-next":this.isNext,"accordion-previous":this.isPrevious,"accordion-disabled":o,"accordion-readonly":n,"accordion-animated":this.shouldAnimate()}},t("div",{onClick:()=>this.toggleExpanded(),id:"header",part:a,"aria-controls":"content",ref:o=>this.headerEl=o},t("slot",{name:"header"})),t("div",{id:"content",part:s,role:"region","aria-labelledby":"header",ref:o=>this.contentEl=o},t("div",{id:"content-wrapper",ref:o=>this.contentElWrapper=o},t("slot",{name:"content"}))))}static get delegatesFocus(){return!0}get el(){return n(this)}static get watchers(){return{value:["valueChanged"]}}};let g=0;x.style={ios:":host{display:block;position:relative;width:100%;background-color:var(--ion-background-color, #ffffff);overflow:hidden;z-index:0}:host(.accordion-expanding) ::slotted(ion-item[slot=header]),:host(.accordion-expanded) ::slotted(ion-item[slot=header]){--border-width:0px}:host(.accordion-animated){-webkit-transition:all 300ms cubic-bezier(0.25, 0.8, 0.5, 1);transition:all 300ms cubic-bezier(0.25, 0.8, 0.5, 1)}:host(.accordion-animated) #content{-webkit-transition:max-height 300ms cubic-bezier(0.25, 0.8, 0.5, 1);transition:max-height 300ms cubic-bezier(0.25, 0.8, 0.5, 1)}#content{overflow:hidden;will-change:max-height}:host(.accordion-collapsing) #content{max-height:0 !important}:host(.accordion-collapsed) #content{display:none}:host(.accordion-expanding) #content{max-height:0}:host(.accordion-expanding) #content-wrapper{overflow:auto}:host(.accordion-disabled) #header,:host(.accordion-readonly) #header,:host(.accordion-disabled) #content,:host(.accordion-readonly) #content{pointer-events:none}:host(.accordion-disabled) #header,:host(.accordion-disabled) #content{opacity:0.4}@media (prefers-reduced-motion: reduce){:host,#content{-webkit-transition:none !important;transition:none !important}}:host(.accordion-next) ::slotted(ion-item[slot=header]){--border-width:0.55px 0px 0.55px 0px}",md:":host{display:block;position:relative;width:100%;background-color:var(--ion-background-color, #ffffff);overflow:hidden;z-index:0}:host(.accordion-expanding) ::slotted(ion-item[slot=header]),:host(.accordion-expanded) ::slotted(ion-item[slot=header]){--border-width:0px}:host(.accordion-animated){-webkit-transition:all 300ms cubic-bezier(0.25, 0.8, 0.5, 1);transition:all 300ms cubic-bezier(0.25, 0.8, 0.5, 1)}:host(.accordion-animated) #content{-webkit-transition:max-height 300ms cubic-bezier(0.25, 0.8, 0.5, 1);transition:max-height 300ms cubic-bezier(0.25, 0.8, 0.5, 1)}#content{overflow:hidden;will-change:max-height}:host(.accordion-collapsing) #content{max-height:0 !important}:host(.accordion-collapsed) #content{display:none}:host(.accordion-expanding) #content{max-height:0}:host(.accordion-expanding) #content-wrapper{overflow:auto}:host(.accordion-disabled) #header,:host(.accordion-readonly) #header,:host(.accordion-disabled) #content,:host(.accordion-readonly) #content{pointer-events:none}:host(.accordion-disabled) #header,:host(.accordion-disabled) #content{opacity:0.4}@media (prefers-reduced-motion: reduce){:host,#content{-webkit-transition:none !important;transition:none !important}}"};const m=class{constructor(t){o(this,t),this.ionChange=e(this,"ionChange",7),this.ionValueChange=e(this,"ionValueChange",7),this.animated=!0,this.multiple=void 0,this.value=void 0,this.disabled=!1,this.readonly=!1,this.expand="compact"}valueChanged(){const{value:o,multiple:t}=this;!t&&Array.isArray(o)&&u(`ion-accordion-group was passed an array of values, but multiple="false". This is incorrect usage and may result in unexpected behaviors. To dismiss this warning, pass a string to the "value" property when multiple="false".\n\n Value Passed: [${o.map((o=>`'${o}'`)).join(", ")}]\n`,this.el),this.ionValueChange.emit({value:this.value})}async disabledChanged(){const{disabled:o}=this,t=await this.getAccordions();for(const i of t)i.disabled=o}async readonlyChanged(){const{readonly:o}=this,t=await this.getAccordions();for(const i of t)i.readonly=o}async onKeydown(o){const t=document.activeElement;if(!t)return;if(!t.closest('ion-accordion [slot="header"]'))return;const i="ION-ACCORDION"===t.tagName?t:t.closest("ion-accordion");if(!i)return;if(i.closest("ion-accordion-group")!==this.el)return;const n=await this.getAccordions(),e=n.findIndex((o=>o===i));if(-1===e)return;let r;"ArrowDown"===o.key?r=this.findNextAccordion(n,e):"ArrowUp"===o.key?r=this.findPreviousAccordion(n,e):"Home"===o.key?r=n[0]:"End"===o.key&&(r=n[n.length-1]),void 0!==r&&r!==t&&r.focus()}async componentDidLoad(){this.disabled&&this.disabledChanged(),this.readonly&&this.readonlyChanged()}setValue(o){const t=this.value=o;this.ionChange.emit({value:t})}async requestAccordionToggle(o,t){const{multiple:i,value:n,readonly:e,disabled:r}=this;if(!e&&!r)if(t)if(i){const t=null!=n?n:[],i=Array.isArray(t)?t:[t];void 0===i.find((t=>t===o))&&void 0!==o&&this.setValue([...i,o])}else this.setValue(o);else if(i){const t=null!=n?n:[],i=Array.isArray(t)?t:[t];this.setValue(i.filter((t=>t!==o)))}else this.setValue(void 0)}findNextAccordion(o,t){const i=o[t+1];return void 0===i?o[0]:i}findPreviousAccordion(o,t){const i=o[t-1];return void 0===i?o[o.length-1]:i}async getAccordions(){return Array.from(this.el.querySelectorAll(":scope > ion-accordion"))}render(){const{disabled:o,readonly:n,expand:e}=this,r=p(this);return t(i,{class:{[r]:!0,"accordion-group-disabled":o,"accordion-group-readonly":n,[`accordion-group-expand-${e}`]:!0},role:"presentation"},t("slot",null))}get el(){return n(this)}static get watchers(){return{value:["valueChanged"],disabled:["disabledChanged"],readonly:["readonlyChanged"]}}};m.style={ios:":host{display:block}:host(.accordion-group-expand-inset){-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:16px;margin-bottom:16px}:host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-expanding),:host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-expanded){border-bottom:none}",md:":host{display:block}:host(.accordion-group-expand-inset){-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:16px;margin-bottom:16px}:host(.accordion-group-expand-inset) ::slotted(ion-accordion){-webkit-box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12)}:host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-expanding),:host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-expanded){margin-left:0;margin-right:0;margin-top:16px;margin-bottom:16px;border-radius:6px}:host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-previous){border-bottom-right-radius:6px;border-bottom-left-radius:6px}:host-context([dir=rtl]):host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-previous),:host-context([dir=rtl]).accordion-group-expand-inset ::slotted(ion-accordion.accordion-previous){border-bottom-right-radius:6px;border-bottom-left-radius:6px}@supports selector(:dir(rtl)){:host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-previous):dir(rtl){border-bottom-right-radius:6px;border-bottom-left-radius:6px}}:host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-next){border-top-left-radius:6px;border-top-right-radius:6px}:host-context([dir=rtl]):host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-next),:host-context([dir=rtl]).accordion-group-expand-inset ::slotted(ion-accordion.accordion-next){border-top-left-radius:6px;border-top-right-radius:6px}@supports selector(:dir(rtl)){:host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-next):dir(rtl){border-top-left-radius:6px;border-top-right-radius:6px}}:host(.accordion-group-expand-inset) ::slotted(ion-accordion):first-of-type{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}"};export{x as ion_accordion,m as ion_accordion_group}
@@ -1,4 +0,0 @@
1
- /*!
2
- * (C) Ionic http://ionicframework.com - MIT License
3
- */
4
- import{MENU_BACK_BUTTON_PRIORITY as t}from"./p-185e427e.js";import{c as n}from"./p-63eb0acd.js";import{b as r}from"./p-563068af.js";import{c as a}from"./p-94a4ce40.js";const e=t=>a().duration(t?400:300),s=t=>{let n,s;const o=t.width+8,i=a(),c=a();t.isEndSide?(n=o+"px",s="0px"):(n=-o+"px",s="0px"),i.addElement(t.menuInnerEl).fromTo("transform",`translateX(${n})`,`translateX(${s})`);const p="ios"===r(t),u=p?.2:.25;return c.addElement(t.backdropEl).fromTo("opacity",.01,u),e(p).addAnimation([i,c])},o=t=>{let n,s;const o=r(t),i=t.width;t.isEndSide?(n=-i+"px",s=i+"px"):(n=i+"px",s=-i+"px");const c=a().addElement(t.menuInnerEl).fromTo("transform",`translateX(${s})`,"translateX(0px)"),p=a().addElement(t.contentEl).fromTo("transform","translateX(0px)",`translateX(${n})`),u=a().addElement(t.backdropEl).fromTo("opacity",.01,.32);return e("ios"===o).addAnimation([c,p,u])},i=t=>{const n=r(t),s=t.width*(t.isEndSide?-1:1)+"px",o=a().addElement(t.contentEl).fromTo("transform","translateX(0px)",`translateX(${s})`);return e("ios"===n).addAnimation(o)},c=(()=>{const r=new Map,a=[],e=async t=>{if(await f(),"start"===t||"end"===t){return w((n=>n.side===t&&!n.disabled))||w((n=>n.side===t))}if(null!=t)return w((n=>n.menuId===t));return w((t=>!t.disabled))||(a.length>0?a[0].el:void 0)},c=async()=>(await f(),m()),p=(t,n)=>{r.set(t,n)},u=t=>{const n=t.side;a.filter((r=>r.side===n&&r!==t)).forEach((t=>t.disabled=!0))},m=()=>w((t=>t._isOpen)),l=()=>a.some((t=>t.isAnimating)),w=t=>{const n=a.find(t);if(void 0!==n)return n.el},f=()=>Promise.all(Array.from(document.querySelectorAll("ion-menu")).map((t=>new Promise((r=>n(t,r))))));return p("reveal",i),p("push",o),p("overlay",s),"undefined"!=typeof document&&document.addEventListener("ionBackButton",(n=>{const r=m();r&&n.detail.register(t,(()=>r.close()))})),{registerAnimation:p,get:e,getMenus:async()=>(await f(),a.map((t=>t.el))),getOpen:c,isEnabled:async t=>{const n=await e(t);return!!n&&!n.disabled},swipeGesture:async(t,n)=>{const r=await e(n);return r&&(r.swipeGesture=t),r},isAnimating:async()=>(await f(),l()),isOpen:async t=>{if(null!=t){const n=await e(t);return void 0!==n&&n.isOpen()}return void 0!==await c()},enable:async(t,n)=>{const r=await e(n);return r&&(r.disabled=!t),r},toggle:async t=>{const n=await e(t);return!!n&&n.toggle()},close:async t=>{const n=await(void 0!==t?e(t):c());return void 0!==n&&n.close()},open:async t=>{const n=await e(t);return!!n&&n.open()},_getOpenSync:m,_createAnimation:(t,n)=>{const a=r.get(t);if(!a)throw new Error("animation not registered");return a(n)},_register:t=>{a.indexOf(t)<0&&(t.disabled||u(t),a.push(t))},_unregister:t=>{const n=a.indexOf(t);n>-1&&a.splice(n,1)},_setOpen:async(t,n,r)=>{if(l())return!1;if(n){const n=await c();n&&t.el!==n&&await n.setOpen(!1,!1)}return t._setOpen(n,r)},_setActiveMenu:u}})();export{c as m}
File without changes
File without changes