@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,11 +1,10 @@
1
1
  import type { SrmI18n } from '../../../utils/type';
2
- import type { DefaultOptionType } from 'ant-design-vue/lib/select';
3
2
  import type { UploadFileStatus, FileType } from 'ant-design-vue/lib/upload/interface';
4
3
  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';
5
6
  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';
9
8
  declare const _sfc_main: DefineComponent<{
10
9
  readonly visible: {
11
10
  readonly type: BooleanConstructor;
@@ -23,7 +22,7 @@ declare const _sfc_main: DefineComponent<{
23
22
  readonly type: BooleanConstructor;
24
23
  readonly default: false;
25
24
  };
26
- readonly defaultFileBelong: {
25
+ readonly attrCheck: {
27
26
  readonly type: StringConstructor;
28
27
  readonly default: "headId";
29
28
  };
@@ -79,7 +78,7 @@ declare const _sfc_main: DefineComponent<{
79
78
  readonly type: StringConstructor;
80
79
  readonly default: "";
81
80
  };
82
- readonly itemNumberValueProp: {
81
+ readonly itemNumbeValueProp: {
83
82
  readonly type: StringConstructor;
84
83
  readonly default: "";
85
84
  };
@@ -124,7 +123,6 @@ declare const _sfc_main: DefineComponent<{
124
123
  readonly default: null;
125
124
  };
126
125
  }, {
127
- visible: Ref<boolean>;
128
126
  validateInfos: validateInfos;
129
127
  limitSize: Ref<number>;
130
128
  acceptNew: Ref<string>;
@@ -219,23 +217,19 @@ declare const _sfc_main: DefineComponent<{
219
217
  fileBelong: string;
220
218
  };
221
219
  itemNumberLabel: string;
222
- itemNumberValueProp: Ref<string>;
220
+ itemNumbeValueProp: Ref<string>;
223
221
  property: Ref<string>;
224
222
  itemInfo: Ref<RecordString[]>;
225
223
  fileTypeList: Ref<{
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>;
224
+ [x: string]: unknown;
225
+ title: string;
226
+ value: string;
227
+ }[]>;
232
228
  isGridUpload: Ref<boolean>;
233
229
  beforeUpload: (file: UploadFile) => boolean;
234
230
  handleRemove: (file: UploadFile<unknown>) => boolean | void | Promise<boolean | void>;
235
231
  srmI18n: SrmI18n;
236
232
  defaultFileType: Ref<string>;
237
- filterOption: (input: string, option: any) => boolean;
238
- computedItemInfo: ComputedRef<DefaultOptionType[] | undefined>;
239
233
  labelCol: Ref<{
240
234
  span: number;
241
235
  }>;
@@ -243,6 +237,7 @@ declare const _sfc_main: DefineComponent<{
243
237
  span: number;
244
238
  }>;
245
239
  loading: Ref<boolean>;
240
+ visible: Ref<boolean>;
246
241
  }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("update:visible" | "change_upload_files")[], "update:visible" | "change_upload_files", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
247
242
  readonly visible: {
248
243
  readonly type: BooleanConstructor;
@@ -260,7 +255,7 @@ declare const _sfc_main: DefineComponent<{
260
255
  readonly type: BooleanConstructor;
261
256
  readonly default: false;
262
257
  };
263
- readonly defaultFileBelong: {
258
+ readonly attrCheck: {
264
259
  readonly type: StringConstructor;
265
260
  readonly default: "headId";
266
261
  };
@@ -316,7 +311,7 @@ declare const _sfc_main: DefineComponent<{
316
311
  readonly type: StringConstructor;
317
312
  readonly default: "";
318
313
  };
319
- readonly itemNumberValueProp: {
314
+ readonly itemNumbeValueProp: {
320
315
  readonly type: StringConstructor;
321
316
  readonly default: "";
322
317
  };
@@ -376,7 +371,7 @@ declare const _sfc_main: DefineComponent<{
376
371
  readonly property: string;
377
372
  readonly defaultFileType: string;
378
373
  readonly requiredFileType: boolean;
379
- readonly defaultFileBelong: string;
374
+ readonly attrCheck: string;
380
375
  readonly limitSize: number;
381
376
  readonly acceptDictCode: string;
382
377
  readonly maxCount: number;
@@ -384,7 +379,7 @@ declare const _sfc_main: DefineComponent<{
384
379
  readonly isGridUpload: boolean;
385
380
  readonly itemNumberKey: string;
386
381
  readonly itemNumberLabel: string;
387
- readonly itemNumberValueProp: string;
382
+ readonly itemNumbeValueProp: string;
388
383
  readonly itemNumberDefaultValue: string;
389
384
  readonly itemNumberSelectIndex: boolean;
390
385
  readonly disabledItemNumber: boolean;
@@ -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, fullVxeGridProps } from './setting/vxe-table/config';
21
+ export { viewVxeTableConfig, editVxeTableConfig } 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,4 +1,3 @@
1
1
  import { VxeGridProps } from 'vxe-table';
2
2
  export declare const viewVxeTableConfig: VxeGridProps;
3
3
  export declare const editVxeTableConfig: VxeGridProps;
4
- export declare const fullVxeGridProps: VxeGridProps;
@@ -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, 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, SYMBOL_FLOW_APPROVAL_CALLBACK } from '../../lib/components/page-layout';
4
- import type { RecordString, BindFunctionEvent, VxeBindFunctionEvent, PageButton, PageButtonWithGroupCode, PageButtonDeleteRow, PageButtonDownLoad, ValidateResult, LinkClickCallbackParams, FormFieldsItem, PageButtonDeleteFileRow, KeydownEventParams, FlowApprovalCallbackPayload } 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';
@@ -46,22 +46,8 @@ export type Events = {
46
46
  [SYMBOL_CANCEL_AUDIT]: PageButton;
47
47
  [SYMBOL_DOWNLOAD_ALL]: PageButtonDownLoad;
48
48
  [SYMBOL_REMOVE_ALL]: PageButtonDeleteFileRow;
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;
49
+ [SYMBOL_CHECKBOX_CHANGE]: GridCheckboxChangeParamsWithGroupCoe;
50
+ [SYMBOL_CHECKBOX_ALL]: GridCheckboxAllParamsWithGroupCoe;
65
51
  [SYMBOL_IMPORT_ROWS]: PageButton;
66
52
  [SYMBOL_FLOW_VIEW]: PageButton;
67
53
  [SYMBOL_AUDIT_AGREE]: PageButton;
@@ -81,7 +67,6 @@ export type Events = {
81
67
  [SYMBOL_AUDIT_PRINT]: PageButton;
82
68
  [SYMBOL_AUDIT_ADD_NODE_HISTORY]: PageButton;
83
69
  [SYMBOL_AUDIT_CHAT]: PageButton;
84
- [SYMBOL_FLOW_APPROVAL_CALLBACK]: FlowApprovalCallbackPayload;
85
70
  [proName: string | symbol]: any;
86
71
  };
87
72
  declare const emitter: Emitter<Events>;