@vtj/ui 0.10.6 → 0.10.8

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 (44) hide show
  1. package/dist/index.mjs +9 -8
  2. package/dist/index.umd.js +3 -3
  3. package/package.json +5 -5
  4. package/types/components/action/Action.d.ts +10 -3
  5. package/types/components/attachment/Attachment.d.ts +805 -274
  6. package/types/components/container/Container.d.ts +15 -178
  7. package/types/components/data-item/DataItem.d.ts +18 -517
  8. package/types/components/dialog/Dialog.d.ts +1203 -432
  9. package/types/components/dialog-form/DialogForm.d.ts +3049 -104
  10. package/types/components/dialog-grid/DialogGrid.d.ts +4907 -69
  11. package/types/components/field/Field.d.ts +353 -222
  12. package/types/components/field/editors/SelectEditor.d.ts +12 -21
  13. package/types/components/form/Form.d.ts +389 -116
  14. package/types/components/grid/Grid.d.ts +57 -787
  15. package/types/components/grid/renderers/components/DateEdit.d.ts +255 -2
  16. package/types/components/grid/renderers/components/DateFilter.d.ts +1 -1
  17. package/types/components/grid/renderers/components/GridEdit.d.ts +410 -2
  18. package/types/components/grid/renderers/components/InputFilter.d.ts +1 -1
  19. package/types/components/grid/renderers/components/NumberFilter.d.ts +1 -1
  20. package/types/components/grid/renderers/components/PickerEdit.d.ts +1926 -2
  21. package/types/components/grid/renderers/components/SelectFilter.d.ts +1 -1
  22. package/types/components/grid-editor/GridEditor.d.ts +375 -2
  23. package/types/components/header/Header.d.ts +14 -76
  24. package/types/components/icon/Icon.d.ts +74 -0
  25. package/types/components/import-button/ImportButton.d.ts +10 -47
  26. package/types/components/list/List.d.ts +30 -155
  27. package/types/components/mask/Mask.d.ts +562 -546
  28. package/types/components/mask/components/Avatar.d.ts +11 -16
  29. package/types/components/mask/components/Brand.d.ts +12 -17
  30. package/types/components/mask/components/Content.d.ts +12 -13
  31. package/types/components/mask/components/Sidebar.d.ts +12 -15
  32. package/types/components/mask/components/Tabs.d.ts +255 -2
  33. package/types/components/mask/components/ThemeSwitch.d.ts +1 -1
  34. package/types/components/mask/components/Toolbar.d.ts +13 -55
  35. package/types/components/panel/Panel.d.ts +521 -124
  36. package/types/components/picker/Dialog.d.ts +1291 -2
  37. package/types/components/picker/Picker.d.ts +1730 -2
  38. package/types/components/qr-code/QrCode.d.ts +13 -35
  39. package/types/components/query-form/QueryForm.d.ts +1105 -418
  40. package/types/components/startup/Startup.d.ts +1 -1
  41. package/types/components/tabs/Tabs.d.ts +53 -297
  42. package/types/components/test/Test.d.ts +41 -268
  43. package/types/utils/auto-update.d.ts +1 -1
  44. package/types/version.d.ts +2 -2
@@ -1,269 +1,42 @@
1
- import { ElDivider, ElDescriptions, ElDescriptionsItem, ElButton, ElInput } from 'element-plus';
2
- import { XPanel } from '../panel';
3
- import { XContainer } from '../container';
4
- import { ComputedRef, WritableComputedRef, Ref, DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
5
- declare const propsArray: ComputedRef<[string, string | number | boolean | Record<string, any> | unknown[]][]>;
6
- declare const $vtjDynamicSlots: () => string[];
7
- declare const currentModelValue: WritableComputedRef<string | undefined, string | undefined>;
8
- declare const currentSyncProp: WritableComputedRef<string | undefined, string | undefined>;
9
- declare const data: Ref<any, any>;
10
- declare const click: () => void;
11
- declare const submit: () => void;
12
- declare const onChange: () => void;
13
- declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
14
- declare var __VLS_38: {
15
- props: {
16
- readonly booleanProp: boolean;
17
- readonly modelValue?: string | undefined;
18
- readonly stringProp?: string | undefined;
19
- readonly numberProp?: number | undefined;
20
- readonly selectProp?: string | undefined;
21
- readonly objectProp?: Record<string, any> | undefined;
22
- readonly arrayProp?: unknown[] | undefined;
23
- readonly iconProp?: string | undefined;
24
- readonly colorProp?: string | undefined;
25
- readonly syncProp?: string | undefined;
26
- };
27
- data: any;
28
- }, __VLS_44: {
29
- props: {
30
- readonly booleanProp: boolean;
31
- readonly modelValue?: string | undefined;
32
- readonly stringProp?: string | undefined;
33
- readonly numberProp?: number | undefined;
34
- readonly selectProp?: string | undefined;
35
- readonly objectProp?: Record<string, any> | undefined;
36
- readonly arrayProp?: unknown[] | undefined;
37
- readonly iconProp?: string | undefined;
38
- readonly colorProp?: string | undefined;
39
- readonly syncProp?: string | undefined;
40
- };
41
- data: any;
42
- }, __VLS_55: string, __VLS_56: {};
43
- type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
44
- [K in NonNullable<typeof __VLS_55>]?: (props: typeof __VLS_56) => any;
45
- } & {
46
- default?: (props: typeof __VLS_38) => any;
47
- } & {
48
- extra?: (props: typeof __VLS_44) => any;
49
- }>;
50
- declare const __VLS_self: DefineComponent<ExtractPropTypes<{
51
- stringProp: {
52
- type: StringConstructor;
53
- };
54
- booleanProp: {
55
- type: BooleanConstructor;
56
- };
57
- numberProp: {
58
- type: NumberConstructor;
59
- };
60
- selectProp: {
61
- type: StringConstructor;
62
- };
63
- objectProp: {
64
- type: ObjectConstructor;
65
- };
66
- arrayProp: {
67
- type: ArrayConstructor;
68
- };
69
- iconProp: {
70
- type: StringConstructor;
71
- };
72
- colorProp: {
73
- type: StringConstructor;
74
- };
75
- modelValue: {
76
- type: StringConstructor;
77
- };
78
- syncProp: {
79
- type: StringConstructor;
80
- };
81
- }>, {
82
- ElDivider: typeof ElDivider;
83
- ElDescriptions: typeof ElDescriptions;
84
- ElDescriptionsItem: typeof ElDescriptionsItem;
85
- ElButton: typeof ElButton;
86
- ElInput: typeof ElInput;
87
- XPanel: typeof XPanel;
88
- XContainer: typeof XContainer;
89
- propsArray: typeof propsArray;
90
- $vtjDynamicSlots: typeof $vtjDynamicSlots;
91
- currentModelValue: typeof currentModelValue;
92
- currentSyncProp: typeof currentSyncProp;
93
- data: typeof data;
94
- click: typeof click;
95
- submit: typeof submit;
96
- onChange: typeof onChange;
97
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
98
- click: (props: Readonly<Partial< ExtractPropTypes<{
99
- stringProp: {
100
- type: StringConstructor;
101
- };
102
- booleanProp: {
103
- type: BooleanConstructor;
104
- };
105
- numberProp: {
106
- type: NumberConstructor;
107
- };
108
- selectProp: {
109
- type: StringConstructor;
110
- };
111
- objectProp: {
112
- type: ObjectConstructor;
113
- };
114
- arrayProp: {
115
- type: ArrayConstructor;
116
- };
117
- iconProp: {
118
- type: StringConstructor;
119
- };
120
- colorProp: {
121
- type: StringConstructor;
122
- };
123
- modelValue: {
124
- type: StringConstructor;
125
- };
126
- syncProp: {
127
- type: StringConstructor;
128
- };
129
- }>>>) => any;
130
- submit: (props: Readonly<Partial< ExtractPropTypes<{
131
- stringProp: {
132
- type: StringConstructor;
133
- };
134
- booleanProp: {
135
- type: BooleanConstructor;
136
- };
137
- numberProp: {
138
- type: NumberConstructor;
139
- };
140
- selectProp: {
141
- type: StringConstructor;
142
- };
143
- objectProp: {
144
- type: ObjectConstructor;
145
- };
146
- arrayProp: {
147
- type: ArrayConstructor;
148
- };
149
- iconProp: {
150
- type: StringConstructor;
151
- };
152
- colorProp: {
153
- type: StringConstructor;
154
- };
155
- modelValue: {
156
- type: StringConstructor;
157
- };
158
- syncProp: {
159
- type: StringConstructor;
160
- };
161
- }>>>) => any;
162
- change: (data: any) => any;
163
- "update:modelValue": (value?: string | undefined) => any;
164
- "update:syncProp": (value?: string | undefined) => any;
165
- }, string, PublicProps, Readonly< ExtractPropTypes<{
166
- stringProp: {
167
- type: StringConstructor;
168
- };
169
- booleanProp: {
170
- type: BooleanConstructor;
171
- };
172
- numberProp: {
173
- type: NumberConstructor;
174
- };
175
- selectProp: {
176
- type: StringConstructor;
177
- };
178
- objectProp: {
179
- type: ObjectConstructor;
180
- };
181
- arrayProp: {
182
- type: ArrayConstructor;
183
- };
184
- iconProp: {
185
- type: StringConstructor;
186
- };
187
- colorProp: {
188
- type: StringConstructor;
189
- };
190
- modelValue: {
191
- type: StringConstructor;
192
- };
193
- syncProp: {
194
- type: StringConstructor;
195
- };
196
- }>> & Readonly<{
197
- onClick?: ((props: Readonly<Partial< ExtractPropTypes<{
198
- stringProp: {
199
- type: StringConstructor;
200
- };
201
- booleanProp: {
202
- type: BooleanConstructor;
203
- };
204
- numberProp: {
205
- type: NumberConstructor;
206
- };
207
- selectProp: {
208
- type: StringConstructor;
209
- };
210
- objectProp: {
211
- type: ObjectConstructor;
212
- };
213
- arrayProp: {
214
- type: ArrayConstructor;
215
- };
216
- iconProp: {
217
- type: StringConstructor;
218
- };
219
- colorProp: {
220
- type: StringConstructor;
221
- };
222
- modelValue: {
223
- type: StringConstructor;
224
- };
225
- syncProp: {
226
- type: StringConstructor;
227
- };
228
- }>>>) => any) | undefined;
229
- onSubmit?: ((props: Readonly<Partial< ExtractPropTypes<{
230
- stringProp: {
231
- type: StringConstructor;
232
- };
233
- booleanProp: {
234
- type: BooleanConstructor;
235
- };
236
- numberProp: {
237
- type: NumberConstructor;
238
- };
239
- selectProp: {
240
- type: StringConstructor;
241
- };
242
- objectProp: {
243
- type: ObjectConstructor;
244
- };
245
- arrayProp: {
246
- type: ArrayConstructor;
247
- };
248
- iconProp: {
249
- type: StringConstructor;
250
- };
251
- colorProp: {
252
- type: StringConstructor;
253
- };
254
- modelValue: {
255
- type: StringConstructor;
256
- };
257
- syncProp: {
258
- type: StringConstructor;
259
- };
260
- }>>>) => any) | undefined;
261
- onChange?: ((data: any) => any) | undefined;
262
- "onUpdate:modelValue"?: ((value?: string | undefined) => any) | undefined;
263
- "onUpdate:syncProp"?: ((value?: string | undefined) => any) | undefined;
264
- }>, {
265
- booleanProp: boolean;
266
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1
+ import { DefineComponent, ExtractPropTypes, Ref, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
+ declare function __VLS_template(): {
3
+ attrs: Partial<{}>;
4
+ slots: Partial<Record<string, (_: {}) => any>> & {
5
+ default?(_: {
6
+ props: {
7
+ readonly booleanProp: boolean;
8
+ readonly modelValue?: string | undefined;
9
+ readonly stringProp?: string | undefined;
10
+ readonly numberProp?: number | undefined;
11
+ readonly selectProp?: string | undefined;
12
+ readonly objectProp?: Record<string, any> | undefined;
13
+ readonly arrayProp?: unknown[] | undefined;
14
+ readonly iconProp?: string | undefined;
15
+ readonly colorProp?: string | undefined;
16
+ readonly syncProp?: string | undefined;
17
+ };
18
+ data: any;
19
+ }): any;
20
+ extra?(_: {
21
+ props: {
22
+ readonly booleanProp: boolean;
23
+ readonly modelValue?: string | undefined;
24
+ readonly stringProp?: string | undefined;
25
+ readonly numberProp?: number | undefined;
26
+ readonly selectProp?: string | undefined;
27
+ readonly objectProp?: Record<string, any> | undefined;
28
+ readonly arrayProp?: unknown[] | undefined;
29
+ readonly iconProp?: string | undefined;
30
+ readonly colorProp?: string | undefined;
31
+ readonly syncProp?: string | undefined;
32
+ };
33
+ data: any;
34
+ }): any;
35
+ };
36
+ refs: {};
37
+ rootEl: any;
38
+ };
39
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
267
40
  declare const __VLS_component: DefineComponent<ExtractPropTypes<{
268
41
  stringProp: {
269
42
  type: StringConstructor;
@@ -471,9 +244,9 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
471
244
  }>, {
472
245
  booleanProp: boolean;
473
246
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
474
- declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
247
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
475
248
  export default _default;
476
- type __VLS_WithSlots<T, S> = T & {
249
+ type __VLS_WithTemplateSlots<T, S> = T & {
477
250
  new (): {
478
251
  $slots: S;
479
252
  };
@@ -1 +1 @@
1
- export declare function autoUpdate(): void;
1
+ export declare function autoUpdate(time?: number): void;
@@ -2,7 +2,7 @@
2
2
  * Copyright (c) 2025, VTJ.PRO All rights reserved.
3
3
  * @name @vtj/ui
4
4
  * @author CHC chenhuachun1549@dingtalk.com
5
- * @version 0.10.5
5
+ * @version 0.10.7
6
6
  * @license <a href="https://vtj.pro/license.html">MIT License</a>
7
7
  */
8
- export declare const version = "0.10.5";
8
+ export declare const version = "0.10.7";