unione-form-vue 0.0.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/README.md +9 -0
- package/dist/editor.d.ts +52 -0
- package/dist/index.d.ts +17 -0
- package/dist/index.umd.js +365 -0
- package/dist/lib/data.d.ts +62 -0
- package/dist/lib/utils.d.ts +10 -0
- package/dist/locales/index.d.ts +9 -0
- package/dist/locales/lang/en-US.d.ts +11 -0
- package/dist/locales/lang/global/en-US.d.ts +9 -0
- package/dist/locales/lang/global/zh-CN.d.ts +9 -0
- package/dist/locales/lang/pages/en-US.d.ts +4 -0
- package/dist/locales/lang/pages/zh-CN.d.ts +4 -0
- package/dist/locales/lang/routes/en-US.d.ts +4 -0
- package/dist/locales/lang/routes/zh-CN.d.ts +4 -0
- package/dist/locales/lang/zh-CN.d.ts +11 -0
- package/dist/page/page.vue.d.ts +36 -0
- package/dist/page/view.vue.d.ts +46 -0
- package/dist/style.css +1 -0
- package/dist/typing.d.ts +285 -0
- package/dist/version/index.d.ts +2 -0
- package/dist/version/version.d.ts +2 -0
- package/dist/widgets/base/btn.vue.d.ts +40 -0
- package/dist/widgets/form/form.vue.d.ts +34 -0
- package/dist/widgets/form/render.vue.d.ts +38 -0
- package/dist/widgets/layout/tabs.vue.d.ts +28 -0
- package/dist/widgets/props/base/btnSetting.vue.d.ts +44 -0
- package/dist/widgets/props/data/dataDefine.vue.d.ts +25 -0
- package/dist/widgets/props/data/dataField.vue.d.ts +53 -0
- package/dist/widgets/props/data/dataFieldMange.vue.d.ts +10 -0
- package/dist/widgets/props/data/dataFieldSetting.vue.d.ts +10 -0
- package/dist/widgets/props/form/formSetting.vue.d.ts +20 -0
- package/dist/widgets/props/page/pageSetting.vue.d.ts +12 -0
- package/dist/widgets/props/query/querySetting.vue.d.ts +20 -0
- package/dist/widgets/props/table/tableSetting.vue.d.ts +20 -0
- package/dist/widgets/query/queryForm.vue.d.ts +38 -0
- package/dist/widgets/table/tableList.vue.d.ts +88 -0
- package/dist/widgets/widget.vue.d.ts +45 -0
- package/package.json +87 -0
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
+
wid: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
required: false;
|
|
5
|
+
};
|
|
6
|
+
editor: {
|
|
7
|
+
type: ObjectConstructor;
|
|
8
|
+
required: false;
|
|
9
|
+
};
|
|
10
|
+
widget: {
|
|
11
|
+
type: ObjectConstructor;
|
|
12
|
+
required: false;
|
|
13
|
+
};
|
|
14
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
15
|
+
wid: {
|
|
16
|
+
type: StringConstructor;
|
|
17
|
+
required: false;
|
|
18
|
+
};
|
|
19
|
+
editor: {
|
|
20
|
+
type: ObjectConstructor;
|
|
21
|
+
required: false;
|
|
22
|
+
};
|
|
23
|
+
widget: {
|
|
24
|
+
type: ObjectConstructor;
|
|
25
|
+
required: false;
|
|
26
|
+
};
|
|
27
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
28
|
+
export default _default;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
declare function open(btn: any, callback: Function, helps?: any): void;
|
|
2
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
3
|
+
preset: {
|
|
4
|
+
type: {
|
|
5
|
+
(arrayLength: number): string[];
|
|
6
|
+
(...items: string[]): string[];
|
|
7
|
+
new (arrayLength: number): string[];
|
|
8
|
+
new (...items: string[]): string[];
|
|
9
|
+
isArray(arg: any): arg is any[];
|
|
10
|
+
readonly prototype: any[];
|
|
11
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
12
|
+
from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
|
|
13
|
+
from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
|
|
14
|
+
from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
|
|
15
|
+
of<T_4>(...items: T_4[]): T_4[];
|
|
16
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
17
|
+
};
|
|
18
|
+
default(): never[];
|
|
19
|
+
};
|
|
20
|
+
}>, {
|
|
21
|
+
open: typeof open;
|
|
22
|
+
close: typeof close;
|
|
23
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
24
|
+
preset: {
|
|
25
|
+
type: {
|
|
26
|
+
(arrayLength: number): string[];
|
|
27
|
+
(...items: string[]): string[];
|
|
28
|
+
new (arrayLength: number): string[];
|
|
29
|
+
new (...items: string[]): string[];
|
|
30
|
+
isArray(arg: any): arg is any[];
|
|
31
|
+
readonly prototype: any[];
|
|
32
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
33
|
+
from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
|
|
34
|
+
from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
|
|
35
|
+
from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
|
|
36
|
+
of<T_4>(...items: T_4[]): T_4[];
|
|
37
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
38
|
+
};
|
|
39
|
+
default(): never[];
|
|
40
|
+
};
|
|
41
|
+
}>> & Readonly<{}>, {
|
|
42
|
+
preset: string[];
|
|
43
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
44
|
+
export default _default;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
declare function toSaving(): void;
|
|
2
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
3
|
+
limit: {
|
|
4
|
+
type: NumberConstructor;
|
|
5
|
+
default: number;
|
|
6
|
+
};
|
|
7
|
+
editor: {
|
|
8
|
+
type: ObjectConstructor;
|
|
9
|
+
required: true;
|
|
10
|
+
};
|
|
11
|
+
}>, {
|
|
12
|
+
toSaving: typeof toSaving;
|
|
13
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
14
|
+
limit: {
|
|
15
|
+
type: NumberConstructor;
|
|
16
|
+
default: number;
|
|
17
|
+
};
|
|
18
|
+
editor: {
|
|
19
|
+
type: ObjectConstructor;
|
|
20
|
+
required: true;
|
|
21
|
+
};
|
|
22
|
+
}>> & Readonly<{}>, {
|
|
23
|
+
limit: number;
|
|
24
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
25
|
+
export default _default;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { DataField } from '../../../typing';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
3
|
+
filter: {
|
|
4
|
+
type: {
|
|
5
|
+
(arrayLength: number): String[];
|
|
6
|
+
(...items: String[]): String[];
|
|
7
|
+
new (arrayLength: number): String[];
|
|
8
|
+
new (...items: String[]): String[];
|
|
9
|
+
isArray(arg: any): arg is any[];
|
|
10
|
+
readonly prototype: any[];
|
|
11
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
12
|
+
from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
|
|
13
|
+
from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
|
|
14
|
+
from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
|
|
15
|
+
of<T_4>(...items: T_4[]): T_4[];
|
|
16
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
17
|
+
};
|
|
18
|
+
default(): never[];
|
|
19
|
+
};
|
|
20
|
+
modelValue: {
|
|
21
|
+
type: import('vue').PropType<DataField[]>;
|
|
22
|
+
required: true;
|
|
23
|
+
};
|
|
24
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
25
|
+
"update:modelValue": (modelValue: DataField[]) => any;
|
|
26
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
27
|
+
filter: {
|
|
28
|
+
type: {
|
|
29
|
+
(arrayLength: number): String[];
|
|
30
|
+
(...items: String[]): String[];
|
|
31
|
+
new (arrayLength: number): String[];
|
|
32
|
+
new (...items: String[]): String[];
|
|
33
|
+
isArray(arg: any): arg is any[];
|
|
34
|
+
readonly prototype: any[];
|
|
35
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
36
|
+
from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
|
|
37
|
+
from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
|
|
38
|
+
from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
|
|
39
|
+
of<T_4>(...items: T_4[]): T_4[];
|
|
40
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
41
|
+
};
|
|
42
|
+
default(): never[];
|
|
43
|
+
};
|
|
44
|
+
modelValue: {
|
|
45
|
+
type: import('vue').PropType<DataField[]>;
|
|
46
|
+
required: true;
|
|
47
|
+
};
|
|
48
|
+
}>> & Readonly<{
|
|
49
|
+
"onUpdate:modelValue"?: ((modelValue: DataField[]) => any) | undefined;
|
|
50
|
+
}>, {
|
|
51
|
+
filter: String[];
|
|
52
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
53
|
+
export default _default;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { DataField } from '../../../typing';
|
|
2
|
+
type __VLS_PublicProps = {
|
|
3
|
+
modelValue: Array<DataField>;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
6
|
+
"update:modelValue": (modelValue: DataField[]) => any;
|
|
7
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
8
|
+
"onUpdate:modelValue"?: ((modelValue: DataField[]) => any) | undefined;
|
|
9
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
10
|
+
export default _default;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { DataField } from '../../../typing';
|
|
2
|
+
type __VLS_PublicProps = {
|
|
3
|
+
modelValue: Array<DataField>;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
6
|
+
"update:modelValue": (modelValue: DataField[]) => any;
|
|
7
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
8
|
+
"onUpdate:modelValue"?: ((modelValue: DataField[]) => any) | undefined;
|
|
9
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
10
|
+
export default _default;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
+
wid: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
required: true;
|
|
5
|
+
};
|
|
6
|
+
editor: {
|
|
7
|
+
type: ObjectConstructor;
|
|
8
|
+
required: true;
|
|
9
|
+
};
|
|
10
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
11
|
+
wid: {
|
|
12
|
+
type: StringConstructor;
|
|
13
|
+
required: true;
|
|
14
|
+
};
|
|
15
|
+
editor: {
|
|
16
|
+
type: ObjectConstructor;
|
|
17
|
+
required: true;
|
|
18
|
+
};
|
|
19
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
20
|
+
export default _default;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
+
editor: {
|
|
3
|
+
type: ObjectConstructor;
|
|
4
|
+
required: true;
|
|
5
|
+
};
|
|
6
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
7
|
+
editor: {
|
|
8
|
+
type: ObjectConstructor;
|
|
9
|
+
required: true;
|
|
10
|
+
};
|
|
11
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
12
|
+
export default _default;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
+
wid: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
required: true;
|
|
5
|
+
};
|
|
6
|
+
editor: {
|
|
7
|
+
type: ObjectConstructor;
|
|
8
|
+
required: true;
|
|
9
|
+
};
|
|
10
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
11
|
+
wid: {
|
|
12
|
+
type: StringConstructor;
|
|
13
|
+
required: true;
|
|
14
|
+
};
|
|
15
|
+
editor: {
|
|
16
|
+
type: ObjectConstructor;
|
|
17
|
+
required: true;
|
|
18
|
+
};
|
|
19
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
20
|
+
export default _default;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
+
wid: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
required: true;
|
|
5
|
+
};
|
|
6
|
+
editor: {
|
|
7
|
+
type: ObjectConstructor;
|
|
8
|
+
required: true;
|
|
9
|
+
};
|
|
10
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
11
|
+
wid: {
|
|
12
|
+
type: StringConstructor;
|
|
13
|
+
required: true;
|
|
14
|
+
};
|
|
15
|
+
editor: {
|
|
16
|
+
type: ObjectConstructor;
|
|
17
|
+
required: true;
|
|
18
|
+
};
|
|
19
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
20
|
+
export default _default;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { WidgetModel } from '../../typing';
|
|
3
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
4
|
+
wid: {
|
|
5
|
+
type: StringConstructor;
|
|
6
|
+
required: false;
|
|
7
|
+
};
|
|
8
|
+
editor: {
|
|
9
|
+
type: ObjectConstructor;
|
|
10
|
+
required: false;
|
|
11
|
+
};
|
|
12
|
+
widget: {
|
|
13
|
+
type: PropType<WidgetModel>;
|
|
14
|
+
required: false;
|
|
15
|
+
};
|
|
16
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
17
|
+
reset: (...args: any[]) => void;
|
|
18
|
+
btnClick: (...args: any[]) => void;
|
|
19
|
+
query: (...args: any[]) => void;
|
|
20
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
21
|
+
wid: {
|
|
22
|
+
type: StringConstructor;
|
|
23
|
+
required: false;
|
|
24
|
+
};
|
|
25
|
+
editor: {
|
|
26
|
+
type: ObjectConstructor;
|
|
27
|
+
required: false;
|
|
28
|
+
};
|
|
29
|
+
widget: {
|
|
30
|
+
type: PropType<WidgetModel>;
|
|
31
|
+
required: false;
|
|
32
|
+
};
|
|
33
|
+
}>> & Readonly<{
|
|
34
|
+
onReset?: ((...args: any[]) => any) | undefined;
|
|
35
|
+
onBtnClick?: ((...args: any[]) => any) | undefined;
|
|
36
|
+
onQuery?: ((...args: any[]) => any) | undefined;
|
|
37
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
38
|
+
export default _default;
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { WidgetModel } from '../../typing';
|
|
3
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
4
|
+
wid: {
|
|
5
|
+
type: StringConstructor;
|
|
6
|
+
required: false;
|
|
7
|
+
};
|
|
8
|
+
editor: {
|
|
9
|
+
type: ObjectConstructor;
|
|
10
|
+
required: false;
|
|
11
|
+
};
|
|
12
|
+
widget: {
|
|
13
|
+
type: PropType<WidgetModel>;
|
|
14
|
+
required: false;
|
|
15
|
+
};
|
|
16
|
+
dataList: {
|
|
17
|
+
type: {
|
|
18
|
+
(arrayLength: number): Object[];
|
|
19
|
+
(...items: Object[]): Object[];
|
|
20
|
+
new (arrayLength: number): Object[];
|
|
21
|
+
new (...items: Object[]): Object[];
|
|
22
|
+
isArray(arg: any): arg is any[];
|
|
23
|
+
readonly prototype: any[];
|
|
24
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
25
|
+
from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
|
|
26
|
+
from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
|
|
27
|
+
from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
|
|
28
|
+
of<T_4>(...items: T_4[]): T_4[];
|
|
29
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
30
|
+
};
|
|
31
|
+
default(): never[];
|
|
32
|
+
};
|
|
33
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
34
|
+
add: (...args: any[]) => void;
|
|
35
|
+
change: (...args: any[]) => void;
|
|
36
|
+
edit: (...args: any[]) => void;
|
|
37
|
+
view: (...args: any[]) => void;
|
|
38
|
+
delBatch: (...args: any[]) => void;
|
|
39
|
+
expData: (...args: any[]) => void;
|
|
40
|
+
impData: (...args: any[]) => void;
|
|
41
|
+
downTmpl: (...args: any[]) => void;
|
|
42
|
+
toolClick: (...args: any[]) => void;
|
|
43
|
+
optClick: (...args: any[]) => void;
|
|
44
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
45
|
+
wid: {
|
|
46
|
+
type: StringConstructor;
|
|
47
|
+
required: false;
|
|
48
|
+
};
|
|
49
|
+
editor: {
|
|
50
|
+
type: ObjectConstructor;
|
|
51
|
+
required: false;
|
|
52
|
+
};
|
|
53
|
+
widget: {
|
|
54
|
+
type: PropType<WidgetModel>;
|
|
55
|
+
required: false;
|
|
56
|
+
};
|
|
57
|
+
dataList: {
|
|
58
|
+
type: {
|
|
59
|
+
(arrayLength: number): Object[];
|
|
60
|
+
(...items: Object[]): Object[];
|
|
61
|
+
new (arrayLength: number): Object[];
|
|
62
|
+
new (...items: Object[]): Object[];
|
|
63
|
+
isArray(arg: any): arg is any[];
|
|
64
|
+
readonly prototype: any[];
|
|
65
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
66
|
+
from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
|
|
67
|
+
from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
|
|
68
|
+
from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
|
|
69
|
+
of<T_4>(...items: T_4[]): T_4[];
|
|
70
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
71
|
+
};
|
|
72
|
+
default(): never[];
|
|
73
|
+
};
|
|
74
|
+
}>> & Readonly<{
|
|
75
|
+
onAdd?: ((...args: any[]) => any) | undefined;
|
|
76
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
77
|
+
onEdit?: ((...args: any[]) => any) | undefined;
|
|
78
|
+
onView?: ((...args: any[]) => any) | undefined;
|
|
79
|
+
onDelBatch?: ((...args: any[]) => any) | undefined;
|
|
80
|
+
onExpData?: ((...args: any[]) => any) | undefined;
|
|
81
|
+
onImpData?: ((...args: any[]) => any) | undefined;
|
|
82
|
+
onDownTmpl?: ((...args: any[]) => any) | undefined;
|
|
83
|
+
onToolClick?: ((...args: any[]) => any) | undefined;
|
|
84
|
+
onOptClick?: ((...args: any[]) => any) | undefined;
|
|
85
|
+
}>, {
|
|
86
|
+
dataList: Object[];
|
|
87
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
88
|
+
export default _default;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
+
model: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
required: false;
|
|
5
|
+
};
|
|
6
|
+
settingTitle: {
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
default: string;
|
|
9
|
+
};
|
|
10
|
+
custome: {
|
|
11
|
+
type: BooleanConstructor;
|
|
12
|
+
default: boolean;
|
|
13
|
+
};
|
|
14
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
15
|
+
setting: (...args: any[]) => void;
|
|
16
|
+
saving: (...args: any[]) => void;
|
|
17
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
18
|
+
model: {
|
|
19
|
+
type: StringConstructor;
|
|
20
|
+
required: false;
|
|
21
|
+
};
|
|
22
|
+
settingTitle: {
|
|
23
|
+
type: StringConstructor;
|
|
24
|
+
default: string;
|
|
25
|
+
};
|
|
26
|
+
custome: {
|
|
27
|
+
type: BooleanConstructor;
|
|
28
|
+
default: boolean;
|
|
29
|
+
};
|
|
30
|
+
}>> & Readonly<{
|
|
31
|
+
onSetting?: ((...args: any[]) => any) | undefined;
|
|
32
|
+
onSaving?: ((...args: any[]) => any) | undefined;
|
|
33
|
+
}>, {
|
|
34
|
+
settingTitle: string;
|
|
35
|
+
custome: boolean;
|
|
36
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>, {
|
|
37
|
+
default?(_: {}): any;
|
|
38
|
+
"widget-setting"?(_: {}): any;
|
|
39
|
+
}>;
|
|
40
|
+
export default _default;
|
|
41
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
42
|
+
new (): {
|
|
43
|
+
$slots: S;
|
|
44
|
+
};
|
|
45
|
+
};
|
package/package.json
ADDED
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "unione-form-vue",
|
|
3
|
+
"version": "0.0.1",
|
|
4
|
+
"private": false,
|
|
5
|
+
"scripts": {
|
|
6
|
+
"dev": "npm run version && vite serve preview --mode development",
|
|
7
|
+
"build": "npm run version && vite build components --mode production",
|
|
8
|
+
"build:doc": "vite build preview --mode production",
|
|
9
|
+
"version": "node ./scripts/generate-version",
|
|
10
|
+
"git-tag": "node ./scripts/git-tag",
|
|
11
|
+
"release": "npm run preRelease && npm run build && npm publish",
|
|
12
|
+
"preRelease": "npm config set registry https://registry.npmjs.org",
|
|
13
|
+
"postRelease":"npm config set registry https://registry.npmmirror.com",
|
|
14
|
+
"postpublish": "npm run git-tag && npm run postRelease"
|
|
15
|
+
},
|
|
16
|
+
"main": "dist/index.umd.js",
|
|
17
|
+
"module": "dist/index.umd.js",
|
|
18
|
+
"typings": "dist/index.d.ts",
|
|
19
|
+
"exports": {
|
|
20
|
+
".": {
|
|
21
|
+
"import": "./dist/index.umd.js",
|
|
22
|
+
"require": "./dist/index.umd.js"
|
|
23
|
+
},
|
|
24
|
+
"./dist/style.css": "./dist/style.css"
|
|
25
|
+
},
|
|
26
|
+
"publishConfig": {
|
|
27
|
+
"registry": "https://registry.npmjs.org"
|
|
28
|
+
},
|
|
29
|
+
"files": [
|
|
30
|
+
"dist"
|
|
31
|
+
],
|
|
32
|
+
"dependencies": {
|
|
33
|
+
"unione-base-vue": "^0.0.3"
|
|
34
|
+
},
|
|
35
|
+
"devDependencies": {
|
|
36
|
+
"@ant-design/icons-vue": "^7.0.1",
|
|
37
|
+
"@codemirror/lang-javascript": "^6.2.2",
|
|
38
|
+
"@rushstack/eslint-patch": "^1.8.0",
|
|
39
|
+
"@tsconfig/node20": "^20.1.4",
|
|
40
|
+
"@types/babel__core": "^7.20.5",
|
|
41
|
+
"@types/eslint": "^9.6.1",
|
|
42
|
+
"@types/jsdom": "^21.1.6",
|
|
43
|
+
"@types/lodash-es": "^4.17.12",
|
|
44
|
+
"@types/markdown-it": "^14.1.2",
|
|
45
|
+
"@types/node": "18.8.0",
|
|
46
|
+
"@types/qs": "^6.9.16",
|
|
47
|
+
"@types/sm-crypto": "^0.3.4",
|
|
48
|
+
"@types/uuid": "^10.0.0",
|
|
49
|
+
"@vitejs/plugin-vue": "^5.1.3",
|
|
50
|
+
"@vitejs/plugin-vue-jsx": "^4.0.1",
|
|
51
|
+
"@vue/eslint-config-prettier": "^9.0.0",
|
|
52
|
+
"@vue/eslint-config-typescript": "^13.0.0",
|
|
53
|
+
"@vue/test-utils": "^2.4.5",
|
|
54
|
+
"@vue/tsconfig": "^0.5.1",
|
|
55
|
+
"ant-design-vue": "^4.2.1",
|
|
56
|
+
"axios": "^1.6.8",
|
|
57
|
+
"codemirror": "^6.0.1",
|
|
58
|
+
"cypress": "^13.7.2",
|
|
59
|
+
"dayjs": "^1.11.12",
|
|
60
|
+
"escape-html": "^1.0.3",
|
|
61
|
+
"eslint": "^8.57.0",
|
|
62
|
+
"eslint-plugin-cypress": "^2.15.1",
|
|
63
|
+
"eslint-plugin-vue": "^9.23.0",
|
|
64
|
+
"fs-extra": "^11.2.0",
|
|
65
|
+
"gray-matter": "^4.0.3",
|
|
66
|
+
"jsdom": "^24.0.0",
|
|
67
|
+
"less": "^4.2.0",
|
|
68
|
+
"lodash-es": "^4.17.21",
|
|
69
|
+
"markdown-it": "^14.1.0",
|
|
70
|
+
"npm-run-all2": "^6.1.2",
|
|
71
|
+
"pinia": "^2.1.7",
|
|
72
|
+
"prettier": "^3.2.5",
|
|
73
|
+
"sm-crypto": "^0.3.13",
|
|
74
|
+
"start-server-and-test": "^2.0.3",
|
|
75
|
+
"typescript": "~5.4.0",
|
|
76
|
+
"uuid": "^10.0.0",
|
|
77
|
+
"vite": "^5.2.8",
|
|
78
|
+
"vite-plugin-dts": "^4.2.1",
|
|
79
|
+
"vite-plugin-vue-devtools": "^7.0.25",
|
|
80
|
+
"vitest": "^1.4.0",
|
|
81
|
+
"vue": "^3.4.21",
|
|
82
|
+
"vue-codemirror": "^6.1.1",
|
|
83
|
+
"vue-i18n": "^9.13.1",
|
|
84
|
+
"vue-router": "^4.3.0",
|
|
85
|
+
"vue-tsc": "^2.0.11"
|
|
86
|
+
}
|
|
87
|
+
}
|