@qynpm/ui 1.0.38 → 1.0.39

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 (429) hide show
  1. package/README.md +117 -113
  2. package/dist/index.cjs +19 -18
  3. package/dist/index.mjs +67 -65
  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 +4 -4
  8. package/dist/qy-aside/index.cjs +1 -1
  9. package/dist/qy-aside/index.mjs +4 -4
  10. package/dist/qy-autocomplete/index.cjs +1 -1
  11. package/dist/qy-autocomplete/index.mjs +3 -3
  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 +4 -4
  16. package/dist/qy-button/index.cjs +2 -2
  17. package/dist/qy-button/index.mjs +2 -2
  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 +3 -3
  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 +4 -4
  26. package/dist/qy-col/index.cjs +1 -1
  27. package/dist/qy-col/index.mjs +4 -4
  28. package/dist/qy-collapse/index.cjs +1 -1
  29. package/dist/qy-collapse/index.mjs +2 -2
  30. package/dist/qy-collapse-item/index.cjs +1 -1
  31. package/dist/qy-collapse-item/index.mjs +5 -5
  32. package/dist/qy-color-picker/index.cjs +1 -1
  33. package/dist/qy-color-picker/index.mjs +4 -4
  34. package/dist/qy-container/index.cjs +1 -1
  35. package/dist/qy-container/index.mjs +3 -3
  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 +4 -4
  42. package/dist/qy-dialog/index.cjs +1 -1
  43. package/dist/qy-dialog/index.mjs +4 -4
  44. package/dist/qy-divider/index.cjs +1 -1
  45. package/dist/qy-divider/index.mjs +4 -4
  46. package/dist/qy-drawer/index.cjs +1 -1
  47. package/dist/qy-drawer/index.mjs +2 -2
  48. package/dist/qy-dropdown/index.cjs +2 -2
  49. package/dist/qy-dropdown/index.mjs +2 -2
  50. package/dist/qy-empty/index.cjs +1 -1
  51. package/dist/qy-empty/index.mjs +4 -4
  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 +2 -2
  61. package/dist/qy-icon-picker/index.mjs +5 -5
  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 +2 -2
  74. package/dist/qy-input-tag/index.cjs +1 -1
  75. package/dist/qy-input-tag/index.mjs +4 -4
  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 +5 -5
  80. package/dist/qy-main/index.cjs +1 -1
  81. package/dist/qy-main/index.mjs +4 -4
  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 +4 -4
  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 +5 -5
  90. package/dist/qy-popover/index.cjs +1 -1
  91. package/dist/qy-popover/index.mjs +4 -4
  92. package/dist/qy-progress/index.cjs +1 -1
  93. package/dist/qy-progress/index.mjs +3 -3
  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 +4 -4
  106. package/dist/qy-row/index.cjs +1 -1
  107. package/dist/qy-row/index.mjs +4 -4
  108. package/dist/qy-scrollbar/index.cjs +1 -1
  109. package/dist/qy-scrollbar/index.mjs +3 -3
  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 +4 -4
  118. package/dist/qy-skeleton-item/index.cjs +1 -1
  119. package/dist/qy-skeleton-item/index.mjs +4 -4
  120. package/dist/qy-statistic/index.cjs +1 -1
  121. package/dist/qy-statistic/index.mjs +3 -3
  122. package/dist/qy-step/index.cjs +1 -1
  123. package/dist/qy-step/index.mjs +5 -5
  124. package/dist/qy-steps/index.cjs +1 -1
  125. package/dist/qy-steps/index.mjs +4 -4
  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 +4 -4
  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 +4 -4
  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 +4 -4
  138. package/dist/qy-tree/index.cjs +1 -1
  139. package/dist/qy-tree/index.mjs +5 -5
  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-9GEoEe00.cjs +1 -0
  147. package/dist/shared/index-B25yA5j-.mjs +71 -0
  148. package/dist/shared/index-B3GsIwhf.mjs +142 -0
  149. package/dist/shared/index-BFG8tzQV.mjs +149 -0
  150. package/dist/shared/index-BXWEn5kQ.mjs +766 -0
  151. package/dist/shared/index-Bd_aS-_F.mjs +162 -0
  152. package/dist/shared/index-Br_34fum.cjs +1 -0
  153. package/dist/shared/index-BsDC3meI.cjs +1 -0
  154. package/dist/shared/index-BzjGYfVd.mjs +222 -0
  155. package/dist/shared/index-C1gEZRI5.cjs +1 -0
  156. package/dist/shared/index-CCd7dB4w.cjs +1 -0
  157. package/dist/shared/index-CGq7Q_hV.mjs +119 -0
  158. package/dist/shared/index-CJeoAmoJ.mjs +293 -0
  159. package/dist/shared/index-CiE6qJCJ.mjs +377 -0
  160. package/dist/shared/index-CnVhquq5.cjs +1 -0
  161. package/dist/shared/index-D0hSquu3.cjs +1 -0
  162. package/dist/shared/index-D1Xkf7rL.mjs +107 -0
  163. package/dist/shared/index-D377Dw9z.cjs +1 -0
  164. package/dist/shared/index-D7WmSi5s.mjs +127 -0
  165. package/dist/shared/index-D8OXRBGc.mjs +285 -0
  166. package/dist/shared/index-DQosPVrl.mjs +68 -0
  167. package/dist/shared/index-DRugp8x0.cjs +1 -0
  168. package/dist/shared/{index-BsRfuMop.cjs → index-DYLQNCm_.cjs} +1 -1
  169. package/dist/shared/index-Db0-JPH3.cjs +1 -0
  170. package/dist/shared/index-DpSbQfft.mjs +90 -0
  171. package/dist/shared/index-Dt5TyzGy.cjs +1 -0
  172. package/dist/shared/index-DuP-b_eY.cjs +1 -0
  173. package/dist/shared/index-Dus42W4E.cjs +1 -0
  174. package/dist/shared/index-EIFVul2W.cjs +1 -0
  175. package/dist/shared/index-G3BezuiV.cjs +1 -0
  176. package/dist/shared/index-GQheV777.mjs +54 -0
  177. package/dist/shared/index-HNFq7v-A.cjs +1 -0
  178. package/dist/shared/index-KNAOQ6lE.mjs +225 -0
  179. package/dist/shared/index-MNEYnZEw.cjs +1 -0
  180. package/dist/shared/index-MPd3qxAh.cjs +1 -0
  181. package/dist/shared/index-_IQS5Lxm.mjs +2362 -0
  182. package/dist/shared/index-elwxiSmc.cjs +1 -0
  183. package/dist/shared/{index-BE4CELs-.mjs → index-lKF1vwdE.mjs} +1 -1
  184. package/dist/shared/index-nVNx7f9k.mjs +72 -0
  185. package/dist/shared/index-zo5J-y0C.mjs +157 -0
  186. package/dist/shared/index.vue_vue_type_script_lang-69zSOotQ.mjs +47 -0
  187. package/dist/shared/index.vue_vue_type_script_lang-8AT3-xU-.cjs +1 -0
  188. package/dist/shared/{index-Cp0dxH7g.mjs → index.vue_vue_type_script_lang-BGAdXWIL.mjs} +11 -12
  189. package/dist/shared/index.vue_vue_type_script_lang-BO9Ju_i0.cjs +1 -0
  190. package/dist/shared/{index-WUwab92q.mjs → index.vue_vue_type_script_lang-BaIOvoQn.mjs} +10 -11
  191. package/dist/shared/index.vue_vue_type_script_lang-Bc3tktk9.cjs +1 -0
  192. package/dist/shared/index.vue_vue_type_script_lang-BgapsQjI.cjs +1 -0
  193. package/dist/shared/{index-B-d53uut.mjs → index.vue_vue_type_script_lang-Bk0kLg5l.mjs} +10 -11
  194. package/dist/shared/index.vue_vue_type_script_lang-BkoqbceR.cjs +1 -0
  195. package/dist/shared/{index-0aCI4Gj1.mjs → index.vue_vue_type_script_lang-BnmY1ndj.mjs} +24 -25
  196. package/dist/shared/index.vue_vue_type_script_lang-By3jd4gw.cjs +1 -0
  197. package/dist/shared/{index-9KXqMXBF.mjs → index.vue_vue_type_script_lang-C4JHCuXz.mjs} +14 -15
  198. package/dist/shared/index.vue_vue_type_script_lang-C9X0V5AK.mjs +71 -0
  199. package/dist/shared/index.vue_vue_type_script_lang-CCL57H5c.cjs +1 -0
  200. package/dist/shared/index.vue_vue_type_script_lang-CIOi2ahp.cjs +1 -0
  201. package/dist/shared/index.vue_vue_type_script_lang-CKZUcaZ5.cjs +1 -0
  202. package/dist/shared/index.vue_vue_type_script_lang-CWnNQBPN.mjs +31 -0
  203. package/dist/shared/index.vue_vue_type_script_lang-CZK0hDYa.mjs +77 -0
  204. package/dist/shared/index.vue_vue_type_script_lang-CfjfZCT3.cjs +1 -0
  205. package/dist/shared/index.vue_vue_type_script_lang-ChS-3_vl.mjs +43 -0
  206. package/dist/shared/index.vue_vue_type_script_lang-Cv4Pf58E.cjs +1 -0
  207. package/dist/shared/index.vue_vue_type_script_lang-CwrbII5c.cjs +1 -0
  208. package/dist/shared/index.vue_vue_type_script_lang-D42aRlO2.cjs +1 -0
  209. package/dist/shared/{index-CaM4EpCy.mjs → index.vue_vue_type_script_lang-D7b9ABei.mjs} +22 -23
  210. package/dist/shared/index.vue_vue_type_script_lang-D7nzeBUR.mjs +35 -0
  211. package/dist/shared/index.vue_vue_type_script_lang-DIKHRo0o.mjs +72 -0
  212. package/dist/shared/index.vue_vue_type_script_lang-DLmUPDR5.cjs +1 -0
  213. package/dist/shared/index.vue_vue_type_script_lang-DMrpLmWN.cjs +1 -0
  214. package/dist/shared/{index-BA6hc-j-.mjs → index.vue_vue_type_script_lang-DOOT2grg.mjs} +10 -11
  215. package/dist/shared/index.vue_vue_type_script_lang-DRvk4-_O.mjs +43 -0
  216. package/dist/shared/{index-Q8rXwNnM.mjs → index.vue_vue_type_script_lang-Dfq7D3mJ.mjs} +3 -4
  217. package/dist/shared/index.vue_vue_type_script_lang-DpSaB5eg.cjs +1 -0
  218. package/dist/shared/index.vue_vue_type_script_lang-WJ63_A7F.cjs +1 -0
  219. package/dist/shared/{index-qLomEtF6.mjs → index.vue_vue_type_script_lang-chBiq2cG.mjs} +3 -4
  220. package/dist/shared/index.vue_vue_type_script_setup_true_lang-4KZSABSM.cjs +1 -0
  221. package/dist/shared/index.vue_vue_type_script_setup_true_lang-B4JrNUDc.mjs +43 -0
  222. package/dist/shared/index.vue_vue_type_script_setup_true_lang-BJe7Uo6S.mjs +42 -0
  223. package/dist/shared/index.vue_vue_type_script_setup_true_lang-BWi3g3mb.cjs +1 -0
  224. package/dist/shared/index.vue_vue_type_script_setup_true_lang-BXnZt9UT.mjs +63 -0
  225. package/dist/shared/index.vue_vue_type_script_setup_true_lang-Bdz9oDDW.mjs +62 -0
  226. package/dist/shared/index.vue_vue_type_script_setup_true_lang-BiIgNax-.cjs +1 -0
  227. package/dist/shared/index.vue_vue_type_script_setup_true_lang-BnIolx5s.cjs +1 -0
  228. package/dist/shared/index.vue_vue_type_script_setup_true_lang-BvnOeUIM.mjs +61 -0
  229. package/dist/shared/index.vue_vue_type_script_setup_true_lang-C96ZaggL.cjs +1 -0
  230. package/dist/shared/index.vue_vue_type_script_setup_true_lang-CKp87br2.cjs +1 -0
  231. package/dist/shared/index.vue_vue_type_script_setup_true_lang-COAUEujY.mjs +48 -0
  232. package/dist/shared/index.vue_vue_type_script_setup_true_lang-CcbBUYM3.cjs +1 -0
  233. package/dist/shared/index.vue_vue_type_script_setup_true_lang-CqSJ_8hG.cjs +1 -0
  234. package/dist/shared/index.vue_vue_type_script_setup_true_lang-Cr9PdvyR.cjs +1 -0
  235. package/dist/shared/index.vue_vue_type_script_setup_true_lang-Cswf_owk.cjs +1 -0
  236. package/dist/shared/index.vue_vue_type_script_setup_true_lang-D7BlbHN5.cjs +1 -0
  237. package/dist/shared/index.vue_vue_type_script_setup_true_lang-DIWWHODS.mjs +197 -0
  238. package/dist/shared/index.vue_vue_type_script_setup_true_lang-DUEhuwGQ.cjs +1 -0
  239. package/dist/shared/index.vue_vue_type_script_setup_true_lang-Dd_nKJvH.mjs +19 -0
  240. package/dist/shared/index.vue_vue_type_script_setup_true_lang-DwFGEW4B.mjs +143 -0
  241. package/dist/shared/index.vue_vue_type_script_setup_true_lang-EiHoQBXt.mjs +94 -0
  242. package/dist/shared/index.vue_vue_type_script_setup_true_lang-IyZesuKm.mjs +48 -0
  243. package/dist/shared/index.vue_vue_type_script_setup_true_lang-OmrHTMpe.mjs +106 -0
  244. package/dist/shared/index.vue_vue_type_script_setup_true_lang-ccFLNRry.cjs +1 -0
  245. package/dist/shared/index.vue_vue_type_script_setup_true_lang-wG7OTsWa.mjs +331 -0
  246. package/dist/shared/index.vue_vue_type_style_index_0_lang-1cTut9Ql.cjs +1 -0
  247. package/dist/shared/index.vue_vue_type_style_index_0_lang-B1FgJZbw.mjs +148 -0
  248. package/dist/shared/index.vue_vue_type_style_index_0_lang-B2thgQml.cjs +1 -0
  249. package/dist/shared/index.vue_vue_type_style_index_0_lang-BMZqMPZb.mjs +215 -0
  250. package/dist/shared/index.vue_vue_type_style_index_0_lang-BXTkWo5P.cjs +1 -0
  251. package/dist/shared/index.vue_vue_type_style_index_0_lang-BfQd7yxi.cjs +1 -0
  252. package/dist/shared/index.vue_vue_type_style_index_0_lang-BnPRHCwR.cjs +1 -0
  253. package/dist/shared/index.vue_vue_type_style_index_0_lang-BoaO6MKl.cjs +1 -0
  254. package/dist/shared/index.vue_vue_type_style_index_0_lang-C1n-zAZh.mjs +67 -0
  255. package/dist/shared/index.vue_vue_type_style_index_0_lang-C4Yk-UdJ.mjs +172 -0
  256. package/dist/shared/index.vue_vue_type_style_index_0_lang-CPxbKjvY.mjs +286 -0
  257. package/dist/shared/index.vue_vue_type_style_index_0_lang-CVdFZeHK.mjs +98 -0
  258. package/dist/shared/index.vue_vue_type_style_index_0_lang-CcVf5MXE.mjs +166 -0
  259. package/dist/shared/index.vue_vue_type_style_index_0_lang-D2CH70ZX.cjs +1 -0
  260. package/dist/shared/index.vue_vue_type_style_index_0_lang-D9DraThL.cjs +1 -0
  261. package/dist/shared/index.vue_vue_type_style_index_0_lang-DFAaBzkW.cjs +1 -0
  262. package/dist/shared/index.vue_vue_type_style_index_0_lang-DHK86rdP.cjs +1 -0
  263. package/dist/shared/index.vue_vue_type_style_index_0_lang-DOAbOPGO.mjs +403 -0
  264. package/dist/shared/index.vue_vue_type_style_index_0_lang-DSur831A.mjs +68 -0
  265. package/dist/shared/index.vue_vue_type_style_index_0_lang-DVXf-yUs.cjs +1 -0
  266. package/dist/shared/index.vue_vue_type_style_index_0_lang-Daww52B9.mjs +317 -0
  267. package/dist/shared/index.vue_vue_type_style_index_0_lang-DsOg_Rum.mjs +128 -0
  268. package/dist/shared/index.vue_vue_type_style_index_0_lang-KHk9wRYT.mjs +298 -0
  269. package/dist/shared/index.vue_vue_type_style_index_0_lang-RiwA2WPO.cjs +1 -0
  270. package/dist/shared/{index-DAoXMHpO.mjs → index.vue_vue_type_style_index_0_lang-Tzo8o6M8.mjs} +9 -10
  271. package/dist/shared/index.vue_vue_type_style_index_0_lang-WGzoSatU.cjs +1 -0
  272. package/dist/shared/{index-u7VYI7Kg.mjs → index.vue_vue_type_style_index_0_lang-gs0YJI91.mjs} +16 -17
  273. package/dist/shared/index.vue_vue_type_style_index_0_lang-hbNK_h45.cjs +1 -0
  274. package/index.d.ts +122 -113
  275. package/package.json +8 -2
  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--I-pLtO3.cjs +0 -1
  318. package/dist/shared/index-0mok5nS2.cjs +0 -1
  319. package/dist/shared/index-2xIkj7uz.cjs +0 -1
  320. package/dist/shared/index-4uXwnK7G.cjs +0 -1
  321. package/dist/shared/index-B-PlDm1A.cjs +0 -1
  322. package/dist/shared/index-B0aY8Q_T.cjs +0 -1
  323. package/dist/shared/index-B1-htEYJ.mjs +0 -100
  324. package/dist/shared/index-B1ZuGEIr.cjs +0 -1
  325. package/dist/shared/index-B3wIgwN7.cjs +0 -1
  326. package/dist/shared/index-B71cpH4T.cjs +0 -1
  327. package/dist/shared/index-B8S5RT2Z.mjs +0 -206
  328. package/dist/shared/index-B8znc-qD.cjs +0 -1
  329. package/dist/shared/index-BCfULlZK.cjs +0 -1
  330. package/dist/shared/index-BFFnf0Bn.cjs +0 -1
  331. package/dist/shared/index-BIWER6Wa.cjs +0 -1
  332. package/dist/shared/index-BM3ueCK9.cjs +0 -1
  333. package/dist/shared/index-BOLL0aGP.mjs +0 -47
  334. package/dist/shared/index-BWO4qxne.mjs +0 -395
  335. package/dist/shared/index-Ba3qQVYM.cjs +0 -1
  336. package/dist/shared/index-Ba5CLmrh.mjs +0 -157
  337. package/dist/shared/index-BcPpl_OJ.mjs +0 -892
  338. package/dist/shared/index-Bg_o9zrB.cjs +0 -1
  339. package/dist/shared/index-Bguu2ys0.cjs +0 -1
  340. package/dist/shared/index-BhO1ARf9.cjs +0 -1
  341. package/dist/shared/index-BiCdxX0E.mjs +0 -63
  342. package/dist/shared/index-BigCKPUY.mjs +0 -153
  343. package/dist/shared/index-BmWDUjpi.mjs +0 -73
  344. package/dist/shared/index-BoGA3Pdv.cjs +0 -1
  345. package/dist/shared/index-Brxx2EqN.mjs +0 -156
  346. package/dist/shared/index-BsTSa25A.cjs +0 -1
  347. package/dist/shared/index-Btwke2ql.cjs +0 -1
  348. package/dist/shared/index-BxQnJVT8.cjs +0 -1
  349. package/dist/shared/index-Bx_faI_u.mjs +0 -53
  350. package/dist/shared/index-C7GXprxF.cjs +0 -1
  351. package/dist/shared/index-C97qoSgI.cjs +0 -1
  352. package/dist/shared/index-CCqfQb_M.mjs +0 -82
  353. package/dist/shared/index-CDGjUhaC.mjs +0 -72
  354. package/dist/shared/index-CF3vimnX.mjs +0 -73
  355. package/dist/shared/index-CJxpEc9q.cjs +0 -1
  356. package/dist/shared/index-COpowa-E.mjs +0 -48
  357. package/dist/shared/index-CRU4YvLz.cjs +0 -1
  358. package/dist/shared/index-CSMOYD1R.cjs +0 -1
  359. package/dist/shared/index-CWB5fAb7.mjs +0 -154
  360. package/dist/shared/index-CXAVVShG.mjs +0 -278
  361. package/dist/shared/index-CeasMt4r.mjs +0 -63
  362. package/dist/shared/index-CftZiihF.mjs +0 -525
  363. package/dist/shared/index-ChEefC0G.cjs +0 -1
  364. package/dist/shared/index-CioDI8Ys.cjs +0 -1
  365. package/dist/shared/index-CjKfmMG4.cjs +0 -1
  366. package/dist/shared/index-CnIZoCkL.mjs +0 -77
  367. package/dist/shared/index-CndG7UWF.mjs +0 -138
  368. package/dist/shared/index-CrwhANF5.mjs +0 -78
  369. package/dist/shared/index-Cs-LC7ZG.mjs +0 -150
  370. package/dist/shared/index-CutbNRjY.mjs +0 -198
  371. package/dist/shared/index-CyJHJCj8.cjs +0 -1
  372. package/dist/shared/index-CypWMqI4.cjs +0 -1
  373. package/dist/shared/index-Cz6Lo9RL.cjs +0 -1
  374. package/dist/shared/index-CzyB5ttX.cjs +0 -1
  375. package/dist/shared/index-D1cbnYac.mjs +0 -446
  376. package/dist/shared/index-D8-4wR07.mjs +0 -130
  377. package/dist/shared/index-D9dQaZtu.cjs +0 -1
  378. package/dist/shared/index-DEosiUQV.mjs +0 -245
  379. package/dist/shared/index-DFTSBy3g.mjs +0 -206
  380. package/dist/shared/index-DFnpyAa1.mjs +0 -69
  381. package/dist/shared/index-DI5COVol.cjs +0 -1
  382. package/dist/shared/index-DNMOtH4s.mjs +0 -36
  383. package/dist/shared/index-DQn_5j_f.cjs +0 -1
  384. package/dist/shared/index-DRICnDix.mjs +0 -295
  385. package/dist/shared/index-DS539-rn.mjs +0 -87
  386. package/dist/shared/index-DTOfhAXP.mjs +0 -74
  387. package/dist/shared/index-DULBwiHC.mjs +0 -234
  388. package/dist/shared/index-DVPk0jMO.cjs +0 -1
  389. package/dist/shared/index-DWrymMO5.cjs +0 -1
  390. package/dist/shared/index-DYYPqv3Y.cjs +0 -1
  391. package/dist/shared/index-DZzMTGSJ.cjs +0 -1
  392. package/dist/shared/index-D_l30Gzr.cjs +0 -1
  393. package/dist/shared/index-Db7PhnjA.cjs +0 -1
  394. package/dist/shared/index-DdoFHdjY.mjs +0 -307
  395. package/dist/shared/index-DeBjILEK.cjs +0 -1
  396. package/dist/shared/index-DePXY0TI.cjs +0 -1
  397. package/dist/shared/index-DgPQ8292.cjs +0 -1
  398. package/dist/shared/index-Di3R0FOU.cjs +0 -1
  399. package/dist/shared/index-DiNSSXC8.mjs +0 -76
  400. package/dist/shared/index-DmEwKHe4.cjs +0 -1
  401. package/dist/shared/index-DnFQkBfl.cjs +0 -1
  402. package/dist/shared/index-DnexuGuJ.cjs +0 -1
  403. package/dist/shared/index-DniPcZnL.mjs +0 -52
  404. package/dist/shared/index-DpitpmqK.mjs +0 -205
  405. package/dist/shared/index-DtXU2qQS.cjs +0 -1
  406. package/dist/shared/index-Du-FNseo.cjs +0 -1
  407. package/dist/shared/index-DwHzztSj.cjs +0 -1
  408. package/dist/shared/index-DxFfP2Fn.cjs +0 -1
  409. package/dist/shared/index-DyqFfMhy.mjs +0 -365
  410. package/dist/shared/index-Hn-IGtqe.cjs +0 -1
  411. package/dist/shared/index-Nx_w1JYm.cjs +0 -1
  412. package/dist/shared/index-R6vvV3td.cjs +0 -1
  413. package/dist/shared/index-TMhQv4oD.mjs +0 -104
  414. package/dist/shared/index-VtJrvPka.mjs +0 -27
  415. package/dist/shared/index-YWKumDEW.mjs +0 -61
  416. package/dist/shared/index-_AB6uqZw.mjs +0 -51
  417. package/dist/shared/index-bvvNTmuM.mjs +0 -105
  418. package/dist/shared/index-fVS62tLm.mjs +0 -81
  419. package/dist/shared/index-gOUVgYd_.cjs +0 -1
  420. package/dist/shared/index-gU6HjdHv.mjs +0 -311
  421. package/dist/shared/index-hPaHbb1Y.cjs +0 -1
  422. package/dist/shared/index-i0G6DcP0.cjs +0 -1
  423. package/dist/shared/index-jP71VQxo.cjs +0 -1
  424. package/dist/shared/index-jdGrSpGg.mjs +0 -2657
  425. package/dist/shared/index-jsEFCWaY.mjs +0 -175
  426. package/dist/shared/index-lsWZ_M5R.mjs +0 -369
  427. package/dist/shared/index-mKnRWsLn.cjs +0 -1
  428. package/dist/shared/index-xdsYNS2u.mjs +0 -53
  429. package/dist/shared/index-xhROPBam.mjs +0 -129
@@ -0,0 +1,298 @@
1
+ import { defineComponent as ae, useAttrs as oe, ref as de, computed as h, openBlock as re, createBlock as le, unref as k, mergeProps as ce, createSlots as ue, withCtx as y, renderSlot as C } from "vue";
2
+ import { ElTree as ie } from "element-plus";
3
+ const ge = /* @__PURE__ */ ae({
4
+ name: "QyTree",
5
+ inheritAttrs: !1,
6
+ __name: "index",
7
+ props: {
8
+ data: { default: () => [] },
9
+ emptyText: {},
10
+ nodeKey: {},
11
+ props: { default: () => ({}) },
12
+ renderAfterExpand: { type: Boolean, default: !0 },
13
+ defaultExpandAll: { type: Boolean },
14
+ expandOnClickNode: { type: Boolean, default: !0 },
15
+ autoExpandParent: { type: Boolean, default: !0 },
16
+ defaultExpandedKeys: {},
17
+ accordion: { type: Boolean },
18
+ indent: { default: 18 },
19
+ icon: {},
20
+ highlightCurrent: { type: Boolean },
21
+ currentNodeKey: {},
22
+ showCheckbox: { type: Boolean },
23
+ checkStrictly: { type: Boolean },
24
+ checkOnClickNode: { type: Boolean },
25
+ checkOnClickLeaf: { type: Boolean, default: !0 },
26
+ checkDescendants: { type: Boolean },
27
+ defaultCheckedKeys: {},
28
+ filterNodeMethod: {},
29
+ lazy: { type: Boolean },
30
+ load: {},
31
+ draggable: { type: Boolean },
32
+ allowDrag: {},
33
+ allowDrop: {}
34
+ },
35
+ emits: ["node-click", "node-contextmenu", "current-change", "node-expand", "node-collapse", "check-change", "check", "node-drag-start", "node-drag-enter", "node-drag-over", "node-drag-leave", "node-drag-end", "node-drop"],
36
+ setup(l, { expose: p, emit: v }) {
37
+ const r = l, i = v, x = oe(), u = de(), D = Object.freeze([...r.defaultExpandedKeys ?? []]), m = Object.freeze([...r.defaultCheckedKeys ?? []]), K = h(() => Object.fromEntries(Object.entries(x).filter(
38
+ ([e]) => e === "class" || e === "style" || e === "id" || e === "title" || e.startsWith("data-") || e.startsWith("aria-")
39
+ )));
40
+ function o(e) {
41
+ var n, t, a, d;
42
+ return Object.freeze({
43
+ key: e.key ?? null,
44
+ parentKey: ((n = e.parent) == null ? void 0 : n.key) ?? null,
45
+ data: e.data,
46
+ label: e.label ?? String(((a = e.data) == null ? void 0 : a[typeof ((t = r.props) == null ? void 0 : t.label) == "string" ? r.props.label : "label"]) ?? ""),
47
+ level: e.level ?? 0,
48
+ expanded: e.expanded === !0,
49
+ checked: e.checked === !0,
50
+ indeterminate: e.indeterminate === !0,
51
+ disabled: e.disabled === !0,
52
+ leaf: e.isLeaf === !0,
53
+ visible: e.visible !== !1,
54
+ loading: e.loading === !0,
55
+ loaded: e.loaded === !0,
56
+ childCount: ((d = e.childNodes) == null ? void 0 : d.length) ?? 0
57
+ });
58
+ }
59
+ const b = h(() => {
60
+ const e = r.props ?? {};
61
+ return {
62
+ ...e,
63
+ ...typeof e.label == "function" ? { label: (n) => {
64
+ var t;
65
+ return ((t = e.label) == null ? void 0 : t.call(e, n)) ?? "";
66
+ } } : {},
67
+ ...typeof e.disabled == "function" ? { disabled: (n) => {
68
+ var t;
69
+ return ((t = e.disabled) == null ? void 0 : t.call(e, n)) ?? !1;
70
+ } } : {},
71
+ ...typeof e.isLeaf == "function" ? { isLeaf: (n) => {
72
+ var t;
73
+ return ((t = e.isLeaf) == null ? void 0 : t.call(e, n)) ?? !1;
74
+ } } : {},
75
+ ...typeof e.class == "function" ? { class: (n, t) => {
76
+ var a;
77
+ return ((a = e.class) == null ? void 0 : a.call(e, n, o(t))) ?? "";
78
+ } } : {}
79
+ };
80
+ }), w = h(() => r.filterNodeMethod ? (e, n, t) => {
81
+ var a;
82
+ return ((a = r.filterNodeMethod) == null ? void 0 : a.call(r, e, n, o(t))) ?? !1;
83
+ } : void 0), E = h(() => r.load ? (e, n, t) => {
84
+ var a;
85
+ return (a = r.load) == null ? void 0 : a.call(r, o(e), n, t);
86
+ } : void 0);
87
+ function c(e) {
88
+ var t;
89
+ return ((t = u.value) == null ? void 0 : t.getNode(e.data)) === e ? e : null;
90
+ }
91
+ function g(e) {
92
+ var t;
93
+ const n = (t = u.value) == null ? void 0 : t.getNode(e);
94
+ return (n == null ? void 0 : n.data) === e ? n : null;
95
+ }
96
+ const B = h(() => r.allowDrag ? (e) => {
97
+ var t;
98
+ const n = c(e);
99
+ return n ? ((t = r.allowDrag) == null ? void 0 : t.call(r, o(n))) ?? !1 : !1;
100
+ } : void 0), O = h(() => r.allowDrop ? (e, n, t) => {
101
+ var f;
102
+ const a = c(e), d = c(n);
103
+ return a && d ? ((f = r.allowDrop) == null ? void 0 : f.call(r, o(a), o(d), t === "prev" ? "before" : t === "next" ? "after" : "inner")) ?? !1 : !1;
104
+ } : void 0);
105
+ function A(e) {
106
+ return { checkedKeys: e.checkedKeys ?? [], checkedNodes: e.checkedNodes ?? [], halfCheckedKeys: e.halfCheckedKeys ?? [], halfCheckedNodes: e.halfCheckedNodes ?? [] };
107
+ }
108
+ function se(e) {
109
+ return e;
110
+ }
111
+ function L(e, n, t, a) {
112
+ const d = c(n);
113
+ d && i("node-click", d.data, o(d), a);
114
+ }
115
+ function P(e, n, t) {
116
+ const a = c(t);
117
+ a && i("node-contextmenu", e, a.data, o(a));
118
+ }
119
+ function S(e, n) {
120
+ if (e === null && n === null) {
121
+ i("current-change", null, null);
122
+ return;
123
+ }
124
+ const t = n ? c(n) : g(e);
125
+ t && i("current-change", t.data, n ? o(t) : null);
126
+ }
127
+ function z(e, n) {
128
+ const t = c(n);
129
+ t && i("node-expand", t.data, o(t));
130
+ }
131
+ function H(e, n) {
132
+ const t = c(n);
133
+ t && i("node-collapse", t.data, o(t));
134
+ }
135
+ function M(e, n, t) {
136
+ const a = g(e);
137
+ a && i("check-change", a.data, n, t);
138
+ }
139
+ function T(e, n) {
140
+ const t = g(e);
141
+ t && i("check", t.data, A(n));
142
+ }
143
+ function j(e, n) {
144
+ const t = c(e);
145
+ t && i("node-drag-start", o(t), n);
146
+ }
147
+ function $(e, n, t) {
148
+ const a = c(e), d = c(n);
149
+ a && d && i("node-drag-enter", o(a), o(d), t);
150
+ }
151
+ function q(e, n, t) {
152
+ const a = c(e), d = c(n);
153
+ a && d && i("node-drag-over", o(a), o(d), t);
154
+ }
155
+ function Q(e, n, t) {
156
+ const a = c(e), d = c(n);
157
+ a && d && i("node-drag-leave", o(a), o(d), t);
158
+ }
159
+ function I(e, n, t, a) {
160
+ const d = c(e), f = n ? c(n) : null;
161
+ d && (!n || f) && i("node-drag-end", o(d), f ? o(f) : null, t, a);
162
+ }
163
+ function R(e, n, t, a) {
164
+ const d = c(e), f = c(n);
165
+ d && f && i("node-drop", o(d), o(f), t, a);
166
+ }
167
+ function s(e) {
168
+ if (!r.nodeKey) throw new Error(`QyTree.${e} requires nodeKey`);
169
+ }
170
+ function W(e) {
171
+ var n;
172
+ if (!r.filterNodeMethod) throw new Error("QyTree.filter requires filterNodeMethod");
173
+ (n = u.value) == null || n.filter(e);
174
+ }
175
+ function F(e) {
176
+ var t;
177
+ s("getNode");
178
+ const n = (t = u.value) == null ? void 0 : t.getNode(e);
179
+ return n ? o(n) : null;
180
+ }
181
+ function G(e) {
182
+ var n;
183
+ return s("getNodePath"), ((n = u.value) == null ? void 0 : n.getNodePath(e)) ?? [];
184
+ }
185
+ function J(e) {
186
+ var n;
187
+ return s("getCheckedKeys"), ((n = u.value) == null ? void 0 : n.getCheckedKeys(e)) ?? [];
188
+ }
189
+ function U(e, n) {
190
+ var t;
191
+ return s("getCheckedNodes"), ((t = u.value) == null ? void 0 : t.getCheckedNodes(e, n)) ?? [];
192
+ }
193
+ function V() {
194
+ var e;
195
+ return s("getHalfCheckedKeys"), ((e = u.value) == null ? void 0 : e.getHalfCheckedKeys()) ?? [];
196
+ }
197
+ function X() {
198
+ var e;
199
+ return s("getHalfCheckedNodes"), ((e = u.value) == null ? void 0 : e.getHalfCheckedNodes()) ?? [];
200
+ }
201
+ function Y(e, n, t = !1) {
202
+ var a;
203
+ s("setChecked"), (a = u.value) == null || a.setChecked(e, n, t);
204
+ }
205
+ function Z(e, n) {
206
+ var t;
207
+ s("setCheckedKeys"), (t = u.value) == null || t.setCheckedKeys(e, n);
208
+ }
209
+ function _(e, n) {
210
+ var t;
211
+ s("setCheckedNodes"), (t = u.value) == null || t.setCheckedNodes(e, n);
212
+ }
213
+ function N() {
214
+ var n, t;
215
+ s("getCurrentKey");
216
+ const e = ((n = u.value) == null ? void 0 : n.getCurrentKey()) ?? null;
217
+ return e !== null && ((t = u.value) != null && t.getNode(e)) ? e : null;
218
+ }
219
+ function ee() {
220
+ var e;
221
+ return s("getCurrentNode"), N() === null ? null : ((e = u.value) == null ? void 0 : e.getCurrentNode()) ?? null;
222
+ }
223
+ function te(e, n = !0) {
224
+ var t;
225
+ s("setCurrentKey"), (t = u.value) == null || t.setCurrentKey(e, n);
226
+ }
227
+ function ne(e, n = !0) {
228
+ var t;
229
+ s("setCurrentNode"), (t = u.value) == null || t.setCurrentNode(e, n);
230
+ }
231
+ return p({ filter: W, getNode: F, getNodePath: G, getCheckedKeys: J, getCheckedNodes: U, getHalfCheckedKeys: V, getHalfCheckedNodes: X, setChecked: Y, setCheckedKeys: Z, setCheckedNodes: _, getCurrentKey: N, getCurrentNode: ee, setCurrentKey: te, setCurrentNode: ne }), (e, n) => (re(), le(k(ie), ce({
232
+ ref_key: "treeRef",
233
+ ref: u
234
+ }, K.value, {
235
+ class: "qy-tree",
236
+ data: l.data,
237
+ "empty-text": l.emptyText,
238
+ "node-key": l.nodeKey,
239
+ props: b.value,
240
+ "render-after-expand": l.renderAfterExpand,
241
+ "default-expand-all": l.defaultExpandAll,
242
+ "expand-on-click-node": l.expandOnClickNode,
243
+ "auto-expand-parent": l.autoExpandParent,
244
+ "default-expanded-keys": k(D),
245
+ accordion: l.accordion,
246
+ indent: l.indent,
247
+ icon: l.icon,
248
+ "highlight-current": l.highlightCurrent,
249
+ "current-node-key": l.currentNodeKey,
250
+ "show-checkbox": l.showCheckbox,
251
+ "check-strictly": l.checkStrictly,
252
+ "check-on-click-node": l.checkOnClickNode,
253
+ "check-on-click-leaf": l.checkOnClickLeaf,
254
+ "check-descendants": l.checkDescendants,
255
+ "default-checked-keys": k(m),
256
+ "filter-node-method": w.value,
257
+ lazy: l.lazy,
258
+ load: E.value,
259
+ draggable: l.draggable,
260
+ "allow-drag": B.value,
261
+ "allow-drop": O.value,
262
+ onNodeClick: L,
263
+ onNodeContextmenu: P,
264
+ onCurrentChange: S,
265
+ onNodeExpand: z,
266
+ onNodeCollapse: H,
267
+ onCheckChange: M,
268
+ onCheck: T,
269
+ onNodeDragStart: j,
270
+ onNodeDragEnter: $,
271
+ onNodeDragOver: q,
272
+ onNodeDragLeave: Q,
273
+ onNodeDragEnd: I,
274
+ onNodeDrop: R
275
+ }), ue({ _: 2 }, [
276
+ e.$slots.default ? {
277
+ name: "default",
278
+ fn: y((t) => [
279
+ C(e.$slots, "default", {
280
+ data: t.data,
281
+ node: o(t.node)
282
+ })
283
+ ]),
284
+ key: "0"
285
+ } : void 0,
286
+ e.$slots.empty ? {
287
+ name: "empty",
288
+ fn: y(() => [
289
+ C(e.$slots, "empty")
290
+ ]),
291
+ key: "1"
292
+ } : void 0
293
+ ]), 1040, ["data", "empty-text", "node-key", "props", "render-after-expand", "default-expand-all", "expand-on-click-node", "auto-expand-parent", "default-expanded-keys", "accordion", "indent", "icon", "highlight-current", "current-node-key", "show-checkbox", "check-strictly", "check-on-click-node", "check-on-click-leaf", "check-descendants", "default-checked-keys", "filter-node-method", "lazy", "load", "draggable", "allow-drag", "allow-drop"]));
294
+ }
295
+ });
296
+ export {
297
+ ge as _
298
+ };
@@ -0,0 +1 @@
1
+ "use strict";const a=require("vue"),x=require("element-plus"),D=a.defineComponent({name:"QyDatePicker",inheritAttrs:!1,__name:"index",props:{modelValue:{default:void 0},type:{default:"date"},placeholder:{default:"请选择日期"},startPlaceholder:{default:"开始时间"},endPlaceholder:{default:"结束时间"},rangeSeparator:{default:"-"},format:{default:void 0},valueFormat:{default:void 0},defaultTime:{default:void 0},disabledDate:{type:Function,default:void 0},shortcuts:{default:void 0},clearable:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1},readonly:{type:Boolean},size:{default:void 0},teleported:{type:Boolean,default:!0},appendTo:{default:"body"},popperClass:{default:""},normalizeRangeEndTime:{type:Boolean,default:!1}},emits:["update:modelValue","change","clear","calendar-change","panel-change","visible-change","focus","blur"],setup(l,{expose:s,emit:c}){const d=l,r=c,f=a.useAttrs(),o=a.ref(null),h=a.computed(()=>["qy-date-picker__popper",d.popperClass].filter(Boolean).join(" "));function p(e){return Array.isArray(e)}function m(e){if(e.getHours()!==0||e.getMinutes()!==0||e.getSeconds()!==0||e.getMilliseconds()!==0)return e;const t=new Date(e);return t.setHours(23,59,59,0),t}function g(e){const t=e.match(/(T| )00:00:00(\.000)?(Z|[+-]\d{2}:?\d{2})?$/);return t?e.replace(t[0],`${t[1]}23:59:59${t[2]??""}${t[3]??""}`):e}function i(e){if(!d.normalizeRangeEndTime||!p(e)||e.length<2)return e;const t=e[1];let n=t;if(t instanceof Date?n=m(t):typeof t=="string"&&(n=g(t)),n===t)return e;const u=[...e];return u[1]=n,u}function y(e){r("update:modelValue",i(e))}function P(e){r("change",i(e))}function C(){r("clear")}function b(e){r("calendar-change",e)}function v(e,t,n){if(n===void 0){r("panel-change",e,t);return}r("panel-change",e,t,n)}function z(e){r("visible-change",e)}function V(e){r("focus",e)}function R(e){r("blur",e)}function B(){var e,t;(t=(e=o.value)==null?void 0:e.focus)==null||t.call(e)}function S(){var e,t;(t=(e=o.value)==null?void 0:e.blur)==null||t.call(e)}function $(){var e,t;(t=(e=o.value)==null?void 0:e.handleOpen)==null||t.call(e)}function k(){var e,t;(t=(e=o.value)==null?void 0:e.handleClose)==null||t.call(e)}return s({focus:B,blur:S,open:$,close:k}),(e,t)=>(a.openBlock(),a.createBlock(a.unref(x.ElDatePicker),a.mergeProps({ref_key:"datePickerRef",ref:o,class:"qy-date-picker"},a.unref(f),{"model-value":l.modelValue,type:l.type,placeholder:l.placeholder,"start-placeholder":l.startPlaceholder,"end-placeholder":l.endPlaceholder,"range-separator":l.rangeSeparator,format:l.format,"value-format":l.valueFormat,"default-time":l.defaultTime,"disabled-date":l.disabledDate,shortcuts:l.shortcuts,clearable:l.clearable,disabled:l.disabled,readonly:l.readonly,size:l.size,teleported:l.teleported,"append-to":l.appendTo,"popper-class":h.value,"onUpdate:modelValue":y,onChange:P,onClear:C,onCalendarChange:b,onPanelChange:v,onVisibleChange:z,onFocus:V,onBlur:R}),{default:a.withCtx(n=>[a.renderSlot(e.$slots,"default",a.normalizeProps(a.guardReactiveProps(n)))]),"range-separator":a.withCtx(n=>[a.renderSlot(e.$slots,"range-separator",a.normalizeProps(a.guardReactiveProps(n)))]),"prev-month":a.withCtx(n=>[a.renderSlot(e.$slots,"prev-month",a.normalizeProps(a.guardReactiveProps(n)))]),"next-month":a.withCtx(n=>[a.renderSlot(e.$slots,"next-month",a.normalizeProps(a.guardReactiveProps(n)))]),"prev-year":a.withCtx(n=>[a.renderSlot(e.$slots,"prev-year",a.normalizeProps(a.guardReactiveProps(n)))]),"next-year":a.withCtx(n=>[a.renderSlot(e.$slots,"next-year",a.normalizeProps(a.guardReactiveProps(n)))]),_:3},16,["model-value","type","placeholder","start-placeholder","end-placeholder","range-separator","format","value-format","default-time","disabled-date","shortcuts","clearable","disabled","readonly","size","teleported","append-to","popper-class"]))}});exports._sfc_main=D;
@@ -1,7 +1,6 @@
1
- import { defineComponent as o, computed as a, h as s } from "vue";
2
- import { ElResult as m } from "element-plus";
3
- import { _ as g } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
4
- const u = ["success", "warning", "info", "error"], r = ["401", "403", "404", "500"], v = (t) => t === "class" || t === "style" || t === "id" || t === "role" || t === "title" || t.startsWith("data-") || t.startsWith("aria-"), _ = {
1
+ import { defineComponent as m, computed as a, h as s } from "vue";
2
+ import { ElResult as o } from "element-plus";
3
+ const u = ["success", "warning", "info", "error"], r = ["401", "403", "404", "500"], g = (t) => t === "class" || t === "style" || t === "id" || t === "role" || t === "title" || t.startsWith("data-") || t.startsWith("aria-"), v = {
5
4
  status: {
6
5
  type: String,
7
6
  default: "info",
@@ -23,13 +22,13 @@ const u = ["success", "warning", "info", "error"], r = ["401", "403", "404", "50
23
22
  type: String,
24
23
  default: ""
25
24
  }
26
- }, y = o({
25
+ }, h = m({
27
26
  name: "QyResult",
28
27
  inheritAttrs: !1,
29
- props: _,
28
+ props: v,
30
29
  setup(t, { attrs: l, slots: e }) {
31
30
  const n = a(
32
- () => Object.fromEntries(Object.entries(l).filter(([i]) => v(i)))
31
+ () => Object.fromEntries(Object.entries(l).filter(([i]) => g(i)))
33
32
  ), c = a(() => [
34
33
  "qy-result",
35
34
  `qy-result--${t.status}`,
@@ -63,7 +62,7 @@ const u = ["success", "warning", "info", "error"], r = ["401", "403", "404", "50
63
62
  title: t.title
64
63
  }, [
65
64
  s(
66
- m,
65
+ o,
67
66
  {
68
67
  class: d.value,
69
68
  icon: u.includes(t.status) ? t.status : void 0,
@@ -75,7 +74,7 @@ const u = ["success", "warning", "info", "error"], r = ["401", "403", "404", "50
75
74
  ]);
76
75
  };
77
76
  }
78
- }), b = /* @__PURE__ */ g(y, [["__file", "C:/Users/wzqy/.codex/worktrees/62ec/qy-components/packages/ui/lib/qy-result/index.vue"]]);
77
+ });
79
78
  export {
80
- b as R
79
+ h as _
81
80
  };
@@ -0,0 +1 @@
1
+ "use strict";const c=require("vue"),ee=require("element-plus"),te=c.defineComponent({name:"QyTree",inheritAttrs:!1,__name:"index",props:{data:{default:()=>[]},emptyText:{},nodeKey:{},props:{default:()=>({})},renderAfterExpand:{type:Boolean,default:!0},defaultExpandAll:{type:Boolean},expandOnClickNode:{type:Boolean,default:!0},autoExpandParent:{type:Boolean,default:!0},defaultExpandedKeys:{},accordion:{type:Boolean},indent:{default:18},icon:{},highlightCurrent:{type:Boolean},currentNodeKey:{},showCheckbox:{type:Boolean},checkStrictly:{type:Boolean},checkOnClickNode:{type:Boolean},checkOnClickLeaf:{type:Boolean,default:!0},checkDescendants:{type:Boolean},defaultCheckedKeys:{},filterNodeMethod:{},lazy:{type:Boolean},load:{},draggable:{type:Boolean},allowDrag:{},allowDrop:{}},emits:["node-click","node-contextmenu","current-change","node-expand","node-collapse","check-change","check","node-drag-start","node-drag-enter","node-drag-over","node-drag-leave","node-drag-end","node-drop"],setup(l,{expose:N,emit:y}){const r=l,s=y,C=c.useAttrs(),i=c.ref(),p=Object.freeze([...r.defaultExpandedKeys??[]]),v=Object.freeze([...r.defaultCheckedKeys??[]]),x=c.computed(()=>Object.fromEntries(Object.entries(C).filter(([e])=>e==="class"||e==="style"||e==="id"||e==="title"||e.startsWith("data-")||e.startsWith("aria-"))));function d(e){var n,t,a,o;return Object.freeze({key:e.key??null,parentKey:((n=e.parent)==null?void 0:n.key)??null,data:e.data,label:e.label??String(((a=e.data)==null?void 0:a[typeof((t=r.props)==null?void 0:t.label)=="string"?r.props.label:"label"])??""),level:e.level??0,expanded:e.expanded===!0,checked:e.checked===!0,indeterminate:e.indeterminate===!0,disabled:e.disabled===!0,leaf:e.isLeaf===!0,visible:e.visible!==!1,loading:e.loading===!0,loaded:e.loaded===!0,childCount:((o=e.childNodes)==null?void 0:o.length)??0})}const D=c.computed(()=>{const e=r.props??{};return{...e,...typeof e.label=="function"?{label:n=>{var t;return((t=e.label)==null?void 0:t.call(e,n))??""}}:{},...typeof e.disabled=="function"?{disabled:n=>{var t;return((t=e.disabled)==null?void 0:t.call(e,n))??!1}}:{},...typeof e.isLeaf=="function"?{isLeaf:n=>{var t;return((t=e.isLeaf)==null?void 0:t.call(e,n))??!1}}:{},...typeof e.class=="function"?{class:(n,t)=>{var a;return((a=e.class)==null?void 0:a.call(e,n,d(t)))??""}}:{}}}),m=c.computed(()=>r.filterNodeMethod?(e,n,t)=>{var a;return((a=r.filterNodeMethod)==null?void 0:a.call(r,e,n,d(t)))??!1}:void 0),K=c.computed(()=>r.load?(e,n,t)=>{var a;return(a=r.load)==null?void 0:a.call(r,d(e),n,t)}:void 0);function u(e){var t;return((t=i.value)==null?void 0:t.getNode(e.data))===e?e:null}function g(e){var t;const n=(t=i.value)==null?void 0:t.getNode(e);return(n==null?void 0:n.data)===e?n:null}const b=c.computed(()=>r.allowDrag?e=>{var t;const n=u(e);return n?((t=r.allowDrag)==null?void 0:t.call(r,d(n)))??!1:!1}:void 0),w=c.computed(()=>r.allowDrop?(e,n,t)=>{var h;const a=u(e),o=u(n);return a&&o?((h=r.allowDrop)==null?void 0:h.call(r,d(a),d(o),t==="prev"?"before":t==="next"?"after":"inner"))??!1:!1}:void 0);function E(e){return{checkedKeys:e.checkedKeys??[],checkedNodes:e.checkedNodes??[],halfCheckedKeys:e.halfCheckedKeys??[],halfCheckedNodes:e.halfCheckedNodes??[]}}function ne(e){return e}function B(e,n,t,a){const o=u(n);o&&s("node-click",o.data,d(o),a)}function O(e,n,t){const a=u(t);a&&s("node-contextmenu",e,a.data,d(a))}function A(e,n){if(e===null&&n===null){s("current-change",null,null);return}const t=n?u(n):g(e);t&&s("current-change",t.data,n?d(t):null)}function L(e,n){const t=u(n);t&&s("node-expand",t.data,d(t))}function P(e,n){const t=u(n);t&&s("node-collapse",t.data,d(t))}function S(e,n,t){const a=g(e);a&&s("check-change",a.data,n,t)}function z(e,n){const t=g(e);t&&s("check",t.data,E(n))}function q(e,n){const t=u(e);t&&s("node-drag-start",d(t),n)}function H(e,n,t){const a=u(e),o=u(n);a&&o&&s("node-drag-enter",d(a),d(o),t)}function M(e,n,t){const a=u(e),o=u(n);a&&o&&s("node-drag-over",d(a),d(o),t)}function T(e,n,t){const a=u(e),o=u(n);a&&o&&s("node-drag-leave",d(a),d(o),t)}function j(e,n,t,a){const o=u(e),h=n?u(n):null;o&&(!n||h)&&s("node-drag-end",d(o),h?d(h):null,t,a)}function $(e,n,t,a){const o=u(e),h=u(n);o&&h&&s("node-drop",d(o),d(h),t,a)}function f(e){if(!r.nodeKey)throw new Error(`QyTree.${e} requires nodeKey`)}function Q(e){var n;if(!r.filterNodeMethod)throw new Error("QyTree.filter requires filterNodeMethod");(n=i.value)==null||n.filter(e)}function I(e){var t;f("getNode");const n=(t=i.value)==null?void 0:t.getNode(e);return n?d(n):null}function R(e){var n;return f("getNodePath"),((n=i.value)==null?void 0:n.getNodePath(e))??[]}function W(e){var n;return f("getCheckedKeys"),((n=i.value)==null?void 0:n.getCheckedKeys(e))??[]}function F(e,n){var t;return f("getCheckedNodes"),((t=i.value)==null?void 0:t.getCheckedNodes(e,n))??[]}function G(){var e;return f("getHalfCheckedKeys"),((e=i.value)==null?void 0:e.getHalfCheckedKeys())??[]}function J(){var e;return f("getHalfCheckedNodes"),((e=i.value)==null?void 0:e.getHalfCheckedNodes())??[]}function U(e,n,t=!1){var a;f("setChecked"),(a=i.value)==null||a.setChecked(e,n,t)}function V(e,n){var t;f("setCheckedKeys"),(t=i.value)==null||t.setCheckedKeys(e,n)}function X(e,n){var t;f("setCheckedNodes"),(t=i.value)==null||t.setCheckedNodes(e,n)}function k(){var n,t;f("getCurrentKey");const e=((n=i.value)==null?void 0:n.getCurrentKey())??null;return e!==null&&((t=i.value)!=null&&t.getNode(e))?e:null}function Y(){var e;return f("getCurrentNode"),k()===null?null:((e=i.value)==null?void 0:e.getCurrentNode())??null}function Z(e,n=!0){var t;f("setCurrentKey"),(t=i.value)==null||t.setCurrentKey(e,n)}function _(e,n=!0){var t;f("setCurrentNode"),(t=i.value)==null||t.setCurrentNode(e,n)}return N({filter:Q,getNode:I,getNodePath:R,getCheckedKeys:W,getCheckedNodes:F,getHalfCheckedKeys:G,getHalfCheckedNodes:J,setChecked:U,setCheckedKeys:V,setCheckedNodes:X,getCurrentKey:k,getCurrentNode:Y,setCurrentKey:Z,setCurrentNode:_}),(e,n)=>(c.openBlock(),c.createBlock(c.unref(ee.ElTree),c.mergeProps({ref_key:"treeRef",ref:i},x.value,{class:"qy-tree",data:l.data,"empty-text":l.emptyText,"node-key":l.nodeKey,props:D.value,"render-after-expand":l.renderAfterExpand,"default-expand-all":l.defaultExpandAll,"expand-on-click-node":l.expandOnClickNode,"auto-expand-parent":l.autoExpandParent,"default-expanded-keys":c.unref(p),accordion:l.accordion,indent:l.indent,icon:l.icon,"highlight-current":l.highlightCurrent,"current-node-key":l.currentNodeKey,"show-checkbox":l.showCheckbox,"check-strictly":l.checkStrictly,"check-on-click-node":l.checkOnClickNode,"check-on-click-leaf":l.checkOnClickLeaf,"check-descendants":l.checkDescendants,"default-checked-keys":c.unref(v),"filter-node-method":m.value,lazy:l.lazy,load:K.value,draggable:l.draggable,"allow-drag":b.value,"allow-drop":w.value,onNodeClick:B,onNodeContextmenu:O,onCurrentChange:A,onNodeExpand:L,onNodeCollapse:P,onCheckChange:S,onCheck:z,onNodeDragStart:q,onNodeDragEnter:H,onNodeDragOver:M,onNodeDragLeave:T,onNodeDragEnd:j,onNodeDrop:$}),c.createSlots({_:2},[e.$slots.default?{name:"default",fn:c.withCtx(t=>[c.renderSlot(e.$slots,"default",{data:t.data,node:d(t.node)})]),key:"0"}:void 0,e.$slots.empty?{name:"empty",fn:c.withCtx(()=>[c.renderSlot(e.$slots,"empty")]),key:"1"}:void 0]),1040,["data","empty-text","node-key","props","render-after-expand","default-expand-all","expand-on-click-node","auto-expand-parent","default-expanded-keys","accordion","indent","icon","highlight-current","current-node-key","show-checkbox","check-strictly","check-on-click-node","check-on-click-leaf","check-descendants","default-checked-keys","filter-node-method","lazy","load","draggable","allow-drag","allow-drop"]))}});exports._sfc_main=te;
@@ -1,7 +1,6 @@
1
- import { defineComponent as v, computed as b, h as s, unref as o, isVNode as T, Fragment as u } from "vue";
2
- import { ElTabs as g, ElTabPane as P } from "element-plus";
3
- import { _ as V } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
4
- const x = v({
1
+ import { defineComponent as v, computed as b, h as o, unref as i, isVNode as P, Fragment as u } from "vue";
2
+ import { ElTabs as V, ElTabPane as g } from "element-plus";
3
+ const S = v({
5
4
  name: "QyTabs",
6
5
  inheritAttrs: !1,
7
6
  props: {
@@ -21,26 +20,26 @@ const x = v({
21
20
  },
22
21
  emits: ["update:modelValue", "tab-change", "tab-click", "tab-remove", "tab-add", "edit"],
23
22
  setup(t, { attrs: f, emit: l, slots: r }) {
24
- const i = b(
23
+ const d = b(
25
24
  () => Object.fromEntries(
26
25
  Object.entries(f).filter(
27
26
  ([e]) => e === "class" || e === "style" || e === "id" || e === "role" || e === "title" || e.startsWith("data-") || e.startsWith("aria-")
28
27
  )
29
28
  )
30
29
  ), c = b(() => ({
31
- ...i.value,
32
- class: ["qy-tabs", i.value.class]
30
+ ...d.value,
31
+ class: ["qy-tabs", d.value.class]
33
32
  }));
34
33
  function m(e) {
35
- const a = o(e.paneName), n = e.props ?? {};
34
+ const a = i(e.paneName), n = e.props ?? {};
36
35
  return Object.freeze({
37
36
  name: a ?? n.name,
38
37
  label: n.label ?? "",
39
38
  disabled: n.disabled ?? !1,
40
- closable: o(e.isClosable) ?? n.closable ?? !1,
39
+ closable: i(e.isClosable) ?? n.closable ?? !1,
41
40
  lazy: n.lazy ?? !1,
42
- active: o(e.active) ?? !1,
43
- index: o(e.index)
41
+ active: i(e.active) ?? !1,
42
+ index: i(e.index)
44
43
  });
45
44
  }
46
45
  function p(e) {
@@ -53,10 +52,10 @@ const x = v({
53
52
  )
54
53
  );
55
54
  }
56
- function d(e) {
57
- return e.map((a) => T(a) ? p(a) ? s(P, { ...y(a.props), key: a.key ?? void 0 }, a.children) : a.type === u && Array.isArray(a.children) ? s(u, { key: a.key ?? void 0 }, d(a.children)) : a : a);
55
+ function s(e) {
56
+ return e.map((a) => P(a) ? p(a) ? o(g, { ...y(a.props), key: a.key ?? void 0 }, a.children) : a.type === u && Array.isArray(a.children) ? o(u, { key: a.key ?? void 0 }, s(a.children)) : a : a);
58
57
  }
59
- return () => s(g, {
58
+ return () => o(V, {
60
59
  ...c.value,
61
60
  modelValue: t.modelValue,
62
61
  defaultValue: t.defaultValue,
@@ -77,12 +76,12 @@ const x = v({
77
76
  }, {
78
77
  default: () => {
79
78
  var e;
80
- return d(((e = r.default) == null ? void 0 : e.call(r)) ?? []);
79
+ return s(((e = r.default) == null ? void 0 : e.call(r)) ?? []);
81
80
  },
82
81
  "add-icon": r["add-icon"]
83
82
  });
84
83
  }
85
- }), _ = /* @__PURE__ */ V(x, [["__file", "C:/Users/wzqy/.codex/worktrees/62ec/qy-components/packages/ui/lib/qy-tabs/index.vue"]]);
84
+ });
86
85
  export {
87
- _ as T
86
+ S as _
88
87
  };
@@ -0,0 +1 @@
1
+ "use strict";const a=require("vue"),h=require("element-plus"),v=a.defineComponent({name:"QyScrollbar",inheritAttrs:!1,__name:"index",props:{distance:{type:Number,default:0},height:{type:[String,Number],default:""},maxHeight:{type:[String,Number],default:""},native:{type:Boolean,default:!1},wrapStyle:{type:[String,Object,Array,Boolean],default:""},wrapClass:{type:[String,Array],default:""},viewClass:{type:[String,Array],default:""},viewStyle:{type:[String,Object,Array,Boolean],default:""},noresize:{type:Boolean,default:!1},tag:{type:String,default:"div"},always:{type:Boolean,default:!1},minSize:{type:Number,default:20},tabindex:{type:[String,Number],default:void 0},id:{type:String,default:void 0},role:{type:String,default:void 0},ariaLabel:{type:String,default:void 0},ariaOrientation:{type:String,default:void 0}},emits:["scroll","end-reached"],setup(t,{expose:o,emit:c}){const r=c,d=a.useAttrs(),i=a.ref(),u=a.computed(()=>Object.fromEntries(Object.entries(d).filter(([e])=>e==="class"||e==="style"||e==="title"||e.startsWith("data-")||e.startsWith("aria-"))));function f(e){r("scroll",Object.freeze({scrollTop:e.scrollTop,scrollLeft:e.scrollLeft}))}function y(e){r("end-reached",e)}function m(e,l){var n,s;if(typeof e=="number"){typeof l=="number"&&((n=i.value)==null||n.scrollTo(e,l));return}(s=i.value)==null||s.scrollTo(e)}function S(e){var l;(l=i.value)==null||l.setScrollTop(e)}function b(e){var l;(l=i.value)==null||l.setScrollLeft(e)}function g(){var e;(e=i.value)==null||e.update()}return o({scrollTo:m,setScrollTop:S,setScrollLeft:b,update:g}),(e,l)=>(a.openBlock(),a.createBlock(a.unref(h.ElScrollbar),a.mergeProps({ref_key:"scrollbarRef",ref:i},u.value,{class:"qy-scrollbar",distance:t.distance,height:t.height,"max-height":t.maxHeight,native:t.native,"wrap-style":t.wrapStyle,"wrap-class":t.wrapClass,"view-class":t.viewClass,"view-style":t.viewStyle,noresize:t.noresize,tag:t.tag,always:t.always,"min-size":t.minSize,tabindex:t.tabindex,id:t.id,role:t.role,"aria-label":t.ariaLabel,"aria-orientation":t.ariaOrientation,onScroll:f,onEndReached:y}),{default:a.withCtx(()=>[a.renderSlot(e.$slots,"default")]),_:3},16,["distance","height","max-height","native","wrap-style","wrap-class","view-class","view-style","noresize","tag","always","min-size","tabindex","id","role","aria-label","aria-orientation"]))}});exports._sfc_main=v;