@ionic/core 8.8.14-dev.11783455203.1cbca643 → 8.8.14-dev.11783706459.1d5a7aae

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 (366) 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-picker-column-option.js +1 -1
  21. package/components/ion-picker-column.js +1 -1
  22. package/components/ion-popover.js +1 -1
  23. package/components/ion-progress-bar.js +1 -1
  24. package/components/ion-radio.js +1 -1
  25. package/components/ion-range.js +1 -1
  26. package/components/ion-refresher-content.js +1 -1
  27. package/components/ion-refresher.js +1 -1
  28. package/components/ion-reorder-group.js +1 -1
  29. package/components/ion-reorder.js +1 -1
  30. package/components/ion-ripple-effect.js +1 -1
  31. package/components/ion-router-link.js +1 -1
  32. package/components/ion-router-outlet.js +1 -1
  33. package/components/ion-row.js +1 -1
  34. package/components/ion-searchbar.js +1 -1
  35. package/components/ion-segment-button.js +1 -1
  36. package/components/ion-segment-content.js +1 -1
  37. package/components/ion-segment-view.js +1 -1
  38. package/components/ion-segment.js +1 -1
  39. package/components/ion-select-modal.js +1 -1
  40. package/components/ion-select-option.js +1 -1
  41. package/components/ion-select-popover.js +1 -1
  42. package/components/ion-select.js +1 -1
  43. package/components/ion-skeleton-text.js +1 -1
  44. package/components/ion-spinner.js +1 -1
  45. package/components/ion-split-pane.js +1 -1
  46. package/components/ion-tab-bar.js +1 -1
  47. package/components/ion-tab-button.js +1 -1
  48. package/components/ion-tab.js +1 -1
  49. package/components/ion-tabs.js +1 -1
  50. package/components/ion-text.js +1 -1
  51. package/components/ion-textarea.js +1 -1
  52. package/components/ion-thumbnail.js +1 -1
  53. package/components/ion-title.js +1 -1
  54. package/components/ion-toast.js +1 -1
  55. package/components/ion-toggle.js +1 -1
  56. package/components/ion-toolbar.js +1 -1
  57. package/components/p-279dFMvg.js +4 -0
  58. package/components/p-B7KXos3u.js +4 -0
  59. package/components/p-BSQPZ79H.js +4 -0
  60. package/components/p-BimUi1zU.js +4 -0
  61. package/components/{p-BHrrc-3d.js → p-Buf_7zcy.js} +1 -1
  62. package/components/p-BwKpO3Is.js +4 -0
  63. package/components/p-C-Rx1zny.js +4 -0
  64. package/components/p-CHzfYZbv.js +4 -0
  65. package/components/p-D4h1H_hh.js +4 -0
  66. package/components/{p-BSEgsdFI.js → p-DhkITZ-y.js} +1 -1
  67. package/components/{p-5bE_Wz4Y.js → p-DpV-p5Xs.js} +1 -1
  68. package/components/{p-Cfx4M1Bn.js → p-Dz74mwlk.js} +1 -1
  69. package/components/p-LMGfIvTf.js +4 -0
  70. package/components/{p-BLmJ0zRm.js → p-XJWMAP8m.js} +1 -1
  71. package/components/p-_lHSumhG.js +4 -0
  72. package/components/p-j9Da6cYO.js +4 -0
  73. package/components/p-jOtMJMv8.js +4 -0
  74. package/components/{p-B60hm8Qv.js → p-r0aq7dpt.js} +1 -1
  75. package/components/p-uTR_dEqg.js +4 -0
  76. package/components/{p-rCa2eL0j.js → p-wk2QqrAo.js} +1 -1
  77. package/dist/cjs/config-DWdFbSNK.js +35 -0
  78. package/dist/cjs/index-Cueg3U4w.js +429 -0
  79. package/dist/cjs/index.cjs.js +6 -6
  80. package/dist/cjs/ion-action-sheet.cjs.entry.js +27 -7
  81. package/dist/cjs/ion-alert.cjs.entry.js +64 -25
  82. package/dist/cjs/ion-app_8.cjs.entry.js +23 -9
  83. package/dist/cjs/ion-avatar_3.cjs.entry.js +1 -1
  84. package/dist/cjs/ion-col_3.cjs.entry.js +1 -1
  85. package/dist/cjs/ion-datetime-button.cjs.entry.js +4 -10
  86. package/dist/cjs/{ion-datetime_3.cjs.entry.js → ion-datetime.cjs.entry.js} +12 -656
  87. package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +3 -2
  88. package/dist/cjs/ion-input.cjs.entry.js +4 -4
  89. package/dist/cjs/ion-item_8.cjs.entry.js +2 -2
  90. package/dist/cjs/ion-loading.cjs.entry.js +10 -5
  91. package/dist/cjs/ion-menu_3.cjs.entry.js +1 -1
  92. package/dist/cjs/ion-modal.cjs.entry.js +21 -22
  93. package/dist/cjs/ion-picker-column-option.cjs.entry.js +3 -9
  94. package/dist/cjs/ion-picker-column.cjs.entry.js +4 -10
  95. package/dist/cjs/ion-popover.cjs.entry.js +9 -5
  96. package/dist/cjs/ion-progress-bar.cjs.entry.js +1 -1
  97. package/dist/cjs/ion-radio_2.cjs.entry.js +3 -3
  98. package/dist/cjs/ion-range.cjs.entry.js +3 -3
  99. package/dist/cjs/ion-refresher_2.cjs.entry.js +6 -5
  100. package/dist/cjs/ion-reorder_2.cjs.entry.js +2 -2
  101. package/dist/cjs/ion-ripple-effect.cjs.entry.js +1 -1
  102. package/dist/cjs/ion-route_4.cjs.entry.js +2 -2
  103. package/dist/cjs/ion-searchbar.cjs.entry.js +5 -5
  104. package/dist/cjs/ion-segment-content.cjs.entry.js +1 -1
  105. package/dist/cjs/ion-segment-view.cjs.entry.js +2 -2
  106. package/dist/cjs/ion-segment_2.cjs.entry.js +4 -4
  107. package/dist/cjs/ion-select-modal.cjs.entry.js +84 -30
  108. package/dist/cjs/ion-select_3.cjs.entry.js +407 -49
  109. package/dist/cjs/ion-spinner.cjs.entry.js +1 -1
  110. package/dist/cjs/ion-split-pane.cjs.entry.js +2 -2
  111. package/dist/cjs/ion-tab-bar_2.cjs.entry.js +4 -4
  112. package/dist/cjs/ion-tab_2.cjs.entry.js +3 -3
  113. package/dist/cjs/ion-text.cjs.entry.js +2 -2
  114. package/dist/cjs/ion-textarea.cjs.entry.js +2 -2
  115. package/dist/cjs/ion-toast.cjs.entry.js +6 -5
  116. package/dist/cjs/ion-toggle.cjs.entry.js +3 -3
  117. package/dist/cjs/ionic.cjs.js +1 -1
  118. package/dist/cjs/loader.cjs.js +1 -1
  119. package/dist/cjs/overlay-control-label-D2sdL2O8.js +50 -0
  120. package/dist/cjs/{overlays-B9WEMRRo.js → overlays-DSmSrd_4.js} +27 -33
  121. package/dist/cjs/select-option-render-DTF50t5r.js +124 -0
  122. package/dist/collection/collection-manifest.json +6 -10
  123. package/dist/collection/components/action-sheet/action-sheet.ios.css +229 -2
  124. package/dist/collection/components/action-sheet/action-sheet.js +24 -5
  125. package/dist/collection/components/action-sheet/action-sheet.md.css +175 -2
  126. package/dist/collection/components/alert/alert.ios.css +280 -10
  127. package/dist/collection/components/alert/alert.js +59 -21
  128. package/dist/collection/components/alert/alert.md.css +269 -20
  129. package/dist/collection/components/datetime/datetime.ios.css +42 -2
  130. package/dist/collection/components/datetime/datetime.js +10 -17
  131. package/dist/collection/components/datetime/datetime.md.css +42 -1
  132. package/dist/collection/components/datetime-button/datetime-button.ios.css +5 -0
  133. package/dist/collection/components/datetime-button/datetime-button.js +3 -10
  134. package/dist/collection/components/datetime-button/datetime-button.md.css +5 -0
  135. package/dist/collection/components/input/input.js +8 -8
  136. package/dist/collection/components/loading/loading.js +7 -3
  137. package/dist/collection/components/modal/modal.js +23 -24
  138. package/dist/collection/components/picker-column/picker-column.css +3 -0
  139. package/dist/collection/components/picker-column/picker-column.js +4 -11
  140. package/dist/collection/components/picker-column-option/picker-column-option.js +3 -10
  141. package/dist/collection/components/picker-column-option/picker-column-option.md.css +6 -1
  142. package/dist/collection/components/popover/popover.ios.css +15 -0
  143. package/dist/collection/components/popover/popover.js +7 -3
  144. package/dist/collection/components/popover/popover.md.css +15 -0
  145. package/dist/collection/components/progress-bar/progress-bar.js +1 -1
  146. package/dist/collection/components/radio/radio.js +4 -4
  147. package/dist/collection/components/range/range.js +3 -3
  148. package/dist/collection/components/refresher/refresher.js +1 -1
  149. package/dist/collection/components/refresher-content/refresher-content.js +1 -1
  150. package/dist/collection/components/reorder/reorder.js +1 -1
  151. package/dist/collection/components/reorder-group/reorder-group.js +1 -1
  152. package/dist/collection/components/ripple-effect/ripple-effect.js +1 -1
  153. package/dist/collection/components/router-link/router-link.js +2 -2
  154. package/dist/collection/components/router-outlet/router-outlet.js +38 -5
  155. package/dist/collection/components/row/row.js +1 -1
  156. package/dist/collection/components/searchbar/searchbar.js +9 -9
  157. package/dist/collection/components/segment/segment.js +2 -2
  158. package/dist/collection/components/segment-button/segment-button.js +2 -2
  159. package/dist/collection/components/segment-content/segment-content.js +1 -1
  160. package/dist/collection/components/segment-view/segment-view.js +2 -2
  161. package/dist/collection/components/select/select.ios.css +33 -0
  162. package/dist/collection/components/select/select.js +323 -16
  163. package/dist/collection/components/select/select.md.css +33 -0
  164. package/dist/collection/components/select-modal/select-modal.ios.css +219 -0
  165. package/dist/collection/components/select-modal/select-modal.js +79 -26
  166. package/dist/collection/components/select-modal/select-modal.md.css +165 -0
  167. package/dist/collection/components/select-option/select-option.js +67 -3
  168. package/dist/collection/components/select-popover/select-popover.ios.css +219 -0
  169. package/dist/collection/components/select-popover/select-popover.js +78 -26
  170. package/dist/collection/components/select-popover/select-popover.md.css +165 -0
  171. package/dist/collection/components/skeleton-text/skeleton-text.js +2 -2
  172. package/dist/collection/components/spinner/spinner.js +1 -1
  173. package/dist/collection/components/split-pane/split-pane.js +2 -2
  174. package/dist/collection/components/tab/tab.js +2 -2
  175. package/dist/collection/components/tab-bar/tab-bar.js +2 -2
  176. package/dist/collection/components/tab-button/tab-button.js +2 -2
  177. package/dist/collection/components/tabs/tabs.js +1 -1
  178. package/dist/collection/components/text/text.js +2 -2
  179. package/dist/collection/components/textarea/textarea.js +2 -2
  180. package/dist/collection/components/thumbnail/thumbnail.js +1 -1
  181. package/dist/collection/components/title/title.js +2 -2
  182. package/dist/collection/components/toast/toast.js +2 -2
  183. package/dist/collection/components/toggle/toggle.js +3 -3
  184. package/dist/collection/components/toolbar/toolbar.js +2 -2
  185. package/dist/collection/index.js +1 -1
  186. package/dist/collection/utils/overlay-control-label.js +45 -0
  187. package/dist/collection/utils/overlays.js +26 -32
  188. package/dist/collection/utils/sanitization/index.js +274 -18
  189. package/dist/collection/utils/select-option-render.js +119 -0
  190. package/dist/docs.json +440 -1160
  191. package/dist/esm/config-BwKpO3Is.js +31 -0
  192. package/dist/esm/{index-DV3sJJW8.js → index-AlrZKoWR.js} +1 -1
  193. package/dist/esm/index-DQSkZyOJ.js +424 -0
  194. package/dist/esm/index.js +3 -2
  195. package/dist/esm/ion-accordion_2.entry.js +1 -1
  196. package/dist/esm/ion-action-sheet.entry.js +27 -7
  197. package/dist/esm/ion-alert.entry.js +63 -24
  198. package/dist/esm/ion-app_8.entry.js +23 -9
  199. package/dist/esm/ion-avatar_3.entry.js +1 -1
  200. package/dist/esm/ion-back-button.entry.js +1 -1
  201. package/dist/esm/ion-breadcrumb_2.entry.js +1 -1
  202. package/dist/esm/ion-col_3.entry.js +1 -1
  203. package/dist/esm/ion-datetime-button.entry.js +4 -10
  204. package/dist/esm/{ion-datetime_3.entry.js → ion-datetime.entry.js} +16 -658
  205. package/dist/esm/ion-fab_3.entry.js +1 -1
  206. package/dist/esm/ion-infinite-scroll_2.entry.js +2 -1
  207. package/dist/esm/ion-input-password-toggle.entry.js +1 -1
  208. package/dist/esm/ion-input.entry.js +5 -5
  209. package/dist/esm/ion-item_8.entry.js +3 -3
  210. package/dist/esm/ion-loading.entry.js +9 -4
  211. package/dist/esm/ion-menu_3.entry.js +2 -2
  212. package/dist/esm/ion-modal.entry.js +21 -22
  213. package/dist/esm/ion-picker-column-option.entry.js +3 -9
  214. package/dist/esm/ion-picker-column.entry.js +4 -10
  215. package/dist/esm/ion-popover.entry.js +9 -5
  216. package/dist/esm/ion-progress-bar.entry.js +1 -1
  217. package/dist/esm/ion-radio_2.entry.js +3 -3
  218. package/dist/esm/ion-range.entry.js +3 -3
  219. package/dist/esm/ion-refresher_2.entry.js +5 -4
  220. package/dist/esm/ion-reorder_2.entry.js +3 -3
  221. package/dist/esm/ion-ripple-effect.entry.js +1 -1
  222. package/dist/esm/ion-route_4.entry.js +2 -2
  223. package/dist/esm/ion-searchbar.entry.js +6 -6
  224. package/dist/esm/ion-segment-content.entry.js +1 -1
  225. package/dist/esm/ion-segment-view.entry.js +2 -2
  226. package/dist/esm/ion-segment_2.entry.js +4 -4
  227. package/dist/esm/ion-select-modal.entry.js +84 -30
  228. package/dist/esm/ion-select_3.entry.js +410 -52
  229. package/dist/esm/ion-spinner.entry.js +1 -1
  230. package/dist/esm/ion-split-pane.entry.js +2 -2
  231. package/dist/esm/ion-tab-bar_2.entry.js +4 -4
  232. package/dist/esm/ion-tab_2.entry.js +3 -3
  233. package/dist/esm/ion-text.entry.js +2 -2
  234. package/dist/esm/ion-textarea.entry.js +2 -2
  235. package/dist/esm/ion-toast.entry.js +5 -4
  236. package/dist/esm/ion-toggle.entry.js +4 -4
  237. package/dist/esm/ionic.js +1 -1
  238. package/dist/esm/loader.js +1 -1
  239. package/dist/esm/overlay-control-label-BSQPZ79H.js +47 -0
  240. package/dist/esm/{overlays--4JLDr6C.js → overlays-DLNOHWNc.js} +28 -34
  241. package/dist/esm/select-option-render-B8nWZRnd.js +122 -0
  242. package/dist/html.html-data.json +51 -79
  243. package/dist/ionic/index.esm.js +1 -1
  244. package/dist/ionic/ionic.esm.js +1 -1
  245. package/dist/ionic/p-038eb991.entry.js +4 -0
  246. package/dist/ionic/{p-8fce95d5.entry.js → p-14095ba5.entry.js} +1 -1
  247. package/dist/ionic/p-17827b13.entry.js +4 -0
  248. package/dist/ionic/p-1ebe2739.entry.js +4 -0
  249. package/dist/ionic/{p-3a126bca.entry.js → p-259d0d98.entry.js} +1 -1
  250. package/dist/ionic/{p-fabcce6c.entry.js → p-341032b3.entry.js} +1 -1
  251. package/dist/ionic/{p-3a7d1e91.entry.js → p-4502a274.entry.js} +1 -1
  252. package/dist/ionic/p-4621c387.entry.js +4 -0
  253. package/dist/ionic/p-4ace7762.entry.js +4 -0
  254. package/dist/ionic/p-4bb3eb60.entry.js +4 -0
  255. package/dist/ionic/p-4e9ec5c5.entry.js +4 -0
  256. package/dist/ionic/{p-874b4bd8.entry.js → p-51cd1643.entry.js} +1 -1
  257. package/dist/ionic/p-5c3ec490.entry.js +4 -0
  258. package/dist/ionic/p-5d1ac2c7.entry.js +4 -0
  259. package/dist/ionic/{p-3ae5f277.entry.js → p-627fabd9.entry.js} +1 -1
  260. package/dist/ionic/{p-e0be05c5.entry.js → p-629e4703.entry.js} +1 -1
  261. package/dist/ionic/{p-5d1da0a2.entry.js → p-76e92a84.entry.js} +1 -1
  262. package/dist/ionic/p-79a36078.entry.js +4 -0
  263. package/dist/ionic/{p-9f1103ce.entry.js → p-7a37b3ce.entry.js} +1 -1
  264. package/dist/ionic/{p-3353c229.entry.js → p-80b44b3c.entry.js} +1 -1
  265. package/dist/ionic/p-8b3a64a5.entry.js +4 -0
  266. package/dist/ionic/p-913b218a.entry.js +4 -0
  267. package/dist/ionic/{p-390ca786.entry.js → p-9177f4ac.entry.js} +1 -1
  268. package/dist/ionic/p-93a7e5a1.entry.js +4 -0
  269. package/dist/ionic/{p-DV3sJJW8.js → p-AlrZKoWR.js} +1 -1
  270. package/dist/ionic/p-BDtODLZ4.js +4 -0
  271. package/dist/ionic/p-BSQPZ79H.js +4 -0
  272. package/dist/ionic/p-BwKpO3Is.js +4 -0
  273. package/dist/ionic/p-Cg5-OQYy.js +4 -0
  274. package/dist/ionic/p-DCOvXkOm.js +4 -0
  275. package/dist/ionic/{p-4858af1f.entry.js → p-a5213260.entry.js} +1 -1
  276. package/dist/ionic/{p-37e720da.entry.js → p-a7628bc7.entry.js} +1 -1
  277. package/dist/ionic/p-a9a33367.entry.js +4 -0
  278. package/dist/ionic/p-ad728198.entry.js +4 -0
  279. package/dist/ionic/{p-ef4c3bee.entry.js → p-b1599fca.entry.js} +1 -1
  280. package/dist/ionic/{p-84d5ce05.entry.js → p-b9ac1fe0.entry.js} +1 -1
  281. package/dist/ionic/p-bfc8c629.entry.js +4 -0
  282. package/dist/ionic/p-c08e666a.entry.js +4 -0
  283. package/dist/ionic/{p-a6ad9c29.entry.js → p-c93553d2.entry.js} +1 -1
  284. package/dist/ionic/p-ce7992c4.entry.js +4 -0
  285. package/dist/ionic/{p-75dc25ba.entry.js → p-d2c7f046.entry.js} +1 -1
  286. package/dist/ionic/{p-c4d8641b.entry.js → p-d8387b99.entry.js} +1 -1
  287. package/dist/ionic/{p-9a65ac7f.entry.js → p-db1b6738.entry.js} +1 -1
  288. package/dist/ionic/p-ed797c72.entry.js +4 -0
  289. package/dist/ionic/{p-8eb8ee76.entry.js → p-ef93ca92.entry.js} +1 -1
  290. package/dist/ionic/p-f09f9642.entry.js +4 -0
  291. package/dist/ionic/p-f1c06f82.entry.js +4 -0
  292. package/dist/ionic/{p-0fa9c382.entry.js → p-fe4aa1db.entry.js} +1 -1
  293. package/dist/types/components/input/input.d.ts +1 -1
  294. package/dist/types/components/modal/modal.d.ts +11 -4
  295. package/dist/types/components/router-outlet/router-outlet.d.ts +7 -0
  296. package/dist/types/components/searchbar/searchbar.d.ts +1 -1
  297. package/dist/types/components/select/select-interface.d.ts +31 -0
  298. package/dist/types/components/select/select.d.ts +18 -0
  299. package/dist/types/components/select-option/select-option.d.ts +42 -1
  300. package/dist/types/components.d.ts +60 -296
  301. package/dist/types/index.d.ts +1 -1
  302. package/dist/types/interface.d.ts +0 -1
  303. package/dist/types/utils/config.d.ts +0 -8
  304. package/dist/types/utils/overlay-control-label.d.ts +32 -0
  305. package/dist/types/utils/overlays.d.ts +11 -9
  306. package/dist/types/utils/sanitization/index.d.ts +58 -2
  307. package/dist/types/utils/select-option-render.d.ts +53 -0
  308. package/hydrate/index.js +1416 -1219
  309. package/hydrate/index.mjs +1416 -1219
  310. package/package.json +37 -5
  311. package/components/ion-picker-legacy-column.d.ts +0 -11
  312. package/components/ion-picker-legacy-column.js +0 -4
  313. package/components/ion-picker-legacy.d.ts +0 -11
  314. package/components/ion-picker-legacy.js +0 -4
  315. package/components/p-BI99_O7M.js +0 -4
  316. package/components/p-BeaZQGdD.js +0 -4
  317. package/components/p-BhiHTRHr.js +0 -4
  318. package/components/p-BjfgFSSR.js +0 -4
  319. package/components/p-BsPelv04.js +0 -4
  320. package/components/p-CU5rbWAW.js +0 -4
  321. package/components/p-Cg0yUncF.js +0 -4
  322. package/components/p-CiZjmDRO.js +0 -4
  323. package/components/p-CoDFQCkp.js +0 -4
  324. package/components/p-DfAYowgb.js +0 -4
  325. package/components/p-k_E4tX5Z.js +0 -4
  326. package/dist/cjs/config-xninhj0J.js +0 -201
  327. package/dist/collection/components/picker-legacy/animations/ios.enter.js +0 -27
  328. package/dist/collection/components/picker-legacy/animations/ios.leave.js +0 -23
  329. package/dist/collection/components/picker-legacy/picker-interface.js +0 -1
  330. package/dist/collection/components/picker-legacy/picker.ios.css +0 -300
  331. package/dist/collection/components/picker-legacy/picker.js +0 -890
  332. package/dist/collection/components/picker-legacy/picker.md.css +0 -287
  333. package/dist/collection/components/picker-legacy-column/picker-column.ios.css +0 -231
  334. package/dist/collection/components/picker-legacy-column/picker-column.js +0 -422
  335. package/dist/collection/components/picker-legacy-column/picker-column.md.css +0 -222
  336. package/dist/collection/components/picker-legacy-column/test/test.utils.js +0 -43
  337. package/dist/esm/config-DQCONYYp.js +0 -195
  338. package/dist/ionic/p-01f81ea5.entry.js +0 -4
  339. package/dist/ionic/p-06c232a4.entry.js +0 -4
  340. package/dist/ionic/p-20b1a044.entry.js +0 -4
  341. package/dist/ionic/p-21eb76d5.entry.js +0 -4
  342. package/dist/ionic/p-27d30585.entry.js +0 -4
  343. package/dist/ionic/p-28df2088.entry.js +0 -4
  344. package/dist/ionic/p-2bb2cb18.entry.js +0 -4
  345. package/dist/ionic/p-485fda23.entry.js +0 -4
  346. package/dist/ionic/p-4baa5b82.entry.js +0 -4
  347. package/dist/ionic/p-57e31cc8.entry.js +0 -4
  348. package/dist/ionic/p-766bbdff.entry.js +0 -4
  349. package/dist/ionic/p-8b4e6e7f.entry.js +0 -4
  350. package/dist/ionic/p-DzWaWHGc.js +0 -4
  351. package/dist/ionic/p-Dzyqeklk.js +0 -4
  352. package/dist/ionic/p-a21add2f.entry.js +0 -4
  353. package/dist/ionic/p-aa56131f.entry.js +0 -4
  354. package/dist/ionic/p-b580c366.entry.js +0 -4
  355. package/dist/ionic/p-badb48f9.entry.js +0 -4
  356. package/dist/ionic/p-c0fb8edd.entry.js +0 -4
  357. package/dist/ionic/p-c38b648e.entry.js +0 -4
  358. package/dist/ionic/p-c8739c33.entry.js +0 -4
  359. package/dist/ionic/p-e930122a.entry.js +0 -4
  360. package/dist/ionic/p-ec090e0a.entry.js +0 -4
  361. package/dist/types/components/picker-legacy/animations/ios.enter.d.ts +0 -5
  362. package/dist/types/components/picker-legacy/animations/ios.leave.d.ts +0 -5
  363. package/dist/types/components/picker-legacy/picker-interface.d.ts +0 -52
  364. package/dist/types/components/picker-legacy/picker.d.ts +0 -158
  365. package/dist/types/components/picker-legacy-column/picker-column.d.ts +0 -46
  366. package/dist/types/components/picker-legacy-column/test/test.utils.d.ts +0 -9
@@ -1,4 +0,0 @@
1
- /*!
2
- * (C) Ionic http://ionicframework.com - MIT License
3
- */
4
- import{p as t,H as o,e as i,f as e,w as a,c as r,h as s,d as n,t as d}from"./p-CHqRYvYm.js";import{a as h,i as l,d as p,r as c,f as m,p as f}from"./p-ijF0iCrA.js";import{C as u,a as b,d as v}from"./p-DnL1c9_X.js";import{f as x,g as w,r as g,d as k,k as y}from"./p-Baq1XyAy.js";import{c as A}from"./p-B-hirT0v.js";import{g as Y}from"./p-CIGNaXM1.js";import{G as C,O,F as D,e as E,B as S,j as M,k as T,f as B,g as P,h as j}from"./p-BhiHTRHr.js";import{g as I}from"./p-DiVJyqlX.js";import{e as R,w as N}from"./p-CtukzcyX.js";import{b as $}from"./p-DOFCbuQR.js";import{KEYBOARD_DID_OPEN as L}from"./p-D6Ynv7Xh.js";import{c as z}from"./p-CmR5uXej.js";import{g as F}from"./p-hHmYLOfE.js";import{createGesture as W}from"./p-Cl0B-RWe.js";import{w as H}from"./p-ZjP4CjeZ.js";import{d as V}from"./p--JUspHvy.js";var X;!function(t){t.Dark="DARK",t.Light="LIGHT",t.Default="DEFAULT"}(X||(X={}));const Z={getEngine(){const t=Y();if(null==t?void 0:t.isPluginAvailable("StatusBar"))return t.Plugins.StatusBar},setStyle(t){const o=this.getEngine();o&&o.setStyle(t)},getStyle:async function(){const t=this.getEngine();if(!t)return X.Default;const{style:o}=await t.getInfo();return o}},K=(t,o)=>{if(1===o)return 0;const i=1/(1-o);return t*i+-o*i},G=()=>{!H||H.innerWidth>=768||Z.setStyle({style:X.Dark})},U=(t=X.Default)=>{!H||H.innerWidth>=768||Z.setStyle({style:t})},_=async(t,o)=>{"function"==typeof t.canDismiss&&await t.canDismiss(void 0,C)&&(o.isRunning()?o.onFinish((()=>{t.dismiss(void 0,"handler")}),{oneTimeCallback:!0}):t.dismiss(void 0,"handler"))},q=t=>.00255275*2.71828**(-14.9619*t)-1.00255*2.71828**(-.0380968*t)+1,J=.915,Q=(t,o)=>x(400,t/Math.abs(1.1*o),500),tt=(t,o)=>{const i=window.innerHeight,e=t.getBoundingClientRect().top,a=Math.round(1e3*(1-o/(i-e)))/1e3;return Math.max(0,Math.min(1,a))},ot=t=>{const{currentBreakpoint:o,backdropBreakpoint:i,expandToScroll:e}=t,a=void 0===i||i<o,r=a?`calc(var(--backdrop-opacity) * ${o})`:"0",s=z("backdropAnimation").fromTo("opacity",0,r);return a&&s.beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),{wrapperAnimation:z("wrapperAnimation").keyframes([{offset:0,opacity:1,transform:"translateY(100%)"},{offset:1,opacity:1,transform:`translateY(${100-100*o}%)`}]),backdropAnimation:s,contentAnimation:e?void 0:z("contentAnimation").keyframes([{offset:0,opacity:1,maxHeight:100*(1-o)+"%"},{offset:1,opacity:1,maxHeight:100*o+"%"}])}},it=t=>{const{currentBreakpoint:o,backdropBreakpoint:i}=t,e=`calc(var(--backdrop-opacity) * ${K(o,i)})`,a=[{offset:0,opacity:e},{offset:1,opacity:0}],r=[{offset:0,opacity:e},{offset:i,opacity:0},{offset:1,opacity:0}],s=z("backdropAnimation").keyframes(0!==i?r:a);return{wrapperAnimation:z("wrapperAnimation").keyframes([{offset:0,opacity:1,transform:`translateY(${100-100*o}%)`},{offset:1,opacity:1,transform:"translateY(100%)"}]),backdropAnimation:s}},et=(t,o)=>{const{presentingEl:i,currentBreakpoint:e,expandToScroll:a}=o,r=w(t),{wrapperAnimation:s,backdropAnimation:n,contentAnimation:d}=void 0!==e?ot(o):{backdropAnimation:z().fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),wrapperAnimation:z().fromTo("transform","translateY(100vh)","translateY(0vh)"),contentAnimation:void 0};n.addElement(r.querySelector("ion-backdrop")),s.addElement(r.querySelectorAll(".modal-wrapper, .modal-shadow")).beforeStyles({opacity:1}),!a&&(null==d||d.addElement(t.querySelector(".ion-page")));const h=z("entering-base").addElement(t).easing("cubic-bezier(0.32,0.72,0,1)").duration(500).addAnimation([s]);if(d&&h.addAnimation(d),i){const t=window.innerWidth<768,o="ION-MODAL"===i.tagName&&void 0!==i.presentingElement,e=w(i),a=z().beforeStyles({transform:"translateY(0)","transform-origin":"top center",overflow:"hidden"}),r=document.body;if(t){const t=CSS.supports("width","max(0px, 1px)")?"max(30px, var(--ion-safe-area-top))":"30px",e=`translateY(${o?"-10px":t}) scale(0.915)`;a.afterStyles({transform:e}).beforeAddWrite((()=>r.style.setProperty("background-color","black"))).addElement(i).keyframes([{offset:0,filter:"contrast(1)",transform:"translateY(0px) scale(1)",borderRadius:"0px"},{offset:1,filter:"contrast(0.85)",transform:e,borderRadius:"10px 10px 0 0"}]),h.addAnimation(a)}else if(h.addAnimation(n),o){const t=`translateY(-10px) scale(${o?J:1})`;a.afterStyles({transform:t}).addElement(e.querySelector(".modal-wrapper")).keyframes([{offset:0,filter:"contrast(1)",transform:"translateY(0) scale(1)"},{offset:1,filter:"contrast(0.85)",transform:t}]);const i=z().afterStyles({transform:t}).addElement(e.querySelector(".modal-shadow")).keyframes([{offset:0,opacity:"1",transform:"translateY(0) scale(1)"},{offset:1,opacity:"0",transform:t}]);h.addAnimation([a,i])}else s.fromTo("opacity","0","1")}else h.addAnimation(n);return h},at=(t,o,i=500)=>{const{presentingEl:e,currentBreakpoint:a}=o,r=w(t),{wrapperAnimation:s,backdropAnimation:n}=void 0!==a?it(o):{backdropAnimation:z().fromTo("opacity","var(--backdrop-opacity)",0),wrapperAnimation:z().fromTo("transform","translateY(0vh)","translateY(100vh)")};n.addElement(r.querySelector("ion-backdrop")),s.addElement(r.querySelectorAll(".modal-wrapper, .modal-shadow")).beforeStyles({opacity:1});const d=z("leaving-base").addElement(t).easing("cubic-bezier(0.32,0.72,0,1)").duration(i).addAnimation(s);if(e){const t=window.innerWidth<768,o="ION-MODAL"===e.tagName&&void 0!==e.presentingElement,i=w(e),a=z().beforeClearStyles(["transform"]).afterClearStyles(["transform"]).onFinish((t=>{1===t&&(e.style.setProperty("overflow",""),Array.from(r.querySelectorAll("ion-modal:not(.overlay-hidden)")).filter((t=>void 0!==t.presentingElement)).length<=1&&r.style.setProperty("background-color",""))})),r=document.body;if(t){const t=CSS.supports("width","max(0px, 1px)")?"max(30px, var(--ion-safe-area-top))":"30px",i=`translateY(${o?"-10px":t}) scale(0.915)`;a.addElement(e).keyframes([{offset:0,filter:"contrast(0.85)",transform:i,borderRadius:"10px 10px 0 0"},{offset:1,filter:"contrast(1)",transform:"translateY(0px) scale(1)",borderRadius:"0px"}]),d.addAnimation(a)}else if(d.addAnimation(n),o){const t=`translateY(-10px) scale(${o?J:1})`;a.addElement(i.querySelector(".modal-wrapper")).afterStyles({transform:"translate3d(0, 0, 0)"}).keyframes([{offset:0,filter:"contrast(0.85)",transform:t},{offset:1,filter:"contrast(1)",transform:"translateY(0) scale(1)"}]);const e=z().addElement(i.querySelector(".modal-shadow")).afterStyles({transform:"translateY(0) scale(1)"}).keyframes([{offset:0,opacity:"0",transform:t},{offset:1,opacity:"1",transform:"translateY(0) scale(1)"}]);d.addAnimation([a,e])}else s.fromTo("opacity","1","0")}else d.addAnimation(n);return d},rt=(t,o)=>{const{currentBreakpoint:i,expandToScroll:e}=o,a=w(t),{wrapperAnimation:r,backdropAnimation:s,contentAnimation:n}=void 0!==i?ot(o):{backdropAnimation:z().fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),wrapperAnimation:z().keyframes([{offset:0,opacity:.01,transform:"translateY(40px)"},{offset:1,opacity:1,transform:"translateY(0px)"}]),contentAnimation:void 0};s.addElement(a.querySelector("ion-backdrop")),r.addElement(a.querySelector(".modal-wrapper")),!e&&(null==n||n.addElement(t.querySelector(".ion-page")));const d=z().addElement(t).easing("cubic-bezier(0.36,0.66,0.04,1)").duration(280).addAnimation([s,r]);return n&&d.addAnimation(n),d},st=(t,o)=>{const{currentBreakpoint:i}=o,e=w(t),{wrapperAnimation:a,backdropAnimation:r}=void 0!==i?it(o):{backdropAnimation:z().fromTo("opacity","var(--backdrop-opacity)",0),wrapperAnimation:z().keyframes([{offset:0,opacity:.99,transform:"translateY(0px)"},{offset:1,opacity:0,transform:"translateY(40px)"}])};return r.addElement(e.querySelector("ion-backdrop")),a.addElement(e.querySelector(".modal-wrapper")),z().easing("cubic-bezier(0.47,0,0.745,0.715)").duration(200).addAnimation([r,a])},nt=new Set(["","100%","100vw","100vh","100dvw","100dvh","100svw","100svh"]);let dt=null,ht=!1;const lt=t=>{const o=getComputedStyle(t),i=o.getPropertyValue("--width").trim(),e=o.getPropertyValue("--height").trim();return!nt.has(i)&&!nt.has(e)},pt=(t,o)=>{t.style.setProperty("--ion-safe-area-top",o.top),t.style.setProperty("--ion-safe-area-bottom",o.bottom),t.style.setProperty("--ion-safe-area-left",o.left),t.style.setProperty("--ion-safe-area-right",o.right)},ct=t(class extends o{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.didPresent=i(this,"ionModalDidPresent",7),this.willPresent=i(this,"ionModalWillPresent",7),this.willDismiss=i(this,"ionModalWillDismiss",7),this.didDismiss=i(this,"ionModalDidDismiss",7),this.ionBreakpointDidChange=i(this,"ionBreakpointDidChange",7),this.didPresentShorthand=i(this,"didPresent",7),this.willPresentShorthand=i(this,"willPresent",7),this.willDismissShorthand=i(this,"willDismiss",7),this.didDismissShorthand=i(this,"didDismiss",7),this.ionMount=i(this,"ionMount",7),this.ionDragStart=i(this,"ionDragStart",7),this.ionDragMove=i(this,"ionDragMove",7),this.ionDragEnd=i(this,"ionDragEnd",7),this.lockController=A(),this.triggerController=E(),this.coreDelegate=u(),this.isSheetModal=!1,this.inheritedAttributes={},this.inline=!1,this.gestureAnimationDismissing=!1,this.presented=!1,this.hasController=!1,this.keyboardClose=!0,this.expandToScroll=!0,this.backdropBreakpoint=0,this.handleBehavior="none",this.backdropDismiss=!0,this.showBackdrop=!0,this.animated=!0,this.isOpen=!1,this.keepContentsMounted=!1,this.focusTrap=!0,this.canDismiss=!0,this.onHandleClick=()=>{const{sheetTransition:t,handleBehavior:o}=this;"cycle"===o&&void 0===t&&this.moveToNextBreakpoint()},this.onBackdropTap=()=>{const{sheetTransition:t}=this;void 0===t&&this.dismiss(void 0,S)},this.onLifecycle=t=>{const o=this.usersElement,i=mt[t.type];if(o&&i){const e=new CustomEvent(i,{bubbles:!1,cancelable:!1,detail:t.detail});o.dispatchEvent(e)}},this.onModalFocus=t=>{const{dragHandleEl:o,el:i}=this;t.target===i&&o&&-1!==o.tabIndex&&o.focus()},this.onSlotChange=({target:t})=>{t.assignedElements().forEach((t=>{t.querySelectorAll("ion-modal").forEach((t=>{null===t.getAttribute("data-parent-ion-modal")&&t.setAttribute("data-parent-ion-modal",this.el.id)}))}))}}onIsOpenChange(t,o){!0===t&&!1===o?this.present():!1===t&&!0===o&&this.dismiss()}triggerChanged(){const{trigger:t,el:o,triggerController:i}=this;t&&i.addClickListener(o,t)}onWindowResize(){this.presented&&(clearTimeout(this.resizeTimeout),this.resizeTimeout=setTimeout((()=>{const t=this.getSafeAreaContext();if(!t.isCardModal||this.enterAnimation||this.leaveAnimation||this.handleViewTransition(),t.isSheetModal&&this.updateSheetOffsetTop(),!t.isSheetModal&&!t.isCardModal){this.updateSafeAreaOverrides();const{contentEl:t,hasFooter:o}=this.findContentAndFooter();this.clearContentSafeAreaPadding(t),this.applyFullscreenSafeAreaTo(t,o)}}),50))}breakpointsChanged(t){void 0!==t&&(this.sortedBreakpoints=t.sort(((t,o)=>t-o)))}connectedCallback(){const{el:t}=this;M(t),this.triggerChanged()}disconnectedCallback(){this.triggerController.removeClickListener(),this.cleanupViewTransitionListener(),this.cleanupParentRemovalObserver(),this.cleanupSafeAreaOverrides()}componentWillLoad(){var t;const{breakpoints:o,initialBreakpoint:i,el:a,htmlAttributes:r}=this,s=this.isSheetModal=void 0!==o&&void 0!==i,n=["aria-label","role"];this.inheritedAttributes=k(a,n),a.parentNode&&(this.cachedOriginalParent=a.parentNode),void 0!==r&&n.forEach((t=>{r[t]&&(this.inheritedAttributes=Object.assign(Object.assign({},this.inheritedAttributes),{[t]:r[t]}),delete r[t])})),s&&(this.currentBreakpoint=this.initialBreakpoint),void 0===o||void 0===i||o.includes(i)||e("[ion-modal] - Your breakpoints array must include the initialBreakpoint value."),(null===(t=this.htmlAttributes)||void 0===t?void 0:t.id)||T(this.el)}componentDidLoad(){!0===this.isOpen&&g((()=>this.present())),this.breakpointsChanged(this.breakpoints),this.triggerChanged()}getDelegate(t=!1){if(this.workingDelegate&&!t)return{delegate:this.workingDelegate,inline:this.inline};const o=this.inline=null!==this.el.parentNode&&!this.hasController;return{inline:o,delegate:this.workingDelegate=o?this.delegate||this.coreDelegate:this.delegate}}async checkCanDismiss(t,o){const{canDismiss:i}=this;return"function"==typeof i?i(t,o):i}async present(){const t=await this.lockController.lock();if(this.presented)return void t();const{presentingElement:o,el:i}=this;this.currentBreakpoint=this.initialBreakpoint;const{inline:e,delegate:r}=this.getDelegate(!0);this.ionMount.emit(),this.usersElement=await b(r,i,this.component,["ion-page"],this.componentProps,e),y(i)?await R(this.usersElement):this.keepContentsMounted||await N(),a((()=>this.el.classList.add("show-modal"))),this.isSheetModal=void 0!==this.breakpoints&&void 0!==this.initialBreakpoint,this.setInitialSafeAreaOverrides();const s=void 0!==o;s&&"ios"===$(this)&&(this.statusBarStyle=await Z.getStyle(),G()),await B(this,"modalEnter",et,rt,{presentingEl:o,currentBreakpoint:this.initialBreakpoint,backdropBreakpoint:this.backdropBreakpoint,expandToScroll:this.expandToScroll}),this.updateSafeAreaOverrides(),this.applyFullscreenSafeArea(),"undefined"!=typeof window&&(this.keyboardOpenCallback=()=>{this.gesture&&(this.gesture.enable(!1),g((()=>{this.gesture&&this.gesture.enable(!0)})))},window.addEventListener(L,this.keyboardOpenCallback)),this.isSheetModal?this.initSheetGesture():s&&this.initSwipeToClose(),this.initViewTransitionListener(),this.initParentRemovalObserver(),t()}initSwipeToClose(){var t;if("ios"!==$(this))return;const{el:o}=this,i=this.leaveAnimation||r.get("modalLeave",at),e=this.animation=i(o,{presentingEl:this.presentingElement,expandToScroll:this.expandToScroll});if(!m(o))return void f(o);const a=null!==(t=this.statusBarStyle)&&void 0!==t?t:X.Default;this.gesture=((t,o,i,e,a,r,s)=>{const n=.5,d=t.offsetHeight;let m=!1,f=!1,u=null,b=null,v=!0,g=0;const k=W({el:t,gestureName:"modalSwipeToClose",gesturePriority:O,direction:"y",threshold:10,canStart:t=>{const o=t.event.target;if(null===o||!o.closest)return!0;if(u=h(o),u){if(l(u)){const t=w(u);b=t.querySelector(".inner-scroll")}else b=u;return!u.querySelector("ion-refresher")&&0===b.scrollTop}return null===o.closest("ion-footer")},onStart:i=>{const{deltaY:e}=i;v=!u||!l(u)||u.scrollY,f=void 0!==t.canDismiss&&!0!==t.canDismiss,e>0&&u&&p(u),o.progressStart(!0,m?1:0),a()},onMove:e=>{const{deltaY:a}=e;a>0&&u&&p(u);const s=e.deltaY/d,h=s>=0&&f,l=h?.2:.9999,c=h?q(s/l):s,m=x(1e-4,c,l);o.progressStep(m),m>=n&&g<n?U(i):m<n&&g>=n&&G(),g=m;const b={currentY:e.currentY,deltaY:e.deltaY,velocityY:e.velocityY,progress:tt(t,e.deltaY)};r(b)},onEnd:i=>{const a=i.velocityY,r=i.deltaY/d,h=r>=0&&f,l=h?.2:.9999,p=h?q(r/l):r,b=x(1e-4,p,l),w=!h&&(i.deltaY+1e3*a)/d>=n;let g=w?-.001:.001;w?(o.easing("cubic-bezier(0.32, 0.72, 0, 1)"),g+=F([0,0],[.32,.72],[0,1],[1,1],b)[0]):(o.easing("cubic-bezier(1, 0, 0.68, 0.28)"),g+=F([0,0],[1,0],[.68,.28],[1,1],b)[0]);const y=Q(w?r*d:(1-b)*d,a);m=w,k.enable(!1),u&&c(u,v),o.onFinish((()=>{w||k.enable(!0)})).progressEnd(w?1:0,g,y),h&&b>l/4?_(t,o):w&&e();const A={currentY:i.currentY,deltaY:i.deltaY,velocityY:i.velocityY,progress:tt(t,i.deltaY)};s(A)}});return k})(o,e,a,(()=>this.cardOnDismiss()),(()=>this.onDragStart()),(t=>this.onDragMove(t)),(t=>this.onDragEnd(t))),this.gesture.enable(!0)}initSheetGesture(){const{wrapperEl:t,initialBreakpoint:o,backdropBreakpoint:i}=this;if(!t||void 0===o)return;const e=this.enterAnimation||r.get("modalEnter",et),a=this.animation=e(this.el,{presentingEl:this.presentingElement,currentBreakpoint:o,backdropBreakpoint:i,expandToScroll:this.expandToScroll});a.progressStart(!0,1);const{gesture:s,moveSheetToBreakpoint:n}=((t,o,i,e,a,r,s=[],n,d,p,c,m,f,u)=>{const b={WRAPPER_KEYFRAMES:[{offset:0,transform:"translateY(0%)"},{offset:1,transform:"translateY(100%)"}],BACKDROP_KEYFRAMES:0!==a?[{offset:0,opacity:"var(--backdrop-opacity)"},{offset:1-a,opacity:0},{offset:1,opacity:0}]:[{offset:0,opacity:"var(--backdrop-opacity)"},{offset:1,opacity:.01}],CONTENT_KEYFRAMES:[{offset:0,maxHeight:"100%"},{offset:1,maxHeight:"0%"}]},v=t.querySelector("ion-content"),k=i.clientHeight;let y=e,A=0,Y=!1,C=null,O=null,E=null,S=null;const M=s[s.length-1],T=s[0],B=r.childAnimations.find((t=>"wrapperAnimation"===t.id)),P=r.childAnimations.find((t=>"backdropAnimation"===t.id)),j=r.childAnimations.find((t=>"contentAnimation"===t.id)),I=()=>{!1!==t.focusTrap&&!1!==t.showBackdrop&&(t.style.setProperty("pointer-events","auto"),o.style.setProperty("pointer-events","auto"),t.classList.remove(D))},R=()=>{t.style.setProperty("pointer-events","none"),o.style.setProperty("pointer-events","none"),t.classList.add(D)},N=o=>{if(!O&&(O=Array.from(t.querySelectorAll("ion-footer")),!O.length))return;const i=t.querySelector(".ion-page");if(S=o,"stationary"===o)O.forEach((t=>{t.classList.remove("modal-footer-moving"),t.style.removeProperty("position"),t.style.removeProperty("width"),t.style.removeProperty("height"),t.style.removeProperty("top"),t.style.removeProperty("left"),null==i||i.style.removeProperty("padding-bottom"),null==i||i.appendChild(t)}));else{let o=0;O.forEach(((i,e)=>{const a=i.getBoundingClientRect(),r=document.body.getBoundingClientRect();o+=i.clientHeight;const s=a.top-r.top,n=a.left-r.left;if(i.style.setProperty("--pinned-width",`${i.clientWidth}px`),i.style.setProperty("--pinned-height",`${i.clientHeight}px`),i.style.setProperty("--pinned-top",`${s}px`),i.style.setProperty("--pinned-left",`${n}px`),0===e){E=s;const o=t.querySelector("ion-header");o&&(E-=o.clientHeight)}})),O.forEach((t=>{null==i||i.style.setProperty("padding-bottom",`${o}px`),t.classList.add("modal-footer-moving"),t.style.setProperty("position","absolute"),t.style.setProperty("width","var(--pinned-width)"),t.style.setProperty("height","var(--pinned-height)"),t.style.setProperty("top","var(--pinned-top)"),t.style.setProperty("left","var(--pinned-left)"),document.body.appendChild(t)}))}};B&&P&&(B.keyframes([...b.WRAPPER_KEYFRAMES]),P.keyframes([...b.BACKDROP_KEYFRAMES]),null==j||j.keyframes([...b.CONTENT_KEYFRAMES]),r.progressStart(!0,1-y),y>a&&!1!==t.focusTrap&&!1!==t.showBackdrop?I():R()),v&&y!==M&&n&&(v.scrollY=!1);const $=o=>{const{breakpoint:i,canDismiss:e,breakpointOffset:d,animated:h}=o,l=e&&0===i,m=l?y:i,f=0!==m;return y=0,B&&P&&(B.keyframes([{offset:0,transform:`translateY(${100*d}%)`},{offset:1,transform:`translateY(${100*(1-m)}%)`}]),P.keyframes([{offset:0,opacity:`calc(var(--backdrop-opacity) * ${K(1-d,a)})`},{offset:1,opacity:`calc(var(--backdrop-opacity) * ${K(m,a)})`}]),j&&j.keyframes([{offset:0,maxHeight:100*(1-d)+"%"},{offset:1,maxHeight:100*m+"%"}]),r.progressStep(0)),H.enable(!1),l?_(t,r):f||p(),!v||m!==s[s.length-1]&&n||(v.scrollY=!0),n||0!==m||N("stationary"),new Promise((o=>{r.onFinish((()=>{f?(n||N("stationary"),B&&P?g((()=>{B.keyframes([...b.WRAPPER_KEYFRAMES]),P.keyframes([...b.BACKDROP_KEYFRAMES]),null==j||j.keyframes([...b.CONTENT_KEYFRAMES]),r.progressStart(!0,1-m),y=m,c(y),y>a&&!1!==t.focusTrap&&!1!==t.showBackdrop?I():R(),H.enable(!0),o()})):(H.enable(!0),o())):o()}),{oneTimeCallback:!0}).progressEnd(1,0,h?500:0)}))},L=t=>{const o=i.getBoundingClientRect().top+t,e=z(o);return s.reduce(((t,o)=>Math.abs(o-e)<Math.abs(t-e)?o:t))},z=t=>{const o=s[s.length-1],i=F(s[0]),e=F(o),a=Math.round((i-t)/(i-e)*1e3)/1e3;return Math.max(0,Math.min(1,a))},F=o=>{const i=t.getBoundingClientRect();return window.innerHeight-i.height*o},H=W({el:i,gestureName:"modalSheet",gesturePriority:40,direction:"y",threshold:10,canStart:t=>{const o=h(t.event.target);if(y=d(),!n&&o)return 0===(l(o)?w(o).querySelector(".inner-scroll"):o).scrollTop;if(1===y&&o){const t=l(o)?w(o).querySelector(".inner-scroll"):o;return!o.querySelector("ion-refresher")&&0===t.scrollTop}return!0},onStart:o=>{if(Y=void 0!==t.canDismiss&&!0!==t.canDismiss&&0===T,!n){const t=h(o.event.target);C=t&&l(t)?w(t).querySelector(".inner-scroll"):t}n||N("moving"),o.deltaY>0&&v&&(v.scrollY=!1),g((()=>{t.focus()})),r.progressStart(!0,1-y),m()},onMove:t=>{if(n||null===E||null===S||(t.currentY>=E&&"moving"===S?N("stationary"):t.currentY<E&&"stationary"===S&&N("moving")),!n&&t.deltaY<=0&&C)return;t.deltaY>0&&v&&(v.scrollY=!1);const o=s.length>1?1-s[1]:void 0,i=1-y+t.deltaY/k,e=void 0!==o&&i>=o&&Y,a=e?.95:.9999,d=e&&void 0!==o?o+q((i-o)/(a-o)):i;A=x(1e-4,d,a),r.progressStep(A);const h=L(t.deltaY),l={currentY:t.currentY,deltaY:t.deltaY,velocityY:t.velocityY,progress:z(t.currentY),snapBreakpoint:h};f(l)},onEnd:t=>{const o=L(t.deltaY),i={currentY:t.currentY,deltaY:t.deltaY,velocityY:t.velocityY,progress:z(t.currentY),snapBreakpoint:o};if(!n&&t.deltaY<=0&&C&&C.scrollTop>0)return N("stationary"),void u(i);$({breakpoint:o,breakpointOffset:A,canDismiss:Y,animated:!0}),u(i)}});return{gesture:H,moveSheetToBreakpoint:$}})(this.el,this.backdropEl,t,o,i,a,this.sortedBreakpoints,this.expandToScroll,(()=>{var t;return null!==(t=this.currentBreakpoint)&&void 0!==t?t:0}),(()=>this.sheetOnDismiss()),(t=>{this.currentBreakpoint!==t&&(this.currentBreakpoint=t,this.ionBreakpointDidChange.emit({breakpoint:t}))}),(()=>this.onDragStart()),(t=>this.onDragMove(t)),(t=>this.onDragEnd(t)));this.gesture=s,this.moveSheetToBreakpoint=n,this.gesture.enable(!0),(!1===this.showBackdrop||!1===this.focusTrap||i>0)&&this.setupChildRoutePassthrough()}setupChildRoutePassthrough(){var t;this.cachedPageParent=this.getOriginalPageParent();const i=this.cachedPageParent;if(!i||"ION-APP"===i.tagName)return;const e=Array.from(i.children).some((t=>{var i;return!(t===this.el||t instanceof o&&"none"===window.getComputedStyle(t).display||"TEMPLATE"===t.tagName||"SLOT"===t.tagName||t.nodeType===Node.TEXT_NODE&&!(null===(i=t.textContent)||void 0===i?void 0:i.trim()))}));if(e)return;i.classList.add("ion-page-overlay-passthrough");const a=i.parentElement;"ION-ROUTER-OUTLET"===(null==a?void 0:a.tagName)&&"ION-APP"!==(null===(t=a.parentElement)||void 0===t?void 0:t.tagName)&&(a.style.setProperty("pointer-events","none"),a.setAttribute("data-overlay-passthrough","true"))}getOriginalPageParent(){if(!this.cachedOriginalParent)return null;let t=this.cachedOriginalParent;for(;t&&!t.classList.contains("ion-page");)t=t.parentElement;return t}cleanupChildRoutePassthrough(){const t=this.cachedPageParent;if(!t)return;t.classList.remove("ion-page-overlay-passthrough");const o=t.parentElement;(null==o?void 0:o.hasAttribute("data-overlay-passthrough"))&&(o.style.removeProperty("pointer-events"),o.removeAttribute("data-overlay-passthrough")),this.cachedPageParent=void 0}sheetOnDismiss(){this.gestureAnimationDismissing=!0,this.animation.onFinish((async()=>{this.currentBreakpoint=0,this.ionBreakpointDidChange.emit({breakpoint:this.currentBreakpoint}),await this.dismiss(void 0,C),this.gestureAnimationDismissing=!1}))}cardOnDismiss(){this.gestureAnimationDismissing=!0,U(this.statusBarStyle),this.animation.onFinish((async()=>{await this.dismiss(void 0,C),this.gestureAnimationDismissing=!1}))}async dismiss(t,o){var i;if(this.gestureAnimationDismissing&&o!==C)return!1;clearTimeout(this.resizeTimeout),this.resizeTimeout=void 0;const e=await this.lockController.lock();if(await this.dismissNestedModals(),"handler"!==o&&!await this.checkCanDismiss(t,o))return e(),!1;const{presentingElement:r}=this;void 0!==r&&"ios"===$(this)&&U(this.statusBarStyle),"undefined"!=typeof window&&this.keyboardOpenCallback&&(window.removeEventListener(L,this.keyboardOpenCallback),this.keyboardOpenCallback=void 0);const s=await P(this,t,o,"modalLeave",at,st,{presentingEl:r,currentBreakpoint:null!==(i=this.currentBreakpoint)&&void 0!==i?i:this.initialBreakpoint,backdropBreakpoint:this.backdropBreakpoint,expandToScroll:this.expandToScroll});if(s){const{delegate:t}=this.getDelegate();await v(t,this.usersElement),a((()=>this.el.classList.remove("show-modal"))),this.animation&&this.animation.destroy(),this.gesture&&this.gesture.destroy(),this.cleanupViewTransitionListener(),this.cleanupParentRemovalObserver(),this.cleanupSafeAreaOverrides(),this.cleanupChildRoutePassthrough()}return this.currentBreakpoint=void 0,this.animation=void 0,e(),s}onDidDismiss(){return j(this.el,"ionModalDidDismiss")}onWillDismiss(){return j(this.el,"ionModalWillDismiss")}async setCurrentBreakpoint(t){if(!this.isSheetModal)return void e("[ion-modal] - setCurrentBreakpoint is only supported on sheet modals.");if(!this.breakpoints.includes(t))return void e(`[ion-modal] - Attempted to set invalid breakpoint value ${t}. Please double check that the breakpoint value is part of your defined breakpoints.`);const{currentBreakpoint:o,moveSheetToBreakpoint:i,canDismiss:a,breakpoints:r,animated:s}=this;o!==t&&i&&(this.sheetTransition=i({breakpoint:t,breakpointOffset:1-o,canDismiss:void 0!==a&&!0!==a&&0===r[0],animated:s}),await this.sheetTransition,this.sheetTransition=void 0)}async getCurrentBreakpoint(){return this.currentBreakpoint}async moveToNextBreakpoint(){const{breakpoints:t,currentBreakpoint:o}=this;if(!t||null==o)return!1;const i=t.filter((t=>0!==t)),e=i.indexOf(o),a=i[(e+1)%i.length];return await this.setCurrentBreakpoint(a),!0}initViewTransitionListener(){"ios"!==$(this)||!this.presentingElement||this.enterAnimation||this.leaveAnimation||(this.currentViewIsPortrait=window.innerWidth<768)}handleViewTransition(){if(!this.presented)return;const t=window.innerWidth<768;if(this.currentViewIsPortrait===t)return;this.viewTransitionAnimation&&(this.viewTransitionAnimation.destroy(),this.viewTransitionAnimation=void 0);const{presentingElement:o}=this;if(!o)return;let i;i=this.currentViewIsPortrait&&!t?((t,o,i=300)=>{const{presentingEl:e}=o;if(!e)return z("portrait-to-landscape-transition");const a="ION-MODAL"===e.tagName&&void 0!==e.presentingElement,r=w(e),s=document.body,n=z("portrait-to-landscape-transition").addElement(t).easing("cubic-bezier(0.32,0.72,0,1)").duration(i),d=z().beforeStyles({transform:"translateY(0)","transform-origin":"top center",overflow:"hidden"});if(a){const t="translateY(-10px) scale(0.915)",o="translateY(0px) scale(1)";d.addElement(e).afterStyles({transform:o}).fromTo("transform",t,o).fromTo("filter","contrast(0.85)","contrast(1)");const i=z().addElement(r.querySelector(".modal-shadow")).afterStyles({transform:o,opacity:"0"}).fromTo("transform",t,o);n.addAnimation([d,i])}else{const o=w(t),i=z().addElement(o.querySelectorAll(".modal-wrapper, .modal-shadow")).fromTo("opacity","1","1"),a=z().addElement(o.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)","var(--backdrop-opacity)"),r=`translateY(${CSS.supports("width","max(0px, 1px)")?"max(30px, var(--ion-safe-area-top))":"30px"}) scale(0.915)`;d.addElement(e).afterStyles({transform:"translateY(0px) scale(1)","border-radius":"0px"}).beforeAddWrite((()=>s.style.setProperty("background-color",""))).fromTo("transform",r,"translateY(0px) scale(1)").fromTo("filter","contrast(0.85)","contrast(1)").fromTo("border-radius","10px 10px 0 0","0px"),n.addAnimation([d,i,a])}return n})(this.el,{presentingEl:o}):((t,o,i=300)=>{const{presentingEl:e}=o;if(!e)return z("landscape-to-portrait-transition");const a="ION-MODAL"===e.tagName&&void 0!==e.presentingElement,r=w(e),s=document.body,n=z("landscape-to-portrait-transition").addElement(t).easing("cubic-bezier(0.32,0.72,0,1)").duration(i),d=z().beforeStyles({transform:"translateY(0)","transform-origin":"top center",overflow:"hidden"});if(a){const t="translateY(-10px) scale(0.915)",o="translateY(0) scale(1)";d.addElement(e).afterStyles({transform:o}).fromTo("transform",t,o);const i=z().addElement(r.querySelector(".modal-shadow")).afterStyles({transform:o,opacity:"0"}).fromTo("transform",t,o);n.addAnimation([d,i])}else{const o=w(t),i=z().addElement(o.querySelectorAll(".modal-wrapper, .modal-shadow")).fromTo("opacity","1","1"),a=z().addElement(o.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)","var(--backdrop-opacity)"),r=`translateY(${CSS.supports("width","max(0px, 1px)")?"max(30px, var(--ion-safe-area-top))":"30px"}) scale(0.915)`;d.addElement(e).afterStyles({transform:r}).beforeAddWrite((()=>s.style.setProperty("background-color","black"))).keyframes([{offset:0,transform:"translateY(0px) scale(1)",filter:"contrast(1)",borderRadius:"0px"},{offset:.2,transform:"translateY(0px) scale(1)",filter:"contrast(1)",borderRadius:"10px 10px 0 0"},{offset:1,transform:r,filter:"contrast(0.85)",borderRadius:"10px 10px 0 0"}]),n.addAnimation([d,i,a])}return n})(this.el,{presentingEl:o}),this.currentViewIsPortrait=t,this.viewTransitionAnimation=i,i.play().then((()=>{this.viewTransitionAnimation=void 0,g((()=>this.updateSafeAreaOverrides())),this.reinitSwipeToClose()}))}cleanupViewTransitionListener(){this.resizeTimeout&&(clearTimeout(this.resizeTimeout),this.resizeTimeout=void 0),this.viewTransitionAnimation&&(this.viewTransitionAnimation.destroy(),this.viewTransitionAnimation=void 0)}reinitSwipeToClose(){"ios"===$(this)&&this.presentingElement&&(this.gesture&&(this.gesture.destroy(),this.gesture=void 0),this.animation&&(this.animation.progressEnd(0,0,0),this.animation.destroy(),this.animation=void 0),g((()=>{this.ensureCorrectModalPosition(),this.initSwipeToClose()})))}ensureCorrectModalPosition(){const{el:t,presentingElement:o}=this,i=w(t).querySelector(".modal-wrapper");if(i&&(i.style.transform="translateY(0vh)",i.style.opacity="1"),"ION-MODAL"===(null==o?void 0:o.tagName))if(window.innerWidth<768){const t=CSS.supports("width","max(0px, 1px)")?"max(30px, var(--ion-safe-area-top))":"30px";o.style.transform=`translateY(${t}) scale(0.915)`}else o.style.transform="translateY(0px) scale(1)"}async dismissNestedModals(){const t=document.querySelectorAll(`ion-modal[data-parent-ion-modal="${this.el.id}"]`);null==t||t.forEach((async t=>{await t.dismiss(void 0,"parent-dismissed")}))}initParentRemovalObserver(){"undefined"!=typeof MutationObserver&&"undefined"!=typeof window&&this.cachedOriginalParent&&this.cachedOriginalParent.nodeType!==Node.DOCUMENT_NODE&&this.cachedOriginalParent.nodeType!==Node.DOCUMENT_FRAGMENT_NODE&&(this.hasController||this.cachedOriginalParent===document.body||"ION-APP"===this.cachedOriginalParent.tagName||(this.parentRemovalObserver=new MutationObserver((t=>{t.forEach((t=>{"childList"===t.type&&t.removedNodes.length>0&&(Array.from(t.removedNodes).some((t=>{var o,i;const e=t===this.cachedOriginalParent,a=!!this.cachedOriginalParent&&(null===(i=(o=t).contains)||void 0===i?void 0:i.call(o,this.cachedOriginalParent));return e||a}))||this.cachedOriginalParent&&!this.cachedOriginalParent.isConnected)&&(this.dismiss(void 0,"parent-removed"),this.cachedOriginalParent=void 0)}))})),this.parentRemovalObserver.observe(document.body,{childList:!0,subtree:!0})))}cleanupParentRemovalObserver(){var t;null===(t=this.parentRemovalObserver)||void 0===t||t.disconnect(),this.parentRemovalObserver=void 0}onDragStart(){this.ionDragStart.emit()}onDragMove(t){this.ionDragMove.emit(t)}onDragEnd(t){this.ionDragEnd.emit(t)}getSafeAreaContext(){return{isSheetModal:this.isSheetModal,isCardModal:void 0!==this.presentingElement&&"ios"===$(this),presentingElement:this.presentingElement,breakpoints:this.breakpoints,currentBreakpoint:this.currentBreakpoint}}setInitialSafeAreaOverrides(){const t=Object.assign(Object.assign({},this.getSafeAreaContext()),{hasCustomDimensions:lt(this.el)}),o=(t=>{const{isSheetModal:o,isCardModal:i}=t;return o?{top:"0px",bottom:"inherit",left:"0px",right:"0px"}:i?{top:"inherit",bottom:"inherit",left:"0px",right:"0px"}:H&&H.matchMedia("(min-width: 768px) and (min-height: 600px)").matches||t.hasCustomDimensions?{top:"0px",bottom:"0px",left:"0px",right:"0px"}:{top:"inherit",bottom:"inherit",left:"inherit",right:"inherit"}})(t);pt(this.el,o),t.isSheetModal&&this.updateSheetOffsetTop()}updateSheetOffsetTop(){const t=(()=>{if(null!==dt)return dt;const t=null==H?void 0:H.document;if(!(null==t?void 0:t.body))return 0;const o=t.createElement("div");o.style.cssText="position:fixed;visibility:hidden;pointer-events:none;top:0;left:0;padding-top:var(--ion-safe-area-top,0px);",t.body.appendChild(o);const i=parseFloat(getComputedStyle(o).paddingTop)||0;return o.remove(),dt=i,ht||(ht=!0,g((()=>{dt=null,ht=!1}))),i})();this.el.style.setProperty("--ion-modal-offset-top",`${t}px`)}updateSafeAreaOverrides(){const{wrapperEl:t,el:o}=this,i=this.getSafeAreaContext();if(i.isSheetModal)return;if(i.isCardModal)return;if(!t)return;const e=(t=>{var o,i;const e=t.getBoundingClientRect(),a=null!==(o=null==H?void 0:H.innerHeight)&&void 0!==o?o:0,r=null!==(i=null==H?void 0:H.innerWidth)&&void 0!==i?i:0;return{top:e.top<=5?"inherit":"0px",bottom:e.bottom>=a-5?"inherit":"0px",left:e.left<=5?"inherit":"0px",right:e.right>=r-5?"inherit":"0px"}})(t);pt(o,e)}applyFullscreenSafeArea(){const t=this.getSafeAreaContext();if(t.isSheetModal||t.isCardModal)return;const{contentEl:o,hasFooter:i}=this.findContentAndFooter();this.applyFullscreenSafeAreaTo(o,i)}applyFullscreenSafeAreaTo(t,o){t&&!o&&t.style.setProperty("--internal-content-safe-area-padding-bottom","var(--ion-safe-area-bottom, 0px)")}clearContentSafeAreaPadding(t){t&&t.style.removeProperty("--internal-content-safe-area-padding-bottom")}findContentAndFooter(){let t=null,o=!1;for(const i of Array.from(this.el.children)){"ION-CONTENT"===i.tagName&&(t=i),"ION-FOOTER"===i.tagName&&(o=!0);for(const e of Array.from(i.children))"ION-CONTENT"!==e.tagName||t||(t=e),"ION-FOOTER"===e.tagName&&(o=!0)}return{contentEl:t,hasFooter:o}}cleanupSafeAreaOverrides(){var t;(t=this.el).style.removeProperty("--ion-safe-area-top"),t.style.removeProperty("--ion-safe-area-bottom"),t.style.removeProperty("--ion-safe-area-left"),t.style.removeProperty("--ion-safe-area-right"),this.el.style.removeProperty("--ion-modal-offset-top");const{contentEl:o}=this.findContentAndFooter();this.clearContentSafeAreaPadding(o)}render(){const{handle:t,isSheetModal:o,presentingElement:i,htmlAttributes:e,handleBehavior:a,inheritedAttributes:r,focusTrap:d,expandToScroll:h}=this,l=!1!==t&&o,p=$(this),c=void 0!==i&&"ios"===p,m="cycle"===a;return s(n,Object.assign({key:"ab93657f4a5b4c97168d292b398d975e4b5b4af4","no-router":!0,tabIndex:m&&o&&l?0:-1},e,{style:{zIndex:`${2e4+this.overlayIndex}`},class:Object.assign({[p]:!0,"modal-default":!c&&!o,"modal-card":c,"modal-sheet":o,"modal-no-expand-scroll":o&&!h,"overlay-hidden":!0,[D]:!1===d},I(this.cssClass)),onIonBackdropTap:this.onBackdropTap,onIonModalDidPresent:this.onLifecycle,onIonModalWillPresent:this.onLifecycle,onIonModalWillDismiss:this.onLifecycle,onIonModalDidDismiss:this.onLifecycle,onFocus:this.onModalFocus}),s("ion-backdrop",{key:"5ba6315c7c8c64fa04c62f85fd493da5275b2cbd",ref:t=>this.backdropEl=t,visible:this.showBackdrop,tappable:this.backdropDismiss,part:"backdrop"}),"ios"===p&&s("div",{key:"a76c48d41c67f86c18a7481e980e6925e614f85d",class:"modal-shadow"}),s("div",Object.assign({key:"472beb0ea2c77ef91087e66f1c8af2be5eff04a7",role:"dialog"},r,{"aria-modal":"true",tabIndex:c||o?void 0:-1,class:"modal-wrapper ion-overlay-wrapper",part:"content",ref:t=>this.wrapperEl=t}),l&&s("button",{key:"d5e46503ae98e86b9110ce5835fa326d2f762731",class:"modal-handle",tabIndex:m?0:-1,"aria-label":"Activate to adjust the size of the dialog overlaying the screen",onClick:m?this.onHandleClick:void 0,part:"handle",ref:t=>this.dragHandleEl=t}),s("slot",{key:"8ec7c7c8bd214b3d1818cdaed3e5fc52a5b34bde",onSlotchange:this.onSlotChange})))}get el(){return this}static get watchers(){return{isOpen:[{onIsOpenChange:0}],trigger:[{triggerChanged:0}],breakpoints:[{breakpointsChanged:0}]}}static get style(){return{ios:':host{--width:100%;--min-width:auto;--max-width:auto;--height:100%;--min-height:auto;--max-height:auto;--overflow:hidden;--border-radius:0;--border-width:0;--border-style:none;--border-color:transparent;--background:var(--ion-background-color, #fff);--box-shadow:none;--backdrop-opacity:0;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;color:var(--ion-text-color, #000);contain:strict}.modal-wrapper,ion-backdrop{pointer-events:auto}:host(.overlay-hidden){display:none}.modal-wrapper,.modal-shadow{border-radius:var(--border-radius);width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);overflow:var(--overflow);z-index:10}.modal-shadow{position:absolute;background:transparent}@media only screen and (min-width: 768px) and (min-height: 600px){:host{--width:600px;--height:500px}}@media only screen and (min-width: 768px) and (min-height: 768px){:host{--width:600px;--height:600px}}.modal-handle{left:0px;right:0px;top:5px;border-radius:8px;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;position:absolute;width:36px;height:5px;-webkit-transform:translateZ(0);transform:translateZ(0);border:0;background:var(--ion-color-step-350, var(--ion-background-color-step-350, #c0c0be));cursor:pointer;z-index:11}.modal-handle::before{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:4px;padding-inline-end:4px;padding-top:4px;padding-bottom:4px;position:absolute;width:36px;height:5px;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%);content:""}:host(.modal-sheet){--height:calc(100% - (var(--ion-modal-offset-top, 0px) + 10px))}:host(.modal-sheet) .modal-wrapper,:host(.modal-sheet) .modal-shadow{position:absolute;bottom:0}:host(.modal-sheet.modal-no-expand-scroll) ion-footer{position:absolute;bottom:0;width:var(--width)}:host{--backdrop-opacity:var(--ion-backdrop-opacity, 0.4)}:host(.modal-card),:host(.modal-sheet){--border-radius:10px}@media only screen and (min-width: 768px) and (min-height: 600px){:host{--border-radius:10px}}.modal-wrapper{-webkit-transform:translate3d(0, 100%, 0);transform:translate3d(0, 100%, 0)}@media screen and (max-width: 767px){@supports (width: max(0px, 1px)){:host(.modal-card){--height:calc(100% - max(30px, var(--ion-safe-area-top)) - 10px)}}@supports not (width: max(0px, 1px)){:host(.modal-card){--height:calc(100% - 40px)}}:host(.modal-card) .modal-wrapper{border-start-start-radius:var(--border-radius);border-start-end-radius:var(--border-radius);border-end-end-radius:0;border-end-start-radius:0}:host(.modal-card){--backdrop-opacity:0;--width:100%;-ms-flex-align:end;align-items:flex-end}:host(.modal-card) .modal-shadow{display:none}:host(.modal-card) ion-backdrop{pointer-events:none}}@media screen and (min-width: 768px){:host(.modal-card){--width:calc(100% - 120px);--height:calc(100% - (120px + var(--ion-safe-area-top) + var(--ion-safe-area-bottom)));--max-width:720px;--max-height:1000px;--backdrop-opacity:0;--box-shadow:0px 0px 30px 10px rgba(0, 0, 0, 0.1);-webkit-transition:all 0.5s ease-in-out;transition:all 0.5s ease-in-out}:host(.modal-card) .modal-wrapper{-webkit-box-shadow:none;box-shadow:none}:host(.modal-card) .modal-shadow{-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow)}}:host(.modal-sheet) .modal-wrapper{border-start-start-radius:var(--border-radius);border-start-end-radius:var(--border-radius);border-end-end-radius:0;border-end-start-radius:0}',md:':host{--width:100%;--min-width:auto;--max-width:auto;--height:100%;--min-height:auto;--max-height:auto;--overflow:hidden;--border-radius:0;--border-width:0;--border-style:none;--border-color:transparent;--background:var(--ion-background-color, #fff);--box-shadow:none;--backdrop-opacity:0;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;color:var(--ion-text-color, #000);contain:strict}.modal-wrapper,ion-backdrop{pointer-events:auto}:host(.overlay-hidden){display:none}.modal-wrapper,.modal-shadow{border-radius:var(--border-radius);width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);overflow:var(--overflow);z-index:10}.modal-shadow{position:absolute;background:transparent}@media only screen and (min-width: 768px) and (min-height: 600px){:host{--width:600px;--height:500px}}@media only screen and (min-width: 768px) and (min-height: 768px){:host{--width:600px;--height:600px}}.modal-handle{left:0px;right:0px;top:5px;border-radius:8px;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;position:absolute;width:36px;height:5px;-webkit-transform:translateZ(0);transform:translateZ(0);border:0;background:var(--ion-color-step-350, var(--ion-background-color-step-350, #c0c0be));cursor:pointer;z-index:11}.modal-handle::before{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:4px;padding-inline-end:4px;padding-top:4px;padding-bottom:4px;position:absolute;width:36px;height:5px;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%);content:""}:host(.modal-sheet){--height:calc(100% - (var(--ion-modal-offset-top, 0px) + 10px))}:host(.modal-sheet) .modal-wrapper,:host(.modal-sheet) .modal-shadow{position:absolute;bottom:0}:host(.modal-sheet.modal-no-expand-scroll) ion-footer{position:absolute;bottom:0;width:var(--width)}:host{--backdrop-opacity:var(--ion-backdrop-opacity, 0.32)}@media only screen and (min-width: 768px) and (min-height: 600px){:host{--border-radius:2px;--box-shadow:0 28px 48px rgba(0, 0, 0, 0.4)}}.modal-wrapper{-webkit-transform:translate3d(0, 40px, 0);transform:translate3d(0, 40px, 0);opacity:0.01}'}}},[289,"ion-modal",{hasController:[4,"has-controller"],overlayIndex:[2,"overlay-index"],delegate:[16],keyboardClose:[4,"keyboard-close"],enterAnimation:[16],leaveAnimation:[16],breakpoints:[16],expandToScroll:[4,"expand-to-scroll"],initialBreakpoint:[2,"initial-breakpoint"],backdropBreakpoint:[2,"backdrop-breakpoint"],handle:[4],handleBehavior:[1,"handle-behavior"],component:[1],componentProps:[16],cssClass:[1,"css-class"],backdropDismiss:[4,"backdrop-dismiss"],showBackdrop:[4,"show-backdrop"],animated:[4],presentingElement:[16],htmlAttributes:[16],isOpen:[4,"is-open"],trigger:[1],keepContentsMounted:[4,"keep-contents-mounted"],focusTrap:[4,"focus-trap"],canDismiss:[4,"can-dismiss"],isSheetModal:[32],presented:[32],present:[64],dismiss:[64],onDidDismiss:[64],onWillDismiss:[64],setCurrentBreakpoint:[64],getCurrentBreakpoint:[64]},[[9,"resize","onWindowResize"]],{isOpen:[{onIsOpenChange:0}],trigger:[{triggerChanged:0}],breakpoints:[{breakpointsChanged:0}]}]),mt={ionModalDidPresent:"ionViewDidEnter",ionModalWillPresent:"ionViewWillEnter",ionModalWillDismiss:"ionViewWillLeave",ionModalDidDismiss:"ionViewDidLeave"};function ft(){"undefined"!=typeof customElements&&["ion-modal","ion-backdrop"].forEach((t=>{switch(t){case"ion-modal":customElements.get(d(t))||customElements.define(d(t),ct);break;case"ion-backdrop":customElements.get(d(t))||V()}}))}export{ct as M,ft as d}
@@ -1,4 +0,0 @@
1
- /*!
2
- * (C) Ionic http://ionicframework.com - MIT License
3
- */
4
- import{j as t}from"./p-CHqRYvYm.js";const n=n=>{try{if(n instanceof c)return n.value;if(!r()||"string"!=typeof n||""===n)return n;if(n.includes("onload="))return"";const t=document.createDocumentFragment(),s=document.createElement("div");t.appendChild(s),s.innerHTML=n,i.forEach((n=>{const r=t.querySelectorAll(n);for(let n=r.length-1;n>=0;n--){const s=r[n];s.parentNode?s.parentNode.removeChild(s):t.removeChild(s);const i=e(s);for(let t=0;t<i.length;t++)o(i[t])}}));const a=e(t);for(let t=0;t<a.length;t++)o(a[t]);const d=document.createElement("div");d.appendChild(t);const l=d.querySelector("div");return null!==l?l.innerHTML:d.innerHTML}catch(n){return t("sanitizeDOMString",n),""}},o=t=>{if(t.nodeType&&1!==t.nodeType)return;if("undefined"!=typeof NamedNodeMap&&!(t.attributes instanceof NamedNodeMap))return void t.remove();for(let n=t.attributes.length-1;n>=0;n--){const o=t.attributes.item(n),e=o.name;if(!s.includes(e.toLowerCase())){t.removeAttribute(e);continue}const r=o.value,i=t[e];(null!=r&&r.toLowerCase().includes("javascript:")||null!=i&&i.toLowerCase().includes("javascript:"))&&t.removeAttribute(e)}const n=e(t);for(let t=0;t<n.length;t++)o(n[t])},e=t=>null!=t.children?t.children:t.childNodes,r=()=>{var t;const n=window,o=null===(t=null==n?void 0:n.Ionic)||void 0===t?void 0:t.config;return!o||(o.get?o.get("sanitizerEnabled",!0):!0===o.sanitizerEnabled||void 0===o.sanitizerEnabled)},s=["class","id","href","src","name","slot"],i=["script","style","iframe","meta","link","object","embed"];class c{constructor(t){this.value=t}}const a=t=>{const n=window,o=n.Ionic;if(!o||!o.config||"Object"===o.config.constructor.name)return n.Ionic=n.Ionic||{},n.Ionic.config=Object.assign(Object.assign({},n.Ionic.config),t),n.Ionic.config},d=()=>{var t;const n=window,o=null===(t=null==n?void 0:n.Ionic)||void 0===t?void 0:t.config;return o?o.mode?o.mode:o.get("mode"):"md"},l=!1;export{l as E,c as I,n as a,d as g,a as s}
@@ -1,201 +0,0 @@
1
- /*!
2
- * (C) Ionic http://ionicframework.com - MIT License
3
- */
4
- 'use strict';
5
-
6
- var index = require('./index-Ct7gcRif.js');
7
-
8
- /**
9
- * Does a simple sanitization of all elements
10
- * in an untrusted string
11
- */
12
- const sanitizeDOMString = (untrustedString) => {
13
- try {
14
- if (untrustedString instanceof IonicSafeString) {
15
- return untrustedString.value;
16
- }
17
- if (!isSanitizerEnabled() || typeof untrustedString !== 'string' || untrustedString === '') {
18
- return untrustedString;
19
- }
20
- /**
21
- * onload is fired when appending to a document
22
- * fragment in Chrome. If a string
23
- * contains onload then we should not
24
- * attempt to add this to the fragment.
25
- */
26
- if (untrustedString.includes('onload=')) {
27
- return '';
28
- }
29
- /**
30
- * Create a document fragment
31
- * separate from the main DOM,
32
- * create a div to do our work in
33
- */
34
- const documentFragment = document.createDocumentFragment();
35
- const workingDiv = document.createElement('div');
36
- documentFragment.appendChild(workingDiv);
37
- workingDiv.innerHTML = untrustedString;
38
- /**
39
- * Remove any elements
40
- * that are blocked
41
- */
42
- blockedTags.forEach((blockedTag) => {
43
- const getElementsToRemove = documentFragment.querySelectorAll(blockedTag);
44
- for (let elementIndex = getElementsToRemove.length - 1; elementIndex >= 0; elementIndex--) {
45
- const element = getElementsToRemove[elementIndex];
46
- if (element.parentNode) {
47
- element.parentNode.removeChild(element);
48
- }
49
- else {
50
- documentFragment.removeChild(element);
51
- }
52
- /**
53
- * We still need to sanitize
54
- * the children of this element
55
- * as they are left behind
56
- */
57
- const childElements = getElementChildren(element);
58
- /* eslint-disable-next-line */
59
- for (let childIndex = 0; childIndex < childElements.length; childIndex++) {
60
- sanitizeElement(childElements[childIndex]);
61
- }
62
- }
63
- });
64
- /**
65
- * Go through remaining elements and remove
66
- * non-allowed attribs
67
- */
68
- // IE does not support .children on document fragments, only .childNodes
69
- const dfChildren = getElementChildren(documentFragment);
70
- /* eslint-disable-next-line */
71
- for (let childIndex = 0; childIndex < dfChildren.length; childIndex++) {
72
- sanitizeElement(dfChildren[childIndex]);
73
- }
74
- // Append document fragment to div
75
- const fragmentDiv = document.createElement('div');
76
- fragmentDiv.appendChild(documentFragment);
77
- // First child is always the div we did our work in
78
- const getInnerDiv = fragmentDiv.querySelector('div');
79
- return getInnerDiv !== null ? getInnerDiv.innerHTML : fragmentDiv.innerHTML;
80
- }
81
- catch (err) {
82
- index.printIonError('sanitizeDOMString', err);
83
- return '';
84
- }
85
- };
86
- /**
87
- * Clean up current element based on allowed attributes
88
- * and then recursively dig down into any child elements to
89
- * clean those up as well
90
- */
91
- // TODO(FW-2832): type (using Element triggers other type errors as well)
92
- const sanitizeElement = (element) => {
93
- // IE uses childNodes, so ignore nodes that are not elements
94
- if (element.nodeType && element.nodeType !== 1) {
95
- return;
96
- }
97
- /**
98
- * If attributes is not a NamedNodeMap
99
- * then we should remove the element entirely.
100
- * This helps avoid DOM Clobbering attacks where
101
- * attributes is overridden.
102
- */
103
- if (typeof NamedNodeMap !== 'undefined' && !(element.attributes instanceof NamedNodeMap)) {
104
- element.remove();
105
- return;
106
- }
107
- for (let i = element.attributes.length - 1; i >= 0; i--) {
108
- const attribute = element.attributes.item(i);
109
- const attributeName = attribute.name;
110
- // remove non-allowed attribs
111
- if (!allowedAttributes.includes(attributeName.toLowerCase())) {
112
- element.removeAttribute(attributeName);
113
- continue;
114
- }
115
- // clean up any allowed attribs
116
- // that attempt to do any JS funny-business
117
- const attributeValue = attribute.value;
118
- /**
119
- * We also need to check the property value
120
- * as javascript: can allow special characters
121
- * such as &Tab; and still be valid (i.e. java&Tab;script)
122
- */
123
- const propertyValue = element[attributeName];
124
- /* eslint-disable */
125
- if ((attributeValue != null && attributeValue.toLowerCase().includes('javascript:')) ||
126
- (propertyValue != null && propertyValue.toLowerCase().includes('javascript:'))) {
127
- element.removeAttribute(attributeName);
128
- }
129
- /* eslint-enable */
130
- }
131
- /**
132
- * Sanitize any nested children
133
- */
134
- const childElements = getElementChildren(element);
135
- /* eslint-disable-next-line */
136
- for (let i = 0; i < childElements.length; i++) {
137
- sanitizeElement(childElements[i]);
138
- }
139
- };
140
- /**
141
- * IE doesn't always support .children
142
- * so we revert to .childNodes instead
143
- */
144
- // TODO(FW-2832): type
145
- const getElementChildren = (el) => {
146
- return el.children != null ? el.children : el.childNodes;
147
- };
148
- const isSanitizerEnabled = () => {
149
- var _a;
150
- const win = window;
151
- const config = (_a = win === null || win === void 0 ? void 0 : win.Ionic) === null || _a === void 0 ? void 0 : _a.config;
152
- if (config) {
153
- if (config.get) {
154
- return config.get('sanitizerEnabled', true);
155
- }
156
- else {
157
- return config.sanitizerEnabled === true || config.sanitizerEnabled === undefined;
158
- }
159
- }
160
- return true;
161
- };
162
- const allowedAttributes = ['class', 'id', 'href', 'src', 'name', 'slot'];
163
- const blockedTags = ['script', 'style', 'iframe', 'meta', 'link', 'object', 'embed'];
164
- class IonicSafeString {
165
- constructor(value) {
166
- this.value = value;
167
- }
168
- }
169
-
170
- const setupConfig = (config) => {
171
- const win = window;
172
- const Ionic = win.Ionic;
173
- // eslint-disable-next-line @typescript-eslint/prefer-optional-chain
174
- if (Ionic && Ionic.config && Ionic.config.constructor.name !== 'Object') {
175
- return;
176
- }
177
- win.Ionic = win.Ionic || {};
178
- win.Ionic.config = Object.assign(Object.assign({}, win.Ionic.config), config);
179
- return win.Ionic.config;
180
- };
181
- const getMode = () => {
182
- var _a;
183
- const win = window;
184
- const config = (_a = win === null || win === void 0 ? void 0 : win.Ionic) === null || _a === void 0 ? void 0 : _a.config;
185
- if (config) {
186
- if (config.mode) {
187
- return config.mode;
188
- }
189
- else {
190
- return config.get('mode');
191
- }
192
- }
193
- return 'md';
194
- };
195
- const ENABLE_HTML_CONTENT_DEFAULT = false;
196
-
197
- exports.ENABLE_HTML_CONTENT_DEFAULT = ENABLE_HTML_CONTENT_DEFAULT;
198
- exports.IonicSafeString = IonicSafeString;
199
- exports.getMode = getMode;
200
- exports.sanitizeDOMString = sanitizeDOMString;
201
- exports.setupConfig = setupConfig;
@@ -1,27 +0,0 @@
1
- /*!
2
- * (C) Ionic http://ionicframework.com - MIT License
3
- */
4
- import { createAnimation } from "../../../utils/animation/animation";
5
- /**
6
- * iOS Picker Enter Animation
7
- */
8
- export const iosEnterAnimation = (baseEl) => {
9
- const baseAnimation = createAnimation();
10
- const backdropAnimation = createAnimation();
11
- const wrapperAnimation = createAnimation();
12
- backdropAnimation
13
- .addElement(baseEl.querySelector('ion-backdrop'))
14
- .fromTo('opacity', 0.01, 'var(--backdrop-opacity)')
15
- .beforeStyles({
16
- 'pointer-events': 'none',
17
- })
18
- .afterClearStyles(['pointer-events']);
19
- wrapperAnimation
20
- .addElement(baseEl.querySelector('.picker-wrapper'))
21
- .fromTo('transform', 'translateY(100%)', 'translateY(0%)');
22
- return baseAnimation
23
- .addElement(baseEl)
24
- .easing('cubic-bezier(.36,.66,.04,1)')
25
- .duration(400)
26
- .addAnimation([backdropAnimation, wrapperAnimation]);
27
- };
@@ -1,23 +0,0 @@
1
- /*!
2
- * (C) Ionic http://ionicframework.com - MIT License
3
- */
4
- import { createAnimation } from "../../../utils/animation/animation";
5
- /**
6
- * iOS Picker Leave Animation
7
- */
8
- export const iosLeaveAnimation = (baseEl) => {
9
- const baseAnimation = createAnimation();
10
- const backdropAnimation = createAnimation();
11
- const wrapperAnimation = createAnimation();
12
- backdropAnimation
13
- .addElement(baseEl.querySelector('ion-backdrop'))
14
- .fromTo('opacity', 'var(--backdrop-opacity)', 0.01);
15
- wrapperAnimation
16
- .addElement(baseEl.querySelector('.picker-wrapper'))
17
- .fromTo('transform', 'translateY(0%)', 'translateY(100%)');
18
- return baseAnimation
19
- .addElement(baseEl)
20
- .easing('cubic-bezier(.36,.66,.04,1)')
21
- .duration(400)
22
- .addAnimation([backdropAnimation, wrapperAnimation]);
23
- };
@@ -1,300 +0,0 @@
1
- /**
2
- * Convert a font size to a dynamic font size.
3
- * Fonts that participate in Dynamic Type should use
4
- * dynamic font sizes.
5
- * @param size - The initial font size including the unit (i.e. px or pt)
6
- * @param unit (optional) - The unit to convert to. Use this if you want to
7
- * convert to a unit other than $baselineUnit.
8
- */
9
- /**
10
- * Convert a font size to a dynamic font size but impose
11
- * a maximum font size.
12
- * @param size - The initial font size including the unit (i.e. px or pt)
13
- * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
14
- * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
15
- * convert to a unit other than $baselineUnit.
16
- */
17
- /**
18
- * Convert a font size to a dynamic font size but impose
19
- * a minimum font size.
20
- * @param size - The initial font size including the unit (i.e. px or pt)
21
- * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
22
- * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
23
- * convert to a unit other than $baselineUnit.
24
- */
25
- /**
26
- * Convert a font size to a dynamic font size but impose
27
- * maximum and minimum font sizes.
28
- * @param size - The initial font size including the unit (i.e. px or pt)
29
- * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
30
- * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
31
- * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
32
- * convert to a unit other than $baselineUnit.
33
- */
34
- /**
35
- * A heuristic that applies CSS to tablet
36
- * viewports.
37
- *
38
- * Usage:
39
- * @include tablet-viewport() {
40
- * :host {
41
- * background-color: green;
42
- * }
43
- * }
44
- */
45
- /**
46
- * A heuristic that applies CSS to mobile
47
- * viewports (i.e. phones, not tablets).
48
- *
49
- * Usage:
50
- * @include mobile-viewport() {
51
- * :host {
52
- * background-color: blue;
53
- * }
54
- * }
55
- */
56
- :host {
57
- /**
58
- * @prop --background: Background of the picker
59
- * @prop --background-rgb: Background of the picker in rgb format
60
- *
61
- * @prop --border-radius: Border radius of the picker
62
- * @prop --border-color: Border color of the picker
63
- * @prop --border-width: Border width of the picker
64
- * @prop --border-style: Border style of the picker
65
- *
66
- * @prop --min-width: Minimum width of the picker
67
- * @prop --width: Width of the picker
68
- * @prop --max-width: Maximum width of the picker
69
- *
70
- * @prop --min-height: Minimum height of the picker
71
- * @prop --height: Height of the picker
72
- * @prop --max-height: Maximum height of the picker
73
- *
74
- * @prop --backdrop-opacity: Opacity of the backdrop
75
- */
76
- --border-radius: 0;
77
- --border-style: solid;
78
- --min-width: auto;
79
- --width: 100%;
80
- --max-width: 500px;
81
- --min-height: auto;
82
- --max-height: auto;
83
- -moz-osx-font-smoothing: grayscale;
84
- -webkit-font-smoothing: antialiased;
85
- top: 0;
86
- display: block;
87
- position: absolute;
88
- width: 100%;
89
- height: 100%;
90
- outline: none;
91
- font-family: var(--ion-font-family, inherit);
92
- contain: strict;
93
- user-select: none;
94
- z-index: 1001;
95
- }
96
- :host {
97
- inset-inline-start: 0;
98
- }
99
-
100
- :host(.overlay-hidden) {
101
- display: none;
102
- }
103
-
104
- .picker-wrapper {
105
- border-radius: var(--border-radius);
106
- left: 0;
107
- right: 0;
108
- bottom: 0;
109
- -webkit-margin-start: auto;
110
- margin-inline-start: auto;
111
- -webkit-margin-end: auto;
112
- margin-inline-end: auto;
113
- margin-top: auto;
114
- margin-bottom: auto;
115
- transform: translate3d(0, 100%, 0);
116
- display: flex;
117
- position: absolute;
118
- flex-direction: column;
119
- width: var(--width);
120
- min-width: var(--min-width);
121
- max-width: var(--max-width);
122
- height: var(--height);
123
- min-height: var(--min-height);
124
- max-height: var(--max-height);
125
- border-width: var(--border-width);
126
- border-style: var(--border-style);
127
- border-color: var(--border-color);
128
- background: var(--background);
129
- contain: strict;
130
- overflow: hidden;
131
- z-index: 10;
132
- }
133
-
134
- .picker-toolbar {
135
- width: 100%;
136
- background: transparent;
137
- contain: strict;
138
- z-index: 1;
139
- }
140
-
141
- .picker-button {
142
- border: 0;
143
- font-family: inherit;
144
- }
145
-
146
- .picker-button:active, .picker-button:focus {
147
- outline: none;
148
- }
149
-
150
- .picker-columns {
151
- display: flex;
152
- position: relative;
153
- justify-content: center;
154
- margin-bottom: var(--ion-safe-area-bottom, 0);
155
- contain: strict;
156
- overflow: hidden;
157
- }
158
-
159
- .picker-above-highlight,
160
- .picker-below-highlight {
161
- display: none;
162
- pointer-events: none;
163
- }
164
-
165
- /**
166
- * Convert a font size to a dynamic font size.
167
- * Fonts that participate in Dynamic Type should use
168
- * dynamic font sizes.
169
- * @param size - The initial font size including the unit (i.e. px or pt)
170
- * @param unit (optional) - The unit to convert to. Use this if you want to
171
- * convert to a unit other than $baselineUnit.
172
- */
173
- /**
174
- * Convert a font size to a dynamic font size but impose
175
- * a maximum font size.
176
- * @param size - The initial font size including the unit (i.e. px or pt)
177
- * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
178
- * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
179
- * convert to a unit other than $baselineUnit.
180
- */
181
- /**
182
- * Convert a font size to a dynamic font size but impose
183
- * a minimum font size.
184
- * @param size - The initial font size including the unit (i.e. px or pt)
185
- * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
186
- * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
187
- * convert to a unit other than $baselineUnit.
188
- */
189
- /**
190
- * Convert a font size to a dynamic font size but impose
191
- * maximum and minimum font sizes.
192
- * @param size - The initial font size including the unit (i.e. px or pt)
193
- * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
194
- * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
195
- * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
196
- * convert to a unit other than $baselineUnit.
197
- */
198
- /**
199
- * A heuristic that applies CSS to tablet
200
- * viewports.
201
- *
202
- * Usage:
203
- * @include tablet-viewport() {
204
- * :host {
205
- * background-color: green;
206
- * }
207
- * }
208
- */
209
- /**
210
- * A heuristic that applies CSS to mobile
211
- * viewports (i.e. phones, not tablets).
212
- *
213
- * Usage:
214
- * @include mobile-viewport() {
215
- * :host {
216
- * background-color: blue;
217
- * }
218
- * }
219
- */
220
- :host {
221
- --background: var(--ion-background-color, #fff);
222
- --border-width: 1px 0 0;
223
- --border-color: var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-250, var(--ion-background-color-step-250, #c8c7cc))));
224
- --height: 260px;
225
- --backdrop-opacity: var(--ion-backdrop-opacity, 0.26);
226
- color: var(--ion-item-color, var(--ion-text-color, #000));
227
- }
228
-
229
- .picker-toolbar {
230
- display: flex;
231
- height: 44px;
232
- border-bottom: 0.55px solid var(--border-color);
233
- }
234
-
235
- .picker-toolbar-button {
236
- flex: 1;
237
- text-align: end;
238
- }
239
-
240
- .picker-toolbar-button:last-child .picker-button {
241
- font-weight: 600;
242
- }
243
-
244
- .picker-toolbar-button:first-child {
245
- font-weight: normal;
246
- text-align: start;
247
- }
248
-
249
- .picker-button,
250
- .picker-button.ion-activated {
251
- margin-left: 0;
252
- margin-right: 0;
253
- margin-top: 0;
254
- margin-bottom: 0;
255
- -webkit-padding-start: 1em;
256
- padding-inline-start: 1em;
257
- -webkit-padding-end: 1em;
258
- padding-inline-end: 1em;
259
- padding-top: 0;
260
- padding-bottom: 0;
261
- height: 44px;
262
- background: transparent;
263
- color: var(--ion-color-primary, #0054e9);
264
- font-size: 16px;
265
- }
266
-
267
- .picker-columns {
268
- height: 215px;
269
- perspective: 1000px;
270
- }
271
-
272
- .picker-above-highlight {
273
- top: 0;
274
- transform: translate3d(0, 0, 90px);
275
- display: block;
276
- position: absolute;
277
- width: 100%;
278
- height: 81px;
279
- border-bottom: 1px solid var(--border-color);
280
- background: linear-gradient(to bottom, var(--background, var(--ion-background-color, #fff)) 20%, rgba(var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255)), 0.8) 100%);
281
- z-index: 10;
282
- }
283
- .picker-above-highlight {
284
- inset-inline-start: 0;
285
- }
286
-
287
- .picker-below-highlight {
288
- top: 115px;
289
- transform: translate3d(0, 0, 90px);
290
- display: block;
291
- position: absolute;
292
- width: 100%;
293
- height: 119px;
294
- border-top: 1px solid var(--border-color);
295
- background: linear-gradient(to top, var(--background, var(--ion-background-color, #fff)) 30%, rgba(var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255)), 0.8) 100%);
296
- z-index: 11;
297
- }
298
- .picker-below-highlight {
299
- inset-inline-start: 0;
300
- }