@ionic/core 8.8.19-dev.11787083540.1511caf2 → 8.8.19-dev.11787086216.1bf66519

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 (343) hide show
  1. package/components/index.js +1 -1
  2. package/components/ion-accordion.js +1 -1
  3. package/components/ion-action-sheet.js +1 -1
  4. package/components/ion-alert.js +1 -1
  5. package/components/ion-app.js +1 -1
  6. package/components/ion-back-button.js +1 -1
  7. package/components/ion-breadcrumb.js +1 -1
  8. package/components/ion-button.js +1 -1
  9. package/components/ion-card.js +1 -1
  10. package/components/ion-checkbox.js +1 -1
  11. package/components/ion-content.js +1 -1
  12. package/components/ion-datetime-button.js +1 -1
  13. package/components/ion-datetime.js +1 -1
  14. package/components/ion-fab-button.js +1 -1
  15. package/components/ion-footer.js +1 -1
  16. package/components/ion-header.js +1 -1
  17. package/components/ion-img.js +1 -1
  18. package/components/ion-infinite-scroll.js +1 -1
  19. package/components/ion-input-otp.js +1 -1
  20. package/components/ion-input-password-toggle.js +1 -1
  21. package/components/ion-input.js +1 -1
  22. package/components/ion-item-options.js +1 -1
  23. package/components/ion-item-sliding.js +1 -1
  24. package/components/ion-item.js +1 -1
  25. package/components/ion-loading.js +1 -1
  26. package/components/ion-menu-button.js +1 -1
  27. package/components/ion-menu-toggle.js +1 -1
  28. package/components/ion-menu.js +1 -1
  29. package/components/ion-modal.js +1 -1
  30. package/components/ion-nav.js +1 -1
  31. package/components/ion-picker-column-option.js +1 -1
  32. package/components/ion-picker-column.js +1 -1
  33. package/components/ion-picker-legacy-column.js +1 -1
  34. package/components/ion-picker-legacy.js +1 -1
  35. package/components/ion-picker.js +1 -1
  36. package/components/ion-popover.js +1 -1
  37. package/components/ion-progress-bar.js +1 -1
  38. package/components/ion-radio-group.js +1 -1
  39. package/components/ion-radio.js +1 -1
  40. package/components/ion-range.js +1 -1
  41. package/components/ion-refresher-content.js +1 -1
  42. package/components/ion-refresher.js +1 -1
  43. package/components/ion-reorder-group.js +1 -1
  44. package/components/ion-router-outlet.js +1 -1
  45. package/components/ion-router.js +1 -1
  46. package/components/ion-searchbar.js +1 -1
  47. package/components/ion-segment-button.js +1 -1
  48. package/components/ion-segment-view.js +1 -1
  49. package/components/ion-segment.js +1 -1
  50. package/components/ion-select-modal.js +1 -1
  51. package/components/ion-select-popover.js +1 -1
  52. package/components/ion-select.js +1 -1
  53. package/components/ion-tab-button.js +1 -1
  54. package/components/ion-tab.js +1 -1
  55. package/components/ion-textarea.js +1 -1
  56. package/components/ion-toast.js +1 -1
  57. package/components/ion-toggle.js +1 -1
  58. package/{dist/ionic/p-B2kaj8sx.js → components/p-A3O24YmY.js} +1 -1
  59. package/components/{p-BRYd8D-I.js → p-ABkNVeU9.js} +1 -1
  60. package/{dist/ionic/p-BEOxsxBw.js → components/p-B-JJgYSG.js} +1 -1
  61. package/components/{p-0LM2oPMC.js → p-BMI53wYL.js} +1 -1
  62. package/components/{p-B2nSfLHH.js → p-BlIAuGv2.js} +1 -1
  63. package/components/{p-Dww01PNs.js → p-Bnsn6KaP.js} +1 -1
  64. package/components/{p-Dw7GNDKq.js → p-BsBCoGa-.js} +1 -1
  65. package/components/p-C53feagD.js +4 -0
  66. package/components/{p-B3qf4bEn.js → p-CQGnMY3n.js} +1 -1
  67. package/components/{p-qMmFisyx.js → p-C_hpsif8.js} +1 -1
  68. package/components/{p-BTJrYwxN.js → p-C_xFdyXe.js} +1 -1
  69. package/components/p-ChIZKXUu.js +4 -0
  70. package/components/{p-DVe41iHI.js → p-CkMSOsFF.js} +1 -1
  71. package/components/p-Cl0B-RWe.js +4 -0
  72. package/components/p-Cp4GRDqq.js +4 -0
  73. package/components/p-CsNJ1ULL.js +4 -0
  74. package/components/{p-DEZ2myA3.js → p-CzCbeKys.js} +1 -1
  75. package/components/{p-lVAbdiAu.js → p-D-aHdMxW.js} +1 -1
  76. package/components/{p-DARjq3GM.js → p-D0d8qTwj.js} +1 -1
  77. package/components/p-D3xo7hqU.js +4 -0
  78. package/components/{p-6J0vc7Z8.js → p-D7uN07a3.js} +1 -1
  79. package/components/{p-BMYNBJgf.js → p-DCnGU1fF.js} +1 -1
  80. package/components/{p-9GFIh9p1.js → p-DGvrK8dD.js} +1 -1
  81. package/components/{p-DboHi2CL.js → p-DRxvM2Ic.js} +1 -1
  82. package/components/{p-ZzLXTvyt.js → p-DV5mPYQS.js} +1 -1
  83. package/components/{p-DX5m9g56.js → p-DWkAgceV.js} +1 -1
  84. package/components/{p-B21528L5.js → p-Osve4qkc.js} +1 -1
  85. package/components/p-R8zmRi4c.js +4 -0
  86. package/components/{p-CsaojgEs.js → p-SLS1rDZM.js} +1 -1
  87. package/components/{p-BuxQcfHK.js → p-aJ6PBUvj.js} +1 -1
  88. package/components/{p-CgkrslTX.js → p-gAg0kXZp.js} +1 -1
  89. package/components/{p-CiCzYG2V.js → p-gYiraiT_.js} +1 -1
  90. package/{dist/ionic/p-DCoy2elM.js → components/p-oD4kcBRX.js} +1 -1
  91. package/components/{p-D4FYu-4R.js → p-vRBNsYbs.js} +1 -1
  92. package/components/{p-Dv8w0kqz.js → p-yEQxMl70.js} +1 -1
  93. package/components/{p-Gy276IJk.js → p-yzCsOZE2.js} +1 -1
  94. package/dist/cjs/{button-active-AWp_ygDP.js → button-active-COnxOe4X.js} +1 -1
  95. package/dist/cjs/dir-Cn0z1rJH.js +20 -0
  96. package/dist/cjs/{framework-delegate-CEzl4MEA.js → framework-delegate-BgU6U9Ez.js} +1 -1
  97. package/dist/cjs/{helpers-DdZyl6WL.js → helpers-gntk8bfm.js} +8 -12
  98. package/dist/cjs/{index-CukZnH1U.js → index-BS2uhvhT.js} +3 -3
  99. package/dist/cjs/{index-MWAIyVLl.js → index-BhhuJ1Yx.js} +1 -2
  100. package/dist/cjs/{index-CD92bI7B.js → index-BiRrzGDi.js} +1 -1
  101. package/dist/cjs/{index-BJ2-LydH.js → index-CAvQ7Tka.js} +27 -4
  102. package/dist/cjs/{index-DOiZqxWZ.js → index-ooS8B4p9.js} +1 -1
  103. package/dist/cjs/index.cjs.js +8 -9
  104. package/dist/cjs/{input-shims-CPKgrIe3.js → input-shims-Bn1cXfCM.js} +2 -3
  105. package/dist/cjs/{input.utils-DQaUGGed.js → input.utils-BwhxZooW.js} +1 -1
  106. package/dist/cjs/ion-accordion_2.cjs.entry.js +1 -2
  107. package/dist/cjs/ion-action-sheet.cjs.entry.js +5 -6
  108. package/dist/cjs/ion-alert.cjs.entry.js +5 -6
  109. package/dist/cjs/ion-app_8.cjs.entry.js +9 -9
  110. package/dist/cjs/ion-back-button.cjs.entry.js +1 -2
  111. package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +1 -2
  112. package/dist/cjs/ion-button_2.cjs.entry.js +1 -2
  113. package/dist/cjs/ion-card_5.cjs.entry.js +1 -2
  114. package/dist/cjs/ion-checkbox.cjs.entry.js +1 -2
  115. package/dist/cjs/ion-datetime-button.cjs.entry.js +1 -2
  116. package/dist/cjs/ion-datetime_3.cjs.entry.js +5 -5
  117. package/dist/cjs/ion-fab_3.cjs.entry.js +1 -2
  118. package/dist/cjs/ion-img.cjs.entry.js +1 -2
  119. package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +2 -3
  120. package/dist/cjs/ion-input-otp.cjs.entry.js +2 -2
  121. package/dist/cjs/ion-input.cjs.entry.js +3 -4
  122. package/dist/cjs/ion-item-option_3.cjs.entry.js +3 -4
  123. package/dist/cjs/ion-item_8.cjs.entry.js +1 -2
  124. package/dist/cjs/ion-loading.cjs.entry.js +3 -4
  125. package/dist/cjs/ion-menu_3.cjs.entry.js +9 -10
  126. package/dist/cjs/ion-modal.cjs.entry.js +6 -7
  127. package/dist/cjs/ion-nav_2.cjs.entry.js +4 -5
  128. package/dist/cjs/ion-picker-column-option.cjs.entry.js +1 -2
  129. package/dist/cjs/ion-picker-column.cjs.entry.js +1 -2
  130. package/dist/cjs/ion-picker.cjs.entry.js +1 -2
  131. package/dist/cjs/ion-popover.cjs.entry.js +4 -5
  132. package/dist/cjs/ion-progress-bar.cjs.entry.js +1 -2
  133. package/dist/cjs/ion-radio_2.cjs.entry.js +1 -2
  134. package/dist/cjs/ion-range.cjs.entry.js +18 -8
  135. package/dist/cjs/ion-refresher_2.cjs.entry.js +5 -6
  136. package/dist/cjs/ion-reorder_2.cjs.entry.js +3 -4
  137. package/dist/cjs/ion-route_4.cjs.entry.js +2 -3
  138. package/dist/cjs/ion-searchbar.cjs.entry.js +2 -2
  139. package/dist/cjs/ion-segment-view.cjs.entry.js +1 -1
  140. package/dist/cjs/ion-segment_2.cjs.entry.js +3 -3
  141. package/dist/cjs/ion-select-modal.cjs.entry.js +3 -4
  142. package/dist/cjs/ion-select_3.cjs.entry.js +5 -5
  143. package/dist/cjs/ion-tab-bar_2.cjs.entry.js +1 -2
  144. package/dist/cjs/ion-tab_2.cjs.entry.js +2 -3
  145. package/dist/cjs/ion-textarea.cjs.entry.js +3 -4
  146. package/dist/cjs/ion-toast.cjs.entry.js +4 -5
  147. package/dist/cjs/ion-toggle.cjs.entry.js +3 -3
  148. package/dist/cjs/ionic.cjs.js +1 -1
  149. package/dist/cjs/{ios.transition-CTiTDh3m.js → ios.transition-IMJRwn29.js} +2 -3
  150. package/dist/cjs/loader.cjs.js +1 -1
  151. package/dist/cjs/{md.transition-BpiTAaqF.js → md.transition-CgQZxcoT.js} +2 -3
  152. package/dist/cjs/{notch-controller-aiy8aQb-.js → notch-controller-_SwR025y.js} +1 -1
  153. package/dist/cjs/{overlays-CQ_c1fko.js → overlays-DuSEMhIW.js} +2 -2
  154. package/dist/cjs/{status-tap-7FzRlXNr.js → status-tap-CSvBT7FV.js} +2 -3
  155. package/dist/cjs/{swipe-back-DwTZiAc9.js → swipe-back-CuIiziaa.js} +3 -3
  156. package/dist/collection/components/menu/menu.js +4 -4
  157. package/dist/collection/components/range/range.js +15 -5
  158. package/dist/collection/utils/gesture/listener.js +27 -4
  159. package/dist/collection/utils/helpers.js +8 -12
  160. package/dist/collection/utils/rtl/dir.js +7 -18
  161. package/dist/docs.json +2 -2
  162. package/dist/esm/{button-active-CXXy0FIE.js → button-active-BSpTQmS9.js} +1 -1
  163. package/dist/esm/dir-C53feagD.js +18 -0
  164. package/dist/esm/{framework-delegate-B9yvYzqV.js → framework-delegate-FnPGymXL.js} +1 -1
  165. package/dist/esm/{helpers-DkCLSLI9.js → helpers-HEqiOzXb.js} +8 -12
  166. package/dist/esm/{index-DwNKJodj.js → index-BRHzoo00.js} +1 -2
  167. package/dist/esm/{index-Dsz7OTeL.js → index-B_dQk_WE.js} +3 -3
  168. package/dist/esm/{index-Bck1OwMs.js → index-CfgBF1SE.js} +27 -4
  169. package/dist/esm/{index-B_8X7INq.js → index-Dw-wN0Ja.js} +1 -1
  170. package/dist/esm/{index-DdeElWma.js → index-Q6UPU0Ay.js} +1 -1
  171. package/dist/esm/index.js +8 -9
  172. package/dist/esm/{input-shims-d-hDv86G.js → input-shims-LXhI7LEx.js} +2 -3
  173. package/dist/esm/{input.utils-Cd23Gdd1.js → input.utils-Y6NgW8bw.js} +1 -1
  174. package/dist/esm/ion-accordion_2.entry.js +1 -2
  175. package/dist/esm/ion-action-sheet.entry.js +5 -6
  176. package/dist/esm/ion-alert.entry.js +5 -6
  177. package/dist/esm/ion-app_8.entry.js +9 -9
  178. package/dist/esm/ion-back-button.entry.js +1 -2
  179. package/dist/esm/ion-breadcrumb_2.entry.js +1 -2
  180. package/dist/esm/ion-button_2.entry.js +1 -2
  181. package/dist/esm/ion-card_5.entry.js +1 -2
  182. package/dist/esm/ion-checkbox.entry.js +1 -2
  183. package/dist/esm/ion-datetime-button.entry.js +1 -2
  184. package/dist/esm/ion-datetime_3.entry.js +5 -5
  185. package/dist/esm/ion-fab_3.entry.js +1 -2
  186. package/dist/esm/ion-img.entry.js +1 -2
  187. package/dist/esm/ion-infinite-scroll_2.entry.js +2 -3
  188. package/dist/esm/ion-input-otp.entry.js +2 -2
  189. package/dist/esm/ion-input.entry.js +3 -4
  190. package/dist/esm/ion-item-option_3.entry.js +3 -4
  191. package/dist/esm/ion-item_8.entry.js +1 -2
  192. package/dist/esm/ion-loading.entry.js +3 -4
  193. package/dist/esm/ion-menu_3.entry.js +9 -10
  194. package/dist/esm/ion-modal.entry.js +6 -7
  195. package/dist/esm/ion-nav_2.entry.js +4 -5
  196. package/dist/esm/ion-picker-column-option.entry.js +1 -2
  197. package/dist/esm/ion-picker-column.entry.js +1 -2
  198. package/dist/esm/ion-picker.entry.js +1 -2
  199. package/dist/esm/ion-popover.entry.js +4 -5
  200. package/dist/esm/ion-progress-bar.entry.js +1 -2
  201. package/dist/esm/ion-radio_2.entry.js +1 -2
  202. package/dist/esm/ion-range.entry.js +18 -8
  203. package/dist/esm/ion-refresher_2.entry.js +5 -6
  204. package/dist/esm/ion-reorder_2.entry.js +3 -4
  205. package/dist/esm/ion-route_4.entry.js +2 -3
  206. package/dist/esm/ion-searchbar.entry.js +2 -2
  207. package/dist/esm/ion-segment-view.entry.js +1 -1
  208. package/dist/esm/ion-segment_2.entry.js +3 -3
  209. package/dist/esm/ion-select-modal.entry.js +3 -4
  210. package/dist/esm/ion-select_3.entry.js +5 -5
  211. package/dist/esm/ion-tab-bar_2.entry.js +1 -2
  212. package/dist/esm/ion-tab_2.entry.js +2 -3
  213. package/dist/esm/ion-textarea.entry.js +3 -4
  214. package/dist/esm/ion-toast.entry.js +4 -5
  215. package/dist/esm/ion-toggle.entry.js +3 -3
  216. package/dist/esm/ionic.js +1 -1
  217. package/dist/esm/{ios.transition-CxNhMt4a.js → ios.transition-ClFrsIrS.js} +2 -3
  218. package/dist/esm/loader.js +1 -1
  219. package/dist/esm/{md.transition-IE4mC3kp.js → md.transition-D0msQmzI.js} +2 -3
  220. package/dist/esm/{notch-controller-Doqis1td.js → notch-controller-DKDjU_O7.js} +1 -1
  221. package/dist/esm/{overlays-COCl_nm9.js → overlays-Dg0q2_tJ.js} +2 -2
  222. package/dist/esm/{status-tap-HhO5eQI9.js → status-tap-vO-6s4Yp.js} +2 -3
  223. package/dist/esm/{swipe-back-DK6afpuO.js → swipe-back-DQ1q5MgD.js} +3 -3
  224. package/dist/html.html-data.json +1 -1
  225. package/dist/ionic/index.esm.js +1 -1
  226. package/dist/ionic/ionic.esm.js +1 -1
  227. package/dist/ionic/p-06c232a4.entry.js +4 -0
  228. package/dist/ionic/p-0caa922c.entry.js +4 -0
  229. package/dist/ionic/p-0dc33652.entry.js +4 -0
  230. package/dist/ionic/p-10e833ef.entry.js +4 -0
  231. package/dist/ionic/{p-35eb8b5c.entry.js → p-21eb76d5.entry.js} +1 -1
  232. package/dist/ionic/p-2a05aa64.entry.js +4 -0
  233. package/dist/ionic/p-2b204c59.entry.js +4 -0
  234. package/dist/ionic/p-2fa58e80.entry.js +4 -0
  235. package/dist/ionic/{p-0672f677.entry.js → p-3353c229.entry.js} +1 -1
  236. package/dist/ionic/p-34586ead.entry.js +4 -0
  237. package/dist/ionic/p-390ca786.entry.js +4 -0
  238. package/dist/ionic/{p-31e7bd05.entry.js → p-3ae5f277.entry.js} +1 -1
  239. package/dist/ionic/{p-616e4d4f.entry.js → p-4654ae1c.entry.js} +1 -1
  240. package/dist/ionic/{p-613d3c43.entry.js → p-4745f534.entry.js} +1 -1
  241. package/dist/ionic/p-4858af1f.entry.js +4 -0
  242. package/dist/ionic/p-4baa5b82.entry.js +4 -0
  243. package/dist/ionic/p-4e92a11f.entry.js +4 -0
  244. package/dist/ionic/p-50e1194a.entry.js +4 -0
  245. package/dist/ionic/{p-f8dd336e.entry.js → p-5e2f73ee.entry.js} +1 -1
  246. package/dist/ionic/p-5eb8e86d.entry.js +4 -0
  247. package/dist/ionic/p-65ebdf1b.entry.js +4 -0
  248. package/dist/ionic/p-746fa988.entry.js +4 -0
  249. package/dist/ionic/p-75dc25ba.entry.js +4 -0
  250. package/dist/ionic/p-7c319341.entry.js +4 -0
  251. package/dist/ionic/p-829367ed.entry.js +4 -0
  252. package/dist/ionic/p-874b4bd8.entry.js +4 -0
  253. package/dist/ionic/p-8eb8ee76.entry.js +4 -0
  254. package/dist/ionic/p-9f9db3a2.entry.js +4 -0
  255. package/dist/ionic/{p-32f53010.entry.js → p-9fa3c405.entry.js} +1 -1
  256. package/dist/ionic/p-BGqMS-oh.js +4 -0
  257. package/dist/ionic/p-C53feagD.js +4 -0
  258. package/{components/p-CTdRooFV.js → dist/ionic/p-CFlfIb2g.js} +1 -1
  259. package/dist/ionic/p-Cl0B-RWe.js +4 -0
  260. package/dist/ionic/p-CmcFnK-B.js +4 -0
  261. package/dist/ionic/p-Cx3IXROA.js +4 -0
  262. package/dist/ionic/{p-B8t9Ro6f.js → p-D-3ycHmd.js} +1 -1
  263. package/dist/ionic/{p-EkpneKVM.js → p-D4uTWt4-.js} +1 -1
  264. package/{components/p-Bmq8qlkW.js → dist/ionic/p-DC3RagnA.js} +1 -1
  265. package/dist/ionic/p-DIuEbVLu.js +4 -0
  266. package/dist/ionic/p-DoJvtrbw.js +4 -0
  267. package/dist/ionic/{p-ClM02LPk.js → p-KjNvRoEp.js} +1 -1
  268. package/{components/p-BDd9Zrb9.js → dist/ionic/p-VAemlbDS.js} +1 -1
  269. package/dist/ionic/p-a3bdcae6.entry.js +4 -0
  270. package/dist/ionic/{p-92ad8a67.entry.js → p-aaeedb6b.entry.js} +1 -1
  271. package/dist/ionic/p-ac738527.entry.js +4 -0
  272. package/dist/ionic/p-af55a72f.entry.js +4 -0
  273. package/dist/ionic/p-b2020591.entry.js +4 -0
  274. package/dist/ionic/p-b9fadbfe.entry.js +4 -0
  275. package/dist/ionic/{p-Cd4H8ft-.js → p-biz8zWmJ.js} +1 -1
  276. package/dist/ionic/p-c0fb8edd.entry.js +4 -0
  277. package/dist/ionic/p-c38b648e.entry.js +4 -0
  278. package/dist/ionic/p-ca2ab74d.entry.js +4 -0
  279. package/dist/ionic/p-d889ff6d.entry.js +4 -0
  280. package/dist/ionic/p-ea56626d.entry.js +4 -0
  281. package/dist/ionic/p-ef4c3bee.entry.js +4 -0
  282. package/dist/ionic/p-f386f6ae.entry.js +4 -0
  283. package/dist/ionic/p-uWtqTrG8.js +4 -0
  284. package/dist/ionic/{p-CPTv7G9B.js → p-viFHDgRs.js} +1 -1
  285. package/dist/ionic/{p-CxMyXUtt.js → p-xWb6fgfq.js} +1 -1
  286. package/dist/types/components/range/range.d.ts +4 -1
  287. package/dist/types/components.d.ts +2 -2
  288. package/dist/types/utils/helpers.d.ts +5 -8
  289. package/dist/types/utils/rtl/dir.d.ts +4 -10
  290. package/hydrate/index.js +67 -48
  291. package/hydrate/index.mjs +67 -48
  292. package/package.json +1 -1
  293. package/components/p-BV-zKay-.js +0 -4
  294. package/components/p-BYRVyMu9.js +0 -4
  295. package/components/p-C7II1iDj.js +0 -4
  296. package/components/p-Ck0lEczL.js +0 -4
  297. package/components/p-CniZht3v.js +0 -4
  298. package/components/p-DmzFY5IC.js +0 -4
  299. package/components/p-o8OKV5aD.js +0 -4
  300. package/dist/cjs/dir-DD0jPVH3.js +0 -31
  301. package/dist/esm/dir-o8OKV5aD.js +0 -29
  302. package/dist/ionic/p-0283ea73.entry.js +0 -4
  303. package/dist/ionic/p-02ecae65.entry.js +0 -4
  304. package/dist/ionic/p-0c06fe60.entry.js +0 -4
  305. package/dist/ionic/p-1af4d74c.entry.js +0 -4
  306. package/dist/ionic/p-1d7ef0d2.entry.js +0 -4
  307. package/dist/ionic/p-26f05d3a.entry.js +0 -4
  308. package/dist/ionic/p-3efa137b.entry.js +0 -4
  309. package/dist/ionic/p-432bd72c.entry.js +0 -4
  310. package/dist/ionic/p-47214c72.entry.js +0 -4
  311. package/dist/ionic/p-4e172429.entry.js +0 -4
  312. package/dist/ionic/p-5c3da84e.entry.js +0 -4
  313. package/dist/ionic/p-5d8082fe.entry.js +0 -4
  314. package/dist/ionic/p-65d611b2.entry.js +0 -4
  315. package/dist/ionic/p-67806e3f.entry.js +0 -4
  316. package/dist/ionic/p-68307fbf.entry.js +0 -4
  317. package/dist/ionic/p-68cbb2fc.entry.js +0 -4
  318. package/dist/ionic/p-737ae9eb.entry.js +0 -4
  319. package/dist/ionic/p-7b0d6248.entry.js +0 -4
  320. package/dist/ionic/p-7e71e470.entry.js +0 -4
  321. package/dist/ionic/p-85d49987.entry.js +0 -4
  322. package/dist/ionic/p-8945088b.entry.js +0 -4
  323. package/dist/ionic/p-8b155568.entry.js +0 -4
  324. package/dist/ionic/p-90267c4b.entry.js +0 -4
  325. package/dist/ionic/p-9a97d4e0.entry.js +0 -4
  326. package/dist/ionic/p-9e4b0894.entry.js +0 -4
  327. package/dist/ionic/p-B4y7nxsg.js +0 -4
  328. package/dist/ionic/p-BJ2NxSHp.js +0 -4
  329. package/dist/ionic/p-BLiL8g0v.js +0 -4
  330. package/dist/ionic/p-BYRVyMu9.js +0 -4
  331. package/dist/ionic/p-DZaO33Mw.js +0 -4
  332. package/dist/ionic/p-DipZFfzN.js +0 -4
  333. package/dist/ionic/p-Dr9fTCb1.js +0 -4
  334. package/dist/ionic/p-ab00b0d8.entry.js +0 -4
  335. package/dist/ionic/p-c2175309.entry.js +0 -4
  336. package/dist/ionic/p-c4b69d9b.entry.js +0 -4
  337. package/dist/ionic/p-ce637936.entry.js +0 -4
  338. package/dist/ionic/p-da85e958.entry.js +0 -4
  339. package/dist/ionic/p-e139357c.entry.js +0 -4
  340. package/dist/ionic/p-f37ca594.entry.js +0 -4
  341. package/dist/ionic/p-f9de757b.entry.js +0 -4
  342. package/dist/ionic/p-fe11cf51.entry.js +0 -4
  343. package/dist/ionic/p-o8OKV5aD.js +0 -4
package/hydrate/index.js CHANGED
@@ -5742,31 +5742,6 @@ var setScopedSSR = (opts) => {
5742
5742
  var needsScopedSSR = () => scopedSSR;
5743
5743
  var scopedSSR = false;
5744
5744
 
5745
- /**
5746
- * Returns `true` if the direction resolves to `rtl` for the given element.
5747
- *
5748
- * The direction comes from the nearest ancestor that declares one, starting
5749
- * with `hostEl` itself, and falls back to the root document value. Setting
5750
- * `dir="auto"` or setting `dir` to an empty string are skipped rather than
5751
- * treated as `ltr`. When nothing declares a direction, including the document,
5752
- * the direction is `ltr`.
5753
- *
5754
- * @param hostEl the element to resolve the direction for.
5755
- */
5756
- const isRTL$1 = (hostEl) => {
5757
- var _a, _b;
5758
- for (let el = hostEl; el; el = el.parentElement) {
5759
- const dir = (_a = el.getAttribute('dir')) === null || _a === void 0 ? void 0 : _a.toLowerCase();
5760
- if (dir === 'rtl') {
5761
- return true;
5762
- }
5763
- if (dir === 'ltr') {
5764
- return false;
5765
- }
5766
- }
5767
- return ((_b = document === null || document === void 0 ? void 0 : document.dir) === null || _b === void 0 ? void 0 : _b.toLowerCase()) === 'rtl';
5768
- };
5769
-
5770
5745
  const transitionEndAsync = (el, expectedDuration = 0) => {
5771
5746
  return new Promise((resolve) => {
5772
5747
  transitionEnd(el, expectedDuration, resolve);
@@ -6021,21 +5996,18 @@ const assert = (actual, reason) => {
6021
5996
  };
6022
5997
  /**
6023
5998
  * @hidden
6024
- * Given a side, returns whether it resolves to the end side for the current
6025
- * direction. In RTL `start` is the end side, and in LTR `end` is.
6026
- *
6027
- * @param side The current side before being redefined based on the direction.
6028
- * @param hostEl The component's host element. The direction is resolved from
6029
- * it or its nearest ancestor that declares one. When omitted, the direction
6030
- * is resolved from the document.
5999
+ * Given a side, return if it should be on the end
6000
+ * based on the value of dir
6001
+ * @param side the side
6002
+ * @param isRTL whether the application dir is rtl
6031
6003
  */
6032
- const isEndSide = (side, hostEl) => {
6033
- const rtl = isRTL$1(hostEl);
6004
+ const isEndSide = (side) => {
6005
+ const isRTL = document.dir === 'rtl';
6034
6006
  switch (side) {
6035
6007
  case 'start':
6036
- return rtl;
6008
+ return isRTL;
6037
6009
  case 'end':
6038
- return !rtl;
6010
+ return !isRTL;
6039
6011
  default:
6040
6012
  throw new Error(`"${side}" is not a valid value for [side]. Use "start" or "end" instead.`);
6041
6013
  }
@@ -7173,10 +7145,14 @@ const GESTURE_CONTROLLER = new GestureController();
7173
7145
 
7174
7146
  const addEventListener = (el, // TODO(FW-2832): type
7175
7147
  eventName, callback, opts) => {
7176
- const listenerOpts = {
7177
- capture: false,
7178
- passive: !!opts.passive,
7179
- };
7148
+ // use event listener options when supported
7149
+ // otherwise it's just a boolean for the "capture" arg
7150
+ const listenerOpts = supportsPassive(el)
7151
+ ? {
7152
+ capture: false,
7153
+ passive: !!opts.passive,
7154
+ }
7155
+ : false;
7180
7156
  let add;
7181
7157
  let remove;
7182
7158
  if (el['__zone_symbol__addEventListener']) {
@@ -7192,6 +7168,25 @@ eventName, callback, opts) => {
7192
7168
  el[remove](eventName, callback, listenerOpts);
7193
7169
  };
7194
7170
  };
7171
+ const supportsPassive = (node) => {
7172
+ if (_sPassive === undefined) {
7173
+ try {
7174
+ const opts = Object.defineProperty({}, 'passive', {
7175
+ get: () => {
7176
+ _sPassive = true;
7177
+ },
7178
+ });
7179
+ node.addEventListener('optsTest', () => {
7180
+ return;
7181
+ }, opts);
7182
+ }
7183
+ catch (e) {
7184
+ _sPassive = false;
7185
+ }
7186
+ }
7187
+ return !!_sPassive;
7188
+ };
7189
+ let _sPassive;
7195
7190
 
7196
7191
  const MOUSE_WAIT = 2000;
7197
7192
  // TODO(FW-2832): types
@@ -12725,6 +12720,20 @@ class Col {
12725
12720
  }; }
12726
12721
  }
12727
12722
 
12723
+ /**
12724
+ * Returns `true` if the document or host element
12725
+ * has a `dir` set to `rtl`. The host value will always
12726
+ * take priority over the root document value.
12727
+ */
12728
+ const isRTL$1 = (hostEl) => {
12729
+ if (hostEl) {
12730
+ if (hostEl.dir !== '') {
12731
+ return hostEl.dir.toLowerCase() === 'rtl';
12732
+ }
12733
+ }
12734
+ return (document === null || document === void 0 ? void 0 : document.dir.toLowerCase()) === 'rtl';
12735
+ };
12736
+
12728
12737
  const contentCss = () => `:host{--background:var(--ion-background-color, #fff);--color:var(--ion-text-color, #000);--padding-top:0px;--padding-bottom:0px;--padding-start:0px;--padding-end:0px;--keyboard-offset:0px;--offset-top:0px;--offset-bottom:0px;--overflow:auto;display:block;position:relative;-ms-flex:1;flex:1;width:100%;height:100%;margin:0 !important;padding:0 !important;font-family:var(--ion-font-family, inherit);contain:size style}:host(.ion-color) .inner-scroll{background:var(--ion-color-base);color:var(--ion-color-contrast)}#background-content{left:0px;right:0px;top:calc(var(--offset-top) * -1);bottom:calc(var(--offset-bottom) * -1);position:absolute;background:var(--background)}.inner-scroll{left:0px;right:0px;top:calc(var(--offset-top) * -1);bottom:calc(var(--offset-bottom) * -1);-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:calc(var(--padding-top) + var(--offset-top));padding-bottom:calc(var(--padding-bottom) + var(--keyboard-offset) + var(--offset-bottom) + var(--internal-content-safe-area-padding-bottom, 0px));position:absolute;color:var(--color);-webkit-box-sizing:border-box;box-sizing:border-box;overflow:hidden;-ms-touch-action:pan-x pan-y pinch-zoom;touch-action:pan-x pan-y pinch-zoom}.scroll-y,.scroll-x{-webkit-overflow-scrolling:touch;z-index:0;will-change:scroll-position}.scroll-y{overflow-y:var(--overflow);overscroll-behavior-y:contain}.scroll-x{overflow-x:var(--overflow);overscroll-behavior-x:contain}.overscroll::before,.overscroll::after{position:absolute;width:1px;height:1px;content:""}.overscroll::before{bottom:-1px}.overscroll::after{top:-1px}:host(.content-sizing){display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;min-height:0;contain:none}:host(.content-sizing) .inner-scroll{position:relative;top:0;bottom:0;margin-top:calc(var(--offset-top) * -1);margin-bottom:calc(var(--offset-bottom) * -1)}.transition-effect{display:none;position:absolute;width:100%;height:100vh;opacity:0;pointer-events:none}:host(.content-ltr) .transition-effect{left:-100%;}:host(.content-rtl) .transition-effect{right:-100%;}.transition-cover{position:absolute;right:0;width:100%;height:100%;background:black;opacity:0.1}.transition-shadow{display:block;position:absolute;width:100%;height:100%;-webkit-box-shadow:inset -9px 0 9px 0 rgba(0, 0, 100, 0.03);box-shadow:inset -9px 0 9px 0 rgba(0, 0, 100, 0.03)}:host(.content-ltr) .transition-shadow{right:0;}:host(.content-rtl) .transition-shadow{left:0;-webkit-transform:scaleX(-1);transform:scaleX(-1)}::slotted([slot=fixed]){position:absolute;-webkit-transform:translateZ(0);transform:translateZ(0)}`;
12729
12738
 
12730
12739
  /**
@@ -22837,7 +22846,7 @@ class Menu {
22837
22846
  });
22838
22847
  }
22839
22848
  sideChanged() {
22840
- this.isEndSide = isEndSide(this.side, this.el);
22849
+ this.isEndSide = isEndSide(this.side);
22841
22850
  /**
22842
22851
  * Menu direction animation is calculated based on the document direction.
22843
22852
  * If the document direction changes, we need to create a new animation.
@@ -23067,7 +23076,7 @@ class Menu {
23067
23076
  * Menu direction animation is calculated based on the document direction.
23068
23077
  * If the document direction changes, we need to create a new animation.
23069
23078
  */
23070
- const isEndSide$1 = isEndSide(this.side, this.el);
23079
+ const isEndSide$1 = isEndSide(this.side);
23071
23080
  if (width === this.width && this.animation !== undefined && isEndSide$1 === this.isEndSide) {
23072
23081
  return;
23073
23082
  }
@@ -23363,14 +23372,14 @@ class Menu {
23363
23372
  * the ionBackButton listener in the menu controller
23364
23373
  * will handle closing the menu when Escape is pressed.
23365
23374
  */
23366
- return (hAsync(Host, { key: 'e97587ece74feec95a3526bf4823538feb3b9ffc', onKeyDown: shouldUseCloseWatcher() ? null : this.onKeydown, role: "navigation", "aria-label": inheritedAttributes['aria-label'] || 'menu', class: {
23375
+ return (hAsync(Host, { key: '29ef73894e2795e4ce23e59888ffb87faf4dd543', onKeyDown: shouldUseCloseWatcher() ? null : this.onKeydown, role: "navigation", "aria-label": inheritedAttributes['aria-label'] || 'menu', class: {
23367
23376
  [mode]: true,
23368
23377
  [`menu-type-${type}`]: true,
23369
23378
  'menu-enabled': !disabled,
23370
23379
  [`menu-side-${side}`]: true,
23371
23380
  'menu-pane-visible': isPaneVisible,
23372
23381
  'split-pane-side': hostContext('ion-split-pane', el),
23373
- } }, hAsync("div", { key: '0a8694d1772558f18b38332b3936d0f21fd35ce7', class: "menu-inner", part: "container", ref: (el) => (this.menuInnerEl = el) }, hAsync("slot", { key: '51fe03c098ed8a7f8ecdb12a1649424b4adfa59a' })), hAsync("ion-backdrop", { key: 'cd53a4d9ffef157bd95c652be76c92961f0ff480', ref: (el) => (this.backdropEl = el), class: "menu-backdrop", tappable: false, stopPropagation: false, part: "backdrop" })));
23382
+ } }, hAsync("div", { key: '22e44f7bd602ee0c96550f0dfc22ac81c0033ad6', class: "menu-inner", part: "container", ref: (el) => (this.menuInnerEl = el) }, hAsync("slot", { key: '7bbef92fe03bb3ce4d3981eb8535aab449aab2fc' })), hAsync("ion-backdrop", { key: '9ab8d5b61563e16b212c71c03869d4fc23a0400b', ref: (el) => (this.backdropEl = el), class: "menu-backdrop", tappable: false, stopPropagation: false, part: "backdrop" })));
23374
23383
  }
23375
23384
  get el() { return getElement(this); }
23376
23385
  static get watchers() { return {
@@ -32211,7 +32220,9 @@ class Range {
32211
32220
  */
32212
32221
  this.name = this.rangeId;
32213
32222
  /**
32214
- * Show two knobs.
32223
+ * If `true`, the range shows two knobs and `value` is an object with `lower`
32224
+ * and `upper` properties. If `false`, the range shows one knob and `value` is
32225
+ * a number.
32215
32226
  */
32216
32227
  this.dualKnobs = false;
32217
32228
  /**
@@ -32409,6 +32420,11 @@ class Range {
32409
32420
  */
32410
32421
  this.ionInput = debounce === undefined ? originalIonInput !== null && originalIonInput !== void 0 ? originalIonInput : ionInput : debounceEvent(ionInput, debounce);
32411
32422
  }
32423
+ dualKnobsChanged() {
32424
+ if (!this.noUpdate) {
32425
+ this.updateRatio();
32426
+ }
32427
+ }
32412
32428
  minChanged(newValue) {
32413
32429
  if (!isSafeNumber(newValue)) {
32414
32430
  this.min = 0;
@@ -32908,7 +32924,7 @@ class Range {
32908
32924
  const valueAtMin = dualKnobs ? this.valA === min || this.valB === min : this.valA === min;
32909
32925
  const valueAtMax = dualKnobs ? this.valA === max || this.valB === max : this.valA === max;
32910
32926
  renderHiddenInput(true, el, this.name, JSON.stringify(this.getValue()), disabled);
32911
- return (hAsync(Host, { key: 'f8063d1234fb113fe55a7902845dd4b4da8b1edb', onFocusin: this.onFocus, onFocusout: this.onBlur, id: rangeId, class: createColorClasses$1(this.color, {
32927
+ return (hAsync(Host, { key: '81119ccd58016522bdac455a4e832d28b8d22d13', onFocusin: this.onFocus, onFocusout: this.onBlur, id: rangeId, class: createColorClasses$1(this.color, {
32912
32928
  [mode]: true,
32913
32929
  'in-item': inItem,
32914
32930
  'range-disabled': disabled,
@@ -32922,16 +32938,19 @@ class Range {
32922
32938
  'range-item-end-adjustment': needsEndAdjustment,
32923
32939
  'range-value-min': valueAtMin,
32924
32940
  'range-value-max': valueAtMax,
32925
- }) }, hAsync("label", { key: 'beead65ab01e3b18e4be59c0ee8ac6ebf32aad7c', class: "range-wrapper", id: "range-label" }, hAsync("div", { key: '03633c689d9d2e4c50a2131bcd560329df49e314', class: {
32941
+ }) }, hAsync("label", { key: 'fac472b1d252560e83ca85bcc3eec6fec90d2cdf', class: "range-wrapper", id: "range-label" }, hAsync("div", { key: '2d920cde50fdac003caa902c945e2ac71160e701', class: {
32926
32942
  'label-text-wrapper': true,
32927
32943
  'label-text-wrapper-hidden': !hasLabel,
32928
- }, part: "label" }, label !== undefined ? hAsync("div", { class: "label-text" }, label) : hAsync("slot", { name: "label" })), hAsync("div", { key: 'c066804263ab6ae7393f8dcc51184b7198844ffa', class: "native-wrapper" }, hAsync("slot", { key: '7e8ea224d72b3e965dd948bee7e45c1a096b6899', name: "start" }), this.renderRangeSlider(), hAsync("slot", { key: '21f242f6f60ff3adce6a2d90b2d4dac1ceaf6624', name: "end" })))));
32944
+ }, part: "label" }, label !== undefined ? hAsync("div", { class: "label-text" }, label) : hAsync("slot", { name: "label" })), hAsync("div", { key: 'f81e7c7c9f6620b7c5f848689adb67402aa508d1', class: "native-wrapper" }, hAsync("slot", { key: '29bcf499b855fa4f3d3069b8a9efbdc1a5b32f0e', name: "start" }), this.renderRangeSlider(), hAsync("slot", { key: '5c1b25c5ca6a8a05e102648db85b9c8d1c86de25', name: "end" })))));
32929
32945
  }
32930
32946
  get el() { return getElement(this); }
32931
32947
  static get watchers() { return {
32932
32948
  "debounce": [{
32933
32949
  "debounceChanged": 0
32934
32950
  }],
32951
+ "dualKnobs": [{
32952
+ "dualKnobsChanged": 0
32953
+ }],
32935
32954
  "min": [{
32936
32955
  "minChanged": 0
32937
32956
  }],
package/hydrate/index.mjs CHANGED
@@ -5740,31 +5740,6 @@ var setScopedSSR = (opts) => {
5740
5740
  var needsScopedSSR = () => scopedSSR;
5741
5741
  var scopedSSR = false;
5742
5742
 
5743
- /**
5744
- * Returns `true` if the direction resolves to `rtl` for the given element.
5745
- *
5746
- * The direction comes from the nearest ancestor that declares one, starting
5747
- * with `hostEl` itself, and falls back to the root document value. Setting
5748
- * `dir="auto"` or setting `dir` to an empty string are skipped rather than
5749
- * treated as `ltr`. When nothing declares a direction, including the document,
5750
- * the direction is `ltr`.
5751
- *
5752
- * @param hostEl the element to resolve the direction for.
5753
- */
5754
- const isRTL$1 = (hostEl) => {
5755
- var _a, _b;
5756
- for (let el = hostEl; el; el = el.parentElement) {
5757
- const dir = (_a = el.getAttribute('dir')) === null || _a === void 0 ? void 0 : _a.toLowerCase();
5758
- if (dir === 'rtl') {
5759
- return true;
5760
- }
5761
- if (dir === 'ltr') {
5762
- return false;
5763
- }
5764
- }
5765
- return ((_b = document === null || document === void 0 ? void 0 : document.dir) === null || _b === void 0 ? void 0 : _b.toLowerCase()) === 'rtl';
5766
- };
5767
-
5768
5743
  const transitionEndAsync = (el, expectedDuration = 0) => {
5769
5744
  return new Promise((resolve) => {
5770
5745
  transitionEnd(el, expectedDuration, resolve);
@@ -6019,21 +5994,18 @@ const assert = (actual, reason) => {
6019
5994
  };
6020
5995
  /**
6021
5996
  * @hidden
6022
- * Given a side, returns whether it resolves to the end side for the current
6023
- * direction. In RTL `start` is the end side, and in LTR `end` is.
6024
- *
6025
- * @param side The current side before being redefined based on the direction.
6026
- * @param hostEl The component's host element. The direction is resolved from
6027
- * it or its nearest ancestor that declares one. When omitted, the direction
6028
- * is resolved from the document.
5997
+ * Given a side, return if it should be on the end
5998
+ * based on the value of dir
5999
+ * @param side the side
6000
+ * @param isRTL whether the application dir is rtl
6029
6001
  */
6030
- const isEndSide = (side, hostEl) => {
6031
- const rtl = isRTL$1(hostEl);
6002
+ const isEndSide = (side) => {
6003
+ const isRTL = document.dir === 'rtl';
6032
6004
  switch (side) {
6033
6005
  case 'start':
6034
- return rtl;
6006
+ return isRTL;
6035
6007
  case 'end':
6036
- return !rtl;
6008
+ return !isRTL;
6037
6009
  default:
6038
6010
  throw new Error(`"${side}" is not a valid value for [side]. Use "start" or "end" instead.`);
6039
6011
  }
@@ -7171,10 +7143,14 @@ const GESTURE_CONTROLLER = new GestureController();
7171
7143
 
7172
7144
  const addEventListener = (el, // TODO(FW-2832): type
7173
7145
  eventName, callback, opts) => {
7174
- const listenerOpts = {
7175
- capture: false,
7176
- passive: !!opts.passive,
7177
- };
7146
+ // use event listener options when supported
7147
+ // otherwise it's just a boolean for the "capture" arg
7148
+ const listenerOpts = supportsPassive(el)
7149
+ ? {
7150
+ capture: false,
7151
+ passive: !!opts.passive,
7152
+ }
7153
+ : false;
7178
7154
  let add;
7179
7155
  let remove;
7180
7156
  if (el['__zone_symbol__addEventListener']) {
@@ -7190,6 +7166,25 @@ eventName, callback, opts) => {
7190
7166
  el[remove](eventName, callback, listenerOpts);
7191
7167
  };
7192
7168
  };
7169
+ const supportsPassive = (node) => {
7170
+ if (_sPassive === undefined) {
7171
+ try {
7172
+ const opts = Object.defineProperty({}, 'passive', {
7173
+ get: () => {
7174
+ _sPassive = true;
7175
+ },
7176
+ });
7177
+ node.addEventListener('optsTest', () => {
7178
+ return;
7179
+ }, opts);
7180
+ }
7181
+ catch (e) {
7182
+ _sPassive = false;
7183
+ }
7184
+ }
7185
+ return !!_sPassive;
7186
+ };
7187
+ let _sPassive;
7193
7188
 
7194
7189
  const MOUSE_WAIT = 2000;
7195
7190
  // TODO(FW-2832): types
@@ -12723,6 +12718,20 @@ class Col {
12723
12718
  }; }
12724
12719
  }
12725
12720
 
12721
+ /**
12722
+ * Returns `true` if the document or host element
12723
+ * has a `dir` set to `rtl`. The host value will always
12724
+ * take priority over the root document value.
12725
+ */
12726
+ const isRTL$1 = (hostEl) => {
12727
+ if (hostEl) {
12728
+ if (hostEl.dir !== '') {
12729
+ return hostEl.dir.toLowerCase() === 'rtl';
12730
+ }
12731
+ }
12732
+ return (document === null || document === void 0 ? void 0 : document.dir.toLowerCase()) === 'rtl';
12733
+ };
12734
+
12726
12735
  const contentCss = () => `:host{--background:var(--ion-background-color, #fff);--color:var(--ion-text-color, #000);--padding-top:0px;--padding-bottom:0px;--padding-start:0px;--padding-end:0px;--keyboard-offset:0px;--offset-top:0px;--offset-bottom:0px;--overflow:auto;display:block;position:relative;-ms-flex:1;flex:1;width:100%;height:100%;margin:0 !important;padding:0 !important;font-family:var(--ion-font-family, inherit);contain:size style}:host(.ion-color) .inner-scroll{background:var(--ion-color-base);color:var(--ion-color-contrast)}#background-content{left:0px;right:0px;top:calc(var(--offset-top) * -1);bottom:calc(var(--offset-bottom) * -1);position:absolute;background:var(--background)}.inner-scroll{left:0px;right:0px;top:calc(var(--offset-top) * -1);bottom:calc(var(--offset-bottom) * -1);-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:calc(var(--padding-top) + var(--offset-top));padding-bottom:calc(var(--padding-bottom) + var(--keyboard-offset) + var(--offset-bottom) + var(--internal-content-safe-area-padding-bottom, 0px));position:absolute;color:var(--color);-webkit-box-sizing:border-box;box-sizing:border-box;overflow:hidden;-ms-touch-action:pan-x pan-y pinch-zoom;touch-action:pan-x pan-y pinch-zoom}.scroll-y,.scroll-x{-webkit-overflow-scrolling:touch;z-index:0;will-change:scroll-position}.scroll-y{overflow-y:var(--overflow);overscroll-behavior-y:contain}.scroll-x{overflow-x:var(--overflow);overscroll-behavior-x:contain}.overscroll::before,.overscroll::after{position:absolute;width:1px;height:1px;content:""}.overscroll::before{bottom:-1px}.overscroll::after{top:-1px}:host(.content-sizing){display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;min-height:0;contain:none}:host(.content-sizing) .inner-scroll{position:relative;top:0;bottom:0;margin-top:calc(var(--offset-top) * -1);margin-bottom:calc(var(--offset-bottom) * -1)}.transition-effect{display:none;position:absolute;width:100%;height:100vh;opacity:0;pointer-events:none}:host(.content-ltr) .transition-effect{left:-100%;}:host(.content-rtl) .transition-effect{right:-100%;}.transition-cover{position:absolute;right:0;width:100%;height:100%;background:black;opacity:0.1}.transition-shadow{display:block;position:absolute;width:100%;height:100%;-webkit-box-shadow:inset -9px 0 9px 0 rgba(0, 0, 100, 0.03);box-shadow:inset -9px 0 9px 0 rgba(0, 0, 100, 0.03)}:host(.content-ltr) .transition-shadow{right:0;}:host(.content-rtl) .transition-shadow{left:0;-webkit-transform:scaleX(-1);transform:scaleX(-1)}::slotted([slot=fixed]){position:absolute;-webkit-transform:translateZ(0);transform:translateZ(0)}`;
12727
12736
 
12728
12737
  /**
@@ -22835,7 +22844,7 @@ class Menu {
22835
22844
  });
22836
22845
  }
22837
22846
  sideChanged() {
22838
- this.isEndSide = isEndSide(this.side, this.el);
22847
+ this.isEndSide = isEndSide(this.side);
22839
22848
  /**
22840
22849
  * Menu direction animation is calculated based on the document direction.
22841
22850
  * If the document direction changes, we need to create a new animation.
@@ -23065,7 +23074,7 @@ class Menu {
23065
23074
  * Menu direction animation is calculated based on the document direction.
23066
23075
  * If the document direction changes, we need to create a new animation.
23067
23076
  */
23068
- const isEndSide$1 = isEndSide(this.side, this.el);
23077
+ const isEndSide$1 = isEndSide(this.side);
23069
23078
  if (width === this.width && this.animation !== undefined && isEndSide$1 === this.isEndSide) {
23070
23079
  return;
23071
23080
  }
@@ -23361,14 +23370,14 @@ class Menu {
23361
23370
  * the ionBackButton listener in the menu controller
23362
23371
  * will handle closing the menu when Escape is pressed.
23363
23372
  */
23364
- return (hAsync(Host, { key: 'e97587ece74feec95a3526bf4823538feb3b9ffc', onKeyDown: shouldUseCloseWatcher() ? null : this.onKeydown, role: "navigation", "aria-label": inheritedAttributes['aria-label'] || 'menu', class: {
23373
+ return (hAsync(Host, { key: '29ef73894e2795e4ce23e59888ffb87faf4dd543', onKeyDown: shouldUseCloseWatcher() ? null : this.onKeydown, role: "navigation", "aria-label": inheritedAttributes['aria-label'] || 'menu', class: {
23365
23374
  [mode]: true,
23366
23375
  [`menu-type-${type}`]: true,
23367
23376
  'menu-enabled': !disabled,
23368
23377
  [`menu-side-${side}`]: true,
23369
23378
  'menu-pane-visible': isPaneVisible,
23370
23379
  'split-pane-side': hostContext('ion-split-pane', el),
23371
- } }, hAsync("div", { key: '0a8694d1772558f18b38332b3936d0f21fd35ce7', class: "menu-inner", part: "container", ref: (el) => (this.menuInnerEl = el) }, hAsync("slot", { key: '51fe03c098ed8a7f8ecdb12a1649424b4adfa59a' })), hAsync("ion-backdrop", { key: 'cd53a4d9ffef157bd95c652be76c92961f0ff480', ref: (el) => (this.backdropEl = el), class: "menu-backdrop", tappable: false, stopPropagation: false, part: "backdrop" })));
23380
+ } }, hAsync("div", { key: '22e44f7bd602ee0c96550f0dfc22ac81c0033ad6', class: "menu-inner", part: "container", ref: (el) => (this.menuInnerEl = el) }, hAsync("slot", { key: '7bbef92fe03bb3ce4d3981eb8535aab449aab2fc' })), hAsync("ion-backdrop", { key: '9ab8d5b61563e16b212c71c03869d4fc23a0400b', ref: (el) => (this.backdropEl = el), class: "menu-backdrop", tappable: false, stopPropagation: false, part: "backdrop" })));
23372
23381
  }
23373
23382
  get el() { return getElement(this); }
23374
23383
  static get watchers() { return {
@@ -32209,7 +32218,9 @@ class Range {
32209
32218
  */
32210
32219
  this.name = this.rangeId;
32211
32220
  /**
32212
- * Show two knobs.
32221
+ * If `true`, the range shows two knobs and `value` is an object with `lower`
32222
+ * and `upper` properties. If `false`, the range shows one knob and `value` is
32223
+ * a number.
32213
32224
  */
32214
32225
  this.dualKnobs = false;
32215
32226
  /**
@@ -32407,6 +32418,11 @@ class Range {
32407
32418
  */
32408
32419
  this.ionInput = debounce === undefined ? originalIonInput !== null && originalIonInput !== void 0 ? originalIonInput : ionInput : debounceEvent(ionInput, debounce);
32409
32420
  }
32421
+ dualKnobsChanged() {
32422
+ if (!this.noUpdate) {
32423
+ this.updateRatio();
32424
+ }
32425
+ }
32410
32426
  minChanged(newValue) {
32411
32427
  if (!isSafeNumber(newValue)) {
32412
32428
  this.min = 0;
@@ -32906,7 +32922,7 @@ class Range {
32906
32922
  const valueAtMin = dualKnobs ? this.valA === min || this.valB === min : this.valA === min;
32907
32923
  const valueAtMax = dualKnobs ? this.valA === max || this.valB === max : this.valA === max;
32908
32924
  renderHiddenInput(true, el, this.name, JSON.stringify(this.getValue()), disabled);
32909
- return (hAsync(Host, { key: 'f8063d1234fb113fe55a7902845dd4b4da8b1edb', onFocusin: this.onFocus, onFocusout: this.onBlur, id: rangeId, class: createColorClasses$1(this.color, {
32925
+ return (hAsync(Host, { key: '81119ccd58016522bdac455a4e832d28b8d22d13', onFocusin: this.onFocus, onFocusout: this.onBlur, id: rangeId, class: createColorClasses$1(this.color, {
32910
32926
  [mode]: true,
32911
32927
  'in-item': inItem,
32912
32928
  'range-disabled': disabled,
@@ -32920,16 +32936,19 @@ class Range {
32920
32936
  'range-item-end-adjustment': needsEndAdjustment,
32921
32937
  'range-value-min': valueAtMin,
32922
32938
  'range-value-max': valueAtMax,
32923
- }) }, hAsync("label", { key: 'beead65ab01e3b18e4be59c0ee8ac6ebf32aad7c', class: "range-wrapper", id: "range-label" }, hAsync("div", { key: '03633c689d9d2e4c50a2131bcd560329df49e314', class: {
32939
+ }) }, hAsync("label", { key: 'fac472b1d252560e83ca85bcc3eec6fec90d2cdf', class: "range-wrapper", id: "range-label" }, hAsync("div", { key: '2d920cde50fdac003caa902c945e2ac71160e701', class: {
32924
32940
  'label-text-wrapper': true,
32925
32941
  'label-text-wrapper-hidden': !hasLabel,
32926
- }, part: "label" }, label !== undefined ? hAsync("div", { class: "label-text" }, label) : hAsync("slot", { name: "label" })), hAsync("div", { key: 'c066804263ab6ae7393f8dcc51184b7198844ffa', class: "native-wrapper" }, hAsync("slot", { key: '7e8ea224d72b3e965dd948bee7e45c1a096b6899', name: "start" }), this.renderRangeSlider(), hAsync("slot", { key: '21f242f6f60ff3adce6a2d90b2d4dac1ceaf6624', name: "end" })))));
32942
+ }, part: "label" }, label !== undefined ? hAsync("div", { class: "label-text" }, label) : hAsync("slot", { name: "label" })), hAsync("div", { key: 'f81e7c7c9f6620b7c5f848689adb67402aa508d1', class: "native-wrapper" }, hAsync("slot", { key: '29bcf499b855fa4f3d3069b8a9efbdc1a5b32f0e', name: "start" }), this.renderRangeSlider(), hAsync("slot", { key: '5c1b25c5ca6a8a05e102648db85b9c8d1c86de25', name: "end" })))));
32927
32943
  }
32928
32944
  get el() { return getElement(this); }
32929
32945
  static get watchers() { return {
32930
32946
  "debounce": [{
32931
32947
  "debounceChanged": 0
32932
32948
  }],
32949
+ "dualKnobs": [{
32950
+ "dualKnobsChanged": 0
32951
+ }],
32933
32952
  "min": [{
32934
32953
  "minChanged": 0
32935
32954
  }],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ionic/core",
3
- "version": "8.8.19-dev.11787083540.1511caf2",
3
+ "version": "8.8.19-dev.11787086216.1bf66519",
4
4
  "description": "Base components for Ionic",
5
5
  "engines": {
6
6
  "node": ">= 16"
@@ -1,4 +0,0 @@
1
- /*!
2
- * (C) Ionic http://ionicframework.com - MIT License
3
- */
4
- import{d as t}from"./p-ZjP4CjeZ.js";import{q as e}from"./p-C7II1iDj.js";const i=i=>{if(void 0===t)return;let s,p,u,l=0;const d=i.getBoolean("animated",!0)&&i.getBoolean("rippleEffect",!0),v=new WeakMap,m=()=>{u&&clearTimeout(u),u=void 0,s&&(b(!1),s=void 0)},j=(t,i)=>{if(t&&t===s)return;u&&clearTimeout(u),u=void 0;const{x:o,y:r}=e(i);if(s){if(v.has(s))throw new Error("internal error");s.classList.contains(a)||w(s,o,r),b(!0)}if(t){const e=v.get(t);e&&(clearTimeout(e),v.delete(t)),t.classList.remove(a);const i=()=>{w(t,o,r),u=void 0};n(t)?i():u=setTimeout(i,c)}s=t},w=(t,e,i)=>{if(l=Date.now(),t.classList.add(a),!d)return;const o=r(t);null!==o&&(T(),p=o.addRipple(e,i))},T=()=>{void 0!==p&&(p.then((t=>t())),p=void 0)},b=t=>{T();const e=s;if(!e)return;const i=f-Date.now()+l;if(t&&i>0&&!n(e)){const t=setTimeout((()=>{e.classList.remove(a),v.delete(e)}),f);v.set(e,t)}else e.classList.remove(a)};t.addEventListener("ionGestureCaptured",m),t.addEventListener("pointerdown",(t=>{s||2===t.button||j(o(t),t)}),!0),t.addEventListener("pointerup",(t=>{j(void 0,t)}),!0),t.addEventListener("pointercancel",m,!0)},o=t=>{if(void 0===t.composedPath)return t.target.closest(".ion-activatable");{const e=t.composedPath();for(let t=0;t<e.length-2;t++){const i=e[t];if(!(i instanceof ShadowRoot)&&i.classList.contains("ion-activatable"))return i}}},n=t=>t.classList.contains("ion-activatable-instant"),r=t=>{if(t.shadowRoot){const e=t.shadowRoot.querySelector("ion-ripple-effect");if(e)return e}return t.querySelector("ion-ripple-effect")},a="ion-activated",c=100,f=150;export{i as startTapClick}
@@ -1,4 +0,0 @@
1
- /*!
2
- * (C) Ionic http://ionicframework.com - MIT License
3
- */
4
- import{G as e}from"./p-BTEOs1at.js";const t=(e,t,o,n)=>{const r={capture:!1,passive:!!n.passive};let s,i;return e.__zone_symbol__addEventListener?(s="__zone_symbol__addEventListener",i="__zone_symbol__removeEventListener"):(s="addEventListener",i="removeEventListener"),e[s](t,o,r),()=>{e[i](t,o,r)}},o=e=>e instanceof Document?e:e.ownerDocument,n=n=>{let c=!1,a=!1,d=!0,u=!1;const l=Object.assign({disableScroll:!1,direction:"x",gesturePriority:0,passive:!0,maxAngle:40,threshold:10},n),v=l.canStart,m=l.onWillStart,p=l.onStart,f=l.onEnd,y=l.notCaptured,_=l.onMove,h=l.threshold,b=l.passive,D=l.blurOnStart,E={type:"pan",startX:0,startY:0,startTime:0,currentX:0,currentY:0,velocityX:0,velocityY:0,deltaX:0,deltaY:0,currentTime:0,event:void 0,data:void 0},x=((e,t,o)=>{const n=o*(Math.PI/180),r="x"===e,s=Math.cos(n),i=t*t;let c=0,a=0,d=!1,u=0;return{start(e,t){c=e,a=t,u=0,d=!0},detect(e,t){if(!d)return!1;const o=e-c,n=t-a,l=o*o+n*n;if(l<i)return!1;const v=Math.sqrt(l),m=(r?o:n)/v;return u=m>s?1:m<-s?-1:0,d=!1,!0},isGesture:()=>0!==u,getDirection:()=>u}})(l.direction,l.threshold,l.maxAngle),L=e.createGesture({name:n.gestureName,priority:n.gesturePriority,disableScroll:n.disableScroll}),X=()=>{c&&(u=!1,_&&_(E))},Y=()=>!!L.capture()&&(c=!0,d=!1,E.startX=E.currentX,E.startY=E.currentY,E.startTime=E.currentTime,m?m(E).then(g):g(),!0),g=()=>{D&&(()=>{if("undefined"!=typeof document){const e=document.activeElement;(null==e?void 0:e.blur)&&e.blur()}})(),p&&p(E),d=!0},M=()=>{c=!1,a=!1,u=!1,d=!0,L.release()},T=e=>{const t=c,o=d;M(),o&&(r(E,e),t?f&&f(E):y&&y(E))},j=((e,n,r,s,i)=>{let c,a,d,u,l,v,m,p=0;const f=o=>{p=Date.now()+2e3,n(o)&&(!a&&r&&(a=t(e,"touchmove",r,i)),d||(d=t(o.target,"touchend",_,i)),u||(u=t(o.target,"touchcancel",_,i)))},y=s=>{p>Date.now()||n(s)&&(!v&&r&&(v=t(o(e),"mousemove",r,i)),m||(m=t(o(e),"mouseup",h,i)))},_=e=>{b(),s&&s(e)},h=e=>{D(),s&&s(e)},b=()=>{a&&a(),d&&d(),u&&u(),a=d=u=void 0},D=()=>{v&&v(),m&&m(),v=m=void 0},E=()=>{b(),D()},x=(o=!0)=>{o?(c||(c=t(e,"touchstart",f,i)),l||(l=t(e,"mousedown",y,i))):(c&&c(),l&&l(),c=l=void 0,E())};return{enable:x,stop:E,destroy:()=>{x(!1),s=r=n=void 0}}})(l.el,(e=>{const t=i(e);return!(a||!d)&&(s(e,E),E.startX=E.currentX,E.startY=E.currentY,E.startTime=E.currentTime=t,E.velocityX=E.velocityY=E.deltaX=E.deltaY=0,E.event=e,(!v||!1!==v(E))&&(L.release(),!!L.start()&&(a=!0,0===h?Y():(x.start(E.startX,E.startY),!0))))}),(e=>{c?!u&&d&&(u=!0,r(E,e),requestAnimationFrame(X)):(r(E,e),x.detect(E.currentX,E.currentY)&&(x.isGesture()&&Y()||z()))}),T,{passive:b}),z=()=>{M(),j.stop(),y&&y(E)};return{enable(e=!0){e||(c&&T(void 0),M()),j.enable(e)},destroy(){L.destroy(),j.destroy()}}},r=(e,t)=>{if(!t)return;const o=e.currentX,n=e.currentY,r=e.currentTime;s(t,e);const c=e.currentX,a=e.currentY,d=(e.currentTime=i(t))-r;if(d>0&&d<100){const t=(a-n)/d;e.velocityX=(c-o)/d*.7+.3*e.velocityX,e.velocityY=.7*t+.3*e.velocityY}e.deltaX=c-e.startX,e.deltaY=a-e.startY,e.event=t},s=(e,t)=>{let o=0,n=0;if(e){const t=e.changedTouches;if(t&&t.length>0){const e=t[0];o=e.clientX,n=e.clientY}else void 0!==e.pageX&&(o=e.pageX,n=e.pageY)}t.currentX=o,t.currentY=n},i=e=>e.timeStamp||Date.now();export{e as GESTURE_CONTROLLER,n as createGesture}
@@ -1,4 +0,0 @@
1
- /*!
2
- * (C) Ionic http://ionicframework.com - MIT License
3
- */
4
- import{j as a}from"./p-CHqRYvYm.js";import{i}from"./p-o8OKV5aD.js";const r=(a,i=0)=>new Promise((r=>{e(a,i,r)})),e=(a,i=0,r)=>{let e,t;const n={passive:!0},o=()=>{e&&e()},s=i=>{void 0!==i&&a!==i.target||(o(),r(i))};return a&&(a.addEventListener("webkitTransitionEnd",s,n),a.addEventListener("transitionend",s,n),t=setTimeout(s,i+500),e=()=>{void 0!==t&&(clearTimeout(t),t=void 0),a.removeEventListener("webkitTransitionEnd",s,n),a.removeEventListener("transitionend",s,n)}),o},t=(a,i)=>{a.componentOnReady?a.componentOnReady().then((a=>i(a))):m((()=>i(a)))},n=a=>void 0!==a.componentOnReady,o=(a,i=[])=>{const r={};return i.forEach((i=>{a.hasAttribute(i)&&(null!==a.getAttribute(i)&&(r[i]=a.getAttribute(i)),a.removeAttribute(i))})),r},s=["role","aria-activedescendant","aria-atomic","aria-autocomplete","aria-braillelabel","aria-brailleroledescription","aria-busy","aria-checked","aria-colcount","aria-colindex","aria-colindextext","aria-colspan","aria-controls","aria-current","aria-describedby","aria-description","aria-details","aria-disabled","aria-errormessage","aria-expanded","aria-flowto","aria-haspopup","aria-hidden","aria-invalid","aria-keyshortcuts","aria-label","aria-labelledby","aria-level","aria-live","aria-multiline","aria-multiselectable","aria-orientation","aria-owns","aria-placeholder","aria-posinset","aria-pressed","aria-readonly","aria-relevant","aria-required","aria-roledescription","aria-rowcount","aria-rowindex","aria-rowindextext","aria-rowspan","aria-selected","aria-setsize","aria-sort","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext"],l=a=>o(a,s),u=(a,i,r,e)=>a.addEventListener(i,r,e),c=(a,i,r,e)=>a.removeEventListener(i,r,e),d=(a,i=a)=>a.shadowRoot||i,m=a=>"function"==typeof __zone_symbol__requestAnimationFrame?__zone_symbol__requestAnimationFrame(a):"function"==typeof requestAnimationFrame?requestAnimationFrame(a):setTimeout(a),p=a=>!!a.shadowRoot&&!!a.attachShadow,f=a=>{if(a.focus(),a.classList.contains("ion-focusable")){const i=a.closest("ion-app");i&&i.setFocus([a])}},b=(a,i,r,e,t)=>{{let a=i.querySelector("input.aux-input");a||(a=i.ownerDocument.createElement("input"),a.type="hidden",a.classList.add("aux-input"),i.appendChild(a)),a.disabled=t,a.name=r,a.value=e||""}},v=(a,i,r)=>Math.max(a,Math.min(i,r)),w=(i,r)=>{if(!i){const i="ASSERT: "+r;throw a(i),new Error(i)}},x=a=>{if(a){const i=a.changedTouches;if(i&&i.length>0){const a=i[0];return{x:a.clientX,y:a.clientY}}if(void 0!==a.pageX)return{x:a.pageX,y:a.pageY}}return{x:0,y:0}},y=(a,r)=>{const e=i(r);switch(a){case"start":return e;case"end":return!e;default:throw new Error(`"${a}" is not a valid value for [side]. Use "start" or "end" instead.`)}},h=(a,i)=>{const r=a._original||a;return{_original:a,emit:_(r.emit.bind(r),i)}},_=(a,i=0)=>{let r;return(...e)=>{clearTimeout(r),r=setTimeout(a,i,...e)}},T=(a,i)=>{if(null!=a||(a={}),null!=i||(i={}),a===i)return!0;const r=Object.keys(a);if(r.length!==Object.keys(i).length)return!1;for(const e of r){if(!(e in i))return!1;if(a[e]!==i[e])return!1}return!0},q=a=>"number"==typeof a&&!isNaN(a)&&isFinite(a);export{u as a,c as b,t as c,o as d,b as e,v as f,d as g,p as h,l as i,f as j,n as k,h as l,y as m,w as n,q as o,_ as p,x as q,m as r,T as s,r as t}
@@ -1,4 +0,0 @@
1
- /*!
2
- * (C) Ionic http://ionicframework.com - MIT License
3
- */
4
- import{k as o,w as s}from"./p-CHqRYvYm.js";import{a as t,s as r}from"./p-6J0vc7Z8.js";import{c as a}from"./p-C7II1iDj.js";const n=()=>{const n=window;n.addEventListener("statusTap",(()=>{o((()=>{const o=document.elementFromPoint(n.innerWidth/2,n.innerHeight/2);if(!o)return;const i=t(o);i&&new Promise((o=>a(i,o))).then((()=>{s((async()=>{i.style.setProperty("--overflow","hidden"),await r(i,300),i.style.removeProperty("--overflow")}))}))}))}))};export{n as startStatusTap}
@@ -1,4 +0,0 @@
1
- /*!
2
- * (C) Ionic http://ionicframework.com - MIT License
3
- */
4
- import{m as a}from"./p-B3qf4bEn.js";const t=async t=>{const s=await a.get(t);return!(!s||!await s.isActive())};export{t as u}
@@ -1,4 +0,0 @@
1
- /*!
2
- * (C) Ionic http://ionicframework.com - MIT License
3
- */
4
- import{w as o,d as n}from"./p-ZjP4CjeZ.js";import{g as t,h as i,a as r}from"./p-6J0vc7Z8.js";import{a,b as e,c as s}from"./p-C7II1iDj.js";import{a as d,K as c}from"./p-D13Eaw-8.js";const l=new WeakMap,u=(o,n,t,i=0,r=!1)=>{l.has(o)!==t&&(t?f(o,n,i,r):w(o,n))},f=(o,n,t,i=!1)=>{const r=n.parentNode,a=n.cloneNode(!1);a.classList.add("cloned-input"),a.tabIndex=-1,i&&(a.disabled=!0);const e="rtl"===o.ownerDocument.dir;a.style.insetInlineStart=e?r.offsetWidth-n.offsetLeft-n.offsetWidth+"px":`${n.offsetLeft}px`,r.appendChild(a),l.set(o,a);const s=e?9999:-9999;o.style.pointerEvents="none",n.style.transform=`translate3d(${s}px,${t}px,0) scale(0)`},w=(o,n)=>{const t=l.get(o);t&&(l.delete(o),t.remove()),o.style.pointerEvents="",n.style.transform=""},p="input, textarea, [no-blur], [contenteditable]",m="$ionPaddingTimer",h=(o,n,t)=>{const i=o[m];i&&clearTimeout(i),n>0?o.style.setProperty("--keyboard-offset",`${n}px`):o[m]=setTimeout((()=>{o.style.setProperty("--keyboard-offset","0px"),t&&t()}),120)},b=(o,n,t)=>{o.addEventListener("focusout",(()=>{n&&h(n,0,t)}),{once:!0})};let y=0;const S="data-ionic-skip-scroll-assist",v=o=>{var n;if(document.activeElement===o)return;const t=o.getAttribute("id"),i=o.closest(`label[for="${t}"]`),r=null===(n=document.activeElement)||void 0===n?void 0:n.closest(`label[for="${t}"]`);null!==i&&i===r||(o.setAttribute(S,"true"),o.focus())},D=async(o,n,r,a,e,s,d=!1,c=0,l=!0)=>{if(!r&&!a)return;const f=((o,n,t,i)=>{var r;return((o,n,t,i)=>{const r=o.top,a=o.bottom,e=n.top,s=e+15,d=Math.min(n.bottom,i-t)-50-a,c=s-r,l=Math.round(d<0?-d:c>0?-c:0),u=Math.min(l,r-e),f=Math.abs(u);return{scrollAmount:u,scrollDuration:Math.min(400,Math.max(150,f/.3)),scrollPadding:t,inputSafeY:4-(r-s)}})((null!==(r=o.closest("ion-item,[ion-item]"))&&void 0!==r?r:o).getBoundingClientRect(),n.getBoundingClientRect(),t,i)})(o,r||a,e,c);if(r&&Math.abs(f.scrollAmount)<4)return v(n),void(s&&null!==r&&(h(r,y),b(n,r,(()=>y=0))));if(u(o,n,!0,f.inputSafeY,d),v(n),s&&r&&(y=f.scrollPadding,h(r,y)),"undefined"!=typeof window){let a;const e=async()=>{void 0!==a&&clearTimeout(a),window.removeEventListener("ionKeyboardDidShow",d),window.removeEventListener("ionKeyboardDidShow",e),r&&await i(r,0,f.scrollAmount,f.scrollDuration),u(o,n,!1,f.inputSafeY),document.activeElement===n&&v(n),s&&b(n,r,(()=>y=0))},d=()=>{window.removeEventListener("ionKeyboardDidShow",d),window.addEventListener("ionKeyboardDidShow",e)};if(r){const o=await t(r);if(l&&f.scrollAmount>o.scrollHeight-o.clientHeight-o.scrollTop)return"password"===n.type?(f.scrollAmount+=50,window.addEventListener("ionKeyboardDidShow",d)):window.addEventListener("ionKeyboardDidShow",e),void(a=setTimeout(e,1e3))}e()}},x=async(t,i)=>{if(void 0===n)return;const l="ios"===i,f="android"===i,w=t.getNumber("keyboardHeight",290),m=t.getBoolean("scrollAssist",!0),h=t.getBoolean("hideCaretOnScroll",l),b=t.getBoolean("inputBlurring",!1),y=t.getBoolean("scrollPadding",!0),v=Array.from(n.querySelectorAll("ion-input, ion-textarea")),x=new WeakMap,K=new WeakMap,M=await c.getResizeMode(),j=async n=>{await new Promise((o=>s(n,o)));const t=n.shadowRoot||n,i=t.querySelector("input")||t.querySelector("textarea"),c=r(n),l=c?null:n.closest("ion-footer");if(i){if(c&&h&&!x.has(n)){const o=((o,n,t)=>{if(!t||!n)return()=>{};const i=t=>{var i;(i=n)===i.getRootNode().activeElement&&u(o,n,t)},r=()=>u(o,n,!1),s=()=>i(!0),d=()=>i(!1);return a(t,"ionScrollStart",s),a(t,"ionScrollEnd",d),n.addEventListener("blur",r),()=>{e(t,"ionScrollStart",s),e(t,"ionScrollEnd",d),n.removeEventListener("blur",r)}})(n,i,c);x.set(n,o)}if("date"!==i.type&&"datetime-local"!==i.type&&(c||l)&&m&&!K.has(n)){const t=((n,t,i,r,a,e,s,c=!1)=>{const l=e&&(void 0===s||s.mode===d.None);let u=!1;const f=void 0!==o?o.innerHeight:0,w=o=>{!1!==u?D(n,t,i,r,o.detail.keyboardHeight,l,c,f,!1):u=!0},p=()=>{u=!1,null==o||o.removeEventListener("ionKeyboardDidShow",w),n.removeEventListener("focusout",p)},m=async()=>{t.hasAttribute(S)?t.removeAttribute(S):(D(n,t,i,r,a,l,c,f),null==o||o.addEventListener("ionKeyboardDidShow",w),n.addEventListener("focusout",p))};return n.addEventListener("focusin",m),()=>{n.removeEventListener("focusin",m),null==o||o.removeEventListener("ionKeyboardDidShow",w),n.removeEventListener("focusout",p)}})(n,i,c,l,w,y,M,f);K.set(n,t)}}};b&&(()=>{let o=!0,n=!1;const t=document;a(t,"ionScrollStart",(()=>{n=!0})),t.addEventListener("focusin",(()=>{o=!0}),!0),t.addEventListener("touchend",(i=>{if(n)return void(n=!1);const r=t.activeElement;if(!r)return;if(r.matches(p))return;const a=i.target;a!==r&&(a.matches(p)||a.closest(p)||(o=!1,setTimeout((()=>{o||r.blur()}),50)))}),!1)})();for(const o of v)j(o);n.addEventListener("ionInputDidLoad",(o=>{j(o.detail)})),n.addEventListener("ionInputDidUnload",(o=>{(o=>{if(h){const n=x.get(o);n&&n(),x.delete(o)}if(m){const n=K.get(o);n&&n(),K.delete(o)}})(o.detail)}))};export{x as startInputShims}
@@ -1,4 +0,0 @@
1
- /*!
2
- * (C) Ionic http://ionicframework.com - MIT License
3
- */
4
- const o=o=>{var r,t;for(let t=o;t;t=t.parentElement){const o=null===(r=t.getAttribute("dir"))||void 0===r?void 0:r.toLowerCase();if("rtl"===o)return!0;if("ltr"===o)return!1}return"rtl"===(null===(t=null===document||void 0===document?void 0:document.dir)||void 0===t?void 0:t.toLowerCase())};export{o as i}
@@ -1,31 +0,0 @@
1
- /*!
2
- * (C) Ionic http://ionicframework.com - MIT License
3
- */
4
- 'use strict';
5
-
6
- /**
7
- * Returns `true` if the direction resolves to `rtl` for the given element.
8
- *
9
- * The direction comes from the nearest ancestor that declares one, starting
10
- * with `hostEl` itself, and falls back to the root document value. Setting
11
- * `dir="auto"` or setting `dir` to an empty string are skipped rather than
12
- * treated as `ltr`. When nothing declares a direction, including the document,
13
- * the direction is `ltr`.
14
- *
15
- * @param hostEl the element to resolve the direction for.
16
- */
17
- const isRTL = (hostEl) => {
18
- var _a, _b;
19
- for (let el = hostEl; el; el = el.parentElement) {
20
- const dir = (_a = el.getAttribute('dir')) === null || _a === void 0 ? void 0 : _a.toLowerCase();
21
- if (dir === 'rtl') {
22
- return true;
23
- }
24
- if (dir === 'ltr') {
25
- return false;
26
- }
27
- }
28
- return ((_b = document === null || document === void 0 ? void 0 : document.dir) === null || _b === void 0 ? void 0 : _b.toLowerCase()) === 'rtl';
29
- };
30
-
31
- exports.isRTL = isRTL;
@@ -1,29 +0,0 @@
1
- /*!
2
- * (C) Ionic http://ionicframework.com - MIT License
3
- */
4
- /**
5
- * Returns `true` if the direction resolves to `rtl` for the given element.
6
- *
7
- * The direction comes from the nearest ancestor that declares one, starting
8
- * with `hostEl` itself, and falls back to the root document value. Setting
9
- * `dir="auto"` or setting `dir` to an empty string are skipped rather than
10
- * treated as `ltr`. When nothing declares a direction, including the document,
11
- * the direction is `ltr`.
12
- *
13
- * @param hostEl the element to resolve the direction for.
14
- */
15
- const isRTL = (hostEl) => {
16
- var _a, _b;
17
- for (let el = hostEl; el; el = el.parentElement) {
18
- const dir = (_a = el.getAttribute('dir')) === null || _a === void 0 ? void 0 : _a.toLowerCase();
19
- if (dir === 'rtl') {
20
- return true;
21
- }
22
- if (dir === 'ltr') {
23
- return false;
24
- }
25
- }
26
- return ((_b = document === null || document === void 0 ? void 0 : document.dir) === null || _b === void 0 ? void 0 : _b.toLowerCase()) === 'rtl';
27
- };
28
-
29
- export { isRTL as i };