@qynpm/ui 1.0.40 → 1.0.42

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-BPnHycGa.cjs +1 -0
  155. package/dist/shared/index-BSTMCPDj.mjs +72 -0
  156. package/dist/shared/index-BhvOSOfi.mjs +766 -0
  157. package/dist/shared/index-BjqJCq-6.mjs +293 -0
  158. package/dist/shared/index-Bq9quq2D.cjs +1 -0
  159. package/dist/shared/index-ByQyMTPg.mjs +285 -0
  160. package/dist/shared/index-CGq7Q_hV.mjs +119 -0
  161. package/dist/shared/{index-D97QYFZw.cjs → index-CUlhX6fW.cjs} +1 -1
  162. package/dist/shared/index-CVWru9T3.cjs +1 -0
  163. package/dist/shared/index-CVYNG8Fc.cjs +1 -0
  164. package/dist/shared/index-CiE6qJCJ.mjs +377 -0
  165. package/dist/shared/index-CnVhquq5.cjs +1 -0
  166. package/dist/shared/index-Co84fsS5.mjs +225 -0
  167. package/dist/shared/index-D27mwR57.cjs +1 -0
  168. package/dist/shared/index-DAztNKSp.cjs +1 -0
  169. package/dist/shared/index-DKw-seoh.cjs +1 -0
  170. package/dist/shared/index-DRIoLeFE.mjs +162 -0
  171. package/dist/shared/index-DRugp8x0.cjs +1 -0
  172. package/dist/shared/index-DTbGlDqr.cjs +1 -0
  173. package/dist/shared/index-DXZ6Y6wd.mjs +107 -0
  174. package/dist/shared/index-DiEag4sK.cjs +1 -0
  175. package/dist/shared/index-DuP-b_eY.cjs +1 -0
  176. package/dist/shared/index-DvFMgAcu.mjs +149 -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-QewoB6N4.mjs +2362 -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-BMZqMPZb.mjs +215 -0
  250. package/dist/shared/index.vue_vue_type_style_index_0_lang-BXAUYDO7.mjs +404 -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-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-D9DraThL.cjs +1 -0
  260. package/dist/shared/index.vue_vue_type_style_index_0_lang-DFAaBzkW.cjs +1 -0
  261. package/dist/shared/index.vue_vue_type_style_index_0_lang-DHK86rdP.cjs +1 -0
  262. package/dist/shared/index.vue_vue_type_style_index_0_lang-DSur831A.mjs +68 -0
  263. package/dist/shared/index.vue_vue_type_style_index_0_lang-DVXf-yUs.cjs +1 -0
  264. package/dist/shared/index.vue_vue_type_style_index_0_lang-Da67JRFL.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,149 @@
1
+ import { defineComponent as V, computed as h, ref as w, onBeforeUnmount as I, openBlock as o, createElementBlock as s, normalizeClass as v, createBlock as $, withCtx as T, createElementVNode as l, Fragment as b, renderList as C, normalizeStyle as M, createCommentVNode as m, toDisplayString as y } from "vue";
2
+ import { _ as D } from "./index.vue_vue_type_style_index_0_lang-DsOg_Rum.mjs";
3
+ import { _ as E } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
4
+ const N = { class: "qy-menu-actions__panel" }, U = ["disabled", "data-action-key", "onClick"], W = {
5
+ key: 0,
6
+ class: "qy-menu-actions__loading"
7
+ }, F = {
8
+ key: 0,
9
+ class: "qy-menu-actions__empty"
10
+ }, H = {
11
+ key: 1,
12
+ class: "qy-menu-actions__inline"
13
+ }, K = ["disabled", "data-action-key", "onClick"], P = {
14
+ key: 0,
15
+ class: "qy-menu-actions__loading"
16
+ }, Q = {
17
+ key: 0,
18
+ class: "qy-menu-actions__empty"
19
+ }, j = /* @__PURE__ */ V({
20
+ name: "QyMenuActions",
21
+ __name: "index",
22
+ props: {
23
+ actions: { default: () => [] },
24
+ row: {},
25
+ rowIndex: {},
26
+ context: {},
27
+ mode: { default: "inline" },
28
+ emptyText: { default: "无数据" },
29
+ popoverWidth: { default: 150 },
30
+ confirmMethod: {}
31
+ },
32
+ emits: ["action", "confirm-required"],
33
+ setup(a, { emit: A }) {
34
+ const r = a, g = A, q = h(() => {
35
+ var t, n;
36
+ return {
37
+ ...r.context,
38
+ row: r.row ?? ((t = r.context) == null ? void 0 : t.row),
39
+ rowIndex: r.rowIndex ?? ((n = r.context) == null ? void 0 : n.rowIndex)
40
+ };
41
+ }), p = w(!1), u = w(/* @__PURE__ */ new Set()), z = (t, n) => ({
42
+ ...q.value,
43
+ target: n.currentTarget,
44
+ hide: L,
45
+ setLoading: (e) => S(t, e)
46
+ }), f = (t) => typeof t == "function" ? t(q.value) : !!t, c = h(
47
+ () => r.actions.filter((t) => !f(t.hidden))
48
+ ), B = h(
49
+ () => c.value.some((t) => i(t))
50
+ ), _ = (t) => f(t.disabled) || i(t), i = (t) => u.value.has(t.key) || f(t.loading), k = (t, n) => {
51
+ const e = t.type || n;
52
+ return {
53
+ default: "var(--el-text-color-primary)",
54
+ primary: "var(--el-color-primary)",
55
+ success: "var(--el-color-success)",
56
+ warning: "var(--el-color-warning)",
57
+ danger: "var(--el-color-danger)"
58
+ }[e];
59
+ }, x = async (t, n) => {
60
+ if (n.stopPropagation(), _(t)) return;
61
+ const e = z(t, n);
62
+ if (t.confirm) {
63
+ if (!r.confirmMethod) {
64
+ g("confirm-required", t, e);
65
+ return;
66
+ }
67
+ if (!await r.confirmMethod(t, e)) return;
68
+ }
69
+ g("action", t, e);
70
+ };
71
+ function L() {
72
+ p.value = !1;
73
+ }
74
+ function S(t, n) {
75
+ const e = new Set(u.value);
76
+ n ? e.add(t.key) : e.delete(t.key), u.value = e;
77
+ }
78
+ return I(() => {
79
+ u.value = /* @__PURE__ */ new Set();
80
+ }), (t, n) => (o(), s("div", {
81
+ class: v(["qy-menu-actions", `is-${a.mode}`])
82
+ }, [
83
+ a.mode === "popover" ? (o(), $(D, {
84
+ key: 0,
85
+ open: p.value,
86
+ "onUpdate:open": n[0] || (n[0] = (e) => p.value = e),
87
+ trigger: "hover",
88
+ placement: "left",
89
+ width: a.popoverWidth,
90
+ "hide-delay": B.value ? 999999 : 100,
91
+ "show-arrow": !1
92
+ }, {
93
+ reference: T(() => [...n[1] || (n[1] = [
94
+ l("button", {
95
+ class: "qy-menu-actions__trigger",
96
+ type: "button",
97
+ "aria-label": "行操作"
98
+ }, [
99
+ l("svg", {
100
+ class: "qy-menu-actions__trigger-icon",
101
+ viewBox: "0 0 24 24",
102
+ "aria-hidden": "true"
103
+ }, [
104
+ l("path", {
105
+ fill: "currentColor",
106
+ d: "M8 17q.425 0 .713-.288T9 16q0-.425-.288-.712T8 15q-.425 0-.712.288T7 16q0 .425.288.713T8 17m0-4q.425 0 .713-.288T9 12q0-.425-.288-.712T8 11q-.425 0-.712.288T7 12q0 .425.288.713T8 13m0-4q.425 0 .713-.288T9 8q0-.425-.288-.712T8 7q-.425 0-.712.288T7 8q0 .425.288.713T8 9m3 8h6v-2h-6zm0-4h6v-2h-6zm0-4h6V7h-6zM5 21q-.825 0-1.412-.587T3 19V5q0-.825.588-1.412T5 3h14q.825 0 1.413.588T21 5v14q0 .825-.587 1.413T19 21zm0-2h14V5H5z"
107
+ })
108
+ ])
109
+ ], -1)
110
+ ])]),
111
+ default: T(() => [
112
+ l("div", N, [
113
+ (o(!0), s(b, null, C(c.value, (e) => (o(), s("button", {
114
+ key: e.key,
115
+ class: v(["qy-menu-actions__item", [`is-${e.type || "default"}`, { "is-loading": i(e) }]]),
116
+ disabled: _(e),
117
+ "data-action-key": e.key,
118
+ style: M({ color: k(e, "default") }),
119
+ type: "button",
120
+ onClick: (d) => x(e, d)
121
+ }, [
122
+ i(e) ? (o(), s("span", W)) : m("", !0),
123
+ l("span", null, y(e.label), 1)
124
+ ], 14, U))), 128)),
125
+ c.value.length ? m("", !0) : (o(), s("div", F, y(a.emptyText), 1))
126
+ ])
127
+ ]),
128
+ _: 1
129
+ }, 8, ["open", "width", "hide-delay"])) : (o(), s("div", H, [
130
+ (o(!0), s(b, null, C(c.value, (e) => (o(), s("button", {
131
+ key: e.key,
132
+ class: v(["qy-menu-actions__item", [`is-${e.type || "primary"}`, { "is-loading": i(e) }]]),
133
+ disabled: _(e),
134
+ "data-action-key": e.key,
135
+ style: M({ color: k(e, "primary") }),
136
+ type: "button",
137
+ onClick: (d) => x(e, d)
138
+ }, [
139
+ i(e) ? (o(), s("span", P)) : m("", !0),
140
+ l("span", null, y(e.label), 1)
141
+ ], 14, K))), 128)),
142
+ c.value.length ? m("", !0) : (o(), s("span", Q, y(a.emptyText), 1))
143
+ ]))
144
+ ], 2));
145
+ }
146
+ }), R = /* @__PURE__ */ E(j, [["__scopeId", "data-v-18227456"]]);
147
+ export {
148
+ R as M
149
+ };
@@ -0,0 +1 @@
1
+ "use strict";const r=require("vue"),u=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),f=["src","title","loading","sandbox","allow","referrerpolicy","allowfullscreen"],m=r.defineComponent({name:"QyIframe",inheritAttrs:!1,__name:"index",props:{src:{type:String,required:!0},title:{type:String,required:!0},reloadKey:{type:[String,Number],default:void 0},loading:{type:String,default:"eager"},sandbox:{type:String,default:void 0},allow:{type:String,default:void 0},referrerPolicy:{type:String,default:void 0},allowFullscreen:Boolean},emits:["load","error"],setup(e,{emit:n}){const l=e,o=n,a=r.useAttrs(),i=r.computed(()=>l.src.trim().length>0&&l.title.trim().length>0),s=r.computed(()=>Object.fromEntries(Object.entries(a).filter(([t])=>t==="class"||t==="style"||t==="id"||t==="role"||t==="tabindex"||t.startsWith("data-")||t.startsWith("aria-"))));function c(){o("load")}function d(){o("error")}return(t,y)=>i.value?(r.openBlock(),r.createElementBlock("iframe",r.mergeProps({key:e.reloadKey},s.value,{class:"qy-iframe",src:e.src,title:e.title,loading:e.loading,sandbox:e.sandbox,allow:e.allow,referrerpolicy:e.referrerPolicy,allowfullscreen:e.allowFullscreen,onLoad:c,onError:d}),null,16,f)):r.createCommentVNode("",!0)}}),g=u._export_sfc(m,[["__scopeId","data-v-4592cf2b"]]);exports.Iframe=g;
@@ -0,0 +1 @@
1
+ "use strict";const Q=require("./install-c8il9DQv.cjs"),t=require("vue"),T=require("element-plus"),p=t.defineComponent({name:"QyInput",inheritAttrs:!1,__name:"index",props:{modelValue:{default:""},removeSpace:{type:Boolean,default:!1},trimMode:{default:"none"}},emits:["update:modelValue","input","change","focus","blur","clear","enter"],setup(m,{expose:v,emit:h}){const a=m,u=h,V=t.useAttrs(),o=t.ref(null),r=t.ref(i(a.modelValue)),s=t.ref(i(a.modelValue)),l=t.ref("none"),g=t.computed(()=>i(a.modelValue));t.watch(()=>a.modelValue,e=>{const n=i(e);r.value=n,s.value=n,l.value="none"});function i(e){return e==null?"":String(e)}function y(e){return a.removeSpace?e.replace(/\s+/g,""):e}function d(e,n){return a.trimMode!==n?e:e.trim()}function f(e){return y(i(e))}function c(e){r.value=e,s.value=e,u("update:modelValue",e)}function x(e){const n=f(e);c(n),l.value=n===""?"updated":"none"}function S(e){const n=f(e);r.value=n,u("input",n)}function C(e){const n=d(f(e),"change");if(r.value=n,n===""&&l.value==="updated"){l.value="changed",u("change",n);return}n!==s.value&&c(n),l.value=n===""?"changed":"none",u("change",n)}function I(e){u("focus",e)}function w(e){const n=d(r.value,"blur");r.value=n,n!==s.value&&c(n),u("blur",e)}function $(){l.value==="none"?(c(""),u("change","")):l.value==="updated"&&(l.value="changed",u("change","")),l.value="cleared",u("clear")}function k(e){u("enter",e)}function b(){var e,n;(n=(e=o.value)==null?void 0:e.focus)==null||n.call(e)}function q(){var e,n;(n=(e=o.value)==null?void 0:e.blur)==null||n.call(e)}function z(){var e,n;(n=(e=o.value)==null?void 0:e.select)==null||n.call(e)}function B(){var e,n;(n=(e=o.value)==null?void 0:e.clear)==null||n.call(e)}function M(){var e,n;(n=(e=o.value)==null?void 0:e.resizeTextarea)==null||n.call(e)}return v({focus:b,blur:q,select:z,clear:B,resizeTextarea:M}),(e,n)=>(t.openBlock(),t.createBlock(t.unref(T.ElInput),t.mergeProps({ref_key:"inputRef",ref:o,class:"qy-input"},t.unref(V),{"model-value":g.value,"onUpdate:modelValue":x,onInput:S,onChange:C,onFocus:I,onBlur:w,onClear:$,onKeydown:t.withKeys(k,["enter"])}),t.createSlots({_:2},[e.$slots.prefix?{name:"prefix",fn:t.withCtx(()=>[t.renderSlot(e.$slots,"prefix")]),key:"0"}:void 0,e.$slots.suffix?{name:"suffix",fn:t.withCtx(()=>[t.renderSlot(e.$slots,"suffix")]),key:"1"}:void 0,e.$slots.prepend?{name:"prepend",fn:t.withCtx(()=>[t.renderSlot(e.$slots,"prepend")]),key:"2"}:void 0,e.$slots.append?{name:"append",fn:t.withCtx(()=>[t.renderSlot(e.$slots,"append")]),key:"3"}:void 0]),1040,["model-value"]))}}),A=Q.withInstall(p,"QyInput");exports.QyInput=A;exports._sfc_main=p;
@@ -0,0 +1 @@
1
+ "use strict";const e=require("vue"),z=require("./index-Bq9quq2D.cjs"),T=require("./index-CVWru9T3.cjs"),j=require("@vueuse/core"),O=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),N=["fullscreenchange","webkitfullscreenchange"],Q=["requestFullscreen","webkitRequestFullscreen","webkitEnterFullscreen","webkitEnterFullScreen","webkitRequestFullScreen","mozRequestFullScreen","msRequestFullscreen"],U=["exitFullscreen","webkitExitFullscreen","webkitExitFullScreen","webkitCancelFullScreen","mozCancelFullScreen","msExitFullscreen"];function V(t,l,i){const s=C(),a=e.ref(null),c=e.ref(!1),p=e.ref(!1);let u=null,f=!1;const b=e.computed(()=>E(t.value)),g=e.computed(()=>(a.value||b.value)??void 0),x=j.useFullscreen(g),w=e.ref(!1);function F(){w.value=_(a.value||b.value)}function v(){if(f)return;const n=S(s),r=a.value||b.value,d=!!(n&&n===r);d?a.value=n:(!n||n!==a.value)&&(a.value=null),F(),d!==c.value&&(c.value=d,i.onChange(d))}j.useEventListener(s,N,v),e.watch(t,v,{flush:"post"}),v();function y(){if(l.value||c.value)return Promise.resolve(!1);if(u)return u;const n=E(t.value);return n?_(n)?(a.value=n,F(),m(async()=>{try{return await I(n),v(),c.value&&S(s)===n}catch{return a.value=null,v(),o("enter","request-rejected","The browser rejected the fullscreen request.")}})):Promise.resolve(o("enter","unsupported","Fullscreen is not supported by this browser.")):Promise.resolve(o("enter","target-unavailable","Fullscreen target is unavailable."))}function h(){if(l.value||!c.value)return Promise.resolve(!1);if(u)return u;const n=a.value||E(t.value);return n?_(n)?m(async()=>{try{return await R(n),v(),!c.value&&S(s)!==n}catch{return o("exit","request-rejected","The browser rejected the fullscreen request.")}}):Promise.resolve(o("exit","unsupported","Fullscreen is not supported by this browser.")):Promise.resolve(o("exit","target-unavailable","Fullscreen target is unavailable."))}function q(){return u||(c.value?h():y())}function m(n){p.value=!0;const r=n().finally(()=>{p.value=!1,u=null});return u=r,r}function o(n,r,d){const k=Object.freeze({action:n,code:r,message:d});return i.onError(k),!1}async function I(n){const r=P(n);if(r==="requestFullscreen"){await n.requestFullscreen();return}if(x.isSupported.value){await x.enter();return}if(r){await L(n,r);return}throw new Error("Fullscreen request is unavailable.")}async function R(n){var k;const r=s,d=M(r,n);if(d==="exitFullscreen"){await((k=r==null?void 0:r.exitFullscreen)==null?void 0:k.call(r));return}if(d){await L(r,d);return}await x.exit()}return e.onBeforeUnmount(()=>{f=!0}),{isFullscreen:c,isSupported:w,pending:p,enter:y,exit:h,toggle:q}}function C(){return typeof document>"u"?void 0:document}function E(t){var l;return t===null?null:t!==void 0?t:((l=C())==null?void 0:l.documentElement)||null}function S(t){return(t==null?void 0:t.fullscreenElement)||(t==null?void 0:t.webkitFullscreenElement)||null}function _(t){if(!t||t===null)return!1;const l=C();return(l==null?void 0:l.fullscreenEnabled)!==!0?!1:!!(P(t)&&M(l,t))}function P(t){return Q.find(l=>B(t,l))}function M(t,l){return U.find(i=>B(t,i)||B(l,i))}async function L(t,l){const i=t&&t[l];if(typeof i!="function")throw new Error("Fullscreen method is unavailable.");await i.call(t)}function B(t,l){return typeof(t==null?void 0:t[l])=="function"}const Y=e.defineComponent({name:"QyFullscreen",inheritAttrs:!1,__name:"index",props:{target:{},disabled:{type:Boolean,default:!1},size:{default:"default"},enterLabel:{default:"进入全屏"},exitLabel:{default:"退出全屏"},enterIcon:{default:"fullscreen"},exitIcon:{default:"exit-fullscreen"}},emits:["change","error"],setup(t,{expose:l,emit:i}){const s=t,a=i,c=e.useSlots(),p=e.inject(T.QY_ICON_REGISTRY_KEY,null),u=V(e.toRef(s,"target"),e.toRef(s,"disabled"),{onChange:o=>a("change",o),onError:o=>a("error",o)}),f=u.isFullscreen,b=u.pending,g=e.computed(()=>f.value?s.exitLabel:s.enterLabel),x=e.computed(()=>f.value?s.exitIcon:s.enterIcon),w=e.computed(()=>f.value?"exit-icon":"enter-icon"),F=e.computed(()=>!!c[w.value]),v=e.computed(()=>p==null?void 0:p.resolve(x.value)),y=e.computed(()=>F.value||!!v.value),h=e.computed(()=>({small:"sm",default:"md",large:"lg"})[s.size]),q=e.computed(()=>s.disabled||!u.isSupported.value||b.value);function m(){u.toggle()}return l({enter:u.enter,exit:u.exit,toggle:u.toggle}),(o,I)=>y.value?(e.openBlock(),e.createBlock(z.Button,{key:0,class:"qy-fullscreen",size:h.value,disabled:q.value,loading:e.unref(b),active:e.unref(f),"icon-only":!0,"aria-label":g.value,"aria-pressed":e.unref(f)?"true":"false",title:g.value,onClick:m},{prefix:e.withCtx(()=>[F.value?e.renderSlot(o.$slots,w.value,{},void 0,!0,0):(e.openBlock(),e.createBlock(T.Icon,{key:1,name:x.value},null,8,["name"]))]),_:3},8,["size","disabled","loading","active","aria-label","aria-pressed","title"])):(e.openBlock(),e.createBlock(z.Button,{key:1,class:"qy-fullscreen",size:h.value,disabled:q.value,loading:e.unref(b),active:e.unref(f),"icon-only":!1,"aria-label":g.value,"aria-pressed":e.unref(f)?"true":"false",title:g.value,onClick:m},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(g.value),1)]),_:1},8,["size","disabled","loading","active","aria-label","aria-pressed","title"]))}}),$=O._export_sfc(Y,[["__scopeId","data-v-228b4148"]]);exports.Fullscreen=$;
@@ -0,0 +1 @@
1
+ "use strict";const v=require("element-plus"),e=require("vue"),z=require("./index-D27mwR57.cjs"),F=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),H={class:"qy-table-column-settings"},K={class:"qy-table-column-settings__table-wrap"},L=["data-testid","onClick"],Q={class:"qy-table-column-settings__side","data-testid":"settings-side-actions"},R={class:"qy-table-column-settings__side-main"},W={key:0,class:"qy-table-column-settings__selected is-empty"},j={key:1,class:"qy-table-column-settings__selected"},A={class:"qy-table-column-settings__side-footer"},G=e.defineComponent({name:"QyTableColumnSettings",__name:"index",props:{modelValue:{type:Boolean},settings:{default:()=>[]},defaultSettings:{default:void 0},title:{default:"列设置"},width:{default:"700px"},showDeleteCache:{type:Boolean,default:!0},unconfigurableTypes:{default:()=>["index","selection","expand","setup"]}},emits:["update:modelValue","confirm","reset","cancel","delete-cache","change"],setup(m,{emit:w}){const c=m,u=w,s=e.ref([]),r=e.ref(""),p=l=>l.map(t=>({...t})),h=()=>{var l;s.value=p(c.settings),r.value=((l=s.value[0])==null?void 0:l.key)||""};e.watch(()=>c.modelValue,l=>{l&&h()},{immediate:!0});const b=()=>{u("change",p(s.value))},f=l=>s.value.find(t=>t.key===l),o=e.computed(()=>f(r.value)),d=e.computed(()=>s.value.findIndex(l=>l.key===r.value)),N=l=>!!(l.type&&c.unconfigurableTypes.includes(l.type)),E=l=>l==="left"?"left":l==="right"?"right":"none",x=l=>l.type==="index"?"序号":l.type==="selection"?"多选":l.type==="expand"?"展开":l.type==="setup"?"设置":l.label||l.prop||l.key,V=l=>{l&&(r.value=l.key)},C=l=>{o.value&&q(o.value.key,l)},q=(l,t)=>{const n=f(l);n&&(n.fixed=t,b())},S=(l,t)=>{const n=f(l);!n||N(n)||(n.visible=t,b())},B=(l,t)=>{const n=f(l);n&&(n.width=t,b())},g=(l,t)=>{if(l===t||l<0||l>=s.value.length||t<0||t>=s.value.length)return;const n=[...s.value],[y]=n.splice(l,1);n.splice(t,0,y),s.value=n,r.value=y.key,b()},$=()=>{var t,n;const l=(t=c.defaultSettings)!=null&&t.length?c.defaultSettings:c.settings;s.value=p(l),r.value=((n=s.value[0])==null?void 0:n.key)||"",u("reset",p(s.value)),b()},k=()=>{u("cancel"),u("update:modelValue",!1)},T=()=>{u("confirm",p(s.value)),u("update:modelValue",!1)};return(l,t)=>{const n=v.ElTableColumn,y=v.ElInput,D=v.ElTable,i=v.ElButton,U=v.ElDialog;return e.openBlock(),e.createBlock(U,{"model-value":m.modelValue,title:m.title,width:m.width,"append-to-body":"",onClose:k},{footer:e.withCtx(()=>[e.createVNode(i,{"data-action":"cancel",onClick:k},{default:e.withCtx(()=>[...t[17]||(t[17]=[e.createTextVNode(" 取消 ",-1)])]),_:1}),e.createVNode(i,{type:"primary","data-action":"confirm",onClick:T},{default:e.withCtx(()=>[...t[18]||(t[18]=[e.createTextVNode(" 确定 ",-1)])]),_:1})]),default:e.withCtx(()=>[e.createElementVNode("div",H,[e.createElementVNode("div",K,[e.createVNode(D,{data:s.value,"row-key":"key",height:"400px",border:"","highlight-current-row":"","data-testid":"settings-table",onCurrentChange:V,onRowClick:V},{default:e.withCtx(()=>[e.createVNode(n,{label:"列名",prop:"label","show-overflow-tooltip":""},{default:e.withCtx(({row:a})=>[e.createElementVNode("div",{class:"qy-table-column-settings__name","data-testid":`table-row-${a.key}`,onClick:_=>V(a)},[e.createElementVNode("span",{class:e.normalizeClass(["qy-table-column-settings__fixed-mark",`is-${E(a.fixed)}`]),"aria-hidden":"true"},null,2),e.createElementVNode("span",null,e.toDisplayString(x(a)),1)],8,L)]),_:1}),e.createVNode(n,{label:"列宽(px)",prop:"width",width:"150"},{default:e.withCtx(({row:a})=>[e.createVNode(y,{"model-value":a.width,size:"small",placeholder:"留空自动设置宽度","data-testid":"width","onUpdate:modelValue":_=>B(a.key,_)},null,8,["model-value","onUpdate:modelValue"])]),_:1}),e.createVNode(n,{label:"列显示",prop:"visible",width:"100"},{default:e.withCtx(({row:a})=>[e.createVNode(z.Switch,{"model-value":a.visible,disabled:N(a),"data-testid":"visible-switch","onUpdate:modelValue":_=>S(a.key,!!_)},null,8,["model-value","disabled","onUpdate:modelValue"])]),_:1})]),_:1},8,["data"])]),e.createElementVNode("div",Q,[e.createElementVNode("div",R,[o.value?(e.openBlock(),e.createElementBlock("div",j,e.toDisplayString(x(o.value)),1)):(e.openBlock(),e.createElementBlock("div",W," 请选择列 ")),e.createVNode(i,{class:"qy-table-column-settings__side-button",disabled:!o.value||d.value===0,"data-action":"top",onClick:t[0]||(t[0]=a=>g(d.value,0))},{default:e.withCtx(()=>[...t[8]||(t[8]=[e.createElementVNode("span",{class:"qy-table-column-settings__action-icon is-top"},null,-1),e.createElementVNode("span",null,"置顶",-1)])]),_:1},8,["disabled"]),e.createVNode(i,{class:"qy-table-column-settings__side-button",disabled:!o.value||d.value===0,"data-action":"up",onClick:t[1]||(t[1]=a=>g(d.value,d.value-1))},{default:e.withCtx(()=>[...t[9]||(t[9]=[e.createElementVNode("span",{class:"qy-table-column-settings__action-icon is-up"},null,-1),e.createElementVNode("span",null,"上移",-1)])]),_:1},8,["disabled"]),e.createVNode(i,{class:"qy-table-column-settings__side-button",disabled:!o.value||d.value===s.value.length-1,"data-action":"down",onClick:t[2]||(t[2]=a=>g(d.value,d.value+1))},{default:e.withCtx(()=>[...t[10]||(t[10]=[e.createElementVNode("span",{class:"qy-table-column-settings__action-icon is-down"},null,-1),e.createElementVNode("span",null,"下移",-1)])]),_:1},8,["disabled"]),e.createVNode(i,{class:"qy-table-column-settings__side-button",disabled:!o.value||d.value===s.value.length-1,"data-action":"bottom",onClick:t[3]||(t[3]=a=>g(d.value,s.value.length-1))},{default:e.withCtx(()=>[...t[11]||(t[11]=[e.createElementVNode("span",{class:"qy-table-column-settings__action-icon is-bottom"},null,-1),e.createElementVNode("span",null,"置底",-1)])]),_:1},8,["disabled"]),e.createVNode(i,{class:"qy-table-column-settings__side-button",disabled:!o.value,"data-action":"fixed-left",onClick:t[4]||(t[4]=a=>C("left"))},{default:e.withCtx(()=>[...t[12]||(t[12]=[e.createElementVNode("span",{class:"qy-table-column-settings__action-icon is-fixed-left"},null,-1),e.createElementVNode("span",null,"固定左边",-1)])]),_:1},8,["disabled"]),e.createVNode(i,{class:"qy-table-column-settings__side-button",disabled:!o.value,"data-action":"fixed-right",onClick:t[5]||(t[5]=a=>C("right"))},{default:e.withCtx(()=>[...t[13]||(t[13]=[e.createElementVNode("span",{class:"qy-table-column-settings__action-icon is-fixed-right"},null,-1),e.createElementVNode("span",null,"固定右边",-1)])]),_:1},8,["disabled"]),e.createVNode(i,{class:"qy-table-column-settings__side-button",disabled:!o.value,"data-action":"clear-fixed",onClick:t[6]||(t[6]=a=>C(!1))},{default:e.withCtx(()=>[...t[14]||(t[14]=[e.createElementVNode("span",{class:"qy-table-column-settings__action-icon is-clear-fixed"},null,-1),e.createElementVNode("span",null,"取消固定",-1)])]),_:1},8,["disabled"])]),e.createElementVNode("div",A,[e.createVNode(i,{"data-action":"reset",onClick:$},{default:e.withCtx(()=>[...t[15]||(t[15]=[e.createElementVNode("span",{class:"qy-table-column-settings__action-icon is-reset"},null,-1),e.createElementVNode("span",null,"恢复默认",-1)])]),_:1}),m.showDeleteCache?(e.openBlock(),e.createBlock(i,{key:0,type:"danger",plain:"","data-action":"delete-cache",onClick:t[7]||(t[7]=a=>u("delete-cache"))},{default:e.withCtx(()=>[...t[16]||(t[16]=[e.createElementVNode("span",{class:"qy-table-column-settings__action-icon is-reset"},null,-1),e.createElementVNode("span",null,"删除缓存",-1)])]),_:1})):e.createCommentVNode("",!0)])])])]),_:1},8,["model-value","title","width"])}}}),J=F._export_sfc(G,[["__scopeId","data-v-2f2e5e90"]]);exports.TableColumnSettings=J;