@vunk/form 2.16.5 → 2.16.6
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/components/select/index.cjs +13 -8
- package/components/select/index.mjs +7 -2
- package/package.json +1 -1
- package/shared/element-plus/ctx.d.ts +12 -11
- package/shared/element-plus/index.cjs +2 -132
- package/shared/element-plus/index.mjs +2 -130
- package/shared/element-plus/instances.d.ts +2 -99
- package/components/api-tables-select/index.d.ts +0 -4
- package/components/api-tables-select/src/ctx.d.ts +0 -375
- package/components/api-tables-select/src/index.vue.d.ts +0 -1340
- package/components/api-tables-select/src/types.d.ts +0 -19
- package/components/button/index.d.ts +0 -4
- package/components/button/src/ctx.d.ts +0 -193
- package/components/button/src/index.vue.d.ts +0 -851
- package/components/button/src/types.d.ts +0 -13
- package/components/card-input-collection/index.d.ts +0 -4
- package/components/card-input-collection/src/core.vue.d.ts +0 -1125
- package/components/card-input-collection/src/ctx.d.ts +0 -154
- package/components/card-input-collection/src/index.vue.d.ts +0 -287
- package/components/card-input-collection/src/types.d.ts +0 -17
- package/components/cascader/index.d.ts +0 -6
- package/components/cascader/src/ctx.d.ts +0 -343
- package/components/cascader/src/index.vue.d.ts +0 -775
- package/components/cascader/src/types.d.ts +0 -19
- package/components/cascader/src/use.d.ts +0 -5
- package/components/checkbox/index.d.ts +0 -5
- package/components/checkbox/src/ctx.d.ts +0 -146
- package/components/checkbox/src/index.vue.d.ts +0 -1353
- package/components/checkbox/src/types.d.ts +0 -8
- package/components/color-picker/index.d.ts +0 -4
- package/components/color-picker/src/ctx.d.ts +0 -179
- package/components/color-picker/src/index.vue.d.ts +0 -398
- package/components/color-picker/src/types.d.ts +0 -7
- package/components/date-picker/index.d.ts +0 -5
- package/components/date-picker/src/ctx.d.ts +0 -364
- package/components/date-picker/src/index.vue.d.ts +0 -1665
- package/components/date-picker/src/types.d.ts +0 -20
- package/components/date-picker-range/index.d.ts +0 -4
- package/components/date-picker-range/src/ctx.d.ts +0 -372
- package/components/date-picker-range/src/index.vue.d.ts +0 -808
- package/components/date-picker-range/src/types.d.ts +0 -12
- package/components/dialog/index.d.ts +0 -4
- package/components/dialog/src/ctx.d.ts +0 -174
- package/components/dialog/src/index.vue.d.ts +0 -1180
- package/components/dialog/src/types.d.ts +0 -1
- package/components/dialog-input-collection/index.d.ts +0 -4
- package/components/dialog-input-collection/src/ctx.d.ts +0 -141
- package/components/dialog-input-collection/src/dialog-form.vue.d.ts +0 -6430
- package/components/dialog-input-collection/src/index.vue.d.ts +0 -7773
- package/components/dialog-input-collection/src/layout.vue.d.ts +0 -85
- package/components/dialog-input-collection/src/types.d.ts +0 -28
- package/components/download-plus/index.d.ts +0 -4
- package/components/download-plus/src/api.d.ts +0 -13
- package/components/download-plus/src/const.d.ts +0 -9
- package/components/download-plus/src/ctx.d.ts +0 -125
- package/components/download-plus/src/index.vue.d.ts +0 -1495
- package/components/download-plus/src/types.d.ts +0 -17
- package/components/editable-text/index.d.ts +0 -4
- package/components/editable-text/src/ctx.d.ts +0 -128
- package/components/editable-text/src/index.vue.d.ts +0 -3389
- package/components/editable-text/src/types.d.ts +0 -1
- package/components/esri-input-geojson/index.d.ts +0 -6
- package/components/esri-input-geojson/src/append.vue.d.ts +0 -1200
- package/components/esri-input-geojson/src/const.d.ts +0 -12
- package/components/esri-input-geojson/src/ctx.d.ts +0 -351
- package/components/esri-input-geojson/src/default-view.vue.d.ts +0 -133
- package/components/esri-input-geojson/src/index.vue.d.ts +0 -1488
- package/components/esri-input-geojson/src/types.d.ts +0 -22
- package/components/esri-input-geojson/src/viewer.vue.d.ts +0 -427
- package/components/fieldset/index.d.ts +0 -4
- package/components/fieldset/src/ctx.d.ts +0 -16
- package/components/fieldset/src/index.vue.d.ts +0 -32
- package/components/fieldset/src/types.d.ts +0 -1
- package/components/fieldset/src/use.d.ts +0 -5
- package/components/form/index.d.ts +0 -5
- package/components/form/src/ctx.d.ts +0 -139
- package/components/form/src/index.vue.d.ts +0 -4027
- package/components/form/src/types.d.ts +0 -25
- package/components/form/src/utils.d.ts +0 -15
- package/components/form-item/index.d.ts +0 -5
- package/components/form-item/src/core.vue.d.ts +0 -1874
- package/components/form-item/src/ctx.d.ts +0 -103
- package/components/form-item/src/index.vue.d.ts +0 -214
- package/components/form-item/src/types.d.ts +0 -10
- package/components/form-item-renderer/index.d.ts +0 -4
- package/components/form-item-renderer/src/core.vue.d.ts +0 -38
- package/components/form-item-renderer/src/ctx.d.ts +0 -16
- package/components/form-item-renderer/src/index.vue.d.ts +0 -93
- package/components/form-item-renderer/src/types.d.ts +0 -5
- package/components/form-item-renderer/src/utils.d.ts +0 -5
- package/components/form-item-renderer-template/index.d.ts +0 -4
- package/components/form-item-renderer-template/src/ctx.d.ts +0 -7
- package/components/form-item-renderer-template/src/index.vue.d.ts +0 -16
- package/components/form-item-renderer-template/src/types.d.ts +0 -55
- package/components/forms-provider/index.d.ts +0 -6
- package/components/forms-provider/src/core.d.ts +0 -6
- package/components/forms-provider/src/index.vue.d.ts +0 -2
- package/components/forms-provider/src/segment.vue.d.ts +0 -9
- package/components/forms-provider/src/types.d.ts +0 -10
- package/components/forms-provider/src/view.vue.d.ts +0 -7
- package/components/information/index.d.ts +0 -4
- package/components/information/src/ctx.d.ts +0 -16
- package/components/information/src/index.vue.d.ts +0 -27
- package/components/information/src/types.d.ts +0 -3
- package/components/information-collection/index.d.ts +0 -4
- package/components/information-collection/src/ctx.d.ts +0 -143
- package/components/information-collection/src/index.vue.d.ts +0 -296
- package/components/information-collection/src/types.d.ts +0 -6
- package/components/information-renderer/index.d.ts +0 -73
- package/components/information-tag/index.d.ts +0 -4
- package/components/information-tag/src/ctx.d.ts +0 -64
- package/components/information-tag/src/index.vue.d.ts +0 -134
- package/components/information-tag/src/types.d.ts +0 -1
- package/components/information-templates-default/index.d.ts +0 -4
- package/components/information-templates-default/src/ctx.d.ts +0 -2
- package/components/information-templates-default/src/index.vue.d.ts +0 -2
- package/components/information-templates-default/src/types.d.ts +0 -1
- package/components/input/index.d.ts +0 -5
- package/components/input/src/ctx.d.ts +0 -280
- package/components/input/src/index.vue.d.ts +0 -1268
- package/components/input/src/types.d.ts +0 -13
- package/components/input-array/index.d.ts +0 -5
- package/components/input-array/src/ctx.d.ts +0 -136
- package/components/input-array/src/form-template.vue.d.ts +0 -901
- package/components/input-array/src/index.vue.d.ts +0 -889
- package/components/input-array/src/types.d.ts +0 -7
- package/components/input-collection/index.d.ts +0 -4
- package/components/input-collection/src/core.vue.d.ts +0 -1203
- package/components/input-collection/src/ctx.d.ts +0 -154
- package/components/input-collection/src/index.vue.d.ts +0 -296
- package/components/input-collection/src/types.d.ts +0 -29
- package/components/input-file/index.d.ts +0 -5
- package/components/input-file/src/ctx.d.ts +0 -46
- package/components/input-file/src/index.vue.d.ts +0 -112
- package/components/input-file/src/template.vue.d.ts +0 -125
- package/components/input-file/src/types.d.ts +0 -8
- package/components/input-link/index.d.ts +0 -4
- package/components/input-link/src/ctx.d.ts +0 -284
- package/components/input-link/src/index.vue.d.ts +0 -602
- package/components/input-link/src/types.d.ts +0 -7
- package/components/input-number/index.d.ts +0 -4
- package/components/input-number/src/ctx.d.ts +0 -221
- package/components/input-number/src/index.vue.d.ts +0 -910
- package/components/input-number/src/types.d.ts +0 -12
- package/components/input-tag/index.d.ts +0 -5
- package/components/input-tag/src/ctx.d.ts +0 -244
- package/components/input-tag/src/index.vue.d.ts +0 -1050
- package/components/input-tag/src/types.d.ts +0 -22
- package/components/monaco-editor/index.d.ts +0 -4
- package/components/monaco-editor/src/ctx.d.ts +0 -111
- package/components/monaco-editor/src/index.vue.d.ts +0 -297
- package/components/monaco-editor/src/types.d.ts +0 -7
- package/components/radio/index.d.ts +0 -4
- package/components/radio/src/ctx.d.ts +0 -165
- package/components/radio/src/index.vue.d.ts +0 -1488
- package/components/radio/src/option.vue.d.ts +0 -901
- package/components/radio/src/types.d.ts +0 -8
- package/components/radio/src/wraper.vue.d.ts +0 -337
- package/components/renderer-data/index.d.ts +0 -4
- package/components/renderer-data/src/ctx.d.ts +0 -12
- package/components/renderer-data/src/index.vue.d.ts +0 -20
- package/components/renderer-data/src/types.d.ts +0 -1
- package/components/select/index.d.ts +0 -5
- package/components/select/src/core.vue.d.ts +0 -1070
- package/components/select/src/ctx.d.ts +0 -238
- package/components/select/src/index.vue.d.ts +0 -639
- package/components/select/src/options.vue.d.ts +0 -24
- package/components/select/src/types.d.ts +0 -13
- package/components/slider/index.d.ts +0 -4
- package/components/slider/src/ctx.d.ts +0 -248
- package/components/slider/src/index.vue.d.ts +0 -579
- package/components/slider/src/types.d.ts +0 -7
- package/components/switch/index.d.ts +0 -4
- package/components/switch/src/ctx.d.ts +0 -201
- package/components/switch/src/index.vue.d.ts +0 -882
- package/components/switch/src/types.d.ts +0 -7
- package/components/tables-select/index.d.ts +0 -5
- package/components/tables-select/src/ctx.d.ts +0 -421
- package/components/tables-select/src/index.vue.d.ts +0 -5510
- package/components/tables-select/src/types.d.ts +0 -9
- package/components/template-instances-provider/index.d.ts +0 -3
- package/components/template-instances-provider/src/index.vue.d.ts +0 -6
- package/components/templates-default/index.d.ts +0 -4
- package/components/templates-default/src/ctx.d.ts +0 -19
- package/components/templates-default/src/index.vue.d.ts +0 -187
- package/components/templates-default/src/types.d.ts +0 -55
- package/components/templates-element-plus/index.d.ts +0 -4
- package/components/templates-element-plus/src/ctx.d.ts +0 -9
- package/components/templates-element-plus/src/index.vue.d.ts +0 -301
- package/components/templates-element-plus/src/types.d.ts +0 -13
- package/components/templates-esri/index.d.ts +0 -4
- package/components/templates-esri/src/ctx.d.ts +0 -11
- package/components/templates-esri/src/index.vue.d.ts +0 -43
- package/components/templates-esri/src/types.d.ts +0 -2
- package/components/templates-layout/index.d.ts +0 -4
- package/components/templates-layout/src/ctx.d.ts +0 -9
- package/components/templates-layout/src/index.vue.d.ts +0 -446
- package/components/templates-layout/src/types.d.ts +0 -32
- package/components/templates-variant/index.d.ts +0 -4
- package/components/templates-variant/src/ctx.d.ts +0 -11
- package/components/templates-variant/src/index.vue.d.ts +0 -43
- package/components/templates-variant/src/types.d.ts +0 -2
- package/components/upload/index.d.ts +0 -5
- package/components/upload/src/ctx.d.ts +0 -291
- package/components/upload/src/file.vue.d.ts +0 -913
- package/components/upload/src/index.vue.d.ts +0 -2347
- package/components/upload/src/types.d.ts +0 -13
- package/components/upload/src/wraper.vue.d.ts +0 -590
- package/components/upload-plus/index.d.ts +0 -6
- package/components/upload-plus/src/api.d.ts +0 -38
- package/components/upload-plus/src/const.d.ts +0 -9
- package/components/upload-plus/src/ctx.d.ts +0 -144
- package/components/upload-plus/src/index.vue.d.ts +0 -1813
- package/components/upload-plus/src/types.d.ts +0 -32
- package/components/van-cascader/index.d.ts +0 -4
- package/components/van-cascader/src/ctx.d.ts +0 -330
- package/components/van-cascader/src/index.vue.d.ts +0 -1241
- package/components/van-cascader/src/types.d.ts +0 -1
- package/components/var-datetime-picker/index.d.ts +0 -4
- package/components/var-datetime-picker/src/const.d.ts +0 -10
- package/components/var-datetime-picker/src/ctx.d.ts +0 -108
- package/components/var-datetime-picker/src/index.vue.d.ts +0 -1622
- package/components/var-datetime-picker/src/types.d.ts +0 -22
- package/components/vditor/index.d.ts +0 -4
- package/components/vditor/src/ctx.d.ts +0 -118
- package/components/vditor/src/index.vue.d.ts +0 -412
- package/components/vditor/src/types.d.ts +0 -7
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { SetDataEvent } from '@vunk/core';
|
|
2
|
-
import { NormalObject } from '@vunk/shared';
|
|
3
|
-
import { PropType } from 'vue';
|
|
4
|
-
export declare const props: {
|
|
5
|
-
data: {
|
|
6
|
-
type: PropType<NormalObject>;
|
|
7
|
-
default: () => {};
|
|
8
|
-
};
|
|
9
|
-
formItems: {
|
|
10
|
-
type: PropType<any[]>;
|
|
11
|
-
default: () => any[];
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
|
-
export declare const emits: {
|
|
15
|
-
setData: (e: SetDataEvent) => SetDataEvent;
|
|
16
|
-
};
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
-
data: {
|
|
3
|
-
type: import("vue").PropType<import("@vunk/shared").NormalObject>;
|
|
4
|
-
default: () => {};
|
|
5
|
-
};
|
|
6
|
-
formItems: {
|
|
7
|
-
type: import("vue").PropType<any[]>;
|
|
8
|
-
default: () => any[];
|
|
9
|
-
};
|
|
10
|
-
}>, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
11
|
-
setData: (e: import("@vunk/core").SetDataEvent) => import("@vunk/core").SetDataEvent;
|
|
12
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
13
|
-
data: {
|
|
14
|
-
type: import("vue").PropType<import("@vunk/shared").NormalObject>;
|
|
15
|
-
default: () => {};
|
|
16
|
-
};
|
|
17
|
-
formItems: {
|
|
18
|
-
type: import("vue").PropType<any[]>;
|
|
19
|
-
default: () => any[];
|
|
20
|
-
};
|
|
21
|
-
}>> & Readonly<{
|
|
22
|
-
onSetData?: (e: import("@vunk/core").SetDataEvent) => any;
|
|
23
|
-
}>, {
|
|
24
|
-
data: import("@vunk/shared").NormalObject;
|
|
25
|
-
formItems: any[];
|
|
26
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
27
|
-
export default _default;
|
|
@@ -1,143 +0,0 @@
|
|
|
1
|
-
import { Func } from '@vunk/core';
|
|
2
|
-
import { AnyFunc, NormalObject } from '@vunk/shared';
|
|
3
|
-
import { PropType } from 'vue';
|
|
4
|
-
import { TagProps } from 'element-plus';
|
|
5
|
-
export declare const props: {
|
|
6
|
-
information: {
|
|
7
|
-
type: BooleanConstructor;
|
|
8
|
-
default: boolean;
|
|
9
|
-
};
|
|
10
|
-
modelValue: {
|
|
11
|
-
type: {
|
|
12
|
-
(arrayLength: number): NormalObject[];
|
|
13
|
-
(...items: NormalObject[]): NormalObject[];
|
|
14
|
-
new (arrayLength: number): NormalObject[];
|
|
15
|
-
new (...items: NormalObject[]): NormalObject[];
|
|
16
|
-
isArray(arg: any): arg is any[];
|
|
17
|
-
readonly prototype: any[];
|
|
18
|
-
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
19
|
-
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
20
|
-
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
21
|
-
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
22
|
-
of<T>(...items: T[]): T[];
|
|
23
|
-
fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
|
|
24
|
-
fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>, index: number) => U, thisArg?: any): Promise<Awaited<U>[]>;
|
|
25
|
-
readonly [Symbol.species]: ArrayConstructor;
|
|
26
|
-
};
|
|
27
|
-
default: () => any[];
|
|
28
|
-
};
|
|
29
|
-
columns: {
|
|
30
|
-
type: {
|
|
31
|
-
(arrayLength: number): any[];
|
|
32
|
-
(...items: any[]): any[];
|
|
33
|
-
new (arrayLength: number): any[];
|
|
34
|
-
new (...items: any[]): any[];
|
|
35
|
-
isArray(arg: any): arg is any[];
|
|
36
|
-
readonly prototype: any[];
|
|
37
|
-
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
38
|
-
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
39
|
-
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
40
|
-
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
41
|
-
of<T>(...items: T[]): T[];
|
|
42
|
-
fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
|
|
43
|
-
fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>, index: number) => U, thisArg?: any): Promise<Awaited<U>[]>;
|
|
44
|
-
readonly [Symbol.species]: ArrayConstructor;
|
|
45
|
-
};
|
|
46
|
-
default: () => any[];
|
|
47
|
-
};
|
|
48
|
-
labelRender: {
|
|
49
|
-
type: PropType<AnyFunc>;
|
|
50
|
-
default: any;
|
|
51
|
-
};
|
|
52
|
-
typeRender: {
|
|
53
|
-
type: PropType<Func<any, TagProps["type"]>>;
|
|
54
|
-
default: any;
|
|
55
|
-
};
|
|
56
|
-
required: {
|
|
57
|
-
readonly type: PropType<boolean>;
|
|
58
|
-
readonly required: false;
|
|
59
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
60
|
-
__epPropKey: true;
|
|
61
|
-
} & {
|
|
62
|
-
readonly default: undefined;
|
|
63
|
-
};
|
|
64
|
-
formItemSize: {
|
|
65
|
-
type: PropType<"default" | "small" | "large">;
|
|
66
|
-
default: "default" | "small" | "large";
|
|
67
|
-
};
|
|
68
|
-
formItemSlots: {
|
|
69
|
-
type: PropType<import("@vunk/form/components/form-item/src/types").FormItemSlots>;
|
|
70
|
-
default: any;
|
|
71
|
-
};
|
|
72
|
-
elRef: {
|
|
73
|
-
type: PropType<any>;
|
|
74
|
-
required: boolean;
|
|
75
|
-
};
|
|
76
|
-
inline: {
|
|
77
|
-
type: BooleanConstructor;
|
|
78
|
-
default: boolean;
|
|
79
|
-
};
|
|
80
|
-
readonly: {
|
|
81
|
-
type: BooleanConstructor;
|
|
82
|
-
default: any;
|
|
83
|
-
};
|
|
84
|
-
formItemTip: {
|
|
85
|
-
type: StringConstructor;
|
|
86
|
-
default: any;
|
|
87
|
-
};
|
|
88
|
-
formItemTipClass: any;
|
|
89
|
-
labelTip: {
|
|
90
|
-
type: StringConstructor;
|
|
91
|
-
default: any;
|
|
92
|
-
};
|
|
93
|
-
prop: any;
|
|
94
|
-
defaultModelValue: any;
|
|
95
|
-
label: StringConstructor;
|
|
96
|
-
labelWidth: {
|
|
97
|
-
readonly type: PropType<string | number>;
|
|
98
|
-
readonly required: false;
|
|
99
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
100
|
-
__epPropKey: true;
|
|
101
|
-
} & {
|
|
102
|
-
readonly default: "";
|
|
103
|
-
};
|
|
104
|
-
labelPosition: {
|
|
105
|
-
readonly type: PropType<"" | "top" | "left" | "right">;
|
|
106
|
-
readonly required: false;
|
|
107
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
108
|
-
__epPropKey: true;
|
|
109
|
-
} & {
|
|
110
|
-
readonly default: "";
|
|
111
|
-
};
|
|
112
|
-
rules: {
|
|
113
|
-
readonly type: PropType<unknown>;
|
|
114
|
-
readonly required: false;
|
|
115
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
116
|
-
__epPropKey: true;
|
|
117
|
-
};
|
|
118
|
-
error: StringConstructor;
|
|
119
|
-
validateStatus: {
|
|
120
|
-
readonly type: PropType<"" | "error" | "success" | "validating">;
|
|
121
|
-
readonly required: false;
|
|
122
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
123
|
-
__epPropKey: true;
|
|
124
|
-
};
|
|
125
|
-
for: StringConstructor;
|
|
126
|
-
inlineMessage: {
|
|
127
|
-
readonly type: PropType<string | boolean>;
|
|
128
|
-
readonly required: false;
|
|
129
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
130
|
-
__epPropKey: true;
|
|
131
|
-
} & {
|
|
132
|
-
readonly default: "";
|
|
133
|
-
};
|
|
134
|
-
showMessage: {
|
|
135
|
-
readonly type: PropType<boolean>;
|
|
136
|
-
readonly required: false;
|
|
137
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
138
|
-
__epPropKey: true;
|
|
139
|
-
} & {
|
|
140
|
-
readonly default: true;
|
|
141
|
-
};
|
|
142
|
-
};
|
|
143
|
-
export declare const emits: {};
|
|
@@ -1,296 +0,0 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
-
information: {
|
|
3
|
-
type: BooleanConstructor;
|
|
4
|
-
default: boolean;
|
|
5
|
-
};
|
|
6
|
-
modelValue: {
|
|
7
|
-
type: {
|
|
8
|
-
(arrayLength: number): import("@vunk/shared").NormalObject[];
|
|
9
|
-
(...items: import("@vunk/shared").NormalObject[]): import("@vunk/shared").NormalObject[];
|
|
10
|
-
new (arrayLength: number): import("@vunk/shared").NormalObject[];
|
|
11
|
-
new (...items: import("@vunk/shared").NormalObject[]): import("@vunk/shared").NormalObject[];
|
|
12
|
-
isArray(arg: any): arg is any[];
|
|
13
|
-
readonly prototype: any[];
|
|
14
|
-
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
15
|
-
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
16
|
-
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
17
|
-
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
18
|
-
of<T>(...items: T[]): T[];
|
|
19
|
-
fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
|
|
20
|
-
fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>, index: number) => U, thisArg?: any): Promise<Awaited<U>[]>;
|
|
21
|
-
readonly [Symbol.species]: ArrayConstructor;
|
|
22
|
-
};
|
|
23
|
-
default: () => any[];
|
|
24
|
-
};
|
|
25
|
-
columns: {
|
|
26
|
-
type: {
|
|
27
|
-
(arrayLength: number): any[];
|
|
28
|
-
(...items: any[]): any[];
|
|
29
|
-
new (arrayLength: number): any[];
|
|
30
|
-
new (...items: any[]): any[];
|
|
31
|
-
isArray(arg: any): arg is any[];
|
|
32
|
-
readonly prototype: any[];
|
|
33
|
-
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
34
|
-
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
35
|
-
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
36
|
-
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
37
|
-
of<T>(...items: T[]): T[];
|
|
38
|
-
fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
|
|
39
|
-
fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>, index: number) => U, thisArg?: any): Promise<Awaited<U>[]>;
|
|
40
|
-
readonly [Symbol.species]: ArrayConstructor;
|
|
41
|
-
};
|
|
42
|
-
default: () => any[];
|
|
43
|
-
};
|
|
44
|
-
labelRender: {
|
|
45
|
-
type: import("vue").PropType<import("@vunk/shared").AnyFunc>;
|
|
46
|
-
default: any;
|
|
47
|
-
};
|
|
48
|
-
typeRender: {
|
|
49
|
-
type: import("vue").PropType<import("@vunk/core").Func<any, import("element-plus").TagProps["type"]>>;
|
|
50
|
-
default: any;
|
|
51
|
-
};
|
|
52
|
-
required: {
|
|
53
|
-
readonly type: import("vue").PropType<boolean>;
|
|
54
|
-
readonly required: false;
|
|
55
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
56
|
-
__epPropKey: true;
|
|
57
|
-
} & {
|
|
58
|
-
readonly default: undefined;
|
|
59
|
-
};
|
|
60
|
-
formItemSize: {
|
|
61
|
-
type: import("vue").PropType<"default" | "small" | "large">;
|
|
62
|
-
default: "default" | "small" | "large";
|
|
63
|
-
};
|
|
64
|
-
formItemSlots: {
|
|
65
|
-
type: import("vue").PropType<import("@vunk/form/components/form-item/src/types").FormItemSlots>;
|
|
66
|
-
default: any;
|
|
67
|
-
};
|
|
68
|
-
elRef: {
|
|
69
|
-
type: import("vue").PropType<any>;
|
|
70
|
-
required: boolean;
|
|
71
|
-
};
|
|
72
|
-
inline: {
|
|
73
|
-
type: BooleanConstructor;
|
|
74
|
-
default: boolean;
|
|
75
|
-
};
|
|
76
|
-
readonly: {
|
|
77
|
-
type: BooleanConstructor;
|
|
78
|
-
default: any;
|
|
79
|
-
};
|
|
80
|
-
formItemTip: {
|
|
81
|
-
type: StringConstructor;
|
|
82
|
-
default: any;
|
|
83
|
-
};
|
|
84
|
-
formItemTipClass: any;
|
|
85
|
-
labelTip: {
|
|
86
|
-
type: StringConstructor;
|
|
87
|
-
default: any;
|
|
88
|
-
};
|
|
89
|
-
prop: any;
|
|
90
|
-
defaultModelValue: any;
|
|
91
|
-
label: StringConstructor;
|
|
92
|
-
labelWidth: {
|
|
93
|
-
readonly type: import("vue").PropType<string | number>;
|
|
94
|
-
readonly required: false;
|
|
95
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
96
|
-
__epPropKey: true;
|
|
97
|
-
} & {
|
|
98
|
-
readonly default: "";
|
|
99
|
-
};
|
|
100
|
-
labelPosition: {
|
|
101
|
-
readonly type: import("vue").PropType<"" | "top" | "left" | "right">;
|
|
102
|
-
readonly required: false;
|
|
103
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
104
|
-
__epPropKey: true;
|
|
105
|
-
} & {
|
|
106
|
-
readonly default: "";
|
|
107
|
-
};
|
|
108
|
-
rules: {
|
|
109
|
-
readonly type: import("vue").PropType<unknown>;
|
|
110
|
-
readonly required: false;
|
|
111
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
112
|
-
__epPropKey: true;
|
|
113
|
-
};
|
|
114
|
-
error: StringConstructor;
|
|
115
|
-
validateStatus: {
|
|
116
|
-
readonly type: import("vue").PropType<"" | "error" | "success" | "validating">;
|
|
117
|
-
readonly required: false;
|
|
118
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
119
|
-
__epPropKey: true;
|
|
120
|
-
};
|
|
121
|
-
for: StringConstructor;
|
|
122
|
-
inlineMessage: {
|
|
123
|
-
readonly type: import("vue").PropType<string | boolean>;
|
|
124
|
-
readonly required: false;
|
|
125
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
126
|
-
__epPropKey: true;
|
|
127
|
-
} & {
|
|
128
|
-
readonly default: "";
|
|
129
|
-
};
|
|
130
|
-
showMessage: {
|
|
131
|
-
readonly type: import("vue").PropType<boolean>;
|
|
132
|
-
readonly required: false;
|
|
133
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
134
|
-
__epPropKey: true;
|
|
135
|
-
} & {
|
|
136
|
-
readonly default: true;
|
|
137
|
-
};
|
|
138
|
-
}>, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
139
|
-
information: {
|
|
140
|
-
type: BooleanConstructor;
|
|
141
|
-
default: boolean;
|
|
142
|
-
};
|
|
143
|
-
modelValue: {
|
|
144
|
-
type: {
|
|
145
|
-
(arrayLength: number): import("@vunk/shared").NormalObject[];
|
|
146
|
-
(...items: import("@vunk/shared").NormalObject[]): import("@vunk/shared").NormalObject[];
|
|
147
|
-
new (arrayLength: number): import("@vunk/shared").NormalObject[];
|
|
148
|
-
new (...items: import("@vunk/shared").NormalObject[]): import("@vunk/shared").NormalObject[];
|
|
149
|
-
isArray(arg: any): arg is any[];
|
|
150
|
-
readonly prototype: any[];
|
|
151
|
-
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
152
|
-
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
153
|
-
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
154
|
-
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
155
|
-
of<T>(...items: T[]): T[];
|
|
156
|
-
fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
|
|
157
|
-
fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>, index: number) => U, thisArg?: any): Promise<Awaited<U>[]>;
|
|
158
|
-
readonly [Symbol.species]: ArrayConstructor;
|
|
159
|
-
};
|
|
160
|
-
default: () => any[];
|
|
161
|
-
};
|
|
162
|
-
columns: {
|
|
163
|
-
type: {
|
|
164
|
-
(arrayLength: number): any[];
|
|
165
|
-
(...items: any[]): any[];
|
|
166
|
-
new (arrayLength: number): any[];
|
|
167
|
-
new (...items: any[]): any[];
|
|
168
|
-
isArray(arg: any): arg is any[];
|
|
169
|
-
readonly prototype: any[];
|
|
170
|
-
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
171
|
-
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
172
|
-
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
173
|
-
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
174
|
-
of<T>(...items: T[]): T[];
|
|
175
|
-
fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
|
|
176
|
-
fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>, index: number) => U, thisArg?: any): Promise<Awaited<U>[]>;
|
|
177
|
-
readonly [Symbol.species]: ArrayConstructor;
|
|
178
|
-
};
|
|
179
|
-
default: () => any[];
|
|
180
|
-
};
|
|
181
|
-
labelRender: {
|
|
182
|
-
type: import("vue").PropType<import("@vunk/shared").AnyFunc>;
|
|
183
|
-
default: any;
|
|
184
|
-
};
|
|
185
|
-
typeRender: {
|
|
186
|
-
type: import("vue").PropType<import("@vunk/core").Func<any, import("element-plus").TagProps["type"]>>;
|
|
187
|
-
default: any;
|
|
188
|
-
};
|
|
189
|
-
required: {
|
|
190
|
-
readonly type: import("vue").PropType<boolean>;
|
|
191
|
-
readonly required: false;
|
|
192
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
193
|
-
__epPropKey: true;
|
|
194
|
-
} & {
|
|
195
|
-
readonly default: undefined;
|
|
196
|
-
};
|
|
197
|
-
formItemSize: {
|
|
198
|
-
type: import("vue").PropType<"default" | "small" | "large">;
|
|
199
|
-
default: "default" | "small" | "large";
|
|
200
|
-
};
|
|
201
|
-
formItemSlots: {
|
|
202
|
-
type: import("vue").PropType<import("@vunk/form/components/form-item/src/types").FormItemSlots>;
|
|
203
|
-
default: any;
|
|
204
|
-
};
|
|
205
|
-
elRef: {
|
|
206
|
-
type: import("vue").PropType<any>;
|
|
207
|
-
required: boolean;
|
|
208
|
-
};
|
|
209
|
-
inline: {
|
|
210
|
-
type: BooleanConstructor;
|
|
211
|
-
default: boolean;
|
|
212
|
-
};
|
|
213
|
-
readonly: {
|
|
214
|
-
type: BooleanConstructor;
|
|
215
|
-
default: any;
|
|
216
|
-
};
|
|
217
|
-
formItemTip: {
|
|
218
|
-
type: StringConstructor;
|
|
219
|
-
default: any;
|
|
220
|
-
};
|
|
221
|
-
formItemTipClass: any;
|
|
222
|
-
labelTip: {
|
|
223
|
-
type: StringConstructor;
|
|
224
|
-
default: any;
|
|
225
|
-
};
|
|
226
|
-
prop: any;
|
|
227
|
-
defaultModelValue: any;
|
|
228
|
-
label: StringConstructor;
|
|
229
|
-
labelWidth: {
|
|
230
|
-
readonly type: import("vue").PropType<string | number>;
|
|
231
|
-
readonly required: false;
|
|
232
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
233
|
-
__epPropKey: true;
|
|
234
|
-
} & {
|
|
235
|
-
readonly default: "";
|
|
236
|
-
};
|
|
237
|
-
labelPosition: {
|
|
238
|
-
readonly type: import("vue").PropType<"" | "top" | "left" | "right">;
|
|
239
|
-
readonly required: false;
|
|
240
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
241
|
-
__epPropKey: true;
|
|
242
|
-
} & {
|
|
243
|
-
readonly default: "";
|
|
244
|
-
};
|
|
245
|
-
rules: {
|
|
246
|
-
readonly type: import("vue").PropType<unknown>;
|
|
247
|
-
readonly required: false;
|
|
248
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
249
|
-
__epPropKey: true;
|
|
250
|
-
};
|
|
251
|
-
error: StringConstructor;
|
|
252
|
-
validateStatus: {
|
|
253
|
-
readonly type: import("vue").PropType<"" | "error" | "success" | "validating">;
|
|
254
|
-
readonly required: false;
|
|
255
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
256
|
-
__epPropKey: true;
|
|
257
|
-
};
|
|
258
|
-
for: StringConstructor;
|
|
259
|
-
inlineMessage: {
|
|
260
|
-
readonly type: import("vue").PropType<string | boolean>;
|
|
261
|
-
readonly required: false;
|
|
262
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
263
|
-
__epPropKey: true;
|
|
264
|
-
} & {
|
|
265
|
-
readonly default: "";
|
|
266
|
-
};
|
|
267
|
-
showMessage: {
|
|
268
|
-
readonly type: import("vue").PropType<boolean>;
|
|
269
|
-
readonly required: false;
|
|
270
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
271
|
-
__epPropKey: true;
|
|
272
|
-
} & {
|
|
273
|
-
readonly default: true;
|
|
274
|
-
};
|
|
275
|
-
}>> & Readonly<{}>, {
|
|
276
|
-
required: boolean;
|
|
277
|
-
formItemSize: "default" | "small" | "large";
|
|
278
|
-
formItemSlots: import("@vunk/form/components/form-item/src/types").FormItemSlots;
|
|
279
|
-
inline: boolean;
|
|
280
|
-
readonly: boolean;
|
|
281
|
-
formItemTip: string;
|
|
282
|
-
formItemTipClass: any;
|
|
283
|
-
labelTip: string;
|
|
284
|
-
information: boolean;
|
|
285
|
-
prop: any;
|
|
286
|
-
defaultModelValue: any;
|
|
287
|
-
labelWidth: string | number;
|
|
288
|
-
labelPosition: "" | "top" | "left" | "right";
|
|
289
|
-
inlineMessage: string | boolean;
|
|
290
|
-
showMessage: boolean;
|
|
291
|
-
modelValue: import("@vunk/shared").NormalObject[];
|
|
292
|
-
columns: any[];
|
|
293
|
-
labelRender: import("@vunk/shared").AnyFunc;
|
|
294
|
-
typeRender: ((...args: any) => "primary" | "success" | "warning" | "info" | "danger") | ((arg: any) => "primary" | "success" | "warning" | "info" | "danger");
|
|
295
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
296
|
-
export default _default;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { __VkfInputCollection } from '@vunk/form/components/input-collection';
|
|
2
|
-
import { __VkfTemplatesDefault } from '@vunk/form';
|
|
3
|
-
import { Keyof, NormalObject, VueComponentPropsType } from '@vunk/shared';
|
|
4
|
-
import type Core from './index.vue';
|
|
5
|
-
export type Column<R extends NormalObject = NormalObject, SourceType extends NormalObject = __VkfTemplatesDefault.CoreSource<Keyof<R>>> = __VkfInputCollection.Column<R, SourceType>;
|
|
6
|
-
export type ComponentProps = VueComponentPropsType<typeof Core>;
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
export declare const VkfInformationRenderer: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
-
source: {
|
|
3
|
-
type: import("vue").PropType<import("@vunk/core/components/renderer/src/types").SourceItem[]>;
|
|
4
|
-
default: () => any[];
|
|
5
|
-
};
|
|
6
|
-
templateInstances: {
|
|
7
|
-
type: import("vue").PropType<Record<string, import("vue").ComponentInternalInstance>>;
|
|
8
|
-
default: any;
|
|
9
|
-
};
|
|
10
|
-
k: {
|
|
11
|
-
type: import("vue").PropType<(string | number)[]>;
|
|
12
|
-
default: () => any[];
|
|
13
|
-
};
|
|
14
|
-
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
15
|
-
[key: string]: any;
|
|
16
|
-
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
17
|
-
source: {
|
|
18
|
-
type: import("vue").PropType<import("@vunk/core/components/renderer/src/types").SourceItem[]>;
|
|
19
|
-
default: () => any[];
|
|
20
|
-
};
|
|
21
|
-
templateInstances: {
|
|
22
|
-
type: import("vue").PropType<Record<string, import("vue").ComponentInternalInstance>>;
|
|
23
|
-
default: any;
|
|
24
|
-
};
|
|
25
|
-
k: {
|
|
26
|
-
type: import("vue").PropType<(string | number)[]>;
|
|
27
|
-
default: () => any[];
|
|
28
|
-
};
|
|
29
|
-
}>> & Readonly<{}>, {
|
|
30
|
-
source: import("@vunk/core/components/renderer/src/types").SourceItem[];
|
|
31
|
-
templateInstances: Record<string, import("vue").ComponentInternalInstance>;
|
|
32
|
-
k: (string | number)[];
|
|
33
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
34
|
-
export declare const VkfInformationTemplates: import("vue").DefineComponent<{}, (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
35
|
-
[key: string]: any;
|
|
36
|
-
}>[]) | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
37
|
-
[key: string]: any;
|
|
38
|
-
}>[][]), {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
39
|
-
export declare const VkfInformationData: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
40
|
-
data: {
|
|
41
|
-
type: import("vue").PropType<import("packages/entry").NormalObject>;
|
|
42
|
-
default: () => {};
|
|
43
|
-
};
|
|
44
|
-
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
45
|
-
[key: string]: any;
|
|
46
|
-
}>[], {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
47
|
-
setData: (e: import("packages/entry").SetDataEvent) => import("packages/entry").SetDataEvent;
|
|
48
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
49
|
-
data: {
|
|
50
|
-
type: import("vue").PropType<import("packages/entry").NormalObject>;
|
|
51
|
-
default: () => {};
|
|
52
|
-
};
|
|
53
|
-
}>> & Readonly<{
|
|
54
|
-
onSetData?: (e: import("packages/entry").SetDataEvent) => any;
|
|
55
|
-
}>, {
|
|
56
|
-
data: import("packages/entry").NormalObject;
|
|
57
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
58
|
-
export declare const VkfInformationTemplate: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
59
|
-
type: {
|
|
60
|
-
type: StringConstructor;
|
|
61
|
-
required: boolean;
|
|
62
|
-
default: string;
|
|
63
|
-
};
|
|
64
|
-
}>, () => any, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
65
|
-
type: {
|
|
66
|
-
type: StringConstructor;
|
|
67
|
-
required: boolean;
|
|
68
|
-
default: string;
|
|
69
|
-
};
|
|
70
|
-
}>> & Readonly<{}>, {
|
|
71
|
-
type: string;
|
|
72
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
73
|
-
export declare const useInformationData: () => Partial<import("@vunk/core/components/renderer-data/src/types").RendererDataContext>;
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
import { PropType } from 'vue';
|
|
2
|
-
import { Placement } from '@sxzz/popperjs-es';
|
|
3
|
-
import { NormalObject } from '@vunk/shared';
|
|
4
|
-
export declare const props: {
|
|
5
|
-
data: {
|
|
6
|
-
type: ObjectConstructor;
|
|
7
|
-
default: () => {};
|
|
8
|
-
};
|
|
9
|
-
labelRender: {
|
|
10
|
-
type: PropType<(data: NormalObject) => string>;
|
|
11
|
-
default: (data: any) => any;
|
|
12
|
-
};
|
|
13
|
-
title: {
|
|
14
|
-
type: PropType<string | ((data: any) => string)>;
|
|
15
|
-
default: string;
|
|
16
|
-
};
|
|
17
|
-
placement: {
|
|
18
|
-
type: PropType<Placement>;
|
|
19
|
-
default: string;
|
|
20
|
-
};
|
|
21
|
-
formItems: {
|
|
22
|
-
type: PropType<any[]>;
|
|
23
|
-
default: () => any[];
|
|
24
|
-
};
|
|
25
|
-
trigger: {
|
|
26
|
-
type: PropType<"click" | "focus" | "hover" | "contextmenu">;
|
|
27
|
-
default: string;
|
|
28
|
-
};
|
|
29
|
-
showAfter: {
|
|
30
|
-
type: NumberConstructor;
|
|
31
|
-
default: number;
|
|
32
|
-
};
|
|
33
|
-
type: {
|
|
34
|
-
readonly type: PropType<"primary" | "success" | "warning" | "info" | "danger">;
|
|
35
|
-
readonly required: false;
|
|
36
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
37
|
-
__epPropKey: true;
|
|
38
|
-
} & {
|
|
39
|
-
readonly default: "primary";
|
|
40
|
-
};
|
|
41
|
-
closable: BooleanConstructor;
|
|
42
|
-
disableTransitions: BooleanConstructor;
|
|
43
|
-
hit: BooleanConstructor;
|
|
44
|
-
color: StringConstructor;
|
|
45
|
-
size: {
|
|
46
|
-
readonly type: PropType<"" | "default" | "small" | "large">;
|
|
47
|
-
readonly required: false;
|
|
48
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
49
|
-
__epPropKey: true;
|
|
50
|
-
};
|
|
51
|
-
effect: {
|
|
52
|
-
readonly type: PropType<"dark" | "light" | "plain">;
|
|
53
|
-
readonly required: false;
|
|
54
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
55
|
-
__epPropKey: true;
|
|
56
|
-
} & {
|
|
57
|
-
readonly default: "light";
|
|
58
|
-
};
|
|
59
|
-
round: BooleanConstructor;
|
|
60
|
-
};
|
|
61
|
-
export declare const emits: {
|
|
62
|
-
close: (evt: MouseEvent) => boolean;
|
|
63
|
-
click: (evt: MouseEvent) => boolean;
|
|
64
|
-
};
|