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
|
@@ -8,13 +8,6 @@ export declare const datePickerModel: {
|
|
|
8
8
|
description: string;
|
|
9
9
|
};
|
|
10
10
|
};
|
|
11
|
-
export declare const dateRangePickerModel: {
|
|
12
|
-
modelValue: {
|
|
13
|
-
type: ObjectConstructor;
|
|
14
|
-
default: {};
|
|
15
|
-
description: string;
|
|
16
|
-
};
|
|
17
|
-
};
|
|
18
11
|
export declare const datePickerProps: {
|
|
19
12
|
size: {
|
|
20
13
|
type: PropType<DatePickerSize>;
|
|
@@ -46,70 +39,15 @@ export declare const datePickerProps: {
|
|
|
46
39
|
default: () => string;
|
|
47
40
|
description: string;
|
|
48
41
|
};
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
type: StringConstructor;
|
|
53
|
-
default: string;
|
|
54
|
-
description: string;
|
|
55
|
-
};
|
|
56
|
-
endKey: {
|
|
57
|
-
type: StringConstructor;
|
|
58
|
-
default: string;
|
|
59
|
-
description: string;
|
|
60
|
-
};
|
|
61
|
-
size: {
|
|
62
|
-
type: StringConstructor;
|
|
63
|
-
default: string;
|
|
64
|
-
description: string;
|
|
65
|
-
};
|
|
66
|
-
clearable: {
|
|
67
|
-
type: BooleanConstructor;
|
|
68
|
-
default: boolean;
|
|
69
|
-
description: string;
|
|
70
|
-
};
|
|
71
|
-
readonly: {
|
|
72
|
-
type: BooleanConstructor;
|
|
73
|
-
default: boolean;
|
|
74
|
-
description: string;
|
|
75
|
-
};
|
|
76
|
-
disabled: {
|
|
77
|
-
type: BooleanConstructor;
|
|
78
|
-
default: boolean;
|
|
79
|
-
description: string;
|
|
80
|
-
};
|
|
81
|
-
valueFormat: {
|
|
82
|
-
type: StringConstructor;
|
|
83
|
-
default: string;
|
|
84
|
-
description: string;
|
|
85
|
-
};
|
|
86
|
-
placeholderStart: {
|
|
87
|
-
type: StringConstructor;
|
|
88
|
-
default: () => string;
|
|
89
|
-
description: string;
|
|
90
|
-
};
|
|
91
|
-
placeholderEnd: {
|
|
92
|
-
type: StringConstructor;
|
|
93
|
-
default: () => string;
|
|
42
|
+
presets: {
|
|
43
|
+
type: PropType<DatePickerPresetsOptions[]>;
|
|
44
|
+
default: () => never[];
|
|
94
45
|
description: string;
|
|
95
46
|
};
|
|
96
47
|
};
|
|
97
|
-
export
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
default: string;
|
|
101
|
-
description: string;
|
|
102
|
-
};
|
|
103
|
-
endKey: {
|
|
104
|
-
type: StringConstructor;
|
|
105
|
-
default: string;
|
|
106
|
-
description: string;
|
|
107
|
-
};
|
|
108
|
-
valueFormat: {
|
|
109
|
-
type: StringConstructor;
|
|
110
|
-
default: string;
|
|
111
|
-
description: string;
|
|
112
|
-
};
|
|
48
|
+
export type DatePickerPresetsOptions = {
|
|
49
|
+
label: string;
|
|
50
|
+
value: string;
|
|
113
51
|
};
|
|
114
52
|
export declare const dateProps: {
|
|
115
53
|
valueFormat: {
|
|
@@ -119,4 +57,3 @@ export declare const dateProps: {
|
|
|
119
57
|
};
|
|
120
58
|
};
|
|
121
59
|
export type DatePickerProps = ExtractPropTypes<typeof datePickerProps>;
|
|
122
|
-
export type DateRangePickerProps = ExtractPropTypes<typeof dateRangePickerProps>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
declare const _default: import('vue').DefineComponent<{
|
|
2
|
-
modelValue:
|
|
2
|
+
modelValue: import('vue').PropType<any>;
|
|
3
3
|
startKey: {
|
|
4
4
|
type: StringConstructor;
|
|
5
5
|
default: string;
|
|
@@ -20,7 +20,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
20
20
|
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
21
21
|
change: (...args: any[]) => void;
|
|
22
22
|
}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
23
|
-
modelValue:
|
|
23
|
+
modelValue: import('vue').PropType<any>;
|
|
24
24
|
startKey: {
|
|
25
25
|
type: StringConstructor;
|
|
26
26
|
default: string;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
+
import { DatePickerSize } from '../../..';
|
|
2
|
+
|
|
1
3
|
declare const _default: import('vue').DefineComponent<{
|
|
2
|
-
modelValue:
|
|
4
|
+
modelValue: import('vue').PropType<any>;
|
|
3
5
|
startKey: {
|
|
4
6
|
type: StringConstructor;
|
|
5
7
|
default: string;
|
|
@@ -11,7 +13,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
11
13
|
description: string;
|
|
12
14
|
};
|
|
13
15
|
size: {
|
|
14
|
-
type:
|
|
16
|
+
type: globalThis.PropType<DatePickerSize>;
|
|
15
17
|
default: string;
|
|
16
18
|
description: string;
|
|
17
19
|
};
|
|
@@ -52,7 +54,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
52
54
|
change: (...args: any[]) => void;
|
|
53
55
|
clear: (...args: any[]) => void;
|
|
54
56
|
}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
55
|
-
modelValue:
|
|
57
|
+
modelValue: import('vue').PropType<any>;
|
|
56
58
|
startKey: {
|
|
57
59
|
type: StringConstructor;
|
|
58
60
|
default: string;
|
|
@@ -64,7 +66,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
64
66
|
description: string;
|
|
65
67
|
};
|
|
66
68
|
size: {
|
|
67
|
-
type:
|
|
69
|
+
type: globalThis.PropType<DatePickerSize>;
|
|
68
70
|
default: string;
|
|
69
71
|
description: string;
|
|
70
72
|
};
|
|
@@ -102,7 +104,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
102
104
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
103
105
|
onClear?: ((...args: any[]) => any) | undefined;
|
|
104
106
|
}, {
|
|
105
|
-
size:
|
|
107
|
+
size: DatePickerSize;
|
|
106
108
|
clearable: boolean;
|
|
107
109
|
readonly: boolean;
|
|
108
110
|
disabled: boolean;
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { ExtractPropTypes, PropType } from 'vue';
|
|
2
|
+
import { DatePickerSize } from '../../date-picker/src/props';
|
|
3
|
+
|
|
4
|
+
export declare const dateRangePickerModel: {
|
|
5
|
+
modelValue: {
|
|
6
|
+
type: ObjectConstructor;
|
|
7
|
+
default: {};
|
|
8
|
+
description: string;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
export declare const dateRangePickerProps: {
|
|
12
|
+
startKey: {
|
|
13
|
+
type: StringConstructor;
|
|
14
|
+
default: string;
|
|
15
|
+
description: string;
|
|
16
|
+
};
|
|
17
|
+
endKey: {
|
|
18
|
+
type: StringConstructor;
|
|
19
|
+
default: string;
|
|
20
|
+
description: string;
|
|
21
|
+
};
|
|
22
|
+
size: {
|
|
23
|
+
type: PropType<DatePickerSize>;
|
|
24
|
+
default: string;
|
|
25
|
+
description: string;
|
|
26
|
+
};
|
|
27
|
+
clearable: {
|
|
28
|
+
type: BooleanConstructor;
|
|
29
|
+
default: boolean;
|
|
30
|
+
description: string;
|
|
31
|
+
};
|
|
32
|
+
readonly: {
|
|
33
|
+
type: BooleanConstructor;
|
|
34
|
+
default: boolean;
|
|
35
|
+
description: string;
|
|
36
|
+
};
|
|
37
|
+
disabled: {
|
|
38
|
+
type: BooleanConstructor;
|
|
39
|
+
default: boolean;
|
|
40
|
+
description: string;
|
|
41
|
+
};
|
|
42
|
+
valueFormat: {
|
|
43
|
+
type: StringConstructor;
|
|
44
|
+
default: string;
|
|
45
|
+
description: string;
|
|
46
|
+
};
|
|
47
|
+
placeholderStart: {
|
|
48
|
+
type: StringConstructor;
|
|
49
|
+
default: () => string;
|
|
50
|
+
description: string;
|
|
51
|
+
};
|
|
52
|
+
placeholderEnd: {
|
|
53
|
+
type: StringConstructor;
|
|
54
|
+
default: () => string;
|
|
55
|
+
description: string;
|
|
56
|
+
};
|
|
57
|
+
};
|
|
58
|
+
export declare const dateRangeProps: {
|
|
59
|
+
startKey: {
|
|
60
|
+
type: StringConstructor;
|
|
61
|
+
default: string;
|
|
62
|
+
description: string;
|
|
63
|
+
};
|
|
64
|
+
endKey: {
|
|
65
|
+
type: StringConstructor;
|
|
66
|
+
default: string;
|
|
67
|
+
description: string;
|
|
68
|
+
};
|
|
69
|
+
valueFormat: {
|
|
70
|
+
type: StringConstructor;
|
|
71
|
+
default: string;
|
|
72
|
+
description: string;
|
|
73
|
+
};
|
|
74
|
+
};
|
|
75
|
+
export type DateRangePickerProps = ExtractPropTypes<typeof dateRangePickerProps>;
|
|
@@ -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;
|
|
@@ -31,7 +36,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
31
36
|
description: string;
|
|
32
37
|
};
|
|
33
38
|
okProps: {
|
|
34
|
-
type:
|
|
39
|
+
type: PropType<import('../..').ButtonProps>;
|
|
35
40
|
default: () => {
|
|
36
41
|
text: string;
|
|
37
42
|
color: string;
|
|
@@ -39,7 +44,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
39
44
|
description: string;
|
|
40
45
|
};
|
|
41
46
|
cancelProps: {
|
|
42
|
-
type:
|
|
47
|
+
type: PropType<import('../..').ButtonProps>;
|
|
43
48
|
default: () => {
|
|
44
49
|
type: string;
|
|
45
50
|
text: string;
|
|
@@ -56,7 +61,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
56
61
|
ok: (...args: any[]) => void;
|
|
57
62
|
cancel: (...args: any[]) => void;
|
|
58
63
|
}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
59
|
-
visible:
|
|
64
|
+
visible: import('vue').PropType<any>;
|
|
60
65
|
title: {
|
|
61
66
|
type: StringConstructor;
|
|
62
67
|
default: string;
|
|
@@ -88,7 +93,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
88
93
|
description: string;
|
|
89
94
|
};
|
|
90
95
|
okProps: {
|
|
91
|
-
type:
|
|
96
|
+
type: PropType<import('../..').ButtonProps>;
|
|
92
97
|
default: () => {
|
|
93
98
|
text: string;
|
|
94
99
|
color: string;
|
|
@@ -96,7 +101,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
96
101
|
description: string;
|
|
97
102
|
};
|
|
98
103
|
cancelProps: {
|
|
99
|
-
type:
|
|
104
|
+
type: PropType<import('../..').ButtonProps>;
|
|
100
105
|
default: () => {
|
|
101
106
|
type: string;
|
|
102
107
|
text: string;
|
|
@@ -120,35 +125,32 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
120
125
|
closeByEsc: boolean;
|
|
121
126
|
okProps: {
|
|
122
127
|
type: import('../..').ButtonType;
|
|
128
|
+
icon: string;
|
|
123
129
|
text: string;
|
|
124
130
|
color: import('../..').ButtonColor;
|
|
125
131
|
round: boolean;
|
|
126
132
|
size: import('../..').ButtonSize;
|
|
127
133
|
disabled: boolean;
|
|
128
134
|
loading: boolean;
|
|
129
|
-
icon: string;
|
|
130
135
|
iconPosition: string;
|
|
131
136
|
request: Function;
|
|
132
137
|
};
|
|
133
138
|
cancelProps: {
|
|
134
139
|
type: import('../..').ButtonType;
|
|
140
|
+
icon: string;
|
|
135
141
|
text: string;
|
|
136
142
|
color: import('../..').ButtonColor;
|
|
137
143
|
round: boolean;
|
|
138
144
|
size: import('../..').ButtonSize;
|
|
139
145
|
disabled: boolean;
|
|
140
146
|
loading: boolean;
|
|
141
|
-
icon: string;
|
|
142
147
|
iconPosition: string;
|
|
143
148
|
request: Function;
|
|
144
149
|
};
|
|
145
150
|
closeOnClickOverlay: boolean;
|
|
146
151
|
position: string;
|
|
147
|
-
}, {}
|
|
148
|
-
|
|
149
|
-
default?(_: {}): any;
|
|
150
|
-
footer?(_: {}): any;
|
|
151
|
-
}>;
|
|
152
|
+
}, {}>;
|
|
153
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
152
154
|
export default _default;
|
|
153
155
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
154
156
|
new (): {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ButtonProps } from '../../button/index';
|
|
2
1
|
import { ExtractPropTypes } from 'vue';
|
|
2
|
+
import { ButtonProps } from '../../button/index';
|
|
3
3
|
|
|
4
4
|
export declare const drawerModel: {
|
|
5
5
|
visible: {
|
|
@@ -40,7 +40,7 @@ export declare const drawerProps: {
|
|
|
40
40
|
description: string;
|
|
41
41
|
};
|
|
42
42
|
okProps: {
|
|
43
|
-
type:
|
|
43
|
+
type: PropType<ButtonProps>;
|
|
44
44
|
default: () => {
|
|
45
45
|
text: string;
|
|
46
46
|
color: string;
|
|
@@ -48,7 +48,7 @@ export declare const drawerProps: {
|
|
|
48
48
|
description: string;
|
|
49
49
|
};
|
|
50
50
|
cancelProps: {
|
|
51
|
-
type:
|
|
51
|
+
type: PropType<ButtonProps>;
|
|
52
52
|
default: () => {
|
|
53
53
|
type: string;
|
|
54
54
|
text: string;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
declare function __VLS_template(): {
|
|
2
|
+
default?(_: {}): any;
|
|
3
|
+
};
|
|
4
|
+
declare const __VLS_component: import('vue').DefineComponent<{
|
|
4
5
|
options: {
|
|
5
|
-
type: globalThis.PropType<
|
|
6
|
+
type: globalThis.PropType<import('../../..').ContextMenus[]>;
|
|
6
7
|
default: never[];
|
|
7
8
|
description: string;
|
|
8
9
|
};
|
|
@@ -16,21 +17,6 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
16
17
|
default: string;
|
|
17
18
|
description: string;
|
|
18
19
|
};
|
|
19
|
-
width: {
|
|
20
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
21
|
-
default: string;
|
|
22
|
-
description: string;
|
|
23
|
-
};
|
|
24
|
-
maxHeight: {
|
|
25
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
26
|
-
default: string;
|
|
27
|
-
description: string;
|
|
28
|
-
};
|
|
29
|
-
align: {
|
|
30
|
-
type: StringConstructor;
|
|
31
|
-
default: string;
|
|
32
|
-
description: string;
|
|
33
|
-
};
|
|
34
20
|
}, {
|
|
35
21
|
show: () => void;
|
|
36
22
|
hide: () => void;
|
|
@@ -38,7 +24,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
38
24
|
change: (...args: any[]) => void;
|
|
39
25
|
}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
40
26
|
options: {
|
|
41
|
-
type: globalThis.PropType<
|
|
27
|
+
type: globalThis.PropType<import('../../..').ContextMenus[]>;
|
|
42
28
|
default: never[];
|
|
43
29
|
description: string;
|
|
44
30
|
};
|
|
@@ -52,33 +38,14 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
52
38
|
default: string;
|
|
53
39
|
description: string;
|
|
54
40
|
};
|
|
55
|
-
width: {
|
|
56
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
57
|
-
default: string;
|
|
58
|
-
description: string;
|
|
59
|
-
};
|
|
60
|
-
maxHeight: {
|
|
61
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
62
|
-
default: string;
|
|
63
|
-
description: string;
|
|
64
|
-
};
|
|
65
|
-
align: {
|
|
66
|
-
type: StringConstructor;
|
|
67
|
-
default: string;
|
|
68
|
-
description: string;
|
|
69
|
-
};
|
|
70
41
|
}>> & {
|
|
71
42
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
72
43
|
}, {
|
|
73
|
-
|
|
74
|
-
options: DropdownOptions[];
|
|
44
|
+
options: import('../../..').ContextMenus[];
|
|
75
45
|
trigger: string;
|
|
76
46
|
placement: string;
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
}, {}>, {
|
|
80
|
-
default?(_: {}): any;
|
|
81
|
-
}>;
|
|
47
|
+
}, {}>;
|
|
48
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
82
49
|
export default _default;
|
|
83
50
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
84
51
|
new (): {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { PropType, ExtractPropTypes } from 'vue';
|
|
2
|
+
import { ContextMenus } from '../../..';
|
|
2
3
|
|
|
3
4
|
export type DropdownOptions = {
|
|
4
5
|
label: number | string;
|
|
@@ -6,7 +7,7 @@ export type DropdownOptions = {
|
|
|
6
7
|
};
|
|
7
8
|
export declare const dropdownProps: {
|
|
8
9
|
options: {
|
|
9
|
-
type: PropType<
|
|
10
|
+
type: PropType<ContextMenus[]>;
|
|
10
11
|
default: never[];
|
|
11
12
|
description: string;
|
|
12
13
|
};
|
|
@@ -20,20 +21,5 @@ export declare const dropdownProps: {
|
|
|
20
21
|
default: string;
|
|
21
22
|
description: string;
|
|
22
23
|
};
|
|
23
|
-
width: {
|
|
24
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
25
|
-
default: string;
|
|
26
|
-
description: string;
|
|
27
|
-
};
|
|
28
|
-
maxHeight: {
|
|
29
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
30
|
-
default: string;
|
|
31
|
-
description: string;
|
|
32
|
-
};
|
|
33
|
-
align: {
|
|
34
|
-
type: StringConstructor;
|
|
35
|
-
default: string;
|
|
36
|
-
description: string;
|
|
37
|
-
};
|
|
38
24
|
};
|
|
39
25
|
export type DropdownProps = ExtractPropTypes<typeof dropdownProps>;
|
|
@@ -10,6 +10,16 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
10
10
|
default: string;
|
|
11
11
|
description: string;
|
|
12
12
|
};
|
|
13
|
+
fontSize: {
|
|
14
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
15
|
+
default: string;
|
|
16
|
+
description: string;
|
|
17
|
+
};
|
|
18
|
+
padding: {
|
|
19
|
+
type: StringConstructor;
|
|
20
|
+
default: string;
|
|
21
|
+
description: string;
|
|
22
|
+
};
|
|
13
23
|
width: {
|
|
14
24
|
type: StringConstructor;
|
|
15
25
|
default: string;
|
|
@@ -32,6 +42,16 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
32
42
|
default: string;
|
|
33
43
|
description: string;
|
|
34
44
|
};
|
|
45
|
+
fontSize: {
|
|
46
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
47
|
+
default: string;
|
|
48
|
+
description: string;
|
|
49
|
+
};
|
|
50
|
+
padding: {
|
|
51
|
+
type: StringConstructor;
|
|
52
|
+
default: string;
|
|
53
|
+
description: string;
|
|
54
|
+
};
|
|
35
55
|
width: {
|
|
36
56
|
type: StringConstructor;
|
|
37
57
|
default: string;
|
|
@@ -43,9 +63,11 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
43
63
|
description: string;
|
|
44
64
|
};
|
|
45
65
|
}>>, {
|
|
46
|
-
width: string;
|
|
47
66
|
type: "search" | "address" | "article" | "404" | "goods" | "likes" | "car" | "comments" | "network" | "order";
|
|
67
|
+
width: string;
|
|
48
68
|
title: string;
|
|
49
69
|
height: string;
|
|
70
|
+
fontSize: string | number;
|
|
71
|
+
padding: string;
|
|
50
72
|
}, {}>;
|
|
51
73
|
export default _default;
|
|
@@ -13,6 +13,16 @@ export declare const emptyProps: {
|
|
|
13
13
|
default: string;
|
|
14
14
|
description: string;
|
|
15
15
|
};
|
|
16
|
+
fontSize: {
|
|
17
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
18
|
+
default: string;
|
|
19
|
+
description: string;
|
|
20
|
+
};
|
|
21
|
+
padding: {
|
|
22
|
+
type: StringConstructor;
|
|
23
|
+
default: string;
|
|
24
|
+
description: string;
|
|
25
|
+
};
|
|
16
26
|
width: {
|
|
17
27
|
type: StringConstructor;
|
|
18
28
|
default: string;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
declare function __VLS_template(): {
|
|
2
|
+
default?(_: {}): any;
|
|
3
|
+
};
|
|
4
|
+
declare const __VLS_component: import('vue').DefineComponent<{
|
|
5
|
+
modelValue: import('vue').PropType<any>;
|
|
6
|
+
collapseHeight: {
|
|
7
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
8
|
+
default: string;
|
|
9
|
+
description: string;
|
|
10
|
+
};
|
|
11
|
+
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
12
|
+
modelValue: import('vue').PropType<any>;
|
|
13
|
+
collapseHeight: {
|
|
14
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
15
|
+
default: string;
|
|
16
|
+
description: string;
|
|
17
|
+
};
|
|
18
|
+
}>>, {
|
|
19
|
+
collapseHeight: string | number;
|
|
20
|
+
}, {}>;
|
|
21
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
22
|
+
export default _default;
|
|
23
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
24
|
+
new (): {
|
|
25
|
+
$slots: S;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ExtractPropTypes } from 'vue';
|
|
2
|
+
|
|
3
|
+
export declare const expandProps: {
|
|
4
|
+
collapseHeight: {
|
|
5
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
6
|
+
default: string;
|
|
7
|
+
description: string;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
export type ExpandProps = ExtractPropTypes<typeof expandProps>;
|
|
@@ -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
|
direction: {
|
|
3
6
|
type: StringConstructor;
|
|
4
7
|
default: string;
|
|
@@ -84,9 +87,8 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
84
87
|
mode: string;
|
|
85
88
|
gap: string | number;
|
|
86
89
|
width: string | number;
|
|
87
|
-
}, {}
|
|
88
|
-
|
|
89
|
-
}>;
|
|
90
|
+
}, {}>;
|
|
91
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
90
92
|
export default _default;
|
|
91
93
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
92
94
|
new (): {
|