lew-ui 2.4.9 → 2.4.13
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 +46 -46
- package/README.zh-CN.md +48 -48
- package/dist/components/button/src/LewButton.vue.d.ts +1 -1
- package/dist/components/cascader/src/LewCascader.vue.d.ts +15 -2
- package/dist/components/cascader/src/props.d.ts +7 -1
- package/dist/components/drawer/src/LewDrawer.vue.d.ts +2 -2
- package/dist/components/flex/src/LewFlex.vue.d.ts +1 -1
- package/dist/components/form/src/LewForm.vue.d.ts +11 -0
- package/dist/components/form/src/LewFormItem.vue.d.ts +4 -4
- package/dist/components/form/src/props.d.ts +6 -1
- package/dist/components/image/src/LewImage.vue.d.ts +1 -1
- package/dist/components/index.d.ts +1 -0
- package/dist/components/input-number/src/LewInputNumber.vue.d.ts +3 -3
- package/dist/components/modal/src/LewModal.vue.d.ts +2 -2
- package/dist/components/popok/src/LewPopok.vue.d.ts +2 -2
- package/dist/components/popover/src/LewPopover.vue.d.ts +1 -1
- package/dist/components/select/src/LewSelect.vue.d.ts +15 -2
- package/dist/components/select/src/props.d.ts +7 -1
- package/dist/components/select-multiple/src/LewSelectMultiple.vue.d.ts +18 -3
- package/dist/components/select-multiple/src/props.d.ts +9 -1
- package/dist/components/slider/src/LewSlider.vue.d.ts +112 -1
- package/dist/components/slider/src/props.d.ts +61 -1
- package/dist/components/slider-range/src/LewSliderRange.vue.d.ts +108 -1
- package/dist/components/slider-range/src/props.d.ts +61 -1
- package/dist/components/switch/src/LewSwitch.vue.d.ts +1 -1
- package/dist/components/tree/src/LewTree.vue.d.ts +3 -3
- package/dist/components/tree/src/props.d.ts +1 -1
- package/dist/components/tree-select/src/LewTreeSelect.vue.d.ts +3 -3
- package/dist/components/tree-select/src/props.d.ts +1 -1
- package/dist/components/upload/src/LewUpload.vue.d.ts +18 -5
- package/dist/components/upload/src/props.d.ts +11 -3
- package/dist/confetti.browser.min.js +456 -456
- package/dist/docs/docs/slider/api/index.d.ts +2 -0
- package/dist/docs/docs/slider/api/model.d.ts +12 -0
- package/dist/docs/docs/slider/api/props.d.ts +12 -0
- package/dist/docs/docs/slider/demo/index.d.ts +14 -0
- package/dist/docs/docs/slider/index.d.ts +3 -0
- package/dist/docs/docs/slider-range/api/index.d.ts +2 -0
- package/dist/docs/docs/slider-range/api/model.d.ts +12 -0
- package/dist/docs/docs/slider-range/api/props.d.ts +12 -0
- package/dist/docs/docs/slider-range/demo/index.d.ts +14 -0
- package/dist/docs/docs/slider-range/index.d.ts +3 -0
- package/dist/docs/views/form-engine/schema/compoments-menus.d.ts +155 -5
- package/dist/docs/views/form-engine/schema/components/input-number.d.ts +14 -1
- package/dist/docs/views/form-engine/schema/components/slider-range.d.ts +41 -0
- package/dist/docs/views/form-engine/schema/components/slider.d.ts +41 -0
- package/dist/docs/views/form-engine/schema/components/upload.d.ts +18 -0
- package/dist/index.mjs +1285 -365
- package/dist/index.umd.js +3 -3
- package/dist/style.css +1 -1
- package/dist/utils/Icon.vue.d.ts +3 -3
- package/dist/utils/index.d.ts +16 -0
- package/package.json +3 -3
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,46 +1,46 @@
|
|
|
1
|
-
# Lew UI
|
|
2
|
-
|
|
3
|
-
A Component Library for Vue3. Doc address: https://lew.kamtao.com
|
|
4
|
-
|
|
5
|
-
English | [中文](./README.zh-CN.md)
|
|
6
|
-
|
|
7
|
-
## Install
|
|
8
|
-
|
|
9
|
-
```bash
|
|
10
|
-
npm install lew-ui
|
|
11
|
-
```
|
|
12
|
-
|
|
13
|
-
## How to use
|
|
14
|
-
|
|
15
|
-
```js
|
|
16
|
-
// main.ts
|
|
17
|
-
import 'lew-ui/style'
|
|
18
|
-
```
|
|
19
|
-
|
|
20
|
-
```vue
|
|
21
|
-
<script setup lang="ts">
|
|
22
|
-
// page.vue
|
|
23
|
-
import { LewButton } from 'lew-ui'
|
|
24
|
-
</script>
|
|
25
|
-
|
|
26
|
-
<template>
|
|
27
|
-
<lew-button text="Submit" />
|
|
28
|
-
</template>
|
|
29
|
-
```
|
|
30
|
-
|
|
31
|
-
## Open Source Libraries
|
|
32
|
-
|
|
33
|
-
Lew UI uses the following open source libraries:
|
|
34
|
-
|
|
35
|
-
- [tippy.js](https://atomiks.github.io/tippyjs/): For creating tooltips and popovers
|
|
36
|
-
- [Lucide](https://github.com/lucide-icons/lucide): Provides a clean and beautiful icon set
|
|
37
|
-
- [fancyapps](https://fancyapps.com/): For creating image galleries and carousels
|
|
38
|
-
- [VueUse](https://vueuse.org/): Collection of Vue Composition API utilities
|
|
39
|
-
- [Day.js](https://day.js.org/): Lightweight library for date manipulation
|
|
40
|
-
- [Yup](https://github.com/jquense/yup): Object schema validation library
|
|
41
|
-
|
|
42
|
-
We are grateful for the support these excellent open source projects provide to Lew UI.
|
|
43
|
-
|
|
44
|
-
## License
|
|
45
|
-
|
|
46
|
-
Lew UI is open source software licensed as MIT.
|
|
1
|
+
# Lew UI
|
|
2
|
+
|
|
3
|
+
A Component Library for Vue3. Doc address: https://lew.kamtao.com
|
|
4
|
+
|
|
5
|
+
English | [中文](./README.zh-CN.md)
|
|
6
|
+
|
|
7
|
+
## Install
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
npm install lew-ui
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## How to use
|
|
14
|
+
|
|
15
|
+
```js
|
|
16
|
+
// main.ts
|
|
17
|
+
import 'lew-ui/style'
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
```vue
|
|
21
|
+
<script setup lang="ts">
|
|
22
|
+
// page.vue
|
|
23
|
+
import { LewButton } from 'lew-ui'
|
|
24
|
+
</script>
|
|
25
|
+
|
|
26
|
+
<template>
|
|
27
|
+
<lew-button text="Submit" />
|
|
28
|
+
</template>
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
## Open Source Libraries
|
|
32
|
+
|
|
33
|
+
Lew UI uses the following open source libraries:
|
|
34
|
+
|
|
35
|
+
- [tippy.js](https://atomiks.github.io/tippyjs/): For creating tooltips and popovers
|
|
36
|
+
- [Lucide](https://github.com/lucide-icons/lucide): Provides a clean and beautiful icon set
|
|
37
|
+
- [fancyapps](https://fancyapps.com/): For creating image galleries and carousels
|
|
38
|
+
- [VueUse](https://vueuse.org/): Collection of Vue Composition API utilities
|
|
39
|
+
- [Day.js](https://day.js.org/): Lightweight library for date manipulation
|
|
40
|
+
- [Yup](https://github.com/jquense/yup): Object schema validation library
|
|
41
|
+
|
|
42
|
+
We are grateful for the support these excellent open source projects provide to Lew UI.
|
|
43
|
+
|
|
44
|
+
## License
|
|
45
|
+
|
|
46
|
+
Lew UI is open source software licensed as MIT.
|
package/README.zh-CN.md
CHANGED
|
@@ -1,48 +1,48 @@
|
|
|
1
|
-
# Lew UI
|
|
2
|
-
|
|
3
|
-
一个用于 Vue3 的组件库。文档地址:https://lew.kamtao.com
|
|
4
|
-
|
|
5
|
-
[英文](./README.md) | 中文
|
|
6
|
-
|
|
7
|
-
## 安装
|
|
8
|
-
|
|
9
|
-
```bash
|
|
10
|
-
npm install lew-ui
|
|
11
|
-
```
|
|
12
|
-
|
|
13
|
-
## 如何使用
|
|
14
|
-
|
|
15
|
-
main.ts
|
|
16
|
-
|
|
17
|
-
```js
|
|
18
|
-
// main.ts
|
|
19
|
-
import 'lew-ui/style'
|
|
20
|
-
```
|
|
21
|
-
|
|
22
|
-
```vue
|
|
23
|
-
<script setup lang="ts">
|
|
24
|
-
// page.vue
|
|
25
|
-
import { LewButton } from 'lew-ui'
|
|
26
|
-
</script>
|
|
27
|
-
|
|
28
|
-
<template>
|
|
29
|
-
<lew-button text="提交" />
|
|
30
|
-
</template>
|
|
31
|
-
```
|
|
32
|
-
|
|
33
|
-
## 开源库声明
|
|
34
|
-
|
|
35
|
-
Lew UI 使用了以下开源库:
|
|
36
|
-
|
|
37
|
-
- [tippy.js](https://atomiks.github.io/tippyjs/): 用于创建工具提示和弹出框
|
|
38
|
-
- [Lucide](https://github.com/lucide-icons/lucide): 提供简洁美观的图标集
|
|
39
|
-
- [fancyapps](https://fancyapps.com/): 用于创建图片画廊和轮播
|
|
40
|
-
- [VueUse](https://vueuse.org/): Vue Composition API 实用工具集合
|
|
41
|
-
- [Day.js](https://day.js.org/): 轻量级日期处理库
|
|
42
|
-
- [Yup](https://github.com/jquense/yup): 对象模式验证库
|
|
43
|
-
|
|
44
|
-
我们感谢这些优秀的开源项目为 Lew UI 提供的支持。
|
|
45
|
-
|
|
46
|
-
## 许可证
|
|
47
|
-
|
|
48
|
-
Lew UI 是根据 MIT 许可证的开源软件。
|
|
1
|
+
# Lew UI
|
|
2
|
+
|
|
3
|
+
一个用于 Vue3 的组件库。文档地址:https://lew.kamtao.com
|
|
4
|
+
|
|
5
|
+
[英文](./README.md) | 中文
|
|
6
|
+
|
|
7
|
+
## 安装
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
npm install lew-ui
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## 如何使用
|
|
14
|
+
|
|
15
|
+
main.ts
|
|
16
|
+
|
|
17
|
+
```js
|
|
18
|
+
// main.ts
|
|
19
|
+
import 'lew-ui/style'
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
```vue
|
|
23
|
+
<script setup lang="ts">
|
|
24
|
+
// page.vue
|
|
25
|
+
import { LewButton } from 'lew-ui'
|
|
26
|
+
</script>
|
|
27
|
+
|
|
28
|
+
<template>
|
|
29
|
+
<lew-button text="提交" />
|
|
30
|
+
</template>
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
## 开源库声明
|
|
34
|
+
|
|
35
|
+
Lew UI 使用了以下开源库:
|
|
36
|
+
|
|
37
|
+
- [tippy.js](https://atomiks.github.io/tippyjs/): 用于创建工具提示和弹出框
|
|
38
|
+
- [Lucide](https://github.com/lucide-icons/lucide): 提供简洁美观的图标集
|
|
39
|
+
- [fancyapps](https://fancyapps.com/): 用于创建图片画廊和轮播
|
|
40
|
+
- [VueUse](https://vueuse.org/): Vue Composition API 实用工具集合
|
|
41
|
+
- [Day.js](https://day.js.org/): 轻量级日期处理库
|
|
42
|
+
- [Yup](https://github.com/jquense/yup): 对象模式验证库
|
|
43
|
+
|
|
44
|
+
我们感谢这些优秀的开源项目为 Lew UI 提供的支持。
|
|
45
|
+
|
|
46
|
+
## 许可证
|
|
47
|
+
|
|
48
|
+
Lew UI 是根据 MIT 许可证的开源软件。
|
|
@@ -121,10 +121,10 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
121
121
|
type: import('./props').ButtonType;
|
|
122
122
|
color: import('../../..').LewColor;
|
|
123
123
|
size: import('./props').ButtonSize;
|
|
124
|
+
loading: boolean;
|
|
124
125
|
text: string;
|
|
125
126
|
round: boolean;
|
|
126
127
|
disabled: boolean;
|
|
127
|
-
loading: boolean;
|
|
128
128
|
singleIcon: boolean;
|
|
129
129
|
dashed: boolean;
|
|
130
130
|
request: Function;
|
|
@@ -53,10 +53,16 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
53
53
|
description: string;
|
|
54
54
|
validator: (value: string) => boolean;
|
|
55
55
|
};
|
|
56
|
-
|
|
56
|
+
loadMethod: {
|
|
57
57
|
type: FunctionConstructor;
|
|
58
58
|
description: string;
|
|
59
59
|
};
|
|
60
|
+
loadMethodId: {
|
|
61
|
+
type: StringConstructor;
|
|
62
|
+
default: string;
|
|
63
|
+
hidden: boolean;
|
|
64
|
+
description: string;
|
|
65
|
+
};
|
|
60
66
|
readonly: {
|
|
61
67
|
type: BooleanConstructor;
|
|
62
68
|
default: boolean;
|
|
@@ -119,10 +125,16 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
119
125
|
description: string;
|
|
120
126
|
validator: (value: string) => boolean;
|
|
121
127
|
};
|
|
122
|
-
|
|
128
|
+
loadMethod: {
|
|
123
129
|
type: FunctionConstructor;
|
|
124
130
|
description: string;
|
|
125
131
|
};
|
|
132
|
+
loadMethodId: {
|
|
133
|
+
type: StringConstructor;
|
|
134
|
+
default: string;
|
|
135
|
+
hidden: boolean;
|
|
136
|
+
description: string;
|
|
137
|
+
};
|
|
126
138
|
readonly: {
|
|
127
139
|
type: BooleanConstructor;
|
|
128
140
|
default: boolean;
|
|
@@ -142,6 +154,7 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
142
154
|
multiple: boolean;
|
|
143
155
|
free: boolean;
|
|
144
156
|
trigger: import('../../..').CascaderTriggerType;
|
|
157
|
+
loadMethodId: string;
|
|
145
158
|
readonly: boolean;
|
|
146
159
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
147
160
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
@@ -76,10 +76,16 @@ export declare const cascaderProps: {
|
|
|
76
76
|
description: string;
|
|
77
77
|
validator: (value: string) => boolean;
|
|
78
78
|
};
|
|
79
|
-
|
|
79
|
+
loadMethod: {
|
|
80
80
|
type: FunctionConstructor;
|
|
81
81
|
description: string;
|
|
82
82
|
};
|
|
83
|
+
loadMethodId: {
|
|
84
|
+
type: StringConstructor;
|
|
85
|
+
default: string;
|
|
86
|
+
hidden: boolean;
|
|
87
|
+
description: string;
|
|
88
|
+
};
|
|
83
89
|
readonly: {
|
|
84
90
|
type: BooleanConstructor;
|
|
85
91
|
default: boolean;
|
|
@@ -143,10 +143,10 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
143
143
|
type: import('../../..').ButtonType;
|
|
144
144
|
color: import('../../..').LewColor;
|
|
145
145
|
size: import('../../..').ButtonSize;
|
|
146
|
+
loading: boolean;
|
|
146
147
|
text: string;
|
|
147
148
|
round: boolean;
|
|
148
149
|
disabled: boolean;
|
|
149
|
-
loading: boolean;
|
|
150
150
|
singleIcon: boolean;
|
|
151
151
|
dashed: boolean;
|
|
152
152
|
request: Function;
|
|
@@ -155,10 +155,10 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
155
155
|
type: import('../../..').ButtonType;
|
|
156
156
|
color: import('../../..').LewColor;
|
|
157
157
|
size: import('../../..').ButtonSize;
|
|
158
|
+
loading: boolean;
|
|
158
159
|
text: string;
|
|
159
160
|
round: boolean;
|
|
160
161
|
disabled: boolean;
|
|
161
|
-
loading: boolean;
|
|
162
162
|
singleIcon: boolean;
|
|
163
163
|
dashed: boolean;
|
|
164
164
|
request: Function;
|
|
@@ -86,9 +86,9 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
86
86
|
validator(value: string | number): boolean;
|
|
87
87
|
};
|
|
88
88
|
}>> & Readonly<{}>, {
|
|
89
|
+
direction: import('./props').FlexDirection;
|
|
89
90
|
x: import('./props').FlexAlignment;
|
|
90
91
|
y: import('./props').FlexAlignment;
|
|
91
|
-
direction: import('./props').FlexDirection;
|
|
92
92
|
mode: import('./props').FlexMode;
|
|
93
93
|
wrap: boolean;
|
|
94
94
|
gap: string | number;
|
|
@@ -52,6 +52,11 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
52
52
|
description: string;
|
|
53
53
|
hidden: boolean;
|
|
54
54
|
};
|
|
55
|
+
formMethods: {
|
|
56
|
+
type: PropType<Record<string, Function>>;
|
|
57
|
+
default: () => {};
|
|
58
|
+
description: string;
|
|
59
|
+
};
|
|
55
60
|
}>, {
|
|
56
61
|
getForm: () => {};
|
|
57
62
|
setForm: (value?: any) => void;
|
|
@@ -114,6 +119,11 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
114
119
|
description: string;
|
|
115
120
|
hidden: boolean;
|
|
116
121
|
};
|
|
122
|
+
formMethods: {
|
|
123
|
+
type: PropType<Record<string, Function>>;
|
|
124
|
+
default: () => {};
|
|
125
|
+
description: string;
|
|
126
|
+
};
|
|
117
127
|
}>> & Readonly<{
|
|
118
128
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
119
129
|
onMounted?: ((...args: any[]) => any) | undefined;
|
|
@@ -124,6 +134,7 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
124
134
|
options: Record<string, any>[];
|
|
125
135
|
disabled: boolean;
|
|
126
136
|
readonly: boolean;
|
|
137
|
+
formMethods: Record<string, Function>;
|
|
127
138
|
columns: string | number;
|
|
128
139
|
labelWidth: string | number;
|
|
129
140
|
id: string;
|
|
@@ -11,7 +11,7 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
11
11
|
description: string;
|
|
12
12
|
};
|
|
13
13
|
required: {
|
|
14
|
-
type: BooleanConstructor;
|
|
14
|
+
type: (BooleanConstructor | FunctionConstructor)[];
|
|
15
15
|
default: boolean;
|
|
16
16
|
description: string;
|
|
17
17
|
};
|
|
@@ -108,7 +108,7 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
108
108
|
description: string;
|
|
109
109
|
};
|
|
110
110
|
required: {
|
|
111
|
-
type: BooleanConstructor;
|
|
111
|
+
type: (BooleanConstructor | FunctionConstructor)[];
|
|
112
112
|
default: boolean;
|
|
113
113
|
description: string;
|
|
114
114
|
};
|
|
@@ -193,13 +193,13 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
193
193
|
props: Record<string, any>;
|
|
194
194
|
tips: string;
|
|
195
195
|
field: string;
|
|
196
|
+
direction: import('../../..').FormDirection;
|
|
196
197
|
label: string;
|
|
197
198
|
between: boolean;
|
|
198
|
-
direction: import('../../..').FormDirection;
|
|
199
199
|
width: string | number;
|
|
200
200
|
disabled: boolean;
|
|
201
201
|
readonly: boolean;
|
|
202
|
-
required: boolean;
|
|
202
|
+
required: boolean | Function;
|
|
203
203
|
labelWidth: string | number;
|
|
204
204
|
id: string;
|
|
205
205
|
as: string;
|
|
@@ -56,6 +56,11 @@ export declare const formProps: {
|
|
|
56
56
|
description: string;
|
|
57
57
|
hidden: boolean;
|
|
58
58
|
};
|
|
59
|
+
formMethods: {
|
|
60
|
+
type: PropType<Record<string, Function>>;
|
|
61
|
+
default: () => {};
|
|
62
|
+
description: string;
|
|
63
|
+
};
|
|
59
64
|
};
|
|
60
65
|
export declare const formItemProps: {
|
|
61
66
|
label: {
|
|
@@ -69,7 +74,7 @@ export declare const formItemProps: {
|
|
|
69
74
|
description: string;
|
|
70
75
|
};
|
|
71
76
|
required: {
|
|
72
|
-
type: BooleanConstructor;
|
|
77
|
+
type: (BooleanConstructor | FunctionConstructor)[];
|
|
73
78
|
default: boolean;
|
|
74
79
|
description: string;
|
|
75
80
|
};
|
|
@@ -122,9 +122,9 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
122
122
|
};
|
|
123
123
|
}>> & Readonly<{}>, {
|
|
124
124
|
lazy: boolean;
|
|
125
|
+
loading: boolean;
|
|
125
126
|
title: string;
|
|
126
127
|
width: string | number;
|
|
127
|
-
loading: boolean;
|
|
128
128
|
height: string | number;
|
|
129
129
|
alt: string;
|
|
130
130
|
objectFit: import('../../..').ObjectFit;
|
|
@@ -135,14 +135,14 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
135
135
|
onInput?: ((...args: any[]) => any) | undefined;
|
|
136
136
|
}>, {
|
|
137
137
|
size: import('../../..').LewSize;
|
|
138
|
+
max: string | number;
|
|
139
|
+
min: string | number;
|
|
140
|
+
step: string | number;
|
|
138
141
|
width: string | number;
|
|
139
142
|
placeholder: string;
|
|
140
143
|
disabled: boolean;
|
|
141
144
|
readonly: boolean;
|
|
142
|
-
max: string | number;
|
|
143
145
|
align: import('../../..').InputNumberAlign;
|
|
144
146
|
selectByFocus: boolean;
|
|
145
|
-
min: string | number;
|
|
146
|
-
step: string | number;
|
|
147
147
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
148
148
|
export default _default;
|
|
@@ -155,10 +155,10 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
155
155
|
type: import('../../..').ButtonType;
|
|
156
156
|
color: import('../../..').LewColor;
|
|
157
157
|
size: import('../../..').ButtonSize;
|
|
158
|
+
loading: boolean;
|
|
158
159
|
text: string;
|
|
159
160
|
round: boolean;
|
|
160
161
|
disabled: boolean;
|
|
161
|
-
loading: boolean;
|
|
162
162
|
singleIcon: boolean;
|
|
163
163
|
dashed: boolean;
|
|
164
164
|
request: Function;
|
|
@@ -167,10 +167,10 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
167
167
|
type: import('../../..').ButtonType;
|
|
168
168
|
color: import('../../..').LewColor;
|
|
169
169
|
size: import('../../..').ButtonSize;
|
|
170
|
+
loading: boolean;
|
|
170
171
|
text: string;
|
|
171
172
|
round: boolean;
|
|
172
173
|
disabled: boolean;
|
|
173
|
-
loading: boolean;
|
|
174
174
|
singleIcon: boolean;
|
|
175
175
|
dashed: boolean;
|
|
176
176
|
request: Function;
|
|
@@ -111,10 +111,10 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
111
111
|
type: import('../../..').ButtonType;
|
|
112
112
|
color: import('../../..').LewColor;
|
|
113
113
|
size: import('../../..').ButtonSize;
|
|
114
|
+
loading: boolean;
|
|
114
115
|
text: string;
|
|
115
116
|
round: boolean;
|
|
116
117
|
disabled: boolean;
|
|
117
|
-
loading: boolean;
|
|
118
118
|
singleIcon: boolean;
|
|
119
119
|
dashed: boolean;
|
|
120
120
|
request: Function;
|
|
@@ -123,10 +123,10 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
123
123
|
type: import('../../..').ButtonType;
|
|
124
124
|
color: import('../../..').LewColor;
|
|
125
125
|
size: import('../../..').ButtonSize;
|
|
126
|
+
loading: boolean;
|
|
126
127
|
text: string;
|
|
127
128
|
round: boolean;
|
|
128
129
|
disabled: boolean;
|
|
129
|
-
loading: boolean;
|
|
130
130
|
singleIcon: boolean;
|
|
131
131
|
dashed: boolean;
|
|
132
132
|
request: Function;
|
|
@@ -106,9 +106,9 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
106
106
|
onShow?: ((...args: any[]) => any) | undefined;
|
|
107
107
|
onHide?: ((...args: any[]) => any) | undefined;
|
|
108
108
|
}>, {
|
|
109
|
+
loading: boolean;
|
|
109
110
|
disabled: boolean;
|
|
110
111
|
trigger: import('../../..').PopoverTrigger;
|
|
111
|
-
loading: boolean;
|
|
112
112
|
placement: import('../../..').PopoverPlacement;
|
|
113
113
|
hideOnClick: string | boolean;
|
|
114
114
|
offset: number[];
|
|
@@ -48,7 +48,13 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
48
48
|
};
|
|
49
49
|
searchMethod: {
|
|
50
50
|
type: PropType<(params: import('../../..').SelectSearchMethodParams) => SelectOptions[]>;
|
|
51
|
-
default:
|
|
51
|
+
default: undefined;
|
|
52
|
+
description: string;
|
|
53
|
+
};
|
|
54
|
+
searchMethodId: {
|
|
55
|
+
type: StringConstructor;
|
|
56
|
+
default: string;
|
|
57
|
+
hidden: boolean;
|
|
52
58
|
description: string;
|
|
53
59
|
};
|
|
54
60
|
searchDelay: {
|
|
@@ -123,7 +129,13 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
123
129
|
};
|
|
124
130
|
searchMethod: {
|
|
125
131
|
type: PropType<(params: import('../../..').SelectSearchMethodParams) => SelectOptions[]>;
|
|
126
|
-
default:
|
|
132
|
+
default: undefined;
|
|
133
|
+
description: string;
|
|
134
|
+
};
|
|
135
|
+
searchMethodId: {
|
|
136
|
+
type: StringConstructor;
|
|
137
|
+
default: string;
|
|
138
|
+
hidden: boolean;
|
|
127
139
|
description: string;
|
|
128
140
|
};
|
|
129
141
|
searchDelay: {
|
|
@@ -169,6 +181,7 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
169
181
|
searchable: boolean;
|
|
170
182
|
searchDelay: number;
|
|
171
183
|
searchMethod: (params: import('../../..').SelectSearchMethodParams) => SelectOptions[];
|
|
184
|
+
searchMethodId: string;
|
|
172
185
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
173
186
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
174
187
|
export default _default;
|
|
@@ -57,7 +57,13 @@ export declare const selectProps: {
|
|
|
57
57
|
};
|
|
58
58
|
searchMethod: {
|
|
59
59
|
type: PropType<(params: SelectSearchMethodParams) => SelectOptions[]>;
|
|
60
|
-
default:
|
|
60
|
+
default: undefined;
|
|
61
|
+
description: string;
|
|
62
|
+
};
|
|
63
|
+
searchMethodId: {
|
|
64
|
+
type: StringConstructor;
|
|
65
|
+
default: string;
|
|
66
|
+
hidden: boolean;
|
|
61
67
|
description: string;
|
|
62
68
|
};
|
|
63
69
|
searchDelay: {
|
|
@@ -36,9 +36,10 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
36
36
|
description: string;
|
|
37
37
|
};
|
|
38
38
|
size: {
|
|
39
|
-
type: PropType<
|
|
39
|
+
type: PropType<import('../../..').LewSize>;
|
|
40
40
|
default: string;
|
|
41
41
|
description: string;
|
|
42
|
+
validator(value: import('../../..').LewSize): boolean;
|
|
42
43
|
};
|
|
43
44
|
itemHeight: {
|
|
44
45
|
type: NumberConstructor;
|
|
@@ -63,6 +64,12 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
63
64
|
}) => SelectMultipleOptions[];
|
|
64
65
|
description: string;
|
|
65
66
|
};
|
|
67
|
+
searchMethodId: {
|
|
68
|
+
type: StringConstructor;
|
|
69
|
+
default: string;
|
|
70
|
+
hidden: boolean;
|
|
71
|
+
description: string;
|
|
72
|
+
};
|
|
66
73
|
searchDelay: {
|
|
67
74
|
type: NumberConstructor;
|
|
68
75
|
default: number;
|
|
@@ -130,9 +137,10 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
130
137
|
description: string;
|
|
131
138
|
};
|
|
132
139
|
size: {
|
|
133
|
-
type: PropType<
|
|
140
|
+
type: PropType<import('../../..').LewSize>;
|
|
134
141
|
default: string;
|
|
135
142
|
description: string;
|
|
143
|
+
validator(value: import('../../..').LewSize): boolean;
|
|
136
144
|
};
|
|
137
145
|
itemHeight: {
|
|
138
146
|
type: NumberConstructor;
|
|
@@ -157,6 +165,12 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
157
165
|
}) => SelectMultipleOptions[];
|
|
158
166
|
description: string;
|
|
159
167
|
};
|
|
168
|
+
searchMethodId: {
|
|
169
|
+
type: StringConstructor;
|
|
170
|
+
default: string;
|
|
171
|
+
hidden: boolean;
|
|
172
|
+
description: string;
|
|
173
|
+
};
|
|
160
174
|
searchDelay: {
|
|
161
175
|
type: NumberConstructor;
|
|
162
176
|
default: number;
|
|
@@ -194,7 +208,7 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
194
208
|
onClear?: ((...args: any[]) => any) | undefined;
|
|
195
209
|
onDelete?: ((...args: any[]) => any) | undefined;
|
|
196
210
|
}>, {
|
|
197
|
-
size:
|
|
211
|
+
size: import('../../..').LewSize;
|
|
198
212
|
options: SelectMultipleOptions[];
|
|
199
213
|
placeholder: string;
|
|
200
214
|
disabled: boolean;
|
|
@@ -207,6 +221,7 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
207
221
|
searchable: boolean;
|
|
208
222
|
searchDelay: number;
|
|
209
223
|
searchMethod: (params: import('../../..').SelectSearchMultipleMethodParams) => SelectMultipleOptions[];
|
|
224
|
+
searchMethodId: string;
|
|
210
225
|
valueLayout: "text" | "tag";
|
|
211
226
|
valueTextSplit: string;
|
|
212
227
|
searchPlaceholder: string;
|