@ionic/core 8.8.12-dev.11781813448.16e7a064 → 8.8.12-dev.11782342444.186b6e9c

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 (338) hide show
  1. package/components/index.js +1 -1
  2. package/components/ion-action-sheet.js +1 -1
  3. package/components/ion-alert.js +1 -1
  4. package/components/ion-back-button.js +1 -1
  5. package/components/ion-button.js +1 -1
  6. package/components/ion-card.js +1 -1
  7. package/components/ion-chip.js +1 -1
  8. package/components/ion-datetime-button.js +1 -1
  9. package/components/ion-datetime.js +1 -1
  10. package/components/ion-fab-button.js +1 -1
  11. package/components/ion-infinite-scroll-content.js +1 -1
  12. package/components/ion-input-password-toggle.js +1 -1
  13. package/components/ion-input.js +1 -1
  14. package/components/ion-item-option.js +1 -1
  15. package/components/ion-item.js +1 -1
  16. package/components/ion-loading.js +1 -1
  17. package/components/ion-menu-button.js +1 -1
  18. package/components/ion-menu.js +1 -1
  19. package/components/ion-modal.js +1 -1
  20. package/components/ion-popover.js +1 -1
  21. package/components/ion-progress-bar.js +1 -1
  22. package/components/ion-radio.js +1 -1
  23. package/components/ion-range.js +1 -1
  24. package/components/ion-refresher-content.js +1 -1
  25. package/components/ion-refresher.js +1 -1
  26. package/components/ion-reorder-group.js +1 -1
  27. package/components/ion-reorder.js +1 -1
  28. package/components/ion-ripple-effect.js +1 -1
  29. package/components/ion-router-link.js +1 -1
  30. package/components/ion-router-outlet.js +1 -1
  31. package/components/ion-row.js +1 -1
  32. package/components/ion-searchbar.js +1 -1
  33. package/components/ion-segment-button.js +1 -1
  34. package/components/ion-segment-content.js +1 -1
  35. package/components/ion-segment-view.js +1 -1
  36. package/components/ion-segment.js +1 -1
  37. package/components/ion-select-modal.js +1 -1
  38. package/components/ion-select-option.js +1 -1
  39. package/components/ion-select-popover.js +1 -1
  40. package/components/ion-select.js +1 -1
  41. package/components/ion-skeleton-text.js +1 -1
  42. package/components/ion-spinner.js +1 -1
  43. package/components/ion-split-pane.js +1 -1
  44. package/components/ion-tab-bar.js +1 -1
  45. package/components/ion-tab-button.js +1 -1
  46. package/components/ion-tab.js +1 -1
  47. package/components/ion-tabs.js +1 -1
  48. package/components/ion-text.js +1 -1
  49. package/components/ion-textarea.js +1 -1
  50. package/components/ion-thumbnail.js +1 -1
  51. package/components/ion-title.js +1 -1
  52. package/components/ion-toast.js +1 -1
  53. package/components/ion-toggle.js +1 -1
  54. package/components/ion-toolbar.js +1 -1
  55. package/components/p-BSQPZ79H.js +4 -0
  56. package/components/p-BwKpO3Is.js +4 -0
  57. package/components/p-C6x7QJKS.js +4 -0
  58. package/components/p-CHzfYZbv.js +4 -0
  59. package/components/p-CMpqV7Co.js +4 -0
  60. package/components/p-CWo79Ftj.js +4 -0
  61. package/components/p-CgGiBa26.js +4 -0
  62. package/components/p-D4h1H_hh.js +4 -0
  63. package/components/{p-C2lKgrXx.js → p-DEBD4LvH.js} +1 -1
  64. package/components/{p-BSEgsdFI.js → p-DhkITZ-y.js} +1 -1
  65. package/components/p-DiCu-HwG.js +4 -0
  66. package/components/{p-5bE_Wz4Y.js → p-DpV-p5Xs.js} +1 -1
  67. package/components/{p-Cfx4M1Bn.js → p-Dz74mwlk.js} +1 -1
  68. package/components/p-VlRjwhIK.js +4 -0
  69. package/components/{p-BLmJ0zRm.js → p-XJWMAP8m.js} +1 -1
  70. package/components/{p-B60hm8Qv.js → p-r0aq7dpt.js} +1 -1
  71. package/components/p-uTR_dEqg.js +4 -0
  72. package/components/{p-rCa2eL0j.js → p-wk2QqrAo.js} +1 -1
  73. package/dist/cjs/config-DWdFbSNK.js +35 -0
  74. package/dist/cjs/index-C147NqgL.js +414 -0
  75. package/dist/cjs/index.cjs.js +6 -6
  76. package/dist/cjs/ion-action-sheet.cjs.entry.js +27 -7
  77. package/dist/cjs/ion-alert.cjs.entry.js +64 -25
  78. package/dist/cjs/ion-app_8.cjs.entry.js +23 -9
  79. package/dist/cjs/ion-avatar_3.cjs.entry.js +1 -1
  80. package/dist/cjs/ion-col_3.cjs.entry.js +1 -1
  81. package/dist/cjs/{ion-datetime_3.cjs.entry.js → ion-datetime.cjs.entry.js} +1 -639
  82. package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +3 -2
  83. package/dist/cjs/ion-input.cjs.entry.js +4 -4
  84. package/dist/cjs/ion-item_8.cjs.entry.js +2 -2
  85. package/dist/cjs/ion-loading.cjs.entry.js +10 -5
  86. package/dist/cjs/ion-menu_3.cjs.entry.js +1 -1
  87. package/dist/cjs/ion-modal.cjs.entry.js +21 -10
  88. package/dist/cjs/ion-popover.cjs.entry.js +9 -5
  89. package/dist/cjs/ion-progress-bar.cjs.entry.js +1 -1
  90. package/dist/cjs/ion-radio_2.cjs.entry.js +3 -3
  91. package/dist/cjs/ion-range.cjs.entry.js +3 -3
  92. package/dist/cjs/ion-refresher_2.cjs.entry.js +6 -5
  93. package/dist/cjs/ion-reorder_2.cjs.entry.js +2 -2
  94. package/dist/cjs/ion-ripple-effect.cjs.entry.js +1 -1
  95. package/dist/cjs/ion-route_4.cjs.entry.js +2 -2
  96. package/dist/cjs/ion-searchbar.cjs.entry.js +5 -5
  97. package/dist/cjs/ion-segment-content.cjs.entry.js +1 -1
  98. package/dist/cjs/ion-segment-view.cjs.entry.js +2 -2
  99. package/dist/cjs/ion-segment_2.cjs.entry.js +4 -4
  100. package/dist/cjs/ion-select-modal.cjs.entry.js +84 -30
  101. package/dist/cjs/ion-select_3.cjs.entry.js +406 -48
  102. package/dist/cjs/ion-spinner.cjs.entry.js +1 -1
  103. package/dist/cjs/ion-split-pane.cjs.entry.js +2 -2
  104. package/dist/cjs/ion-tab-bar_2.cjs.entry.js +4 -4
  105. package/dist/cjs/ion-tab_2.cjs.entry.js +3 -3
  106. package/dist/cjs/ion-text.cjs.entry.js +2 -2
  107. package/dist/cjs/ion-textarea.cjs.entry.js +2 -2
  108. package/dist/cjs/ion-toast.cjs.entry.js +6 -5
  109. package/dist/cjs/ion-toggle.cjs.entry.js +3 -3
  110. package/dist/cjs/ionic.cjs.js +1 -1
  111. package/dist/cjs/loader.cjs.js +1 -1
  112. package/dist/cjs/overlay-control-label-D2sdL2O8.js +50 -0
  113. package/dist/cjs/{overlays-TbKsuC-K.js → overlays-DSmSrd_4.js} +26 -7
  114. package/dist/cjs/select-option-render-BUmJxlqW.js +116 -0
  115. package/dist/collection/collection-manifest.json +6 -10
  116. package/dist/collection/components/action-sheet/action-sheet.ios.css +229 -2
  117. package/dist/collection/components/action-sheet/action-sheet.js +24 -5
  118. package/dist/collection/components/action-sheet/action-sheet.md.css +175 -2
  119. package/dist/collection/components/alert/alert.ios.css +280 -10
  120. package/dist/collection/components/alert/alert.js +59 -21
  121. package/dist/collection/components/alert/alert.md.css +269 -20
  122. package/dist/collection/components/input/input.js +8 -8
  123. package/dist/collection/components/loading/loading.js +7 -3
  124. package/dist/collection/components/modal/modal.js +23 -12
  125. package/dist/collection/components/popover/popover.ios.css +15 -0
  126. package/dist/collection/components/popover/popover.js +7 -3
  127. package/dist/collection/components/popover/popover.md.css +15 -0
  128. package/dist/collection/components/progress-bar/progress-bar.js +1 -1
  129. package/dist/collection/components/radio/radio.js +4 -4
  130. package/dist/collection/components/range/range.js +3 -3
  131. package/dist/collection/components/refresher/refresher.js +1 -1
  132. package/dist/collection/components/refresher-content/refresher-content.js +1 -1
  133. package/dist/collection/components/reorder/reorder.js +1 -1
  134. package/dist/collection/components/reorder-group/reorder-group.js +1 -1
  135. package/dist/collection/components/ripple-effect/ripple-effect.js +1 -1
  136. package/dist/collection/components/router-link/router-link.js +2 -2
  137. package/dist/collection/components/router-outlet/router-outlet.js +38 -5
  138. package/dist/collection/components/row/row.js +1 -1
  139. package/dist/collection/components/searchbar/searchbar.js +9 -9
  140. package/dist/collection/components/segment/segment.js +2 -2
  141. package/dist/collection/components/segment-button/segment-button.js +2 -2
  142. package/dist/collection/components/segment-content/segment-content.js +1 -1
  143. package/dist/collection/components/segment-view/segment-view.js +2 -2
  144. package/dist/collection/components/select/select.ios.css +33 -0
  145. package/dist/collection/components/select/select.js +323 -16
  146. package/dist/collection/components/select/select.md.css +33 -0
  147. package/dist/collection/components/select-modal/select-modal.ios.css +219 -0
  148. package/dist/collection/components/select-modal/select-modal.js +79 -26
  149. package/dist/collection/components/select-modal/select-modal.md.css +165 -0
  150. package/dist/collection/components/select-option/select-option.js +65 -1
  151. package/dist/collection/components/select-popover/select-popover.ios.css +219 -0
  152. package/dist/collection/components/select-popover/select-popover.js +78 -26
  153. package/dist/collection/components/select-popover/select-popover.md.css +165 -0
  154. package/dist/collection/components/skeleton-text/skeleton-text.js +2 -2
  155. package/dist/collection/components/spinner/spinner.js +1 -1
  156. package/dist/collection/components/split-pane/split-pane.js +2 -2
  157. package/dist/collection/components/tab/tab.js +2 -2
  158. package/dist/collection/components/tab-bar/tab-bar.js +2 -2
  159. package/dist/collection/components/tab-button/tab-button.js +2 -2
  160. package/dist/collection/components/tabs/tabs.js +1 -1
  161. package/dist/collection/components/text/text.js +2 -2
  162. package/dist/collection/components/textarea/textarea.js +2 -2
  163. package/dist/collection/components/thumbnail/thumbnail.js +1 -1
  164. package/dist/collection/components/title/title.js +2 -2
  165. package/dist/collection/components/toast/toast.js +2 -2
  166. package/dist/collection/components/toggle/toggle.js +3 -3
  167. package/dist/collection/components/toolbar/toolbar.js +2 -2
  168. package/dist/collection/index.js +1 -1
  169. package/dist/collection/utils/overlay-control-label.js +45 -0
  170. package/dist/collection/utils/overlays.js +25 -6
  171. package/dist/collection/utils/sanitization/index.js +255 -14
  172. package/dist/collection/utils/select-option-render.js +111 -0
  173. package/dist/docs.json +479 -1175
  174. package/dist/esm/config-BwKpO3Is.js +31 -0
  175. package/dist/esm/{index-DV3sJJW8.js → index-AlrZKoWR.js} +1 -1
  176. package/dist/esm/index-CtAGDdQq.js +409 -0
  177. package/dist/esm/index.js +3 -2
  178. package/dist/esm/ion-accordion_2.entry.js +1 -1
  179. package/dist/esm/ion-action-sheet.entry.js +27 -7
  180. package/dist/esm/ion-alert.entry.js +63 -24
  181. package/dist/esm/ion-app_8.entry.js +23 -9
  182. package/dist/esm/ion-avatar_3.entry.js +1 -1
  183. package/dist/esm/ion-back-button.entry.js +1 -1
  184. package/dist/esm/ion-breadcrumb_2.entry.js +1 -1
  185. package/dist/esm/ion-col_3.entry.js +1 -1
  186. package/dist/esm/{ion-datetime_3.entry.js → ion-datetime.entry.js} +5 -641
  187. package/dist/esm/ion-fab_3.entry.js +1 -1
  188. package/dist/esm/ion-infinite-scroll_2.entry.js +2 -1
  189. package/dist/esm/ion-input-password-toggle.entry.js +1 -1
  190. package/dist/esm/ion-input.entry.js +5 -5
  191. package/dist/esm/ion-item_8.entry.js +3 -3
  192. package/dist/esm/ion-loading.entry.js +9 -4
  193. package/dist/esm/ion-menu_3.entry.js +2 -2
  194. package/dist/esm/ion-modal.entry.js +21 -10
  195. package/dist/esm/ion-popover.entry.js +9 -5
  196. package/dist/esm/ion-progress-bar.entry.js +1 -1
  197. package/dist/esm/ion-radio_2.entry.js +3 -3
  198. package/dist/esm/ion-range.entry.js +3 -3
  199. package/dist/esm/ion-refresher_2.entry.js +5 -4
  200. package/dist/esm/ion-reorder_2.entry.js +3 -3
  201. package/dist/esm/ion-ripple-effect.entry.js +1 -1
  202. package/dist/esm/ion-route_4.entry.js +2 -2
  203. package/dist/esm/ion-searchbar.entry.js +6 -6
  204. package/dist/esm/ion-segment-content.entry.js +1 -1
  205. package/dist/esm/ion-segment-view.entry.js +2 -2
  206. package/dist/esm/ion-segment_2.entry.js +4 -4
  207. package/dist/esm/ion-select-modal.entry.js +84 -30
  208. package/dist/esm/ion-select_3.entry.js +409 -51
  209. package/dist/esm/ion-spinner.entry.js +1 -1
  210. package/dist/esm/ion-split-pane.entry.js +2 -2
  211. package/dist/esm/ion-tab-bar_2.entry.js +4 -4
  212. package/dist/esm/ion-tab_2.entry.js +3 -3
  213. package/dist/esm/ion-text.entry.js +2 -2
  214. package/dist/esm/ion-textarea.entry.js +2 -2
  215. package/dist/esm/ion-toast.entry.js +5 -4
  216. package/dist/esm/ion-toggle.entry.js +4 -4
  217. package/dist/esm/ionic.js +1 -1
  218. package/dist/esm/loader.js +1 -1
  219. package/dist/esm/overlay-control-label-BSQPZ79H.js +47 -0
  220. package/dist/esm/{overlays-TbiM4mdr.js → overlays-DLNOHWNc.js} +26 -7
  221. package/dist/esm/select-option-render-CZcvbJ--.js +114 -0
  222. package/dist/html.html-data.json +50 -78
  223. package/dist/ionic/index.esm.js +1 -1
  224. package/dist/ionic/ionic.esm.js +1 -1
  225. package/dist/ionic/p-0feac19e.entry.js +4 -0
  226. package/dist/ionic/{p-8fce95d5.entry.js → p-14095ba5.entry.js} +1 -1
  227. package/dist/ionic/p-1c5a5a59.entry.js +4 -0
  228. package/dist/ionic/{p-3a126bca.entry.js → p-259d0d98.entry.js} +1 -1
  229. package/dist/ionic/{p-fabcce6c.entry.js → p-341032b3.entry.js} +1 -1
  230. package/dist/ionic/{p-3a7d1e91.entry.js → p-4502a274.entry.js} +1 -1
  231. package/dist/ionic/p-4621c387.entry.js +4 -0
  232. package/dist/ionic/p-4bb3eb60.entry.js +4 -0
  233. package/dist/ionic/{p-874b4bd8.entry.js → p-51cd1643.entry.js} +1 -1
  234. package/dist/ionic/p-5be4fdc3.entry.js +4 -0
  235. package/dist/ionic/p-5c3ec490.entry.js +4 -0
  236. package/dist/ionic/p-5d1ac2c7.entry.js +4 -0
  237. package/dist/ionic/p-5x6vmGTf.js +4 -0
  238. package/dist/ionic/{p-3ae5f277.entry.js → p-627fabd9.entry.js} +1 -1
  239. package/dist/ionic/{p-e0be05c5.entry.js → p-629e4703.entry.js} +1 -1
  240. package/dist/ionic/p-74c540f5.entry.js +4 -0
  241. package/dist/ionic/{p-5d1da0a2.entry.js → p-76e92a84.entry.js} +1 -1
  242. package/dist/ionic/p-79a36078.entry.js +4 -0
  243. package/dist/ionic/{p-9f1103ce.entry.js → p-7a37b3ce.entry.js} +1 -1
  244. package/dist/ionic/{p-3353c229.entry.js → p-80b44b3c.entry.js} +1 -1
  245. package/dist/ionic/p-8d624ee5.entry.js +4 -0
  246. package/dist/ionic/p-8e00858b.entry.js +4 -0
  247. package/dist/ionic/{p-390ca786.entry.js → p-9177f4ac.entry.js} +1 -1
  248. package/dist/ionic/{p-DV3sJJW8.js → p-AlrZKoWR.js} +1 -1
  249. package/dist/ionic/p-BSQPZ79H.js +4 -0
  250. package/dist/ionic/p-BwKpO3Is.js +4 -0
  251. package/dist/ionic/p-Cg5-OQYy.js +4 -0
  252. package/dist/ionic/p-D3I30-jC.js +4 -0
  253. package/dist/ionic/{p-4858af1f.entry.js → p-a5213260.entry.js} +1 -1
  254. package/dist/ionic/{p-37e720da.entry.js → p-a7628bc7.entry.js} +1 -1
  255. package/dist/ionic/p-aedf1108.entry.js +4 -0
  256. package/dist/ionic/{p-ef4c3bee.entry.js → p-b1599fca.entry.js} +1 -1
  257. package/dist/ionic/{p-84d5ce05.entry.js → p-b9ac1fe0.entry.js} +1 -1
  258. package/dist/ionic/p-c11135d4.entry.js +4 -0
  259. package/dist/ionic/p-c4156e73.entry.js +4 -0
  260. package/dist/ionic/{p-94f2a736.entry.js → p-c93553d2.entry.js} +1 -1
  261. package/dist/ionic/p-ce7992c4.entry.js +4 -0
  262. package/dist/ionic/{p-75dc25ba.entry.js → p-d2c7f046.entry.js} +1 -1
  263. package/dist/ionic/{p-c4d8641b.entry.js → p-d8387b99.entry.js} +1 -1
  264. package/dist/ionic/{p-9a65ac7f.entry.js → p-db1b6738.entry.js} +1 -1
  265. package/dist/ionic/p-ed797c72.entry.js +4 -0
  266. package/dist/ionic/{p-8eb8ee76.entry.js → p-ef93ca92.entry.js} +1 -1
  267. package/dist/ionic/p-f09f9642.entry.js +4 -0
  268. package/dist/ionic/p-f1c06f82.entry.js +4 -0
  269. package/dist/ionic/{p-0fa9c382.entry.js → p-fe4aa1db.entry.js} +1 -1
  270. package/dist/types/components/input/input.d.ts +1 -1
  271. package/dist/types/components/modal/modal.d.ts +11 -4
  272. package/dist/types/components/router-outlet/router-outlet.d.ts +7 -0
  273. package/dist/types/components/searchbar/searchbar.d.ts +1 -1
  274. package/dist/types/components/select/select-interface.d.ts +31 -0
  275. package/dist/types/components/select/select.d.ts +18 -0
  276. package/dist/types/components/select-option/select-option.d.ts +41 -0
  277. package/dist/types/components.d.ts +58 -286
  278. package/dist/types/index.d.ts +1 -1
  279. package/dist/types/interface.d.ts +0 -1
  280. package/dist/types/utils/config.d.ts +0 -8
  281. package/dist/types/utils/overlay-control-label.d.ts +32 -0
  282. package/dist/types/utils/overlays.d.ts +11 -9
  283. package/dist/types/utils/sanitization/index.d.ts +54 -2
  284. package/dist/types/utils/select-option-render.d.ts +53 -0
  285. package/hydrate/index.js +1376 -1141
  286. package/hydrate/index.mjs +1376 -1141
  287. package/package.json +37 -5
  288. package/components/ion-picker-legacy-column.d.ts +0 -11
  289. package/components/ion-picker-legacy-column.js +0 -4
  290. package/components/ion-picker-legacy.d.ts +0 -11
  291. package/components/ion-picker-legacy.js +0 -4
  292. package/components/p-0NRupjzW.js +0 -4
  293. package/components/p-Bth-EzJ0.js +0 -4
  294. package/components/p-CU5rbWAW.js +0 -4
  295. package/components/p-DDWp95gH.js +0 -4
  296. package/components/p-W9CZ2mWX.js +0 -4
  297. package/components/p-dhLYXa7A.js +0 -4
  298. package/components/p-k_E4tX5Z.js +0 -4
  299. package/components/p-nQi4oKcG.js +0 -4
  300. package/components/p-uVRyUM3z.js +0 -4
  301. package/dist/cjs/config-xninhj0J.js +0 -201
  302. package/dist/collection/components/picker-legacy/animations/ios.enter.js +0 -27
  303. package/dist/collection/components/picker-legacy/animations/ios.leave.js +0 -23
  304. package/dist/collection/components/picker-legacy/picker-interface.js +0 -1
  305. package/dist/collection/components/picker-legacy/picker.ios.css +0 -300
  306. package/dist/collection/components/picker-legacy/picker.js +0 -890
  307. package/dist/collection/components/picker-legacy/picker.md.css +0 -287
  308. package/dist/collection/components/picker-legacy-column/picker-column.ios.css +0 -231
  309. package/dist/collection/components/picker-legacy-column/picker-column.js +0 -422
  310. package/dist/collection/components/picker-legacy-column/picker-column.md.css +0 -222
  311. package/dist/collection/components/picker-legacy-column/test/test.utils.js +0 -43
  312. package/dist/esm/config-DQCONYYp.js +0 -195
  313. package/dist/ionic/p-00dbb17e.entry.js +0 -4
  314. package/dist/ionic/p-01f81ea5.entry.js +0 -4
  315. package/dist/ionic/p-0d005398.entry.js +0 -4
  316. package/dist/ionic/p-20b1a044.entry.js +0 -4
  317. package/dist/ionic/p-21eb76d5.entry.js +0 -4
  318. package/dist/ionic/p-27d30585.entry.js +0 -4
  319. package/dist/ionic/p-2bb2cb18.entry.js +0 -4
  320. package/dist/ionic/p-2f55dc1a.entry.js +0 -4
  321. package/dist/ionic/p-30bf9737.entry.js +0 -4
  322. package/dist/ionic/p-3a541154.entry.js +0 -4
  323. package/dist/ionic/p-485fda23.entry.js +0 -4
  324. package/dist/ionic/p-4baa5b82.entry.js +0 -4
  325. package/dist/ionic/p-4dc1c33c.entry.js +0 -4
  326. package/dist/ionic/p-5fc7e542.entry.js +0 -4
  327. package/dist/ionic/p-DzWaWHGc.js +0 -4
  328. package/dist/ionic/p-a21add2f.entry.js +0 -4
  329. package/dist/ionic/p-aa5d6b8f.entry.js +0 -4
  330. package/dist/ionic/p-e847a888.entry.js +0 -4
  331. package/dist/ionic/p-ec090e0a.entry.js +0 -4
  332. package/dist/ionic/p-xOfi7-Zn.js +0 -4
  333. package/dist/types/components/picker-legacy/animations/ios.enter.d.ts +0 -5
  334. package/dist/types/components/picker-legacy/animations/ios.leave.d.ts +0 -5
  335. package/dist/types/components/picker-legacy/picker-interface.d.ts +0 -52
  336. package/dist/types/components/picker-legacy/picker.d.ts +0 -158
  337. package/dist/types/components/picker-legacy-column/picker-column.d.ts +0 -46
  338. package/dist/types/components/picker-legacy-column/test/test.utils.d.ts +0 -9
@@ -0,0 +1,414 @@
1
+ /*!
2
+ * (C) Ionic http://ionicframework.com - MIT License
3
+ */
4
+ 'use strict';
5
+
6
+ var index = require('./index-Ct7gcRif.js');
7
+
8
+ /**
9
+ * Sanitize an untrusted HTML string.
10
+ *
11
+ * Parses the string into a detached DOM, removes blocked tags, strips
12
+ * attributes outside the `allowedAttributes` list (refer `sanitizeElement`),
13
+ * and scrubs script-scheme URLs. Returns the sanitized HTML string.
14
+ *
15
+ * Use this when you have an HTML string from an unknown source and need to
16
+ * render it via `innerHTML`. Use `sanitizeDOMTree` instead when you already
17
+ * have a DOM tree and want to sanitize it in place without a string round
18
+ * trip; both apply the same attribute policy.
19
+ *
20
+ * @param untrustedString - The HTML string to sanitize. Pass an
21
+ * `IonicSafeString` to bypass sanitization, or `undefined` to short-circuit.
22
+ * @returns The sanitized HTML string, or `undefined` if the input was
23
+ * `undefined`. Returns `''` if sanitization fails or the input contains
24
+ * an inline `onload=` handler.
25
+ */
26
+ const sanitizeDOMString = (untrustedString) => {
27
+ try {
28
+ if (untrustedString instanceof IonicSafeString) {
29
+ return untrustedString.value;
30
+ }
31
+ if (!isSanitizerEnabled() || typeof untrustedString !== 'string' || untrustedString === '') {
32
+ return untrustedString;
33
+ }
34
+ /**
35
+ * onload is fired when appending to a document
36
+ * fragment in Chrome. If a string
37
+ * contains onload then we should not
38
+ * attempt to add this to the fragment.
39
+ */
40
+ if (untrustedString.includes('onload=')) {
41
+ return '';
42
+ }
43
+ /**
44
+ * Create a document fragment
45
+ * separate from the main DOM,
46
+ * create a div to do our work in
47
+ */
48
+ const documentFragment = document.createDocumentFragment();
49
+ const workingDiv = document.createElement('div');
50
+ documentFragment.appendChild(workingDiv);
51
+ workingDiv.innerHTML = untrustedString;
52
+ /**
53
+ * Remove any elements
54
+ * that are blocked
55
+ */
56
+ blockedTags.forEach((blockedTag) => {
57
+ const getElementsToRemove = documentFragment.querySelectorAll(blockedTag);
58
+ for (let elementIndex = getElementsToRemove.length - 1; elementIndex >= 0; elementIndex--) {
59
+ const element = getElementsToRemove[elementIndex];
60
+ if (element.parentNode) {
61
+ element.parentNode.removeChild(element);
62
+ }
63
+ else {
64
+ documentFragment.removeChild(element);
65
+ }
66
+ /**
67
+ * We still need to sanitize
68
+ * the children of this element
69
+ * as they are left behind
70
+ */
71
+ const childElements = getElementChildren(element);
72
+ /* eslint-disable-next-line */
73
+ for (let childIndex = 0; childIndex < childElements.length; childIndex++) {
74
+ sanitizeElement(childElements[childIndex]);
75
+ }
76
+ }
77
+ });
78
+ /**
79
+ * Go through remaining elements and remove
80
+ * non-allowed attribs
81
+ */
82
+ // IE does not support .children on document fragments, only .childNodes
83
+ const dfChildren = getElementChildren(documentFragment);
84
+ /* eslint-disable-next-line */
85
+ for (let childIndex = 0; childIndex < dfChildren.length; childIndex++) {
86
+ sanitizeElement(dfChildren[childIndex]);
87
+ }
88
+ // Append document fragment to div
89
+ const fragmentDiv = document.createElement('div');
90
+ fragmentDiv.appendChild(documentFragment);
91
+ // First child is always the div we did our work in
92
+ const getInnerDiv = fragmentDiv.querySelector('div');
93
+ return getInnerDiv !== null ? getInnerDiv.innerHTML : fragmentDiv.innerHTML;
94
+ }
95
+ catch (err) {
96
+ index.printIonError('sanitizeDOMString', err);
97
+ return '';
98
+ }
99
+ };
100
+ /**
101
+ * Sanitize an entire trusted DOM tree in place.
102
+ *
103
+ * Removes blocked tags (`script`, `iframe`, etc.) from the subtree and
104
+ * then sanitizes attributes on every remaining element using the same
105
+ * allowlist policy as `sanitizeDOMString` (refer `sanitizeElement`).
106
+ * Component presentational attributes (`size`, `color`, `shape`, inline
107
+ * SVG, `aria-*`, `data-*`) are preserved; `style`, event handlers (`on*`),
108
+ * form/navigation-hijack attributes, script-scheme URLs, and non-image
109
+ * `data:` URLs are stripped.
110
+ *
111
+ * Use this when you have a DOM tree the developer controls (e.g.
112
+ * cloned slot content from a component) and you need to render it
113
+ * elsewhere safely.
114
+ *
115
+ * @param root - The root element whose subtree will be sanitized in
116
+ * place. No-op when the sanitizer is disabled via `Ionic.config`.
117
+ */
118
+ const sanitizeDOMTree = (root) => {
119
+ if (!isSanitizerEnabled()) {
120
+ return;
121
+ }
122
+ blockedTags.forEach((tag) => {
123
+ const matches = root.querySelectorAll(tag);
124
+ for (let i = matches.length - 1; i >= 0; i--) {
125
+ matches[i].remove();
126
+ }
127
+ });
128
+ sanitizeElement(root);
129
+ };
130
+ /**
131
+ * Clean up current element based on allowed attributes
132
+ * and then recursively dig down into any child elements to
133
+ * clean those up as well
134
+ */
135
+ // TODO(FW-2832): type (using Element triggers other type errors as well)
136
+ const sanitizeElement = (element) => {
137
+ // IE uses childNodes, so ignore nodes that are not elements
138
+ if (element.nodeType && element.nodeType !== 1) {
139
+ return;
140
+ }
141
+ /**
142
+ * If attributes is not a NamedNodeMap
143
+ * then we should remove the element entirely.
144
+ * This helps avoid DOM Clobbering attacks where
145
+ * attributes is overridden.
146
+ */
147
+ if (typeof NamedNodeMap !== 'undefined' && !(element.attributes instanceof NamedNodeMap)) {
148
+ element.remove();
149
+ return;
150
+ }
151
+ /**
152
+ * Always strip `style` (CSS injection, `background:url()` beaconing, UI
153
+ * spoofing). It is never on the allowlist, but it is removed explicitly
154
+ * here because some engines (e.g. jsdom) don't enumerate the CSSOM-backed
155
+ * `style` attribute in `element.attributes`, which would let the loop
156
+ * below skip over it.
157
+ */
158
+ element.removeAttribute('style');
159
+ for (let i = element.attributes.length - 1; i >= 0; i--) {
160
+ const attribute = element.attributes.item(i);
161
+ const attributeName = attribute.name;
162
+ const lowerName = attributeName.toLowerCase();
163
+ /**
164
+ * Remove any attribute that is not on the allowlist. This drops event
165
+ * handlers (`on*`), `style`, the form/navigation-hijack attributes
166
+ * (`formaction`, `action`, `target`), namespaced attributes like
167
+ * `xlink:href`, and anything else not explicitly known to be safe.
168
+ */
169
+ if (!isAttributeAllowed(lowerName)) {
170
+ element.removeAttribute(attributeName);
171
+ continue;
172
+ }
173
+ // clean up any allowed attribs
174
+ // that attempt to do any JS funny-business
175
+ const attributeValue = attribute.value;
176
+ if (attributeValue == null) {
177
+ continue;
178
+ }
179
+ /**
180
+ * Scrub dangerous schemes from the value. The value is normalized first
181
+ * (whitespace and ASCII control characters removed) so entity-obfuscated
182
+ * payloads such as `java&#9;script:`, which the parser decodes to
183
+ * `java\tscript:`, are still caught. Normalizing the value also covers
184
+ * namespaced attributes, where the previous `element[attributeName]`
185
+ * property reflection returned `undefined` and let them slip through.
186
+ */
187
+ const normalizedValue = attributeValue.replace(controlCharactersAndWhitespace, '').toLowerCase();
188
+ // Script schemes are never allowed, on any attribute.
189
+ if (normalizedValue.includes('javascript:') || normalizedValue.includes('vbscript:')) {
190
+ element.removeAttribute(attributeName);
191
+ continue;
192
+ }
193
+ /**
194
+ * For URL-bearing attributes, allow `data:` URIs only for raster
195
+ * images. Document-bearing types (`text/html`, `image/svg+xml`,
196
+ * `application/*`, etc.) can carry markup or script when navigated to
197
+ * or rendered, so they are stripped, while safe image types are kept so
198
+ * inline images keep working.
199
+ */
200
+ if (urlAttributes.includes(lowerName) &&
201
+ normalizedValue.startsWith('data:') &&
202
+ !safeDataImageUri.test(normalizedValue)) {
203
+ element.removeAttribute(attributeName);
204
+ }
205
+ }
206
+ /**
207
+ * Sanitize any nested children
208
+ */
209
+ const childElements = getElementChildren(element);
210
+ /* eslint-disable-next-line */
211
+ for (let i = 0; i < childElements.length; i++) {
212
+ sanitizeElement(childElements[i]);
213
+ }
214
+ };
215
+ /**
216
+ * IE doesn't always support .children
217
+ * so we revert to .childNodes instead
218
+ */
219
+ // TODO(FW-2832): type
220
+ const getElementChildren = (el) => {
221
+ return el.children != null ? el.children : el.childNodes;
222
+ };
223
+ const isSanitizerEnabled = () => {
224
+ var _a;
225
+ const win = window;
226
+ const config = (_a = win === null || win === void 0 ? void 0 : win.Ionic) === null || _a === void 0 ? void 0 : _a.config;
227
+ if (config) {
228
+ if (config.get) {
229
+ return config.get('sanitizerEnabled', true);
230
+ }
231
+ else {
232
+ return config.sanitizerEnabled === true || config.sanitizerEnabled === undefined;
233
+ }
234
+ }
235
+ return true;
236
+ };
237
+ /**
238
+ * Mirror known custom-element DOM properties onto attributes so they
239
+ * survive `cloneNode`. Call this on a DOM subtree before cloning it for
240
+ * rendering elsewhere (e.g. cloning slotted option content into an
241
+ * overlay).
242
+ *
243
+ * Only sets the attribute when the property holds a non-empty string
244
+ * and the attribute isn't already present, so existing attributes
245
+ * take precedence.
246
+ *
247
+ * @param root - The root element whose subtree (and itself) will be
248
+ * inspected.
249
+ */
250
+ const reflectPropertiesToAttributes = (root) => {
251
+ const candidates = [];
252
+ if (root.tagName in elementPropsToReflect) {
253
+ candidates.push(root);
254
+ }
255
+ for (const tagName of Object.keys(elementPropsToReflect)) {
256
+ candidates.push(...Array.from(root.querySelectorAll(tagName.toLowerCase())));
257
+ }
258
+ for (const el of candidates) {
259
+ if (!(el.tagName in elementPropsToReflect)) {
260
+ continue;
261
+ }
262
+ const props = elementPropsToReflect[el.tagName];
263
+ for (const prop of props) {
264
+ const value = el[prop];
265
+ if (typeof value === 'string' && value.length > 0 && !el.hasAttribute(prop)) {
266
+ el.setAttribute(prop, value);
267
+ }
268
+ }
269
+ }
270
+ };
271
+ /**
272
+ * Attribute names that are always safe to keep. Covers global HTML
273
+ * attributes, the Ionic component presentational props that cloned rich
274
+ * content (e.g. `ion-select-option` markup) relies on, and the inert SVG
275
+ * presentation attributes used by inline icons.
276
+ *
277
+ * `aria-*` and `data-*` are allowed separately by prefix (refer
278
+ * `allowedAttributePrefixes`) since they are inert and not worth
279
+ * enumerating. URL-bearing names (`href`, `src`) are allowed here, but
280
+ * their values are still scrubbed for script schemes in `sanitizeElement`.
281
+ *
282
+ * Notably absent: `style`, event handlers (`on*`), and the
283
+ * form/navigation-hijack attributes (`formaction`, `action`, `target`),
284
+ * which are therefore stripped.
285
+ */
286
+ const allowedAttributes = [
287
+ // Global / structural
288
+ 'class',
289
+ 'id',
290
+ 'slot',
291
+ 'name',
292
+ 'title',
293
+ 'alt',
294
+ 'lang',
295
+ 'dir',
296
+ 'role',
297
+ 'type',
298
+ 'value',
299
+ 'disabled',
300
+ 'width',
301
+ 'height',
302
+ 'href',
303
+ 'src',
304
+ // Ionic component presentational props
305
+ 'color',
306
+ 'size',
307
+ 'shape',
308
+ 'fill',
309
+ 'expand',
310
+ 'mode',
311
+ 'theme',
312
+ 'icon',
313
+ 'label',
314
+ 'label-placement',
315
+ 'justify',
316
+ 'inset',
317
+ 'lines',
318
+ 'ios',
319
+ 'md',
320
+ // SVG presentation attributes (compared lowercased, e.g. `viewBox`)
321
+ 'xmlns',
322
+ 'viewbox',
323
+ 'preserveaspectratio',
324
+ 'stroke',
325
+ 'stroke-width',
326
+ 'stroke-linecap',
327
+ 'stroke-linejoin',
328
+ 'stroke-opacity',
329
+ 'stroke-dasharray',
330
+ 'fill-rule',
331
+ 'fill-opacity',
332
+ 'clip-rule',
333
+ 'd',
334
+ 'points',
335
+ 'cx',
336
+ 'cy',
337
+ 'r',
338
+ 'rx',
339
+ 'ry',
340
+ 'x',
341
+ 'y',
342
+ 'x1',
343
+ 'y1',
344
+ 'x2',
345
+ 'y2',
346
+ 'transform',
347
+ 'opacity',
348
+ ];
349
+ /**
350
+ * Attribute-name prefixes that are always safe to keep. `aria-*` and
351
+ * `data-*` attributes cannot execute script or load resources, so they are
352
+ * allowed wholesale rather than enumerated by name.
353
+ */
354
+ const allowedAttributePrefixes = ['aria-', 'data-'];
355
+ /**
356
+ * Whether an attribute name (already lowercased) is safe to keep, by exact
357
+ * match or by an allowed prefix.
358
+ */
359
+ const isAttributeAllowed = (lowerName) => {
360
+ if (allowedAttributes.includes(lowerName)) {
361
+ return true;
362
+ }
363
+ return allowedAttributePrefixes.some((prefix) => lowerName.startsWith(prefix));
364
+ };
365
+ /**
366
+ * Matches ASCII control characters and whitespace (including the
367
+ * non-breaking space). Used to normalize attribute values before matching
368
+ * a URL scheme so entity-obfuscated payloads such as `java&#9;script:`
369
+ * (decoded by the parser to `java\tscript:`) can't smuggle a scheme past
370
+ * the check.
371
+ */
372
+ // eslint-disable-next-line no-control-regex -- matching control characters is the point
373
+ const controlCharactersAndWhitespace = /[\u0000-\u0020\u007f-\u00a0]/g;
374
+ /**
375
+ * Attributes whose values are URLs. Their values are scheme-checked in
376
+ * `sanitizeElement` (e.g. `data:` filtering) beyond the script-scheme scrub
377
+ * applied to every attribute.
378
+ */
379
+ const urlAttributes = ['href', 'src'];
380
+ /**
381
+ * Matches a `data:` URI for a raster image type that cannot carry script.
382
+ * `image/svg+xml` is deliberately excluded (SVG can execute script), as are
383
+ * document types like `text/html` and `application/*`. The value is already
384
+ * lowercased and whitespace-stripped before this is tested.
385
+ */
386
+ const safeDataImageUri = /^data:image\/(?:png|jpe?g|gif|webp|bmp|avif|x-icon|vnd\.microsoft\.icon)[;,]/;
387
+ /**
388
+ * Tags removed entirely (with their subtree) before attribute sanitization.
389
+ * Exported so tests can assert the set without hardcoding it.
390
+ */
391
+ const blockedTags = ['script', 'style', 'iframe', 'meta', 'link', 'object', 'embed', 'base'];
392
+ /**
393
+ * Properties on custom elements that frameworks (Vue, Angular) often
394
+ * set as DOM properties rather than attributes. `cloneNode` only copies
395
+ * attributes, so these values are lost when slotted content is cloned
396
+ * into an overlay. For each known custom element, we mirror the listed
397
+ * properties onto attributes so the cloned copy still has the data it
398
+ * needs to render.
399
+ *
400
+ * Keyed by uppercased tagName so the lookup matches `Element.tagName`.
401
+ */
402
+ const elementPropsToReflect = {
403
+ 'ION-ICON': ['icon', 'name', 'src', 'ios', 'md'],
404
+ };
405
+ class IonicSafeString {
406
+ constructor(value) {
407
+ this.value = value;
408
+ }
409
+ }
410
+
411
+ exports.IonicSafeString = IonicSafeString;
412
+ exports.reflectPropertiesToAttributes = reflectPropertiesToAttributes;
413
+ exports.sanitizeDOMString = sanitizeDOMString;
414
+ exports.sanitizeDOMTree = sanitizeDOMTree;
@@ -12,10 +12,11 @@ var index$1 = require('./index-CAvQ7Tka.js');
12
12
  var ionicGlobal = require('./ionic-global-B-cA6LkY.js');
13
13
  var helpers = require('./helpers-Cv23MFHM.js');
14
14
  var index$2 = require('./index-Ct7gcRif.js');
15
- var config = require('./config-xninhj0J.js');
15
+ var index$3 = require('./index-C147NqgL.js');
16
+ var config = require('./config-DWdFbSNK.js');
16
17
  var theme = require('./theme-CeDs6Hcv.js');
17
- var index$3 = require('./index-aC4x3Fk3.js');
18
- var overlays = require('./overlays-TbKsuC-K.js');
18
+ var index$4 = require('./index-aC4x3Fk3.js');
19
+ var overlays = require('./overlays-DSmSrd_4.js');
19
20
  require('./index-DkNv4J_i.js');
20
21
  require('./gesture-controller-dtqlP_q4.js');
21
22
  require('./hardware-back-button-iUuF_76h.js');
@@ -139,16 +140,15 @@ Object.defineProperty(exports, "LogLevel", {
139
140
  enumerable: true,
140
141
  get: function () { return index$2.LogLevel; }
141
142
  });
142
- exports.IonicSafeString = config.IonicSafeString;
143
+ exports.IonicSafeString = index$3.IonicSafeString;
143
144
  exports.getMode = config.getMode;
144
145
  exports.setupConfig = config.setupConfig;
145
146
  exports.openURL = theme.openURL;
146
- exports.menuController = index$3.menuController;
147
+ exports.menuController = index$4.menuController;
147
148
  exports.actionSheetController = overlays.actionSheetController;
148
149
  exports.alertController = overlays.alertController;
149
150
  exports.loadingController = overlays.loadingController;
150
151
  exports.modalController = overlays.modalController;
151
- exports.pickerController = overlays.pickerController;
152
152
  exports.popoverController = overlays.popoverController;
153
153
  exports.toastController = overlays.toastController;
154
154
  exports.IonicSlides = IonicSlides;
@@ -7,7 +7,8 @@ var index = require('./index-Ct7gcRif.js');
7
7
  var buttonActive = require('./button-active-0mPOKmV2.js');
8
8
  var helpers = require('./helpers-Cv23MFHM.js');
9
9
  var lockController = require('./lock-controller-aDB9wrEf.js');
10
- var overlays = require('./overlays-TbKsuC-K.js');
10
+ var overlays = require('./overlays-DSmSrd_4.js');
11
+ var selectOptionRender = require('./select-option-render-BUmJxlqW.js');
11
12
  var theme = require('./theme-CeDs6Hcv.js');
12
13
  var ionicGlobal = require('./ionic-global-B-cA6LkY.js');
13
14
  var animation = require('./animation-BJq0kcy2.js');
@@ -18,6 +19,7 @@ require('./index-CAvQ7Tka.js');
18
19
  require('./gesture-controller-dtqlP_q4.js');
19
20
  require('./hardware-back-button-iUuF_76h.js');
20
21
  require('./framework-delegate-BtICZDHr.js');
22
+ require('./index-C147NqgL.js');
21
23
 
22
24
  /**
23
25
  * iOS Action Sheet Enter Animation
@@ -103,9 +105,9 @@ const mdLeaveAnimation = (baseEl) => {
103
105
  .addAnimation([backdropAnimation, wrapperAnimation]);
104
106
  };
105
107
 
106
- const actionSheetIosCss = () => `.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-button.sc-ion-action-sheet-ios::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}.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)}.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)}}`;
108
+ const actionSheetIosCss = () => `.action-sheet-button-label-has-rich-content.sc-ion-action-sheet-ios,.alert-radio-label-has-rich-content.sc-ion-action-sheet-ios,.alert-checkbox-label-has-rich-content.sc-ion-action-sheet-ios,.select-option-label-has-rich-content.sc-ion-action-sheet-ios{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;gap:16px}.action-sheet-button-label-has-rich-content.sc-ion-action-sheet-ios,.alert-radio-label-has-rich-content.sc-ion-action-sheet-ios,.alert-checkbox-label-has-rich-content.sc-ion-action-sheet-ios,.select-option-content.sc-ion-action-sheet-ios{-ms-flex:1;flex:1}.action-sheet-button-label-text.sc-ion-action-sheet-ios,.alert-checkbox-label-text.sc-ion-action-sheet-ios,.alert-radio-label-text.sc-ion-action-sheet-ios,.select-option-label-text.sc-ion-action-sheet-ios{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;gap:12px}.select-option-start.sc-ion-action-sheet-ios,.select-option-end.sc-ion-action-sheet-ios{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;gap:8px}.select-option-description.sc-ion-action-sheet-ios{padding-left:0;padding-right:0;padding-top:5px;padding-bottom:0;display:block;color:var(--ion-color-step-700, var(--ion-text-color-step-300, #4d4d4d));font-size:0.75rem}.select-option-label.sc-ion-action-sheet-ios:not(.select-option-label-has-rich-content){text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.select-option-label-has-rich-content.sc-ion-action-sheet-ios{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}ion-radio.select-option-has-rich-content.sc-ion-action-sheet-ios::part(label),ion-radio.select-option-has-rich-content.sc-ion-action-sheet-ios [part~="label"],ion-checkbox.select-option-has-rich-content.sc-ion-action-sheet-ios::part(label),ion-checkbox.select-option-has-rich-content.sc-ion-action-sheet-ios [part~="label"],.select-option-content.sc-ion-action-sheet-ios{-ms-flex:1;flex:1;white-space:normal}.select-option-start.sc-ion-action-sheet-ios>ion-avatar.sc-ion-action-sheet-ios,.select-option-start.sc-ion-action-sheet-ios>ion-img.sc-ion-action-sheet-ios,.select-option-start.sc-ion-action-sheet-ios>ion-thumbnail.sc-ion-action-sheet-ios,.select-option-start.sc-ion-action-sheet-ios>img.sc-ion-action-sheet-ios,.select-option-start.sc-ion-action-sheet-ios>svg.sc-ion-action-sheet-ios,.select-option-end.sc-ion-action-sheet-ios>ion-avatar.sc-ion-action-sheet-ios,.select-option-end.sc-ion-action-sheet-ios>ion-img.sc-ion-action-sheet-ios,.select-option-end.sc-ion-action-sheet-ios>ion-thumbnail.sc-ion-action-sheet-ios,.select-option-end.sc-ion-action-sheet-ios>img.sc-ion-action-sheet-ios,.select-option-end.sc-ion-action-sheet-ios>svg.sc-ion-action-sheet-ios{width:44px;height:44px}.select-option-start.sc-ion-action-sheet-ios>ion-icon.sc-ion-action-sheet-ios,.select-option-end.sc-ion-action-sheet-ios>ion-icon.sc-ion-action-sheet-ios{width:28px;height:28px}.action-sheet-button-label-text.sc-ion-action-sheet-ios{-ms-flex-pack:center;justify-content:center}.select-option-has-rich-content.sc-ion-action-sheet-ios{-webkit-padding-end:16px;padding-inline-end:16px}.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.sc-ion-action-sheet-ios:disabled ion-icon.sc-ion-action-sheet-ios{color:currentColor}.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-button.sc-ion-action-sheet-ios::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}.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:not(.ion-activated){color:var(--button-color-focused)}.action-sheet-button.ion-focused.sc-ion-action-sheet-ios:not(.ion-activated)::after{background:var(--button-background-focused);opacity:var(--button-background-focused-opacity)}.action-sheet-button.ion-focused.sc-ion-action-sheet-ios:not(.ion-activated).action-sheet-selected::after{background:var(--button-background-focused, var(--button-background-selected));opacity:var(--button-background-focused-opacity, var(--button-background-selected-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)}}`;
107
109
 
108
- const actionSheetMdCss = () => `.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-button.sc-ion-action-sheet-md::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}.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)}.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}`;
110
+ const actionSheetMdCss = () => `.action-sheet-button-label-has-rich-content.sc-ion-action-sheet-md,.alert-radio-label-has-rich-content.sc-ion-action-sheet-md,.alert-checkbox-label-has-rich-content.sc-ion-action-sheet-md,.select-option-label-has-rich-content.sc-ion-action-sheet-md{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;gap:16px}.action-sheet-button-label-has-rich-content.sc-ion-action-sheet-md,.alert-radio-label-has-rich-content.sc-ion-action-sheet-md,.alert-checkbox-label-has-rich-content.sc-ion-action-sheet-md,.select-option-content.sc-ion-action-sheet-md{-ms-flex:1;flex:1}.action-sheet-button-label-text.sc-ion-action-sheet-md,.alert-checkbox-label-text.sc-ion-action-sheet-md,.alert-radio-label-text.sc-ion-action-sheet-md,.select-option-label-text.sc-ion-action-sheet-md{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;gap:12px}.select-option-start.sc-ion-action-sheet-md,.select-option-end.sc-ion-action-sheet-md{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;gap:8px}.select-option-description.sc-ion-action-sheet-md{padding-left:0;padding-right:0;padding-top:5px;padding-bottom:0;display:block;color:var(--ion-color-step-700, var(--ion-text-color-step-300, #4d4d4d));font-size:0.75rem}.select-option-label.sc-ion-action-sheet-md:not(.select-option-label-has-rich-content){text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.select-option-label-has-rich-content.sc-ion-action-sheet-md{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}ion-radio.select-option-has-rich-content.sc-ion-action-sheet-md::part(label),ion-radio.select-option-has-rich-content.sc-ion-action-sheet-md [part~="label"],ion-checkbox.select-option-has-rich-content.sc-ion-action-sheet-md::part(label),ion-checkbox.select-option-has-rich-content.sc-ion-action-sheet-md [part~="label"],.select-option-content.sc-ion-action-sheet-md{-ms-flex:1;flex:1;white-space:normal}.select-option-start.sc-ion-action-sheet-md>ion-avatar.sc-ion-action-sheet-md,.select-option-end.sc-ion-action-sheet-md>ion-avatar.sc-ion-action-sheet-md{width:40px;height:40px}.select-option-start.sc-ion-action-sheet-md>ion-icon.sc-ion-action-sheet-md,.select-option-end.sc-ion-action-sheet-md>ion-icon.sc-ion-action-sheet-md{width:24px;height:24px}.select-option-start.sc-ion-action-sheet-md>ion-img.sc-ion-action-sheet-md,.select-option-start.sc-ion-action-sheet-md>img.sc-ion-action-sheet-md,.select-option-start.sc-ion-action-sheet-md>svg.sc-ion-action-sheet-md,.select-option-start.sc-ion-action-sheet-md>ion-thumbnail.sc-ion-action-sheet-md,.select-option-end.sc-ion-action-sheet-md>ion-img.sc-ion-action-sheet-md,.select-option-end.sc-ion-action-sheet-md>img.sc-ion-action-sheet-md,.select-option-end.sc-ion-action-sheet-md>svg.sc-ion-action-sheet-md,.select-option-end.sc-ion-action-sheet-md>ion-thumbnail.sc-ion-action-sheet-md{width:56px;height:56px}.select-option-start.sc-ion-action-sheet-md>video.sc-ion-action-sheet-md,.select-option-end.sc-ion-action-sheet-md>video.sc-ion-action-sheet-md{width:114px;height:56px}.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.sc-ion-action-sheet-md:disabled ion-icon.sc-ion-action-sheet-md{color:currentColor}.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-button.sc-ion-action-sheet-md::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}.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:not(.ion-activated){color:var(--button-color-focused)}.action-sheet-button.ion-focused.sc-ion-action-sheet-md:not(.ion-activated)::after{background:var(--button-background-focused);opacity:var(--button-background-focused-opacity)}.action-sheet-button.ion-focused.sc-ion-action-sheet-md:not(.ion-activated).action-sheet-selected::after{background:var(--button-background-focused, var(--button-background-selected));opacity:var(--button-background-focused-opacity, var(--button-background-selected-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}`;
109
111
 
110
112
  const ActionSheet = class {
111
113
  constructor(hostRef) {
@@ -385,6 +387,10 @@ const ActionSheet = class {
385
387
  this.gesture = undefined;
386
388
  }
387
389
  this.triggerController.removeClickListener();
390
+ // Clean up aria-hidden if removed without dismiss() being called
391
+ if (this.presented) {
392
+ overlays.cleanupRootFocusTrapAccessibility();
393
+ }
388
394
  }
389
395
  componentWillLoad() {
390
396
  var _a;
@@ -473,12 +479,26 @@ const ActionSheet = class {
473
479
  if (isRadio) {
474
480
  htmlAttrs['aria-checked'] = isActiveRadio ? 'true' : 'false';
475
481
  }
482
+ /**
483
+ * Cast to `SelectActionSheetButton` to access rich content
484
+ * fields (`startContent`, `endContent`, `description`)
485
+ * that are passed through from `ion-select` but not
486
+ * part of the public `ActionSheetButton` interface.
487
+ */
488
+ const richButton = b;
489
+ const optionLabelOptions = {
490
+ id: buttonId,
491
+ label: richButton.text,
492
+ startContent: richButton.startContent,
493
+ endContent: richButton.endContent,
494
+ description: richButton.description,
495
+ };
476
496
  return (index.h("button", Object.assign({}, htmlAttrs, { role: isRadio ? 'radio' : undefined, type: "button", id: buttonId, class: Object.assign(Object.assign({}, buttonClass(b)), (isRadio && { 'action-sheet-selected': isActiveRadio })), onClick: () => {
477
497
  if (isRadio) {
478
498
  this.selectRadioButton(b);
479
499
  }
480
500
  this.buttonClick(b);
481
- }, disabled: b.disabled, tabIndex: tabIndex }), index.h("span", { class: "action-sheet-button-inner" }, b.icon && index.h("ion-icon", { icon: b.icon, "aria-hidden": "true", lazy: false, class: "action-sheet-icon" }), b.text), mode === 'md' && index.h("ion-ripple-effect", null)));
501
+ }, disabled: b.disabled, tabIndex: tabIndex }), index.h("span", { class: "action-sheet-button-inner" }, b.icon && index.h("ion-icon", { icon: b.icon, "aria-hidden": "true", lazy: false, class: "action-sheet-icon" }), selectOptionRender.renderOptionLabel(optionLabelOptions, 'action-sheet-button-label', true)), mode === 'md' && index.h("ion-ripple-effect", null)));
482
502
  });
483
503
  }
484
504
  render() {
@@ -488,12 +508,12 @@ const ActionSheet = class {
488
508
  const cancelButton = allButtons.find((b) => b.role === 'cancel');
489
509
  const buttons = allButtons.filter((b) => b.role !== 'cancel');
490
510
  const headerID = `action-sheet-${overlayIndex}-header`;
491
- return (index.h(index.Host, Object.assign({ key: '48b63b870f2816b4cad3c606f3d9956854cee79a', role: "dialog", "aria-modal": "true", "aria-labelledby": header !== undefined ? headerID : null, tabindex: "-1" }, htmlAttributes, { style: {
511
+ return (index.h(index.Host, Object.assign({ key: '7685831da9a78b73473246a2cea95cefa79a53c3', role: "dialog", "aria-modal": "true", "aria-labelledby": header !== undefined ? headerID : null, tabindex: "-1" }, htmlAttributes, { style: {
492
512
  zIndex: `${20000 + this.overlayIndex}`,
493
- }, class: Object.assign(Object.assign({ [mode]: true }, theme.getClassMap(this.cssClass)), { 'overlay-hidden': true, 'action-sheet-translucent': this.translucent }), onIonActionSheetWillDismiss: this.dispatchCancelHandler, onIonBackdropTap: this.onBackdropTap }), index.h("ion-backdrop", { key: '41dd5781f139d26b3feea33ab387451aeafacd51', tappable: this.backdropDismiss }), index.h("div", { key: 'f797c2657782e4e83adf90d2d796108e857a1fc0', tabindex: "0", "aria-hidden": "true" }), index.h("div", { key: '8e74209321fc5e8712e3e293c91a6fa036ea45ab', class: "action-sheet-wrapper ion-overlay-wrapper", ref: (el) => (this.wrapperEl = el) }, index.h("div", { key: 'c811860be2eed0b6c73fc2cc5a59cb94db2e8912', class: "action-sheet-container" }, index.h("div", { key: 'd36ee14b70d73eb5cd69e0c57bc5cc31daf86ab3', class: "action-sheet-group", ref: (el) => (this.groupEl = el), role: hasRadioButtons ? 'radiogroup' : undefined }, header !== undefined && (index.h("div", { key: '922695de191edc86451eed2552acc4f54993ea52', id: headerID, class: {
513
+ }, class: Object.assign(Object.assign({ [mode]: true }, theme.getClassMap(this.cssClass)), { 'overlay-hidden': true, 'action-sheet-translucent': this.translucent }), onIonActionSheetWillDismiss: this.dispatchCancelHandler, onIonBackdropTap: this.onBackdropTap }), index.h("ion-backdrop", { key: 'c70f00e401cac99b89412d1adb867f35bc855d57', tappable: this.backdropDismiss }), index.h("div", { key: '3332893ce3098f1435875480b1269b2821d41660', tabindex: "0", "aria-hidden": "true" }), index.h("div", { key: 'eb406b0a9e303d6f94c5c7aa99c6f4c089bfbd41', class: "action-sheet-wrapper ion-overlay-wrapper", ref: (el) => (this.wrapperEl = el) }, index.h("div", { key: '92ec855379f10e1e0bfce6ff68b45d3cda0c137c', class: "action-sheet-container" }, index.h("div", { key: 'bc88a396d75396f574961471bf7e6c4edb513353', class: "action-sheet-group", ref: (el) => (this.groupEl = el), role: hasRadioButtons ? 'radiogroup' : undefined }, header !== undefined && (index.h("div", { key: '33329e0193818888bdcaa443ff5ea301802e0787', id: headerID, class: {
494
514
  'action-sheet-title': true,
495
515
  'action-sheet-has-sub-title': this.subHeader !== undefined,
496
- } }, header, this.subHeader && index.h("div", { key: 'a119d4a93668e829f7106f11cbbdd437310f3e80', class: "action-sheet-sub-title" }, this.subHeader))), this.renderActionSheetButtons(buttons)), cancelButton && (index.h("div", { key: '1d27f36d09bedd2e4c61fea9dd9d05f8f9271aef', class: "action-sheet-group action-sheet-group-cancel" }, index.h("button", Object.assign({ key: 'ed13658176c54cc45808a54a0331c297430d9bc6' }, cancelButton.htmlAttributes, { type: "button", class: buttonClass(cancelButton), onClick: () => this.buttonClick(cancelButton) }), index.h("span", { key: '5208e3e3535b775a443cef6fb1decd790db69b0c', class: "action-sheet-button-inner" }, cancelButton.icon && (index.h("ion-icon", { key: 'b7ba489e1ee50524a5b4af670eef787844a16286', icon: cancelButton.icon, "aria-hidden": "true", lazy: false, class: "action-sheet-icon" })), cancelButton.text), mode === 'md' && index.h("ion-ripple-effect", { key: 'b3f88898114855853259f0001def26b4bd6e4a98' })))))), index.h("div", { key: '0dfd0fcdc633bf565990eaa06679608e749cf8f9', tabindex: "0", "aria-hidden": "true" })));
516
+ } }, header, this.subHeader && index.h("div", { key: '92ac5a9217a12b7417f7aca9c4fdb7bf6b051364', class: "action-sheet-sub-title" }, this.subHeader))), this.renderActionSheetButtons(buttons)), cancelButton && (index.h("div", { key: '020463b830fa48fc3ae647ea64f2aaa4d0969305', class: "action-sheet-group action-sheet-group-cancel" }, index.h("button", Object.assign({ key: 'cefa9c70a2233f6652a81b1a2eae6e717712144d' }, cancelButton.htmlAttributes, { type: "button", class: buttonClass(cancelButton), onClick: () => this.buttonClick(cancelButton) }), index.h("span", { key: '56d7e2f8bfb3644e4476895164d334445fda9b2f', class: "action-sheet-button-inner" }, cancelButton.icon && (index.h("ion-icon", { key: '6a4a49254ec5cd96f4e0dce9447f90d8cac81913', icon: cancelButton.icon, "aria-hidden": "true", lazy: false, class: "action-sheet-icon" })), cancelButton.text), mode === 'md' && index.h("ion-ripple-effect", { key: '7d3c6e8d70b0922ea0f75520856285ce1005c891' })))))), index.h("div", { key: '958fc43e603c6a7f5d1e649d3326fce0f163b5d0', tabindex: "0", "aria-hidden": "true" })));
497
517
  }
498
518
  get el() { return index.getElement(this); }
499
519
  static get watchers() { return {