@vtj/ui 0.4.2 → 0.4.4

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 (80) hide show
  1. package/cdn/index.js +1 -1
  2. package/cdn/style.css +1 -1
  3. package/lib/index.js +264 -1928
  4. package/lib/style.css +1 -1
  5. package/package.json +6 -6
  6. package/types/components/icon/{Icon.vue.d.ts → Icon.d.ts} +1 -1
  7. package/types/components/icon/index.d.ts +3 -166
  8. package/types/components/index.d.ts +4 -15
  9. package/types/components/menu/Menu.d.ts +99 -0
  10. package/types/components/menu/MenuItem.d.ts +17 -0
  11. package/types/components/menu/components.d.ts +2 -0
  12. package/types/components/menu/index.d.ts +3 -0
  13. package/types/components/menu/types.d.ts +12 -0
  14. package/types/components/shared.d.ts +13 -0
  15. package/types/components/simple-mask/SimpleMask.d.ts +41 -0
  16. package/types/components/simple-mask/index.d.ts +2 -0
  17. package/types/components/{page/Page.vue.d.ts → startup/Startup.d.ts} +11 -8
  18. package/types/components/startup/index.d.ts +2 -0
  19. package/types/hooks/index.d.ts +0 -1
  20. package/types/hooks/useIcon.d.ts +1 -1
  21. package/types/index.d.ts +1 -6
  22. package/types/list.d.ts +2 -21587
  23. package/types/utils/make-install.d.ts +3 -4
  24. package/types/components/block/Block.vue.d.ts +0 -143
  25. package/types/components/block/block.d.ts +0 -68
  26. package/types/components/block/index.d.ts +0 -319
  27. package/types/components/config/Config.d.ts +0 -26
  28. package/types/components/config/index.d.ts +0 -19
  29. package/types/components/config/props.d.ts +0 -6
  30. package/types/components/container/Container.vue.d.ts +0 -52
  31. package/types/components/container/container.d.ts +0 -46
  32. package/types/components/container/index.d.ts +0 -159
  33. package/types/components/cron/Cron.vue.d.ts +0 -9
  34. package/types/components/cron/cron.d.ts +0 -23
  35. package/types/components/cron/index.d.ts +0 -11
  36. package/types/components/dialog/Dialog.vue.d.ts +0 -289
  37. package/types/components/dialog/create.d.ts +0 -6
  38. package/types/components/dialog/dialog.d.ts +0 -155
  39. package/types/components/dialog/hooks.d.ts +0 -927
  40. package/types/components/dialog/index.d.ts +0 -638
  41. package/types/components/element/Element.d.ts +0 -25
  42. package/types/components/element/index.d.ts +0 -21
  43. package/types/components/field/Field.vue.d.ts +0 -802
  44. package/types/components/field/field.d.ts +0 -230
  45. package/types/components/field/hooks.d.ts +0 -23
  46. package/types/components/field/index.d.ts +0 -2034
  47. package/types/components/field/setters/InputSetter.d.ts +0 -45
  48. package/types/components/field/setters/SelectSetter.d.ts +0 -45
  49. package/types/components/field/setters/factory.d.ts +0 -54
  50. package/types/components/field/setters/index.d.ts +0 -93
  51. package/types/components/form/Form.vue.d.ts +0 -5352
  52. package/types/components/form/form.d.ts +0 -384
  53. package/types/components/form/hooks.d.ts +0 -1906
  54. package/types/components/form/index.d.ts +0 -15373
  55. package/types/components/help/Help.vue.d.ts +0 -315
  56. package/types/components/help/help.d.ts +0 -172
  57. package/types/components/help/hooks.d.ts +0 -18
  58. package/types/components/help/index.d.ts +0 -316
  59. package/types/components/page/index.d.ts +0 -118
  60. package/types/components/page/page.d.ts +0 -9
  61. package/types/components/panel/Panel.vue.d.ts +0 -573
  62. package/types/components/panel/index.d.ts +0 -1207
  63. package/types/components/panel/panel.d.ts +0 -227
  64. package/types/components/text/Text.vue.d.ts +0 -52
  65. package/types/components/text/index.d.ts +0 -165
  66. package/types/components/text/text.d.ts +0 -37
  67. package/types/components/tool/Tool.vue.d.ts +0 -158
  68. package/types/components/tool/Trigger.d.ts +0 -29
  69. package/types/components/tool/hooks.d.ts +0 -250
  70. package/types/components/tool/index.d.ts +0 -371
  71. package/types/components/tool/tool.d.ts +0 -91
  72. package/types/components/toolbar/Toolbar.vue.d.ts +0 -44
  73. package/types/components/toolbar/hooks.d.ts +0 -14
  74. package/types/components/toolbar/index.d.ts +0 -161
  75. package/types/components/toolbar/toolbar.d.ts +0 -45
  76. package/types/components/wrapper/Wrapper.vue.d.ts +0 -268
  77. package/types/components/wrapper/index.d.ts +0 -601
  78. package/types/components/wrapper/wrapper.d.ts +0 -145
  79. package/types/hooks/useConfig.d.ts +0 -5
  80. /package/types/components/icon/{icon.d.ts → types.d.ts} +0 -0
@@ -1,573 +0,0 @@
1
- import { DefineComponent, PropType, ExtractPropTypes, ComputedRef, ComponentPublicInstance, ComponentOptionsBase, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps } from 'vue';
2
- import { IconParam, PanelShadow, ToolbarButtonGroup, ToolbarItem, BlockDirection, BlockWrap, BlockOverflow, ToolMenu, ToolValue } from '../..';
3
- declare const _default: __VLS_WithTemplateSlots<DefineComponent<{
4
- title: {
5
- type: StringConstructor;
6
- };
7
- icon: {
8
- type: PropType<IconParam>;
9
- };
10
- shadow: {
11
- type: PropType<PanelShadow>;
12
- default: string;
13
- };
14
- small: {
15
- type: BooleanConstructor;
16
- default: boolean;
17
- };
18
- toolbar: {
19
- type: PropType<Partial<ExtractPropTypes<{
20
- button: {
21
- type: PropType<ToolbarButtonGroup>;
22
- };
23
- items: {
24
- type: PropType<ToolbarItem[]>;
25
- default: () => never[];
26
- };
27
- hiddenOnDisabled: {
28
- type: BooleanConstructor;
29
- };
30
- }>>>;
31
- };
32
- header: {
33
- type: PropType<Boolean | Partial<ExtractPropTypes<{
34
- flex: {
35
- type: BooleanConstructor;
36
- default: boolean;
37
- };
38
- width: {
39
- type: (StringConstructor | NumberConstructor)[];
40
- };
41
- height: {
42
- type: (StringConstructor | NumberConstructor)[];
43
- };
44
- direction: {
45
- type: PropType<BlockDirection>;
46
- default: string;
47
- };
48
- grow: {
49
- type: BooleanConstructor;
50
- default: boolean;
51
- };
52
- shrink: {
53
- type: BooleanConstructor;
54
- default: boolean;
55
- };
56
- wrap: {
57
- type: PropType<BlockWrap>;
58
- default: string;
59
- };
60
- justify: {
61
- type: StringConstructor;
62
- default: string;
63
- };
64
- align: {
65
- type: StringConstructor;
66
- default: string;
67
- };
68
- border: {
69
- type: BooleanConstructor;
70
- };
71
- radius: {
72
- type: BooleanConstructor;
73
- };
74
- background: {
75
- type: BooleanConstructor;
76
- };
77
- split: {
78
- type: BooleanConstructor;
79
- };
80
- fit: {
81
- type: BooleanConstructor;
82
- };
83
- overflow: {
84
- type: PropType<BlockOverflow>;
85
- default: string;
86
- };
87
- padding: {
88
- type: BooleanConstructor;
89
- default: boolean;
90
- };
91
- }>>>;
92
- default: boolean;
93
- };
94
- body: {
95
- type: PropType<Partial<ExtractPropTypes<{
96
- flex: {
97
- type: BooleanConstructor;
98
- default: boolean;
99
- };
100
- width: {
101
- type: (StringConstructor | NumberConstructor)[];
102
- };
103
- height: {
104
- type: (StringConstructor | NumberConstructor)[];
105
- };
106
- direction: {
107
- type: PropType<BlockDirection>;
108
- default: string;
109
- };
110
- grow: {
111
- type: BooleanConstructor;
112
- default: boolean;
113
- };
114
- shrink: {
115
- type: BooleanConstructor;
116
- default: boolean;
117
- };
118
- wrap: {
119
- type: PropType<BlockWrap>;
120
- default: string;
121
- };
122
- justify: {
123
- type: StringConstructor;
124
- default: string;
125
- };
126
- align: {
127
- type: StringConstructor;
128
- default: string;
129
- };
130
- border: {
131
- type: BooleanConstructor;
132
- };
133
- radius: {
134
- type: BooleanConstructor;
135
- };
136
- background: {
137
- type: BooleanConstructor;
138
- };
139
- split: {
140
- type: BooleanConstructor;
141
- };
142
- fit: {
143
- type: BooleanConstructor;
144
- };
145
- overflow: {
146
- type: PropType<BlockOverflow>;
147
- default: string;
148
- };
149
- padding: {
150
- type: BooleanConstructor;
151
- default: boolean;
152
- };
153
- }>>>;
154
- };
155
- footer: {
156
- type: PropType<Boolean | Partial<ExtractPropTypes<{
157
- flex: {
158
- type: BooleanConstructor;
159
- default: boolean;
160
- };
161
- width: {
162
- type: (StringConstructor | NumberConstructor)[];
163
- };
164
- height: {
165
- type: (StringConstructor | NumberConstructor)[];
166
- };
167
- direction: {
168
- type: PropType<BlockDirection>;
169
- default: string;
170
- };
171
- grow: {
172
- type: BooleanConstructor;
173
- default: boolean;
174
- };
175
- shrink: {
176
- type: BooleanConstructor;
177
- default: boolean;
178
- };
179
- wrap: {
180
- type: PropType<BlockWrap>;
181
- default: string;
182
- };
183
- justify: {
184
- type: StringConstructor;
185
- default: string;
186
- };
187
- align: {
188
- type: StringConstructor;
189
- default: string;
190
- };
191
- border: {
192
- type: BooleanConstructor;
193
- };
194
- radius: {
195
- type: BooleanConstructor;
196
- };
197
- background: {
198
- type: BooleanConstructor;
199
- };
200
- split: {
201
- type: BooleanConstructor;
202
- };
203
- fit: {
204
- type: BooleanConstructor;
205
- };
206
- overflow: {
207
- type: PropType<BlockOverflow>;
208
- default: string;
209
- };
210
- padding: {
211
- type: BooleanConstructor;
212
- default: boolean;
213
- };
214
- }>>>;
215
- default: boolean;
216
- };
217
- }, {
218
- panel: ComputedRef<ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null | undefined>;
219
- }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
220
- toolClick: (value?: ToolValue) => boolean;
221
- toolCommand: (value: ToolValue, menu: ToolMenu) => boolean;
222
- toolClose: (value: ToolValue, menu: ToolMenu) => boolean;
223
- }, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
224
- title: {
225
- type: StringConstructor;
226
- };
227
- icon: {
228
- type: PropType<IconParam>;
229
- };
230
- shadow: {
231
- type: PropType<PanelShadow>;
232
- default: string;
233
- };
234
- small: {
235
- type: BooleanConstructor;
236
- default: boolean;
237
- };
238
- toolbar: {
239
- type: PropType<Partial<ExtractPropTypes<{
240
- button: {
241
- type: PropType<ToolbarButtonGroup>;
242
- };
243
- items: {
244
- type: PropType<ToolbarItem[]>;
245
- default: () => never[];
246
- };
247
- hiddenOnDisabled: {
248
- type: BooleanConstructor;
249
- };
250
- }>>>;
251
- };
252
- header: {
253
- type: PropType<Boolean | Partial<ExtractPropTypes<{
254
- flex: {
255
- type: BooleanConstructor;
256
- default: boolean;
257
- };
258
- width: {
259
- type: (StringConstructor | NumberConstructor)[];
260
- };
261
- height: {
262
- type: (StringConstructor | NumberConstructor)[];
263
- };
264
- direction: {
265
- type: PropType<BlockDirection>;
266
- default: string;
267
- };
268
- grow: {
269
- type: BooleanConstructor;
270
- default: boolean;
271
- };
272
- shrink: {
273
- type: BooleanConstructor;
274
- default: boolean;
275
- };
276
- wrap: {
277
- type: PropType<BlockWrap>;
278
- default: string;
279
- };
280
- justify: {
281
- type: StringConstructor;
282
- default: string;
283
- };
284
- align: {
285
- type: StringConstructor;
286
- default: string;
287
- };
288
- border: {
289
- type: BooleanConstructor;
290
- };
291
- radius: {
292
- type: BooleanConstructor;
293
- };
294
- background: {
295
- type: BooleanConstructor;
296
- };
297
- split: {
298
- type: BooleanConstructor;
299
- };
300
- fit: {
301
- type: BooleanConstructor;
302
- };
303
- overflow: {
304
- type: PropType<BlockOverflow>;
305
- default: string;
306
- };
307
- padding: {
308
- type: BooleanConstructor;
309
- default: boolean;
310
- };
311
- }>>>;
312
- default: boolean;
313
- };
314
- body: {
315
- type: PropType<Partial<ExtractPropTypes<{
316
- flex: {
317
- type: BooleanConstructor;
318
- default: boolean;
319
- };
320
- width: {
321
- type: (StringConstructor | NumberConstructor)[];
322
- };
323
- height: {
324
- type: (StringConstructor | NumberConstructor)[];
325
- };
326
- direction: {
327
- type: PropType<BlockDirection>;
328
- default: string;
329
- };
330
- grow: {
331
- type: BooleanConstructor;
332
- default: boolean;
333
- };
334
- shrink: {
335
- type: BooleanConstructor;
336
- default: boolean;
337
- };
338
- wrap: {
339
- type: PropType<BlockWrap>;
340
- default: string;
341
- };
342
- justify: {
343
- type: StringConstructor;
344
- default: string;
345
- };
346
- align: {
347
- type: StringConstructor;
348
- default: string;
349
- };
350
- border: {
351
- type: BooleanConstructor;
352
- };
353
- radius: {
354
- type: BooleanConstructor;
355
- };
356
- background: {
357
- type: BooleanConstructor;
358
- };
359
- split: {
360
- type: BooleanConstructor;
361
- };
362
- fit: {
363
- type: BooleanConstructor;
364
- };
365
- overflow: {
366
- type: PropType<BlockOverflow>;
367
- default: string;
368
- };
369
- padding: {
370
- type: BooleanConstructor;
371
- default: boolean;
372
- };
373
- }>>>;
374
- };
375
- footer: {
376
- type: PropType<Boolean | Partial<ExtractPropTypes<{
377
- flex: {
378
- type: BooleanConstructor;
379
- default: boolean;
380
- };
381
- width: {
382
- type: (StringConstructor | NumberConstructor)[];
383
- };
384
- height: {
385
- type: (StringConstructor | NumberConstructor)[];
386
- };
387
- direction: {
388
- type: PropType<BlockDirection>;
389
- default: string;
390
- };
391
- grow: {
392
- type: BooleanConstructor;
393
- default: boolean;
394
- };
395
- shrink: {
396
- type: BooleanConstructor;
397
- default: boolean;
398
- };
399
- wrap: {
400
- type: PropType<BlockWrap>;
401
- default: string;
402
- };
403
- justify: {
404
- type: StringConstructor;
405
- default: string;
406
- };
407
- align: {
408
- type: StringConstructor;
409
- default: string;
410
- };
411
- border: {
412
- type: BooleanConstructor;
413
- };
414
- radius: {
415
- type: BooleanConstructor;
416
- };
417
- background: {
418
- type: BooleanConstructor;
419
- };
420
- split: {
421
- type: BooleanConstructor;
422
- };
423
- fit: {
424
- type: BooleanConstructor;
425
- };
426
- overflow: {
427
- type: PropType<BlockOverflow>;
428
- default: string;
429
- };
430
- padding: {
431
- type: BooleanConstructor;
432
- default: boolean;
433
- };
434
- }>>>;
435
- default: boolean;
436
- };
437
- }>> & {
438
- onToolClick?: ((value?: ToolValue) => any) | undefined;
439
- onToolCommand?: ((value: ToolValue, menu: ToolMenu) => any) | undefined;
440
- onToolClose?: ((value: ToolValue, menu: ToolMenu) => any) | undefined;
441
- }, {
442
- small: boolean;
443
- footer: Boolean | Partial<ExtractPropTypes<{
444
- flex: {
445
- type: BooleanConstructor;
446
- default: boolean;
447
- };
448
- width: {
449
- type: (StringConstructor | NumberConstructor)[];
450
- };
451
- height: {
452
- type: (StringConstructor | NumberConstructor)[];
453
- };
454
- direction: {
455
- type: PropType<BlockDirection>;
456
- default: string;
457
- };
458
- grow: {
459
- type: BooleanConstructor;
460
- default: boolean;
461
- };
462
- shrink: {
463
- type: BooleanConstructor;
464
- default: boolean;
465
- };
466
- wrap: {
467
- type: PropType<BlockWrap>;
468
- default: string;
469
- };
470
- justify: {
471
- type: StringConstructor;
472
- default: string;
473
- };
474
- align: {
475
- type: StringConstructor;
476
- default: string;
477
- };
478
- border: {
479
- type: BooleanConstructor;
480
- };
481
- radius: {
482
- type: BooleanConstructor;
483
- };
484
- background: {
485
- type: BooleanConstructor;
486
- };
487
- split: {
488
- type: BooleanConstructor;
489
- };
490
- fit: {
491
- type: BooleanConstructor;
492
- };
493
- overflow: {
494
- type: PropType<BlockOverflow>;
495
- default: string;
496
- };
497
- padding: {
498
- type: BooleanConstructor;
499
- default: boolean;
500
- };
501
- }>>;
502
- header: Boolean | Partial<ExtractPropTypes<{
503
- flex: {
504
- type: BooleanConstructor;
505
- default: boolean;
506
- };
507
- width: {
508
- type: (StringConstructor | NumberConstructor)[];
509
- };
510
- height: {
511
- type: (StringConstructor | NumberConstructor)[];
512
- };
513
- direction: {
514
- type: PropType<BlockDirection>;
515
- default: string;
516
- };
517
- grow: {
518
- type: BooleanConstructor;
519
- default: boolean;
520
- };
521
- shrink: {
522
- type: BooleanConstructor;
523
- default: boolean;
524
- };
525
- wrap: {
526
- type: PropType<BlockWrap>;
527
- default: string;
528
- };
529
- justify: {
530
- type: StringConstructor;
531
- default: string;
532
- };
533
- align: {
534
- type: StringConstructor;
535
- default: string;
536
- };
537
- border: {
538
- type: BooleanConstructor;
539
- };
540
- radius: {
541
- type: BooleanConstructor;
542
- };
543
- background: {
544
- type: BooleanConstructor;
545
- };
546
- split: {
547
- type: BooleanConstructor;
548
- };
549
- fit: {
550
- type: BooleanConstructor;
551
- };
552
- overflow: {
553
- type: PropType<BlockOverflow>;
554
- default: string;
555
- };
556
- padding: {
557
- type: BooleanConstructor;
558
- default: boolean;
559
- };
560
- }>>;
561
- shadow: PanelShadow;
562
- }, {}>, {
563
- header?(_: {}): any;
564
- title?(_: {}): any;
565
- default?(_: {}): any;
566
- footer?(_: {}): any;
567
- }>;
568
- export default _default;
569
- type __VLS_WithTemplateSlots<T, S> = T & {
570
- new (): {
571
- $slots: S;
572
- };
573
- };