bg-editor 0.0.1

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 (67) hide show
  1. package/LICENSE +8 -0
  2. package/README.md +51 -0
  3. package/README.zh-CN.md +51 -0
  4. package/dist/_basePickBy-4kmg42pS.js +158 -0
  5. package/dist/_baseUniq-WOvvCHTI.js +621 -0
  6. package/dist/arc-wItjmL5I.js +90 -0
  7. package/dist/architecture-U656AL7Q-FYDwFSxk.js +12 -0
  8. package/dist/architectureDiagram-VXUJARFQ-iG5MkBjx.js +4666 -0
  9. package/dist/blockDiagram-VD42YOAC-i2GlXmWy.js +2268 -0
  10. package/dist/c4Diagram-YG6GDRKO-IufO7T1R.js +1587 -0
  11. package/dist/channel-Dah4F59k.js +12 -0
  12. package/dist/chunk-4BX2VUAB-5_v9rnje.js +15 -0
  13. package/dist/chunk-55IACEB6-BDNtSypP.js +15 -0
  14. package/dist/chunk-B4BG7PRW-DzaYPsfW.js +1382 -0
  15. package/dist/chunk-DI55MBZ5-Buwrprkw.js +1377 -0
  16. package/dist/chunk-FMBD7UC4-BaEPEIWb.js +26 -0
  17. package/dist/chunk-QN33PNHL-DhbA7i5G.js +26 -0
  18. package/dist/chunk-QZHKN3VN-BAb_D1oz.js +22 -0
  19. package/dist/chunk-TZMSLE5B-OU1MJ2do.js +71 -0
  20. package/dist/classDiagram-2ON5EDUG-KStC8v09.js +23 -0
  21. package/dist/classDiagram-v2-WZHVMYZB-KStC8v09.js +23 -0
  22. package/dist/clone-C74UiRbr.js +15 -0
  23. package/dist/cose-bilkent-S5V4N54A-eRXCoix2.js +2612 -0
  24. package/dist/cytoscape.esm-BG3R4uVs.js +18738 -0
  25. package/dist/dagre-6UL2VRFP-Bi83jPQf.js +451 -0
  26. package/dist/defaultLocale-DgmhL6Re.js +178 -0
  27. package/dist/diagram-PSM6KHXK-aW98k2-4.js +539 -0
  28. package/dist/diagram-QEK2KX5R-BR--iNM5.js +224 -0
  29. package/dist/diagram-S2PKOQOG-NTnEy5_O.js +149 -0
  30. package/dist/erDiagram-Q2GNP2WA-C8oZ5c-S.js +848 -0
  31. package/dist/flowDiagram-NV44I4VS-DiKad3Bb.js +1627 -0
  32. package/dist/ganttDiagram-LVOFAZNH-CthzjjJq.js +2506 -0
  33. package/dist/gitGraph-F6HP7TQM-CuXAC0XT.js +12 -0
  34. package/dist/gitGraphDiagram-NY62KEGX-d4KszKqi.js +706 -0
  35. package/dist/graph-CnOTx4E0.js +254 -0
  36. package/dist/index-D6-Wf75-.js +122127 -0
  37. package/dist/info-NVLQJR56-Dhmtdc7O.js +12 -0
  38. package/dist/infoDiagram-ER5ION4S-DedidjTu.js +31 -0
  39. package/dist/init-d639unba.js +23 -0
  40. package/dist/journeyDiagram-XKPGCS4Q-BylvmUWL.js +843 -0
  41. package/dist/kanban-definition-3W4ZIXB7-DGV_aVgU.js +725 -0
  42. package/dist/layout-OXk4OSoz.js +1342 -0
  43. package/dist/linear-CO_vz87n.js +266 -0
  44. package/dist/mermaid-parser.core-CYtF6phW.js +12928 -0
  45. package/dist/mindmap-definition-VGOIOE7T-BU05Y6Vz.js +790 -0
  46. package/dist/ordinal-CofNqUw2.js +68 -0
  47. package/dist/packet-BFZMPI3H-D7H_8Q-U.js +12 -0
  48. package/dist/pie-7BOR55EZ-BNWNcO5Z.js +12 -0
  49. package/dist/pieDiagram-ADFJNKIX-reGTUsiW.js +168 -0
  50. package/dist/quadrantDiagram-AYHSOK5B-NeHOJ0lX.js +1029 -0
  51. package/dist/radar-NHE76QYJ-DrVEcvh1.js +12 -0
  52. package/dist/requirementDiagram-UZGBJVZJ-BE76XNaT.js +857 -0
  53. package/dist/sankeyDiagram-TZEHDZUN-UHfMLEKl.js +817 -0
  54. package/dist/sequenceDiagram-WL72ISMW-62KWnVbh.js +2518 -0
  55. package/dist/stateDiagram-FKZM4ZOC--_CkWvu6.js +270 -0
  56. package/dist/stateDiagram-v2-4FDKWEC3-Dj7ZjAmI.js +23 -0
  57. package/dist/style.css +1 -0
  58. package/dist/timeline-definition-IT6M3QCI-C3Wb0xMN.js +804 -0
  59. package/dist/treemap-KMMF4GRG-Bc8F2dFd.js +12 -0
  60. package/dist/umo-editor.js +16 -0
  61. package/dist/xychartDiagram-PRI3JC2R-D2J307cO.js +1347 -0
  62. package/package.json +200 -0
  63. package/types/index.d.ts +277 -0
  64. package/types/src/components/index.d.ts +9 -0
  65. package/types/src/components/menus/button.vue.d.ts +583 -0
  66. package/types/src/components/modal.vue.d.ts +2 -0
  67. package/types/src/components/tooltip.vue.d.ts +27 -0
@@ -0,0 +1,583 @@
1
+ import { DropdownOption } from 'tdesign-vue-next';
2
+ declare function __VLS_template(): {
3
+ attrs: Partial<{}>;
4
+ slots: {
5
+ default?(_: {}): any;
6
+ default?(_: {}): any;
7
+ default?(_: {}): any;
8
+ default?(_: {}): any;
9
+ default?(_: {}): any;
10
+ default?(_: {}): any;
11
+ default?(_: {}): any;
12
+ dropmenu?(_: {}): any;
13
+ dropmenu?(_: {}): any;
14
+ content?(_: {}): any;
15
+ content?(_: {}): any;
16
+ };
17
+ refs: {
18
+ popupHandleRef: import('vue').CreateComponentPublicInstance<Readonly<globalThis.ExtractPropTypes<{
19
+ block: BooleanConstructor;
20
+ content: {
21
+ type: import('vue').PropType<string | ((h: typeof import('vue').h) => import('tdesign-vue-next/esm').SlotReturnValue)>;
22
+ };
23
+ default: {
24
+ type: import('vue').PropType<string | ((h: typeof import('vue').h) => import('tdesign-vue-next/esm').SlotReturnValue)>;
25
+ };
26
+ disabled: {
27
+ type: BooleanConstructor;
28
+ default: any;
29
+ };
30
+ ghost: BooleanConstructor;
31
+ href: {
32
+ type: StringConstructor;
33
+ default: string;
34
+ };
35
+ icon: {
36
+ type: import('vue').PropType<(h: typeof import('vue').h) => import('tdesign-vue-next/esm').SlotReturnValue>;
37
+ };
38
+ loading: BooleanConstructor;
39
+ loadingProps: {
40
+ type: import('vue').PropType<Partial<import('tdesign-vue-next/esm').TdLoadingProps>>;
41
+ };
42
+ shape: {
43
+ type: import('vue').PropType<"square" | "round" | "circle" | "rectangle">;
44
+ default: "square" | "round" | "circle" | "rectangle";
45
+ validator(val: "square" | "round" | "circle" | "rectangle"): boolean;
46
+ };
47
+ size: {
48
+ type: import('vue').PropType<import('tdesign-vue-next/esm').SizeEnum>;
49
+ default: import('tdesign-vue-next/esm').SizeEnum;
50
+ validator(val: import('tdesign-vue-next/esm').SizeEnum): boolean;
51
+ };
52
+ suffix: {
53
+ type: import('vue').PropType<(h: typeof import('vue').h) => import('tdesign-vue-next/esm').SlotReturnValue>;
54
+ };
55
+ tag: {
56
+ type: import('vue').PropType<"button" | "a" | "div">;
57
+ validator(val: "button" | "a" | "div"): boolean;
58
+ };
59
+ theme: {
60
+ type: import('vue').PropType<"default" | "success" | "primary" | "warning" | "danger">;
61
+ validator(val: "default" | "success" | "primary" | "warning" | "danger"): boolean;
62
+ };
63
+ type: {
64
+ type: import('vue').PropType<"button" | "reset" | "submit">;
65
+ default: "button" | "reset" | "submit";
66
+ validator(val: "button" | "reset" | "submit"): boolean;
67
+ };
68
+ variant: {
69
+ type: import('vue').PropType<"outline" | "base" | "text" | "dashed">;
70
+ default: "outline" | "base" | "text" | "dashed";
71
+ validator(val: "outline" | "base" | "text" | "dashed"): boolean;
72
+ };
73
+ onClick: import('vue').PropType<(e: MouseEvent) => void>;
74
+ }>>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
75
+ [key: string]: any;
76
+ }>, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<globalThis.ExtractPropTypes<{
77
+ block: BooleanConstructor;
78
+ content: {
79
+ type: import('vue').PropType<string | ((h: typeof import('vue').h) => import('tdesign-vue-next/esm').SlotReturnValue)>;
80
+ };
81
+ default: {
82
+ type: import('vue').PropType<string | ((h: typeof import('vue').h) => import('tdesign-vue-next/esm').SlotReturnValue)>;
83
+ };
84
+ disabled: {
85
+ type: BooleanConstructor;
86
+ default: any;
87
+ };
88
+ ghost: BooleanConstructor;
89
+ href: {
90
+ type: StringConstructor;
91
+ default: string;
92
+ };
93
+ icon: {
94
+ type: import('vue').PropType<(h: typeof import('vue').h) => import('tdesign-vue-next/esm').SlotReturnValue>;
95
+ };
96
+ loading: BooleanConstructor;
97
+ loadingProps: {
98
+ type: import('vue').PropType<Partial<import('tdesign-vue-next/esm').TdLoadingProps>>;
99
+ };
100
+ shape: {
101
+ type: import('vue').PropType<"square" | "round" | "circle" | "rectangle">;
102
+ default: "square" | "round" | "circle" | "rectangle";
103
+ validator(val: "square" | "round" | "circle" | "rectangle"): boolean;
104
+ };
105
+ size: {
106
+ type: import('vue').PropType<import('tdesign-vue-next/esm').SizeEnum>;
107
+ default: import('tdesign-vue-next/esm').SizeEnum;
108
+ validator(val: import('tdesign-vue-next/esm').SizeEnum): boolean;
109
+ };
110
+ suffix: {
111
+ type: import('vue').PropType<(h: typeof import('vue').h) => import('tdesign-vue-next/esm').SlotReturnValue>;
112
+ };
113
+ tag: {
114
+ type: import('vue').PropType<"button" | "a" | "div">;
115
+ validator(val: "button" | "a" | "div"): boolean;
116
+ };
117
+ theme: {
118
+ type: import('vue').PropType<"default" | "success" | "primary" | "warning" | "danger">;
119
+ validator(val: "default" | "success" | "primary" | "warning" | "danger"): boolean;
120
+ };
121
+ type: {
122
+ type: import('vue').PropType<"button" | "reset" | "submit">;
123
+ default: "button" | "reset" | "submit";
124
+ validator(val: "button" | "reset" | "submit"): boolean;
125
+ };
126
+ variant: {
127
+ type: import('vue').PropType<"outline" | "base" | "text" | "dashed">;
128
+ default: "outline" | "base" | "text" | "dashed";
129
+ validator(val: "outline" | "base" | "text" | "dashed"): boolean;
130
+ };
131
+ onClick: import('vue').PropType<(e: MouseEvent) => void>;
132
+ }>>, {
133
+ type: "button" | "reset" | "submit";
134
+ block: boolean;
135
+ loading: boolean;
136
+ disabled: boolean;
137
+ size: import('tdesign-vue-next/esm').SizeEnum;
138
+ href: string;
139
+ shape: "square" | "round" | "circle" | "rectangle";
140
+ variant: "outline" | "base" | "text" | "dashed";
141
+ ghost: boolean;
142
+ }, true, {}, {}, {
143
+ P: {};
144
+ B: {};
145
+ D: {};
146
+ C: {};
147
+ M: {};
148
+ Defaults: {};
149
+ }, Readonly<globalThis.ExtractPropTypes<{
150
+ block: BooleanConstructor;
151
+ content: {
152
+ type: import('vue').PropType<string | ((h: typeof import('vue').h) => import('tdesign-vue-next/esm').SlotReturnValue)>;
153
+ };
154
+ default: {
155
+ type: import('vue').PropType<string | ((h: typeof import('vue').h) => import('tdesign-vue-next/esm').SlotReturnValue)>;
156
+ };
157
+ disabled: {
158
+ type: BooleanConstructor;
159
+ default: any;
160
+ };
161
+ ghost: BooleanConstructor;
162
+ href: {
163
+ type: StringConstructor;
164
+ default: string;
165
+ };
166
+ icon: {
167
+ type: import('vue').PropType<(h: typeof import('vue').h) => import('tdesign-vue-next/esm').SlotReturnValue>;
168
+ };
169
+ loading: BooleanConstructor;
170
+ loadingProps: {
171
+ type: import('vue').PropType<Partial<import('tdesign-vue-next/esm').TdLoadingProps>>;
172
+ };
173
+ shape: {
174
+ type: import('vue').PropType<"square" | "round" | "circle" | "rectangle">;
175
+ default: "square" | "round" | "circle" | "rectangle";
176
+ validator(val: "square" | "round" | "circle" | "rectangle"): boolean;
177
+ };
178
+ size: {
179
+ type: import('vue').PropType<import('tdesign-vue-next/esm').SizeEnum>;
180
+ default: import('tdesign-vue-next/esm').SizeEnum;
181
+ validator(val: import('tdesign-vue-next/esm').SizeEnum): boolean;
182
+ };
183
+ suffix: {
184
+ type: import('vue').PropType<(h: typeof import('vue').h) => import('tdesign-vue-next/esm').SlotReturnValue>;
185
+ };
186
+ tag: {
187
+ type: import('vue').PropType<"button" | "a" | "div">;
188
+ validator(val: "button" | "a" | "div"): boolean;
189
+ };
190
+ theme: {
191
+ type: import('vue').PropType<"default" | "success" | "primary" | "warning" | "danger">;
192
+ validator(val: "default" | "success" | "primary" | "warning" | "danger"): boolean;
193
+ };
194
+ type: {
195
+ type: import('vue').PropType<"button" | "reset" | "submit">;
196
+ default: "button" | "reset" | "submit";
197
+ validator(val: "button" | "reset" | "submit"): boolean;
198
+ };
199
+ variant: {
200
+ type: import('vue').PropType<"outline" | "base" | "text" | "dashed">;
201
+ default: "outline" | "base" | "text" | "dashed";
202
+ validator(val: "outline" | "base" | "text" | "dashed"): boolean;
203
+ };
204
+ onClick: import('vue').PropType<(e: MouseEvent) => void>;
205
+ }>>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
206
+ [key: string]: any;
207
+ }>, {}, {}, {}, {
208
+ type: "button" | "reset" | "submit";
209
+ block: boolean;
210
+ loading: boolean;
211
+ disabled: boolean;
212
+ size: import('tdesign-vue-next/esm').SizeEnum;
213
+ href: string;
214
+ shape: "square" | "round" | "circle" | "rectangle";
215
+ variant: "outline" | "base" | "text" | "dashed";
216
+ ghost: boolean;
217
+ }> | null;
218
+ popupContentRef: HTMLDivElement;
219
+ };
220
+ rootEl: any;
221
+ };
222
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
223
+ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
224
+ menuType: {
225
+ type: StringConstructor;
226
+ default: string;
227
+ };
228
+ huge: {
229
+ type: BooleanConstructor;
230
+ default: boolean;
231
+ };
232
+ forceHuge: {
233
+ type: BooleanConstructor;
234
+ default: boolean;
235
+ };
236
+ ico: {
237
+ type: StringConstructor;
238
+ default: undefined;
239
+ };
240
+ text: {
241
+ type: StringConstructor;
242
+ default: string;
243
+ };
244
+ hideText: {
245
+ type: BooleanConstructor;
246
+ default: boolean;
247
+ };
248
+ tooltip: {
249
+ type: (BooleanConstructor | StringConstructor)[];
250
+ default: undefined;
251
+ };
252
+ shortcut: {
253
+ type: StringConstructor;
254
+ default: undefined;
255
+ };
256
+ shortcutText: {
257
+ type: StringConstructor;
258
+ default: undefined;
259
+ };
260
+ selectOptions: {
261
+ type: PropType<DropdownOption[]>;
262
+ default: undefined;
263
+ };
264
+ selectValue: {
265
+ type: (NumberConstructor | StringConstructor)[];
266
+ default: string;
267
+ };
268
+ popupVisible: {
269
+ type: BooleanConstructor;
270
+ default: boolean;
271
+ };
272
+ popupHandle: {
273
+ type: StringConstructor;
274
+ default: undefined;
275
+ };
276
+ menuActive: {
277
+ type: BooleanConstructor;
278
+ default: boolean;
279
+ };
280
+ disabled: {
281
+ type: BooleanConstructor;
282
+ default: boolean;
283
+ };
284
+ forceEnabled: {
285
+ type: BooleanConstructor;
286
+ default: boolean;
287
+ };
288
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
289
+ "toggle-popup": (...args: any[]) => void;
290
+ }, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
291
+ menuType: {
292
+ type: StringConstructor;
293
+ default: string;
294
+ };
295
+ huge: {
296
+ type: BooleanConstructor;
297
+ default: boolean;
298
+ };
299
+ forceHuge: {
300
+ type: BooleanConstructor;
301
+ default: boolean;
302
+ };
303
+ ico: {
304
+ type: StringConstructor;
305
+ default: undefined;
306
+ };
307
+ text: {
308
+ type: StringConstructor;
309
+ default: string;
310
+ };
311
+ hideText: {
312
+ type: BooleanConstructor;
313
+ default: boolean;
314
+ };
315
+ tooltip: {
316
+ type: (BooleanConstructor | StringConstructor)[];
317
+ default: undefined;
318
+ };
319
+ shortcut: {
320
+ type: StringConstructor;
321
+ default: undefined;
322
+ };
323
+ shortcutText: {
324
+ type: StringConstructor;
325
+ default: undefined;
326
+ };
327
+ selectOptions: {
328
+ type: PropType<DropdownOption[]>;
329
+ default: undefined;
330
+ };
331
+ selectValue: {
332
+ type: (NumberConstructor | StringConstructor)[];
333
+ default: string;
334
+ };
335
+ popupVisible: {
336
+ type: BooleanConstructor;
337
+ default: boolean;
338
+ };
339
+ popupHandle: {
340
+ type: StringConstructor;
341
+ default: undefined;
342
+ };
343
+ menuActive: {
344
+ type: BooleanConstructor;
345
+ default: boolean;
346
+ };
347
+ disabled: {
348
+ type: BooleanConstructor;
349
+ default: boolean;
350
+ };
351
+ forceEnabled: {
352
+ type: BooleanConstructor;
353
+ default: boolean;
354
+ };
355
+ }>> & Readonly<{
356
+ "onToggle-popup"?: ((...args: any[]) => any) | undefined;
357
+ }>, {
358
+ text: string;
359
+ shortcut: string;
360
+ menuType: string;
361
+ huge: boolean;
362
+ forceHuge: boolean;
363
+ ico: string;
364
+ hideText: boolean;
365
+ tooltip: string | boolean;
366
+ shortcutText: string;
367
+ selectOptions: DropdownOption[];
368
+ selectValue: string | number;
369
+ popupVisible: boolean;
370
+ popupHandle: string;
371
+ menuActive: boolean;
372
+ disabled: boolean;
373
+ forceEnabled: boolean;
374
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
375
+ popupHandleRef: import('vue').CreateComponentPublicInstance<Readonly<globalThis.ExtractPropTypes<{
376
+ block: BooleanConstructor;
377
+ content: {
378
+ type: import('vue').PropType<string | ((h: typeof import('vue').h) => import('tdesign-vue-next/esm').SlotReturnValue)>;
379
+ };
380
+ default: {
381
+ type: import('vue').PropType<string | ((h: typeof import('vue').h) => import('tdesign-vue-next/esm').SlotReturnValue)>;
382
+ };
383
+ disabled: {
384
+ type: BooleanConstructor;
385
+ default: any;
386
+ };
387
+ ghost: BooleanConstructor;
388
+ href: {
389
+ type: StringConstructor;
390
+ default: string;
391
+ };
392
+ icon: {
393
+ type: import('vue').PropType<(h: typeof import('vue').h) => import('tdesign-vue-next/esm').SlotReturnValue>;
394
+ };
395
+ loading: BooleanConstructor;
396
+ loadingProps: {
397
+ type: import('vue').PropType<Partial<import('tdesign-vue-next/esm').TdLoadingProps>>;
398
+ };
399
+ shape: {
400
+ type: import('vue').PropType<"square" | "round" | "circle" | "rectangle">;
401
+ default: "square" | "round" | "circle" | "rectangle";
402
+ validator(val: "square" | "round" | "circle" | "rectangle"): boolean;
403
+ };
404
+ size: {
405
+ type: import('vue').PropType<import('tdesign-vue-next/esm').SizeEnum>;
406
+ default: import('tdesign-vue-next/esm').SizeEnum;
407
+ validator(val: import('tdesign-vue-next/esm').SizeEnum): boolean;
408
+ };
409
+ suffix: {
410
+ type: import('vue').PropType<(h: typeof import('vue').h) => import('tdesign-vue-next/esm').SlotReturnValue>;
411
+ };
412
+ tag: {
413
+ type: import('vue').PropType<"button" | "a" | "div">;
414
+ validator(val: "button" | "a" | "div"): boolean;
415
+ };
416
+ theme: {
417
+ type: import('vue').PropType<"default" | "success" | "primary" | "warning" | "danger">;
418
+ validator(val: "default" | "success" | "primary" | "warning" | "danger"): boolean;
419
+ };
420
+ type: {
421
+ type: import('vue').PropType<"button" | "reset" | "submit">;
422
+ default: "button" | "reset" | "submit";
423
+ validator(val: "button" | "reset" | "submit"): boolean;
424
+ };
425
+ variant: {
426
+ type: import('vue').PropType<"outline" | "base" | "text" | "dashed">;
427
+ default: "outline" | "base" | "text" | "dashed";
428
+ validator(val: "outline" | "base" | "text" | "dashed"): boolean;
429
+ };
430
+ onClick: import('vue').PropType<(e: MouseEvent) => void>;
431
+ }>>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
432
+ [key: string]: any;
433
+ }>, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<globalThis.ExtractPropTypes<{
434
+ block: BooleanConstructor;
435
+ content: {
436
+ type: import('vue').PropType<string | ((h: typeof import('vue').h) => import('tdesign-vue-next/esm').SlotReturnValue)>;
437
+ };
438
+ default: {
439
+ type: import('vue').PropType<string | ((h: typeof import('vue').h) => import('tdesign-vue-next/esm').SlotReturnValue)>;
440
+ };
441
+ disabled: {
442
+ type: BooleanConstructor;
443
+ default: any;
444
+ };
445
+ ghost: BooleanConstructor;
446
+ href: {
447
+ type: StringConstructor;
448
+ default: string;
449
+ };
450
+ icon: {
451
+ type: import('vue').PropType<(h: typeof import('vue').h) => import('tdesign-vue-next/esm').SlotReturnValue>;
452
+ };
453
+ loading: BooleanConstructor;
454
+ loadingProps: {
455
+ type: import('vue').PropType<Partial<import('tdesign-vue-next/esm').TdLoadingProps>>;
456
+ };
457
+ shape: {
458
+ type: import('vue').PropType<"square" | "round" | "circle" | "rectangle">;
459
+ default: "square" | "round" | "circle" | "rectangle";
460
+ validator(val: "square" | "round" | "circle" | "rectangle"): boolean;
461
+ };
462
+ size: {
463
+ type: import('vue').PropType<import('tdesign-vue-next/esm').SizeEnum>;
464
+ default: import('tdesign-vue-next/esm').SizeEnum;
465
+ validator(val: import('tdesign-vue-next/esm').SizeEnum): boolean;
466
+ };
467
+ suffix: {
468
+ type: import('vue').PropType<(h: typeof import('vue').h) => import('tdesign-vue-next/esm').SlotReturnValue>;
469
+ };
470
+ tag: {
471
+ type: import('vue').PropType<"button" | "a" | "div">;
472
+ validator(val: "button" | "a" | "div"): boolean;
473
+ };
474
+ theme: {
475
+ type: import('vue').PropType<"default" | "success" | "primary" | "warning" | "danger">;
476
+ validator(val: "default" | "success" | "primary" | "warning" | "danger"): boolean;
477
+ };
478
+ type: {
479
+ type: import('vue').PropType<"button" | "reset" | "submit">;
480
+ default: "button" | "reset" | "submit";
481
+ validator(val: "button" | "reset" | "submit"): boolean;
482
+ };
483
+ variant: {
484
+ type: import('vue').PropType<"outline" | "base" | "text" | "dashed">;
485
+ default: "outline" | "base" | "text" | "dashed";
486
+ validator(val: "outline" | "base" | "text" | "dashed"): boolean;
487
+ };
488
+ onClick: import('vue').PropType<(e: MouseEvent) => void>;
489
+ }>>, {
490
+ type: "button" | "reset" | "submit";
491
+ block: boolean;
492
+ loading: boolean;
493
+ disabled: boolean;
494
+ size: import('tdesign-vue-next/esm').SizeEnum;
495
+ href: string;
496
+ shape: "square" | "round" | "circle" | "rectangle";
497
+ variant: "outline" | "base" | "text" | "dashed";
498
+ ghost: boolean;
499
+ }, true, {}, {}, {
500
+ P: {};
501
+ B: {};
502
+ D: {};
503
+ C: {};
504
+ M: {};
505
+ Defaults: {};
506
+ }, Readonly<globalThis.ExtractPropTypes<{
507
+ block: BooleanConstructor;
508
+ content: {
509
+ type: import('vue').PropType<string | ((h: typeof import('vue').h) => import('tdesign-vue-next/esm').SlotReturnValue)>;
510
+ };
511
+ default: {
512
+ type: import('vue').PropType<string | ((h: typeof import('vue').h) => import('tdesign-vue-next/esm').SlotReturnValue)>;
513
+ };
514
+ disabled: {
515
+ type: BooleanConstructor;
516
+ default: any;
517
+ };
518
+ ghost: BooleanConstructor;
519
+ href: {
520
+ type: StringConstructor;
521
+ default: string;
522
+ };
523
+ icon: {
524
+ type: import('vue').PropType<(h: typeof import('vue').h) => import('tdesign-vue-next/esm').SlotReturnValue>;
525
+ };
526
+ loading: BooleanConstructor;
527
+ loadingProps: {
528
+ type: import('vue').PropType<Partial<import('tdesign-vue-next/esm').TdLoadingProps>>;
529
+ };
530
+ shape: {
531
+ type: import('vue').PropType<"square" | "round" | "circle" | "rectangle">;
532
+ default: "square" | "round" | "circle" | "rectangle";
533
+ validator(val: "square" | "round" | "circle" | "rectangle"): boolean;
534
+ };
535
+ size: {
536
+ type: import('vue').PropType<import('tdesign-vue-next/esm').SizeEnum>;
537
+ default: import('tdesign-vue-next/esm').SizeEnum;
538
+ validator(val: import('tdesign-vue-next/esm').SizeEnum): boolean;
539
+ };
540
+ suffix: {
541
+ type: import('vue').PropType<(h: typeof import('vue').h) => import('tdesign-vue-next/esm').SlotReturnValue>;
542
+ };
543
+ tag: {
544
+ type: import('vue').PropType<"button" | "a" | "div">;
545
+ validator(val: "button" | "a" | "div"): boolean;
546
+ };
547
+ theme: {
548
+ type: import('vue').PropType<"default" | "success" | "primary" | "warning" | "danger">;
549
+ validator(val: "default" | "success" | "primary" | "warning" | "danger"): boolean;
550
+ };
551
+ type: {
552
+ type: import('vue').PropType<"button" | "reset" | "submit">;
553
+ default: "button" | "reset" | "submit";
554
+ validator(val: "button" | "reset" | "submit"): boolean;
555
+ };
556
+ variant: {
557
+ type: import('vue').PropType<"outline" | "base" | "text" | "dashed">;
558
+ default: "outline" | "base" | "text" | "dashed";
559
+ validator(val: "outline" | "base" | "text" | "dashed"): boolean;
560
+ };
561
+ onClick: import('vue').PropType<(e: MouseEvent) => void>;
562
+ }>>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
563
+ [key: string]: any;
564
+ }>, {}, {}, {}, {
565
+ type: "button" | "reset" | "submit";
566
+ block: boolean;
567
+ loading: boolean;
568
+ disabled: boolean;
569
+ size: import('tdesign-vue-next/esm').SizeEnum;
570
+ href: string;
571
+ shape: "square" | "round" | "circle" | "rectangle";
572
+ variant: "outline" | "base" | "text" | "dashed";
573
+ ghost: boolean;
574
+ }> | null;
575
+ popupContentRef: HTMLDivElement;
576
+ }, any>;
577
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
578
+ export default _default;
579
+ type __VLS_WithTemplateSlots<T, S> = T & {
580
+ new (): {
581
+ $slots: S;
582
+ };
583
+ };
@@ -0,0 +1,2 @@
1
+ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
2
+ export default _default;
@@ -0,0 +1,27 @@
1
+ declare function __VLS_template(): {
2
+ attrs: Partial<{}>;
3
+ slots: {
4
+ default?(_: {}): any;
5
+ };
6
+ refs: {};
7
+ rootEl: any;
8
+ };
9
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
10
+ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
11
+ content: {
12
+ type: StringConstructor;
13
+ required: true;
14
+ };
15
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
16
+ content: {
17
+ type: StringConstructor;
18
+ required: true;
19
+ };
20
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
21
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
22
+ export default _default;
23
+ type __VLS_WithTemplateSlots<T, S> = T & {
24
+ new (): {
25
+ $slots: S;
26
+ };
27
+ };