lew-ui 2.7.13 → 2.7.15
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/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 +1401 -1932
- package/dist/index.umd.cjs +6 -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 +1 -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
|
@@ -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<{
|
|
@@ -1,182 +1,142 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { LewSize } from '../../../..';
|
|
2
2
|
declare const _default: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
|
|
3
3
|
label: {
|
|
4
4
|
type: StringConstructor;
|
|
5
|
-
|
|
6
|
-
description: string;
|
|
5
|
+
required: boolean;
|
|
7
6
|
};
|
|
8
7
|
field: {
|
|
9
8
|
type: StringConstructor;
|
|
10
|
-
|
|
11
|
-
description: string;
|
|
9
|
+
required: boolean;
|
|
12
10
|
};
|
|
13
11
|
size: {
|
|
14
|
-
type: PropType<
|
|
12
|
+
type: PropType<LewSize>;
|
|
15
13
|
default: string;
|
|
16
|
-
|
|
17
|
-
validator(value: import('../../../..').LewSize): boolean;
|
|
14
|
+
validator(value: LewSize): boolean;
|
|
18
15
|
};
|
|
19
16
|
bordered: {
|
|
20
17
|
type: BooleanConstructor;
|
|
21
18
|
default: boolean;
|
|
22
|
-
description: string;
|
|
23
19
|
};
|
|
24
20
|
width: {
|
|
25
|
-
type: (
|
|
26
|
-
|
|
27
|
-
description: string;
|
|
28
|
-
validator(value: number | string): boolean;
|
|
21
|
+
type: PropType<import("csstype").Property.Width | number>;
|
|
22
|
+
validator(value: import("csstype").Property.Width | number): boolean;
|
|
29
23
|
};
|
|
30
24
|
labelWidth: {
|
|
31
|
-
type: (
|
|
25
|
+
type: PropType<import("csstype").Property.Width | number>;
|
|
32
26
|
default: string;
|
|
33
|
-
|
|
34
|
-
validator(value: number | string): boolean;
|
|
27
|
+
validator(value: import("csstype").Property.Width | number): boolean;
|
|
35
28
|
};
|
|
36
29
|
direction: {
|
|
37
30
|
type: PropType<import('../../../..').DescDirection>;
|
|
38
31
|
default: string;
|
|
39
|
-
description: string;
|
|
40
32
|
validator(value: import('../../../..').DescDirection): boolean;
|
|
41
33
|
};
|
|
42
34
|
tips: {
|
|
43
35
|
type: StringConstructor;
|
|
44
|
-
default: string;
|
|
45
|
-
description: string;
|
|
46
36
|
};
|
|
47
37
|
type: {
|
|
48
38
|
type: PropType<"text-trim">;
|
|
49
|
-
default: string;
|
|
50
|
-
description: string;
|
|
51
39
|
};
|
|
52
40
|
labelX: {
|
|
53
|
-
type: PropType<
|
|
41
|
+
type: PropType<import("csstype").Property.TextAlign>;
|
|
54
42
|
default: string;
|
|
55
|
-
description: string;
|
|
56
43
|
};
|
|
57
44
|
valueX: {
|
|
58
|
-
type: PropType<
|
|
45
|
+
type: PropType<import("csstype").Property.TextAlign>;
|
|
59
46
|
default: string;
|
|
60
|
-
description: string;
|
|
61
47
|
};
|
|
62
48
|
gridArea: {
|
|
63
49
|
type: StringConstructor;
|
|
64
|
-
default: string;
|
|
65
|
-
description: string;
|
|
66
50
|
};
|
|
67
51
|
customRender: {
|
|
68
|
-
type: PropType<(
|
|
69
|
-
|
|
70
|
-
|
|
52
|
+
type: PropType<(params: {
|
|
53
|
+
field: string;
|
|
54
|
+
label: string;
|
|
55
|
+
dataSource: Record<string, any>;
|
|
56
|
+
}) => any>;
|
|
71
57
|
};
|
|
72
58
|
id: {
|
|
73
59
|
type: StringConstructor;
|
|
74
|
-
default: string;
|
|
75
|
-
description: string;
|
|
76
60
|
hidden: boolean;
|
|
77
61
|
};
|
|
78
62
|
dataSource: {
|
|
79
|
-
type:
|
|
80
|
-
default: {};
|
|
63
|
+
type: PropType<Record<string, any>>;
|
|
64
|
+
default: () => {};
|
|
81
65
|
hidden: boolean;
|
|
82
66
|
};
|
|
83
67
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
84
68
|
label: {
|
|
85
69
|
type: StringConstructor;
|
|
86
|
-
|
|
87
|
-
description: string;
|
|
70
|
+
required: boolean;
|
|
88
71
|
};
|
|
89
72
|
field: {
|
|
90
73
|
type: StringConstructor;
|
|
91
|
-
|
|
92
|
-
description: string;
|
|
74
|
+
required: boolean;
|
|
93
75
|
};
|
|
94
76
|
size: {
|
|
95
|
-
type: PropType<
|
|
77
|
+
type: PropType<LewSize>;
|
|
96
78
|
default: string;
|
|
97
|
-
|
|
98
|
-
validator(value: import('../../../..').LewSize): boolean;
|
|
79
|
+
validator(value: LewSize): boolean;
|
|
99
80
|
};
|
|
100
81
|
bordered: {
|
|
101
82
|
type: BooleanConstructor;
|
|
102
83
|
default: boolean;
|
|
103
|
-
description: string;
|
|
104
84
|
};
|
|
105
85
|
width: {
|
|
106
|
-
type: (
|
|
107
|
-
|
|
108
|
-
description: string;
|
|
109
|
-
validator(value: number | string): boolean;
|
|
86
|
+
type: PropType<import("csstype").Property.Width | number>;
|
|
87
|
+
validator(value: import("csstype").Property.Width | number): boolean;
|
|
110
88
|
};
|
|
111
89
|
labelWidth: {
|
|
112
|
-
type: (
|
|
90
|
+
type: PropType<import("csstype").Property.Width | number>;
|
|
113
91
|
default: string;
|
|
114
|
-
|
|
115
|
-
validator(value: number | string): boolean;
|
|
92
|
+
validator(value: import("csstype").Property.Width | number): boolean;
|
|
116
93
|
};
|
|
117
94
|
direction: {
|
|
118
95
|
type: PropType<import('../../../..').DescDirection>;
|
|
119
96
|
default: string;
|
|
120
|
-
description: string;
|
|
121
97
|
validator(value: import('../../../..').DescDirection): boolean;
|
|
122
98
|
};
|
|
123
99
|
tips: {
|
|
124
100
|
type: StringConstructor;
|
|
125
|
-
default: string;
|
|
126
|
-
description: string;
|
|
127
101
|
};
|
|
128
102
|
type: {
|
|
129
103
|
type: PropType<"text-trim">;
|
|
130
|
-
default: string;
|
|
131
|
-
description: string;
|
|
132
104
|
};
|
|
133
105
|
labelX: {
|
|
134
|
-
type: PropType<
|
|
106
|
+
type: PropType<import("csstype").Property.TextAlign>;
|
|
135
107
|
default: string;
|
|
136
|
-
description: string;
|
|
137
108
|
};
|
|
138
109
|
valueX: {
|
|
139
|
-
type: PropType<
|
|
110
|
+
type: PropType<import("csstype").Property.TextAlign>;
|
|
140
111
|
default: string;
|
|
141
|
-
description: string;
|
|
142
112
|
};
|
|
143
113
|
gridArea: {
|
|
144
114
|
type: StringConstructor;
|
|
145
|
-
default: string;
|
|
146
|
-
description: string;
|
|
147
115
|
};
|
|
148
116
|
customRender: {
|
|
149
|
-
type: PropType<(
|
|
150
|
-
|
|
151
|
-
|
|
117
|
+
type: PropType<(params: {
|
|
118
|
+
field: string;
|
|
119
|
+
label: string;
|
|
120
|
+
dataSource: Record<string, any>;
|
|
121
|
+
}) => any>;
|
|
152
122
|
};
|
|
153
123
|
id: {
|
|
154
124
|
type: StringConstructor;
|
|
155
|
-
default: string;
|
|
156
|
-
description: string;
|
|
157
125
|
hidden: boolean;
|
|
158
126
|
};
|
|
159
127
|
dataSource: {
|
|
160
|
-
type:
|
|
161
|
-
default: {};
|
|
128
|
+
type: PropType<Record<string, any>>;
|
|
129
|
+
default: () => {};
|
|
162
130
|
hidden: boolean;
|
|
163
131
|
};
|
|
164
132
|
}>> & Readonly<{}>, {
|
|
165
|
-
|
|
166
|
-
size: import('../../../..').LewSize;
|
|
167
|
-
tips: string;
|
|
168
|
-
field: string;
|
|
169
|
-
label: string;
|
|
133
|
+
size: LewSize;
|
|
170
134
|
direction: import('../../../..').DescDirection;
|
|
171
|
-
width: string | number;
|
|
172
|
-
labelWidth: string | number;
|
|
173
|
-
id: string;
|
|
174
|
-
gridArea: string;
|
|
175
135
|
dataSource: Record<string, any>;
|
|
176
|
-
labelX:
|
|
177
|
-
valueX:
|
|
136
|
+
labelX: import("csstype").Property.TextAlign;
|
|
137
|
+
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 & {});
|
|
178
139
|
bordered: boolean;
|
|
179
|
-
customRender: (value: any) => any;
|
|
180
140
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
181
141
|
descItemRef: HTMLDivElement;
|
|
182
142
|
}, HTMLDivElement>;
|