@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,286 +0,0 @@
1
- import { defineComponent as W, useAttrs as K, ref as H, computed as h, openBlock as N, createBlock as U, unref as q, mergeProps as Q, createSlots as G, withCtx as d, renderSlot as c, normalizeProps as J, guardReactiveProps as X } from "vue";
2
- import { ElCascader as Y } from "element-plus";
3
- const ee = /* @__PURE__ */ W({
4
- name: "QyCascader",
5
- inheritAttrs: !1,
6
- __name: "index",
7
- props: {
8
- modelValue: {},
9
- options: { default: () => [] },
10
- props: { default: () => ({}) },
11
- size: {},
12
- placeholder: {},
13
- disabled: { type: Boolean },
14
- clearable: { type: Boolean, default: !0 },
15
- clearIcon: {},
16
- filterable: { type: Boolean, default: !1 },
17
- filterMethod: {},
18
- separator: { default: " / " },
19
- showAllLevels: { type: Boolean, default: !0 },
20
- collapseTags: { type: Boolean, default: !1 },
21
- maxCollapseTags: { default: 1 },
22
- collapseTagsTooltip: { type: Boolean, default: !1 },
23
- maxCollapseTagsTooltipHeight: {},
24
- debounce: { default: 300 },
25
- beforeFilter: {},
26
- placement: {},
27
- fallbackPlacements: {},
28
- popperClass: {},
29
- popperStyle: { type: [Boolean, null, String, Object, Array] },
30
- teleported: { type: Boolean, default: !0 },
31
- effect: {},
32
- persistent: { type: Boolean, default: !0 },
33
- showCheckedStrategy: {},
34
- fitInputWidth: { type: [Boolean, Number] },
35
- tagType: {},
36
- tagEffect: {},
37
- validateEvent: { type: Boolean, default: !0 },
38
- emptyValues: {},
39
- valueOnClear: {},
40
- virtualScroll: { type: Boolean, default: !1 },
41
- itemSize: { default: 34 },
42
- height: { default: 204 }
43
- },
44
- emits: ["update:modelValue", "change", "focus", "blur", "clear", "visible-change", "expand-change", "remove-tag"],
45
- setup(a, { expose: y, emit: g }) {
46
- const i = a, n = g, C = K(), u = H(), S = h(
47
- () => Object.fromEntries(
48
- Object.entries(C).filter(
49
- ([e]) => e === "class" || e === "style" || e === "role" || e === "title" || e.startsWith("data-") || e.startsWith("aria-")
50
- )
51
- )
52
- ), k = h(() => ({
53
- ...i.emptyValues !== void 0 ? { emptyValues: i.emptyValues } : {},
54
- ...i.valueOnClear !== void 0 ? { valueOnClear: i.valueOnClear } : {}
55
- })), V = h(() => ({
56
- ...S.value,
57
- ...k.value
58
- }));
59
- function f(e, t = {}) {
60
- return Object.freeze({
61
- uid: e.uid,
62
- level: e.level,
63
- value: e.value,
64
- label: e.label,
65
- pathValues: Object.freeze([...e.pathValues]),
66
- pathLabels: Object.freeze([...e.pathLabels]),
67
- data: e.data,
68
- root: e.root,
69
- isLeaf: t.isLeaf ?? e.isLeaf,
70
- isDisabled: t.isDisabled ?? e.isDisabled,
71
- checked: e.checked,
72
- indeterminate: e.indeterminate,
73
- loading: e.loading,
74
- loaded: e.loaded ?? !1
75
- });
76
- }
77
- function T(e, t) {
78
- var p, v;
79
- const l = typeof t.leaf == "string" ? t.leaf : "leaf", s = t.children ?? "children", o = (p = e.data) == null ? void 0 : p[l];
80
- if (typeof o == "boolean")
81
- return o;
82
- const r = Array.isArray(e.childrenData) ? e.childrenData : (v = e.data) == null ? void 0 : v[s];
83
- return Array.isArray(r) && r.length > 0 ? !1 : t.lazy ? e.loaded === !0 : !0;
84
- }
85
- function m(e, t, l = /* @__PURE__ */ new Set()) {
86
- var p;
87
- if (l.has(e))
88
- return !1;
89
- l.add(e);
90
- const s = typeof t.disabled == "string" ? t.disabled : "disabled", o = !!((p = e.data) != null && p[s]), r = t.checkStrictly !== !0 && e.parent ? m(e.parent, t, l) : !1;
91
- return o || r;
92
- }
93
- function b(e, t) {
94
- return f(e, {
95
- isLeaf: T(e, t),
96
- isDisabled: m(e, t)
97
- });
98
- }
99
- const z = h(() => {
100
- const e = i.props ?? {}, t = { ...e };
101
- return typeof e.disabled == "function" && (t.disabled = (l, s) => {
102
- var o;
103
- return ((o = e.disabled) == null ? void 0 : o.call(e, b(s, e))) ?? !1;
104
- }), typeof e.leaf == "function" && (t.leaf = (l, s) => {
105
- var o;
106
- return ((o = e.leaf) == null ? void 0 : o.call(e, b(s, e))) ?? !1;
107
- }), typeof e.lazyLoad == "function" && (t.lazyLoad = (l, s, o) => {
108
- var r;
109
- return (r = e.lazyLoad) == null ? void 0 : r.call(e, f(l), s, o);
110
- }), t;
111
- }), B = h(
112
- () => i.filterMethod ? (e, t) => {
113
- var l;
114
- return ((l = i.filterMethod) == null ? void 0 : l.call(i, f(e), t)) ?? !1;
115
- } : void 0
116
- );
117
- function w(e) {
118
- return {
119
- ...e,
120
- node: f(e.node)
121
- };
122
- }
123
- function L(e, t) {
124
- return e.map((l) => {
125
- const s = f(l.node);
126
- return Object.freeze({
127
- uid: s.uid,
128
- value: s.value,
129
- label: s.label,
130
- pathValues: s.pathValues,
131
- pathLabels: s.pathLabels,
132
- data: s.data,
133
- text: l.text,
134
- hitState: l.hitState,
135
- closable: l.closable,
136
- remove: () => t(l)
137
- });
138
- });
139
- }
140
- function $(e) {
141
- n("update:modelValue", e);
142
- }
143
- function A(e) {
144
- n("change", e);
145
- }
146
- function O(e) {
147
- n("focus", e);
148
- }
149
- function x(e) {
150
- n("blur", e);
151
- }
152
- function D() {
153
- n("clear");
154
- }
155
- function E(e) {
156
- n("visible-change", e);
157
- }
158
- function P(e) {
159
- n("expand-change", e);
160
- }
161
- function j(e) {
162
- n("remove-tag", e);
163
- }
164
- function F() {
165
- var e;
166
- (e = u.value) == null || e.focus();
167
- }
168
- function M() {
169
- var e;
170
- (e = u.value) == null || e.blur();
171
- }
172
- function R() {
173
- var e, t;
174
- (t = (e = u.value) == null ? void 0 : e.togglePopperVisible) == null || t.call(e, !0);
175
- }
176
- function I() {
177
- var e, t;
178
- (t = (e = u.value) == null ? void 0 : e.togglePopperVisible) == null || t.call(e, !1);
179
- }
180
- return y({ focus: F, blur: M, open: R, close: I }), (e, t) => (N(), U(q(Y), Q({
181
- ref_key: "cascaderRef",
182
- ref: u
183
- }, V.value, {
184
- class: "qy-cascader",
185
- "model-value": a.modelValue,
186
- options: a.options,
187
- props: z.value,
188
- size: a.size,
189
- placeholder: a.placeholder,
190
- disabled: a.disabled,
191
- clearable: a.clearable,
192
- "clear-icon": a.clearIcon,
193
- filterable: a.filterable,
194
- "filter-method": B.value,
195
- separator: a.separator,
196
- "show-all-levels": a.showAllLevels,
197
- "collapse-tags": a.collapseTags,
198
- "max-collapse-tags": a.maxCollapseTags,
199
- "collapse-tags-tooltip": a.collapseTagsTooltip,
200
- "max-collapse-tags-tooltip-height": a.maxCollapseTagsTooltipHeight,
201
- debounce: a.debounce,
202
- "before-filter": a.beforeFilter,
203
- placement: a.placement,
204
- "fallback-placements": a.fallbackPlacements,
205
- "popper-class": a.popperClass,
206
- "popper-style": a.popperStyle,
207
- teleported: a.teleported,
208
- effect: a.effect,
209
- persistent: a.persistent,
210
- "show-checked-strategy": a.showCheckedStrategy,
211
- "fit-input-width": a.fitInputWidth,
212
- "tag-type": a.tagType,
213
- "tag-effect": a.tagEffect,
214
- "validate-event": a.validateEvent,
215
- "virtual-scroll": a.virtualScroll,
216
- "item-size": a.itemSize,
217
- height: a.height,
218
- "onUpdate:modelValue": $,
219
- onChange: A,
220
- onFocus: O,
221
- onBlur: x,
222
- onClear: D,
223
- onVisibleChange: E,
224
- onExpandChange: P,
225
- onRemoveTag: j
226
- }), G({ _: 2 }, [
227
- e.$slots.prefix ? {
228
- name: "prefix",
229
- fn: d(() => [
230
- c(e.$slots, "prefix")
231
- ]),
232
- key: "0"
233
- } : void 0,
234
- e.$slots.header ? {
235
- name: "header",
236
- fn: d(() => [
237
- c(e.$slots, "header")
238
- ]),
239
- key: "1"
240
- } : void 0,
241
- e.$slots.footer ? {
242
- name: "footer",
243
- fn: d(() => [
244
- c(e.$slots, "footer")
245
- ]),
246
- key: "2"
247
- } : void 0,
248
- e.$slots.empty ? {
249
- name: "empty",
250
- fn: d(() => [
251
- c(e.$slots, "empty")
252
- ]),
253
- key: "3"
254
- } : void 0,
255
- e.$slots.default ? {
256
- name: "default",
257
- fn: d((l) => [
258
- c(e.$slots, "default", J(X(w(l))))
259
- ]),
260
- key: "4"
261
- } : void 0,
262
- e.$slots["suggestion-item"] ? {
263
- name: "suggestion-item",
264
- fn: d((l) => [
265
- c(e.$slots, "suggestion-item", {
266
- item: f(l.item)
267
- })
268
- ]),
269
- key: "5"
270
- } : void 0,
271
- e.$slots.tag ? {
272
- name: "tag",
273
- fn: d((l) => [
274
- c(e.$slots, "tag", {
275
- data: L(l.data, l.deleteTag),
276
- remove: (s) => s == null ? void 0 : s.remove()
277
- })
278
- ]),
279
- key: "6"
280
- } : void 0
281
- ]), 1040, ["model-value", "options", "props", "size", "placeholder", "disabled", "clearable", "clear-icon", "filterable", "filter-method", "separator", "show-all-levels", "collapse-tags", "max-collapse-tags", "collapse-tags-tooltip", "max-collapse-tags-tooltip-height", "debounce", "before-filter", "placement", "fallback-placements", "popper-class", "popper-style", "teleported", "effect", "persistent", "show-checked-strategy", "fit-input-width", "tag-type", "tag-effect", "validate-event", "virtual-scroll", "item-size", "height"]));
282
- }
283
- });
284
- export {
285
- ee as _
286
- };
@@ -1,98 +0,0 @@
1
- import { defineComponent as g, useAttrs as h, ref as v, computed as w, openBlock as x, createBlock as p, unref as z, mergeProps as A, withCtx as B, renderSlot as T } from "vue";
2
- import { ElScrollbar as C } from "element-plus";
3
- const N = /* @__PURE__ */ g({
4
- name: "QyScrollbar",
5
- inheritAttrs: !1,
6
- __name: "index",
7
- props: {
8
- distance: { type: Number, default: 0 },
9
- height: { type: [String, Number], default: "" },
10
- maxHeight: { type: [String, Number], default: "" },
11
- native: { type: Boolean, default: !1 },
12
- wrapStyle: { type: [String, Object, Array, Boolean], default: "" },
13
- wrapClass: { type: [String, Array], default: "" },
14
- viewClass: { type: [String, Array], default: "" },
15
- viewStyle: { type: [String, Object, Array, Boolean], default: "" },
16
- noresize: { type: Boolean, default: !1 },
17
- tag: { type: String, default: "div" },
18
- always: { type: Boolean, default: !1 },
19
- minSize: { type: Number, default: 20 },
20
- tabindex: { type: [String, Number], default: void 0 },
21
- id: { type: String, default: void 0 },
22
- role: { type: String, default: void 0 },
23
- ariaLabel: { type: String, default: void 0 },
24
- ariaOrientation: { type: String, default: void 0 }
25
- },
26
- emits: ["scroll", "end-reached"],
27
- setup(t, { expose: o, emit: s }) {
28
- const i = s, c = h(), l = v(), d = w(
29
- () => Object.fromEntries(
30
- Object.entries(c).filter(
31
- ([e]) => e === "class" || e === "style" || e === "title" || e.startsWith("data-") || e.startsWith("aria-")
32
- )
33
- )
34
- );
35
- function f(e) {
36
- i("scroll", Object.freeze({
37
- scrollTop: e.scrollTop,
38
- scrollLeft: e.scrollLeft
39
- }));
40
- }
41
- function u(e) {
42
- i("end-reached", e);
43
- }
44
- function y(e, a) {
45
- var r, n;
46
- if (typeof e == "number") {
47
- typeof a == "number" && ((r = l.value) == null || r.scrollTo(e, a));
48
- return;
49
- }
50
- (n = l.value) == null || n.scrollTo(e);
51
- }
52
- function m(e) {
53
- var a;
54
- (a = l.value) == null || a.setScrollTop(e);
55
- }
56
- function S(e) {
57
- var a;
58
- (a = l.value) == null || a.setScrollLeft(e);
59
- }
60
- function b() {
61
- var e;
62
- (e = l.value) == null || e.update();
63
- }
64
- return o({ scrollTo: y, setScrollTop: m, setScrollLeft: S, update: b }), (e, a) => (x(), p(z(C), A({
65
- ref_key: "scrollbarRef",
66
- ref: l
67
- }, d.value, {
68
- class: "qy-scrollbar",
69
- distance: t.distance,
70
- height: t.height,
71
- "max-height": t.maxHeight,
72
- native: t.native,
73
- "wrap-style": t.wrapStyle,
74
- "wrap-class": t.wrapClass,
75
- "view-class": t.viewClass,
76
- "view-style": t.viewStyle,
77
- noresize: t.noresize,
78
- tag: t.tag,
79
- always: t.always,
80
- "min-size": t.minSize,
81
- tabindex: t.tabindex,
82
- id: t.id,
83
- role: t.role,
84
- "aria-label": t.ariaLabel,
85
- "aria-orientation": t.ariaOrientation,
86
- onScroll: f,
87
- onEndReached: u
88
- }), {
89
- default: B(() => [
90
- T(e.$slots, "default")
91
- ]),
92
- _: 3
93
- }, 16, ["distance", "height", "max-height", "native", "wrap-style", "wrap-class", "view-class", "view-style", "noresize", "tag", "always", "min-size", "tabindex", "id", "role", "aria-label", "aria-orientation"]));
94
- }
95
- });
96
- export {
97
- N as _
98
- };
@@ -1,166 +0,0 @@
1
- import { defineComponent as S, useAttrs as A, ref as M, computed as q, openBlock as H, createBlock as U, unref as h, mergeProps as j, withCtx as o, renderSlot as r, normalizeProps as d, guardReactiveProps as i } from "vue";
2
- import { ElDatePicker as w } from "element-plus";
3
- const Z = /* @__PURE__ */ S({
4
- name: "QyDatePicker",
5
- inheritAttrs: !1,
6
- __name: "index",
7
- props: {
8
- modelValue: { default: void 0 },
9
- type: { default: "date" },
10
- placeholder: { default: "请选择日期" },
11
- startPlaceholder: { default: "开始时间" },
12
- endPlaceholder: { default: "结束时间" },
13
- rangeSeparator: { default: "-" },
14
- format: { default: void 0 },
15
- valueFormat: { default: void 0 },
16
- defaultTime: { default: void 0 },
17
- disabledDate: { type: Function, default: void 0 },
18
- shortcuts: { default: void 0 },
19
- clearable: { type: Boolean, default: !0 },
20
- disabled: { type: Boolean, default: !1 },
21
- readonly: { type: Boolean },
22
- size: { default: void 0 },
23
- teleported: { type: Boolean, default: !0 },
24
- appendTo: { default: "body" },
25
- popperClass: { default: "" },
26
- normalizeRangeEndTime: { type: Boolean, default: !1 }
27
- },
28
- emits: ["update:modelValue", "change", "clear", "calendar-change", "panel-change", "visible-change", "focus", "blur"],
29
- setup(n, { expose: p, emit: m }) {
30
- const s = n, l = m, g = A(), u = M(null), y = q(
31
- () => ["qy-date-picker__popper", s.popperClass].filter(Boolean).join(" ")
32
- );
33
- function b(e) {
34
- return Array.isArray(e);
35
- }
36
- function C(e) {
37
- if (e.getHours() !== 0 || e.getMinutes() !== 0 || e.getSeconds() !== 0 || e.getMilliseconds() !== 0)
38
- return e;
39
- const a = new Date(e);
40
- return a.setHours(23, 59, 59, 0), a;
41
- }
42
- function P(e) {
43
- const a = e.match(
44
- /(T| )00:00:00(\.000)?(Z|[+-]\d{2}:?\d{2})?$/
45
- );
46
- return a ? e.replace(
47
- a[0],
48
- `${a[1]}23:59:59${a[2] ?? ""}${a[3] ?? ""}`
49
- ) : e;
50
- }
51
- function c(e) {
52
- if (!s.normalizeRangeEndTime || !b(e) || e.length < 2)
53
- return e;
54
- const a = e[1];
55
- let t = a;
56
- if (a instanceof Date ? t = C(a) : typeof a == "string" && (t = P(a)), t === a)
57
- return e;
58
- const f = [...e];
59
- return f[1] = t, f;
60
- }
61
- function v(e) {
62
- l("update:modelValue", c(e));
63
- }
64
- function V(e) {
65
- l("change", c(e));
66
- }
67
- function z() {
68
- l("clear");
69
- }
70
- function B(e) {
71
- l("calendar-change", e);
72
- }
73
- function $(e, a, t) {
74
- if (t === void 0) {
75
- l("panel-change", e, a);
76
- return;
77
- }
78
- l("panel-change", e, a, t);
79
- }
80
- function k(e) {
81
- l("visible-change", e);
82
- }
83
- function D(e) {
84
- l("focus", e);
85
- }
86
- function R(e) {
87
- l("blur", e);
88
- }
89
- function T() {
90
- var e, a;
91
- (a = (e = u.value) == null ? void 0 : e.focus) == null || a.call(e);
92
- }
93
- function E() {
94
- var e, a;
95
- (a = (e = u.value) == null ? void 0 : e.blur) == null || a.call(e);
96
- }
97
- function x() {
98
- var e, a;
99
- (a = (e = u.value) == null ? void 0 : e.handleOpen) == null || a.call(e);
100
- }
101
- function F() {
102
- var e, a;
103
- (a = (e = u.value) == null ? void 0 : e.handleClose) == null || a.call(e);
104
- }
105
- return p({
106
- focus: T,
107
- blur: E,
108
- open: x,
109
- close: F
110
- }), (e, a) => (H(), U(h(w), j({
111
- ref_key: "datePickerRef",
112
- ref: u,
113
- class: "qy-date-picker"
114
- }, h(g), {
115
- "model-value": n.modelValue,
116
- type: n.type,
117
- placeholder: n.placeholder,
118
- "start-placeholder": n.startPlaceholder,
119
- "end-placeholder": n.endPlaceholder,
120
- "range-separator": n.rangeSeparator,
121
- format: n.format,
122
- "value-format": n.valueFormat,
123
- "default-time": n.defaultTime,
124
- "disabled-date": n.disabledDate,
125
- shortcuts: n.shortcuts,
126
- clearable: n.clearable,
127
- disabled: n.disabled,
128
- readonly: n.readonly,
129
- size: n.size,
130
- teleported: n.teleported,
131
- "append-to": n.appendTo,
132
- "popper-class": y.value,
133
- "onUpdate:modelValue": v,
134
- onChange: V,
135
- onClear: z,
136
- onCalendarChange: B,
137
- onPanelChange: $,
138
- onVisibleChange: k,
139
- onFocus: D,
140
- onBlur: R
141
- }), {
142
- default: o((t) => [
143
- r(e.$slots, "default", d(i(t)))
144
- ]),
145
- "range-separator": o((t) => [
146
- r(e.$slots, "range-separator", d(i(t)))
147
- ]),
148
- "prev-month": o((t) => [
149
- r(e.$slots, "prev-month", d(i(t)))
150
- ]),
151
- "next-month": o((t) => [
152
- r(e.$slots, "next-month", d(i(t)))
153
- ]),
154
- "prev-year": o((t) => [
155
- r(e.$slots, "prev-year", d(i(t)))
156
- ]),
157
- "next-year": o((t) => [
158
- r(e.$slots, "next-year", d(i(t)))
159
- ]),
160
- _: 3
161
- }, 16, ["model-value", "type", "placeholder", "start-placeholder", "end-placeholder", "range-separator", "format", "value-format", "default-time", "disabled-date", "shortcuts", "clearable", "disabled", "readonly", "size", "teleported", "append-to", "popper-class"]));
162
- }
163
- });
164
- export {
165
- Z as _
166
- };
@@ -1 +0,0 @@
1
- "use strict";const e=require("vue"),Q=require("./index-DYLQNCm_.cjs"),T=require("./index-HNFq7v-A.cjs"),J=require("../qy-popover/index.cjs"),S=require("./index-9GEoEe00.cjs");function X(l,f){const v=f==null?"":String(f),n=l&&v?l.resolve(v):void 0;return Object.freeze({value:v,known:!!n,canonicalName:n==null?void 0:n.name,definition:n})}function Z(l,f,v=""){const n=(l==null?void 0:l.list())??[],c=f===void 0?void 0:new Set(f.map(r=>{var p;return(p=l==null?void 0:l.resolve(r))==null?void 0:p.name}).filter(r=>!!r).map(z)),d=String(v).trim().toLocaleLowerCase();return Object.freeze(n.filter(r=>c&&!c.has(z(r.name))?!1:d?[r.name,r.label,...r.keywords??[]].some(p=>typeof p=="string"&&p.toLocaleLowerCase().includes(d)):!0))}function z(l){return S.normalizeQyIconName(l).toLocaleLowerCase()}const ee={class:"qy-icon-picker"},ae=["onKeydown"],ne={class:"qy-icon-picker__preview","aria-hidden":"true"},oe={key:1,class:"qy-icon-picker__missing","aria-hidden":"true"},te=["id"],le={class:"qy-icon-picker__search","data-testid":"qy-icon-picker-search"},re={key:0,class:"qy-icon-picker__state","data-testid":"qy-icon-picker-loading",role:"status"},ie={key:1,class:"qy-icon-picker__state qy-icon-picker__state--error","data-testid":"qy-icon-picker-error",role:"alert"},ce=["aria-label"],ue=["id","data-qy-icon-option","data-qy-icon-active","aria-selected","tabindex","onClick","onFocus","onKeydown"],se={class:"qy-icon-picker__option-label"},de={key:3,class:"qy-icon-picker__empty"};let pe=0;const fe=e.defineComponent({name:"QyIconPicker",__name:"index",props:{modelValue:{default:""},allowedNames:{},disabled:{type:Boolean,default:!1},clearable:{type:Boolean,default:!1},size:{default:"default"},placeholder:{default:"点击选择图标"},searchPlaceholder:{default:"搜索图标名称、标签或关键词"},emptyText:{default:"暂无匹配图标"},panelWidth:{default:540},open:{type:Boolean,default:void 0},id:{},ariaLabel:{}},emits:["update:modelValue","change","clear","update:open","open-change"],setup(l,{expose:f,emit:v}){const n=l,c=v,d=e.inject(S.QY_ICON_REGISTRY_KEY,null),r=e.ref(""),p=e.ref(!1),i=e.ref(-1),w=e.ref([]),m=e.ref(!1),g=e.ref(""),V=e.ref(0);let x=!1;const h=e.ref(null),L=e.ref(null),q=e.ref("pointer"),$=`qy-icon-picker-${++pe}`,y=e.computed(()=>X(d,n.modelValue)),s=e.computed(()=>(V.value,Z(d,n.allowedNames,r.value))),_=e.computed(()=>n.open!==void 0),k=e.computed(()=>_.value?n.open===!0:p.value),M=e.computed(()=>"click"),B=e.computed(()=>`${n.id||$}-panel`);e.watch(k,(a,o)=>{!a||o||(r.value="",i.value=F(),w.value=[],!x&&d&&(x=!0,K(d.load())),q.value==="keyboard"&&e.nextTick(()=>{var t,u;return(u=(t=L.value)==null?void 0:t.focus)==null?void 0:u.call(t)}))});function K(a){m.value=!0,g.value="",a.then(()=>{m.value=!1,V.value++},o=>{m.value=!1,g.value=o instanceof Error?o.message:String(o)})}function A(){!d||m.value||K(d.retry())}e.watch(s,()=>{if(!s.value.length){i.value=-1;return}i.value>=s.value.length&&(i.value=0),i.value<0&&(i.value=0)});function P(){n.disabled||(q.value="keyboard",C("keyboard"))}function D(a){n.disabled||_.value&&n.open!==!1||(a.stopImmediatePropagation(),C("pointer"))}function O(a){I(a)}function U(a){a===k.value&&(_.value||(p.value=a),c("open-change",a),a||e.nextTick(()=>{var o,t;return(t=(o=h.value)==null?void 0:o.focus)==null?void 0:t.call(o)}))}function I(a){a&&n.disabled||a!==k.value&&(_.value||(p.value=a),c("update:open",a))}function C(a="programmatic"){q.value=a,I(!0)}function E(){I(!1),e.nextTick(()=>{var a,o;return(o=(a=h.value)==null?void 0:a.focus)==null?void 0:o.call(a)})}function R(){n.disabled||(c("update:modelValue",""),c("change",""),c("clear"))}function N(a){n.disabled||(c("update:modelValue",a.name),c("change",a.name),E())}function j(a){if(a.key==="Escape"){a.preventDefault(),E();return}if(!s.value.length||!["ArrowDown","ArrowUp","ArrowLeft","ArrowRight"].includes(a.key))return;a.preventDefault();const o=a.key==="ArrowUp"||a.key==="ArrowLeft"?-1:1,t=s.value.length;i.value=(i.value+o+t)%t,e.nextTick(()=>{var u;return(u=w.value[i.value])==null?void 0:u.focus()})}function F(){const a=y.value.canonicalName;if(!a)return s.value.length?0:-1;const o=s.value.findIndex(({name:t})=>t===a);return o>=0?o:s.value.length?0:-1}function Y(a,o){a instanceof HTMLElement&&(w.value[o]=a)}function W(a){return`${B.value}-${encodeURIComponent(a)}`}function G(){var a,o;(o=(a=h.value)==null?void 0:a.focus)==null||o.call(a)}function H(){var a,o;(o=(a=h.value)==null?void 0:a.blur)==null||o.call(a)}return f({focus:G,blur:H,open:C,close:E}),(a,o)=>(e.openBlock(),e.createElementBlock("div",ee,[e.createVNode(e.unref(J.QyPopover),{ref:"popoverRef",class:"qy-icon-picker__popover",open:k.value,trigger:M.value,placement:"bottom-start",width:n.panelWidth,"show-delay":0,"hide-delay":0,disabled:n.disabled||_.value&&n.open===!1,"onUpdate:open":O,onOpenChange:U},{reference:e.withCtx(()=>[e.createElementVNode("div",{class:"qy-icon-picker__trigger","data-testid":"qy-icon-picker-trigger",onClick:D,onKeydown:[e.withKeys(e.withModifiers(P,["prevent"]),["enter"]),e.withKeys(e.withModifiers(P,["prevent"]),["space"])]},[e.createVNode(e.unref(T.QyInput),{ref_key:"triggerRef",ref:h,id:n.id,"model-value":y.value.value,size:n.size,disabled:n.disabled,clearable:n.clearable,readonly:"",placeholder:n.placeholder,"aria-label":n.ariaLabel,"aria-haspopup":"listbox","aria-expanded":k.value?"true":"false","aria-controls":B.value,onClear:R},{prefix:e.withCtx(()=>[e.createElementVNode("span",ne,[y.value.definition?(e.openBlock(),e.createBlock(e.unref(Q.QyIcon),{key:0,name:y.value.definition.name,size:18},null,8,["name"])):(e.openBlock(),e.createElementBlock("span",oe,"?"))])]),suffix:e.withCtx(()=>[n.clearable&&y.value.value?(e.openBlock(),e.createElementBlock("button",{key:0,type:"button",class:"qy-icon-picker__clear","data-testid":"qy-icon-picker-clear","aria-label":"清空图标",onClick:e.withModifiers(R,["stop","prevent"])},[...o[1]||(o[1]=[e.createElementVNode("span",{"aria-hidden":"true"},"×",-1)])])):e.createCommentVNode("",!0)]),_:1},8,["id","model-value","size","disabled","clearable","placeholder","aria-label","aria-expanded","aria-controls"])],40,ae)]),default:e.withCtx(()=>[k.value?(e.openBlock(),e.createElementBlock("div",{key:0,id:B.value,class:"qy-icon-picker__panel",onKeydown:j},[e.createElementVNode("div",le,[e.createVNode(e.unref(T.QyInput),{ref_key:"searchRef",ref:L,modelValue:r.value,"onUpdate:modelValue":o[0]||(o[0]=t=>r.value=t),type:"search",clearable:"",placeholder:n.searchPlaceholder,"aria-label":"搜索图标"},null,8,["modelValue","placeholder"])]),m.value?(e.openBlock(),e.createElementBlock("div",re," 正在加载图标… ")):g.value?(e.openBlock(),e.createElementBlock("div",ie,[e.createElementVNode("span",null,e.toDisplayString(g.value),1),e.createElementVNode("button",{type:"button","data-testid":"qy-icon-picker-retry",onClick:A}," 重试 ")])):s.value.length?(e.openBlock(),e.createElementBlock("div",{key:2,class:"qy-icon-picker__grid",role:"listbox","aria-label":n.ariaLabel||"图标列表"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s.value,(t,u)=>(e.openBlock(),e.createElementBlock("div",{id:W(t.name),key:t.name,ref_for:!0,ref:b=>Y(b,u),class:e.normalizeClass(["qy-icon-picker__option",{"is-active":i.value===u}]),"data-qy-icon-option":t.name,"data-qy-icon-active":i.value===u?"true":void 0,role:"option","aria-selected":y.value.canonicalName===t.name?"true":"false",tabindex:i.value===u?0:-1,onClick:b=>N(t),onFocus:b=>i.value=u,onKeydown:[e.withKeys(e.withModifiers(b=>N(t),["prevent"]),["enter"]),e.withKeys(e.withModifiers(b=>N(t),["prevent"]),["space"])]},[e.createVNode(e.unref(Q.QyIcon),{name:t.name,size:18,"aria-hidden":"true"},null,8,["name"]),e.createElementVNode("span",se,e.toDisplayString(t.label||t.name),1)],42,ue))),128))],8,ce)):(e.openBlock(),e.createElementBlock("div",de,[e.renderSlot(a.$slots,"empty",{},()=>[e.createTextVNode(e.toDisplayString(n.emptyText),1)])]))],40,te)):e.createCommentVNode("",!0)]),_:3},8,["open","trigger","width","disabled"])]))}});exports._sfc_main=fe;
@@ -1 +0,0 @@
1
- "use strict";const t=require("vue"),d=require("element-plus"),p=t.defineComponent({name:"QyTabs",inheritAttrs:!1,props:{modelValue:{type:[String,Number],required:!1},defaultValue:{type:[String,Number],required:!1},type:{type:String,default:""},tabPosition:{type:String,default:"top"},stretch:{type:Boolean,default:!1},closable:{type:Boolean,default:!1},addable:{type:Boolean,default:!1},editable:{type:Boolean,default:!1},beforeLeave:{type:Function,required:!1},tabindex:{type:[String,Number],default:0}},emits:["update:modelValue","tab-change","tab-click","tab-remove","tab-add","edit"],setup(l,{attrs:u,emit:n,slots:i}){const s=t.computed(()=>Object.fromEntries(Object.entries(u).filter(([e])=>e==="class"||e==="style"||e==="id"||e==="role"||e==="title"||e.startsWith("data-")||e.startsWith("aria-")))),b=t.computed(()=>({...s.value,class:["qy-tabs",s.value.class]}));function f(e){const a=t.unref(e.paneName),r=e.props??{};return Object.freeze({name:a??r.name,label:r.label??"",disabled:r.disabled??!1,closable:t.unref(e.isClosable)??r.closable??!1,lazy:r.lazy??!1,active:t.unref(e.active)??!1,index:t.unref(e.index)})}function c(e){return typeof e.type=="object"&&e.type!==null&&e.type.name==="QyTabPane"}function m(e){return Object.fromEntries(Object.entries(e??{}).filter(([a])=>a==="label"||a==="name"||a==="closable"||a==="disabled"||a==="lazy"||a==="class"||a==="style"||a==="id"||a==="role"||a==="title"||a.startsWith("data-")||a.startsWith("aria-")))}function o(e){return e.map(a=>t.isVNode(a)?c(a)?t.h(d.ElTabPane,{...m(a.props),key:a.key??void 0},a.children):a.type===t.Fragment&&Array.isArray(a.children)?t.h(t.Fragment,{key:a.key??void 0},o(a.children)):a:a)}return()=>t.h(d.ElTabs,{...b.value,modelValue:l.modelValue,defaultValue:l.defaultValue,type:l.type,tabPosition:l.tabPosition,stretch:l.stretch,closable:l.closable,addable:l.addable,editable:l.editable,beforeLeave:l.beforeLeave,tabindex:l.tabindex,"onUpdate:modelValue":e=>n("update:modelValue",e),onTabChange:e=>n("tab-change",e),onTabClick:(e,a)=>n("tab-click",f(e),a),onTabRemove:e=>n("tab-remove",e),onTabAdd:()=>n("tab-add"),onEdit:(e,a)=>n("edit",e,a)},{default:()=>{var e;return o(((e=i.default)==null?void 0:e.call(i))??[])},"add-icon":i["add-icon"]})}});exports._sfc_main=p;
@@ -1 +0,0 @@
1
- "use strict";const l=require("vue"),R=require("element-plus"),I=l.defineComponent({name:"QyCascader",inheritAttrs:!1,__name:"index",props:{modelValue:{},options:{default:()=>[]},props:{default:()=>({})},size:{},placeholder:{},disabled:{type:Boolean},clearable:{type:Boolean,default:!0},clearIcon:{},filterable:{type:Boolean,default:!1},filterMethod:{},separator:{default:" / "},showAllLevels:{type:Boolean,default:!0},collapseTags:{type:Boolean,default:!1},maxCollapseTags:{default:1},collapseTagsTooltip:{type:Boolean,default:!1},maxCollapseTagsTooltipHeight:{},debounce:{default:300},beforeFilter:{},placement:{},fallbackPlacements:{},popperClass:{},popperStyle:{type:[Boolean,null,String,Object,Array]},teleported:{type:Boolean,default:!0},effect:{},persistent:{type:Boolean,default:!0},showCheckedStrategy:{},fitInputWidth:{type:[Boolean,Number]},tagType:{},tagEffect:{},validateEvent:{type:Boolean,default:!0},emptyValues:{},valueOnClear:{},virtualScroll:{type:Boolean,default:!1},itemSize:{default:34},height:{default:204}},emits:["update:modelValue","change","focus","blur","clear","visible-change","expand-change","remove-tag"],setup(a,{expose:b,emit:v}){const n=a,r=v,y=l.useAttrs(),f=l.ref(),g=l.computed(()=>Object.fromEntries(Object.entries(y).filter(([e])=>e==="class"||e==="style"||e==="role"||e==="title"||e.startsWith("data-")||e.startsWith("aria-")))),C=l.computed(()=>({...n.emptyValues!==void 0?{emptyValues:n.emptyValues}:{},...n.valueOnClear!==void 0?{valueOnClear:n.valueOnClear}:{}})),S=l.computed(()=>({...g.value,...C.value}));function c(e,t={}){return Object.freeze({uid:e.uid,level:e.level,value:e.value,label:e.label,pathValues:Object.freeze([...e.pathValues]),pathLabels:Object.freeze([...e.pathLabels]),data:e.data,root:e.root,isLeaf:t.isLeaf??e.isLeaf,isDisabled:t.isDisabled??e.isDisabled,checked:e.checked,indeterminate:e.indeterminate,loading:e.loading,loaded:e.loaded??!1})}function w(e,t){var u,m;const o=typeof t.leaf=="string"?t.leaf:"leaf",s=t.children??"children",i=(u=e.data)==null?void 0:u[o];if(typeof i=="boolean")return i;const d=Array.isArray(e.childrenData)?e.childrenData:(m=e.data)==null?void 0:m[s];return Array.isArray(d)&&d.length>0?!1:t.lazy?e.loaded===!0:!0}function p(e,t,o=new Set){var u;if(o.has(e))return!1;o.add(e);const s=typeof t.disabled=="string"?t.disabled:"disabled",i=!!((u=e.data)!=null&&u[s]),d=t.checkStrictly!==!0&&e.parent?p(e.parent,t,o):!1;return i||d}function h(e,t){return c(e,{isLeaf:w(e,t),isDisabled:p(e,t)})}const k=l.computed(()=>{const e=n.props??{},t={...e};return typeof e.disabled=="function"&&(t.disabled=(o,s)=>{var i;return((i=e.disabled)==null?void 0:i.call(e,h(s,e)))??!1}),typeof e.leaf=="function"&&(t.leaf=(o,s)=>{var i;return((i=e.leaf)==null?void 0:i.call(e,h(s,e)))??!1}),typeof e.lazyLoad=="function"&&(t.lazyLoad=(o,s,i)=>{var d;return(d=e.lazyLoad)==null?void 0:d.call(e,c(o),s,i)}),t}),V=l.computed(()=>n.filterMethod?(e,t)=>{var o;return((o=n.filterMethod)==null?void 0:o.call(n,c(e),t))??!1}:void 0);function T(e){return{...e,node:c(e.node)}}function z(e,t){return e.map(o=>{const s=c(o.node);return Object.freeze({uid:s.uid,value:s.value,label:s.label,pathValues:s.pathValues,pathLabels:s.pathLabels,data:s.data,text:o.text,hitState:o.hitState,closable:o.closable,remove:()=>t(o)})})}function B(e){r("update:modelValue",e)}function L(e){r("change",e)}function x(e){r("focus",e)}function $(e){r("blur",e)}function A(){r("clear")}function O(e){r("visible-change",e)}function D(e){r("expand-change",e)}function P(e){r("remove-tag",e)}function E(){var e;(e=f.value)==null||e.focus()}function j(){var e;(e=f.value)==null||e.blur()}function F(){var e,t;(t=(e=f.value)==null?void 0:e.togglePopperVisible)==null||t.call(e,!0)}function M(){var e,t;(t=(e=f.value)==null?void 0:e.togglePopperVisible)==null||t.call(e,!1)}return b({focus:E,blur:j,open:F,close:M}),(e,t)=>(l.openBlock(),l.createBlock(l.unref(R.ElCascader),l.mergeProps({ref_key:"cascaderRef",ref:f},S.value,{class:"qy-cascader","model-value":a.modelValue,options:a.options,props:k.value,size:a.size,placeholder:a.placeholder,disabled:a.disabled,clearable:a.clearable,"clear-icon":a.clearIcon,filterable:a.filterable,"filter-method":V.value,separator:a.separator,"show-all-levels":a.showAllLevels,"collapse-tags":a.collapseTags,"max-collapse-tags":a.maxCollapseTags,"collapse-tags-tooltip":a.collapseTagsTooltip,"max-collapse-tags-tooltip-height":a.maxCollapseTagsTooltipHeight,debounce:a.debounce,"before-filter":a.beforeFilter,placement:a.placement,"fallback-placements":a.fallbackPlacements,"popper-class":a.popperClass,"popper-style":a.popperStyle,teleported:a.teleported,effect:a.effect,persistent:a.persistent,"show-checked-strategy":a.showCheckedStrategy,"fit-input-width":a.fitInputWidth,"tag-type":a.tagType,"tag-effect":a.tagEffect,"validate-event":a.validateEvent,"virtual-scroll":a.virtualScroll,"item-size":a.itemSize,height:a.height,"onUpdate:modelValue":B,onChange:L,onFocus:x,onBlur:$,onClear:A,onVisibleChange:O,onExpandChange:D,onRemoveTag:P}),l.createSlots({_:2},[e.$slots.prefix?{name:"prefix",fn:l.withCtx(()=>[l.renderSlot(e.$slots,"prefix")]),key:"0"}:void 0,e.$slots.header?{name:"header",fn:l.withCtx(()=>[l.renderSlot(e.$slots,"header")]),key:"1"}:void 0,e.$slots.footer?{name:"footer",fn:l.withCtx(()=>[l.renderSlot(e.$slots,"footer")]),key:"2"}:void 0,e.$slots.empty?{name:"empty",fn:l.withCtx(()=>[l.renderSlot(e.$slots,"empty")]),key:"3"}:void 0,e.$slots.default?{name:"default",fn:l.withCtx(o=>[l.renderSlot(e.$slots,"default",l.normalizeProps(l.guardReactiveProps(T(o))))]),key:"4"}:void 0,e.$slots["suggestion-item"]?{name:"suggestion-item",fn:l.withCtx(o=>[l.renderSlot(e.$slots,"suggestion-item",{item:c(o.item)})]),key:"5"}:void 0,e.$slots.tag?{name:"tag",fn:l.withCtx(o=>[l.renderSlot(e.$slots,"tag",{data:z(o.data,o.deleteTag),remove:s=>s==null?void 0:s.remove()})]),key:"6"}:void 0]),1040,["model-value","options","props","size","placeholder","disabled","clearable","clear-icon","filterable","filter-method","separator","show-all-levels","collapse-tags","max-collapse-tags","collapse-tags-tooltip","max-collapse-tags-tooltip-height","debounce","before-filter","placement","fallback-placements","popper-class","popper-style","teleported","effect","persistent","show-checked-strategy","fit-input-width","tag-type","tag-effect","validate-event","virtual-scroll","item-size","height"]))}});exports._sfc_main=I;
@@ -1 +0,0 @@
1
- "use strict";const t=require("vue"),P=require("element-plus"),K=1e3,O=t.defineComponent({name:"QyPopover",inheritAttrs:!1,__name:"index",props:{trigger:{type:String,default:"click"},placement:{type:String,default:"bottom"},effect:{type:String,default:"light"},width:{type:[Number,String],default:240},offset:{type:Number,default:12},showDelay:{type:Number,default:0},hideDelay:{type:Number,default:200},showArrow:{type:Boolean,default:!0},transition:{type:String,default:void 0},disabled:{type:Boolean,default:!1},open:{type:Boolean,default:void 0}},emits:["update:open","open-change","open","close"],setup(r,{expose:B,emit:E}){const n=r,c=E,i=t.computed(()=>n.open!==void 0),v=i.value&&n.open===!0&&!n.disabled,f=t.ref(v),u=t.ref(v),h=t.ref(v),a=t.ref(null),y=t.computed(()=>n.disabled?!1:i.value?n.open===!0:f.value);let o,d=!1,s;const b=t.computed(()=>typeof n.width=="number"?`${n.width}px`:n.width),S=t.computed(()=>({"--qy-popover-width":b.value,"--qy-popover-mobile-gutter":"24px"})),m=t.useSlots(),T=t.computed(()=>{var e;return((e=m.reference)==null?void 0:e.call(m))??[]});function w(){o&&(clearTimeout(o),o=void 0),a.value=null}function q(e){o&&clearTimeout(o),o=setTimeout(()=>{o=void 0,a.value===e&&(a.value=null)},K)}function l(){if(d)return;const e=y.value;u.value!==e&&(d=!0,s=e,u.value=e)}function p(e){if(!(e&&n.disabled)){if(!i.value){if(f.value===e)return;f.value=e,c("update:open",e),l();return}a.value!==e&&(a.value===null&&n.open===e||(a.value=e,e?q(e):o&&(clearTimeout(o),o=void 0),c("update:open",e),l()))}}function g(e){e===u.value&&(!d||s!==e||(d=!1,s=void 0,e!==h.value&&(h.value=e,a.value===e&&w(),c("open-change",e),c(e?"open":"close"),l())))}function C(e){p(e),l()}function L(){g(!0)}function N(){g(!1)}function W(){p(!1)}function k(e){e.key!=="Escape"&&e.code!=="Escape"||u.value&&(e.preventDefault(),p(!1),l())}return t.watch(y,()=>l()),t.watch(i,e=>{w(),e?f.value=n.open===!0:f.value=u.value,l()}),t.watch(()=>n.open,(e,A)=>{!i.value||a.value===null||(e===a.value||e!==A)&&w()}),t.watch(()=>n.disabled,e=>{e?p(!1):l()}),t.onBeforeUnmount(()=>{window.removeEventListener("keydown",k),d=!1,s=void 0,o&&clearTimeout(o)}),t.onMounted(()=>{window.addEventListener("keydown",k)}),B({close:W}),(e,A)=>(t.openBlock(),t.createBlock(t.unref(P.ElPopover),{visible:u.value,trigger:r.trigger,placement:r.placement,effect:r.effect,width:r.width,offset:r.offset,"show-after":r.showDelay,"hide-after":r.hideDelay,"show-arrow":r.showArrow,transition:r.transition,disabled:r.disabled,enterable:!0,"popper-style":S.value,"popper-class":"qy-popover-popper","onUpdate:visible":C,onAfterEnter:L,onAfterLeave:N},{reference:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(T.value,(D,I)=>(t.openBlock(),t.createBlock(t.resolveDynamicComponent(D),{key:D.key??I}))),128))]),default:t.withCtx(()=>[t.renderSlot(e.$slots,"default")]),_:3},8,["visible","trigger","placement","effect","width","offset","show-after","hide-after","show-arrow","transition","disabled","popper-style"]))}});exports._sfc_main=O;