lew-ui 2.7.13 → 2.7.14
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/{utils → _components}/RenderComponent.vue.d.ts +6 -6
- package/dist/components/data/collapse/src/LewCollapse.vue.d.ts +9 -4
- package/dist/components/data/collapse/src/LewCollapseItem.vue.d.ts +14 -22
- package/dist/components/data/collapse/src/LewCollapseTransition.vue.d.ts +55 -0
- package/dist/components/data/collapse/src/props.d.ts +7 -17
- package/dist/components/data/desc/src/LewDesc.vue.d.ts +27 -61
- package/dist/components/data/desc/src/LewDescItem.vue.d.ts +39 -79
- package/dist/components/data/desc/src/props.d.ts +41 -60
- package/dist/components/data/table/src/LewTable.vue.d.ts +1 -1
- package/dist/components/data/tree/src/props.d.ts +2 -2
- package/dist/components/feedback/alert/src/LewAlert.vue.d.ts +1 -1
- package/dist/components/feedback/drawer/src/LewDrawer.vue.d.ts +2 -2
- package/dist/components/feedback/empty/src/LewEmpty.vue.d.ts +7 -7
- package/dist/components/feedback/modal/src/LewModal.vue.d.ts +2 -2
- package/dist/components/feedback/popok/src/LewPopok.vue.d.ts +91 -145
- package/dist/components/feedback/popover/src/LewPopover.vue.d.ts +2 -2
- package/dist/components/form/cascader/src/LewCascader.vue.d.ts +21 -21
- package/dist/components/form/checkbox/src/LewCheckboxGroup.vue.d.ts +1 -1
- package/dist/components/form/color-picker/src/LewColorPicker.vue.d.ts +1 -1
- package/dist/components/form/date-picker/src/LewDatePicker.vue.d.ts +11 -11
- package/dist/components/form/date-range-picker/src/LewDateRangePicker.vue.d.ts +11 -11
- package/dist/components/form/form/src/LewForm.vue.d.ts +3 -3
- package/dist/components/form/form/src/LewFormItem.vue.d.ts +5 -5
- package/dist/components/form/input/src/LewInput.vue.d.ts +2 -2
- package/dist/components/form/input-number/src/LewInputNumber.vue.d.ts +1 -1
- package/dist/components/form/input-table/src/FormModal.vue.d.ts +6 -6
- package/dist/components/form/input-table/src/LewInputTable.vue.d.ts +13 -13
- package/dist/components/form/input-tag/src/LewInputTag.vue.d.ts +5 -5
- package/dist/components/form/input-tree/src/LewInputTree.vue.d.ts +1 -1
- package/dist/components/form/radio/src/LewRadioGroup.vue.d.ts +1 -1
- package/dist/components/form/select/src/LewSelect.vue.d.ts +21 -21
- package/dist/components/form/select-multiple/src/LewSelectMultiple.vue.d.ts +41 -41
- package/dist/components/form/slider/src/LewSlider.vue.d.ts +1 -1
- package/dist/components/form/slider-range/src/LewSliderRange.vue.d.ts +1 -1
- package/dist/components/form/switch/src/LewSwitch.vue.d.ts +2 -2
- package/dist/components/form/switch/src/props.d.ts +1 -1
- package/dist/components/form/tabs/src/LewTabs.vue.d.ts +1 -1
- package/dist/components/form/textarea/src/LewTextarea.vue.d.ts +6 -6
- package/dist/components/form/tree-select/src/LewTreeSelect.vue.d.ts +22 -22
- package/dist/components/form/upload/src/LewUpload.vue.d.ts +44 -38
- package/dist/components/general/avatar/src/LewAvatar.vue.d.ts +38 -58
- package/dist/components/general/avatar/src/props.d.ts +10 -23
- package/dist/components/general/badge/src/LewBadge.vue.d.ts +27 -38
- package/dist/components/general/badge/src/props.d.ts +12 -17
- package/dist/components/general/button/src/LewButton.vue.d.ts +18 -47
- package/dist/components/general/button/src/props.d.ts +6 -22
- package/dist/components/general/dropdown/src/LewDropdown.vue.d.ts +48 -49
- package/dist/components/general/dropdown/src/props.d.ts +7 -16
- package/dist/components/general/flex/src/LewFlex.vue.d.ts +36 -39
- package/dist/components/general/flex/src/props.d.ts +7 -11
- package/dist/components/general/image/src/LewImage.vue.d.ts +2 -2
- package/dist/components/general/mark/src/LewMark.vue.d.ts +18 -27
- package/dist/components/general/mark/src/props.d.ts +9 -15
- package/dist/components/general/tag/src/LewTag.vue.d.ts +22 -33
- package/dist/components/general/tag/src/props.d.ts +10 -10
- package/dist/components/general/text-trim/src/LewTextTrim.vue.d.ts +35 -42
- package/dist/components/general/text-trim/src/props.d.ts +12 -18
- package/dist/components/general/text-trim/src/text-trim.d.ts +16 -5
- package/dist/components/general/title/src/LewTitle.vue.d.ts +19 -29
- package/dist/components/general/title/src/props.d.ts +9 -13
- package/dist/components/navigation/action-box/src/LewActionBox.vue.d.ts +27 -30
- package/dist/components/navigation/action-box/src/props.d.ts +12 -15
- package/dist/components/navigation/back-top/src/LewBackTop.vue.d.ts +7 -14
- package/dist/components/navigation/back-top/src/props.d.ts +0 -5
- package/dist/components/navigation/breadcrumb/src/LewBreadcrumb.vue.d.ts +15 -18
- package/dist/components/navigation/breadcrumb/src/props.d.ts +4 -7
- package/dist/components/navigation/menu-tree/src/LewMenuTree.vue.d.ts +26 -22
- package/dist/components/navigation/menu-tree/src/LewMenuTreeItem.vue.d.ts +23 -62
- package/dist/components/navigation/menu-tree/src/props.d.ts +16 -29
- package/dist/components/navigation/steps/src/LewSteps.vue.d.ts +10 -10
- package/dist/constants/index.d.ts +3 -1
- package/dist/directives/context-menu/src/index.d.ts +3 -2
- package/dist/hooks/index.d.ts +2 -2
- package/dist/index.css +1 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.js +1862 -1925
- package/dist/index.umd.cjs +12 -6
- package/dist/methods/dialog/src/LewDialog.vue.d.ts +69 -123
- package/dist/methods/dialog/src/index.d.ts +2 -2
- package/dist/types/index.d.ts +8 -1
- package/dist/utils/dragmove.d.ts +16 -0
- package/dist/utils/index.d.ts +1 -16
- package/dist/utils/render.d.ts +5 -4
- package/package.json +2 -1
- package/dist/hooks/src/useDOMCreate.d.ts +0 -1
- package/dist/hooks/src/useEventListener.d.ts +0 -1
- /package/dist/{utils/LewCommonIcon.vue.d.ts → _components/CommonIcon.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.
|
|
@@ -4,11 +4,11 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
4
4
|
required: true;
|
|
5
5
|
};
|
|
6
6
|
type: {
|
|
7
|
-
type:
|
|
7
|
+
type: StringConstructor;
|
|
8
8
|
default: string;
|
|
9
9
|
};
|
|
10
10
|
componentProps: {
|
|
11
|
-
type:
|
|
11
|
+
type: ObjectConstructor;
|
|
12
12
|
default: () => {};
|
|
13
13
|
};
|
|
14
14
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
@@ -17,15 +17,15 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
17
17
|
required: true;
|
|
18
18
|
};
|
|
19
19
|
type: {
|
|
20
|
-
type:
|
|
20
|
+
type: StringConstructor;
|
|
21
21
|
default: string;
|
|
22
22
|
};
|
|
23
23
|
componentProps: {
|
|
24
|
-
type:
|
|
24
|
+
type: ObjectConstructor;
|
|
25
25
|
default: () => {};
|
|
26
26
|
};
|
|
27
27
|
}>> & Readonly<{}>, {
|
|
28
|
-
type:
|
|
29
|
-
componentProps: any
|
|
28
|
+
type: string;
|
|
29
|
+
componentProps: Record<string, any>;
|
|
30
30
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
31
31
|
export default _default;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { CollapseModelValue } from './props';
|
|
1
2
|
declare function __VLS_template(): {
|
|
2
3
|
attrs: Partial<{}>;
|
|
3
4
|
slots: {
|
|
@@ -11,22 +12,26 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
11
12
|
width: {
|
|
12
13
|
type: PropType<import("csstype").Property.Width>;
|
|
13
14
|
default: string;
|
|
15
|
+
validator(value: import("csstype").Property.Width): boolean;
|
|
14
16
|
};
|
|
15
17
|
modelValue: {
|
|
16
|
-
type: globalThis.PropType<
|
|
18
|
+
type: globalThis.PropType<CollapseModelValue>;
|
|
17
19
|
};
|
|
18
20
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
19
|
-
|
|
21
|
+
change: (value: CollapseModelValue) => any;
|
|
22
|
+
"update:modelValue": (value: CollapseModelValue) => any;
|
|
20
23
|
}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
21
24
|
width: {
|
|
22
25
|
type: PropType<import("csstype").Property.Width>;
|
|
23
26
|
default: string;
|
|
27
|
+
validator(value: import("csstype").Property.Width): boolean;
|
|
24
28
|
};
|
|
25
29
|
modelValue: {
|
|
26
|
-
type: globalThis.PropType<
|
|
30
|
+
type: globalThis.PropType<CollapseModelValue>;
|
|
27
31
|
};
|
|
28
32
|
}>> & Readonly<{
|
|
29
|
-
|
|
33
|
+
onChange?: ((value: CollapseModelValue) => any) | undefined;
|
|
34
|
+
"onUpdate:modelValue"?: ((value: CollapseModelValue) => any) | undefined;
|
|
30
35
|
}>, {
|
|
31
36
|
width: import("csstype").Property.Width<0 | (string & {})>;
|
|
32
37
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
@@ -3,9 +3,9 @@ declare function __VLS_template(): {
|
|
|
3
3
|
slots: {
|
|
4
4
|
title?(_: {
|
|
5
5
|
props: {
|
|
6
|
-
readonly title: string;
|
|
7
|
-
readonly collapseKey: string | number;
|
|
8
6
|
readonly radius: import("csstype").Property.BorderRadius<0 | (string & {})>;
|
|
7
|
+
readonly collapseKey?: string | number | undefined;
|
|
8
|
+
readonly title?: string | undefined;
|
|
9
9
|
};
|
|
10
10
|
}): any;
|
|
11
11
|
default?(_: {}): any;
|
|
@@ -16,53 +16,45 @@ 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:
|
|
20
|
-
|
|
21
|
-
description: string;
|
|
19
|
+
type: PropType<string | number>;
|
|
20
|
+
required: boolean;
|
|
22
21
|
validator(value: string | number): boolean;
|
|
23
22
|
};
|
|
24
23
|
title: {
|
|
25
24
|
type: StringConstructor;
|
|
26
|
-
default: string;
|
|
27
|
-
description: string;
|
|
28
25
|
};
|
|
29
26
|
radius: {
|
|
30
27
|
type: PropType<import("csstype").Property.BorderRadius>;
|
|
31
|
-
default:
|
|
32
|
-
description: string;
|
|
28
|
+
default: string;
|
|
33
29
|
validator(value: import("csstype").Property.BorderRadius): boolean;
|
|
34
30
|
};
|
|
35
31
|
modelValue: {
|
|
36
|
-
type: globalThis.PropType<
|
|
32
|
+
type: globalThis.PropType<boolean>;
|
|
37
33
|
};
|
|
38
34
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
39
|
-
|
|
35
|
+
change: (expanded: boolean, key: string | number) => any;
|
|
36
|
+
"update:modelValue": (value: boolean) => any;
|
|
40
37
|
}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
41
38
|
collapseKey: {
|
|
42
|
-
type:
|
|
43
|
-
|
|
44
|
-
description: string;
|
|
39
|
+
type: PropType<string | number>;
|
|
40
|
+
required: boolean;
|
|
45
41
|
validator(value: string | number): boolean;
|
|
46
42
|
};
|
|
47
43
|
title: {
|
|
48
44
|
type: StringConstructor;
|
|
49
|
-
default: string;
|
|
50
|
-
description: string;
|
|
51
45
|
};
|
|
52
46
|
radius: {
|
|
53
47
|
type: PropType<import("csstype").Property.BorderRadius>;
|
|
54
|
-
default:
|
|
55
|
-
description: string;
|
|
48
|
+
default: string;
|
|
56
49
|
validator(value: import("csstype").Property.BorderRadius): boolean;
|
|
57
50
|
};
|
|
58
51
|
modelValue: {
|
|
59
|
-
type: globalThis.PropType<
|
|
52
|
+
type: globalThis.PropType<boolean>;
|
|
60
53
|
};
|
|
61
54
|
}>> & Readonly<{
|
|
62
|
-
|
|
55
|
+
onChange?: ((expanded: boolean, key: string | number) => any) | undefined;
|
|
56
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
63
57
|
}>, {
|
|
64
|
-
title: string;
|
|
65
|
-
collapseKey: string | number;
|
|
66
58
|
radius: import("csstype").Property.BorderRadius<0 | (string & {})>;
|
|
67
59
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
68
60
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
type DimensionType = 'height' | 'width';
|
|
2
|
+
interface Props {
|
|
3
|
+
name?: string;
|
|
4
|
+
dimension?: DimensionType;
|
|
5
|
+
duration?: number;
|
|
6
|
+
easing?: string;
|
|
7
|
+
}
|
|
8
|
+
declare function __VLS_template(): {
|
|
9
|
+
attrs: Partial<{}>;
|
|
10
|
+
slots: {
|
|
11
|
+
default?(_: {}): any;
|
|
12
|
+
};
|
|
13
|
+
refs: {};
|
|
14
|
+
rootEl: any;
|
|
15
|
+
};
|
|
16
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
17
|
+
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
18
|
+
beforeAppear: (el: Element) => any;
|
|
19
|
+
appear: (el: Element) => any;
|
|
20
|
+
afterAppear: (el: Element) => any;
|
|
21
|
+
appearCancelled: (el: Element) => any;
|
|
22
|
+
beforeEnter: (el: Element) => any;
|
|
23
|
+
enter: (el: Element, done: () => void) => any;
|
|
24
|
+
afterEnter: (el: Element) => any;
|
|
25
|
+
enterCancelled: (el: Element) => any;
|
|
26
|
+
beforeLeave: (el: Element) => any;
|
|
27
|
+
leave: (el: Element, done: () => void) => any;
|
|
28
|
+
afterLeave: (el: Element) => any;
|
|
29
|
+
leaveCancelled: (el: Element) => any;
|
|
30
|
+
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
31
|
+
onBeforeAppear?: ((el: Element) => any) | undefined;
|
|
32
|
+
onAppear?: ((el: Element) => any) | undefined;
|
|
33
|
+
onAfterAppear?: ((el: Element) => any) | undefined;
|
|
34
|
+
onAppearCancelled?: ((el: Element) => any) | undefined;
|
|
35
|
+
onBeforeEnter?: ((el: Element) => any) | undefined;
|
|
36
|
+
onEnter?: ((el: Element, done: () => void) => any) | undefined;
|
|
37
|
+
onAfterEnter?: ((el: Element) => any) | undefined;
|
|
38
|
+
onEnterCancelled?: ((el: Element) => any) | undefined;
|
|
39
|
+
onBeforeLeave?: ((el: Element) => any) | undefined;
|
|
40
|
+
onLeave?: ((el: Element, done: () => void) => any) | undefined;
|
|
41
|
+
onAfterLeave?: ((el: Element) => any) | undefined;
|
|
42
|
+
onLeaveCancelled?: ((el: Element) => any) | undefined;
|
|
43
|
+
}>, {
|
|
44
|
+
name: string;
|
|
45
|
+
dimension: DimensionType;
|
|
46
|
+
duration: number;
|
|
47
|
+
easing: string;
|
|
48
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
49
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
50
|
+
export default _default;
|
|
51
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
52
|
+
new (): {
|
|
53
|
+
$slots: S;
|
|
54
|
+
};
|
|
55
|
+
};
|
|
@@ -2,8 +2,7 @@ import { Property } from 'csstype';
|
|
|
2
2
|
import { ExtractPropTypes, PropType } from 'vue';
|
|
3
3
|
export declare const collapseModel: {
|
|
4
4
|
modelValue: {
|
|
5
|
-
type:
|
|
6
|
-
default: string;
|
|
5
|
+
type: PropType<string[] | string | number | null>;
|
|
7
6
|
};
|
|
8
7
|
};
|
|
9
8
|
export declare const collapseItemModel: {
|
|
@@ -12,38 +11,29 @@ export declare const collapseItemModel: {
|
|
|
12
11
|
default: boolean;
|
|
13
12
|
};
|
|
14
13
|
};
|
|
14
|
+
export type CollapseModelValue = (string | number)[] | string | number | null;
|
|
15
|
+
export type CollapseItemModelValue = boolean;
|
|
15
16
|
export declare const collapseProps: {
|
|
16
17
|
width: {
|
|
17
18
|
type: PropType<Property.Width>;
|
|
18
19
|
default: string;
|
|
20
|
+
validator(value: Property.Width): boolean;
|
|
19
21
|
};
|
|
20
22
|
};
|
|
21
23
|
export declare const collapseItemProps: {
|
|
22
24
|
collapseKey: {
|
|
23
|
-
type:
|
|
24
|
-
|
|
25
|
-
description: string;
|
|
25
|
+
type: PropType<string | number>;
|
|
26
|
+
required: boolean;
|
|
26
27
|
validator(value: string | number): boolean;
|
|
27
28
|
};
|
|
28
29
|
title: {
|
|
29
30
|
type: StringConstructor;
|
|
30
|
-
default: string;
|
|
31
|
-
description: string;
|
|
32
31
|
};
|
|
33
32
|
radius: {
|
|
34
33
|
type: PropType<Property.BorderRadius>;
|
|
35
|
-
default:
|
|
36
|
-
description: string;
|
|
34
|
+
default: string;
|
|
37
35
|
validator(value: Property.BorderRadius): boolean;
|
|
38
36
|
};
|
|
39
37
|
};
|
|
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
|
-
}
|
|
48
38
|
export type CollapseProps = ExtractPropTypes<typeof collapseProps>;
|
|
49
39
|
export type CollapseItemProps = ExtractPropTypes<typeof collapseItemProps>;
|
|
@@ -1,161 +1,127 @@
|
|
|
1
|
+
import { DescOptions } from './props';
|
|
1
2
|
declare const _default: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
|
|
2
3
|
options: {
|
|
3
|
-
type: PropType<
|
|
4
|
+
type: PropType<DescOptions[]>;
|
|
4
5
|
required: boolean;
|
|
5
|
-
|
|
6
|
-
description: string;
|
|
7
|
-
validator(value: Array<import('./props').DescOptions>): boolean;
|
|
6
|
+
validator(value: DescOptions[]): boolean;
|
|
8
7
|
};
|
|
9
8
|
dataSource: {
|
|
10
9
|
type: PropType<Record<string, any>>;
|
|
11
10
|
default: () => {};
|
|
12
|
-
description: string;
|
|
13
11
|
};
|
|
14
12
|
size: {
|
|
15
13
|
type: PropType<import('../../../..').LewSize>;
|
|
16
14
|
default: string;
|
|
17
|
-
description: string;
|
|
18
15
|
validator(value: import('../../../..').LewSize): boolean;
|
|
19
16
|
};
|
|
20
17
|
labelX: {
|
|
21
|
-
type: PropType<import(
|
|
18
|
+
type: PropType<import("csstype").Property.TextAlign>;
|
|
22
19
|
default: string;
|
|
23
|
-
description: string;
|
|
24
20
|
};
|
|
25
21
|
valueX: {
|
|
26
|
-
type: PropType<import(
|
|
22
|
+
type: PropType<import("csstype").Property.TextAlign>;
|
|
27
23
|
default: string;
|
|
28
|
-
description: string;
|
|
29
24
|
};
|
|
30
25
|
gap: {
|
|
31
|
-
type:
|
|
26
|
+
type: PropType<string | number>;
|
|
32
27
|
default: number;
|
|
33
|
-
description: string;
|
|
34
28
|
validator(value: string | number): boolean;
|
|
35
29
|
};
|
|
36
30
|
width: {
|
|
37
|
-
type: (
|
|
38
|
-
|
|
39
|
-
description: string;
|
|
40
|
-
validator(value: number | string): boolean;
|
|
31
|
+
type: PropType<import("csstype").Property.Width | number>;
|
|
32
|
+
validator(value: import("csstype").Property.Width | number): boolean;
|
|
41
33
|
};
|
|
42
34
|
columns: {
|
|
43
|
-
type:
|
|
35
|
+
type: PropType<number | string>;
|
|
44
36
|
default: number;
|
|
45
|
-
description: string;
|
|
46
37
|
validator(value: number | string): boolean;
|
|
47
38
|
};
|
|
48
39
|
labelWidth: {
|
|
49
|
-
type: (
|
|
40
|
+
type: PropType<import("csstype").Property.Width | number>;
|
|
50
41
|
default: string;
|
|
51
|
-
|
|
52
|
-
validator(value: number | string): boolean;
|
|
42
|
+
validator(value: import("csstype").Property.Width | number): boolean;
|
|
53
43
|
};
|
|
54
44
|
direction: {
|
|
55
45
|
type: PropType<import('./props').DescDirection>;
|
|
56
46
|
default: string;
|
|
57
|
-
description: string;
|
|
58
47
|
validator(value: import('./props').DescDirection): boolean;
|
|
59
48
|
};
|
|
60
49
|
id: {
|
|
61
50
|
type: StringConstructor;
|
|
62
|
-
default: string;
|
|
63
|
-
description: string;
|
|
64
51
|
hidden: boolean;
|
|
65
52
|
};
|
|
66
53
|
bordered: {
|
|
67
54
|
type: BooleanConstructor;
|
|
68
55
|
default: boolean;
|
|
69
|
-
description: string;
|
|
70
56
|
};
|
|
71
57
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
72
|
-
|
|
73
|
-
mounted: (...args: any[]) => void;
|
|
58
|
+
ready: () => any;
|
|
74
59
|
}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
75
60
|
options: {
|
|
76
|
-
type: PropType<
|
|
61
|
+
type: PropType<DescOptions[]>;
|
|
77
62
|
required: boolean;
|
|
78
|
-
|
|
79
|
-
description: string;
|
|
80
|
-
validator(value: Array<import('./props').DescOptions>): boolean;
|
|
63
|
+
validator(value: DescOptions[]): boolean;
|
|
81
64
|
};
|
|
82
65
|
dataSource: {
|
|
83
66
|
type: PropType<Record<string, any>>;
|
|
84
67
|
default: () => {};
|
|
85
|
-
description: string;
|
|
86
68
|
};
|
|
87
69
|
size: {
|
|
88
70
|
type: PropType<import('../../../..').LewSize>;
|
|
89
71
|
default: string;
|
|
90
|
-
description: string;
|
|
91
72
|
validator(value: import('../../../..').LewSize): boolean;
|
|
92
73
|
};
|
|
93
74
|
labelX: {
|
|
94
|
-
type: PropType<import(
|
|
75
|
+
type: PropType<import("csstype").Property.TextAlign>;
|
|
95
76
|
default: string;
|
|
96
|
-
description: string;
|
|
97
77
|
};
|
|
98
78
|
valueX: {
|
|
99
|
-
type: PropType<import(
|
|
79
|
+
type: PropType<import("csstype").Property.TextAlign>;
|
|
100
80
|
default: string;
|
|
101
|
-
description: string;
|
|
102
81
|
};
|
|
103
82
|
gap: {
|
|
104
|
-
type:
|
|
83
|
+
type: PropType<string | number>;
|
|
105
84
|
default: number;
|
|
106
|
-
description: string;
|
|
107
85
|
validator(value: string | number): boolean;
|
|
108
86
|
};
|
|
109
87
|
width: {
|
|
110
|
-
type: (
|
|
111
|
-
|
|
112
|
-
description: string;
|
|
113
|
-
validator(value: number | string): boolean;
|
|
88
|
+
type: PropType<import("csstype").Property.Width | number>;
|
|
89
|
+
validator(value: import("csstype").Property.Width | number): boolean;
|
|
114
90
|
};
|
|
115
91
|
columns: {
|
|
116
|
-
type:
|
|
92
|
+
type: PropType<number | string>;
|
|
117
93
|
default: number;
|
|
118
|
-
description: string;
|
|
119
94
|
validator(value: number | string): boolean;
|
|
120
95
|
};
|
|
121
96
|
labelWidth: {
|
|
122
|
-
type: (
|
|
97
|
+
type: PropType<import("csstype").Property.Width | number>;
|
|
123
98
|
default: string;
|
|
124
|
-
|
|
125
|
-
validator(value: number | string): boolean;
|
|
99
|
+
validator(value: import("csstype").Property.Width | number): boolean;
|
|
126
100
|
};
|
|
127
101
|
direction: {
|
|
128
102
|
type: PropType<import('./props').DescDirection>;
|
|
129
103
|
default: string;
|
|
130
|
-
description: string;
|
|
131
104
|
validator(value: import('./props').DescDirection): boolean;
|
|
132
105
|
};
|
|
133
106
|
id: {
|
|
134
107
|
type: StringConstructor;
|
|
135
|
-
default: string;
|
|
136
|
-
description: string;
|
|
137
108
|
hidden: boolean;
|
|
138
109
|
};
|
|
139
110
|
bordered: {
|
|
140
111
|
type: BooleanConstructor;
|
|
141
112
|
default: boolean;
|
|
142
|
-
description: string;
|
|
143
113
|
};
|
|
144
114
|
}>> & Readonly<{
|
|
145
|
-
|
|
146
|
-
onMounted?: ((...args: any[]) => any) | undefined;
|
|
115
|
+
onReady?: (() => any) | undefined;
|
|
147
116
|
}>, {
|
|
148
117
|
size: import('../../../..').LewSize;
|
|
149
|
-
options: import('./props').DescOptions[];
|
|
150
118
|
direction: import('./props').DescDirection;
|
|
151
|
-
width: string | number;
|
|
152
|
-
gap: string | number;
|
|
153
119
|
columns: string | number;
|
|
154
|
-
|
|
155
|
-
id: string;
|
|
120
|
+
gap: string | number;
|
|
156
121
|
dataSource: Record<string, any>;
|
|
157
|
-
labelX: import(
|
|
158
|
-
valueX: import(
|
|
122
|
+
labelX: import("csstype").Property.TextAlign;
|
|
123
|
+
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 & {});
|
|
159
125
|
bordered: boolean;
|
|
160
126
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
161
127
|
descLabelRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<globalThis.ExtractPropTypes<{
|