@qynpm/ui 1.0.39 → 1.0.40

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (385) hide show
  1. package/dist/index.cjs +19 -19
  2. package/dist/index.mjs +21 -21
  3. package/dist/qy-action-bar/index.cjs +1 -1
  4. package/dist/qy-action-bar/index.mjs +1 -1
  5. package/dist/qy-alert/index.cjs +1 -1
  6. package/dist/qy-alert/index.mjs +4 -4
  7. package/dist/qy-aside/index.cjs +1 -1
  8. package/dist/qy-aside/index.mjs +4 -4
  9. package/dist/qy-autocomplete/index.cjs +1 -1
  10. package/dist/qy-autocomplete/index.mjs +3 -3
  11. package/dist/qy-avatar/index.cjs +1 -1
  12. package/dist/qy-avatar/index.mjs +1 -1
  13. package/dist/qy-badge/index.cjs +1 -1
  14. package/dist/qy-badge/index.mjs +4 -4
  15. package/dist/qy-button/index.cjs +2 -2
  16. package/dist/qy-button/index.mjs +2 -2
  17. package/dist/qy-card/index.cjs +1 -1
  18. package/dist/qy-card/index.mjs +1 -1
  19. package/dist/qy-cascader/index.cjs +1 -1
  20. package/dist/qy-cascader/index.mjs +3 -3
  21. package/dist/qy-checkbox/index.cjs +1 -1
  22. package/dist/qy-checkbox/index.mjs +1 -1
  23. package/dist/qy-checkbox-group/index.cjs +1 -1
  24. package/dist/qy-checkbox-group/index.mjs +4 -4
  25. package/dist/qy-col/index.cjs +1 -1
  26. package/dist/qy-col/index.mjs +4 -4
  27. package/dist/qy-collapse/index.cjs +1 -1
  28. package/dist/qy-collapse/index.mjs +2 -2
  29. package/dist/qy-collapse-item/index.cjs +1 -1
  30. package/dist/qy-collapse-item/index.mjs +5 -5
  31. package/dist/qy-color-picker/index.cjs +1 -1
  32. package/dist/qy-color-picker/index.mjs +4 -4
  33. package/dist/qy-container/index.cjs +1 -1
  34. package/dist/qy-container/index.mjs +3 -3
  35. package/dist/qy-date-picker/index.cjs +1 -1
  36. package/dist/qy-date-picker/index.mjs +1 -1
  37. package/dist/qy-descriptions/index.cjs +1 -1
  38. package/dist/qy-descriptions/index.mjs +1 -1
  39. package/dist/qy-descriptions-item/index.cjs +1 -1
  40. package/dist/qy-descriptions-item/index.mjs +4 -4
  41. package/dist/qy-dialog/index.cjs +1 -1
  42. package/dist/qy-dialog/index.mjs +4 -4
  43. package/dist/qy-divider/index.cjs +1 -1
  44. package/dist/qy-divider/index.mjs +4 -4
  45. package/dist/qy-drawer/index.cjs +1 -1
  46. package/dist/qy-drawer/index.mjs +2 -2
  47. package/dist/qy-dropdown/index.cjs +2 -2
  48. package/dist/qy-dropdown/index.mjs +2 -2
  49. package/dist/qy-empty/index.cjs +1 -1
  50. package/dist/qy-empty/index.mjs +4 -4
  51. package/dist/qy-file-picker/index.cjs +1 -1
  52. package/dist/qy-file-picker/index.mjs +1 -1
  53. package/dist/qy-form-section/index.cjs +1 -1
  54. package/dist/qy-form-section/index.mjs +1 -1
  55. package/dist/qy-fullscreen/index.cjs +1 -1
  56. package/dist/qy-fullscreen/index.mjs +1 -1
  57. package/dist/qy-icon/index.cjs +1 -1
  58. package/dist/qy-icon/index.mjs +2 -2
  59. package/dist/qy-icon-picker/index.cjs +2 -2
  60. package/dist/qy-icon-picker/index.mjs +5 -5
  61. package/dist/qy-iframe/index.cjs +1 -1
  62. package/dist/qy-iframe/index.mjs +1 -1
  63. package/dist/qy-image/index.cjs +1 -1
  64. package/dist/qy-image/index.mjs +1 -1
  65. package/dist/qy-image-preview/index.cjs +1 -1
  66. package/dist/qy-image-preview/index.mjs +1 -1
  67. package/dist/qy-image-upload/index.cjs +1 -1
  68. package/dist/qy-image-upload/index.mjs +1 -1
  69. package/dist/qy-input/index.cjs +1 -1
  70. package/dist/qy-input/index.mjs +1 -1
  71. package/dist/qy-input-number/index.cjs +1 -1
  72. package/dist/qy-input-number/index.mjs +2 -2
  73. package/dist/qy-input-tag/index.cjs +1 -1
  74. package/dist/qy-input-tag/index.mjs +4 -4
  75. package/dist/qy-legacy-selection-dialog/index.cjs +1 -1
  76. package/dist/qy-legacy-selection-dialog/index.mjs +1 -1
  77. package/dist/qy-link/index.cjs +1 -1
  78. package/dist/qy-link/index.mjs +5 -5
  79. package/dist/qy-main/index.cjs +1 -1
  80. package/dist/qy-main/index.mjs +4 -4
  81. package/dist/qy-menu-actions/index.cjs +1 -1
  82. package/dist/qy-menu-actions/index.mjs +1 -1
  83. package/dist/qy-money-input/index.cjs +1 -1
  84. package/dist/qy-money-input/index.mjs +4 -4
  85. package/dist/qy-pagination/index.cjs +1 -1
  86. package/dist/qy-pagination/index.mjs +1 -1
  87. package/dist/qy-popconfirm/index.cjs +1 -1
  88. package/dist/qy-popconfirm/index.mjs +5 -5
  89. package/dist/qy-popover/index.cjs +1 -1
  90. package/dist/qy-popover/index.mjs +4 -4
  91. package/dist/qy-progress/index.cjs +1 -1
  92. package/dist/qy-progress/index.mjs +3 -3
  93. package/dist/qy-radio/index.cjs +1 -1
  94. package/dist/qy-radio/index.mjs +1 -1
  95. package/dist/qy-radio-group/index.cjs +1 -1
  96. package/dist/qy-radio-group/index.mjs +1 -1
  97. package/dist/qy-record-quote-search/index.cjs +1 -1
  98. package/dist/qy-record-quote-search/index.mjs +1 -1
  99. package/dist/qy-remark-image/index.cjs +1 -1
  100. package/dist/qy-remark-image/index.mjs +1 -1
  101. package/dist/qy-remote-select/index.cjs +1 -1
  102. package/dist/qy-remote-select/index.mjs +1 -1
  103. package/dist/qy-result/index.cjs +1 -1
  104. package/dist/qy-result/index.mjs +4 -4
  105. package/dist/qy-row/index.cjs +1 -1
  106. package/dist/qy-row/index.mjs +4 -4
  107. package/dist/qy-scrollbar/index.cjs +1 -1
  108. package/dist/qy-scrollbar/index.mjs +3 -3
  109. package/dist/qy-search-input/index.cjs +1 -1
  110. package/dist/qy-search-input/index.mjs +1 -1
  111. package/dist/qy-select/index.cjs +1 -1
  112. package/dist/qy-select/index.mjs +1 -1
  113. package/dist/qy-selection-dialog/index.cjs +1 -1
  114. package/dist/qy-selection-dialog/index.mjs +1 -1
  115. package/dist/qy-skeleton/index.cjs +1 -1
  116. package/dist/qy-skeleton/index.mjs +4 -4
  117. package/dist/qy-skeleton-item/index.cjs +1 -1
  118. package/dist/qy-skeleton-item/index.mjs +4 -4
  119. package/dist/qy-statistic/index.cjs +1 -1
  120. package/dist/qy-statistic/index.mjs +3 -3
  121. package/dist/qy-step/index.cjs +1 -1
  122. package/dist/qy-step/index.mjs +5 -5
  123. package/dist/qy-steps/index.cjs +1 -1
  124. package/dist/qy-steps/index.mjs +4 -4
  125. package/dist/qy-switch/index.cjs +1 -1
  126. package/dist/qy-switch/index.mjs +1 -1
  127. package/dist/qy-tab-pane/index.cjs +1 -1
  128. package/dist/qy-tab-pane/index.mjs +4 -4
  129. package/dist/qy-table-column-settings/index.cjs +1 -1
  130. package/dist/qy-table-column-settings/index.mjs +1 -1
  131. package/dist/qy-tabs/index.cjs +1 -1
  132. package/dist/qy-tabs/index.mjs +4 -4
  133. package/dist/qy-tag/index.cjs +1 -1
  134. package/dist/qy-tag/index.mjs +1 -1
  135. package/dist/qy-tooltip/index.cjs +1 -1
  136. package/dist/qy-tooltip/index.mjs +4 -4
  137. package/dist/qy-tree/index.cjs +1 -1
  138. package/dist/qy-tree/index.mjs +5 -5
  139. package/dist/qy-tree-select/index.cjs +1 -1
  140. package/dist/qy-tree-select/index.mjs +1 -1
  141. package/dist/qy-upload/index.cjs +1 -1
  142. package/dist/qy-upload/index.mjs +1 -1
  143. package/dist/qy-watermark/index.cjs +1 -1
  144. package/dist/qy-watermark/index.mjs +1 -1
  145. package/dist/shared/{index.vue_vue_type_script_lang-BaIOvoQn.mjs → index-1Vw54aYL.mjs} +6 -5
  146. package/dist/shared/index-5vWL_IJI.mjs +150 -0
  147. package/dist/shared/index-7fIb2Tqw.mjs +129 -0
  148. package/dist/shared/index-9T0p3USM.cjs +1 -0
  149. package/dist/shared/index-B-zfoMbw.cjs +1 -0
  150. package/dist/shared/{index.vue_vue_type_script_lang-chBiq2cG.mjs → index-B1I7mCIm.mjs} +4 -3
  151. package/dist/shared/index-B1aU9mew.mjs +77 -0
  152. package/dist/shared/index-B26-GlFX.cjs +1 -0
  153. package/dist/shared/index-B63vgrS4.mjs +73 -0
  154. package/dist/shared/index-B97hTd-h.cjs +1 -0
  155. package/dist/shared/index-B9zEH5Yq.cjs +1 -0
  156. package/dist/shared/index-BA_tJgLE.cjs +1 -0
  157. package/dist/shared/index-BBIPQa5N.mjs +76 -0
  158. package/dist/shared/index-BCWvMvRL.cjs +1 -0
  159. package/dist/shared/index-BDJIWxaw.cjs +1 -0
  160. package/dist/shared/index-BFbAB8UH.mjs +307 -0
  161. package/dist/shared/{index.vue_vue_type_script_lang-Bk0kLg5l.mjs → index-BG3XKumS.mjs} +9 -8
  162. package/dist/shared/index-BHGDbXoK.mjs +82 -0
  163. package/dist/shared/index-BInkt-Al.cjs +1 -0
  164. package/dist/shared/index-BKEw_9fh.mjs +2660 -0
  165. package/dist/shared/index-BNfu2YgX.mjs +47 -0
  166. package/dist/shared/{index.vue_vue_type_script_lang-D7b9ABei.mjs → index-BPXJkcM1.mjs} +20 -19
  167. package/dist/shared/{index.vue_vue_type_script_lang-Dfq7D3mJ.mjs → index-BQzQcTgt.mjs} +4 -3
  168. package/dist/shared/index-BUSdZ-x8.cjs +1 -0
  169. package/dist/shared/index-BZDbBD41.cjs +1 -0
  170. package/dist/shared/index-Bc1ny9GC.cjs +1 -0
  171. package/dist/shared/index-BcscC86C.mjs +206 -0
  172. package/dist/shared/index-BiowqiSD.cjs +1 -0
  173. package/dist/shared/index-Bpl6Jh4H.cjs +1 -0
  174. package/dist/shared/index-BqojE7aF.cjs +1 -0
  175. package/dist/shared/index-BrZzYI8x.cjs +1 -0
  176. package/dist/shared/index-BsXys36-.cjs +1 -0
  177. package/dist/shared/index-BvmXE8aK.cjs +1 -0
  178. package/dist/shared/index-Bw3nETeY.cjs +1 -0
  179. package/dist/shared/index-BxxuaQGJ.cjs +1 -0
  180. package/dist/shared/index-BxymsnW0.cjs +1 -0
  181. package/dist/shared/index-BzpgGytE.mjs +52 -0
  182. package/dist/shared/index-BzzZmppN.mjs +63 -0
  183. package/dist/shared/index-C0rOcDsc.cjs +1 -0
  184. package/dist/shared/index-C1hAuubZ.mjs +157 -0
  185. package/dist/shared/index-C2BQtQPa.mjs +61 -0
  186. package/dist/shared/index-C62Loq0f.cjs +1 -0
  187. package/dist/shared/index-C7N8x3DK.mjs +206 -0
  188. package/dist/shared/index-C8aLbb8l.cjs +1 -0
  189. package/dist/shared/index-CA279UZp.mjs +87 -0
  190. package/dist/shared/{index-lKF1vwdE.mjs → index-CBhrdEIf.mjs} +1 -1
  191. package/dist/shared/{index.vue_vue_type_script_lang-69zSOotQ.mjs → index-CCVlab6d.mjs} +11 -10
  192. package/dist/shared/index-CDjAMIpe.cjs +1 -0
  193. package/dist/shared/index-CDleTMJj.mjs +395 -0
  194. package/dist/shared/index-CG4I3nRK.cjs +1 -0
  195. package/dist/shared/index-CHt1R1WD.cjs +1 -0
  196. package/dist/shared/index-CZIsLBLq.cjs +1 -0
  197. package/dist/shared/index-CcEXTVYA.mjs +69 -0
  198. package/dist/shared/index-CedTjtZr.cjs +1 -0
  199. package/dist/shared/index-CgXuleV-.mjs +205 -0
  200. package/dist/shared/index-CkfWS0Ba.cjs +1 -0
  201. package/dist/shared/index-Cm7k9j8a.cjs +1 -0
  202. package/dist/shared/index-CmgT_pgc.mjs +154 -0
  203. package/dist/shared/index-CngdcQWi.cjs +1 -0
  204. package/dist/shared/index-CqdhLbMe.cjs +1 -0
  205. package/dist/shared/{index.vue_vue_type_script_lang-CZK0hDYa.mjs → index-CrlLsoRF.mjs} +21 -20
  206. package/dist/shared/index-CsI1WBRp.cjs +1 -0
  207. package/dist/shared/index-CsXA7Qfy.mjs +105 -0
  208. package/dist/shared/index-CsaDF9d4.mjs +175 -0
  209. package/dist/shared/index-CvdUJpAu.mjs +365 -0
  210. package/dist/shared/index-CvfLEIFE.mjs +526 -0
  211. package/dist/shared/index-CwcD7q4B.mjs +446 -0
  212. package/dist/shared/index-D0kCG3Ov.mjs +278 -0
  213. package/dist/shared/index-D1-QYDXi.cjs +1 -0
  214. package/dist/shared/index-D1BK66mG.cjs +1 -0
  215. package/dist/shared/index-D3IHte_d.cjs +1 -0
  216. package/dist/shared/index-D3VO2Ccd.mjs +73 -0
  217. package/dist/shared/index-D5spJ8nj.cjs +1 -0
  218. package/dist/shared/index-D7uPizqd.cjs +1 -0
  219. package/dist/shared/index-D8OJx-hy.mjs +104 -0
  220. package/dist/shared/{index-DYLQNCm_.cjs → index-D97QYFZw.cjs} +1 -1
  221. package/dist/shared/index-DAiFZxwY.mjs +51 -0
  222. package/dist/shared/index-DBz3lz62.mjs +53 -0
  223. package/dist/shared/index-DCKEecrx.mjs +138 -0
  224. package/dist/shared/index-DCneRuMf.mjs +78 -0
  225. package/dist/shared/index-DD-zKgrO.cjs +1 -0
  226. package/dist/shared/index-DEHvfBYQ.mjs +295 -0
  227. package/dist/shared/index-DF_Q6c4g.mjs +27 -0
  228. package/dist/shared/index-DFeV2CL8.cjs +1 -0
  229. package/dist/shared/index-DIckpqrH.cjs +1 -0
  230. package/dist/shared/index-DKKMSKqm.cjs +1 -0
  231. package/dist/shared/index-DPhYSn9g.mjs +130 -0
  232. package/dist/shared/index-DSq7WIiO.cjs +1 -0
  233. package/dist/shared/index-DTHRZ-aL.mjs +74 -0
  234. package/dist/shared/index-DTqCwGN_.cjs +1 -0
  235. package/dist/shared/index-DVwCIrin.mjs +100 -0
  236. package/dist/shared/{index.vue_vue_type_style_index_0_lang-Tzo8o6M8.mjs → index-DZU3jXf9.mjs} +10 -9
  237. package/dist/shared/{index.vue_vue_type_script_lang-C9X0V5AK.mjs → index-D_Imq4-m.mjs} +13 -12
  238. package/dist/shared/index-DbxSDJ7e.mjs +81 -0
  239. package/dist/shared/index-Dc4A_1-H.mjs +53 -0
  240. package/dist/shared/index-Dchy1DNn.mjs +197 -0
  241. package/dist/shared/index-DdKCUobQ.mjs +311 -0
  242. package/dist/shared/index-DdX40CzJ.cjs +1 -0
  243. package/dist/shared/index-DfP6txWq.mjs +198 -0
  244. package/dist/shared/index-Dh_dh3TS.cjs +1 -0
  245. package/dist/shared/index-DjRDV62n.mjs +153 -0
  246. package/dist/shared/index-DpGlBnUl.cjs +1 -0
  247. package/dist/shared/index-DsDUAk2R.cjs +1 -0
  248. package/dist/shared/index-DxUzSONj.cjs +1 -0
  249. package/dist/shared/index-DypZJHmM.cjs +1 -0
  250. package/dist/shared/index-DzCwEfCQ.cjs +1 -0
  251. package/dist/shared/{index.vue_vue_type_script_lang-BGAdXWIL.mjs → index-EPcAlzgc.mjs} +12 -11
  252. package/dist/shared/{index.vue_vue_type_style_index_0_lang-gs0YJI91.mjs → index-GRwpbz1m.mjs} +18 -17
  253. package/dist/shared/index-Gyu5R4Gn.cjs +1 -0
  254. package/dist/shared/index-IJJI2ylC.mjs +234 -0
  255. package/dist/shared/{index.vue_vue_type_script_lang-D7nzeBUR.mjs → index-LDtOVxCE.mjs} +8 -7
  256. package/dist/shared/index-OaA2R7Ur.mjs +369 -0
  257. package/dist/shared/index-S2TDFo5d.cjs +1 -0
  258. package/dist/shared/{index.vue_vue_type_script_lang-C4JHCuXz.mjs → index-Se0xx6vl.mjs} +14 -13
  259. package/dist/shared/{index.vue_vue_type_script_lang-DOOT2grg.mjs → index-TVUj4Yp4.mjs} +11 -10
  260. package/dist/shared/index-U3c1apvC.cjs +1 -0
  261. package/dist/shared/index-VExJFRrd.mjs +156 -0
  262. package/dist/shared/index-Xw2_Py_V.mjs +63 -0
  263. package/dist/shared/index-ZbSETCxZ.cjs +1 -0
  264. package/dist/shared/index-ZkHMbIv4.cjs +1 -0
  265. package/dist/shared/index-aveXATNw.cjs +1 -0
  266. package/dist/shared/index-byOl9Vtk.cjs +1 -0
  267. package/dist/shared/index-fiuhurmv.cjs +1 -0
  268. package/dist/shared/index-pqwrEshN.cjs +1 -0
  269. package/dist/shared/index-rowlxa3p.mjs +245 -0
  270. package/dist/shared/index-trf8Dvbk.cjs +1 -0
  271. package/dist/shared/index-tsfRa5ze.cjs +1 -0
  272. package/dist/shared/index-uRVIiLjP.mjs +892 -0
  273. package/package.json +496 -496
  274. package/dist/shared/index-9GEoEe00.cjs +0 -1
  275. package/dist/shared/index-B25yA5j-.mjs +0 -71
  276. package/dist/shared/index-B3GsIwhf.mjs +0 -142
  277. package/dist/shared/index-BFG8tzQV.mjs +0 -149
  278. package/dist/shared/index-BXWEn5kQ.mjs +0 -766
  279. package/dist/shared/index-Bd_aS-_F.mjs +0 -162
  280. package/dist/shared/index-Br_34fum.cjs +0 -1
  281. package/dist/shared/index-BsDC3meI.cjs +0 -1
  282. package/dist/shared/index-BzjGYfVd.mjs +0 -222
  283. package/dist/shared/index-C1gEZRI5.cjs +0 -1
  284. package/dist/shared/index-CCd7dB4w.cjs +0 -1
  285. package/dist/shared/index-CGq7Q_hV.mjs +0 -119
  286. package/dist/shared/index-CJeoAmoJ.mjs +0 -293
  287. package/dist/shared/index-CiE6qJCJ.mjs +0 -377
  288. package/dist/shared/index-CnVhquq5.cjs +0 -1
  289. package/dist/shared/index-D0hSquu3.cjs +0 -1
  290. package/dist/shared/index-D1Xkf7rL.mjs +0 -107
  291. package/dist/shared/index-D377Dw9z.cjs +0 -1
  292. package/dist/shared/index-D7WmSi5s.mjs +0 -127
  293. package/dist/shared/index-D8OXRBGc.mjs +0 -285
  294. package/dist/shared/index-DQosPVrl.mjs +0 -68
  295. package/dist/shared/index-DRugp8x0.cjs +0 -1
  296. package/dist/shared/index-Db0-JPH3.cjs +0 -1
  297. package/dist/shared/index-DpSbQfft.mjs +0 -90
  298. package/dist/shared/index-Dt5TyzGy.cjs +0 -1
  299. package/dist/shared/index-DuP-b_eY.cjs +0 -1
  300. package/dist/shared/index-Dus42W4E.cjs +0 -1
  301. package/dist/shared/index-EIFVul2W.cjs +0 -1
  302. package/dist/shared/index-G3BezuiV.cjs +0 -1
  303. package/dist/shared/index-GQheV777.mjs +0 -54
  304. package/dist/shared/index-HNFq7v-A.cjs +0 -1
  305. package/dist/shared/index-KNAOQ6lE.mjs +0 -225
  306. package/dist/shared/index-MNEYnZEw.cjs +0 -1
  307. package/dist/shared/index-MPd3qxAh.cjs +0 -1
  308. package/dist/shared/index-_IQS5Lxm.mjs +0 -2362
  309. package/dist/shared/index-elwxiSmc.cjs +0 -1
  310. package/dist/shared/index-nVNx7f9k.mjs +0 -72
  311. package/dist/shared/index-zo5J-y0C.mjs +0 -157
  312. package/dist/shared/index.vue_vue_type_script_lang-8AT3-xU-.cjs +0 -1
  313. package/dist/shared/index.vue_vue_type_script_lang-BO9Ju_i0.cjs +0 -1
  314. package/dist/shared/index.vue_vue_type_script_lang-Bc3tktk9.cjs +0 -1
  315. package/dist/shared/index.vue_vue_type_script_lang-BgapsQjI.cjs +0 -1
  316. package/dist/shared/index.vue_vue_type_script_lang-BkoqbceR.cjs +0 -1
  317. package/dist/shared/index.vue_vue_type_script_lang-BnmY1ndj.mjs +0 -77
  318. package/dist/shared/index.vue_vue_type_script_lang-By3jd4gw.cjs +0 -1
  319. package/dist/shared/index.vue_vue_type_script_lang-CCL57H5c.cjs +0 -1
  320. package/dist/shared/index.vue_vue_type_script_lang-CIOi2ahp.cjs +0 -1
  321. package/dist/shared/index.vue_vue_type_script_lang-CKZUcaZ5.cjs +0 -1
  322. package/dist/shared/index.vue_vue_type_script_lang-CWnNQBPN.mjs +0 -31
  323. package/dist/shared/index.vue_vue_type_script_lang-CfjfZCT3.cjs +0 -1
  324. package/dist/shared/index.vue_vue_type_script_lang-ChS-3_vl.mjs +0 -43
  325. package/dist/shared/index.vue_vue_type_script_lang-Cv4Pf58E.cjs +0 -1
  326. package/dist/shared/index.vue_vue_type_script_lang-CwrbII5c.cjs +0 -1
  327. package/dist/shared/index.vue_vue_type_script_lang-D42aRlO2.cjs +0 -1
  328. package/dist/shared/index.vue_vue_type_script_lang-DIKHRo0o.mjs +0 -72
  329. package/dist/shared/index.vue_vue_type_script_lang-DLmUPDR5.cjs +0 -1
  330. package/dist/shared/index.vue_vue_type_script_lang-DMrpLmWN.cjs +0 -1
  331. package/dist/shared/index.vue_vue_type_script_lang-DRvk4-_O.mjs +0 -43
  332. package/dist/shared/index.vue_vue_type_script_lang-DpSaB5eg.cjs +0 -1
  333. package/dist/shared/index.vue_vue_type_script_lang-WJ63_A7F.cjs +0 -1
  334. package/dist/shared/index.vue_vue_type_script_setup_true_lang-4KZSABSM.cjs +0 -1
  335. package/dist/shared/index.vue_vue_type_script_setup_true_lang-B4JrNUDc.mjs +0 -43
  336. package/dist/shared/index.vue_vue_type_script_setup_true_lang-BJe7Uo6S.mjs +0 -42
  337. package/dist/shared/index.vue_vue_type_script_setup_true_lang-BWi3g3mb.cjs +0 -1
  338. package/dist/shared/index.vue_vue_type_script_setup_true_lang-BXnZt9UT.mjs +0 -63
  339. package/dist/shared/index.vue_vue_type_script_setup_true_lang-Bdz9oDDW.mjs +0 -62
  340. package/dist/shared/index.vue_vue_type_script_setup_true_lang-BiIgNax-.cjs +0 -1
  341. package/dist/shared/index.vue_vue_type_script_setup_true_lang-BnIolx5s.cjs +0 -1
  342. package/dist/shared/index.vue_vue_type_script_setup_true_lang-BvnOeUIM.mjs +0 -61
  343. package/dist/shared/index.vue_vue_type_script_setup_true_lang-C96ZaggL.cjs +0 -1
  344. package/dist/shared/index.vue_vue_type_script_setup_true_lang-CKp87br2.cjs +0 -1
  345. package/dist/shared/index.vue_vue_type_script_setup_true_lang-COAUEujY.mjs +0 -48
  346. package/dist/shared/index.vue_vue_type_script_setup_true_lang-CcbBUYM3.cjs +0 -1
  347. package/dist/shared/index.vue_vue_type_script_setup_true_lang-CqSJ_8hG.cjs +0 -1
  348. package/dist/shared/index.vue_vue_type_script_setup_true_lang-Cr9PdvyR.cjs +0 -1
  349. package/dist/shared/index.vue_vue_type_script_setup_true_lang-Cswf_owk.cjs +0 -1
  350. package/dist/shared/index.vue_vue_type_script_setup_true_lang-D7BlbHN5.cjs +0 -1
  351. package/dist/shared/index.vue_vue_type_script_setup_true_lang-DIWWHODS.mjs +0 -197
  352. package/dist/shared/index.vue_vue_type_script_setup_true_lang-DUEhuwGQ.cjs +0 -1
  353. package/dist/shared/index.vue_vue_type_script_setup_true_lang-Dd_nKJvH.mjs +0 -19
  354. package/dist/shared/index.vue_vue_type_script_setup_true_lang-DwFGEW4B.mjs +0 -143
  355. package/dist/shared/index.vue_vue_type_script_setup_true_lang-EiHoQBXt.mjs +0 -94
  356. package/dist/shared/index.vue_vue_type_script_setup_true_lang-IyZesuKm.mjs +0 -48
  357. package/dist/shared/index.vue_vue_type_script_setup_true_lang-OmrHTMpe.mjs +0 -106
  358. package/dist/shared/index.vue_vue_type_script_setup_true_lang-ccFLNRry.cjs +0 -1
  359. package/dist/shared/index.vue_vue_type_script_setup_true_lang-wG7OTsWa.mjs +0 -331
  360. package/dist/shared/index.vue_vue_type_style_index_0_lang-1cTut9Ql.cjs +0 -1
  361. package/dist/shared/index.vue_vue_type_style_index_0_lang-B1FgJZbw.mjs +0 -148
  362. package/dist/shared/index.vue_vue_type_style_index_0_lang-B2thgQml.cjs +0 -1
  363. package/dist/shared/index.vue_vue_type_style_index_0_lang-BMZqMPZb.mjs +0 -215
  364. package/dist/shared/index.vue_vue_type_style_index_0_lang-BXTkWo5P.cjs +0 -1
  365. package/dist/shared/index.vue_vue_type_style_index_0_lang-BfQd7yxi.cjs +0 -1
  366. package/dist/shared/index.vue_vue_type_style_index_0_lang-BnPRHCwR.cjs +0 -1
  367. package/dist/shared/index.vue_vue_type_style_index_0_lang-BoaO6MKl.cjs +0 -1
  368. package/dist/shared/index.vue_vue_type_style_index_0_lang-C1n-zAZh.mjs +0 -67
  369. package/dist/shared/index.vue_vue_type_style_index_0_lang-C4Yk-UdJ.mjs +0 -172
  370. package/dist/shared/index.vue_vue_type_style_index_0_lang-CPxbKjvY.mjs +0 -286
  371. package/dist/shared/index.vue_vue_type_style_index_0_lang-CVdFZeHK.mjs +0 -98
  372. package/dist/shared/index.vue_vue_type_style_index_0_lang-CcVf5MXE.mjs +0 -166
  373. package/dist/shared/index.vue_vue_type_style_index_0_lang-D2CH70ZX.cjs +0 -1
  374. package/dist/shared/index.vue_vue_type_style_index_0_lang-D9DraThL.cjs +0 -1
  375. package/dist/shared/index.vue_vue_type_style_index_0_lang-DFAaBzkW.cjs +0 -1
  376. package/dist/shared/index.vue_vue_type_style_index_0_lang-DHK86rdP.cjs +0 -1
  377. package/dist/shared/index.vue_vue_type_style_index_0_lang-DOAbOPGO.mjs +0 -403
  378. package/dist/shared/index.vue_vue_type_style_index_0_lang-DSur831A.mjs +0 -68
  379. package/dist/shared/index.vue_vue_type_style_index_0_lang-DVXf-yUs.cjs +0 -1
  380. package/dist/shared/index.vue_vue_type_style_index_0_lang-Daww52B9.mjs +0 -317
  381. package/dist/shared/index.vue_vue_type_style_index_0_lang-DsOg_Rum.mjs +0 -128
  382. package/dist/shared/index.vue_vue_type_style_index_0_lang-KHk9wRYT.mjs +0 -298
  383. package/dist/shared/index.vue_vue_type_style_index_0_lang-RiwA2WPO.cjs +0 -1
  384. package/dist/shared/index.vue_vue_type_style_index_0_lang-WGzoSatU.cjs +0 -1
  385. package/dist/shared/index.vue_vue_type_style_index_0_lang-hbNK_h45.cjs +0 -1
@@ -1,162 +0,0 @@
1
- import { defineComponent as P, useAttrs as R, ref as k, computed as d, onMounted as H, onBeforeUnmount as I, openBlock as i, createElementBlock as l, mergeProps as N, unref as T, renderSlot as s, createElementVNode as u, normalizeProps as A, guardReactiveProps as W, toDisplayString as _, withDirectives as K, normalizeStyle as F, Fragment as M, renderList as Q, normalizeClass as U, createBlock as X, resolveDynamicComponent as Y, createCommentVNode as j, createTextVNode as w, vShow as G, markRaw as J, toRaw as Z } from "vue";
2
- import { _ as ee } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
3
- const te = { class: "qy-dropdown__trigger-label" }, ae = ["aria-hidden"], oe = ["disabled", "title", "data-qy-dropdown-key", "data-danger", "data-active", "data-disabled", "aria-disabled", "onClick"], ne = {
4
- key: 0,
5
- class: "qy-dropdown__item-icon",
6
- "aria-hidden": "true"
7
- }, de = { class: "qy-dropdown__item-label" }, re = {
8
- key: 1,
9
- class: "qy-dropdown__empty"
10
- }, ie = /* @__PURE__ */ P({
11
- name: "QyDropdown",
12
- inheritAttrs: !1,
13
- __name: "index",
14
- props: {
15
- items: { default: () => [] },
16
- disabled: { type: Boolean, default: !1 },
17
- placement: { default: "bottom-end" },
18
- trigger: { default: "click" },
19
- closeOnSelect: { type: Boolean, default: !0 },
20
- panelWidth: {},
21
- width: {},
22
- maxHeight: {},
23
- modelValue: { type: Boolean, default: void 0 },
24
- ariaLabel: {}
25
- },
26
- emits: ["select", "open-change", "update:modelValue"],
27
- setup(c, { emit: C }) {
28
- const t = c, p = C, q = R(), f = k(null), v = k(!1), m = d(() => t.modelValue !== void 0), o = d(() => t.disabled ? !1 : m.value ? !!t.modelValue : v.value), g = d(() => t.items.filter((e) => !e.hidden)), D = d(() => t.panelWidth ?? t.width), x = d(() => [
29
- `qy-dropdown--${t.placement}`,
30
- {
31
- "is-open": o.value,
32
- "is-disabled": t.disabled
33
- }
34
- ]), B = d(() => ({
35
- width: y(D.value),
36
- maxHeight: y(t.maxHeight),
37
- overflowX: "hidden",
38
- overflowY: t.maxHeight ? "auto" : void 0
39
- })), b = d(() => ({
40
- class: [
41
- "qy-dropdown__trigger",
42
- {
43
- "is-open": o.value,
44
- "is-disabled": t.disabled
45
- }
46
- ],
47
- type: "button",
48
- disabled: t.disabled || void 0,
49
- "aria-haspopup": "menu",
50
- "aria-expanded": o.value ? "true" : "false",
51
- "aria-label": t.ariaLabel || void 0,
52
- onClick: S,
53
- onContextmenu: V,
54
- onKeydown: $
55
- }));
56
- function y(e) {
57
- return typeof e == "number" ? `${e}px` : e;
58
- }
59
- function r(e) {
60
- t.disabled || e === o.value || (m.value || (v.value = e), p("update:modelValue", e), p("open-change", e));
61
- }
62
- function S(e) {
63
- t.trigger !== "click" || t.disabled || (e.stopPropagation(), r(!o.value));
64
- }
65
- function V(e) {
66
- t.trigger !== "contextmenu" || t.disabled || (e.preventDefault(), e.stopPropagation(), r(!0));
67
- }
68
- function $(e) {
69
- if (!t.disabled) {
70
- if (e.key === "Escape") {
71
- r(!1);
72
- return;
73
- }
74
- t.trigger === "click" && (e.key === "Enter" || e.key === " ") && (e.preventDefault(), r(!o.value));
75
- }
76
- }
77
- function z(e, n) {
78
- if (e.disabled) {
79
- n.preventDefault();
80
- return;
81
- }
82
- p("select", e), t.closeOnSelect && r(!1);
83
- }
84
- function E(e) {
85
- return {
86
- "is-disabled": e.disabled,
87
- "is-danger": e.danger,
88
- "is-active": e.active,
89
- "is-divided": e.divided
90
- };
91
- }
92
- function L(e) {
93
- return e ? J(Z(e)) : void 0;
94
- }
95
- function h(e) {
96
- var a;
97
- const n = e.target;
98
- !o.value || !(n instanceof Node) || (a = f.value) != null && a.contains(n) || r(!1);
99
- }
100
- return H(() => {
101
- document.addEventListener("click", h);
102
- }), I(() => {
103
- document.removeEventListener("click", h);
104
- }), (e, n) => (i(), l("div", N({
105
- ref_key: "rootRef",
106
- ref: f
107
- }, T(q), {
108
- class: ["qy-dropdown", x.value]
109
- }), [
110
- s(e.$slots, "trigger", {
111
- open: o.value,
112
- disabled: c.disabled,
113
- attrs: b.value
114
- }, () => [
115
- u("button", A(W(b.value)), [
116
- u("span", te, _(c.ariaLabel || "更多"), 1)
117
- ], 16)
118
- ], !0),
119
- K(u("div", {
120
- class: "qy-dropdown__panel",
121
- style: F(B.value),
122
- "aria-hidden": o.value ? void 0 : "true",
123
- role: "menu"
124
- }, [
125
- s(e.$slots, "header", {}, void 0, !0),
126
- g.value.length > 0 ? (i(!0), l(M, { key: 0 }, Q(g.value, (a) => (i(), l("button", {
127
- key: a.key,
128
- type: "button",
129
- class: U(["qy-dropdown__item", E(a)]),
130
- disabled: a.disabled,
131
- title: a.title,
132
- "data-qy-dropdown-key": a.key,
133
- "data-danger": a.danger ? "true" : void 0,
134
- "data-active": a.active ? "true" : void 0,
135
- "data-disabled": a.disabled ? "true" : void 0,
136
- "aria-disabled": a.disabled ? "true" : void 0,
137
- role: "menuitem",
138
- onClick: (O) => z(a, O)
139
- }, [
140
- a.icon ? (i(), l("span", ne, [
141
- (i(), X(Y(L(a.icon))))
142
- ])) : j("", !0),
143
- u("span", de, [
144
- s(e.$slots, "item", { item: a }, () => [
145
- w(_(a.label), 1)
146
- ], !0)
147
- ])
148
- ], 10, oe))), 128)) : (i(), l("div", re, [
149
- s(e.$slots, "empty", {}, () => [
150
- n[0] || (n[0] = w("暂无数据", -1))
151
- ], !0)
152
- ])),
153
- s(e.$slots, "footer", {}, void 0, !0)
154
- ], 12, ae), [
155
- [G, o.value]
156
- ])
157
- ], 16));
158
- }
159
- }), ue = /* @__PURE__ */ ee(ie, [["__scopeId", "data-v-c9d8c292"]]);
160
- export {
161
- ue as D
162
- };
@@ -1 +0,0 @@
1
- "use strict";const t=require("vue"),f=require("element-plus"),m=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),b=t.defineComponent({name:"QyTag",inheritAttrs:!1,__name:"index",props:{tone:{default:"neutral"},size:{default:"md"},effect:{default:"light"},closable:{type:Boolean,default:!1},round:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},emits:["click","close"],setup(e,{emit:n}){const s=n,c=t.useAttrs(),i=t.computed(()=>{const l=Object.fromEntries(Object.entries(c).filter(([a])=>a==="class"||a==="style"||a==="title"||a==="role"||a.startsWith("data-")||a.startsWith("aria-")));return e.disabled&&(l["aria-disabled"]="true"),l}),o=t.computed(()=>e.tone==="neutral"?"info":e.tone),d=t.computed(()=>({sm:"small",md:"default",lg:"large"})[e.size]);function u(l){e.disabled||s("click",l)}function r(l){e.disabled||s("close",l)}return(l,a)=>(t.openBlock(),t.createBlock(t.unref(f.ElTag),t.mergeProps(i.value,{class:["qy-tag",[`qy-tag--${e.tone}`,{"qy-tag--disabled":e.disabled}]],type:o.value,size:d.value,effect:e.effect,closable:e.closable&&!e.disabled,round:e.round,onClick:u,onClose:r}),{default:t.withCtx(()=>[t.renderSlot(l.$slots,"default",{},void 0,!0)]),_:3},16,["class","type","size","effect","closable","round"]))}}),g=m._export_sfc(b,[["__scopeId","data-v-0c5d7c85"]]);exports.Tag=g;
@@ -1 +0,0 @@
1
- "use strict";const e=require("vue"),z=require("./index-D377Dw9z.cjs"),T=require("./index-9GEoEe00.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-4491aa7c"]]);exports.Fullscreen=$;
@@ -1,222 +0,0 @@
1
- import { ref as S, computed as d, watch as Y, onBeforeUnmount as V, defineComponent as A, useSlots as G, inject as K, toRef as P, openBlock as _, createBlock as I, unref as F, withCtx as M, renderSlot as $, createTextVNode as H, toDisplayString as J } from "vue";
2
- import { B as O } from "./index-D7WmSi5s.mjs";
3
- import { Q as X, I as Z } from "./index-D8OXRBGc.mjs";
4
- import { useFullscreen as W, useEventListener as D } from "@vueuse/core";
5
- import { _ as ee } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
6
- const te = ["fullscreenchange", "webkitfullscreenchange"], le = [
7
- "requestFullscreen",
8
- "webkitRequestFullscreen",
9
- "webkitEnterFullscreen",
10
- "webkitEnterFullScreen",
11
- "webkitRequestFullScreen",
12
- "mozRequestFullScreen",
13
- "msRequestFullscreen"
14
- ], ne = [
15
- "exitFullscreen",
16
- "webkitExitFullscreen",
17
- "webkitExitFullScreen",
18
- "webkitCancelFullScreen",
19
- "mozCancelFullScreen",
20
- "msExitFullscreen"
21
- ];
22
- function re(e, l, o) {
23
- const s = j(), a = S(null), i = S(!1), p = S(!1);
24
- let r = null, c = !1;
25
- const b = d(() => C(e.value)), g = d(
26
- () => (a.value || b.value) ?? void 0
27
- ), x = W(g), w = S(!1);
28
- function h() {
29
- w.value = B(a.value || b.value);
30
- }
31
- function v() {
32
- if (c) return;
33
- const t = z(s), n = a.value || b.value, f = !!(t && t === n);
34
- f ? a.value = t : (!t || t !== a.value) && (a.value = null), h(), f !== i.value && (i.value = f, o.onChange(f));
35
- }
36
- D(s, te, v), Y(e, v, { flush: "post" }), v();
37
- function E() {
38
- if (l.value || i.value) return Promise.resolve(!1);
39
- if (r) return r;
40
- const t = C(e.value);
41
- return t ? B(t) ? (a.value = t, h(), y(async () => {
42
- try {
43
- return await L(t), v(), i.value && z(s) === t;
44
- } catch {
45
- return a.value = null, v(), u("enter", "request-rejected", "The browser rejected the fullscreen request.");
46
- }
47
- })) : Promise.resolve(u("enter", "unsupported", "Fullscreen is not supported by this browser.")) : Promise.resolve(u("enter", "target-unavailable", "Fullscreen target is unavailable."));
48
- }
49
- function m() {
50
- if (l.value || !i.value) return Promise.resolve(!1);
51
- if (r) return r;
52
- const t = a.value || C(e.value);
53
- return t ? B(t) ? y(async () => {
54
- try {
55
- return await U(t), v(), !i.value && z(s) !== t;
56
- } catch {
57
- return u("exit", "request-rejected", "The browser rejected the fullscreen request.");
58
- }
59
- }) : Promise.resolve(u("exit", "unsupported", "Fullscreen is not supported by this browser.")) : Promise.resolve(u("exit", "target-unavailable", "Fullscreen target is unavailable."));
60
- }
61
- function k() {
62
- return r || (i.value ? m() : E());
63
- }
64
- function y(t) {
65
- p.value = !0;
66
- const n = t().finally(() => {
67
- p.value = !1, r = null;
68
- });
69
- return r = n, n;
70
- }
71
- function u(t, n, f) {
72
- const q = Object.freeze({ action: t, code: n, message: f });
73
- return o.onError(q), !1;
74
- }
75
- async function L(t) {
76
- const n = R(t);
77
- if (n === "requestFullscreen") {
78
- await t.requestFullscreen();
79
- return;
80
- }
81
- if (x.isSupported.value) {
82
- await x.enter();
83
- return;
84
- }
85
- if (n) {
86
- await Q(t, n);
87
- return;
88
- }
89
- throw new Error("Fullscreen request is unavailable.");
90
- }
91
- async function U(t) {
92
- var q;
93
- const n = s, f = N(n, t);
94
- if (f === "exitFullscreen") {
95
- await ((q = n == null ? void 0 : n.exitFullscreen) == null ? void 0 : q.call(n));
96
- return;
97
- }
98
- if (f) {
99
- await Q(n, f);
100
- return;
101
- }
102
- await x.exit();
103
- }
104
- return V(() => {
105
- c = !0;
106
- }), {
107
- isFullscreen: i,
108
- isSupported: w,
109
- pending: p,
110
- enter: E,
111
- exit: m,
112
- toggle: k
113
- };
114
- }
115
- function j() {
116
- return typeof document > "u" ? void 0 : document;
117
- }
118
- function C(e) {
119
- var l;
120
- return e === null ? null : e !== void 0 ? e : ((l = j()) == null ? void 0 : l.documentElement) || null;
121
- }
122
- function z(e) {
123
- return (e == null ? void 0 : e.fullscreenElement) || (e == null ? void 0 : e.webkitFullscreenElement) || null;
124
- }
125
- function B(e) {
126
- if (!e || e === null) return !1;
127
- const l = j();
128
- return (l == null ? void 0 : l.fullscreenEnabled) !== !0 ? !1 : !!(R(e) && N(l, e));
129
- }
130
- function R(e) {
131
- return le.find((l) => T(e, l));
132
- }
133
- function N(e, l) {
134
- return ne.find(
135
- (o) => T(e, o) || T(l, o)
136
- );
137
- }
138
- async function Q(e, l) {
139
- const o = e && e[l];
140
- if (typeof o != "function") throw new Error("Fullscreen method is unavailable.");
141
- await o.call(e);
142
- }
143
- function T(e, l) {
144
- return typeof (e == null ? void 0 : e[l]) == "function";
145
- }
146
- const se = /* @__PURE__ */ A({
147
- name: "QyFullscreen",
148
- inheritAttrs: !1,
149
- __name: "index",
150
- props: {
151
- target: {},
152
- disabled: { type: Boolean, default: !1 },
153
- size: { default: "default" },
154
- enterLabel: { default: "进入全屏" },
155
- exitLabel: { default: "退出全屏" },
156
- enterIcon: { default: "fullscreen" },
157
- exitIcon: { default: "exit-fullscreen" }
158
- },
159
- emits: ["change", "error"],
160
- setup(e, { expose: l, emit: o }) {
161
- const s = e, a = o, i = G(), p = K(X, null), r = re(P(s, "target"), P(s, "disabled"), {
162
- onChange: (u) => a("change", u),
163
- onError: (u) => a("error", u)
164
- }), c = r.isFullscreen, b = r.pending, g = d(
165
- () => c.value ? s.exitLabel : s.enterLabel
166
- ), x = d(
167
- () => c.value ? s.exitIcon : s.enterIcon
168
- ), w = d(
169
- () => c.value ? "exit-icon" : "enter-icon"
170
- ), h = d(() => !!i[w.value]), v = d(() => p == null ? void 0 : p.resolve(x.value)), E = d(() => h.value || !!v.value), m = d(() => ({ small: "sm", default: "md", large: "lg" })[s.size]), k = d(
171
- () => s.disabled || !r.isSupported.value || b.value
172
- );
173
- function y() {
174
- r.toggle();
175
- }
176
- return l({
177
- enter: r.enter,
178
- exit: r.exit,
179
- toggle: r.toggle
180
- }), (u, L) => E.value ? (_(), I(O, {
181
- key: 0,
182
- class: "qy-fullscreen",
183
- size: m.value,
184
- disabled: k.value,
185
- loading: F(b),
186
- active: F(c),
187
- "icon-only": !0,
188
- "aria-label": g.value,
189
- "aria-pressed": F(c) ? "true" : "false",
190
- title: g.value,
191
- onClick: y
192
- }, {
193
- prefix: M(() => [
194
- h.value ? $(u.$slots, w.value, {}, void 0, !0, 0) : (_(), I(Z, {
195
- key: 1,
196
- name: x.value
197
- }, null, 8, ["name"]))
198
- ]),
199
- _: 3
200
- }, 8, ["size", "disabled", "loading", "active", "aria-label", "aria-pressed", "title"])) : (_(), I(O, {
201
- key: 1,
202
- class: "qy-fullscreen",
203
- size: m.value,
204
- disabled: k.value,
205
- loading: F(b),
206
- active: F(c),
207
- "icon-only": !1,
208
- "aria-label": g.value,
209
- "aria-pressed": F(c) ? "true" : "false",
210
- title: g.value,
211
- onClick: y
212
- }, {
213
- default: M(() => [
214
- H(J(g.value), 1)
215
- ]),
216
- _: 1
217
- }, 8, ["size", "disabled", "loading", "active", "aria-label", "aria-pressed", "title"]));
218
- }
219
- }), fe = /* @__PURE__ */ ee(se, [["__scopeId", "data-v-4491aa7c"]]);
220
- export {
221
- fe as F
222
- };
@@ -1 +0,0 @@
1
- "use strict";const e=require("vue"),V=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),D={class:"qy-dropdown__trigger-label"},x=["aria-hidden"],N=["disabled","title","data-qy-dropdown-key","data-danger","data-active","data-disabled","aria-disabled","onClick"],$={key:0,class:"qy-dropdown__item-icon","aria-hidden":"true"},z={class:"qy-dropdown__item-label"},L={key:1,class:"qy-dropdown__empty"},H=e.defineComponent({name:"QyDropdown",inheritAttrs:!1,__name:"index",props:{items:{default:()=>[]},disabled:{type:Boolean,default:!1},placement:{default:"bottom-end"},trigger:{default:"click"},closeOnSelect:{type:Boolean,default:!0},panelWidth:{},width:{},maxHeight:{},modelValue:{type:Boolean,default:void 0},ariaLabel:{}},emits:["select","open-change","update:modelValue"],setup(l,{emit:g}){const o=l,i=g,b=e.useAttrs(),s=e.ref(null),c=e.ref(!1),u=e.computed(()=>o.modelValue!==void 0),n=e.computed(()=>o.disabled?!1:u.value?!!o.modelValue:c.value),p=e.computed(()=>o.items.filter(t=>!t.hidden)),y=e.computed(()=>o.panelWidth??o.width),k=e.computed(()=>[`qy-dropdown--${o.placement}`,{"is-open":n.value,"is-disabled":o.disabled}]),h=e.computed(()=>({width:m(y.value),maxHeight:m(o.maxHeight),overflowX:"hidden",overflowY:o.maxHeight?"auto":void 0})),f=e.computed(()=>({class:["qy-dropdown__trigger",{"is-open":n.value,"is-disabled":o.disabled}],type:"button",disabled:o.disabled||void 0,"aria-haspopup":"menu","aria-expanded":n.value?"true":"false","aria-label":o.ariaLabel||void 0,onClick:_,onContextmenu:w,onKeydown:B}));function m(t){return typeof t=="number"?`${t}px`:t}function r(t){o.disabled||t===n.value||(u.value||(c.value=t),i("update:modelValue",t),i("open-change",t))}function _(t){o.trigger!=="click"||o.disabled||(t.stopPropagation(),r(!n.value))}function w(t){o.trigger!=="contextmenu"||o.disabled||(t.preventDefault(),t.stopPropagation(),r(!0))}function B(t){if(!o.disabled){if(t.key==="Escape"){r(!1);return}o.trigger==="click"&&(t.key==="Enter"||t.key===" ")&&(t.preventDefault(),r(!n.value))}}function C(t,d){if(t.disabled){d.preventDefault();return}i("select",t),o.closeOnSelect&&r(!1)}function q(t){return{"is-disabled":t.disabled,"is-danger":t.danger,"is-active":t.active,"is-divided":t.divided}}function E(t){return t?e.markRaw(e.toRaw(t)):void 0}function v(t){var a;const d=t.target;!n.value||!(d instanceof Node)||(a=s.value)!=null&&a.contains(d)||r(!1)}return e.onMounted(()=>{document.addEventListener("click",v)}),e.onBeforeUnmount(()=>{document.removeEventListener("click",v)}),(t,d)=>(e.openBlock(),e.createElementBlock("div",e.mergeProps({ref_key:"rootRef",ref:s},e.unref(b),{class:["qy-dropdown",k.value]}),[e.renderSlot(t.$slots,"trigger",{open:n.value,disabled:l.disabled,attrs:f.value},()=>[e.createElementVNode("button",e.normalizeProps(e.guardReactiveProps(f.value)),[e.createElementVNode("span",D,e.toDisplayString(l.ariaLabel||"更多"),1)],16)],!0),e.withDirectives(e.createElementVNode("div",{class:"qy-dropdown__panel",style:e.normalizeStyle(h.value),"aria-hidden":n.value?void 0:"true",role:"menu"},[e.renderSlot(t.$slots,"header",{},void 0,!0),p.value.length>0?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(p.value,a=>(e.openBlock(),e.createElementBlock("button",{key:a.key,type:"button",class:e.normalizeClass(["qy-dropdown__item",q(a)]),disabled:a.disabled,title:a.title,"data-qy-dropdown-key":a.key,"data-danger":a.danger?"true":void 0,"data-active":a.active?"true":void 0,"data-disabled":a.disabled?"true":void 0,"aria-disabled":a.disabled?"true":void 0,role:"menuitem",onClick:S=>C(a,S)},[a.icon?(e.openBlock(),e.createElementBlock("span",$,[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(E(a.icon))))])):e.createCommentVNode("",!0),e.createElementVNode("span",z,[e.renderSlot(t.$slots,"item",{item:a},()=>[e.createTextVNode(e.toDisplayString(a.label),1)],!0)])],10,N))),128)):(e.openBlock(),e.createElementBlock("div",L,[e.renderSlot(t.$slots,"empty",{},()=>[d[0]||(d[0]=e.createTextVNode("暂无数据",-1))],!0)])),e.renderSlot(t.$slots,"footer",{},void 0,!0)],12,x),[[e.vShow,n.value]])],16))}}),O=V._export_sfc(H,[["__scopeId","data-v-c9d8c292"]]);exports.Dropdown=O;
@@ -1 +0,0 @@
1
- "use strict";const e=require("vue"),x=require("./index-MNEYnZEw.cjs"),V=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),w=["tabindex","aria-disabled","onClick","onKeydown"],C={class:"qy-file-picker__label"},D={key:0,class:"qy-file-picker__hint"},F=["disabled"],q=e.defineComponent({name:"QyFilePicker",__name:"index",props:{modelValue:{default:null},extensions:{default:()=>[]},maxSizeMb:{default:20},disabled:{type:Boolean,default:!1},drag:{type:Boolean,default:!0},placeholder:{default:"请选择文件"}},emits:["update:modelValue","change","clear","invalid"],setup(l,{expose:h,emit:b}){const a=l,t=b,n=e.ref(null),d=e.ref(!1),v=e.computed(()=>a.modelValue?[a.modelValue]:[]);let o=!1;function p(){var i;a.disabled||(i=n.value)==null||i.openFileDialog()}function c(){var i;o=!0,(i=n.value)==null||i.clearFiles(),o=!1,t("update:modelValue",null),t("change",null),t("clear")}function g(){a.disabled||c()}function u(){!a.disabled&&a.drag&&(d.value=!0)}function f(){d.value=!1}function k(i){if(o)return;const s=i[0]??null;t("update:modelValue",s),t("change",s)}function y(i){t("invalid",i)}return h({openFileDialog:p,clear:c}),(i,s)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["qy-file-picker",{"is-disabled":l.disabled,"is-dragover":d.value}])},[e.createVNode(x.Upload,{ref_key:"uploadRef",ref:n,variant:"file-list","auto-upload":!1,"selected-files":v.value,"file-type":l.extensions,"file-size":l.maxSizeMb,disabled:l.disabled,"disable-drag":!l.drag,multiple:!1,limit:1,"show-text":!1,"show-paste-input":!1,"onUpdate:selectedFiles":k,onInvalid:y},{trigger:e.withCtx(({open:r})=>{var m;return[e.createElementVNode("div",{class:e.normalizeClass(["qy-file-picker__dropzone",{"is-click-only":!l.drag}]),role:"button",tabindex:l.disabled?-1:0,"aria-disabled":l.disabled?"true":void 0,onClick:r,onKeydown:[e.withKeys(e.withModifiers(r,["prevent"]),["enter"]),e.withKeys(e.withModifiers(r,["prevent"]),["space"])],onDragenter:e.withModifiers(u,["prevent"]),onDragover:e.withModifiers(u,["prevent"]),onDragleave:e.withModifiers(f,["prevent"]),onDrop:f},[e.createElementVNode("span",C,e.toDisplayString(((m=l.modelValue)==null?void 0:m.name)||l.placeholder),1),l.drag?(e.openBlock(),e.createElementBlock("span",D," 点击选择或拖拽单个文件到此处 ")):e.createCommentVNode("",!0)],42,w)]}),_:1},8,["selected-files","file-type","file-size","disabled","disable-drag"]),l.modelValue?(e.openBlock(),e.createElementBlock("button",{key:0,class:"qy-file-picker__clear",type:"button",disabled:l.disabled,onClick:e.withModifiers(g,["stop"])}," 清空 ",8,F)):e.createCommentVNode("",!0)],2))}}),B=V._export_sfc(q,[["__scopeId","data-v-71a5d74d"]]);exports.FilePicker=B;
@@ -1,119 +0,0 @@
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
- };