@qynpm/ui 1.0.40 → 1.0.41

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 (422) hide show
  1. package/README.md +1797 -1797
  2. package/dist/index.cjs +19 -19
  3. package/dist/index.mjs +21 -21
  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 -1
  87. package/dist/qy-pagination/index.mjs +1 -1
  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-CBhrdEIf.mjs → index-2D5AFexl.mjs} +1 -1
  147. package/dist/shared/index-8Iwma3ls.mjs +222 -0
  148. package/dist/shared/index-B25yA5j-.mjs +71 -0
  149. package/dist/shared/index-B3GsIwhf.mjs +142 -0
  150. package/dist/shared/index-B3XwO-Lc.mjs +127 -0
  151. package/dist/shared/index-B3YHS3Aa.mjs +54 -0
  152. package/dist/shared/index-BEcS8y8g.mjs +68 -0
  153. package/dist/shared/index-BNssRW4d.mjs +90 -0
  154. package/dist/shared/index-BSTMCPDj.mjs +72 -0
  155. package/dist/shared/index-BhvOSOfi.mjs +766 -0
  156. package/dist/shared/index-BjqJCq-6.mjs +293 -0
  157. package/dist/shared/index-Bq9quq2D.cjs +1 -0
  158. package/dist/shared/index-ByQyMTPg.mjs +285 -0
  159. package/dist/shared/index-CGq7Q_hV.mjs +119 -0
  160. package/dist/shared/{index-D97QYFZw.cjs → index-CUlhX6fW.cjs} +1 -1
  161. package/dist/shared/index-CVWru9T3.cjs +1 -0
  162. package/dist/shared/index-CVYNG8Fc.cjs +1 -0
  163. package/dist/shared/index-CiE6qJCJ.mjs +377 -0
  164. package/dist/shared/index-CnVhquq5.cjs +1 -0
  165. package/dist/shared/index-Co84fsS5.mjs +225 -0
  166. package/dist/shared/index-D27mwR57.cjs +1 -0
  167. package/dist/shared/index-DAztNKSp.cjs +1 -0
  168. package/dist/shared/index-DKw-seoh.cjs +1 -0
  169. package/dist/shared/index-DRIoLeFE.mjs +162 -0
  170. package/dist/shared/index-DRugp8x0.cjs +1 -0
  171. package/dist/shared/index-DTbGlDqr.cjs +1 -0
  172. package/dist/shared/index-DXZ6Y6wd.mjs +107 -0
  173. package/dist/shared/index-DiEag4sK.cjs +1 -0
  174. package/dist/shared/index-DuP-b_eY.cjs +1 -0
  175. package/dist/shared/index-DvFMgAcu.mjs +149 -0
  176. package/dist/shared/index-E3zI0Ugj.mjs +2362 -0
  177. package/dist/shared/index-EIFVul2W.cjs +1 -0
  178. package/dist/shared/index-HNFq7v-A.cjs +1 -0
  179. package/dist/shared/index-Mj7JZt7y.cjs +1 -0
  180. package/dist/shared/index-MyDDX-zj.cjs +1 -0
  181. package/dist/shared/index-R_hSPemR.cjs +1 -0
  182. package/dist/shared/index-d76Z3yrB.cjs +1 -0
  183. package/dist/shared/index-gMrQlV5n.cjs +1 -0
  184. package/dist/shared/index-rSrDnOpu.cjs +1 -0
  185. package/dist/shared/index-zo5J-y0C.mjs +157 -0
  186. package/dist/shared/{index-CCVlab6d.mjs → index.vue_vue_type_script_lang-69zSOotQ.mjs} +10 -11
  187. package/dist/shared/index.vue_vue_type_script_lang-8AT3-xU-.cjs +1 -0
  188. package/dist/shared/{index-EPcAlzgc.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-1Vw54aYL.mjs → index.vue_vue_type_script_lang-BaIOvoQn.mjs} +5 -6
  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-BG3XKumS.mjs → index.vue_vue_type_script_lang-Bk0kLg5l.mjs} +8 -9
  194. package/dist/shared/index.vue_vue_type_script_lang-BkoqbceR.cjs +1 -0
  195. package/dist/shared/index.vue_vue_type_script_lang-BnmY1ndj.mjs +77 -0
  196. package/dist/shared/index.vue_vue_type_script_lang-By3jd4gw.cjs +1 -0
  197. package/dist/shared/{index-Se0xx6vl.mjs → index.vue_vue_type_script_lang-C4JHCuXz.mjs} +13 -14
  198. package/dist/shared/{index-D_Imq4-m.mjs → index.vue_vue_type_script_lang-C9X0V5AK.mjs} +12 -13
  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-CrlLsoRF.mjs → index.vue_vue_type_script_lang-CZK0hDYa.mjs} +20 -21
  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-BPXJkcM1.mjs → index.vue_vue_type_script_lang-D7b9ABei.mjs} +19 -20
  210. package/dist/shared/{index-LDtOVxCE.mjs → index.vue_vue_type_script_lang-D7nzeBUR.mjs} +7 -8
  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-TVUj4Yp4.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-BQzQcTgt.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-B1I7mCIm.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-C96ZaggL.cjs +1 -0
  229. package/dist/shared/index.vue_vue_type_script_setup_true_lang-CKp87br2.cjs +1 -0
  230. package/dist/shared/index.vue_vue_type_script_setup_true_lang-COAUEujY.mjs +48 -0
  231. package/dist/shared/index.vue_vue_type_script_setup_true_lang-CqSJ_8hG.cjs +1 -0
  232. package/dist/shared/index.vue_vue_type_script_setup_true_lang-Cr9PdvyR.cjs +1 -0
  233. package/dist/shared/index.vue_vue_type_script_setup_true_lang-D7BlbHN5.cjs +1 -0
  234. package/dist/shared/index.vue_vue_type_script_setup_true_lang-DIWWHODS.mjs +197 -0
  235. package/dist/shared/index.vue_vue_type_script_setup_true_lang-DUEhuwGQ.cjs +1 -0
  236. package/dist/shared/index.vue_vue_type_script_setup_true_lang-DbLp1kvW.cjs +1 -0
  237. package/dist/shared/index.vue_vue_type_script_setup_true_lang-Dd_nKJvH.mjs +19 -0
  238. package/dist/shared/index.vue_vue_type_script_setup_true_lang-Dn29lZTs.mjs +106 -0
  239. package/dist/shared/index.vue_vue_type_script_setup_true_lang-DwFGEW4B.mjs +143 -0
  240. package/dist/shared/index.vue_vue_type_script_setup_true_lang-EiHoQBXt.mjs +94 -0
  241. package/dist/shared/index.vue_vue_type_script_setup_true_lang-IyZesuKm.mjs +48 -0
  242. package/dist/shared/index.vue_vue_type_script_setup_true_lang-UBQQ6Z03.cjs +1 -0
  243. package/dist/shared/index.vue_vue_type_script_setup_true_lang-ccFLNRry.cjs +1 -0
  244. package/dist/shared/index.vue_vue_type_script_setup_true_lang-r7iyZzDS.mjs +61 -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-B6cv-Ra3.mjs +404 -0
  250. package/dist/shared/index.vue_vue_type_style_index_0_lang-BMZqMPZb.mjs +215 -0
  251. package/dist/shared/index.vue_vue_type_style_index_0_lang-BXTkWo5P.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-CU9gg9t5.cjs +1 -0
  258. package/dist/shared/index.vue_vue_type_style_index_0_lang-CVdFZeHK.mjs +98 -0
  259. package/dist/shared/index.vue_vue_type_style_index_0_lang-CcVf5MXE.mjs +166 -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-DSur831A.mjs +68 -0
  264. package/dist/shared/index.vue_vue_type_style_index_0_lang-DVXf-yUs.cjs +1 -0
  265. package/dist/shared/index.vue_vue_type_style_index_0_lang-DbQkbvgb.mjs +317 -0
  266. package/dist/shared/index.vue_vue_type_style_index_0_lang-DsOg_Rum.mjs +128 -0
  267. package/dist/shared/index.vue_vue_type_style_index_0_lang-KHk9wRYT.mjs +298 -0
  268. package/dist/shared/index.vue_vue_type_style_index_0_lang-OHPkiKBo.cjs +1 -0
  269. package/dist/shared/index.vue_vue_type_style_index_0_lang-RiwA2WPO.cjs +1 -0
  270. package/dist/shared/{index-DZU3jXf9.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-GRwpbz1m.mjs → index.vue_vue_type_style_index_0_lang-gs0YJI91.mjs} +17 -18
  273. package/dist/shared/index.vue_vue_type_style_index_0_lang-hbNK_h45.cjs +1 -0
  274. package/index.d.ts +592 -592
  275. package/package.json +14 -10
  276. package/qy-action-bar/index.d.ts +5 -5
  277. package/qy-aside/index.d.ts +47 -47
  278. package/qy-button/index.d.ts +34 -34
  279. package/qy-checkbox/index.d.ts +45 -45
  280. package/qy-checkbox-group/index.d.ts +48 -48
  281. package/qy-col/index.d.ts +65 -65
  282. package/qy-color-picker/index.d.ts +36 -36
  283. package/qy-container/index.d.ts +49 -49
  284. package/qy-date-picker/index.d.ts +140 -140
  285. package/qy-dropdown/index.d.ts +40 -40
  286. package/qy-file-picker/index.d.ts +48 -48
  287. package/qy-form-section/index.d.ts +5 -5
  288. package/qy-fullscreen/index.d.ts +72 -72
  289. package/qy-icon/index.d.ts +99 -99
  290. package/qy-icon-picker/index.d.ts +56 -56
  291. package/qy-input/index.d.ts +32 -32
  292. package/qy-input-number/index.d.ts +15 -15
  293. package/qy-legacy-selection-dialog/index.d.ts +5 -5
  294. package/qy-main/index.d.ts +45 -45
  295. package/qy-popconfirm/index.d.ts +55 -55
  296. package/qy-popover/index.d.ts +63 -63
  297. package/qy-radio/index.d.ts +44 -44
  298. package/qy-radio-group/index.d.ts +60 -60
  299. package/qy-record-quote-search/index.d.ts +5 -5
  300. package/qy-remark-image/index.d.ts +5 -5
  301. package/qy-remote-select/index.d.ts +12 -12
  302. package/qy-row/index.d.ts +59 -59
  303. package/qy-search-input/index.d.ts +5 -5
  304. package/qy-select/index.d.ts +67 -67
  305. package/qy-selection-dialog/index.d.ts +5 -5
  306. package/qy-statistic/index.d.ts +61 -61
  307. package/qy-switch/index.d.ts +46 -46
  308. package/qy-tag/index.d.ts +44 -44
  309. package/qy-tooltip/index.d.ts +54 -54
  310. package/qy-watermark/index.d.ts +72 -72
  311. package/dist/shared/index-5vWL_IJI.mjs +0 -150
  312. package/dist/shared/index-7fIb2Tqw.mjs +0 -129
  313. package/dist/shared/index-9T0p3USM.cjs +0 -1
  314. package/dist/shared/index-B-zfoMbw.cjs +0 -1
  315. package/dist/shared/index-B1aU9mew.mjs +0 -77
  316. package/dist/shared/index-B26-GlFX.cjs +0 -1
  317. package/dist/shared/index-B63vgrS4.mjs +0 -73
  318. package/dist/shared/index-B97hTd-h.cjs +0 -1
  319. package/dist/shared/index-B9zEH5Yq.cjs +0 -1
  320. package/dist/shared/index-BA_tJgLE.cjs +0 -1
  321. package/dist/shared/index-BBIPQa5N.mjs +0 -76
  322. package/dist/shared/index-BCWvMvRL.cjs +0 -1
  323. package/dist/shared/index-BDJIWxaw.cjs +0 -1
  324. package/dist/shared/index-BFbAB8UH.mjs +0 -307
  325. package/dist/shared/index-BHGDbXoK.mjs +0 -82
  326. package/dist/shared/index-BInkt-Al.cjs +0 -1
  327. package/dist/shared/index-BKEw_9fh.mjs +0 -2660
  328. package/dist/shared/index-BNfu2YgX.mjs +0 -47
  329. package/dist/shared/index-BUSdZ-x8.cjs +0 -1
  330. package/dist/shared/index-BZDbBD41.cjs +0 -1
  331. package/dist/shared/index-Bc1ny9GC.cjs +0 -1
  332. package/dist/shared/index-BcscC86C.mjs +0 -206
  333. package/dist/shared/index-BiowqiSD.cjs +0 -1
  334. package/dist/shared/index-Bpl6Jh4H.cjs +0 -1
  335. package/dist/shared/index-BqojE7aF.cjs +0 -1
  336. package/dist/shared/index-BrZzYI8x.cjs +0 -1
  337. package/dist/shared/index-BsXys36-.cjs +0 -1
  338. package/dist/shared/index-BvmXE8aK.cjs +0 -1
  339. package/dist/shared/index-Bw3nETeY.cjs +0 -1
  340. package/dist/shared/index-BxxuaQGJ.cjs +0 -1
  341. package/dist/shared/index-BxymsnW0.cjs +0 -1
  342. package/dist/shared/index-BzpgGytE.mjs +0 -52
  343. package/dist/shared/index-BzzZmppN.mjs +0 -63
  344. package/dist/shared/index-C0rOcDsc.cjs +0 -1
  345. package/dist/shared/index-C1hAuubZ.mjs +0 -157
  346. package/dist/shared/index-C2BQtQPa.mjs +0 -61
  347. package/dist/shared/index-C62Loq0f.cjs +0 -1
  348. package/dist/shared/index-C7N8x3DK.mjs +0 -206
  349. package/dist/shared/index-C8aLbb8l.cjs +0 -1
  350. package/dist/shared/index-CA279UZp.mjs +0 -87
  351. package/dist/shared/index-CDjAMIpe.cjs +0 -1
  352. package/dist/shared/index-CDleTMJj.mjs +0 -395
  353. package/dist/shared/index-CG4I3nRK.cjs +0 -1
  354. package/dist/shared/index-CHt1R1WD.cjs +0 -1
  355. package/dist/shared/index-CZIsLBLq.cjs +0 -1
  356. package/dist/shared/index-CcEXTVYA.mjs +0 -69
  357. package/dist/shared/index-CedTjtZr.cjs +0 -1
  358. package/dist/shared/index-CgXuleV-.mjs +0 -205
  359. package/dist/shared/index-CkfWS0Ba.cjs +0 -1
  360. package/dist/shared/index-Cm7k9j8a.cjs +0 -1
  361. package/dist/shared/index-CmgT_pgc.mjs +0 -154
  362. package/dist/shared/index-CngdcQWi.cjs +0 -1
  363. package/dist/shared/index-CqdhLbMe.cjs +0 -1
  364. package/dist/shared/index-CsI1WBRp.cjs +0 -1
  365. package/dist/shared/index-CsXA7Qfy.mjs +0 -105
  366. package/dist/shared/index-CsaDF9d4.mjs +0 -175
  367. package/dist/shared/index-CvdUJpAu.mjs +0 -365
  368. package/dist/shared/index-CvfLEIFE.mjs +0 -526
  369. package/dist/shared/index-CwcD7q4B.mjs +0 -446
  370. package/dist/shared/index-D0kCG3Ov.mjs +0 -278
  371. package/dist/shared/index-D1-QYDXi.cjs +0 -1
  372. package/dist/shared/index-D1BK66mG.cjs +0 -1
  373. package/dist/shared/index-D3IHte_d.cjs +0 -1
  374. package/dist/shared/index-D3VO2Ccd.mjs +0 -73
  375. package/dist/shared/index-D5spJ8nj.cjs +0 -1
  376. package/dist/shared/index-D7uPizqd.cjs +0 -1
  377. package/dist/shared/index-D8OJx-hy.mjs +0 -104
  378. package/dist/shared/index-DAiFZxwY.mjs +0 -51
  379. package/dist/shared/index-DBz3lz62.mjs +0 -53
  380. package/dist/shared/index-DCKEecrx.mjs +0 -138
  381. package/dist/shared/index-DCneRuMf.mjs +0 -78
  382. package/dist/shared/index-DD-zKgrO.cjs +0 -1
  383. package/dist/shared/index-DEHvfBYQ.mjs +0 -295
  384. package/dist/shared/index-DF_Q6c4g.mjs +0 -27
  385. package/dist/shared/index-DFeV2CL8.cjs +0 -1
  386. package/dist/shared/index-DIckpqrH.cjs +0 -1
  387. package/dist/shared/index-DKKMSKqm.cjs +0 -1
  388. package/dist/shared/index-DPhYSn9g.mjs +0 -130
  389. package/dist/shared/index-DSq7WIiO.cjs +0 -1
  390. package/dist/shared/index-DTHRZ-aL.mjs +0 -74
  391. package/dist/shared/index-DTqCwGN_.cjs +0 -1
  392. package/dist/shared/index-DVwCIrin.mjs +0 -100
  393. package/dist/shared/index-DbxSDJ7e.mjs +0 -81
  394. package/dist/shared/index-Dc4A_1-H.mjs +0 -53
  395. package/dist/shared/index-Dchy1DNn.mjs +0 -197
  396. package/dist/shared/index-DdKCUobQ.mjs +0 -311
  397. package/dist/shared/index-DdX40CzJ.cjs +0 -1
  398. package/dist/shared/index-DfP6txWq.mjs +0 -198
  399. package/dist/shared/index-Dh_dh3TS.cjs +0 -1
  400. package/dist/shared/index-DjRDV62n.mjs +0 -153
  401. package/dist/shared/index-DpGlBnUl.cjs +0 -1
  402. package/dist/shared/index-DsDUAk2R.cjs +0 -1
  403. package/dist/shared/index-DxUzSONj.cjs +0 -1
  404. package/dist/shared/index-DypZJHmM.cjs +0 -1
  405. package/dist/shared/index-DzCwEfCQ.cjs +0 -1
  406. package/dist/shared/index-Gyu5R4Gn.cjs +0 -1
  407. package/dist/shared/index-IJJI2ylC.mjs +0 -234
  408. package/dist/shared/index-OaA2R7Ur.mjs +0 -369
  409. package/dist/shared/index-S2TDFo5d.cjs +0 -1
  410. package/dist/shared/index-U3c1apvC.cjs +0 -1
  411. package/dist/shared/index-VExJFRrd.mjs +0 -156
  412. package/dist/shared/index-Xw2_Py_V.mjs +0 -63
  413. package/dist/shared/index-ZbSETCxZ.cjs +0 -1
  414. package/dist/shared/index-ZkHMbIv4.cjs +0 -1
  415. package/dist/shared/index-aveXATNw.cjs +0 -1
  416. package/dist/shared/index-byOl9Vtk.cjs +0 -1
  417. package/dist/shared/index-fiuhurmv.cjs +0 -1
  418. package/dist/shared/index-pqwrEshN.cjs +0 -1
  419. package/dist/shared/index-rowlxa3p.mjs +0 -245
  420. package/dist/shared/index-trf8Dvbk.cjs +0 -1
  421. package/dist/shared/index-tsfRa5ze.cjs +0 -1
  422. package/dist/shared/index-uRVIiLjP.mjs +0 -892
@@ -0,0 +1,119 @@
1
+ import { defineComponent as L, ref as g, computed as a, watch as P, openBlock as _, createElementBlock as $, normalizeStyle as N, normalizeClass as Q, createBlock as V, unref as i, withCtx as n, renderSlot as p, createElementVNode as c, createVNode as u, createCommentVNode as j } from "vue";
2
+ import { ElImage as D, ElIcon as w } from "element-plus";
3
+ import { PictureFilled as z } from "@element-plus/icons-vue";
4
+ import { n as I, r as F, o as O } from "./utils-DoyI5oM8.mjs";
5
+ import { _ as R } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
6
+ const U = { class: "qy-image__state qy-image__state--error" }, A = { class: "qy-image__state qy-image__state--empty" }, G = /* @__PURE__ */ L({
7
+ name: "QyImage",
8
+ __name: "index",
9
+ props: {
10
+ src: { default: "" },
11
+ width: {},
12
+ height: {},
13
+ size: { default: 64 },
14
+ fit: { default: "cover" },
15
+ placeholder: { type: Boolean, default: !0 },
16
+ lazy: { type: Boolean, default: !0 },
17
+ compressor: { type: [Boolean, Object], default: !0 },
18
+ preview: { type: Boolean, default: !1 },
19
+ previewList: { default: () => [] },
20
+ initialIndex: { default: 0 }
21
+ },
22
+ emits: ["load", "error", "fallback", "preview"],
23
+ setup(d, { emit: q }) {
24
+ const e = d, s = q, l = g(!1), o = g("");
25
+ let m = 0;
26
+ const f = a(() => I(e.src)), v = a(() => ({
27
+ width: e.width ?? e.size,
28
+ height: e.height ?? e.size
29
+ })), S = a(() => ({
30
+ width: h(v.value.width),
31
+ height: h(v.value.height)
32
+ })), k = a(() => e.placeholder || l.value), y = a(() => e.preview && !!f.value), B = a(() => (e.previewList.length ? e.previewList : [e.src]).map((r) => I(r)).filter(Boolean));
33
+ P(
34
+ () => [e.src, e.compressor],
35
+ E,
36
+ {
37
+ immediate: !0,
38
+ deep: !0
39
+ }
40
+ );
41
+ async function E() {
42
+ const t = ++m;
43
+ if (o.value = "", l.value = !1, !!e.src)
44
+ try {
45
+ const r = await F(e.src, {
46
+ compressor: e.compressor
47
+ });
48
+ if (t !== m) return;
49
+ o.value = r.src, r.source === "fallback" && s("fallback", r.src);
50
+ } catch {
51
+ if (t !== m) return;
52
+ l.value = !1, o.value = f.value;
53
+ }
54
+ }
55
+ function b(t) {
56
+ s("load", t);
57
+ }
58
+ function x(t) {
59
+ l.value = !0, s("error", t);
60
+ }
61
+ function C() {
62
+ y.value && (O({
63
+ urlList: B.value,
64
+ initialIndex: e.initialIndex
65
+ }), s("preview", f.value));
66
+ }
67
+ function h(t) {
68
+ return typeof t == "number" ? `${t}px` : t;
69
+ }
70
+ return (t, r) => (_(), $("div", {
71
+ class: Q(["qy-image", { "qy-image--previewable": y.value }]),
72
+ style: N(S.value),
73
+ onClick: C
74
+ }, [
75
+ o.value && !l.value ? (_(), V(i(D), {
76
+ key: 0,
77
+ class: "qy-image__inner",
78
+ src: o.value,
79
+ fit: d.fit,
80
+ lazy: d.lazy,
81
+ onLoad: b,
82
+ onError: x
83
+ }, {
84
+ placeholder: n(() => [
85
+ p(t.$slots, "placeholder", {}, () => [
86
+ r[0] || (r[0] = c("div", { class: "qy-image__state" }, [
87
+ c("span", { class: "qy-image__loading" })
88
+ ], -1))
89
+ ], !0)
90
+ ]),
91
+ error: n(() => [
92
+ p(t.$slots, "error", {}, () => [
93
+ c("div", U, [
94
+ u(i(w), { size: 20 }, {
95
+ default: n(() => [
96
+ u(i(z))
97
+ ]),
98
+ _: 1
99
+ })
100
+ ])
101
+ ], !0)
102
+ ]),
103
+ _: 3
104
+ }, 8, ["src", "fit", "lazy"])) : k.value ? p(t.$slots, "empty", {}, () => [
105
+ c("div", A, [
106
+ u(i(w), { size: 20 }, {
107
+ default: n(() => [
108
+ u(i(z))
109
+ ]),
110
+ _: 1
111
+ })
112
+ ])
113
+ ], !0, 1) : j("", !0)
114
+ ], 6));
115
+ }
116
+ }), W = /* @__PURE__ */ R(G, [["__scopeId", "data-v-02c4930c"]]);
117
+ export {
118
+ W as I
119
+ };
@@ -1 +1 @@
1
- "use strict";const n=require("./index-B9zEH5Yq.cjs"),c=require("./install-c8il9DQv.cjs"),t=c.withInstall(n.Icon,"QyIcon");exports.QyIcon=t;
1
+ "use strict";const n=require("./index-CVWru9T3.cjs"),c=require("./install-c8il9DQv.cjs"),t=c.withInstall(n.Icon,"QyIcon");exports.QyIcon=t;
@@ -0,0 +1 @@
1
+ "use strict";const t=require("vue"),x=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),Q=Symbol("QyIconRegistry"),I=new WeakMap;function z(e){const r=[],n=new Map;for(const a of(e==null?void 0:e.icons)??[]){const s=h(a==null?void 0:a.name);if(!s)throw new Error("QyIcon definition name must not be empty.");const c=b(s);if(n.has(c))throw new Error(`Duplicate icon name "${s}".`);const i=C(a,s);r.push(i),n.set(c,i)}const l=[],m=new Map;for(const a of j(e==null?void 0:e.aliases)){const s=h(a.name),c=h(a.target),i=b(s),w=b(c);if(!s)throw new Error("QyIcon alias name must not be empty.");if(!c)throw new Error(`QyIcon alias "${s}" target must not be empty.`);if(n.has(i))throw new Error(`Icon alias "${s}" conflicts with a canonical icon name.`);if(m.has(i))throw new Error(`Duplicate icon alias "${s}".`);const v=n.get(w);if(!v)throw new Error(`Icon alias "${s}" target "${c}" not found.`);m.set(i,b(v.name)),l.push(Object.freeze({name:s,target:v.name}))}let u=Object.freeze({definitions:Object.freeze(r),aliases:Object.freeze(l),byName:n,aliasTargets:m}),y,f=!1;const d=()=>{if(!e.loader)return y??(y=Promise.resolve());f=!1;let a;try{a=e.loader()}catch(s){a=Promise.reject(s)}return y=Promise.resolve(a).then(s=>{let c;try{c=z({icons:[...u.definitions,...s.icons],aliases:[...u.aliases,...j(s.aliases)]})}catch(i){const w=i instanceof Error?i.message:String(i);throw new Error(`Icon registry load conflict: ${w}`)}u=I.get(c),I.set(p,u)}).catch(s=>{throw f=!0,s}),y},p=Object.freeze({resolve(a){const s=b(h(a)),c=u.aliasTargets.get(s)??s,i=u.byName.get(c);return i?O(i):void 0},has(a){const s=b(h(a));return u.byName.has(u.aliasTargets.get(s)??s)},list(){return Object.freeze(u.definitions.map(O))},load(){return y??d()},retry(){return f?d():Promise.reject(new Error("QyIcon registry retry is only available after a failed load."))}});return I.set(p,u),p}function B(...e){const r=[],n=[];for(const l of e){const m=I.get(l);if(!m)throw new TypeError("mergeQyIconRegistries accepts only QyIcon registries created by this package.");r.push(...m.definitions),n.push(...m.aliases)}try{return z({icons:r,aliases:n})}catch(l){const m=l instanceof Error?l.message:String(l);throw new Error(`Icon registry merge conflict: ${m}`)}}function P(e){if(!I.has(e))throw new TypeError("createQyIconPlugin accepts only a QyIcon registry created by this package.");return Object.freeze({install(r){r.provide(Q,e)}})}function h(e){const r=typeof e=="string"||typeof e=="number"?String(e).trim():"";if(!r)return"";const n=/^#icon-(.+)$/i.exec(r);if(n)return n[1].trim();const l=/^icon-\[([^\[\]]+?)--([^\[\]]+?)\]$/i.exec(r);return l?`iconify:${l[1]}:${l[2]}`:r}function b(e){return e.toLocaleLowerCase()}function j(e){return e?Array.isArray(e)?[...e]:Object.entries(e).map(([r,n])=>({name:r,target:n})):[]}function C(e,r){const n={...e.label===void 0?{}:{label:K(e.label,r)},...e.keywords===void 0?{}:{keywords:T(e.keywords,r)}};switch(e.source){case"symbol":return k({name:r,source:"symbol",value:_("symbol",e.value,r),...n});case"component":return k({name:r,source:"component",value:_("component",e.value,r),...n});case"class":return k({name:r,source:"class",value:_("class",e.value,r),...n});default:throw new Error(`QyIcon definition "${r}" has unsupported source "${String(e.source)}".`)}}function _(e,r,n){if(e==="symbol"){if(typeof r!="string"||!/^#[^\s#]+$/.test(r))throw new Error(`QyIcon symbol "${n}" must be a same-document #fragment.`);return r}if(e==="component"){if(typeof r!="object"&&typeof r!="function"||r===null)throw new Error(`QyIcon component "${n}" must be a Vue component.`);return r}if(e!=="class")throw new Error(`QyIcon definition "${n}" has unsupported source "${String(e)}".`);if(typeof r!="string"||!r.trim()||!/^[A-Za-z0-9_:.\/\[\]%-]+(?:\s+[A-Za-z0-9_:.\/\[\]%-]+)*$/.test(r.trim()))throw new Error(`QyIcon class "${n}" must be a trusted static class string.`);return r.trim()}function K(e,r){if(typeof e!="string")throw new Error(`QyIcon label "${r}" must be a string.`);return e}function T(e,r){if(!Array.isArray(e)||e.some(n=>typeof n!="string"))throw new Error(`QyIcon keywords "${r}" must be strings.`);return Object.freeze([...e])}function k(e){return e.keywords&&!Object.isFrozen(e.keywords)&&(e={...e,keywords:Object.freeze([...e.keywords])}),Object.freeze(e)}function O(e){return k({...e,...e.keywords?{keywords:[...e.keywords]}:{}})}const q=["role","aria-label","aria-hidden","data-qy-icon-missing"],D={key:1,"aria-hidden":"true",focusable:"false"},L=["href","xlink:href"],V=t.defineComponent({name:"QyIcon",inheritAttrs:!1,__name:"index",props:{name:{},icon:{},size:{default:"1em"},color:{default:"currentColor"},spin:{type:Boolean,default:!1},label:{}},setup(e){const r=e,n=t.useAttrs(),l=t.useSlots(),m=t.inject(Q,null),u=t.computed(()=>r.icon?t.markRaw(t.toRaw(r.icon)):void 0),y=t.computed(()=>r.name===void 0||r.name===null?"":h(r.name)),f=t.computed(()=>{if(!(r.icon||!m||!y.value))return m.resolve(y.value)}),d=t.ref(null),p=t.computed(()=>!!(!r.icon&&y.value&&!f.value)),a=t.computed(()=>{const o=typeof r.label=="string"?r.label.trim():"";if(o)return o;const g=n["aria-label"];return R(g)?String(g):""}),s=t.computed(()=>a.value?"img":n.role),c=t.computed(()=>N(r.size)),i=t.computed(()=>({width:c.value,height:c.value,fontSize:c.value,color:r.color||"currentColor"})),w=t.computed(()=>{const o={};for(const[g,E]of Object.entries(n))A(g)&&(o[g]=E);return o}),v=t.computed(()=>Object.freeze({name:y.value}));t.watchEffect(()=>{const o=f.value;d.value&&(o==null?void 0:o.source)==="symbol"&&(d.value.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",o.value),d.value.setAttribute("xlink:href",o.value))}),t.watchEffect(()=>{});function N(o){return typeof o=="number"?Number.isFinite(o)&&o>0?`${o}px`:"1em":o.trim()||"1em"}function R(o){return typeof o=="string"?o.trim().length>0:o!=null&&o!==!1}function A(o){return o!=="class"&&o!=="style"&&o!=="role"&&o!=="aria-label"&&o!=="aria-hidden"&&o!=="data-qy-icon-missing"&&(o==="id"||o==="title"||o.startsWith("data-")||o.startsWith("aria-"))}return(o,g)=>{var E,$,S;return t.openBlock(),t.createElementBlock("span",t.mergeProps(w.value,{class:["qy-icon",[t.unref(n).class,{"is-spin":r.spin}]],style:[t.unref(n).style,i.value],role:s.value,"aria-label":a.value||void 0,"aria-hidden":a.value?void 0:"true","data-qy-icon-missing":p.value?y.value:void 0}),[u.value?(t.openBlock(),t.createBlock(t.resolveDynamicComponent(u.value),{key:0,"aria-hidden":"true"})):((E=f.value)==null?void 0:E.source)==="symbol"?(t.openBlock(),t.createElementBlock("svg",D,[t.createElementVNode("use",{ref_key:"symbolElement",ref:d,href:f.value.value,"xlink:href":f.value.value},null,8,L)])):(($=f.value)==null?void 0:$.source)==="component"?(t.openBlock(),t.createBlock(t.resolveDynamicComponent(f.value.value),{key:2,"aria-hidden":"true"})):((S=f.value)==null?void 0:S.source)==="class"?(t.openBlock(),t.createElementBlock("span",{key:3,class:t.normalizeClass(["qy-icon__class",f.value.value]),"aria-hidden":"true"},null,2)):p.value&&t.unref(l).fallback?t.renderSlot(o.$slots,"fallback",t.normalizeProps(t.guardReactiveProps(v.value)),void 0,!0,4):t.createCommentVNode("",!0)],16,q)}}}),Y=x._export_sfc(V,[["__scopeId","data-v-d780dc6b"]]);exports.Icon=Y;exports.QY_ICON_REGISTRY_KEY=Q;exports.createQyIconPlugin=P;exports.createQyIconRegistry=z;exports.mergeQyIconRegistries=B;exports.normalizeQyIconName=h;
@@ -0,0 +1 @@
1
+ "use strict";const a=require("vue"),g=require("element-plus"),y=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),V=a.defineComponent({name:"QyRadio",inheritAttrs:!1,__name:"index",props:{modelValue:{type:[Boolean,String,Number]},value:{type:[Boolean,String,Number],default:!0},label:{},disabled:{type:Boolean,default:!1},size:{default:void 0},name:{},border:{type:Boolean,default:!1},id:{},tabindex:{},ariaLabel:{},ariaControls:{}},emits:["update:modelValue","change","focus","blur"],setup(s,{emit:c}){const t=s,o=c,f=a.useAttrs(),m=a.computed(()=>Object.fromEntries(Object.entries(f).filter(([e])=>e==="class"||e==="style"||e==="role"||e==="title"||e.startsWith("data-")||e.startsWith("aria-")))),l=a.computed(()=>t.value),u=a.ref(null);let r=null;const b=a.computed(()=>t.modelValue!==void 0?t.modelValue:l.value===!0?!1:l.value===!1?!0:typeof l.value=="string"?`__qy-radio-unselected__${l.value}`:Number.NaN);a.onMounted(()=>{var e;r=((e=u.value)==null?void 0:e.$el.querySelector("input.el-radio__original"))??null,r==null||r.addEventListener("keydown",d)}),a.onBeforeUnmount(()=>{r==null||r.removeEventListener("keydown",d)});function i(){return!t.disabled&&t.modelValue!==l.value}function p(){i()&&o("update:modelValue",l.value)}function v(){i()&&o("change",l.value)}function d(e){if(e.key!==" "&&e.code!=="Space")return;const n=e.target;!n||n.tagName!=="INPUT"||n.type!=="radio"||n.disabled||n.checked||(e.preventDefault(),n.click())}function _(e){o("focus",e)}function h(e){o("blur",e)}return(e,n)=>(a.openBlock(),a.createBlock(a.unref(g.ElRadio),a.mergeProps({ref_key:"radioRef",ref:u},m.value,{class:"qy-radio","model-value":b.value,value:l.value,label:t.label,disabled:t.disabled,size:t.size,name:t.name,border:t.border,id:t.id,tabindex:t.tabindex,"aria-label":t.ariaLabel,"aria-controls":t.ariaControls,"onUpdate:modelValue":p,onChange:v,onFocusCapture:_,onBlurCapture:h}),{default:a.withCtx(()=>[a.renderSlot(e.$slots,"default",{},()=>[a.createTextVNode(a.toDisplayString(t.label),1)],!0)]),_:3},16,["model-value","value","label","disabled","size","name","border","id","tabindex","aria-label","aria-controls"]))}}),x=y._export_sfc(V,[["__scopeId","data-v-8ee19ef0"]]);exports.Radio=x;
@@ -0,0 +1,377 @@
1
+ import { defineComponent as ue, useAttrs as fe, ref as w, computed as y, watch as he, toRaw as f, openBlock as ye, createBlock as pe, unref as ke, mergeProps as be, createSlots as me, withCtx as p, renderSlot as k } from "vue";
2
+ import { ElTreeSelect as ge } from "element-plus";
3
+ import { _ as ve } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
4
+ const Ce = /* @__PURE__ */ ue({
5
+ name: "QyTreeSelect",
6
+ inheritAttrs: !1,
7
+ __name: "index",
8
+ props: {
9
+ modelValue: { type: [String, Number, Boolean, Object, Array, null], default: void 0 },
10
+ data: { default: void 0 },
11
+ options: { default: () => [] },
12
+ labelKey: { default: "label" },
13
+ valueKey: { default: "value" },
14
+ childrenKey: { default: "children" },
15
+ disabledKey: { default: "disabled" },
16
+ props: { default: () => ({}) },
17
+ nodeKey: { default: void 0 },
18
+ placeholder: { default: "请选择" },
19
+ disabled: { type: Boolean, default: !1 },
20
+ clearable: { type: Boolean, default: !1 },
21
+ filterable: { type: Boolean, default: !1 },
22
+ filterMethod: { type: Function, default: void 0 },
23
+ remote: { type: Boolean, default: !1 },
24
+ remoteMethod: { type: Function, default: void 0 },
25
+ remoteShowSuffix: { type: Boolean, default: !1 },
26
+ loading: { type: Boolean, default: !1 },
27
+ multiple: { type: Boolean, default: !1 },
28
+ multipleLimit: { default: 0 },
29
+ collapseTags: { type: Boolean, default: !1 },
30
+ collapseTagsTooltip: { type: Boolean, default: !1 },
31
+ checkStrictly: { type: Boolean, default: !1 },
32
+ showCheckbox: { type: Boolean, default: !1 },
33
+ defaultExpandAll: { type: Boolean, default: !1 },
34
+ renderAfterExpand: { type: Boolean, default: !0 },
35
+ expandOnClickNode: { type: Boolean, default: !0 },
36
+ checkOnClickNode: { type: Boolean, default: !1 },
37
+ checkOnClickLeaf: { type: Boolean, default: !0 },
38
+ checkDescendants: { type: Boolean, default: !1 },
39
+ defaultExpandedKeys: { default: void 0 },
40
+ defaultCheckedKeys: { default: void 0 },
41
+ accordion: { type: Boolean, default: !1 },
42
+ indent: { default: 18 },
43
+ highlightCurrent: { type: Boolean, default: !1 },
44
+ lazy: { type: Boolean, default: !1 },
45
+ load: { type: Function, default: void 0 },
46
+ cacheData: { default: () => [] },
47
+ filterNodeMethod: { type: Function, default: void 0 },
48
+ size: { default: void 0 },
49
+ teleported: { type: Boolean, default: !0 },
50
+ appendTo: { default: void 0 },
51
+ fitInputWidth: { type: Boolean, default: !1 },
52
+ popperClass: { default: "" }
53
+ },
54
+ emits: ["update:modelValue", "change", "clear", "visible-change", "focus", "blur", "node-click", "node-expand", "node-collapse", "check-change", "check"],
55
+ setup(a, { expose: j, emit: T }) {
56
+ const i = Symbol("invalid-tree-select-value"), n = a, r = T, z = fe(), x = w(null), b = y(() => n.data === void 0 ? n.options : n.data), $ = w(n.defaultExpandedKeys ? [...n.defaultExpandedKeys] : void 0), F = w(n.defaultCheckedKeys ? [...n.defaultCheckedKeys] : void 0);
57
+ let N = /* @__PURE__ */ new WeakSet(), m = /* @__PURE__ */ new Set();
58
+ he(b, (e) => {
59
+ N = /* @__PURE__ */ new WeakSet(), m = /* @__PURE__ */ new Set(), V(e);
60
+ }, { immediate: !0, deep: !1 });
61
+ const W = y(() => Object.fromEntries(Object.entries(z).filter(
62
+ ([e]) => e === "class" || e === "style" || e === "id" || e === "title" || e.startsWith("data-") || e.startsWith("aria-")
63
+ ))), I = y(() => ["qy-tree-select__popper", n.popperClass].filter(Boolean).join(" ")), P = y(() => {
64
+ const e = S(n.modelValue);
65
+ if (e !== i && q(e) && !n.nodeKey)
66
+ throw new Error("QyTreeSelect object values require nodeKey");
67
+ return e === i ? void 0 : re(e);
68
+ }), R = y(() => {
69
+ const e = n.props ?? {};
70
+ return {
71
+ value: h(e.value ?? n.nodeKey ?? n.valueKey),
72
+ label: h(e.label ?? n.labelKey),
73
+ children: h(e.children ?? n.childrenKey),
74
+ disabled: h(e.disabled ?? n.disabledKey),
75
+ isLeaf: h(e.isLeaf),
76
+ class: U(e.class)
77
+ };
78
+ });
79
+ function g(e) {
80
+ return typeof e == "object" && e !== null && !Array.isArray(e);
81
+ }
82
+ function B(e) {
83
+ return typeof e == "string" || typeof e == "number" || typeof e == "boolean" ? e : g(e) ? f(e) : i;
84
+ }
85
+ function S(e) {
86
+ return e == null ? e : Array.isArray(e) ? e.every((t) => B(t) !== i) ? e : i : B(e);
87
+ }
88
+ function q(e) {
89
+ return Array.isArray(e) ? e.some(g) : g(e);
90
+ }
91
+ function v(e) {
92
+ return g(e) ? f(e) : null;
93
+ }
94
+ function V(e) {
95
+ for (const t of e ?? []) L(t);
96
+ }
97
+ function L(e) {
98
+ const t = f(e);
99
+ N.add(t), m.add(t);
100
+ const l = C("children", t);
101
+ if (Array.isArray(l))
102
+ for (const o of l) {
103
+ const d = v(o);
104
+ d && L(d);
105
+ }
106
+ }
107
+ function c(e) {
108
+ const t = v(e);
109
+ return t !== null && N.has(t);
110
+ }
111
+ function C(e, t) {
112
+ var u;
113
+ const l = (u = n.props) == null ? void 0 : u[e], o = e === "value" ? n.valueKey : e === "label" ? n.labelKey : e === "children" ? n.childrenKey : e === "disabled" ? n.disabledKey : void 0, d = l ?? o;
114
+ return typeof d == "function" ? d(t) : typeof d == "string" ? t[d] : void 0;
115
+ }
116
+ function h(e) {
117
+ return typeof e == "function" ? (t) => e(t) : e;
118
+ }
119
+ function U(e) {
120
+ return typeof e != "function" ? e : (t, l) => {
121
+ const o = s(l);
122
+ return o && c(t) ? e(t, o) : "";
123
+ };
124
+ }
125
+ function K(e) {
126
+ return typeof e == "string" || typeof e == "number" ? e : null;
127
+ }
128
+ function s(e) {
129
+ var l;
130
+ if (!e || !c(e.data)) return null;
131
+ const t = v(e.data);
132
+ return t ? Object.freeze({
133
+ key: K(e.key),
134
+ parentKey: K((l = e.parent) == null ? void 0 : l.key),
135
+ data: t,
136
+ label: typeof e.label == "string" ? e.label : String(C("label", t) ?? ""),
137
+ level: typeof e.level == "number" ? e.level : 0,
138
+ expanded: e.expanded === !0,
139
+ checked: e.checked === !0,
140
+ indeterminate: e.indeterminate === !0,
141
+ disabled: e.disabled === !0,
142
+ leaf: e.isLeaf === !0,
143
+ visible: e.visible !== !1,
144
+ loading: e.loading === !0,
145
+ loaded: e.loaded === !0,
146
+ childCount: Array.isArray(e.childNodes) ? e.childNodes.length : 0
147
+ }) : null;
148
+ }
149
+ function Q(e) {
150
+ return Object.freeze({
151
+ key: null,
152
+ parentKey: null,
153
+ data: {},
154
+ label: "",
155
+ level: 0,
156
+ expanded: !1,
157
+ checked: !1,
158
+ indeterminate: !1,
159
+ disabled: !1,
160
+ leaf: !1,
161
+ visible: !0,
162
+ loading: e.loading === !0,
163
+ loaded: e.loaded === !0,
164
+ childCount: Array.isArray(e.childNodes) ? e.childNodes.length : 0
165
+ });
166
+ }
167
+ function G(e, t, l) {
168
+ const o = s(l);
169
+ return !o || !c(t) ? !1 : n.filterNodeMethod ? n.filterNodeMethod(e, t, o) : String(o.label).toLocaleLowerCase().includes(String(e ?? "").toLocaleLowerCase());
170
+ }
171
+ function H(e, t, l) {
172
+ if (!n.load) return t([]);
173
+ const o = e.level === 0 || e.data === void 0 || e.data === null, d = b.value, u = s(e) ?? (o ? Q(e) : null);
174
+ if (!u) return l();
175
+ n.load(u, (M) => {
176
+ (o ? b.value !== d : !c(u.data)) || (V(M), t(M));
177
+ }, l);
178
+ }
179
+ function J(e) {
180
+ const t = S(A(e));
181
+ t !== i && r("update:modelValue", t);
182
+ }
183
+ function X(e) {
184
+ const t = S(A(e));
185
+ t !== i && r("change", t);
186
+ }
187
+ function Y() {
188
+ r("clear");
189
+ }
190
+ function Z(e) {
191
+ r("visible-change", e);
192
+ }
193
+ function _(e) {
194
+ r("focus", e);
195
+ }
196
+ function ee(e) {
197
+ r("blur", e);
198
+ }
199
+ function te(e, t) {
200
+ const l = s(t);
201
+ l && c(e) && r("node-click", e, l);
202
+ }
203
+ function le(e, t) {
204
+ const l = s(t);
205
+ l && c(e) && r("node-expand", e, l);
206
+ }
207
+ function ae(e, t) {
208
+ const l = s(t);
209
+ l && c(e) && r("node-collapse", e, l);
210
+ }
211
+ function ne(e, t, l) {
212
+ c(e) && r("check-change", e, t, l);
213
+ }
214
+ function D(e) {
215
+ return (e ?? []).map(v).filter((t) => t !== null && c(t));
216
+ }
217
+ function E(e) {
218
+ return (e ?? []).map(K).filter((t) => t !== null);
219
+ }
220
+ function oe(e, t) {
221
+ c(e) && r("check", e, {
222
+ checkedKeys: E(t == null ? void 0 : t.checkedKeys),
223
+ checkedNodes: D(t == null ? void 0 : t.checkedNodes),
224
+ halfCheckedKeys: E(t == null ? void 0 : t.halfCheckedKeys),
225
+ halfCheckedNodes: D(t == null ? void 0 : t.halfCheckedNodes)
226
+ });
227
+ }
228
+ function O(e) {
229
+ for (const t of m)
230
+ if (Object.is(f(C("value", t)), f(e))) return t;
231
+ }
232
+ function de(e) {
233
+ if (n.nodeKey) {
234
+ for (const t of m)
235
+ if (Object.is(t[n.nodeKey], e)) return t;
236
+ }
237
+ }
238
+ function re(e) {
239
+ if (!n.nodeKey || e === null || e === void 0) return e;
240
+ const t = (l) => {
241
+ const o = O(l);
242
+ return (o ? K(o[n.nodeKey]) : null) ?? l;
243
+ };
244
+ return Array.isArray(e) ? e.map(t) : t(e);
245
+ }
246
+ function A(e) {
247
+ if (!n.nodeKey) return e;
248
+ const t = (l) => {
249
+ const o = de(l);
250
+ return o ? C("value", o) : l;
251
+ };
252
+ return Array.isArray(e) ? e.map(t) : t(e);
253
+ }
254
+ function ce(e, t) {
255
+ return (e ?? []).flatMap((l) => {
256
+ const o = B(A(l.value));
257
+ if (o === i) return [];
258
+ const d = O(o);
259
+ return [Object.freeze({
260
+ value: o,
261
+ label: typeof l.currentLabel == "string" ? l.currentLabel : String(l.currentLabel ?? ""),
262
+ data: d ? f(d) : void 0,
263
+ closable: l.isDisabled !== !0,
264
+ remove: () => t == null ? void 0 : t(new MouseEvent("click"), l)
265
+ })];
266
+ });
267
+ }
268
+ function ie() {
269
+ var e, t;
270
+ (t = (e = x.value) == null ? void 0 : e.focus) == null || t.call(e);
271
+ }
272
+ function se() {
273
+ var e, t;
274
+ (t = (e = x.value) == null ? void 0 : e.blur) == null || t.call(e);
275
+ }
276
+ return j({ focus: ie, blur: se }), (e, t) => (ye(), pe(ke(ge), be({
277
+ ref_key: "treeSelectRef",
278
+ ref: x,
279
+ class: "qy-tree-select"
280
+ }, W.value, {
281
+ "model-value": P.value,
282
+ data: b.value,
283
+ props: R.value,
284
+ "node-key": a.nodeKey,
285
+ placeholder: a.placeholder,
286
+ disabled: a.disabled,
287
+ clearable: a.clearable,
288
+ filterable: a.filterable,
289
+ "filter-method": a.filterMethod,
290
+ remote: a.remote,
291
+ "remote-method": a.remoteMethod,
292
+ "remote-show-suffix": a.remoteShowSuffix,
293
+ loading: a.loading,
294
+ multiple: a.multiple,
295
+ "multiple-limit": a.multipleLimit,
296
+ "collapse-tags": a.collapseTags,
297
+ "collapse-tags-tooltip": a.collapseTagsTooltip,
298
+ "check-strictly": a.checkStrictly,
299
+ "show-checkbox": a.showCheckbox,
300
+ "default-expand-all": a.defaultExpandAll,
301
+ "render-after-expand": a.renderAfterExpand,
302
+ "expand-on-click-node": a.expandOnClickNode,
303
+ "check-on-click-node": a.checkOnClickNode,
304
+ "check-on-click-leaf": a.checkOnClickLeaf,
305
+ "check-descendants": a.checkDescendants,
306
+ "default-expanded-keys": $.value,
307
+ "default-checked-keys": F.value,
308
+ accordion: a.accordion,
309
+ indent: a.indent,
310
+ "highlight-current": a.highlightCurrent,
311
+ lazy: a.lazy,
312
+ load: H,
313
+ "cache-data": a.cacheData,
314
+ "filter-node-method": G,
315
+ size: a.size,
316
+ teleported: a.teleported,
317
+ "append-to": a.appendTo,
318
+ "fit-input-width": a.fitInputWidth,
319
+ "popper-class": I.value,
320
+ "onUpdate:modelValue": J,
321
+ onChange: X,
322
+ onClear: Y,
323
+ onVisibleChange: Z,
324
+ onFocus: _,
325
+ onBlur: ee,
326
+ onNodeClick: te,
327
+ onNodeExpand: le,
328
+ onNodeCollapse: ae,
329
+ onCheckChange: ne,
330
+ onCheck: oe
331
+ }), me({ _: 2 }, [
332
+ e.$slots.prefix ? {
333
+ name: "prefix",
334
+ fn: p(() => [
335
+ k(e.$slots, "prefix", {}, void 0, !0)
336
+ ]),
337
+ key: "0"
338
+ } : void 0,
339
+ e.$slots.empty ? {
340
+ name: "empty",
341
+ fn: p(() => [
342
+ k(e.$slots, "empty", {}, void 0, !0)
343
+ ]),
344
+ key: "1"
345
+ } : void 0,
346
+ e.$slots.loading ? {
347
+ name: "loading",
348
+ fn: p(() => [
349
+ k(e.$slots, "loading", {}, void 0, !0)
350
+ ]),
351
+ key: "2"
352
+ } : void 0,
353
+ e.$slots.default ? {
354
+ name: "default",
355
+ fn: p((l) => [
356
+ k(e.$slots, "default", {
357
+ data: l.data,
358
+ node: s(l.node)
359
+ }, void 0, !0)
360
+ ]),
361
+ key: "3"
362
+ } : void 0,
363
+ e.$slots.tag ? {
364
+ name: "tag",
365
+ fn: p((l) => [
366
+ k(e.$slots, "tag", {
367
+ data: ce(l.data, l.deleteTag)
368
+ }, void 0, !0)
369
+ ]),
370
+ key: "4"
371
+ } : void 0
372
+ ]), 1040, ["model-value", "data", "props", "node-key", "placeholder", "disabled", "clearable", "filterable", "filter-method", "remote", "remote-method", "remote-show-suffix", "loading", "multiple", "multiple-limit", "collapse-tags", "collapse-tags-tooltip", "check-strictly", "show-checkbox", "default-expand-all", "render-after-expand", "expand-on-click-node", "check-on-click-node", "check-on-click-leaf", "check-descendants", "default-expanded-keys", "default-checked-keys", "accordion", "indent", "highlight-current", "lazy", "cache-data", "size", "teleported", "append-to", "fit-input-width", "popper-class"]));
373
+ }
374
+ }), Be = /* @__PURE__ */ ve(Ce, [["__scopeId", "data-v-daef2030"]]);
375
+ export {
376
+ Be as T
377
+ };
@@ -0,0 +1 @@
1
+ "use strict";const n=require("vue"),re=require("element-plus"),ce=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),ie=n.defineComponent({name:"QyTreeSelect",inheritAttrs:!1,__name:"index",props:{modelValue:{type:[String,Number,Boolean,Object,Array,null],default:void 0},data:{default:void 0},options:{default:()=>[]},labelKey:{default:"label"},valueKey:{default:"value"},childrenKey:{default:"children"},disabledKey:{default:"disabled"},props:{default:()=>({})},nodeKey:{default:void 0},placeholder:{default:"请选择"},disabled:{type:Boolean,default:!1},clearable:{type:Boolean,default:!1},filterable:{type:Boolean,default:!1},filterMethod:{type:Function,default:void 0},remote:{type:Boolean,default:!1},remoteMethod:{type:Function,default:void 0},remoteShowSuffix:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},multiple:{type:Boolean,default:!1},multipleLimit:{default:0},collapseTags:{type:Boolean,default:!1},collapseTagsTooltip:{type:Boolean,default:!1},checkStrictly:{type:Boolean,default:!1},showCheckbox:{type:Boolean,default:!1},defaultExpandAll:{type:Boolean,default:!1},renderAfterExpand:{type:Boolean,default:!0},expandOnClickNode:{type:Boolean,default:!0},checkOnClickNode:{type:Boolean,default:!1},checkOnClickLeaf:{type:Boolean,default:!0},checkDescendants:{type:Boolean,default:!1},defaultExpandedKeys:{default:void 0},defaultCheckedKeys:{default:void 0},accordion:{type:Boolean,default:!1},indent:{default:18},highlightCurrent:{type:Boolean,default:!1},lazy:{type:Boolean,default:!1},load:{type:Function,default:void 0},cacheData:{default:()=>[]},filterNodeMethod:{type:Function,default:void 0},size:{default:void 0},teleported:{type:Boolean,default:!0},appendTo:{default:void 0},fitInputWidth:{type:Boolean,default:!1},popperClass:{default:""}},emits:["update:modelValue","change","clear","visible-change","focus","blur","node-click","node-expand","node-collapse","check-change","check"],setup(a,{expose:D,emit:E}){const u=Symbol("invalid-tree-select-value"),o=a,c=E,O=n.useAttrs(),v=n.ref(null),y=n.computed(()=>o.data===void 0?o.options:o.data),M=n.ref(o.defaultExpandedKeys?[...o.defaultExpandedKeys]:void 0),j=n.ref(o.defaultCheckedKeys?[...o.defaultCheckedKeys]:void 0);let C=new WeakSet,p=new Set;n.watch(y,e=>{C=new WeakSet,p=new Set,S(e)},{immediate:!0,deep:!1});const T=n.computed(()=>Object.fromEntries(Object.entries(O).filter(([e])=>e==="class"||e==="style"||e==="id"||e==="title"||e.startsWith("data-")||e.startsWith("aria-")))),z=n.computed(()=>["qy-tree-select__popper",o.popperClass].filter(Boolean).join(" ")),$=n.computed(()=>{const e=x(o.modelValue);if(e!==u&&F(e)&&!o.nodeKey)throw new Error("QyTreeSelect object values require nodeKey");return e===u?void 0:ae(e)}),R=n.computed(()=>{const e=o.props??{};return{value:h(e.value??o.nodeKey??o.valueKey),label:h(e.label??o.labelKey),children:h(e.children??o.childrenKey),disabled:h(e.disabled??o.disabledKey),isLeaf:h(e.isLeaf),class:q(e.class)}});function k(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}function K(e){return typeof e=="string"||typeof e=="number"||typeof e=="boolean"?e:k(e)?n.toRaw(e):u}function x(e){return e==null?e:Array.isArray(e)?e.every(t=>K(t)!==u)?e:u:K(e)}function F(e){return Array.isArray(e)?e.some(k):k(e)}function b(e){return k(e)?n.toRaw(e):null}function S(e){for(const t of e??[])w(t)}function w(e){const t=n.toRaw(e);C.add(t),p.add(t);const l=m("children",t);if(Array.isArray(l))for(const d of l){const r=b(d);r&&w(r)}}function i(e){const t=b(e);return t!==null&&C.has(t)}function m(e,t){var f;const l=(f=o.props)==null?void 0:f[e],d=e==="value"?o.valueKey:e==="label"?o.labelKey:e==="children"?o.childrenKey:e==="disabled"?o.disabledKey:void 0,r=l??d;return typeof r=="function"?r(t):typeof r=="string"?t[r]:void 0}function h(e){return typeof e=="function"?t=>e(t):e}function q(e){return typeof e!="function"?e:(t,l)=>{const d=s(l);return d&&i(t)?e(t,d):""}}function g(e){return typeof e=="string"||typeof e=="number"?e:null}function s(e){var l;if(!e||!i(e.data))return null;const t=b(e.data);return t?Object.freeze({key:g(e.key),parentKey:g((l=e.parent)==null?void 0:l.key),data:t,label:typeof e.label=="string"?e.label:String(m("label",t)??""),level:typeof e.level=="number"?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:Array.isArray(e.childNodes)?e.childNodes.length:0}):null}function W(e){return Object.freeze({key:null,parentKey:null,data:{},label:"",level:0,expanded:!1,checked:!1,indeterminate:!1,disabled:!1,leaf:!1,visible:!0,loading:e.loading===!0,loaded:e.loaded===!0,childCount:Array.isArray(e.childNodes)?e.childNodes.length:0})}function I(e,t,l){const d=s(l);return!d||!i(t)?!1:o.filterNodeMethod?o.filterNodeMethod(e,t,d):String(d.label).toLocaleLowerCase().includes(String(e??"").toLocaleLowerCase())}function P(e,t,l){if(!o.load)return t([]);const d=e.level===0||e.data===void 0||e.data===null,r=y.value,f=s(e)??(d?W(e):null);if(!f)return l();o.load(f,L=>{(d?y.value!==r:!i(f.data))||(S(L),t(L))},l)}function U(e){const t=x(N(e));t!==u&&c("update:modelValue",t)}function Q(e){const t=x(N(e));t!==u&&c("change",t)}function H(){c("clear")}function G(e){c("visible-change",e)}function J(e){c("focus",e)}function X(e){c("blur",e)}function Y(e,t){const l=s(t);l&&i(e)&&c("node-click",e,l)}function Z(e,t){const l=s(t);l&&i(e)&&c("node-expand",e,l)}function _(e,t){const l=s(t);l&&i(e)&&c("node-collapse",e,l)}function ee(e,t,l){i(e)&&c("check-change",e,t,l)}function B(e){return(e??[]).map(b).filter(t=>t!==null&&i(t))}function A(e){return(e??[]).map(g).filter(t=>t!==null)}function te(e,t){i(e)&&c("check",e,{checkedKeys:A(t==null?void 0:t.checkedKeys),checkedNodes:B(t==null?void 0:t.checkedNodes),halfCheckedKeys:A(t==null?void 0:t.halfCheckedKeys),halfCheckedNodes:B(t==null?void 0:t.halfCheckedNodes)})}function V(e){for(const t of p)if(Object.is(n.toRaw(m("value",t)),n.toRaw(e)))return t}function le(e){if(o.nodeKey){for(const t of p)if(Object.is(t[o.nodeKey],e))return t}}function ae(e){if(!o.nodeKey||e===null||e===void 0)return e;const t=l=>{const d=V(l);return(d?g(d[o.nodeKey]):null)??l};return Array.isArray(e)?e.map(t):t(e)}function N(e){if(!o.nodeKey)return e;const t=l=>{const d=le(l);return d?m("value",d):l};return Array.isArray(e)?e.map(t):t(e)}function ne(e,t){return(e??[]).flatMap(l=>{const d=K(N(l.value));if(d===u)return[];const r=V(d);return[Object.freeze({value:d,label:typeof l.currentLabel=="string"?l.currentLabel:String(l.currentLabel??""),data:r?n.toRaw(r):void 0,closable:l.isDisabled!==!0,remove:()=>t==null?void 0:t(new MouseEvent("click"),l)})]})}function oe(){var e,t;(t=(e=v.value)==null?void 0:e.focus)==null||t.call(e)}function de(){var e,t;(t=(e=v.value)==null?void 0:e.blur)==null||t.call(e)}return D({focus:oe,blur:de}),(e,t)=>(n.openBlock(),n.createBlock(n.unref(re.ElTreeSelect),n.mergeProps({ref_key:"treeSelectRef",ref:v,class:"qy-tree-select"},T.value,{"model-value":$.value,data:y.value,props:R.value,"node-key":a.nodeKey,placeholder:a.placeholder,disabled:a.disabled,clearable:a.clearable,filterable:a.filterable,"filter-method":a.filterMethod,remote:a.remote,"remote-method":a.remoteMethod,"remote-show-suffix":a.remoteShowSuffix,loading:a.loading,multiple:a.multiple,"multiple-limit":a.multipleLimit,"collapse-tags":a.collapseTags,"collapse-tags-tooltip":a.collapseTagsTooltip,"check-strictly":a.checkStrictly,"show-checkbox":a.showCheckbox,"default-expand-all":a.defaultExpandAll,"render-after-expand":a.renderAfterExpand,"expand-on-click-node":a.expandOnClickNode,"check-on-click-node":a.checkOnClickNode,"check-on-click-leaf":a.checkOnClickLeaf,"check-descendants":a.checkDescendants,"default-expanded-keys":M.value,"default-checked-keys":j.value,accordion:a.accordion,indent:a.indent,"highlight-current":a.highlightCurrent,lazy:a.lazy,load:P,"cache-data":a.cacheData,"filter-node-method":I,size:a.size,teleported:a.teleported,"append-to":a.appendTo,"fit-input-width":a.fitInputWidth,"popper-class":z.value,"onUpdate:modelValue":U,onChange:Q,onClear:H,onVisibleChange:G,onFocus:J,onBlur:X,onNodeClick:Y,onNodeExpand:Z,onNodeCollapse:_,onCheckChange:ee,onCheck:te}),n.createSlots({_:2},[e.$slots.prefix?{name:"prefix",fn:n.withCtx(()=>[n.renderSlot(e.$slots,"prefix",{},void 0,!0)]),key:"0"}:void 0,e.$slots.empty?{name:"empty",fn:n.withCtx(()=>[n.renderSlot(e.$slots,"empty",{},void 0,!0)]),key:"1"}:void 0,e.$slots.loading?{name:"loading",fn:n.withCtx(()=>[n.renderSlot(e.$slots,"loading",{},void 0,!0)]),key:"2"}:void 0,e.$slots.default?{name:"default",fn:n.withCtx(l=>[n.renderSlot(e.$slots,"default",{data:l.data,node:s(l.node)},void 0,!0)]),key:"3"}:void 0,e.$slots.tag?{name:"tag",fn:n.withCtx(l=>[n.renderSlot(e.$slots,"tag",{data:ne(l.data,l.deleteTag)},void 0,!0)]),key:"4"}:void 0]),1040,["model-value","data","props","node-key","placeholder","disabled","clearable","filterable","filter-method","remote","remote-method","remote-show-suffix","loading","multiple","multiple-limit","collapse-tags","collapse-tags-tooltip","check-strictly","show-checkbox","default-expand-all","render-after-expand","expand-on-click-node","check-on-click-node","check-on-click-leaf","check-descendants","default-expanded-keys","default-checked-keys","accordion","indent","highlight-current","lazy","cache-data","size","teleported","append-to","fit-input-width","popper-class"]))}}),ue=ce._export_sfc(ie,[["__scopeId","data-v-daef2030"]]);exports.TreeSelect=ue;