dlzn-ui 1.74.0 → 1.76.0

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 (337) hide show
  1. package/assets/Index-BedLrhwL.css +1 -0
  2. package/assets/button-CawLqS02.css +1 -0
  3. package/assets/card-_JgeY1kg.css +2 -0
  4. package/assets/form-ClgamZql.css +2 -0
  5. package/assets/image-B0R_Wg4e.css +1 -0
  6. package/assets/input-number-CYEGbleB.css +2 -0
  7. package/assets/pagination-D7QwybX3.css +1 -0
  8. package/assets/{textarea-Dm5xaBIR.css → textarea-z-4sHFLB.css} +1 -1
  9. package/assets/upload-Cp3eA2SI.css +1 -0
  10. package/chunks/{Provider-DSTMx3l3.mjs → Provider-DS0ccNiT.mjs} +1 -1
  11. package/chunks/{button-CM6_TpFv.mjs → button-Ne9zVtg8.mjs} +54 -51
  12. package/chunks/{card-BkFRQIOC.mjs → card-BfHb58zl.mjs} +20 -17
  13. package/chunks/{checkbox-group-B0BJCKGC.mjs → checkbox-group-8yzWfZL_.mjs} +4 -4
  14. package/chunks/{form-BcTtjD3t.mjs → form-BBUFXU0H.mjs} +76 -65
  15. package/chunks/image-BEsiUWeF.mjs +45 -0
  16. package/chunks/{image-viewer-B1GG5ogH.mjs → image-viewer-BZux9RvX.mjs} +21 -15
  17. package/chunks/{input-CGJncROR.mjs → input-B8jjJrK5.mjs} +24 -20
  18. package/chunks/{input-number-D5ZdJKFz.mjs → input-number-Bt1mbd1D.mjs} +26 -20
  19. package/chunks/link-Byr_BYPx.mjs +39 -0
  20. package/chunks/{pagination-DP_iqkwA.mjs → pagination-Ca_TCfrh.mjs} +4 -4
  21. package/chunks/{radio-group-Wa4NlEWK.mjs → radio-group-Bmx_ESrX.mjs} +5 -5
  22. package/chunks/{range-input-DCI4kH6p.mjs → range-input-8ddDrOBB.mjs} +2 -2
  23. package/chunks/{select-BIKnY5zf.mjs → select-6VzBY_vu.mjs} +62 -43
  24. package/chunks/slider-C63Gzbld.mjs +45 -0
  25. package/chunks/switch-CqV3-avv.mjs +46 -0
  26. package/chunks/{tag-CtbOiURT.mjs → tag-B-ovDWQi.mjs} +17 -16
  27. package/chunks/{tag-input-DN7xD3ly.mjs → tag-input-iNXrRXk2.mjs} +21 -20
  28. package/chunks/{textarea-Cw15vQzL.mjs → textarea-xkwOhNut.mjs} +3 -3
  29. package/chunks/{tree-DEwIJXty.mjs → tree-CnkGS9CU.mjs} +1 -1
  30. package/{components/tree/src/tree.ts.mjs → chunks/tree-DDa08q83.mjs} +5 -5
  31. package/chunks/{tree-select-D2kftzY6.mjs → tree-select-ofeRjUNh.mjs} +2 -2
  32. package/chunks/{upload-BE0MC-8C.mjs → upload-BRtusVF3.mjs} +36 -37
  33. package/chunks/{user-g1zF8j96.mjs → user-DpkUzWVu.mjs} +10 -10
  34. package/components/button/index.d.ts +2 -3
  35. package/components/button/index.mjs +2 -0
  36. package/components/button/src/button.d.ts +29 -32
  37. package/components/button/src/button.mjs +2 -0
  38. package/components/button/src/button.vue.d.ts +17 -14
  39. package/components/card/index.d.ts +2 -3
  40. package/components/card/index.mjs +2 -0
  41. package/components/card/src/card.d.ts +8 -10
  42. package/components/card/src/card.mjs +2 -0
  43. package/components/card/src/card.vue.d.ts +9 -10
  44. package/components/checkbox/index.d.ts +2 -3
  45. package/components/checkbox/src/checkbox.d.ts +3 -5
  46. package/components/checkbox/src/checkbox.vue.d.ts +11 -12
  47. package/components/checkbox-group/index.d.ts +2 -3
  48. package/components/checkbox-group/index.mjs +2 -0
  49. package/components/checkbox-group/src/checkbox-group.d.ts +7 -9
  50. package/components/checkbox-group/src/checkbox-group.mjs +2 -0
  51. package/components/checkbox-group/src/checkbox-group.vue.d.ts +12 -13
  52. package/components/form/index.d.ts +2 -3
  53. package/components/form/index.mjs +2 -0
  54. package/components/form/src/form.d.ts +116 -124
  55. package/components/form/src/form.mjs +2 -0
  56. package/components/form/src/form.vue.d.ts +23 -22
  57. package/components/icon/index.d.ts +2 -3
  58. package/components/icon/src/icon.d.ts +2 -4
  59. package/components/icon/src/icon.vue.d.ts +6 -7
  60. package/components/image/index.d.ts +2 -3
  61. package/components/image/index.mjs +2 -0
  62. package/components/image/src/image.d.ts +3 -5
  63. package/components/image/src/image.mjs +2 -0
  64. package/components/image/src/image.vue.d.ts +6 -6
  65. package/components/image-viewer/index.d.ts +2 -3
  66. package/components/image-viewer/index.mjs +2 -0
  67. package/components/image-viewer/src/image-viewer.d.ts +11 -13
  68. package/components/image-viewer/src/image-viewer.mjs +2 -0
  69. package/components/image-viewer/src/image-viewer.vue.d.ts +13 -13
  70. package/components/index.d.ts +26 -78
  71. package/components/index.mjs +28 -0
  72. package/components/input/index.d.ts +2 -3
  73. package/components/input/index.mjs +2 -0
  74. package/components/input/src/input.d.ts +9 -11
  75. package/components/input/src/input.mjs +2 -0
  76. package/components/input/src/input.vue.d.ts +14 -15
  77. package/components/input-number/index.d.ts +2 -3
  78. package/components/input-number/index.mjs +2 -0
  79. package/components/input-number/src/input-number.d.ts +16 -18
  80. package/components/input-number/src/input-number.mjs +2 -0
  81. package/components/input-number/src/input-number.vue.d.ts +16 -17
  82. package/components/link/index.d.ts +2 -3
  83. package/components/link/index.mjs +2 -0
  84. package/components/link/src/link.d.ts +3 -5
  85. package/components/link/src/link.mjs +2 -0
  86. package/components/link/src/link.vue.d.ts +6 -7
  87. package/components/pagination/index.d.ts +2 -3
  88. package/components/pagination/index.mjs +2 -0
  89. package/components/pagination/src/pagination.d.ts +4 -6
  90. package/components/pagination/src/pagination.mjs +2 -0
  91. package/components/pagination/src/pagination.vue.d.ts +19 -19
  92. package/components/popconfirm/index.d.ts +2 -3
  93. package/components/popconfirm/src/popconfirm.d.ts +2 -4
  94. package/components/popconfirm/src/popconfirm.vue.d.ts +9 -10
  95. package/components/popup/index.d.ts +2 -3
  96. package/components/popup/src/popup.d.ts +3 -5
  97. package/components/popup/src/popup.vue.d.ts +9 -10
  98. package/components/provider/index.d.ts +1 -0
  99. package/components/provider/index.mjs +2 -0
  100. package/components/provider/src/Provider.mjs +2 -0
  101. package/components/provider/src/Provider.vue.d.ts +14 -0
  102. package/components/radio-group/index.d.ts +2 -3
  103. package/components/radio-group/index.mjs +2 -0
  104. package/components/radio-group/src/radio-group.d.ts +6 -8
  105. package/components/radio-group/src/radio-group.mjs +2 -0
  106. package/components/radio-group/src/radio-group.vue.d.ts +11 -12
  107. package/components/range-input/index.d.ts +2 -3
  108. package/components/range-input/index.mjs +2 -0
  109. package/components/range-input/src/range-input.d.ts +7 -9
  110. package/components/range-input/src/range-input.mjs +2 -0
  111. package/components/range-input/src/range-input.vue.d.ts +17 -18
  112. package/components/select/index.d.ts +2 -3
  113. package/components/select/index.mjs +2 -0
  114. package/components/select/src/select.d.ts +46 -48
  115. package/components/select/src/select.mjs +2 -0
  116. package/components/select/src/select.vue.d.ts +19 -19
  117. package/components/slider/index.d.ts +2 -3
  118. package/components/slider/index.mjs +2 -0
  119. package/components/slider/src/slider.d.ts +4 -6
  120. package/components/slider/src/slider.mjs +2 -0
  121. package/components/slider/src/slider.vue.d.ts +10 -11
  122. package/components/switch/index.d.ts +2 -3
  123. package/components/switch/index.mjs +2 -0
  124. package/components/switch/src/switch.d.ts +5 -7
  125. package/components/switch/src/switch.mjs +2 -0
  126. package/components/switch/src/switch.vue.d.ts +11 -12
  127. package/components/tab-panel/index.d.ts +2 -3
  128. package/components/tab-panel/src/tab-panel.d.ts +1 -2
  129. package/components/tab-panel/src/tab-panel.vue.d.ts +7 -7
  130. package/components/tag/index.d.ts +2 -3
  131. package/components/tag/index.mjs +2 -0
  132. package/components/tag/src/tag.d.ts +5 -7
  133. package/components/tag/src/tag.mjs +2 -0
  134. package/components/tag/src/tag.vue.d.ts +8 -8
  135. package/components/tag-input/index.d.ts +2 -3
  136. package/components/tag-input/index.mjs +2 -0
  137. package/components/tag-input/src/tag-input.d.ts +6 -8
  138. package/components/tag-input/src/tag-input.mjs +2 -0
  139. package/components/tag-input/src/tag-input.vue.d.ts +11 -12
  140. package/components/textarea/index.d.ts +2 -3
  141. package/components/textarea/index.mjs +2 -0
  142. package/components/textarea/src/textarea.d.ts +3 -5
  143. package/components/textarea/src/textarea.mjs +2 -0
  144. package/components/textarea/src/textarea.vue.d.ts +17 -18
  145. package/components/tree/index.d.ts +2 -3
  146. package/components/tree/index.mjs +3 -0
  147. package/components/tree/src/tree.d.ts +18 -20
  148. package/components/tree/src/tree.mjs +2 -0
  149. package/components/tree/src/tree.vue.d.ts +17 -17
  150. package/components/tree-select/index.d.ts +2 -3
  151. package/components/tree-select/index.mjs +2 -0
  152. package/components/tree-select/src/tree-select.d.ts +8 -10
  153. package/components/tree-select/src/tree-select.mjs +2 -0
  154. package/components/tree-select/src/tree-select.vue.d.ts +10 -11
  155. package/components/upload/index.d.ts +2 -3
  156. package/components/upload/index.mjs +2 -0
  157. package/components/upload/src/upload.d.ts +15 -17
  158. package/components/upload/src/upload.mjs +2 -0
  159. package/components/upload/src/upload.vue.d.ts +16 -15
  160. package/constants/index.d.ts +1 -2
  161. package/constants/{index.ts.mjs → index.mjs} +1 -1
  162. package/constants/others.d.ts +1 -3
  163. package/hooks/useAnimateAuto.d.ts +3 -4
  164. package/hooks/useAppContext.d.ts +2 -4
  165. package/hooks/useCommon.d.ts +2 -3
  166. package/hooks/useContextMenu.d.ts +9 -11
  167. package/hooks/useDic.d.ts +6 -8
  168. package/hooks/{useDic.ts.mjs → useDic.mjs} +1 -1
  169. package/hooks/useList.d.ts +8 -7
  170. package/hooks/{useList.ts.mjs → useList.mjs} +1 -1
  171. package/hooks/useMQ.d.ts +8 -9
  172. package/hooks/useSysUser.d.ts +4 -6
  173. package/hooks/{useSysUser.ts.mjs → useSysUser.mjs} +1 -1
  174. package/index.d.ts +8 -63
  175. package/index.mjs +29 -0
  176. package/package.json +3 -3
  177. package/plugins/alova/index.d.ts +11 -11
  178. package/plugins/alova/{index.ts.mjs → index.mjs} +1 -1
  179. package/plugins/autoImport/$confirm.d.ts +7 -0
  180. package/plugins/autoImport/{_confirm.ts.mjs → $confirm.mjs} +1 -1
  181. package/plugins/autoImport/$dialog.d.ts +22 -0
  182. package/plugins/autoImport/{_dialog.ts.mjs → $dialog.mjs} +2 -2
  183. package/plugins/autoImport/$drawer.d.ts +15 -0
  184. package/plugins/autoImport/{_drawer.ts.mjs → $drawer.mjs} +2 -2
  185. package/plugins/autoImport/$loading.d.ts +14 -0
  186. package/plugins/autoImport/{_loading.ts.mjs → $loading.mjs} +1 -1
  187. package/plugins/autoImport/$msg.d.ts +18 -0
  188. package/plugins/autoImport/{_msg.ts.mjs → $msg.mjs} +1 -1
  189. package/plugins/autoImport/$notify.d.ts +16 -0
  190. package/plugins/autoImport/{_notify.ts.mjs → $notify.mjs} +1 -1
  191. package/plugins/autoImport/dayjs.d.ts +2 -2
  192. package/plugins/others/directive.d.ts +3 -5
  193. package/plugins/others/{directive.ts.mjs → directive.mjs} +2 -2
  194. package/plugins/useContextMenuComponent/{Index.vue.mjs → Index.mjs} +4 -4
  195. package/plugins/useContextMenuComponent/Index.vue.d.ts +3 -4
  196. package/plugins/useContextMenuComponent/MenuNode.vue.d.ts +6 -7
  197. package/plugins/useContextMenuComponent/types.d.ts +7 -10
  198. package/router/index.d.ts +5 -6
  199. package/store/index.d.ts +3 -4
  200. package/store/modules/common.d.ts +17 -17
  201. package/store/modules/common.mjs +2 -0
  202. package/store/modules/excludeKPname.d.ts +7 -8
  203. package/store/modules/login.d.ts +10 -10
  204. package/store/modules/login.mjs +2 -0
  205. package/store/modules/recentRouters.d.ts +18 -18
  206. package/store/modules/{recentRouters.ts.mjs → recentRouters.mjs} +1 -1
  207. package/store/modules/router.d.ts +40 -39
  208. package/store/modules/router.mjs +2 -0
  209. package/store/modules/user.d.ts +32 -31
  210. package/store/modules/user.mjs +2 -0
  211. package/utils/boolean.d.ts +0 -2
  212. package/utils/{boolean.ts.mjs → boolean.mjs} +1 -1
  213. package/utils/index.d.ts +5 -6
  214. package/utils/{index.ts.mjs → index.mjs} +5 -5
  215. package/utils/number.d.ts +3 -4
  216. package/utils/{number.ts.mjs → number.mjs} +1 -1
  217. package/utils/string.d.ts +0 -2
  218. package/utils/tool.d.ts +1 -3
  219. package/utils/tree.d.ts +10 -11
  220. package/assets/Index-CRPjy593.css +0 -1
  221. package/assets/button-ySOkGcQh.css +0 -1
  222. package/assets/card-BQk39jnB.css +0 -2
  223. package/assets/form-DD3wq8_T.css +0 -2
  224. package/assets/image-BpCE1tpL.css +0 -1
  225. package/assets/input-number-DBKtI-Fk.css +0 -2
  226. package/assets/pagination-DqSXT3ik.css +0 -1
  227. package/assets/upload-BJHvcU-9.css +0 -1
  228. package/chunks/image-Cunr39w4.mjs +0 -46
  229. package/chunks/link-BuO-XtLZ.mjs +0 -41
  230. package/chunks/slider-47gg2-Of.mjs +0 -47
  231. package/chunks/switch-b7w8iKxZ.mjs +0 -45
  232. package/components/button/index.ts.mjs +0 -3
  233. package/components/button/src/button.ts.mjs +0 -9
  234. package/components/button/src/button.vue.mjs +0 -2
  235. package/components/card/index.ts.mjs +0 -3
  236. package/components/card/src/card.ts.mjs +0 -9
  237. package/components/card/src/card.vue.mjs +0 -2
  238. package/components/checkbox/src/checkbox.ts.mjs +0 -0
  239. package/components/checkbox-group/index.ts.mjs +0 -2
  240. package/components/checkbox-group/src/checkbox-group.ts.mjs +0 -0
  241. package/components/checkbox-group/src/checkbox-group.vue.mjs +0 -2
  242. package/components/form/index.ts.mjs +0 -3
  243. package/components/form/src/form.ts.mjs +0 -18
  244. package/components/form/src/form.vue.mjs +0 -2
  245. package/components/icon/src/icon.ts.mjs +0 -0
  246. package/components/image/index.ts.mjs +0 -3
  247. package/components/image/src/image.ts.mjs +0 -4
  248. package/components/image/src/image.vue.mjs +0 -2
  249. package/components/image-viewer/index.ts.mjs +0 -3
  250. package/components/image-viewer/src/image-viewer.ts.mjs +0 -12
  251. package/components/image-viewer/src/image-viewer.vue.mjs +0 -2
  252. package/components/index.ts.mjs +0 -42
  253. package/components/input/index.ts.mjs +0 -3
  254. package/components/input/src/input.ts.mjs +0 -10
  255. package/components/input/src/input.vue.mjs +0 -2
  256. package/components/input-number/index.ts.mjs +0 -3
  257. package/components/input-number/src/input-number.ts.mjs +0 -12
  258. package/components/input-number/src/input-number.vue.mjs +0 -2
  259. package/components/link/index.ts.mjs +0 -3
  260. package/components/link/src/link.ts.mjs +0 -4
  261. package/components/link/src/link.vue.mjs +0 -2
  262. package/components/pagination/index.ts.mjs +0 -2
  263. package/components/pagination/src/pagination.ts.mjs +0 -0
  264. package/components/pagination/src/pagination.vue.mjs +0 -2
  265. package/components/popconfirm/src/popconfirm.ts.mjs +0 -0
  266. package/components/popup/src/popup.ts.mjs +0 -0
  267. package/components/radio-group/index.ts.mjs +0 -2
  268. package/components/radio-group/src/radio-group.ts.mjs +0 -0
  269. package/components/radio-group/src/radio-group.vue.mjs +0 -2
  270. package/components/range-input/index.ts.mjs +0 -2
  271. package/components/range-input/src/range-input.ts.mjs +0 -0
  272. package/components/range-input/src/range-input.vue.mjs +0 -2
  273. package/components/select/index.ts.mjs +0 -3
  274. package/components/select/src/select.ts.mjs +0 -25
  275. package/components/select/src/select.vue.mjs +0 -2
  276. package/components/slider/index.ts.mjs +0 -3
  277. package/components/slider/src/slider.ts.mjs +0 -4
  278. package/components/slider/src/slider.vue.mjs +0 -2
  279. package/components/switch/index.ts.mjs +0 -3
  280. package/components/switch/src/switch.ts.mjs +0 -7
  281. package/components/switch/src/switch.vue.mjs +0 -2
  282. package/components/tab-panel/src/tab-panel.ts.mjs +0 -0
  283. package/components/tag/index.ts.mjs +0 -3
  284. package/components/tag/src/tag.ts.mjs +0 -7
  285. package/components/tag/src/tag.vue.mjs +0 -2
  286. package/components/tag-input/index.ts.mjs +0 -3
  287. package/components/tag-input/src/tag-input.ts.mjs +0 -7
  288. package/components/tag-input/src/tag-input.vue.mjs +0 -2
  289. package/components/textarea/index.ts.mjs +0 -2
  290. package/components/textarea/src/textarea.ts.mjs +0 -0
  291. package/components/textarea/src/textarea.vue.mjs +0 -2
  292. package/components/tree/index.ts.mjs +0 -3
  293. package/components/tree/src/tree.vue.mjs +0 -2
  294. package/components/tree-select/index.ts.mjs +0 -2
  295. package/components/tree-select/src/tree-select.ts.mjs +0 -0
  296. package/components/tree-select/src/tree-select.vue.mjs +0 -2
  297. package/components/upload/index.ts.mjs +0 -3
  298. package/components/upload/src/upload.ts.mjs +0 -4
  299. package/components/upload/src/upload.vue.mjs +0 -2
  300. package/entry/Provider.vue.d.ts +0 -15
  301. package/entry/Provider.vue.mjs +0 -2
  302. package/index.ts.mjs +0 -43
  303. package/plugins/autoImport/_confirm.d.ts +0 -9
  304. package/plugins/autoImport/_dialog.d.ts +0 -22
  305. package/plugins/autoImport/_drawer.d.ts +0 -17
  306. package/plugins/autoImport/_loading.d.ts +0 -17
  307. package/plugins/autoImport/_msg.d.ts +0 -18
  308. package/plugins/autoImport/_notify.d.ts +0 -16
  309. package/store/modules/common.ts.mjs +0 -2
  310. package/store/modules/login.ts.mjs +0 -2
  311. package/store/modules/router.ts.mjs +0 -2
  312. package/store/modules/user.ts.mjs +0 -2
  313. /package/chunks/{_plugin-vue_export-helper-B3ysoDQm.mjs → plugin-vue_export-helper-B3ysoDQm.mjs} +0 -0
  314. /package/components/checkbox/{index.ts.mjs → index.mjs} +0 -0
  315. /package/components/checkbox/src/{checkbox.vue.mjs → checkbox.mjs} +0 -0
  316. /package/components/icon/{index.ts.mjs → index.mjs} +0 -0
  317. /package/components/icon/src/{icon.vue.mjs → icon.mjs} +0 -0
  318. /package/components/popconfirm/{index.ts.mjs → index.mjs} +0 -0
  319. /package/components/popconfirm/src/{popconfirm.vue.mjs → popconfirm.mjs} +0 -0
  320. /package/components/popup/{index.ts.mjs → index.mjs} +0 -0
  321. /package/components/popup/src/{popup.vue.mjs → popup.mjs} +0 -0
  322. /package/components/tab-panel/{index.ts.mjs → index.mjs} +0 -0
  323. /package/components/tab-panel/src/{tab-panel.vue.mjs → tab-panel.mjs} +0 -0
  324. /package/constants/{others.ts.mjs → others.mjs} +0 -0
  325. /package/hooks/{useAnimateAuto.ts.mjs → useAnimateAuto.mjs} +0 -0
  326. /package/hooks/{useAppContext.ts.mjs → useAppContext.mjs} +0 -0
  327. /package/hooks/{useCommon.ts.mjs → useCommon.mjs} +0 -0
  328. /package/hooks/{useContextMenu.ts.mjs → useContextMenu.mjs} +0 -0
  329. /package/hooks/{useMQ.ts.mjs → useMQ.mjs} +0 -0
  330. /package/plugins/autoImport/{dayjs.ts.mjs → dayjs.mjs} +0 -0
  331. /package/plugins/useContextMenuComponent/{MenuNode.vue.mjs → MenuNode.mjs} +0 -0
  332. /package/router/{index.ts.mjs → index.mjs} +0 -0
  333. /package/store/{index.ts.mjs → index.mjs} +0 -0
  334. /package/store/modules/{excludeKPname.ts.mjs → excludeKPname.mjs} +0 -0
  335. /package/utils/{string.ts.mjs → string.mjs} +0 -0
  336. /package/utils/{tool.ts.mjs → tool.mjs} +0 -0
  337. /package/utils/{tree.ts.mjs → tree.mjs} +0 -0
@@ -1,13 +1,19 @@
1
- import { imageViewerPropsInit as e } from "../components/image-viewer/src/image-viewer.ts.mjs";
2
- import { computed as t, createBlock as n, defineComponent as r, getCurrentInstance as i, h as a, mergeDefaults as o, mergeProps as s, openBlock as c, resolveDynamicComponent as l, unref as u } from "vue";
3
- import { ImageViewer as d } from "tdesign-vue-next";
4
- //#endregion
5
- //#region ../../packages/dlzn-ui/components/image-viewer/src/image-viewer.vue
6
- var f = /* @__PURE__ */ r({
1
+ import { computed as e, createBlock as t, defineComponent as n, getCurrentInstance as r, h as i, mergeDefaults as a, mergeProps as o, openBlock as s, resolveDynamicComponent as c, unref as l } from "vue";
2
+ import { ImageViewer as u } from "tdesign-vue-next";
3
+ //#region ../../packages/dlzn-ui/components/image-viewer/src/image-viewer.ts
4
+ var d = {
5
+ closeBtn: !0,
6
+ closeOnEscKeydown: !0,
7
+ closeOnOverlay: !0,
8
+ draggable: !0,
9
+ navigationArrow: !0,
10
+ showOverlay: !0,
11
+ visible: void 0
12
+ }, f = /* @__PURE__ */ n({
7
13
  inheritAttrs: !1,
8
14
  name: "TImageViewer",
9
15
  __name: "image-viewer",
10
- props: /*@__PURE__*/ o({
16
+ props: /*@__PURE__*/ a({
11
17
  "onUpdate:index": { type: Function },
12
18
  "onUpdate:visible": { type: Function },
13
19
  attach: { type: [String, Function] },
@@ -32,22 +38,22 @@ var f = /* @__PURE__ */ r({
32
38
  onClose: { type: Function },
33
39
  onDownload: { type: Function },
34
40
  onIndexChange: { type: Function }
35
- }, { ...e }),
36
- setup(e) {
37
- let r = e, o = t(() => {
38
- let e = { ...r };
41
+ }, { ...d }),
42
+ setup(n) {
43
+ let a = n, d = e(() => {
44
+ let e = { ...a };
39
45
  return Object.keys(e).forEach((t) => {
40
46
  e[t] === void 0 && delete e[t];
41
47
  }), e;
42
- }), f = d, p = i();
48
+ }), f = u, p = r();
43
49
  function m(e) {
44
50
  p.exposed = e ?? {};
45
51
  }
46
- return (e, t) => (c(), n(l(a(u(f), s(e.$attrs, {
47
- ...o.value,
52
+ return (e, n) => (s(), t(c(i(l(f), o(e.$attrs, {
53
+ ...d.value,
48
54
  ref: m
49
55
  }), e.$slots))));
50
56
  }
51
57
  });
52
58
  //#endregion
53
- export { f as t };
59
+ export { d as n, f as t };
@@ -1,13 +1,17 @@
1
- import { inputPropsInit as e } from "../components/input/src/input.ts.mjs";
2
- import { computed as t, createBlock as n, defineComponent as r, getCurrentInstance as i, h as a, mergeDefaults as o, mergeProps as s, openBlock as c, resolveDynamicComponent as l, unref as u } from "vue";
3
- import { Input as d, InputAdornment as f } from "tdesign-vue-next";
4
- import '../assets/input-DUBiAo2D.css';//#endregion
5
- //#region ../../packages/dlzn-ui/components/input/src/input.vue
6
- var p = /* @__PURE__ */ r({
1
+ import { computed as e, createBlock as t, defineComponent as n, getCurrentInstance as r, h as i, mergeDefaults as a, mergeProps as o, openBlock as s, resolveDynamicComponent as c, unref as l } from "vue";
2
+ import { Input as u, InputAdornment as d } from "tdesign-vue-next";
3
+ import '../assets/input-DUBiAo2D.css';//#region ../../packages/dlzn-ui/components/input/src/input.ts
4
+ var f = {
5
+ autocomplete: "off",
6
+ clearable: !0,
7
+ disabled: void 0,
8
+ placeholder: "请输入",
9
+ readonly: void 0
10
+ }, p = /* @__PURE__ */ n({
7
11
  inheritAttrs: !1,
8
12
  name: "TInput",
9
13
  __name: "input",
10
- props: /*@__PURE__*/ o({
14
+ props: /*@__PURE__*/ a({
11
15
  adornment: {},
12
16
  modelValue: {},
13
17
  align: {},
@@ -52,30 +56,30 @@ var p = /* @__PURE__ */ r({
52
56
  onPaste: { type: Function },
53
57
  onValidate: { type: Function },
54
58
  onWheel: { type: Function }
55
- }, e),
59
+ }, f),
56
60
  emits: ["update:modelValue"],
57
- setup(e, { emit: r }) {
58
- let o = e, p = r, m = t(() => {
59
- let e = { ...o };
61
+ setup(n, { emit: a }) {
62
+ let f = n, p = a, m = e(() => {
63
+ let e = { ...f };
60
64
  return delete e.adornment, Object.keys(e).forEach((t) => {
61
65
  e[t] === void 0 && delete e[t];
62
66
  }), e;
63
- }), h = d, g = i();
67
+ }), h = u, g = r();
64
68
  function _(e) {
65
69
  g.exposed = e ?? {};
66
70
  }
67
- let v = t(() => ({
71
+ let v = e(() => ({
68
72
  ...m.value,
69
73
  onChange: (...e) => {
70
- p("update:modelValue", e[0]), o.onChange?.(...e);
74
+ p("update:modelValue", e[0]), f.onChange?.(...e);
71
75
  },
72
76
  ref: _
73
- })), y = f;
74
- return (t, r) => e.adornment ? (c(), n(l(a(u(y), t.$attrs, {
75
- ...e.adornment,
76
- default: () => a(u(h), v.value, t.$slots)
77
- })), { key: 0 })) : (c(), n(l(a(u(h), s(t.$attrs, v.value), t.$slots)), { key: 1 }));
77
+ })), y = d;
78
+ return (e, r) => n.adornment ? (s(), t(c(i(l(y), e.$attrs, {
79
+ ...n.adornment,
80
+ default: () => i(l(h), v.value, e.$slots)
81
+ })), { key: 0 })) : (s(), t(c(i(l(h), o(e.$attrs, v.value), e.$slots)), { key: 1 }));
78
82
  }
79
83
  });
80
84
  //#endregion
81
- export { p as t };
85
+ export { f as n, p as t };
@@ -1,16 +1,22 @@
1
- import { isFalsy as e } from "../utils/boolean.ts.mjs";
2
- import { formatNumber as t } from "../utils/number.ts.mjs";
3
- import { t as n } from "./_plugin-vue_export-helper-B3ysoDQm.mjs";
4
- import { inputNumberPropsInit as r } from "../components/input-number/src/input-number.ts.mjs";
5
- import { computed as i, createBlock as a, defineComponent as o, getCurrentInstance as s, h as c, mergeDefaults as l, mergeProps as u, openBlock as d, resolveDynamicComponent as f, unref as p } from "vue";
6
- import { InputNumber as m } from "tdesign-vue-next";
7
- import '../assets/input-number-DBKtI-Fk.css';//#endregion
8
- //#region ../../packages/dlzn-ui/components/input-number/src/input-number.vue
9
- var h = /*#__PURE__*/ n(/* @__PURE__ */ o({
1
+ import { isFalsy as e } from "../utils/boolean.mjs";
2
+ import { formatNumber as t } from "../utils/number.mjs";
3
+ import { t as n } from "./plugin-vue_export-helper-B3ysoDQm.mjs";
4
+ import { computed as r, createBlock as i, defineComponent as a, getCurrentInstance as o, h as s, mergeDefaults as c, mergeProps as l, openBlock as u, resolveDynamicComponent as d, unref as f } from "vue";
5
+ import { InputNumber as p } from "tdesign-vue-next";
6
+ import '../assets/input-number-CYEGbleB.css';//#region ../../packages/dlzn-ui/components/input-number/src/input-number.ts
7
+ var m = {
8
+ autoWidth: void 0,
9
+ decimalPlaces: 2,
10
+ disabled: void 0,
11
+ min: 0,
12
+ readonly: void 0,
13
+ theme: "normal",
14
+ useGrouping: !0
15
+ }, h = /*#__PURE__*/ n(/* @__PURE__ */ a({
10
16
  inheritAttrs: !1,
11
17
  name: "TInputNumber",
12
18
  __name: "input-number",
13
- props: /*@__PURE__*/ l({
19
+ props: /*@__PURE__*/ c({
14
20
  modelValue: {},
15
21
  theme: {},
16
22
  useGrouping: { type: Boolean },
@@ -41,27 +47,27 @@ var h = /*#__PURE__*/ n(/* @__PURE__ */ o({
41
47
  onKeypress: { type: Function },
42
48
  onKeyup: { type: Function },
43
49
  onValidate: { type: Function }
44
- }, r),
50
+ }, m),
45
51
  emits: ["update:modelValue"],
46
- setup(n, { emit: r }) {
47
- let o = n, l = r, h = i(() => {
48
- let e = { ...o };
52
+ setup(n, { emit: a }) {
53
+ let c = n, m = a, h = r(() => {
54
+ let e = { ...c };
49
55
  return e.autoWidth === void 0 && e.theme === "row" && (e.autoWidth = !0), e.useGrouping === !0 && e.format === void 0 && (e.format = (e) => t(e)), delete e.useGrouping, Object.keys(e).forEach((t) => {
50
56
  e[t] === void 0 && delete e[t];
51
57
  }), e;
52
- }), g = m, _ = s();
58
+ }), g = p, _ = o();
53
59
  function v(e) {
54
60
  _.exposed = e ?? {};
55
61
  }
56
- return (t, n) => (d(), a(f(c(p(g), u(t.$attrs, {
62
+ return (t, n) => (u(), i(d(s(f(g), l(t.$attrs, {
57
63
  ...h.value,
58
64
  onChange: (...t) => {
59
- let [n, ...r] = t, i = p(e)(n) ? "" : n;
60
- l("update:modelValue", i), o.onChange?.(i, ...r);
65
+ let [n, ...r] = t, i = f(e)(n) ? "" : n;
66
+ m("update:modelValue", i), c.onChange?.(i, ...r);
61
67
  },
62
68
  ref: v
63
69
  }), t.$slots))));
64
70
  }
65
- }), [["__scopeId", "data-v-5f2e8637"]]);
71
+ }), [["__scopeId", "data-v-57c7f43f"]]);
66
72
  //#endregion
67
- export { h as t };
73
+ export { m as n, h as t };
@@ -0,0 +1,39 @@
1
+ import { computed as e, createBlock as t, defineComponent as n, getCurrentInstance as r, h as i, mergeDefaults as a, mergeProps as o, openBlock as s, resolveDynamicComponent as c, unref as l } from "vue";
2
+ import { Link as u } from "tdesign-vue-next";
3
+ //#region ../../packages/dlzn-ui/components/link/src/link.ts
4
+ var d = { theme: "primary" }, f = /* @__PURE__ */ n({
5
+ inheritAttrs: !1,
6
+ name: "TLink",
7
+ __name: "link",
8
+ props: /*@__PURE__*/ a({
9
+ default: {},
10
+ disabled: { type: Boolean },
11
+ download: { type: [String, Boolean] },
12
+ hover: {},
13
+ href: {},
14
+ prefixIcon: {},
15
+ size: {},
16
+ suffixIcon: {},
17
+ target: {},
18
+ theme: {},
19
+ underline: { type: Boolean },
20
+ onClick: { type: Function }
21
+ }, { ...d }),
22
+ setup(n) {
23
+ let a = n, d = e(() => {
24
+ let e = { ...a };
25
+ return Object.keys(e).forEach((t) => {
26
+ e[t] === void 0 && delete e[t];
27
+ }), e;
28
+ }), f = u, p = r();
29
+ function m(e) {
30
+ p.exposed = e ?? {};
31
+ }
32
+ return (e, n) => (s(), t(c(i(l(f), o(e.$attrs, {
33
+ ...d.value,
34
+ ref: m
35
+ }), e.$slots))));
36
+ }
37
+ });
38
+ //#endregion
39
+ export { d as n, f as t };
@@ -1,8 +1,8 @@
1
- import e from "../plugins/autoImport/_confirm.ts.mjs";
2
- import { t } from "./_plugin-vue_export-helper-B3ysoDQm.mjs";
1
+ import e from "../plugins/autoImport/$confirm.mjs";
2
+ import { t } from "./plugin-vue_export-helper-B3ysoDQm.mjs";
3
3
  import { computed as n, createBlock as r, defineComponent as i, getCurrentInstance as a, h as o, mergeProps as s, openBlock as c, resolveDynamicComponent as l, unref as u } from "vue";
4
4
  import { Pagination as d } from "tdesign-vue-next";
5
- import '../assets/pagination-DqSXT3ik.css';//#endregion
5
+ import '../assets/pagination-D7QwybX3.css';//#endregion
6
6
  //#region ../../packages/dlzn-ui/components/pagination/src/pagination.vue
7
7
  var f = /*#__PURE__*/ t(/* @__PURE__ */ i({
8
8
  inheritAttrs: !1,
@@ -73,6 +73,6 @@ var f = /*#__PURE__*/ t(/* @__PURE__ */ i({
73
73
  }
74
74
  }), t.$slots))));
75
75
  }
76
- }), [["__scopeId", "data-v-ea93e350"]]);
76
+ }), [["__scopeId", "data-v-2fa755d5"]]);
77
77
  //#endregion
78
78
  export { f as t };
@@ -1,8 +1,8 @@
1
- import e from "../plugins/autoImport/_notify.ts.mjs";
2
- import { m as t } from "./user-g1zF8j96.mjs";
3
- import { isFalsy as n, isValidNumberString as r } from "../utils/boolean.ts.mjs";
4
- import { stringDisplay as i } from "../utils/string.ts.mjs";
5
- import { useList as a } from "../hooks/useList.ts.mjs";
1
+ import e from "../plugins/autoImport/$notify.mjs";
2
+ import { m as t } from "./user-DpkUzWVu.mjs";
3
+ import { isFalsy as n, isValidNumberString as r } from "../utils/boolean.mjs";
4
+ import { stringDisplay as i } from "../utils/string.mjs";
5
+ import { useList as a } from "../hooks/useList.mjs";
6
6
  import { computed as o, createBlock as s, defineComponent as c, getCurrentInstance as l, h as u, mergeProps as d, openBlock as f, resolveDynamicComponent as p, unref as m } from "vue";
7
7
  import { RadioGroup as h } from "tdesign-vue-next";
8
8
  //#endregion
@@ -1,5 +1,5 @@
1
- import { isFalsy as e } from "../utils/boolean.ts.mjs";
2
- import { formatNumber as t } from "../utils/number.ts.mjs";
1
+ import { isFalsy as e } from "../utils/boolean.mjs";
2
+ import { formatNumber as t } from "../utils/number.mjs";
3
3
  import { computed as n, createBlock as r, defineComponent as i, getCurrentInstance as a, h as o, mergeModels as s, mergeProps as c, openBlock as l, resolveDynamicComponent as u, unref as d, useModel as f } from "vue";
4
4
  import { RangeInput as p } from "tdesign-vue-next";
5
5
  //#endregion
@@ -1,19 +1,38 @@
1
- import e from "../plugins/autoImport/_notify.ts.mjs";
2
- import { m as t } from "./user-g1zF8j96.mjs";
3
- import { isFalsy as n, isValidNumberString as r } from "../utils/boolean.ts.mjs";
4
- import { stringDisplay as i } from "../utils/string.ts.mjs";
5
- import { useList as a } from "../hooks/useList.ts.mjs";
6
- import { selectPropsInit as o } from "../components/select/src/select.ts.mjs";
7
- import { computed as s, createBlock as c, defineComponent as l, getCurrentInstance as u, h as d, mergeDefaults as f, mergeProps as p, onMounted as m, openBlock as h, ref as g, resolveDynamicComponent as _, unref as v } from "vue";
8
- import { useResizeObserver as y } from "@vueuse/core";
9
- import { InputAdornment as b, Select as x } from "tdesign-vue-next";
10
- import '../assets/select-cEZdThYc.css';//#endregion
11
- //#region ../../packages/dlzn-ui/components/select/src/select.vue
12
- var S = /* @__PURE__ */ l({
1
+ import e from "../plugins/autoImport/$notify.mjs";
2
+ import { m as t } from "./user-DpkUzWVu.mjs";
3
+ import { isFalsy as n, isValidNumberString as r } from "../utils/boolean.mjs";
4
+ import { stringDisplay as i } from "../utils/string.mjs";
5
+ import { useList as a } from "../hooks/useList.mjs";
6
+ import { computed as o, createBlock as s, defineComponent as c, getCurrentInstance as l, h as u, mergeDefaults as d, mergeProps as f, onMounted as p, openBlock as m, ref as h, resolveDynamicComponent as g, unref as _ } from "vue";
7
+ import { useResizeObserver as v } from "@vueuse/core";
8
+ import { InputAdornment as y, Select as b } from "tdesign-vue-next";
9
+ import '../assets/select-cEZdThYc.css';//#region ../../packages/dlzn-ui/components/select/src/select.ts
10
+ var x = {
11
+ clearable: !0,
12
+ disabled: void 0,
13
+ filterable: void 0,
14
+ inputValue: void 0,
15
+ keys: () => ({
16
+ disabled: "disabled",
17
+ label: "label",
18
+ value: "value"
19
+ }),
20
+ minCollapsedNum: 1,
21
+ multiple: !1,
22
+ placeholder: "请选择",
23
+ popupVisible: void 0,
24
+ readonly: void 0,
25
+ scroll: () => ({
26
+ threshold: 150,
27
+ type: "virtual"
28
+ }),
29
+ showArrow: !0,
30
+ showCheckAll: !1
31
+ }, S = /* @__PURE__ */ c({
13
32
  inheritAttrs: !1,
14
33
  name: "TSelect",
15
34
  __name: "select",
16
- props: /*@__PURE__*/ f({
35
+ props: /*@__PURE__*/ d({
17
36
  adornment: {},
18
37
  dicCode: {},
19
38
  modelValue: {},
@@ -73,52 +92,52 @@ var S = /* @__PURE__ */ l({
73
92
  onPopupVisibleChange: { type: Function },
74
93
  onRemove: { type: Function },
75
94
  onSearch: { type: Function }
76
- }, o),
77
- setup(o) {
78
- let l = o, f = x, S = u();
95
+ }, x),
96
+ setup(c) {
97
+ let d = c, x = b, S = l();
79
98
  function C(e) {
80
99
  S.exposed = e ?? {};
81
100
  }
82
- let w = s(() => {
101
+ let w = o(() => {
83
102
  let n;
84
- return l.dicCode === void 0 ? n = typeof l.options == "string" ? a(l.options).value : l.options : (l.options && e.error("TSelect: dicCode and options cannot be used together"), n = t(l.dicCode).value), l.showCheckAll && (l.multiple ? n === void 0 ? e.error("TSelect: options is required, when showCheckAll is true") : n.unshift({
103
+ return d.dicCode === void 0 ? n = typeof d.options == "string" ? a(d.options).value : d.options : (d.options && e.error("TSelect: dicCode and options cannot be used together"), n = t(d.dicCode).value), d.showCheckAll && (d.multiple ? n === void 0 ? e.error("TSelect: options is required, when showCheckAll is true") : n.unshift({
85
104
  checkAll: !0,
86
- [l.keys?.label ?? "label"]: "全选"
105
+ [d.keys?.label ?? "label"]: "全选"
87
106
  }) : e.error("TSelect: showCheckAll is supported only for multiple select")), n;
88
- }), T = s(() => {
107
+ }), T = o(() => {
89
108
  if (w.value !== void 0) {
90
- let e = w.value.flatMap((e) => e.children ?? [e]), t = l.keys?.value ?? "value", a = e.every((e) => typeof e[t] == "string"), o = e.every((e) => typeof e[t] == "number");
91
- if (l.multiple) {
92
- if (Array.isArray(l.modelValue)) {
93
- if (a) return l.modelValue.map((e) => n(e) ? e : String(e));
94
- if (o) return l.modelValue.map((e) => r(e) ? Number(e) : e);
109
+ let e = w.value.flatMap((e) => e.children ?? [e]), t = d.keys?.value ?? "value", a = e.every((e) => typeof e[t] == "string"), o = e.every((e) => typeof e[t] == "number");
110
+ if (d.multiple) {
111
+ if (Array.isArray(d.modelValue)) {
112
+ if (a) return d.modelValue.map((e) => n(e) ? e : String(e));
113
+ if (o) return d.modelValue.map((e) => r(e) ? Number(e) : e);
95
114
  }
96
- } else if (a) return i(l.modelValue);
97
- else if (o) return r(l.modelValue) ? Number(l.modelValue) : l.modelValue;
115
+ } else if (a) return i(d.modelValue);
116
+ else if (o) return r(d.modelValue) ? Number(d.modelValue) : d.modelValue;
98
117
  }
99
- return l.modelValue;
100
- }), E = s(() => {
118
+ return d.modelValue;
119
+ }), E = o(() => {
101
120
  let e = {
102
- ...l,
103
- filterable: l.filterable ?? w.value.length > 8
121
+ ...d,
122
+ filterable: d.filterable ?? w.value.length > 8
104
123
  };
105
124
  return delete e.dicCode, delete e.showCheckAll, delete e.adornment, Object.keys(e).forEach((t) => {
106
125
  e[t] === void 0 && delete e[t];
107
126
  }), e;
108
- }), D = g(0);
109
- m(() => {
110
- y(S.exposed.$el, () => {
127
+ }), D = h(0);
128
+ p(() => {
129
+ v(S.exposed.$el, () => {
111
130
  D.value = S.exposed.$el.offsetWidth;
112
131
  }, { box: "border-box" });
113
132
  });
114
- let O = s(() => {
133
+ let O = o(() => {
115
134
  if (E.value.scroll?.type === "virtual" && w.value.length > (E.value.scroll?.threshold ?? 150)) return "300px";
116
- }), k = s(() => ({
135
+ }), k = o(() => ({
117
136
  ...E.value,
118
137
  modelValue: T.value,
119
138
  onChange: (...e) => {
120
139
  let [t, ...r] = e, i = n(t) ? "" : t;
121
- l["onUpdate:modelValue"]?.(i), l.onChange?.(i, ...r);
140
+ d["onUpdate:modelValue"]?.(i), d.onChange?.(i, ...r);
122
141
  },
123
142
  options: w.value,
124
143
  popupProps: {
@@ -131,12 +150,12 @@ var S = /* @__PURE__ */ l({
131
150
  })
132
151
  },
133
152
  ref: C
134
- })), A = b;
135
- return (e, t) => o.adornment ? (h(), c(_(d(v(A), e.$attrs, {
136
- ...o.adornment,
137
- default: () => d(v(f), k.value, e.$slots)
138
- })), { key: 0 })) : (h(), c(_(d(v(f), p(e.$attrs, k.value), e.$slots)), { key: 1 }));
153
+ })), A = y;
154
+ return (e, t) => c.adornment ? (m(), s(g(u(_(A), e.$attrs, {
155
+ ...c.adornment,
156
+ default: () => u(_(x), k.value, e.$slots)
157
+ })), { key: 0 })) : (m(), s(g(u(_(x), f(e.$attrs, k.value), e.$slots)), { key: 1 }));
139
158
  }
140
159
  });
141
160
  //#endregion
142
- export { S as t };
161
+ export { x as n, S as t };
@@ -0,0 +1,45 @@
1
+ import { computed as e, createBlock as t, defineComponent as n, getCurrentInstance as r, h as i, mergeDefaults as a, mergeProps as o, openBlock as s, resolveDynamicComponent as c, unref as l } from "vue";
2
+ import { Slider as u } from "tdesign-vue-next";
3
+ //#region ../../packages/dlzn-ui/components/slider/src/slider.ts
4
+ var d = { disabled: void 0 }, f = /* @__PURE__ */ n({
5
+ inheritAttrs: !1,
6
+ name: "TSlider",
7
+ __name: "slider",
8
+ props: /*@__PURE__*/ a({
9
+ modelValue: {},
10
+ disabled: { type: Boolean },
11
+ inputNumberProps: { type: [Boolean, Object] },
12
+ label: { type: [String, Boolean] },
13
+ layout: {},
14
+ marks: {},
15
+ max: {},
16
+ min: {},
17
+ range: { type: Boolean },
18
+ showStep: { type: Boolean },
19
+ step: {},
20
+ tooltipProps: {},
21
+ onChange: { type: Function },
22
+ onChangeEnd: { type: Function }
23
+ }, d),
24
+ emits: ["update:modelValue"],
25
+ setup(n, { emit: a }) {
26
+ let d = n, f = a, p = e(() => {
27
+ let e = { ...d };
28
+ return Object.keys(e).forEach((t) => {
29
+ e[t] === void 0 && delete e[t];
30
+ }), e;
31
+ }), m = u, h = r();
32
+ function g(e) {
33
+ h.exposed = e ?? {};
34
+ }
35
+ return (e, n) => (s(), t(c(i(l(m), o(e.$attrs, {
36
+ ...p.value,
37
+ onChange: (...e) => {
38
+ f("update:modelValue", e[0]), d.onChange?.(...e);
39
+ },
40
+ ref: g
41
+ }), e.$slots))));
42
+ }
43
+ });
44
+ //#endregion
45
+ export { d as n, f as t };
@@ -0,0 +1,46 @@
1
+ import { computed as e, createBlock as t, defineComponent as n, getCurrentInstance as r, h as i, mergeDefaults as a, mergeProps as o, openBlock as s, resolveDynamicComponent as c, unref as l } from "vue";
2
+ import { Switch as u } from "tdesign-vue-next";
3
+ //#region ../../packages/dlzn-ui/components/switch/src/switch.ts
4
+ var d = {
5
+ disabled: void 0,
6
+ size: "large"
7
+ }, f = /* @__PURE__ */ n({
8
+ inheritAttrs: !1,
9
+ name: "TSwitch",
10
+ __name: "switch",
11
+ props: /*@__PURE__*/ a({
12
+ modelValue: { type: [
13
+ String,
14
+ Number,
15
+ Boolean
16
+ ] },
17
+ beforeChange: { type: Function },
18
+ customValue: {},
19
+ disabled: { type: Boolean },
20
+ label: {},
21
+ loading: { type: Boolean },
22
+ size: {},
23
+ onChange: { type: Function }
24
+ }, d),
25
+ emits: ["update:modelValue"],
26
+ setup(n, { emit: a }) {
27
+ let d = n, f = a, p = e(() => {
28
+ let e = { ...d };
29
+ return Object.keys(e).forEach((t) => {
30
+ e[t] === void 0 && delete e[t];
31
+ }), e;
32
+ }), m = u, h = r();
33
+ function g(e) {
34
+ h.exposed = e ?? {};
35
+ }
36
+ return (e, n) => (s(), t(c(i(l(m), o(e.$attrs, {
37
+ ...p.value,
38
+ onChange: (...e) => {
39
+ f("update:modelValue", e[0]), d.onChange?.(...e);
40
+ },
41
+ ref: g
42
+ }), e.$slots))));
43
+ }
44
+ });
45
+ //#endregion
46
+ export { d as n, f as t };
@@ -1,14 +1,15 @@
1
1
  import { t as e } from "./icon-COjp1yrx.mjs";
2
- import { tagPropsInit as t } from "../components/tag/src/tag.ts.mjs";
3
- import { computed as n, createBlock as r, defineComponent as i, getCurrentInstance as a, h as o, mergeDefaults as s, mergeProps as c, openBlock as l, resolveDynamicComponent as u, unref as d } from "vue";
4
- import { Tag as f } from "tdesign-vue-next";
5
- //#endregion
6
- //#region ../../packages/dlzn-ui/components/tag/src/tag.vue
7
- var p = /* @__PURE__ */ i({
2
+ import { computed as t, createBlock as n, defineComponent as r, getCurrentInstance as i, h as a, mergeDefaults as o, mergeProps as s, openBlock as c, resolveDynamicComponent as l, unref as u } from "vue";
3
+ import { Tag as d } from "tdesign-vue-next";
4
+ //#region ../../packages/dlzn-ui/components/tag/src/tag.ts
5
+ var f = {
6
+ size: "medium",
7
+ title: ""
8
+ }, p = /* @__PURE__ */ r({
8
9
  inheritAttrs: !1,
9
10
  name: "TTag",
10
11
  __name: "tag",
11
- props: /*@__PURE__*/ s({
12
+ props: /*@__PURE__*/ o({
12
13
  closable: { type: Boolean },
13
14
  color: {},
14
15
  default: {},
@@ -22,17 +23,17 @@ var p = /* @__PURE__ */ i({
22
23
  onClick: { type: Function },
23
24
  onClose: { type: Function },
24
25
  icon: {}
25
- }, { ...t }),
26
- setup(t) {
27
- let i = t, s = n(() => {
28
- let t = { ...i };
26
+ }, { ...f }),
27
+ setup(r) {
28
+ let o = r, f = t(() => {
29
+ let t = { ...o };
29
30
  if (typeof t.icon == "string") {
30
31
  let n = t.icon, r = {
31
32
  large: "24",
32
33
  medium: "20",
33
34
  small: "16"
34
35
  };
35
- t.icon = () => o(e, {
36
+ t.icon = () => a(e, {
36
37
  icon: n,
37
38
  size: r[t.size]
38
39
  });
@@ -40,15 +41,15 @@ var p = /* @__PURE__ */ i({
40
41
  return Object.keys(t).forEach((e) => {
41
42
  t[e] === void 0 && delete t[e];
42
43
  }), t;
43
- }), p = f, m = a();
44
+ }), p = d, m = i();
44
45
  function h(e) {
45
46
  m.exposed = e ?? {};
46
47
  }
47
- return (e, t) => (l(), r(u(o(d(p), c(e.$attrs, {
48
- ...s.value,
48
+ return (e, t) => (c(), n(l(a(u(p), s(e.$attrs, {
49
+ ...f.value,
49
50
  ref: h
50
51
  }), e.$slots))));
51
52
  }
52
53
  });
53
54
  //#endregion
54
- export { p as t };
55
+ export { f as n, p as t };