@w-run/wdesign-ui 0.0.0-stage → 1.1.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 (214) hide show
  1. package/README.md +255 -2
  2. package/dist/index.d.ts +1013 -0
  3. package/dist/parts/WdAffix.js +159 -0
  4. package/dist/parts/WdAiMessage.js +277 -0
  5. package/dist/parts/WdAlert.js +92 -0
  6. package/dist/parts/WdAnchor.js +159 -0
  7. package/dist/parts/WdAudioPlayer.js +1024 -0
  8. package/dist/parts/WdAvatar.js +6 -0
  9. package/dist/parts/WdAvatarGroup.js +46 -0
  10. package/dist/parts/WdBacktop.js +120 -0
  11. package/dist/parts/WdBadge.js +61 -0
  12. package/dist/parts/WdBento.js +40 -0
  13. package/dist/parts/WdBentoItem.js +43 -0
  14. package/dist/parts/WdBottomSheet.js +263 -0
  15. package/dist/parts/WdBreadcrumb.js +64 -0
  16. package/dist/parts/WdButton.js +94 -0
  17. package/dist/parts/WdCalendar.js +11 -0
  18. package/dist/parts/WdCard.js +113 -0
  19. package/dist/parts/WdCarousel.js +365 -0
  20. package/dist/parts/WdCascader.js +386 -0
  21. package/dist/parts/WdCheckbox.js +81 -0
  22. package/dist/parts/WdCollapse.js +135 -0
  23. package/dist/parts/WdColorPicker.js +592 -0
  24. package/dist/parts/WdCommand.js +357 -0
  25. package/dist/parts/WdContainer.js +37 -0
  26. package/dist/parts/WdCountdown.js +163 -0
  27. package/dist/parts/WdDanmaku.js +6 -0
  28. package/dist/parts/WdDatePicker.js +169 -0
  29. package/dist/parts/WdDateTimePicker.js +162 -0
  30. package/dist/parts/WdDescriptions.js +146 -0
  31. package/dist/parts/WdDivider.js +64 -0
  32. package/dist/parts/WdDrawer.js +176 -0
  33. package/dist/parts/WdDropdown.js +140 -0
  34. package/dist/parts/WdEmpty.js +79 -0
  35. package/dist/parts/WdExplorer.js +336 -0
  36. package/dist/parts/WdFileList.js +177 -0
  37. package/dist/parts/WdForm.js +111 -0
  38. package/dist/parts/WdFormItem.js +156 -0
  39. package/dist/parts/WdGrid.js +40 -0
  40. package/dist/parts/WdGroup.js +68 -0
  41. package/dist/parts/WdImagePreview.js +274 -0
  42. package/dist/parts/WdInput.js +10 -0
  43. package/dist/parts/WdInputNumber.js +253 -0
  44. package/dist/parts/WdListItem.js +60 -0
  45. package/dist/parts/WdLoading.js +128 -0
  46. package/dist/parts/WdMarkdown.js +172 -0
  47. package/dist/parts/WdMarquee.js +80 -0
  48. package/dist/parts/WdMasonry.js +40 -0
  49. package/dist/parts/WdMediaCard.js +302 -0
  50. package/dist/parts/WdMentions.js +277 -0
  51. package/dist/parts/WdModal.js +149 -0
  52. package/dist/parts/WdNav.js +311 -0
  53. package/dist/parts/WdNotification.js +112 -0
  54. package/dist/parts/WdOtp.js +107 -0
  55. package/dist/parts/WdPagination.js +252 -0
  56. package/dist/parts/WdPopconfirm.js +214 -0
  57. package/dist/parts/WdPopover.js +203 -0
  58. package/dist/parts/WdPostItem.js +84 -0
  59. package/dist/parts/WdProgress.js +48 -0
  60. package/dist/parts/WdProgressRing.js +101 -0
  61. package/dist/parts/WdPullRefresh.js +167 -0
  62. package/dist/parts/WdQRCode.js +1909 -0
  63. package/dist/parts/WdRadioGroup.js +95 -0
  64. package/dist/parts/WdRate.js +128 -0
  65. package/dist/parts/WdResult.js +86 -0
  66. package/dist/parts/WdScrollbar.js +186 -0
  67. package/dist/parts/WdSegmented.js +11 -0
  68. package/dist/parts/WdSelect.js +465 -0
  69. package/dist/parts/WdSkeleton.js +69 -0
  70. package/dist/parts/WdSlider.js +100 -0
  71. package/dist/parts/WdSortableList.js +291 -0
  72. package/dist/parts/WdSpace.js +46 -0
  73. package/dist/parts/WdSparkline.js +148 -0
  74. package/dist/parts/WdSpinner.js +6 -0
  75. package/dist/parts/WdSplitter.js +183 -0
  76. package/dist/parts/WdStatBar.js +202 -0
  77. package/dist/parts/WdStatistic.js +131 -0
  78. package/dist/parts/WdSteps.js +110 -0
  79. package/dist/parts/WdSwitch.js +63 -0
  80. package/dist/parts/WdTabBar.js +84 -0
  81. package/dist/parts/WdTable.js +589 -0
  82. package/dist/parts/WdTabs.js +219 -0
  83. package/dist/parts/WdTag.js +6 -0
  84. package/dist/parts/WdTagInput.js +181 -0
  85. package/dist/parts/WdTimePicker.js +12 -0
  86. package/dist/parts/WdTimeline.js +145 -0
  87. package/dist/parts/WdTooltip.js +108 -0
  88. package/dist/parts/WdTour.js +264 -0
  89. package/dist/parts/WdTransfer.js +446 -0
  90. package/dist/parts/WdTree.js +322 -0
  91. package/dist/parts/WdUpload.js +309 -0
  92. package/dist/parts/WdVideoPlayer.js +1006 -0
  93. package/dist/parts/WdVirtualList.js +169 -0
  94. package/dist/parts/WdWatermark.js +150 -0
  95. package/dist/parts/chunk-3LVE72ZK.js +361 -0
  96. package/dist/parts/chunk-5HYOQ52I.js +101 -0
  97. package/dist/parts/chunk-7M3MUL3B.js +275 -0
  98. package/dist/parts/chunk-AOTJ63HN.js +15 -0
  99. package/dist/parts/chunk-AXEF2U2A.js +41 -0
  100. package/dist/parts/chunk-CY3QOSFP.js +645 -0
  101. package/dist/parts/chunk-G7NN4A6J.js +40 -0
  102. package/dist/parts/chunk-HAKYCUAR.js +9 -0
  103. package/dist/parts/chunk-JDE4AHBR.js +160 -0
  104. package/dist/parts/chunk-LT3NTWIT.js +117 -0
  105. package/dist/parts/chunk-OGHYFT7B.js +387 -0
  106. package/dist/parts/chunk-Q34U2HES.js +261 -0
  107. package/dist/parts/chunk-RLSVPJHM.js +10 -0
  108. package/dist/parts/chunk-U2CDKD2T.js +30 -0
  109. package/dist/parts/chunk-UYUNYHZD.js +40 -0
  110. package/dist/parts/chunk-VUJL2HGD.js +23 -0
  111. package/dist/parts/chunk-WCFG5KNT.js +51 -0
  112. package/dist/parts/chunk-WDDAALPI.js +42 -0
  113. package/dist/parts/chunk-WFXLDBP2.js +149 -0
  114. package/dist/style/affix.css +566 -0
  115. package/dist/style/ai-msg.css +746 -0
  116. package/dist/style/alert.css +636 -0
  117. package/dist/style/anchor.css +630 -0
  118. package/dist/style/audio.css +1954 -0
  119. package/dist/style/avatar.css +651 -0
  120. package/dist/style/backtop.css +625 -0
  121. package/dist/style/badge.css +632 -0
  122. package/dist/style/bento.css +763 -0
  123. package/dist/style/bottom-sheet.css +776 -0
  124. package/dist/style/breadcrumb.css +629 -0
  125. package/dist/style/button.css +829 -0
  126. package/dist/style/calendar.css +1512 -0
  127. package/dist/style/card.css +748 -0
  128. package/dist/style/carousel.css +670 -0
  129. package/dist/style/cascader.css +862 -0
  130. package/dist/style/checkbox.css +706 -0
  131. package/dist/style/chevron.css +575 -0
  132. package/dist/style/collapse.css +648 -0
  133. package/dist/style/colorpicker.css +876 -0
  134. package/dist/style/command.css +760 -0
  135. package/dist/style/container.css +550 -0
  136. package/dist/style/countdown.css +722 -0
  137. package/dist/style/danmaku.css +644 -0
  138. package/dist/style/datepicker.css +683 -0
  139. package/dist/style/datetime-picker.css +714 -0
  140. package/dist/style/descriptions.css +712 -0
  141. package/dist/style/divider.css +604 -0
  142. package/dist/style/dot.css +585 -0
  143. package/dist/style/drawer.css +743 -0
  144. package/dist/style/dropdown.css +645 -0
  145. package/dist/style/empty.css +657 -0
  146. package/dist/style/explorer.css +944 -0
  147. package/dist/style/file-list.css +664 -0
  148. package/dist/style/flip.css +600 -0
  149. package/dist/style/form.css +638 -0
  150. package/dist/style/grid.css +618 -0
  151. package/dist/style/group.css +1022 -0
  152. package/dist/style/icon-btn.css +641 -0
  153. package/dist/style/image-preview.css +725 -0
  154. package/dist/style/input-number.css +680 -0
  155. package/dist/style/input.css +682 -0
  156. package/dist/style/list.css +630 -0
  157. package/dist/style/loading.css +667 -0
  158. package/dist/style/markdown.css +884 -0
  159. package/dist/style/marquee.css +678 -0
  160. package/dist/style/masonry.css +614 -0
  161. package/dist/style/media-card.css +1229 -0
  162. package/dist/style/mentions.css +690 -0
  163. package/dist/style/modal.css +775 -0
  164. package/dist/style/nav.css +1046 -0
  165. package/dist/style/notification.css +601 -0
  166. package/dist/style/otp.css +699 -0
  167. package/dist/style/pagination.css +680 -0
  168. package/dist/style/popconfirm.css +645 -0
  169. package/dist/style/popover.css +740 -0
  170. package/dist/style/post-item.css +676 -0
  171. package/dist/style/progress-ring.css +640 -0
  172. package/dist/style/progress.css +576 -0
  173. package/dist/style/pull-refresh.css +637 -0
  174. package/dist/style/qrcode.css +613 -0
  175. package/dist/style/radio.css +705 -0
  176. package/dist/style/rate.css +637 -0
  177. package/dist/style/result.css +597 -0
  178. package/dist/style/scroll-reveal.css +613 -0
  179. package/dist/style/scrollbar.css +644 -0
  180. package/dist/style/segmented-picker.css +679 -0
  181. package/dist/style/segmented.css +894 -0
  182. package/dist/style/select.css +937 -0
  183. package/dist/style/skeleton.css +590 -0
  184. package/dist/style/slider.css +642 -0
  185. package/dist/style/sortable.css +714 -0
  186. package/dist/style/space.css +568 -0
  187. package/dist/style/sparkline.css +606 -0
  188. package/dist/style/spinner.css +586 -0
  189. package/dist/style/splitter.css +711 -0
  190. package/dist/style/stat-bar.css +767 -0
  191. package/dist/style/statistic.css +589 -0
  192. package/dist/style/steps.css +724 -0
  193. package/dist/style/switch.css +676 -0
  194. package/dist/style/tab-bar.css +647 -0
  195. package/dist/style/table.css +1229 -0
  196. package/dist/style/tabs.css +756 -0
  197. package/dist/style/tag-input.css +710 -0
  198. package/dist/style/tag.css +682 -0
  199. package/dist/style/time-picker.css +749 -0
  200. package/dist/style/timeline.css +1082 -0
  201. package/dist/style/toast.css +598 -0
  202. package/dist/style/tooltip.css +604 -0
  203. package/dist/style/tour.css +683 -0
  204. package/dist/style/transfer.css +858 -0
  205. package/dist/style/tree.css +786 -0
  206. package/dist/style/typography.css +947 -0
  207. package/dist/style/upload.css +758 -0
  208. package/dist/style/vlist.css +591 -0
  209. package/dist/style/vplayer.css +1588 -0
  210. package/dist/style/watermark.css +570 -0
  211. package/dist/wdesign-ui.css +21093 -0
  212. package/dist/wdesign-ui.esm.js +20265 -0
  213. package/package.json +134 -4
  214. package/tokens.json +385 -0
@@ -0,0 +1,1013 @@
1
+ // 由 tools/gen-dts.mjs 生成,请勿手工编辑
2
+ import type { DefineComponent, Plugin } from 'vue'
3
+
4
+ export interface WdAffixProps {
5
+ position?: 'top' | 'bottom'
6
+ offset?: number
7
+ target?: any
8
+ keepWidth?: boolean
9
+ container?: string
10
+ zIndex?: number
11
+ }
12
+ export declare const WdAffix: DefineComponent<WdAffixProps>
13
+
14
+ export interface WdAiMessageProps {
15
+ content?: string
16
+ reasoning?: string
17
+ self?: boolean
18
+ thinking?: boolean
19
+ streaming?: boolean
20
+ reasoningStreaming?: boolean
21
+ speed?: number
22
+ actions?: any
23
+ defaultReasoningOpen?: boolean
24
+ }
25
+ export declare const WdAiMessage: DefineComponent<WdAiMessageProps>
26
+
27
+ export interface WdAlertProps {
28
+ variant?: 'info' | 'success' | 'warning' | 'danger'
29
+ title?: string
30
+ description?: string
31
+ closable?: boolean
32
+ }
33
+ export declare const WdAlert: DefineComponent<WdAlertProps>
34
+
35
+ export interface WdAnchorProps {
36
+ items?: any
37
+ target?: string
38
+ offset?: number
39
+ duration?: number
40
+ modelValue?: string
41
+ stickyTop?: number
42
+ }
43
+ export declare const WdAnchor: DefineComponent<WdAnchorProps>
44
+
45
+ export interface WdAudioPlayerProps {
46
+ src?: string
47
+ variant?: 'card' | 'bar' | 'mini'
48
+ compact?: boolean
49
+ title?: string
50
+ subtitle?: string
51
+ cover?: string
52
+ loop?: boolean
53
+ volume?: boolean
54
+ playbackRate?: boolean
55
+ downloadable?: boolean
56
+ navigable?: boolean
57
+ initialVolume?: number
58
+ waveform?: number[]
59
+ progressStyle?: 'waveform' | 'bar' | 'none'
60
+ autoWaveform?: boolean
61
+ inverse?: boolean
62
+ showTime?: boolean
63
+ iconStyle?: 'filled' | 'outlined'
64
+ }
65
+ export declare const WdAudioPlayer: DefineComponent<WdAudioPlayerProps>
66
+
67
+ export interface WdAvatarProps {
68
+ name?: string
69
+ tone?: any
70
+ dark?: boolean
71
+ size?: 'sm' | 'md' | 'lg'
72
+ }
73
+ export declare const WdAvatar: DefineComponent<WdAvatarProps>
74
+
75
+ export interface WdAvatarGroupProps {
76
+ names?: string[]
77
+ max?: number
78
+ }
79
+ export declare const WdAvatarGroup: DefineComponent<WdAvatarGroupProps>
80
+
81
+ export interface WdBacktopProps {
82
+ visibilityHeight?: number
83
+ right?: number
84
+ bottom?: number
85
+ duration?: number
86
+ target?: string
87
+ instant?: boolean
88
+ }
89
+ export declare const WdBacktop: DefineComponent<WdBacktopProps>
90
+
91
+ export interface WdBadgeProps {
92
+ value?: any
93
+ dot?: boolean
94
+ max?: number
95
+ tone?: 'red' | 'gray'
96
+ }
97
+ export declare const WdBadge: DefineComponent<WdBadgeProps>
98
+
99
+ export interface WdBentoProps {
100
+ columns?: number
101
+ gap?: 'sm' | 'md' | 'lg'
102
+ rowHeight?: number
103
+ }
104
+ export declare const WdBento: DefineComponent<WdBentoProps>
105
+
106
+ export interface WdBentoItemProps {
107
+ colSpan?: number
108
+ rowSpan?: number
109
+ tone?: 'flat' | 'tint' | 'ink'
110
+ radius?: 'sm' | 'md' | 'lg' | 'xl'
111
+ interactive?: boolean
112
+ }
113
+ export declare const WdBentoItem: DefineComponent<WdBentoItemProps>
114
+
115
+ export interface WdBottomSheetProps {
116
+ modelValue?: boolean
117
+ title?: string
118
+ desc?: string
119
+ closeOnMask?: boolean
120
+ maxHeight?: any
121
+ swipeable?: boolean
122
+ bodyFlush?: boolean
123
+ destroyOnClose?: boolean
124
+ closable?: boolean
125
+ }
126
+ export declare const WdBottomSheet: DefineComponent<WdBottomSheetProps>
127
+
128
+ export interface WdBreadcrumbProps {
129
+ items?: any
130
+ separator?: string
131
+ }
132
+ export declare const WdBreadcrumb: DefineComponent<WdBreadcrumbProps>
133
+
134
+ export interface WdButtonProps {
135
+ variant?: 'primary' | 'tint' | 'dark' | 'ghost'
136
+ size?: 'lg' | 'md' | 'sm'
137
+ disabled?: boolean
138
+ iconOnly?: boolean
139
+ block?: boolean
140
+ loading?: boolean
141
+ loadingText?: string
142
+ type?: 'button' | 'submit' | 'reset'
143
+ arrow?: boolean
144
+ }
145
+ export declare const WdButton: DefineComponent<WdButtonProps>
146
+
147
+ export interface WdCalendarProps {
148
+ modelValue?: string
149
+ defaultValue?: string
150
+ month?: string
151
+ weekStart?: any
152
+ min?: string
153
+ max?: string
154
+ clearable?: boolean
155
+ showToday?: boolean
156
+ size?: 'sm' | 'md' | 'lg'
157
+ disabled?: boolean
158
+ loading?: boolean
159
+ mode?: 'single' | 'range'
160
+ marks?: any
161
+ markSize?: number
162
+ compact?: boolean
163
+ texts?: any
164
+ }
165
+ export declare const WdCalendar: DefineComponent<WdCalendarProps>
166
+
167
+ export interface WdCardProps {
168
+ variant?: 'default' | 'tint' | 'dark'
169
+ padding?: 'sm' | 'md' | 'lg'
170
+ hoverable?: boolean
171
+ title?: string
172
+ meta?: string
173
+ cover?: string
174
+ }
175
+ export declare const WdCard: DefineComponent<WdCardProps>
176
+
177
+ export interface WdCarouselProps {
178
+ items?: any
179
+ height?: number
180
+ autoplay?: number
181
+ showDots?: boolean
182
+ modelValue?: number
183
+ defaultValue?: number
184
+ showArrows?: boolean
185
+ loop?: boolean
186
+ pauseOnHover?: boolean
187
+ }
188
+ export declare const WdCarousel: DefineComponent<WdCarouselProps>
189
+
190
+ export interface WdCascaderProps {
191
+ options?: any
192
+ modelValue?: any
193
+ placeholder?: string
194
+ changeOnSelect?: boolean
195
+ disabled?: boolean
196
+ clearable?: boolean
197
+ size?: 'sm' | 'md' | 'lg'
198
+ maxHeight?: number
199
+ loading?: boolean
200
+ emptyText?: string
201
+ }
202
+ export declare const WdCascader: DefineComponent<WdCascaderProps>
203
+
204
+ export interface WdCheckboxProps {
205
+ modelValue?: boolean
206
+ defaultValue?: boolean
207
+ label?: string
208
+ disabled?: boolean
209
+ color?: string
210
+ }
211
+ export declare const WdCheckbox: DefineComponent<WdCheckboxProps>
212
+
213
+ export interface WdCollapseProps {
214
+ modelValue?: number[]
215
+ defaultValue?: number[]
216
+ items?: any
217
+ accordion?: boolean
218
+ collapsible?: boolean
219
+ size?: 'sm' | 'md' | 'lg'
220
+ }
221
+ export declare const WdCollapse: DefineComponent<WdCollapseProps>
222
+
223
+ export interface WdColorPickerProps {
224
+ modelValue?: string
225
+ defaultValue?: string
226
+ presets?: string[]
227
+ editable?: boolean
228
+ showAlpha?: boolean
229
+ size?: 'sm' | 'md' | 'lg'
230
+ disabled?: boolean
231
+ }
232
+ export declare const WdColorPicker: DefineComponent<WdColorPickerProps>
233
+
234
+ export interface WdCommandProps {
235
+ modelValue?: boolean
236
+ items?: any
237
+ placeholder?: string
238
+ emptyText?: string
239
+ autofocus?: boolean
240
+ maxHeight?: number
241
+ }
242
+ export declare const WdCommand: DefineComponent<WdCommandProps>
243
+
244
+ export interface WdContainerProps {
245
+ maxWidth?: string
246
+ pad?: 'sm' | 'md' | 'lg'
247
+ }
248
+ export declare const WdContainer: DefineComponent<WdContainerProps>
249
+
250
+ export interface WdCountdownProps {
251
+ target?: any
252
+ secondsMode?: boolean
253
+ format?: 'dhm' | 'dhms' | 'hms' | 'ms'
254
+ hideZeroDays?: boolean
255
+ labels?: 'zh' | 'en' | 'none'
256
+ size?: 'sm' | 'md' | 'lg'
257
+ variant?: 'card' | 'plain'
258
+ colon?: boolean
259
+ }
260
+ export declare const WdCountdown: DefineComponent<WdCountdownProps>
261
+
262
+ export interface WdDanmakuProps {
263
+ items?: any
264
+ src?: string
265
+ raw?: string
266
+ current?: number
267
+ visible?: boolean
268
+ paused?: boolean
269
+ speed?: number
270
+ rows?: number
271
+ fontSize?: number
272
+ opacity?: number
273
+ }
274
+ export declare const WdDanmaku: DefineComponent<WdDanmakuProps>
275
+
276
+ export interface WdDatePickerProps {
277
+ modelValue?: string
278
+ placeholder?: string
279
+ disabled?: boolean
280
+ min?: string
281
+ max?: string
282
+ clearable?: boolean
283
+ showToday?: boolean
284
+ size?: 'sm' | 'md' | 'lg'
285
+ }
286
+ export declare const WdDatePicker: DefineComponent<WdDatePickerProps>
287
+
288
+ export interface WdDateTimePickerProps {
289
+ modelValue?: string
290
+ defaultValue?: string
291
+ second?: boolean
292
+ minuteStep?: number
293
+ min?: string
294
+ max?: string
295
+ disabled?: boolean
296
+ size?: 'sm' | 'md'
297
+ weekStart?: any
298
+ }
299
+ export declare const WdDateTimePicker: DefineComponent<WdDateTimePickerProps>
300
+
301
+ export interface WdDescriptionsProps {
302
+ items?: any
303
+ columns?: number
304
+ vertical?: boolean
305
+ striped?: boolean
306
+ colon?: boolean
307
+ size?: 'sm' | 'md' | 'lg'
308
+ }
309
+ export declare const WdDescriptions: DefineComponent<WdDescriptionsProps>
310
+
311
+ export interface WdDividerProps {
312
+ direction?: 'horizontal' | 'vertical'
313
+ align?: 'left' | 'center' | 'right'
314
+ variant?: 'solid' | 'dashed'
315
+ spacing?: number
316
+ }
317
+ export declare const WdDivider: DefineComponent<WdDividerProps>
318
+
319
+ export interface WdDrawerProps {
320
+ modelValue?: boolean
321
+ title?: string
322
+ side?: 'right' | 'left'
323
+ closeOnMask?: boolean
324
+ width?: any
325
+ size?: 'sm' | 'md' | 'lg' | 'full'
326
+ destroyOnClose?: boolean
327
+ bodyFlush?: boolean
328
+ }
329
+ export declare const WdDrawer: DefineComponent<WdDrawerProps>
330
+
331
+ export interface WdDropdownProps {
332
+ items?: any
333
+ }
334
+ export declare const WdDropdown: DefineComponent<WdDropdownProps>
335
+
336
+ export interface WdEmptyProps {
337
+ title?: string
338
+ description?: string
339
+ size?: 'sm' | 'md' | 'lg'
340
+ variant?: 'empty' | 'search' | 'error'
341
+ icon?: string
342
+ }
343
+ export declare const WdEmpty: DefineComponent<WdEmptyProps>
344
+
345
+ export interface WdExplorerProps {
346
+ folders?: any
347
+ modelValue?: number
348
+ defaultValue?: number
349
+ view?: 'details' | 'icons'
350
+ defaultView?: 'details' | 'icons'
351
+ emptyText?: string
352
+ loading?: boolean
353
+ }
354
+ export declare const WdExplorer: DefineComponent<WdExplorerProps>
355
+
356
+ export interface WdFileListProps {
357
+ items?: any
358
+ defaultOpenPaths?: string[]
359
+ emptyText?: string
360
+ loading?: boolean
361
+ disabled?: boolean
362
+ }
363
+ export declare const WdFileList: DefineComponent<WdFileListProps>
364
+
365
+ export interface WdFormProps {
366
+ modelValue?: any
367
+ rules?: any
368
+ labelPosition?: 'top' | 'left'
369
+ labelWidth?: string
370
+ disabled?: boolean
371
+ scrollToError?: boolean
372
+ }
373
+ export declare const WdForm: DefineComponent<WdFormProps>
374
+
375
+ export interface WdFormItemProps {
376
+ prop?: string
377
+ label?: string
378
+ rules?: any
379
+ required?: boolean
380
+ hint?: string
381
+ validateTrigger?: any
382
+ }
383
+ export declare const WdFormItem: DefineComponent<WdFormItemProps>
384
+
385
+ export interface WdGridProps {
386
+ columns?: any
387
+ gap?: 'sm' | 'md' | 'lg'
388
+ gutter?: number
389
+ }
390
+ export declare const WdGrid: DefineComponent<WdGridProps>
391
+
392
+ export interface WdGroupProps {
393
+ variant?: 'capsule' | 'joined' | 'inset'
394
+ direction?: 'row' | 'col'
395
+ size?: 'sm' | 'md' | 'lg'
396
+ block?: boolean
397
+ disabled?: boolean
398
+ equal?: boolean
399
+ label?: string
400
+ seamless?: boolean
401
+ }
402
+ export declare const WdGroup: DefineComponent<WdGroupProps>
403
+
404
+ export interface WdImagePreviewProps {
405
+ src?: string
406
+ list?: string[]
407
+ alt?: string
408
+ index?: number
409
+ }
410
+ export declare const WdImagePreview: DefineComponent<WdImagePreviewProps>
411
+
412
+ export interface WdInputProps {
413
+ modelValue?: string
414
+ defaultValue?: string
415
+ placeholder?: string
416
+ shape?: 'pill' | 'rounded'
417
+ type?: string
418
+ disabled?: boolean
419
+ size?: 'lg' | 'md' | 'sm'
420
+ clearable?: boolean
421
+ maxlength?: number
422
+ showCount?: boolean
423
+ readonly?: boolean
424
+ inputmode?: 'none' | 'text' | 'tel' | 'url' | 'email' | 'numeric' | 'decimal' | 'search'
425
+ }
426
+ export declare const WdInput: DefineComponent<WdInputProps>
427
+
428
+ export interface WdInputNumberProps {
429
+ modelValue?: any
430
+ defaultValue?: any
431
+ min?: number
432
+ max?: number
433
+ step?: number
434
+ precision?: number
435
+ placeholder?: string
436
+ disabled?: boolean
437
+ readonly?: boolean
438
+ size?: 'lg' | 'md' | 'sm'
439
+ shape?: 'pill' | 'rounded'
440
+ hideStep?: boolean
441
+ suffix?: string
442
+ }
443
+ export declare const WdInputNumber: DefineComponent<WdInputNumberProps>
444
+
445
+ export interface WdListItemProps {
446
+ title?: string
447
+ meta?: string
448
+ clickable?: boolean
449
+ }
450
+ export declare const WdListItem: DefineComponent<WdListItemProps>
451
+
452
+ export interface WdLoadingProps {
453
+ loading?: any
454
+ text?: any
455
+ delay?: any
456
+ size?: any
457
+ opacity?: any
458
+ fullscreen?: any
459
+ }
460
+ export declare const WdLoading: DefineComponent<WdLoadingProps>
461
+
462
+ export interface WdMarkdownProps {
463
+ source?: string
464
+ html?: string
465
+ flush?: boolean
466
+ }
467
+ export declare const WdMarkdown: DefineComponent<WdMarkdownProps>
468
+
469
+ export interface WdMarqueeProps {
470
+ direction?: 'left' | 'right'
471
+ speed?: number
472
+ pauseOnHover?: boolean
473
+ fade?: boolean
474
+ gap?: number
475
+ }
476
+ export declare const WdMarquee: DefineComponent<WdMarqueeProps>
477
+
478
+ export interface WdMasonryProps {
479
+ columns?: any
480
+ gap?: 'sm' | 'md' | 'lg'
481
+ minColumn?: number
482
+ }
483
+ export declare const WdMasonry: DefineComponent<WdMasonryProps>
484
+
485
+ export interface WdMediaCardProps {
486
+ src?: string
487
+ alt?: string
488
+ title?: string
489
+ subtitle?: string
490
+ badge?: string
491
+ duration?: string
492
+ stats?: any
493
+ body?: string
494
+ action?: string
495
+ layout?: 'overlay' | 'stacked'
496
+ mediaMode?: 'cover' | 'inset'
497
+ collapsible?: boolean
498
+ defaultOpen?: boolean
499
+ ratio?: string
500
+ radius?: 'md' | 'lg' | 'xl'
501
+ }
502
+ export declare const WdMediaCard: DefineComponent<WdMediaCardProps>
503
+
504
+ export interface WdMentionsProps {
505
+ modelValue?: string
506
+ defaultValue?: string
507
+ users?: any
508
+ placeholder?: string
509
+ rows?: number
510
+ disabled?: boolean
511
+ trigger?: string
512
+ maxOptions?: number
513
+ }
514
+ export declare const WdMentions: DefineComponent<WdMentionsProps>
515
+
516
+ export interface WdModalProps {
517
+ modelValue?: boolean
518
+ title?: string
519
+ width?: any
520
+ closeOnMask?: boolean
521
+ destroyOnClose?: boolean
522
+ }
523
+ export declare const WdModal: DefineComponent<WdModalProps>
524
+
525
+ export interface WdNavProps {
526
+ direction?: 'horizontal' | 'vertical'
527
+ items?: any
528
+ active?: string
529
+ brand?: string
530
+ collapsed?: boolean
531
+ iconOnly?: boolean
532
+ sticky?: boolean
533
+ size?: 'sm' | 'md'
534
+ collapsibleGroups?: boolean
535
+ defaultCollapsedGroups?: string[]
536
+ scrollActiveIntoView?: boolean
537
+ }
538
+ export declare const WdNav: DefineComponent<WdNavProps>
539
+
540
+ export interface WdNotificationProps {
541
+ modelValue?: boolean
542
+ title?: string
543
+ description?: string
544
+ variant?: 'info' | 'success' | 'warning' | 'danger'
545
+ }
546
+ export declare const WdNotification: DefineComponent<WdNotificationProps>
547
+
548
+ export interface WdOtpProps {
549
+ modelValue?: string
550
+ defaultValue?: string
551
+ length?: number
552
+ disabled?: boolean
553
+ variant?: 'separate' | 'pill' | 'underline'
554
+ }
555
+ export declare const WdOtp: DefineComponent<WdOtpProps>
556
+
557
+ export interface WdPaginationProps {
558
+ modelValue?: number
559
+ defaultValue?: number
560
+ total?: number
561
+ pageSize?: number
562
+ simple?: boolean
563
+ showTotal?: boolean
564
+ showSizeChanger?: boolean
565
+ pageSizes?: number[]
566
+ compact?: boolean
567
+ }
568
+ export declare const WdPagination: DefineComponent<WdPaginationProps>
569
+
570
+ export interface WdPopconfirmProps {
571
+ title?: string
572
+ description?: string
573
+ okText?: string
574
+ cancelText?: string
575
+ variant?: 'default' | 'danger'
576
+ placement?: 'top' | 'bottom'
577
+ disabled?: boolean
578
+ width?: number
579
+ }
580
+ export declare const WdPopconfirm: DefineComponent<WdPopconfirmProps>
581
+
582
+ export interface WdPopoverProps {
583
+ trigger?: 'click' | 'hover' | 'manual'
584
+ title?: string
585
+ placement?: 'bottom-start' | 'bottom-end' | 'top-start' | 'top-end' | 'bottom-center'
586
+ gap?: number
587
+ width?: number
588
+ closable?: boolean
589
+ disabled?: boolean
590
+ closeOnContent?: boolean
591
+ }
592
+ export declare const WdPopover: DefineComponent<WdPopoverProps>
593
+
594
+ export interface WdPostItemProps {
595
+ title?: string
596
+ summary?: string
597
+ tags?: string[]
598
+ emoji?: string
599
+ href?: string
600
+ }
601
+ export declare const WdPostItem: DefineComponent<WdPostItemProps>
602
+
603
+ export interface WdProgressProps {
604
+ value?: number
605
+ thin?: boolean
606
+ onDark?: boolean
607
+ color?: string
608
+ }
609
+ export declare const WdProgress: DefineComponent<WdProgressProps>
610
+
611
+ export interface WdProgressRingProps {
612
+ value?: number
613
+ size?: number
614
+ thickness?: number
615
+ color?: string
616
+ trackColor?: string
617
+ onDark?: boolean
618
+ intent?: 'normal' | 'inverse'
619
+ label?: string
620
+ }
621
+ export declare const WdProgressRing: DefineComponent<WdProgressRingProps>
622
+
623
+ export interface WdPullRefreshProps {
624
+ threshold?: number
625
+ damping?: number
626
+ max?: number
627
+ refreshing?: boolean
628
+ pullText?: string
629
+ releaseText?: string
630
+ loadingText?: string
631
+ label?: string
632
+ }
633
+ export declare const WdPullRefresh: DefineComponent<WdPullRefreshProps>
634
+
635
+ export interface WdQRCodeProps {
636
+ text?: string
637
+ size?: number
638
+ level?: 'L' | 'M' | 'Q' | 'H'
639
+ margin?: number
640
+ moduleStyle?: 'square' | 'dot' | 'liquid'
641
+ color?: string
642
+ background?: string
643
+ centerBlank?: number
644
+ loading?: boolean
645
+ }
646
+ export declare const WdQRCode: DefineComponent<WdQRCodeProps>
647
+
648
+ export interface WdRadioGroupProps {
649
+ modelValue?: any
650
+ defaultValue?: any
651
+ options?: any
652
+ disabled?: boolean
653
+ }
654
+ export declare const WdRadioGroup: DefineComponent<WdRadioGroupProps>
655
+
656
+ export interface WdRateProps {
657
+ modelValue?: number
658
+ defaultValue?: number
659
+ count?: number
660
+ disabled?: boolean
661
+ clearable?: boolean
662
+ color?: string
663
+ colorOff?: string
664
+ icon?: string
665
+ size?: number
666
+ }
667
+ export declare const WdRate: DefineComponent<WdRateProps>
668
+
669
+ export interface WdResultProps {
670
+ status?: 'success' | 'warning' | 'error' | 'info'
671
+ title?: string
672
+ description?: string
673
+ }
674
+ export declare const WdResult: DefineComponent<WdResultProps>
675
+
676
+ export interface WdScrollbarProps {
677
+ maxHeight?: any
678
+ size?: number
679
+ always?: boolean
680
+ native?: boolean
681
+ label?: string
682
+ }
683
+ export declare const WdScrollbar: DefineComponent<WdScrollbarProps>
684
+
685
+ export interface WdSegmentedProps {
686
+ modelValue?: any
687
+ options?: any
688
+ block?: boolean
689
+ tone?: 'light' | 'dark'
690
+ overflow?: 'wrap' | 'scroll' | 'auto'
691
+ overflowMax?: number
692
+ layout?: 'inline' | 'stack'
693
+ iconOnly?: boolean
694
+ }
695
+ export declare const WdSegmented: DefineComponent<WdSegmentedProps>
696
+
697
+ export interface WdSelectProps {
698
+ modelValue?: any
699
+ defaultValue?: any
700
+ options?: any
701
+ loading?: boolean
702
+ emptyText?: string
703
+ placeholder?: string
704
+ disabled?: boolean
705
+ size?: 'lg' | 'md' | 'sm'
706
+ multiple?: boolean
707
+ filterable?: boolean
708
+ clearable?: boolean
709
+ maxTagCount?: number
710
+ }
711
+ export declare const WdSelect: DefineComponent<WdSelectProps>
712
+
713
+ export interface WdSkeletonProps {
714
+ variant?: 'text' | 'rect' | 'circle'
715
+ width?: any
716
+ height?: any
717
+ count?: number
718
+ }
719
+ export declare const WdSkeleton: DefineComponent<WdSkeletonProps>
720
+
721
+ export interface WdSliderProps {
722
+ modelValue?: number
723
+ defaultValue?: number
724
+ min?: number
725
+ max?: number
726
+ step?: number
727
+ showValue?: boolean
728
+ color?: string
729
+ }
730
+ export declare const WdSlider: DefineComponent<WdSliderProps>
731
+
732
+ export interface WdSortableListProps {
733
+ modelValue?: any
734
+ defaultValue?: any
735
+ }
736
+ export declare const WdSortableList: DefineComponent<WdSortableListProps>
737
+
738
+ export interface WdSpaceProps {
739
+ size?: any
740
+ direction?: 'row' | 'col'
741
+ wrap?: boolean
742
+ between?: boolean
743
+ center?: boolean
744
+ grow?: boolean
745
+ }
746
+ export declare const WdSpace: DefineComponent<WdSpaceProps>
747
+
748
+ export interface WdSparklineProps {
749
+ data?: number[]
750
+ height?: number
751
+ area?: boolean
752
+ dot?: boolean
753
+ strokeWidth?: number
754
+ color?: string
755
+ smooth?: number
756
+ label?: string
757
+ }
758
+ export declare const WdSparkline: DefineComponent<WdSparklineProps>
759
+
760
+ export interface WdSpinnerProps {
761
+ size?: any
762
+ }
763
+ export declare const WdSpinner: DefineComponent<WdSpinnerProps>
764
+
765
+ export interface WdSplitterProps {
766
+ direction?: 'horizontal' | 'vertical'
767
+ modelValue?: number
768
+ defaultValue?: number
769
+ min?: number
770
+ max?: number
771
+ size?: number
772
+ disabled?: boolean
773
+ }
774
+ export declare const WdSplitter: DefineComponent<WdSplitterProps>
775
+
776
+ export interface WdStatBarProps {
777
+ items?: any
778
+ size?: 'sm' | 'md' | 'lg'
779
+ surface?: boolean
780
+ countUp?: boolean
781
+ countDuration?: number
782
+ }
783
+ export declare const WdStatBar: DefineComponent<WdStatBarProps>
784
+
785
+ export interface WdStatisticProps {
786
+ value?: number
787
+ title?: string
788
+ prefix?: string
789
+ suffix?: string
790
+ precision?: number
791
+ separator?: boolean
792
+ animated?: boolean
793
+ duration?: number
794
+ }
795
+ export declare const WdStatistic: DefineComponent<WdStatisticProps>
796
+
797
+ export interface WdStepsProps {
798
+ steps?: any
799
+ current?: number
800
+ }
801
+ export declare const WdSteps: DefineComponent<WdStepsProps>
802
+
803
+ export interface WdSwitchProps {
804
+ modelValue?: boolean
805
+ defaultValue?: boolean
806
+ disabled?: boolean
807
+ }
808
+ export declare const WdSwitch: DefineComponent<WdSwitchProps>
809
+
810
+ export interface WdTabBarProps {
811
+ items?: any
812
+ modelValue?: string
813
+ floating?: boolean
814
+ fab?: boolean
815
+ fabIcon?: string
816
+ iconOnly?: boolean
817
+ }
818
+ export declare const WdTabBar: DefineComponent<WdTabBarProps>
819
+
820
+ export interface WdTableProps {
821
+ columns?: any
822
+ rows?: any
823
+ striped?: boolean
824
+ emptyText?: string
825
+ loading?: boolean
826
+ loadingText?: string
827
+ selectable?: boolean
828
+ selected?: any
829
+ rowKey?: string
830
+ maxHeight?: any
831
+ tree?: boolean
832
+ childrenKey?: string
833
+ defaultExpandAll?: boolean
834
+ expandable?: boolean
835
+ expandColspan?: number
836
+ size?: 'sm' | 'md'
837
+ }
838
+ export declare const WdTable: DefineComponent<WdTableProps>
839
+
840
+ export interface WdTabsProps {
841
+ modelValue?: any
842
+ defaultValue?: any
843
+ tabs?: any
844
+ block?: boolean
845
+ closable?: boolean
846
+ addable?: boolean
847
+ scrollable?: boolean
848
+ }
849
+ export declare const WdTabs: DefineComponent<WdTabsProps>
850
+
851
+ export interface WdTagProps {
852
+ variant?: 'tint' | 'success' | 'warning' | 'gray' | 'danger' | 'dark'
853
+ size?: 'lg' | 'md' | 'sm'
854
+ dot?: boolean
855
+ plain?: boolean
856
+ }
857
+ export declare const WdTag: DefineComponent<WdTagProps>
858
+
859
+ export interface WdTagInputProps {
860
+ modelValue?: string[]
861
+ maxlength?: number
862
+ max?: number
863
+ allowDuplicate?: boolean
864
+ placeholder?: string
865
+ size?: 'lg' | 'md' | 'sm'
866
+ disabled?: boolean
867
+ readonly?: boolean
868
+ separators?: string[]
869
+ }
870
+ export declare const WdTagInput: DefineComponent<WdTagInputProps>
871
+
872
+ export interface WdTimePickerProps {
873
+ modelValue?: string
874
+ defaultValue?: string
875
+ second?: boolean
876
+ hour12?: boolean
877
+ minuteStep?: number
878
+ hourRange?: any
879
+ min?: string
880
+ max?: string
881
+ disabled?: boolean
882
+ size?: 'sm' | 'md'
883
+ inline?: boolean
884
+ }
885
+ export declare const WdTimePicker: DefineComponent<WdTimePickerProps>
886
+
887
+ export interface WdTimelineProps {
888
+ items?: any
889
+ line?: boolean
890
+ mode?: 'vertical' | 'alternate' | 'horizontal'
891
+ lineStyle?: 'solid' | 'dashed' | 'none'
892
+ size?: 'sm' | 'md'
893
+ collapsible?: boolean
894
+ }
895
+ export declare const WdTimeline: DefineComponent<WdTimelineProps>
896
+
897
+ export interface WdTooltipProps {
898
+ content?: string
899
+ placement?: 'top' | 'bottom'
900
+ delay?: number
901
+ }
902
+ export declare const WdTooltip: DefineComponent<WdTooltipProps>
903
+
904
+ export interface WdTourProps {
905
+ modelValue?: boolean
906
+ steps?: any
907
+ startAt?: number
908
+ maskOpacity?: number
909
+ nextText?: string
910
+ prevText?: string
911
+ doneText?: string
912
+ skipText?: string
913
+ }
914
+ export declare const WdTour: DefineComponent<WdTourProps>
915
+
916
+ export interface WdTransferProps {
917
+ data?: any
918
+ modelValue?: any
919
+ defaultValue?: any
920
+ loading?: boolean
921
+ sourceTitle?: string
922
+ targetTitle?: string
923
+ searchPlaceholder?: string
924
+ height?: number
925
+ filterable?: boolean
926
+ disabled?: boolean
927
+ }
928
+ export declare const WdTransfer: DefineComponent<WdTransferProps>
929
+
930
+ export interface WdTreeProps {
931
+ nodes?: any
932
+ expandedKeys?: any
933
+ selectedKey?: any
934
+ checkable?: boolean
935
+ checkedKeys?: any
936
+ cascade?: boolean
937
+ showLine?: boolean
938
+ emptyText?: string
939
+ indent?: number
940
+ defaultExpandedKeys?: any
941
+ defaultSelectedKey?: any
942
+ defaultCheckedKeys?: any
943
+ loading?: boolean
944
+ }
945
+ export declare const WdTree: DefineComponent<WdTreeProps>
946
+
947
+ export interface WdUploadProps {
948
+ modelValue?: any
949
+ defaultValue?: any
950
+ accept?: string
951
+ multiple?: boolean
952
+ hint?: string
953
+ maxCount?: number
954
+ maxSize?: number
955
+ showList?: boolean
956
+ disabled?: boolean
957
+ request?: any
958
+ }
959
+ export declare const WdUpload: DefineComponent<WdUploadProps>
960
+
961
+ export interface WdVideoPlayerProps {
962
+ src?: string
963
+ mode?: 'vod' | 'live'
964
+ poster?: string
965
+ title?: string
966
+ controlsMode?: 'auto' | 'always'
967
+ autoplay?: boolean
968
+ loop?: boolean
969
+ muted?: boolean
970
+ rates?: number[]
971
+ episodes?: any
972
+ currentEpisode?: any
973
+ episodeNav?: boolean
974
+ playlist?: boolean
975
+ episodePageSize?: number
976
+ pip?: boolean
977
+ hls?: 'auto' | 'native' | 'hlsjs' | 'off'
978
+ liveSync?: boolean
979
+ iconStyle?: 'filled' | 'outlined'
980
+ danmaku?: any
981
+ danmakuSrc?: string
982
+ danmakuRaw?: string
983
+ danmakuOn?: boolean
984
+ danmakuSpeed?: number
985
+ danmakuRows?: number
986
+ }
987
+ export declare const WdVideoPlayer: DefineComponent<WdVideoPlayerProps>
988
+
989
+ export interface WdVirtualListProps {
990
+ items?: any
991
+ itemHeight?: number
992
+ height?: number
993
+ buffer?: number
994
+ itemKey?: string
995
+ emptyText?: string
996
+ hideScrollbar?: boolean
997
+ }
998
+ export declare const WdVirtualList: DefineComponent<WdVirtualListProps>
999
+
1000
+ export interface WdWatermarkProps {
1001
+ text?: any
1002
+ image?: string
1003
+ fontSize?: number
1004
+ color?: string
1005
+ gap?: number
1006
+ rotate?: number
1007
+ offset?: number
1008
+ zIndex?: number
1009
+ }
1010
+ export declare const WdWatermark: DefineComponent<WdWatermarkProps>
1011
+
1012
+ declare const WdUI: Plugin
1013
+ export default WdUI