lew-ui 2.5.15 → 2.6.0
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 -45
- package/README.zh-CN.md +48 -47
- package/dist/components/badge/src/LewBadge.vue.d.ts +44 -0
- package/dist/components/badge/src/props.d.ts +20 -0
- package/dist/components/breadcrumb/src/LewBreadcrumb.vue.d.ts +5 -3
- package/dist/components/breadcrumb/src/props.d.ts +2 -1
- package/dist/components/cascader/src/LewCascader.vue.d.ts +13 -3
- package/dist/components/cascader/src/props.d.ts +6 -6
- package/dist/components/date-picker/src/LewDatePicker.vue.d.ts +13 -3
- package/dist/components/date-picker/src/date.d.ts +0 -1
- package/dist/components/date-picker/src/props.d.ts +6 -1
- package/dist/components/date-range-picker/src/LewDateRangePicker.vue.d.ts +15 -6
- package/dist/components/date-range-picker/src/props.d.ts +7 -2
- package/dist/components/drawer/src/LewDrawer.vue.d.ts +1 -1
- package/dist/components/dropdown/src/LewDropdown.vue.d.ts +2 -0
- package/dist/components/dropdown/src/props.d.ts +1 -0
- package/dist/components/flex/src/LewFlex.vue.d.ts +18 -24
- package/dist/components/flex/src/props.d.ts +10 -12
- package/dist/components/form/src/LewFormItem.vue.d.ts +1 -1
- package/dist/components/image/src/LewImage.vue.d.ts +8 -27
- package/dist/components/image/src/props.d.ts +4 -13
- package/dist/components/input/src/LewInput.vue.d.ts +14 -4
- package/dist/components/input/src/props.d.ts +9 -4
- package/dist/components/input-number/src/LewInputNumber.vue.d.ts +4 -0
- package/dist/components/input-number/src/props.d.ts +2 -0
- package/dist/components/input-tag/src/LewInputTag.vue.d.ts +30 -5
- package/dist/components/input-tag/src/props.d.ts +11 -1
- package/dist/components/mark/src/LewMark.vue.d.ts +7 -13
- package/dist/components/mark/src/props.d.ts +1 -4
- package/dist/components/menu/src/props.d.ts +0 -1
- package/dist/components/menu-tree/src/LewMenuTreeItem.vue.d.ts +13 -13
- package/dist/components/menu-tree/src/props.d.ts +6 -6
- package/dist/components/pagination/src/LewPagination.vue.d.ts +13 -2
- package/dist/components/pagination/src/props.d.ts +6 -9
- package/dist/components/select/src/LewSelect.vue.d.ts +15 -3
- package/dist/components/select/src/props.d.ts +6 -1
- package/dist/components/select-multiple/src/LewSelectMultiple.vue.d.ts +13 -3
- package/dist/components/select-multiple/src/props.d.ts +6 -1
- package/dist/components/steps/src/LewSteps.vue.d.ts +11 -0
- package/dist/components/steps/src/props.d.ts +5 -0
- package/dist/components/tag/src/LewTag.vue.d.ts +2 -15
- package/dist/components/tag/src/props.d.ts +1 -7
- package/dist/components/text-trim/src/LewTextTrim.vue.d.ts +12 -24
- package/dist/components/text-trim/src/props.d.ts +6 -12
- package/dist/components/textarea/src/LewTextarea.vue.d.ts +3 -8
- package/dist/components/textarea/src/props.d.ts +2 -2
- package/dist/components/title/src/LewTitle.vue.d.ts +11 -0
- package/dist/components/title/src/props.d.ts +5 -0
- package/dist/components/tree-select/src/props.d.ts +0 -5
- package/dist/directives/context-menu/src/index.d.ts +0 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.mjs +7675 -1576
- package/dist/index.umd.js +19 -4
- package/dist/locals/en.d.ts +46 -0
- package/dist/locals/index.d.ts +8 -0
- package/dist/locals/zh.d.ts +56 -0
- package/dist/style.css +1 -1
- package/dist/utils/index.d.ts +13 -0
- package/package.json +3 -2
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,45 +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
|
-
- [VueUse](https://vueuse.org/): Collection of Vue Composition API utilities
|
|
38
|
-
- [Day.js](https://day.js.org/): Lightweight library for date manipulation
|
|
39
|
-
- [Yup](https://github.com/jquense/yup): Object schema validation library
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
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
|
+
- [VueUse](https://vueuse.org/): Collection of Vue Composition API utilities
|
|
38
|
+
- [Day.js](https://day.js.org/): Lightweight library for date manipulation
|
|
39
|
+
- [Yup](https://github.com/jquense/yup): Object schema validation library
|
|
40
|
+
- [vue-virt-list](https://github.com/kolarorz/vue-virt-list): Virtual list
|
|
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,47 +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
|
-
- [VueUse](https://vueuse.org/): Vue Composition API 实用工具集合
|
|
40
|
-
- [Day.js](https://day.js.org/): 轻量级日期处理库
|
|
41
|
-
- [Yup](https://github.com/jquense/yup): 对象模式验证库
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
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
|
+
- [VueUse](https://vueuse.org/): Vue Composition API 实用工具集合
|
|
40
|
+
- [Day.js](https://day.js.org/): 轻量级日期处理库
|
|
41
|
+
- [Yup](https://github.com/jquense/yup): 对象模式验证库
|
|
42
|
+
- [vue-virt-list](https://github.com/kolarorz/vue-virt-list): 虚拟列表
|
|
43
|
+
|
|
44
|
+
我们感谢这些优秀的开源项目为 Lew UI 提供的支持。
|
|
45
|
+
|
|
46
|
+
## 许可证
|
|
47
|
+
|
|
48
|
+
Lew UI 是根据 MIT 许可证的开源软件。
|
|
@@ -2,6 +2,26 @@ declare function __VLS_template(): {
|
|
|
2
2
|
default?(_: {}): any;
|
|
3
3
|
};
|
|
4
4
|
declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
|
|
5
|
+
text: {
|
|
6
|
+
type: StringConstructor;
|
|
7
|
+
default: string;
|
|
8
|
+
description: string;
|
|
9
|
+
};
|
|
10
|
+
offset: {
|
|
11
|
+
type: ArrayConstructor;
|
|
12
|
+
default: () => number[];
|
|
13
|
+
description: string;
|
|
14
|
+
};
|
|
15
|
+
processing: {
|
|
16
|
+
type: BooleanConstructor;
|
|
17
|
+
default: boolean;
|
|
18
|
+
description: string;
|
|
19
|
+
};
|
|
20
|
+
max: {
|
|
21
|
+
type: NumberConstructor;
|
|
22
|
+
default: number;
|
|
23
|
+
description: string;
|
|
24
|
+
};
|
|
5
25
|
color: {
|
|
6
26
|
type: StringConstructor;
|
|
7
27
|
default: string;
|
|
@@ -15,6 +35,26 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
15
35
|
validator: (value: string | number) => boolean;
|
|
16
36
|
};
|
|
17
37
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
38
|
+
text: {
|
|
39
|
+
type: StringConstructor;
|
|
40
|
+
default: string;
|
|
41
|
+
description: string;
|
|
42
|
+
};
|
|
43
|
+
offset: {
|
|
44
|
+
type: ArrayConstructor;
|
|
45
|
+
default: () => number[];
|
|
46
|
+
description: string;
|
|
47
|
+
};
|
|
48
|
+
processing: {
|
|
49
|
+
type: BooleanConstructor;
|
|
50
|
+
default: boolean;
|
|
51
|
+
description: string;
|
|
52
|
+
};
|
|
53
|
+
max: {
|
|
54
|
+
type: NumberConstructor;
|
|
55
|
+
default: number;
|
|
56
|
+
description: string;
|
|
57
|
+
};
|
|
18
58
|
color: {
|
|
19
59
|
type: StringConstructor;
|
|
20
60
|
default: string;
|
|
@@ -30,6 +70,10 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
30
70
|
}>> & Readonly<{}>, {
|
|
31
71
|
color: string;
|
|
32
72
|
value: string | number;
|
|
73
|
+
max: number;
|
|
74
|
+
text: string;
|
|
75
|
+
processing: boolean;
|
|
76
|
+
offset: unknown[];
|
|
33
77
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
34
78
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
35
79
|
export default _default;
|
|
@@ -2,6 +2,26 @@ import { ExtractPropTypes } from 'vue';
|
|
|
2
2
|
|
|
3
3
|
export type BadgeColor = 'red' | 'orange' | 'yellow' | 'green' | 'mint' | 'teal' | 'black' | 'cyan' | 'blue' | 'indigo' | 'purple' | 'pink' | 'gray' | 'brown' | 'success' | 'normal' | 'warning' | 'error' | 'info' | 'primary';
|
|
4
4
|
export declare const badgeProps: {
|
|
5
|
+
text: {
|
|
6
|
+
type: StringConstructor;
|
|
7
|
+
default: string;
|
|
8
|
+
description: string;
|
|
9
|
+
};
|
|
10
|
+
offset: {
|
|
11
|
+
type: ArrayConstructor;
|
|
12
|
+
default: () => number[];
|
|
13
|
+
description: string;
|
|
14
|
+
};
|
|
15
|
+
processing: {
|
|
16
|
+
type: BooleanConstructor;
|
|
17
|
+
default: boolean;
|
|
18
|
+
description: string;
|
|
19
|
+
};
|
|
20
|
+
max: {
|
|
21
|
+
type: NumberConstructor;
|
|
22
|
+
default: number;
|
|
23
|
+
description: string;
|
|
24
|
+
};
|
|
5
25
|
color: {
|
|
6
26
|
type: StringConstructor;
|
|
7
27
|
default: string;
|
|
@@ -5,9 +5,10 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
5
5
|
description: string;
|
|
6
6
|
validator(value: unknown): boolean;
|
|
7
7
|
};
|
|
8
|
-
|
|
8
|
+
separator: {
|
|
9
9
|
type: StringConstructor;
|
|
10
10
|
default: string;
|
|
11
|
+
typeDesc: string;
|
|
11
12
|
description: string;
|
|
12
13
|
validator(value: string): boolean;
|
|
13
14
|
};
|
|
@@ -20,9 +21,10 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
20
21
|
description: string;
|
|
21
22
|
validator(value: unknown): boolean;
|
|
22
23
|
};
|
|
23
|
-
|
|
24
|
+
separator: {
|
|
24
25
|
type: StringConstructor;
|
|
25
26
|
default: string;
|
|
27
|
+
typeDesc: string;
|
|
26
28
|
description: string;
|
|
27
29
|
validator(value: string): boolean;
|
|
28
30
|
};
|
|
@@ -30,6 +32,6 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
30
32
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
31
33
|
}>, {
|
|
32
34
|
options: import('./props').BreadcrumbOption[];
|
|
33
|
-
|
|
35
|
+
separator: string;
|
|
34
36
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
35
37
|
export default _default;
|
|
@@ -13,9 +13,10 @@ export declare const breadcrumbProps: {
|
|
|
13
13
|
description: string;
|
|
14
14
|
validator(value: unknown): boolean;
|
|
15
15
|
};
|
|
16
|
-
|
|
16
|
+
separator: {
|
|
17
17
|
type: StringConstructor;
|
|
18
18
|
default: string;
|
|
19
|
+
typeDesc: string;
|
|
19
20
|
description: string;
|
|
20
21
|
validator(value: string): boolean;
|
|
21
22
|
};
|
|
@@ -11,11 +11,16 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
11
11
|
description: string;
|
|
12
12
|
validator: (value: CascaderOptions[]) => boolean;
|
|
13
13
|
};
|
|
14
|
-
|
|
14
|
+
width: {
|
|
15
15
|
type: StringConstructor;
|
|
16
16
|
default: string;
|
|
17
17
|
description: string;
|
|
18
18
|
};
|
|
19
|
+
placeholder: {
|
|
20
|
+
type: StringConstructor;
|
|
21
|
+
defaultLocale: boolean;
|
|
22
|
+
description: string;
|
|
23
|
+
};
|
|
19
24
|
disabled: {
|
|
20
25
|
type: BooleanConstructor;
|
|
21
26
|
default: boolean;
|
|
@@ -83,11 +88,16 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
83
88
|
description: string;
|
|
84
89
|
validator: (value: CascaderOptions[]) => boolean;
|
|
85
90
|
};
|
|
86
|
-
|
|
91
|
+
width: {
|
|
87
92
|
type: StringConstructor;
|
|
88
93
|
default: string;
|
|
89
94
|
description: string;
|
|
90
95
|
};
|
|
96
|
+
placeholder: {
|
|
97
|
+
type: StringConstructor;
|
|
98
|
+
defaultLocale: boolean;
|
|
99
|
+
description: string;
|
|
100
|
+
};
|
|
91
101
|
disabled: {
|
|
92
102
|
type: BooleanConstructor;
|
|
93
103
|
default: boolean;
|
|
@@ -146,11 +156,11 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
146
156
|
onClear?: ((...args: any[]) => any) | undefined;
|
|
147
157
|
}>, {
|
|
148
158
|
size: import('../../..').LewSize;
|
|
159
|
+
width: string;
|
|
149
160
|
disabled: boolean;
|
|
150
161
|
trigger: import('../../..').CascaderTriggerType;
|
|
151
162
|
options: CascaderOptions[];
|
|
152
163
|
readonly: boolean;
|
|
153
|
-
placeholder: string;
|
|
154
164
|
clearable: boolean;
|
|
155
165
|
showAllLevels: boolean;
|
|
156
166
|
multiple: boolean;
|
|
@@ -23,22 +23,22 @@ export declare const cascaderModel: {
|
|
|
23
23
|
};
|
|
24
24
|
};
|
|
25
25
|
export declare const cascaderProps: {
|
|
26
|
-
modelValue: {
|
|
27
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
28
|
-
default: string;
|
|
29
|
-
description: string;
|
|
30
|
-
};
|
|
31
26
|
options: {
|
|
32
27
|
type: PropType<CascaderOptions[]>;
|
|
33
28
|
default: () => never[];
|
|
34
29
|
description: string;
|
|
35
30
|
validator: (value: CascaderOptions[]) => boolean;
|
|
36
31
|
};
|
|
37
|
-
|
|
32
|
+
width: {
|
|
38
33
|
type: StringConstructor;
|
|
39
34
|
default: string;
|
|
40
35
|
description: string;
|
|
41
36
|
};
|
|
37
|
+
placeholder: {
|
|
38
|
+
type: StringConstructor;
|
|
39
|
+
defaultLocale: boolean;
|
|
40
|
+
description: string;
|
|
41
|
+
};
|
|
42
42
|
disabled: {
|
|
43
43
|
type: BooleanConstructor;
|
|
44
44
|
default: boolean;
|
|
@@ -11,9 +11,14 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
11
11
|
description: string;
|
|
12
12
|
validator(value: import('../../..').LewSize): boolean;
|
|
13
13
|
};
|
|
14
|
+
width: {
|
|
15
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
16
|
+
default: string;
|
|
17
|
+
description: string;
|
|
18
|
+
};
|
|
14
19
|
placeholder: {
|
|
15
20
|
type: StringConstructor;
|
|
16
|
-
|
|
21
|
+
defaultLocale: boolean;
|
|
17
22
|
description: string;
|
|
18
23
|
};
|
|
19
24
|
clearable: {
|
|
@@ -56,9 +61,14 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
56
61
|
description: string;
|
|
57
62
|
validator(value: import('../../..').LewSize): boolean;
|
|
58
63
|
};
|
|
64
|
+
width: {
|
|
65
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
66
|
+
default: string;
|
|
67
|
+
description: string;
|
|
68
|
+
};
|
|
59
69
|
placeholder: {
|
|
60
70
|
type: StringConstructor;
|
|
61
|
-
|
|
71
|
+
defaultLocale: boolean;
|
|
62
72
|
description: string;
|
|
63
73
|
};
|
|
64
74
|
clearable: {
|
|
@@ -87,9 +97,9 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
87
97
|
onClear?: ((...args: any[]) => any) | undefined;
|
|
88
98
|
}>, {
|
|
89
99
|
size: import('../../..').LewSize;
|
|
100
|
+
width: string | number;
|
|
90
101
|
disabled: boolean;
|
|
91
102
|
readonly: boolean;
|
|
92
|
-
placeholder: string;
|
|
93
103
|
clearable: boolean;
|
|
94
104
|
valueFormat: string;
|
|
95
105
|
presets: import('../../..').DatePickerPresetsOption[];
|
|
@@ -25,9 +25,14 @@ export declare const datePickerProps: {
|
|
|
25
25
|
description: string;
|
|
26
26
|
validator(value: LewSize): boolean;
|
|
27
27
|
};
|
|
28
|
+
width: {
|
|
29
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
30
|
+
default: string;
|
|
31
|
+
description: string;
|
|
32
|
+
};
|
|
28
33
|
placeholder: {
|
|
29
34
|
type: StringConstructor;
|
|
30
|
-
|
|
35
|
+
defaultLocale: boolean;
|
|
31
36
|
description: string;
|
|
32
37
|
};
|
|
33
38
|
clearable: {
|
|
@@ -29,14 +29,19 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
29
29
|
description: string;
|
|
30
30
|
validator(value: LewSize): boolean;
|
|
31
31
|
};
|
|
32
|
+
width: {
|
|
33
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
34
|
+
default: string;
|
|
35
|
+
description: string;
|
|
36
|
+
};
|
|
32
37
|
placeholderStart: {
|
|
33
38
|
type: StringConstructor;
|
|
34
|
-
|
|
39
|
+
defaultLocale: boolean;
|
|
35
40
|
description: string;
|
|
36
41
|
};
|
|
37
42
|
placeholderEnd: {
|
|
38
43
|
type: StringConstructor;
|
|
39
|
-
|
|
44
|
+
defaultLocale: boolean;
|
|
40
45
|
description: string;
|
|
41
46
|
};
|
|
42
47
|
clearable: {
|
|
@@ -85,14 +90,19 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
85
90
|
description: string;
|
|
86
91
|
validator(value: LewSize): boolean;
|
|
87
92
|
};
|
|
93
|
+
width: {
|
|
94
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
95
|
+
default: string;
|
|
96
|
+
description: string;
|
|
97
|
+
};
|
|
88
98
|
placeholderStart: {
|
|
89
99
|
type: StringConstructor;
|
|
90
|
-
|
|
100
|
+
defaultLocale: boolean;
|
|
91
101
|
description: string;
|
|
92
102
|
};
|
|
93
103
|
placeholderEnd: {
|
|
94
104
|
type: StringConstructor;
|
|
95
|
-
|
|
105
|
+
defaultLocale: boolean;
|
|
96
106
|
description: string;
|
|
97
107
|
};
|
|
98
108
|
clearable: {
|
|
@@ -115,13 +125,12 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
115
125
|
onClear?: ((...args: any[]) => any) | undefined;
|
|
116
126
|
}>, {
|
|
117
127
|
size: LewSize;
|
|
128
|
+
width: string | number;
|
|
118
129
|
disabled: boolean;
|
|
119
130
|
readonly: boolean;
|
|
120
131
|
clearable: boolean;
|
|
121
132
|
valueFormat: string;
|
|
122
133
|
startKey: string;
|
|
123
134
|
endKey: string;
|
|
124
|
-
placeholderStart: string;
|
|
125
|
-
placeholderEnd: string;
|
|
126
135
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
127
136
|
export default _default;
|
|
@@ -32,14 +32,19 @@ export declare const dateRangePickerProps: {
|
|
|
32
32
|
description: string;
|
|
33
33
|
validator(value: LewSize): boolean;
|
|
34
34
|
};
|
|
35
|
+
width: {
|
|
36
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
37
|
+
default: string;
|
|
38
|
+
description: string;
|
|
39
|
+
};
|
|
35
40
|
placeholderStart: {
|
|
36
41
|
type: StringConstructor;
|
|
37
|
-
|
|
42
|
+
defaultLocale: boolean;
|
|
38
43
|
description: string;
|
|
39
44
|
};
|
|
40
45
|
placeholderEnd: {
|
|
41
46
|
type: StringConstructor;
|
|
42
|
-
|
|
47
|
+
defaultLocale: boolean;
|
|
43
48
|
description: string;
|
|
44
49
|
};
|
|
45
50
|
clearable: {
|
|
@@ -137,6 +137,7 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
137
137
|
title: string;
|
|
138
138
|
width: string | number;
|
|
139
139
|
height: string | number;
|
|
140
|
+
position: string;
|
|
140
141
|
zIndex: number;
|
|
141
142
|
hideFooter: boolean;
|
|
142
143
|
closeByEsc: boolean;
|
|
@@ -165,7 +166,6 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
165
166
|
request: Function;
|
|
166
167
|
};
|
|
167
168
|
closeOnClickOverlay: boolean;
|
|
168
|
-
position: string;
|
|
169
169
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
170
170
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
171
171
|
export default _default;
|
|
@@ -20,6 +20,7 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
20
20
|
type: PropType<DropdownOptions[]>;
|
|
21
21
|
default: () => never[];
|
|
22
22
|
description: string;
|
|
23
|
+
typeDesc: string;
|
|
23
24
|
validator(value: DropdownOptions[]): boolean;
|
|
24
25
|
};
|
|
25
26
|
}>, {
|
|
@@ -44,6 +45,7 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
44
45
|
type: PropType<DropdownOptions[]>;
|
|
45
46
|
default: () => never[];
|
|
46
47
|
description: string;
|
|
48
|
+
typeDesc: string;
|
|
47
49
|
validator(value: DropdownOptions[]): boolean;
|
|
48
50
|
};
|
|
49
51
|
}>> & Readonly<{
|