lew-ui 2.1.14 → 2.2.2
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/LICENSE +21 -21
- package/README.md +49 -53
- package/dist/components/avatar/src/LewAvatar.vue.d.ts +0 -11
- package/dist/components/avatar/src/props.d.ts +0 -5
- package/dist/components/backtop/src/LewBackTop.vue.d.ts +6 -4
- package/dist/components/badge/src/LewBadge.vue.d.ts +6 -4
- package/dist/components/breadcrumb/src/LewBreadcrumb.vue.d.ts +6 -2
- package/dist/components/breadcrumb/src/props.d.ts +1 -1
- package/dist/components/button/src/LewButton.vue.d.ts +7 -5
- package/dist/components/cascader/src/LewCascader.vue.d.ts +8 -6
- package/dist/components/checkbox/src/LewCheckbox.vue.d.ts +4 -4
- package/dist/components/collapse/index.d.ts +4 -0
- package/dist/components/collapse/src/LewCollapse.vue.d.ts +38 -0
- package/dist/components/collapse/src/LewCollapseItem.vue.d.ts +68 -0
- package/dist/components/collapse/src/props.d.ts +52 -0
- package/dist/components/date-picker/index.d.ts +0 -2
- package/dist/components/date-picker/src/LewDate.vue.d.ts +3 -3
- package/dist/components/date-picker/src/LewDatePicker.vue.d.ts +13 -2
- package/dist/components/date-picker/src/props.d.ts +6 -69
- package/dist/components/date-range-picker/index.d.ts +3 -0
- package/dist/components/{date-picker → date-range-picker}/src/LewDateRange.vue.d.ts +2 -2
- package/dist/components/{date-picker → date-range-picker}/src/LewDateRangePicker.vue.d.ts +7 -5
- package/dist/components/date-range-picker/src/props.d.ts +75 -0
- package/dist/components/drawer/src/LewDrawer.vue.d.ts +16 -14
- package/dist/components/drawer/src/props.d.ts +3 -3
- package/dist/components/dropdown/src/LewDropdown.vue.d.ts +9 -42
- package/dist/components/dropdown/src/props.d.ts +2 -16
- package/dist/components/empty/src/LewEmpty.vue.d.ts +23 -1
- package/dist/components/empty/src/props.d.ts +10 -0
- package/dist/components/expand/index.d.ts +2 -0
- package/dist/components/expand/src/LewExpand.vue.d.ts +27 -0
- package/dist/components/expand/src/props.d.ts +10 -0
- package/dist/components/flex/src/LewFlex.vue.d.ts +6 -4
- package/dist/components/form/index.d.ts +1 -0
- package/dist/components/form/src/LewForm.vue.d.ts +67 -7
- package/dist/components/form/src/LewFormItem.vue.d.ts +200 -0
- package/dist/components/form/src/LewGetLabelWidth.vue.d.ts +22 -0
- package/dist/components/form/src/RequiredIcon.vue.d.ts +14 -0
- package/dist/components/form/src/props.d.ts +112 -7
- package/dist/components/image/index.d.ts +2 -0
- package/dist/components/image/src/LewImage.vue.d.ts +124 -0
- package/dist/components/image/src/props.d.ts +55 -0
- package/dist/components/index.d.ts +8 -0
- package/dist/components/input/src/LewInput.vue.d.ts +12 -12
- package/dist/components/input/src/props.d.ts +3 -3
- package/dist/components/input-number/index.d.ts +2 -0
- package/dist/components/input-number/src/LewInputNumber.vue.d.ts +150 -0
- package/dist/components/input-number/src/props.d.ts +67 -0
- package/dist/components/input-tag/src/LewInputTag.vue.d.ts +2 -2
- package/dist/components/mark/src/LewMark.vue.d.ts +15 -9
- package/dist/components/mark/src/props.d.ts +1 -1
- package/dist/components/menu/src/props.d.ts +1 -1
- package/dist/components/menu-tree/src/props.d.ts +1 -1
- package/dist/components/modal/src/LewModal.vue.d.ts +34 -10
- package/dist/components/modal/src/props.d.ts +11 -1
- package/dist/components/pagination/src/LewPagination.vue.d.ts +15 -13
- package/dist/components/pagination/src/props.d.ts +2 -2
- package/dist/components/popok/src/LewPopok.vue.d.ts +9 -7
- package/dist/components/popok/src/props.d.ts +1 -1
- package/dist/components/popover/src/LewPopover.vue.d.ts +12 -10
- package/dist/components/popover/src/props.d.ts +1 -1
- package/dist/components/radio/src/LewRadio.vue.d.ts +1 -1
- package/dist/components/radio/src/LewRadioGroup.vue.d.ts +2 -2
- package/dist/components/result/src/LewResult.vue.d.ts +6 -4
- package/dist/components/select/src/LewSelect.vue.d.ts +14 -12
- package/dist/components/select-multiple/src/LewSelectMultiple.vue.d.ts +14 -12
- package/dist/components/slider/index.d.ts +2 -0
- package/dist/components/slider/src/LewSlider.vue.d.ts +8 -0
- package/dist/components/slider/src/props.d.ts +4 -0
- package/dist/components/slider-range/index.d.ts +2 -0
- package/dist/components/slider-range/src/LewSliderRange.vue.d.ts +8 -0
- package/dist/components/slider-range/src/props.d.ts +4 -0
- package/dist/components/steps/src/LewSteps.vue.d.ts +2 -2
- package/dist/components/switch/src/LewSwitch.vue.d.ts +5 -5
- package/dist/components/switch/src/props.d.ts +1 -1
- package/dist/components/table/src/LewTable.vue.d.ts +15 -13
- package/dist/components/tabs/src/LewTabs.vue.d.ts +3 -3
- package/dist/components/tag/src/LewTag.vue.d.ts +8 -6
- package/dist/components/text-trim/src/LewTextTrim.vue.d.ts +3 -3
- package/dist/components/text-trim/src/props.d.ts +1 -1
- package/dist/components/textarea/src/LewTextarea.vue.d.ts +57 -2
- package/dist/components/textarea/src/props.d.ts +25 -0
- package/dist/components/title/src/LewTitle.vue.d.ts +6 -4
- package/dist/components/tree/src/LewTree.vue.d.ts +13 -11
- package/dist/components/tree-select/src/LewTreeSelect.vue.d.ts +13 -11
- package/dist/components/tree-select/src/props.d.ts +1 -1
- package/dist/components/upload/index.d.ts +2 -0
- package/dist/components/upload/src/LewUpload.vue.d.ts +123 -0
- package/dist/components/upload/src/props.d.ts +69 -0
- package/dist/directives/context-menu/index.d.ts +2 -0
- package/dist/directives/context-menu/src/LewContextMenu.vue.d.ts +22 -0
- package/dist/directives/context-menu/src/index.d.ts +24 -0
- package/dist/directives/dialog/index.d.ts +1 -2
- package/dist/directives/dialog/src/LewDialog.vue.d.ts +7 -7
- package/dist/directives/dialog/src/index.d.ts +10 -2
- package/dist/directives/dialog/src/props.d.ts +1 -1
- package/dist/directives/index.d.ts +1 -0
- package/dist/directives/loading/index.d.ts +1 -1
- package/dist/directives/loading/src/index.d.ts +1 -2
- package/dist/directives/notification/index.d.ts +0 -1
- package/dist/directives/notification/src/index.d.ts +16 -2
- package/dist/directives/tooltip/index.d.ts +1 -1
- package/dist/directives/tooltip/src/index.d.ts +1 -2
- package/dist/hooks/index.d.ts +0 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.mjs +5721 -3565
- package/dist/index.umd.js +16 -16
- package/dist/style.css +1 -1
- package/dist/utils/index.d.ts +8 -2
- package/package.json +7 -6
- package/dist/hooks/src/useLewTo.d.ts +0 -3
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
declare const _default: import('vue').DefineComponent<{
|
|
2
2
|
modelValue: {
|
|
3
3
|
required: true;
|
|
4
|
-
type:
|
|
4
|
+
type: import('vue').PropType<any>;
|
|
5
5
|
};
|
|
6
|
-
prefixesValue:
|
|
7
|
-
suffixValue:
|
|
6
|
+
prefixesValue: import('vue').PropType<any>;
|
|
7
|
+
suffixValue: import('vue').PropType<any>;
|
|
8
8
|
type: {
|
|
9
9
|
type: StringConstructor;
|
|
10
10
|
default: string;
|
|
@@ -86,7 +86,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
86
86
|
description: string;
|
|
87
87
|
};
|
|
88
88
|
prefixesOptions: {
|
|
89
|
-
type: globalThis.PropType<import('../../..').
|
|
89
|
+
type: globalThis.PropType<import('../../..').ContextMenus[]>;
|
|
90
90
|
default: () => never[];
|
|
91
91
|
description: string;
|
|
92
92
|
};
|
|
@@ -101,7 +101,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
101
101
|
description: string;
|
|
102
102
|
};
|
|
103
103
|
suffixOptions: {
|
|
104
|
-
type: globalThis.PropType<import('../../..').
|
|
104
|
+
type: globalThis.PropType<import('../../..').ContextMenus[]>;
|
|
105
105
|
default: () => never[];
|
|
106
106
|
description: string;
|
|
107
107
|
};
|
|
@@ -127,10 +127,10 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
127
127
|
}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
128
128
|
modelValue: {
|
|
129
129
|
required: true;
|
|
130
|
-
type:
|
|
130
|
+
type: import('vue').PropType<any>;
|
|
131
131
|
};
|
|
132
|
-
prefixesValue:
|
|
133
|
-
suffixValue:
|
|
132
|
+
prefixesValue: import('vue').PropType<any>;
|
|
133
|
+
suffixValue: import('vue').PropType<any>;
|
|
134
134
|
type: {
|
|
135
135
|
type: StringConstructor;
|
|
136
136
|
default: string;
|
|
@@ -212,7 +212,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
212
212
|
description: string;
|
|
213
213
|
};
|
|
214
214
|
prefixesOptions: {
|
|
215
|
-
type: globalThis.PropType<import('../../..').
|
|
215
|
+
type: globalThis.PropType<import('../../..').ContextMenus[]>;
|
|
216
216
|
default: () => never[];
|
|
217
217
|
description: string;
|
|
218
218
|
};
|
|
@@ -227,7 +227,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
227
227
|
description: string;
|
|
228
228
|
};
|
|
229
229
|
suffixOptions: {
|
|
230
|
-
type: globalThis.PropType<import('../../..').
|
|
230
|
+
type: globalThis.PropType<import('../../..').ContextMenus[]>;
|
|
231
231
|
default: () => never[];
|
|
232
232
|
description: string;
|
|
233
233
|
};
|
|
@@ -265,10 +265,10 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
265
265
|
showCount: boolean;
|
|
266
266
|
renderCount: Function;
|
|
267
267
|
prefixes: import('../../..').InputPrefixesType;
|
|
268
|
-
prefixesOptions: import('../../..').
|
|
268
|
+
prefixesOptions: import('../../..').ContextMenus[];
|
|
269
269
|
prefixesTooltip: string;
|
|
270
270
|
suffix: import('../../..').InputSuffixType;
|
|
271
|
-
suffixOptions: import('../../..').
|
|
271
|
+
suffixOptions: import('../../..').ContextMenus[];
|
|
272
272
|
suffixTooltip: string;
|
|
273
273
|
okByEnter: boolean;
|
|
274
274
|
}, {}>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { SelectOptions } from '../../..';
|
|
2
1
|
import { ExtractPropTypes, PropType } from 'vue';
|
|
2
|
+
import { ContextMenus } from '../../..';
|
|
3
3
|
|
|
4
4
|
export type InputPrefixesType = 'icon' | 'select' | 'text';
|
|
5
5
|
export type InputSuffixType = 'icon' | 'select' | 'text';
|
|
@@ -102,7 +102,7 @@ export declare const inputProps: {
|
|
|
102
102
|
description: string;
|
|
103
103
|
};
|
|
104
104
|
prefixesOptions: {
|
|
105
|
-
type: PropType<
|
|
105
|
+
type: PropType<ContextMenus[]>;
|
|
106
106
|
default: () => never[];
|
|
107
107
|
description: string;
|
|
108
108
|
};
|
|
@@ -117,7 +117,7 @@ export declare const inputProps: {
|
|
|
117
117
|
description: string;
|
|
118
118
|
};
|
|
119
119
|
suffixOptions: {
|
|
120
|
-
type: PropType<
|
|
120
|
+
type: PropType<ContextMenus[]>;
|
|
121
121
|
default: () => never[];
|
|
122
122
|
description: string;
|
|
123
123
|
};
|
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{
|
|
2
|
+
modelValue: {
|
|
3
|
+
required: true;
|
|
4
|
+
type: import('vue').PropType<any>;
|
|
5
|
+
};
|
|
6
|
+
size: {
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
default: string;
|
|
9
|
+
description: string;
|
|
10
|
+
};
|
|
11
|
+
step: {
|
|
12
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
13
|
+
default: number;
|
|
14
|
+
description: string;
|
|
15
|
+
};
|
|
16
|
+
min: {
|
|
17
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
18
|
+
default: string;
|
|
19
|
+
description: string;
|
|
20
|
+
};
|
|
21
|
+
max: {
|
|
22
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
23
|
+
default: string;
|
|
24
|
+
description: string;
|
|
25
|
+
};
|
|
26
|
+
selectByFocus: {
|
|
27
|
+
type: BooleanConstructor;
|
|
28
|
+
default: boolean;
|
|
29
|
+
description: string;
|
|
30
|
+
};
|
|
31
|
+
align: {
|
|
32
|
+
type: StringConstructor;
|
|
33
|
+
default: string;
|
|
34
|
+
description: string;
|
|
35
|
+
};
|
|
36
|
+
disabled: {
|
|
37
|
+
type: BooleanConstructor;
|
|
38
|
+
default: boolean;
|
|
39
|
+
description: string;
|
|
40
|
+
};
|
|
41
|
+
clearable: {
|
|
42
|
+
type: BooleanConstructor;
|
|
43
|
+
default: boolean;
|
|
44
|
+
description: string;
|
|
45
|
+
};
|
|
46
|
+
placeholder: {
|
|
47
|
+
type: StringConstructor;
|
|
48
|
+
default: string;
|
|
49
|
+
description: string;
|
|
50
|
+
};
|
|
51
|
+
readonly: {
|
|
52
|
+
type: BooleanConstructor;
|
|
53
|
+
default: boolean;
|
|
54
|
+
description: string;
|
|
55
|
+
};
|
|
56
|
+
width: {
|
|
57
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
58
|
+
default: string;
|
|
59
|
+
description: string;
|
|
60
|
+
};
|
|
61
|
+
}, {
|
|
62
|
+
toFocus: () => void;
|
|
63
|
+
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
64
|
+
input: (...args: any[]) => void;
|
|
65
|
+
change: (...args: any[]) => void;
|
|
66
|
+
blur: (...args: any[]) => void;
|
|
67
|
+
clear: (...args: any[]) => void;
|
|
68
|
+
focus: (...args: any[]) => void;
|
|
69
|
+
ok: (...args: any[]) => void;
|
|
70
|
+
}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
71
|
+
modelValue: {
|
|
72
|
+
required: true;
|
|
73
|
+
type: import('vue').PropType<any>;
|
|
74
|
+
};
|
|
75
|
+
size: {
|
|
76
|
+
type: StringConstructor;
|
|
77
|
+
default: string;
|
|
78
|
+
description: string;
|
|
79
|
+
};
|
|
80
|
+
step: {
|
|
81
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
82
|
+
default: number;
|
|
83
|
+
description: string;
|
|
84
|
+
};
|
|
85
|
+
min: {
|
|
86
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
87
|
+
default: string;
|
|
88
|
+
description: string;
|
|
89
|
+
};
|
|
90
|
+
max: {
|
|
91
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
92
|
+
default: string;
|
|
93
|
+
description: string;
|
|
94
|
+
};
|
|
95
|
+
selectByFocus: {
|
|
96
|
+
type: BooleanConstructor;
|
|
97
|
+
default: boolean;
|
|
98
|
+
description: string;
|
|
99
|
+
};
|
|
100
|
+
align: {
|
|
101
|
+
type: StringConstructor;
|
|
102
|
+
default: string;
|
|
103
|
+
description: string;
|
|
104
|
+
};
|
|
105
|
+
disabled: {
|
|
106
|
+
type: BooleanConstructor;
|
|
107
|
+
default: boolean;
|
|
108
|
+
description: string;
|
|
109
|
+
};
|
|
110
|
+
clearable: {
|
|
111
|
+
type: BooleanConstructor;
|
|
112
|
+
default: boolean;
|
|
113
|
+
description: string;
|
|
114
|
+
};
|
|
115
|
+
placeholder: {
|
|
116
|
+
type: StringConstructor;
|
|
117
|
+
default: string;
|
|
118
|
+
description: string;
|
|
119
|
+
};
|
|
120
|
+
readonly: {
|
|
121
|
+
type: BooleanConstructor;
|
|
122
|
+
default: boolean;
|
|
123
|
+
description: string;
|
|
124
|
+
};
|
|
125
|
+
width: {
|
|
126
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
127
|
+
default: string;
|
|
128
|
+
description: string;
|
|
129
|
+
};
|
|
130
|
+
}>> & {
|
|
131
|
+
onFocus?: ((...args: any[]) => any) | undefined;
|
|
132
|
+
onBlur?: ((...args: any[]) => any) | undefined;
|
|
133
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
134
|
+
onInput?: ((...args: any[]) => any) | undefined;
|
|
135
|
+
onClear?: ((...args: any[]) => any) | undefined;
|
|
136
|
+
onOk?: ((...args: any[]) => any) | undefined;
|
|
137
|
+
}, {
|
|
138
|
+
width: string | number;
|
|
139
|
+
size: string;
|
|
140
|
+
placeholder: string;
|
|
141
|
+
clearable: boolean;
|
|
142
|
+
readonly: boolean;
|
|
143
|
+
disabled: boolean;
|
|
144
|
+
align: string;
|
|
145
|
+
selectByFocus: boolean;
|
|
146
|
+
step: string | number;
|
|
147
|
+
min: string | number;
|
|
148
|
+
max: string | number;
|
|
149
|
+
}, {}>;
|
|
150
|
+
export default _default;
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { ExtractPropTypes } from 'vue';
|
|
2
|
+
|
|
3
|
+
export declare const inputNumberModel: {
|
|
4
|
+
modelValue: {
|
|
5
|
+
type: (NumberConstructor | undefined)[];
|
|
6
|
+
default: string;
|
|
7
|
+
description: string;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
export declare const inputNumberProps: {
|
|
11
|
+
size: {
|
|
12
|
+
type: StringConstructor;
|
|
13
|
+
default: string;
|
|
14
|
+
description: string;
|
|
15
|
+
};
|
|
16
|
+
step: {
|
|
17
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
18
|
+
default: number;
|
|
19
|
+
description: string;
|
|
20
|
+
};
|
|
21
|
+
min: {
|
|
22
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
23
|
+
default: string;
|
|
24
|
+
description: string;
|
|
25
|
+
};
|
|
26
|
+
max: {
|
|
27
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
28
|
+
default: string;
|
|
29
|
+
description: string;
|
|
30
|
+
};
|
|
31
|
+
selectByFocus: {
|
|
32
|
+
type: BooleanConstructor;
|
|
33
|
+
default: boolean;
|
|
34
|
+
description: string;
|
|
35
|
+
};
|
|
36
|
+
align: {
|
|
37
|
+
type: StringConstructor;
|
|
38
|
+
default: string;
|
|
39
|
+
description: string;
|
|
40
|
+
};
|
|
41
|
+
disabled: {
|
|
42
|
+
type: BooleanConstructor;
|
|
43
|
+
default: boolean;
|
|
44
|
+
description: string;
|
|
45
|
+
};
|
|
46
|
+
clearable: {
|
|
47
|
+
type: BooleanConstructor;
|
|
48
|
+
default: boolean;
|
|
49
|
+
description: string;
|
|
50
|
+
};
|
|
51
|
+
placeholder: {
|
|
52
|
+
type: StringConstructor;
|
|
53
|
+
default: string;
|
|
54
|
+
description: string;
|
|
55
|
+
};
|
|
56
|
+
readonly: {
|
|
57
|
+
type: BooleanConstructor;
|
|
58
|
+
default: boolean;
|
|
59
|
+
description: string;
|
|
60
|
+
};
|
|
61
|
+
width: {
|
|
62
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
63
|
+
default: string;
|
|
64
|
+
description: string;
|
|
65
|
+
};
|
|
66
|
+
};
|
|
67
|
+
export type InputNumberProps = ExtractPropTypes<typeof inputNumberProps>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
declare const _default: import('vue').DefineComponent<{
|
|
2
|
-
modelValue:
|
|
2
|
+
modelValue: import('vue').PropType<any>;
|
|
3
3
|
size: {
|
|
4
4
|
type: StringConstructor;
|
|
5
5
|
default: string;
|
|
@@ -34,7 +34,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
34
34
|
change: (...args: any[]) => void;
|
|
35
35
|
close: (...args: any[]) => void;
|
|
36
36
|
}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
37
|
-
modelValue:
|
|
37
|
+
modelValue: import('vue').PropType<any>;
|
|
38
38
|
size: {
|
|
39
39
|
type: StringConstructor;
|
|
40
40
|
default: string;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
declare
|
|
1
|
+
declare function __VLS_template(): {
|
|
2
|
+
default?(_: {}): any;
|
|
3
|
+
};
|
|
4
|
+
declare const __VLS_component: import('vue').DefineComponent<{
|
|
2
5
|
color: {
|
|
3
6
|
type: globalThis.PropType<"gray" | "orange" | "green" | "red" | "blue" | "yellow" | "mint" | "teal" | "cyan" | "indigo" | "purple" | "pink" | "brown">;
|
|
4
7
|
default: string;
|
|
@@ -10,7 +13,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
10
13
|
default: boolean;
|
|
11
14
|
description: string;
|
|
12
15
|
};
|
|
13
|
-
|
|
16
|
+
cursor: {
|
|
14
17
|
type: StringConstructor;
|
|
15
18
|
default: string;
|
|
16
19
|
description: string;
|
|
@@ -20,7 +23,9 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
20
23
|
default: number;
|
|
21
24
|
description: string;
|
|
22
25
|
};
|
|
23
|
-
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
26
|
+
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
27
|
+
click: (...args: any[]) => void;
|
|
28
|
+
}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
24
29
|
color: {
|
|
25
30
|
type: globalThis.PropType<"gray" | "orange" | "green" | "red" | "blue" | "yellow" | "mint" | "teal" | "cyan" | "indigo" | "purple" | "pink" | "brown">;
|
|
26
31
|
default: string;
|
|
@@ -32,7 +37,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
32
37
|
default: boolean;
|
|
33
38
|
description: string;
|
|
34
39
|
};
|
|
35
|
-
|
|
40
|
+
cursor: {
|
|
36
41
|
type: StringConstructor;
|
|
37
42
|
default: string;
|
|
38
43
|
description: string;
|
|
@@ -42,14 +47,15 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
42
47
|
default: number;
|
|
43
48
|
description: string;
|
|
44
49
|
};
|
|
45
|
-
}
|
|
50
|
+
}>> & {
|
|
51
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
52
|
+
}, {
|
|
46
53
|
bold: number;
|
|
47
54
|
color: "gray" | "orange" | "green" | "red" | "blue" | "yellow" | "mint" | "teal" | "cyan" | "indigo" | "purple" | "pink" | "brown";
|
|
48
55
|
round: boolean;
|
|
49
|
-
|
|
50
|
-
}, {}
|
|
51
|
-
|
|
52
|
-
}>;
|
|
56
|
+
cursor: string;
|
|
57
|
+
}, {}>;
|
|
58
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
53
59
|
export default _default;
|
|
54
60
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
55
61
|
new (): {
|
|
@@ -1,5 +1,10 @@
|
|
|
1
|
-
declare
|
|
2
|
-
|
|
1
|
+
declare function __VLS_template(): {
|
|
2
|
+
header?(_: {}): any;
|
|
3
|
+
default?(_: {}): any;
|
|
4
|
+
footer?(_: {}): any;
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_component: import('vue').DefineComponent<{
|
|
7
|
+
visible: import('vue').PropType<any>;
|
|
3
8
|
title: {
|
|
4
9
|
type: StringConstructor;
|
|
5
10
|
default: string;
|
|
@@ -42,6 +47,16 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
42
47
|
};
|
|
43
48
|
description: string;
|
|
44
49
|
};
|
|
50
|
+
hideOkButton: {
|
|
51
|
+
type: BooleanConstructor;
|
|
52
|
+
default: boolean;
|
|
53
|
+
description: string;
|
|
54
|
+
};
|
|
55
|
+
hideCancelButton: {
|
|
56
|
+
type: BooleanConstructor;
|
|
57
|
+
default: boolean;
|
|
58
|
+
description: string;
|
|
59
|
+
};
|
|
45
60
|
closeOnClickOverlay: {
|
|
46
61
|
type: BooleanConstructor;
|
|
47
62
|
default: boolean;
|
|
@@ -53,7 +68,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
53
68
|
cancel: (...args: any[]) => void;
|
|
54
69
|
close: (...args: any[]) => void;
|
|
55
70
|
}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
56
|
-
visible:
|
|
71
|
+
visible: import('vue').PropType<any>;
|
|
57
72
|
title: {
|
|
58
73
|
type: StringConstructor;
|
|
59
74
|
default: string;
|
|
@@ -96,6 +111,16 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
96
111
|
};
|
|
97
112
|
description: string;
|
|
98
113
|
};
|
|
114
|
+
hideOkButton: {
|
|
115
|
+
type: BooleanConstructor;
|
|
116
|
+
default: boolean;
|
|
117
|
+
description: string;
|
|
118
|
+
};
|
|
119
|
+
hideCancelButton: {
|
|
120
|
+
type: BooleanConstructor;
|
|
121
|
+
default: boolean;
|
|
122
|
+
description: string;
|
|
123
|
+
};
|
|
99
124
|
closeOnClickOverlay: {
|
|
100
125
|
type: BooleanConstructor;
|
|
101
126
|
default: boolean;
|
|
@@ -114,34 +139,33 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
114
139
|
closeByEsc: boolean;
|
|
115
140
|
okProps: {
|
|
116
141
|
type: import('../../..').ButtonType;
|
|
142
|
+
icon: string;
|
|
117
143
|
text: string;
|
|
118
144
|
color: import('../../..').ButtonColor;
|
|
119
145
|
round: boolean;
|
|
120
146
|
size: import('../../..').ButtonSize;
|
|
121
147
|
disabled: boolean;
|
|
122
148
|
loading: boolean;
|
|
123
|
-
icon: string;
|
|
124
149
|
iconPosition: string;
|
|
125
150
|
request: Function;
|
|
126
151
|
};
|
|
127
152
|
cancelProps: {
|
|
128
153
|
type: import('../../..').ButtonType;
|
|
154
|
+
icon: string;
|
|
129
155
|
text: string;
|
|
130
156
|
color: import('../../..').ButtonColor;
|
|
131
157
|
round: boolean;
|
|
132
158
|
size: import('../../..').ButtonSize;
|
|
133
159
|
disabled: boolean;
|
|
134
160
|
loading: boolean;
|
|
135
|
-
icon: string;
|
|
136
161
|
iconPosition: string;
|
|
137
162
|
request: Function;
|
|
138
163
|
};
|
|
164
|
+
hideOkButton: boolean;
|
|
165
|
+
hideCancelButton: boolean;
|
|
139
166
|
closeOnClickOverlay: boolean;
|
|
140
|
-
}, {}
|
|
141
|
-
|
|
142
|
-
default?(_: {}): any;
|
|
143
|
-
footer?(_: {}): any;
|
|
144
|
-
}>;
|
|
167
|
+
}, {}>;
|
|
168
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
145
169
|
export default _default;
|
|
146
170
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
147
171
|
new (): {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ButtonProps } from '../../button/index';
|
|
2
1
|
import { ExtractPropTypes, PropType } from 'vue';
|
|
2
|
+
import { ButtonProps } from '../../button/index';
|
|
3
3
|
|
|
4
4
|
export declare const modalModel: {
|
|
5
5
|
visible: {
|
|
@@ -51,6 +51,16 @@ export declare const modalProps: {
|
|
|
51
51
|
};
|
|
52
52
|
description: string;
|
|
53
53
|
};
|
|
54
|
+
hideOkButton: {
|
|
55
|
+
type: BooleanConstructor;
|
|
56
|
+
default: boolean;
|
|
57
|
+
description: string;
|
|
58
|
+
};
|
|
59
|
+
hideCancelButton: {
|
|
60
|
+
type: BooleanConstructor;
|
|
61
|
+
default: boolean;
|
|
62
|
+
description: string;
|
|
63
|
+
};
|
|
54
64
|
closeOnClickOverlay: {
|
|
55
65
|
type: BooleanConstructor;
|
|
56
66
|
default: boolean;
|
|
@@ -1,8 +1,12 @@
|
|
|
1
|
-
declare
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
declare function __VLS_template(): {
|
|
2
|
+
left?(_: {}): any;
|
|
3
|
+
right?(_: {}): any;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_component: import('vue').DefineComponent<{
|
|
6
|
+
total: import('vue').PropType<any>;
|
|
7
|
+
currentPage: import('vue').PropType<any>;
|
|
8
|
+
pageSize: import('vue').PropType<any>;
|
|
9
|
+
pageSizeOptions: import('vue').PropType<any>;
|
|
6
10
|
visiblePagesCount: {
|
|
7
11
|
type: NumberConstructor;
|
|
8
12
|
default: number;
|
|
@@ -13,10 +17,10 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
13
17
|
"update:currentPage": (...args: any[]) => void;
|
|
14
18
|
"update:pageSize": (...args: any[]) => void;
|
|
15
19
|
}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
16
|
-
total:
|
|
17
|
-
currentPage:
|
|
18
|
-
pageSize:
|
|
19
|
-
pageSizeOptions:
|
|
20
|
+
total: import('vue').PropType<any>;
|
|
21
|
+
currentPage: import('vue').PropType<any>;
|
|
22
|
+
pageSize: import('vue').PropType<any>;
|
|
23
|
+
pageSizeOptions: import('vue').PropType<any>;
|
|
20
24
|
visiblePagesCount: {
|
|
21
25
|
type: NumberConstructor;
|
|
22
26
|
default: number;
|
|
@@ -28,10 +32,8 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
28
32
|
"onUpdate:pageSize"?: ((...args: any[]) => any) | undefined;
|
|
29
33
|
}, {
|
|
30
34
|
visiblePagesCount: number;
|
|
31
|
-
}, {}
|
|
32
|
-
|
|
33
|
-
right?(_: {}): any;
|
|
34
|
-
}>;
|
|
35
|
+
}, {}>;
|
|
36
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
35
37
|
export default _default;
|
|
36
38
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
37
39
|
new (): {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { SelectOptions } from '../../..';
|
|
2
1
|
import { PropType } from 'vue';
|
|
2
|
+
import { SelectOptions } from '../../..';
|
|
3
3
|
|
|
4
4
|
export type PaginationOptions = SelectOptions;
|
|
5
5
|
export declare const paginationModel: {
|
|
@@ -20,7 +20,7 @@ export declare const paginationModel: {
|
|
|
20
20
|
description: string;
|
|
21
21
|
};
|
|
22
22
|
pageSizeOptions: {
|
|
23
|
-
type: PropType<
|
|
23
|
+
type: PropType<PaginationOptions[]>;
|
|
24
24
|
default: {
|
|
25
25
|
label: string;
|
|
26
26
|
value: number;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
declare
|
|
1
|
+
declare function __VLS_template(): {
|
|
2
|
+
default?(_: {}): any;
|
|
3
|
+
};
|
|
4
|
+
declare const __VLS_component: import('vue').DefineComponent<{
|
|
2
5
|
type: {
|
|
3
6
|
type: StringConstructor;
|
|
4
7
|
default: string;
|
|
@@ -105,39 +108,38 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
105
108
|
onOk?: ((...args: any[]) => any) | undefined;
|
|
106
109
|
onCancel?: ((...args: any[]) => any) | undefined;
|
|
107
110
|
}, {
|
|
108
|
-
width: string | number;
|
|
109
111
|
type: string;
|
|
112
|
+
width: string | number;
|
|
110
113
|
title: string;
|
|
111
114
|
trigger: string;
|
|
112
115
|
placement: string;
|
|
113
116
|
content: string;
|
|
114
117
|
okProps: {
|
|
115
118
|
type: import('../../..').ButtonType;
|
|
119
|
+
icon: string;
|
|
116
120
|
text: string;
|
|
117
121
|
color: import('../../..').ButtonColor;
|
|
118
122
|
round: boolean;
|
|
119
123
|
size: import('../../..').ButtonSize;
|
|
120
124
|
disabled: boolean;
|
|
121
125
|
loading: boolean;
|
|
122
|
-
icon: string;
|
|
123
126
|
iconPosition: string;
|
|
124
127
|
request: Function;
|
|
125
128
|
};
|
|
126
129
|
cancelProps: {
|
|
127
130
|
type: import('../../..').ButtonType;
|
|
131
|
+
icon: string;
|
|
128
132
|
text: string;
|
|
129
133
|
color: import('../../..').ButtonColor;
|
|
130
134
|
round: boolean;
|
|
131
135
|
size: import('../../..').ButtonSize;
|
|
132
136
|
disabled: boolean;
|
|
133
137
|
loading: boolean;
|
|
134
|
-
icon: string;
|
|
135
138
|
iconPosition: string;
|
|
136
139
|
request: Function;
|
|
137
140
|
};
|
|
138
|
-
}, {}
|
|
139
|
-
|
|
140
|
-
}>;
|
|
141
|
+
}, {}>;
|
|
142
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
141
143
|
export default _default;
|
|
142
144
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
143
145
|
new (): {
|