@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
@@ -115,6 +115,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
115
115
  patternAppend: string;
116
116
  }[];
117
117
  computedCustomSlotFields: ComputedRef<ComputedFormFieldsItem[]>;
118
+ handlePageBack: () => void;
118
119
  }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
119
120
  showPageHeader: {
120
121
  type: PropType<boolean>;
@@ -217,12 +218,12 @@ declare const _default: SFCWithInstall<DefineComponent<{
217
218
  currentRow: CurrentRow;
218
219
  businessType: string;
219
220
  token: string;
221
+ userInfo: UserInfo;
220
222
  showPageHeader: boolean;
221
223
  showLayoutAnchor: boolean;
222
224
  isDetail: boolean;
223
225
  role: Role;
224
226
  refreshMethods: (row?: CurrentRow | undefined) => void;
225
- userInfo: UserInfo;
226
227
  isUseLocalPattern: boolean;
227
228
  localConfig: Partial<RemoteConfig>;
228
229
  handleAfterRemoteConfig: <T>(args: T) => T | Promise<T>;
@@ -4,6 +4,7 @@ import type { VxeGridProps, VxeTablePropTypes, VxeTableDefines, VxeTableDataRow,
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';
7
+ import { FileDataType } from '../../upload-file/src/upload-file-types';
7
8
  import type { CascaderProps } from 'ant-design-vue';
8
9
  export type { Extend };
9
10
  export interface ResponseType {
@@ -89,6 +90,14 @@ export interface PageButtonWithGroupCode extends PageButton {
89
90
  groupCode: string;
90
91
  itemInfo?: RecordString[];
91
92
  }
93
+ export interface PageButtonUploadType extends PageButton {
94
+ groupCode: string;
95
+ itemInfo?: RecordString[];
96
+ onConfirmBeforeUpload?: (formData: FileDataType) => boolean;
97
+ }
98
+ export interface FormDataType extends FileDataType {
99
+ [key: string]: unknown;
100
+ }
92
101
  export interface PageButtonDeleteRow extends PageButton {
93
102
  groupCode: string;
94
103
  ids?: string[];
@@ -191,13 +200,16 @@ export type MixVxeGridProps = OmitEditConfigVxeGridProps & {
191
200
  export interface GroupExtend extends RecordString {
192
201
  vxeGridConfig?: MixVxeGridProps;
193
202
  }
203
+ export interface UploadPageButton extends PageButton {
204
+ onConfirmBeforeUpload?: (formData: FileDataType) => boolean;
205
+ }
194
206
  export interface Group {
195
207
  groupName: string;
196
208
  groupNameI18nKey?: string;
197
209
  groupCode: string;
198
210
  groupType: GroupType;
199
211
  sortOrder?: string;
200
- buttons?: PageButton[];
212
+ buttons?: PageButton[] | UploadPageButton[];
201
213
  extend?: GroupExtend;
202
214
  show?: boolean;
203
215
  shake?: boolean;
@@ -221,6 +233,7 @@ export interface Expose {
221
233
  pageData: RecordString;
222
234
  layoutConfig: LayoutConfig;
223
235
  defaultValues: RecordString;
236
+ uid?: number;
224
237
  }
225
238
  export type UsePromiseStepPayload = {
226
239
  pageData: Ref<RecordString>;
@@ -331,6 +344,7 @@ export interface FormFieldsItemWithValue extends FormFieldsItem {
331
344
  export interface ColumnItemWithValue extends ColumnItem {
332
345
  value: StringOrNumber;
333
346
  idx: number;
347
+ row: RecordString;
334
348
  data?: RecordString[];
335
349
  }
336
350
  export interface ImportPropsType {
@@ -1,5 +1,5 @@
1
1
  import type { DefineComponent, PropType, Ref, ComputedRef, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
2
- import type { Role, roleValidator, CurrentRow, UserInfo, Pattern, patternValidator, RemoteConfig, DetailApiFunctionType, PageButtonPosition, pageButtonPositionValidator, RecordString, Expose, PageButton, ComputedFormFieldsItem } from './edit-page-layout-types';
2
+ import type { Role, roleValidator, CurrentRow, UserInfo, Pattern, patternValidator, RemoteConfig, DetailApiFunctionType, PageButton, PageButtonPosition, pageButtonPositionValidator, RecordString, Expose, ComputedFormFieldsItem } from './edit-page-layout-types';
3
3
  declare const _sfc_main: DefineComponent<{
4
4
  showPageHeader: {
5
5
  type: PropType<boolean>;
@@ -110,6 +110,7 @@ declare const _sfc_main: DefineComponent<{
110
110
  patternAppend: string;
111
111
  }[];
112
112
  computedCustomSlotFields: ComputedRef<ComputedFormFieldsItem[]>;
113
+ handlePageBack: () => void;
113
114
  }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
114
115
  showPageHeader: {
115
116
  type: PropType<boolean>;
@@ -212,12 +213,12 @@ declare const _sfc_main: DefineComponent<{
212
213
  currentRow: CurrentRow;
213
214
  businessType: string;
214
215
  token: string;
216
+ userInfo: UserInfo;
215
217
  showPageHeader: boolean;
216
218
  showLayoutAnchor: boolean;
217
219
  isDetail: boolean;
218
220
  role: Role;
219
221
  refreshMethods: (row?: CurrentRow | undefined) => void;
220
- userInfo: UserInfo;
221
222
  isUseLocalPattern: boolean;
222
223
  localConfig: Partial<RemoteConfig>;
223
224
  handleAfterRemoteConfig: <T>(args: T) => T | Promise<T>;
@@ -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, 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, } 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';
@@ -3,6 +3,10 @@ import { PageButton } from '../../edit-page-layout/src/edit-page-layout-types';
3
3
  export interface ButtonItem extends Omit<PageButton, 'args'> {
4
4
  args?: {
5
5
  excelCode: string;
6
+ url: string;
7
+ handlerName: string;
8
+ roleCode: string;
9
+ fileName: string;
6
10
  [key: string]: unknown;
7
11
  };
8
12
  groupCode: string;
@@ -8,6 +8,7 @@ import * as QCascader from './cascader';
8
8
  import * as QBreadcrumb from './breadcrumb';
9
9
  import * as QCountdown from './countdown';
10
10
  import * as QEmpty from './empty';
11
+ import * as QLink from './link';
11
12
  import * as QCollapseTransition from './collapse-transition';
12
13
  import * as QFieldSelectModal from './field-select-modal';
13
14
  import * as QSelectModal from './select-modal';
@@ -35,11 +36,10 @@ import * as QCurrency from './currency';
35
36
  import * as QUploadImage from './upload-image';
36
37
  import * as QUploadFile from './upload-file';
37
38
  import * as QUploadFileVxe from './upload-file-vxe';
38
- import * as QCoutdown from './coutdown/index';
39
39
  import * as QCardListLayout from './card-list-layout/index';
40
40
  import * as QSelectTemplate from './select-template/index';
41
41
  import * as QImportModal from './import-modal/index';
42
42
  import * as QRelationGraph from './relation-graph/index';
43
43
  import * as QAuditModal from './audit-modal/index';
44
44
  import * as QRichEditorModel from './rich-editor-model/index';
45
- export { QLayout, QSwitch, QSelect, QMenu, QTreeSelect, QVxeSelect, QCascader, QBreadcrumb, QCountdown, QEmpty, QCollapseTransition, QEditPageLayout, QDetailPageLayout, QPageLayout, QLayoutPattern, QLayoutButtons, QLayoutAnchor, QEditForm, QDetailForm, QEditGrid, QDetailGrid, QItemWrap, QListLayout, QRadio, QFieldSelectModal, QCodeEditorModel, QCheckBox, QCurrency, QSelectModal, QUploadImage, QRemoteSelect, QEditor, QSaleTemplate, QLadderPrice, FlowViewModal, QUploadFile, QCoutdown, QCardListLayout, QUploadFileVxe, QSelectTemplate, QImportModal, QRelationGraph, QAuditModal, QRichEditorModel, };
45
+ export { QLayout, QSwitch, QSelect, QMenu, QTreeSelect, QVxeSelect, QCascader, QBreadcrumb, QCountdown, QEmpty, QLink, QCollapseTransition, QEditPageLayout, QDetailPageLayout, QPageLayout, QLayoutPattern, QLayoutButtons, QLayoutAnchor, QEditForm, QDetailForm, QEditGrid, QDetailGrid, QItemWrap, QListLayout, QRadio, QFieldSelectModal, QCodeEditorModel, QCheckBox, QCurrency, QSelectModal, QUploadImage, QRemoteSelect, QEditor, QSaleTemplate, QLadderPrice, FlowViewModal, QUploadFile, QCardListLayout, QUploadFileVxe, QSelectTemplate, QImportModal, QRelationGraph, QAuditModal, QRichEditorModel, };
@@ -49,8 +49,8 @@ declare const _default: SFCWithInstall<DefineComponent<{
49
49
  readonly default: "";
50
50
  };
51
51
  }>>, {
52
- readonly disabled: boolean;
53
52
  readonly label: string;
53
+ readonly disabled: boolean;
54
54
  readonly required: "0" | "1";
55
55
  readonly helpText: string;
56
56
  }, {}>>;
@@ -45,8 +45,8 @@ declare const _sfc_main: DefineComponent<{
45
45
  readonly default: "";
46
46
  };
47
47
  }>>, {
48
- readonly disabled: boolean;
49
48
  readonly label: string;
49
+ readonly disabled: boolean;
50
50
  readonly required: "0" | "1";
51
51
  readonly helpText: string;
52
52
  }, {}>;
@@ -63,9 +63,9 @@ declare const _default: SFCWithInstall<DefineComponent<{
63
63
  default: boolean;
64
64
  };
65
65
  }>>, {
66
- disabled: boolean;
67
66
  row: Row;
68
67
  value: string;
68
+ disabled: boolean;
69
69
  config: Config;
70
70
  isRow: boolean;
71
71
  }, {}>>;
@@ -61,9 +61,9 @@ declare const _sfc_main: DefineComponent<{
61
61
  default: boolean;
62
62
  };
63
63
  }>>, {
64
- disabled: boolean;
65
64
  row: Row;
66
65
  value: string;
66
+ disabled: boolean;
67
67
  config: Config;
68
68
  isRow: boolean;
69
69
  }, {}>;
@@ -191,7 +191,7 @@ declare const _sfc_main: DefineComponent<{}, {
191
191
  personalSetting: () => void;
192
192
  handleLogout: () => void;
193
193
  nickname: Ref<string>;
194
- avatarUrl: Ref<string>;
194
+ avatarUrl: ComputedRef<string>;
195
195
  handlePersonalSettings: () => void;
196
196
  readonly SettingOutlined: SettingOutlinedIconType;
197
197
  readonly LogoutOutlined: LogoutOutlinedIconType;
@@ -1,7 +1,7 @@
1
1
  import type { LogoutOutlinedIconType } from '@ant-design/icons-vue/lib/icons/LogoutOutlined';
2
2
  import type { SettingOutlinedIconType } from '@ant-design/icons-vue/lib/icons/SettingOutlined';
3
3
  import type { SrmI18n } from '../../../../../utils/type';
4
- import type { DefineComponent, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
4
+ import type { DefineComponent, Ref, ComputedRef, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
5
5
  declare const _sfc_main: DefineComponent<{}, {
6
6
  srmI18n: SrmI18n;
7
7
  userInfo: {
@@ -18,7 +18,7 @@ declare const _sfc_main: DefineComponent<{}, {
18
18
  personalSetting: () => void;
19
19
  handleLogout: () => void;
20
20
  nickname: Ref<string>;
21
- avatarUrl: Ref<string>;
21
+ avatarUrl: ComputedRef<string>;
22
22
  handlePersonalSettings: () => void;
23
23
  readonly SettingOutlined: SettingOutlinedIconType;
24
24
  readonly LogoutOutlined: LogoutOutlinedIconType;
@@ -139,7 +139,7 @@ declare const _sfc_main: DefineComponent<{}, {
139
139
  personalSetting: () => void;
140
140
  handleLogout: () => void;
141
141
  nickname: Ref<string>;
142
- avatarUrl: Ref<string>;
142
+ avatarUrl: ComputedRef<string>;
143
143
  handlePersonalSettings: () => void;
144
144
  readonly SettingOutlined: SettingOutlinedIconType;
145
145
  readonly LogoutOutlined: LogoutOutlinedIconType;
@@ -36,6 +36,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
36
36
  pageData: Ref<RecordString>;
37
37
  onClick: (btn: PageButton) => void;
38
38
  srmI18n: SrmI18n;
39
+ uid: Ref<number>;
39
40
  }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
40
41
  buttons: {
41
42
  type: PropType<PageButton[]>;
@@ -31,6 +31,7 @@ declare const _sfc_main: DefineComponent<{
31
31
  pageData: Ref<RecordString>;
32
32
  onClick: (btn: PageButton) => void;
33
33
  srmI18n: SrmI18n;
34
+ uid: Ref<number>;
34
35
  }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
35
36
  buttons: {
36
37
  type: PropType<PageButton[]>;
@@ -48,14 +48,15 @@ declare const _default: SFCWithInstall<DefineComponent<{
48
48
  readonly action?: string | undefined;
49
49
  readonly accept?: string | undefined;
50
50
  readonly dictCode?: string | undefined;
51
- readonly role?: Role | undefined;
52
51
  readonly userInfo?: {
53
52
  [x: string]: unknown;
54
53
  elsAccount: string;
55
54
  subAccount: string;
56
55
  serivceUrl: string;
57
56
  } | undefined;
57
+ readonly role?: Role | undefined;
58
58
  readonly property?: string | undefined;
59
+ readonly defaultFileType?: string | undefined;
59
60
  readonly requiredFileType?: boolean | undefined;
60
61
  readonly attrCheck?: string | undefined;
61
62
  readonly limitSize?: number | undefined;
@@ -77,6 +78,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
77
78
  }[] | undefined;
78
79
  readonly actionRoutePath?: string | undefined;
79
80
  readonly sourceNumberType?: string | undefined;
81
+ readonly onConfirmBeforeUpload?: Function | undefined;
80
82
  }>;
81
83
  handleChangeFiles: (fileResult: RecordString[]) => void;
82
84
  importVisible: Ref<boolean>;
@@ -120,7 +122,6 @@ declare const _default: SFCWithInstall<DefineComponent<{
120
122
  approvalModalVisible: Ref<boolean>;
121
123
  nodeHistoryModalVisible: Ref<boolean>;
122
124
  auditModalProps: Ref<{
123
- title?: string | undefined;
124
125
  form?: {
125
126
  [x: string]: unknown;
126
127
  type: string;
@@ -133,6 +134,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
133
134
  options?: any[] | undefined;
134
135
  click?: ((args: object, formState?: ObjectMap | undefined) => void) | undefined;
135
136
  }[] | undefined;
137
+ title?: string | undefined;
136
138
  'onUpdate:visible'?: ((value: string) => void) | ((value: string) => void)[] | undefined;
137
139
  visible?: boolean | undefined;
138
140
  currentRow?: any;
@@ -12,7 +12,6 @@ export default function useAuditButtonHook({ currentRow, businessType, layoutExt
12
12
  auditModalConfirm: Ref<any>;
13
13
  auditModalCancel: Ref<any>;
14
14
  auditModalProps: Ref<{
15
- title?: string | undefined;
16
15
  form?: {
17
16
  [x: string]: unknown;
18
17
  type: string;
@@ -25,6 +24,7 @@ export default function useAuditButtonHook({ currentRow, businessType, layoutExt
25
24
  options?: any[] | undefined;
26
25
  click?: ((args: object, formState?: ObjectMap | undefined) => void) | undefined;
27
26
  }[] | undefined;
27
+ title?: string | undefined;
28
28
  'onUpdate:visible'?: ((value: string) => void) | ((value: string) => void)[] | undefined;
29
29
  visible?: boolean | undefined;
30
30
  currentRow?: any;
@@ -43,14 +43,15 @@ declare const _sfc_main: DefineComponent<{
43
43
  readonly action?: string | undefined;
44
44
  readonly accept?: string | undefined;
45
45
  readonly dictCode?: string | undefined;
46
- readonly role?: Role | undefined;
47
46
  readonly userInfo?: {
48
47
  [x: string]: unknown;
49
48
  elsAccount: string;
50
49
  subAccount: string;
51
50
  serivceUrl: string;
52
51
  } | undefined;
52
+ readonly role?: Role | undefined;
53
53
  readonly property?: string | undefined;
54
+ readonly defaultFileType?: string | undefined;
54
55
  readonly requiredFileType?: boolean | undefined;
55
56
  readonly attrCheck?: string | undefined;
56
57
  readonly limitSize?: number | undefined;
@@ -72,6 +73,7 @@ declare const _sfc_main: DefineComponent<{
72
73
  }[] | undefined;
73
74
  readonly actionRoutePath?: string | undefined;
74
75
  readonly sourceNumberType?: string | undefined;
76
+ readonly onConfirmBeforeUpload?: Function | undefined;
75
77
  }>;
76
78
  handleChangeFiles: (fileResult: RecordString[]) => void;
77
79
  importVisible: Ref<boolean>;
@@ -115,7 +117,6 @@ declare const _sfc_main: DefineComponent<{
115
117
  approvalModalVisible: Ref<boolean>;
116
118
  nodeHistoryModalVisible: Ref<boolean>;
117
119
  auditModalProps: Ref<{
118
- title?: string | undefined;
119
120
  form?: {
120
121
  [x: string]: unknown;
121
122
  type: string;
@@ -128,6 +129,7 @@ declare const _sfc_main: DefineComponent<{
128
129
  options?: any[] | undefined;
129
130
  click?: ((args: object, formState?: ObjectMap | undefined) => void) | undefined;
130
131
  }[] | undefined;
132
+ title?: string | undefined;
131
133
  'onUpdate:visible'?: ((value: string) => void) | ((value: string) => void)[] | undefined;
132
134
  visible?: boolean | undefined;
133
135
  currentRow?: any;
@@ -0,0 +1,126 @@
1
+ import type { SFCWithInstall } from '@qqt-product/utils/dist/modules/withInstall';
2
+ import type { DefineComponent, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PropType } from 'vue';
3
+ import type { RecordString, FormFieldsItem, ColumnItem, GroupType } from '../edit-page-layout';
4
+ declare const linkProps: {
5
+ readonly pageData: {
6
+ readonly type: PropType<RecordString>;
7
+ readonly default: () => {};
8
+ };
9
+ readonly row: {
10
+ readonly type: PropType<RecordString>;
11
+ readonly default: () => {};
12
+ };
13
+ readonly formField: {
14
+ readonly type: PropType<FormFieldsItem>;
15
+ readonly default: () => {};
16
+ };
17
+ readonly columnField: {
18
+ readonly type: PropType<ColumnItem>;
19
+ readonly default: () => {};
20
+ };
21
+ readonly groupType: {
22
+ readonly type: PropType<GroupType>;
23
+ readonly default: "head";
24
+ };
25
+ };
26
+ export type LinkProps = ExtractPropTypes<typeof linkProps>;
27
+ declare const Link: DefineComponent<{
28
+ readonly pageData: {
29
+ readonly type: PropType<RecordString>;
30
+ readonly default: () => {};
31
+ };
32
+ readonly row: {
33
+ readonly type: PropType<RecordString>;
34
+ readonly default: () => {};
35
+ };
36
+ readonly formField: {
37
+ readonly type: PropType<FormFieldsItem>;
38
+ readonly default: () => {};
39
+ };
40
+ readonly columnField: {
41
+ readonly type: PropType<ColumnItem>;
42
+ readonly default: () => {};
43
+ };
44
+ readonly groupType: {
45
+ readonly type: PropType<GroupType>;
46
+ readonly default: "head";
47
+ };
48
+ }, () => JSX.Element, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
49
+ readonly pageData: {
50
+ readonly type: PropType<RecordString>;
51
+ readonly default: () => {};
52
+ };
53
+ readonly row: {
54
+ readonly type: PropType<RecordString>;
55
+ readonly default: () => {};
56
+ };
57
+ readonly formField: {
58
+ readonly type: PropType<FormFieldsItem>;
59
+ readonly default: () => {};
60
+ };
61
+ readonly columnField: {
62
+ readonly type: PropType<ColumnItem>;
63
+ readonly default: () => {};
64
+ };
65
+ readonly groupType: {
66
+ readonly type: PropType<GroupType>;
67
+ readonly default: "head";
68
+ };
69
+ }>>, {
70
+ readonly row: RecordString;
71
+ readonly pageData: RecordString;
72
+ readonly groupType: GroupType;
73
+ readonly formField: FormFieldsItem;
74
+ readonly columnField: ColumnItem;
75
+ }, {}>;
76
+ export { Link };
77
+ declare const _default: SFCWithInstall<DefineComponent<{
78
+ readonly pageData: {
79
+ readonly type: PropType<RecordString>;
80
+ readonly default: () => {};
81
+ };
82
+ readonly row: {
83
+ readonly type: PropType<RecordString>;
84
+ readonly default: () => {};
85
+ };
86
+ readonly formField: {
87
+ readonly type: PropType<FormFieldsItem>;
88
+ readonly default: () => {};
89
+ };
90
+ readonly columnField: {
91
+ readonly type: PropType<ColumnItem>;
92
+ readonly default: () => {};
93
+ };
94
+ readonly groupType: {
95
+ readonly type: PropType<GroupType>;
96
+ readonly default: "head";
97
+ };
98
+ }, () => JSX.Element, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
99
+ readonly pageData: {
100
+ readonly type: PropType<RecordString>;
101
+ readonly default: () => {};
102
+ };
103
+ readonly row: {
104
+ readonly type: PropType<RecordString>;
105
+ readonly default: () => {};
106
+ };
107
+ readonly formField: {
108
+ readonly type: PropType<FormFieldsItem>;
109
+ readonly default: () => {};
110
+ };
111
+ readonly columnField: {
112
+ readonly type: PropType<ColumnItem>;
113
+ readonly default: () => {};
114
+ };
115
+ readonly groupType: {
116
+ readonly type: PropType<GroupType>;
117
+ readonly default: "head";
118
+ };
119
+ }>>, {
120
+ readonly row: RecordString;
121
+ readonly pageData: RecordString;
122
+ readonly groupType: GroupType;
123
+ readonly formField: FormFieldsItem;
124
+ readonly columnField: ColumnItem;
125
+ }, {}>>;
126
+ export default _default;
@@ -3,11 +3,12 @@ import type { DefineComponent, Ref, ComponentOptionsMixin, VNodeProps, AllowedCo
3
3
  import type { VxeColumnSlotTypes, VxeTableDataRow, SlotVNodeType, VxeColumnPropTypes, VxeTablePropTypes, VxeTooltipPropTypes, VxeTableDefines } from 'vxe-table';
4
4
  import { GridColumn } from '../../../list-page-layout-types';
5
5
  declare const _sfc_main: DefineComponent<{}, {
6
+ columnGroupOptions: Ref<never[]>;
6
7
  columnGrid: Ref<any>;
7
8
  srmI18n: SrmI18n;
8
9
  busAccount: Ref<string>;
9
10
  open: (columnCode: string) => void;
10
- close: () => void;
11
+ close: typeof close;
11
12
  setFrozenColumn<T extends GridColumn>(listArry: T[]): T[];
12
13
  getColumnsList(columnCode: string): void;
13
14
  getFieldColorsData(item: any): void;
@@ -0,0 +1,2 @@
1
+ declare const _default: string[];
2
+ export default _default;
@@ -1,51 +1,51 @@
1
- export declare const SYMBOL_ADD_ONE_ROW: unique symbol;
2
- export declare const SYMBOL_DELETE_ROWS: unique symbol;
3
- export declare const SYMBOL_SAVE: unique symbol;
4
- export declare const SYMBOL_PUBLISH: unique symbol;
5
- export declare const SYMBOL_SUBMIT: unique symbol;
6
- export declare const SYMBOL_CONFIRM: unique symbol;
7
- export declare const SYMBOL_REJECT: unique symbol;
8
- export declare const SYMBOL_CACHE_BUTTON: unique symbol;
9
- export declare const SYMBOL_CACHE_PAGEDATA: unique symbol;
10
- export declare const SYMBOL_CACHE_REFRESH: unique symbol;
11
- export declare const SYMBOL_CACHE_SHOW_MESSAGE: unique symbol;
12
- export declare const SYMBOL_VALIDATE: unique symbol;
13
- export declare const SYMBOL_VALIDATE_RESULT: unique symbol;
14
- export declare const SYMBOL_LINK_CLICK: unique symbol;
15
- export declare const SYMBOL_VALIDATE_SUCCESS: unique symbol;
16
- export declare const SYMBOL_REFRESH: unique symbol;
17
- export declare const SYMBOL_BACK: unique symbol;
18
- export declare const SYMBOL_BINDFUNCTION: unique symbol;
19
- export declare const SYMBOL_CUSTOM_BINDFUNCTION: unique symbol;
20
- export declare const SYMBOL_VXE_BINDFUNCTION: unique symbol;
21
- export declare const SYMBOL_CUSTOM_VXE_BINDFUNCTION: unique symbol;
22
- export declare const SYMBOL_CUSTOM_CLICK: unique symbol;
23
- export declare const SYMBOL_FIELD_OR_COLUMN_CUSTOM_CLICK: unique symbol;
24
- export declare const SYMBOL_UPLOAD: unique symbol;
25
- export declare const SYMBOL_UPLOAD_GRID: unique symbol;
26
- export declare const SYMBOL_CANCELAUDIT: unique symbol;
27
- export declare const SYMBOL_DOWNLOAD_ALL: unique symbol;
28
- export declare const SYMBOL_REMOVE_ALL: unique symbol;
29
- export declare const SYMBOL_CHECKBOX_CHANGE: unique symbol;
30
- export declare const SYMBOL_CHECKBOX_ALL: unique symbol;
31
- export declare const SYMBOL_IMPORT_ROWS: unique symbol;
32
- export declare const SYMBOL_FLOW_VIEW: unique symbol;
1
+ export declare const SYMBOL_ADD_ONE_ROW = "ADD_ONE_ROW";
2
+ export declare const SYMBOL_DELETE_ROWS = "DELETE_ROWS";
3
+ export declare const SYMBOL_SAVE = "SAVE";
4
+ export declare const SYMBOL_PUBLISH = "PUBLISH";
5
+ export declare const SYMBOL_SUBMIT = "SUBMIT";
6
+ export declare const SYMBOL_CONFIRM = "CONFIRM";
7
+ export declare const SYMBOL_REJECT = "REJECT";
8
+ export declare const SYMBOL_CACHE_BUTTON = "CACHE_BUTTON";
9
+ export declare const SYMBOL_CACHE_PAGEDATA = "CACHE_PAGEDATA";
10
+ export declare const SYMBOL_CACHE_REFRESH = "CACHE_REFRESH";
11
+ export declare const SYMBOL_CACHE_SHOW_MESSAGE = "CACHE_SHOW_MESSAGE";
12
+ export declare const SYMBOL_VALIDATE = "VALIDATE";
13
+ export declare const SYMBOL_VALIDATE_RESULT = "VALIDATE_RESULT";
14
+ export declare const SYMBOL_LINK_CLICK = "LINK_CLICK";
15
+ export declare const SYMBOL_VALIDATE_SUCCESS = "SYMBOL_VALIDATE_SUCCESS";
16
+ export declare const SYMBOL_REFRESH = "REFRESH";
17
+ export declare const SYMBOL_BACK = "BACK";
18
+ export declare const SYMBOL_BINDFUNCTION = "BINDFUNCTION";
19
+ export declare const SYMBOL_CUSTOM_BINDFUNCTION = "CUSTOM_BINDFUNCTION";
20
+ export declare const SYMBOL_VXE_BINDFUNCTION = "VXE_BINDFUNCTION";
21
+ export declare const SYMBOL_CUSTOM_VXE_BINDFUNCTION = "CUSTOM_VXE_BINDFUNCTION";
22
+ export declare const SYMBOL_CUSTOM_CLICK = "CUSTOM_CLICK";
23
+ export declare const SYMBOL_FIELD_OR_COLUMN_CUSTOM_CLICK = "FIELD_OR_COLUMN_CUSTOM_CLICK";
24
+ export declare const SYMBOL_UPLOAD = "UPLOAD";
25
+ export declare const SYMBOL_UPLOAD_GRID = "UPLOAD_GRID";
26
+ export declare const SYMBOL_CANCEL_AUDIT = "CANCELAUDIT";
27
+ export declare const SYMBOL_DOWNLOAD_ALL = "DOWNLOAD_ALL";
28
+ export declare const SYMBOL_REMOVE_ALL = "REMOVE_ALL";
29
+ export declare const SYMBOL_CHECKBOX_CHANGE = "CHECKBOX_CHANGE";
30
+ export declare const SYMBOL_CHECKBOX_ALL = "CHECKBOX_ALL";
31
+ export declare const SYMBOL_IMPORT_ROWS = "IMPORT_ROWS";
32
+ export declare const SYMBOL_FLOW_VIEW = "FLOW_VIEW";
33
33
  /**************************************审批按钮组 start************************************/
34
- export declare const SYMBOL_AUDIT_AGREE: unique symbol;
35
- export declare const SYMBOL_AUDIT_REFUSE: unique symbol;
36
- export declare const SYMBOL_AUDIT_INFORMED: unique symbol;
37
- export declare const SYMBOL_AUDIT_TRANSFER: unique symbol;
38
- export declare const SYMBOL_AUDIT_BACK: unique symbol;
39
- export declare const SYMBOL_AUDIT_TRANSACTION: unique symbol;
40
- export declare const SYMBOL_AUDIT_INVALID: unique symbol;
41
- export declare const SYMBOL_AUDIT_REVOCATION: unique symbol;
42
- export declare const SYMBOL_AUDIT_REVOCATION_PRE_SIGN: unique symbol;
43
- export declare const SYMBOL_AUDIT_FLOW_IMAGE: unique symbol;
44
- export declare const SYMBOL_AUDIT_APPROVAL_COMMENT: unique symbol;
45
- export declare const SYMBOL_AUDIT_SIGN_NODE: unique symbol;
46
- export declare const SYMBOL_AUDIT_PRE_SIGN: unique symbol;
47
- export declare const SYMBOL_AUDIT_AFTER_SIGN: unique symbol;
48
- export declare const SYMBOL_AUDIT_PRINT: unique symbol;
49
- export declare const SYMBOL_AUDIT_ADD_NODE_HISTORY: unique symbol;
50
- export declare const SYMBOL_AUDIT_CHAT: unique symbol;
34
+ export declare const SYMBOL_AUDIT_AGREE = "AUDIT_AGREE";
35
+ export declare const SYMBOL_AUDIT_REFUSE = "AUDIT_REFUSE";
36
+ export declare const SYMBOL_AUDIT_INFORMED = "AUDIT_INFORMED";
37
+ export declare const SYMBOL_AUDIT_TRANSFER = "AUDIT_TRANSFER";
38
+ export declare const SYMBOL_AUDIT_BACK = "AUDIT_BACK";
39
+ export declare const SYMBOL_AUDIT_TRANSACTION = "AUDIT_TRANSACTION";
40
+ export declare const SYMBOL_AUDIT_INVALID = "AUDIT_INVALID";
41
+ export declare const SYMBOL_AUDIT_REVOCATION = "AUDIT_REVOCATION";
42
+ export declare const SYMBOL_AUDIT_REVOCATION_PRE_SIGN = "AUDIT_REVOCATION_PRE_SIGN";
43
+ export declare const SYMBOL_AUDIT_FLOW_IMAGE = "AUDIT_FLOW_IMAGE";
44
+ export declare const SYMBOL_AUDIT_APPROVAL_COMMENT = "AUDIT_APPROVAL_COMMENT";
45
+ export declare const SYMBOL_AUDIT_SIGN_NODE = "AUDIT_SIGN_NODE";
46
+ export declare const SYMBOL_AUDIT_PRE_SIGN = "AUDIT_PRE_SIGN";
47
+ export declare const SYMBOL_AUDIT_AFTER_SIGN = "AUDIT_AFTER_SIGN";
48
+ export declare const SYMBOL_AUDIT_PRINT = "AUDIT_PRINT";
49
+ export declare const SYMBOL_AUDIT_ADD_NODE_HISTORY = "AUDIT_ADD_NODE_HISTORY";
50
+ export declare const SYMBOL_AUDIT_CHAT = "AUDIT_CHAT";
51
51
  /**************************************审批按钮组 end************************************/
@@ -1,9 +1,10 @@
1
1
  import type { Ref } from 'vue';
2
2
  import type { UsePromiseStepPayload, ExposeWithPageButtons, RecordString, PageButton, ValidateResult } from '../../../edit-page-layout';
3
3
  export default function usePromiseStep<T extends UsePromiseStepPayload>(payload: T): {
4
+ localUid: Ref<number>;
4
5
  customLoading: Readonly<Ref<boolean>>;
5
6
  normalizeStepPromiseMethod: <T_1 extends ExposeWithPageButtons>(key: string | symbol) => ((args: T_1) => Promise<ExposeWithPageButtons>)[];
6
- handleResetValidateStatus: (btn: PageButton) => void;
7
+ handleResetValidateStatus: () => void;
7
8
  handleValidateResult: ({ result, button }: ValidateResult) => void;
8
9
  stepSave: (args: ExposeWithPageButtons) => Promise<ExposeWithPageButtons>;
9
10
  stepAdd: (args: ExposeWithPageButtons) => Promise<ExposeWithPageButtons>;
@@ -0,0 +1,4 @@
1
+ import type { Ref } from 'vue';
2
+ export default function useUid(): {
3
+ uid: Ref<number>;
4
+ };
@@ -8,3 +8,5 @@ export declare const LAYOUT_PAGE_DATA_TOKEN: InjectionKey<Ref<RecordString>>;
8
8
  export declare const LAYOUT_PAGE_DATA_TOKEN_DEFAULT_VALUE: Ref<{
9
9
  id: null;
10
10
  }>;
11
+ export declare const LAYOUT_UID_TOKEN: InjectionKey<Ref<number>>;
12
+ export declare const LAYOUT_UID_TOKEN_DEFAULT_VALUE: Ref<number>;
@@ -46,8 +46,8 @@ declare const _default: SFCWithInstall<DefineComponent<{
46
46
  onHandleSureClose?: ((...args: any[]) => any) | undefined;
47
47
  "onUpdate:editorModalFlag"?: ((...args: any[]) => any) | undefined;
48
48
  }, {
49
- disabled: boolean;
50
49
  value: string;
50
+ disabled: boolean;
51
51
  editorModalFlag: boolean;
52
52
  }, {}>>;
53
53
  export default _default;