@qqt-product/ui 11.0.8 → 11.0.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.
Files changed (42) hide show
  1. package/dist/index.es.js +26871 -27413
  2. package/dist/index.umd.js +104 -104
  3. package/dist/lib/components/audit-modal/index.d.ts +0 -2
  4. package/dist/lib/components/audit-modal/src/audit-modal.vue.d.ts +0 -2
  5. package/dist/lib/components/audit-modal/src/component/addNodeHistoryModal.vue.d.ts +3 -89
  6. package/dist/lib/components/audit-modal/src/component/approvalOpinionModal.vue.d.ts +3 -91
  7. package/dist/lib/components/audit-modal/src/hook/use-audit-config-hook.d.ts +2 -36
  8. package/dist/lib/components/detail-grid/index.d.ts +6 -13
  9. package/dist/lib/components/detail-grid/src/detail-grid.vue.d.ts +6 -13
  10. package/dist/lib/components/detail-page-layout/index.d.ts +2 -2
  11. package/dist/lib/components/detail-page-layout/src/detail-page-layout.vue.d.ts +2 -2
  12. package/dist/lib/components/edit-grid/index.d.ts +6 -13
  13. package/dist/lib/components/edit-grid/src/edit-grid-types.d.ts +0 -4
  14. package/dist/lib/components/edit-grid/src/edit-grid.vue.d.ts +6 -13
  15. package/dist/lib/components/edit-page-layout/index.d.ts +2 -2
  16. package/dist/lib/components/edit-page-layout/src/edit-page-layout-types.d.ts +15 -69
  17. package/dist/lib/components/edit-page-layout/src/edit-page-layout.vue.d.ts +2 -2
  18. package/dist/lib/components/edit-page-layout/src/types.d.ts +1 -1
  19. package/dist/lib/components/field-select-modal/index.d.ts +0 -1
  20. package/dist/lib/components/field-select-modal/src/field-select-modal.vue.d.ts +0 -1
  21. package/dist/lib/components/ladder-price/index.d.ts +0 -10
  22. package/dist/lib/components/ladder-price/src/ladder-price-types.d.ts +0 -4
  23. package/dist/lib/components/ladder-price/src/ladder-price.vue.d.ts +0 -10
  24. package/dist/lib/components/layout-pattern/index.d.ts +2 -2
  25. package/dist/lib/components/layout-pattern/src/hook/use-audit-button-hook.d.ts +1 -35
  26. package/dist/lib/components/layout-pattern/src/layout-pattern.vue.d.ts +2 -2
  27. package/dist/lib/components/list-page-layout/index.d.ts +0 -7
  28. package/dist/lib/components/list-page-layout/src/components/list-content/list-content.vue.d.ts +0 -6
  29. package/dist/lib/components/list-page-layout/src/layout.vue.d.ts +0 -7
  30. package/dist/lib/components/list-page-layout/src/list-page-layout-types.d.ts +0 -6
  31. package/dist/lib/components/page-layout/src/constant/buttons.d.ts +0 -1
  32. package/dist/lib/components/page-layout/src/constant/symbol.d.ts +2 -29
  33. package/dist/lib/components/select-modal/index.d.ts +0 -2
  34. package/dist/lib/components/select-modal/src/select-modal.vue.d.ts +0 -2
  35. package/dist/lib/components/upload-file/index.d.ts +13 -18
  36. package/dist/lib/components/upload-file/src/upload-file-types.d.ts +2 -2
  37. package/dist/lib/components/upload-file/src/upload-file.vue.d.ts +14 -19
  38. package/dist/lib/index.d.ts +1 -1
  39. package/dist/lib/setting/vxe-table/config.d.ts +0 -1
  40. package/dist/lib/utils/event.d.ts +4 -19
  41. package/dist/style.css +1 -1
  42. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
1
  import type { AxiosRequestConfig } from '@qqt-product/api';
2
2
  import type { Ref, ComputedRef, PropType, ExtractPropTypes, SetupContext, ComponentInternalInstance } from 'vue';
3
- import type { VxeGridProps, VxeTablePropTypes, VxeTableDefines, VxeTableDataRow, VxeTableConstructor, VxeTablePrivateMethods, VxeGridConstructor, VxeGridDefines, VxeTableProDefines } from 'vxe-table';
3
+ import type { VxeGridProps, VxeTablePropTypes, VxeTableDefines, VxeTableDataRow, VxeTableConstructor, VxeTablePrivateMethods, VxeGridConstructor } from 'vxe-table';
4
4
  import type { Decimal } from 'decimal.js';
5
5
  import { FlowViewModalProps } from '../../flow-view/src/flow-view-modal-types';
6
6
  import { Extend } from '../../select-modal';
@@ -156,75 +156,26 @@ export declare function pageButtonPositionValidator(mode: string): boolean;
156
156
  export type RecordString = Record<string, any>;
157
157
  export type OmitEditConfigVxeGridProps = Omit<VxeGridProps, 'editConfig'>;
158
158
  export type OmitBeforeEditMethodEditConfig = Omit<VxeTablePropTypes.EditConfig, 'beforeEditMethod'>;
159
- /**
160
- * Vxe 表格事件类型
161
- * start
162
- */
163
- export interface KeydownEventParams extends VxeGridDefines.KeydownEventParams<VxeTableDataRow> {
164
- groupCode: string;
165
- }
166
- export interface HeaderCellClickEventParams extends VxeGridDefines.HeaderCellClickEventParams<VxeTableDataRow> {
167
- groupCode: string;
168
- }
169
- export interface HeaderCellDblclickEventParams extends VxeGridDefines.HeaderCellDblclickEventParams<VxeTableDataRow> {
170
- groupCode: string;
171
- }
172
- export interface HeaderCellMenuEventParams extends VxeGridDefines.HeaderCellMenuEventParams<VxeTableDataRow> {
173
- groupCode: string;
174
- }
175
- export interface CellClickEventParams extends VxeGridDefines.CellClickEventParams<VxeTableDataRow> {
176
- groupCode: string;
177
- }
178
- export interface CellDblclickEventParams extends VxeGridDefines.CellDblclickEventParams<VxeTableDataRow> {
179
- groupCode: string;
180
- }
181
- export interface CellMenuEventParams extends VxeGridDefines.CellMenuEventParams<VxeTableDataRow> {
182
- groupCode: string;
183
- }
184
- export interface FooterCellClickEventParams extends VxeGridDefines.FooterCellClickEventParams<VxeTableDataRow> {
185
- groupCode: string;
186
- }
187
- export interface FooterCellDblclickEventParams extends VxeGridDefines.FooterCellDblclickEventParams<VxeTableDataRow> {
188
- groupCode: string;
189
- }
190
- export interface FooterCellMenuEventParams extends VxeGridDefines.FooterCellMenuEventParams<VxeTableDataRow> {
191
- groupCode: string;
192
- }
193
- export interface RadioChangeEventParams extends VxeGridDefines.FooterCellMenuEventParams<VxeTableDataRow> {
194
- groupCode: string;
195
- }
196
- export interface CheckboxChangeEventParams extends VxeGridDefines.CheckboxChangeEventParams<VxeTableDataRow> {
197
- groupCode: string;
198
- }
199
- export interface CheckboxAllEventParams extends VxeGridDefines.CheckboxAllEventParams<VxeTableDataRow> {
200
- groupCode: string;
201
- }
202
- export interface ScrollEventParams extends VxeGridDefines.ScrollEventParams<VxeTableDataRow> {
203
- groupCode: string;
204
- }
205
- export interface ZoomEventParams extends VxeGridDefines.ZoomEventParams<VxeTableDataRow> {
206
- groupCode: string;
207
- }
208
- export interface CustomEventParams extends VxeGridDefines.CustomEventParams<VxeTableDataRow> {
209
- groupCode: string;
159
+ export interface GridCheckboxChangeParams {
160
+ checked: boolean;
161
+ row: VxeTableDataRow;
162
+ rowIndex: number;
163
+ $rowIndex: number;
164
+ column: VxeTableDefines.ColumnInfo<VxeTableDataRow>;
165
+ columnIndex: number;
166
+ $columnIndex: number;
167
+ $event: Event;
210
168
  }
211
- export interface CellAreaCutParams extends VxeTableProDefines.CellAreaCutParams<VxeTableDataRow> {
169
+ export interface GridCheckboxChangeParamsWithGroupCoe extends GridCheckboxChangeParams {
212
170
  groupCode: string;
213
171
  }
214
- export interface CellAreaCopyParams extends VxeTableProDefines.CellAreaCopyParams<VxeTableDataRow> {
215
- groupCode: string;
172
+ export interface GridCheckboxAllParams {
173
+ checked: boolean;
174
+ $event: Event;
216
175
  }
217
- export interface CellAreaPasteParams extends VxeTableProDefines.CellAreaPasteParams<VxeTableDataRow> {
176
+ export interface GridCheckboxAllParamsWithGroupCoe extends GridCheckboxAllParams {
218
177
  groupCode: string;
219
178
  }
220
- /**
221
- * Vxe 表格事件类型
222
- * end
223
- */
224
- export interface FlowApprovalCallbackPayload {
225
- btn: PageButton;
226
- params: RecordString;
227
- }
228
179
  /**
229
180
  * 参数扩展
230
181
  * 该方法的返回值用来决定该单元格是否允许编辑
@@ -264,7 +215,6 @@ export interface Group {
264
215
  shake?: boolean;
265
216
  slot?: boolean;
266
217
  master?: boolean;
267
- useAllConfig?: boolean;
268
218
  enableTile?: '0' | '1';
269
219
  columns?: ColumnItem[];
270
220
  formFields?: FormFieldsItem[];
@@ -309,7 +259,6 @@ export interface ValuePayload {
309
259
  value: StringOrNumber;
310
260
  label?: string | string[];
311
261
  extra?: any;
312
- _isFill?: boolean;
313
262
  data?: RecordString[];
314
263
  pageData: RecordString;
315
264
  layoutConfig: LayoutConfig;
@@ -328,7 +277,6 @@ export type VxePayload = {
328
277
  value?: StringOrNumber;
329
278
  label?: string | string[];
330
279
  extra?: any;
331
- _isFill?: boolean;
332
280
  data?: RecordString[];
333
281
  pageData: RecordString;
334
282
  layoutConfig: LayoutConfig;
@@ -392,14 +340,12 @@ export interface ColumnItemWithExtend extends ColumnItem {
392
340
  export interface FormFieldsItemWithValue extends FormFieldsItem {
393
341
  value: StringOrNumber;
394
342
  data?: RecordString[];
395
- _isFill?: boolean;
396
343
  }
397
344
  export interface ColumnItemWithValue extends ColumnItem {
398
345
  value: StringOrNumber;
399
346
  idx: number;
400
347
  row: RecordString;
401
348
  data?: RecordString[];
402
- _isFill?: boolean;
403
349
  }
404
350
  export interface ImportPropsType {
405
351
  button: PageButton;
@@ -214,12 +214,12 @@ declare const _sfc_main: DefineComponent<{
214
214
  businessType: string;
215
215
  token: string;
216
216
  userInfo: UserInfo;
217
- isUseLocalPattern: boolean;
218
- isDetail: boolean;
219
217
  showPageHeader: boolean;
220
218
  showLayoutAnchor: boolean;
219
+ isDetail: boolean;
221
220
  role: Role;
222
221
  refreshMethods: (row?: CurrentRow | undefined) => void;
222
+ isUseLocalPattern: boolean;
223
223
  localConfig: Partial<RemoteConfig>;
224
224
  handleAfterRemoteConfig: <T>(args: T) => T | Promise<T>;
225
225
  detailApi: string | DetailApiFunctionType;
@@ -1 +1 @@
1
- export type { ResponseType, UserInfo, CurrentRow, DictCodeItem, Role, GroupType, Pattern, Icon, PageButtonPayload, PageButtonArgs, PageButtonArgsFunctionType, PageButton, PageUploadButton, PageButtonWithGroupCode, PageButtonDeleteRow, PageDownLoadButton, PageButtonDownLoad, ExposeWithPageDeleteFileRows, PageDeleteFileRowButton, PageButtonDeleteFileRow, ValidateStatus, ValidateResult, PageButtonPosition, RecordString, OmitEditConfigVxeGridProps, OmitBeforeEditMethodEditConfig, KeydownEventParams, HeaderCellClickEventParams, HeaderCellDblclickEventParams, HeaderCellMenuEventParams, CellClickEventParams, CellDblclickEventParams, CellMenuEventParams, FooterCellClickEventParams, FooterCellDblclickEventParams, FooterCellMenuEventParams, RadioChangeEventParams, CheckboxChangeEventParams, CheckboxAllEventParams, ScrollEventParams, ZoomEventParams, CustomEventParams, CellAreaCutParams, CellAreaCopyParams, CellAreaPasteParams, FlowApprovalCallbackPayload, BeforeEditMethodParams, MixBeforeEditMethod, MixEditConfig, MixVxeGridProps, GroupExtend, Group, HeadGroupType, ItemGroupType, GroupItem, StringOrNumber, Expose, ExposeWithPageButtons, CustomFormatItem, SetItemRequired, SetItemDisabled, SetItemRequiredOrDisabled, ValuePayload, UsePromiseStepPayload, Payload, VxePayload, UploadExtend, FormFieldsItem, ColumnItem, FormFieldsItemSelectModal, ColumnItemWithSelectModal, FormFieldsItemUpload, ColumnItemWithExtend, FormFieldsItemWithValue, ColumnItemWithValue, ImportPropsType, FlowPropsType, ComputedFormFieldsItem, BindFunctionEvent, VxeBindFunctionEvent, RemoteConfig, LayoutConfig, LocalConfig, DetailApiFunctionType, EditPageLayoutProps, Extend, LadderPriceExtend, FormDataType, } from './edit-page-layout-types';
1
+ export type { ResponseType, UserInfo, CurrentRow, DictCodeItem, Role, GroupType, Pattern, Icon, PageButtonPayload, PageButtonArgs, PageButtonArgsFunctionType, PageButton, PageUploadButton, PageButtonWithGroupCode, PageButtonDeleteRow, PageDownLoadButton, PageButtonDownLoad, ExposeWithPageDeleteFileRows, PageDeleteFileRowButton, PageButtonDeleteFileRow, ValidateStatus, ValidateResult, PageButtonPosition, RecordString, OmitEditConfigVxeGridProps, OmitBeforeEditMethodEditConfig, GridCheckboxChangeParams, GridCheckboxChangeParamsWithGroupCoe, GridCheckboxAllParams, GridCheckboxAllParamsWithGroupCoe, BeforeEditMethodParams, MixBeforeEditMethod, MixEditConfig, MixVxeGridProps, GroupExtend, Group, HeadGroupType, ItemGroupType, GroupItem, StringOrNumber, Expose, ExposeWithPageButtons, CustomFormatItem, SetItemRequired, SetItemDisabled, SetItemRequiredOrDisabled, ValuePayload, UsePromiseStepPayload, Payload, VxePayload, UploadExtend, FormFieldsItem, ColumnItem, FormFieldsItemSelectModal, ColumnItemWithSelectModal, FormFieldsItemUpload, ColumnItemWithExtend, FormFieldsItemWithValue, ColumnItemWithValue, ImportPropsType, FlowPropsType, ComputedFormFieldsItem, BindFunctionEvent, VxeBindFunctionEvent, RemoteConfig, LayoutConfig, LocalConfig, DetailApiFunctionType, EditPageLayoutProps, Extend, LadderPriceExtend, FormDataType, } from './edit-page-layout-types';
@@ -112,7 +112,6 @@ declare const _default: SFCWithInstall<DefineComponent<{
112
112
  beforeHideMethod: ({ type }: {
113
113
  type: string;
114
114
  }) => Promise<never> | undefined;
115
- restParams: () => void;
116
115
  }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
117
116
  modalTitle: {
118
117
  type: StringConstructor;
@@ -108,7 +108,6 @@ declare const _sfc_main: DefineComponent<{
108
108
  beforeHideMethod: ({ type }: {
109
109
  type: string;
110
110
  }) => Promise<never> | undefined;
111
- restParams: () => void;
112
111
  }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
113
112
  modalTitle: {
114
113
  type: StringConstructor;
@@ -25,10 +25,6 @@ declare const _default: SFCWithInstall<DefineComponent<{
25
25
  type: BooleanConstructor;
26
26
  default: boolean;
27
27
  };
28
- isShowEdit: {
29
- type: BooleanConstructor;
30
- default: boolean;
31
- };
32
28
  }, {
33
29
  classes: ComputedRef<{
34
30
  [x: string]: boolean;
@@ -45,7 +41,6 @@ declare const _default: SFCWithInstall<DefineComponent<{
45
41
  isRebateLadder: boolean;
46
42
  isQuotePriceLadder: boolean;
47
43
  isRequestLadder: boolean;
48
- isDemandToOrder: boolean;
49
44
  isEdit: boolean;
50
45
  srmI18n: SrmI18n;
51
46
  }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
@@ -69,17 +64,12 @@ declare const _default: SFCWithInstall<DefineComponent<{
69
64
  type: BooleanConstructor;
70
65
  default: boolean;
71
66
  };
72
- isShowEdit: {
73
- type: BooleanConstructor;
74
- default: boolean;
75
- };
76
67
  }>>, {
77
68
  row: Row;
78
69
  value: string;
79
70
  disabled: boolean;
80
71
  config: Config;
81
72
  isRow: boolean;
82
- isShowEdit: boolean;
83
73
  }, {}>>;
84
74
  export default _default;
85
75
  export { QLadderPrice };
@@ -35,9 +35,5 @@ export declare const ladderPriceProps: {
35
35
  type: BooleanConstructor;
36
36
  default: boolean;
37
37
  };
38
- isShowEdit: {
39
- type: BooleanConstructor;
40
- default: boolean;
41
- };
42
38
  };
43
39
  export type LadderPriceProps = ExtractPropTypes<typeof ladderPriceProps>;
@@ -23,10 +23,6 @@ declare const _sfc_main: DefineComponent<{
23
23
  type: BooleanConstructor;
24
24
  default: boolean;
25
25
  };
26
- isShowEdit: {
27
- type: BooleanConstructor;
28
- default: boolean;
29
- };
30
26
  }, {
31
27
  classes: ComputedRef<{
32
28
  [x: string]: boolean;
@@ -43,7 +39,6 @@ declare const _sfc_main: DefineComponent<{
43
39
  isRebateLadder: boolean;
44
40
  isQuotePriceLadder: boolean;
45
41
  isRequestLadder: boolean;
46
- isDemandToOrder: boolean;
47
42
  isEdit: boolean;
48
43
  srmI18n: SrmI18n;
49
44
  }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
@@ -67,16 +62,11 @@ declare const _sfc_main: DefineComponent<{
67
62
  type: BooleanConstructor;
68
63
  default: boolean;
69
64
  };
70
- isShowEdit: {
71
- type: BooleanConstructor;
72
- default: boolean;
73
- };
74
65
  }>>, {
75
66
  row: Row;
76
67
  value: string;
77
68
  disabled: boolean;
78
69
  config: Config;
79
70
  isRow: boolean;
80
- isShowEdit: boolean;
81
71
  }, {}>;
82
72
  export default _sfc_main;
@@ -58,7 +58,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
58
58
  readonly property?: string | undefined;
59
59
  readonly defaultFileType?: string | undefined;
60
60
  readonly requiredFileType?: boolean | undefined;
61
- readonly defaultFileBelong?: string | undefined;
61
+ readonly attrCheck?: string | undefined;
62
62
  readonly limitSize?: number | undefined;
63
63
  readonly acceptDictCode?: string | undefined;
64
64
  readonly maxCount?: number | undefined;
@@ -66,7 +66,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
66
66
  readonly isGridUpload?: boolean | undefined;
67
67
  readonly itemNumberKey?: string | undefined;
68
68
  readonly itemNumberLabel?: string | undefined;
69
- readonly itemNumberValueProp?: string | undefined;
69
+ readonly itemNumbeValueProp?: string | undefined;
70
70
  readonly itemNumberDefaultValue?: string | undefined;
71
71
  readonly itemNumberSelectIndex?: boolean | undefined;
72
72
  readonly disabledItemNumber?: boolean | undefined;
@@ -1,6 +1,6 @@
1
1
  import type { ObjectMap } from '../../../list-page-layout';
2
2
  import type { Ref } from 'vue';
3
- import type { RecordString, PageButtonArgsFunctionType, ExposeWithPageButtons, PageButtonPayload, PageButton, CurrentRow } from '../../../edit-page-layout';
3
+ import type { PageButton, CurrentRow } from '../../../edit-page-layout';
4
4
  interface auditOption {
5
5
  currentRow: CurrentRow;
6
6
  businessType: string;
@@ -43,39 +43,5 @@ export default function useAuditButtonHook({ currentRow, businessType, layoutExt
43
43
  initAuditForm: (btn: PageButton) => void;
44
44
  handleAuditInvalid: (btn: PageButton) => void;
45
45
  handleAuditRevocation: (btn: PageButton) => void;
46
- cacheParams: Ref<RecordString>;
47
- cacheAuditButton: Ref<{
48
- title: string;
49
- i18nKey?: string | undefined;
50
- key: string | symbol;
51
- args: PageButtonArgsFunctionType | {
52
- [x: string]: unknown;
53
- url: string;
54
- };
55
- authorityCode?: string | undefined;
56
- attrs?: RecordString | undefined;
57
- icon?: {
58
- type: string;
59
- size: number;
60
- color?: string | undefined;
61
- } | undefined;
62
- emit?: boolean | undefined;
63
- emitKey?: string | undefined;
64
- showMessage?: boolean | undefined;
65
- checkBefore?: boolean | undefined;
66
- confirm?: {
67
- title: string;
68
- content: string;
69
- } | undefined;
70
- dropdown?: boolean | undefined;
71
- isExistFrozenSource?: boolean | undefined;
72
- isExistFrozenSourceUrl?: string | undefined;
73
- isExistFrozenSourceParams?: ((pageData: RecordString) => RecordString) | undefined;
74
- disabled?: ((pageData: RecordString) => boolean) | undefined;
75
- handleBefore?: ((args: ExposeWithPageButtons) => Promise<ExposeWithPageButtons>) | undefined;
76
- handleAfter?: ((args: ExposeWithPageButtons) => Promise<ExposeWithPageButtons>) | undefined;
77
- callback?: ((payload: PageButtonPayload) => void) | undefined;
78
- }>;
79
- handleSetCacheAuditButton: (btn: PageButton) => void;
80
46
  };
81
47
  export {};
@@ -53,7 +53,7 @@ declare const _sfc_main: DefineComponent<{
53
53
  readonly property?: string | undefined;
54
54
  readonly defaultFileType?: string | undefined;
55
55
  readonly requiredFileType?: boolean | undefined;
56
- readonly defaultFileBelong?: string | undefined;
56
+ readonly attrCheck?: string | undefined;
57
57
  readonly limitSize?: number | undefined;
58
58
  readonly acceptDictCode?: string | undefined;
59
59
  readonly maxCount?: number | undefined;
@@ -61,7 +61,7 @@ declare const _sfc_main: DefineComponent<{
61
61
  readonly isGridUpload?: boolean | undefined;
62
62
  readonly itemNumberKey?: string | undefined;
63
63
  readonly itemNumberLabel?: string | undefined;
64
- readonly itemNumberValueProp?: string | undefined;
64
+ readonly itemNumbeValueProp?: string | undefined;
65
65
  readonly itemNumberDefaultValue?: string | undefined;
66
66
  readonly itemNumberSelectIndex?: boolean | undefined;
67
67
  readonly disabledItemNumber?: boolean | undefined;
@@ -47,9 +47,6 @@ declare const _default: SFCWithInstall<DefineComponent<{
47
47
  afterHandleData: {
48
48
  type: PropType<(tableData: ObjectMap[]) => void>;
49
49
  };
50
- handleAfterDataResponse: {
51
- type: PropType<(dataSource: any) => any>;
52
- };
53
50
  localColumnGroup: {
54
51
  type: PropType<(column: GridColumn[]) => GridColumn[]>;
55
52
  };
@@ -293,7 +290,6 @@ declare const _default: SFCWithInstall<DefineComponent<{
293
290
  };
294
291
  beforeHandleData?: ((column: GridColumn[]) => void) | undefined;
295
292
  afterHandleData?: ((tableData: ObjectMap[]) => void) | undefined;
296
- handleAfterDataResponse?: ((dataSource: any) => any) | undefined;
297
293
  localColumnGroup?: ((column: GridColumn[]) => GridColumn[]) | undefined;
298
294
  };
299
295
  };
@@ -354,9 +350,6 @@ declare const _default: SFCWithInstall<DefineComponent<{
354
350
  afterHandleData: {
355
351
  type: PropType<(tableData: ObjectMap[]) => void>;
356
352
  };
357
- handleAfterDataResponse: {
358
- type: PropType<(dataSource: any) => any>;
359
- };
360
353
  localColumnGroup: {
361
354
  type: PropType<(column: GridColumn[]) => GridColumn[]>;
362
355
  };
@@ -31,9 +31,6 @@ declare const _sfc_main: DefineComponent<{
31
31
  afterHandleData: {
32
32
  type: PropType<(column: GridColumn[]) => void>;
33
33
  };
34
- handleAfterDataResponse: {
35
- type: PropType<(dataSource: any) => any>;
36
- };
37
34
  filterList: never[];
38
35
  }, {
39
36
  ns: {
@@ -103,9 +100,6 @@ declare const _sfc_main: DefineComponent<{
103
100
  afterHandleData: {
104
101
  type: PropType<(column: GridColumn[]) => void>;
105
102
  };
106
- handleAfterDataResponse: {
107
- type: PropType<(dataSource: any) => any>;
108
- };
109
103
  filterList: never[];
110
104
  }>>, {
111
105
  apiUrls: ApiUrls;
@@ -40,9 +40,6 @@ 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
- };
46
43
  localColumnGroup: {
47
44
  type: PropType<(column: GridColumn[]) => GridColumn[]>;
48
45
  };
@@ -286,7 +283,6 @@ declare const _sfc_main: DefineComponent<{
286
283
  };
287
284
  beforeHandleData?: ((column: GridColumn[]) => void) | undefined;
288
285
  afterHandleData?: ((tableData: ObjectMap[]) => void) | undefined;
289
- handleAfterDataResponse?: ((dataSource: any) => any) | undefined;
290
286
  localColumnGroup?: ((column: GridColumn[]) => GridColumn[]) | undefined;
291
287
  };
292
288
  };
@@ -347,9 +343,6 @@ declare const _sfc_main: DefineComponent<{
347
343
  afterHandleData: {
348
344
  type: PropType<(tableData: ObjectMap[]) => void>;
349
345
  };
350
- handleAfterDataResponse: {
351
- type: PropType<(dataSource: any) => any>;
352
- };
353
346
  localColumnGroup: {
354
347
  type: PropType<(column: GridColumn[]) => GridColumn[]>;
355
348
  };
@@ -187,9 +187,6 @@ 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
- };
193
190
  localColumnGroup: {
194
191
  type: PropType<(column: GridColumn[]) => GridColumn[]>;
195
192
  };
@@ -224,9 +221,6 @@ export declare const listContent: {
224
221
  afterHandleData: {
225
222
  type: PropType<(column: GridColumn[]) => void>;
226
223
  };
227
- handleAfterDataResponse: {
228
- type: PropType<(dataSource: any) => any>;
229
- };
230
224
  filterList: never[];
231
225
  };
232
226
  export interface ButtonConfig {
@@ -1,7 +1,6 @@
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;
5
4
  export declare const BUTTON_SAVE: PageButton;
6
5
  export declare const BUTTON_CANCELAUDIT: PageButton;
7
6
  export declare const BUTTON_PUBLISH: PageButton;
@@ -27,36 +27,10 @@ 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";
30
32
  export declare const SYMBOL_IMPORT_ROWS = "IMPORT_ROWS";
31
33
  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
- */
60
34
  /**************************************审批按钮组 start************************************/
61
35
  export declare const SYMBOL_AUDIT_AGREE = "AUDIT_AGREE";
62
36
  export declare const SYMBOL_AUDIT_REFUSE = "AUDIT_REFUSE";
@@ -75,5 +49,4 @@ export declare const SYMBOL_AUDIT_AFTER_SIGN = "AUDIT_AFTER_SIGN";
75
49
  export declare const SYMBOL_AUDIT_PRINT = "AUDIT_PRINT";
76
50
  export declare const SYMBOL_AUDIT_ADD_NODE_HISTORY = "AUDIT_ADD_NODE_HISTORY";
77
51
  export declare const SYMBOL_AUDIT_CHAT = "AUDIT_CHAT";
78
- export declare const SYMBOL_FLOW_APPROVAL_CALLBACK = "FLOW_APPROVAL_CALLBACK";
79
52
  /**************************************审批按钮组 end************************************/
@@ -212,7 +212,6 @@ declare const _default: SFCWithInstall<DefineComponent<{
212
212
  beforeHideMethod: ({ type }: {
213
213
  type: string;
214
214
  }) => Promise<never> | undefined;
215
- restParams: () => void;
216
215
  }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
217
216
  modalTitle: string;
218
217
  apiUrls: string;
@@ -348,7 +347,6 @@ declare const _default: SFCWithInstall<DefineComponent<{
348
347
  beforeHideMethod: ({ type }: {
349
348
  type: string;
350
349
  }) => Promise<never> | undefined;
351
- restParams: () => void;
352
350
  }> & {} & ComponentCustomProperties & {}) | undefined>;
353
351
  openSelectModal: () => void;
354
352
  onChange: (checkedValues: RecordString[]) => void;
@@ -208,7 +208,6 @@ declare const _sfc_main: DefineComponent<{
208
208
  beforeHideMethod: ({ type }: {
209
209
  type: string;
210
210
  }) => Promise<never> | undefined;
211
- restParams: () => void;
212
211
  }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
213
212
  modalTitle: string;
214
213
  apiUrls: string;
@@ -344,7 +343,6 @@ declare const _sfc_main: DefineComponent<{
344
343
  beforeHideMethod: ({ type }: {
345
344
  type: string;
346
345
  }) => Promise<never> | undefined;
347
- restParams: () => void;
348
346
  }> & {} & ComponentCustomProperties & {}) | undefined>;
349
347
  openSelectModal: () => void;
350
348
  onChange: (checkedValues: RecordString[]) => void;
@@ -1,12 +1,11 @@
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';
4
3
  import type { UploadFileStatus, FileType } from 'ant-design-vue/lib/upload/interface';
5
4
  import type { validateInfos } from 'ant-design-vue/lib/form/useForm';
6
5
  import type { RecordString } from '../select-modal';
7
6
  import type { Data, FileTypeList } from './src/upload-file-types';
8
7
  import type { UserInfo, Role, CurrentRow } from '../edit-page-layout';
9
- import type { DefineComponent, PropType, Ref, ComputedRef, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
8
+ import type { DefineComponent, PropType, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
10
9
  import type { SFCWithInstall } from '@qqt-product/utils/dist/modules/withInstall';
11
10
  import QUploadFile from './src/upload-file.vue';
12
11
  export * from './src/upload-file-types';
@@ -31,7 +30,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
31
30
  readonly type: BooleanConstructor;
32
31
  readonly default: false;
33
32
  };
34
- readonly defaultFileBelong: {
33
+ readonly attrCheck: {
35
34
  readonly type: StringConstructor;
36
35
  readonly default: "headId";
37
36
  };
@@ -87,7 +86,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
87
86
  readonly type: StringConstructor;
88
87
  readonly default: "";
89
88
  };
90
- readonly itemNumberValueProp: {
89
+ readonly itemNumbeValueProp: {
91
90
  readonly type: StringConstructor;
92
91
  readonly default: "";
93
92
  };
@@ -132,7 +131,6 @@ declare const _default: SFCWithInstall<DefineComponent<{
132
131
  readonly default: null;
133
132
  };
134
133
  }, {
135
- visible: Ref<boolean>;
136
134
  validateInfos: validateInfos;
137
135
  limitSize: Ref<number>;
138
136
  acceptNew: Ref<string>;
@@ -227,23 +225,19 @@ declare const _default: SFCWithInstall<DefineComponent<{
227
225
  fileBelong: string;
228
226
  };
229
227
  itemNumberLabel: string;
230
- itemNumberValueProp: Ref<string>;
228
+ itemNumbeValueProp: Ref<string>;
231
229
  property: Ref<string>;
232
230
  itemInfo: Ref<RecordString[]>;
233
231
  fileTypeList: Ref<{
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>;
232
+ [x: string]: unknown;
233
+ title: string;
234
+ value: string;
235
+ }[]>;
240
236
  isGridUpload: Ref<boolean>;
241
237
  beforeUpload: (file: UploadFile<any>) => boolean;
242
238
  handleRemove: (file: UploadFile<unknown>) => boolean | void | Promise<boolean | void>;
243
239
  srmI18n: SrmI18n;
244
240
  defaultFileType: Ref<string>;
245
- filterOption: (input: string, option: any) => boolean;
246
- computedItemInfo: ComputedRef<DefaultOptionType[] | undefined>;
247
241
  labelCol: Ref<{
248
242
  span: number;
249
243
  }>;
@@ -251,6 +245,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
251
245
  span: number;
252
246
  }>;
253
247
  loading: Ref<boolean>;
248
+ visible: Ref<boolean>;
254
249
  }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("update:visible" | "change_upload_files")[], "update:visible" | "change_upload_files", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
255
250
  readonly visible: {
256
251
  readonly type: BooleanConstructor;
@@ -268,7 +263,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
268
263
  readonly type: BooleanConstructor;
269
264
  readonly default: false;
270
265
  };
271
- readonly defaultFileBelong: {
266
+ readonly attrCheck: {
272
267
  readonly type: StringConstructor;
273
268
  readonly default: "headId";
274
269
  };
@@ -324,7 +319,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
324
319
  readonly type: StringConstructor;
325
320
  readonly default: "";
326
321
  };
327
- readonly itemNumberValueProp: {
322
+ readonly itemNumbeValueProp: {
328
323
  readonly type: StringConstructor;
329
324
  readonly default: "";
330
325
  };
@@ -384,7 +379,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
384
379
  readonly property: string;
385
380
  readonly defaultFileType: string;
386
381
  readonly requiredFileType: boolean;
387
- readonly defaultFileBelong: string;
382
+ readonly attrCheck: string;
388
383
  readonly limitSize: number;
389
384
  readonly acceptDictCode: string;
390
385
  readonly maxCount: number;
@@ -392,7 +387,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
392
387
  readonly isGridUpload: boolean;
393
388
  readonly itemNumberKey: string;
394
389
  readonly itemNumberLabel: string;
395
- readonly itemNumberValueProp: string;
390
+ readonly itemNumbeValueProp: string;
396
391
  readonly itemNumberDefaultValue: string;
397
392
  readonly itemNumberSelectIndex: boolean;
398
393
  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 defaultFileBelong: {
75
+ readonly attrCheck: {
76
76
  readonly type: StringConstructor;
77
77
  readonly default: "headId";
78
78
  };
@@ -128,7 +128,7 @@ export declare const uploadFilesProps: {
128
128
  readonly type: StringConstructor;
129
129
  readonly default: "";
130
130
  };
131
- readonly itemNumberValueProp: {
131
+ readonly itemNumbeValueProp: {
132
132
  readonly type: StringConstructor;
133
133
  readonly default: "";
134
134
  };