@vunk/form 2.19.0 → 2.19.1
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/api-tables-select/src/ctx.d.ts +16 -22
- package/components/api-tables-select/src/index.vue.d.ts +39 -43
- package/components/button/index.mjs +1 -2
- package/components/button/src/ctx.d.ts +7 -7
- package/components/button/src/index.vue.d.ts +64 -63
- package/components/card-input-collection/index.cjs +1 -1
- package/components/card-input-collection/index.mjs +7 -7
- package/components/card-input-collection/src/core.vue.d.ts +12 -8
- package/components/card-input-collection/src/ctx.d.ts +2 -2
- package/components/card-input-collection/src/index.vue.d.ts +7 -6
- package/components/cascader/src/ctx.d.ts +33 -25
- package/components/cascader/src/index.vue.d.ts +67 -50
- package/components/cascader/src/use.d.ts +1 -1
- package/components/checkbox/index.mjs +3 -3
- package/components/checkbox/src/ctx.d.ts +19 -19
- package/components/checkbox/src/index.vue.d.ts +128 -127
- package/components/cloneDeep.cjs +1 -1
- package/components/color-picker/src/ctx.d.ts +22 -14
- package/components/color-picker/src/index.vue.d.ts +52 -32
- package/components/date-picker/src/ctx.d.ts +32 -24
- package/components/date-picker/src/index.vue.d.ts +68 -51
- package/components/date-picker-range/src/ctx.d.ts +23 -15
- package/components/date-picker-range/src/index.vue.d.ts +131 -98
- package/components/dialog/src/ctx.d.ts +5 -5
- package/components/dialog/src/index.vue.d.ts +18 -16
- package/components/dialog-input-collection/index.mjs +9 -9
- package/components/dialog-input-collection/src/ctx.d.ts +4 -3
- package/components/dialog-input-collection/src/dialog-form.vue.d.ts +12 -8
- package/components/dialog-input-collection/src/index.vue.d.ts +13 -11
- package/components/dialog-input-collection/src/layout.vue.d.ts +8 -4
- package/components/download-plus/index.cjs +1 -1
- package/components/download-plus/index.mjs +21 -22
- package/components/download-plus/src/api.d.ts +1 -1
- package/components/download-plus/src/ctx.d.ts +4 -3
- package/components/download-plus/src/index.vue.d.ts +81 -78
- package/components/editable-text/src/ctx.d.ts +2 -6
- package/components/editable-text/src/index.vue.d.ts +14 -10
- package/components/el-slider/index.mjs +4 -4
- package/components/el-slider/src/button.vue.d.ts +2 -1
- package/components/el-slider/src/composables/use-slide.d.ts +1 -1
- package/components/el-slider/src/composables/use-slider-button.d.ts +1 -1
- package/components/el-slider/src/composables/use-watch.d.ts +1 -1
- package/components/el-slider/src/slider-core.vue.d.ts +7 -6
- package/components/el-slider/src/slider.d.ts +2 -1
- package/components/esri-input-geojson/index.mjs +40 -55
- package/components/esri-input-geojson/src/append.vue.d.ts +97 -96
- package/components/esri-input-geojson/src/ctx.d.ts +21 -22
- package/components/esri-input-geojson/src/default-view.vue.d.ts +7 -3
- package/components/esri-input-geojson/src/index.vue.d.ts +593 -186
- package/components/esri-input-geojson/src/types.d.ts +0 -1
- package/components/esri-input-geojson/src/viewer.vue.d.ts +406 -40
- package/components/fieldset/index.mjs +2 -4
- package/components/fieldset/src/index.vue.d.ts +3 -2
- package/components/form/src/ctx.d.ts +1 -1
- package/components/form/src/index.vue.d.ts +68 -67
- package/components/form-item/index.mjs +6 -7
- package/components/form-item/src/core.vue.d.ts +12 -10
- package/components/form-item/src/ctx.d.ts +6 -4
- package/components/form-item/src/index.vue.d.ts +7 -6
- package/components/form-item-renderer/index.mjs +2 -3
- package/components/form-item-renderer/src/core.vue.d.ts +3 -2
- package/components/form-item-renderer/src/index.vue.d.ts +7 -5
- package/components/form-item-renderer-template/index.mjs +1 -2
- package/components/form-item-renderer-template/src/index.vue.d.ts +3 -2
- package/components/forms-provider/src/index.vue.d.ts +5 -2
- package/components/forms-provider/src/segment.vue.d.ts +7 -3
- package/components/forms-provider/src/view.vue.d.ts +11 -7
- package/components/index2.cjs +1 -1
- package/components/information/src/index.vue.d.ts +3 -2
- package/components/information-collection/src/ctx.d.ts +17 -11
- package/components/information-collection/src/index.vue.d.ts +36 -27
- package/components/information-renderer/index.d.ts +9 -9
- package/components/information-tag/src/ctx.d.ts +4 -3
- package/components/information-tag/src/index.vue.d.ts +12 -11
- package/components/information-templates-default/src/index.vue.d.ts +2 -1
- package/components/input/src/ctx.d.ts +20 -20
- package/components/input/src/index.vue.d.ts +70 -69
- package/components/input-array/src/ctx.d.ts +2 -2
- package/components/input-array/src/form-template.vue.d.ts +2 -1
- package/components/input-array/src/index.vue.d.ts +6 -5
- package/components/input-collection/src/core.vue.d.ts +17 -15
- package/components/input-collection/src/ctx.d.ts +4 -4
- package/components/input-collection/src/index.vue.d.ts +13 -12
- package/components/input-file/src/index.vue.d.ts +51 -50
- package/components/input-file/src/template.vue.d.ts +2 -1
- package/components/input-link/src/ctx.d.ts +19 -21
- package/components/input-link/src/index.vue.d.ts +111 -110
- package/components/input-number/src/ctx.d.ts +5 -5
- package/components/input-number/src/index.vue.d.ts +39 -38
- package/components/input-tag/src/ctx.d.ts +10 -10
- package/components/input-tag/src/index.vue.d.ts +48 -47
- package/components/monaco-editor/src/ctx.d.ts +2 -2
- package/components/monaco-editor/src/index.vue.d.ts +17 -16
- package/components/radio/index.cjs +1 -1
- package/components/radio/index.mjs +2 -2
- package/components/radio/src/ctx.d.ts +3 -3
- package/components/radio/src/index.vue.d.ts +32 -31
- package/components/radio/src/option.vue.d.ts +12 -10
- package/components/radio/src/wraper.vue.d.ts +9 -8
- package/components/renderer-data/src/index.vue.d.ts +3 -2
- package/components/select/src/core.vue.d.ts +99 -239
- package/components/select/src/ctx.d.ts +23 -95
- package/components/select/src/index.vue.d.ts +76 -75
- package/components/select/src/options.vue.d.ts +3 -2
- package/components/slider/src/ctx.d.ts +10 -10
- package/components/slider/src/index.vue.d.ts +29 -25
- package/components/style.css +1 -1
- package/components/switch/src/ctx.d.ts +11 -11
- package/components/switch/src/index.vue.d.ts +24 -20
- package/components/tables-select/index.mjs +1 -2
- package/components/tables-select/src/ctx.d.ts +27 -43
- package/components/tables-select/src/index.vue.d.ts +57 -71
- package/components/template-instances-provider/src/index.vue.d.ts +3 -2
- package/components/templates-default/src/ctx.d.ts +3 -5
- package/components/templates-default/src/index.vue.d.ts +778 -727
- package/components/templates-element-plus/index.mjs +3 -3
- package/components/templates-element-plus/src/index.vue.d.ts +27 -26
- package/components/templates-esri/src/index.vue.d.ts +600 -193
- package/components/templates-layout/index.mjs +3 -3
- package/components/templates-layout/src/index.vue.d.ts +14 -13
- package/components/templates-variant/src/index.vue.d.ts +132 -99
- package/components/time-picker/src/ctx.d.ts +31 -23
- package/components/time-picker/src/index.vue.d.ts +66 -49
- package/components/upload/index.cjs +1 -1
- package/components/upload/index.mjs +45 -45
- package/components/upload/src/ctx.d.ts +24 -22
- package/components/upload/src/file.vue.d.ts +75 -73
- package/components/upload/src/index.vue.d.ts +188 -187
- package/components/upload/src/wraper.vue.d.ts +48 -47
- package/components/upload-plus/index.cjs +7 -7
- package/components/upload-plus/index.mjs +1911 -1937
- package/components/upload-plus/src/api.d.ts +1 -1
- package/components/upload-plus/src/ctx.d.ts +2 -5
- package/components/upload-plus/src/index.vue.d.ts +6 -5
- package/components/use-watch.cjs +1 -1
- package/components/van-cascader/src/ctx.d.ts +33 -25
- package/components/van-cascader/src/index.vue.d.ts +67 -50
- package/components/var-datetime-picker/index.cjs +1 -1
- package/components/var-datetime-picker/index.mjs +18 -20
- package/components/var-datetime-picker/src/ctx.d.ts +4 -3
- package/components/var-datetime-picker/src/index.vue.d.ts +144 -179
- package/components/vditor/src/ctx.d.ts +2 -3
- package/components/vditor/src/index.vue.d.ts +19 -19
- package/composables/index.mjs +3 -5
- package/composables/useSourceManager.d.ts +2 -2
- package/index.css +1 -1
- package/package.json +1 -1
- package/shared/element-plus/instances.d.ts +60 -43
|
@@ -1,6 +1,10 @@
|
|
|
1
|
-
declare
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
declare var __VLS_7: {};
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
3
|
+
default?: (props: typeof __VLS_7) => any;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
6
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
7
|
+
declare const _default: typeof __VLS_export;
|
|
4
8
|
export default _default;
|
|
5
9
|
type __VLS_WithSlots<T, S> = T & {
|
|
6
10
|
new (): {
|
|
@@ -1,14 +1,18 @@
|
|
|
1
1
|
import { SegmentAttrs } from './types';
|
|
2
2
|
declare function validate(): Promise<boolean[]>;
|
|
3
|
-
declare
|
|
3
|
+
declare var __VLS_1: {
|
|
4
|
+
forms: SegmentAttrs[];
|
|
5
|
+
validate: typeof validate;
|
|
6
|
+
};
|
|
7
|
+
type __VLS_Slots = {} & {
|
|
8
|
+
default?: (props: typeof __VLS_1) => any;
|
|
9
|
+
};
|
|
10
|
+
declare const __VLS_base: import("vue").DefineComponent<{}, {
|
|
4
11
|
forms: import("vue").ComputedRef<SegmentAttrs[]>;
|
|
5
12
|
validate: typeof validate;
|
|
6
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
validate: typeof validate;
|
|
10
|
-
}) => any) | undefined;
|
|
11
|
-
}>;
|
|
13
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
14
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
15
|
+
declare const _default: typeof __VLS_export;
|
|
12
16
|
export default _default;
|
|
13
17
|
type __VLS_WithSlots<T, S> = T & {
|
|
14
18
|
new (): {
|
package/components/index2.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e={TokenKey:"VUNK_SKZZ_REST_TOKEN",
|
|
1
|
+
"use strict";const e={TokenKey:"VUNK_SKZZ_REST_TOKEN",TenantKey:"VUNK_SKZZ_REST_TENANT"};function t(){return localStorage.getItem(e.TokenKey)||""}function n(){return localStorage.getItem(e.TenantKey)||""}exports.getTenant=n;exports.getToken=t;
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
declare const _default:
|
|
1
|
+
declare const _default: typeof __VLS_export;
|
|
2
|
+
export default _default;
|
|
3
|
+
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
4
|
data: {
|
|
3
5
|
type: import("vue").PropType<import("@vunk/shared").NormalObject>;
|
|
4
6
|
default: () => {};
|
|
@@ -24,4 +26,3 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
24
26
|
data: import("@vunk/shared").NormalObject;
|
|
25
27
|
formItems: any[];
|
|
26
28
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
27
|
-
export default _default;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
+
import { Func } from '@vunk/core';
|
|
1
2
|
import { AnyFunc, NormalObject } from '@vunk/shared';
|
|
2
3
|
import type { PropType } from 'vue';
|
|
4
|
+
import { TagProps } from 'element-plus';
|
|
3
5
|
export declare const props: {
|
|
4
6
|
information: {
|
|
5
7
|
type: BooleanConstructor;
|
|
@@ -14,10 +16,12 @@ export declare const props: {
|
|
|
14
16
|
isArray(arg: any): arg is any[];
|
|
15
17
|
readonly prototype: any[];
|
|
16
18
|
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
17
|
-
from<
|
|
18
|
-
from<
|
|
19
|
-
from<
|
|
20
|
-
of<
|
|
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>[]>;
|
|
21
25
|
readonly [Symbol.species]: ArrayConstructor;
|
|
22
26
|
};
|
|
23
27
|
default: () => never[];
|
|
@@ -31,10 +35,12 @@ export declare const props: {
|
|
|
31
35
|
isArray(arg: any): arg is any[];
|
|
32
36
|
readonly prototype: any[];
|
|
33
37
|
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
34
|
-
from<
|
|
35
|
-
from<
|
|
36
|
-
from<
|
|
37
|
-
of<
|
|
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>[]>;
|
|
38
44
|
readonly [Symbol.species]: ArrayConstructor;
|
|
39
45
|
};
|
|
40
46
|
default: () => never[];
|
|
@@ -44,7 +50,7 @@ export declare const props: {
|
|
|
44
50
|
default: undefined;
|
|
45
51
|
};
|
|
46
52
|
typeRender: {
|
|
47
|
-
type: PropType<
|
|
53
|
+
type: PropType<Func<any, TagProps["type"]>>;
|
|
48
54
|
default: undefined;
|
|
49
55
|
};
|
|
50
56
|
required: import("element-plus/es/utils/index.mjs").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
@@ -88,14 +94,14 @@ export declare const props: {
|
|
|
88
94
|
};
|
|
89
95
|
labelPosition: import("element-plus/es/utils/index.mjs").EpPropFinalized<StringConstructor, "" | "left" | "right" | "top", unknown, "", boolean>;
|
|
90
96
|
rules: {
|
|
91
|
-
readonly type: PropType<import("element-plus/es/utils/index.mjs").EpPropMergeType<(new (...args: any[]) => import("element-plus").FormItemRule | import("element-plus").FormItemRule[]) | (() => import("element-plus/es/utils/typescript.mjs").Arrayable<import("element-plus").FormItemRule>) | ((new (...args: any[]) => import("element-plus").FormItemRule | import("element-plus").FormItemRule[]) | (() => import("element-plus/es/utils/typescript.mjs").Arrayable<import("element-plus").FormItemRule>) | null)[], unknown, unknown>>;
|
|
97
|
+
readonly type: PropType<import("element-plus/es/utils/index.mjs").EpPropMergeType<(new (...args: any[]) => import("element-plus").FormItemRule | import("element-plus").FormItemRule[]) | (() => import("element-plus/es/utils/typescript.mjs").Arrayable<import("element-plus").FormItemRule>) | (((new (...args: any[]) => import("element-plus").FormItemRule | import("element-plus").FormItemRule[]) | (() => import("element-plus/es/utils/typescript.mjs").Arrayable<import("element-plus").FormItemRule>)) | null)[], unknown, unknown>>;
|
|
92
98
|
readonly required: false;
|
|
93
99
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
94
100
|
__epPropKey: true;
|
|
95
101
|
};
|
|
96
102
|
error: StringConstructor;
|
|
97
103
|
validateStatus: {
|
|
98
|
-
readonly type: PropType<import("element-plus/es/utils/index.mjs").EpPropMergeType<StringConstructor, "" | "
|
|
104
|
+
readonly type: PropType<import("element-plus/es/utils/index.mjs").EpPropMergeType<StringConstructor, "" | "success" | "error" | "validating", unknown>>;
|
|
99
105
|
readonly required: false;
|
|
100
106
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
101
107
|
__epPropKey: true;
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
declare const _default:
|
|
1
|
+
declare const _default: typeof __VLS_export;
|
|
2
|
+
export default _default;
|
|
3
|
+
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
4
|
information: {
|
|
3
5
|
type: BooleanConstructor;
|
|
4
6
|
default: boolean;
|
|
@@ -12,10 +14,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
12
14
|
isArray(arg: any): arg is any[];
|
|
13
15
|
readonly prototype: any[];
|
|
14
16
|
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
15
|
-
from<
|
|
16
|
-
from<
|
|
17
|
-
from<
|
|
18
|
-
of<
|
|
17
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
18
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
19
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
20
|
+
of<T>(...items: T[]): T[];
|
|
21
|
+
fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
|
|
22
|
+
fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>, index: number) => U, thisArg?: any): Promise<Awaited<U>[]>;
|
|
19
23
|
readonly [Symbol.species]: ArrayConstructor;
|
|
20
24
|
};
|
|
21
25
|
default: () => never[];
|
|
@@ -29,10 +33,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
29
33
|
isArray(arg: any): arg is any[];
|
|
30
34
|
readonly prototype: any[];
|
|
31
35
|
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
32
|
-
from<
|
|
33
|
-
from<
|
|
34
|
-
from<
|
|
35
|
-
of<
|
|
36
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
37
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
38
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
39
|
+
of<T>(...items: T[]): T[];
|
|
40
|
+
fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
|
|
41
|
+
fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>, index: number) => U, thisArg?: any): Promise<Awaited<U>[]>;
|
|
36
42
|
readonly [Symbol.species]: ArrayConstructor;
|
|
37
43
|
};
|
|
38
44
|
default: () => never[];
|
|
@@ -42,7 +48,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
42
48
|
default: undefined;
|
|
43
49
|
};
|
|
44
50
|
typeRender: {
|
|
45
|
-
type: import("vue").PropType<(
|
|
51
|
+
type: import("vue").PropType<import("@vunk/core").Func<any, import("element-plus").TagProps["type"]>>;
|
|
46
52
|
default: undefined;
|
|
47
53
|
};
|
|
48
54
|
required: import("element-plus/es/utils/index.mjs").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
@@ -51,7 +57,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
51
57
|
default: "default" | "small" | "large";
|
|
52
58
|
};
|
|
53
59
|
formItemSlots: {
|
|
54
|
-
type: import("vue").PropType<import("../../form-item/src/types
|
|
60
|
+
type: import("vue").PropType<import("../../form-item/src/types").FormItemSlots>;
|
|
55
61
|
default: undefined;
|
|
56
62
|
};
|
|
57
63
|
elRef: {
|
|
@@ -86,14 +92,14 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
86
92
|
};
|
|
87
93
|
labelPosition: import("element-plus/es/utils/index.mjs").EpPropFinalized<StringConstructor, "" | "left" | "right" | "top", unknown, "", boolean>;
|
|
88
94
|
rules: {
|
|
89
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils/index.mjs").EpPropMergeType<(new (...args: any[]) => import("element-plus").FormItemRule | import("element-plus").FormItemRule[]) | (() => import("element-plus/es/utils/typescript.mjs").Arrayable<import("element-plus").FormItemRule>) | ((new (...args: any[]) => import("element-plus").FormItemRule | import("element-plus").FormItemRule[]) | (() => import("element-plus/es/utils/typescript.mjs").Arrayable<import("element-plus").FormItemRule>) | null)[], unknown, unknown>>;
|
|
95
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils/index.mjs").EpPropMergeType<(new (...args: any[]) => import("element-plus").FormItemRule | import("element-plus").FormItemRule[]) | (() => import("element-plus/es/utils/typescript.mjs").Arrayable<import("element-plus").FormItemRule>) | (((new (...args: any[]) => import("element-plus").FormItemRule | import("element-plus").FormItemRule[]) | (() => import("element-plus/es/utils/typescript.mjs").Arrayable<import("element-plus").FormItemRule>)) | null)[], unknown, unknown>>;
|
|
90
96
|
readonly required: false;
|
|
91
97
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
92
98
|
__epPropKey: true;
|
|
93
99
|
};
|
|
94
100
|
error: StringConstructor;
|
|
95
101
|
validateStatus: {
|
|
96
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils/index.mjs").EpPropMergeType<StringConstructor, "" | "
|
|
102
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils/index.mjs").EpPropMergeType<StringConstructor, "" | "success" | "error" | "validating", unknown>>;
|
|
97
103
|
readonly required: false;
|
|
98
104
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
99
105
|
__epPropKey: true;
|
|
@@ -115,10 +121,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
115
121
|
isArray(arg: any): arg is any[];
|
|
116
122
|
readonly prototype: any[];
|
|
117
123
|
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
118
|
-
from<
|
|
119
|
-
from<
|
|
120
|
-
from<
|
|
121
|
-
of<
|
|
124
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
125
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
126
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
127
|
+
of<T>(...items: T[]): T[];
|
|
128
|
+
fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
|
|
129
|
+
fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>, index: number) => U, thisArg?: any): Promise<Awaited<U>[]>;
|
|
122
130
|
readonly [Symbol.species]: ArrayConstructor;
|
|
123
131
|
};
|
|
124
132
|
default: () => never[];
|
|
@@ -132,10 +140,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
132
140
|
isArray(arg: any): arg is any[];
|
|
133
141
|
readonly prototype: any[];
|
|
134
142
|
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
135
|
-
from<
|
|
136
|
-
from<
|
|
137
|
-
from<
|
|
138
|
-
of<
|
|
143
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
144
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
145
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
146
|
+
of<T>(...items: T[]): T[];
|
|
147
|
+
fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
|
|
148
|
+
fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>, index: number) => U, thisArg?: any): Promise<Awaited<U>[]>;
|
|
139
149
|
readonly [Symbol.species]: ArrayConstructor;
|
|
140
150
|
};
|
|
141
151
|
default: () => never[];
|
|
@@ -145,7 +155,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
145
155
|
default: undefined;
|
|
146
156
|
};
|
|
147
157
|
typeRender: {
|
|
148
|
-
type: import("vue").PropType<(
|
|
158
|
+
type: import("vue").PropType<import("@vunk/core").Func<any, import("element-plus").TagProps["type"]>>;
|
|
149
159
|
default: undefined;
|
|
150
160
|
};
|
|
151
161
|
required: import("element-plus/es/utils/index.mjs").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
@@ -154,7 +164,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
154
164
|
default: "default" | "small" | "large";
|
|
155
165
|
};
|
|
156
166
|
formItemSlots: {
|
|
157
|
-
type: import("vue").PropType<import("../../form-item/src/types
|
|
167
|
+
type: import("vue").PropType<import("../../form-item/src/types").FormItemSlots>;
|
|
158
168
|
default: undefined;
|
|
159
169
|
};
|
|
160
170
|
elRef: {
|
|
@@ -189,14 +199,14 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
189
199
|
};
|
|
190
200
|
labelPosition: import("element-plus/es/utils/index.mjs").EpPropFinalized<StringConstructor, "" | "left" | "right" | "top", unknown, "", boolean>;
|
|
191
201
|
rules: {
|
|
192
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils/index.mjs").EpPropMergeType<(new (...args: any[]) => import("element-plus").FormItemRule | import("element-plus").FormItemRule[]) | (() => import("element-plus/es/utils/typescript.mjs").Arrayable<import("element-plus").FormItemRule>) | ((new (...args: any[]) => import("element-plus").FormItemRule | import("element-plus").FormItemRule[]) | (() => import("element-plus/es/utils/typescript.mjs").Arrayable<import("element-plus").FormItemRule>) | null)[], unknown, unknown>>;
|
|
202
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils/index.mjs").EpPropMergeType<(new (...args: any[]) => import("element-plus").FormItemRule | import("element-plus").FormItemRule[]) | (() => import("element-plus/es/utils/typescript.mjs").Arrayable<import("element-plus").FormItemRule>) | (((new (...args: any[]) => import("element-plus").FormItemRule | import("element-plus").FormItemRule[]) | (() => import("element-plus/es/utils/typescript.mjs").Arrayable<import("element-plus").FormItemRule>)) | null)[], unknown, unknown>>;
|
|
193
203
|
readonly required: false;
|
|
194
204
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
195
205
|
__epPropKey: true;
|
|
196
206
|
};
|
|
197
207
|
error: StringConstructor;
|
|
198
208
|
validateStatus: {
|
|
199
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils/index.mjs").EpPropMergeType<StringConstructor, "" | "
|
|
209
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils/index.mjs").EpPropMergeType<StringConstructor, "" | "success" | "error" | "validating", unknown>>;
|
|
200
210
|
readonly required: false;
|
|
201
211
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
202
212
|
__epPropKey: true;
|
|
@@ -207,7 +217,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
207
217
|
}>> & Readonly<{}>, {
|
|
208
218
|
required: import("element-plus/es/utils/index.mjs").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
209
219
|
formItemSize: "default" | "small" | "large";
|
|
210
|
-
formItemSlots: import("../../form-item/src/types
|
|
220
|
+
formItemSlots: import("../../form-item/src/types").FormItemSlots;
|
|
211
221
|
inline: boolean;
|
|
212
222
|
readonly: boolean;
|
|
213
223
|
formItemTip: string;
|
|
@@ -221,4 +231,3 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
221
231
|
columns: any[];
|
|
222
232
|
typeRender: ((...args: any) => "primary" | "success" | "warning" | "info" | "danger" | undefined) | ((arg: any) => "primary" | "success" | "warning" | "info" | "danger" | undefined);
|
|
223
233
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
224
|
-
export default _default;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export declare const VkfInformationRenderer: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
2
|
source: {
|
|
3
|
-
type: import("vue").PropType<
|
|
3
|
+
type: import("vue").PropType<import("@vunk/core/components/renderer/src/types").SourceItem[]>;
|
|
4
4
|
default: () => any[];
|
|
5
5
|
};
|
|
6
6
|
templateInstances: {
|
|
@@ -15,7 +15,7 @@ export declare const VkfInformationRenderer: import("vue").DefineComponent<impor
|
|
|
15
15
|
[key: string]: any;
|
|
16
16
|
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
17
17
|
source: {
|
|
18
|
-
type: import("vue").PropType<
|
|
18
|
+
type: import("vue").PropType<import("@vunk/core/components/renderer/src/types").SourceItem[]>;
|
|
19
19
|
default: () => any[];
|
|
20
20
|
};
|
|
21
21
|
templateInstances: {
|
|
@@ -27,7 +27,7 @@ export declare const VkfInformationRenderer: import("vue").DefineComponent<impor
|
|
|
27
27
|
default: () => any[];
|
|
28
28
|
};
|
|
29
29
|
}>> & Readonly<{}>, {
|
|
30
|
-
source:
|
|
30
|
+
source: import("@vunk/core/components/renderer/src/types").SourceItem[];
|
|
31
31
|
templateInstances: Record<string, import("vue").ComponentInternalInstance>;
|
|
32
32
|
k: (string | number)[];
|
|
33
33
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -38,22 +38,22 @@ export declare const VkfInformationTemplates: import("vue").DefineComponent<{},
|
|
|
38
38
|
}>[][]), {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
39
39
|
export declare const VkfInformationData: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
40
40
|
data: {
|
|
41
|
-
type: import("vue").PropType<
|
|
41
|
+
type: import("vue").PropType<import("packages/entry").NormalObject>;
|
|
42
42
|
default: () => {};
|
|
43
43
|
};
|
|
44
44
|
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
45
45
|
[key: string]: any;
|
|
46
46
|
}>[], {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
47
|
-
setData: (e:
|
|
47
|
+
setData: (e: import("packages/entry").SetDataEvent) => import("packages/entry").SetDataEvent;
|
|
48
48
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
49
49
|
data: {
|
|
50
|
-
type: import("vue").PropType<
|
|
50
|
+
type: import("vue").PropType<import("packages/entry").NormalObject>;
|
|
51
51
|
default: () => {};
|
|
52
52
|
};
|
|
53
53
|
}>> & Readonly<{
|
|
54
|
-
onSetData?: (
|
|
54
|
+
onSetData?: (e: import("packages/entry").SetDataEvent) => any;
|
|
55
55
|
}>, {
|
|
56
|
-
data:
|
|
56
|
+
data: import("packages/entry").NormalObject;
|
|
57
57
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
58
58
|
export declare const VkfInformationTemplate: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
59
59
|
type: {
|
|
@@ -70,4 +70,4 @@ export declare const VkfInformationTemplate: import("vue").DefineComponent<impor
|
|
|
70
70
|
}>> & Readonly<{}>, {
|
|
71
71
|
type: string;
|
|
72
72
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
73
|
-
export declare const useInformationData: () =>
|
|
73
|
+
export declare const useInformationData: () => Partial<import("@vunk/core/components/renderer-data/src/types").RendererDataContext>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { PropType } from 'vue';
|
|
2
|
+
import { Placement } from '@sxzz/popperjs-es';
|
|
2
3
|
import { NormalObject } from '@vunk/shared';
|
|
3
4
|
export declare const props: {
|
|
4
5
|
data: {
|
|
@@ -22,14 +23,14 @@ export declare const props: {
|
|
|
22
23
|
default: () => never[];
|
|
23
24
|
};
|
|
24
25
|
trigger: {
|
|
25
|
-
type: PropType<"
|
|
26
|
+
type: PropType<"click" | "focus" | "hover" | "contextmenu">;
|
|
26
27
|
default: string;
|
|
27
28
|
};
|
|
28
29
|
showAfter: {
|
|
29
30
|
type: NumberConstructor;
|
|
30
31
|
default: number;
|
|
31
32
|
};
|
|
32
|
-
type: import("element-plus/es/utils/index.mjs").EpPropFinalized<StringConstructor, "
|
|
33
|
+
type: import("element-plus/es/utils/index.mjs").EpPropFinalized<StringConstructor, "info" | "primary" | "success" | "warning" | "danger", unknown, "primary", boolean>;
|
|
33
34
|
closable: BooleanConstructor;
|
|
34
35
|
disableTransitions: BooleanConstructor;
|
|
35
36
|
hit: BooleanConstructor;
|
|
@@ -40,7 +41,7 @@ export declare const props: {
|
|
|
40
41
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
41
42
|
__epPropKey: true;
|
|
42
43
|
};
|
|
43
|
-
effect: import("element-plus/es/utils/index.mjs").EpPropFinalized<StringConstructor, "
|
|
44
|
+
effect: import("element-plus/es/utils/index.mjs").EpPropFinalized<StringConstructor, "dark" | "light" | "plain", unknown, "light", boolean>;
|
|
44
45
|
round: BooleanConstructor;
|
|
45
46
|
};
|
|
46
47
|
export declare const emits: {
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
declare const _default:
|
|
1
|
+
declare const _default: typeof __VLS_export;
|
|
2
|
+
export default _default;
|
|
3
|
+
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
4
|
data: {
|
|
3
5
|
type: ObjectConstructor;
|
|
4
6
|
default: () => {};
|
|
@@ -12,7 +14,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
12
14
|
default: string;
|
|
13
15
|
};
|
|
14
16
|
placement: {
|
|
15
|
-
type: import("vue").PropType<Placement>;
|
|
17
|
+
type: import("vue").PropType<import("element-plus").Placement>;
|
|
16
18
|
default: string;
|
|
17
19
|
};
|
|
18
20
|
formItems: {
|
|
@@ -20,14 +22,14 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
20
22
|
default: () => never[];
|
|
21
23
|
};
|
|
22
24
|
trigger: {
|
|
23
|
-
type: import("vue").PropType<"
|
|
25
|
+
type: import("vue").PropType<"click" | "focus" | "hover" | "contextmenu">;
|
|
24
26
|
default: string;
|
|
25
27
|
};
|
|
26
28
|
showAfter: {
|
|
27
29
|
type: NumberConstructor;
|
|
28
30
|
default: number;
|
|
29
31
|
};
|
|
30
|
-
type: import("element-plus/es/utils/index.mjs").EpPropFinalized<StringConstructor, "
|
|
32
|
+
type: import("element-plus/es/utils/index.mjs").EpPropFinalized<StringConstructor, "info" | "primary" | "success" | "warning" | "danger", unknown, "primary", boolean>;
|
|
31
33
|
closable: BooleanConstructor;
|
|
32
34
|
disableTransitions: BooleanConstructor;
|
|
33
35
|
hit: BooleanConstructor;
|
|
@@ -38,7 +40,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
38
40
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
39
41
|
__epPropKey: true;
|
|
40
42
|
};
|
|
41
|
-
effect: import("element-plus/es/utils/index.mjs").EpPropFinalized<StringConstructor, "
|
|
43
|
+
effect: import("element-plus/es/utils/index.mjs").EpPropFinalized<StringConstructor, "dark" | "light" | "plain", unknown, "light", boolean>;
|
|
42
44
|
round: BooleanConstructor;
|
|
43
45
|
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
44
46
|
close: (evt: MouseEvent) => boolean;
|
|
@@ -57,7 +59,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
57
59
|
default: string;
|
|
58
60
|
};
|
|
59
61
|
placement: {
|
|
60
|
-
type: import("vue").PropType<Placement>;
|
|
62
|
+
type: import("vue").PropType<import("element-plus").Placement>;
|
|
61
63
|
default: string;
|
|
62
64
|
};
|
|
63
65
|
formItems: {
|
|
@@ -65,14 +67,14 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
65
67
|
default: () => never[];
|
|
66
68
|
};
|
|
67
69
|
trigger: {
|
|
68
|
-
type: import("vue").PropType<"
|
|
70
|
+
type: import("vue").PropType<"click" | "focus" | "hover" | "contextmenu">;
|
|
69
71
|
default: string;
|
|
70
72
|
};
|
|
71
73
|
showAfter: {
|
|
72
74
|
type: NumberConstructor;
|
|
73
75
|
default: number;
|
|
74
76
|
};
|
|
75
|
-
type: import("element-plus/es/utils/index.mjs").EpPropFinalized<StringConstructor, "
|
|
77
|
+
type: import("element-plus/es/utils/index.mjs").EpPropFinalized<StringConstructor, "info" | "primary" | "success" | "warning" | "danger", unknown, "primary", boolean>;
|
|
76
78
|
closable: BooleanConstructor;
|
|
77
79
|
disableTransitions: BooleanConstructor;
|
|
78
80
|
hit: BooleanConstructor;
|
|
@@ -83,14 +85,14 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
83
85
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
84
86
|
__epPropKey: true;
|
|
85
87
|
};
|
|
86
|
-
effect: import("element-plus/es/utils/index.mjs").EpPropFinalized<StringConstructor, "
|
|
88
|
+
effect: import("element-plus/es/utils/index.mjs").EpPropFinalized<StringConstructor, "dark" | "light" | "plain", unknown, "light", boolean>;
|
|
87
89
|
round: BooleanConstructor;
|
|
88
90
|
}>> & Readonly<{
|
|
89
91
|
onClick?: ((evt: MouseEvent) => any) | undefined;
|
|
90
92
|
onClose?: ((evt: MouseEvent) => any) | undefined;
|
|
91
93
|
}>, {
|
|
92
94
|
type: import("element-plus/es/utils/index.mjs").EpPropMergeType<StringConstructor, "primary" | "success" | "warning" | "info" | "danger", unknown>;
|
|
93
|
-
placement: Placement;
|
|
95
|
+
placement: import("element-plus").Placement;
|
|
94
96
|
data: Record<string, any>;
|
|
95
97
|
title: string | ((data: any) => string);
|
|
96
98
|
effect: import("element-plus/es/utils/index.mjs").EpPropMergeType<StringConstructor, "light" | "dark" | "plain", unknown>;
|
|
@@ -103,4 +105,3 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
103
105
|
disableTransitions: boolean;
|
|
104
106
|
hit: boolean;
|
|
105
107
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
106
|
-
export default _default;
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
declare const _default:
|
|
1
|
+
declare const _default: typeof __VLS_export;
|
|
2
2
|
export default _default;
|
|
3
|
+
declare const __VLS_export: import("vue").DefineComponent<{}, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|