lew-ui 2.7.71 → 2.7.77
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/_components/CloseButton.vue.d.ts +20 -0
- package/dist/_components/CloseIcon.vue.d.ts +18 -0
- package/dist/_components/CommonInput.vue.d.ts +12 -49
- package/dist/auto-imports.d.ts +86 -0
- package/dist/components/data/collapse/index.d.ts +1 -0
- package/dist/components/data/collapse/src/model.d.ts +14 -0
- package/dist/components/data/collapse/src/props.d.ts +0 -11
- package/dist/components/data/expand/src/LewExpand.vue.d.ts +8 -2
- package/dist/components/data/pagination/index.d.ts +1 -0
- package/dist/components/data/pagination/src/model.d.ts +16 -0
- package/dist/components/data/pagination/src/props.d.ts +0 -18
- package/dist/components/data/table/src/LewTable.vue.d.ts +11 -2
- package/dist/components/data/table/src/props.d.ts +5 -0
- package/dist/components/feedback/alert/src/LewAlert.vue.d.ts +2 -6
- package/dist/components/feedback/alert/src/emits.d.ts +1 -3
- package/dist/components/feedback/drawer/index.d.ts +1 -0
- package/dist/components/feedback/drawer/src/LewDrawer.vue.d.ts +10 -11
- package/dist/components/feedback/drawer/src/model.d.ts +8 -0
- package/dist/components/feedback/drawer/src/props.d.ts +5 -7
- package/dist/components/feedback/modal/index.d.ts +1 -0
- package/dist/components/feedback/modal/src/LewModal.vue.d.ts +5 -5
- package/dist/components/feedback/modal/src/model.d.ts +8 -0
- package/dist/components/feedback/modal/src/props.d.ts +5 -6
- package/dist/components/form/cascader/src/LewCascader.vue.d.ts +100 -100
- package/dist/components/form/cascader/src/emits.d.ts +4 -3
- package/dist/components/form/cascader/src/model.d.ts +2 -1
- package/dist/components/form/cascader/src/props.d.ts +80 -80
- package/dist/components/form/checkbox/src/LewCheckbox.vue.d.ts +54 -54
- package/dist/components/form/checkbox/src/LewCheckboxGroup.vue.d.ts +52 -52
- package/dist/components/form/checkbox/src/props.d.ts +83 -83
- package/dist/components/form/color-picker/src/LewColorPicker.vue.d.ts +32 -32
- package/dist/components/form/color-picker/src/props.d.ts +21 -21
- package/dist/components/form/date-picker/src/LewDatePicker.vue.d.ts +4 -4
- package/dist/components/form/input/src/LewInput.vue.d.ts +4 -35
- package/dist/components/form/input/src/props.d.ts +0 -17
- package/dist/components/form/input-number/src/LewInputNumber.vue.d.ts +6 -10
- package/dist/components/form/input-number/src/emits.d.ts +1 -1
- package/dist/components/form/input-number/src/props.d.ts +0 -4
- package/dist/components/form/input-tag/src/LewInputTag.vue.d.ts +4 -53
- package/dist/components/form/input-tag/src/props.d.ts +0 -5
- package/dist/components/form/select/src/LewSelect.vue.d.ts +33 -88
- package/dist/components/form/tree-select/src/LewTreeSelect.vue.d.ts +12 -88
- package/dist/components/general/tag/src/LewTag.vue.d.ts +47 -8
- package/dist/components/general/tag/src/emits.d.ts +3 -0
- package/dist/components/general/tag/src/props.d.ts +9 -0
- package/dist/components/general/text-trim/index.d.ts +7 -2
- package/dist/components/general/text-trim/src/emits.d.ts +2 -0
- package/dist/components/general/text-trim/src/text-trim.d.ts +1 -1
- package/dist/components/navigation/action-box/index.d.ts +7 -3
- package/dist/components/navigation/action-box/src/LewActionBox.vue.d.ts +6 -2
- package/dist/components/navigation/action-box/src/emits.d.ts +1 -0
- package/dist/components/navigation/back-top/index.d.ts +7 -2
- package/dist/components/navigation/back-top/src/emits.d.ts +2 -0
- package/dist/components/navigation/breadcrumb/index.d.ts +7 -3
- package/dist/components/navigation/breadcrumb/src/LewBreadcrumb.vue.d.ts +2 -2
- package/dist/components/navigation/breadcrumb/src/emits.d.ts +3 -1
- package/dist/components/navigation/dropdown/index.d.ts +8 -3
- package/dist/components/navigation/dropdown/src/emits.d.ts +1 -0
- package/dist/components/navigation/dropdown/src/model.d.ts +8 -0
- package/dist/components/navigation/dropdown/src/props.d.ts +0 -6
- package/dist/components/navigation/menu/index.d.ts +8 -3
- package/dist/components/navigation/menu/src/LewMenu.vue.d.ts +4 -4
- package/dist/components/navigation/menu/src/emits.d.ts +1 -0
- package/dist/components/navigation/menu/src/model.d.ts +7 -0
- package/dist/components/navigation/menu/src/props.d.ts +0 -5
- package/dist/components/navigation/menu-tree/index.d.ts +9 -4
- package/dist/components/navigation/menu-tree/src/emits.d.ts +1 -0
- package/dist/components/navigation/menu-tree/src/model.d.ts +16 -0
- package/dist/components/navigation/menu-tree/src/props.d.ts +0 -13
- package/dist/components/navigation/steps/index.d.ts +8 -3
- package/dist/components/navigation/steps/src/LewSteps.vue.d.ts +10 -6
- package/dist/components/navigation/steps/src/emits.d.ts +1 -0
- package/dist/components/navigation/steps/src/model.d.ts +7 -0
- package/dist/components/navigation/steps/src/props.d.ts +3 -6
- package/dist/directives/context-menu/src/LewContextMenu.vue.d.ts +2 -2
- package/dist/directives/context-menu/src/emits.d.ts +3 -1
- package/dist/env.d.ts +37 -0
- package/dist/global.d.ts +13 -0
- package/dist/hooks/index.d.ts +3 -1
- package/dist/hooks/usePopupManager.d.ts +98 -0
- package/dist/index.css +1 -1
- package/dist/index.js +3108 -2415
- package/dist/index.umd.cjs +1 -1
- package/dist/methods/dialog/src/LewDialog.vue.d.ts +1 -1
- package/dist/methods/notification/src/NotificationContainer.vue.d.ts +6 -0
- package/dist/methods/notification/src/index.d.ts +4 -0
- package/package.json +4 -2
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
declare const _default: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
|
|
2
2
|
label: {
|
|
3
|
-
type: StringConstructor;
|
|
4
|
-
validator: (value: any) => boolean;
|
|
3
|
+
readonly type: StringConstructor;
|
|
4
|
+
readonly validator: (value: any) => boolean;
|
|
5
5
|
};
|
|
6
6
|
disabled: {
|
|
7
|
-
type: BooleanConstructor;
|
|
8
|
-
default:
|
|
9
|
-
validator: (value: any) => boolean;
|
|
7
|
+
readonly type: BooleanConstructor;
|
|
8
|
+
readonly default: false;
|
|
9
|
+
readonly validator: (value: any) => boolean;
|
|
10
10
|
};
|
|
11
11
|
readonly: {
|
|
12
|
-
type: BooleanConstructor;
|
|
13
|
-
default:
|
|
14
|
-
validator: (value: any) => boolean;
|
|
12
|
+
readonly type: BooleanConstructor;
|
|
13
|
+
readonly default: false;
|
|
14
|
+
readonly validator: (value: any) => boolean;
|
|
15
15
|
};
|
|
16
16
|
checked: {
|
|
17
|
-
type: BooleanConstructor;
|
|
18
|
-
default:
|
|
19
|
-
validator: (value: any) => boolean;
|
|
17
|
+
readonly type: BooleanConstructor;
|
|
18
|
+
readonly default: false;
|
|
19
|
+
readonly validator: (value: any) => boolean;
|
|
20
20
|
};
|
|
21
21
|
size: {
|
|
22
|
-
type: PropType<import('../../../..').LewSize>;
|
|
23
|
-
default:
|
|
24
|
-
typeValues: import('../../../..').LewSize[];
|
|
25
|
-
validator: (value: any) => boolean;
|
|
22
|
+
readonly type: PropType<import('../../../..').LewSize>;
|
|
23
|
+
readonly default: "medium";
|
|
24
|
+
readonly typeValues: import('../../../..').LewSize[];
|
|
25
|
+
readonly validator: (value: any) => boolean;
|
|
26
26
|
};
|
|
27
27
|
block: {
|
|
28
|
-
type: BooleanConstructor;
|
|
29
|
-
default:
|
|
30
|
-
validator: (value: any) => boolean;
|
|
28
|
+
readonly type: BooleanConstructor;
|
|
29
|
+
readonly default: false;
|
|
30
|
+
readonly validator: (value: any) => boolean;
|
|
31
31
|
};
|
|
32
32
|
round: {
|
|
33
|
-
type: BooleanConstructor;
|
|
34
|
-
default:
|
|
35
|
-
validator: (value: any) => boolean;
|
|
33
|
+
readonly type: BooleanConstructor;
|
|
34
|
+
readonly default: false;
|
|
35
|
+
readonly validator: (value: any) => boolean;
|
|
36
36
|
};
|
|
37
37
|
iconable: {
|
|
38
|
-
type: BooleanConstructor;
|
|
39
|
-
default:
|
|
40
|
-
validator: (value: any) => boolean;
|
|
38
|
+
readonly type: BooleanConstructor;
|
|
39
|
+
readonly default: true;
|
|
40
|
+
readonly validator: (value: any) => boolean;
|
|
41
41
|
};
|
|
42
42
|
certain: {
|
|
43
|
-
type: BooleanConstructor;
|
|
44
|
-
default:
|
|
45
|
-
validator: (value: any) => boolean;
|
|
43
|
+
readonly type: BooleanConstructor;
|
|
44
|
+
readonly default: false;
|
|
45
|
+
readonly validator: (value: any) => boolean;
|
|
46
46
|
};
|
|
47
47
|
modelValue: {
|
|
48
48
|
type: globalThis.PropType<boolean>;
|
|
@@ -52,49 +52,49 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
52
52
|
"update:modelValue": (value: boolean) => void;
|
|
53
53
|
}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
54
54
|
label: {
|
|
55
|
-
type: StringConstructor;
|
|
56
|
-
validator: (value: any) => boolean;
|
|
55
|
+
readonly type: StringConstructor;
|
|
56
|
+
readonly validator: (value: any) => boolean;
|
|
57
57
|
};
|
|
58
58
|
disabled: {
|
|
59
|
-
type: BooleanConstructor;
|
|
60
|
-
default:
|
|
61
|
-
validator: (value: any) => boolean;
|
|
59
|
+
readonly type: BooleanConstructor;
|
|
60
|
+
readonly default: false;
|
|
61
|
+
readonly validator: (value: any) => boolean;
|
|
62
62
|
};
|
|
63
63
|
readonly: {
|
|
64
|
-
type: BooleanConstructor;
|
|
65
|
-
default:
|
|
66
|
-
validator: (value: any) => boolean;
|
|
64
|
+
readonly type: BooleanConstructor;
|
|
65
|
+
readonly default: false;
|
|
66
|
+
readonly validator: (value: any) => boolean;
|
|
67
67
|
};
|
|
68
68
|
checked: {
|
|
69
|
-
type: BooleanConstructor;
|
|
70
|
-
default:
|
|
71
|
-
validator: (value: any) => boolean;
|
|
69
|
+
readonly type: BooleanConstructor;
|
|
70
|
+
readonly default: false;
|
|
71
|
+
readonly validator: (value: any) => boolean;
|
|
72
72
|
};
|
|
73
73
|
size: {
|
|
74
|
-
type: PropType<import('../../../..').LewSize>;
|
|
75
|
-
default:
|
|
76
|
-
typeValues: import('../../../..').LewSize[];
|
|
77
|
-
validator: (value: any) => boolean;
|
|
74
|
+
readonly type: PropType<import('../../../..').LewSize>;
|
|
75
|
+
readonly default: "medium";
|
|
76
|
+
readonly typeValues: import('../../../..').LewSize[];
|
|
77
|
+
readonly validator: (value: any) => boolean;
|
|
78
78
|
};
|
|
79
79
|
block: {
|
|
80
|
-
type: BooleanConstructor;
|
|
81
|
-
default:
|
|
82
|
-
validator: (value: any) => boolean;
|
|
80
|
+
readonly type: BooleanConstructor;
|
|
81
|
+
readonly default: false;
|
|
82
|
+
readonly validator: (value: any) => boolean;
|
|
83
83
|
};
|
|
84
84
|
round: {
|
|
85
|
-
type: BooleanConstructor;
|
|
86
|
-
default:
|
|
87
|
-
validator: (value: any) => boolean;
|
|
85
|
+
readonly type: BooleanConstructor;
|
|
86
|
+
readonly default: false;
|
|
87
|
+
readonly validator: (value: any) => boolean;
|
|
88
88
|
};
|
|
89
89
|
iconable: {
|
|
90
|
-
type: BooleanConstructor;
|
|
91
|
-
default:
|
|
92
|
-
validator: (value: any) => boolean;
|
|
90
|
+
readonly type: BooleanConstructor;
|
|
91
|
+
readonly default: true;
|
|
92
|
+
readonly validator: (value: any) => boolean;
|
|
93
93
|
};
|
|
94
94
|
certain: {
|
|
95
|
-
type: BooleanConstructor;
|
|
96
|
-
default:
|
|
97
|
-
validator: (value: any) => boolean;
|
|
95
|
+
readonly type: BooleanConstructor;
|
|
96
|
+
readonly default: false;
|
|
97
|
+
readonly validator: (value: any) => boolean;
|
|
98
98
|
};
|
|
99
99
|
modelValue: {
|
|
100
100
|
type: globalThis.PropType<boolean>;
|
|
@@ -1,100 +1,100 @@
|
|
|
1
1
|
import { LewCheckboxOption } from '../../../..';
|
|
2
2
|
declare const _default: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
|
|
3
3
|
options: {
|
|
4
|
-
type: PropType<LewCheckboxOption[]>;
|
|
5
|
-
required:
|
|
6
|
-
typePopKeys:
|
|
7
|
-
validator: (value: any[] | undefined) => boolean;
|
|
4
|
+
readonly type: PropType<LewCheckboxOption[]>;
|
|
5
|
+
readonly required: true;
|
|
6
|
+
readonly typePopKeys: readonly ["LewCheckboxOption"];
|
|
7
|
+
readonly validator: (value: any[] | undefined) => boolean;
|
|
8
8
|
};
|
|
9
9
|
disabled: {
|
|
10
|
-
type: BooleanConstructor;
|
|
11
|
-
validator: (value: any) => boolean;
|
|
10
|
+
readonly type: BooleanConstructor;
|
|
11
|
+
readonly validator: (value: any) => boolean;
|
|
12
12
|
};
|
|
13
13
|
readonly: {
|
|
14
|
-
type: BooleanConstructor;
|
|
15
|
-
validator: (value: any) => boolean;
|
|
14
|
+
readonly type: BooleanConstructor;
|
|
15
|
+
readonly validator: (value: any) => boolean;
|
|
16
16
|
};
|
|
17
17
|
size: {
|
|
18
|
-
type: PropType<import('../../../..').LewSize>;
|
|
19
|
-
default:
|
|
20
|
-
typeValues: import('../../../..').LewSize[];
|
|
21
|
-
validator: (value: any) => boolean;
|
|
18
|
+
readonly type: PropType<import('../../../..').LewSize>;
|
|
19
|
+
readonly default: "medium";
|
|
20
|
+
readonly typeValues: import('../../../..').LewSize[];
|
|
21
|
+
readonly validator: (value: any) => boolean;
|
|
22
22
|
};
|
|
23
23
|
direction: {
|
|
24
|
-
type: PropType<import('../../../..').LewDirection>;
|
|
25
|
-
default:
|
|
26
|
-
typeValues: import('../../../..').LewDirection[];
|
|
27
|
-
validator: (value: any) => boolean;
|
|
24
|
+
readonly type: PropType<import('../../../..').LewDirection>;
|
|
25
|
+
readonly default: "x";
|
|
26
|
+
readonly typeValues: import('../../../..').LewDirection[];
|
|
27
|
+
readonly validator: (value: any) => boolean;
|
|
28
28
|
};
|
|
29
29
|
block: {
|
|
30
|
-
type: BooleanConstructor;
|
|
31
|
-
validator: (value: any) => boolean;
|
|
30
|
+
readonly type: BooleanConstructor;
|
|
31
|
+
readonly validator: (value: any) => boolean;
|
|
32
32
|
};
|
|
33
33
|
round: {
|
|
34
|
-
type: BooleanConstructor;
|
|
35
|
-
default:
|
|
36
|
-
validator: (value: any) => boolean;
|
|
34
|
+
readonly type: BooleanConstructor;
|
|
35
|
+
readonly default: false;
|
|
36
|
+
readonly validator: (value: any) => boolean;
|
|
37
37
|
};
|
|
38
38
|
iconable: {
|
|
39
|
-
type: BooleanConstructor;
|
|
40
|
-
default:
|
|
41
|
-
validator: (value: any) => boolean;
|
|
39
|
+
readonly type: BooleanConstructor;
|
|
40
|
+
readonly default: true;
|
|
41
|
+
readonly validator: (value: any) => boolean;
|
|
42
42
|
};
|
|
43
43
|
modelValue: {
|
|
44
|
-
type: globalThis.PropType<
|
|
44
|
+
type: globalThis.PropType<string[]>;
|
|
45
45
|
required: true;
|
|
46
46
|
};
|
|
47
47
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
48
48
|
change: (value: string[], item: any) => void;
|
|
49
|
-
"update:modelValue": (value:
|
|
49
|
+
"update:modelValue": (value: string[]) => void;
|
|
50
50
|
}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
51
51
|
options: {
|
|
52
|
-
type: PropType<LewCheckboxOption[]>;
|
|
53
|
-
required:
|
|
54
|
-
typePopKeys:
|
|
55
|
-
validator: (value: any[] | undefined) => boolean;
|
|
52
|
+
readonly type: PropType<LewCheckboxOption[]>;
|
|
53
|
+
readonly required: true;
|
|
54
|
+
readonly typePopKeys: readonly ["LewCheckboxOption"];
|
|
55
|
+
readonly validator: (value: any[] | undefined) => boolean;
|
|
56
56
|
};
|
|
57
57
|
disabled: {
|
|
58
|
-
type: BooleanConstructor;
|
|
59
|
-
validator: (value: any) => boolean;
|
|
58
|
+
readonly type: BooleanConstructor;
|
|
59
|
+
readonly validator: (value: any) => boolean;
|
|
60
60
|
};
|
|
61
61
|
readonly: {
|
|
62
|
-
type: BooleanConstructor;
|
|
63
|
-
validator: (value: any) => boolean;
|
|
62
|
+
readonly type: BooleanConstructor;
|
|
63
|
+
readonly validator: (value: any) => boolean;
|
|
64
64
|
};
|
|
65
65
|
size: {
|
|
66
|
-
type: PropType<import('../../../..').LewSize>;
|
|
67
|
-
default:
|
|
68
|
-
typeValues: import('../../../..').LewSize[];
|
|
69
|
-
validator: (value: any) => boolean;
|
|
66
|
+
readonly type: PropType<import('../../../..').LewSize>;
|
|
67
|
+
readonly default: "medium";
|
|
68
|
+
readonly typeValues: import('../../../..').LewSize[];
|
|
69
|
+
readonly validator: (value: any) => boolean;
|
|
70
70
|
};
|
|
71
71
|
direction: {
|
|
72
|
-
type: PropType<import('../../../..').LewDirection>;
|
|
73
|
-
default:
|
|
74
|
-
typeValues: import('../../../..').LewDirection[];
|
|
75
|
-
validator: (value: any) => boolean;
|
|
72
|
+
readonly type: PropType<import('../../../..').LewDirection>;
|
|
73
|
+
readonly default: "x";
|
|
74
|
+
readonly typeValues: import('../../../..').LewDirection[];
|
|
75
|
+
readonly validator: (value: any) => boolean;
|
|
76
76
|
};
|
|
77
77
|
block: {
|
|
78
|
-
type: BooleanConstructor;
|
|
79
|
-
validator: (value: any) => boolean;
|
|
78
|
+
readonly type: BooleanConstructor;
|
|
79
|
+
readonly validator: (value: any) => boolean;
|
|
80
80
|
};
|
|
81
81
|
round: {
|
|
82
|
-
type: BooleanConstructor;
|
|
83
|
-
default:
|
|
84
|
-
validator: (value: any) => boolean;
|
|
82
|
+
readonly type: BooleanConstructor;
|
|
83
|
+
readonly default: false;
|
|
84
|
+
readonly validator: (value: any) => boolean;
|
|
85
85
|
};
|
|
86
86
|
iconable: {
|
|
87
|
-
type: BooleanConstructor;
|
|
88
|
-
default:
|
|
89
|
-
validator: (value: any) => boolean;
|
|
87
|
+
readonly type: BooleanConstructor;
|
|
88
|
+
readonly default: true;
|
|
89
|
+
readonly validator: (value: any) => boolean;
|
|
90
90
|
};
|
|
91
91
|
modelValue: {
|
|
92
|
-
type: globalThis.PropType<
|
|
92
|
+
type: globalThis.PropType<string[]>;
|
|
93
93
|
required: true;
|
|
94
94
|
};
|
|
95
95
|
}>> & Readonly<{
|
|
96
96
|
onChange?: ((value: string[], item: any) => any) | undefined;
|
|
97
|
-
"onUpdate:modelValue"?: ((value:
|
|
97
|
+
"onUpdate:modelValue"?: ((value: string[]) => any) | undefined;
|
|
98
98
|
}>, {
|
|
99
99
|
block: boolean;
|
|
100
100
|
size: import('../../../..').LewSize;
|
|
@@ -1,92 +1,92 @@
|
|
|
1
1
|
import { LewCheckboxOption, LewDirection, LewSize } from '../../../..';
|
|
2
2
|
import { ExtractPublicPropTypes, PropType } from 'vue';
|
|
3
3
|
export declare const checkboxProps: {
|
|
4
|
-
label: {
|
|
5
|
-
type: StringConstructor;
|
|
6
|
-
validator: (value: any) => boolean;
|
|
7
|
-
};
|
|
8
|
-
disabled: {
|
|
9
|
-
type: BooleanConstructor;
|
|
10
|
-
default:
|
|
11
|
-
validator: (value: any) => boolean;
|
|
12
|
-
};
|
|
13
|
-
readonly: {
|
|
14
|
-
type: BooleanConstructor;
|
|
15
|
-
default:
|
|
16
|
-
validator: (value: any) => boolean;
|
|
17
|
-
};
|
|
18
|
-
checked: {
|
|
19
|
-
type: BooleanConstructor;
|
|
20
|
-
default:
|
|
21
|
-
validator: (value: any) => boolean;
|
|
22
|
-
};
|
|
23
|
-
size: {
|
|
24
|
-
type: PropType<LewSize>;
|
|
25
|
-
default:
|
|
26
|
-
typeValues: LewSize[];
|
|
27
|
-
validator: (value: any) => boolean;
|
|
28
|
-
};
|
|
29
|
-
block: {
|
|
30
|
-
type: BooleanConstructor;
|
|
31
|
-
default:
|
|
32
|
-
validator: (value: any) => boolean;
|
|
33
|
-
};
|
|
34
|
-
round: {
|
|
35
|
-
type: BooleanConstructor;
|
|
36
|
-
default:
|
|
37
|
-
validator: (value: any) => boolean;
|
|
38
|
-
};
|
|
39
|
-
iconable: {
|
|
40
|
-
type: BooleanConstructor;
|
|
41
|
-
default:
|
|
42
|
-
validator: (value: any) => boolean;
|
|
43
|
-
};
|
|
44
|
-
certain: {
|
|
45
|
-
type: BooleanConstructor;
|
|
46
|
-
default:
|
|
47
|
-
validator: (value: any) => boolean;
|
|
4
|
+
readonly label: {
|
|
5
|
+
readonly type: StringConstructor;
|
|
6
|
+
readonly validator: (value: any) => boolean;
|
|
7
|
+
};
|
|
8
|
+
readonly disabled: {
|
|
9
|
+
readonly type: BooleanConstructor;
|
|
10
|
+
readonly default: false;
|
|
11
|
+
readonly validator: (value: any) => boolean;
|
|
12
|
+
};
|
|
13
|
+
readonly readonly: {
|
|
14
|
+
readonly type: BooleanConstructor;
|
|
15
|
+
readonly default: false;
|
|
16
|
+
readonly validator: (value: any) => boolean;
|
|
17
|
+
};
|
|
18
|
+
readonly checked: {
|
|
19
|
+
readonly type: BooleanConstructor;
|
|
20
|
+
readonly default: false;
|
|
21
|
+
readonly validator: (value: any) => boolean;
|
|
22
|
+
};
|
|
23
|
+
readonly size: {
|
|
24
|
+
readonly type: PropType<LewSize>;
|
|
25
|
+
readonly default: "medium";
|
|
26
|
+
readonly typeValues: LewSize[];
|
|
27
|
+
readonly validator: (value: any) => boolean;
|
|
28
|
+
};
|
|
29
|
+
readonly block: {
|
|
30
|
+
readonly type: BooleanConstructor;
|
|
31
|
+
readonly default: false;
|
|
32
|
+
readonly validator: (value: any) => boolean;
|
|
33
|
+
};
|
|
34
|
+
readonly round: {
|
|
35
|
+
readonly type: BooleanConstructor;
|
|
36
|
+
readonly default: false;
|
|
37
|
+
readonly validator: (value: any) => boolean;
|
|
38
|
+
};
|
|
39
|
+
readonly iconable: {
|
|
40
|
+
readonly type: BooleanConstructor;
|
|
41
|
+
readonly default: true;
|
|
42
|
+
readonly validator: (value: any) => boolean;
|
|
43
|
+
};
|
|
44
|
+
readonly certain: {
|
|
45
|
+
readonly type: BooleanConstructor;
|
|
46
|
+
readonly default: false;
|
|
47
|
+
readonly validator: (value: any) => boolean;
|
|
48
48
|
};
|
|
49
49
|
};
|
|
50
50
|
export declare const checkboxGroupProps: {
|
|
51
|
-
options: {
|
|
52
|
-
type: PropType<LewCheckboxOption[]>;
|
|
53
|
-
required:
|
|
54
|
-
typePopKeys:
|
|
55
|
-
validator: (value: any[] | undefined) => boolean;
|
|
56
|
-
};
|
|
57
|
-
disabled: {
|
|
58
|
-
type: BooleanConstructor;
|
|
59
|
-
validator: (value: any) => boolean;
|
|
60
|
-
};
|
|
61
|
-
readonly: {
|
|
62
|
-
type: BooleanConstructor;
|
|
63
|
-
validator: (value: any) => boolean;
|
|
64
|
-
};
|
|
65
|
-
size: {
|
|
66
|
-
type: PropType<LewSize>;
|
|
67
|
-
default:
|
|
68
|
-
typeValues: LewSize[];
|
|
69
|
-
validator: (value: any) => boolean;
|
|
70
|
-
};
|
|
71
|
-
direction: {
|
|
72
|
-
type: PropType<LewDirection>;
|
|
73
|
-
default:
|
|
74
|
-
typeValues: LewDirection[];
|
|
75
|
-
validator: (value: any) => boolean;
|
|
76
|
-
};
|
|
77
|
-
block: {
|
|
78
|
-
type: BooleanConstructor;
|
|
79
|
-
validator: (value: any) => boolean;
|
|
80
|
-
};
|
|
81
|
-
round: {
|
|
82
|
-
type: BooleanConstructor;
|
|
83
|
-
default:
|
|
84
|
-
validator: (value: any) => boolean;
|
|
85
|
-
};
|
|
86
|
-
iconable: {
|
|
87
|
-
type: BooleanConstructor;
|
|
88
|
-
default:
|
|
89
|
-
validator: (value: any) => boolean;
|
|
51
|
+
readonly options: {
|
|
52
|
+
readonly type: PropType<LewCheckboxOption[]>;
|
|
53
|
+
readonly required: true;
|
|
54
|
+
readonly typePopKeys: readonly ["LewCheckboxOption"];
|
|
55
|
+
readonly validator: (value: any[] | undefined) => boolean;
|
|
56
|
+
};
|
|
57
|
+
readonly disabled: {
|
|
58
|
+
readonly type: BooleanConstructor;
|
|
59
|
+
readonly validator: (value: any) => boolean;
|
|
60
|
+
};
|
|
61
|
+
readonly readonly: {
|
|
62
|
+
readonly type: BooleanConstructor;
|
|
63
|
+
readonly validator: (value: any) => boolean;
|
|
64
|
+
};
|
|
65
|
+
readonly size: {
|
|
66
|
+
readonly type: PropType<LewSize>;
|
|
67
|
+
readonly default: "medium";
|
|
68
|
+
readonly typeValues: LewSize[];
|
|
69
|
+
readonly validator: (value: any) => boolean;
|
|
70
|
+
};
|
|
71
|
+
readonly direction: {
|
|
72
|
+
readonly type: PropType<LewDirection>;
|
|
73
|
+
readonly default: "x";
|
|
74
|
+
readonly typeValues: LewDirection[];
|
|
75
|
+
readonly validator: (value: any) => boolean;
|
|
76
|
+
};
|
|
77
|
+
readonly block: {
|
|
78
|
+
readonly type: BooleanConstructor;
|
|
79
|
+
readonly validator: (value: any) => boolean;
|
|
80
|
+
};
|
|
81
|
+
readonly round: {
|
|
82
|
+
readonly type: BooleanConstructor;
|
|
83
|
+
readonly default: false;
|
|
84
|
+
readonly validator: (value: any) => boolean;
|
|
85
|
+
};
|
|
86
|
+
readonly iconable: {
|
|
87
|
+
readonly type: BooleanConstructor;
|
|
88
|
+
readonly default: true;
|
|
89
|
+
readonly validator: (value: any) => boolean;
|
|
90
90
|
};
|
|
91
91
|
};
|
|
92
92
|
export type LewCheckboxProps = ExtractPublicPropTypes<typeof checkboxProps>;
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
declare const _default: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
|
|
2
2
|
size: {
|
|
3
|
-
type: PropType<import('../../../..').LewSize>;
|
|
4
|
-
default:
|
|
5
|
-
typeValues: import('../../../..').LewSize[];
|
|
6
|
-
validator: (value: any) => boolean;
|
|
3
|
+
readonly type: PropType<import('../../../..').LewSize>;
|
|
4
|
+
readonly default: "medium";
|
|
5
|
+
readonly typeValues: import('../../../..').LewSize[];
|
|
6
|
+
readonly validator: (value: any) => boolean;
|
|
7
7
|
};
|
|
8
8
|
width: {
|
|
9
|
-
type: PropType<import("csstype").Property.Width>;
|
|
10
|
-
default:
|
|
11
|
-
validator: (value: string | number | undefined) => boolean;
|
|
9
|
+
readonly type: PropType<import("csstype").Property.Width>;
|
|
10
|
+
readonly default: "auto";
|
|
11
|
+
readonly validator: (value: string | number | undefined) => boolean;
|
|
12
12
|
};
|
|
13
13
|
placeholder: {
|
|
14
|
-
type: StringConstructor;
|
|
15
|
-
defaultLocale:
|
|
16
|
-
validator: (value: any) => boolean;
|
|
14
|
+
readonly type: StringConstructor;
|
|
15
|
+
readonly defaultLocale: true;
|
|
16
|
+
readonly validator: (value: any) => boolean;
|
|
17
17
|
};
|
|
18
18
|
disabled: {
|
|
19
|
-
type: BooleanConstructor;
|
|
20
|
-
default:
|
|
21
|
-
validator: (value: any) => boolean;
|
|
19
|
+
readonly type: BooleanConstructor;
|
|
20
|
+
readonly default: false;
|
|
21
|
+
readonly validator: (value: any) => boolean;
|
|
22
22
|
};
|
|
23
23
|
readonly: {
|
|
24
|
-
type: BooleanConstructor;
|
|
25
|
-
default:
|
|
26
|
-
validator: (value: any) => boolean;
|
|
24
|
+
readonly type: BooleanConstructor;
|
|
25
|
+
readonly default: false;
|
|
26
|
+
readonly validator: (value: any) => boolean;
|
|
27
27
|
};
|
|
28
28
|
modelValue: {
|
|
29
29
|
type: globalThis.PropType<string | undefined>;
|
|
@@ -34,30 +34,30 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
34
34
|
"update:modelValue": (value: string | undefined) => void;
|
|
35
35
|
}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
36
36
|
size: {
|
|
37
|
-
type: PropType<import('../../../..').LewSize>;
|
|
38
|
-
default:
|
|
39
|
-
typeValues: import('../../../..').LewSize[];
|
|
40
|
-
validator: (value: any) => boolean;
|
|
37
|
+
readonly type: PropType<import('../../../..').LewSize>;
|
|
38
|
+
readonly default: "medium";
|
|
39
|
+
readonly typeValues: import('../../../..').LewSize[];
|
|
40
|
+
readonly validator: (value: any) => boolean;
|
|
41
41
|
};
|
|
42
42
|
width: {
|
|
43
|
-
type: PropType<import("csstype").Property.Width>;
|
|
44
|
-
default:
|
|
45
|
-
validator: (value: string | number | undefined) => boolean;
|
|
43
|
+
readonly type: PropType<import("csstype").Property.Width>;
|
|
44
|
+
readonly default: "auto";
|
|
45
|
+
readonly validator: (value: string | number | undefined) => boolean;
|
|
46
46
|
};
|
|
47
47
|
placeholder: {
|
|
48
|
-
type: StringConstructor;
|
|
49
|
-
defaultLocale:
|
|
50
|
-
validator: (value: any) => boolean;
|
|
48
|
+
readonly type: StringConstructor;
|
|
49
|
+
readonly defaultLocale: true;
|
|
50
|
+
readonly validator: (value: any) => boolean;
|
|
51
51
|
};
|
|
52
52
|
disabled: {
|
|
53
|
-
type: BooleanConstructor;
|
|
54
|
-
default:
|
|
55
|
-
validator: (value: any) => boolean;
|
|
53
|
+
readonly type: BooleanConstructor;
|
|
54
|
+
readonly default: false;
|
|
55
|
+
readonly validator: (value: any) => boolean;
|
|
56
56
|
};
|
|
57
57
|
readonly: {
|
|
58
|
-
type: BooleanConstructor;
|
|
59
|
-
default:
|
|
60
|
-
validator: (value: any) => boolean;
|
|
58
|
+
readonly type: BooleanConstructor;
|
|
59
|
+
readonly default: false;
|
|
60
|
+
readonly validator: (value: any) => boolean;
|
|
61
61
|
};
|
|
62
62
|
modelValue: {
|
|
63
63
|
type: globalThis.PropType<string | undefined>;
|
|
@@ -2,31 +2,31 @@ import { Property } from 'csstype';
|
|
|
2
2
|
import { LewSize } from '../../../../types';
|
|
3
3
|
import { ExtractPublicPropTypes, PropType } from 'vue';
|
|
4
4
|
export declare const colorPickerProps: {
|
|
5
|
-
size: {
|
|
6
|
-
type: PropType<LewSize>;
|
|
7
|
-
default:
|
|
8
|
-
typeValues: LewSize[];
|
|
9
|
-
validator: (value: any) => boolean;
|
|
5
|
+
readonly size: {
|
|
6
|
+
readonly type: PropType<LewSize>;
|
|
7
|
+
readonly default: "medium";
|
|
8
|
+
readonly typeValues: LewSize[];
|
|
9
|
+
readonly validator: (value: any) => boolean;
|
|
10
10
|
};
|
|
11
|
-
width: {
|
|
12
|
-
type: PropType<Property.Width>;
|
|
13
|
-
default:
|
|
14
|
-
validator: (value: string | number | undefined) => boolean;
|
|
11
|
+
readonly width: {
|
|
12
|
+
readonly type: PropType<Property.Width>;
|
|
13
|
+
readonly default: "auto";
|
|
14
|
+
readonly validator: (value: string | number | undefined) => boolean;
|
|
15
15
|
};
|
|
16
|
-
placeholder: {
|
|
17
|
-
type: StringConstructor;
|
|
18
|
-
defaultLocale:
|
|
19
|
-
validator: (value: any) => boolean;
|
|
16
|
+
readonly placeholder: {
|
|
17
|
+
readonly type: StringConstructor;
|
|
18
|
+
readonly defaultLocale: true;
|
|
19
|
+
readonly validator: (value: any) => boolean;
|
|
20
20
|
};
|
|
21
|
-
disabled: {
|
|
22
|
-
type: BooleanConstructor;
|
|
23
|
-
default:
|
|
24
|
-
validator: (value: any) => boolean;
|
|
21
|
+
readonly disabled: {
|
|
22
|
+
readonly type: BooleanConstructor;
|
|
23
|
+
readonly default: false;
|
|
24
|
+
readonly validator: (value: any) => boolean;
|
|
25
25
|
};
|
|
26
|
-
readonly: {
|
|
27
|
-
type: BooleanConstructor;
|
|
28
|
-
default:
|
|
29
|
-
validator: (value: any) => boolean;
|
|
26
|
+
readonly readonly: {
|
|
27
|
+
readonly type: BooleanConstructor;
|
|
28
|
+
readonly default: false;
|
|
29
|
+
readonly validator: (value: any) => boolean;
|
|
30
30
|
};
|
|
31
31
|
};
|
|
32
32
|
export type LewColorPickerProps = ExtractPublicPropTypes<typeof colorPickerProps>;
|
|
@@ -43,7 +43,7 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
43
43
|
validator: (value: any[] | undefined) => boolean;
|
|
44
44
|
};
|
|
45
45
|
modelValue: {
|
|
46
|
-
type: globalThis.PropType<
|
|
46
|
+
type: globalThis.PropType<string | undefined>;
|
|
47
47
|
required: true;
|
|
48
48
|
};
|
|
49
49
|
}>, {
|
|
@@ -52,7 +52,7 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
52
52
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
53
53
|
change: (value?: string | undefined) => void;
|
|
54
54
|
clear: () => void;
|
|
55
|
-
"update:modelValue": (value:
|
|
55
|
+
"update:modelValue": (value: string | undefined) => void;
|
|
56
56
|
}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
57
57
|
valueFormat: {
|
|
58
58
|
type: StringConstructor;
|
|
@@ -96,13 +96,13 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
96
96
|
validator: (value: any[] | undefined) => boolean;
|
|
97
97
|
};
|
|
98
98
|
modelValue: {
|
|
99
|
-
type: globalThis.PropType<
|
|
99
|
+
type: globalThis.PropType<string | undefined>;
|
|
100
100
|
required: true;
|
|
101
101
|
};
|
|
102
102
|
}>> & Readonly<{
|
|
103
103
|
onChange?: ((value?: string | undefined) => any) | undefined;
|
|
104
104
|
onClear?: (() => any) | undefined;
|
|
105
|
-
"onUpdate:modelValue"?: ((value:
|
|
105
|
+
"onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
|
|
106
106
|
}>, {
|
|
107
107
|
size: import('../../../..').LewSize;
|
|
108
108
|
disabled: boolean;
|