@qqt-product/ui 11.0.2 → 11.0.4
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/index.es.js +23389 -22873
- package/dist/index.umd.js +90 -90
- package/dist/lib/components/detail-grid/index.d.ts +13 -6
- package/dist/lib/components/detail-grid/src/detail-grid.vue.d.ts +13 -6
- package/dist/lib/components/detail-page-layout/index.d.ts +2 -2
- package/dist/lib/components/detail-page-layout/src/detail-page-layout.vue.d.ts +2 -2
- package/dist/lib/components/edit-grid/index.d.ts +13 -6
- package/dist/lib/components/edit-grid/src/edit-grid-types.d.ts +4 -0
- package/dist/lib/components/edit-grid/src/edit-grid.vue.d.ts +13 -6
- package/dist/lib/components/edit-page-layout/index.d.ts +2 -2
- package/dist/lib/components/edit-page-layout/src/edit-page-layout-types.d.ts +65 -15
- package/dist/lib/components/edit-page-layout/src/edit-page-layout.vue.d.ts +2 -2
- package/dist/lib/components/edit-page-layout/src/types.d.ts +1 -1
- package/dist/lib/components/field-select-modal/index.d.ts +1 -0
- package/dist/lib/components/field-select-modal/src/field-select-modal.vue.d.ts +1 -0
- package/dist/lib/components/ladder-price/index.d.ts +10 -0
- package/dist/lib/components/ladder-price/src/ladder-price-types.d.ts +4 -0
- package/dist/lib/components/ladder-price/src/ladder-price.vue.d.ts +10 -0
- package/dist/lib/components/layout-pattern/index.d.ts +2 -2
- package/dist/lib/components/layout-pattern/src/layout-pattern.vue.d.ts +2 -2
- package/dist/lib/components/list-page-layout/index.d.ts +7 -0
- package/dist/lib/components/list-page-layout/src/components/list-content/list-content.vue.d.ts +6 -0
- package/dist/lib/components/list-page-layout/src/layout.vue.d.ts +7 -0
- package/dist/lib/components/list-page-layout/src/list-page-layout-types.d.ts +6 -0
- package/dist/lib/components/page-layout/src/constant/buttons.d.ts +1 -0
- package/dist/lib/components/page-layout/src/constant/symbol.d.ts +28 -2
- package/dist/lib/components/select-modal/index.d.ts +2 -0
- package/dist/lib/components/select-modal/src/select-modal.vue.d.ts +2 -0
- package/dist/lib/components/upload-file/index.d.ts +20 -15
- package/dist/lib/components/upload-file/src/upload-file-types.d.ts +3 -3
- package/dist/lib/components/upload-file/src/upload-file.vue.d.ts +21 -16
- package/dist/lib/index.d.ts +1 -1
- package/dist/lib/setting/vxe-table/config.d.ts +1 -0
- package/dist/lib/utils/event.d.ts +18 -4
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -40,6 +40,9 @@ declare const _sfc_main: DefineComponent<{
|
|
|
40
40
|
afterHandleData: {
|
|
41
41
|
type: PropType<(tableData: ObjectMap[]) => void>;
|
|
42
42
|
};
|
|
43
|
+
handleAfterDataResponse: {
|
|
44
|
+
type: PropType<(dataSource: any) => any>;
|
|
45
|
+
};
|
|
43
46
|
localColumnGroup: {
|
|
44
47
|
type: PropType<(column: GridColumn[]) => GridColumn[]>;
|
|
45
48
|
};
|
|
@@ -283,6 +286,7 @@ declare const _sfc_main: DefineComponent<{
|
|
|
283
286
|
};
|
|
284
287
|
beforeHandleData?: ((column: GridColumn[]) => void) | undefined;
|
|
285
288
|
afterHandleData?: ((tableData: ObjectMap[]) => void) | undefined;
|
|
289
|
+
handleAfterDataResponse?: ((dataSource: any) => any) | undefined;
|
|
286
290
|
localColumnGroup?: ((column: GridColumn[]) => GridColumn[]) | undefined;
|
|
287
291
|
};
|
|
288
292
|
};
|
|
@@ -343,6 +347,9 @@ declare const _sfc_main: DefineComponent<{
|
|
|
343
347
|
afterHandleData: {
|
|
344
348
|
type: PropType<(tableData: ObjectMap[]) => void>;
|
|
345
349
|
};
|
|
350
|
+
handleAfterDataResponse: {
|
|
351
|
+
type: PropType<(dataSource: any) => any>;
|
|
352
|
+
};
|
|
346
353
|
localColumnGroup: {
|
|
347
354
|
type: PropType<(column: GridColumn[]) => GridColumn[]>;
|
|
348
355
|
};
|
|
@@ -187,6 +187,9 @@ export declare const listPageLayout: {
|
|
|
187
187
|
afterHandleData: {
|
|
188
188
|
type: PropType<(tableData: ObjectMap[]) => void>;
|
|
189
189
|
};
|
|
190
|
+
handleAfterDataResponse: {
|
|
191
|
+
type: PropType<(dataSource: any) => any>;
|
|
192
|
+
};
|
|
190
193
|
localColumnGroup: {
|
|
191
194
|
type: PropType<(column: GridColumn[]) => GridColumn[]>;
|
|
192
195
|
};
|
|
@@ -221,6 +224,9 @@ export declare const listContent: {
|
|
|
221
224
|
afterHandleData: {
|
|
222
225
|
type: PropType<(column: GridColumn[]) => void>;
|
|
223
226
|
};
|
|
227
|
+
handleAfterDataResponse: {
|
|
228
|
+
type: PropType<(dataSource: any) => any>;
|
|
229
|
+
};
|
|
224
230
|
filterList: never[];
|
|
225
231
|
};
|
|
226
232
|
export interface ButtonConfig {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { PageButton } from '../../../edit-page-layout';
|
|
2
2
|
export declare const BUTTON_DELETE_ROW: PageButton;
|
|
3
3
|
export declare const BUTTON_ADD_ONE_ROW: PageButton;
|
|
4
|
+
export declare const BUTTON_FILL_CELLS: PageButton;
|
|
4
5
|
export declare const BUTTON_SAVE: PageButton;
|
|
5
6
|
export declare const BUTTON_CANCELAUDIT: PageButton;
|
|
6
7
|
export declare const BUTTON_PUBLISH: PageButton;
|
|
@@ -27,10 +27,36 @@ export declare const SYMBOL_UPLOAD_GRID = "UPLOAD_GRID";
|
|
|
27
27
|
export declare const SYMBOL_CANCEL_AUDIT = "CANCELAUDIT";
|
|
28
28
|
export declare const SYMBOL_DOWNLOAD_ALL = "DOWNLOAD_ALL";
|
|
29
29
|
export declare const SYMBOL_REMOVE_ALL = "REMOVE_ALL";
|
|
30
|
-
export declare const SYMBOL_CHECKBOX_CHANGE = "CHECKBOX_CHANGE";
|
|
31
|
-
export declare const SYMBOL_CHECKBOX_ALL = "CHECKBOX_ALL";
|
|
32
30
|
export declare const SYMBOL_IMPORT_ROWS = "IMPORT_ROWS";
|
|
33
31
|
export declare const SYMBOL_FLOW_VIEW = "FLOW_VIEW";
|
|
32
|
+
export declare const SYMBOL_FILL = "FILL";
|
|
33
|
+
/**
|
|
34
|
+
* vxe表格事件
|
|
35
|
+
* start
|
|
36
|
+
*/
|
|
37
|
+
export declare const SYMBOL_VXE_KEYDOWN = "VXE_KEYDOWN";
|
|
38
|
+
export declare const SYMBOL_VXE_HEADER_CELL_CLICK = "VXE_HEADER_CELL_CLICK";
|
|
39
|
+
export declare const SYMBOL_VXE_HEADER_CELL_DBLCLICK = "VXE_HEADER_CELL_DBLCLICK";
|
|
40
|
+
export declare const SYMBOL_VXE_HEADER_CELL_MENU = "VXE_HEADER_CELL_MENU";
|
|
41
|
+
export declare const SYMBOL_VXE_CELL_CLICK = "VXE_CELL_CLICK";
|
|
42
|
+
export declare const SYMBOL_VXE_CELL_DBLCLICK = "VXE_CELL_DBLCLICK";
|
|
43
|
+
export declare const SYMBOL_VXE_CELL_MENU = "VXE_CELL_MENU";
|
|
44
|
+
export declare const SYMBOL_VXE_FOOTER_CELL_CLICK = "VXE_FOOTER_CELL_CLICK";
|
|
45
|
+
export declare const SYMBOL_VXE_FOOTER_CELL_DBLCLICK = "VXE_FOOTER_CELL_DBLCLICK";
|
|
46
|
+
export declare const SYMBOL_VXE_FOOTER_CELL_MENU = "VXE_FOOTER_CELL_MENU";
|
|
47
|
+
export declare const SYMBOL_VXE_RADIO_CHANGE = "VXE_RADIO_CHANGE";
|
|
48
|
+
export declare const SYMBOL_VXE_CHECKBOX_CHANGE = "VXE_CHECKBOX_CHANGE";
|
|
49
|
+
export declare const SYMBOL_VXE_CHECKBOX_ALL = "VXE_CHECKBOX_ALL";
|
|
50
|
+
export declare const SYMBOL_VXE_SCROLL = "VXE_SCROLL";
|
|
51
|
+
export declare const SYMBOL_VXE_ZOOM = "VXE_ZOOM";
|
|
52
|
+
export declare const SYMBOL_VXE_CUSTOM = "VXE_CUSTOM";
|
|
53
|
+
export declare const SYMBOL_VXE_CELL_AREA_COPY = "VXE_CELL_AREA_COPY";
|
|
54
|
+
export declare const SYMBOL_VXE_CELL_AREA_CUT = "VXE_CELL_AREA_CUT";
|
|
55
|
+
export declare const SYMBOL_VXE_CELL_AREA_PASTE = "VXE_CELL_AREA_PASTE";
|
|
56
|
+
/**
|
|
57
|
+
* vxe表格事件
|
|
58
|
+
* end
|
|
59
|
+
*/
|
|
34
60
|
/**************************************审批按钮组 start************************************/
|
|
35
61
|
export declare const SYMBOL_AUDIT_AGREE = "AUDIT_AGREE";
|
|
36
62
|
export declare const SYMBOL_AUDIT_REFUSE = "AUDIT_REFUSE";
|
|
@@ -212,6 +212,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
212
212
|
beforeHideMethod: ({ type }: {
|
|
213
213
|
type: string;
|
|
214
214
|
}) => Promise<never> | undefined;
|
|
215
|
+
restParams: () => void;
|
|
215
216
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
|
|
216
217
|
modalTitle: string;
|
|
217
218
|
apiUrls: string;
|
|
@@ -347,6 +348,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
347
348
|
beforeHideMethod: ({ type }: {
|
|
348
349
|
type: string;
|
|
349
350
|
}) => Promise<never> | undefined;
|
|
351
|
+
restParams: () => void;
|
|
350
352
|
}> & {} & ComponentCustomProperties & {}) | undefined>;
|
|
351
353
|
openSelectModal: () => void;
|
|
352
354
|
onChange: (checkedValues: RecordString[]) => void;
|
|
@@ -208,6 +208,7 @@ declare const _sfc_main: DefineComponent<{
|
|
|
208
208
|
beforeHideMethod: ({ type }: {
|
|
209
209
|
type: string;
|
|
210
210
|
}) => Promise<never> | undefined;
|
|
211
|
+
restParams: () => void;
|
|
211
212
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
|
|
212
213
|
modalTitle: string;
|
|
213
214
|
apiUrls: string;
|
|
@@ -343,6 +344,7 @@ declare const _sfc_main: DefineComponent<{
|
|
|
343
344
|
beforeHideMethod: ({ type }: {
|
|
344
345
|
type: string;
|
|
345
346
|
}) => Promise<never> | undefined;
|
|
347
|
+
restParams: () => void;
|
|
346
348
|
}> & {} & ComponentCustomProperties & {}) | undefined>;
|
|
347
349
|
openSelectModal: () => void;
|
|
348
350
|
onChange: (checkedValues: RecordString[]) => void;
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import type { SrmI18n } from '../../utils/type';
|
|
2
2
|
import type { UploadFile } from 'ant-design-vue';
|
|
3
|
+
import type { DefaultOptionType } from 'ant-design-vue/lib/select';
|
|
3
4
|
import type { UploadFileStatus, FileType } from 'ant-design-vue/lib/upload/interface';
|
|
4
5
|
import type { validateInfos } from 'ant-design-vue/lib/form/useForm';
|
|
5
6
|
import type { RecordString } from '../select-modal';
|
|
6
7
|
import type { Data, FileTypeList } from './src/upload-file-types';
|
|
7
8
|
import type { UserInfo, Role, CurrentRow } from '../edit-page-layout';
|
|
8
|
-
import type { DefineComponent, PropType, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
|
|
9
|
+
import type { DefineComponent, PropType, Ref, ComputedRef, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
|
|
9
10
|
import type { SFCWithInstall } from '@qqt-product/utils/dist/modules/withInstall';
|
|
10
11
|
import QUploadFile from './src/upload-file.vue';
|
|
11
12
|
export * from './src/upload-file-types';
|
|
@@ -30,7 +31,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
30
31
|
readonly type: BooleanConstructor;
|
|
31
32
|
readonly default: false;
|
|
32
33
|
};
|
|
33
|
-
readonly
|
|
34
|
+
readonly defaultFileBelong: {
|
|
34
35
|
readonly type: StringConstructor;
|
|
35
36
|
readonly default: "headId";
|
|
36
37
|
};
|
|
@@ -86,9 +87,9 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
86
87
|
readonly type: StringConstructor;
|
|
87
88
|
readonly default: "";
|
|
88
89
|
};
|
|
89
|
-
readonly
|
|
90
|
+
readonly itemNumberValueProp: {
|
|
90
91
|
readonly type: StringConstructor;
|
|
91
|
-
readonly default: "";
|
|
92
|
+
readonly default: "materialNumber";
|
|
92
93
|
};
|
|
93
94
|
readonly itemNumberDefaultValue: {
|
|
94
95
|
readonly type: StringConstructor;
|
|
@@ -131,6 +132,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
131
132
|
readonly default: null;
|
|
132
133
|
};
|
|
133
134
|
}, {
|
|
135
|
+
visible: Ref<boolean>;
|
|
134
136
|
validateInfos: validateInfos;
|
|
135
137
|
limitSize: Ref<number>;
|
|
136
138
|
acceptNew: Ref<string>;
|
|
@@ -225,19 +227,23 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
225
227
|
fileBelong: string;
|
|
226
228
|
};
|
|
227
229
|
itemNumberLabel: string;
|
|
228
|
-
|
|
230
|
+
itemNumberValueProp: Ref<string>;
|
|
229
231
|
property: Ref<string>;
|
|
230
232
|
itemInfo: Ref<RecordString[]>;
|
|
231
233
|
fileTypeList: Ref<{
|
|
232
|
-
[x: string]:
|
|
233
|
-
|
|
234
|
-
value
|
|
235
|
-
|
|
234
|
+
[x: string]: any;
|
|
235
|
+
label?: any;
|
|
236
|
+
value?: string | number | null | undefined;
|
|
237
|
+
children?: Omit<DefaultOptionType, "children">[] | undefined;
|
|
238
|
+
disabled?: boolean | undefined;
|
|
239
|
+
}[] | undefined>;
|
|
236
240
|
isGridUpload: Ref<boolean>;
|
|
237
241
|
beforeUpload: (file: UploadFile<any>) => boolean;
|
|
238
242
|
handleRemove: (file: UploadFile<unknown>) => boolean | void | Promise<boolean | void>;
|
|
239
243
|
srmI18n: SrmI18n;
|
|
240
244
|
defaultFileType: Ref<string>;
|
|
245
|
+
filterOption: (input: string, option: any) => boolean;
|
|
246
|
+
computedItemInfo: ComputedRef<DefaultOptionType[] | undefined>;
|
|
241
247
|
labelCol: Ref<{
|
|
242
248
|
span: number;
|
|
243
249
|
}>;
|
|
@@ -245,7 +251,6 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
245
251
|
span: number;
|
|
246
252
|
}>;
|
|
247
253
|
loading: Ref<boolean>;
|
|
248
|
-
visible: Ref<boolean>;
|
|
249
254
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("update:visible" | "change_upload_files")[], "update:visible" | "change_upload_files", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
250
255
|
readonly visible: {
|
|
251
256
|
readonly type: BooleanConstructor;
|
|
@@ -263,7 +268,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
263
268
|
readonly type: BooleanConstructor;
|
|
264
269
|
readonly default: false;
|
|
265
270
|
};
|
|
266
|
-
readonly
|
|
271
|
+
readonly defaultFileBelong: {
|
|
267
272
|
readonly type: StringConstructor;
|
|
268
273
|
readonly default: "headId";
|
|
269
274
|
};
|
|
@@ -319,9 +324,9 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
319
324
|
readonly type: StringConstructor;
|
|
320
325
|
readonly default: "";
|
|
321
326
|
};
|
|
322
|
-
readonly
|
|
327
|
+
readonly itemNumberValueProp: {
|
|
323
328
|
readonly type: StringConstructor;
|
|
324
|
-
readonly default: "";
|
|
329
|
+
readonly default: "materialNumber";
|
|
325
330
|
};
|
|
326
331
|
readonly itemNumberDefaultValue: {
|
|
327
332
|
readonly type: StringConstructor;
|
|
@@ -379,7 +384,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
379
384
|
readonly property: string;
|
|
380
385
|
readonly defaultFileType: string;
|
|
381
386
|
readonly requiredFileType: boolean;
|
|
382
|
-
readonly
|
|
387
|
+
readonly defaultFileBelong: string;
|
|
383
388
|
readonly limitSize: number;
|
|
384
389
|
readonly acceptDictCode: string;
|
|
385
390
|
readonly maxCount: number;
|
|
@@ -387,7 +392,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
387
392
|
readonly isGridUpload: boolean;
|
|
388
393
|
readonly itemNumberKey: string;
|
|
389
394
|
readonly itemNumberLabel: string;
|
|
390
|
-
readonly
|
|
395
|
+
readonly itemNumberValueProp: string;
|
|
391
396
|
readonly itemNumberDefaultValue: string;
|
|
392
397
|
readonly itemNumberSelectIndex: boolean;
|
|
393
398
|
readonly disabledItemNumber: boolean;
|
|
@@ -72,7 +72,7 @@ export declare const uploadFilesProps: {
|
|
|
72
72
|
readonly type: BooleanConstructor;
|
|
73
73
|
readonly default: false;
|
|
74
74
|
};
|
|
75
|
-
readonly
|
|
75
|
+
readonly defaultFileBelong: {
|
|
76
76
|
readonly type: StringConstructor;
|
|
77
77
|
readonly default: "headId";
|
|
78
78
|
};
|
|
@@ -128,9 +128,9 @@ export declare const uploadFilesProps: {
|
|
|
128
128
|
readonly type: StringConstructor;
|
|
129
129
|
readonly default: "";
|
|
130
130
|
};
|
|
131
|
-
readonly
|
|
131
|
+
readonly itemNumberValueProp: {
|
|
132
132
|
readonly type: StringConstructor;
|
|
133
|
-
readonly default: "";
|
|
133
|
+
readonly default: "materialNumber";
|
|
134
134
|
};
|
|
135
135
|
readonly itemNumberDefaultValue: {
|
|
136
136
|
readonly type: StringConstructor;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import type { SrmI18n } from '../../../utils/type';
|
|
2
|
+
import type { DefaultOptionType } from 'ant-design-vue/lib/select';
|
|
2
3
|
import type { UploadFileStatus, FileType } from 'ant-design-vue/lib/upload/interface';
|
|
3
4
|
import type { validateInfos } from 'ant-design-vue/lib/form/useForm';
|
|
4
|
-
import type { UserInfo, Role, CurrentRow, RecordString } from '../../edit-page-layout';
|
|
5
|
-
import type { DefineComponent, PropType, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
|
|
6
5
|
import type { Data, FileTypeList } from './upload-file-types';
|
|
6
|
+
import type { DefineComponent, PropType, Ref, ComputedRef, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
|
|
7
7
|
import type { UploadFile } from 'ant-design-vue';
|
|
8
|
+
import type { UserInfo, Role, CurrentRow, RecordString } from '../../edit-page-layout';
|
|
8
9
|
declare const _sfc_main: DefineComponent<{
|
|
9
10
|
readonly visible: {
|
|
10
11
|
readonly type: BooleanConstructor;
|
|
@@ -22,7 +23,7 @@ declare const _sfc_main: DefineComponent<{
|
|
|
22
23
|
readonly type: BooleanConstructor;
|
|
23
24
|
readonly default: false;
|
|
24
25
|
};
|
|
25
|
-
readonly
|
|
26
|
+
readonly defaultFileBelong: {
|
|
26
27
|
readonly type: StringConstructor;
|
|
27
28
|
readonly default: "headId";
|
|
28
29
|
};
|
|
@@ -78,9 +79,9 @@ declare const _sfc_main: DefineComponent<{
|
|
|
78
79
|
readonly type: StringConstructor;
|
|
79
80
|
readonly default: "";
|
|
80
81
|
};
|
|
81
|
-
readonly
|
|
82
|
+
readonly itemNumberValueProp: {
|
|
82
83
|
readonly type: StringConstructor;
|
|
83
|
-
readonly default: "";
|
|
84
|
+
readonly default: "materialNumber";
|
|
84
85
|
};
|
|
85
86
|
readonly itemNumberDefaultValue: {
|
|
86
87
|
readonly type: StringConstructor;
|
|
@@ -123,6 +124,7 @@ declare const _sfc_main: DefineComponent<{
|
|
|
123
124
|
readonly default: null;
|
|
124
125
|
};
|
|
125
126
|
}, {
|
|
127
|
+
visible: Ref<boolean>;
|
|
126
128
|
validateInfos: validateInfos;
|
|
127
129
|
limitSize: Ref<number>;
|
|
128
130
|
acceptNew: Ref<string>;
|
|
@@ -217,19 +219,23 @@ declare const _sfc_main: DefineComponent<{
|
|
|
217
219
|
fileBelong: string;
|
|
218
220
|
};
|
|
219
221
|
itemNumberLabel: string;
|
|
220
|
-
|
|
222
|
+
itemNumberValueProp: Ref<string>;
|
|
221
223
|
property: Ref<string>;
|
|
222
224
|
itemInfo: Ref<RecordString[]>;
|
|
223
225
|
fileTypeList: Ref<{
|
|
224
|
-
[x: string]:
|
|
225
|
-
|
|
226
|
-
value
|
|
227
|
-
|
|
226
|
+
[x: string]: any;
|
|
227
|
+
label?: any;
|
|
228
|
+
value?: string | number | null | undefined;
|
|
229
|
+
children?: Omit<DefaultOptionType, "children">[] | undefined;
|
|
230
|
+
disabled?: boolean | undefined;
|
|
231
|
+
}[] | undefined>;
|
|
228
232
|
isGridUpload: Ref<boolean>;
|
|
229
233
|
beforeUpload: (file: UploadFile) => boolean;
|
|
230
234
|
handleRemove: (file: UploadFile<unknown>) => boolean | void | Promise<boolean | void>;
|
|
231
235
|
srmI18n: SrmI18n;
|
|
232
236
|
defaultFileType: Ref<string>;
|
|
237
|
+
filterOption: (input: string, option: any) => boolean;
|
|
238
|
+
computedItemInfo: ComputedRef<DefaultOptionType[] | undefined>;
|
|
233
239
|
labelCol: Ref<{
|
|
234
240
|
span: number;
|
|
235
241
|
}>;
|
|
@@ -237,7 +243,6 @@ declare const _sfc_main: DefineComponent<{
|
|
|
237
243
|
span: number;
|
|
238
244
|
}>;
|
|
239
245
|
loading: Ref<boolean>;
|
|
240
|
-
visible: Ref<boolean>;
|
|
241
246
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("update:visible" | "change_upload_files")[], "update:visible" | "change_upload_files", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
242
247
|
readonly visible: {
|
|
243
248
|
readonly type: BooleanConstructor;
|
|
@@ -255,7 +260,7 @@ declare const _sfc_main: DefineComponent<{
|
|
|
255
260
|
readonly type: BooleanConstructor;
|
|
256
261
|
readonly default: false;
|
|
257
262
|
};
|
|
258
|
-
readonly
|
|
263
|
+
readonly defaultFileBelong: {
|
|
259
264
|
readonly type: StringConstructor;
|
|
260
265
|
readonly default: "headId";
|
|
261
266
|
};
|
|
@@ -311,9 +316,9 @@ declare const _sfc_main: DefineComponent<{
|
|
|
311
316
|
readonly type: StringConstructor;
|
|
312
317
|
readonly default: "";
|
|
313
318
|
};
|
|
314
|
-
readonly
|
|
319
|
+
readonly itemNumberValueProp: {
|
|
315
320
|
readonly type: StringConstructor;
|
|
316
|
-
readonly default: "";
|
|
321
|
+
readonly default: "materialNumber";
|
|
317
322
|
};
|
|
318
323
|
readonly itemNumberDefaultValue: {
|
|
319
324
|
readonly type: StringConstructor;
|
|
@@ -371,7 +376,7 @@ declare const _sfc_main: DefineComponent<{
|
|
|
371
376
|
readonly property: string;
|
|
372
377
|
readonly defaultFileType: string;
|
|
373
378
|
readonly requiredFileType: boolean;
|
|
374
|
-
readonly
|
|
379
|
+
readonly defaultFileBelong: string;
|
|
375
380
|
readonly limitSize: number;
|
|
376
381
|
readonly acceptDictCode: string;
|
|
377
382
|
readonly maxCount: number;
|
|
@@ -379,7 +384,7 @@ declare const _sfc_main: DefineComponent<{
|
|
|
379
384
|
readonly isGridUpload: boolean;
|
|
380
385
|
readonly itemNumberKey: string;
|
|
381
386
|
readonly itemNumberLabel: string;
|
|
382
|
-
readonly
|
|
387
|
+
readonly itemNumberValueProp: string;
|
|
383
388
|
readonly itemNumberDefaultValue: string;
|
|
384
389
|
readonly itemNumberSelectIndex: boolean;
|
|
385
390
|
readonly disabledItemNumber: boolean;
|
package/dist/lib/index.d.ts
CHANGED
|
@@ -18,7 +18,7 @@ export { usePromiseStepHook, useRefInstanceHook, useChartHook, useButtonFunction
|
|
|
18
18
|
export * from './components/page-layout/src/constant';
|
|
19
19
|
export { LAYOUT_CONFIG_TOKEN, LAYOUT_CONFIG_TOKEN_DEFAULT_VALUE, DEFAULT_VALUE_TOKEN, DEFAULT_VALUE_TOKEN_DEFAULT_VALUE, LAYOUT_PAGE_DATA_TOKEN, LAYOUT_PAGE_DATA_TOKEN_DEFAULT_VALUE, } from './components/page-layout/src/token';
|
|
20
20
|
export { getRemoteJsFilePath, loadJS, requireInjection } from './components/page-layout/src/util';
|
|
21
|
-
export { viewVxeTableConfig, editVxeTableConfig } from './setting/vxe-table/config';
|
|
21
|
+
export { viewVxeTableConfig, editVxeTableConfig, fullVxeGridProps } from './setting/vxe-table/config';
|
|
22
22
|
import useFileColumnHook from './components/upload-file/src/hook/use-file-column-hook';
|
|
23
23
|
import useOperationColumnButtonHook from './components/upload-file/src/hook/use-operation-column-button-hook';
|
|
24
24
|
export { useFileColumnHook, useOperationColumnButtonHook };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { Emitter } from '@qqt-product/utils';
|
|
2
2
|
import { VxeTableInstance } from 'vxe-table';
|
|
3
|
-
import { SYMBOL_BINDFUNCTION, SYMBOL_CUSTOM_BINDFUNCTION, SYMBOL_VXE_BINDFUNCTION, SYMBOL_CUSTOM_VXE_BINDFUNCTION, SYMBOL_ADD_ONE_ROW, SYMBOL_DELETE_ROWS, SYMBOL_CUSTOM_CLICK, SYMBOL_FIELD_OR_COLUMN_CUSTOM_CLICK, SYMBOL_CACHE_BUTTON, SYMBOL_CACHE_PAGEDATA, SYMBOL_CACHE_REFRESH, SYMBOL_CACHE_SHOW_MESSAGE, SYMBOL_VALIDATE, SYMBOL_VALIDATE_RESULT, SYMBOL_LINK_CLICK, SYMBOL_VALIDATE_SUCCESS, SYMBOL_REFRESH, SYMBOL_BACK, SYMBOL_SAVE, SYMBOL_PUBLISH, SYMBOL_SUBMIT, SYMBOL_CONFIRM, SYMBOL_REJECT, SYMBOL_UPLOAD, SYMBOL_UPLOAD_GRID, SYMBOL_CANCEL_AUDIT, SYMBOL_DOWNLOAD_ALL, SYMBOL_REMOVE_ALL,
|
|
4
|
-
import type { RecordString, BindFunctionEvent, VxeBindFunctionEvent, PageButton, PageButtonWithGroupCode, PageButtonDeleteRow, PageButtonDownLoad, ValidateResult, LinkClickCallbackParams, FormFieldsItem, PageButtonDeleteFileRow,
|
|
3
|
+
import { SYMBOL_BINDFUNCTION, SYMBOL_CUSTOM_BINDFUNCTION, SYMBOL_VXE_BINDFUNCTION, SYMBOL_CUSTOM_VXE_BINDFUNCTION, SYMBOL_ADD_ONE_ROW, SYMBOL_DELETE_ROWS, SYMBOL_CUSTOM_CLICK, SYMBOL_FIELD_OR_COLUMN_CUSTOM_CLICK, SYMBOL_CACHE_BUTTON, SYMBOL_CACHE_PAGEDATA, SYMBOL_CACHE_REFRESH, SYMBOL_CACHE_SHOW_MESSAGE, SYMBOL_VALIDATE, SYMBOL_VALIDATE_RESULT, SYMBOL_LINK_CLICK, SYMBOL_VALIDATE_SUCCESS, SYMBOL_REFRESH, SYMBOL_BACK, SYMBOL_SAVE, SYMBOL_PUBLISH, SYMBOL_SUBMIT, SYMBOL_CONFIRM, SYMBOL_REJECT, SYMBOL_UPLOAD, SYMBOL_UPLOAD_GRID, SYMBOL_CANCEL_AUDIT, SYMBOL_DOWNLOAD_ALL, SYMBOL_REMOVE_ALL, SYMBOL_FILL, SYMBOL_VXE_KEYDOWN, SYMBOL_VXE_HEADER_CELL_CLICK, SYMBOL_VXE_HEADER_CELL_DBLCLICK, SYMBOL_VXE_HEADER_CELL_MENU, SYMBOL_VXE_CELL_CLICK, SYMBOL_VXE_CELL_DBLCLICK, SYMBOL_VXE_CELL_MENU, SYMBOL_VXE_FOOTER_CELL_CLICK, SYMBOL_VXE_FOOTER_CELL_DBLCLICK, SYMBOL_VXE_FOOTER_CELL_MENU, SYMBOL_VXE_CHECKBOX_CHANGE, SYMBOL_VXE_CHECKBOX_ALL, SYMBOL_VXE_SCROLL, SYMBOL_VXE_ZOOM, SYMBOL_VXE_CUSTOM, SYMBOL_IMPORT_ROWS, SYMBOL_FLOW_VIEW, SYMBOL_AUDIT_AGREE, SYMBOL_AUDIT_REFUSE, SYMBOL_AUDIT_INFORMED, SYMBOL_AUDIT_TRANSFER, SYMBOL_AUDIT_BACK, SYMBOL_AUDIT_TRANSACTION, SYMBOL_AUDIT_INVALID, SYMBOL_AUDIT_REVOCATION, SYMBOL_AUDIT_REVOCATION_PRE_SIGN, SYMBOL_AUDIT_FLOW_IMAGE, SYMBOL_AUDIT_APPROVAL_COMMENT, SYMBOL_AUDIT_SIGN_NODE, SYMBOL_AUDIT_PRE_SIGN, SYMBOL_AUDIT_AFTER_SIGN, SYMBOL_AUDIT_PRINT, SYMBOL_AUDIT_ADD_NODE_HISTORY, SYMBOL_AUDIT_CHAT } from '../../lib/components/page-layout';
|
|
4
|
+
import type { RecordString, BindFunctionEvent, VxeBindFunctionEvent, PageButton, PageButtonWithGroupCode, PageButtonDeleteRow, PageButtonDownLoad, ValidateResult, LinkClickCallbackParams, FormFieldsItem, PageButtonDeleteFileRow, KeydownEventParams } from '../../lib/components/edit-page-layout';
|
|
5
5
|
import type { ButtonItem, ObjectMap, ToolsButtonItem } from '../../lib/components/list-page-layout';
|
|
6
6
|
import type { VxeItemFileUpload } from '../../lib/components/upload-file';
|
|
7
7
|
import { SYMBOL_GRID_INSTANCE, SYMBOL_HANDLE_SETTING, SYMBOL_HANDLE_ADD, SYMBOL_HANDLE_EXPORT, SYMBOL_HANDLE_IMPORT, SYMBOL_HANDLE_QUICK_NAV, SYMBOL_HANDLE_RECORD, SYMBOL_HANDLE_HELP_TEXT, SYMBOL_HANDLE_ATTACHMENT_TEXT, SYMBOL_HANDLE_VIDEO_TEXT, SYMBOL_HANDLE_MERGE_GRID, SYMBOL_FETCH_NAV_DATA } from '../components/list-page-layout/src/symbol';
|
|
@@ -46,8 +46,22 @@ export type Events = {
|
|
|
46
46
|
[SYMBOL_CANCEL_AUDIT]: PageButton;
|
|
47
47
|
[SYMBOL_DOWNLOAD_ALL]: PageButtonDownLoad;
|
|
48
48
|
[SYMBOL_REMOVE_ALL]: PageButtonDeleteFileRow;
|
|
49
|
-
[
|
|
50
|
-
[
|
|
49
|
+
[SYMBOL_FILL]: PageButtonWithGroupCode;
|
|
50
|
+
[SYMBOL_VXE_KEYDOWN]: KeydownEventParams;
|
|
51
|
+
[SYMBOL_VXE_HEADER_CELL_CLICK]: KeydownEventParams;
|
|
52
|
+
[SYMBOL_VXE_HEADER_CELL_DBLCLICK]: KeydownEventParams;
|
|
53
|
+
[SYMBOL_VXE_HEADER_CELL_MENU]: KeydownEventParams;
|
|
54
|
+
[SYMBOL_VXE_CELL_CLICK]: KeydownEventParams;
|
|
55
|
+
[SYMBOL_VXE_CELL_DBLCLICK]: KeydownEventParams;
|
|
56
|
+
[SYMBOL_VXE_CELL_MENU]: KeydownEventParams;
|
|
57
|
+
[SYMBOL_VXE_FOOTER_CELL_CLICK]: KeydownEventParams;
|
|
58
|
+
[SYMBOL_VXE_FOOTER_CELL_DBLCLICK]: KeydownEventParams;
|
|
59
|
+
[SYMBOL_VXE_FOOTER_CELL_MENU]: KeydownEventParams;
|
|
60
|
+
[SYMBOL_VXE_CHECKBOX_CHANGE]: KeydownEventParams;
|
|
61
|
+
[SYMBOL_VXE_CHECKBOX_ALL]: KeydownEventParams;
|
|
62
|
+
[SYMBOL_VXE_SCROLL]: KeydownEventParams;
|
|
63
|
+
[SYMBOL_VXE_ZOOM]: KeydownEventParams;
|
|
64
|
+
[SYMBOL_VXE_CUSTOM]: KeydownEventParams;
|
|
51
65
|
[SYMBOL_IMPORT_ROWS]: PageButton;
|
|
52
66
|
[SYMBOL_FLOW_VIEW]: PageButton;
|
|
53
67
|
[SYMBOL_AUDIT_AGREE]: PageButton;
|