@vtj/ui 0.8.135 → 0.8.137
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.
- package/dist/index.mjs +2703 -2686
- package/dist/index.umd.js +12 -12
- package/dist/style.css +1 -1
- package/package.json +5 -5
- package/types/adapter.d.ts +0 -1
- package/types/components/action/Action.d.ts +12 -12
- package/types/components/action/Trigger.d.ts +7 -7
- package/types/components/action/hooks.d.ts +0 -1
- package/types/components/action/index.d.ts +0 -1
- package/types/components/action/types.d.ts +0 -1
- package/types/components/action-bar/ActionBar.d.ts +12 -11
- package/types/components/action-bar/index.d.ts +0 -1
- package/types/components/action-bar/types.d.ts +0 -1
- package/types/components/attachment/Attachment.d.ts +536 -23
- package/types/components/attachment/index.d.ts +0 -1
- package/types/components/attachment/props.d.ts +0 -1
- package/types/components/attachment/types.d.ts +0 -1
- package/types/components/attachment/util.d.ts +0 -1
- package/types/components/captcha/Captcha.d.ts +13 -36
- package/types/components/captcha/index.d.ts +0 -1
- package/types/components/captcha/types.d.ts +0 -1
- package/types/components/container/Container.d.ts +15 -8
- package/types/components/container/index.d.ts +0 -1
- package/types/components/container/types.d.ts +0 -1
- package/types/components/data-item/DataItem.d.ts +25 -18
- package/types/components/data-item/index.d.ts +0 -1
- package/types/components/data-item/types.d.ts +0 -1
- package/types/components/dialog/Dialog.d.ts +387 -33
- package/types/components/dialog/create.d.ts +0 -1
- package/types/components/dialog/hooks.d.ts +0 -1
- package/types/components/dialog/index.d.ts +0 -1
- package/types/components/dialog/types.d.ts +0 -1
- package/types/components/dialog-form/DialogForm.d.ts +946 -19
- package/types/components/dialog-form/index.d.ts +0 -1
- package/types/components/dialog-form/types.d.ts +0 -1
- package/types/components/dialog-grid/DialogGrid.d.ts +2117 -92
- package/types/components/dialog-grid/index.d.ts +0 -1
- package/types/components/dialog-grid/types.d.ts +0 -1
- package/types/components/field/Field.d.ts +235 -32
- package/types/components/field/editors/CheckboxEditor.d.ts +3 -27
- package/types/components/field/editors/RadioEditor.d.ts +3 -27
- package/types/components/field/editors/SelectEditor.d.ts +14 -31
- package/types/components/field/editors/index.d.ts +0 -1
- package/types/components/field/hooks/useEditor.d.ts +0 -1
- package/types/components/field/index.d.ts +0 -1
- package/types/components/field/types.d.ts +1 -2
- package/types/components/form/Form.d.ts +244 -18
- package/types/components/form/index.d.ts +0 -1
- package/types/components/form/types.d.ts +0 -1
- package/types/components/grid/Grid.d.ts +157 -140
- package/types/components/grid/hooks/useColumnSortable.d.ts +1 -2
- package/types/components/grid/hooks/useCustom.d.ts +0 -1
- package/types/components/grid/hooks/useEditRender.d.ts +3 -4
- package/types/components/grid/hooks/useFilterRender.d.ts +0 -1
- package/types/components/grid/hooks/useLoader.d.ts +103 -104
- package/types/components/grid/hooks/useProps.d.ts +0 -1
- package/types/components/grid/hooks/useRowSortable.d.ts +1 -2
- package/types/components/grid/hooks/useState.d.ts +103 -104
- package/types/components/grid/hooks/useVxe.d.ts +0 -1
- package/types/components/grid/index.d.ts +0 -1
- package/types/components/grid/props.d.ts +0 -1
- package/types/components/grid/renderers/actions.d.ts +0 -1
- package/types/components/grid/renderers/components/DateEdit.d.ts +2 -12
- package/types/components/grid/renderers/components/DateFilter.d.ts +2 -12
- package/types/components/grid/renderers/components/GridEdit.d.ts +2 -12
- package/types/components/grid/renderers/components/InputEdit.d.ts +2 -12
- package/types/components/grid/renderers/components/InputFilter.d.ts +2 -12
- package/types/components/grid/renderers/components/NumberEdit.d.ts +2 -12
- package/types/components/grid/renderers/components/NumberFilter.d.ts +2 -12
- package/types/components/grid/renderers/components/PickerEdit.d.ts +2 -12
- package/types/components/grid/renderers/components/SelectEdit.d.ts +2 -12
- package/types/components/grid/renderers/components/SelectFilter.d.ts +2 -12
- package/types/components/grid/renderers/date.d.ts +0 -1
- package/types/components/grid/renderers/grid.d.ts +0 -1
- package/types/components/grid/renderers/image.d.ts +0 -1
- package/types/components/grid/renderers/index.d.ts +0 -1
- package/types/components/grid/renderers/input.d.ts +0 -1
- package/types/components/grid/renderers/interceptors.d.ts +0 -1
- package/types/components/grid/renderers/link.d.ts +0 -1
- package/types/components/grid/renderers/number.d.ts +0 -1
- package/types/components/grid/renderers/picker.d.ts +0 -1
- package/types/components/grid/renderers/select.d.ts +0 -1
- package/types/components/grid/renderers/shared.d.ts +0 -1
- package/types/components/grid/renderers/tag.d.ts +0 -1
- package/types/components/grid/renderers/text.d.ts +0 -1
- package/types/components/grid/types.d.ts +0 -1
- package/types/components/grid/utils.d.ts +0 -1
- package/types/components/grid-editor/GridEditor.d.ts +9 -33
- package/types/components/grid-editor/index.d.ts +0 -1
- package/types/components/grid-editor/types.d.ts +0 -1
- package/types/components/header/Header.d.ts +15 -10
- package/types/components/header/index.d.ts +0 -1
- package/types/components/header/types.d.ts +0 -1
- package/types/components/icon/Icon.d.ts +12 -7
- package/types/components/icon/index.d.ts +0 -1
- package/types/components/icon/types.d.ts +0 -1
- package/types/components/import-button/ImportButton.d.ts +15 -10
- package/types/components/import-button/index.d.ts +0 -1
- package/types/components/import-button/props.d.ts +0 -1
- package/types/components/import-button/types.d.ts +0 -1
- package/types/components/input-unit/InputUnit.d.ts +11 -11
- package/types/components/input-unit/index.d.ts +0 -1
- package/types/components/input-unit/types.d.ts +0 -1
- package/types/components/list/List.d.ts +33 -21
- package/types/components/list/index.d.ts +0 -1
- package/types/components/list/types.d.ts +0 -1
- package/types/components/mask/Mask.d.ts +57 -14
- package/types/components/mask/components/Avatar.d.ts +9 -13
- package/types/components/mask/components/Brand.d.ts +11 -27
- package/types/components/mask/components/Content.d.ts +9 -14
- package/types/components/mask/components/Menu.d.ts +6 -28
- package/types/components/mask/components/Sidebar.d.ts +10 -14
- package/types/components/mask/components/SwitchBar.d.ts +5 -28
- package/types/components/mask/components/Tabs.d.ts +10 -20
- package/types/components/mask/components/ThemeSwitch.d.ts +2 -2
- package/types/components/mask/components/Toolbar.d.ts +12 -29
- package/types/components/mask/defineTab.d.ts +0 -1
- package/types/components/mask/hooks/useContent.d.ts +1 -2
- package/types/components/mask/hooks/useHome.d.ts +0 -1
- package/types/components/mask/hooks/useMenus.d.ts +1 -2
- package/types/components/mask/hooks/useSidebar.d.ts +3 -3
- package/types/components/mask/hooks/useTabs.d.ts +3 -4
- package/types/components/mask/index.d.ts +0 -1
- package/types/components/mask/types.d.ts +0 -1
- package/types/components/menu/Menu.d.ts +6 -30
- package/types/components/menu/MenuItem.d.ts +2 -12
- package/types/components/menu/components.d.ts +0 -1
- package/types/components/menu/index.d.ts +0 -1
- package/types/components/menu/types.d.ts +0 -1
- package/types/components/panel/Panel.d.ts +337 -14
- package/types/components/panel/index.d.ts +0 -1
- package/types/components/panel/types.d.ts +0 -1
- package/types/components/picker/Dialog.d.ts +4 -14
- package/types/components/picker/Picker.d.ts +20 -18
- package/types/components/picker/hooks.d.ts +6 -4
- package/types/components/picker/index.d.ts +0 -1
- package/types/components/picker/props.d.ts +1 -2
- package/types/components/picker/types.d.ts +0 -1
- package/types/components/qr-code/QrCode.d.ts +15 -34
- package/types/components/qr-code/index.d.ts +0 -1
- package/types/components/qr-code/types.d.ts +0 -1
- package/types/components/query-form/QueryForm.d.ts +442 -32
- package/types/components/query-form/hooks.d.ts +1 -2
- package/types/components/query-form/index.d.ts +0 -1
- package/types/components/query-form/props.d.ts +0 -1
- package/types/components/query-form/types.d.ts +0 -1
- package/types/components/shared.d.ts +0 -1
- package/types/components/startup/Startup.d.ts +5 -5
- package/types/components/startup/index.d.ts +0 -1
- package/types/components/startup/types.d.ts +0 -1
- package/types/components/tabs/Tabs.d.ts +48 -42
- package/types/components/tabs/index.d.ts +0 -1
- package/types/components/tabs/types.d.ts +0 -1
- package/types/components/test/Test.d.ts +51 -46
- package/types/components/test/index.d.ts +0 -1
- package/types/components/test/types.d.ts +0 -1
- package/types/components/verify/Verify.d.ts +14 -38
- package/types/components/verify/index.d.ts +0 -1
- package/types/directives/vDraggable.d.ts +0 -1
- package/types/directives/vResizable.d.ts +0 -1
- package/types/hooks/useDisabled.d.ts +0 -1
- package/types/hooks/useIcon.d.ts +0 -1
- package/types/hooks/useLoader.d.ts +0 -1
- package/types/index.d.ts +0 -1
- package/types/install.d.ts +1 -1
- package/types/list.d.ts +0 -1
- package/types/utils/install.d.ts +0 -1
- package/types/version.d.ts +2 -2
@@ -1,26 +1,14 @@
|
|
1
|
-
import { ActionProps, ActionMenuItem
|
1
|
+
import { ActionProps, ActionMenuItem } from '../';
|
2
2
|
import { TabsItem } from './types';
|
3
|
-
import {
|
3
|
+
import { IconParam } from '../icon';
|
4
|
+
import { DefineComponent, ExtractPropTypes, PropType, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
5
|
+
import { ActionMode } from '../action';
|
4
6
|
import { ElTooltipProps, BadgeProps, TooltipTriggerType, ButtonProps } from 'element-plus';
|
5
7
|
import { EpPropFinalized, EpPropMergeType } from 'element-plus/es/utils/index.mjs';
|
6
8
|
import { Arrayable } from 'element-plus/es/utils/typescript.mjs';
|
7
9
|
import { BaseSize, BaseType } from '../shared';
|
8
|
-
|
9
|
-
|
10
|
-
label: string;
|
11
|
-
name?: string | number;
|
12
|
-
icon?: IconParam;
|
13
|
-
value?: string | number;
|
14
|
-
data?: any;
|
15
|
-
disabled?: boolean;
|
16
|
-
closable?: boolean;
|
17
|
-
lazy?: boolean;
|
18
|
-
actions?: ActionProps[];
|
19
|
-
component?: any;
|
20
|
-
props?: Record<string, any>;
|
21
|
-
slot?: string;
|
22
|
-
}) => any>> & {
|
23
|
-
label?(_: {
|
10
|
+
declare function __VLS_template(): {
|
11
|
+
slots: Partial<Record<string, (_: {
|
24
12
|
label: string;
|
25
13
|
name?: string | number;
|
26
14
|
icon?: IconParam;
|
@@ -33,23 +21,41 @@ declare function __VLS_template(): Partial<Record<string, (_: {
|
|
33
21
|
component?: any;
|
34
22
|
props?: Record<string, any>;
|
35
23
|
slot?: string;
|
36
|
-
})
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
24
|
+
}) => any>> & {
|
25
|
+
label?(_: {
|
26
|
+
label: string;
|
27
|
+
name?: string | number;
|
28
|
+
icon?: IconParam;
|
29
|
+
value?: string | number;
|
30
|
+
data?: any;
|
31
|
+
disabled?: boolean;
|
32
|
+
closable?: boolean;
|
33
|
+
lazy?: boolean;
|
34
|
+
actions?: ActionProps[];
|
35
|
+
component?: any;
|
36
|
+
props?: Record<string, any>;
|
37
|
+
slot?: string;
|
38
|
+
}): any;
|
39
|
+
default?(_: {
|
40
|
+
label: string;
|
41
|
+
name?: string | number;
|
42
|
+
icon?: IconParam;
|
43
|
+
value?: string | number;
|
44
|
+
data?: any;
|
45
|
+
disabled?: boolean;
|
46
|
+
closable?: boolean;
|
47
|
+
lazy?: boolean;
|
48
|
+
actions?: ActionProps[];
|
49
|
+
component?: any;
|
50
|
+
props?: Record<string, any>;
|
51
|
+
slot?: string;
|
52
|
+
}): any;
|
53
|
+
};
|
54
|
+
refs: {};
|
55
|
+
attrs: Partial<{}>;
|
51
56
|
};
|
52
|
-
|
57
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
58
|
+
declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
53
59
|
items: {
|
54
60
|
type: PropType<TabsItem[]>;
|
55
61
|
default(): never[];
|
@@ -63,9 +69,9 @@ declare const __VLS_component: DefineComponent<{
|
|
63
69
|
align: {
|
64
70
|
type: PropType<"left" | "center" | "right">;
|
65
71
|
};
|
66
|
-
}
|
72
|
+
}>, {
|
67
73
|
$vtjDynamicSlots: () => (string | undefined)[];
|
68
|
-
},
|
74
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
69
75
|
actionClick: (props: Readonly<Partial< ExtractPropTypes<{
|
70
76
|
name: {
|
71
77
|
type: StringConstructor;
|
@@ -154,8 +160,8 @@ declare const __VLS_component: DefineComponent<{
|
|
154
160
|
draggable: {
|
155
161
|
type: BooleanConstructor;
|
156
162
|
};
|
157
|
-
}>>>) =>
|
158
|
-
actionCommand: (item: ActionMenuItem) =>
|
163
|
+
}>>>) => any;
|
164
|
+
actionCommand: (item: ActionMenuItem) => any;
|
159
165
|
}, string, PublicProps, Readonly< ExtractPropTypes<{
|
160
166
|
items: {
|
161
167
|
type: PropType<TabsItem[]>;
|
@@ -170,7 +176,7 @@ declare const __VLS_component: DefineComponent<{
|
|
170
176
|
align: {
|
171
177
|
type: PropType<"left" | "center" | "right">;
|
172
178
|
};
|
173
|
-
}>> & {
|
179
|
+
}>> & Readonly<{
|
174
180
|
onActionClick?: ((props: Readonly<Partial< ExtractPropTypes<{
|
175
181
|
name: {
|
176
182
|
type: StringConstructor;
|
@@ -261,12 +267,12 @@ declare const __VLS_component: DefineComponent<{
|
|
261
267
|
};
|
262
268
|
}>>>) => any) | undefined;
|
263
269
|
onActionCommand?: ((item: ActionMenuItem) => any) | undefined;
|
264
|
-
}
|
270
|
+
}>, {
|
265
271
|
items: TabsItem[];
|
266
272
|
fit: boolean;
|
267
273
|
border: boolean;
|
268
|
-
}, {}>;
|
269
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component,
|
274
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
275
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
270
276
|
export default _default;
|
271
277
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
272
278
|
new (): {
|
@@ -1,37 +1,42 @@
|
|
1
|
-
import { DefineComponent, Ref, ComponentOptionsMixin,
|
2
|
-
declare function __VLS_template():
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
1
|
+
import { DefineComponent, ExtractPropTypes, Ref, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
2
|
+
declare function __VLS_template(): {
|
3
|
+
slots: Partial<Record<string, (_: {}) => any>> & {
|
4
|
+
default?(_: {
|
5
|
+
props: {
|
6
|
+
readonly booleanProp: boolean;
|
7
|
+
readonly modelValue?: string | undefined;
|
8
|
+
readonly stringProp?: string | undefined;
|
9
|
+
readonly numberProp?: number | undefined;
|
10
|
+
readonly selectProp?: string | undefined;
|
11
|
+
readonly objectProp?: Record<string, any> | undefined;
|
12
|
+
readonly arrayProp?: unknown[] | undefined;
|
13
|
+
readonly iconProp?: string | undefined;
|
14
|
+
readonly colorProp?: string | undefined;
|
15
|
+
readonly syncProp?: string | undefined;
|
16
|
+
};
|
17
|
+
data: any;
|
18
|
+
}): any;
|
19
|
+
extra?(_: {
|
20
|
+
props: {
|
21
|
+
readonly booleanProp: boolean;
|
22
|
+
readonly modelValue?: string | undefined;
|
23
|
+
readonly stringProp?: string | undefined;
|
24
|
+
readonly numberProp?: number | undefined;
|
25
|
+
readonly selectProp?: string | undefined;
|
26
|
+
readonly objectProp?: Record<string, any> | undefined;
|
27
|
+
readonly arrayProp?: unknown[] | undefined;
|
28
|
+
readonly iconProp?: string | undefined;
|
29
|
+
readonly colorProp?: string | undefined;
|
30
|
+
readonly syncProp?: string | undefined;
|
31
|
+
};
|
32
|
+
data: any;
|
33
|
+
}): any;
|
34
|
+
};
|
35
|
+
refs: {};
|
36
|
+
attrs: Partial<{}>;
|
33
37
|
};
|
34
|
-
|
38
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
39
|
+
declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
35
40
|
stringProp: {
|
36
41
|
type: StringConstructor;
|
37
42
|
};
|
@@ -62,14 +67,13 @@ declare const __VLS_component: DefineComponent<{
|
|
62
67
|
syncProp: {
|
63
68
|
type: StringConstructor;
|
64
69
|
};
|
65
|
-
}
|
70
|
+
}>, {
|
66
71
|
click: () => void;
|
67
72
|
submit: () => void;
|
68
|
-
data: Ref<any>;
|
73
|
+
data: Ref<any, any>;
|
69
74
|
change: (params: any) => void;
|
70
75
|
$vtjDynamicSlots: () => string[];
|
71
|
-
},
|
72
|
-
change: (data: any) => void;
|
76
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
73
77
|
click: (props: Readonly<Partial< ExtractPropTypes<{
|
74
78
|
stringProp: {
|
75
79
|
type: StringConstructor;
|
@@ -101,7 +105,7 @@ declare const __VLS_component: DefineComponent<{
|
|
101
105
|
syncProp: {
|
102
106
|
type: StringConstructor;
|
103
107
|
};
|
104
|
-
}>>>) =>
|
108
|
+
}>>>) => any;
|
105
109
|
submit: (props: Readonly<Partial< ExtractPropTypes<{
|
106
110
|
stringProp: {
|
107
111
|
type: StringConstructor;
|
@@ -133,9 +137,10 @@ declare const __VLS_component: DefineComponent<{
|
|
133
137
|
syncProp: {
|
134
138
|
type: StringConstructor;
|
135
139
|
};
|
136
|
-
}>>>) =>
|
137
|
-
|
138
|
-
"update:
|
140
|
+
}>>>) => any;
|
141
|
+
change: (data: any) => any;
|
142
|
+
"update:modelValue": (value?: string | undefined) => any;
|
143
|
+
"update:syncProp": (value?: string | undefined) => any;
|
139
144
|
}, string, PublicProps, Readonly< ExtractPropTypes<{
|
140
145
|
stringProp: {
|
141
146
|
type: StringConstructor;
|
@@ -167,7 +172,7 @@ declare const __VLS_component: DefineComponent<{
|
|
167
172
|
syncProp: {
|
168
173
|
type: StringConstructor;
|
169
174
|
};
|
170
|
-
}>> & {
|
175
|
+
}>> & Readonly<{
|
171
176
|
onClick?: ((props: Readonly<Partial< ExtractPropTypes<{
|
172
177
|
stringProp: {
|
173
178
|
type: StringConstructor;
|
@@ -200,7 +205,6 @@ declare const __VLS_component: DefineComponent<{
|
|
200
205
|
type: StringConstructor;
|
201
206
|
};
|
202
207
|
}>>>) => any) | undefined;
|
203
|
-
onChange?: ((data: any) => any) | undefined;
|
204
208
|
onSubmit?: ((props: Readonly<Partial< ExtractPropTypes<{
|
205
209
|
stringProp: {
|
206
210
|
type: StringConstructor;
|
@@ -233,12 +237,13 @@ declare const __VLS_component: DefineComponent<{
|
|
233
237
|
type: StringConstructor;
|
234
238
|
};
|
235
239
|
}>>>) => any) | undefined;
|
240
|
+
onChange?: ((data: any) => any) | undefined;
|
236
241
|
"onUpdate:modelValue"?: ((value?: string | undefined) => any) | undefined;
|
237
242
|
"onUpdate:syncProp"?: ((value?: string | undefined) => any) | undefined;
|
238
|
-
}
|
243
|
+
}>, {
|
239
244
|
booleanProp: boolean;
|
240
|
-
}, {}>;
|
241
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component,
|
245
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
246
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
242
247
|
export default _default;
|
243
248
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
244
249
|
new (): {
|
@@ -1,43 +1,19 @@
|
|
1
|
-
import {
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
type: PropType<string>;
|
10
|
-
default: string;
|
11
|
-
};
|
12
|
-
api: {
|
13
|
-
type: PropType<() => Promise<boolean>>;
|
14
|
-
};
|
15
|
-
seconds: {
|
16
|
-
type: PropType<number>;
|
17
|
-
default: number;
|
18
|
-
};
|
19
|
-
}, {
|
1
|
+
import { VerifyProps } from './types';
|
2
|
+
import { ModelRef, DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
3
|
+
declare let __VLS_typeProps: VerifyProps;
|
4
|
+
declare const modelValue: ModelRef<string | undefined, string, string | undefined, string | undefined>;
|
5
|
+
type __VLS_PublicProps = {
|
6
|
+
modelValue?: typeof modelValue['value'];
|
7
|
+
} & typeof __VLS_typeProps;
|
8
|
+
declare const _default: DefineComponent<__VLS_PublicProps, {
|
20
9
|
send: () => Promise<void>;
|
21
|
-
},
|
22
|
-
modelValue:
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
};
|
27
|
-
placeholder: {
|
28
|
-
type: PropType<string>;
|
29
|
-
default: string;
|
30
|
-
};
|
31
|
-
api: {
|
32
|
-
type: PropType<() => Promise<boolean>>;
|
33
|
-
};
|
34
|
-
seconds: {
|
35
|
-
type: PropType<number>;
|
36
|
-
default: number;
|
37
|
-
};
|
38
|
-
}>>, {
|
10
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
11
|
+
"update:modelValue": (modelValue: string | undefined) => any;
|
12
|
+
}, string, PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
13
|
+
"onUpdate:modelValue"?: ((modelValue: string | undefined) => any) | undefined;
|
14
|
+
}>, {
|
39
15
|
maxlength: number;
|
40
16
|
placeholder: string;
|
41
17
|
seconds: number;
|
42
|
-
}, {}>;
|
18
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
43
19
|
export default _default;
|
package/types/hooks/useIcon.d.ts
CHANGED
@@ -1,5 +1,4 @@
|
|
1
1
|
import { ComputedRef, MaybeRef } from 'vue';
|
2
2
|
import { IconParam, IconProps } from '../components';
|
3
|
-
|
4
3
|
export declare function useIconProps(iconRef: MaybeRef<IconParam | undefined>): ComputedRef<IconProps | null>;
|
5
4
|
export declare function useIcon(icon: MaybeRef<IconParam | undefined>): Record<string, any> | undefined;
|
package/types/index.d.ts
CHANGED
package/types/install.d.ts
CHANGED
package/types/list.d.ts
CHANGED
package/types/utils/install.d.ts
CHANGED
package/types/version.d.ts
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
* Copyright (c) 2024, VTJ.PRO All rights reserved.
|
3
3
|
* @name @vtj/ui
|
4
4
|
* @author CHC chenhuachun1549@dingtalk.com
|
5
|
-
* @version 0.8.
|
5
|
+
* @version 0.8.136
|
6
6
|
* @license <a href="https://vtj.pro/license.html">MIT License</a>
|
7
7
|
*/
|
8
|
-
export declare const version = "0.8.
|
8
|
+
export declare const version = "0.8.136";
|