lew-ui 2.1.7 → 2.1.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -21
- package/README.md +53 -53
- package/dist/components/avatar/src/LewAvatar.vue.d.ts +5 -5
- package/dist/components/backtop/src/LewBackTop.vue.d.ts +1 -1
- package/dist/components/badge/src/LewBadge.vue.d.ts +3 -3
- package/dist/components/button/src/LewButton.vue.d.ts +11 -11
- package/dist/components/button/src/props.d.ts +1 -1
- package/dist/components/cascader/src/LewCascader.vue.d.ts +6 -6
- package/dist/components/checkbox/src/LewCheckbox.vue.d.ts +4 -4
- package/dist/components/date-picker/src/LewDate.vue.d.ts +2 -2
- package/dist/components/date-picker/src/LewDatePicker.vue.d.ts +6 -6
- package/dist/components/date-picker/src/LewDateRangePicker.vue.d.ts +1 -1
- package/dist/components/date-picker/src/props.d.ts +2 -2
- package/dist/components/drawer/src/LewDrawer.vue.d.ts +1 -1
- package/dist/components/drawer/src/props.d.ts +1 -1
- package/dist/components/dropdown/src/LewDropdown.vue.d.ts +1 -1
- package/dist/components/empty/src/LewEmpty.vue.d.ts +2 -2
- package/dist/components/flex/src/LewFlex.vue.d.ts +4 -4
- package/dist/components/form/src/LewForm.vue.d.ts +1 -1
- package/dist/components/input/src/LewInput.vue.d.ts +20 -20
- package/dist/components/input/src/props.d.ts +3 -2
- package/dist/components/input-tag/src/LewInputTag.vue.d.ts +4 -4
- package/dist/components/magic-number/src/LewMagicNumber.vue.d.ts +1 -1
- package/dist/components/mark/src/LewMark.vue.d.ts +3 -3
- package/dist/components/menu/src/props.d.ts +2 -1
- package/dist/components/modal/src/LewModal.vue.d.ts +19 -19
- package/dist/components/pagination/src/LewPagination.vue.d.ts +8 -10
- package/dist/components/pagination/src/props.d.ts +3 -5
- package/dist/components/popok/src/LewPopok.vue.d.ts +17 -17
- package/dist/components/popover/src/LewPopover.vue.d.ts +8 -8
- package/dist/components/popover/src/props.d.ts +2 -2
- package/dist/components/radio/src/LewRadio.vue.d.ts +2 -2
- package/dist/components/radio/src/LewRadioGroup.vue.d.ts +4 -4
- package/dist/components/result/src/LewResult.vue.d.ts +1 -1
- package/dist/components/select/src/LewSelect.vue.d.ts +10 -10
- package/dist/components/select/src/props.d.ts +1 -1
- package/dist/components/select-multiple/src/LewSelectMultiple.vue.d.ts +10 -10
- package/dist/components/switch/src/LewSwitch.vue.d.ts +3 -3
- package/dist/components/table/src/LewTable.vue.d.ts +7 -7
- package/dist/components/tabs/src/LewTabs.vue.d.ts +4 -4
- package/dist/components/tag/src/LewTag.vue.d.ts +9 -9
- package/dist/components/tag/src/props.d.ts +3 -4
- 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 +6 -6
- package/dist/components/title/src/LewTitle.vue.d.ts +6 -6
- package/dist/components/tree/src/LewTree.vue.d.ts +8 -25
- package/dist/components/tree/src/props.d.ts +2 -2
- package/dist/components/tree-select/src/LewTreeSelect.vue.d.ts +22 -11
- package/dist/components/tree-select/src/props.d.ts +6 -1
- package/dist/directives/dialog/src/LewDialog.vue.d.ts +5 -5
- package/dist/directives/dialog/src/props.d.ts +3 -2
- package/dist/index.d.ts +2 -1
- package/dist/index.mjs +357 -370
- package/dist/index.umd.js +3 -3
- package/dist/style.css +1 -1
- package/package.json +101 -101
package/LICENSE
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2023 lew
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2023 lew
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,53 +1,53 @@
|
|
|
1
|
-

|
|
2
|
-
|
|
3
|
-
# Lew-UI
|
|
4
|
-
|
|
5
|
-
A Component Library for Vue3.js. Doc address: https://lew.kamtao.com
|
|
6
|
-
|
|
7
|
-
## Install
|
|
8
|
-
|
|
9
|
-
```bash
|
|
10
|
-
npm install lew-ui --save
|
|
11
|
-
```
|
|
12
|
-
|
|
13
|
-
## How to use
|
|
14
|
-
|
|
15
|
-
引入 css
|
|
16
|
-
|
|
17
|
-
```js
|
|
18
|
-
// main.ts
|
|
19
|
-
import 'lew-ui/style';
|
|
20
|
-
```
|
|
21
|
-
|
|
22
|
-
页面
|
|
23
|
-
|
|
24
|
-
```vue
|
|
25
|
-
<script setup lang="ts">
|
|
26
|
-
import { LewButton } from 'lew-ui';
|
|
27
|
-
</script>
|
|
28
|
-
|
|
29
|
-
<template>
|
|
30
|
-
<lew-button text="发送" />
|
|
31
|
-
</template>
|
|
32
|
-
```
|
|
33
|
-
|
|
34
|
-
## Todo List
|
|
35
|
-
|
|
36
|
-
- Step 步骤
|
|
37
|
-
- Upload 上传
|
|
38
|
-
- Card 卡片
|
|
39
|
-
- Progress 进度条
|
|
40
|
-
- Loading 加载
|
|
41
|
-
|
|
42
|
-
## Thanks
|
|
43
|
-
|
|
44
|
-
- https://github.com/atomiks/tippyjs
|
|
45
|
-
- https://fengyuanchen.github.io/vue-feather/
|
|
46
|
-
|
|
47
|
-
## License
|
|
48
|
-
|
|
49
|
-
Lew UI is open source software licensed as MIT.
|
|
50
|
-
|
|
51
|
-
## Demo
|
|
52
|
-
|
|
53
|
-
   
|
|
1
|
+

|
|
2
|
+
|
|
3
|
+
# Lew-UI
|
|
4
|
+
|
|
5
|
+
A Component Library for Vue3.js. Doc address: https://lew.kamtao.com
|
|
6
|
+
|
|
7
|
+
## Install
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
npm install lew-ui --save
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## How to use
|
|
14
|
+
|
|
15
|
+
引入 css
|
|
16
|
+
|
|
17
|
+
```js
|
|
18
|
+
// main.ts
|
|
19
|
+
import 'lew-ui/style';
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
页面
|
|
23
|
+
|
|
24
|
+
```vue
|
|
25
|
+
<script setup lang="ts">
|
|
26
|
+
import { LewButton } from 'lew-ui';
|
|
27
|
+
</script>
|
|
28
|
+
|
|
29
|
+
<template>
|
|
30
|
+
<lew-button text="发送" />
|
|
31
|
+
</template>
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
## Todo List
|
|
35
|
+
|
|
36
|
+
- Step 步骤
|
|
37
|
+
- Upload 上传
|
|
38
|
+
- Card 卡片
|
|
39
|
+
- Progress 进度条
|
|
40
|
+
- Loading 加载
|
|
41
|
+
|
|
42
|
+
## Thanks
|
|
43
|
+
|
|
44
|
+
- https://github.com/atomiks/tippyjs
|
|
45
|
+
- https://fengyuanchen.github.io/vue-feather/
|
|
46
|
+
|
|
47
|
+
## License
|
|
48
|
+
|
|
49
|
+
Lew UI is open source software licensed as MIT.
|
|
50
|
+
|
|
51
|
+
## Demo
|
|
52
|
+
|
|
53
|
+
   
|
|
@@ -5,7 +5,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
5
5
|
description: string;
|
|
6
6
|
};
|
|
7
7
|
status: {
|
|
8
|
-
type: globalThis.PropType<"
|
|
8
|
+
type: globalThis.PropType<"offline" | "online" | "processing" | "away" | "busy">;
|
|
9
9
|
default: string;
|
|
10
10
|
description: string;
|
|
11
11
|
};
|
|
@@ -46,7 +46,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
46
46
|
description: string;
|
|
47
47
|
};
|
|
48
48
|
status: {
|
|
49
|
-
type: globalThis.PropType<"
|
|
49
|
+
type: globalThis.PropType<"offline" | "online" | "processing" | "away" | "busy">;
|
|
50
50
|
default: string;
|
|
51
51
|
description: string;
|
|
52
52
|
};
|
|
@@ -81,11 +81,11 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
81
81
|
description: string;
|
|
82
82
|
};
|
|
83
83
|
}>>, {
|
|
84
|
-
round: boolean;
|
|
85
|
-
status: "online" | "processing" | "away" | "offline" | "busy";
|
|
86
|
-
statusPosition: "top" | "left" | "right" | "bottom" | "top-left" | "top-right" | "bottom-left" | "bottom-right" | "left-top" | "left-bottom" | "right-top" | "right-bottom";
|
|
87
84
|
width: string | number;
|
|
85
|
+
round: boolean;
|
|
88
86
|
height: string | number;
|
|
87
|
+
status: "offline" | "online" | "processing" | "away" | "busy";
|
|
88
|
+
statusPosition: "top" | "left" | "right" | "bottom" | "top-left" | "top-right" | "bottom-left" | "bottom-right" | "left-top" | "left-bottom" | "right-top" | "right-bottom";
|
|
89
89
|
errorSrc: string;
|
|
90
90
|
src: string;
|
|
91
91
|
alt: string;
|
|
@@ -45,10 +45,10 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
45
45
|
}>> & {
|
|
46
46
|
onClick?: ((...args: any[]) => any) | undefined;
|
|
47
47
|
}, {
|
|
48
|
+
target: string;
|
|
48
49
|
right: number;
|
|
49
50
|
bottom: number;
|
|
50
51
|
valveHeight: number;
|
|
51
|
-
target: string;
|
|
52
52
|
}, {}>, {
|
|
53
53
|
default?(_: {}): any;
|
|
54
54
|
}>;
|
|
@@ -5,7 +5,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
5
5
|
description: string;
|
|
6
6
|
};
|
|
7
7
|
color: {
|
|
8
|
-
type: globalThis.PropType<"
|
|
8
|
+
type: globalThis.PropType<"gray" | "orange" | "green" | "red" | "blue" | "yellow" | "mint" | "teal" | "cyan" | "indigo" | "purple" | "pink" | "brown">;
|
|
9
9
|
default: string;
|
|
10
10
|
description: string;
|
|
11
11
|
};
|
|
@@ -16,13 +16,13 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
16
16
|
description: string;
|
|
17
17
|
};
|
|
18
18
|
color: {
|
|
19
|
-
type: globalThis.PropType<"
|
|
19
|
+
type: globalThis.PropType<"gray" | "orange" | "green" | "red" | "blue" | "yellow" | "mint" | "teal" | "cyan" | "indigo" | "purple" | "pink" | "brown">;
|
|
20
20
|
default: string;
|
|
21
21
|
description: string;
|
|
22
22
|
};
|
|
23
23
|
}>>, {
|
|
24
24
|
value: string;
|
|
25
|
-
color: "
|
|
25
|
+
color: "gray" | "orange" | "green" | "red" | "blue" | "yellow" | "mint" | "teal" | "cyan" | "indigo" | "purple" | "pink" | "brown";
|
|
26
26
|
}, {}>, {
|
|
27
27
|
default?(_: {}): any;
|
|
28
28
|
}>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
2
2
|
color: {
|
|
3
|
-
type: globalThis.PropType<import('
|
|
3
|
+
type: globalThis.PropType<import('../../..').ButtonColor>;
|
|
4
4
|
default: string;
|
|
5
5
|
description: string;
|
|
6
6
|
};
|
|
@@ -10,7 +10,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
10
10
|
description: string;
|
|
11
11
|
};
|
|
12
12
|
type: {
|
|
13
|
-
type: globalThis.PropType<import('
|
|
13
|
+
type: globalThis.PropType<import('../../..').ButtonType>;
|
|
14
14
|
default: string;
|
|
15
15
|
description: string;
|
|
16
16
|
};
|
|
@@ -25,7 +25,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
25
25
|
description: string;
|
|
26
26
|
};
|
|
27
27
|
size: {
|
|
28
|
-
type: globalThis.PropType<import('
|
|
28
|
+
type: globalThis.PropType<import('../../..').ButtonSize>;
|
|
29
29
|
default: string;
|
|
30
30
|
description: string;
|
|
31
31
|
};
|
|
@@ -53,7 +53,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
53
53
|
click: (...args: any[]) => void;
|
|
54
54
|
}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
55
55
|
color: {
|
|
56
|
-
type: globalThis.PropType<import('
|
|
56
|
+
type: globalThis.PropType<import('../../..').ButtonColor>;
|
|
57
57
|
default: string;
|
|
58
58
|
description: string;
|
|
59
59
|
};
|
|
@@ -63,7 +63,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
63
63
|
description: string;
|
|
64
64
|
};
|
|
65
65
|
type: {
|
|
66
|
-
type: globalThis.PropType<import('
|
|
66
|
+
type: globalThis.PropType<import('../../..').ButtonType>;
|
|
67
67
|
default: string;
|
|
68
68
|
description: string;
|
|
69
69
|
};
|
|
@@ -78,7 +78,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
78
78
|
description: string;
|
|
79
79
|
};
|
|
80
80
|
size: {
|
|
81
|
-
type: globalThis.PropType<import('
|
|
81
|
+
type: globalThis.PropType<import('../../..').ButtonSize>;
|
|
82
82
|
default: string;
|
|
83
83
|
description: string;
|
|
84
84
|
};
|
|
@@ -105,16 +105,16 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
105
105
|
}>> & {
|
|
106
106
|
onClick?: ((...args: any[]) => any) | undefined;
|
|
107
107
|
}, {
|
|
108
|
+
type: import('../../..').ButtonType;
|
|
108
109
|
text: string;
|
|
109
|
-
|
|
110
|
-
size: import('./props').ButtonSize;
|
|
110
|
+
color: import('../../..').ButtonColor;
|
|
111
111
|
round: boolean;
|
|
112
|
-
|
|
112
|
+
size: import('../../..').ButtonSize;
|
|
113
|
+
disabled: boolean;
|
|
114
|
+
loading: boolean;
|
|
113
115
|
icon: string;
|
|
114
116
|
iconPosition: string;
|
|
115
|
-
loading: boolean;
|
|
116
117
|
request: Function;
|
|
117
|
-
disabled: boolean;
|
|
118
118
|
}, {}>, {
|
|
119
119
|
default?(_: {}): any;
|
|
120
120
|
}>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PropType, ExtractPropTypes } from 'vue';
|
|
2
2
|
|
|
3
|
-
export type ButtonColor = 'red' | 'orange' | 'yellow' | 'green' | 'mint' | 'teal' | 'cyan' | 'blue' | 'indigo' | 'purple' | 'pink' | 'gray' | 'brown';
|
|
3
|
+
export type ButtonColor = 'red' | 'orange' | 'yellow' | 'green' | 'mint' | 'teal' | 'cyan' | 'blue' | 'indigo' | 'purple' | 'pink' | 'gray' | 'brown' | 'success' | 'normal' | 'warning' | 'error' | 'info';
|
|
4
4
|
export type ButtonSize = 'small' | 'medium' | 'large';
|
|
5
5
|
export type ButtonType = 'fill' | 'light' | 'ghost' | 'text';
|
|
6
6
|
export declare const buttonProps: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { CascaderOptions } from './props';
|
|
2
2
|
|
|
3
3
|
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
4
|
-
modelValue: globalThis.PropType<
|
|
4
|
+
modelValue: globalThis.PropType<any>;
|
|
5
5
|
options: {
|
|
6
6
|
type: globalThis.PropType<CascaderOptions[]>;
|
|
7
7
|
default: never[];
|
|
@@ -23,7 +23,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
23
23
|
description: string;
|
|
24
24
|
};
|
|
25
25
|
trigger: {
|
|
26
|
-
type: globalThis.PropType<import('
|
|
26
|
+
type: globalThis.PropType<import('../../..').CascaderTriggerType>;
|
|
27
27
|
default: string;
|
|
28
28
|
description: string;
|
|
29
29
|
};
|
|
@@ -65,7 +65,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
65
65
|
blur: (...args: any[]) => void;
|
|
66
66
|
clear: (...args: any[]) => void;
|
|
67
67
|
}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
68
|
-
modelValue: globalThis.PropType<
|
|
68
|
+
modelValue: globalThis.PropType<any>;
|
|
69
69
|
options: {
|
|
70
70
|
type: globalThis.PropType<CascaderOptions[]>;
|
|
71
71
|
default: never[];
|
|
@@ -87,7 +87,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
87
87
|
description: string;
|
|
88
88
|
};
|
|
89
89
|
trigger: {
|
|
90
|
-
type: globalThis.PropType<import('
|
|
90
|
+
type: globalThis.PropType<import('../../..').CascaderTriggerType>;
|
|
91
91
|
default: string;
|
|
92
92
|
description: string;
|
|
93
93
|
};
|
|
@@ -128,15 +128,15 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
128
128
|
}, {
|
|
129
129
|
size: string;
|
|
130
130
|
options: CascaderOptions[];
|
|
131
|
-
disabled: boolean;
|
|
132
131
|
multiple: boolean;
|
|
133
132
|
showAllLevels: boolean;
|
|
134
133
|
free: boolean;
|
|
135
|
-
trigger: import('
|
|
134
|
+
trigger: import('../../..').CascaderTriggerType;
|
|
136
135
|
placeholder: string;
|
|
137
136
|
onload: Function;
|
|
138
137
|
clearable: boolean;
|
|
139
138
|
readonly: boolean;
|
|
139
|
+
disabled: boolean;
|
|
140
140
|
}, {}>, {
|
|
141
141
|
header?(_: {}): any;
|
|
142
142
|
}>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
declare const _default: import('vue').DefineComponent<{
|
|
2
|
-
modelValue: globalThis.PropType<
|
|
2
|
+
modelValue: globalThis.PropType<any>;
|
|
3
3
|
checked: {
|
|
4
4
|
type: (BooleanConstructor | FunctionConstructor)[];
|
|
5
5
|
default: boolean;
|
|
@@ -48,7 +48,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
48
48
|
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
49
49
|
change: (...args: any[]) => void;
|
|
50
50
|
}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
51
|
-
modelValue: globalThis.PropType<
|
|
51
|
+
modelValue: globalThis.PropType<any>;
|
|
52
52
|
checked: {
|
|
53
53
|
type: (BooleanConstructor | FunctionConstructor)[];
|
|
54
54
|
default: boolean;
|
|
@@ -98,10 +98,10 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
98
98
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
99
99
|
}, {
|
|
100
100
|
label: string;
|
|
101
|
-
size: import('./props').CheckboxSize;
|
|
102
101
|
round: boolean;
|
|
103
|
-
|
|
102
|
+
size: import('./props').CheckboxSize;
|
|
104
103
|
readonly: boolean;
|
|
104
|
+
disabled: boolean;
|
|
105
105
|
checked: boolean | Function;
|
|
106
106
|
certain: boolean | Function;
|
|
107
107
|
block: boolean;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
declare const _default: import('vue').DefineComponent<{
|
|
2
|
-
modelValue: globalThis.PropType<
|
|
2
|
+
modelValue: globalThis.PropType<any>;
|
|
3
3
|
}, {
|
|
4
4
|
init: () => void;
|
|
5
5
|
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
6
6
|
change: (...args: any[]) => void;
|
|
7
7
|
}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
8
|
-
modelValue: globalThis.PropType<
|
|
8
|
+
modelValue: globalThis.PropType<any>;
|
|
9
9
|
}>> & {
|
|
10
10
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
11
11
|
}, {}, {}>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
declare const _default: import('vue').DefineComponent<{
|
|
2
|
-
modelValue: globalThis.PropType<
|
|
2
|
+
modelValue: globalThis.PropType<any>;
|
|
3
3
|
size: {
|
|
4
|
-
type: globalThis.PropType<import('
|
|
4
|
+
type: globalThis.PropType<import('../../..').DatePickerSize>;
|
|
5
5
|
default: string;
|
|
6
6
|
description: string;
|
|
7
7
|
};
|
|
@@ -32,9 +32,9 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
32
32
|
change: (...args: any[]) => void;
|
|
33
33
|
clear: (...args: any[]) => void;
|
|
34
34
|
}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
35
|
-
modelValue: globalThis.PropType<
|
|
35
|
+
modelValue: globalThis.PropType<any>;
|
|
36
36
|
size: {
|
|
37
|
-
type: globalThis.PropType<import('
|
|
37
|
+
type: globalThis.PropType<import('../../..').DatePickerSize>;
|
|
38
38
|
default: string;
|
|
39
39
|
description: string;
|
|
40
40
|
};
|
|
@@ -62,10 +62,10 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
62
62
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
63
63
|
onClear?: ((...args: any[]) => any) | undefined;
|
|
64
64
|
}, {
|
|
65
|
-
size: import('
|
|
66
|
-
disabled: boolean;
|
|
65
|
+
size: import('../../..').DatePickerSize;
|
|
67
66
|
placeholder: string;
|
|
68
67
|
clearable: boolean;
|
|
69
68
|
readonly: boolean;
|
|
69
|
+
disabled: boolean;
|
|
70
70
|
}, {}>;
|
|
71
71
|
export default _default;
|
|
@@ -93,9 +93,9 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
93
93
|
onClear?: ((...args: any[]) => any) | undefined;
|
|
94
94
|
}, {
|
|
95
95
|
size: string;
|
|
96
|
-
disabled: boolean;
|
|
97
96
|
clearable: boolean;
|
|
98
97
|
readonly: boolean;
|
|
98
|
+
disabled: boolean;
|
|
99
99
|
startKey: string;
|
|
100
100
|
endKey: string;
|
|
101
101
|
placeholderStart: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ExtractPropTypes, PropType } from 'vue';
|
|
2
2
|
|
|
3
|
-
export type
|
|
3
|
+
export type DatePickerSize = 'small' | 'medium' | 'large';
|
|
4
4
|
export declare const datePickerModel: {
|
|
5
5
|
modelValue: {
|
|
6
6
|
type: StringConstructor;
|
|
@@ -17,7 +17,7 @@ export declare const dateRangePickerModel: {
|
|
|
17
17
|
};
|
|
18
18
|
export declare const datePickerProps: {
|
|
19
19
|
size: {
|
|
20
|
-
type: PropType<
|
|
20
|
+
type: PropType<DatePickerSize>;
|
|
21
21
|
default: string;
|
|
22
22
|
description: string;
|
|
23
23
|
};
|
|
@@ -46,8 +46,8 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
46
46
|
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
47
47
|
}, {
|
|
48
48
|
width: number;
|
|
49
|
-
height: number;
|
|
50
49
|
visible: boolean;
|
|
50
|
+
height: number;
|
|
51
51
|
position: string;
|
|
52
52
|
}, {}>, {
|
|
53
53
|
default?(_: {}): any;
|
|
@@ -24,4 +24,4 @@ export declare const drawerProps: {
|
|
|
24
24
|
};
|
|
25
25
|
export type DrawerProps = ExtractPropTypes<typeof drawerProps>;
|
|
26
26
|
export declare const getStyle: (position: string, width: number, height: number) => string | undefined;
|
|
27
|
-
export declare const getPosition: (position: string) =>
|
|
27
|
+
export declare const getPosition: (position: string) => 1 | 0;
|
|
@@ -74,8 +74,8 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
74
74
|
options: DropdownOptions[];
|
|
75
75
|
trigger: string;
|
|
76
76
|
placement: string;
|
|
77
|
-
maxHeight: string | number;
|
|
78
77
|
align: string;
|
|
78
|
+
maxHeight: string | number;
|
|
79
79
|
}, {}>, {
|
|
80
80
|
default?(_: {}): any;
|
|
81
81
|
}>;
|
|
@@ -43,9 +43,9 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
43
43
|
description: string;
|
|
44
44
|
};
|
|
45
45
|
}>>, {
|
|
46
|
-
title: string;
|
|
47
|
-
type: "search" | "address" | "article" | "404" | "goods" | "likes" | "car" | "comments" | "network" | "order";
|
|
48
46
|
width: string;
|
|
47
|
+
type: "search" | "address" | "article" | "404" | "goods" | "likes" | "car" | "comments" | "network" | "order";
|
|
48
|
+
title: string;
|
|
49
49
|
height: string;
|
|
50
50
|
}, {}>;
|
|
51
51
|
export default _default;
|
|
@@ -78,12 +78,12 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
78
78
|
};
|
|
79
79
|
}>>, {
|
|
80
80
|
x: string;
|
|
81
|
-
width: string | number;
|
|
82
|
-
y: string;
|
|
83
81
|
direction: string;
|
|
84
|
-
|
|
85
|
-
mode: string;
|
|
82
|
+
y: string;
|
|
86
83
|
wrap: boolean;
|
|
84
|
+
mode: string;
|
|
85
|
+
gap: string | number;
|
|
86
|
+
width: string | number;
|
|
87
87
|
}, {}>, {
|
|
88
88
|
default?(_: {}): any;
|
|
89
89
|
}>;
|