@chase-shao/vue-component-lib 1.2.39 → 1.2.41
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/TopBar.vue.d.ts +7 -0
- package/dist/components/data-gen/views/CreateView.vue.d.ts +12 -13
- package/dist/components/data-gen/views/DetailView.vue.d.ts +0 -1
- package/dist/components/data-gen/views/UpdateView.vue.d.ts +12 -13
- package/dist/components/data-gen/widgets/CheckBox.vue.d.ts +2 -2
- package/dist/components/data-gen/widgets/FileUpload.vue.d.ts +2 -2
- package/dist/components/data-gen/widgets/InputNumber.vue.d.ts +2 -2
- package/dist/components/data-gen/widgets/InputText.vue.d.ts +2 -2
- package/dist/components/data-gen/widgets/TextArea.vue.d.ts +2 -2
- package/dist/components/data-gen/widgets/index.vue.d.ts +5 -5
- package/dist/index.cjs.js +1 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.css +1 -1
- package/dist/index.es.js +1038 -906
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/dist/services/dataGen.d.ts +9 -1
- package/package.json +1 -1
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { RedirectType } from '../types';
|
|
2
2
|
import { ActionTypeEnum } from '../components/data-gen/actions/types';
|
|
3
|
+
import { FileItem } from '@arco-design/web-vue';
|
|
3
4
|
export type SelectOption = {
|
|
4
5
|
value: string | number;
|
|
5
6
|
label: string;
|
|
@@ -14,6 +15,7 @@ export type WidgetConfig = {
|
|
|
14
15
|
multiple?: boolean;
|
|
15
16
|
remote?: string;
|
|
16
17
|
uploadURL?: string;
|
|
18
|
+
files?: FileItem[];
|
|
17
19
|
[key: string]: unknown;
|
|
18
20
|
};
|
|
19
21
|
export type ValidationConfig = {
|
|
@@ -64,6 +66,10 @@ export type PageConfig = {
|
|
|
64
66
|
appliesTo: string[];
|
|
65
67
|
}>;
|
|
66
68
|
tabs?: TabsConfig[];
|
|
69
|
+
banner: {
|
|
70
|
+
title: string;
|
|
71
|
+
subTitle: string;
|
|
72
|
+
};
|
|
67
73
|
};
|
|
68
74
|
export declare enum PageActionType {
|
|
69
75
|
Create = 0,
|
|
@@ -121,4 +127,6 @@ export declare function updateData(className: string, id: string, data: object,
|
|
|
121
127
|
export declare function approveData(className: string, id: string, email: string, reason: string, data: object, url: string, status: string, ifGlobal: string): Promise<any>;
|
|
122
128
|
export declare function getOptions(url: string, value?: string): Promise<SelectOption[]>;
|
|
123
129
|
export declare function getProcess(className: string, workflowId: string): Promise<any[]>;
|
|
124
|
-
export declare function getFiles(className: string, workflowId: string): Promise<
|
|
130
|
+
export declare function getFiles(className: string, workflowId: string): Promise<{
|
|
131
|
+
[key: string]: any[];
|
|
132
|
+
}>;
|