@ionic/core 8.8.14-dev.11784222473.142aed23 → 8.8.14-dev.11784243422.11f0110c

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 (347) 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-img.js +1 -1
  12. package/components/ion-infinite-scroll-content.js +1 -1
  13. package/components/ion-input-password-toggle.js +1 -1
  14. package/components/ion-input.js +1 -1
  15. package/components/ion-item-option.js +1 -1
  16. package/components/ion-item.js +1 -1
  17. package/components/ion-loading.js +1 -1
  18. package/components/ion-menu-button.js +1 -1
  19. package/components/ion-menu.js +1 -1
  20. package/components/ion-modal.js +1 -1
  21. package/components/ion-popover.js +1 -1
  22. package/components/ion-progress-bar.js +1 -1
  23. package/components/ion-radio.js +1 -1
  24. package/components/ion-range.js +1 -1
  25. package/components/ion-refresher-content.js +1 -1
  26. package/components/ion-refresher.js +1 -1
  27. package/components/ion-reorder-group.js +1 -1
  28. package/components/ion-reorder.js +1 -1
  29. package/components/ion-ripple-effect.js +1 -1
  30. package/components/ion-router-link.js +1 -1
  31. package/components/ion-router-outlet.js +1 -1
  32. package/components/ion-row.js +1 -1
  33. package/components/ion-searchbar.js +1 -1
  34. package/components/ion-segment-button.js +1 -1
  35. package/components/ion-segment-content.js +1 -1
  36. package/components/ion-segment-view.js +1 -1
  37. package/components/ion-segment.js +1 -1
  38. package/components/ion-select-modal.js +1 -1
  39. package/components/ion-select-option.js +1 -1
  40. package/components/ion-select-popover.js +1 -1
  41. package/components/ion-select.js +1 -1
  42. package/components/ion-skeleton-text.js +1 -1
  43. package/components/ion-spinner.js +1 -1
  44. package/components/ion-split-pane.js +1 -1
  45. package/components/ion-tab-bar.js +1 -1
  46. package/components/ion-tab-button.js +1 -1
  47. package/components/ion-tab.js +1 -1
  48. package/components/ion-tabs.js +1 -1
  49. package/components/ion-text.js +1 -1
  50. package/components/ion-textarea.js +1 -1
  51. package/components/ion-thumbnail.js +1 -1
  52. package/components/ion-title.js +1 -1
  53. package/components/ion-toast.js +1 -1
  54. package/components/ion-toggle.js +1 -1
  55. package/components/ion-toolbar.js +1 -1
  56. package/components/p-279dFMvg.js +4 -0
  57. package/components/p-BSQPZ79H.js +4 -0
  58. package/components/{p-BHrrc-3d.js → p-Buf_7zcy.js} +1 -1
  59. package/components/p-BwKpO3Is.js +4 -0
  60. package/components/p-C-Rx1zny.js +4 -0
  61. package/components/p-CHzfYZbv.js +4 -0
  62. package/components/p-D4h1H_hh.js +4 -0
  63. package/components/{p-BSEgsdFI.js → p-DhkITZ-y.js} +1 -1
  64. package/components/{p-5bE_Wz4Y.js → p-DpV-p5Xs.js} +1 -1
  65. package/components/{p-Cfx4M1Bn.js → p-Dz74mwlk.js} +1 -1
  66. package/components/p-LMGfIvTf.js +4 -0
  67. package/components/{p-BLmJ0zRm.js → p-XJWMAP8m.js} +1 -1
  68. package/components/p-_lHSumhG.js +4 -0
  69. package/components/p-j9Da6cYO.js +4 -0
  70. package/components/p-jOtMJMv8.js +4 -0
  71. package/components/{p-B60hm8Qv.js → p-r0aq7dpt.js} +1 -1
  72. package/components/p-uTR_dEqg.js +4 -0
  73. package/components/{p-rCa2eL0j.js → p-wk2QqrAo.js} +1 -1
  74. package/dist/cjs/config-DWdFbSNK.js +35 -0
  75. package/dist/cjs/index-Cueg3U4w.js +429 -0
  76. package/dist/cjs/index.cjs.js +6 -6
  77. package/dist/cjs/ion-action-sheet.cjs.entry.js +27 -7
  78. package/dist/cjs/ion-alert.cjs.entry.js +64 -25
  79. package/dist/cjs/ion-app_8.cjs.entry.js +23 -9
  80. package/dist/cjs/ion-avatar_3.cjs.entry.js +1 -1
  81. package/dist/cjs/ion-col_3.cjs.entry.js +1 -1
  82. package/dist/cjs/{ion-datetime_3.cjs.entry.js → ion-datetime.cjs.entry.js} +1 -639
  83. package/dist/cjs/ion-img.cjs.entry.js +3 -1
  84. package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +3 -2
  85. package/dist/cjs/ion-input.cjs.entry.js +4 -4
  86. package/dist/cjs/ion-item_8.cjs.entry.js +2 -2
  87. package/dist/cjs/ion-loading.cjs.entry.js +10 -5
  88. package/dist/cjs/ion-menu_3.cjs.entry.js +1 -1
  89. package/dist/cjs/ion-modal.cjs.entry.js +23 -18
  90. package/dist/cjs/ion-popover.cjs.entry.js +9 -5
  91. package/dist/cjs/ion-progress-bar.cjs.entry.js +1 -1
  92. package/dist/cjs/ion-radio_2.cjs.entry.js +3 -3
  93. package/dist/cjs/ion-range.cjs.entry.js +3 -3
  94. package/dist/cjs/ion-refresher_2.cjs.entry.js +6 -5
  95. package/dist/cjs/ion-reorder_2.cjs.entry.js +2 -2
  96. package/dist/cjs/ion-ripple-effect.cjs.entry.js +1 -1
  97. package/dist/cjs/ion-route_4.cjs.entry.js +2 -2
  98. package/dist/cjs/ion-searchbar.cjs.entry.js +5 -5
  99. package/dist/cjs/ion-segment-content.cjs.entry.js +1 -1
  100. package/dist/cjs/ion-segment-view.cjs.entry.js +2 -2
  101. package/dist/cjs/ion-segment_2.cjs.entry.js +4 -4
  102. package/dist/cjs/ion-select-modal.cjs.entry.js +84 -30
  103. package/dist/cjs/ion-select_3.cjs.entry.js +407 -49
  104. package/dist/cjs/ion-spinner.cjs.entry.js +1 -1
  105. package/dist/cjs/ion-split-pane.cjs.entry.js +2 -2
  106. package/dist/cjs/ion-tab-bar_2.cjs.entry.js +4 -4
  107. package/dist/cjs/ion-tab_2.cjs.entry.js +3 -3
  108. package/dist/cjs/ion-text.cjs.entry.js +2 -2
  109. package/dist/cjs/ion-textarea.cjs.entry.js +2 -2
  110. package/dist/cjs/ion-toast.cjs.entry.js +6 -5
  111. package/dist/cjs/ion-toggle.cjs.entry.js +3 -3
  112. package/dist/cjs/ionic.cjs.js +1 -1
  113. package/dist/cjs/loader.cjs.js +1 -1
  114. package/dist/cjs/overlay-control-label-D2sdL2O8.js +50 -0
  115. package/dist/cjs/{overlays-DdtIYQUH.js → overlays-DSmSrd_4.js} +27 -31
  116. package/dist/cjs/select-option-render-DTF50t5r.js +124 -0
  117. package/dist/collection/collection-manifest.json +6 -10
  118. package/dist/collection/components/action-sheet/action-sheet.ios.css +229 -2
  119. package/dist/collection/components/action-sheet/action-sheet.js +24 -5
  120. package/dist/collection/components/action-sheet/action-sheet.md.css +175 -2
  121. package/dist/collection/components/alert/alert.ios.css +280 -10
  122. package/dist/collection/components/alert/alert.js +59 -21
  123. package/dist/collection/components/alert/alert.md.css +269 -20
  124. package/dist/collection/components/img/img.js +6 -1
  125. package/dist/collection/components/input/input.js +8 -8
  126. package/dist/collection/components/loading/loading.js +7 -3
  127. package/dist/collection/components/modal/modal.ios.css +0 -8
  128. package/dist/collection/components/modal/modal.js +23 -18
  129. package/dist/collection/components/modal/modal.md.css +0 -8
  130. package/dist/collection/components/popover/popover.ios.css +15 -0
  131. package/dist/collection/components/popover/popover.js +7 -3
  132. package/dist/collection/components/popover/popover.md.css +15 -0
  133. package/dist/collection/components/progress-bar/progress-bar.js +1 -1
  134. package/dist/collection/components/radio/radio.js +4 -4
  135. package/dist/collection/components/range/range.js +3 -3
  136. package/dist/collection/components/refresher/refresher.js +1 -1
  137. package/dist/collection/components/refresher-content/refresher-content.js +1 -1
  138. package/dist/collection/components/reorder/reorder.js +1 -1
  139. package/dist/collection/components/reorder-group/reorder-group.js +1 -1
  140. package/dist/collection/components/ripple-effect/ripple-effect.js +1 -1
  141. package/dist/collection/components/router-link/router-link.js +2 -2
  142. package/dist/collection/components/router-outlet/router-outlet.js +38 -5
  143. package/dist/collection/components/row/row.js +1 -1
  144. package/dist/collection/components/searchbar/searchbar.js +9 -9
  145. package/dist/collection/components/segment/segment.js +2 -2
  146. package/dist/collection/components/segment-button/segment-button.js +2 -2
  147. package/dist/collection/components/segment-content/segment-content.js +1 -1
  148. package/dist/collection/components/segment-view/segment-view.js +2 -2
  149. package/dist/collection/components/select/select.ios.css +33 -0
  150. package/dist/collection/components/select/select.js +323 -16
  151. package/dist/collection/components/select/select.md.css +33 -0
  152. package/dist/collection/components/select-modal/select-modal.ios.css +219 -0
  153. package/dist/collection/components/select-modal/select-modal.js +79 -26
  154. package/dist/collection/components/select-modal/select-modal.md.css +165 -0
  155. package/dist/collection/components/select-option/select-option.js +67 -3
  156. package/dist/collection/components/select-popover/select-popover.ios.css +219 -0
  157. package/dist/collection/components/select-popover/select-popover.js +78 -26
  158. package/dist/collection/components/select-popover/select-popover.md.css +165 -0
  159. package/dist/collection/components/skeleton-text/skeleton-text.js +2 -2
  160. package/dist/collection/components/spinner/spinner.js +1 -1
  161. package/dist/collection/components/split-pane/split-pane.js +2 -2
  162. package/dist/collection/components/tab/tab.js +2 -2
  163. package/dist/collection/components/tab-bar/tab-bar.js +2 -2
  164. package/dist/collection/components/tab-button/tab-button.js +2 -2
  165. package/dist/collection/components/tabs/tabs.js +1 -1
  166. package/dist/collection/components/text/text.js +2 -2
  167. package/dist/collection/components/textarea/textarea.js +2 -2
  168. package/dist/collection/components/thumbnail/thumbnail.js +1 -1
  169. package/dist/collection/components/title/title.js +2 -2
  170. package/dist/collection/components/toast/toast.js +2 -2
  171. package/dist/collection/components/toggle/toggle.js +3 -3
  172. package/dist/collection/components/toolbar/toolbar.js +2 -2
  173. package/dist/collection/index.js +1 -1
  174. package/dist/collection/utils/overlay-control-label.js +45 -0
  175. package/dist/collection/utils/overlays.js +26 -30
  176. package/dist/collection/utils/sanitization/index.js +274 -18
  177. package/dist/collection/utils/select-option-render.js +119 -0
  178. package/dist/docs.json +485 -1177
  179. package/dist/esm/config-BwKpO3Is.js +31 -0
  180. package/dist/esm/{index-DV3sJJW8.js → index-AlrZKoWR.js} +1 -1
  181. package/dist/esm/index-DQSkZyOJ.js +424 -0
  182. package/dist/esm/index.js +3 -2
  183. package/dist/esm/ion-accordion_2.entry.js +1 -1
  184. package/dist/esm/ion-action-sheet.entry.js +27 -7
  185. package/dist/esm/ion-alert.entry.js +63 -24
  186. package/dist/esm/ion-app_8.entry.js +23 -9
  187. package/dist/esm/ion-avatar_3.entry.js +1 -1
  188. package/dist/esm/ion-back-button.entry.js +1 -1
  189. package/dist/esm/ion-breadcrumb_2.entry.js +1 -1
  190. package/dist/esm/ion-col_3.entry.js +1 -1
  191. package/dist/esm/{ion-datetime_3.entry.js → ion-datetime.entry.js} +5 -641
  192. package/dist/esm/ion-fab_3.entry.js +1 -1
  193. package/dist/esm/ion-img.entry.js +4 -2
  194. package/dist/esm/ion-infinite-scroll_2.entry.js +2 -1
  195. package/dist/esm/ion-input-password-toggle.entry.js +1 -1
  196. package/dist/esm/ion-input.entry.js +5 -5
  197. package/dist/esm/ion-item_8.entry.js +3 -3
  198. package/dist/esm/ion-loading.entry.js +9 -4
  199. package/dist/esm/ion-menu_3.entry.js +2 -2
  200. package/dist/esm/ion-modal.entry.js +23 -18
  201. package/dist/esm/ion-popover.entry.js +9 -5
  202. package/dist/esm/ion-progress-bar.entry.js +1 -1
  203. package/dist/esm/ion-radio_2.entry.js +3 -3
  204. package/dist/esm/ion-range.entry.js +3 -3
  205. package/dist/esm/ion-refresher_2.entry.js +5 -4
  206. package/dist/esm/ion-reorder_2.entry.js +3 -3
  207. package/dist/esm/ion-ripple-effect.entry.js +1 -1
  208. package/dist/esm/ion-route_4.entry.js +2 -2
  209. package/dist/esm/ion-searchbar.entry.js +6 -6
  210. package/dist/esm/ion-segment-content.entry.js +1 -1
  211. package/dist/esm/ion-segment-view.entry.js +2 -2
  212. package/dist/esm/ion-segment_2.entry.js +4 -4
  213. package/dist/esm/ion-select-modal.entry.js +84 -30
  214. package/dist/esm/ion-select_3.entry.js +410 -52
  215. package/dist/esm/ion-spinner.entry.js +1 -1
  216. package/dist/esm/ion-split-pane.entry.js +2 -2
  217. package/dist/esm/ion-tab-bar_2.entry.js +4 -4
  218. package/dist/esm/ion-tab_2.entry.js +3 -3
  219. package/dist/esm/ion-text.entry.js +2 -2
  220. package/dist/esm/ion-textarea.entry.js +2 -2
  221. package/dist/esm/ion-toast.entry.js +5 -4
  222. package/dist/esm/ion-toggle.entry.js +4 -4
  223. package/dist/esm/ionic.js +1 -1
  224. package/dist/esm/loader.js +1 -1
  225. package/dist/esm/overlay-control-label-BSQPZ79H.js +47 -0
  226. package/dist/esm/{overlays-Dg0q2_tJ.js → overlays-DLNOHWNc.js} +28 -32
  227. package/dist/esm/select-option-render-B8nWZRnd.js +122 -0
  228. package/dist/html.html-data.json +51 -79
  229. package/dist/ionic/index.esm.js +1 -1
  230. package/dist/ionic/ionic.esm.js +1 -1
  231. package/dist/ionic/p-038eb991.entry.js +4 -0
  232. package/dist/ionic/{p-8fce95d5.entry.js → p-14095ba5.entry.js} +1 -1
  233. package/dist/ionic/{p-3a126bca.entry.js → p-259d0d98.entry.js} +1 -1
  234. package/dist/ionic/{p-fabcce6c.entry.js → p-341032b3.entry.js} +1 -1
  235. package/dist/ionic/{p-3a7d1e91.entry.js → p-4502a274.entry.js} +1 -1
  236. package/dist/ionic/p-4621c387.entry.js +4 -0
  237. package/dist/ionic/p-4ace7762.entry.js +4 -0
  238. package/dist/ionic/p-4bb3eb60.entry.js +4 -0
  239. package/dist/ionic/p-4e9ec5c5.entry.js +4 -0
  240. package/dist/ionic/{p-874b4bd8.entry.js → p-51cd1643.entry.js} +1 -1
  241. package/dist/ionic/p-5c3ec490.entry.js +4 -0
  242. package/dist/ionic/p-5d1ac2c7.entry.js +4 -0
  243. package/dist/ionic/{p-3ae5f277.entry.js → p-627fabd9.entry.js} +1 -1
  244. package/dist/ionic/{p-e0be05c5.entry.js → p-629e4703.entry.js} +1 -1
  245. package/dist/ionic/p-700795f6.entry.js +4 -0
  246. package/dist/ionic/{p-5d1da0a2.entry.js → p-76e92a84.entry.js} +1 -1
  247. package/dist/ionic/p-79a36078.entry.js +4 -0
  248. package/dist/ionic/{p-9f1103ce.entry.js → p-7a37b3ce.entry.js} +1 -1
  249. package/dist/ionic/{p-3353c229.entry.js → p-80b44b3c.entry.js} +1 -1
  250. package/dist/ionic/p-913b218a.entry.js +4 -0
  251. package/dist/ionic/{p-390ca786.entry.js → p-9177f4ac.entry.js} +1 -1
  252. package/dist/ionic/{p-DV3sJJW8.js → p-AlrZKoWR.js} +1 -1
  253. package/dist/ionic/p-BDtODLZ4.js +4 -0
  254. package/dist/ionic/p-BSQPZ79H.js +4 -0
  255. package/dist/ionic/p-BwKpO3Is.js +4 -0
  256. package/dist/ionic/p-Cg5-OQYy.js +4 -0
  257. package/dist/ionic/p-DCOvXkOm.js +4 -0
  258. package/dist/ionic/{p-4858af1f.entry.js → p-a5213260.entry.js} +1 -1
  259. package/dist/ionic/{p-37e720da.entry.js → p-a7628bc7.entry.js} +1 -1
  260. package/dist/ionic/p-a9a33367.entry.js +4 -0
  261. package/dist/ionic/p-ad728198.entry.js +4 -0
  262. package/dist/ionic/{p-ef4c3bee.entry.js → p-b1599fca.entry.js} +1 -1
  263. package/dist/ionic/{p-84d5ce05.entry.js → p-b9ac1fe0.entry.js} +1 -1
  264. package/dist/ionic/p-bfc8c629.entry.js +4 -0
  265. package/dist/ionic/p-c08e666a.entry.js +4 -0
  266. package/dist/ionic/{p-34586ead.entry.js → p-c93553d2.entry.js} +1 -1
  267. package/dist/ionic/p-ce7992c4.entry.js +4 -0
  268. package/dist/ionic/{p-75dc25ba.entry.js → p-d2c7f046.entry.js} +1 -1
  269. package/dist/ionic/{p-c4d8641b.entry.js → p-d8387b99.entry.js} +1 -1
  270. package/dist/ionic/{p-9a65ac7f.entry.js → p-db1b6738.entry.js} +1 -1
  271. package/dist/ionic/p-ed797c72.entry.js +4 -0
  272. package/dist/ionic/{p-8eb8ee76.entry.js → p-ef93ca92.entry.js} +1 -1
  273. package/dist/ionic/p-f09f9642.entry.js +4 -0
  274. package/dist/ionic/p-f1c06f82.entry.js +4 -0
  275. package/dist/ionic/p-f718fccb.entry.js +4 -0
  276. package/dist/ionic/{p-0fa9c382.entry.js → p-fe4aa1db.entry.js} +1 -1
  277. package/dist/types/components/img/img.d.ts +2 -0
  278. package/dist/types/components/input/input.d.ts +1 -1
  279. package/dist/types/components/modal/modal.d.ts +11 -4
  280. package/dist/types/components/router-outlet/router-outlet.d.ts +7 -0
  281. package/dist/types/components/searchbar/searchbar.d.ts +1 -1
  282. package/dist/types/components/select/select-interface.d.ts +31 -0
  283. package/dist/types/components/select/select.d.ts +18 -0
  284. package/dist/types/components/select-option/select-option.d.ts +42 -1
  285. package/dist/types/components.d.ts +72 -288
  286. package/dist/types/index.d.ts +1 -1
  287. package/dist/types/interface.d.ts +0 -1
  288. package/dist/types/utils/config.d.ts +0 -8
  289. package/dist/types/utils/overlay-control-label.d.ts +32 -0
  290. package/dist/types/utils/overlays.d.ts +11 -9
  291. package/dist/types/utils/sanitization/index.d.ts +58 -2
  292. package/dist/types/utils/select-option-render.d.ts +53 -0
  293. package/hydrate/index.js +1408 -1175
  294. package/hydrate/index.mjs +1408 -1175
  295. package/package.json +37 -5
  296. package/components/ion-picker-legacy-column.d.ts +0 -11
  297. package/components/ion-picker-legacy-column.js +0 -4
  298. package/components/ion-picker-legacy.d.ts +0 -11
  299. package/components/ion-picker-legacy.js +0 -4
  300. package/components/p-3hGiN2uq.js +0 -4
  301. package/components/p-BIPPbW0M.js +0 -4
  302. package/components/p-BUYFy35a.js +0 -4
  303. package/components/p-BWEZufiK.js +0 -4
  304. package/components/p-BqpciLfi.js +0 -4
  305. package/components/p-BsQPAqo9.js +0 -4
  306. package/components/p-CU5rbWAW.js +0 -4
  307. package/components/p-k_E4tX5Z.js +0 -4
  308. package/components/p-nyXeHk23.js +0 -4
  309. package/dist/cjs/config-xninhj0J.js +0 -201
  310. package/dist/collection/components/picker-legacy/animations/ios.enter.js +0 -27
  311. package/dist/collection/components/picker-legacy/animations/ios.leave.js +0 -23
  312. package/dist/collection/components/picker-legacy/picker-interface.js +0 -1
  313. package/dist/collection/components/picker-legacy/picker.ios.css +0 -300
  314. package/dist/collection/components/picker-legacy/picker.js +0 -890
  315. package/dist/collection/components/picker-legacy/picker.md.css +0 -287
  316. package/dist/collection/components/picker-legacy-column/picker-column.ios.css +0 -231
  317. package/dist/collection/components/picker-legacy-column/picker-column.js +0 -422
  318. package/dist/collection/components/picker-legacy-column/picker-column.md.css +0 -222
  319. package/dist/collection/components/picker-legacy-column/test/test.utils.js +0 -43
  320. package/dist/esm/config-DQCONYYp.js +0 -195
  321. package/dist/ionic/p-01f81ea5.entry.js +0 -4
  322. package/dist/ionic/p-0cc11f99.entry.js +0 -4
  323. package/dist/ionic/p-0dc33652.entry.js +0 -4
  324. package/dist/ionic/p-20b1a044.entry.js +0 -4
  325. package/dist/ionic/p-21eb76d5.entry.js +0 -4
  326. package/dist/ionic/p-27d30585.entry.js +0 -4
  327. package/dist/ionic/p-2a05aa64.entry.js +0 -4
  328. package/dist/ionic/p-2bb2cb18.entry.js +0 -4
  329. package/dist/ionic/p-485fda23.entry.js +0 -4
  330. package/dist/ionic/p-4baa5b82.entry.js +0 -4
  331. package/dist/ionic/p-5018dfc8.entry.js +0 -4
  332. package/dist/ionic/p-50e1194a.entry.js +0 -4
  333. package/dist/ionic/p-5eb8e86d.entry.js +0 -4
  334. package/dist/ionic/p-65ebdf1b.entry.js +0 -4
  335. package/dist/ionic/p-6ebdbebe.entry.js +0 -4
  336. package/dist/ionic/p-9f9db3a2.entry.js +0 -4
  337. package/dist/ionic/p-D-3ycHmd.js +0 -4
  338. package/dist/ionic/p-DzWaWHGc.js +0 -4
  339. package/dist/ionic/p-a21add2f.entry.js +0 -4
  340. package/dist/ionic/p-ca2ab74d.entry.js +0 -4
  341. package/dist/ionic/p-ec090e0a.entry.js +0 -4
  342. package/dist/types/components/picker-legacy/animations/ios.enter.d.ts +0 -5
  343. package/dist/types/components/picker-legacy/animations/ios.leave.d.ts +0 -5
  344. package/dist/types/components/picker-legacy/picker-interface.d.ts +0 -52
  345. package/dist/types/components/picker-legacy/picker.d.ts +0 -158
  346. package/dist/types/components/picker-legacy-column/picker-column.d.ts +0 -46
  347. package/dist/types/components/picker-legacy-column/test/test.utils.d.ts +0 -9
@@ -0,0 +1,429 @@
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 narrow `domStringAllowedAttributes` list (refer
13
+ * `sanitizeElement`), and scrubs script-scheme URLs. Returns the sanitized
14
+ * HTML string.
15
+ *
16
+ * Use this when you have an HTML string from an unknown source and need to
17
+ * render it via `innerHTML`. Use `sanitizeDOMTree` instead when you already
18
+ * have a DOM tree and want to sanitize it in place without a string round
19
+ * trip. The two apply the same dangerous-vector scrubbing but different
20
+ * attribute allowlists: this path stays narrow so existing consumers
21
+ * (toast, loading, alert message, etc.) are unaffected, while
22
+ * `sanitizeDOMTree` uses the wider rich-content allowlist.
23
+ *
24
+ * @param untrustedString - The HTML string to sanitize. Pass an
25
+ * `IonicSafeString` to bypass sanitization, or `undefined` to short-circuit.
26
+ * @returns The sanitized HTML string, or `undefined` if the input was
27
+ * `undefined`. Returns `''` if sanitization fails or the input contains
28
+ * an inline `onload=` handler.
29
+ */
30
+ const sanitizeDOMString = (untrustedString) => {
31
+ try {
32
+ if (untrustedString instanceof IonicSafeString) {
33
+ return untrustedString.value;
34
+ }
35
+ if (!isSanitizerEnabled() || typeof untrustedString !== 'string' || untrustedString === '') {
36
+ return untrustedString;
37
+ }
38
+ /**
39
+ * onload is fired when appending to a document
40
+ * fragment in Chrome. If a string
41
+ * contains onload then we should not
42
+ * attempt to add this to the fragment.
43
+ */
44
+ if (untrustedString.includes('onload=')) {
45
+ return '';
46
+ }
47
+ /**
48
+ * Create a document fragment
49
+ * separate from the main DOM,
50
+ * create a div to do our work in
51
+ */
52
+ const documentFragment = document.createDocumentFragment();
53
+ const workingDiv = document.createElement('div');
54
+ documentFragment.appendChild(workingDiv);
55
+ workingDiv.innerHTML = untrustedString;
56
+ /**
57
+ * Remove any elements
58
+ * that are blocked
59
+ */
60
+ blockedTags.forEach((blockedTag) => {
61
+ const getElementsToRemove = documentFragment.querySelectorAll(blockedTag);
62
+ for (let elementIndex = getElementsToRemove.length - 1; elementIndex >= 0; elementIndex--) {
63
+ const element = getElementsToRemove[elementIndex];
64
+ if (element.parentNode) {
65
+ element.parentNode.removeChild(element);
66
+ }
67
+ else {
68
+ documentFragment.removeChild(element);
69
+ }
70
+ /**
71
+ * We still need to sanitize
72
+ * the children of this element
73
+ * as they are left behind
74
+ */
75
+ const childElements = getElementChildren(element);
76
+ /* eslint-disable-next-line */
77
+ for (let childIndex = 0; childIndex < childElements.length; childIndex++) {
78
+ sanitizeElement(childElements[childIndex], domStringAllowedAttributes);
79
+ }
80
+ }
81
+ });
82
+ /**
83
+ * Go through remaining elements and remove
84
+ * non-allowed attribs
85
+ */
86
+ // IE does not support .children on document fragments, only .childNodes
87
+ const dfChildren = getElementChildren(documentFragment);
88
+ /* eslint-disable-next-line */
89
+ for (let childIndex = 0; childIndex < dfChildren.length; childIndex++) {
90
+ sanitizeElement(dfChildren[childIndex], domStringAllowedAttributes);
91
+ }
92
+ // Append document fragment to div
93
+ const fragmentDiv = document.createElement('div');
94
+ fragmentDiv.appendChild(documentFragment);
95
+ // First child is always the div we did our work in
96
+ const getInnerDiv = fragmentDiv.querySelector('div');
97
+ return getInnerDiv !== null ? getInnerDiv.innerHTML : fragmentDiv.innerHTML;
98
+ }
99
+ catch (err) {
100
+ index.printIonError('sanitizeDOMString', err);
101
+ return '';
102
+ }
103
+ };
104
+ /**
105
+ * Sanitize an entire trusted DOM tree in place.
106
+ *
107
+ * Removes blocked tags (`script`, `iframe`, etc.) from the subtree and
108
+ * then sanitizes attributes on every remaining element using the wider
109
+ * `richContentAllowedAttributes` allowlist (refer `sanitizeElement`).
110
+ * Component presentational attributes (`size`, `color`, `shape`, inline
111
+ * SVG, `aria-*`, `data-*`) are preserved; `style`, event handlers (`on*`),
112
+ * form/navigation-hijack attributes, script-scheme URLs, and non-image
113
+ * `data:` URLs are stripped.
114
+ *
115
+ * Use this when you have a DOM tree the developer controls (e.g.
116
+ * cloned slot content from a component) and you need to render it
117
+ * elsewhere safely.
118
+ *
119
+ * @param root - The root element whose subtree will be sanitized in
120
+ * place. No-op when the sanitizer is disabled via `Ionic.config`.
121
+ */
122
+ const sanitizeDOMTree = (root) => {
123
+ if (!isSanitizerEnabled()) {
124
+ return;
125
+ }
126
+ blockedTags.forEach((tag) => {
127
+ const matches = root.querySelectorAll(tag);
128
+ for (let i = matches.length - 1; i >= 0; i--) {
129
+ matches[i].remove();
130
+ }
131
+ });
132
+ sanitizeElement(root, richContentAllowedAttributes, richContentAllowedAttributePrefixes);
133
+ };
134
+ /**
135
+ * Clean up current element based on allowed attributes
136
+ * and then recursively dig down into any child elements to
137
+ * clean those up as well
138
+ */
139
+ // TODO(FW-2832): type (using Element triggers other type errors as well)
140
+ const sanitizeElement = (element, allowedAttributes, allowedAttributePrefixes = []) => {
141
+ // IE uses childNodes, so ignore nodes that are not elements
142
+ if (element.nodeType && element.nodeType !== 1) {
143
+ return;
144
+ }
145
+ /**
146
+ * If attributes is not a NamedNodeMap
147
+ * then we should remove the element entirely.
148
+ * This helps avoid DOM Clobbering attacks where
149
+ * attributes is overridden.
150
+ */
151
+ if (typeof NamedNodeMap !== 'undefined' && !(element.attributes instanceof NamedNodeMap)) {
152
+ element.remove();
153
+ return;
154
+ }
155
+ /**
156
+ * Always strip `style` (CSS injection, `background:url()` beaconing, UI
157
+ * spoofing). It is never on the allowlist, but it is removed explicitly
158
+ * here because some engines (e.g. jsdom) don't enumerate the CSSOM-backed
159
+ * `style` attribute in `element.attributes`, which would let the loop
160
+ * below skip over it.
161
+ */
162
+ element.removeAttribute('style');
163
+ for (let i = element.attributes.length - 1; i >= 0; i--) {
164
+ const attribute = element.attributes.item(i);
165
+ const attributeName = attribute.name;
166
+ const lowerName = attributeName.toLowerCase();
167
+ /**
168
+ * Remove any attribute that is not on the allowlist. This drops event
169
+ * handlers (`on*`), `style`, the form/navigation-hijack attributes
170
+ * (`formaction`, `action`, `target`), namespaced attributes like
171
+ * `xlink:href`, and anything else not explicitly known to be safe.
172
+ */
173
+ if (!isAttributeAllowed(lowerName, allowedAttributes, allowedAttributePrefixes)) {
174
+ element.removeAttribute(attributeName);
175
+ continue;
176
+ }
177
+ // clean up any allowed attribs
178
+ // that attempt to do any JS funny-business
179
+ const attributeValue = attribute.value;
180
+ if (attributeValue == null) {
181
+ continue;
182
+ }
183
+ /**
184
+ * Scrub dangerous schemes from the value. The value is normalized first
185
+ * (whitespace and ASCII control characters removed) so entity-obfuscated
186
+ * payloads such as `java&#9;script:`, which the parser decodes to
187
+ * `java\tscript:`, are still caught. Normalizing the value also covers
188
+ * namespaced attributes, where the previous `element[attributeName]`
189
+ * property reflection returned `undefined` and let them slip through.
190
+ */
191
+ const normalizedValue = attributeValue.replace(controlCharactersAndWhitespace, '').toLowerCase();
192
+ // Script schemes are never allowed, on any attribute.
193
+ if (normalizedValue.includes('javascript:') || normalizedValue.includes('vbscript:')) {
194
+ element.removeAttribute(attributeName);
195
+ continue;
196
+ }
197
+ /**
198
+ * For URL-bearing attributes, allow `data:` URIs only for raster
199
+ * images. Document-bearing types (`text/html`, `image/svg+xml`,
200
+ * `application/*`, etc.) can carry markup or script when navigated to
201
+ * or rendered, so they are stripped, while safe image types are kept so
202
+ * inline images keep working.
203
+ */
204
+ if (urlAttributes.includes(lowerName) &&
205
+ normalizedValue.startsWith('data:') &&
206
+ !safeDataImageUri.test(normalizedValue)) {
207
+ element.removeAttribute(attributeName);
208
+ }
209
+ }
210
+ /**
211
+ * Sanitize any nested children
212
+ */
213
+ const childElements = getElementChildren(element);
214
+ /* eslint-disable-next-line */
215
+ for (let i = 0; i < childElements.length; i++) {
216
+ sanitizeElement(childElements[i], allowedAttributes, allowedAttributePrefixes);
217
+ }
218
+ };
219
+ /**
220
+ * IE doesn't always support .children
221
+ * so we revert to .childNodes instead
222
+ */
223
+ // TODO(FW-2832): type
224
+ const getElementChildren = (el) => {
225
+ return el.children != null ? el.children : el.childNodes;
226
+ };
227
+ const isSanitizerEnabled = () => {
228
+ var _a;
229
+ const win = window;
230
+ const config = (_a = win === null || win === void 0 ? void 0 : win.Ionic) === null || _a === void 0 ? void 0 : _a.config;
231
+ if (config) {
232
+ if (config.get) {
233
+ return config.get('sanitizerEnabled', true);
234
+ }
235
+ else {
236
+ return config.sanitizerEnabled === true || config.sanitizerEnabled === undefined;
237
+ }
238
+ }
239
+ return true;
240
+ };
241
+ /**
242
+ * Mirror known custom-element DOM properties onto attributes so they
243
+ * survive `cloneNode`. Call this on a DOM subtree before cloning it for
244
+ * rendering elsewhere (e.g. cloning slotted option content into an
245
+ * overlay).
246
+ *
247
+ * Only sets the attribute when the property holds a non-empty string
248
+ * and the attribute isn't already present, so existing attributes
249
+ * take precedence.
250
+ *
251
+ * @param root - The root element whose subtree (and itself) will be
252
+ * inspected.
253
+ */
254
+ const reflectPropertiesToAttributes = (root) => {
255
+ const candidates = [];
256
+ if (root.tagName in elementPropsToReflect) {
257
+ candidates.push(root);
258
+ }
259
+ for (const tagName of Object.keys(elementPropsToReflect)) {
260
+ candidates.push(...Array.from(root.querySelectorAll(tagName.toLowerCase())));
261
+ }
262
+ for (const el of candidates) {
263
+ if (!(el.tagName in elementPropsToReflect)) {
264
+ continue;
265
+ }
266
+ const props = elementPropsToReflect[el.tagName];
267
+ for (const prop of props) {
268
+ const value = el[prop];
269
+ if (typeof value === 'string' && value.length > 0 && !el.hasAttribute(prop)) {
270
+ el.setAttribute(prop, value);
271
+ }
272
+ }
273
+ }
274
+ };
275
+ /**
276
+ * Attribute allowlist for `sanitizeDOMString`. Intentionally narrow: this
277
+ * path sanitizes developer HTML strings rendered via `innerHTML` by
278
+ * `ion-toast`, `ion-loading`, the `ion-alert` message,
279
+ * `ion-refresher-content`, and `ion-infinite-scroll-content`, so the list
280
+ * is kept to the minimum those have always needed. Broadening it here would
281
+ * change sanitization output for all of those consumers, so the wider
282
+ * rich-content allowlist below is deliberately scoped to `sanitizeDOMTree`
283
+ * instead.
284
+ */
285
+ const domStringAllowedAttributes = ['class', 'id', 'href', 'src', 'name', 'slot'];
286
+ /**
287
+ * Attribute allowlist for `sanitizeDOMTree` (the select rich-content path).
288
+ * Covers global HTML attributes, the Ionic component presentational props
289
+ * that cloned rich content (e.g. `ion-select-option` markup) relies on, and
290
+ * the inert SVG presentation attributes used by inline icons.
291
+ *
292
+ * `aria-*` and `data-*` are allowed separately by prefix (refer
293
+ * `richContentAllowedAttributePrefixes`) since they are inert and not worth
294
+ * enumerating. URL-bearing names (`href`, `src`) are allowed here, but
295
+ * their values are still scrubbed for script schemes in `sanitizeElement`.
296
+ *
297
+ * Notably absent: `style`, event handlers (`on*`), and the
298
+ * form/navigation-hijack attributes (`formaction`, `action`, `target`),
299
+ * which are therefore stripped.
300
+ */
301
+ const richContentAllowedAttributes = [
302
+ // Global / structural
303
+ 'class',
304
+ 'id',
305
+ 'slot',
306
+ 'name',
307
+ 'title',
308
+ 'alt',
309
+ 'lang',
310
+ 'dir',
311
+ 'role',
312
+ 'type',
313
+ 'value',
314
+ 'disabled',
315
+ 'width',
316
+ 'height',
317
+ 'href',
318
+ 'src',
319
+ // Ionic component presentational props
320
+ 'color',
321
+ 'size',
322
+ 'shape',
323
+ 'fill',
324
+ 'expand',
325
+ 'mode',
326
+ 'theme',
327
+ 'icon',
328
+ 'label',
329
+ 'label-placement',
330
+ 'justify',
331
+ 'inset',
332
+ 'lines',
333
+ 'ios',
334
+ 'md',
335
+ // SVG presentation attributes (compared lowercased, e.g. `viewBox`)
336
+ 'xmlns',
337
+ 'viewbox',
338
+ 'preserveaspectratio',
339
+ 'stroke',
340
+ 'stroke-width',
341
+ 'stroke-linecap',
342
+ 'stroke-linejoin',
343
+ 'stroke-opacity',
344
+ 'stroke-dasharray',
345
+ 'fill-rule',
346
+ 'fill-opacity',
347
+ 'clip-rule',
348
+ 'd',
349
+ 'points',
350
+ 'cx',
351
+ 'cy',
352
+ 'r',
353
+ 'rx',
354
+ 'ry',
355
+ 'x',
356
+ 'y',
357
+ 'x1',
358
+ 'y1',
359
+ 'x2',
360
+ 'y2',
361
+ 'transform',
362
+ 'opacity',
363
+ ];
364
+ /**
365
+ * Attribute-name prefixes that are always safe to keep in the rich-content
366
+ * path. `aria-*` and `data-*` attributes cannot execute script or load
367
+ * resources, so they are allowed wholesale rather than enumerated by name.
368
+ */
369
+ const richContentAllowedAttributePrefixes = ['aria-', 'data-'];
370
+ /**
371
+ * Whether an attribute name (already lowercased) is safe to keep, by exact
372
+ * match or by an allowed prefix.
373
+ */
374
+ const isAttributeAllowed = (lowerName, allowedAttributes, allowedAttributePrefixes) => {
375
+ if (allowedAttributes.includes(lowerName)) {
376
+ return true;
377
+ }
378
+ return allowedAttributePrefixes.some((prefix) => lowerName.startsWith(prefix));
379
+ };
380
+ /**
381
+ * Matches ASCII control characters and whitespace (including the
382
+ * non-breaking space). Used to normalize attribute values before matching
383
+ * a URL scheme so entity-obfuscated payloads such as `java&#9;script:`
384
+ * (decoded by the parser to `java\tscript:`) can't smuggle a scheme past
385
+ * the check.
386
+ */
387
+ // eslint-disable-next-line no-control-regex -- matching control characters is the point
388
+ const controlCharactersAndWhitespace = /[\u0000-\u0020\u007f-\u00a0]/g;
389
+ /**
390
+ * Attributes whose values are URLs. Their values are scheme-checked in
391
+ * `sanitizeElement` (e.g. `data:` filtering) beyond the script-scheme scrub
392
+ * applied to every attribute.
393
+ */
394
+ const urlAttributes = ['href', 'src'];
395
+ /**
396
+ * Matches a `data:` URI for a raster image type that cannot carry script.
397
+ * `image/svg+xml` is deliberately excluded (SVG can execute script), as are
398
+ * document types like `text/html` and `application/*`. The value is already
399
+ * lowercased and whitespace-stripped before this is tested.
400
+ */
401
+ const safeDataImageUri = /^data:image\/(?:png|jpe?g|gif|webp|bmp|avif|x-icon|vnd\.microsoft\.icon)[;,]/;
402
+ /**
403
+ * Tags removed entirely (with their subtree) before attribute sanitization.
404
+ * Exported so tests can assert the set without hardcoding it.
405
+ */
406
+ const blockedTags = ['script', 'style', 'iframe', 'meta', 'link', 'object', 'embed', 'base'];
407
+ /**
408
+ * Properties on custom elements that frameworks (Vue, Angular) often
409
+ * set as DOM properties rather than attributes. `cloneNode` only copies
410
+ * attributes, so these values are lost when slotted content is cloned
411
+ * into an overlay. For each known custom element, we mirror the listed
412
+ * properties onto attributes so the cloned copy still has the data it
413
+ * needs to render.
414
+ *
415
+ * Keyed by uppercased tagName so the lookup matches `Element.tagName`.
416
+ */
417
+ const elementPropsToReflect = {
418
+ 'ION-ICON': ['icon', 'name', 'src', 'ios', 'md'],
419
+ };
420
+ class IonicSafeString {
421
+ constructor(value) {
422
+ this.value = value;
423
+ }
424
+ }
425
+
426
+ exports.IonicSafeString = IonicSafeString;
427
+ exports.reflectPropertiesToAttributes = reflectPropertiesToAttributes;
428
+ exports.sanitizeDOMString = sanitizeDOMString;
429
+ 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-Cueg3U4w.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-DdtIYQUH.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-DdtIYQUH.js');
10
+ var overlays = require('./overlays-DSmSrd_4.js');
11
+ var selectOptionRender = require('./select-option-render-DTF50t5r.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-Cueg3U4w.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 {