lew-ui 2.7.7 → 2.7.9
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/{collapse → data/collapse}/src/LewCollapse.vue.d.ts +3 -7
- package/dist/components/{collapse → data/collapse}/src/LewCollapseItem.vue.d.ts +8 -8
- package/dist/components/{collapse → data/collapse}/src/props.d.ts +16 -12
- package/dist/components/{desc → data/desc}/src/LewDesc.vue.d.ts +16 -16
- package/dist/components/{desc → data/desc}/src/LewDescItem.vue.d.ts +11 -11
- package/dist/components/{desc → data/desc}/src/props.d.ts +1 -1
- package/dist/components/data/index.d.ts +6 -0
- package/dist/components/{pagination → data/pagination}/src/LewPagination.vue.d.ts +10 -10
- package/dist/components/{pagination → data/pagination}/src/props.d.ts +1 -1
- package/dist/components/{table → data/table}/src/LewTable.vue.d.ts +16 -16
- package/dist/components/{table → data/table}/src/props.d.ts +1 -1
- package/dist/components/{tree → data/tree}/src/LewTree.vue.d.ts +10 -10
- package/dist/components/{tree → data/tree}/src/LewTreeItem.vue.d.ts +8 -8
- package/dist/components/{tree → data/tree}/src/props.d.ts +3 -3
- package/dist/components/{tree → data/tree}/src/transformTree.d.ts +2 -2
- package/dist/components/{alert → feedback/alert}/src/LewAlert.vue.d.ts +2 -2
- package/dist/components/{alert → feedback/alert}/src/props.d.ts +1 -1
- package/dist/components/{drawer → feedback/drawer}/src/LewDrawer.vue.d.ts +7 -7
- package/dist/components/{drawer → feedback/drawer}/src/props.d.ts +1 -1
- package/dist/components/{empty → feedback/empty}/src/LewEmpty.vue.d.ts +7 -7
- package/dist/components/feedback/index.d.ts +6 -0
- package/dist/components/{modal → feedback/modal}/src/LewModal.vue.d.ts +9 -9
- package/dist/components/{modal → feedback/modal}/src/props.d.ts +1 -1
- package/dist/components/{popok → feedback/popok}/src/LewPopok.vue.d.ts +110 -110
- package/dist/components/{popover → feedback/popover}/src/LewPopover.vue.d.ts +11 -11
- package/dist/components/{cascader → form/cascader}/src/LewCascader.vue.d.ts +58 -58
- package/dist/components/{cascader → form/cascader}/src/props.d.ts +3 -3
- package/dist/components/{checkbox → form/checkbox}/src/LewCheckbox.vue.d.ts +6 -6
- package/dist/components/{checkbox → form/checkbox}/src/LewCheckboxGroup.vue.d.ts +11 -11
- package/dist/components/{checkbox → form/checkbox}/src/props.d.ts +1 -1
- package/dist/components/{color-picker → form/color-picker}/src/LewColorPicker.vue.d.ts +5 -5
- package/dist/components/{color-picker → form/color-picker}/src/props.d.ts +1 -1
- package/dist/components/{date-picker → form/date-picker}/src/LewDatePicker.vue.d.ts +34 -34
- package/dist/components/{date-picker → form/date-picker}/src/props.d.ts +1 -1
- package/dist/components/{date-range-picker → form/date-range-picker}/src/LewDateRangePicker.vue.d.ts +25 -25
- package/dist/components/{date-range-picker → form/date-range-picker}/src/props.d.ts +1 -1
- package/dist/components/form/form/index.d.ts +3 -0
- package/dist/components/form/{src → form/src}/LewForm.vue.d.ts +13 -13
- package/dist/components/form/{src → form/src}/LewFormItem.vue.d.ts +13 -13
- package/dist/components/form/{src → form/src}/LewGetLabelWidth.vue.d.ts +1 -1
- package/dist/components/form/{src → form/src}/props.d.ts +1 -1
- package/dist/components/form/index.d.ts +22 -3
- package/dist/components/{input → form/input}/src/LewInput.vue.d.ts +22 -22
- package/dist/components/{input → form/input}/src/props.d.ts +1 -1
- package/dist/components/{input-number → form/input-number}/src/LewInputNumber.vue.d.ts +11 -11
- package/dist/components/{input-number → form/input-number}/src/props.d.ts +1 -1
- package/dist/components/{input-table → form/input-table}/src/FormModal.vue.d.ts +13 -13
- package/dist/components/{input-table → form/input-table}/src/LewInputTable.vue.d.ts +52 -52
- package/dist/components/{input-table → form/input-table}/src/props.d.ts +1 -1
- package/dist/components/{input-tag → form/input-tag}/src/LewInputTag.vue.d.ts +33 -33
- package/dist/components/{radio → form/radio}/src/LewRadio.vue.d.ts +6 -6
- package/dist/components/{radio → form/radio}/src/LewRadioGroup.vue.d.ts +11 -11
- package/dist/components/{radio → form/radio}/src/props.d.ts +1 -1
- package/dist/components/{rate → form/rate}/src/LewRate.vue.d.ts +5 -5
- package/dist/components/{rate → form/rate}/src/props.d.ts +1 -1
- package/dist/components/{select → form/select}/src/LewSelect.vue.d.ts +68 -68
- package/dist/components/{select → form/select}/src/props.d.ts +3 -3
- package/dist/components/{select-multiple → form/select-multiple}/src/LewSelectMultiple.vue.d.ts +105 -105
- package/dist/components/{select-multiple → form/select-multiple}/src/props.d.ts +3 -3
- package/dist/components/{slider → form/slider}/src/LewSlider.vue.d.ts +6 -6
- package/dist/components/{slider → form/slider}/src/props.d.ts +1 -1
- package/dist/components/{slider-range → form/slider-range}/src/LewSliderRange.vue.d.ts +6 -6
- package/dist/components/{slider-range → form/slider-range}/src/props.d.ts +1 -1
- package/dist/components/{switch → form/switch}/src/LewSwitch.vue.d.ts +6 -6
- package/dist/components/{switch → form/switch}/src/props.d.ts +1 -1
- package/dist/components/{textarea → form/textarea}/src/LewTextarea.vue.d.ts +10 -10
- package/dist/components/{textarea → form/textarea}/src/props.d.ts +1 -1
- package/dist/components/{tree-select → form/tree-select}/src/LewTreeSelect.vue.d.ts +172 -172
- package/dist/components/{tree-select → form/tree-select}/src/props.d.ts +4 -4
- package/dist/components/{upload → form/upload}/src/LewUpload.vue.d.ts +40 -40
- package/dist/components/{upload → form/upload}/src/LewUploadByCard.vue.d.ts +5 -5
- package/dist/components/{upload → form/upload}/src/LewUploadByList.vue.d.ts +5 -5
- package/dist/components/{upload → form/upload}/src/props.d.ts +1 -1
- package/dist/components/{avatar → general/avatar}/src/LewAvatar.vue.d.ts +5 -5
- package/dist/components/{button → general/button}/src/LewButton.vue.d.ts +8 -8
- package/dist/components/{button → general/button}/src/props.d.ts +1 -1
- package/dist/components/{dropdown → general/dropdown}/src/LewDropdown.vue.d.ts +59 -59
- package/dist/components/{dropdown → general/dropdown}/src/props.d.ts +1 -1
- package/dist/components/{image → general/image}/src/LewImage.vue.d.ts +5 -5
- package/dist/components/general/index.d.ts +10 -0
- package/dist/components/{mark → general/mark}/src/LewMark.vue.d.ts +5 -5
- package/dist/components/{tag → general/tag}/src/LewTag.vue.d.ts +11 -11
- package/dist/components/{tag → general/tag}/src/props.d.ts +1 -1
- package/dist/components/index.d.ts +4 -48
- package/dist/components/{action-box → navigation/action-box}/src/LewActionBox.vue.d.ts +8 -8
- package/dist/components/{action-box → navigation/action-box}/src/props.d.ts +1 -1
- package/dist/components/navigation/index.d.ts +6 -0
- package/dist/components/{menu → navigation/menu}/src/props.d.ts +1 -1
- package/dist/components/{menu-tree → navigation/menu-tree}/src/LewMenuTreeItem.vue.d.ts +12 -12
- package/dist/components/{menu-tree → navigation/menu-tree}/src/props.d.ts +1 -1
- package/dist/components/{steps → navigation/steps}/src/LewSteps.vue.d.ts +10 -10
- package/dist/index.css +1 -1
- package/dist/index.js +21371 -21227
- package/dist/index.umd.cjs +5 -5
- package/dist/methods/dialog/src/LewDialog.vue.d.ts +28 -29
- package/dist/utils/RenderComponent.vue.d.ts +31 -0
- package/dist/utils/index.d.ts +1 -2
- package/dist/utils/render.d.ts +13 -0
- package/package.json +8 -4
- package/dist/components/{collapse → data/collapse}/index.d.ts +0 -0
- package/dist/components/{desc → data/desc}/index.d.ts +0 -0
- package/dist/components/{expand → data/expand}/index.d.ts +0 -0
- package/dist/components/{expand → data/expand}/src/LewExpand.vue.d.ts +0 -0
- package/dist/components/{expand → data/expand}/src/props.d.ts +0 -0
- package/dist/components/{pagination → data/pagination}/index.d.ts +0 -0
- package/dist/components/{table → data/table}/index.d.ts +0 -0
- package/dist/components/{table → data/table}/src/SortIcon.vue.d.ts +0 -0
- package/dist/components/{tree → data/tree}/index.d.ts +0 -0
- package/dist/components/{alert → feedback/alert}/index.d.ts +0 -0
- package/dist/components/{drawer → feedback/drawer}/index.d.ts +0 -0
- package/dist/components/{empty → feedback/empty}/index.d.ts +0 -0
- package/dist/components/{empty → feedback/empty}/src/props.d.ts +0 -0
- package/dist/components/{modal → feedback/modal}/index.d.ts +0 -0
- package/dist/components/{popok → feedback/popok}/index.d.ts +0 -0
- package/dist/components/{popok → feedback/popok}/src/props.d.ts +0 -0
- package/dist/components/{popover → feedback/popover}/index.d.ts +0 -0
- package/dist/components/{popover → feedback/popover}/src/props.d.ts +0 -0
- package/dist/components/{cascader → form/cascader}/index.d.ts +0 -0
- package/dist/components/{checkbox → form/checkbox}/index.d.ts +0 -0
- package/dist/components/{color-picker → form/color-picker}/index.d.ts +0 -0
- package/dist/components/{date-picker → form/date-picker}/index.d.ts +0 -0
- package/dist/components/{date-picker → form/date-picker}/src/LewDate.vue.d.ts +0 -0
- package/dist/components/{date-picker → form/date-picker}/src/date.d.ts +0 -0
- package/dist/components/{date-range-picker → form/date-range-picker}/index.d.ts +0 -0
- package/dist/components/{date-range-picker → form/date-range-picker}/src/LewDateRange.vue.d.ts +0 -0
- package/dist/components/form/{src → form/src}/RequiredIcon.vue.d.ts +0 -0
- package/dist/components/{input → form/input}/index.d.ts +0 -0
- package/dist/components/{input-number → form/input-number}/index.d.ts +0 -0
- package/dist/components/{input-table → form/input-table}/index.d.ts +0 -0
- package/dist/components/{input-tag → form/input-tag}/index.d.ts +0 -0
- package/dist/components/{input-tag → form/input-tag}/src/props.d.ts +0 -0
- package/dist/components/{input-tree → form/input-tree}/index.d.ts +0 -0
- package/dist/components/{input-tree → form/input-tree}/src/LewInputTree.vue.d.ts +0 -0
- package/dist/components/{input-tree → form/input-tree}/src/props.d.ts +0 -0
- package/dist/components/{radio → form/radio}/index.d.ts +0 -0
- package/dist/components/{rate → form/rate}/index.d.ts +0 -0
- package/dist/components/{select → form/select}/index.d.ts +0 -0
- package/dist/components/{select → form/select}/src/util.d.ts +0 -0
- package/dist/components/{select-multiple → form/select-multiple}/index.d.ts +0 -0
- package/dist/components/{slider → form/slider}/index.d.ts +0 -0
- package/dist/components/{slider-range → form/slider-range}/index.d.ts +0 -0
- package/dist/components/{switch → form/switch}/index.d.ts +0 -0
- package/dist/components/{tabs → form/tabs}/index.d.ts +0 -0
- package/dist/components/{tabs → form/tabs}/src/LewTabs.vue.d.ts +2 -2
- package/dist/components/{tabs → form/tabs}/src/props.d.ts +0 -0
- package/dist/components/{textarea → form/textarea}/index.d.ts +0 -0
- package/dist/components/{tree-select → form/tree-select}/index.d.ts +0 -0
- package/dist/components/{upload → form/upload}/index.d.ts +0 -0
- package/dist/components/{avatar → general/avatar}/index.d.ts +0 -0
- package/dist/components/{avatar → general/avatar}/src/props.d.ts +0 -0
- package/dist/components/{badge → general/badge}/index.d.ts +0 -0
- package/dist/components/{badge → general/badge}/src/LewBadge.vue.d.ts +1 -1
- package/dist/components/{badge → general/badge}/src/props.d.ts +0 -0
- package/dist/components/{button → general/button}/index.d.ts +0 -0
- package/dist/components/{dropdown → general/dropdown}/index.d.ts +0 -0
- package/dist/components/{flex → general/flex}/index.d.ts +0 -0
- package/dist/components/{flex → general/flex}/src/LewFlex.vue.d.ts +1 -1
- package/dist/components/{flex → general/flex}/src/props.d.ts +0 -0
- package/dist/components/{image → general/image}/index.d.ts +0 -0
- package/dist/components/{image → general/image}/src/props.d.ts +0 -0
- package/dist/components/{mark → general/mark}/index.d.ts +0 -0
- package/dist/components/{mark → general/mark}/src/props.d.ts +0 -0
- package/dist/components/{tag → general/tag}/index.d.ts +0 -0
- package/dist/components/{text-trim → general/text-trim}/index.d.ts +0 -0
- package/dist/components/{text-trim → general/text-trim}/src/LewTextTrim.vue.d.ts +4 -4
- package/dist/components/{text-trim → general/text-trim}/src/props.d.ts +0 -0
- package/dist/components/{text-trim → general/text-trim}/src/text-trim.d.ts +0 -0
- package/dist/components/{title → general/title}/index.d.ts +0 -0
- package/dist/components/{title → general/title}/src/LewTitle.vue.d.ts +1 -1
- /package/dist/components/{title → general/title}/src/props.d.ts +0 -0
- /package/dist/components/{action-box → navigation/action-box}/index.d.ts +0 -0
- /package/dist/components/{back-top → navigation/back-top}/index.d.ts +0 -0
- /package/dist/components/{back-top → navigation/back-top}/src/LewBackTop.vue.d.ts +0 -0
- /package/dist/components/{back-top → navigation/back-top}/src/props.d.ts +0 -0
- /package/dist/components/{breadcrumb → navigation/breadcrumb}/index.d.ts +0 -0
- /package/dist/components/{breadcrumb → navigation/breadcrumb}/src/LewBreadcrumb.vue.d.ts +0 -0
- /package/dist/components/{breadcrumb → navigation/breadcrumb}/src/props.d.ts +0 -0
- /package/dist/components/{menu → navigation/menu}/index.d.ts +0 -0
- /package/dist/components/{menu → navigation/menu}/src/LewMenu.vue.d.ts +0 -0
- /package/dist/components/{menu-tree → navigation/menu-tree}/index.d.ts +0 -0
- /package/dist/components/{menu-tree → navigation/menu-tree}/src/LewMenuTree.vue.d.ts +0 -0
- /package/dist/components/{steps → navigation/steps}/index.d.ts +0 -0
- /package/dist/components/{steps → navigation/steps}/src/props.d.ts +0 -0
- /package/dist/utils/{Icon.vue.d.ts → LewCommonIcon.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.
|
|
@@ -9,10 +9,8 @@ declare function __VLS_template(): {
|
|
|
9
9
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
10
10
|
declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
|
|
11
11
|
width: {
|
|
12
|
-
type: (
|
|
12
|
+
type: PropType<import("csstype").Property.Width>;
|
|
13
13
|
default: string;
|
|
14
|
-
description: string;
|
|
15
|
-
validator(value: string | number): boolean;
|
|
16
14
|
};
|
|
17
15
|
modelValue: {
|
|
18
16
|
type: globalThis.PropType<any>;
|
|
@@ -21,10 +19,8 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
21
19
|
"update:modelValue": (value: any) => any;
|
|
22
20
|
}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
23
21
|
width: {
|
|
24
|
-
type: (
|
|
22
|
+
type: PropType<import("csstype").Property.Width>;
|
|
25
23
|
default: string;
|
|
26
|
-
description: string;
|
|
27
|
-
validator(value: string | number): boolean;
|
|
28
24
|
};
|
|
29
25
|
modelValue: {
|
|
30
26
|
type: globalThis.PropType<any>;
|
|
@@ -32,7 +28,7 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
32
28
|
}>> & Readonly<{
|
|
33
29
|
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
34
30
|
}>, {
|
|
35
|
-
width:
|
|
31
|
+
width: import("csstype").Property.Width<0 | (string & {})>;
|
|
36
32
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
37
33
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
38
34
|
export default _default;
|
|
@@ -5,7 +5,7 @@ declare function __VLS_template(): {
|
|
|
5
5
|
props: {
|
|
6
6
|
readonly title: string;
|
|
7
7
|
readonly collapseKey: string | number;
|
|
8
|
-
readonly radius:
|
|
8
|
+
readonly radius: import("csstype").Property.BorderRadius<0 | (string & {})>;
|
|
9
9
|
};
|
|
10
10
|
}): any;
|
|
11
11
|
default?(_: {}): any;
|
|
@@ -27,10 +27,10 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
27
27
|
description: string;
|
|
28
28
|
};
|
|
29
29
|
radius: {
|
|
30
|
-
type: (
|
|
31
|
-
default:
|
|
30
|
+
type: PropType<import("csstype").Property.BorderRadius>;
|
|
31
|
+
default: import("csstype").Property.BorderRadius;
|
|
32
32
|
description: string;
|
|
33
|
-
validator(value:
|
|
33
|
+
validator(value: import("csstype").Property.BorderRadius): boolean;
|
|
34
34
|
};
|
|
35
35
|
modelValue: {
|
|
36
36
|
type: globalThis.PropType<any>;
|
|
@@ -50,10 +50,10 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
50
50
|
description: string;
|
|
51
51
|
};
|
|
52
52
|
radius: {
|
|
53
|
-
type: (
|
|
54
|
-
default:
|
|
53
|
+
type: PropType<import("csstype").Property.BorderRadius>;
|
|
54
|
+
default: import("csstype").Property.BorderRadius;
|
|
55
55
|
description: string;
|
|
56
|
-
validator(value:
|
|
56
|
+
validator(value: import("csstype").Property.BorderRadius): boolean;
|
|
57
57
|
};
|
|
58
58
|
modelValue: {
|
|
59
59
|
type: globalThis.PropType<any>;
|
|
@@ -63,7 +63,7 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
63
63
|
}>, {
|
|
64
64
|
title: string;
|
|
65
65
|
collapseKey: string | number;
|
|
66
|
-
radius:
|
|
66
|
+
radius: import("csstype").Property.BorderRadius<0 | (string & {})>;
|
|
67
67
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
68
68
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
69
69
|
export default _default;
|
|
@@ -1,25 +1,21 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Property } from 'csstype';
|
|
2
|
+
import { ExtractPropTypes, PropType } from 'vue';
|
|
2
3
|
export declare const collapseModel: {
|
|
3
4
|
modelValue: {
|
|
4
|
-
type: (StringConstructor | ArrayConstructor)[];
|
|
5
|
-
default:
|
|
6
|
-
description: string;
|
|
7
|
-
validator(value: string[] | number[] | string): boolean;
|
|
5
|
+
type: (StringConstructor | NumberConstructor | ArrayConstructor)[];
|
|
6
|
+
default: string;
|
|
8
7
|
};
|
|
9
8
|
};
|
|
10
9
|
export declare const collapseItemModel: {
|
|
11
10
|
modelValue: {
|
|
12
11
|
type: BooleanConstructor;
|
|
13
12
|
default: boolean;
|
|
14
|
-
description: string;
|
|
15
13
|
};
|
|
16
14
|
};
|
|
17
15
|
export declare const collapseProps: {
|
|
18
16
|
width: {
|
|
19
|
-
type:
|
|
17
|
+
type: PropType<Property.Width>;
|
|
20
18
|
default: string;
|
|
21
|
-
description: string;
|
|
22
|
-
validator(value: string | number): boolean;
|
|
23
19
|
};
|
|
24
20
|
};
|
|
25
21
|
export declare const collapseItemProps: {
|
|
@@ -35,11 +31,19 @@ export declare const collapseItemProps: {
|
|
|
35
31
|
description: string;
|
|
36
32
|
};
|
|
37
33
|
radius: {
|
|
38
|
-
type:
|
|
39
|
-
default:
|
|
34
|
+
type: PropType<Property.BorderRadius>;
|
|
35
|
+
default: Property.BorderRadius;
|
|
40
36
|
description: string;
|
|
41
|
-
validator(value:
|
|
37
|
+
validator(value: Property.BorderRadius): boolean;
|
|
42
38
|
};
|
|
43
39
|
};
|
|
40
|
+
export interface CollapsePropsEnhanced {
|
|
41
|
+
width?: Property.Width;
|
|
42
|
+
}
|
|
43
|
+
export interface CollapseItemPropsEnhanced {
|
|
44
|
+
collapseKey: string | number;
|
|
45
|
+
title?: string;
|
|
46
|
+
radius?: Property.BorderRadius;
|
|
47
|
+
}
|
|
44
48
|
export type CollapseProps = ExtractPropTypes<typeof collapseProps>;
|
|
45
49
|
export type CollapseItemProps = ExtractPropTypes<typeof collapseItemProps>;
|
|
@@ -12,18 +12,18 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
12
12
|
description: string;
|
|
13
13
|
};
|
|
14
14
|
size: {
|
|
15
|
-
type: PropType<import('
|
|
15
|
+
type: PropType<import('../../../..').LewSize>;
|
|
16
16
|
default: string;
|
|
17
17
|
description: string;
|
|
18
|
-
validator(value: import('
|
|
18
|
+
validator(value: import('../../../..').LewSize): boolean;
|
|
19
19
|
};
|
|
20
20
|
labelX: {
|
|
21
|
-
type: PropType<import('
|
|
21
|
+
type: PropType<import('../../..').TextTrimAlignment>;
|
|
22
22
|
default: string;
|
|
23
23
|
description: string;
|
|
24
24
|
};
|
|
25
25
|
valueX: {
|
|
26
|
-
type: PropType<import('
|
|
26
|
+
type: PropType<import('../../..').TextTrimAlignment>;
|
|
27
27
|
default: string;
|
|
28
28
|
description: string;
|
|
29
29
|
};
|
|
@@ -85,18 +85,18 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
85
85
|
description: string;
|
|
86
86
|
};
|
|
87
87
|
size: {
|
|
88
|
-
type: PropType<import('
|
|
88
|
+
type: PropType<import('../../../..').LewSize>;
|
|
89
89
|
default: string;
|
|
90
90
|
description: string;
|
|
91
|
-
validator(value: import('
|
|
91
|
+
validator(value: import('../../../..').LewSize): boolean;
|
|
92
92
|
};
|
|
93
93
|
labelX: {
|
|
94
|
-
type: PropType<import('
|
|
94
|
+
type: PropType<import('../../..').TextTrimAlignment>;
|
|
95
95
|
default: string;
|
|
96
96
|
description: string;
|
|
97
97
|
};
|
|
98
98
|
valueX: {
|
|
99
|
-
type: PropType<import('
|
|
99
|
+
type: PropType<import('../../..').TextTrimAlignment>;
|
|
100
100
|
default: string;
|
|
101
101
|
description: string;
|
|
102
102
|
};
|
|
@@ -145,22 +145,22 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
145
145
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
146
146
|
onMounted?: ((...args: any[]) => any) | undefined;
|
|
147
147
|
}>, {
|
|
148
|
-
size: import('
|
|
149
|
-
direction: import('./props').DescDirection;
|
|
148
|
+
size: import('../../../..').LewSize;
|
|
150
149
|
options: import('./props').DescOptions[];
|
|
150
|
+
direction: import('./props').DescDirection;
|
|
151
151
|
width: string | number;
|
|
152
152
|
gap: string | number;
|
|
153
153
|
columns: string | number;
|
|
154
154
|
labelWidth: string | number;
|
|
155
155
|
id: string;
|
|
156
156
|
dataSource: Record<string, any>;
|
|
157
|
-
labelX: import('
|
|
158
|
-
valueX: import('
|
|
157
|
+
labelX: import('../../..').TextTrimAlignment;
|
|
158
|
+
valueX: import('../../..').TextTrimAlignment;
|
|
159
159
|
bordered: boolean;
|
|
160
160
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
161
161
|
descLabelRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<globalThis.ExtractPropTypes<{
|
|
162
162
|
size: {
|
|
163
|
-
type: PropType<import('
|
|
163
|
+
type: PropType<import('../../../..').LewSize>;
|
|
164
164
|
default: string;
|
|
165
165
|
};
|
|
166
166
|
padding: {
|
|
@@ -173,7 +173,7 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
173
173
|
}>> & Readonly<{}>, {
|
|
174
174
|
getWidth: () => number | undefined;
|
|
175
175
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
176
|
-
size: import('
|
|
176
|
+
size: import('../../../..').LewSize;
|
|
177
177
|
padding: number;
|
|
178
178
|
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
179
179
|
formLabelRef: HTMLDivElement;
|
|
@@ -186,7 +186,7 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
186
186
|
Defaults: {};
|
|
187
187
|
}, Readonly<globalThis.ExtractPropTypes<{
|
|
188
188
|
size: {
|
|
189
|
-
type: PropType<import('
|
|
189
|
+
type: PropType<import('../../../..').LewSize>;
|
|
190
190
|
default: string;
|
|
191
191
|
};
|
|
192
192
|
padding: {
|
|
@@ -199,7 +199,7 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
199
199
|
}>> & Readonly<{}>, {
|
|
200
200
|
getWidth: () => number | undefined;
|
|
201
201
|
}, {}, {}, {}, {
|
|
202
|
-
size: import('
|
|
202
|
+
size: import('../../../..').LewSize;
|
|
203
203
|
padding: number;
|
|
204
204
|
}> | null;
|
|
205
205
|
}, HTMLDivElement>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TextTrimAlignment } from '
|
|
1
|
+
import { TextTrimAlignment } from '../../../..';
|
|
2
2
|
declare const _default: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
|
|
3
3
|
label: {
|
|
4
4
|
type: StringConstructor;
|
|
@@ -11,10 +11,10 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
11
11
|
description: string;
|
|
12
12
|
};
|
|
13
13
|
size: {
|
|
14
|
-
type: PropType<import('
|
|
14
|
+
type: PropType<import('../../../..').LewSize>;
|
|
15
15
|
default: string;
|
|
16
16
|
description: string;
|
|
17
|
-
validator(value: import('
|
|
17
|
+
validator(value: import('../../../..').LewSize): boolean;
|
|
18
18
|
};
|
|
19
19
|
bordered: {
|
|
20
20
|
type: BooleanConstructor;
|
|
@@ -34,10 +34,10 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
34
34
|
validator(value: number | string): boolean;
|
|
35
35
|
};
|
|
36
36
|
direction: {
|
|
37
|
-
type: PropType<import('
|
|
37
|
+
type: PropType<import('../../../..').DescDirection>;
|
|
38
38
|
default: string;
|
|
39
39
|
description: string;
|
|
40
|
-
validator(value: import('
|
|
40
|
+
validator(value: import('../../../..').DescDirection): boolean;
|
|
41
41
|
};
|
|
42
42
|
tips: {
|
|
43
43
|
type: StringConstructor;
|
|
@@ -92,10 +92,10 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
92
92
|
description: string;
|
|
93
93
|
};
|
|
94
94
|
size: {
|
|
95
|
-
type: PropType<import('
|
|
95
|
+
type: PropType<import('../../../..').LewSize>;
|
|
96
96
|
default: string;
|
|
97
97
|
description: string;
|
|
98
|
-
validator(value: import('
|
|
98
|
+
validator(value: import('../../../..').LewSize): boolean;
|
|
99
99
|
};
|
|
100
100
|
bordered: {
|
|
101
101
|
type: BooleanConstructor;
|
|
@@ -115,10 +115,10 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
115
115
|
validator(value: number | string): boolean;
|
|
116
116
|
};
|
|
117
117
|
direction: {
|
|
118
|
-
type: PropType<import('
|
|
118
|
+
type: PropType<import('../../../..').DescDirection>;
|
|
119
119
|
default: string;
|
|
120
120
|
description: string;
|
|
121
|
-
validator(value: import('
|
|
121
|
+
validator(value: import('../../../..').DescDirection): boolean;
|
|
122
122
|
};
|
|
123
123
|
tips: {
|
|
124
124
|
type: StringConstructor;
|
|
@@ -163,11 +163,11 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
163
163
|
};
|
|
164
164
|
}>> & Readonly<{}>, {
|
|
165
165
|
type: "text-trim";
|
|
166
|
-
size: import('
|
|
166
|
+
size: import('../../../..').LewSize;
|
|
167
167
|
tips: string;
|
|
168
168
|
field: string;
|
|
169
169
|
label: string;
|
|
170
|
-
direction: import('
|
|
170
|
+
direction: import('../../../..').DescDirection;
|
|
171
171
|
width: string | number;
|
|
172
172
|
labelWidth: string | number;
|
|
173
173
|
id: string;
|
|
@@ -10,16 +10,16 @@ declare function __VLS_template(): {
|
|
|
10
10
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
11
11
|
declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
|
|
12
12
|
size: {
|
|
13
|
-
type: PropType<import('
|
|
13
|
+
type: PropType<import('../../../..').LewSize>;
|
|
14
14
|
default: string;
|
|
15
15
|
description: string;
|
|
16
|
-
validator: (value: import('
|
|
16
|
+
validator: (value: import('../../../..').LewSize) => boolean;
|
|
17
17
|
};
|
|
18
18
|
pageSizeOptions: {
|
|
19
|
-
type: PropType<number[] | import('
|
|
19
|
+
type: PropType<number[] | import('../../../..').SelectOptions[]>;
|
|
20
20
|
default: () => number[];
|
|
21
21
|
description: string;
|
|
22
|
-
validator: (value: number[] | import('
|
|
22
|
+
validator: (value: number[] | import('../../../..').SelectOptions[]) => boolean;
|
|
23
23
|
};
|
|
24
24
|
visiblePagesCount: {
|
|
25
25
|
type: NumberConstructor;
|
|
@@ -43,16 +43,16 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
43
43
|
"update:total": (value: number) => void;
|
|
44
44
|
}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
45
45
|
size: {
|
|
46
|
-
type: PropType<import('
|
|
46
|
+
type: PropType<import('../../../..').LewSize>;
|
|
47
47
|
default: string;
|
|
48
48
|
description: string;
|
|
49
|
-
validator: (value: import('
|
|
49
|
+
validator: (value: import('../../../..').LewSize) => boolean;
|
|
50
50
|
};
|
|
51
51
|
pageSizeOptions: {
|
|
52
|
-
type: PropType<number[] | import('
|
|
52
|
+
type: PropType<number[] | import('../../../..').SelectOptions[]>;
|
|
53
53
|
default: () => number[];
|
|
54
54
|
description: string;
|
|
55
|
-
validator: (value: number[] | import('
|
|
55
|
+
validator: (value: number[] | import('../../../..').SelectOptions[]) => boolean;
|
|
56
56
|
};
|
|
57
57
|
visiblePagesCount: {
|
|
58
58
|
type: NumberConstructor;
|
|
@@ -75,8 +75,8 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
75
75
|
"onUpdate:pageSize"?: ((...args: any[]) => any) | undefined;
|
|
76
76
|
"onUpdate:total"?: ((value: number) => any) | undefined;
|
|
77
77
|
}>, {
|
|
78
|
-
size: import('
|
|
79
|
-
pageSizeOptions: number[] | import('
|
|
78
|
+
size: import('../../../..').LewSize;
|
|
79
|
+
pageSizeOptions: number[] | import('../../../..').SelectOptions[];
|
|
80
80
|
visiblePagesCount: number;
|
|
81
81
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
82
82
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
@@ -28,10 +28,10 @@ declare function __VLS_template(): {
|
|
|
28
28
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
29
29
|
declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
|
|
30
30
|
columns: {
|
|
31
|
-
type: PropType<import('
|
|
31
|
+
type: PropType<import('../../../..').TableColumn[]>;
|
|
32
32
|
default: () => never[];
|
|
33
33
|
description: string;
|
|
34
|
-
validator: (value: import('
|
|
34
|
+
validator: (value: import('../../../..').TableColumn[]) => boolean;
|
|
35
35
|
};
|
|
36
36
|
bordered: {
|
|
37
37
|
type: BooleanConstructor;
|
|
@@ -45,10 +45,10 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
45
45
|
validator: (value: any[]) => boolean;
|
|
46
46
|
};
|
|
47
47
|
size: {
|
|
48
|
-
type: PropType<import('
|
|
48
|
+
type: PropType<import('../../../..').LewSize>;
|
|
49
49
|
default: string;
|
|
50
50
|
description: string;
|
|
51
|
-
validator(value: import('
|
|
51
|
+
validator(value: import('../../../..').LewSize): boolean;
|
|
52
52
|
};
|
|
53
53
|
checkable: {
|
|
54
54
|
type: BooleanConstructor;
|
|
@@ -96,10 +96,10 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
96
96
|
"update:sortValue": (value: {}) => void;
|
|
97
97
|
}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
98
98
|
columns: {
|
|
99
|
-
type: PropType<import('
|
|
99
|
+
type: PropType<import('../../../..').TableColumn[]>;
|
|
100
100
|
default: () => never[];
|
|
101
101
|
description: string;
|
|
102
|
-
validator: (value: import('
|
|
102
|
+
validator: (value: import('../../../..').TableColumn[]) => boolean;
|
|
103
103
|
};
|
|
104
104
|
bordered: {
|
|
105
105
|
type: BooleanConstructor;
|
|
@@ -113,10 +113,10 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
113
113
|
validator: (value: any[]) => boolean;
|
|
114
114
|
};
|
|
115
115
|
size: {
|
|
116
|
-
type: PropType<import('
|
|
116
|
+
type: PropType<import('../../../..').LewSize>;
|
|
117
117
|
default: string;
|
|
118
118
|
description: string;
|
|
119
|
-
validator(value: import('
|
|
119
|
+
validator(value: import('../../../..').LewSize): boolean;
|
|
120
120
|
};
|
|
121
121
|
checkable: {
|
|
122
122
|
type: BooleanConstructor;
|
|
@@ -157,22 +157,22 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
157
157
|
type: globalThis.PropType<{}>;
|
|
158
158
|
};
|
|
159
159
|
}>> & Readonly<{
|
|
160
|
-
"onUpdate:selectedKeys"?: ((value: any) => any) | undefined;
|
|
161
|
-
"onUpdate:sortValue"?: ((value: {}) => any) | undefined;
|
|
162
160
|
onSortChange?: ((...args: any[]) => any) | undefined;
|
|
163
161
|
onSelectChange?: ((...args: any[]) => any) | undefined;
|
|
164
162
|
onDragSort?: ((...args: any[]) => any) | undefined;
|
|
163
|
+
"onUpdate:selectedKeys"?: ((value: any) => any) | undefined;
|
|
164
|
+
"onUpdate:sortValue"?: ((value: {}) => any) | undefined;
|
|
165
165
|
}>, {
|
|
166
|
-
size: import('
|
|
167
|
-
|
|
168
|
-
multiple: boolean;
|
|
169
|
-
columns: import('../../..').TableColumn[];
|
|
166
|
+
size: import('../../../..').LewSize;
|
|
167
|
+
columns: import('../../../..').TableColumn[];
|
|
170
168
|
dataSource: Record<string, any>[];
|
|
171
169
|
bordered: boolean;
|
|
172
|
-
|
|
173
|
-
rowKey: string;
|
|
170
|
+
checkable: boolean;
|
|
174
171
|
sortable: boolean;
|
|
175
172
|
sortTooltipCustomRender: (row: Record<string, any>) => any;
|
|
173
|
+
maxHeight: string | number;
|
|
174
|
+
multiple: boolean;
|
|
175
|
+
rowKey: string;
|
|
176
176
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
177
177
|
tableWrapperRef: HTMLDivElement;
|
|
178
178
|
tableRef: HTMLDivElement;
|
|
@@ -67,7 +67,7 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
67
67
|
default: string;
|
|
68
68
|
description: string;
|
|
69
69
|
};
|
|
70
|
-
|
|
70
|
+
initMethod: {
|
|
71
71
|
type: PropType<() => void>;
|
|
72
72
|
default: undefined;
|
|
73
73
|
description: string;
|
|
@@ -157,7 +157,7 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
157
157
|
default: string;
|
|
158
158
|
description: string;
|
|
159
159
|
};
|
|
160
|
-
|
|
160
|
+
initMethod: {
|
|
161
161
|
type: PropType<() => void>;
|
|
162
162
|
default: undefined;
|
|
163
163
|
description: string;
|
|
@@ -182,23 +182,23 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
182
182
|
}>> & Readonly<{
|
|
183
183
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
184
184
|
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
185
|
-
"onUpdate:expandKeys"?: ((value: never[]) => any) | undefined;
|
|
186
185
|
onExpand?: ((...args: any[]) => any) | undefined;
|
|
187
186
|
onLoadStart?: ((...args: any[]) => any) | undefined;
|
|
188
187
|
onLoadEnd?: ((...args: any[]) => any) | undefined;
|
|
188
|
+
"onUpdate:expandKeys"?: ((value: never[]) => any) | undefined;
|
|
189
189
|
}>, {
|
|
190
|
-
checkable: boolean;
|
|
191
190
|
height: string;
|
|
192
|
-
multiple: boolean;
|
|
193
|
-
free: boolean;
|
|
194
|
-
loadMethod: (item: TreeDataSource) => void;
|
|
195
|
-
initOptionsMethod: () => void;
|
|
196
191
|
dataSource: TreeDataSource[];
|
|
197
192
|
searchable: boolean;
|
|
198
|
-
|
|
199
|
-
|
|
193
|
+
initMethod: () => void;
|
|
194
|
+
checkable: boolean;
|
|
195
|
+
multiple: boolean;
|
|
200
196
|
keyField: string;
|
|
201
197
|
labelField: string;
|
|
198
|
+
free: boolean;
|
|
199
|
+
expandAll: boolean;
|
|
200
|
+
loadMethod: (item: TreeDataSource) => void;
|
|
201
|
+
showLine: boolean;
|
|
202
202
|
disabledField: string;
|
|
203
203
|
isSelect: boolean;
|
|
204
204
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
@@ -5,12 +5,12 @@ declare function __VLS_template(): {
|
|
|
5
5
|
props: {
|
|
6
6
|
checked: any;
|
|
7
7
|
certain: boolean;
|
|
8
|
-
label: string;
|
|
9
8
|
disabled: boolean;
|
|
10
|
-
level: number;
|
|
11
9
|
isLeaf: boolean;
|
|
10
|
+
level: number;
|
|
12
11
|
extend: Record<string, any>;
|
|
13
12
|
icon?: (() => any) | undefined;
|
|
13
|
+
label?: any;
|
|
14
14
|
__key?: string | number | undefined;
|
|
15
15
|
};
|
|
16
16
|
}): any;
|
|
@@ -22,8 +22,8 @@ declare function __VLS_template(): {
|
|
|
22
22
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
23
23
|
declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
|
|
24
24
|
label: {
|
|
25
|
-
type:
|
|
26
|
-
default:
|
|
25
|
+
type: null;
|
|
26
|
+
default: undefined;
|
|
27
27
|
description: string;
|
|
28
28
|
};
|
|
29
29
|
__key: {
|
|
@@ -62,8 +62,8 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
62
62
|
expand: (...args: any[]) => void;
|
|
63
63
|
}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
64
64
|
label: {
|
|
65
|
-
type:
|
|
66
|
-
default:
|
|
65
|
+
type: null;
|
|
66
|
+
default: undefined;
|
|
67
67
|
description: string;
|
|
68
68
|
};
|
|
69
69
|
__key: {
|
|
@@ -102,10 +102,10 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
102
102
|
onExpand?: ((...args: any[]) => any) | undefined;
|
|
103
103
|
}>, {
|
|
104
104
|
icon: () => any;
|
|
105
|
-
label:
|
|
105
|
+
label: any;
|
|
106
106
|
disabled: boolean;
|
|
107
|
-
level: number;
|
|
108
107
|
isLeaf: boolean;
|
|
108
|
+
level: number;
|
|
109
109
|
extend: Record<string, any>;
|
|
110
110
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
111
111
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
@@ -86,7 +86,7 @@ export declare const treeProps: {
|
|
|
86
86
|
default: string;
|
|
87
87
|
description: string;
|
|
88
88
|
};
|
|
89
|
-
|
|
89
|
+
initMethod: {
|
|
90
90
|
type: PropType<() => void>;
|
|
91
91
|
default: undefined;
|
|
92
92
|
description: string;
|
|
@@ -105,8 +105,8 @@ export declare const treeProps: {
|
|
|
105
105
|
};
|
|
106
106
|
export declare const treeItemProps: {
|
|
107
107
|
label: {
|
|
108
|
-
type:
|
|
109
|
-
default:
|
|
108
|
+
type: null;
|
|
109
|
+
default: undefined;
|
|
110
110
|
description: string;
|
|
111
111
|
};
|
|
112
112
|
__key: {
|
|
@@ -8,8 +8,8 @@ export declare function formatTree({ dataSource, parent, parentKeyPaths, parentL
|
|
|
8
8
|
labelField?: string;
|
|
9
9
|
free?: boolean;
|
|
10
10
|
}): TreeDataSource[];
|
|
11
|
-
declare function transformTree({
|
|
12
|
-
|
|
11
|
+
declare function transformTree({ initMethod, dataSource, keyField, labelField, free, keyword, }: {
|
|
12
|
+
initMethod?: any;
|
|
13
13
|
dataSource?: TreeDataSource[];
|
|
14
14
|
keyField?: string;
|
|
15
15
|
labelField?: string;
|