@qynpm/ui 1.0.38 → 1.0.40

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 (328) hide show
  1. package/README.md +117 -113
  2. package/dist/index.cjs +2 -1
  3. package/dist/index.mjs +50 -48
  4. package/dist/qy-action-bar/index.cjs +1 -1
  5. package/dist/qy-action-bar/index.mjs +1 -1
  6. package/dist/qy-alert/index.cjs +1 -1
  7. package/dist/qy-alert/index.mjs +1 -1
  8. package/dist/qy-aside/index.cjs +1 -1
  9. package/dist/qy-aside/index.mjs +1 -1
  10. package/dist/qy-autocomplete/index.cjs +1 -1
  11. package/dist/qy-autocomplete/index.mjs +1 -1
  12. package/dist/qy-avatar/index.cjs +1 -1
  13. package/dist/qy-avatar/index.mjs +1 -1
  14. package/dist/qy-badge/index.cjs +1 -1
  15. package/dist/qy-badge/index.mjs +1 -1
  16. package/dist/qy-button/index.cjs +1 -1
  17. package/dist/qy-button/index.mjs +1 -1
  18. package/dist/qy-card/index.cjs +1 -1
  19. package/dist/qy-card/index.mjs +1 -1
  20. package/dist/qy-cascader/index.cjs +1 -1
  21. package/dist/qy-cascader/index.mjs +1 -1
  22. package/dist/qy-checkbox/index.cjs +1 -1
  23. package/dist/qy-checkbox/index.mjs +1 -1
  24. package/dist/qy-checkbox-group/index.cjs +1 -1
  25. package/dist/qy-checkbox-group/index.mjs +1 -1
  26. package/dist/qy-col/index.cjs +1 -1
  27. package/dist/qy-col/index.mjs +1 -1
  28. package/dist/qy-collapse/index.cjs +1 -1
  29. package/dist/qy-collapse/index.mjs +1 -1
  30. package/dist/qy-collapse-item/index.cjs +1 -1
  31. package/dist/qy-collapse-item/index.mjs +1 -1
  32. package/dist/qy-color-picker/index.cjs +1 -1
  33. package/dist/qy-color-picker/index.mjs +1 -1
  34. package/dist/qy-container/index.cjs +1 -1
  35. package/dist/qy-container/index.mjs +1 -1
  36. package/dist/qy-date-picker/index.cjs +1 -1
  37. package/dist/qy-date-picker/index.mjs +1 -1
  38. package/dist/qy-descriptions/index.cjs +1 -1
  39. package/dist/qy-descriptions/index.mjs +1 -1
  40. package/dist/qy-descriptions-item/index.cjs +1 -1
  41. package/dist/qy-descriptions-item/index.mjs +1 -1
  42. package/dist/qy-dialog/index.cjs +1 -1
  43. package/dist/qy-dialog/index.mjs +1 -1
  44. package/dist/qy-divider/index.cjs +1 -1
  45. package/dist/qy-divider/index.mjs +1 -1
  46. package/dist/qy-drawer/index.cjs +1 -1
  47. package/dist/qy-drawer/index.mjs +1 -1
  48. package/dist/qy-dropdown/index.cjs +1 -1
  49. package/dist/qy-dropdown/index.mjs +1 -1
  50. package/dist/qy-empty/index.cjs +1 -1
  51. package/dist/qy-empty/index.mjs +1 -1
  52. package/dist/qy-file-picker/index.cjs +1 -1
  53. package/dist/qy-file-picker/index.mjs +1 -1
  54. package/dist/qy-form-section/index.cjs +1 -1
  55. package/dist/qy-form-section/index.mjs +1 -1
  56. package/dist/qy-fullscreen/index.cjs +1 -1
  57. package/dist/qy-fullscreen/index.mjs +1 -1
  58. package/dist/qy-icon/index.cjs +1 -1
  59. package/dist/qy-icon/index.mjs +2 -2
  60. package/dist/qy-icon-picker/index.cjs +1 -1
  61. package/dist/qy-icon-picker/index.mjs +1 -1
  62. package/dist/qy-iframe/index.cjs +1 -1
  63. package/dist/qy-iframe/index.mjs +1 -1
  64. package/dist/qy-image/index.cjs +1 -1
  65. package/dist/qy-image/index.mjs +1 -1
  66. package/dist/qy-image-preview/index.cjs +1 -1
  67. package/dist/qy-image-preview/index.mjs +1 -1
  68. package/dist/qy-image-upload/index.cjs +1 -1
  69. package/dist/qy-image-upload/index.mjs +1 -1
  70. package/dist/qy-input/index.cjs +1 -1
  71. package/dist/qy-input/index.mjs +1 -1
  72. package/dist/qy-input-number/index.cjs +1 -1
  73. package/dist/qy-input-number/index.mjs +1 -1
  74. package/dist/qy-input-tag/index.cjs +1 -1
  75. package/dist/qy-input-tag/index.mjs +1 -1
  76. package/dist/qy-legacy-selection-dialog/index.cjs +1 -1
  77. package/dist/qy-legacy-selection-dialog/index.mjs +1 -1
  78. package/dist/qy-link/index.cjs +1 -1
  79. package/dist/qy-link/index.mjs +1 -1
  80. package/dist/qy-main/index.cjs +1 -1
  81. package/dist/qy-main/index.mjs +1 -1
  82. package/dist/qy-menu-actions/index.cjs +1 -1
  83. package/dist/qy-menu-actions/index.mjs +1 -1
  84. package/dist/qy-money-input/index.cjs +1 -1
  85. package/dist/qy-money-input/index.mjs +1 -1
  86. package/dist/qy-pagination/index.cjs +1 -0
  87. package/dist/qy-pagination/index.mjs +7 -0
  88. package/dist/qy-popconfirm/index.cjs +1 -1
  89. package/dist/qy-popconfirm/index.mjs +1 -1
  90. package/dist/qy-popover/index.cjs +1 -1
  91. package/dist/qy-popover/index.mjs +1 -1
  92. package/dist/qy-progress/index.cjs +1 -1
  93. package/dist/qy-progress/index.mjs +1 -1
  94. package/dist/qy-radio/index.cjs +1 -1
  95. package/dist/qy-radio/index.mjs +1 -1
  96. package/dist/qy-radio-group/index.cjs +1 -1
  97. package/dist/qy-radio-group/index.mjs +1 -1
  98. package/dist/qy-record-quote-search/index.cjs +1 -1
  99. package/dist/qy-record-quote-search/index.mjs +1 -1
  100. package/dist/qy-remark-image/index.cjs +1 -1
  101. package/dist/qy-remark-image/index.mjs +1 -1
  102. package/dist/qy-remote-select/index.cjs +1 -1
  103. package/dist/qy-remote-select/index.mjs +1 -1
  104. package/dist/qy-result/index.cjs +1 -1
  105. package/dist/qy-result/index.mjs +1 -1
  106. package/dist/qy-row/index.cjs +1 -1
  107. package/dist/qy-row/index.mjs +1 -1
  108. package/dist/qy-scrollbar/index.cjs +1 -1
  109. package/dist/qy-scrollbar/index.mjs +1 -1
  110. package/dist/qy-search-input/index.cjs +1 -1
  111. package/dist/qy-search-input/index.mjs +1 -1
  112. package/dist/qy-select/index.cjs +1 -1
  113. package/dist/qy-select/index.mjs +1 -1
  114. package/dist/qy-selection-dialog/index.cjs +1 -1
  115. package/dist/qy-selection-dialog/index.mjs +1 -1
  116. package/dist/qy-skeleton/index.cjs +1 -1
  117. package/dist/qy-skeleton/index.mjs +1 -1
  118. package/dist/qy-skeleton-item/index.cjs +1 -1
  119. package/dist/qy-skeleton-item/index.mjs +1 -1
  120. package/dist/qy-statistic/index.cjs +1 -1
  121. package/dist/qy-statistic/index.mjs +1 -1
  122. package/dist/qy-step/index.cjs +1 -1
  123. package/dist/qy-step/index.mjs +1 -1
  124. package/dist/qy-steps/index.cjs +1 -1
  125. package/dist/qy-steps/index.mjs +1 -1
  126. package/dist/qy-switch/index.cjs +1 -1
  127. package/dist/qy-switch/index.mjs +1 -1
  128. package/dist/qy-tab-pane/index.cjs +1 -1
  129. package/dist/qy-tab-pane/index.mjs +1 -1
  130. package/dist/qy-table-column-settings/index.cjs +1 -1
  131. package/dist/qy-table-column-settings/index.mjs +1 -1
  132. package/dist/qy-tabs/index.cjs +1 -1
  133. package/dist/qy-tabs/index.mjs +1 -1
  134. package/dist/qy-tag/index.cjs +1 -1
  135. package/dist/qy-tag/index.mjs +1 -1
  136. package/dist/qy-tooltip/index.cjs +1 -1
  137. package/dist/qy-tooltip/index.mjs +1 -1
  138. package/dist/qy-tree/index.cjs +1 -1
  139. package/dist/qy-tree/index.mjs +1 -1
  140. package/dist/qy-tree-select/index.cjs +1 -1
  141. package/dist/qy-tree-select/index.mjs +1 -1
  142. package/dist/qy-upload/index.cjs +1 -1
  143. package/dist/qy-upload/index.mjs +1 -1
  144. package/dist/qy-watermark/index.cjs +1 -1
  145. package/dist/qy-watermark/index.mjs +1 -1
  146. package/dist/shared/{index-WUwab92q.mjs → index-1Vw54aYL.mjs} +9 -9
  147. package/dist/shared/{index-Cs-LC7ZG.mjs → index-5vWL_IJI.mjs} +15 -15
  148. package/dist/shared/{index-xhROPBam.mjs → index-7fIb2Tqw.mjs} +12 -12
  149. package/dist/shared/{index-CyJHJCj8.cjs → index-9T0p3USM.cjs} +1 -1
  150. package/dist/shared/{index-BxQnJVT8.cjs → index-B-zfoMbw.cjs} +1 -1
  151. package/dist/shared/{index-qLomEtF6.mjs → index-B1I7mCIm.mjs} +3 -3
  152. package/dist/shared/{index-CnIZoCkL.mjs → index-B1aU9mew.mjs} +10 -10
  153. package/dist/shared/{index-BIWER6Wa.cjs → index-B26-GlFX.cjs} +1 -1
  154. package/dist/shared/{index-CF3vimnX.mjs → index-B63vgrS4.mjs} +7 -7
  155. package/dist/shared/{index-CJxpEc9q.cjs → index-B97hTd-h.cjs} +1 -1
  156. package/dist/shared/{index-CypWMqI4.cjs → index-B9zEH5Yq.cjs} +1 -1
  157. package/dist/shared/{index--I-pLtO3.cjs → index-BA_tJgLE.cjs} +1 -1
  158. package/dist/shared/{index-DiNSSXC8.mjs → index-BBIPQa5N.mjs} +4 -4
  159. package/dist/shared/index-BCWvMvRL.cjs +1 -0
  160. package/dist/shared/{index-DtXU2qQS.cjs → index-BDJIWxaw.cjs} +1 -1
  161. package/dist/shared/{index-DdoFHdjY.mjs → index-BFbAB8UH.mjs} +41 -41
  162. package/dist/shared/{index-B-d53uut.mjs → index-BG3XKumS.mjs} +10 -10
  163. package/dist/shared/{index-CCqfQb_M.mjs → index-BHGDbXoK.mjs} +9 -9
  164. package/dist/shared/{index-Cz6Lo9RL.cjs → index-BInkt-Al.cjs} +1 -1
  165. package/dist/shared/{index-jdGrSpGg.mjs → index-BKEw_9fh.mjs} +553 -550
  166. package/dist/shared/{index-BOLL0aGP.mjs → index-BNfu2YgX.mjs} +7 -7
  167. package/dist/shared/{index-CaM4EpCy.mjs → index-BPXJkcM1.mjs} +7 -7
  168. package/dist/shared/{index-Q8rXwNnM.mjs → index-BQzQcTgt.mjs} +2 -2
  169. package/dist/shared/{index-4uXwnK7G.cjs → index-BUSdZ-x8.cjs} +1 -1
  170. package/dist/shared/{index-ChEefC0G.cjs → index-BZDbBD41.cjs} +1 -1
  171. package/dist/shared/{index-Di3R0FOU.cjs → index-Bc1ny9GC.cjs} +1 -1
  172. package/dist/shared/{index-B8S5RT2Z.mjs → index-BcscC86C.mjs} +30 -30
  173. package/dist/shared/{index-B0aY8Q_T.cjs → index-BiowqiSD.cjs} +1 -1
  174. package/dist/shared/{index-hPaHbb1Y.cjs → index-Bpl6Jh4H.cjs} +1 -1
  175. package/dist/shared/{index-DgPQ8292.cjs → index-BqojE7aF.cjs} +1 -1
  176. package/dist/shared/{index-mKnRWsLn.cjs → index-BrZzYI8x.cjs} +1 -1
  177. package/dist/shared/{index-DI5COVol.cjs → index-BsXys36-.cjs} +1 -1
  178. package/dist/shared/{index-gOUVgYd_.cjs → index-BvmXE8aK.cjs} +1 -1
  179. package/dist/shared/{index-D_l30Gzr.cjs → index-Bw3nETeY.cjs} +1 -1
  180. package/dist/shared/{index-DnFQkBfl.cjs → index-BxxuaQGJ.cjs} +1 -1
  181. package/dist/shared/{index-Du-FNseo.cjs → index-BxymsnW0.cjs} +1 -1
  182. package/dist/shared/{index-DniPcZnL.mjs → index-BzpgGytE.mjs} +8 -8
  183. package/dist/shared/{index-BiCdxX0E.mjs → index-BzzZmppN.mjs} +10 -10
  184. package/dist/shared/{index-B3wIgwN7.cjs → index-C0rOcDsc.cjs} +1 -1
  185. package/dist/shared/{index-Ba5CLmrh.mjs → index-C1hAuubZ.mjs} +8 -8
  186. package/dist/shared/{index-YWKumDEW.mjs → index-C2BQtQPa.mjs} +7 -7
  187. package/dist/shared/{index-DQn_5j_f.cjs → index-C62Loq0f.cjs} +1 -1
  188. package/dist/shared/{index-DFTSBy3g.mjs → index-C7N8x3DK.mjs} +36 -36
  189. package/dist/shared/{index-B8znc-qD.cjs → index-C8aLbb8l.cjs} +1 -1
  190. package/dist/shared/{index-DS539-rn.mjs → index-CA279UZp.mjs} +27 -27
  191. package/dist/shared/{index-BE4CELs-.mjs → index-CBhrdEIf.mjs} +1 -1
  192. package/dist/shared/{index-COpowa-E.mjs → index-CCVlab6d.mjs} +9 -9
  193. package/dist/shared/{index-Bg_o9zrB.cjs → index-CDjAMIpe.cjs} +1 -1
  194. package/dist/shared/{index-BWO4qxne.mjs → index-CDleTMJj.mjs} +11 -11
  195. package/dist/shared/{index-B-PlDm1A.cjs → index-CG4I3nRK.cjs} +1 -1
  196. package/dist/shared/{index-0mok5nS2.cjs → index-CHt1R1WD.cjs} +1 -1
  197. package/dist/shared/index-CZIsLBLq.cjs +1 -0
  198. package/dist/shared/{index-DFnpyAa1.mjs → index-CcEXTVYA.mjs} +14 -14
  199. package/dist/shared/{index-DVPk0jMO.cjs → index-CedTjtZr.cjs} +1 -1
  200. package/dist/shared/{index-DpitpmqK.mjs → index-CgXuleV-.mjs} +20 -20
  201. package/dist/shared/index-CkfWS0Ba.cjs +1 -0
  202. package/dist/shared/index-Cm7k9j8a.cjs +1 -0
  203. package/dist/shared/{index-CWB5fAb7.mjs → index-CmgT_pgc.mjs} +12 -12
  204. package/dist/shared/{index-Ba3qQVYM.cjs → index-CngdcQWi.cjs} +1 -1
  205. package/dist/shared/{index-CjKfmMG4.cjs → index-CqdhLbMe.cjs} +1 -1
  206. package/dist/shared/index-CrlLsoRF.mjs +78 -0
  207. package/dist/shared/{index-DeBjILEK.cjs → index-CsI1WBRp.cjs} +1 -1
  208. package/dist/shared/{index-bvvNTmuM.mjs → index-CsXA7Qfy.mjs} +8 -8
  209. package/dist/shared/{index-jsEFCWaY.mjs → index-CsaDF9d4.mjs} +21 -21
  210. package/dist/shared/{index-DyqFfMhy.mjs → index-CvdUJpAu.mjs} +12 -12
  211. package/dist/shared/{index-CftZiihF.mjs → index-CvfLEIFE.mjs} +28 -27
  212. package/dist/shared/{index-D1cbnYac.mjs → index-CwcD7q4B.mjs} +9 -9
  213. package/dist/shared/{index-CXAVVShG.mjs → index-D0kCG3Ov.mjs} +37 -37
  214. package/dist/shared/{index-R6vvV3td.cjs → index-D1-QYDXi.cjs} +1 -1
  215. package/dist/shared/{index-CioDI8Ys.cjs → index-D1BK66mG.cjs} +1 -1
  216. package/dist/shared/index-D3IHte_d.cjs +1 -0
  217. package/dist/shared/{index-BmWDUjpi.mjs → index-D3VO2Ccd.mjs} +8 -8
  218. package/dist/shared/{index-DWrymMO5.cjs → index-D5spJ8nj.cjs} +1 -1
  219. package/dist/shared/{index-B71cpH4T.cjs → index-D7uPizqd.cjs} +1 -1
  220. package/dist/shared/{index-TMhQv4oD.mjs → index-D8OJx-hy.mjs} +21 -21
  221. package/dist/shared/{index-BsRfuMop.cjs → index-D97QYFZw.cjs} +1 -1
  222. package/dist/shared/{index-_AB6uqZw.mjs → index-DAiFZxwY.mjs} +13 -13
  223. package/dist/shared/{index-xdsYNS2u.mjs → index-DBz3lz62.mjs} +12 -12
  224. package/dist/shared/{index-CndG7UWF.mjs → index-DCKEecrx.mjs} +24 -24
  225. package/dist/shared/index-DCneRuMf.mjs +78 -0
  226. package/dist/shared/{index-DePXY0TI.cjs → index-DD-zKgrO.cjs} +1 -1
  227. package/dist/shared/{index-DRICnDix.mjs → index-DEHvfBYQ.mjs} +8 -8
  228. package/dist/shared/{index-VtJrvPka.mjs → index-DF_Q6c4g.mjs} +1 -1
  229. package/dist/shared/index-DFeV2CL8.cjs +1 -0
  230. package/dist/shared/{index-2xIkj7uz.cjs → index-DIckpqrH.cjs} +1 -1
  231. package/dist/shared/{index-DwHzztSj.cjs → index-DKKMSKqm.cjs} +1 -1
  232. package/dist/shared/{index-D8-4wR07.mjs → index-DPhYSn9g.mjs} +19 -19
  233. package/dist/shared/{index-BsTSa25A.cjs → index-DSq7WIiO.cjs} +1 -1
  234. package/dist/shared/{index-DTOfhAXP.mjs → index-DTHRZ-aL.mjs} +20 -20
  235. package/dist/shared/{index-BM3ueCK9.cjs → index-DTqCwGN_.cjs} +1 -1
  236. package/dist/shared/{index-B1-htEYJ.mjs → index-DVwCIrin.mjs} +27 -27
  237. package/dist/shared/{index-DAoXMHpO.mjs → index-DZU3jXf9.mjs} +1 -1
  238. package/dist/shared/index-D_Imq4-m.mjs +72 -0
  239. package/dist/shared/{index-fVS62tLm.mjs → index-DbxSDJ7e.mjs} +5 -5
  240. package/dist/shared/{index-Bx_faI_u.mjs → index-Dc4A_1-H.mjs} +10 -10
  241. package/dist/shared/index-Dchy1DNn.mjs +197 -0
  242. package/dist/shared/{index-gU6HjdHv.mjs → index-DdKCUobQ.mjs} +55 -55
  243. package/dist/shared/{index-CRU4YvLz.cjs → index-DdX40CzJ.cjs} +1 -1
  244. package/dist/shared/{index-CutbNRjY.mjs → index-DfP6txWq.mjs} +6 -6
  245. package/dist/shared/{index-BoGA3Pdv.cjs → index-Dh_dh3TS.cjs} +1 -1
  246. package/dist/shared/{index-BigCKPUY.mjs → index-DjRDV62n.mjs} +36 -36
  247. package/dist/shared/{index-DYYPqv3Y.cjs → index-DpGlBnUl.cjs} +1 -1
  248. package/dist/shared/{index-C7GXprxF.cjs → index-DsDUAk2R.cjs} +1 -1
  249. package/dist/shared/{index-C97qoSgI.cjs → index-DxUzSONj.cjs} +1 -1
  250. package/dist/shared/{index-Hn-IGtqe.cjs → index-DypZJHmM.cjs} +1 -1
  251. package/dist/shared/{index-DmEwKHe4.cjs → index-DzCwEfCQ.cjs} +1 -1
  252. package/dist/shared/{index-Cp0dxH7g.mjs → index-EPcAlzgc.mjs} +4 -4
  253. package/dist/shared/{index-u7VYI7Kg.mjs → index-GRwpbz1m.mjs} +11 -11
  254. package/dist/shared/index-Gyu5R4Gn.cjs +1 -0
  255. package/dist/shared/{index-DULBwiHC.mjs → index-IJJI2ylC.mjs} +12 -12
  256. package/dist/shared/index-LDtOVxCE.mjs +36 -0
  257. package/dist/shared/{index-lsWZ_M5R.mjs → index-OaA2R7Ur.mjs} +20 -20
  258. package/dist/shared/{index-BhO1ARf9.cjs → index-S2TDFo5d.cjs} +1 -1
  259. package/dist/shared/{index-9KXqMXBF.mjs → index-Se0xx6vl.mjs} +9 -9
  260. package/dist/shared/{index-BA6hc-j-.mjs → index-TVUj4Yp4.mjs} +4 -4
  261. package/dist/shared/index-U3c1apvC.cjs +1 -0
  262. package/dist/shared/{index-Brxx2EqN.mjs → index-VExJFRrd.mjs} +31 -31
  263. package/dist/shared/{index-CeasMt4r.mjs → index-Xw2_Py_V.mjs} +10 -10
  264. package/dist/shared/{index-Db7PhnjA.cjs → index-ZbSETCxZ.cjs} +1 -1
  265. package/dist/shared/index-ZkHMbIv4.cjs +1 -0
  266. package/dist/shared/{index-Nx_w1JYm.cjs → index-aveXATNw.cjs} +1 -1
  267. package/dist/shared/{index-DnexuGuJ.cjs → index-byOl9Vtk.cjs} +1 -1
  268. package/dist/shared/{index-i0G6DcP0.cjs → index-fiuhurmv.cjs} +1 -1
  269. package/dist/shared/{index-BCfULlZK.cjs → index-pqwrEshN.cjs} +1 -1
  270. package/dist/shared/{index-DEosiUQV.mjs → index-rowlxa3p.mjs} +26 -26
  271. package/dist/shared/{index-DZzMTGSJ.cjs → index-trf8Dvbk.cjs} +1 -1
  272. package/dist/shared/{index-DxFfP2Fn.cjs → index-tsfRa5ze.cjs} +1 -1
  273. package/dist/shared/{index-BcPpl_OJ.mjs → index-uRVIiLjP.mjs} +22 -22
  274. package/index.d.ts +122 -113
  275. package/package.json +496 -490
  276. package/qy-alert/index.d.ts +64 -64
  277. package/qy-autocomplete/index.d.ts +5 -5
  278. package/qy-avatar/index.d.ts +67 -67
  279. package/qy-badge/index.d.ts +63 -63
  280. package/qy-card/index.d.ts +64 -64
  281. package/qy-cascader/index.d.ts +198 -198
  282. package/qy-collapse/index.d.ts +59 -59
  283. package/qy-collapse-item/index.d.ts +45 -45
  284. package/qy-descriptions/index.d.ts +47 -47
  285. package/qy-descriptions-item/index.d.ts +46 -46
  286. package/qy-dialog/index.d.ts +63 -63
  287. package/qy-divider/index.d.ts +53 -53
  288. package/qy-drawer/index.d.ts +55 -55
  289. package/qy-empty/index.d.ts +51 -51
  290. package/qy-file-picker/index.d.ts +4 -4
  291. package/qy-icon/index.d.ts +9 -9
  292. package/qy-iframe/index.d.ts +66 -66
  293. package/qy-image/index.d.ts +28 -28
  294. package/qy-image-preview/index.d.ts +20 -20
  295. package/qy-image-upload/index.d.ts +69 -69
  296. package/qy-input/index.d.ts +76 -76
  297. package/qy-input-number/index.d.ts +64 -64
  298. package/qy-input-tag/index.d.ts +69 -69
  299. package/qy-link/index.d.ts +69 -69
  300. package/qy-loading/index.d.ts +25 -25
  301. package/qy-menu-actions/index.d.ts +29 -29
  302. package/qy-money-input/index.d.ts +87 -87
  303. package/qy-pagination/index.d.ts +40 -0
  304. package/qy-progress/index.d.ts +74 -74
  305. package/qy-result/index.d.ts +64 -64
  306. package/qy-scrollbar/index.d.ts +85 -85
  307. package/qy-skeleton/index.d.ts +54 -54
  308. package/qy-skeleton-item/index.d.ts +48 -48
  309. package/qy-step/index.d.ts +55 -55
  310. package/qy-steps/index.d.ts +62 -62
  311. package/qy-tab-pane/index.d.ts +40 -40
  312. package/qy-table-column-settings/index.d.ts +18 -18
  313. package/qy-tabs/index.d.ts +84 -84
  314. package/qy-tree/index.d.ts +132 -132
  315. package/qy-tree-select/index.d.ts +123 -123
  316. package/qy-upload/index.d.ts +99 -99
  317. package/dist/shared/index-0aCI4Gj1.mjs +0 -78
  318. package/dist/shared/index-B1ZuGEIr.cjs +0 -1
  319. package/dist/shared/index-BFFnf0Bn.cjs +0 -1
  320. package/dist/shared/index-Bguu2ys0.cjs +0 -1
  321. package/dist/shared/index-Btwke2ql.cjs +0 -1
  322. package/dist/shared/index-CDGjUhaC.mjs +0 -72
  323. package/dist/shared/index-CSMOYD1R.cjs +0 -1
  324. package/dist/shared/index-CrwhANF5.mjs +0 -78
  325. package/dist/shared/index-CzyB5ttX.cjs +0 -1
  326. package/dist/shared/index-D9dQaZtu.cjs +0 -1
  327. package/dist/shared/index-DNMOtH4s.mjs +0 -36
  328. package/dist/shared/index-jP71VQxo.cjs +0 -1
@@ -1,8 +1,8 @@
1
- import { defineComponent as ce, useAttrs as de, ref as c, computed as g, watch as T, onMounted as fe, onBeforeUnmount as ue, openBlock as M, createElementBlock as $, mergeProps as me, createVNode as O, withCtx as x, createElementVNode as C, normalizeClass as pe, renderSlot as U, createBlock as ve, resolveDynamicComponent as ge, createCommentVNode as ye, createTextVNode as j, toDisplayString as H } from "vue";
1
+ import { defineComponent as ce, useAttrs as de, ref as c, computed as g, watch as T, onMounted as fe, onBeforeUnmount as ue, openBlock as M, createElementBlock as $, mergeProps as me, createVNode as O, withCtx as D, createElementVNode as L, normalizeClass as pe, renderSlot as j, createBlock as ve, resolveDynamicComponent as ge, createCommentVNode as ye, createTextVNode as H, toDisplayString as K } from "vue";
2
2
  import { CircleCloseFilled as he, InfoFilled as _e, WarningFilled as be } from "@element-plus/icons-vue";
3
3
  import { ElPopover as we, ElButton as Ee } from "element-plus";
4
- import { _ as Ce } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
5
- const y = [], Le = /* @__PURE__ */ ce({
4
+ import { _ as Le } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
5
+ const y = [], Ce = /* @__PURE__ */ ce({
6
6
  name: "QyPopconfirm",
7
7
  inheritAttrs: !1,
8
8
  __name: "index",
@@ -21,19 +21,19 @@ const y = [], Le = /* @__PURE__ */ ce({
21
21
  closeOnConfirm: { type: Boolean, default: !0 }
22
22
  },
23
23
  emits: ["update:open", "open-change", "confirm", "cancel", "close"],
24
- setup(h, { expose: K, emit: o }) {
25
- K();
26
- const n = h, a = o, B = de(), L = c(null), D = c(null), P = g(() => n.open !== void 0), k = n.open === !0 && !n.disabled, q = c(k), u = c(k), r = c(k), i = c(null), _ = c(!1), b = c(null), w = {};
24
+ setup(h, { expose: Q, emit: o }) {
25
+ Q();
26
+ const n = h, a = o, x = de(), C = c(null), B = c(null), P = g(() => n.open !== void 0), k = n.open === !0 && !n.disabled, q = c(k), u = c(k), r = c(k), i = c(null), _ = c(!1), b = c(null), w = {};
27
27
  let s = !1, d, m, p = !1, v = null;
28
28
  const S = g(() => n.disabled ? !1 : P.value ? n.open === !0 : q.value), ee = g(() => {
29
29
  const e = {};
30
- for (const [t, E] of Object.entries(B))
30
+ for (const [t, E] of Object.entries(x))
31
31
  (t === "class" || t === "style" || t === "id" || t === "title" || t === "tabindex" || t === "role" || t.startsWith("data-") || t.startsWith("aria-") || /^onKey(?:down|up|press)/i.test(t)) && (e[t] = E);
32
32
  return e;
33
- }), Q = g(
33
+ }), U = g(
34
34
  () => typeof n.width == "number" ? `${n.width}px` : n.width
35
35
  ), ne = g(() => ({
36
- "--qy-popconfirm-width": Q.value,
36
+ "--qy-popconfirm-width": U.value,
37
37
  "--qy-popconfirm-mobile-gutter": "24px"
38
38
  })), te = g(() => n.variant === "danger" ? he : n.variant === "info" ? _e : be);
39
39
  function A() {
@@ -49,12 +49,12 @@ const y = [], Le = /* @__PURE__ */ ce({
49
49
  function W(e) {
50
50
  var Y, Z;
51
51
  const t = document.activeElement;
52
- if (t instanceof HTMLElement && ((Y = L.value) != null && Y.contains(t))) {
52
+ if (t instanceof HTMLElement && ((Y = C.value) != null && Y.contains(t))) {
53
53
  b.value = t;
54
54
  return;
55
55
  }
56
56
  const E = e == null ? void 0 : e.target;
57
- E instanceof HTMLElement && ((Z = D.value) != null && Z.contains(E)) && (b.value = E);
57
+ E instanceof HTMLElement && ((Z = B.value) != null && Z.contains(E)) && (b.value = E);
58
58
  }
59
59
  function G() {
60
60
  const e = b.value;
@@ -70,7 +70,7 @@ const y = [], Le = /* @__PURE__ */ ce({
70
70
  }
71
71
  function J() {
72
72
  var e;
73
- return i.value ? i.value : v instanceof Node && ((e = L.value) != null && e.contains(v)) ? "trigger" : "outside";
73
+ return i.value ? i.value : v instanceof Node && ((e = C.value) != null && e.contains(v)) ? "trigger" : "outside";
74
74
  }
75
75
  function oe(e) {
76
76
  if (e) {
@@ -83,7 +83,7 @@ const y = [], Le = /* @__PURE__ */ ce({
83
83
  }
84
84
  function ie(e) {
85
85
  var t;
86
- !(e.target instanceof Node) || !((t = D.value) != null && t.contains(e.target)) || n.confirmLoading || (r.value || u.value ? (i.value = "trigger", l(!1, "trigger")) : (W(e), l(!0)));
86
+ !(e.target instanceof Node) || !((t = B.value) != null && t.contains(e.target)) || n.confirmLoading || (r.value || u.value ? (i.value = "trigger", l(!1, "trigger")) : (W(e), l(!0)));
87
87
  }
88
88
  function re() {
89
89
  n.disabled || n.confirmLoading || _.value || (_.value = !0, a("confirm"), n.closeOnConfirm && l(!1, "confirm"));
@@ -102,7 +102,7 @@ const y = [], Le = /* @__PURE__ */ ce({
102
102
  }
103
103
  function V(e) {
104
104
  var t;
105
- n.confirmLoading || !r.value || !A() || e.target instanceof Node && ((t = L.value) != null && t.contains(e.target) || e.target instanceof Element && e.target.closest(".qy-popconfirm-popper") || l(!1, "outside"));
105
+ n.confirmLoading || !r.value || !A() || e.target instanceof Node && ((t = C.value) != null && t.contains(e.target) || e.target instanceof Element && e.target.closest(".qy-popconfirm-popper") || l(!1, "outside"));
106
106
  }
107
107
  function le() {
108
108
  !s || d !== !0 || (s = !1, d = void 0, r.value = !0, R(), i.value = null, m = void 0, a("open-change", !0), f());
@@ -130,7 +130,7 @@ const y = [], Le = /* @__PURE__ */ ce({
130
130
  }), ue(() => {
131
131
  N(), window.removeEventListener("keydown", F), document.removeEventListener("pointerdown", I, !0), document.removeEventListener("mousedown", z, !0), document.removeEventListener("click", V);
132
132
  });
133
- const X = { props: n, emit: a, attrs: B, rootRef: L, referenceRef: D, isControlled: P, initialVisible: k, requestedDesired: q, renderedDesired: u, actualVisible: r, pendingCloseReason: i, confirmLocked: _, focusTarget: b, token: w, get transitionActive() {
133
+ const X = { props: n, emit: a, attrs: x, rootRef: C, referenceRef: B, isControlled: P, initialVisible: k, requestedDesired: q, renderedDesired: u, actualVisible: r, pendingCloseReason: i, confirmLocked: _, focusTarget: b, token: w, get transitionActive() {
134
134
  return s;
135
135
  }, set transitionActive(e) {
136
136
  s = e;
@@ -150,7 +150,7 @@ const y = [], Le = /* @__PURE__ */ ce({
150
150
  return v;
151
151
  }, set lastPointerTarget(e) {
152
152
  v = e;
153
- }, targetDesired: S, rootAttrs: ee, normalizedWidth: Q, popperStyle: ne, iconComponent: te, isTopmost: A, registerVisible: R, unregisterVisible: N, rememberFocus: W, restoreFocus: G, pumpTransition: f, requestIntent: l, closeReasonFromInteraction: J, handleElementVisibility: oe, handleRootClick: ie, handleConfirm: re, handleCancel: ae, handleKeydown: F, handlePointerDown: I, handleMouseDown: z, handleDocumentClick: V, handleAfterEnter: le, handleAfterLeave: se, get ElButton() {
153
+ }, targetDesired: S, rootAttrs: ee, normalizedWidth: U, popperStyle: ne, iconComponent: te, isTopmost: A, registerVisible: R, unregisterVisible: N, rememberFocus: W, restoreFocus: G, pumpTransition: f, requestIntent: l, closeReasonFromInteraction: J, handleElementVisibility: oe, handleRootClick: ie, handleConfirm: re, handleCancel: ae, handleKeydown: F, handlePointerDown: I, handleMouseDown: z, handleDocumentClick: V, handleAfterEnter: le, handleAfterLeave: se, get ElButton() {
154
154
  return Ee;
155
155
  }, get ElPopover() {
156
156
  return we;
@@ -167,8 +167,8 @@ const y = [], Le = /* @__PURE__ */ ce({
167
167
  }, Te = {
168
168
  "data-testid": "qy-popconfirm-title",
169
169
  class: "qy-popconfirm__title"
170
- }, xe = { class: "qy-popconfirm__actions" };
171
- function Be(h, K, o, n, a, B) {
170
+ }, De = { class: "qy-popconfirm__actions" };
171
+ function xe(h, Q, o, n, a, x) {
172
172
  return M(), $(
173
173
  "span",
174
174
  me({
@@ -188,51 +188,51 @@ function Be(h, K, o, n, a, B) {
188
188
  onAfterEnter: n.handleAfterEnter,
189
189
  onAfterLeave: n.handleAfterLeave
190
190
  }, {
191
- reference: x(() => [
192
- C(
191
+ reference: D(() => [
192
+ L(
193
193
  "span",
194
194
  ke,
195
195
  [
196
- U(h.$slots, "reference")
196
+ j(h.$slots, "reference")
197
197
  ],
198
198
  512
199
199
  /* NEED_PATCH */
200
200
  )
201
201
  ]),
202
- default: x(() => [
203
- C(
202
+ default: D(() => [
203
+ L(
204
204
  "div",
205
205
  {
206
206
  class: pe(["qy-popconfirm__content", `is-${o.variant}`]),
207
207
  "data-qy-popconfirm-content": ""
208
208
  },
209
209
  [
210
- C("div", qe, [
210
+ L("div", qe, [
211
211
  o.showIcon ? (M(), $("span", Ae, [
212
- U(h.$slots, "icon", {}, () => [
212
+ j(h.$slots, "icon", {}, () => [
213
213
  (M(), ve(ge(n.iconComponent)))
214
214
  ])
215
215
  ])) : ye("v-if", !0),
216
- C("span", Te, [
217
- U(h.$slots, "title", {}, () => [
218
- j(
219
- H(o.title),
216
+ L("span", Te, [
217
+ j(h.$slots, "title", {}, () => [
218
+ H(
219
+ K(o.title),
220
220
  1
221
221
  /* TEXT */
222
222
  )
223
223
  ])
224
224
  ])
225
225
  ]),
226
- C("div", xe, [
226
+ L("div", De, [
227
227
  O(n.ElButton, {
228
228
  "data-testid": "qy-popconfirm-cancel",
229
229
  size: "small",
230
230
  disabled: o.disabled || o.confirmLoading,
231
231
  onClick: n.handleCancel
232
232
  }, {
233
- default: x(() => [
234
- j(
235
- H(o.cancelText),
233
+ default: D(() => [
234
+ H(
235
+ K(o.cancelText),
236
236
  1
237
237
  /* TEXT */
238
238
  )
@@ -248,9 +248,9 @@ function Be(h, K, o, n, a, B) {
248
248
  disabled: o.disabled || o.confirmLoading || n.confirmLocked,
249
249
  onClick: n.handleConfirm
250
250
  }, {
251
- default: x(() => [
252
- j(
253
- H(o.confirmText),
251
+ default: D(() => [
252
+ H(
253
+ K(o.confirmText),
254
254
  1
255
255
  /* TEXT */
256
256
  )
@@ -272,7 +272,7 @@ function Be(h, K, o, n, a, B) {
272
272
  /* FULL_PROPS */
273
273
  );
274
274
  }
275
- const Ne = /* @__PURE__ */ Ce(Le, [["render", Be], ["__file", "C:/Users/wzqy/.codex/worktrees/62ec/qy-components/packages/ui/lib/qy-popconfirm/index.vue"]]);
275
+ const Ne = /* @__PURE__ */ Le(Ce, [["render", xe], ["__file", "D:/xushenz/qy-components/packages/ui/lib/qy-popconfirm/index.vue"]]);
276
276
  export {
277
277
  Ne as P
278
278
  };
@@ -1 +1 @@
1
- "use strict";const t=require("vue"),w=require("element-plus"),H=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),L=t.defineComponent({name:"QySelect",inheritAttrs:!1,__name:"index",props:{modelValue:{type:[String,Number,Boolean,Object,Array,null],required:!1,skipCheck:!0,default:void 0},options:{type:Array,required:!1,default:()=>[]},labelKey:{type:String,required:!1,default:"label"},valueKey:{type:String,required:!1,default:"value"},objectIdentityKey:{type:String,required:!1,default:void 0},disabledKey:{type:String,required:!1,default:"disabled"},placeholder:{type:String,required:!1,default:"请选择"},disabled:{type:Boolean,required:!1,default:!1},clearable:{type:Boolean,required:!1,default:!0},filterable:{type:Boolean,required:!1,default:!1},loading:{type:Boolean,required:!1,default:!1},multiple:{type:Boolean,required:!1,default:!1},collapseTags:{type:Boolean,required:!1,default:!1},collapseTagsTooltip:{type:Boolean,required:!1,default:!1},autoSelectSingle:{type:Boolean,required:!1,default:!1},size:{type:String,required:!1,default:void 0},teleported:{type:Boolean,required:!1,default:!0},appendTo:{type:null,required:!1,default:"body"},fitInputWidth:{type:Boolean,required:!1,default:!0},popperClass:{type:String,required:!1,default:""}},emits:["update:modelValue","change","clear","visible-change","focus","blur"],setup(o,{expose:V,emit:n}){const a=Symbol("invalid-select-value"),r=o,i=n,u=t.useAttrs(),p=t.useSlots(),h=t.ref(null),x=t.computed(()=>Object.fromEntries(Object.entries(u).filter(([e])=>e==="class"||e==="style"||e==="id"||e==="name"||e==="role"||e==="title"||e==="tabindex"||e==="remote"||e==="remoteMethod"||e==="remote-method"||e==="debounce"||e==="remoteShowSuffix"||e==="remote-show-suffix"||e.startsWith("data-")||e.startsWith("aria-")))),I=t.computed(()=>["qy-select__popper",r.popperClass].filter(Boolean).join(" ")),q=t.computed(()=>{const e=m(r.modelValue);return e===a?void 0:e}),f=t.computed(()=>r.options.map(e=>({raw:e,label:C(e),value:A(e),disabled:!!e[r.disabledKey]}))),S=t.computed(()=>{const e=p.default;return e?e().some(v):!1}),E=t.computed(()=>{if(!r.objectIdentityKey)return;const e=q.value,l=Array.isArray(e)?e.some(c):c(e),d=!S.value&&f.value.some(g=>c(g.value));return l||d?r.objectIdentityKey:void 0});function v(e){return e.type===t.Comment?!1:e.type===t.Text?typeof e.children=="string"&&e.children.trim()!=="":e.type!==t.Fragment||!Array.isArray(e.children)?!0:e.children.some(l=>t.isVNode(l)?v(l):typeof l=="string"?l.trim()!=="":l!=null)}function c(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}function y(e){return typeof e=="string"||typeof e=="number"||typeof e=="boolean"||c(e)?e:a}function m(e){if(e==null)return e;if(Array.isArray(e)){const l=e;return l.every(d=>y(d)!==a)?l:a}return y(e)}function C(e){const l=e[r.labelKey]??e.label??e.value??"";return typeof l=="string"||typeof l=="number"?l:typeof l=="boolean"?String(l):""}function A(e){const l=e[r.valueKey]??e.value??e.label,d=y(l);return d===a?void 0:d}function B(e){return Array.isArray(e)?e.length===0:e===""||e===null||e===void 0}let s=null;t.watch([f,()=>r.modelValue,()=>r.autoSelectSingle,()=>r.disabled,()=>r.multiple],([e])=>b(e),{flush:"post"}),t.onMounted(()=>b(f.value)),t.onUpdated(()=>b(f.value));function b(e){if(!B(r.modelValue)){s=null;return}if(!r.autoSelectSingle||r.disabled||S.value||e.length!==1)return;const[l]=e;if(l.disabled||l.value===void 0)return;const d=K(l.value);if(s&&s.identityKey===r.objectIdentityKey&&s.multiple===r.multiple&&Object.is(s.candidate,d))return;s={candidate:d,identityKey:r.objectIdentityKey,multiple:r.multiple};const g=r.multiple?[l.value]:l.value;i("update:modelValue",g),i("change",g)}function K(e){return!c(e)||!r.objectIdentityKey?e:e[r.objectIdentityKey]??e}function T(e,l){return`${String(e.value??e.label??"")}-${l}`}function z(e){const l=m(e);l!==a&&i("update:modelValue",l)}function M(e){const l=m(e);l!==a&&i("change",l)}function P(){i("clear")}function U(e){i("visible-change",e)}function F(e){i("focus",e)}function k(e){i("blur",e)}function j(){var e,l;(l=(e=h.value)==null?void 0:e.focus)==null||l.call(e)}function O(){var e,l;(l=(e=h.value)==null?void 0:e.blur)==null||l.call(e)}V({focus:j,blur:O});const _={INVALID_VALUE:a,props:r,emit:i,attrs:u,slots:p,selectRef:h,adapterAttrs:x,mergedPopperClass:I,controlledModelValue:q,normalizedOptions:f,hasDefaultSlotContent:S,elementValueKey:E,vnodeHasContent:v,isObjectValue:c,preserveSelectValue:y,preserveModelValue:m,getOptionLabel:C,getOptionValue:A,isEmptyValue:B,get lastAutoSelectState(){return s},set lastAutoSelectState(e){s=e},runAutoSelect:b,getAutoSelectCandidate:K,getOptionKey:T,handleUpdateModelValue:z,handleChange:M,handleClear:P,handleVisibleChange:U,handleFocus:F,handleBlur:k,focus:j,blur:O,get ElOption(){return w.ElOption},get ElSelect(){return w.ElSelect}};return Object.defineProperty(_,"__isScriptSetup",{enumerable:!1,value:!0}),_}});function W(o,V,n,a,r,i){return t.openBlock(),t.createBlock(a.ElSelect,t.mergeProps({ref:"selectRef",class:"qy-select"},a.adapterAttrs,{"model-value":a.controlledModelValue,placeholder:n.placeholder,disabled:n.disabled,clearable:n.clearable,filterable:n.filterable,loading:n.loading,multiple:n.multiple,"collapse-tags":n.collapseTags,"collapse-tags-tooltip":n.collapseTagsTooltip,size:n.size,teleported:n.teleported,"fit-input-width":n.fitInputWidth,"popper-class":a.mergedPopperClass,"append-to":n.appendTo,"value-key":a.elementValueKey,"onUpdate:modelValue":a.handleUpdateModelValue,onChange:a.handleChange,onClear:a.handleClear,onVisibleChange:a.handleVisibleChange,onFocus:a.handleFocus,onBlur:a.handleBlur}),t.createSlots({default:t.withCtx(()=>[a.hasDefaultSlotContent?t.renderSlot(o.$slots,"default",{},void 0,!0,0):(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:1},t.renderList(a.normalizedOptions,(u,p)=>(t.openBlock(),t.createBlock(a.ElOption,{key:a.getOptionKey(u,p),label:u.label,value:u.value,disabled:u.disabled},null,8,["label","value","disabled"]))),128))]),_:2},[o.$slots.prefix?{name:"prefix",fn:t.withCtx(()=>[t.renderSlot(o.$slots,"prefix",{},void 0,!0)]),key:"0"}:void 0,o.$slots.empty?{name:"empty",fn:t.withCtx(()=>[t.renderSlot(o.$slots,"empty",{},void 0,!0)]),key:"1"}:void 0,o.$slots.loading?{name:"loading",fn:t.withCtx(()=>[t.renderSlot(o.$slots,"loading",{},void 0,!0)]),key:"2"}:void 0,o.$slots.tag?{name:"tag",fn:t.withCtx(u=>[t.renderSlot(o.$slots,"tag",t.normalizeProps(t.guardReactiveProps(u)),void 0,!0)]),key:"3"}:void 0]),1040,["model-value","placeholder","disabled","clearable","filterable","loading","multiple","collapse-tags","collapse-tags-tooltip","size","teleported","fit-input-width","popper-class","append-to","value-key"])}const D=H._export_sfc(L,[["render",W],["__scopeId","data-v-27904def"],["__file","C:/Users/wzqy/.codex/worktrees/62ec/qy-components/packages/ui/lib/qy-select/index.vue"]]);exports.Select=D;
1
+ "use strict";const t=require("vue"),x=require("element-plus"),H=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),L=t.defineComponent({name:"QySelect",inheritAttrs:!1,__name:"index",props:{modelValue:{type:[String,Number,Boolean,Object,Array,null],required:!1,skipCheck:!0,default:void 0},options:{type:Array,required:!1,default:()=>[]},labelKey:{type:String,required:!1,default:"label"},valueKey:{type:String,required:!1,default:"value"},objectIdentityKey:{type:String,required:!1,default:void 0},disabledKey:{type:String,required:!1,default:"disabled"},placeholder:{type:String,required:!1,default:"请选择"},disabled:{type:Boolean,required:!1,default:!1},clearable:{type:Boolean,required:!1,default:!0},filterable:{type:Boolean,required:!1,default:!1},loading:{type:Boolean,required:!1,default:!1},multiple:{type:Boolean,required:!1,default:!1},collapseTags:{type:Boolean,required:!1,default:!1},collapseTagsTooltip:{type:Boolean,required:!1,default:!1},autoSelectSingle:{type:Boolean,required:!1,default:!1},size:{type:String,required:!1,default:void 0},teleported:{type:Boolean,required:!1,default:!0},appendTo:{type:null,required:!1,default:"body"},fitInputWidth:{type:Boolean,required:!1,default:!0},popperClass:{type:String,required:!1,default:""}},emits:["update:modelValue","change","clear","visible-change","focus","blur"],setup(o,{expose:V,emit:n}){const a=Symbol("invalid-select-value"),r=o,i=n,u=t.useAttrs(),p=t.useSlots(),h=t.ref(null),I=t.computed(()=>Object.fromEntries(Object.entries(u).filter(([e])=>e==="class"||e==="style"||e==="id"||e==="name"||e==="role"||e==="title"||e==="tabindex"||e==="remote"||e==="remoteMethod"||e==="remote-method"||e==="debounce"||e==="remoteShowSuffix"||e==="remote-show-suffix"||e.startsWith("data-")||e.startsWith("aria-")))),w=t.computed(()=>["qy-select__popper",r.popperClass].filter(Boolean).join(" ")),q=t.computed(()=>{const e=m(r.modelValue);return e===a?void 0:e}),f=t.computed(()=>r.options.map(e=>({raw:e,label:C(e),value:A(e),disabled:!!e[r.disabledKey]}))),S=t.computed(()=>{const e=p.default;return e?e().some(v):!1}),E=t.computed(()=>{if(!r.objectIdentityKey)return;const e=q.value,l=Array.isArray(e)?e.some(c):c(e),d=!S.value&&f.value.some(g=>c(g.value));return l||d?r.objectIdentityKey:void 0});function v(e){return e.type===t.Comment?!1:e.type===t.Text?typeof e.children=="string"&&e.children.trim()!=="":e.type!==t.Fragment||!Array.isArray(e.children)?!0:e.children.some(l=>t.isVNode(l)?v(l):typeof l=="string"?l.trim()!=="":l!=null)}function c(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}function y(e){return typeof e=="string"||typeof e=="number"||typeof e=="boolean"||c(e)?e:a}function m(e){if(e==null)return e;if(Array.isArray(e)){const l=e;return l.every(d=>y(d)!==a)?l:a}return y(e)}function C(e){const l=e[r.labelKey]??e.label??e.value??"";return typeof l=="string"||typeof l=="number"?l:typeof l=="boolean"?String(l):""}function A(e){const l=e[r.valueKey]??e.value??e.label,d=y(l);return d===a?void 0:d}function B(e){return Array.isArray(e)?e.length===0:e===""||e===null||e===void 0}let s=null;t.watch([f,()=>r.modelValue,()=>r.autoSelectSingle,()=>r.disabled,()=>r.multiple],([e])=>b(e),{flush:"post"}),t.onMounted(()=>b(f.value)),t.onUpdated(()=>b(f.value));function b(e){if(!B(r.modelValue)){s=null;return}if(!r.autoSelectSingle||r.disabled||S.value||e.length!==1)return;const[l]=e;if(l.disabled||l.value===void 0)return;const d=K(l.value);if(s&&s.identityKey===r.objectIdentityKey&&s.multiple===r.multiple&&Object.is(s.candidate,d))return;s={candidate:d,identityKey:r.objectIdentityKey,multiple:r.multiple};const g=r.multiple?[l.value]:l.value;i("update:modelValue",g),i("change",g)}function K(e){return!c(e)||!r.objectIdentityKey?e:e[r.objectIdentityKey]??e}function T(e,l){return`${String(e.value??e.label??"")}-${l}`}function z(e){const l=m(e);l!==a&&i("update:modelValue",l)}function M(e){const l=m(e);l!==a&&i("change",l)}function P(){i("clear")}function F(e){i("visible-change",e)}function U(e){i("focus",e)}function D(e){i("blur",e)}function j(){var e,l;(l=(e=h.value)==null?void 0:e.focus)==null||l.call(e)}function O(){var e,l;(l=(e=h.value)==null?void 0:e.blur)==null||l.call(e)}V({focus:j,blur:O});const _={INVALID_VALUE:a,props:r,emit:i,attrs:u,slots:p,selectRef:h,adapterAttrs:I,mergedPopperClass:w,controlledModelValue:q,normalizedOptions:f,hasDefaultSlotContent:S,elementValueKey:E,vnodeHasContent:v,isObjectValue:c,preserveSelectValue:y,preserveModelValue:m,getOptionLabel:C,getOptionValue:A,isEmptyValue:B,get lastAutoSelectState(){return s},set lastAutoSelectState(e){s=e},runAutoSelect:b,getAutoSelectCandidate:K,getOptionKey:T,handleUpdateModelValue:z,handleChange:M,handleClear:P,handleVisibleChange:F,handleFocus:U,handleBlur:D,focus:j,blur:O,get ElOption(){return x.ElOption},get ElSelect(){return x.ElSelect}};return Object.defineProperty(_,"__isScriptSetup",{enumerable:!1,value:!0}),_}});function W(o,V,n,a,r,i){return t.openBlock(),t.createBlock(a.ElSelect,t.mergeProps({ref:"selectRef",class:"qy-select"},a.adapterAttrs,{"model-value":a.controlledModelValue,placeholder:n.placeholder,disabled:n.disabled,clearable:n.clearable,filterable:n.filterable,loading:n.loading,multiple:n.multiple,"collapse-tags":n.collapseTags,"collapse-tags-tooltip":n.collapseTagsTooltip,size:n.size,teleported:n.teleported,"fit-input-width":n.fitInputWidth,"popper-class":a.mergedPopperClass,"append-to":n.appendTo,"value-key":a.elementValueKey,"onUpdate:modelValue":a.handleUpdateModelValue,onChange:a.handleChange,onClear:a.handleClear,onVisibleChange:a.handleVisibleChange,onFocus:a.handleFocus,onBlur:a.handleBlur}),t.createSlots({default:t.withCtx(()=>[a.hasDefaultSlotContent?t.renderSlot(o.$slots,"default",{},void 0,!0,0):(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:1},t.renderList(a.normalizedOptions,(u,p)=>(t.openBlock(),t.createBlock(a.ElOption,{key:a.getOptionKey(u,p),label:u.label,value:u.value,disabled:u.disabled},null,8,["label","value","disabled"]))),128))]),_:2},[o.$slots.prefix?{name:"prefix",fn:t.withCtx(()=>[t.renderSlot(o.$slots,"prefix",{},void 0,!0)]),key:"0"}:void 0,o.$slots.empty?{name:"empty",fn:t.withCtx(()=>[t.renderSlot(o.$slots,"empty",{},void 0,!0)]),key:"1"}:void 0,o.$slots.loading?{name:"loading",fn:t.withCtx(()=>[t.renderSlot(o.$slots,"loading",{},void 0,!0)]),key:"2"}:void 0,o.$slots.tag?{name:"tag",fn:t.withCtx(u=>[t.renderSlot(o.$slots,"tag",t.normalizeProps(t.guardReactiveProps(u)),void 0,!0)]),key:"3"}:void 0]),1040,["model-value","placeholder","disabled","clearable","filterable","loading","multiple","collapse-tags","collapse-tags-tooltip","size","teleported","fit-input-width","popper-class","append-to","value-key"])}const k=H._export_sfc(L,[["render",W],["__scopeId","data-v-27904def"],["__file","D:/xushenz/qy-components/packages/ui/lib/qy-select/index.vue"]]);exports.Select=k;
@@ -1 +1 @@
1
- "use strict";const i=require("vue"),m=require("element-plus"),v=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),b=i.defineComponent({name:"QySwitch",inheritAttrs:!1,__name:"index",props:{modelValue:{type:[Boolean,String,Number],required:!1,default:!1},activeValue:{type:[Boolean,String,Number],required:!1,default:!0},inactiveValue:{type:[Boolean,String,Number],required:!1,default:!1},disabled:{type:Boolean,required:!1,default:!1},loading:{type:Boolean,required:!1,default:!1},size:{type:String,required:!1},activeText:{type:String,required:!1,default:""},inactiveText:{type:String,required:!1,default:""},inlinePrompt:{type:Boolean,required:!1,default:!1},name:{type:String,required:!1,default:""},id:{type:String,required:!1},tabindex:{type:[String,Number],required:!1},ariaLabel:{type:String,required:!1}},emits:["update:modelValue","change","focus","blur"],setup(l,{expose:r,emit:e}){r();const a=e,n=i.useAttrs(),d=i.computed(()=>Object.fromEntries(Object.entries(n).filter(([t])=>t==="class"||t==="style"||t==="role"||t==="title"||t.startsWith("data-")||t.startsWith("aria-"))));function c(t){a("focus",t)}function s(t){a("blur",t)}function o(t){l.disabled||l.loading||a("update:modelValue",t)}function f(t){l.disabled||l.loading||a("change",t)}const u={emit:a,attrs:n,safeAttrs:d,handleFocus:c,handleBlur:s,handleUpdateModelValue:o,handleChange:f,get ElSwitch(){return m.ElSwitch}};return Object.defineProperty(u,"__isScriptSetup",{enumerable:!1,value:!0}),u}});function g(l,r,e,a,n,d){return i.openBlock(),i.createBlock(a.ElSwitch,i.mergeProps(a.safeAttrs,{class:"qy-switch","model-value":e.modelValue,"active-value":e.activeValue,"inactive-value":e.inactiveValue,disabled:e.disabled,loading:e.loading,size:e.size,"active-text":e.activeText,"inactive-text":e.inactiveText,"inline-prompt":e.inlinePrompt,name:e.name,id:e.id,tabindex:e.tabindex,"aria-label":e.ariaLabel,"onUpdate:modelValue":a.handleUpdateModelValue,onChange:a.handleChange,onFocusin:a.handleFocus,onFocusout:a.handleBlur}),null,16,["model-value","active-value","inactive-value","disabled","loading","size","active-text","inactive-text","inline-prompt","name","id","tabindex","aria-label"])}const h=v._export_sfc(b,[["render",g],["__scopeId","data-v-639a456a"],["__file","C:/Users/wzqy/.codex/worktrees/62ec/qy-components/packages/ui/lib/qy-switch/index.vue"]]);exports.Switch=h;
1
+ "use strict";const i=require("vue"),m=require("element-plus"),h=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),v=i.defineComponent({name:"QySwitch",inheritAttrs:!1,__name:"index",props:{modelValue:{type:[Boolean,String,Number],required:!1,default:!1},activeValue:{type:[Boolean,String,Number],required:!1,default:!0},inactiveValue:{type:[Boolean,String,Number],required:!1,default:!1},disabled:{type:Boolean,required:!1,default:!1},loading:{type:Boolean,required:!1,default:!1},size:{type:String,required:!1},activeText:{type:String,required:!1,default:""},inactiveText:{type:String,required:!1,default:""},inlinePrompt:{type:Boolean,required:!1,default:!1},name:{type:String,required:!1,default:""},id:{type:String,required:!1},tabindex:{type:[String,Number],required:!1},ariaLabel:{type:String,required:!1}},emits:["update:modelValue","change","focus","blur"],setup(l,{expose:r,emit:e}){r();const a=e,n=i.useAttrs(),d=i.computed(()=>Object.fromEntries(Object.entries(n).filter(([t])=>t==="class"||t==="style"||t==="role"||t==="title"||t.startsWith("data-")||t.startsWith("aria-"))));function c(t){a("focus",t)}function s(t){a("blur",t)}function o(t){l.disabled||l.loading||a("update:modelValue",t)}function f(t){l.disabled||l.loading||a("change",t)}const u={emit:a,attrs:n,safeAttrs:d,handleFocus:c,handleBlur:s,handleUpdateModelValue:o,handleChange:f,get ElSwitch(){return m.ElSwitch}};return Object.defineProperty(u,"__isScriptSetup",{enumerable:!1,value:!0}),u}});function b(l,r,e,a,n,d){return i.openBlock(),i.createBlock(a.ElSwitch,i.mergeProps(a.safeAttrs,{class:"qy-switch","model-value":e.modelValue,"active-value":e.activeValue,"inactive-value":e.inactiveValue,disabled:e.disabled,loading:e.loading,size:e.size,"active-text":e.activeText,"inactive-text":e.inactiveText,"inline-prompt":e.inlinePrompt,name:e.name,id:e.id,tabindex:e.tabindex,"aria-label":e.ariaLabel,"onUpdate:modelValue":a.handleUpdateModelValue,onChange:a.handleChange,onFocusin:a.handleFocus,onFocusout:a.handleBlur}),null,16,["model-value","active-value","inactive-value","disabled","loading","size","active-text","inactive-text","inline-prompt","name","id","tabindex","aria-label"])}const g=h._export_sfc(v,[["render",b],["__scopeId","data-v-639a456a"],["__file","D:/xushenz/qy-components/packages/ui/lib/qy-switch/index.vue"]]);exports.Switch=g;
@@ -0,0 +1 @@
1
+ "use strict";const t=require("vue"),W=require("element-plus"),I=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),q=1e3,O=t.defineComponent({name:"QyPopover",inheritAttrs:!1,__name:"index",props:{trigger:{type:String,default:"click"},placement:{type:String,default:"bottom"},effect:{type:String,default:"light"},width:{type:[Number,String],default:240},offset:{type:Number,default:12},showDelay:{type:Number,default:0},hideDelay:{type:Number,default:200},showArrow:{type:Boolean,default:!0},transition:{type:String,default:void 0},disabled:{type:Boolean,default:!1},open:{type:Boolean,default:void 0}},emits:["update:open","open-change","open","close"],setup(w,{expose:A,emit:o}){const n=w,c=o,u=t.computed(()=>n.open!==void 0),d=u.value&&n.open===!0&&!n.disabled,l=t.ref(d),s=t.ref(d),y=t.ref(d),i=t.ref(null),g=t.computed(()=>n.disabled?!1:u.value?n.open===!0:l.value);let r,f=!1,p;const D=t.computed(()=>typeof n.width=="number"?`${n.width}px`:n.width),B=t.computed(()=>({"--qy-popover-width":D.value,"--qy-popover-mobile-gutter":"24px"})),m=t.useSlots(),T=t.computed(()=>{var e;return((e=m.reference)==null?void 0:e.call(m))??[]});function h(){r&&(clearTimeout(r),r=void 0),i.value=null}function E(e){r&&clearTimeout(r),r=setTimeout(()=>{r=void 0,i.value===e&&(i.value=null)},q)}function a(){if(f)return;const e=g.value;s.value!==e&&(f=!0,p=e,s.value=e)}function v(e){if(!(e&&n.disabled)){if(!u.value){if(l.value===e)return;l.value=e,c("update:open",e),a();return}i.value!==e&&(i.value===null&&n.open===e||(i.value=e,e?E(e):r&&(clearTimeout(r),r=void 0),c("update:open",e),a()))}}function _(e){e===s.value&&(!f||p!==e||(f=!1,p=void 0,e!==y.value&&(y.value=e,i.value===e&&h(),c("open-change",e),c(e?"open":"close"),a())))}function L(e){v(e),a()}function N(){_(!0)}function P(){_(!1)}function b(){v(!1)}function k(e){e.key!=="Escape"&&e.code!=="Escape"||s.value&&(e.preventDefault(),v(!1),a())}t.watch(g,()=>a()),t.watch(u,e=>{h(),e?l.value=n.open===!0:l.value=s.value,a()}),t.watch(()=>n.open,(e,C)=>{!u.value||i.value===null||(e===i.value||e!==C)&&h()}),t.watch(()=>n.disabled,e=>{e?v(!1):a()}),t.onBeforeUnmount(()=>{window.removeEventListener("keydown",k),f=!1,p=void 0,r&&clearTimeout(r)}),t.onMounted(()=>{window.addEventListener("keydown",k)}),A({close:b});const S={props:n,emit:c,isControlled:u,initialVisible:d,requestedDesired:l,renderedDesired:s,actualVisible:y,pendingIntent:i,targetDesired:g,CONTROLLED_ACK_WINDOW:q,get acknowledgementTimer(){return r},set acknowledgementTimer(e){r=e},get transitionActive(){return f},set transitionActive(e){f=e},get transitionDirection(){return p},set transitionDirection(e){p=e},normalizedWidth:D,popperStyle:B,slots:m,referenceNodes:T,clearAcknowledgement:h,startAcknowledgementWindow:E,pumpTransition:a,requestIntent:v,confirmActual:_,handleElementVisibility:L,handleAfterEnter:N,handleAfterLeave:P,close:b,handleKeydown:k,get ElPopover(){return W.ElPopover}};return Object.defineProperty(S,"__isScriptSetup",{enumerable:!1,value:!0}),S}});function z(w,A,o,n,c,u){return t.openBlock(),t.createBlock(n.ElPopover,{visible:n.renderedDesired,trigger:o.trigger,placement:o.placement,effect:o.effect,width:o.width,offset:o.offset,"show-after":o.showDelay,"hide-after":o.hideDelay,"show-arrow":o.showArrow,transition:o.transition,disabled:o.disabled,enterable:!0,"popper-style":n.popperStyle,"popper-class":"qy-popover-popper","onUpdate:visible":n.handleElementVisibility,onAfterEnter:n.handleAfterEnter,onAfterLeave:n.handleAfterLeave},{reference:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(n.referenceNodes,(d,l)=>(t.openBlock(),t.createBlock(t.resolveDynamicComponent(d),{key:d.key??l}))),128))]),default:t.withCtx(()=>[t.renderSlot(w.$slots,"default")]),_:3},8,["visible","trigger","placement","effect","width","offset","show-after","hide-after","show-arrow","transition","disabled","popper-style"])}const K=I._export_sfc(O,[["render",z],["__file","D:/xushenz/qy-components/packages/ui/lib/qy-popover/index.vue"]]);exports.Popover=K;
@@ -29,11 +29,11 @@ const x = /* @__PURE__ */ m({
29
29
  }
30
30
  },
31
31
  emits: ["click"],
32
- setup(r, { expose: l, emit: n }) {
33
- l();
34
- const t = r, i = n, o = _(), f = s(() => t.underline === !0 ? "hover" : t.underline === !1 ? "never" : t.underline), u = s(
32
+ setup(r, { expose: o, emit: n }) {
33
+ o();
34
+ const t = r, i = n, l = _(), f = s(() => t.underline === !0 ? "hover" : t.underline === !1 ? "never" : t.underline), u = s(
35
35
  () => Object.fromEntries(
36
- Object.entries(o).filter(
36
+ Object.entries(l).filter(
37
37
  ([e]) => e === "class" || e === "style" || e === "id" || e === "role" || e === "title" || e === "rel" || e === "download" || e === "hreflang" || e === "referrerpolicy" || e === "ping" || e === "tabindex" || e.startsWith("data-") || e.startsWith("aria-")
38
38
  )
39
39
  )
@@ -41,13 +41,13 @@ const x = /* @__PURE__ */ m({
41
41
  function p(e) {
42
42
  i("click", e);
43
43
  }
44
- const a = { props: t, emit: i, attrs: o, normalizedUnderline: f, safeAttrs: u, handleClick: p, get ElLink() {
44
+ const a = { props: t, emit: i, attrs: l, normalizedUnderline: f, safeAttrs: u, handleClick: p, get ElLink() {
45
45
  return S;
46
46
  } };
47
47
  return Object.defineProperty(a, "__isScriptSetup", { enumerable: !1, value: !0 }), a;
48
48
  }
49
49
  });
50
- function C(r, l, n, t, i, o) {
50
+ function L(r, o, n, t, i, l) {
51
51
  return g(), h(t.ElLink, b(t.safeAttrs, {
52
52
  type: n.type,
53
53
  underline: t.normalizedUnderline,
@@ -67,7 +67,7 @@ function C(r, l, n, t, i, o) {
67
67
  /* FORWARDED */
68
68
  }, 16, ["type", "underline", "disabled", "href", "target", "icon"]);
69
69
  }
70
- const y = /* @__PURE__ */ v(x, [["render", C], ["__file", "C:/Users/wzqy/.codex/worktrees/62ec/qy-components/packages/ui/lib/qy-link/index.vue"]]);
70
+ const B = /* @__PURE__ */ v(x, [["render", L], ["__file", "D:/xushenz/qy-components/packages/ui/lib/qy-link/index.vue"]]);
71
71
  export {
72
- y as L
72
+ B as L
73
73
  };
@@ -1 +1 @@
1
- "use strict";const t=require("vue"),a=require("element-plus"),c=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),o=e=>e==="class"||e==="style"||e==="id"||e==="role"||e==="title"||e.startsWith("data-")||e.startsWith("aria-"),m=t.defineComponent({name:"QyEmpty",inheritAttrs:!1,props:{image:{type:String,default:""},imageSize:Number,description:{type:String,default:""}},setup(e,{attrs:i,slots:s}){const r=t.computed(()=>Object.fromEntries(Object.entries(i).filter(([n])=>o(n))));return()=>t.h(a.ElEmpty,{...r.value,image:e.image,imageSize:e.imageSize,description:e.description},s)}}),p=c._export_sfc(m,[["__file","C:/Users/wzqy/.codex/worktrees/62ec/qy-components/packages/ui/lib/qy-empty/index.vue"]]);exports.Empty=p;
1
+ "use strict";const t=require("vue"),a=require("element-plus"),c=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),m=e=>e==="class"||e==="style"||e==="id"||e==="role"||e==="title"||e.startsWith("data-")||e.startsWith("aria-"),o=t.defineComponent({name:"QyEmpty",inheritAttrs:!1,props:{image:{type:String,default:""},imageSize:Number,description:{type:String,default:""}},setup(e,{attrs:i,slots:s}){const r=t.computed(()=>Object.fromEntries(Object.entries(i).filter(([n])=>m(n))));return()=>t.h(a.ElEmpty,{...r.value,image:e.image,imageSize:e.imageSize,description:e.description},s)}}),u=c._export_sfc(o,[["__file","D:/xushenz/qy-components/packages/ui/lib/qy-empty/index.vue"]]);exports.Empty=u;
@@ -1 +1 @@
1
- "use strict";const t=require("vue"),u=require("element-plus"),p=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),y=t.defineComponent({name:"QyTabs",inheritAttrs:!1,props:{modelValue:{type:[String,Number],required:!1},defaultValue:{type:[String,Number],required:!1},type:{type:String,default:""},tabPosition:{type:String,default:"top"},stretch:{type:Boolean,default:!1},closable:{type:Boolean,default:!1},addable:{type:Boolean,default:!1},editable:{type:Boolean,default:!1},beforeLeave:{type:Function,required:!1},tabindex:{type:[String,Number],default:0}},emits:["update:modelValue","tab-change","tab-click","tab-remove","tab-add","edit"],setup(l,{attrs:d,emit:n,slots:s}){const i=t.computed(()=>Object.fromEntries(Object.entries(d).filter(([e])=>e==="class"||e==="style"||e==="id"||e==="role"||e==="title"||e.startsWith("data-")||e.startsWith("aria-")))),b=t.computed(()=>({...i.value,class:["qy-tabs",i.value.class]}));function f(e){const a=t.unref(e.paneName),r=e.props??{};return Object.freeze({name:a??r.name,label:r.label??"",disabled:r.disabled??!1,closable:t.unref(e.isClosable)??r.closable??!1,lazy:r.lazy??!1,active:t.unref(e.active)??!1,index:t.unref(e.index)})}function c(e){return typeof e.type=="object"&&e.type!==null&&e.type.name==="QyTabPane"}function m(e){return Object.fromEntries(Object.entries(e??{}).filter(([a])=>a==="label"||a==="name"||a==="closable"||a==="disabled"||a==="lazy"||a==="class"||a==="style"||a==="id"||a==="role"||a==="title"||a.startsWith("data-")||a.startsWith("aria-")))}function o(e){return e.map(a=>t.isVNode(a)?c(a)?t.h(u.ElTabPane,{...m(a.props),key:a.key??void 0},a.children):a.type===t.Fragment&&Array.isArray(a.children)?t.h(t.Fragment,{key:a.key??void 0},o(a.children)):a:a)}return()=>t.h(u.ElTabs,{...b.value,modelValue:l.modelValue,defaultValue:l.defaultValue,type:l.type,tabPosition:l.tabPosition,stretch:l.stretch,closable:l.closable,addable:l.addable,editable:l.editable,beforeLeave:l.beforeLeave,tabindex:l.tabindex,"onUpdate:modelValue":e=>n("update:modelValue",e),onTabChange:e=>n("tab-change",e),onTabClick:(e,a)=>n("tab-click",f(e),a),onTabRemove:e=>n("tab-remove",e),onTabAdd:()=>n("tab-add"),onEdit:(e,a)=>n("edit",e,a)},{default:()=>{var e;return o(((e=s.default)==null?void 0:e.call(s))??[])},"add-icon":s["add-icon"]})}}),v=p._export_sfc(y,[["__file","C:/Users/wzqy/.codex/worktrees/62ec/qy-components/packages/ui/lib/qy-tabs/index.vue"]]);exports.Tabs=v;
1
+ "use strict";const t=require("vue"),u=require("element-plus"),p=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),y=t.defineComponent({name:"QyTabs",inheritAttrs:!1,props:{modelValue:{type:[String,Number],required:!1},defaultValue:{type:[String,Number],required:!1},type:{type:String,default:""},tabPosition:{type:String,default:"top"},stretch:{type:Boolean,default:!1},closable:{type:Boolean,default:!1},addable:{type:Boolean,default:!1},editable:{type:Boolean,default:!1},beforeLeave:{type:Function,required:!1},tabindex:{type:[String,Number],default:0}},emits:["update:modelValue","tab-change","tab-click","tab-remove","tab-add","edit"],setup(l,{attrs:b,emit:n,slots:s}){const i=t.computed(()=>Object.fromEntries(Object.entries(b).filter(([e])=>e==="class"||e==="style"||e==="id"||e==="role"||e==="title"||e.startsWith("data-")||e.startsWith("aria-")))),d=t.computed(()=>({...i.value,class:["qy-tabs",i.value.class]}));function f(e){const a=t.unref(e.paneName),r=e.props??{};return Object.freeze({name:a??r.name,label:r.label??"",disabled:r.disabled??!1,closable:t.unref(e.isClosable)??r.closable??!1,lazy:r.lazy??!1,active:t.unref(e.active)??!1,index:t.unref(e.index)})}function c(e){return typeof e.type=="object"&&e.type!==null&&e.type.name==="QyTabPane"}function m(e){return Object.fromEntries(Object.entries(e??{}).filter(([a])=>a==="label"||a==="name"||a==="closable"||a==="disabled"||a==="lazy"||a==="class"||a==="style"||a==="id"||a==="role"||a==="title"||a.startsWith("data-")||a.startsWith("aria-")))}function o(e){return e.map(a=>t.isVNode(a)?c(a)?t.h(u.ElTabPane,{...m(a.props),key:a.key??void 0},a.children):a.type===t.Fragment&&Array.isArray(a.children)?t.h(t.Fragment,{key:a.key??void 0},o(a.children)):a:a)}return()=>t.h(u.ElTabs,{...d.value,modelValue:l.modelValue,defaultValue:l.defaultValue,type:l.type,tabPosition:l.tabPosition,stretch:l.stretch,closable:l.closable,addable:l.addable,editable:l.editable,beforeLeave:l.beforeLeave,tabindex:l.tabindex,"onUpdate:modelValue":e=>n("update:modelValue",e),onTabChange:e=>n("tab-change",e),onTabClick:(e,a)=>n("tab-click",f(e),a),onTabRemove:e=>n("tab-remove",e),onTabAdd:()=>n("tab-add"),onEdit:(e,a)=>n("edit",e,a)},{default:()=>{var e;return o(((e=s.default)==null?void 0:e.call(s))??[])},"add-icon":s["add-icon"]})}}),v=p._export_sfc(y,[["__file","D:/xushenz/qy-components/packages/ui/lib/qy-tabs/index.vue"]]);exports.Tabs=v;
@@ -1,7 +1,7 @@
1
- import { defineComponent as q, useAttrs as S, computed as u, ref as V, onMounted as x, onBeforeUnmount as B, openBlock as C, createBlock as N, mergeProps as R, withCtx as w, renderSlot as E, createTextVNode as U, toDisplayString as z } from "vue";
2
- import { ElRadio as M } from "element-plus";
3
- import { _ as k } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
4
- const A = /* @__PURE__ */ q({
1
+ import { defineComponent as q, useAttrs as S, computed as s, ref as V, onMounted as x, onBeforeUnmount as B, openBlock as C, createBlock as N, mergeProps as R, withCtx as E, renderSlot as z, createTextVNode as M, toDisplayString as U } from "vue";
2
+ import { ElRadio as w } from "element-plus";
3
+ import { _ as A } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
4
+ const L = /* @__PURE__ */ q({
5
5
  name: "QyRadio",
6
6
  inheritAttrs: !1,
7
7
  __name: "index",
@@ -21,20 +21,20 @@ const A = /* @__PURE__ */ q({
21
21
  emits: ["update:modelValue", "change", "focus", "blur"],
22
22
  setup(n, { expose: f, emit: c }) {
23
23
  f();
24
- const e = n, t = c, i = S(), b = u(
24
+ const e = n, t = c, i = S(), b = s(
25
25
  () => Object.fromEntries(
26
26
  Object.entries(i).filter(
27
27
  ([r]) => r === "class" || r === "style" || r === "role" || r === "title" || r.startsWith("data-") || r.startsWith("aria-")
28
28
  )
29
29
  )
30
- ), l = u(() => e.value), p = V(null);
30
+ ), l = s(() => e.value), p = V(null);
31
31
  let a = null;
32
- const _ = u(() => e.modelValue !== void 0 ? e.modelValue : l.value === !0 ? !1 : l.value === !1 ? !0 : typeof l.value == "string" ? `__qy-radio-unselected__${l.value}` : Number.NaN);
32
+ const _ = s(() => e.modelValue !== void 0 ? e.modelValue : l.value === !0 ? !1 : l.value === !1 ? !0 : typeof l.value == "string" ? `__qy-radio-unselected__${l.value}` : Number.NaN);
33
33
  x(() => {
34
34
  var r;
35
- a = ((r = p.value) == null ? void 0 : r.$el.querySelector("input.el-radio__original")) ?? null, a == null || a.addEventListener("keydown", s);
35
+ a = ((r = p.value) == null ? void 0 : r.$el.querySelector("input.el-radio__original")) ?? null, a == null || a.addEventListener("keydown", u);
36
36
  }), B(() => {
37
- a == null || a.removeEventListener("keydown", s);
37
+ a == null || a.removeEventListener("keydown", u);
38
38
  });
39
39
  function d() {
40
40
  return !e.disabled && e.modelValue !== l.value;
@@ -45,28 +45,28 @@ const A = /* @__PURE__ */ q({
45
45
  function v() {
46
46
  d() && t("change", l.value);
47
47
  }
48
- function s(r) {
48
+ function u(r) {
49
49
  if (r.key !== " " && r.code !== "Space") return;
50
50
  const o = r.target;
51
51
  !o || o.tagName !== "INPUT" || o.type !== "radio" || o.disabled || o.checked || (r.preventDefault(), o.click());
52
52
  }
53
- function y(r) {
53
+ function h(r) {
54
54
  t("focus", r);
55
55
  }
56
- function h(r) {
56
+ function y(r) {
57
57
  t("blur", r);
58
58
  }
59
59
  const m = { props: e, emit: t, attrs: i, safeAttrs: b, resolvedValue: l, radioRef: p, get radioInput() {
60
60
  return a;
61
61
  }, set radioInput(r) {
62
62
  a = r;
63
- }, internalModelValue: _, canSelect: d, handleUpdateModelValue: g, handleChange: v, handleKeydown: s, handleFocus: y, handleBlur: h, get ElRadio() {
64
- return M;
63
+ }, internalModelValue: _, canSelect: d, handleUpdateModelValue: g, handleChange: v, handleKeydown: u, handleFocus: h, handleBlur: y, get ElRadio() {
64
+ return w;
65
65
  } };
66
66
  return Object.defineProperty(m, "__isScriptSetup", { enumerable: !1, value: !0 }), m;
67
67
  }
68
68
  });
69
- function L(n, f, c, e, t, i) {
69
+ function j(n, f, c, e, t, i) {
70
70
  return C(), N(e.ElRadio, R({ ref: "radioRef" }, e.safeAttrs, {
71
71
  class: "qy-radio",
72
72
  "model-value": e.internalModelValue,
@@ -85,10 +85,10 @@ function L(n, f, c, e, t, i) {
85
85
  onFocusCapture: e.handleFocus,
86
86
  onBlurCapture: e.handleBlur
87
87
  }), {
88
- default: w(() => [
89
- E(n.$slots, "default", {}, () => [
90
- U(
91
- z(e.props.label),
88
+ default: E(() => [
89
+ z(n.$slots, "default", {}, () => [
90
+ M(
91
+ U(e.props.label),
92
92
  1
93
93
  /* TEXT */
94
94
  )
@@ -98,7 +98,7 @@ function L(n, f, c, e, t, i) {
98
98
  /* FORWARDED */
99
99
  }, 16, ["model-value", "value", "label", "disabled", "size", "name", "border", "id", "tabindex", "aria-label", "aria-controls"]);
100
100
  }
101
- const P = /* @__PURE__ */ k(A, [["render", L], ["__scopeId", "data-v-4c863d1f"], ["__file", "C:/Users/wzqy/.codex/worktrees/62ec/qy-components/packages/ui/lib/qy-radio/index.vue"]]);
101
+ const O = /* @__PURE__ */ A(L, [["render", j], ["__scopeId", "data-v-4c863d1f"], ["__file", "D:/xushenz/qy-components/packages/ui/lib/qy-radio/index.vue"]]);
102
102
  export {
103
- P as R
103
+ O as R
104
104
  };
@@ -1 +1 @@
1
- "use strict";const n=require("./index-CypWMqI4.cjs"),c=require("./install-c8il9DQv.cjs"),t=c.withInstall(n.Icon,"QyIcon");exports.QyIcon=t;
1
+ "use strict";const n=require("./index-B9zEH5Yq.cjs"),c=require("./install-c8il9DQv.cjs"),t=c.withInstall(n.Icon,"QyIcon");exports.QyIcon=t;
@@ -1,7 +1,7 @@
1
- import { defineComponent as i, useAttrs as d, computed as u, openBlock as f, createBlock as c, mergeProps as m, createSlots as p, withCtx as n, renderSlot as l } from "vue";
1
+ import { defineComponent as i, useAttrs as u, computed as d, openBlock as f, createBlock as c, mergeProps as m, createSlots as p, withCtx as l, renderSlot as s } from "vue";
2
2
  import { ElSkeleton as _ } from "element-plus";
3
- import { _ as S } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
4
- const b = /* @__PURE__ */ i({
3
+ import { _ as h } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
4
+ const S = /* @__PURE__ */ i({
5
5
  name: "QySkeleton",
6
6
  inheritAttrs: !1,
7
7
  __name: "index",
@@ -12,9 +12,9 @@ const b = /* @__PURE__ */ i({
12
12
  loading: { type: Boolean, required: !1, default: !0 },
13
13
  throttle: { type: [Number, Object], required: !1 }
14
14
  },
15
- setup(r, { expose: s }) {
16
- s();
17
- const e = d(), o = u(() => Object.fromEntries(Object.entries(e).filter(
15
+ setup(r, { expose: n }) {
16
+ n();
17
+ const e = u(), o = d(() => Object.fromEntries(Object.entries(e).filter(
18
18
  ([t]) => t === "class" || t === "style" || t === "role" || t === "title" || t.startsWith("data-") || t.startsWith("aria-")
19
19
  ))), a = { attrs: e, safeAttrs: o, get ElSkeleton() {
20
20
  return _;
@@ -22,7 +22,7 @@ const b = /* @__PURE__ */ i({
22
22
  return Object.defineProperty(a, "__isScriptSetup", { enumerable: !1, value: !0 }), a;
23
23
  }
24
24
  });
25
- function h(r, s, e, o, a, t) {
25
+ function b(r, n, e, o, a, t) {
26
26
  return f(), c(o.ElSkeleton, m(o.safeAttrs, {
27
27
  animated: e.animated,
28
28
  count: e.count,
@@ -30,22 +30,22 @@ function h(r, s, e, o, a, t) {
30
30
  loading: e.loading,
31
31
  throttle: e.throttle
32
32
  }), p({
33
- default: n(() => [
34
- l(r.$slots, "default")
33
+ default: l(() => [
34
+ s(r.$slots, "default")
35
35
  ]),
36
36
  _: 2
37
37
  /* DYNAMIC */
38
38
  }, [
39
39
  r.$slots.template ? {
40
40
  name: "template",
41
- fn: n(() => [
42
- l(r.$slots, "template")
41
+ fn: l(() => [
42
+ s(r.$slots, "template")
43
43
  ]),
44
44
  key: "0"
45
45
  } : void 0
46
46
  ]), 1040, ["animated", "count", "rows", "loading", "throttle"]);
47
47
  }
48
- const y = /* @__PURE__ */ S(b, [["render", h], ["__file", "C:/Users/wzqy/.codex/worktrees/62ec/qy-components/packages/ui/lib/qy-skeleton/index.vue"]]);
48
+ const k = /* @__PURE__ */ h(S, [["render", b], ["__file", "D:/xushenz/qy-components/packages/ui/lib/qy-skeleton/index.vue"]]);
49
49
  export {
50
- y as S
50
+ k as S
51
51
  };
@@ -1,6 +1,6 @@
1
- import { defineComponent as n, openBlock as a, createBlock as d, mergeProps as l, withCtx as p, renderSlot as c, computed as u, h as f } from "vue";
1
+ import { defineComponent as n, openBlock as o, createBlock as d, mergeProps as l, withCtx as u, renderSlot as p, computed as c, h as f } from "vue";
2
2
  import { ElAside as _ } from "element-plus";
3
- import { _ as o } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
3
+ import { _ as a } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
4
4
  const m = /* @__PURE__ */ n({
5
5
  name: "QyAsideElementPlusRenderer",
6
6
  inheritAttrs: !1,
@@ -16,16 +16,16 @@ const m = /* @__PURE__ */ n({
16
16
  return Object.defineProperty(t, "__isScriptSetup", { enumerable: !1, value: !0 }), t;
17
17
  }
18
18
  });
19
- function h(e, r, t, s, i, x) {
20
- return a(), d(s.ElAside, l(e.$attrs, { width: t.width }), {
21
- default: p(() => [
22
- c(e.$slots, "default")
19
+ function h(e, r, t, s, i, b) {
20
+ return o(), d(s.ElAside, l(e.$attrs, { width: t.width }), {
21
+ default: u(() => [
22
+ p(e.$slots, "default")
23
23
  ]),
24
24
  _: 3
25
25
  /* FORWARDED */
26
26
  }, 16, ["width"]);
27
27
  }
28
- const w = /* @__PURE__ */ o(m, [["render", h], ["__file", "C:/Users/wzqy/.codex/worktrees/62ec/qy-components/packages/ui/lib/qy-aside/renderer/element-plus.vue"]]), A = (e) => e === "class" || e === "style" || e === "id" || e === "role" || e === "title" || e.startsWith("data-") || e.startsWith("aria-"), q = n({
28
+ const A = /* @__PURE__ */ a(m, [["render", h], ["__file", "D:/xushenz/qy-components/packages/ui/lib/qy-aside/renderer/element-plus.vue"]]), w = (e) => e === "class" || e === "style" || e === "id" || e === "role" || e === "title" || e.startsWith("data-") || e.startsWith("aria-"), x = n({
29
29
  name: "QyAside",
30
30
  inheritAttrs: !1,
31
31
  props: {
@@ -35,11 +35,11 @@ const w = /* @__PURE__ */ o(m, [["render", h], ["__file", "C:/Users/wzqy/.codex/
35
35
  }
36
36
  },
37
37
  setup(e, { attrs: r, slots: t }) {
38
- const s = u(
39
- () => Object.fromEntries(Object.entries(r).filter(([i]) => A(i)))
38
+ const s = c(
39
+ () => Object.fromEntries(Object.entries(r).filter(([i]) => w(i)))
40
40
  );
41
41
  return () => f(
42
- w,
42
+ A,
43
43
  {
44
44
  ...s.value,
45
45
  width: e.width
@@ -47,7 +47,7 @@ const w = /* @__PURE__ */ o(m, [["render", h], ["__file", "C:/Users/wzqy/.codex/
47
47
  t.default ? { default: t.default } : void 0
48
48
  );
49
49
  }
50
- }), E = /* @__PURE__ */ o(q, [["__file", "C:/Users/wzqy/.codex/worktrees/62ec/qy-components/packages/ui/lib/qy-aside/index.vue"]]);
50
+ }), q = /* @__PURE__ */ a(x, [["__file", "D:/xushenz/qy-components/packages/ui/lib/qy-aside/index.vue"]]);
51
51
  export {
52
- E as A
52
+ q as A
53
53
  };