@sugarat/easypicker2-client 2.6.1-beta.0 → 2.7.0-beta.0

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 (287) hide show
  1. package/dist/assets/{aria-legacy.af0825d3.js → aria-legacy-B70JmEZA.js} +1 -1
  2. package/dist/assets/aria-legacy-B70JmEZA.js.map +1 -0
  3. package/dist/assets/{aria-bc8e8b0f.js → aria-nkjrUMQ-.js} +1 -1
  4. package/dist/assets/aria-nkjrUMQ-.js.map +1 -0
  5. package/dist/assets/{data-analysis-632af70e.js → data-analysis-c8lgg0AB.js} +2 -2
  6. package/dist/assets/data-analysis-c8lgg0AB.js.map +1 -0
  7. package/dist/assets/{data-analysis-legacy.297ff95d.js → data-analysis-legacy-CW8BY_nY.js} +2 -2
  8. package/dist/assets/data-analysis-legacy-CW8BY_nY.js.map +1 -0
  9. package/dist/assets/data-board-CfWZjPIl.js +2 -0
  10. package/dist/assets/data-board-CfWZjPIl.js.map +1 -0
  11. package/dist/assets/{data-board-legacy.b3bf2f61.js → data-board-legacy-DDytbRz4.js} +2 -2
  12. package/dist/assets/data-board-legacy-DDytbRz4.js.map +1 -0
  13. package/dist/assets/{el-date-picker-b3398f8f.js → el-date-picker-CI8bdk_f.js} +2 -2
  14. package/dist/assets/el-date-picker-CI8bdk_f.js.map +1 -0
  15. package/dist/assets/{el-date-picker-legacy.fd044c30.js → el-date-picker-legacy-CSDTG-yp.js} +2 -2
  16. package/dist/assets/el-date-picker-legacy-CSDTG-yp.js.map +1 -0
  17. package/dist/assets/el-dialog-C8bI9VGw.js +2 -0
  18. package/dist/assets/el-dialog-C8bI9VGw.js.map +1 -0
  19. package/dist/assets/el-dialog-legacy-DfEb6k1B.js +2 -0
  20. package/dist/assets/el-dialog-legacy-DfEb6k1B.js.map +1 -0
  21. package/dist/assets/{el-dropdown-item-3eb29c67.js → el-dropdown-item-febUKGk9.js} +2 -2
  22. package/dist/assets/el-dropdown-item-febUKGk9.js.map +1 -0
  23. package/dist/assets/{el-dropdown-item-legacy.60575f42.js → el-dropdown-item-legacy-Bi1TbzqG.js} +2 -2
  24. package/dist/assets/el-dropdown-item-legacy-Bi1TbzqG.js.map +1 -0
  25. package/dist/assets/el-form-item-SCs-OERV.js +2 -0
  26. package/dist/assets/el-form-item-SCs-OERV.js.map +1 -0
  27. package/dist/assets/el-form-item-legacy-CNxAgkUf.js +2 -0
  28. package/dist/assets/el-form-item-legacy-CNxAgkUf.js.map +1 -0
  29. package/dist/assets/el-loading-DSlXrliU.js +2 -0
  30. package/dist/assets/el-loading-DSlXrliU.js.map +1 -0
  31. package/dist/assets/{el-loading-legacy.8045609e.js → el-loading-legacy-CbNNE-qk.js} +2 -2
  32. package/dist/assets/el-loading-legacy-CbNNE-qk.js.map +1 -0
  33. package/dist/assets/{el-pagination-legacy.02ed0149.js → el-pagination-legacy-CeTPKkkI.js} +2 -2
  34. package/dist/assets/el-pagination-legacy-CeTPKkkI.js.map +1 -0
  35. package/dist/assets/{el-pagination-85149e11.js → el-pagination-nfYZbPTI.js} +2 -2
  36. package/dist/assets/el-pagination-nfYZbPTI.js.map +1 -0
  37. package/dist/assets/el-progress-BRTU4m5q.js +2 -0
  38. package/dist/assets/el-progress-BRTU4m5q.js.map +1 -0
  39. package/dist/assets/{el-progress-legacy.1165db46.js → el-progress-legacy-B6EwNV6c.js} +2 -2
  40. package/dist/assets/el-progress-legacy-B6EwNV6c.js.map +1 -0
  41. package/dist/assets/{el-select-legacy.5ccdd9a4.js → el-select-legacy-BFhy033s.js} +2 -2
  42. package/dist/assets/el-select-legacy-BFhy033s.js.map +1 -0
  43. package/dist/assets/{el-select-2a16e5df.js → el-select-uDoCZCn5.js} +2 -2
  44. package/dist/assets/el-select-uDoCZCn5.js.map +1 -0
  45. package/dist/assets/el-switch-B8IyK6ZR.js +2 -0
  46. package/dist/assets/el-switch-B8IyK6ZR.js.map +1 -0
  47. package/dist/assets/{el-switch-legacy.96786863.js → el-switch-legacy-LBGoMV4l.js} +2 -2
  48. package/dist/assets/{el-switch-abdd5a33.js.map → el-switch-legacy-LBGoMV4l.js.map} +1 -1
  49. package/dist/assets/el-tab-pane-fWqYc0uG.js +2 -0
  50. package/dist/assets/el-tab-pane-fWqYc0uG.js.map +1 -0
  51. package/dist/assets/{el-tab-pane-legacy.143cbc33.js → el-tab-pane-legacy-ChZdms4s.js} +2 -2
  52. package/dist/assets/el-tab-pane-legacy-ChZdms4s.js.map +1 -0
  53. package/dist/assets/{el-table-column-19feeab8.js → el-table-column-C3qC7HsW.js} +3 -3
  54. package/dist/assets/el-table-column-C3qC7HsW.js.map +1 -0
  55. package/dist/assets/{el-table-column-legacy.afba06f3.js → el-table-column-legacy-Wp8N0Zxv.js} +4 -4
  56. package/dist/assets/el-table-column-legacy-Wp8N0Zxv.js.map +1 -0
  57. package/dist/assets/{index-3f82ab7a.css → index-1eHw6sEI.css} +1 -1
  58. package/dist/assets/index-5sS3uHi0.css +1 -0
  59. package/dist/assets/index-AYz8tt3l.js +2 -0
  60. package/dist/assets/index-AYz8tt3l.js.map +1 -0
  61. package/dist/assets/index-B5tZv3FB.css +1 -0
  62. package/dist/assets/index-B621FN6u.js +2 -0
  63. package/dist/assets/index-B621FN6u.js.map +1 -0
  64. package/dist/assets/{index-68448dbd.js → index-BAFXwCno.js} +2 -2
  65. package/dist/assets/index-BAFXwCno.js.map +1 -0
  66. package/dist/assets/index-BN8Mg9Y5.js +2 -0
  67. package/dist/assets/index-BN8Mg9Y5.js.map +1 -0
  68. package/dist/assets/index-BYEN2QaU.css +1 -0
  69. package/dist/assets/index-BghihfR3.css +1 -0
  70. package/dist/assets/index-Bp9D-Hzs.js +2 -0
  71. package/dist/assets/index-Bp9D-Hzs.js.map +1 -0
  72. package/dist/assets/{index-9e6bd406.js → index-BrOLxzFM.js} +1 -1
  73. package/dist/assets/{index-9e6bd406.js.map → index-BrOLxzFM.js.map} +1 -1
  74. package/dist/assets/index-C0TTJR9g.js +2 -0
  75. package/dist/assets/index-C0TTJR9g.js.map +1 -0
  76. package/dist/assets/index-C1FTaXL2.js +2 -0
  77. package/dist/assets/index-C1FTaXL2.js.map +1 -0
  78. package/dist/assets/index-CAbIiez7.js +2 -0
  79. package/dist/assets/{index-51740dfd.js.map → index-CAbIiez7.js.map} +1 -1
  80. package/dist/assets/index-CYU98hsF.js +2 -0
  81. package/dist/assets/index-CYU98hsF.js.map +1 -0
  82. package/dist/assets/index-Cbj5Qf1k.js +2 -0
  83. package/dist/assets/index-Cbj5Qf1k.js.map +1 -0
  84. package/dist/assets/index-CbkKWoQA.css +1 -0
  85. package/dist/assets/index-CcPY3ZJk.js +2 -0
  86. package/dist/assets/index-CcPY3ZJk.js.map +1 -0
  87. package/dist/assets/index-CeWnhlkq.css +1 -0
  88. package/dist/assets/index-ChQZKkse.css +1 -0
  89. package/dist/assets/index-CvlaXQXr.js +40 -0
  90. package/dist/assets/index-CvlaXQXr.js.map +1 -0
  91. package/dist/assets/index-CwmiY_sv.css +1 -0
  92. package/dist/assets/{index-78a8b3c7.js → index-D2jrbKvI.js} +2 -2
  93. package/dist/assets/index-D2jrbKvI.js.map +1 -0
  94. package/dist/assets/index-D2p3cWtM.css +1 -0
  95. package/dist/assets/index-DIARiZcJ.js +2 -0
  96. package/dist/assets/index-DIARiZcJ.js.map +1 -0
  97. package/dist/assets/index-DVHa0g7s.js +2 -0
  98. package/dist/assets/{index-f74b7eb6.js.map → index-DVHa0g7s.js.map} +1 -1
  99. package/dist/assets/index-DaSb9EV4.css +1 -0
  100. package/dist/assets/index-DvM_o_Iw.js +2 -0
  101. package/dist/assets/index-DvM_o_Iw.js.map +1 -0
  102. package/dist/assets/index-E_UelRIx.js +2 -0
  103. package/dist/assets/index-E_UelRIx.js.map +1 -0
  104. package/dist/assets/index-Lsr6KH3b.js +2 -0
  105. package/dist/assets/index-Lsr6KH3b.js.map +1 -0
  106. package/dist/assets/{index-82a6b493.css → index-ShzTlShR.css} +1 -1
  107. package/dist/assets/{index-b8357360.js → index-UJqXhonq.js} +2 -2
  108. package/dist/assets/index-UJqXhonq.js.map +1 -0
  109. package/dist/assets/index-WblpVXQj.js +2 -0
  110. package/dist/assets/{index-16b096cf.js.map → index-WblpVXQj.js.map} +1 -1
  111. package/dist/assets/index-dEAnfrhp.css +1 -0
  112. package/dist/assets/index-ehQnwCE_.css +1 -0
  113. package/dist/assets/index-hhTdfxnD.css +1 -0
  114. package/dist/assets/{index-legacy.1796b3ef.js → index-legacy-3jO8hk9z.js} +2 -2
  115. package/dist/assets/index-legacy-3jO8hk9z.js.map +1 -0
  116. package/dist/assets/index-legacy-8ekXefFL.js +2 -0
  117. package/dist/assets/index-legacy-8ekXefFL.js.map +1 -0
  118. package/dist/assets/index-legacy-B865ACt-.js +2 -0
  119. package/dist/assets/index-legacy-B865ACt-.js.map +1 -0
  120. package/dist/assets/index-legacy-B8pZsXYp.js +2 -0
  121. package/dist/assets/index-legacy-B8pZsXYp.js.map +1 -0
  122. package/dist/assets/index-legacy-BA8TBope.js +2 -0
  123. package/dist/assets/index-legacy-BA8TBope.js.map +1 -0
  124. package/dist/assets/index-legacy-BWGaTIeh.js +2 -0
  125. package/dist/assets/index-legacy-BWGaTIeh.js.map +1 -0
  126. package/dist/assets/index-legacy-BaUX-zxP.js +42 -0
  127. package/dist/assets/index-legacy-BaUX-zxP.js.map +1 -0
  128. package/dist/assets/index-legacy-Bwwm9nit.js +2 -0
  129. package/dist/assets/index-legacy-Bwwm9nit.js.map +1 -0
  130. package/dist/assets/index-legacy-BzCDv5Tg.js +2 -0
  131. package/dist/assets/index-legacy-BzCDv5Tg.js.map +1 -0
  132. package/dist/assets/{index-legacy.7a041259.js → index-legacy-Bziat01y.js} +2 -2
  133. package/dist/assets/{index-68448dbd.js.map → index-legacy-Bziat01y.js.map} +1 -1
  134. package/dist/assets/{index-legacy.f84efe08.js → index-legacy-C-gHf8SN.js} +1 -1
  135. package/dist/assets/index-legacy-C-gHf8SN.js.map +1 -0
  136. package/dist/assets/index-legacy-D-yT7UP7.js +2 -0
  137. package/dist/assets/index-legacy-D-yT7UP7.js.map +1 -0
  138. package/dist/assets/{index-legacy.ec490514.js → index-legacy-D14E8pOh.js} +2 -2
  139. package/dist/assets/index-legacy-D14E8pOh.js.map +1 -0
  140. package/dist/assets/index-legacy-D8QuGa98.js +2 -0
  141. package/dist/assets/index-legacy-D8QuGa98.js.map +1 -0
  142. package/dist/assets/index-legacy-D93ANJJU.js +2 -0
  143. package/dist/assets/index-legacy-D93ANJJU.js.map +1 -0
  144. package/dist/assets/index-legacy-DTtXpYbD.js +2 -0
  145. package/dist/assets/index-legacy-DTtXpYbD.js.map +1 -0
  146. package/dist/assets/index-legacy-DZC-JuD-.js +2 -0
  147. package/dist/assets/index-legacy-DZC-JuD-.js.map +1 -0
  148. package/dist/assets/index-legacy-DiTQKLfl.js +2 -0
  149. package/dist/assets/index-legacy-DiTQKLfl.js.map +1 -0
  150. package/dist/assets/index-legacy-DqLKrBdr.js +2 -0
  151. package/dist/assets/index-legacy-DqLKrBdr.js.map +1 -0
  152. package/dist/assets/index-legacy-GmcnXr6o.js +2 -0
  153. package/dist/assets/index-legacy-GmcnXr6o.js.map +1 -0
  154. package/dist/assets/index-legacy-z4MDfS45.js +2 -0
  155. package/dist/assets/index-legacy-z4MDfS45.js.map +1 -0
  156. package/dist/assets/index-ypHH_Z_A.css +1 -0
  157. package/dist/assets/isEqual-a1R5cOCU.js +2 -0
  158. package/dist/assets/{isEqual-95d6c129.js.map → isEqual-a1R5cOCU.js.map} +1 -1
  159. package/dist/assets/isEqual-legacy-D_cb03Zv.js +2 -0
  160. package/dist/assets/isEqual-legacy-D_cb03Zv.js.map +1 -0
  161. package/dist/assets/{other-legacy.39078796.js → other-legacy-DjiCmSH4.js} +1 -1
  162. package/dist/assets/other-legacy-DjiCmSH4.js.map +1 -0
  163. package/dist/assets/{other-8d7ba6a0.js → other-yMAyytYx.js} +1 -1
  164. package/dist/assets/{other-8d7ba6a0.js.map → other-yMAyytYx.js.map} +1 -1
  165. package/dist/assets/polyfills-legacy-CPmsgIAF.js +4 -0
  166. package/dist/assets/{refresh-be31af7a.js → refresh-Bz5ULfz9.js} +2 -2
  167. package/dist/assets/refresh-Bz5ULfz9.js.map +1 -0
  168. package/dist/assets/{refresh-legacy.600c5af4.js → refresh-legacy-NT5iEzmI.js} +2 -2
  169. package/dist/assets/refresh-legacy-NT5iEzmI.js.map +1 -0
  170. package/dist/assets/tip-BCCd4P_x.js +2 -0
  171. package/dist/assets/tip-BCCd4P_x.js.map +1 -0
  172. package/dist/assets/{tip-legacy.b6d754fd.js → tip-legacy-Cm2JPa4-.js} +2 -2
  173. package/dist/assets/tip-legacy-Cm2JPa4-.js.map +1 -0
  174. package/dist/assets/{tip-9cb18ee8.css → tip-ovQu2XSt.css} +1 -1
  175. package/dist/assets/validator-BESrcCvQ.js +2 -0
  176. package/dist/assets/validator-BESrcCvQ.js.map +1 -0
  177. package/dist/assets/validator-legacy-xarmcLjs.js +2 -0
  178. package/dist/assets/validator-legacy-xarmcLjs.js.map +1 -0
  179. package/dist/index.html +6 -7
  180. package/package.json +30 -24
  181. package/dist/assets/aria-bc8e8b0f.js.map +0 -1
  182. package/dist/assets/data-analysis-632af70e.js.map +0 -1
  183. package/dist/assets/data-board-4290cade.js +0 -2
  184. package/dist/assets/data-board-4290cade.js.map +0 -1
  185. package/dist/assets/el-date-picker-b3398f8f.js.map +0 -1
  186. package/dist/assets/el-dialog-c11c4af2.js +0 -2
  187. package/dist/assets/el-dialog-c11c4af2.js.map +0 -1
  188. package/dist/assets/el-dialog-legacy.d2229175.js +0 -2
  189. package/dist/assets/el-dropdown-item-3eb29c67.js.map +0 -1
  190. package/dist/assets/el-form-item-fb230be3.js +0 -2
  191. package/dist/assets/el-form-item-fb230be3.js.map +0 -1
  192. package/dist/assets/el-form-item-legacy.237ed4b6.js +0 -2
  193. package/dist/assets/el-loading-e9365e7e.js +0 -2
  194. package/dist/assets/el-loading-e9365e7e.js.map +0 -1
  195. package/dist/assets/el-pagination-85149e11.js.map +0 -1
  196. package/dist/assets/el-progress-b98becda.js +0 -2
  197. package/dist/assets/el-progress-b98becda.js.map +0 -1
  198. package/dist/assets/el-select-2a16e5df.js.map +0 -1
  199. package/dist/assets/el-switch-abdd5a33.js +0 -2
  200. package/dist/assets/el-tab-pane-db271c8d.js +0 -2
  201. package/dist/assets/el-tab-pane-db271c8d.js.map +0 -1
  202. package/dist/assets/el-table-column-19feeab8.js.map +0 -1
  203. package/dist/assets/index-01e33329.css +0 -1
  204. package/dist/assets/index-0f83ff96.css +0 -1
  205. package/dist/assets/index-0fbe23b2.js +0 -2
  206. package/dist/assets/index-0fbe23b2.js.map +0 -1
  207. package/dist/assets/index-14d600a5.js +0 -2
  208. package/dist/assets/index-14d600a5.js.map +0 -1
  209. package/dist/assets/index-1639ad54.js +0 -15
  210. package/dist/assets/index-1639ad54.js.map +0 -1
  211. package/dist/assets/index-16b096cf.js +0 -2
  212. package/dist/assets/index-1bd2cd2e.js +0 -2
  213. package/dist/assets/index-1bd2cd2e.js.map +0 -1
  214. package/dist/assets/index-2c76567d.js +0 -2
  215. package/dist/assets/index-2c76567d.js.map +0 -1
  216. package/dist/assets/index-3091894a.css +0 -1
  217. package/dist/assets/index-34fd4f9f.css +0 -1
  218. package/dist/assets/index-37e15bc6.css +0 -1
  219. package/dist/assets/index-43d1d27e.js +0 -2
  220. package/dist/assets/index-43d1d27e.js.map +0 -1
  221. package/dist/assets/index-488b0f9e.js +0 -2
  222. package/dist/assets/index-488b0f9e.js.map +0 -1
  223. package/dist/assets/index-4b1f55ea.js +0 -2
  224. package/dist/assets/index-4b1f55ea.js.map +0 -1
  225. package/dist/assets/index-4c81cf78.css +0 -1
  226. package/dist/assets/index-51740dfd.js +0 -2
  227. package/dist/assets/index-5281fad0.js +0 -2
  228. package/dist/assets/index-5281fad0.js.map +0 -1
  229. package/dist/assets/index-74330c06.js +0 -2
  230. package/dist/assets/index-74330c06.js.map +0 -1
  231. package/dist/assets/index-76f31e30.css +0 -1
  232. package/dist/assets/index-76ff9b9b.css +0 -1
  233. package/dist/assets/index-78a8b3c7.js.map +0 -1
  234. package/dist/assets/index-98b55468.css +0 -1
  235. package/dist/assets/index-9e6a9bcf.js +0 -2
  236. package/dist/assets/index-9e6a9bcf.js.map +0 -1
  237. package/dist/assets/index-ac06071b.js +0 -2
  238. package/dist/assets/index-ac06071b.js.map +0 -1
  239. package/dist/assets/index-adc1b681.js +0 -2
  240. package/dist/assets/index-adc1b681.js.map +0 -1
  241. package/dist/assets/index-b8357360.js.map +0 -1
  242. package/dist/assets/index-d09329eb.js +0 -2
  243. package/dist/assets/index-d09329eb.js.map +0 -1
  244. package/dist/assets/index-d3ae2239.css +0 -1
  245. package/dist/assets/index-da51da36.css +0 -1
  246. package/dist/assets/index-e7d8a83e.css +0 -1
  247. package/dist/assets/index-eb08e7b7.css +0 -1
  248. package/dist/assets/index-f31c9ba4.css +0 -1
  249. package/dist/assets/index-f74b7eb6.js +0 -2
  250. package/dist/assets/index-legacy.082ccf5b.js +0 -2
  251. package/dist/assets/index-legacy.12de1889.js +0 -2
  252. package/dist/assets/index-legacy.227978b5.js +0 -2
  253. package/dist/assets/index-legacy.296716c3.js +0 -2
  254. package/dist/assets/index-legacy.36482c14.js +0 -2
  255. package/dist/assets/index-legacy.41d8801d.js +0 -2
  256. package/dist/assets/index-legacy.4b2923ee.js +0 -2
  257. package/dist/assets/index-legacy.4c1d6eb3.js +0 -2
  258. package/dist/assets/index-legacy.820f4ba0.js +0 -2
  259. package/dist/assets/index-legacy.8311ba4a.js +0 -2
  260. package/dist/assets/index-legacy.9eb93981.js +0 -18
  261. package/dist/assets/index-legacy.a19ed25e.js +0 -2
  262. package/dist/assets/index-legacy.b8de0bf4.js +0 -2
  263. package/dist/assets/index-legacy.e932a3d4.js +0 -2
  264. package/dist/assets/index-legacy.e96fb189.js +0 -2
  265. package/dist/assets/index-legacy.ed2883a1.js +0 -2
  266. package/dist/assets/index-legacy.f16524a6.js +0 -2
  267. package/dist/assets/isEqual-95d6c129.js +0 -2
  268. package/dist/assets/isEqual-legacy.83836994.js +0 -2
  269. package/dist/assets/polyfills-legacy.99e38685.js +0 -4
  270. package/dist/assets/refresh-be31af7a.js.map +0 -1
  271. package/dist/assets/tip-822b05b7.js +0 -2
  272. package/dist/assets/tip-822b05b7.js.map +0 -1
  273. package/dist/assets/validator-5c60ab85.js +0 -2
  274. package/dist/assets/validator-5c60ab85.js.map +0 -1
  275. package/dist/assets/validator-legacy.86b93c0e.js +0 -2
  276. /package/dist/assets/{el-date-picker-cf2e83b6.css → el-date-picker-NjWHL2Br.css} +0 -0
  277. /package/dist/assets/{el-dialog-25bd2fb8.css → el-dialog-Cu2jwelC.css} +0 -0
  278. /package/dist/assets/{el-dropdown-item-0c6ddabc.css → el-dropdown-item-CUgTpiu6.css} +0 -0
  279. /package/dist/assets/{el-form-item-3aad794a.css → el-form-item-Cc9R0dZ1.css} +0 -0
  280. /package/dist/assets/{el-loading-d0f2d079.css → el-loading-Uv12lkco.css} +0 -0
  281. /package/dist/assets/{el-pagination-bf7c736d.css → el-pagination-MvCAleW2.css} +0 -0
  282. /package/dist/assets/{el-progress-63aabe3a.css → el-progress-njCW9-w4.css} +0 -0
  283. /package/dist/assets/{el-select-6be23320.css → el-select-BSO0hXRI.css} +0 -0
  284. /package/dist/assets/{el-switch-aeab2c6b.css → el-switch-D6dVIPlw.css} +0 -0
  285. /package/dist/assets/{el-tab-pane-4a1bb4c7.css → el-tab-pane-kUw7IczA.css} +0 -0
  286. /package/dist/assets/{el-table-column-6c2089f9.css → el-table-column-DMXHP8sd.css} +0 -0
  287. /package/dist/assets/{index-93c733b3.css → index-C4H-Ptjt.css} +0 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"el-dropdown-item-legacy-Bi1TbzqG.js","sources":["../../node_modules/.pnpm/element-plus@2.2.13_vue@3.4.31_typescript@4.9.5_/node_modules/element-plus/es/components/collection/src/collection2.mjs","../../node_modules/.pnpm/element-plus@2.2.13_vue@3.4.31_typescript@4.9.5_/node_modules/element-plus/es/components/collection/src/collection-item.mjs","../../node_modules/.pnpm/element-plus@2.2.13_vue@3.4.31_typescript@4.9.5_/node_modules/element-plus/es/components/collection/src/collection.mjs","../../node_modules/.pnpm/element-plus@2.2.13_vue@3.4.31_typescript@4.9.5_/node_modules/element-plus/es/components/roving-focus-group/src/roving-focus-group.mjs","../../node_modules/.pnpm/element-plus@2.2.13_vue@3.4.31_typescript@4.9.5_/node_modules/element-plus/es/components/roving-focus-group/src/tokens.mjs","../../node_modules/.pnpm/element-plus@2.2.13_vue@3.4.31_typescript@4.9.5_/node_modules/element-plus/es/components/roving-focus-group/src/utils.mjs","../../node_modules/.pnpm/element-plus@2.2.13_vue@3.4.31_typescript@4.9.5_/node_modules/element-plus/es/components/roving-focus-group/src/roving-focus-group-impl.mjs","../../node_modules/.pnpm/element-plus@2.2.13_vue@3.4.31_typescript@4.9.5_/node_modules/element-plus/es/components/roving-focus-group/src/roving-focus-group2.mjs","../../node_modules/.pnpm/element-plus@2.2.13_vue@3.4.31_typescript@4.9.5_/node_modules/element-plus/es/components/roving-focus-group/src/roving-focus-item.mjs","../../node_modules/.pnpm/element-plus@2.2.13_vue@3.4.31_typescript@4.9.5_/node_modules/element-plus/es/components/dropdown/src/dropdown.mjs","../../node_modules/.pnpm/element-plus@2.2.13_vue@3.4.31_typescript@4.9.5_/node_modules/element-plus/es/components/dropdown/src/tokens.mjs","../../node_modules/.pnpm/element-plus@2.2.13_vue@3.4.31_typescript@4.9.5_/node_modules/element-plus/es/components/dropdown/src/dropdown2.mjs","../../node_modules/.pnpm/element-plus@2.2.13_vue@3.4.31_typescript@4.9.5_/node_modules/element-plus/es/components/dropdown/src/dropdown-item-impl.mjs","../../node_modules/.pnpm/element-plus@2.2.13_vue@3.4.31_typescript@4.9.5_/node_modules/element-plus/es/components/dropdown/src/useDropdown.mjs","../../node_modules/.pnpm/element-plus@2.2.13_vue@3.4.31_typescript@4.9.5_/node_modules/element-plus/es/components/dropdown/src/dropdown-item.mjs","../../node_modules/.pnpm/element-plus@2.2.13_vue@3.4.31_typescript@4.9.5_/node_modules/element-plus/es/components/dropdown/src/dropdown-menu.mjs","../../node_modules/.pnpm/element-plus@2.2.13_vue@3.4.31_typescript@4.9.5_/node_modules/element-plus/es/components/dropdown/index.mjs","../../node_modules/.pnpm/@element-plus+icons-vue@1.1.4_vue@3.4.31_typescript@4.9.5_/node_modules/@element-plus/icons-vue/dist/es/arrow-down.mjs"],"sourcesContent":["import { renderSlot } from 'vue';\nimport _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';\n\nconst _sfc_main = {\n inheritAttrs: false\n};\nfunction _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {\n return renderSlot(_ctx.$slots, \"default\");\n}\nvar Collection = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"render\", _sfc_render], [\"__file\", \"/home/runner/work/element-plus/element-plus/packages/components/collection/src/collection.vue\"]]);\n\nexport { Collection as default };\n//# sourceMappingURL=collection2.mjs.map\n","import { renderSlot } from 'vue';\nimport _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';\n\nconst _sfc_main = {\n name: \"ElCollectionItem\",\n inheritAttrs: false\n};\nfunction _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {\n return renderSlot(_ctx.$slots, \"default\");\n}\nvar CollectionItem = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"render\", _sfc_render], [\"__file\", \"/home/runner/work/element-plus/element-plus/packages/components/collection/src/collection-item.vue\"]]);\n\nexport { CollectionItem as default };\n//# sourceMappingURL=collection-item.mjs.map\n","import { ref, unref, provide, inject, onMounted, onBeforeUnmount } from 'vue';\nimport Collection from './collection2.mjs';\nimport CollectionItem from './collection-item.mjs';\n\nconst COLLECTION_ITEM_SIGN = `data-el-collection-item`;\nconst createCollectionWithScope = (name) => {\n const COLLECTION_NAME = `El${name}Collection`;\n const COLLECTION_ITEM_NAME = `${COLLECTION_NAME}Item`;\n const COLLECTION_INJECTION_KEY = Symbol(COLLECTION_NAME);\n const COLLECTION_ITEM_INJECTION_KEY = Symbol(COLLECTION_ITEM_NAME);\n const ElCollection = {\n ...Collection,\n name: COLLECTION_NAME,\n setup() {\n const collectionRef = ref(null);\n const itemMap = /* @__PURE__ */ new Map();\n const getItems = () => {\n const collectionEl = unref(collectionRef);\n if (!collectionEl)\n return [];\n const orderedNodes = Array.from(collectionEl.querySelectorAll(`[${COLLECTION_ITEM_SIGN}]`));\n const items = [...itemMap.values()];\n return items.sort((a, b) => orderedNodes.indexOf(a.ref) - orderedNodes.indexOf(b.ref));\n };\n provide(COLLECTION_INJECTION_KEY, {\n itemMap,\n getItems,\n collectionRef\n });\n }\n };\n const ElCollectionItem = {\n ...CollectionItem,\n name: COLLECTION_ITEM_NAME,\n setup(_, { attrs }) {\n const collectionItemRef = ref(null);\n const collectionInjection = inject(COLLECTION_INJECTION_KEY, void 0);\n provide(COLLECTION_ITEM_INJECTION_KEY, {\n collectionItemRef\n });\n onMounted(() => {\n const collectionItemEl = unref(collectionItemRef);\n if (collectionItemEl) {\n collectionInjection.itemMap.set(collectionItemEl, {\n ref: collectionItemEl,\n ...attrs\n });\n }\n });\n onBeforeUnmount(() => {\n const collectionItemEl = unref(collectionItemRef);\n collectionInjection.itemMap.delete(collectionItemEl);\n });\n }\n };\n return {\n COLLECTION_INJECTION_KEY,\n COLLECTION_ITEM_INJECTION_KEY,\n ElCollection,\n ElCollectionItem\n };\n};\n\nexport { COLLECTION_ITEM_SIGN, createCollectionWithScope };\n//# sourceMappingURL=collection.mjs.map\n","import '../../../utils/index.mjs';\nimport '../../collection/index.mjs';\nimport { buildProps, definePropType } from '../../../utils/vue/props/runtime.mjs';\nimport { createCollectionWithScope } from '../../collection/src/collection.mjs';\n\nconst rovingFocusGroupProps = buildProps({\n style: { type: definePropType([String, Array, Object]) },\n currentTabId: {\n type: definePropType(String)\n },\n defaultCurrentTabId: String,\n loop: Boolean,\n dir: {\n type: String,\n values: [\"ltr\", \"rtl\"],\n default: \"ltr\"\n },\n orientation: {\n type: definePropType(String)\n },\n onBlur: Function,\n onFocus: Function,\n onMousedown: Function\n});\nconst {\n ElCollection,\n ElCollectionItem,\n COLLECTION_INJECTION_KEY,\n COLLECTION_ITEM_INJECTION_KEY\n} = createCollectionWithScope(\"RovingFocusGroup\");\n\nexport { ElCollection, ElCollectionItem, COLLECTION_INJECTION_KEY as ROVING_FOCUS_COLLECTION_INJECTION_KEY, COLLECTION_ITEM_INJECTION_KEY as ROVING_FOCUS_ITEM_COLLECTION_INJECTION_KEY, rovingFocusGroupProps };\n//# sourceMappingURL=roving-focus-group.mjs.map\n","const ROVING_FOCUS_GROUP_INJECTION_KEY = Symbol(\"elRovingFocusGroup\");\nconst ROVING_FOCUS_GROUP_ITEM_INJECTION_KEY = Symbol(\"elRovingFocusGroupItem\");\n\nexport { ROVING_FOCUS_GROUP_INJECTION_KEY, ROVING_FOCUS_GROUP_ITEM_INJECTION_KEY };\n//# sourceMappingURL=tokens.mjs.map\n","import '../../../constants/index.mjs';\nimport { EVENT_CODE } from '../../../constants/aria.mjs';\n\nconst MAP_KEY_TO_FOCUS_INTENT = {\n ArrowLeft: \"prev\",\n ArrowUp: \"prev\",\n ArrowRight: \"next\",\n ArrowDown: \"next\",\n PageUp: \"first\",\n Home: \"first\",\n PageDown: \"last\",\n End: \"last\"\n};\nconst getDirectionAwareKey = (key, dir) => {\n if (dir !== \"rtl\")\n return key;\n switch (key) {\n case EVENT_CODE.right:\n return EVENT_CODE.left;\n case EVENT_CODE.left:\n return EVENT_CODE.right;\n default:\n return key;\n }\n};\nconst getFocusIntent = (event, orientation, dir) => {\n const key = getDirectionAwareKey(event.key, dir);\n if (orientation === \"vertical\" && [EVENT_CODE.left, EVENT_CODE.right].includes(key))\n return void 0;\n if (orientation === \"horizontal\" && [EVENT_CODE.up, EVENT_CODE.down].includes(key))\n return void 0;\n return MAP_KEY_TO_FOCUS_INTENT[key];\n};\nconst reorderArray = (array, atIdx) => {\n return array.map((_, idx) => array[(idx + atIdx) % array.length]);\n};\nconst focusFirst = (elements) => {\n const { activeElement: prevActive } = document;\n for (const element of elements) {\n if (element === prevActive)\n return;\n element.focus();\n if (prevActive !== document.activeElement)\n return;\n }\n};\n\nexport { focusFirst, getFocusIntent, reorderArray };\n//# sourceMappingURL=utils.mjs.map\n","import { defineComponent, ref, inject, computed, unref, provide, readonly, toRef, watch, renderSlot } from 'vue';\nimport { useEventListener } from '@vueuse/core';\nimport '../../../utils/index.mjs';\nimport { rovingFocusGroupProps, ROVING_FOCUS_COLLECTION_INJECTION_KEY as COLLECTION_INJECTION_KEY } from './roving-focus-group.mjs';\nimport { ROVING_FOCUS_GROUP_INJECTION_KEY } from './tokens.mjs';\nimport { focusFirst } from './utils.mjs';\nimport _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';\nimport { composeEventHandlers } from '../../../utils/dom/event.mjs';\n\nconst CURRENT_TAB_ID_CHANGE_EVT = \"currentTabIdChange\";\nconst ENTRY_FOCUS_EVT = \"rovingFocusGroup.entryFocus\";\nconst EVT_OPTS = { bubbles: false, cancelable: true };\nconst _sfc_main = defineComponent({\n name: \"ElRovingFocusGroupImpl\",\n inheritAttrs: false,\n props: rovingFocusGroupProps,\n emits: [CURRENT_TAB_ID_CHANGE_EVT, \"entryFocus\"],\n setup(props, { emit }) {\n var _a;\n const currentTabbedId = ref((_a = props.currentTabId || props.defaultCurrentTabId) != null ? _a : null);\n const isBackingOut = ref(false);\n const isClickFocus = ref(false);\n const rovingFocusGroupRef = ref(null);\n const { getItems } = inject(COLLECTION_INJECTION_KEY, void 0);\n const rovingFocusGroupRootStyle = computed(() => {\n return [\n {\n outline: \"none\"\n },\n props.style\n ];\n });\n const onItemFocus = (tabbedId) => {\n emit(CURRENT_TAB_ID_CHANGE_EVT, tabbedId);\n };\n const onItemShiftTab = () => {\n isBackingOut.value = true;\n };\n const onMousedown = composeEventHandlers((e) => {\n var _a2;\n (_a2 = props.onMousedown) == null ? void 0 : _a2.call(props, e);\n }, () => {\n isClickFocus.value = true;\n });\n const onFocus = composeEventHandlers((e) => {\n var _a2;\n (_a2 = props.onFocus) == null ? void 0 : _a2.call(props, e);\n }, (e) => {\n const isKeyboardFocus = !unref(isClickFocus);\n const { target, currentTarget } = e;\n if (target === currentTarget && isKeyboardFocus && !unref(isBackingOut)) {\n const entryFocusEvt = new Event(ENTRY_FOCUS_EVT, EVT_OPTS);\n currentTarget == null ? void 0 : currentTarget.dispatchEvent(entryFocusEvt);\n if (!entryFocusEvt.defaultPrevented) {\n const items = getItems().filter((item) => item.focusable);\n const activeItem = items.find((item) => item.active);\n const currentItem = items.find((item) => item.id === unref(currentTabbedId));\n const candidates = [activeItem, currentItem, ...items].filter(Boolean);\n const candidateNodes = candidates.map((item) => item.ref);\n focusFirst(candidateNodes);\n }\n }\n isClickFocus.value = false;\n });\n const onBlur = composeEventHandlers((e) => {\n var _a2;\n (_a2 = props.onBlur) == null ? void 0 : _a2.call(props, e);\n }, () => {\n isBackingOut.value = false;\n });\n const handleEntryFocus = (...args) => {\n emit(\"entryFocus\", ...args);\n };\n provide(ROVING_FOCUS_GROUP_INJECTION_KEY, {\n currentTabbedId: readonly(currentTabbedId),\n loop: toRef(props, \"loop\"),\n tabIndex: computed(() => {\n return unref(isBackingOut) ? -1 : 0;\n }),\n rovingFocusGroupRef,\n rovingFocusGroupRootStyle,\n orientation: toRef(props, \"orientation\"),\n dir: toRef(props, \"dir\"),\n onItemFocus,\n onItemShiftTab,\n onBlur,\n onFocus,\n onMousedown\n });\n watch(() => props.currentTabId, (val) => {\n currentTabbedId.value = val != null ? val : null;\n });\n useEventListener(rovingFocusGroupRef, ENTRY_FOCUS_EVT, handleEntryFocus);\n }\n});\nfunction _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {\n return renderSlot(_ctx.$slots, \"default\");\n}\nvar ElRovingFocusGroupImpl = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"render\", _sfc_render], [\"__file\", \"/home/runner/work/element-plus/element-plus/packages/components/roving-focus-group/src/roving-focus-group-impl.vue\"]]);\n\nexport { ElRovingFocusGroupImpl as default };\n//# sourceMappingURL=roving-focus-group-impl.mjs.map\n","import { defineComponent, resolveComponent, openBlock, createBlock, withCtx, createVNode, normalizeProps, guardReactiveProps, renderSlot } from 'vue';\nimport ElRovingFocusGroupImpl from './roving-focus-group-impl.mjs';\nimport { ElCollection } from './roving-focus-group.mjs';\nimport _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';\n\nconst _sfc_main = defineComponent({\n name: \"ElRovingFocusGroup\",\n components: {\n ElFocusGroupCollection: ElCollection,\n ElRovingFocusGroupImpl\n }\n});\nfunction _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {\n const _component_el_roving_focus_group_impl = resolveComponent(\"el-roving-focus-group-impl\");\n const _component_el_focus_group_collection = resolveComponent(\"el-focus-group-collection\");\n return openBlock(), createBlock(_component_el_focus_group_collection, null, {\n default: withCtx(() => [\n createVNode(_component_el_roving_focus_group_impl, normalizeProps(guardReactiveProps(_ctx.$attrs)), {\n default: withCtx(() => [\n renderSlot(_ctx.$slots, \"default\")\n ]),\n _: 3\n }, 16)\n ]),\n _: 3\n });\n}\nvar ElRovingFocusGroup = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"render\", _sfc_render], [\"__file\", \"/home/runner/work/element-plus/element-plus/packages/components/roving-focus-group/src/roving-focus-group.vue\"]]);\n\nexport { ElRovingFocusGroup as default };\n//# sourceMappingURL=roving-focus-group2.mjs.map\n","import { defineComponent, inject, ref, unref, nextTick, computed, provide, resolveComponent, openBlock, createBlock, withCtx, renderSlot } from 'vue';\nimport '../../../hooks/index.mjs';\nimport '../../../utils/index.mjs';\nimport '../../../constants/index.mjs';\nimport { ElCollectionItem, ROVING_FOCUS_COLLECTION_INJECTION_KEY as COLLECTION_INJECTION_KEY } from './roving-focus-group.mjs';\nimport { ROVING_FOCUS_GROUP_INJECTION_KEY, ROVING_FOCUS_GROUP_ITEM_INJECTION_KEY } from './tokens.mjs';\nimport { getFocusIntent, reorderArray, focusFirst } from './utils.mjs';\nimport _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';\nimport { useId } from '../../../hooks/use-id/index.mjs';\nimport { composeEventHandlers } from '../../../utils/dom/event.mjs';\nimport { EVENT_CODE } from '../../../constants/aria.mjs';\n\nconst _sfc_main = defineComponent({\n components: {\n ElRovingFocusCollectionItem: ElCollectionItem\n },\n props: {\n focusable: {\n type: Boolean,\n default: true\n },\n active: {\n type: Boolean,\n default: false\n }\n },\n emits: [\"mousedown\", \"focus\", \"keydown\"],\n setup(props, { emit }) {\n const { currentTabbedId, loop, onItemFocus, onItemShiftTab } = inject(ROVING_FOCUS_GROUP_INJECTION_KEY, void 0);\n const { getItems } = inject(COLLECTION_INJECTION_KEY, void 0);\n const id = useId();\n const rovingFocusGroupItemRef = ref(null);\n const handleMousedown = composeEventHandlers((e) => {\n emit(\"mousedown\", e);\n }, (e) => {\n if (!props.focusable) {\n e.preventDefault();\n } else {\n onItemFocus(unref(id));\n }\n });\n const handleFocus = composeEventHandlers((e) => {\n emit(\"focus\", e);\n }, () => {\n onItemFocus(unref(id));\n });\n const handleKeydown = composeEventHandlers((e) => {\n emit(\"keydown\", e);\n }, (e) => {\n const { key, shiftKey, target, currentTarget } = e;\n if (key === EVENT_CODE.tab && shiftKey) {\n onItemShiftTab();\n return;\n }\n if (target !== currentTarget)\n return;\n const focusIntent = getFocusIntent(e);\n if (focusIntent) {\n e.preventDefault();\n const items = getItems().filter((item) => item.focusable);\n let elements = items.map((item) => item.ref);\n switch (focusIntent) {\n case \"last\": {\n elements.reverse();\n break;\n }\n case \"prev\":\n case \"next\": {\n if (focusIntent === \"prev\") {\n elements.reverse();\n }\n const currentIdx = elements.indexOf(currentTarget);\n elements = loop.value ? reorderArray(elements, currentIdx + 1) : elements.slice(currentIdx + 1);\n break;\n }\n default: {\n break;\n }\n }\n nextTick(() => {\n focusFirst(elements);\n });\n }\n });\n const isCurrentTab = computed(() => currentTabbedId.value === unref(id));\n provide(ROVING_FOCUS_GROUP_ITEM_INJECTION_KEY, {\n rovingFocusGroupItemRef,\n tabIndex: computed(() => unref(isCurrentTab) ? 0 : -1),\n handleMousedown,\n handleFocus,\n handleKeydown\n });\n return {\n id,\n handleKeydown,\n handleFocus,\n handleMousedown\n };\n }\n});\nfunction _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {\n const _component_el_roving_focus_collection_item = resolveComponent(\"el-roving-focus-collection-item\");\n return openBlock(), createBlock(_component_el_roving_focus_collection_item, {\n id: _ctx.id,\n focusable: _ctx.focusable,\n active: _ctx.active\n }, {\n default: withCtx(() => [\n renderSlot(_ctx.$slots, \"default\")\n ]),\n _: 3\n }, 8, [\"id\", \"focusable\", \"active\"]);\n}\nvar ElRovingFocusItem = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"render\", _sfc_render], [\"__file\", \"/home/runner/work/element-plus/element-plus/packages/components/roving-focus-group/src/roving-focus-item.vue\"]]);\n\nexport { ElRovingFocusItem as default };\n//# sourceMappingURL=roving-focus-item.mjs.map\n","import '../../../utils/index.mjs';\nimport '../../../constants/index.mjs';\nimport '../../collection/index.mjs';\nimport '../../tooltip/index.mjs';\nimport { buildProps, definePropType } from '../../../utils/vue/props/runtime.mjs';\nimport { useTooltipTriggerProps, useTooltipContentProps } from '../../tooltip/src/tooltip.mjs';\nimport { iconPropType } from '../../../utils/vue/icon.mjs';\nimport { EVENT_CODE } from '../../../constants/aria.mjs';\nimport { createCollectionWithScope } from '../../collection/src/collection.mjs';\n\nconst dropdownProps = buildProps({\n trigger: useTooltipTriggerProps.trigger,\n effect: {\n ...useTooltipContentProps.effect,\n default: \"light\"\n },\n type: {\n type: definePropType(String)\n },\n placement: {\n type: definePropType(String),\n default: \"bottom\"\n },\n popperOptions: {\n type: definePropType(Object),\n default: () => ({})\n },\n id: String,\n size: {\n type: String,\n default: \"\"\n },\n splitButton: Boolean,\n hideOnClick: {\n type: Boolean,\n default: true\n },\n loop: {\n type: Boolean,\n default: true\n },\n showTimeout: {\n type: Number,\n default: 150\n },\n hideTimeout: {\n type: Number,\n default: 150\n },\n tabindex: {\n type: definePropType([Number, String]),\n default: 0\n },\n maxHeight: {\n type: definePropType([Number, String]),\n default: \"\"\n },\n popperClass: {\n type: String,\n default: \"\"\n },\n disabled: {\n type: Boolean,\n default: false\n },\n role: {\n type: String,\n default: \"menu\"\n },\n buttonProps: {\n type: definePropType(Object)\n }\n});\nconst dropdownItemProps = buildProps({\n command: {\n type: [Object, String, Number],\n default: () => ({})\n },\n disabled: Boolean,\n divided: Boolean,\n textValue: String,\n icon: {\n type: iconPropType\n }\n});\nconst dropdownMenuProps = buildProps({\n onKeydown: { type: definePropType(Function) }\n});\nconst FIRST_KEYS = [\n EVENT_CODE.down,\n EVENT_CODE.pageDown,\n EVENT_CODE.home\n];\nconst LAST_KEYS = [EVENT_CODE.up, EVENT_CODE.pageUp, EVENT_CODE.end];\nconst FIRST_LAST_KEYS = [...FIRST_KEYS, ...LAST_KEYS];\nconst {\n ElCollection,\n ElCollectionItem,\n COLLECTION_INJECTION_KEY,\n COLLECTION_ITEM_INJECTION_KEY\n} = createCollectionWithScope(\"Dropdown\");\n\nexport { COLLECTION_INJECTION_KEY as DROPDOWN_COLLECTION_INJECTION_KEY, COLLECTION_ITEM_INJECTION_KEY as DROPDOWN_COLLECTION_ITEM_INJECTION_KEY, ElCollection, ElCollectionItem, FIRST_KEYS, FIRST_LAST_KEYS, LAST_KEYS, dropdownItemProps, dropdownMenuProps, dropdownProps };\n//# sourceMappingURL=dropdown.mjs.map\n","const DROPDOWN_INJECTION_KEY = Symbol(\"elDropdown\");\n\nexport { DROPDOWN_INJECTION_KEY };\n//# sourceMappingURL=tokens.mjs.map\n","import { defineComponent, getCurrentInstance, ref, computed, unref, provide, toRef, resolveComponent, openBlock, createElementBlock, normalizeClass, createVNode, createSlots, withCtx, renderSlot, createBlock, mergeProps, createCommentVNode } from 'vue';\nimport { ElButton } from '../../button/index.mjs';\nimport { ElTooltip } from '../../tooltip/index.mjs';\nimport { ElScrollbar } from '../../scrollbar/index.mjs';\nimport { ElIcon } from '../../icon/index.mjs';\nimport '../../roving-focus-group/index.mjs';\nimport '../../slot/index.mjs';\nimport '../../../utils/index.mjs';\nimport { ArrowDown } from '@element-plus/icons-vue';\nimport '../../../constants/index.mjs';\nimport '../../../hooks/index.mjs';\nimport { ElCollection, dropdownProps } from './dropdown.mjs';\nimport { DROPDOWN_INJECTION_KEY } from './tokens.mjs';\nimport _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';\nimport ElRovingFocusGroup from '../../roving-focus-group/src/roving-focus-group2.mjs';\nimport { OnlyChild } from '../../slot/src/only-child.mjs';\nimport { useNamespace } from '../../../hooks/use-namespace/index.mjs';\nimport { useLocale } from '../../../hooks/use-locale/index.mjs';\nimport { EVENT_CODE } from '../../../constants/aria.mjs';\nimport { addUnit } from '../../../utils/dom/style.mjs';\nimport { useId } from '../../../hooks/use-id/index.mjs';\nimport { useSize } from '../../../hooks/use-common-props/index.mjs';\n\nconst { ButtonGroup: ElButtonGroup } = ElButton;\nconst _sfc_main = defineComponent({\n name: \"ElDropdown\",\n components: {\n ElButton,\n ElButtonGroup,\n ElScrollbar,\n ElDropdownCollection: ElCollection,\n ElTooltip,\n ElRovingFocusGroup,\n ElOnlyChild: OnlyChild,\n ElIcon,\n ArrowDown\n },\n props: dropdownProps,\n emits: [\"visible-change\", \"click\", \"command\"],\n setup(props, { emit }) {\n const _instance = getCurrentInstance();\n const ns = useNamespace(\"dropdown\");\n const { t } = useLocale();\n const triggeringElementRef = ref();\n const referenceElementRef = ref();\n const popperRef = ref(null);\n const contentRef = ref(null);\n const scrollbar = ref(null);\n const currentTabId = ref(null);\n const isUsingKeyboard = ref(false);\n const triggerKeys = [EVENT_CODE.enter, EVENT_CODE.space, EVENT_CODE.down];\n const wrapStyle = computed(() => ({\n maxHeight: addUnit(props.maxHeight)\n }));\n const dropdownTriggerKls = computed(() => [ns.m(dropdownSize.value)]);\n const defaultTriggerId = useId().value;\n const triggerId = computed(() => {\n return props.id || defaultTriggerId;\n });\n function handleClick() {\n handleClose();\n }\n function handleClose() {\n var _a;\n (_a = popperRef.value) == null ? void 0 : _a.onClose();\n }\n function handleOpen() {\n var _a;\n (_a = popperRef.value) == null ? void 0 : _a.onOpen();\n }\n const dropdownSize = useSize();\n function commandHandler(...args) {\n emit(\"command\", ...args);\n }\n function onItemEnter() {\n }\n function onItemLeave() {\n const contentEl = unref(contentRef);\n contentEl == null ? void 0 : contentEl.focus();\n currentTabId.value = null;\n }\n function handleCurrentTabIdChange(id) {\n currentTabId.value = id;\n }\n function handleEntryFocus(e) {\n if (!isUsingKeyboard.value) {\n e.preventDefault();\n e.stopImmediatePropagation();\n }\n }\n function handleBeforeShowTooltip() {\n emit(\"visible-change\", true);\n }\n function handleShowTooltip(event) {\n if ((event == null ? void 0 : event.type) === \"keydown\") {\n contentRef.value.focus();\n }\n }\n function handleBeforeHideTooltip() {\n emit(\"visible-change\", false);\n }\n provide(DROPDOWN_INJECTION_KEY, {\n contentRef,\n role: computed(() => props.role),\n triggerId,\n isUsingKeyboard,\n onItemEnter,\n onItemLeave\n });\n provide(\"elDropdown\", {\n instance: _instance,\n dropdownSize,\n handleClick,\n commandHandler,\n trigger: toRef(props, \"trigger\"),\n hideOnClick: toRef(props, \"hideOnClick\")\n });\n const onFocusAfterTrapped = (e) => {\n var _a, _b;\n e.preventDefault();\n (_b = (_a = contentRef.value) == null ? void 0 : _a.focus) == null ? void 0 : _b.call(_a, {\n preventScroll: true\n });\n };\n const handlerMainButtonClick = (event) => {\n emit(\"click\", event);\n };\n return {\n t,\n ns,\n scrollbar,\n wrapStyle,\n dropdownTriggerKls,\n dropdownSize,\n triggerId,\n triggerKeys,\n currentTabId,\n handleCurrentTabIdChange,\n handlerMainButtonClick,\n handleEntryFocus,\n handleClose,\n handleOpen,\n handleBeforeShowTooltip,\n handleShowTooltip,\n handleBeforeHideTooltip,\n onFocusAfterTrapped,\n popperRef,\n contentRef,\n triggeringElementRef,\n referenceElementRef\n };\n }\n});\nfunction _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {\n var _a;\n const _component_el_dropdown_collection = resolveComponent(\"el-dropdown-collection\");\n const _component_el_roving_focus_group = resolveComponent(\"el-roving-focus-group\");\n const _component_el_scrollbar = resolveComponent(\"el-scrollbar\");\n const _component_el_only_child = resolveComponent(\"el-only-child\");\n const _component_el_tooltip = resolveComponent(\"el-tooltip\");\n const _component_el_button = resolveComponent(\"el-button\");\n const _component_arrow_down = resolveComponent(\"arrow-down\");\n const _component_el_icon = resolveComponent(\"el-icon\");\n const _component_el_button_group = resolveComponent(\"el-button-group\");\n return openBlock(), createElementBlock(\"div\", {\n class: normalizeClass([_ctx.ns.b(), _ctx.ns.is(\"disabled\", _ctx.disabled)])\n }, [\n createVNode(_component_el_tooltip, {\n ref: \"popperRef\",\n role: _ctx.role,\n effect: _ctx.effect,\n \"fallback-placements\": [\"bottom\", \"top\"],\n \"popper-options\": _ctx.popperOptions,\n \"gpu-acceleration\": false,\n \"hide-after\": _ctx.trigger === \"hover\" ? _ctx.hideTimeout : 0,\n \"manual-mode\": true,\n placement: _ctx.placement,\n \"popper-class\": [_ctx.ns.e(\"popper\"), _ctx.popperClass],\n \"reference-element\": (_a = _ctx.referenceElementRef) == null ? void 0 : _a.$el,\n trigger: _ctx.trigger,\n \"trigger-keys\": _ctx.triggerKeys,\n \"trigger-target-el\": _ctx.contentRef,\n \"show-after\": _ctx.trigger === \"hover\" ? _ctx.showTimeout : 0,\n \"stop-popper-mouse-event\": false,\n \"virtual-ref\": _ctx.triggeringElementRef,\n \"virtual-triggering\": _ctx.splitButton,\n disabled: _ctx.disabled,\n transition: `${_ctx.ns.namespace.value}-zoom-in-top`,\n teleported: \"\",\n pure: \"\",\n persistent: \"\",\n onBeforeShow: _ctx.handleBeforeShowTooltip,\n onShow: _ctx.handleShowTooltip,\n onBeforeHide: _ctx.handleBeforeHideTooltip\n }, createSlots({\n content: withCtx(() => [\n createVNode(_component_el_scrollbar, {\n ref: \"scrollbar\",\n \"wrap-style\": _ctx.wrapStyle,\n tag: \"div\",\n \"view-class\": _ctx.ns.e(\"list\")\n }, {\n default: withCtx(() => [\n createVNode(_component_el_roving_focus_group, {\n loop: _ctx.loop,\n \"current-tab-id\": _ctx.currentTabId,\n orientation: \"horizontal\",\n onCurrentTabIdChange: _ctx.handleCurrentTabIdChange,\n onEntryFocus: _ctx.handleEntryFocus\n }, {\n default: withCtx(() => [\n createVNode(_component_el_dropdown_collection, null, {\n default: withCtx(() => [\n renderSlot(_ctx.$slots, \"dropdown\")\n ]),\n _: 3\n })\n ]),\n _: 3\n }, 8, [\"loop\", \"current-tab-id\", \"onCurrentTabIdChange\", \"onEntryFocus\"])\n ]),\n _: 3\n }, 8, [\"wrap-style\", \"view-class\"])\n ]),\n _: 2\n }, [\n !_ctx.splitButton ? {\n name: \"default\",\n fn: withCtx(() => [\n createVNode(_component_el_only_child, {\n id: _ctx.triggerId,\n role: \"button\",\n tabindex: _ctx.tabindex\n }, {\n default: withCtx(() => [\n renderSlot(_ctx.$slots, \"default\")\n ]),\n _: 3\n }, 8, [\"id\", \"tabindex\"])\n ])\n } : void 0\n ]), 1032, [\"role\", \"effect\", \"popper-options\", \"hide-after\", \"placement\", \"popper-class\", \"reference-element\", \"trigger\", \"trigger-keys\", \"trigger-target-el\", \"show-after\", \"virtual-ref\", \"virtual-triggering\", \"disabled\", \"transition\", \"onBeforeShow\", \"onShow\", \"onBeforeHide\"]),\n _ctx.splitButton ? (openBlock(), createBlock(_component_el_button_group, { key: 0 }, {\n default: withCtx(() => [\n createVNode(_component_el_button, mergeProps({ ref: \"referenceElementRef\" }, _ctx.buttonProps, {\n size: _ctx.dropdownSize,\n type: _ctx.type,\n disabled: _ctx.disabled,\n tabindex: _ctx.tabindex,\n onClick: _ctx.handlerMainButtonClick\n }), {\n default: withCtx(() => [\n renderSlot(_ctx.$slots, \"default\")\n ]),\n _: 3\n }, 16, [\"size\", \"type\", \"disabled\", \"tabindex\", \"onClick\"]),\n createVNode(_component_el_button, mergeProps({\n id: _ctx.triggerId,\n ref: \"triggeringElementRef\"\n }, _ctx.buttonProps, {\n role: \"button\",\n size: _ctx.dropdownSize,\n type: _ctx.type,\n class: _ctx.ns.e(\"caret-button\"),\n disabled: _ctx.disabled,\n tabindex: _ctx.tabindex,\n \"aria-label\": _ctx.t(\"el.dropdown.toggleDropdown\")\n }), {\n default: withCtx(() => [\n createVNode(_component_el_icon, {\n class: normalizeClass(_ctx.ns.e(\"icon\"))\n }, {\n default: withCtx(() => [\n createVNode(_component_arrow_down)\n ]),\n _: 1\n }, 8, [\"class\"])\n ]),\n _: 1\n }, 16, [\"id\", \"size\", \"type\", \"class\", \"disabled\", \"tabindex\", \"aria-label\"])\n ]),\n _: 3\n })) : createCommentVNode(\"v-if\", true)\n ], 2);\n}\nvar Dropdown = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"render\", _sfc_render], [\"__file\", \"/home/runner/work/element-plus/element-plus/packages/components/dropdown/src/dropdown.vue\"]]);\n\nexport { Dropdown as default };\n//# sourceMappingURL=dropdown2.mjs.map\n","import { defineComponent, inject, computed, resolveComponent, openBlock, createElementBlock, Fragment, mergeProps, createCommentVNode, createElementVNode, createBlock, withCtx, resolveDynamicComponent, renderSlot } from 'vue';\nimport '../../roving-focus-group/index.mjs';\nimport '../../collection/index.mjs';\nimport { ElIcon } from '../../icon/index.mjs';\nimport '../../../hooks/index.mjs';\nimport '../../../utils/index.mjs';\nimport '../../../constants/index.mjs';\nimport { dropdownItemProps, DROPDOWN_COLLECTION_ITEM_INJECTION_KEY as COLLECTION_ITEM_INJECTION_KEY } from './dropdown.mjs';\nimport { DROPDOWN_INJECTION_KEY } from './tokens.mjs';\nimport _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';\nimport { useNamespace } from '../../../hooks/use-namespace/index.mjs';\nimport { ROVING_FOCUS_ITEM_COLLECTION_INJECTION_KEY as COLLECTION_ITEM_INJECTION_KEY$1 } from '../../roving-focus-group/src/roving-focus-group.mjs';\nimport { ROVING_FOCUS_GROUP_ITEM_INJECTION_KEY } from '../../roving-focus-group/src/tokens.mjs';\nimport { composeRefs } from '../../../utils/vue/refs.mjs';\nimport { composeEventHandlers } from '../../../utils/dom/event.mjs';\nimport { EVENT_CODE } from '../../../constants/aria.mjs';\nimport { COLLECTION_ITEM_SIGN } from '../../collection/src/collection.mjs';\n\nconst _sfc_main = defineComponent({\n name: \"DropdownItemImpl\",\n components: {\n ElIcon\n },\n props: dropdownItemProps,\n emits: [\"pointermove\", \"pointerleave\", \"click\", \"clickimpl\"],\n setup(_, { emit }) {\n const ns = useNamespace(\"dropdown\");\n const { role: menuRole } = inject(DROPDOWN_INJECTION_KEY, void 0);\n const { collectionItemRef: dropdownCollectionItemRef } = inject(COLLECTION_ITEM_INJECTION_KEY, void 0);\n const { collectionItemRef: rovingFocusCollectionItemRef } = inject(COLLECTION_ITEM_INJECTION_KEY$1, void 0);\n const {\n rovingFocusGroupItemRef,\n tabIndex,\n handleFocus,\n handleKeydown: handleItemKeydown,\n handleMousedown\n } = inject(ROVING_FOCUS_GROUP_ITEM_INJECTION_KEY, void 0);\n const itemRef = composeRefs(dropdownCollectionItemRef, rovingFocusCollectionItemRef, rovingFocusGroupItemRef);\n const role = computed(() => {\n if (menuRole.value === \"menu\") {\n return \"menuitem\";\n } else if (menuRole.value === \"navigation\") {\n return \"link\";\n }\n return \"button\";\n });\n const handleKeydown = composeEventHandlers((e) => {\n const { code } = e;\n if (code === EVENT_CODE.enter || code === EVENT_CODE.space) {\n e.preventDefault();\n e.stopImmediatePropagation();\n emit(\"clickimpl\", e);\n return true;\n }\n }, handleItemKeydown);\n return {\n ns,\n itemRef,\n dataset: {\n [COLLECTION_ITEM_SIGN]: \"\"\n },\n role,\n tabIndex,\n handleFocus,\n handleKeydown,\n handleMousedown\n };\n }\n});\nconst _hoisted_1 = [\"aria-disabled\", \"tabindex\", \"role\"];\nfunction _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {\n const _component_el_icon = resolveComponent(\"el-icon\");\n return openBlock(), createElementBlock(Fragment, null, [\n _ctx.divided ? (openBlock(), createElementBlock(\"li\", mergeProps({\n key: 0,\n role: \"separator\",\n class: _ctx.ns.bem(\"menu\", \"item\", \"divided\")\n }, _ctx.$attrs), null, 16)) : createCommentVNode(\"v-if\", true),\n createElementVNode(\"li\", mergeProps({ ref: _ctx.itemRef }, { ..._ctx.dataset, ..._ctx.$attrs }, {\n \"aria-disabled\": _ctx.disabled,\n class: [_ctx.ns.be(\"menu\", \"item\"), _ctx.ns.is(\"disabled\", _ctx.disabled)],\n tabindex: _ctx.tabIndex,\n role: _ctx.role,\n onClick: _cache[0] || (_cache[0] = (e) => _ctx.$emit(\"clickimpl\", e)),\n onFocus: _cache[1] || (_cache[1] = (...args) => _ctx.handleFocus && _ctx.handleFocus(...args)),\n onKeydown: _cache[2] || (_cache[2] = (...args) => _ctx.handleKeydown && _ctx.handleKeydown(...args)),\n onMousedown: _cache[3] || (_cache[3] = (...args) => _ctx.handleMousedown && _ctx.handleMousedown(...args)),\n onPointermove: _cache[4] || (_cache[4] = (e) => _ctx.$emit(\"pointermove\", e)),\n onPointerleave: _cache[5] || (_cache[5] = (e) => _ctx.$emit(\"pointerleave\", e))\n }), [\n _ctx.icon ? (openBlock(), createBlock(_component_el_icon, { key: 0 }, {\n default: withCtx(() => [\n (openBlock(), createBlock(resolveDynamicComponent(_ctx.icon)))\n ]),\n _: 1\n })) : createCommentVNode(\"v-if\", true),\n renderSlot(_ctx.$slots, \"default\")\n ], 16, _hoisted_1)\n ], 64);\n}\nvar ElDropdownItemImpl = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"render\", _sfc_render], [\"__file\", \"/home/runner/work/element-plus/element-plus/packages/components/dropdown/src/dropdown-item-impl.vue\"]]);\n\nexport { ElDropdownItemImpl as default };\n//# sourceMappingURL=dropdown-item-impl.mjs.map\n","import { inject, computed, ref } from 'vue';\nimport '../../../utils/index.mjs';\nimport '../../../constants/index.mjs';\nimport '../../../hooks/index.mjs';\nimport { useNamespace } from '../../../hooks/use-namespace/index.mjs';\nimport { generateId } from '../../../utils/rand.mjs';\nimport { EVENT_CODE } from '../../../constants/aria.mjs';\nimport { addClass } from '../../../utils/dom/style.mjs';\n\nconst useDropdown = () => {\n const elDropdown = inject(\"elDropdown\", {});\n const _elDropdownSize = computed(() => elDropdown == null ? void 0 : elDropdown.dropdownSize);\n return {\n elDropdown,\n _elDropdownSize\n };\n};\nconst initDropdownDomEvent = (dropdownChildren, triggerElm, _instance) => {\n const ns = useNamespace(\"dropdown\");\n const menuItems = ref(null);\n const menuItemsArray = ref(null);\n const dropdownElm = ref(null);\n const listId = ref(`dropdown-menu-${generateId()}`);\n dropdownElm.value = dropdownChildren == null ? void 0 : dropdownChildren.subTree.el;\n function removeTabindex() {\n var _a;\n triggerElm.setAttribute(\"tabindex\", \"-1\");\n (_a = menuItemsArray.value) == null ? void 0 : _a.forEach((item) => {\n item.setAttribute(\"tabindex\", \"-1\");\n });\n }\n function resetTabindex(ele) {\n removeTabindex();\n ele == null ? void 0 : ele.setAttribute(\"tabindex\", \"0\");\n }\n function handleTriggerKeyDown(ev) {\n const code = ev.code;\n if ([EVENT_CODE.up, EVENT_CODE.down].includes(code)) {\n removeTabindex();\n resetTabindex(menuItems.value[0]);\n menuItems.value[0].focus();\n ev.preventDefault();\n ev.stopPropagation();\n } else if (code === EVENT_CODE.enter) {\n _instance.handleClick();\n } else if ([EVENT_CODE.tab, EVENT_CODE.esc].includes(code)) {\n _instance.hide();\n }\n }\n function handleItemKeyDown(ev) {\n const code = ev.code;\n const target = ev.target;\n const currentIndex = menuItemsArray.value.indexOf(target);\n const max = menuItemsArray.value.length - 1;\n let nextIndex;\n if ([EVENT_CODE.up, EVENT_CODE.down].includes(code)) {\n if (code === EVENT_CODE.up) {\n nextIndex = currentIndex !== 0 ? currentIndex - 1 : 0;\n } else {\n nextIndex = currentIndex < max ? currentIndex + 1 : max;\n }\n removeTabindex();\n resetTabindex(menuItems.value[nextIndex]);\n menuItems.value[nextIndex].focus();\n ev.preventDefault();\n ev.stopPropagation();\n } else if (code === EVENT_CODE.enter) {\n triggerElmFocus();\n target.click();\n if (_instance.props.hideOnClick) {\n _instance.hide();\n }\n } else if ([EVENT_CODE.tab, EVENT_CODE.esc].includes(code)) {\n _instance.hide();\n triggerElmFocus();\n }\n }\n function initAria() {\n dropdownElm.value.setAttribute(\"id\", listId.value);\n triggerElm.setAttribute(\"aria-haspopup\", \"list\");\n triggerElm.setAttribute(\"aria-controls\", listId.value);\n if (!_instance.props.splitButton) {\n triggerElm.setAttribute(\"role\", \"button\");\n triggerElm.setAttribute(\"tabindex\", _instance.props.tabindex);\n addClass(triggerElm, ns.b(\"selfdefine\"));\n }\n }\n function initEvent() {\n var _a;\n triggerElm == null ? void 0 : triggerElm.addEventListener(\"keydown\", handleTriggerKeyDown);\n (_a = dropdownElm.value) == null ? void 0 : _a.addEventListener(\"keydown\", handleItemKeyDown, true);\n }\n function initDomOperation() {\n menuItems.value = dropdownElm.value.querySelectorAll(\"[tabindex='-1']\");\n menuItemsArray.value = Array.from(menuItems.value);\n initEvent();\n initAria();\n }\n function triggerElmFocus() {\n triggerElm.focus();\n }\n initDomOperation();\n};\n\nexport { initDropdownDomEvent, useDropdown };\n//# sourceMappingURL=useDropdown.mjs.map\n","import { defineComponent, getCurrentInstance, ref, computed, unref, inject, resolveComponent, openBlock, createBlock, withCtx, createVNode, mergeProps, renderSlot } from 'vue';\nimport '../../roving-focus-group/index.mjs';\nimport '../../../utils/index.mjs';\nimport ElDropdownItemImpl from './dropdown-item-impl.mjs';\nimport { useDropdown } from './useDropdown.mjs';\nimport { ElCollectionItem, dropdownItemProps } from './dropdown.mjs';\nimport { DROPDOWN_INJECTION_KEY } from './tokens.mjs';\nimport _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';\nimport ElRovingFocusItem from '../../roving-focus-group/src/roving-focus-item.mjs';\nimport { composeEventHandlers, whenMouse } from '../../../utils/dom/event.mjs';\n\nconst _sfc_main = defineComponent({\n name: \"ElDropdownItem\",\n components: {\n ElDropdownCollectionItem: ElCollectionItem,\n ElRovingFocusItem,\n ElDropdownItemImpl\n },\n inheritAttrs: false,\n props: dropdownItemProps,\n emits: [\"pointermove\", \"pointerleave\", \"click\"],\n setup(props, { emit, attrs }) {\n const { elDropdown } = useDropdown();\n const _instance = getCurrentInstance();\n const itemRef = ref(null);\n const textContent = computed(() => {\n var _a, _b;\n return (_b = (_a = unref(itemRef)) == null ? void 0 : _a.textContent) != null ? _b : \"\";\n });\n const { onItemEnter, onItemLeave } = inject(DROPDOWN_INJECTION_KEY, void 0);\n const handlePointerMove = composeEventHandlers((e) => {\n emit(\"pointermove\", e);\n return e.defaultPrevented;\n }, whenMouse((e) => {\n var _a;\n if (props.disabled) {\n onItemLeave(e);\n } else {\n onItemEnter(e);\n if (!e.defaultPrevented) {\n ;\n (_a = e.currentTarget) == null ? void 0 : _a.focus();\n }\n }\n }));\n const handlePointerLeave = composeEventHandlers((e) => {\n emit(\"pointerleave\", e);\n return e.defaultPrevented;\n }, whenMouse((e) => {\n onItemLeave(e);\n }));\n const handleClick = composeEventHandlers((e) => {\n emit(\"click\", e);\n return e.type !== \"keydown\" && e.defaultPrevented;\n }, (e) => {\n var _a, _b, _c;\n if (props.disabled) {\n e.stopImmediatePropagation();\n return;\n }\n if ((_a = elDropdown == null ? void 0 : elDropdown.hideOnClick) == null ? void 0 : _a.value) {\n (_b = elDropdown.handleClick) == null ? void 0 : _b.call(elDropdown);\n }\n (_c = elDropdown.commandHandler) == null ? void 0 : _c.call(elDropdown, props.command, _instance, e);\n });\n const propsAndAttrs = computed(() => {\n return { ...props, ...attrs };\n });\n return {\n handleClick,\n handlePointerMove,\n handlePointerLeave,\n textContent,\n propsAndAttrs\n };\n }\n});\nfunction _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {\n var _a;\n const _component_el_dropdown_item_impl = resolveComponent(\"el-dropdown-item-impl\");\n const _component_el_roving_focus_item = resolveComponent(\"el-roving-focus-item\");\n const _component_el_dropdown_collection_item = resolveComponent(\"el-dropdown-collection-item\");\n return openBlock(), createBlock(_component_el_dropdown_collection_item, {\n disabled: _ctx.disabled,\n \"text-value\": (_a = _ctx.textValue) != null ? _a : _ctx.textContent\n }, {\n default: withCtx(() => [\n createVNode(_component_el_roving_focus_item, {\n focusable: !_ctx.disabled\n }, {\n default: withCtx(() => [\n createVNode(_component_el_dropdown_item_impl, mergeProps(_ctx.propsAndAttrs, {\n onPointerleave: _ctx.handlePointerLeave,\n onPointermove: _ctx.handlePointerMove,\n onClickimpl: _ctx.handleClick\n }), {\n default: withCtx(() => [\n renderSlot(_ctx.$slots, \"default\")\n ]),\n _: 3\n }, 16, [\"onPointerleave\", \"onPointermove\", \"onClickimpl\"])\n ]),\n _: 3\n }, 8, [\"focusable\"])\n ]),\n _: 3\n }, 8, [\"disabled\", \"text-value\"]);\n}\nvar DropdownItem = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"render\", _sfc_render], [\"__file\", \"/home/runner/work/element-plus/element-plus/packages/components/dropdown/src/dropdown-item.vue\"]]);\n\nexport { DropdownItem as default };\n//# sourceMappingURL=dropdown-item.mjs.map\n","import { defineComponent, inject, computed, unref, openBlock, createElementBlock, normalizeClass, normalizeStyle, renderSlot } from 'vue';\nimport '../../../utils/index.mjs';\nimport '../../../constants/index.mjs';\nimport '../../focus-trap/index.mjs';\nimport '../../roving-focus-group/index.mjs';\nimport '../../../hooks/index.mjs';\nimport { DROPDOWN_INJECTION_KEY } from './tokens.mjs';\nimport { dropdownMenuProps, DROPDOWN_COLLECTION_INJECTION_KEY as COLLECTION_INJECTION_KEY, FIRST_LAST_KEYS, LAST_KEYS } from './dropdown.mjs';\nimport { useDropdown } from './useDropdown.mjs';\nimport _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';\nimport { useNamespace } from '../../../hooks/use-namespace/index.mjs';\nimport { FOCUS_TRAP_INJECTION_KEY } from '../../focus-trap/src/tokens.mjs';\nimport { ROVING_FOCUS_GROUP_INJECTION_KEY } from '../../roving-focus-group/src/tokens.mjs';\nimport { ROVING_FOCUS_COLLECTION_INJECTION_KEY as COLLECTION_INJECTION_KEY$1 } from '../../roving-focus-group/src/roving-focus-group.mjs';\nimport { composeRefs } from '../../../utils/vue/refs.mjs';\nimport { composeEventHandlers } from '../../../utils/dom/event.mjs';\nimport { EVENT_CODE } from '../../../constants/aria.mjs';\nimport { focusFirst } from '../../roving-focus-group/src/utils.mjs';\n\nconst _sfc_main = defineComponent({\n name: \"ElDropdownMenu\",\n props: dropdownMenuProps,\n setup(props) {\n const ns = useNamespace(\"dropdown\");\n const { _elDropdownSize } = useDropdown();\n const size = _elDropdownSize.value;\n const { focusTrapRef, onKeydown } = inject(FOCUS_TRAP_INJECTION_KEY, void 0);\n const { contentRef, role, triggerId } = inject(DROPDOWN_INJECTION_KEY, void 0);\n const { collectionRef: dropdownCollectionRef, getItems } = inject(COLLECTION_INJECTION_KEY, void 0);\n const {\n rovingFocusGroupRef,\n rovingFocusGroupRootStyle,\n tabIndex,\n onBlur,\n onFocus,\n onMousedown\n } = inject(ROVING_FOCUS_GROUP_INJECTION_KEY, void 0);\n const { collectionRef: rovingFocusGroupCollectionRef } = inject(COLLECTION_INJECTION_KEY$1, void 0);\n const dropdownKls = computed(() => {\n return [ns.b(\"menu\"), ns.bm(\"menu\", size == null ? void 0 : size.value)];\n });\n const dropdownListWrapperRef = composeRefs(contentRef, dropdownCollectionRef, focusTrapRef, rovingFocusGroupRef, rovingFocusGroupCollectionRef);\n const composedKeydown = composeEventHandlers((e) => {\n var _a;\n (_a = props.onKeydown) == null ? void 0 : _a.call(props, e);\n }, (e) => {\n const { currentTarget, code, target } = e;\n const isKeydownContained = currentTarget.contains(target);\n if (isKeydownContained) {\n }\n if (EVENT_CODE.tab === code) {\n e.stopImmediatePropagation();\n }\n e.preventDefault();\n if (target !== unref(contentRef))\n return;\n if (!FIRST_LAST_KEYS.includes(code))\n return;\n const items = getItems().filter((item) => !item.disabled);\n const targets = items.map((item) => item.ref);\n if (LAST_KEYS.includes(code)) {\n targets.reverse();\n }\n focusFirst(targets);\n });\n const handleKeydown = (e) => {\n composedKeydown(e);\n onKeydown(e);\n };\n return {\n size,\n rovingFocusGroupRootStyle,\n tabIndex,\n dropdownKls,\n role,\n triggerId,\n dropdownListWrapperRef,\n handleKeydown,\n onBlur,\n onFocus,\n onMousedown\n };\n }\n});\nconst _hoisted_1 = [\"role\", \"aria-labelledby\"];\nfunction _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {\n return openBlock(), createElementBlock(\"ul\", {\n ref: _ctx.dropdownListWrapperRef,\n class: normalizeClass(_ctx.dropdownKls),\n style: normalizeStyle(_ctx.rovingFocusGroupRootStyle),\n tabindex: -1,\n role: _ctx.role,\n \"aria-labelledby\": _ctx.triggerId,\n onBlur: _cache[0] || (_cache[0] = (...args) => _ctx.onBlur && _ctx.onBlur(...args)),\n onFocus: _cache[1] || (_cache[1] = (...args) => _ctx.onFocus && _ctx.onFocus(...args)),\n onKeydown: _cache[2] || (_cache[2] = (...args) => _ctx.handleKeydown && _ctx.handleKeydown(...args)),\n onMousedown: _cache[3] || (_cache[3] = (...args) => _ctx.onMousedown && _ctx.onMousedown(...args))\n }, [\n renderSlot(_ctx.$slots, \"default\")\n ], 46, _hoisted_1);\n}\nvar DropdownMenu = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"render\", _sfc_render], [\"__file\", \"/home/runner/work/element-plus/element-plus/packages/components/dropdown/src/dropdown-menu.vue\"]]);\n\nexport { DropdownMenu as default };\n//# sourceMappingURL=dropdown-menu.mjs.map\n","import '../../utils/index.mjs';\nimport Dropdown from './src/dropdown2.mjs';\nimport DropdownItem from './src/dropdown-item.mjs';\nimport DropdownMenu from './src/dropdown-menu.mjs';\nexport { DROPDOWN_COLLECTION_INJECTION_KEY, DROPDOWN_COLLECTION_ITEM_INJECTION_KEY, ElCollection, ElCollectionItem, FIRST_KEYS, FIRST_LAST_KEYS, LAST_KEYS, dropdownItemProps, dropdownMenuProps, dropdownProps } from './src/dropdown.mjs';\nexport { DROPDOWN_INJECTION_KEY } from './src/tokens.mjs';\nimport { withInstall, withNoopInstall } from '../../utils/vue/install.mjs';\n\nconst ElDropdown = withInstall(Dropdown, {\n DropdownItem,\n DropdownMenu\n});\nconst ElDropdownItem = withNoopInstall(DropdownItem);\nconst ElDropdownMenu = withNoopInstall(DropdownMenu);\n\nexport { ElDropdown, ElDropdownItem, ElDropdownMenu, ElDropdown as default };\n//# sourceMappingURL=index.mjs.map\n","import { defineComponent, openBlock, createElementBlock, createElementVNode } from 'vue';\nimport _export_sfc from './_virtual/plugin-vue_export-helper.mjs';\n\nconst _sfc_main = defineComponent({\n name: \"ArrowDown\"\n});\nconst _hoisted_1 = {\n viewBox: \"0 0 1024 1024\",\n xmlns: \"http://www.w3.org/2000/svg\"\n};\nconst _hoisted_2 = /* @__PURE__ */ createElementVNode(\"path\", {\n fill: \"currentColor\",\n d: \"M831.872 340.864 512 652.672 192.128 340.864a30.592 30.592 0 0 0-42.752 0 29.12 29.12 0 0 0 0 41.6L489.664 714.24a32 32 0 0 0 44.672 0l340.288-331.712a29.12 29.12 0 0 0 0-41.728 30.592 30.592 0 0 0-42.752 0z\"\n}, null, -1);\nconst _hoisted_3 = [\n _hoisted_2\n];\nfunction _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {\n return openBlock(), createElementBlock(\"svg\", _hoisted_1, _hoisted_3);\n}\nvar arrowDown = /* @__PURE__ */ _export_sfc(_sfc_main, [[\"render\", _sfc_render]]);\n\nexport { arrowDown as default };\n"],"names":["Collection","_export_sfc","inheritAttrs","_ctx","_cache","$props","$setup","$data","$options","renderSlot","$slots","CollectionItem","name","COLLECTION_ITEM_SIGN","createCollectionWithScope","COLLECTION_NAME","COLLECTION_ITEM_NAME","COLLECTION_INJECTION_KEY","Symbol","COLLECTION_ITEM_INJECTION_KEY","ElCollection","setup","collectionRef","ref","itemMap","Map","provide","getItems","collectionEl","unref","orderedNodes","Array","from","querySelectorAll","values","sort","a","b","indexOf","ElCollectionItem","_","attrs","collectionItemRef","collectionInjection","inject","onMounted","collectionItemEl","set","onBeforeUnmount","delete","rovingFocusGroupProps","buildProps","style","type","definePropType","String","Object","currentTabId","defaultCurrentTabId","loop","Boolean","dir","default","orientation","onBlur","Function","onFocus","onMousedown","ROVING_FOCUS_GROUP_INJECTION_KEY","ROVING_FOCUS_GROUP_ITEM_INJECTION_KEY","MAP_KEY_TO_FOCUS_INTENT","ArrowLeft","ArrowUp","ArrowRight","ArrowDown","PageUp","Home","PageDown","End","getFocusIntent","event","key","getDirectionAwareKey","EVENT_CODE","right","left","includes","up","down","focusFirst","elements","activeElement","prevActive","document","element","focus","CURRENT_TAB_ID_CHANGE_EVT","ENTRY_FOCUS_EVT","EVT_OPTS","bubbles","cancelable","_sfc_main","defineComponent","props","emits","emit","_a","currentTabbedId","isBackingOut","isClickFocus","rovingFocusGroupRef","rovingFocusGroupRootStyle","computed","outline","composeEventHandlers","e","_a2","call","value","isKeyboardFocus","target","currentTarget","entryFocusEvt","Event","dispatchEvent","defaultPrevented","items","filter","item","focusable","candidateNodes","find","active","id","map","readonly","toRef","tabIndex","onItemFocus","tabbedId","onItemShiftTab","watch","val","useEventListener","handleEntryFocus","args","components","ElFocusGroupCollection","ElRovingFocusGroupImpl","ElRovingFocusGroup","_component_el_roving_focus_group_impl","resolveComponent","_component_el_focus_group_collection","openBlock","createBlock","withCtx","createVNode","normalizeProps","guardReactiveProps","$attrs","ElRovingFocusCollectionItem","useId","rovingFocusGroupItemRef","handleMousedown","preventDefault","handleFocus","handleKeydown","shiftKey","tab","focusIntent","reverse","currentIdx","atIdx","array","idx","length","slice","nextTick","reorderArray","isCurrentTab","ElRovingFocusItem","_component_el_roving_focus_collection_item","dropdownProps","exports","trigger","useTooltipTriggerProps","effect","useTooltipContentProps","placement","popperOptions","size","splitButton","hideOnClick","showTimeout","Number","hideTimeout","tabindex","maxHeight","popperClass","disabled","role","buttonProps","dropdownItemProps","command","divided","textValue","icon","iconPropType","dropdownMenuProps","onKeydown","FIRST_KEYS","pageDown","home","LAST_KEYS","pageUp","end","FIRST_LAST_KEYS","DROPDOWN_INJECTION_KEY","ButtonGroup","ElButtonGroup","ElButton","ElScrollbar","ElDropdownCollection","ElTooltip","ElOnlyChild","OnlyChild","ElIcon","_instance","getCurrentInstance","ns","useNamespace","t","useLocale","triggeringElementRef","referenceElementRef","popperRef","contentRef","scrollbar","isUsingKeyboard","triggerKeys","enter","space","wrapStyle","addUnit","dropdownTriggerKls","m","dropdownSize","defaultTriggerId","triggerId","handleClose","onClose","useSize","onItemEnter","onItemLeave","contentEl","instance","handleClick","commandHandler","handleCurrentTabIdChange","handlerMainButtonClick","stopImmediatePropagation","handleOpen","onOpen","handleBeforeShowTooltip","handleShowTooltip","handleBeforeHideTooltip","onFocusAfterTrapped","_b","preventScroll","Dropdown","_component_el_dropdown_collection","_component_el_roving_focus_group","_component_el_scrollbar","_component_el_only_child","_component_el_tooltip","_component_el_button","_component_arrow_down","_component_el_icon","_component_el_button_group","createElementBlock","class","normalizeClass","is","$el","transition","namespace","teleported","pure","persistent","onBeforeShow","onShow","onBeforeHide","createSlots","content","tag","onCurrentTabIdChange","onEntryFocus","fn","mergeProps","onClick","createCommentVNode","menuRole","dropdownCollectionItemRef","rovingFocusCollectionItemRef","COLLECTION_ITEM_INJECTION_KEY$1","handleItemKeydown","itemRef","composeRefs","code","dataset","_hoisted_1","useDropdown","elDropdown","_elDropdownSize","ElDropdownCollectionItem","ElDropdownItemImpl","Fragment","bem","createElementVNode","be","$emit","onPointermove","onPointerleave","resolveDynamicComponent","textContent","handlePointerMove","whenMouse","handlePointerLeave","_c","propsAndAttrs","DropdownItem","_component_el_dropdown_item_impl","_component_el_roving_focus_item","_component_el_dropdown_collection_item","onClickimpl","focusTrapRef","FOCUS_TRAP_INJECTION_KEY","dropdownCollectionRef","rovingFocusGroupCollectionRef","COLLECTION_INJECTION_KEY$1","dropdownKls","bm","dropdownListWrapperRef","composedKeydown","contains","targets","DropdownMenu","normalizeStyle","withInstall","withNoopInstall","viewBox","xmlns","_hoisted_3","fill","d"],"mappings":"6/IASA,IAAIA,GAA6BC,EANf,CAChBC,cAAc,GAKwC,CAAC,CAAC,SAH1D,SAAqBC,EAAMC,EAAQC,EAAQC,EAAQC,EAAOC,GACxD,OAAOC,EAAWN,EAAKO,OAAQ,UACjC,GACkF,CAAC,SAAU,mGCCzFC,GAAiCV,EAPnB,CAChBW,KAAM,mBACNV,cAAc,GAK4C,CAAC,CAAC,SAH9D,SAAqBC,EAAMC,EAAQC,EAAQC,EAAQC,EAAOC,GACxD,OAAOC,EAAWN,EAAKO,OAAQ,UACjC,GACsF,CAAC,SAAU,wGCNjG,MAAMG,GAAuB,0BACvBC,GAA6BF,IACjC,MAAMG,EAAkB,KAAKH,cACvBI,EAAuB,GAAGD,QAC1BE,EAA2BC,OAAOH,GAClCI,EAAgCD,OAAOF,GACvCI,EAAe,IAChBpB,GACHY,KAAMG,EACNM,KAAAA,GACE,MAAMC,EAAgBC,EAAI,MACpBC,EAA0B,IAAIC,IASpCC,EAAQT,EAA0B,CAChCO,UACAG,SAVeA,KACf,MAAMC,EAAeC,EAAMP,GAC3B,IAAKM,EACH,MAAO,GACT,MAAME,EAAeC,MAAMC,KAAKJ,EAAaK,iBAAiB,IAAIpB,QAElE,MADc,IAAIW,EAAQU,UACbC,MAAK,CAACC,EAAGC,IAAMP,EAAaQ,QAAQF,EAAEb,KAAOO,EAAaQ,QAAQD,EAAEd,MAAK,EAKtFD,iBAEH,GAEGiB,EAAmB,IACpB5B,GACHC,KAAMI,EACNK,KAAAA,CAAMmB,GAAGC,MAAEA,IACT,MAAMC,EAAoBnB,EAAI,MACxBoB,EAAsBC,EAAO3B,OAA0B,GAC7DS,EAAQP,EAA+B,CACrCuB,sBAEFG,GAAU,KACR,MAAMC,EAAmBjB,EA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BxL,OAAQ5D,EAAO,KAAOA,EAAO,GAAK,IAAI6I,IAAS9I,EAAK6D,QAAU7D,EAAK6D,UAAUiF,IAC7E/E,QAAS9D,EAAO,KAAOA,EAAO,GAAK,IAAI6I,IAAS9I,EAAK+D,SAAW/D,EAAK+D,WAAW+E,IAChFgE,UAAW7M,EAAO,KAAOA,EAAO,GAAK,IAAI6I,IAAS9I,EAAKmK,eAAiBnK,EAAKmK,iBAAiBrB,IAC9F9E,YAAa/D,EAAO,KAAOA,EAAO,GAAK,IAAI6I,IAAS9I,EAAKgE,aAAehE,EAAKgE,eAAe8E,KAC3F,CACDxI,EAAWN,EAAKO,OAAQ,YACvB,GAAI4S,GACT,GACoF,CAAC,SAAU,oGC7F/E/H,EAAA,IAAGqK,EAAY/E,GAAU,CACvC6D,gBACAgB,mBAEkBnK,EAAA,IAAGsK,EAAgBnB,KACnBnJ,EAAA,IAAGsK,EAAgBH,KALlC,MCLCrP,GAAYC,EAAgB,CAChC1F,KAAM,cAEF0S,GAAa,CACjBwC,QAAS,gBACTC,MAAO,8BAMHC,GAAa,CAJgBlC,EAAmB,OAAQ,CAC5DmC,KAAM,eACNC,EAAG,mNACF,MAAO,IAOG3K,EAAA,IAAmBtL,GAAYoG,GAAW,CAAC,CAAC,SAHzD,SAAqBlG,EAAMC,EAAQC,EAAQC,EAAQC,EAAOC,GACxD,OAAOiJ,IAAa8H,EAAmB,MAAO+B,GAAY0C,GAC5D","x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17]}
@@ -0,0 +1,2 @@
1
+ import{c9 as xe,ct as Lt,cu as tt,cv as rt,cw as Nt,cx as Ie,cy as nt,J as it,al as ce,cz as at,bz as Rt,aU as pe,M as st,r as B,O as T,N as ot,d as Oe,az as ft,Q as Ae,$ as ee,aV as Bt,ai as lt,Z as ut,bO as dt,cA as qe,a as ve,c as ct,T as Q,H as z,k as E,bI as pt,aj as te,cB as ge,b3 as Ct,o as vt,ak as gt,aO as Wt,b4 as Vt,j as re,F as Dt,au as mt,bd as Ut,at as zt,cC as Gt,R as Me,bU as le,w as ue,D as Kt,G as Yt,aD as Le,e as Jt,t as Ne,S as Re,b as Be,bh as Zt,Y as Ht,aE as Qt}from"./index-CvlaXQXr.js";import{a as yt,b as Xt,c as kt,o as er,k as ht,g as bt,s as tr,e as rr,f as nr,U as Ce,h as je,n as ne,j as wt,l as ir,S as ar,m as sr,i as or}from"./isEqual-a1R5cOCU.js";var We=Object.create,fr=function(){function r(){}return function(e){if(!xe(e))return{};if(We)return We(e);r.prototype=e;var t=new r;return r.prototype=void 0,t}}();function lr(r,e){var t=-1,n=r.length;for(e||(e=Array(n));++t<n;)e[t]=r[t];return e}function ur(r,e){for(var t=-1,n=r==null?0:r.length;++t<n&&e(r[t],t,r)!==!1;);return r}function ie(r,e,t,n){var i=!t;t||(t={});for(var s=-1,a=e.length;++s<a;){var o=e[s],f=n?n(t[o],r[o],o,t,r):void 0;f===void 0&&(f=r[o]),i?Lt(t,o,f):tt(t,o,f)}return t}function dr(r){var e=[];if(r!=null)for(var t in Object(r))e.push(t);return e}var cr=Object.prototype,pr=cr.hasOwnProperty;function vr(r){if(!xe(r))return dr(r);var e=yt(r),t=[];for(var n in r)n=="constructor"&&(e||!pr.call(r,n))||t.push(n);return t}function Ee(r){return Xt(r)?kt(r,!0):vr(r)}var gr=er(Object.getPrototypeOf,Object);const Ft=gr;function me(){if(!arguments.length)return[];var r=arguments[0];return rt(r)?r:[r]}function mr(r,e){return r&&ie(e,ht(e),r)}function yr(r,e){return r&&ie(e,Ee(e),r)}var xt=typeof exports=="object"&&exports&&!exports.nodeType&&exports,Ve=xt&&typeof module=="object"&&module&&!module.nodeType&&module,hr=Ve&&Ve.exports===xt,De=hr?Nt.Buffer:void 0,Ue=De?De.allocUnsafe:void 0;function br(r,e){if(e)return r.slice();var t=r.length,n=Ue?Ue(t):new r.constructor(t);return r.copy(n),n}function wr(r,e){return ie(r,bt(r),e)}var Fr=Object.getOwnPropertySymbols,Ot=Fr?function(r){for(var e=[];r;)rr(e,bt(r)),r=Ft(r);return e}:tr;function xr(r,e){return ie(r,Ot(r),e)}function Or(r){return nr(r,Ee,Ot)}var Ar=Object.prototype,qr=Ar.hasOwnProperty;function jr(r){var e=r.length,t=new r.constructor(e);return e&&typeof r[0]=="string"&&qr.call(r,"index")&&(t.index=r.index,t.input=r.input),t}function Te(r){var e=new r.constructor(r.byteLength);return new Ce(e).set(new Ce(r)),e}function Er(r,e){var t=e?Te(r.buffer):r.buffer;return new r.constructor(t,r.byteOffset,r.byteLength)}var Tr=/\w*$/;function _r(r){var e=new r.constructor(r.source,Tr.exec(r));return e.lastIndex=r.lastIndex,e}var ze=Ie?Ie.prototype:void 0,Ge=ze?ze.valueOf:void 0;function Sr(r){return Ge?Object(Ge.call(r)):{}}function Pr(r,e){var t=e?Te(r.buffer):r.buffer;return new r.constructor(t,r.byteOffset,r.length)}var $r="[object Boolean]",Ir="[object Date]",Mr="[object Map]",Lr="[object Number]",Nr="[object RegExp]",Rr="[object Set]",Br="[object String]",Cr="[object Symbol]",Wr="[object ArrayBuffer]",Vr="[object DataView]",Dr="[object Float32Array]",Ur="[object Float64Array]",zr="[object Int8Array]",Gr="[object Int16Array]",Kr="[object Int32Array]",Yr="[object Uint8Array]",Jr="[object Uint8ClampedArray]",Zr="[object Uint16Array]",Hr="[object Uint32Array]";function Qr(r,e,t){var n=r.constructor;switch(e){case Wr:return Te(r);case $r:case Ir:return new n(+r);case Vr:return Er(r,t);case Dr:case Ur:case zr:case Gr:case Kr:case Yr:case Jr:case Zr:case Hr:return Pr(r,t);case Mr:return new n;case Lr:case Br:return new n(r);case Nr:return _r(r);case Rr:return new n;case Cr:return Sr(r)}}function Xr(r){return typeof r.constructor=="function"&&!yt(r)?fr(Ft(r)):{}}var kr="[object Map]";function en(r){return nt(r)&&je(r)==kr}var Ke=ne&&ne.isMap,tn=Ke?wt(Ke):en,rn="[object Set]";function nn(r){return nt(r)&&je(r)==rn}var Ye=ne&&ne.isSet,an=Ye?wt(Ye):nn,sn=1,on=2,fn=4,At="[object Arguments]",ln="[object Array]",un="[object Boolean]",dn="[object Date]",cn="[object Error]",qt="[object Function]",pn="[object GeneratorFunction]",vn="[object Map]",gn="[object Number]",jt="[object Object]",mn="[object RegExp]",yn="[object Set]",hn="[object String]",bn="[object Symbol]",wn="[object WeakMap]",Fn="[object ArrayBuffer]",xn="[object DataView]",On="[object Float32Array]",An="[object Float64Array]",qn="[object Int8Array]",jn="[object Int16Array]",En="[object Int32Array]",Tn="[object Uint8Array]",_n="[object Uint8ClampedArray]",Sn="[object Uint16Array]",Pn="[object Uint32Array]",F={};F[At]=F[ln]=F[Fn]=F[xn]=F[un]=F[dn]=F[On]=F[An]=F[qn]=F[jn]=F[En]=F[vn]=F[gn]=F[jt]=F[mn]=F[yn]=F[hn]=F[bn]=F[Tn]=F[_n]=F[Sn]=F[Pn]=!0;F[cn]=F[qt]=F[wn]=!1;function X(r,e,t,n,i,s){var a,o=e&sn,f=e&on,w=e&fn;if(t&&(a=i?t(r,n,i,s):t(r)),a!==void 0)return a;if(!xe(r))return r;var c=rt(r);if(c){if(a=jr(r),!o)return lr(r,a)}else{var v=je(r),b=v==qt||v==pn;if(ir(r))return br(r,o);if(v==jt||v==At||b&&!i){if(a=f||b?{}:Xr(r),!o)return f?xr(r,yr(a,r)):wr(r,mr(a,r))}else{if(!F[v])return i?r:{};a=Qr(r,v,o)}}s||(s=new ar);var j=s.get(r);if(j)return j;s.set(r,a),an(r)?r.forEach(function(g){a.add(X(g,e,t,g,r,s))}):tn(r)&&r.forEach(function(g,l){a.set(l,X(g,e,t,l,r,s))});var q=w?f?Or:sr:f?Ee:ht,d=c?void 0:q(r);return ur(d||r,function(g,l){d&&(l=g,g=r[l]),tt(a,l,X(g,e,t,l,r,s))}),a}var $n=4;function Je(r){return X(r,$n)}const In=it({model:Object,rules:{type:ce(Object)},labelPosition:{type:String,values:["left","right","top"],default:"right"},labelWidth:{type:[String,Number],default:""},labelSuffix:{type:String,default:""},inline:Boolean,inlineMessage:Boolean,statusIcon:Boolean,showMessage:{type:Boolean,default:!0},size:{type:String,values:at},disabled:Boolean,validateOnRuleChange:{type:Boolean,default:!0},hideRequiredAsterisk:{type:Boolean,default:!1},scrollToError:Boolean}),Mn={validate:(r,e,t)=>(Rt(r)||pe(r))&&st(e)&&pe(t)};function Ln(){const r=B([]),e=T(()=>{if(!r.value.length)return"0";const s=Math.max(...r.value);return s?"".concat(s,"px"):""});function t(s){return r.value.indexOf(s)}function n(s,a){if(s&&a){const o=t(a);r.value.splice(o,1,s)}else s&&r.value.push(s)}function i(s){const a=t(s);a>-1&&r.value.splice(a,1)}return{autoLabelWidth:e,registerLabelWidth:n,deregisterLabelWidth:i}}const Z=(r,e)=>{const t=me(e);return t.length>0?r.filter(n=>n.prop&&t.includes(n.prop)):r},Nn={name:"ElForm"},Rn=Oe({...Nn,props:In,emits:Mn,setup(r,{expose:e,emit:t}){const n=r,i=[],s=ft(),a=Ae("form"),o=T(()=>{const{labelPosition:m,inline:u}=n;return[a.b(),a.m(s.value||"default"),{[a.m("label-".concat(m))]:m,[a.m("inline")]:u}]}),f=m=>{i.push(m)},w=m=>{m.prop&&i.splice(i.indexOf(m),1)},c=(m=[])=>{n.model&&Z(i,m).forEach(u=>u.resetField())},v=(m=[])=>{Z(i,m).forEach(u=>u.clearValidate())},b=T(()=>!!n.model),j=m=>{if(i.length===0)return[];const u=Z(i,m);return u.length?u:[]},q=async m=>g(void 0,m),d=async(m=[])=>{if(!b.value)return!1;const u=j(m);if(u.length===0)return!0;let h={};for(const O of u)try{await O.validate("")}catch(A){h={...h,...A}}return Object.keys(h).length===0?!0:Promise.reject(h)},g=async(m=[],u)=>{const h=!pt(u);try{const O=await d(m);return O===!0&&(u==null||u(O)),O}catch(O){const A=O;return n.scrollToError&&l(Object.keys(A)[0]),u==null||u(!1,A),h&&Promise.reject(A)}},l=m=>{var u;const h=Z(i,m)[0];h&&((u=h.$el)==null||u.scrollIntoView())};return ee(()=>n.rules,()=>{n.validateOnRuleChange&&q().catch(m=>Bt())},{deep:!0}),lt(qe,ut({...dt(n),emit:t,resetFields:c,clearValidate:v,validateField:g,addField:f,removeField:w,...Ln()})),e({validate:q,validateField:g,resetFields:c,clearValidate:v,scrollToField:l}),(m,u)=>(ve(),ct("form",{class:z(E(o))},[Q(m.$slots,"default")],2))}});var Bn=ot(Rn,[["__file","/home/runner/work/element-plus/element-plus/packages/components/form/src/form.vue"]]);function C(){return C=Object.assign?Object.assign.bind():function(r){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(r[n]=t[n])}return r},C.apply(this,arguments)}function Cn(r,e){r.prototype=Object.create(e.prototype),r.prototype.constructor=r,Y(r,e)}function ye(r){return ye=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},ye(r)}function Y(r,e){return Y=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,i){return n.__proto__=i,n},Y(r,e)}function Wn(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(r){return!1}}function k(r,e,t){return Wn()?k=Reflect.construct.bind():k=function(i,s,a){var o=[null];o.push.apply(o,s);var f=Function.bind.apply(i,o),w=new f;return a&&Y(w,a.prototype),w},k.apply(null,arguments)}function Vn(r){return Function.toString.call(r).indexOf("[native code]")!==-1}function he(r){var e=typeof Map=="function"?new Map:void 0;return he=function(n){if(n===null||!Vn(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e<"u"){if(e.has(n))return e.get(n);e.set(n,i)}function i(){return k(n,arguments,ye(this).constructor)}return i.prototype=Object.create(n.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),Y(i,n)},he(r)}var Dn=/%[sdj%]/g,Un=function(){};function be(r){if(!r||!r.length)return null;var e={};return r.forEach(function(t){var n=t.field;e[n]=e[n]||[],e[n].push(t)}),e}function $(r){for(var e=arguments.length,t=new Array(e>1?e-1:0),n=1;n<e;n++)t[n-1]=arguments[n];var i=0,s=t.length;if(typeof r=="function")return r.apply(null,t);if(typeof r=="string"){var a=r.replace(Dn,function(o){if(o==="%%")return"%";if(i>=s)return o;switch(o){case"%s":return String(t[i++]);case"%d":return Number(t[i++]);case"%j":try{return JSON.stringify(t[i++])}catch(f){return"[Circular]"}break;default:return o}});return a}return r}function zn(r){return r==="string"||r==="url"||r==="hex"||r==="email"||r==="date"||r==="pattern"}function _(r,e){return!!(r==null||e==="array"&&Array.isArray(r)&&!r.length||zn(e)&&typeof r=="string"&&!r)}function Gn(r,e,t){var n=[],i=0,s=r.length;function a(o){n.push.apply(n,o||[]),i++,i===s&&t(n)}r.forEach(function(o){e(o,a)})}function Ze(r,e,t){var n=0,i=r.length;function s(a){if(a&&a.length){t(a);return}var o=n;n=n+1,o<i?e(r[o],s):t([])}s([])}function Kn(r){var e=[];return Object.keys(r).forEach(function(t){e.push.apply(e,r[t]||[])}),e}var He=function(r){Cn(e,r);function e(t,n){var i;return i=r.call(this,"Async Validation Error")||this,i.errors=t,i.fields=n,i}return e}(he(Error));function Yn(r,e,t,n,i){if(e.first){var s=new Promise(function(b,j){var q=function(l){return n(l),l.length?j(new He(l,be(l))):b(i)},d=Kn(r);Ze(d,t,q)});return s.catch(function(b){return b}),s}var a=e.firstFields===!0?Object.keys(r):e.firstFields||[],o=Object.keys(r),f=o.length,w=0,c=[],v=new Promise(function(b,j){var q=function(g){if(c.push.apply(c,g),w++,w===f)return n(c),c.length?j(new He(c,be(c))):b(i)};o.length||(n(c),b(i)),o.forEach(function(d){var g=r[d];a.indexOf(d)!==-1?Ze(g,t,q):Gn(g,t,q)})});return v.catch(function(b){return b}),v}function Jn(r){return!!(r&&r.message!==void 0)}function Zn(r,e){for(var t=r,n=0;n<e.length;n++){if(t==null)return t;t=t[e[n]]}return t}function Qe(r,e){return function(t){var n;return r.fullFields?n=Zn(e,r.fullFields):n=e[t.field||r.fullField],Jn(t)?(t.field=t.field||r.fullField,t.fieldValue=n,t):{message:typeof t=="function"?t():t,fieldValue:n,field:t.field||r.fullField}}}function Xe(r,e){if(e){for(var t in e)if(e.hasOwnProperty(t)){var n=e[t];typeof n=="object"&&typeof r[t]=="object"?r[t]=C({},r[t],n):r[t]=n}}return r}var Et=function(e,t,n,i,s,a){e.required&&(!n.hasOwnProperty(e.field)||_(t,a||e.type))&&i.push($(s.messages.required,e.fullField))},Hn=function(e,t,n,i,s){(/^\s+$/.test(t)||t==="")&&i.push($(s.messages.whitespace,e.fullField))},H,Qn=function(){if(H)return H;var r="[a-fA-F\\d:]",e=function(h){return h&&h.includeBoundaries?"(?:(?<=\\s|^)(?="+r+")|(?<="+r+")(?=\\s|$))":""},t="(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}",n="[a-fA-F\\d]{1,4}",i=("\n(?:\n(?:"+n+":){7}(?:"+n+"|:)| // 1:2:3:4:5:6:7:: 1:2:3:4:5:6:7:8\n(?:"+n+":){6}(?:"+t+"|:"+n+"|:)| // 1:2:3:4:5:6:: 1:2:3:4:5:6::8 1:2:3:4:5:6::8 1:2:3:4:5:6::1.2.3.4\n(?:"+n+":){5}(?::"+t+"|(?::"+n+"){1,2}|:)| // 1:2:3:4:5:: 1:2:3:4:5::7:8 1:2:3:4:5::8 1:2:3:4:5::7:1.2.3.4\n(?:"+n+":){4}(?:(?::"+n+"){0,1}:"+t+"|(?::"+n+"){1,3}|:)| // 1:2:3:4:: 1:2:3:4::6:7:8 1:2:3:4::8 1:2:3:4::6:7:1.2.3.4\n(?:"+n+":){3}(?:(?::"+n+"){0,2}:"+t+"|(?::"+n+"){1,4}|:)| // 1:2:3:: 1:2:3::5:6:7:8 1:2:3::8 1:2:3::5:6:7:1.2.3.4\n(?:"+n+":){2}(?:(?::"+n+"){0,3}:"+t+"|(?::"+n+"){1,5}|:)| // 1:2:: 1:2::4:5:6:7:8 1:2::8 1:2::4:5:6:7:1.2.3.4\n(?:"+n+":){1}(?:(?::"+n+"){0,4}:"+t+"|(?::"+n+"){1,6}|:)| // 1:: 1::3:4:5:6:7:8 1::8 1::3:4:5:6:7:1.2.3.4\n(?::(?:(?::"+n+"){0,5}:"+t+"|(?::"+n+"){1,7}|:)) // ::2:3:4:5:6:7:8 ::2:3:4:5:6:7:8 ::8 ::1.2.3.4\n)(?:%[0-9a-zA-Z]{1,})? // %eth0 %1\n").replace(/\s*\/\/.*$/gm,"").replace(/\n/g,"").trim(),s=new RegExp("(?:^"+t+"$)|(?:^"+i+"$)"),a=new RegExp("^"+t+"$"),o=new RegExp("^"+i+"$"),f=function(h){return h&&h.exact?s:new RegExp("(?:"+e(h)+t+e(h)+")|(?:"+e(h)+i+e(h)+")","g")};f.v4=function(u){return u&&u.exact?a:new RegExp(""+e(u)+t+e(u),"g")},f.v6=function(u){return u&&u.exact?o:new RegExp(""+e(u)+i+e(u),"g")};var w="(?:(?:[a-z]+:)?//)",c="(?:\\S+(?::\\S*)?@)?",v=f.v4().source,b=f.v6().source,j="(?:(?:[a-z\\u00a1-\\uffff0-9][-_]*)*[a-z\\u00a1-\\uffff0-9]+)",q="(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*",d="(?:\\.(?:[a-z\\u00a1-\\uffff]{2,}))",g="(?::\\d{2,5})?",l='(?:[/?#][^\\s"]*)?',m="(?:"+w+"|www\\.)"+c+"(?:localhost|"+v+"|"+b+"|"+j+q+d+")"+g+l;return H=new RegExp("(?:^"+m+"$)","i"),H},ke={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$/,hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},G={integer:function(e){return G.number(e)&&parseInt(e,10)===e},float:function(e){return G.number(e)&&!G.integer(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return!!new RegExp(e)}catch(t){return!1}},date:function(e){return typeof e.getTime=="function"&&typeof e.getMonth=="function"&&typeof e.getYear=="function"&&!isNaN(e.getTime())},number:function(e){return isNaN(e)?!1:typeof e=="number"},object:function(e){return typeof e=="object"&&!G.array(e)},method:function(e){return typeof e=="function"},email:function(e){return typeof e=="string"&&e.length<=320&&!!e.match(ke.email)},url:function(e){return typeof e=="string"&&e.length<=2048&&!!e.match(Qn())},hex:function(e){return typeof e=="string"&&!!e.match(ke.hex)}},Xn=function(e,t,n,i,s){if(e.required&&t===void 0){Et(e,t,n,i,s);return}var a=["integer","float","array","regexp","object","method","email","number","date","url","hex"],o=e.type;a.indexOf(o)>-1?G[o](t)||i.push($(s.messages.types[o],e.fullField,e.type)):o&&typeof t!==e.type&&i.push($(s.messages.types[o],e.fullField,e.type))},kn=function(e,t,n,i,s){var a=typeof e.len=="number",o=typeof e.min=="number",f=typeof e.max=="number",w=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,c=t,v=null,b=typeof t=="number",j=typeof t=="string",q=Array.isArray(t);if(b?v="number":j?v="string":q&&(v="array"),!v)return!1;q&&(c=t.length),j&&(c=t.replace(w,"_").length),a?c!==e.len&&i.push($(s.messages[v].len,e.fullField,e.len)):o&&!f&&c<e.min?i.push($(s.messages[v].min,e.fullField,e.min)):f&&!o&&c>e.max?i.push($(s.messages[v].max,e.fullField,e.max)):o&&f&&(c<e.min||c>e.max)&&i.push($(s.messages[v].range,e.fullField,e.min,e.max))},D="enum",ei=function(e,t,n,i,s){e[D]=Array.isArray(e[D])?e[D]:[],e[D].indexOf(t)===-1&&i.push($(s.messages[D],e.fullField,e[D].join(", ")))},ti=function(e,t,n,i,s){if(e.pattern){if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||i.push($(s.messages.pattern.mismatch,e.fullField,t,e.pattern));else if(typeof e.pattern=="string"){var a=new RegExp(e.pattern);a.test(t)||i.push($(s.messages.pattern.mismatch,e.fullField,t,e.pattern))}}},y={required:Et,whitespace:Hn,type:Xn,range:kn,enum:ei,pattern:ti},ri=function(e,t,n,i,s){var a=[],o=e.required||!e.required&&i.hasOwnProperty(e.field);if(o){if(_(t,"string")&&!e.required)return n();y.required(e,t,i,a,s,"string"),_(t,"string")||(y.type(e,t,i,a,s),y.range(e,t,i,a,s),y.pattern(e,t,i,a,s),e.whitespace===!0&&y.whitespace(e,t,i,a,s))}n(a)},ni=function(e,t,n,i,s){var a=[],o=e.required||!e.required&&i.hasOwnProperty(e.field);if(o){if(_(t)&&!e.required)return n();y.required(e,t,i,a,s),t!==void 0&&y.type(e,t,i,a,s)}n(a)},ii=function(e,t,n,i,s){var a=[],o=e.required||!e.required&&i.hasOwnProperty(e.field);if(o){if(t===""&&(t=void 0),_(t)&&!e.required)return n();y.required(e,t,i,a,s),t!==void 0&&(y.type(e,t,i,a,s),y.range(e,t,i,a,s))}n(a)},ai=function(e,t,n,i,s){var a=[],o=e.required||!e.required&&i.hasOwnProperty(e.field);if(o){if(_(t)&&!e.required)return n();y.required(e,t,i,a,s),t!==void 0&&y.type(e,t,i,a,s)}n(a)},si=function(e,t,n,i,s){var a=[],o=e.required||!e.required&&i.hasOwnProperty(e.field);if(o){if(_(t)&&!e.required)return n();y.required(e,t,i,a,s),_(t)||y.type(e,t,i,a,s)}n(a)},oi=function(e,t,n,i,s){var a=[],o=e.required||!e.required&&i.hasOwnProperty(e.field);if(o){if(_(t)&&!e.required)return n();y.required(e,t,i,a,s),t!==void 0&&(y.type(e,t,i,a,s),y.range(e,t,i,a,s))}n(a)},fi=function(e,t,n,i,s){var a=[],o=e.required||!e.required&&i.hasOwnProperty(e.field);if(o){if(_(t)&&!e.required)return n();y.required(e,t,i,a,s),t!==void 0&&(y.type(e,t,i,a,s),y.range(e,t,i,a,s))}n(a)},li=function(e,t,n,i,s){var a=[],o=e.required||!e.required&&i.hasOwnProperty(e.field);if(o){if(t==null&&!e.required)return n();y.required(e,t,i,a,s,"array"),t!=null&&(y.type(e,t,i,a,s),y.range(e,t,i,a,s))}n(a)},ui=function(e,t,n,i,s){var a=[],o=e.required||!e.required&&i.hasOwnProperty(e.field);if(o){if(_(t)&&!e.required)return n();y.required(e,t,i,a,s),t!==void 0&&y.type(e,t,i,a,s)}n(a)},di="enum",ci=function(e,t,n,i,s){var a=[],o=e.required||!e.required&&i.hasOwnProperty(e.field);if(o){if(_(t)&&!e.required)return n();y.required(e,t,i,a,s),t!==void 0&&y[di](e,t,i,a,s)}n(a)},pi=function(e,t,n,i,s){var a=[],o=e.required||!e.required&&i.hasOwnProperty(e.field);if(o){if(_(t,"string")&&!e.required)return n();y.required(e,t,i,a,s),_(t,"string")||y.pattern(e,t,i,a,s)}n(a)},vi=function(e,t,n,i,s){var a=[],o=e.required||!e.required&&i.hasOwnProperty(e.field);if(o){if(_(t,"date")&&!e.required)return n();if(y.required(e,t,i,a,s),!_(t,"date")){var f;t instanceof Date?f=t:f=new Date(t),y.type(e,f,i,a,s),f&&y.range(e,f.getTime(),i,a,s)}}n(a)},gi=function(e,t,n,i,s){var a=[],o=Array.isArray(t)?"array":typeof t;y.required(e,t,i,a,s,o),n(a)},de=function(e,t,n,i,s){var a=e.type,o=[],f=e.required||!e.required&&i.hasOwnProperty(e.field);if(f){if(_(t,a)&&!e.required)return n();y.required(e,t,i,o,s,a),_(t,a)||y.type(e,t,i,o,s)}n(o)},mi=function(e,t,n,i,s){var a=[],o=e.required||!e.required&&i.hasOwnProperty(e.field);if(o){if(_(t)&&!e.required)return n();y.required(e,t,i,a,s)}n(a)},K={string:ri,method:ni,number:ii,boolean:ai,regexp:si,integer:oi,float:fi,array:li,object:ui,enum:ci,pattern:pi,date:vi,url:de,hex:de,email:de,required:gi,any:mi};function we(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var e=JSON.parse(JSON.stringify(this));return e.clone=this.clone,e}}}var Fe=we(),J=function(){function r(t){this.rules=null,this._messages=Fe,this.define(t)}var e=r.prototype;return e.define=function(n){var i=this;if(!n)throw new Error("Cannot configure a schema with no rules");if(typeof n!="object"||Array.isArray(n))throw new Error("Rules must be an object");this.rules={},Object.keys(n).forEach(function(s){var a=n[s];i.rules[s]=Array.isArray(a)?a:[a]})},e.messages=function(n){return n&&(this._messages=Xe(we(),n)),this._messages},e.validate=function(n,i,s){var a=this;i===void 0&&(i={}),s===void 0&&(s=function(){});var o=n,f=i,w=s;if(typeof f=="function"&&(w=f,f={}),!this.rules||Object.keys(this.rules).length===0)return w&&w(null,o),Promise.resolve(o);function c(d){var g=[],l={};function m(h){if(Array.isArray(h)){var O;g=(O=g).concat.apply(O,h)}else g.push(h)}for(var u=0;u<d.length;u++)m(d[u]);g.length?(l=be(g),w(g,l)):w(null,o)}if(f.messages){var v=this.messages();v===Fe&&(v=we()),Xe(v,f.messages),f.messages=v}else f.messages=this.messages();var b={},j=f.keys||Object.keys(this.rules);j.forEach(function(d){var g=a.rules[d],l=o[d];g.forEach(function(m){var u=m;typeof u.transform=="function"&&(o===n&&(o=C({},o)),l=o[d]=u.transform(l)),typeof u=="function"?u={validator:u}:u=C({},u),u.validator=a.getValidationMethod(u),u.validator&&(u.field=d,u.fullField=u.fullField||d,u.type=a.getType(u),b[d]=b[d]||[],b[d].push({rule:u,value:l,source:o,field:d}))})});var q={};return Yn(b,f,function(d,g){var l=d.rule,m=(l.type==="object"||l.type==="array")&&(typeof l.fields=="object"||typeof l.defaultField=="object");m=m&&(l.required||!l.required&&d.value),l.field=d.field;function u(A,L){return C({},L,{fullField:l.fullField+"."+A,fullFields:l.fullFields?[].concat(l.fullFields,[A]):[A]})}function h(A){A===void 0&&(A=[]);var L=Array.isArray(A)?A:[A];!f.suppressWarning&&L.length&&r.warning("async-validator:",L),L.length&&l.message!==void 0&&(L=[].concat(l.message));var P=L.map(Qe(l,o));if(f.first&&P.length)return q[l.field]=1,g(P);if(!m)g(P);else{if(l.required&&!d.value)return l.message!==void 0?P=[].concat(l.message).map(Qe(l,o)):f.error&&(P=[f.error(l,$(f.messages.required,l.field))]),g(P);var R={};l.defaultField&&Object.keys(d.value).map(function(N){R[N]=l.defaultField}),R=C({},R,d.rule.fields);var U={};Object.keys(R).forEach(function(N){var I=R[N],ae=Array.isArray(I)?I:[I];U[N]=ae.map(u.bind(null,N))});var W=new r(U);W.messages(f.messages),d.rule.options&&(d.rule.options.messages=f.messages,d.rule.options.error=f.error),W.validate(d.value,d.rule.options||f,function(N){var I=[];P&&P.length&&I.push.apply(I,P),N&&N.length&&I.push.apply(I,N),g(I.length?I:null)})}}var O;if(l.asyncValidator)O=l.asyncValidator(l,d.value,h,d.source,f);else if(l.validator){try{O=l.validator(l,d.value,h,d.source,f)}catch(A){console.error==null||console.error(A),f.suppressValidatorError||setTimeout(function(){throw A},0),h(A.message)}O===!0?h():O===!1?h(typeof l.message=="function"?l.message(l.fullField||l.field):l.message||(l.fullField||l.field)+" fails"):O instanceof Array?h(O):O instanceof Error&&h(O.message)}O&&O.then&&O.then(function(){return h()},function(A){return h(A)})},function(d){c(d)},o)},e.getType=function(n){if(n.type===void 0&&n.pattern instanceof RegExp&&(n.type="pattern"),typeof n.validator!="function"&&n.type&&!K.hasOwnProperty(n.type))throw new Error($("Unknown rule type %s",n.type));return n.type||"string"},e.getValidationMethod=function(n){if(typeof n.validator=="function")return n.validator;var i=Object.keys(n),s=i.indexOf("message");return s!==-1&&i.splice(s,1),i.length===1&&i[0]==="required"?K.required:K[this.getType(n)]||void 0},r}();J.register=function(e,t){if(typeof t!="function")throw new Error("Cannot register a validator by type, validator is not a function");K[e]=t};J.warning=Un;J.messages=Fe;J.validators=K;const yi=["","error","validating","success"],hi=it({label:String,labelWidth:{type:[String,Number],default:""},prop:{type:ce([String,Array])},required:{type:Boolean,default:void 0},rules:{type:ce([Object,Array])},error:String,validateStatus:{type:String,values:yi},for:String,inlineMessage:{type:[String,Boolean],default:""},showMessage:{type:Boolean,default:!0},size:{type:String,values:at}}),et="ElLabelWrap";var bi=Oe({name:et,props:{isAutoWidth:Boolean,updateAll:Boolean},setup(r,{slots:e}){const t=te(qe,void 0);te(ge)||Ct(et,"usage: <el-form-item><label-wrap /></el-form-item>");const i=Ae("form"),s=B(),a=B(0),o=()=>{var c;if((c=s.value)!=null&&c.firstElementChild){const v=window.getComputedStyle(s.value.firstElementChild).width;return Math.ceil(Number.parseFloat(v))}else return 0},f=(c="update")=>{mt(()=>{e.default&&r.isAutoWidth&&(c==="update"?a.value=o():c==="remove"&&(t==null||t.deregisterLabelWidth(a.value)))})},w=()=>f("update");return vt(()=>{w()}),gt(()=>{f("remove")}),Wt(()=>w()),ee(a,(c,v)=>{r.updateAll&&(t==null||t.registerLabelWidth(c,v))}),Vt(T(()=>{var c,v;return(v=(c=s.value)==null?void 0:c.firstElementChild)!=null?v:null}),w),()=>{var c,v;if(!e)return null;const{isAutoWidth:b}=r;if(b){const j=t==null?void 0:t.autoLabelWidth,q={};if(j&&j!=="auto"){const d=Math.max(0,Number.parseInt(j,10)-a.value),g=t.labelPosition==="left"?"marginRight":"marginLeft";d&&(q[g]="".concat(d,"px"))}return re("div",{ref:s,class:[i.be("item","label-wrap")],style:q},[(c=e.default)==null?void 0:c.call(e)])}else return re(Dt,{ref:s},[(v=e.default)==null?void 0:v.call(e)])}}});const wi=["role","aria-labelledby"],Fi={name:"ElFormItem"},xi=Oe({...Fi,props:hi,setup(r,{expose:e}){const t=r,n=Ut(),i=te(qe,void 0),s=te(ge,void 0),a=ft(void 0,{formItem:!1}),o=Ae("form-item"),f=zt().value,w=B([]),c=B(""),v=Gt(c,100),b=B(""),j=B();let q,d=!1;const g=T(()=>{if((i==null?void 0:i.labelPosition)==="top")return{};const p=Me(t.labelWidth||(i==null?void 0:i.labelWidth)||"");return p?{width:p}:{}}),l=T(()=>{if((i==null?void 0:i.labelPosition)==="top"||i!=null&&i.inline)return{};if(!t.label&&!t.labelWidth&&R)return{};const p=Me(t.labelWidth||(i==null?void 0:i.labelWidth)||"");return!t.label&&!n.label?{marginLeft:p}:{}}),m=T(()=>[o.b(),o.m(a.value),o.is("error",c.value==="error"),o.is("validating",c.value==="validating"),o.is("success",c.value==="success"),o.is("required",ae.value||t.required),o.is("no-asterisk",i==null?void 0:i.hideRequiredAsterisk),{[o.m("feedback")]:i==null?void 0:i.statusIcon}]),u=T(()=>st(t.inlineMessage)?t.inlineMessage:(i==null?void 0:i.inlineMessage)||!1),h=T(()=>[o.e("error"),{[o.em("error","inline")]:u.value}]),O=T(()=>t.prop?pe(t.prop)?t.prop:t.prop.join("."):""),A=T(()=>!!(t.label||n.label)),L=T(()=>t.for||w.value.length===1?w.value[0]:void 0),P=T(()=>!L.value&&A.value),R=!!s,U=T(()=>{const p=i==null?void 0:i.model;if(!(!p||!t.prop))return le(p,t.prop).value}),W=T(()=>{const p=t.rules?me(t.rules):[],x=i==null?void 0:i.rules;if(x&&t.prop){const S=le(x,t.prop).value;S&&p.push(...me(S))}return t.required!==void 0&&p.push({required:!!t.required}),p}),N=T(()=>W.value.length>0),I=p=>W.value.filter(S=>!S.trigger||!p?!0:Array.isArray(S.trigger)?S.trigger.includes(p):S.trigger===p).map(({trigger:S,...M})=>M),ae=T(()=>W.value.some(p=>p.required===!0)),_t=T(()=>{var p;return v.value==="error"&&t.showMessage&&((p=i==null?void 0:i.showMessage)!=null?p:!0)}),_e=T(()=>"".concat(t.label||"").concat((i==null?void 0:i.labelSuffix)||"")),V=p=>{c.value=p},St=p=>{var x,S;const{errors:M,fields:fe}=p;(!M||!fe)&&console.error(p),V("error"),b.value=M?(S=(x=M==null?void 0:M[0])==null?void 0:x.message)!=null?S:"".concat(t.prop," is required"):"",i==null||i.emit("validate",t.prop,!1,b.value)},Pt=()=>{V("success"),i==null||i.emit("validate",t.prop,!0,"")},$t=async p=>{const x=O.value;return new J({[x]:p}).validate({[x]:U.value},{firstFields:!0}).then(()=>(Pt(),!0)).catch(M=>(St(M),Promise.reject(M)))},Se=async(p,x)=>{if(d)return d=!1,!1;const S=pt(x);if(!N.value)return x==null||x(!1),!1;const M=I(p);return M.length===0?(x==null||x(!0),!0):(V("validating"),$t(M).then(()=>(x==null||x(!0),!0)).catch(fe=>{const{fields:$e}=fe;return x==null||x(!1,$e),S?!1:Promise.reject($e)}))},se=()=>{V(""),b.value=""},Pe=async()=>{const p=i==null?void 0:i.model;if(!p||!t.prop)return;const x=le(p,t.prop);or(x.value,q)||(d=!0,x.value=Je(q)),await mt(),se()},It=p=>{w.value.includes(p)||w.value.push(p)},Mt=p=>{w.value=w.value.filter(x=>x!==p)};ee(()=>t.error,p=>{b.value=p||"",V(p?"error":"")},{immediate:!0}),ee(()=>t.validateStatus,p=>V(p||""));const oe=ut({...dt(t),$el:j,size:a,validateState:c,labelId:f,inputIds:w,isGroup:P,addInputId:It,removeInputId:Mt,resetField:Pe,clearValidate:se,validate:Se});return lt(ge,oe),vt(()=>{t.prop&&(i==null||i.addField(oe),q=Je(U.value))}),gt(()=>{i==null||i.removeField(oe)}),e({size:a,validateMessage:b,validateState:c,validate:Se,clearValidate:se,resetField:Pe}),(p,x)=>{var S;return ve(),ct("div",{ref_key:"formItemRef",ref:j,class:z(E(m)),role:E(P)?"group":void 0,"aria-labelledby":E(P)?E(f):void 0},[re(E(bi),{"is-auto-width":E(g).width==="auto","update-all":((S=E(i))==null?void 0:S.labelWidth)==="auto"},{default:ue(()=>[E(A)?(ve(),Kt(Yt(E(L)?"label":"div"),{key:0,id:E(f),for:E(L),class:z(E(o).e("label")),style:Le(E(g))},{default:ue(()=>[Q(p.$slots,"label",{label:E(_e)},()=>[Jt(Ne(E(_e)),1)])]),_:3},8,["id","for","class","style"])):Re("v-if",!0)]),_:3},8,["is-auto-width","update-all"]),Be("div",{class:z(E(o).e("content")),style:Le(E(l))},[Q(p.$slots,"default"),re(Zt,{name:"".concat(E(o).namespace.value,"-zoom-in-top")},{default:ue(()=>[E(_t)?Q(p.$slots,"error",{key:0,error:b.value},()=>[Be("div",{class:z(E(h))},Ne(b.value),3)]):Re("v-if",!0)]),_:3},8,["name"])],6)],10,wi)}}});var Tt=ot(xi,[["__file","/home/runner/work/element-plus/element-plus/packages/components/form/src/form-item.vue"]]);const qi=Ht(Bn,{FormItem:Tt}),ji=Qt(Tt);export{ji as E,qi as a};
2
+ //# sourceMappingURL=el-form-item-SCs-OERV.js.map