lew-ui 2.7.15 → 2.7.17
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/dist/_components/CommonIcon.vue.d.ts +4 -4
- package/dist/components/data/collapse/src/LewCollapse.vue.d.ts +9 -9
- package/dist/components/data/collapse/src/LewCollapseItem.vue.d.ts +9 -7
- package/dist/components/data/collapse/src/props.d.ts +9 -10
- package/dist/components/data/desc/src/LewDesc.vue.d.ts +62 -40
- package/dist/components/data/desc/src/LewDescItem.vue.d.ts +46 -26
- package/dist/components/data/desc/src/props.d.ts +51 -49
- package/dist/components/data/expand/src/LewExpand.vue.d.ts +5 -9
- package/dist/components/data/expand/src/props.d.ts +4 -5
- package/dist/components/data/pagination/src/LewPagination.vue.d.ts +14 -15
- package/dist/components/data/pagination/src/props.d.ts +12 -15
- package/dist/components/data/table/src/LewTable.vue.d.ts +26 -37
- package/dist/components/data/table/src/props.d.ts +16 -31
- package/dist/components/data/tree/src/LewTree.vue.d.ts +39 -48
- package/dist/components/data/tree/src/LewTreeItem.vue.d.ts +18 -30
- package/dist/components/data/tree/src/props.d.ts +29 -55
- package/dist/components/data/tree/src/transformTree.d.ts +5 -5
- package/dist/components/feedback/alert/src/LewAlert.vue.d.ts +15 -38
- package/dist/components/feedback/alert/src/props.d.ts +8 -18
- package/dist/components/feedback/drawer/src/LewDrawer.vue.d.ts +43 -55
- package/dist/components/feedback/drawer/src/props.d.ts +24 -27
- package/dist/components/feedback/empty/src/LewEmpty.vue.d.ts +61 -53
- package/dist/components/feedback/empty/src/props.d.ts +21 -26
- package/dist/components/feedback/modal/src/LewModal.vue.d.ts +44 -57
- package/dist/components/feedback/modal/src/props.d.ts +23 -28
- package/dist/components/feedback/popok/src/LewPopok.vue.d.ts +326 -271
- package/dist/components/feedback/popok/src/props.d.ts +37 -29
- package/dist/components/feedback/popover/src/LewPopover.vue.d.ts +45 -38
- package/dist/components/feedback/popover/src/props.d.ts +24 -21
- package/dist/components/form/cascader/src/LewCascader.vue.d.ts +179 -164
- package/dist/components/form/cascader/src/props.d.ts +30 -46
- package/dist/components/form/checkbox/src/LewCheckbox.vue.d.ts +23 -26
- package/dist/components/form/checkbox/src/LewCheckboxGroup.vue.d.ts +28 -37
- package/dist/components/form/checkbox/src/props.d.ts +26 -40
- package/dist/components/form/color-picker/src/LewColorPicker.vue.d.ts +17 -16
- package/dist/components/form/color-picker/src/props.d.ts +11 -9
- package/dist/components/form/date-picker/src/LewDate.vue.d.ts +2 -2
- package/dist/components/form/date-picker/src/LewDatePicker.vue.d.ts +90 -82
- package/dist/components/form/date-picker/src/props.d.ts +17 -24
- package/dist/components/form/date-range-picker/src/LewDateRange.vue.d.ts +6 -10
- package/dist/components/form/date-range-picker/src/LewDateRangePicker.vue.d.ts +93 -91
- package/dist/components/form/date-range-picker/src/props.d.ts +18 -22
- package/dist/components/form/form/src/LewForm.vue.d.ts +50 -55
- package/dist/components/form/form/src/LewFormItem.vue.d.ts +64 -65
- package/dist/components/form/form/src/props.d.ts +50 -54
- package/dist/components/form/index.d.ts +0 -1
- package/dist/components/form/input/src/LewInput.vue.d.ts +79 -83
- package/dist/components/form/input/src/props.d.ts +39 -46
- package/dist/components/form/input-number/src/LewInputNumber.vue.d.ts +39 -57
- package/dist/components/form/input-number/src/props.d.ts +21 -29
- package/dist/components/form/input-table/src/FormModal.vue.d.ts +67 -62
- package/dist/components/form/input-table/src/LewInputTable.vue.d.ts +177 -165
- package/dist/components/form/input-table/src/props.d.ts +39 -27
- package/dist/components/form/input-tag/src/LewInputTag.vue.d.ts +114 -116
- package/dist/components/form/input-tag/src/props.d.ts +15 -14
- package/dist/components/form/radio/src/LewRadio.vue.d.ts +22 -22
- package/dist/components/form/radio/src/LewRadioGroup.vue.d.ts +31 -27
- package/dist/components/form/radio/src/props.d.ts +26 -31
- package/dist/components/form/rate/src/LewRate.vue.d.ts +13 -13
- package/dist/components/form/rate/src/props.d.ts +8 -9
- package/dist/components/form/select/src/LewSelect.vue.d.ts +191 -175
- package/dist/components/form/select/src/props.d.ts +34 -51
- package/dist/components/form/select-multiple/src/LewSelectMultiple.vue.d.ts +318 -281
- package/dist/components/form/select-multiple/src/props.d.ts +34 -50
- package/dist/components/form/slider/src/LewSlider.vue.d.ts +34 -40
- package/dist/components/form/slider/src/props.d.ts +20 -28
- package/dist/components/form/slider-range/src/LewSliderRange.vue.d.ts +34 -40
- package/dist/components/form/slider-range/src/props.d.ts +18 -26
- package/dist/components/form/switch/src/LewSwitch.vue.d.ts +23 -25
- package/dist/components/form/switch/src/props.d.ts +9 -12
- package/dist/components/form/tabs/src/LewTabs.vue.d.ts +41 -43
- package/dist/components/form/tabs/src/props.d.ts +22 -29
- package/dist/components/form/textarea/src/LewTextarea.vue.d.ts +62 -66
- package/dist/components/form/textarea/src/props.d.ts +30 -32
- package/dist/components/form/tree-select/src/LewTreeSelect.vue.d.ts +301 -335
- package/dist/components/form/tree-select/src/props.d.ts +36 -66
- package/dist/components/form/upload/src/LewUpload.vue.d.ts +72 -59
- package/dist/components/form/upload/src/LewUploadByCard.vue.d.ts +9 -9
- package/dist/components/form/upload/src/LewUploadByList.vue.d.ts +9 -9
- package/dist/components/form/upload/src/props.d.ts +11 -24
- package/dist/components/general/avatar/src/LewAvatar.vue.d.ts +47 -34
- package/dist/components/general/avatar/src/props.d.ts +24 -21
- package/dist/components/general/badge/src/LewBadge.vue.d.ts +29 -21
- package/dist/components/general/badge/src/props.d.ts +16 -14
- package/dist/components/general/button/src/LewButton.vue.d.ts +48 -28
- package/dist/components/general/button/src/props.d.ts +25 -15
- package/dist/components/general/flex/src/LewFlex.vue.d.ts +40 -29
- package/dist/components/general/flex/src/props.d.ts +20 -20
- package/dist/components/general/image/src/LewImage.vue.d.ts +41 -31
- package/dist/components/general/image/src/props.d.ts +21 -16
- package/dist/components/general/index.d.ts +0 -1
- package/dist/components/general/mark/src/LewMark.vue.d.ts +9 -5
- package/dist/components/general/mark/src/props.d.ts +6 -4
- package/dist/components/general/tag/src/LewTag.vue.d.ts +38 -14
- package/dist/components/general/tag/src/props.d.ts +21 -15
- package/dist/components/general/text-trim/src/LewTextTrim.vue.d.ts +30 -22
- package/dist/components/general/text-trim/src/props.d.ts +17 -13
- package/dist/components/general/title/src/LewTitle.vue.d.ts +15 -11
- package/dist/components/general/title/src/props.d.ts +10 -8
- package/dist/components/navigation/action-box/src/LewActionBox.vue.d.ts +29 -22
- package/dist/components/navigation/action-box/src/props.d.ts +16 -15
- package/dist/components/navigation/back-top/src/LewBackTop.vue.d.ts +11 -19
- package/dist/components/navigation/back-top/src/props.d.ts +6 -6
- package/dist/components/navigation/breadcrumb/src/LewBreadcrumb.vue.d.ts +18 -17
- package/dist/components/navigation/breadcrumb/src/props.d.ts +10 -13
- package/dist/components/{general → navigation}/dropdown/src/LewDropdown.vue.d.ts +150 -134
- package/dist/components/navigation/dropdown/src/props.d.ts +34 -0
- package/dist/components/navigation/index.d.ts +1 -0
- package/dist/components/navigation/menu/src/LewMenu.vue.d.ts +13 -17
- package/dist/components/navigation/menu/src/props.d.ts +7 -19
- package/dist/components/navigation/menu-tree/src/LewMenuTree.vue.d.ts +26 -25
- package/dist/components/navigation/menu-tree/src/LewMenuTreeItem.vue.d.ts +31 -40
- package/dist/components/navigation/menu-tree/src/props.d.ts +28 -35
- package/dist/components/navigation/steps/src/LewSteps.vue.d.ts +20 -21
- package/dist/components/navigation/steps/src/props.d.ts +14 -20
- package/dist/directives/backtop/index.d.ts +4 -1
- package/dist/directives/context-menu/index.d.ts +21 -1
- package/dist/directives/context-menu/src/LewContextMenu.vue.d.ts +12 -8
- package/dist/directives/context-menu/src/props.d.ts +16 -0
- package/dist/directives/hover-menu/index.d.ts +56 -1
- package/dist/directives/loading/index.d.ts +4 -1
- package/dist/directives/tooltip/index.d.ts +4 -1
- package/dist/index.css +1 -1
- package/dist/index.js +4354 -3773
- package/dist/index.umd.cjs +6 -6
- package/dist/locals/zh.d.ts +6 -0
- package/dist/methods/dialog/src/LewDialog.vue.d.ts +130 -297
- package/dist/methods/dialog/src/index.d.ts +2 -23
- package/dist/methods/dialog/src/props.d.ts +34 -16
- package/dist/methods/message/src/index.d.ts +2 -1
- package/dist/methods/notification/src/index.d.ts +2 -44
- package/dist/render/components/CommonIcon.vue.d.ts +77 -0
- package/dist/{components/form/input-tree/src/LewInputTree.vue.d.ts → render/components/RenderComponent.vue.d.ts} +16 -23
- package/dist/render/components/index.d.ts +2 -0
- package/dist/{utils/render.d.ts → render/index.d.ts} +4 -3
- package/dist/types/base.d.ts +13 -0
- package/dist/types/components.d.ts +253 -0
- package/dist/types/directives.d.ts +32 -0
- package/dist/types/index.d.ts +5 -27
- package/dist/types/methods.d.ts +95 -0
- package/dist/types/model.d.ts +1 -0
- package/dist/utils/index.d.ts +2 -6
- package/dist/utils/select.d.ts +6 -0
- package/dist/validators/index.d.ts +93 -0
- package/dist/validators/typeValues.d.ts +26 -0
- package/package.json +6 -5
- package/dist/components/form/input-tree/index.d.ts +0 -2
- package/dist/components/form/input-tree/src/props.d.ts +0 -17
- package/dist/components/form/select/src/util.d.ts +0 -7
- package/dist/components/general/dropdown/src/props.d.ts +0 -30
- package/dist/constants/index.d.ts +0 -8
- package/dist/directives/backtop/src/index.d.ts +0 -5
- package/dist/directives/context-menu/src/index.d.ts +0 -61
- package/dist/directives/hover-menu/src/index.d.ts +0 -56
- package/dist/directives/loading/src/index.d.ts +0 -4
- package/dist/directives/tooltip/src/index.d.ts +0 -4
- /package/dist/components/{general → navigation}/dropdown/index.d.ts +0 -0
- /package/dist/methods/notification/src/{components/NotificationContainer.vue.d.ts → NotificationContainer.vue.d.ts} +0 -0
- /package/dist/methods/notification/src/{components/NotificationItem.vue.d.ts → NotificationItem.vue.d.ts} +0 -0
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.
|
|
@@ -65,13 +65,13 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
65
65
|
default: string;
|
|
66
66
|
};
|
|
67
67
|
}>> & Readonly<{}>, {
|
|
68
|
+
loading: boolean;
|
|
69
|
+
fill: string;
|
|
68
70
|
type: string;
|
|
69
|
-
dark: boolean;
|
|
70
71
|
color: string;
|
|
71
|
-
strokeWidth: number;
|
|
72
72
|
size: number;
|
|
73
|
-
|
|
73
|
+
dark: boolean;
|
|
74
|
+
strokeWidth: number;
|
|
74
75
|
speed: number;
|
|
75
|
-
fill: string;
|
|
76
76
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
77
77
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { LewCollapseModelValue } from '../../../../types';
|
|
2
2
|
declare function __VLS_template(): {
|
|
3
3
|
attrs: Partial<{}>;
|
|
4
4
|
slots: {
|
|
@@ -12,26 +12,26 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
12
12
|
width: {
|
|
13
13
|
type: PropType<import("csstype").Property.Width>;
|
|
14
14
|
default: string;
|
|
15
|
-
validator(value:
|
|
15
|
+
validator: (value: string | number | undefined) => boolean;
|
|
16
16
|
};
|
|
17
17
|
modelValue: {
|
|
18
|
-
type: globalThis.PropType<
|
|
18
|
+
type: globalThis.PropType<LewCollapseModelValue>;
|
|
19
19
|
};
|
|
20
20
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
21
|
-
change: (value:
|
|
22
|
-
"update:modelValue": (value:
|
|
21
|
+
change: (value: LewCollapseModelValue) => any;
|
|
22
|
+
"update:modelValue": (value: LewCollapseModelValue) => any;
|
|
23
23
|
}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
24
24
|
width: {
|
|
25
25
|
type: PropType<import("csstype").Property.Width>;
|
|
26
26
|
default: string;
|
|
27
|
-
validator(value:
|
|
27
|
+
validator: (value: string | number | undefined) => boolean;
|
|
28
28
|
};
|
|
29
29
|
modelValue: {
|
|
30
|
-
type: globalThis.PropType<
|
|
30
|
+
type: globalThis.PropType<LewCollapseModelValue>;
|
|
31
31
|
};
|
|
32
32
|
}>> & Readonly<{
|
|
33
|
-
onChange?: ((value:
|
|
34
|
-
"onUpdate:modelValue"?: ((value:
|
|
33
|
+
onChange?: ((value: LewCollapseModelValue) => any) | undefined;
|
|
34
|
+
"onUpdate:modelValue"?: ((value: LewCollapseModelValue) => any) | undefined;
|
|
35
35
|
}>, {
|
|
36
36
|
width: import("csstype").Property.Width<0 | (string & {})>;
|
|
37
37
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
@@ -4,8 +4,8 @@ declare function __VLS_template(): {
|
|
|
4
4
|
title?(_: {
|
|
5
5
|
props: {
|
|
6
6
|
readonly radius: import("csstype").Property.BorderRadius<0 | (string & {})>;
|
|
7
|
-
readonly collapseKey?: string | number | undefined;
|
|
8
7
|
readonly title?: string | undefined;
|
|
8
|
+
readonly collapseKey?: string | undefined;
|
|
9
9
|
};
|
|
10
10
|
}): any;
|
|
11
11
|
default?(_: {}): any;
|
|
@@ -16,17 +16,18 @@ declare function __VLS_template(): {
|
|
|
16
16
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
17
17
|
declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
|
|
18
18
|
collapseKey: {
|
|
19
|
-
type:
|
|
19
|
+
type: StringConstructor;
|
|
20
20
|
required: boolean;
|
|
21
|
-
validator(value:
|
|
21
|
+
validator: (value: any) => boolean;
|
|
22
22
|
};
|
|
23
23
|
title: {
|
|
24
24
|
type: StringConstructor;
|
|
25
|
+
validator: (value: any) => boolean;
|
|
25
26
|
};
|
|
26
27
|
radius: {
|
|
27
28
|
type: PropType<import("csstype").Property.BorderRadius>;
|
|
28
29
|
default: string;
|
|
29
|
-
validator(value:
|
|
30
|
+
validator: (value: string | number | undefined) => boolean;
|
|
30
31
|
};
|
|
31
32
|
modelValue: {
|
|
32
33
|
type: globalThis.PropType<boolean>;
|
|
@@ -36,17 +37,18 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
36
37
|
"update:modelValue": (value: boolean) => any;
|
|
37
38
|
}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
38
39
|
collapseKey: {
|
|
39
|
-
type:
|
|
40
|
+
type: StringConstructor;
|
|
40
41
|
required: boolean;
|
|
41
|
-
validator(value:
|
|
42
|
+
validator: (value: any) => boolean;
|
|
42
43
|
};
|
|
43
44
|
title: {
|
|
44
45
|
type: StringConstructor;
|
|
46
|
+
validator: (value: any) => boolean;
|
|
45
47
|
};
|
|
46
48
|
radius: {
|
|
47
49
|
type: PropType<import("csstype").Property.BorderRadius>;
|
|
48
50
|
default: string;
|
|
49
|
-
validator(value:
|
|
51
|
+
validator: (value: string | number | undefined) => boolean;
|
|
50
52
|
};
|
|
51
53
|
modelValue: {
|
|
52
54
|
type: globalThis.PropType<boolean>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Property } from 'csstype';
|
|
2
|
-
import {
|
|
2
|
+
import { ExtractPublicPropTypes, PropType } from 'vue';
|
|
3
3
|
export declare const collapseModel: {
|
|
4
4
|
modelValue: {
|
|
5
|
-
type: PropType<string[] | string
|
|
5
|
+
type: PropType<string[] | string>;
|
|
6
6
|
};
|
|
7
7
|
};
|
|
8
8
|
export declare const collapseItemModel: {
|
|
@@ -11,29 +11,28 @@ export declare const collapseItemModel: {
|
|
|
11
11
|
default: boolean;
|
|
12
12
|
};
|
|
13
13
|
};
|
|
14
|
-
export type CollapseModelValue = (string | number)[] | string | number | null;
|
|
15
|
-
export type CollapseItemModelValue = boolean;
|
|
16
14
|
export declare const collapseProps: {
|
|
17
15
|
width: {
|
|
18
16
|
type: PropType<Property.Width>;
|
|
19
17
|
default: string;
|
|
20
|
-
validator(value:
|
|
18
|
+
validator: (value: string | number | undefined) => boolean;
|
|
21
19
|
};
|
|
22
20
|
};
|
|
23
21
|
export declare const collapseItemProps: {
|
|
24
22
|
collapseKey: {
|
|
25
|
-
type:
|
|
23
|
+
type: StringConstructor;
|
|
26
24
|
required: boolean;
|
|
27
|
-
validator(value:
|
|
25
|
+
validator: (value: any) => boolean;
|
|
28
26
|
};
|
|
29
27
|
title: {
|
|
30
28
|
type: StringConstructor;
|
|
29
|
+
validator: (value: any) => boolean;
|
|
31
30
|
};
|
|
32
31
|
radius: {
|
|
33
32
|
type: PropType<Property.BorderRadius>;
|
|
34
33
|
default: string;
|
|
35
|
-
validator(value:
|
|
34
|
+
validator: (value: string | number | undefined) => boolean;
|
|
36
35
|
};
|
|
37
36
|
};
|
|
38
|
-
export type
|
|
39
|
-
export type
|
|
37
|
+
export type LewCollapseProps = ExtractPublicPropTypes<typeof collapseProps>;
|
|
38
|
+
export type LewCollapseItemProps = ExtractPublicPropTypes<typeof collapseItemProps>;
|
|
@@ -1,132 +1,154 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { LewDescOption } from '../../../../types';
|
|
2
2
|
declare const _default: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
|
|
3
3
|
options: {
|
|
4
|
-
type: PropType<
|
|
4
|
+
type: PropType<LewDescOption[]>;
|
|
5
5
|
required: boolean;
|
|
6
|
-
|
|
6
|
+
typePopKeys: string[];
|
|
7
|
+
validator: (value: any[] | undefined) => boolean;
|
|
7
8
|
};
|
|
8
9
|
dataSource: {
|
|
9
10
|
type: PropType<Record<string, any>>;
|
|
11
|
+
required: boolean;
|
|
10
12
|
default: () => {};
|
|
13
|
+
validator: (value: unknown) => boolean;
|
|
11
14
|
};
|
|
12
15
|
size: {
|
|
13
|
-
type: PropType<import('
|
|
16
|
+
type: PropType<import('../../../../types').LewSize>;
|
|
14
17
|
default: string;
|
|
15
|
-
|
|
18
|
+
typeValues: import('../../../../types').LewSize[];
|
|
19
|
+
validator: (value: any) => boolean;
|
|
16
20
|
};
|
|
17
21
|
labelX: {
|
|
18
22
|
type: PropType<import("csstype").Property.TextAlign>;
|
|
19
23
|
default: string;
|
|
24
|
+
typeValues: import('../../../../types').LewXAlignment[];
|
|
25
|
+
validator: (value: any) => boolean;
|
|
20
26
|
};
|
|
21
27
|
valueX: {
|
|
22
28
|
type: PropType<import("csstype").Property.TextAlign>;
|
|
23
29
|
default: string;
|
|
30
|
+
typeValues: import('../../../../types').LewXAlignment[];
|
|
31
|
+
validator: (value: any) => boolean;
|
|
24
32
|
};
|
|
25
33
|
gap: {
|
|
26
|
-
type: PropType<
|
|
27
|
-
default:
|
|
28
|
-
validator(value: string | number)
|
|
34
|
+
type: PropType<import("csstype").Property.Gap>;
|
|
35
|
+
default: string;
|
|
36
|
+
validator: (value: string | number | undefined) => boolean;
|
|
29
37
|
};
|
|
30
38
|
width: {
|
|
31
|
-
type: PropType<import("csstype").Property.Width
|
|
32
|
-
validator(value:
|
|
39
|
+
type: PropType<import("csstype").Property.Width>;
|
|
40
|
+
validator: (value: string | number | undefined) => boolean;
|
|
33
41
|
};
|
|
34
42
|
columns: {
|
|
35
|
-
type: PropType<number
|
|
43
|
+
type: PropType<number>;
|
|
36
44
|
default: number;
|
|
37
|
-
validator(value: number |
|
|
45
|
+
validator: (value: number | undefined) => boolean;
|
|
38
46
|
};
|
|
39
47
|
labelWidth: {
|
|
40
|
-
type: PropType<import("csstype").Property.Width
|
|
48
|
+
type: PropType<import("csstype").Property.Width>;
|
|
41
49
|
default: string;
|
|
42
|
-
validator(value:
|
|
50
|
+
validator: (value: string | number | undefined) => boolean;
|
|
43
51
|
};
|
|
44
52
|
direction: {
|
|
45
|
-
type: PropType<import('
|
|
53
|
+
type: PropType<import('../../../../types').LewDirection>;
|
|
46
54
|
default: string;
|
|
47
|
-
|
|
55
|
+
typeValues: import('../../../../types').LewDirection[];
|
|
56
|
+
validator: (value: any) => boolean;
|
|
48
57
|
};
|
|
49
58
|
id: {
|
|
50
59
|
type: StringConstructor;
|
|
51
60
|
hidden: boolean;
|
|
61
|
+
validator: (value: any) => boolean;
|
|
52
62
|
};
|
|
53
63
|
bordered: {
|
|
54
64
|
type: BooleanConstructor;
|
|
55
65
|
default: boolean;
|
|
66
|
+
validator: (value: any) => boolean;
|
|
56
67
|
};
|
|
57
68
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
58
69
|
ready: () => any;
|
|
59
70
|
}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
60
71
|
options: {
|
|
61
|
-
type: PropType<
|
|
72
|
+
type: PropType<LewDescOption[]>;
|
|
62
73
|
required: boolean;
|
|
63
|
-
|
|
74
|
+
typePopKeys: string[];
|
|
75
|
+
validator: (value: any[] | undefined) => boolean;
|
|
64
76
|
};
|
|
65
77
|
dataSource: {
|
|
66
78
|
type: PropType<Record<string, any>>;
|
|
79
|
+
required: boolean;
|
|
67
80
|
default: () => {};
|
|
81
|
+
validator: (value: unknown) => boolean;
|
|
68
82
|
};
|
|
69
83
|
size: {
|
|
70
|
-
type: PropType<import('
|
|
84
|
+
type: PropType<import('../../../../types').LewSize>;
|
|
71
85
|
default: string;
|
|
72
|
-
|
|
86
|
+
typeValues: import('../../../../types').LewSize[];
|
|
87
|
+
validator: (value: any) => boolean;
|
|
73
88
|
};
|
|
74
89
|
labelX: {
|
|
75
90
|
type: PropType<import("csstype").Property.TextAlign>;
|
|
76
91
|
default: string;
|
|
92
|
+
typeValues: import('../../../../types').LewXAlignment[];
|
|
93
|
+
validator: (value: any) => boolean;
|
|
77
94
|
};
|
|
78
95
|
valueX: {
|
|
79
96
|
type: PropType<import("csstype").Property.TextAlign>;
|
|
80
97
|
default: string;
|
|
98
|
+
typeValues: import('../../../../types').LewXAlignment[];
|
|
99
|
+
validator: (value: any) => boolean;
|
|
81
100
|
};
|
|
82
101
|
gap: {
|
|
83
|
-
type: PropType<
|
|
84
|
-
default:
|
|
85
|
-
validator(value: string | number)
|
|
102
|
+
type: PropType<import("csstype").Property.Gap>;
|
|
103
|
+
default: string;
|
|
104
|
+
validator: (value: string | number | undefined) => boolean;
|
|
86
105
|
};
|
|
87
106
|
width: {
|
|
88
|
-
type: PropType<import("csstype").Property.Width
|
|
89
|
-
validator(value:
|
|
107
|
+
type: PropType<import("csstype").Property.Width>;
|
|
108
|
+
validator: (value: string | number | undefined) => boolean;
|
|
90
109
|
};
|
|
91
110
|
columns: {
|
|
92
|
-
type: PropType<number
|
|
111
|
+
type: PropType<number>;
|
|
93
112
|
default: number;
|
|
94
|
-
validator(value: number |
|
|
113
|
+
validator: (value: number | undefined) => boolean;
|
|
95
114
|
};
|
|
96
115
|
labelWidth: {
|
|
97
|
-
type: PropType<import("csstype").Property.Width
|
|
116
|
+
type: PropType<import("csstype").Property.Width>;
|
|
98
117
|
default: string;
|
|
99
|
-
validator(value:
|
|
118
|
+
validator: (value: string | number | undefined) => boolean;
|
|
100
119
|
};
|
|
101
120
|
direction: {
|
|
102
|
-
type: PropType<import('
|
|
121
|
+
type: PropType<import('../../../../types').LewDirection>;
|
|
103
122
|
default: string;
|
|
104
|
-
|
|
123
|
+
typeValues: import('../../../../types').LewDirection[];
|
|
124
|
+
validator: (value: any) => boolean;
|
|
105
125
|
};
|
|
106
126
|
id: {
|
|
107
127
|
type: StringConstructor;
|
|
108
128
|
hidden: boolean;
|
|
129
|
+
validator: (value: any) => boolean;
|
|
109
130
|
};
|
|
110
131
|
bordered: {
|
|
111
132
|
type: BooleanConstructor;
|
|
112
133
|
default: boolean;
|
|
134
|
+
validator: (value: any) => boolean;
|
|
113
135
|
};
|
|
114
136
|
}>> & Readonly<{
|
|
115
137
|
onReady?: (() => any) | undefined;
|
|
116
138
|
}>, {
|
|
117
|
-
size: import('
|
|
118
|
-
direction: import('
|
|
119
|
-
columns:
|
|
120
|
-
gap:
|
|
139
|
+
size: import('../../../../types').LewSize;
|
|
140
|
+
direction: import('../../../../types').LewDirection;
|
|
141
|
+
columns: number;
|
|
142
|
+
gap: import("csstype").Property.Gap<0 | (string & {})>;
|
|
143
|
+
labelWidth: import("csstype").Property.Width<0 | (string & {})>;
|
|
121
144
|
dataSource: Record<string, any>;
|
|
122
145
|
labelX: import("csstype").Property.TextAlign;
|
|
123
146
|
valueX: import("csstype").Property.TextAlign;
|
|
124
|
-
labelWidth: number | "-moz-initial" | "inherit" | "initial" | "revert" | "revert-layer" | "unset" | "-moz-fit-content" | "-moz-max-content" | "-moz-min-content" | "-webkit-fit-content" | "-webkit-max-content" | "auto" | "fit-content" | "intrinsic" | "max-content" | "min-content" | "min-intrinsic" | (string & {});
|
|
125
147
|
bordered: boolean;
|
|
126
148
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
127
149
|
descLabelRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<globalThis.ExtractPropTypes<{
|
|
128
150
|
size: {
|
|
129
|
-
type: PropType<import('
|
|
151
|
+
type: PropType<import('../../../../types').LewSize>;
|
|
130
152
|
default: string;
|
|
131
153
|
};
|
|
132
154
|
padding: {
|
|
@@ -139,7 +161,7 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
139
161
|
}>> & Readonly<{}>, {
|
|
140
162
|
getWidth: () => number | undefined;
|
|
141
163
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
142
|
-
size: import('
|
|
164
|
+
size: import('../../../../types').LewSize;
|
|
143
165
|
padding: number;
|
|
144
166
|
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
145
167
|
formLabelRef: HTMLDivElement;
|
|
@@ -152,7 +174,7 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
152
174
|
Defaults: {};
|
|
153
175
|
}, Readonly<globalThis.ExtractPropTypes<{
|
|
154
176
|
size: {
|
|
155
|
-
type: PropType<import('
|
|
177
|
+
type: PropType<import('../../../../types').LewSize>;
|
|
156
178
|
default: string;
|
|
157
179
|
};
|
|
158
180
|
padding: {
|
|
@@ -165,7 +187,7 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
165
187
|
}>> & Readonly<{}>, {
|
|
166
188
|
getWidth: () => number | undefined;
|
|
167
189
|
}, {}, {}, {}, {
|
|
168
|
-
size: import('
|
|
190
|
+
size: import('../../../../types').LewSize;
|
|
169
191
|
padding: number;
|
|
170
192
|
}> | null;
|
|
171
193
|
}, HTMLDivElement>;
|
|
@@ -3,139 +3,159 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
3
3
|
label: {
|
|
4
4
|
type: StringConstructor;
|
|
5
5
|
required: boolean;
|
|
6
|
+
validator: (value: any) => boolean;
|
|
6
7
|
};
|
|
7
8
|
field: {
|
|
8
9
|
type: StringConstructor;
|
|
9
10
|
required: boolean;
|
|
11
|
+
validator: (value: any) => boolean;
|
|
10
12
|
};
|
|
11
13
|
size: {
|
|
12
14
|
type: PropType<LewSize>;
|
|
13
15
|
default: string;
|
|
14
|
-
|
|
16
|
+
typeValues: LewSize[];
|
|
17
|
+
validator: (value: any) => boolean;
|
|
15
18
|
};
|
|
16
19
|
bordered: {
|
|
17
20
|
type: BooleanConstructor;
|
|
18
21
|
default: boolean;
|
|
22
|
+
validator: (value: any) => boolean;
|
|
19
23
|
};
|
|
20
24
|
width: {
|
|
21
|
-
type: PropType<import("csstype").Property.Width
|
|
22
|
-
validator(value:
|
|
25
|
+
type: PropType<import("csstype").Property.Width>;
|
|
26
|
+
validator: (value: string | number | undefined) => boolean;
|
|
23
27
|
};
|
|
24
28
|
labelWidth: {
|
|
25
|
-
type: PropType<import("csstype").Property.Width
|
|
29
|
+
type: PropType<import("csstype").Property.Width>;
|
|
26
30
|
default: string;
|
|
27
|
-
validator(value:
|
|
31
|
+
validator: (value: string | number | undefined) => boolean;
|
|
28
32
|
};
|
|
29
33
|
direction: {
|
|
30
|
-
type: PropType<import('../../../..').
|
|
34
|
+
type: PropType<import('../../../..').LewDirection>;
|
|
31
35
|
default: string;
|
|
32
|
-
|
|
36
|
+
typeValues: import('../../../..').LewDirection[];
|
|
37
|
+
validator: (value: any) => boolean;
|
|
33
38
|
};
|
|
34
39
|
tips: {
|
|
35
40
|
type: StringConstructor;
|
|
41
|
+
validator: (value: any) => boolean;
|
|
36
42
|
};
|
|
37
43
|
type: {
|
|
38
44
|
type: PropType<"text-trim">;
|
|
45
|
+
validator: (value: any) => boolean;
|
|
39
46
|
};
|
|
40
47
|
labelX: {
|
|
41
48
|
type: PropType<import("csstype").Property.TextAlign>;
|
|
42
49
|
default: string;
|
|
50
|
+
typeValues: import('../../../..').LewXAlignment[];
|
|
51
|
+
validator: (value: any) => boolean;
|
|
43
52
|
};
|
|
44
53
|
valueX: {
|
|
45
54
|
type: PropType<import("csstype").Property.TextAlign>;
|
|
46
55
|
default: string;
|
|
56
|
+
typeValues: import('../../../..').LewXAlignment[];
|
|
57
|
+
validator: (value: any) => boolean;
|
|
47
58
|
};
|
|
48
59
|
gridArea: {
|
|
49
60
|
type: StringConstructor;
|
|
61
|
+
validator: (value: string | undefined) => boolean;
|
|
50
62
|
};
|
|
51
63
|
customRender: {
|
|
52
|
-
type:
|
|
53
|
-
field: string;
|
|
54
|
-
label: string;
|
|
55
|
-
dataSource: Record<string, any>;
|
|
56
|
-
}) => any>;
|
|
64
|
+
type: null;
|
|
57
65
|
};
|
|
58
66
|
id: {
|
|
59
67
|
type: StringConstructor;
|
|
60
68
|
hidden: boolean;
|
|
69
|
+
validator: (value: any) => boolean;
|
|
61
70
|
};
|
|
62
71
|
dataSource: {
|
|
63
72
|
type: PropType<Record<string, any>>;
|
|
64
73
|
default: () => {};
|
|
74
|
+
validator: (value: unknown) => boolean;
|
|
65
75
|
hidden: boolean;
|
|
66
76
|
};
|
|
67
77
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
68
78
|
label: {
|
|
69
79
|
type: StringConstructor;
|
|
70
80
|
required: boolean;
|
|
81
|
+
validator: (value: any) => boolean;
|
|
71
82
|
};
|
|
72
83
|
field: {
|
|
73
84
|
type: StringConstructor;
|
|
74
85
|
required: boolean;
|
|
86
|
+
validator: (value: any) => boolean;
|
|
75
87
|
};
|
|
76
88
|
size: {
|
|
77
89
|
type: PropType<LewSize>;
|
|
78
90
|
default: string;
|
|
79
|
-
|
|
91
|
+
typeValues: LewSize[];
|
|
92
|
+
validator: (value: any) => boolean;
|
|
80
93
|
};
|
|
81
94
|
bordered: {
|
|
82
95
|
type: BooleanConstructor;
|
|
83
96
|
default: boolean;
|
|
97
|
+
validator: (value: any) => boolean;
|
|
84
98
|
};
|
|
85
99
|
width: {
|
|
86
|
-
type: PropType<import("csstype").Property.Width
|
|
87
|
-
validator(value:
|
|
100
|
+
type: PropType<import("csstype").Property.Width>;
|
|
101
|
+
validator: (value: string | number | undefined) => boolean;
|
|
88
102
|
};
|
|
89
103
|
labelWidth: {
|
|
90
|
-
type: PropType<import("csstype").Property.Width
|
|
104
|
+
type: PropType<import("csstype").Property.Width>;
|
|
91
105
|
default: string;
|
|
92
|
-
validator(value:
|
|
106
|
+
validator: (value: string | number | undefined) => boolean;
|
|
93
107
|
};
|
|
94
108
|
direction: {
|
|
95
|
-
type: PropType<import('../../../..').
|
|
109
|
+
type: PropType<import('../../../..').LewDirection>;
|
|
96
110
|
default: string;
|
|
97
|
-
|
|
111
|
+
typeValues: import('../../../..').LewDirection[];
|
|
112
|
+
validator: (value: any) => boolean;
|
|
98
113
|
};
|
|
99
114
|
tips: {
|
|
100
115
|
type: StringConstructor;
|
|
116
|
+
validator: (value: any) => boolean;
|
|
101
117
|
};
|
|
102
118
|
type: {
|
|
103
119
|
type: PropType<"text-trim">;
|
|
120
|
+
validator: (value: any) => boolean;
|
|
104
121
|
};
|
|
105
122
|
labelX: {
|
|
106
123
|
type: PropType<import("csstype").Property.TextAlign>;
|
|
107
124
|
default: string;
|
|
125
|
+
typeValues: import('../../../..').LewXAlignment[];
|
|
126
|
+
validator: (value: any) => boolean;
|
|
108
127
|
};
|
|
109
128
|
valueX: {
|
|
110
129
|
type: PropType<import("csstype").Property.TextAlign>;
|
|
111
130
|
default: string;
|
|
131
|
+
typeValues: import('../../../..').LewXAlignment[];
|
|
132
|
+
validator: (value: any) => boolean;
|
|
112
133
|
};
|
|
113
134
|
gridArea: {
|
|
114
135
|
type: StringConstructor;
|
|
136
|
+
validator: (value: string | undefined) => boolean;
|
|
115
137
|
};
|
|
116
138
|
customRender: {
|
|
117
|
-
type:
|
|
118
|
-
field: string;
|
|
119
|
-
label: string;
|
|
120
|
-
dataSource: Record<string, any>;
|
|
121
|
-
}) => any>;
|
|
139
|
+
type: null;
|
|
122
140
|
};
|
|
123
141
|
id: {
|
|
124
142
|
type: StringConstructor;
|
|
125
143
|
hidden: boolean;
|
|
144
|
+
validator: (value: any) => boolean;
|
|
126
145
|
};
|
|
127
146
|
dataSource: {
|
|
128
147
|
type: PropType<Record<string, any>>;
|
|
129
148
|
default: () => {};
|
|
149
|
+
validator: (value: unknown) => boolean;
|
|
130
150
|
hidden: boolean;
|
|
131
151
|
};
|
|
132
152
|
}>> & Readonly<{}>, {
|
|
133
153
|
size: LewSize;
|
|
134
|
-
direction: import('../../../..').
|
|
154
|
+
direction: import('../../../..').LewDirection;
|
|
155
|
+
labelWidth: import("csstype").Property.Width<0 | (string & {})>;
|
|
135
156
|
dataSource: Record<string, any>;
|
|
136
157
|
labelX: import("csstype").Property.TextAlign;
|
|
137
158
|
valueX: import("csstype").Property.TextAlign;
|
|
138
|
-
labelWidth: number | "-moz-initial" | "inherit" | "initial" | "revert" | "revert-layer" | "unset" | "-moz-fit-content" | "-moz-max-content" | "-moz-min-content" | "-webkit-fit-content" | "-webkit-max-content" | "auto" | "fit-content" | "intrinsic" | "max-content" | "min-content" | "min-intrinsic" | (string & {});
|
|
139
159
|
bordered: boolean;
|
|
140
160
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
141
161
|
descItemRef: HTMLDivElement;
|