@qqt-product/ui 7.0.1 → 8.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.
Files changed (65) hide show
  1. package/dist/index.es.js +33803 -32512
  2. package/dist/index.umd.js +115 -113
  3. package/dist/lib/components/audit-modal/index.d.ts +1 -1
  4. package/dist/lib/components/audit-modal/src/audit-modal.vue.d.ts +1 -1
  5. package/dist/lib/components/audit-modal/src/component/addNodeHistoryModal.vue.d.ts +1 -1
  6. package/dist/lib/components/audit-modal/src/component/approvalOpinionModal.vue.d.ts +1 -1
  7. package/dist/lib/components/code-editor-model/src/code-editor-model.vue.d.ts +1 -1
  8. package/dist/lib/components/currency/index.d.ts +36 -48
  9. package/dist/lib/components/currency/src/currency-type.d.ts +15 -21
  10. package/dist/lib/components/currency/src/currency.vue.d.ts +37 -49
  11. package/dist/lib/components/currency/src/use-currency.d.ts +2 -2
  12. package/dist/lib/components/detail-form/index.d.ts +1 -2
  13. package/dist/lib/components/detail-form/src/detail-form.vue.d.ts +1 -2
  14. package/dist/lib/components/detail-grid/index.d.ts +3 -2
  15. package/dist/lib/components/detail-grid/src/detail-grid.vue.d.ts +3 -2
  16. package/dist/lib/components/detail-page-layout/index.d.ts +2 -1
  17. package/dist/lib/components/detail-page-layout/src/detail-page-layout.vue.d.ts +3 -2
  18. package/dist/lib/components/edit-form/index.d.ts +1 -1
  19. package/dist/lib/components/edit-form/src/edit-form.vue.d.ts +1 -1
  20. package/dist/lib/components/edit-form/src/hook/use-callback-hook.d.ts +16 -14
  21. package/dist/lib/components/edit-grid/index.d.ts +1 -1
  22. package/dist/lib/components/edit-grid/src/edit-grid.vue.d.ts +1 -1
  23. package/dist/lib/components/edit-page-layout/index.d.ts +2 -1
  24. package/dist/lib/components/edit-page-layout/src/edit-page-layout-types.d.ts +15 -1
  25. package/dist/lib/components/edit-page-layout/src/edit-page-layout.vue.d.ts +3 -2
  26. package/dist/lib/components/edit-page-layout/src/types.d.ts +1 -1
  27. package/dist/lib/components/import-modal/src/import-modal-types.d.ts +4 -0
  28. package/dist/lib/components/index.d.ts +2 -2
  29. package/dist/lib/components/item-wrap/index.d.ts +1 -1
  30. package/dist/lib/components/item-wrap/src/item-wrap.vue.d.ts +1 -1
  31. package/dist/lib/components/ladder-price/index.d.ts +1 -1
  32. package/dist/lib/components/ladder-price/src/ladder-price.vue.d.ts +1 -1
  33. package/dist/lib/components/layout/src/header/index.vue.d.ts +1 -1
  34. package/dist/lib/components/layout/src/header/navRight/customPerson.vue.d.ts +2 -2
  35. package/dist/lib/components/layout/src/header/navRight/index.vue.d.ts +1 -1
  36. package/dist/lib/components/layout-buttons/index.d.ts +1 -0
  37. package/dist/lib/components/layout-buttons/src/layout-buttons.vue.d.ts +1 -0
  38. package/dist/lib/components/layout-pattern/index.d.ts +4 -2
  39. package/dist/lib/components/layout-pattern/src/hook/use-audit-button-hook.d.ts +1 -1
  40. package/dist/lib/components/layout-pattern/src/layout-pattern.vue.d.ts +4 -2
  41. package/dist/lib/components/link/index.d.ts +126 -0
  42. package/dist/lib/components/list-page-layout/src/components/common/columnSetting/columnSetting.vue.d.ts +2 -1
  43. package/dist/lib/components/list-page-layout/src/symbolNames.d.ts +2 -0
  44. package/dist/lib/components/page-layout/src/constant/symbol.d.ts +49 -49
  45. package/dist/lib/components/page-layout/src/hook/use-promise-step.d.ts +2 -1
  46. package/dist/lib/components/page-layout/src/hook/use-uid-hook.d.ts +4 -0
  47. package/dist/lib/components/page-layout/src/token.d.ts +2 -0
  48. package/dist/lib/components/rich-editor-model/index.d.ts +1 -1
  49. package/dist/lib/components/rich-editor-model/src/rich-editor-model.vue.d.ts +1 -1
  50. package/dist/lib/components/select-modal/index.d.ts +1 -1
  51. package/dist/lib/components/select-modal/src/select-modal.vue.d.ts +1 -1
  52. package/dist/lib/components/upload-file/index.d.ts +112 -6
  53. package/dist/lib/components/upload-file/src/hook/use-operation-column-button-hook.d.ts +3 -0
  54. package/dist/lib/components/upload-file/src/upload-file-types.d.ts +18 -1
  55. package/dist/lib/components/upload-file/src/upload-file.vue.d.ts +112 -6
  56. package/dist/lib/components/upload-image/index.d.ts +1 -1
  57. package/dist/lib/components/upload-image/src/upload-image.vue.d.ts +1 -1
  58. package/dist/lib/components/useChart/index.d.ts +1 -0
  59. package/dist/lib/utils/ConstantManager.d.ts +10 -0
  60. package/dist/lib/utils/event.d.ts +5 -4
  61. package/dist/style.css +1 -1
  62. package/package.json +12 -8
  63. package/dist/lib/components/coutdown/index.d.ts +0 -84
  64. package/dist/lib/components/coutdown/src/coutdown.d.ts +0 -48
  65. package/dist/lib/components/coutdown/src/coutdown.vue.d.ts +0 -81
@@ -43,8 +43,8 @@ declare const _sfc_main: DefineComponent<{
43
43
  onHandleSureClose?: ((...args: any[]) => any) | undefined;
44
44
  "onUpdate:editorModalFlag"?: ((...args: any[]) => any) | undefined;
45
45
  }, {
46
- disabled: boolean;
47
46
  value: string;
47
+ disabled: boolean;
48
48
  editorModalFlag: boolean;
49
49
  }, {}>;
50
50
  export default _sfc_main;
@@ -45,10 +45,10 @@ declare const _default: SFCWithInstall<DefineComponent<{
45
45
  tableConfig?: VxeTableProps<VxeTableDataRow> | undefined;
46
46
  placeholder?: string | undefined;
47
47
  selectModal?: ModalType | undefined;
48
- key?: string | number | symbol | undefined;
49
48
  style?: unknown;
50
49
  readonly handleListData?: Function | undefined;
51
50
  class?: unknown;
51
+ key?: string | number | symbol | undefined;
52
52
  ref?: VNodeRef | undefined;
53
53
  ref_for?: boolean | undefined;
54
54
  ref_key?: string | undefined;
@@ -41,10 +41,10 @@ declare const _sfc_main: DefineComponent<{
41
41
  tableConfig?: VxeTableProps<VxeTableDataRow> | undefined;
42
42
  placeholder?: string | undefined;
43
43
  selectModal?: ModalType | undefined;
44
- key?: string | number | symbol | undefined;
45
44
  style?: unknown;
46
45
  readonly handleListData?: Function | undefined;
47
46
  class?: unknown;
47
+ key?: string | number | symbol | undefined;
48
48
  ref?: VNodeRef | undefined;
49
49
  ref_for?: boolean | undefined;
50
50
  ref_key?: string | undefined;
@@ -1,6 +1,6 @@
1
1
  import type { SrmI18n } from '../../utils/type';
2
2
  import type { UploadFile } from 'ant-design-vue';
3
- import type { FileType } from 'ant-design-vue/lib/upload/interface';
3
+ import type { UploadFileStatus, FileType } from 'ant-design-vue/lib/upload/interface';
4
4
  import type { validateInfos } from 'ant-design-vue/lib/form/useForm';
5
5
  import type { RecordString } from '../select-modal';
6
6
  import type { Data, FileTypeList } from './src/upload-file-types';
@@ -22,6 +22,10 @@ declare const _default: SFCWithInstall<DefineComponent<{
22
22
  readonly type: StringConstructor;
23
23
  readonly default: "";
24
24
  };
25
+ readonly defaultFileType: {
26
+ readonly type: StringConstructor;
27
+ readonly default: "";
28
+ };
25
29
  readonly requiredFileType: {
26
30
  readonly type: BooleanConstructor;
27
31
  readonly default: false;
@@ -44,7 +48,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
44
48
  };
45
49
  readonly maxCount: {
46
50
  readonly type: NumberConstructor;
47
- readonly default: 1;
51
+ readonly default: 0;
48
52
  };
49
53
  readonly userInfo: {
50
54
  readonly type: PropType<UserInfo>;
@@ -122,13 +126,104 @@ declare const _default: SFCWithInstall<DefineComponent<{
122
126
  type: PropType<((value: boolean) => void) | ((value: boolean) => void)[]>;
123
127
  default: unknown;
124
128
  };
129
+ readonly onConfirmBeforeUpload: {
130
+ readonly type: FunctionConstructor;
131
+ readonly default: null;
132
+ };
125
133
  }, {
126
134
  validateInfos: validateInfos;
127
135
  limitSize: Ref<number>;
128
- accept: Ref<string>;
136
+ acceptNew: Ref<string>;
129
137
  handleConfirm: () => void;
130
138
  handleCancel: () => void;
131
- fileData: Record<string, any>;
139
+ fileData: {
140
+ [x: string]: unknown;
141
+ [x: number]: unknown;
142
+ fileType: string;
143
+ fileList: {
144
+ uid: string;
145
+ size?: number | undefined;
146
+ name: string;
147
+ fileName?: string | undefined;
148
+ lastModified?: number | undefined;
149
+ lastModifiedDate?: {
150
+ toString: () => string;
151
+ toDateString: () => string;
152
+ toTimeString: () => string;
153
+ toLocaleString: {
154
+ (): string;
155
+ (locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
156
+ (locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
157
+ };
158
+ toLocaleDateString: {
159
+ (): string;
160
+ (locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
161
+ (locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
162
+ };
163
+ toLocaleTimeString: {
164
+ (): string;
165
+ (locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
166
+ (locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
167
+ };
168
+ valueOf: () => number;
169
+ getTime: () => number;
170
+ getFullYear: () => number;
171
+ getUTCFullYear: () => number;
172
+ getMonth: () => number;
173
+ getUTCMonth: () => number;
174
+ getDate: () => number;
175
+ getUTCDate: () => number;
176
+ getDay: () => number;
177
+ getUTCDay: () => number;
178
+ getHours: () => number;
179
+ getUTCHours: () => number;
180
+ getMinutes: () => number;
181
+ getUTCMinutes: () => number;
182
+ getSeconds: () => number;
183
+ getUTCSeconds: () => number;
184
+ getMilliseconds: () => number;
185
+ getUTCMilliseconds: () => number;
186
+ getTimezoneOffset: () => number;
187
+ setTime: (time: number) => number;
188
+ setMilliseconds: (ms: number) => number;
189
+ setUTCMilliseconds: (ms: number) => number;
190
+ setSeconds: (sec: number, ms?: number | undefined) => number;
191
+ setUTCSeconds: (sec: number, ms?: number | undefined) => number;
192
+ setMinutes: (min: number, sec?: number | undefined, ms?: number | undefined) => number;
193
+ setUTCMinutes: (min: number, sec?: number | undefined, ms?: number | undefined) => number;
194
+ setHours: (hours: number, min?: number | undefined, sec?: number | undefined, ms?: number | undefined) => number;
195
+ setUTCHours: (hours: number, min?: number | undefined, sec?: number | undefined, ms?: number | undefined) => number;
196
+ setDate: (date: number) => number;
197
+ setUTCDate: (date: number) => number;
198
+ setMonth: (month: number, date?: number | undefined) => number;
199
+ setUTCMonth: (month: number, date?: number | undefined) => number;
200
+ setFullYear: (year: number, month?: number | undefined, date?: number | undefined) => number;
201
+ setUTCFullYear: (year: number, month?: number | undefined, date?: number | undefined) => number;
202
+ toUTCString: () => string;
203
+ toISOString: () => string;
204
+ toJSON: (key?: any) => string;
205
+ [Symbol.toPrimitive]: {
206
+ (hint: "default"): string;
207
+ (hint: "string"): string;
208
+ (hint: "number"): number;
209
+ (hint: string): string | number;
210
+ };
211
+ } | undefined;
212
+ url?: string | undefined;
213
+ status?: UploadFileStatus | undefined;
214
+ percent?: number | undefined;
215
+ thumbUrl?: string | undefined;
216
+ originFileObj?: FileType | undefined;
217
+ response?: unknown;
218
+ error?: any;
219
+ linkProps?: any;
220
+ type?: string | undefined;
221
+ xhr?: unknown;
222
+ preview?: string | undefined;
223
+ }[] | undefined;
224
+ itemNumber: string;
225
+ fileBelong: string;
226
+ };
132
227
  itemNumberLabel: Ref<string>;
133
228
  itemNumbeValueProp: Ref<string>;
134
229
  property: Ref<string>;
@@ -142,6 +237,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
142
237
  beforeUpload: (file: FileType, FileList: FileType[]) => (string | boolean | void | Blob | FileType) | Promise<string | boolean | void | Blob | FileType>;
143
238
  handleRemove: (file: UploadFile<unknown>) => boolean | void | Promise<boolean | void>;
144
239
  srmI18n: SrmI18n;
240
+ defaultFileType: Ref<string>;
145
241
  labelCol: Ref<{
146
242
  span: number;
147
243
  }>;
@@ -159,6 +255,10 @@ declare const _default: SFCWithInstall<DefineComponent<{
159
255
  readonly type: StringConstructor;
160
256
  readonly default: "";
161
257
  };
258
+ readonly defaultFileType: {
259
+ readonly type: StringConstructor;
260
+ readonly default: "";
261
+ };
162
262
  readonly requiredFileType: {
163
263
  readonly type: BooleanConstructor;
164
264
  readonly default: false;
@@ -181,7 +281,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
181
281
  };
182
282
  readonly maxCount: {
183
283
  readonly type: NumberConstructor;
184
- readonly default: 1;
284
+ readonly default: 0;
185
285
  };
186
286
  readonly userInfo: {
187
287
  readonly type: PropType<UserInfo>;
@@ -259,6 +359,10 @@ declare const _default: SFCWithInstall<DefineComponent<{
259
359
  type: PropType<((value: boolean) => void) | ((value: boolean) => void)[]>;
260
360
  default: unknown;
261
361
  };
362
+ readonly onConfirmBeforeUpload: {
363
+ readonly type: FunctionConstructor;
364
+ readonly default: null;
365
+ };
262
366
  }>> & {
263
367
  "onUpdate:visible"?: ((...args: any[]) => any) | undefined;
264
368
  onChange_upload_files?: ((...args: any[]) => any) | undefined;
@@ -270,9 +374,10 @@ declare const _default: SFCWithInstall<DefineComponent<{
270
374
  readonly action: string;
271
375
  readonly accept: string;
272
376
  readonly dictCode: string;
273
- readonly role: Role;
274
377
  readonly userInfo: UserInfo;
378
+ readonly role: Role;
275
379
  readonly property: string;
380
+ readonly defaultFileType: string;
276
381
  readonly requiredFileType: boolean;
277
382
  readonly attrCheck: string;
278
383
  readonly limitSize: number;
@@ -290,5 +395,6 @@ declare const _default: SFCWithInstall<DefineComponent<{
290
395
  readonly fileTypeList: FileTypeList[];
291
396
  readonly actionRoutePath: string;
292
397
  readonly sourceNumberType: string;
398
+ readonly onConfirmBeforeUpload: Function;
293
399
  }, {}>>;
294
400
  export default _default;
@@ -3,6 +3,9 @@ import { InitializeConfig } from '../upload-file-types';
3
3
  export interface ButtonConfig extends InitializeConfig {
4
4
  row: RecordString;
5
5
  rowIndex: number;
6
+ downloadUrl?: string;
7
+ deleteUrl?: string;
8
+ previewUrl?: string;
6
9
  }
7
10
  export default function useOperationColumnButton(): {
8
11
  handleDelete: <T extends ButtonConfig>(payload: T) => void;
@@ -1,5 +1,6 @@
1
1
  import { ExtractPropTypes, PropType, Ref } from 'vue';
2
2
  import type { Role, UserInfo, CurrentRow, ColumnItem, LayoutConfig, RecordString } from '../../edit-page-layout';
3
+ import type { UploadProps } from 'ant-design-vue';
3
4
  export interface InitializeConfig {
4
5
  groupCode: string;
5
6
  pageData?: Ref<RecordString>;
@@ -45,6 +46,14 @@ export interface ColumnItemWithExtend extends ColumnItem {
45
46
  idx: number;
46
47
  }
47
48
  export type VxeItemFileUpload = ColumnItemWithExtend;
49
+ export interface FileDataType {
50
+ fileType: string;
51
+ fileList: UploadProps['fileList'];
52
+ itemNumber: string;
53
+ fileBelong: string;
54
+ [key: string]: unknown;
55
+ [key: number]: unknown;
56
+ }
48
57
  export declare const uploadFilesProps: {
49
58
  readonly visible: {
50
59
  readonly type: BooleanConstructor;
@@ -54,6 +63,10 @@ export declare const uploadFilesProps: {
54
63
  readonly type: StringConstructor;
55
64
  readonly default: "";
56
65
  };
66
+ readonly defaultFileType: {
67
+ readonly type: StringConstructor;
68
+ readonly default: "";
69
+ };
57
70
  readonly requiredFileType: {
58
71
  readonly type: BooleanConstructor;
59
72
  readonly default: false;
@@ -76,7 +89,7 @@ export declare const uploadFilesProps: {
76
89
  };
77
90
  readonly maxCount: {
78
91
  readonly type: NumberConstructor;
79
- readonly default: 1;
92
+ readonly default: 0;
80
93
  };
81
94
  readonly userInfo: {
82
95
  readonly type: PropType<UserInfo>;
@@ -154,5 +167,9 @@ export declare const uploadFilesProps: {
154
167
  type: PropType<((value: boolean) => void) | ((value: boolean) => void)[]>;
155
168
  default: unknown;
156
169
  };
170
+ readonly onConfirmBeforeUpload: {
171
+ readonly type: FunctionConstructor;
172
+ readonly default: null;
173
+ };
157
174
  };
158
175
  export type UploadFilesProps = ExtractPropTypes<typeof uploadFilesProps>;
@@ -1,6 +1,6 @@
1
1
  import type { SrmI18n } from '../../../utils/type';
2
2
  import type { UploadFile } from 'ant-design-vue';
3
- import type { FileType } from 'ant-design-vue/lib/upload/interface';
3
+ import type { UploadFileStatus, FileType } from 'ant-design-vue/lib/upload/interface';
4
4
  import type { validateInfos } from 'ant-design-vue/lib/form/useForm';
5
5
  import type { UserInfo, Role, CurrentRow, RecordString } from '../../edit-page-layout';
6
6
  import type { DefineComponent, PropType, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
@@ -14,6 +14,10 @@ declare const _sfc_main: DefineComponent<{
14
14
  readonly type: StringConstructor;
15
15
  readonly default: "";
16
16
  };
17
+ readonly defaultFileType: {
18
+ readonly type: StringConstructor;
19
+ readonly default: "";
20
+ };
17
21
  readonly requiredFileType: {
18
22
  readonly type: BooleanConstructor;
19
23
  readonly default: false;
@@ -36,7 +40,7 @@ declare const _sfc_main: DefineComponent<{
36
40
  };
37
41
  readonly maxCount: {
38
42
  readonly type: NumberConstructor;
39
- readonly default: 1;
43
+ readonly default: 0;
40
44
  };
41
45
  readonly userInfo: {
42
46
  readonly type: PropType<UserInfo>;
@@ -114,13 +118,104 @@ declare const _sfc_main: DefineComponent<{
114
118
  type: PropType<((value: boolean) => void) | ((value: boolean) => void)[]>;
115
119
  default: unknown;
116
120
  };
121
+ readonly onConfirmBeforeUpload: {
122
+ readonly type: FunctionConstructor;
123
+ readonly default: null;
124
+ };
117
125
  }, {
118
126
  validateInfos: validateInfos;
119
127
  limitSize: Ref<number>;
120
- accept: Ref<string>;
128
+ acceptNew: Ref<string>;
121
129
  handleConfirm: () => void;
122
130
  handleCancel: () => void;
123
- fileData: Record<string, any>;
131
+ fileData: {
132
+ [x: string]: unknown;
133
+ [x: number]: unknown;
134
+ fileType: string;
135
+ fileList: {
136
+ uid: string;
137
+ size?: number | undefined;
138
+ name: string;
139
+ fileName?: string | undefined;
140
+ lastModified?: number | undefined;
141
+ lastModifiedDate?: {
142
+ toString: () => string;
143
+ toDateString: () => string;
144
+ toTimeString: () => string;
145
+ toLocaleString: {
146
+ (): string;
147
+ (locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
148
+ (locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
149
+ };
150
+ toLocaleDateString: {
151
+ (): string;
152
+ (locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
153
+ (locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
154
+ };
155
+ toLocaleTimeString: {
156
+ (): string;
157
+ (locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
158
+ (locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
159
+ };
160
+ valueOf: () => number;
161
+ getTime: () => number;
162
+ getFullYear: () => number;
163
+ getUTCFullYear: () => number;
164
+ getMonth: () => number;
165
+ getUTCMonth: () => number;
166
+ getDate: () => number;
167
+ getUTCDate: () => number;
168
+ getDay: () => number;
169
+ getUTCDay: () => number;
170
+ getHours: () => number;
171
+ getUTCHours: () => number;
172
+ getMinutes: () => number;
173
+ getUTCMinutes: () => number;
174
+ getSeconds: () => number;
175
+ getUTCSeconds: () => number;
176
+ getMilliseconds: () => number;
177
+ getUTCMilliseconds: () => number;
178
+ getTimezoneOffset: () => number;
179
+ setTime: (time: number) => number;
180
+ setMilliseconds: (ms: number) => number;
181
+ setUTCMilliseconds: (ms: number) => number;
182
+ setSeconds: (sec: number, ms?: number | undefined) => number;
183
+ setUTCSeconds: (sec: number, ms?: number | undefined) => number;
184
+ setMinutes: (min: number, sec?: number | undefined, ms?: number | undefined) => number;
185
+ setUTCMinutes: (min: number, sec?: number | undefined, ms?: number | undefined) => number;
186
+ setHours: (hours: number, min?: number | undefined, sec?: number | undefined, ms?: number | undefined) => number;
187
+ setUTCHours: (hours: number, min?: number | undefined, sec?: number | undefined, ms?: number | undefined) => number;
188
+ setDate: (date: number) => number;
189
+ setUTCDate: (date: number) => number;
190
+ setMonth: (month: number, date?: number | undefined) => number;
191
+ setUTCMonth: (month: number, date?: number | undefined) => number;
192
+ setFullYear: (year: number, month?: number | undefined, date?: number | undefined) => number;
193
+ setUTCFullYear: (year: number, month?: number | undefined, date?: number | undefined) => number;
194
+ toUTCString: () => string;
195
+ toISOString: () => string;
196
+ toJSON: (key?: any) => string;
197
+ [Symbol.toPrimitive]: {
198
+ (hint: "default"): string;
199
+ (hint: "string"): string;
200
+ (hint: "number"): number;
201
+ (hint: string): string | number;
202
+ };
203
+ } | undefined;
204
+ url?: string | undefined;
205
+ status?: UploadFileStatus | undefined;
206
+ percent?: number | undefined;
207
+ thumbUrl?: string | undefined;
208
+ originFileObj?: FileType | undefined;
209
+ response?: unknown;
210
+ error?: any;
211
+ linkProps?: any;
212
+ type?: string | undefined;
213
+ xhr?: unknown;
214
+ preview?: string | undefined;
215
+ }[] | undefined;
216
+ itemNumber: string;
217
+ fileBelong: string;
218
+ };
124
219
  itemNumberLabel: Ref<string>;
125
220
  itemNumbeValueProp: Ref<string>;
126
221
  property: Ref<string>;
@@ -134,6 +229,7 @@ declare const _sfc_main: DefineComponent<{
134
229
  beforeUpload: (file: FileType, FileList: FileType[]) => (string | boolean | void | Blob | FileType) | Promise<string | boolean | void | Blob | FileType>;
135
230
  handleRemove: (file: UploadFile<unknown>) => boolean | void | Promise<boolean | void>;
136
231
  srmI18n: SrmI18n;
232
+ defaultFileType: Ref<string>;
137
233
  labelCol: Ref<{
138
234
  span: number;
139
235
  }>;
@@ -151,6 +247,10 @@ declare const _sfc_main: DefineComponent<{
151
247
  readonly type: StringConstructor;
152
248
  readonly default: "";
153
249
  };
250
+ readonly defaultFileType: {
251
+ readonly type: StringConstructor;
252
+ readonly default: "";
253
+ };
154
254
  readonly requiredFileType: {
155
255
  readonly type: BooleanConstructor;
156
256
  readonly default: false;
@@ -173,7 +273,7 @@ declare const _sfc_main: DefineComponent<{
173
273
  };
174
274
  readonly maxCount: {
175
275
  readonly type: NumberConstructor;
176
- readonly default: 1;
276
+ readonly default: 0;
177
277
  };
178
278
  readonly userInfo: {
179
279
  readonly type: PropType<UserInfo>;
@@ -251,6 +351,10 @@ declare const _sfc_main: DefineComponent<{
251
351
  type: PropType<((value: boolean) => void) | ((value: boolean) => void)[]>;
252
352
  default: unknown;
253
353
  };
354
+ readonly onConfirmBeforeUpload: {
355
+ readonly type: FunctionConstructor;
356
+ readonly default: null;
357
+ };
254
358
  }>> & {
255
359
  "onUpdate:visible"?: ((...args: any[]) => any) | undefined;
256
360
  onChange_upload_files?: ((...args: any[]) => any) | undefined;
@@ -262,9 +366,10 @@ declare const _sfc_main: DefineComponent<{
262
366
  readonly action: string;
263
367
  readonly accept: string;
264
368
  readonly dictCode: string;
265
- readonly role: Role;
266
369
  readonly userInfo: UserInfo;
370
+ readonly role: Role;
267
371
  readonly property: string;
372
+ readonly defaultFileType: string;
268
373
  readonly requiredFileType: boolean;
269
374
  readonly attrCheck: string;
270
375
  readonly limitSize: number;
@@ -282,5 +387,6 @@ declare const _sfc_main: DefineComponent<{
282
387
  readonly fileTypeList: FileTypeList[];
283
388
  readonly actionRoutePath: string;
284
389
  readonly sourceNumberType: string;
390
+ readonly onConfirmBeforeUpload: Function;
285
391
  }, {}>;
286
392
  export default _sfc_main;
@@ -197,13 +197,13 @@ declare const _default: SFCWithInstall<DefineComponent<{
197
197
  onChange?: ((...args: any[]) => any) | undefined;
198
198
  "onUpdate:value"?: ((...args: any[]) => any) | undefined;
199
199
  }, {
200
- readonly disabled: boolean;
201
200
  readonly onChange: ((value: string) => void) | ((value: string) => void)[];
202
201
  readonly businessType: string;
203
202
  readonly accept: string;
204
203
  readonly multiple: boolean;
205
204
  readonly value: string;
206
205
  readonly 'onUpdate:value': ((value: string) => void) | ((value: string) => void)[];
206
+ readonly disabled: boolean;
207
207
  readonly actionRoutePath: string;
208
208
  readonly canRemove: boolean;
209
209
  readonly limit: number;
@@ -193,13 +193,13 @@ declare const _sfc_main: DefineComponent<{
193
193
  onChange?: ((...args: any[]) => any) | undefined;
194
194
  "onUpdate:value"?: ((...args: any[]) => any) | undefined;
195
195
  }, {
196
- readonly disabled: boolean;
197
196
  readonly onChange: ((value: string) => void) | ((value: string) => void)[];
198
197
  readonly businessType: string;
199
198
  readonly accept: string;
200
199
  readonly multiple: boolean;
201
200
  readonly value: string;
202
201
  readonly 'onUpdate:value': ((value: string) => void) | ((value: string) => void)[];
202
+ readonly disabled: boolean;
203
203
  readonly actionRoutePath: string;
204
204
  readonly canRemove: boolean;
205
205
  readonly limit: number;
@@ -4,6 +4,7 @@ import type { EChartsOption, SetOptionOpts } from 'echarts';
4
4
  import { UseChartsOptionType } from './types';
5
5
  export * from './types';
6
6
  export default function useChart(elRef: Ref<HTMLDivElement>, option?: UseChartsOptionType): {
7
+ clear: () => void;
7
8
  setOption: (option: EChartsOption, opts?: boolean | SetOptionOpts, lazyUpdate?: boolean) => void;
8
9
  getInstance: () => echarts.ECharts | null;
9
10
  showLoading: () => void;
@@ -0,0 +1,10 @@
1
+ declare class ConstantManager {
2
+ private static instance;
3
+ private constants;
4
+ private constructor();
5
+ static getInstance(symbolNames?: string[]): ConstantManager;
6
+ private setConstants;
7
+ getConstant(key: string): symbol;
8
+ getAllConstant(): Record<string, symbol>;
9
+ }
10
+ export default ConstantManager;
@@ -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_CANCELAUDIT, SYMBOL_DOWNLOAD_ALL, SYMBOL_REMOVE_ALL, SYMBOL_CHECKBOX_CHANGE, SYMBOL_CHECKBOX_ALL, 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, ColumnItem, PageButtonDeleteFileRow, GridCheckboxChangeParamsWithGroupCoe, GridCheckboxAllParamsWithGroupCoe } from '../../lib/components/edit-page-layout';
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_CHECKBOX_CHANGE, SYMBOL_CHECKBOX_ALL, 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, GridCheckboxChangeParamsWithGroupCoe, GridCheckboxAllParamsWithGroupCoe } 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';
@@ -13,7 +13,7 @@ export type Events = {
13
13
  [SYMBOL_ADD_ONE_ROW]: PageButtonWithGroupCode;
14
14
  [SYMBOL_DELETE_ROWS]: PageButtonDeleteRow;
15
15
  [SYMBOL_CUSTOM_CLICK]: PageButtonWithGroupCode;
16
- [SYMBOL_FIELD_OR_COLUMN_CUSTOM_CLICK]: FormFieldsItem | ColumnItem;
16
+ [SYMBOL_FIELD_OR_COLUMN_CUSTOM_CLICK]: FormFieldsItem | VxeBindFunctionEvent;
17
17
  [SYMBOL_CACHE_BUTTON]: PageButton;
18
18
  [SYMBOL_CACHE_PAGEDATA]: RecordString;
19
19
  [SYMBOL_CACHE_REFRESH]: boolean;
@@ -43,7 +43,7 @@ export type Events = {
43
43
  [SYMBOL_FETCH_NAV_DATA]: string | number | undefined;
44
44
  [SYMBOL_UPLOAD]: PageButtonWithGroupCode;
45
45
  [SYMBOL_UPLOAD_GRID]: VxeItemFileUpload;
46
- [SYMBOL_CANCELAUDIT]: PageButton;
46
+ [SYMBOL_CANCEL_AUDIT]: PageButton;
47
47
  [SYMBOL_DOWNLOAD_ALL]: PageButtonDownLoad;
48
48
  [SYMBOL_REMOVE_ALL]: PageButtonDeleteFileRow;
49
49
  [SYMBOL_CHECKBOX_CHANGE]: GridCheckboxChangeParamsWithGroupCoe;
@@ -67,6 +67,7 @@ export type Events = {
67
67
  [SYMBOL_AUDIT_PRINT]: PageButton;
68
68
  [SYMBOL_AUDIT_ADD_NODE_HISTORY]: PageButton;
69
69
  [SYMBOL_AUDIT_CHAT]: PageButton;
70
+ [proName: string | symbol]: any;
70
71
  };
71
72
  declare const emitter: Emitter<Events>;
72
73
  export default emitter;