@ajaxjs/ui 1.4.7 → 1.4.9
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 +7 -0
- package/dist/ajaxjs-ui.cjs.js +1 -1
- package/dist/ajaxjs-ui.es.js +23 -17
- package/dist/ajaxjs-ui.umd.js +1 -1
- package/dist/images/empty-avatar.png +0 -0
- package/dist/images/favicon.ico +0 -0
- package/dist/types/App.vue.d.ts +8 -0
- package/dist/types/common/route.d.ts +3 -0
- package/dist/types/components/common/FastiViewTable.vue.d.ts +84 -0
- package/dist/types/components/common/authStorage.d.ts +4 -0
- package/dist/types/components/common/common-ui.d.ts +40 -0
- package/dist/types/components/common/request.d.ts +17 -0
- package/dist/types/components/common/tokenRefresh.d.ts +18 -0
- package/dist/types/components/configurable-widget/common/icon-select.vue.d.ts +34 -0
- package/dist/types/components/configurable-widget/common/info-common.d.ts +64 -0
- package/dist/types/components/configurable-widget/form/form-loader.vue.d.ts +130 -0
- package/dist/types/components/configurable-widget/form/info/candidate-data.vue.d.ts +13 -0
- package/dist/types/components/configurable-widget/form/info/form-config.vue.d.ts +14 -0
- package/dist/types/components/configurable-widget/form/info/form-more-attrib.vue.d.ts +76 -0
- package/dist/types/components/configurable-widget/form/info/info.d.ts +398 -0
- package/dist/types/components/configurable-widget/form/info/info.vue.d.ts +2 -0
- package/dist/types/components/configurable-widget/form/list.vue.d.ts +269 -0
- package/dist/types/components/configurable-widget/form/renderer/form-factory-renderer.vue.d.ts +63 -0
- package/dist/types/components/configurable-widget/form/renderer/item-render.vue.d.ts +52 -0
- package/dist/types/components/configurable-widget/form/widgets/file-upload.vue.d.ts +25 -0
- package/dist/types/components/configurable-widget/list/info.vue.d.ts +737 -0
- package/dist/types/components/configurable-widget/list/list-factory-renderer.vue.d.ts +146 -0
- package/dist/types/components/configurable-widget/list/list-loader.vue.d.ts +250 -0
- package/dist/types/components/configurable-widget/list/list-more-attrib.vue.d.ts +23 -0
- package/dist/types/components/configurable-widget/list/list.vue.d.ts +388 -0
- package/dist/types/components/tree-table/index.d.ts +131 -0
- package/dist/types/components/tree-table/tree-selector.vue.d.ts +15 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/main.d.ts +0 -0
- package/dist/types/pages/admin/Home.vue.d.ts +2 -0
- package/dist/types/pages/admin/Login.vue.d.ts +12 -0
- package/dist/types/pages/iam/profile/index.vue.d.ts +15 -0
- package/dist/types/pages/pages.d.ts +0 -0
- package/dist/types/pages/system/ArticleEdit.vue.d.ts +65 -0
- package/dist/types/pages/system/Schedule.vue.d.ts +241 -0
- package/package.json +11 -4
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
+
id: {
|
|
3
|
+
type: NumberConstructor;
|
|
4
|
+
required: false;
|
|
5
|
+
};
|
|
6
|
+
isShowInfoBtn: {
|
|
7
|
+
type: BooleanConstructor;
|
|
8
|
+
required: false;
|
|
9
|
+
default: boolean;
|
|
10
|
+
};
|
|
11
|
+
isShowBtns: {
|
|
12
|
+
type: BooleanConstructor;
|
|
13
|
+
required: false;
|
|
14
|
+
default: boolean;
|
|
15
|
+
};
|
|
16
|
+
}>, {
|
|
17
|
+
FromRenderer: import('vue').Ref<any, any>;
|
|
18
|
+
}, {
|
|
19
|
+
formId: number;
|
|
20
|
+
entityId: number;
|
|
21
|
+
cfg: {
|
|
22
|
+
fields: never[];
|
|
23
|
+
};
|
|
24
|
+
status: number;
|
|
25
|
+
oldJson: null;
|
|
26
|
+
}, {}, {
|
|
27
|
+
/**
|
|
28
|
+
* 加载表单配置
|
|
29
|
+
*/
|
|
30
|
+
load(): void;
|
|
31
|
+
/**
|
|
32
|
+
* 重置表单,但没作用
|
|
33
|
+
*/
|
|
34
|
+
resetFields(): void;
|
|
35
|
+
/**
|
|
36
|
+
* 创建
|
|
37
|
+
*/
|
|
38
|
+
create(): void;
|
|
39
|
+
/**
|
|
40
|
+
* 更新
|
|
41
|
+
*/
|
|
42
|
+
update(): void;
|
|
43
|
+
_getSaveData(): any;
|
|
44
|
+
/**
|
|
45
|
+
* 加载详情
|
|
46
|
+
*/
|
|
47
|
+
loadInfo(): void;
|
|
48
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
49
|
+
id: {
|
|
50
|
+
type: NumberConstructor;
|
|
51
|
+
required: false;
|
|
52
|
+
};
|
|
53
|
+
isShowInfoBtn: {
|
|
54
|
+
type: BooleanConstructor;
|
|
55
|
+
required: false;
|
|
56
|
+
default: boolean;
|
|
57
|
+
};
|
|
58
|
+
isShowBtns: {
|
|
59
|
+
type: BooleanConstructor;
|
|
60
|
+
required: false;
|
|
61
|
+
default: boolean;
|
|
62
|
+
};
|
|
63
|
+
}>> & Readonly<{}>, {
|
|
64
|
+
isShowInfoBtn: boolean;
|
|
65
|
+
isShowBtns: boolean;
|
|
66
|
+
}, {}, {
|
|
67
|
+
FromRenderer: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
68
|
+
cfg: {
|
|
69
|
+
type: ObjectConstructor;
|
|
70
|
+
required: true;
|
|
71
|
+
};
|
|
72
|
+
}>, {}, {
|
|
73
|
+
index: number;
|
|
74
|
+
formDynamic: {
|
|
75
|
+
fields: any;
|
|
76
|
+
};
|
|
77
|
+
data: {};
|
|
78
|
+
status: number;
|
|
79
|
+
}, {}, {
|
|
80
|
+
handleAdd(): void;
|
|
81
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
82
|
+
cfg: {
|
|
83
|
+
type: ObjectConstructor;
|
|
84
|
+
required: true;
|
|
85
|
+
};
|
|
86
|
+
}>> & Readonly<{}>, {}, {}, {
|
|
87
|
+
ItemRender: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
88
|
+
item: {
|
|
89
|
+
type: ObjectConstructor;
|
|
90
|
+
};
|
|
91
|
+
data: ObjectConstructor;
|
|
92
|
+
status: NumberConstructor;
|
|
93
|
+
}>, {}, {}, {}, {
|
|
94
|
+
showDataDict(fieldName: string): void;
|
|
95
|
+
handleModelUpdate(e: string, name: string): void;
|
|
96
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
97
|
+
item: {
|
|
98
|
+
type: ObjectConstructor;
|
|
99
|
+
};
|
|
100
|
+
data: ObjectConstructor;
|
|
101
|
+
status: NumberConstructor;
|
|
102
|
+
}>> & Readonly<{}>, {}, {}, {
|
|
103
|
+
FileUpload: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
104
|
+
value: {
|
|
105
|
+
required: true;
|
|
106
|
+
};
|
|
107
|
+
uploadUrl: {
|
|
108
|
+
type: StringConstructor;
|
|
109
|
+
required: true;
|
|
110
|
+
};
|
|
111
|
+
}>, {}, {
|
|
112
|
+
_v: unknown;
|
|
113
|
+
}, {}, {
|
|
114
|
+
downloadFile(): void;
|
|
115
|
+
showFile(file: any): void;
|
|
116
|
+
onSuccess(response: any, file: any): void;
|
|
117
|
+
fireData(): void;
|
|
118
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
119
|
+
value: {
|
|
120
|
+
required: true;
|
|
121
|
+
};
|
|
122
|
+
uploadUrl: {
|
|
123
|
+
type: StringConstructor;
|
|
124
|
+
required: true;
|
|
125
|
+
};
|
|
126
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
127
|
+
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
128
|
+
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
129
|
+
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
130
|
+
export default _default;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 候选数据
|
|
3
|
+
*/
|
|
4
|
+
declare const _default: import('vue').DefineComponent<{}, {}, any, {}, {
|
|
5
|
+
add(): void;
|
|
6
|
+
/**
|
|
7
|
+
* 删除
|
|
8
|
+
*
|
|
9
|
+
* @param index
|
|
10
|
+
*/
|
|
11
|
+
del(index: number): void;
|
|
12
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
13
|
+
export default _default;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
+
cfg: ObjectConstructor;
|
|
3
|
+
apiRoot: {
|
|
4
|
+
type: StringConstructor;
|
|
5
|
+
required: true;
|
|
6
|
+
};
|
|
7
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
8
|
+
cfg: ObjectConstructor;
|
|
9
|
+
apiRoot: {
|
|
10
|
+
type: StringConstructor;
|
|
11
|
+
required: true;
|
|
12
|
+
};
|
|
13
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
14
|
+
export default _default;
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
+
row: {
|
|
3
|
+
type: ObjectConstructor;
|
|
4
|
+
default(): {
|
|
5
|
+
ext_attribs: {};
|
|
6
|
+
};
|
|
7
|
+
};
|
|
8
|
+
extAttribs: {
|
|
9
|
+
type: ObjectConstructor;
|
|
10
|
+
required: true;
|
|
11
|
+
default(): {
|
|
12
|
+
ext_attribs: {};
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
}>, {}, {}, {}, {
|
|
16
|
+
/**
|
|
17
|
+
* 是否输入框类型
|
|
18
|
+
*/
|
|
19
|
+
isInput(): boolean;
|
|
20
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
21
|
+
row: {
|
|
22
|
+
type: ObjectConstructor;
|
|
23
|
+
default(): {
|
|
24
|
+
ext_attribs: {};
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
extAttribs: {
|
|
28
|
+
type: ObjectConstructor;
|
|
29
|
+
required: true;
|
|
30
|
+
default(): {
|
|
31
|
+
ext_attribs: {};
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
}>> & Readonly<{}>, {
|
|
35
|
+
row: Record<string, any>;
|
|
36
|
+
extAttribs: Record<string, any>;
|
|
37
|
+
}, {}, {
|
|
38
|
+
IconSelector: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
39
|
+
data: {
|
|
40
|
+
type: StringConstructor;
|
|
41
|
+
default: string;
|
|
42
|
+
};
|
|
43
|
+
placeholder: {
|
|
44
|
+
type: StringConstructor;
|
|
45
|
+
default: string;
|
|
46
|
+
};
|
|
47
|
+
}>, {}, {
|
|
48
|
+
value: string;
|
|
49
|
+
iconList: never[];
|
|
50
|
+
modal: boolean;
|
|
51
|
+
iconName: string;
|
|
52
|
+
}, {}, {
|
|
53
|
+
filterIcons(e: Event): void;
|
|
54
|
+
selectedIcon(name: string): void;
|
|
55
|
+
onChange(event: any): void;
|
|
56
|
+
handleIcons(): void;
|
|
57
|
+
cancel(): void;
|
|
58
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
59
|
+
data: {
|
|
60
|
+
type: StringConstructor;
|
|
61
|
+
default: string;
|
|
62
|
+
};
|
|
63
|
+
placeholder: {
|
|
64
|
+
type: StringConstructor;
|
|
65
|
+
default: string;
|
|
66
|
+
};
|
|
67
|
+
}>> & Readonly<{}>, {
|
|
68
|
+
data: string;
|
|
69
|
+
placeholder: string;
|
|
70
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
71
|
+
CandidateData: import('vue').DefineComponent<{}, {}, any, {}, {
|
|
72
|
+
add(): void;
|
|
73
|
+
del(index: number): void;
|
|
74
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
75
|
+
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
76
|
+
export default _default;
|
|
@@ -0,0 +1,398 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 内页
|
|
3
|
+
*/
|
|
4
|
+
declare const _default: {
|
|
5
|
+
components: {
|
|
6
|
+
ConfigTable: import('vue').DefineComponent<{}, {}, any>;
|
|
7
|
+
MoreAttrib: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
8
|
+
row: {
|
|
9
|
+
type: ObjectConstructor;
|
|
10
|
+
default(): {
|
|
11
|
+
ext_attribs: {};
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
extAttribs: {
|
|
15
|
+
type: ObjectConstructor;
|
|
16
|
+
required: true;
|
|
17
|
+
default(): {
|
|
18
|
+
ext_attribs: {};
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
}>, {}, {}, {}, {
|
|
22
|
+
isInput(): boolean;
|
|
23
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
24
|
+
row: {
|
|
25
|
+
type: ObjectConstructor;
|
|
26
|
+
default(): {
|
|
27
|
+
ext_attribs: {};
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
extAttribs: {
|
|
31
|
+
type: ObjectConstructor;
|
|
32
|
+
required: true;
|
|
33
|
+
default(): {
|
|
34
|
+
ext_attribs: {};
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
}>> & Readonly<{}>, {
|
|
38
|
+
row: Record<string, any>;
|
|
39
|
+
extAttribs: Record<string, any>;
|
|
40
|
+
}, {}, {
|
|
41
|
+
IconSelector: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
42
|
+
data: {
|
|
43
|
+
type: StringConstructor;
|
|
44
|
+
default: string;
|
|
45
|
+
};
|
|
46
|
+
placeholder: {
|
|
47
|
+
type: StringConstructor;
|
|
48
|
+
default: string;
|
|
49
|
+
};
|
|
50
|
+
}>, {}, {
|
|
51
|
+
value: string;
|
|
52
|
+
iconList: never[];
|
|
53
|
+
modal: boolean;
|
|
54
|
+
iconName: string;
|
|
55
|
+
}, {}, {
|
|
56
|
+
filterIcons(e: Event): void;
|
|
57
|
+
selectedIcon(name: string): void;
|
|
58
|
+
onChange(event: any): void;
|
|
59
|
+
handleIcons(): void;
|
|
60
|
+
cancel(): void;
|
|
61
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
62
|
+
data: {
|
|
63
|
+
type: StringConstructor;
|
|
64
|
+
default: string;
|
|
65
|
+
};
|
|
66
|
+
placeholder: {
|
|
67
|
+
type: StringConstructor;
|
|
68
|
+
default: string;
|
|
69
|
+
};
|
|
70
|
+
}>> & Readonly<{}>, {
|
|
71
|
+
data: string;
|
|
72
|
+
placeholder: string;
|
|
73
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
74
|
+
CandidateData: import('vue').DefineComponent<{}, {}, any, {}, {
|
|
75
|
+
add(): void;
|
|
76
|
+
del(index: number): void;
|
|
77
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
78
|
+
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
79
|
+
FormLoader: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
80
|
+
id: {
|
|
81
|
+
type: NumberConstructor;
|
|
82
|
+
required: false;
|
|
83
|
+
};
|
|
84
|
+
isShowInfoBtn: {
|
|
85
|
+
type: BooleanConstructor;
|
|
86
|
+
required: false;
|
|
87
|
+
default: boolean;
|
|
88
|
+
};
|
|
89
|
+
isShowBtns: {
|
|
90
|
+
type: BooleanConstructor;
|
|
91
|
+
required: false;
|
|
92
|
+
default: boolean;
|
|
93
|
+
};
|
|
94
|
+
}>, {
|
|
95
|
+
FromRenderer: import('vue').Ref<any, any>;
|
|
96
|
+
}, {
|
|
97
|
+
formId: number;
|
|
98
|
+
entityId: number;
|
|
99
|
+
cfg: {
|
|
100
|
+
fields: never[];
|
|
101
|
+
};
|
|
102
|
+
status: number;
|
|
103
|
+
oldJson: null;
|
|
104
|
+
}, {}, {
|
|
105
|
+
load(): void;
|
|
106
|
+
resetFields(): void;
|
|
107
|
+
create(): void;
|
|
108
|
+
update(): void;
|
|
109
|
+
_getSaveData(): any;
|
|
110
|
+
loadInfo(): void;
|
|
111
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
112
|
+
id: {
|
|
113
|
+
type: NumberConstructor;
|
|
114
|
+
required: false;
|
|
115
|
+
};
|
|
116
|
+
isShowInfoBtn: {
|
|
117
|
+
type: BooleanConstructor;
|
|
118
|
+
required: false;
|
|
119
|
+
default: boolean;
|
|
120
|
+
};
|
|
121
|
+
isShowBtns: {
|
|
122
|
+
type: BooleanConstructor;
|
|
123
|
+
required: false;
|
|
124
|
+
default: boolean;
|
|
125
|
+
};
|
|
126
|
+
}>> & Readonly<{}>, {
|
|
127
|
+
isShowInfoBtn: boolean;
|
|
128
|
+
isShowBtns: boolean;
|
|
129
|
+
}, {}, {
|
|
130
|
+
FromRenderer: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
131
|
+
cfg: {
|
|
132
|
+
type: ObjectConstructor;
|
|
133
|
+
required: true;
|
|
134
|
+
};
|
|
135
|
+
}>, {}, {
|
|
136
|
+
index: number;
|
|
137
|
+
formDynamic: {
|
|
138
|
+
fields: any;
|
|
139
|
+
};
|
|
140
|
+
data: {};
|
|
141
|
+
status: number;
|
|
142
|
+
}, {}, {
|
|
143
|
+
handleAdd(): void;
|
|
144
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
145
|
+
cfg: {
|
|
146
|
+
type: ObjectConstructor;
|
|
147
|
+
required: true;
|
|
148
|
+
};
|
|
149
|
+
}>> & Readonly<{}>, {}, {}, {
|
|
150
|
+
ItemRender: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
151
|
+
item: {
|
|
152
|
+
type: ObjectConstructor;
|
|
153
|
+
};
|
|
154
|
+
data: ObjectConstructor;
|
|
155
|
+
status: NumberConstructor;
|
|
156
|
+
}>, {}, {}, {}, {
|
|
157
|
+
showDataDict(fieldName: string): void;
|
|
158
|
+
handleModelUpdate(e: string, name: string): void;
|
|
159
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
160
|
+
item: {
|
|
161
|
+
type: ObjectConstructor;
|
|
162
|
+
};
|
|
163
|
+
data: ObjectConstructor;
|
|
164
|
+
status: NumberConstructor;
|
|
165
|
+
}>> & Readonly<{}>, {}, {}, {
|
|
166
|
+
FileUpload: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
167
|
+
value: {
|
|
168
|
+
required: true;
|
|
169
|
+
};
|
|
170
|
+
uploadUrl: {
|
|
171
|
+
type: StringConstructor;
|
|
172
|
+
required: true;
|
|
173
|
+
};
|
|
174
|
+
}>, {}, {
|
|
175
|
+
_v: unknown;
|
|
176
|
+
}, {}, {
|
|
177
|
+
downloadFile(): void;
|
|
178
|
+
showFile(file: any): void;
|
|
179
|
+
onSuccess(response: any, file: any): void;
|
|
180
|
+
fireData(): void;
|
|
181
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
182
|
+
value: {
|
|
183
|
+
required: true;
|
|
184
|
+
};
|
|
185
|
+
uploadUrl: {
|
|
186
|
+
type: StringConstructor;
|
|
187
|
+
required: true;
|
|
188
|
+
};
|
|
189
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
190
|
+
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
191
|
+
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
192
|
+
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
193
|
+
FastiViewTable: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
194
|
+
widgetName: {
|
|
195
|
+
type: StringConstructor;
|
|
196
|
+
required: false;
|
|
197
|
+
};
|
|
198
|
+
columnsDef: {
|
|
199
|
+
type: ArrayConstructor;
|
|
200
|
+
required: false;
|
|
201
|
+
};
|
|
202
|
+
apiUrl: {
|
|
203
|
+
type: StringConstructor;
|
|
204
|
+
required: false;
|
|
205
|
+
};
|
|
206
|
+
listApiUrl: {
|
|
207
|
+
type: StringConstructor;
|
|
208
|
+
required: true;
|
|
209
|
+
};
|
|
210
|
+
createRoute: {
|
|
211
|
+
type: StringConstructor;
|
|
212
|
+
required: false;
|
|
213
|
+
};
|
|
214
|
+
editRoute: {
|
|
215
|
+
type: StringConstructor;
|
|
216
|
+
required: false;
|
|
217
|
+
};
|
|
218
|
+
pickup: {
|
|
219
|
+
type: BooleanConstructor;
|
|
220
|
+
required: false;
|
|
221
|
+
};
|
|
222
|
+
}>, {}, {
|
|
223
|
+
widgetName_: string | undefined;
|
|
224
|
+
colDefId: number;
|
|
225
|
+
list: TableListConfig;
|
|
226
|
+
}, {}, {
|
|
227
|
+
getData(): void;
|
|
228
|
+
onPageNoChange(pageNo: number): void;
|
|
229
|
+
handleChangePageSize(pageSize: number): void;
|
|
230
|
+
reset(): void;
|
|
231
|
+
onCreate(): void;
|
|
232
|
+
onEdit(id: number): void;
|
|
233
|
+
doPickup(data: any): void;
|
|
234
|
+
deleteInfo(id: number, index: number): void;
|
|
235
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
236
|
+
widgetName: {
|
|
237
|
+
type: StringConstructor;
|
|
238
|
+
required: false;
|
|
239
|
+
};
|
|
240
|
+
columnsDef: {
|
|
241
|
+
type: ArrayConstructor;
|
|
242
|
+
required: false;
|
|
243
|
+
};
|
|
244
|
+
apiUrl: {
|
|
245
|
+
type: StringConstructor;
|
|
246
|
+
required: false;
|
|
247
|
+
};
|
|
248
|
+
listApiUrl: {
|
|
249
|
+
type: StringConstructor;
|
|
250
|
+
required: true;
|
|
251
|
+
};
|
|
252
|
+
createRoute: {
|
|
253
|
+
type: StringConstructor;
|
|
254
|
+
required: false;
|
|
255
|
+
};
|
|
256
|
+
editRoute: {
|
|
257
|
+
type: StringConstructor;
|
|
258
|
+
required: false;
|
|
259
|
+
};
|
|
260
|
+
pickup: {
|
|
261
|
+
type: BooleanConstructor;
|
|
262
|
+
required: false;
|
|
263
|
+
};
|
|
264
|
+
}>> & Readonly<{}>, {
|
|
265
|
+
pickup: boolean;
|
|
266
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
267
|
+
ConfigPanel: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
268
|
+
cfg: ObjectConstructor;
|
|
269
|
+
apiRoot: {
|
|
270
|
+
type: StringConstructor;
|
|
271
|
+
required: true;
|
|
272
|
+
};
|
|
273
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
274
|
+
cfg: ObjectConstructor;
|
|
275
|
+
apiRoot: {
|
|
276
|
+
type: StringConstructor;
|
|
277
|
+
required: true;
|
|
278
|
+
};
|
|
279
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
280
|
+
};
|
|
281
|
+
mixins: {
|
|
282
|
+
props: {
|
|
283
|
+
apiRoot: {
|
|
284
|
+
type: StringConstructor;
|
|
285
|
+
required: boolean;
|
|
286
|
+
};
|
|
287
|
+
api: {
|
|
288
|
+
type: StringConstructor;
|
|
289
|
+
required: boolean;
|
|
290
|
+
};
|
|
291
|
+
initId: NumberConstructor;
|
|
292
|
+
};
|
|
293
|
+
data(this: {
|
|
294
|
+
id: number | null;
|
|
295
|
+
name: string;
|
|
296
|
+
config: any;
|
|
297
|
+
type: string;
|
|
298
|
+
datasourceId: number;
|
|
299
|
+
datasourceName: string;
|
|
300
|
+
tableName: string;
|
|
301
|
+
$route: any;
|
|
302
|
+
getData: () => {};
|
|
303
|
+
}): {
|
|
304
|
+
id: any;
|
|
305
|
+
apiPrefix: any;
|
|
306
|
+
name: string;
|
|
307
|
+
isShowPerview: boolean;
|
|
308
|
+
datasourceId: number;
|
|
309
|
+
datasourceName: string;
|
|
310
|
+
tableName: string;
|
|
311
|
+
editIndex: number;
|
|
312
|
+
widgetType: string;
|
|
313
|
+
};
|
|
314
|
+
mounted(this: {
|
|
315
|
+
id: number | null;
|
|
316
|
+
name: string;
|
|
317
|
+
config: any;
|
|
318
|
+
type: string;
|
|
319
|
+
datasourceId: number;
|
|
320
|
+
datasourceName: string;
|
|
321
|
+
tableName: string;
|
|
322
|
+
$route: any;
|
|
323
|
+
getData: () => {};
|
|
324
|
+
}): void;
|
|
325
|
+
beforeUpdate(this: {
|
|
326
|
+
id: number | null;
|
|
327
|
+
name: string;
|
|
328
|
+
config: any;
|
|
329
|
+
type: string;
|
|
330
|
+
datasourceId: number;
|
|
331
|
+
datasourceName: string;
|
|
332
|
+
tableName: string;
|
|
333
|
+
$route: any;
|
|
334
|
+
getData: () => {};
|
|
335
|
+
}): void;
|
|
336
|
+
methods: {
|
|
337
|
+
getDataBase(cb: Function): void;
|
|
338
|
+
saveOrUpdate(this: {
|
|
339
|
+
id: number | null;
|
|
340
|
+
name: string;
|
|
341
|
+
config: any;
|
|
342
|
+
type: string;
|
|
343
|
+
datasourceId: number;
|
|
344
|
+
datasourceName: string;
|
|
345
|
+
tableName: string;
|
|
346
|
+
$route: any;
|
|
347
|
+
getData: () => {};
|
|
348
|
+
}): void;
|
|
349
|
+
addRow_(this: {
|
|
350
|
+
id: number | null;
|
|
351
|
+
name: string;
|
|
352
|
+
config: any;
|
|
353
|
+
type: string;
|
|
354
|
+
datasourceId: number;
|
|
355
|
+
datasourceName: string;
|
|
356
|
+
tableName: string;
|
|
357
|
+
$route: any;
|
|
358
|
+
getData: () => {};
|
|
359
|
+
}, row: any): void;
|
|
360
|
+
saveAddRow_(s1: string, s2: string): void;
|
|
361
|
+
emptyData(): void;
|
|
362
|
+
perview(): void;
|
|
363
|
+
};
|
|
364
|
+
}[];
|
|
365
|
+
data(): {};
|
|
366
|
+
methods: {
|
|
367
|
+
/**
|
|
368
|
+
* 获取单个数据
|
|
369
|
+
*/
|
|
370
|
+
getData(): void;
|
|
371
|
+
/**
|
|
372
|
+
* 新增
|
|
373
|
+
*/
|
|
374
|
+
addRow(): void;
|
|
375
|
+
/**
|
|
376
|
+
* 保存新增
|
|
377
|
+
*/
|
|
378
|
+
saveAddRow(): void;
|
|
379
|
+
emptyData(): void;
|
|
380
|
+
/**
|
|
381
|
+
* 数据库字段转换为表单配置
|
|
382
|
+
*/
|
|
383
|
+
fieldsToCfg(selected: SelectedTable): void;
|
|
384
|
+
/**
|
|
385
|
+
* 从 JSON 新建
|
|
386
|
+
*/
|
|
387
|
+
parseJsonBased(): void;
|
|
388
|
+
syncData(newValue: any): void;
|
|
389
|
+
};
|
|
390
|
+
};
|
|
391
|
+
export default _default;
|
|
392
|
+
/**
|
|
393
|
+
*
|
|
394
|
+
* @param obj
|
|
395
|
+
* @param queen
|
|
396
|
+
* @returns
|
|
397
|
+
*/
|
|
398
|
+
export declare function findNode(obj: any, queen: string[]): any;
|