@qqt-product/ui 16.0.0 → 16.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 (28) hide show
  1. package/dist/index.es.js +41594 -41344
  2. package/dist/index.umd.js +121 -121
  3. package/dist/lib/components/detail-page-layout/index.d.ts +10 -0
  4. package/dist/lib/components/detail-page-layout/src/detail-page-layout.vue.d.ts +11 -1
  5. package/dist/lib/components/import-modal/index.d.ts +1 -1
  6. package/dist/lib/components/import-modal/src/import-modal.vue.d.ts +1 -1
  7. package/dist/lib/components/layout-pattern/index.d.ts +1 -175
  8. package/dist/lib/components/layout-pattern/src/layout-pattern.vue.d.ts +1 -174
  9. package/dist/lib/components/list-page-layout/src/components/common/columnSetting/columnSetting.vue.d.ts +1 -0
  10. package/dist/lib/components/page-layout/index.d.ts +175 -2
  11. package/dist/lib/components/{layout-pattern/src/hook/use-audit-button-hook.d.ts → page-layout/src/hook/use-audit-button.d.ts} +58 -2
  12. package/dist/lib/components/page-layout/src/hook/use-custom-format.d.ts +9 -0
  13. package/dist/lib/components/page-layout/src/hook/use-excel-import.d.ts +42 -0
  14. package/dist/lib/components/page-layout/src/hook/use-file-upload.d.ts +64 -0
  15. package/dist/lib/components/page-layout/src/hook/use-grid-events.d.ts +26 -0
  16. package/dist/lib/components/page-layout/src/hook/use-promise-step.d.ts +33 -1
  17. package/dist/lib/components/page-layout/src/page-layout.vue.d.ts +174 -1
  18. package/dist/lib/components/upload-image/index.d.ts +2 -1
  19. package/dist/lib/components/upload-image/src/preview.vue.d.ts +16 -0
  20. package/dist/lib/components/upload-image/src/upload-image.vue.d.ts +2 -1
  21. package/dist/lib/index.d.ts +1 -1
  22. package/dist/style.css +1 -1
  23. package/package.json +7 -7
  24. /package/dist/lib/components/page-layout/src/hook/{use-merge-defaultValues-hook.d.ts → use-merge-defaultValues.d.ts} +0 -0
  25. /package/dist/lib/components/page-layout/src/hook/{use-page-data-hook.d.ts → use-page-data.d.ts} +0 -0
  26. /package/dist/lib/components/page-layout/src/hook/{use-ref-instance-hook.d.ts → use-ref-instance.d.ts} +0 -0
  27. /package/dist/lib/components/page-layout/src/hook/{use-remote-config-hook.d.ts → use-remote-config.d.ts} +0 -0
  28. /package/dist/lib/components/page-layout/src/hook/{use-uid-hook.d.ts → use-uid.d.ts} +0 -0
@@ -101,6 +101,11 @@ declare const _default: SFCWithInstall<DefineComponent<{
101
101
  type: StringConstructor;
102
102
  default: string;
103
103
  };
104
+ } & {
105
+ isDetail: {
106
+ type: PropType<boolean>;
107
+ default: boolean;
108
+ };
104
109
  }, {
105
110
  instance: Ref<Expose | undefined>;
106
111
  classes: ComputedRef<{
@@ -212,6 +217,11 @@ declare const _default: SFCWithInstall<DefineComponent<{
212
217
  type: StringConstructor;
213
218
  default: string;
214
219
  };
220
+ } & {
221
+ isDetail: {
222
+ type: PropType<boolean>;
223
+ default: boolean;
224
+ };
215
225
  }>>, {
216
226
  pattern: Pattern;
217
227
  currentRow: CurrentRow;
@@ -1,4 +1,4 @@
1
- import type { DefineComponent, PropType, Ref, ComputedRef, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
1
+ import type { DefineComponent, Ref, ComputedRef, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PropType } from 'vue';
2
2
  import type { roleValidator, CurrentRow, UserInfo, Pattern, patternValidator, RemoteConfig, DetailApiFunctionType, PageButton, PageButtonPosition, pageButtonPositionValidator, RecordString, Expose, ComputedFormFieldsItem } from '../../edit-page-layout';
3
3
  declare const _sfc_main: DefineComponent<{
4
4
  showPageHeader: {
@@ -97,6 +97,11 @@ declare const _sfc_main: DefineComponent<{
97
97
  type: StringConstructor;
98
98
  default: string;
99
99
  };
100
+ } & {
101
+ isDetail: {
102
+ type: PropType<boolean>;
103
+ default: boolean;
104
+ };
100
105
  }, {
101
106
  instance: Ref<Expose | undefined>;
102
107
  classes: ComputedRef<{
@@ -208,6 +213,11 @@ declare const _sfc_main: DefineComponent<{
208
213
  type: StringConstructor;
209
214
  default: string;
210
215
  };
216
+ } & {
217
+ isDetail: {
218
+ type: PropType<boolean>;
219
+ default: boolean;
220
+ };
211
221
  }>>, {
212
222
  pattern: Pattern;
213
223
  currentRow: CurrentRow;
@@ -32,7 +32,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
32
32
  stepChange: (current: never) => void;
33
33
  beforeUpload: (file: any) => false | undefined;
34
34
  downloadFile: () => MessageType | undefined;
35
- imortChangeEvent: (info: UploadChangeParam<UploadFile<any>>) => void;
35
+ importChangeEvent: (info: UploadChangeParam<UploadFile<any>>) => void;
36
36
  importPreviewData: () => void;
37
37
  downloadTaskErrorFiles: (errorId: string) => void;
38
38
  handleClose: () => void;
@@ -28,7 +28,7 @@ declare const _sfc_main: DefineComponent<{
28
28
  stepChange: (current: never) => void;
29
29
  beforeUpload: (file: any) => false | undefined;
30
30
  downloadFile: () => MessageType | undefined;
31
- imortChangeEvent: (info: UploadChangeParam) => void;
31
+ importChangeEvent: (info: UploadChangeParam) => void;
32
32
  importPreviewData: () => void;
33
33
  downloadTaskErrorFiles: (errorId: string) => void;
34
34
  handleClose: () => void;
@@ -1,6 +1,4 @@
1
- import type { ObjectMap } from '../list-page-layout';
2
- import type { RecordString } from '../select-modal';
3
- import type { Pattern, LayoutConfig, ComputedFormFieldsItem, CurrentRow, PageButtonArgsFunctionType, ExposeWithPageButtons, PageButtonPayload } from '../edit-page-layout';
1
+ import type { Pattern, LayoutConfig, ComputedFormFieldsItem } from '../edit-page-layout';
4
2
  import type { DefineComponent, PropType, ComputedRef, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
5
3
  import type { SFCWithInstall } from '@qqt-product/utils/dist/modules/withInstall';
6
4
  import QPageLayoutMode from './src/layout-pattern.vue';
@@ -27,178 +25,6 @@ declare const _default: SFCWithInstall<DefineComponent<{
27
25
  patternAppend: string;
28
26
  }[]>;
29
27
  computedCustomSlotFields: ComputedRef<ComputedFormFieldsItem[]>;
30
- currentRow: CurrentRow;
31
- fileVisible: Ref<boolean>;
32
- fileProps: Ref<{
33
- readonly data?: {
34
- [x: string]: unknown;
35
- businessType: string;
36
- headId: string;
37
- } | undefined;
38
- readonly 'onUpdate:visible'?: ((value: boolean) => void) | ((value: boolean) => void)[] | undefined;
39
- readonly visible?: boolean | undefined;
40
- readonly currentRow?: {
41
- [x: string]: unknown;
42
- templateNumber: string;
43
- templateVersion: number;
44
- templateAccount: string;
45
- busAccount: string;
46
- elsAccount: string;
47
- } | undefined;
48
- readonly action?: string | undefined;
49
- readonly accept?: string | undefined;
50
- readonly dictCode?: string | undefined;
51
- readonly userInfo?: {
52
- [x: string]: unknown;
53
- elsAccount: string;
54
- subAccount: string;
55
- serivceUrl: string;
56
- } | undefined;
57
- readonly role?: string | undefined;
58
- readonly property?: string | undefined;
59
- readonly defaultFileType?: string | undefined;
60
- readonly requiredFileType?: boolean | undefined;
61
- readonly defaultFileBelong?: string | undefined;
62
- readonly limitSize?: number | undefined;
63
- readonly acceptDictCode?: string | undefined;
64
- readonly maxCount?: number | undefined;
65
- readonly isOss?: boolean | undefined;
66
- readonly isGridUpload?: boolean | undefined;
67
- readonly itemNumberKey?: string | undefined;
68
- readonly itemNumberLabel?: string | undefined;
69
- readonly itemNumberValueProp?: string | undefined;
70
- readonly itemNumberDefaultValue?: string | undefined;
71
- readonly itemNumberSelectIndex?: boolean | undefined;
72
- readonly disabledItemNumber?: boolean | undefined;
73
- readonly itemInfo?: RecordString[] | undefined;
74
- readonly fileTypeList?: {
75
- [x: string]: unknown;
76
- title: string;
77
- value: string;
78
- }[] | undefined;
79
- readonly actionRoutePath?: string | undefined;
80
- readonly sourceNumberType?: string | undefined;
81
- readonly onConfirmBeforeUpload?: Function | undefined;
82
- }>;
83
- handleChangeFiles: (fileResult: RecordString[]) => void;
84
- importVisible: Ref<boolean>;
85
- importProps: Ref<{
86
- button: {
87
- title: string;
88
- i18nKey?: string | undefined;
89
- key: string | symbol;
90
- args: PageButtonArgsFunctionType | {
91
- [x: string]: unknown;
92
- url: string;
93
- };
94
- authorityCode?: string | undefined;
95
- attrs?: RecordString | undefined;
96
- icon?: {
97
- type: string;
98
- size: number;
99
- color?: string | undefined;
100
- } | undefined;
101
- emit?: boolean | undefined;
102
- emitKey?: string | undefined;
103
- showMessage?: boolean | undefined;
104
- checkBefore?: boolean | undefined;
105
- confirm?: {
106
- title: string;
107
- content: string;
108
- } | undefined;
109
- dropdown?: boolean | undefined;
110
- isExistFrozenSource?: boolean | undefined;
111
- isExistFrozenSourceUrl?: string | undefined;
112
- isExistFrozenSourceParams?: ((pageData: RecordString) => RecordString) | undefined;
113
- disabled?: ((pageData: RecordString) => boolean) | undefined;
114
- handleBefore?: ((args: ExposeWithPageButtons) => Promise<ExposeWithPageButtons>) | undefined;
115
- handleAfter?: ((args: ExposeWithPageButtons) => Promise<ExposeWithPageButtons>) | undefined;
116
- callback?: ((payload: PageButtonPayload) => void) | undefined;
117
- };
118
- isEditPage: boolean;
119
- token: string;
120
- }>;
121
- auditModalVisible: Ref<boolean>;
122
- approvalModalVisible: Ref<boolean>;
123
- nodeHistoryModalVisible: Ref<boolean>;
124
- auditModalProps: Ref<{
125
- width?: string | undefined;
126
- form?: {
127
- [x: string]: unknown;
128
- type: string;
129
- label: string;
130
- fieldName: string;
131
- required?: string | undefined;
132
- attrs?: ObjectMap | undefined;
133
- extends?: ObjectMap | undefined;
134
- dictCode?: string | undefined;
135
- options?: any[] | undefined;
136
- click?: ((args: object, formState?: ObjectMap | undefined) => void) | undefined;
137
- }[] | undefined;
138
- title?: string | undefined;
139
- 'onUpdate:visible'?: ((value: string) => void) | ((value: string) => void)[] | undefined;
140
- visible?: boolean | undefined;
141
- currentRow?: any;
142
- businessType?: string | undefined;
143
- token?: string | undefined;
144
- busAccount?: string | undefined;
145
- taskAction?: string | undefined;
146
- needFlow?: string | undefined;
147
- flowIframeUrl?: string | undefined;
148
- customParams?: Record<string, any> | undefined;
149
- }>;
150
- auditModalConfirm: Ref<any>;
151
- auditModalCancel: Ref<any>;
152
- flowVisible: Ref<boolean>;
153
- flowProps: Ref<{
154
- button?: {
155
- title: string;
156
- i18nKey?: string | undefined;
157
- key: string | symbol;
158
- args: PageButtonArgsFunctionType | {
159
- [x: string]: unknown;
160
- url: string;
161
- };
162
- authorityCode?: string | undefined;
163
- attrs?: RecordString | undefined;
164
- icon?: {
165
- type: string;
166
- size: number;
167
- color?: string | undefined;
168
- } | undefined;
169
- emit?: boolean | undefined;
170
- emitKey?: string | undefined;
171
- showMessage?: boolean | undefined;
172
- checkBefore?: boolean | undefined;
173
- confirm?: {
174
- title: string;
175
- content: string;
176
- } | undefined;
177
- dropdown?: boolean | undefined;
178
- isExistFrozenSource?: boolean | undefined;
179
- isExistFrozenSourceUrl?: string | undefined;
180
- isExistFrozenSourceParams?: ((pageData: RecordString) => RecordString) | undefined;
181
- disabled?: ((pageData: RecordString) => boolean) | undefined;
182
- handleBefore?: ((args: ExposeWithPageButtons) => Promise<ExposeWithPageButtons>) | undefined;
183
- handleAfter?: ((args: ExposeWithPageButtons) => Promise<ExposeWithPageButtons>) | undefined;
184
- callback?: ((payload: PageButtonPayload) => void) | undefined;
185
- } | undefined;
186
- width?: string | undefined;
187
- title?: string | undefined;
188
- onChange?: ((args: any) => void) | ((args: any) => void)[] | undefined;
189
- 'onUpdate:visible'?: ((value: string) => void) | ((value: string) => void)[] | undefined;
190
- visible?: boolean | undefined;
191
- currentRow?: any;
192
- token?: string | undefined;
193
- flowId?: string | undefined;
194
- isDesign?: boolean | undefined;
195
- workFlowType?: string | undefined;
196
- }>;
197
- layoutExtraInfo: {
198
- token: string;
199
- };
200
- afterSignModalVisible: Ref<boolean>;
201
- handleAfterSignModal: () => void;
202
28
  }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
203
29
  title: {
204
30
  type: PropType<string>;
@@ -1,6 +1,5 @@
1
- import type { ObjectMap } from '../../list-page-layout';
2
1
  import type { DefineComponent, PropType, ComputedRef, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
3
- import type { LayoutConfig, CurrentRow, PageButtonArgsFunctionType, ExposeWithPageButtons, PageButtonPayload, RecordString, ComputedFormFieldsItem, Pattern } from '../../edit-page-layout';
2
+ import type { LayoutConfig, ComputedFormFieldsItem, Pattern } from '../../edit-page-layout';
4
3
  declare const _sfc_main: DefineComponent<{
5
4
  title: {
6
5
  type: PropType<string>;
@@ -22,178 +21,6 @@ declare const _sfc_main: DefineComponent<{
22
21
  patternAppend: string;
23
22
  }[]>;
24
23
  computedCustomSlotFields: ComputedRef<ComputedFormFieldsItem[]>;
25
- currentRow: CurrentRow;
26
- fileVisible: Ref<boolean>;
27
- fileProps: Ref<{
28
- readonly data?: {
29
- [x: string]: unknown;
30
- businessType: string;
31
- headId: string;
32
- } | undefined;
33
- readonly 'onUpdate:visible'?: ((value: boolean) => void) | ((value: boolean) => void)[] | undefined;
34
- readonly visible?: boolean | undefined;
35
- readonly currentRow?: {
36
- [x: string]: unknown;
37
- templateNumber: string;
38
- templateVersion: number;
39
- templateAccount: string;
40
- busAccount: string;
41
- elsAccount: string;
42
- } | undefined;
43
- readonly action?: string | undefined;
44
- readonly accept?: string | undefined;
45
- readonly dictCode?: string | undefined;
46
- readonly userInfo?: {
47
- [x: string]: unknown;
48
- elsAccount: string;
49
- subAccount: string;
50
- serivceUrl: string;
51
- } | undefined;
52
- readonly role?: string | undefined;
53
- readonly property?: string | undefined;
54
- readonly defaultFileType?: string | undefined;
55
- readonly requiredFileType?: boolean | undefined;
56
- readonly defaultFileBelong?: string | undefined;
57
- readonly limitSize?: number | undefined;
58
- readonly acceptDictCode?: string | undefined;
59
- readonly maxCount?: number | undefined;
60
- readonly isOss?: boolean | undefined;
61
- readonly isGridUpload?: boolean | undefined;
62
- readonly itemNumberKey?: string | undefined;
63
- readonly itemNumberLabel?: string | undefined;
64
- readonly itemNumberValueProp?: string | undefined;
65
- readonly itemNumberDefaultValue?: string | undefined;
66
- readonly itemNumberSelectIndex?: boolean | undefined;
67
- readonly disabledItemNumber?: boolean | undefined;
68
- readonly itemInfo?: RecordString[] | undefined;
69
- readonly fileTypeList?: {
70
- [x: string]: unknown;
71
- title: string;
72
- value: string;
73
- }[] | undefined;
74
- readonly actionRoutePath?: string | undefined;
75
- readonly sourceNumberType?: string | undefined;
76
- readonly onConfirmBeforeUpload?: Function | undefined;
77
- }>;
78
- handleChangeFiles: (fileResult: RecordString[]) => void;
79
- importVisible: Ref<boolean>;
80
- importProps: Ref<{
81
- button: {
82
- title: string;
83
- i18nKey?: string | undefined;
84
- key: string | symbol;
85
- args: PageButtonArgsFunctionType | {
86
- [x: string]: unknown;
87
- url: string;
88
- };
89
- authorityCode?: string | undefined;
90
- attrs?: RecordString | undefined;
91
- icon?: {
92
- type: string;
93
- size: number;
94
- color?: string | undefined;
95
- } | undefined;
96
- emit?: boolean | undefined;
97
- emitKey?: string | undefined;
98
- showMessage?: boolean | undefined;
99
- checkBefore?: boolean | undefined;
100
- confirm?: {
101
- title: string;
102
- content: string;
103
- } | undefined;
104
- dropdown?: boolean | undefined;
105
- isExistFrozenSource?: boolean | undefined;
106
- isExistFrozenSourceUrl?: string | undefined;
107
- isExistFrozenSourceParams?: ((pageData: RecordString) => RecordString) | undefined;
108
- disabled?: ((pageData: RecordString) => boolean) | undefined;
109
- handleBefore?: ((args: ExposeWithPageButtons) => Promise<ExposeWithPageButtons>) | undefined;
110
- handleAfter?: ((args: ExposeWithPageButtons) => Promise<ExposeWithPageButtons>) | undefined;
111
- callback?: ((payload: PageButtonPayload) => void) | undefined;
112
- };
113
- isEditPage: boolean;
114
- token: string;
115
- }>;
116
- auditModalVisible: Ref<boolean>;
117
- approvalModalVisible: Ref<boolean>;
118
- nodeHistoryModalVisible: Ref<boolean>;
119
- auditModalProps: Ref<{
120
- width?: string | undefined;
121
- form?: {
122
- [x: string]: unknown;
123
- type: string;
124
- label: string;
125
- fieldName: string;
126
- required?: string | undefined;
127
- attrs?: ObjectMap | undefined;
128
- extends?: ObjectMap | undefined;
129
- dictCode?: string | undefined;
130
- options?: any[] | undefined;
131
- click?: ((args: object, formState?: ObjectMap | undefined) => void) | undefined;
132
- }[] | undefined;
133
- title?: string | undefined;
134
- 'onUpdate:visible'?: ((value: string) => void) | ((value: string) => void)[] | undefined;
135
- visible?: boolean | undefined;
136
- currentRow?: any;
137
- businessType?: string | undefined;
138
- token?: string | undefined;
139
- busAccount?: string | undefined;
140
- taskAction?: string | undefined;
141
- needFlow?: string | undefined;
142
- flowIframeUrl?: string | undefined;
143
- customParams?: Record<string, any> | undefined;
144
- }>;
145
- auditModalConfirm: Ref<any>;
146
- auditModalCancel: Ref<any>;
147
- flowVisible: Ref<boolean>;
148
- flowProps: Ref<{
149
- button?: {
150
- title: string;
151
- i18nKey?: string | undefined;
152
- key: string | symbol;
153
- args: PageButtonArgsFunctionType | {
154
- [x: string]: unknown;
155
- url: string;
156
- };
157
- authorityCode?: string | undefined;
158
- attrs?: RecordString | undefined;
159
- icon?: {
160
- type: string;
161
- size: number;
162
- color?: string | undefined;
163
- } | undefined;
164
- emit?: boolean | undefined;
165
- emitKey?: string | undefined;
166
- showMessage?: boolean | undefined;
167
- checkBefore?: boolean | undefined;
168
- confirm?: {
169
- title: string;
170
- content: string;
171
- } | undefined;
172
- dropdown?: boolean | undefined;
173
- isExistFrozenSource?: boolean | undefined;
174
- isExistFrozenSourceUrl?: string | undefined;
175
- isExistFrozenSourceParams?: ((pageData: RecordString) => RecordString) | undefined;
176
- disabled?: ((pageData: RecordString) => boolean) | undefined;
177
- handleBefore?: ((args: ExposeWithPageButtons) => Promise<ExposeWithPageButtons>) | undefined;
178
- handleAfter?: ((args: ExposeWithPageButtons) => Promise<ExposeWithPageButtons>) | undefined;
179
- callback?: ((payload: PageButtonPayload) => void) | undefined;
180
- } | undefined;
181
- width?: string | undefined;
182
- title?: string | undefined;
183
- onChange?: ((args: any) => void) | ((args: any) => void)[] | undefined;
184
- 'onUpdate:visible'?: ((value: string) => void) | ((value: string) => void)[] | undefined;
185
- visible?: boolean | undefined;
186
- currentRow?: any;
187
- token?: string | undefined;
188
- flowId?: string | undefined;
189
- isDesign?: boolean | undefined;
190
- workFlowType?: string | undefined;
191
- }>;
192
- layoutExtraInfo: {
193
- token: string;
194
- };
195
- afterSignModalVisible: Ref<boolean>;
196
- handleAfterSignModal: () => void;
197
24
  }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
198
25
  title: {
199
26
  type: PropType<string>;
@@ -9,6 +9,7 @@ declare const _sfc_main: DefineComponent<{}, {
9
9
  busAccount: Ref<string>;
10
10
  open: (columnCode: string) => void;
11
11
  close: typeof close;
12
+ modalName: string;
12
13
  setFrozenColumn<T extends GridColumn>(listArry: T[]): T[];
13
14
  getColumnsList(columnCode: string): Promise<string>;
14
15
  getFieldColorsData(item: any): void;
@@ -1,4 +1,5 @@
1
- import type { LayoutConfig } from '../edit-page-layout';
1
+ import type { ObjectMap } from '../list-page-layout';
2
+ import type { LayoutConfig, CurrentRow, PageButtonArgsFunctionType, ExposeWithPageButtons, PageButtonPayload } from '../edit-page-layout';
2
3
  import type { RecordString } from '../select-modal';
3
4
  import type { DefineComponent, ComponentPropsOptions, ComputedRef, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, ComponentObjectPropsOptions } from 'vue';
4
5
  import type { SFCWithInstall } from '@qqt-product/utils/dist/modules/withInstall';
@@ -8,7 +9,7 @@ export * from './src/token';
8
9
  export * from './src/constant';
9
10
  export * from './src/util';
10
11
  import usePromiseStepHook from './src/hook/use-promise-step';
11
- import useRefInstanceHook from './src/hook/use-ref-instance-hook';
12
+ import useRefInstanceHook from './src/hook/use-ref-instance';
12
13
  export { usePromiseStepHook, useRefInstanceHook };
13
14
  export { QPageLayout };
14
15
  declare const _default: SFCWithInstall<DefineComponent<Readonly<ComponentPropsOptions<{
@@ -23,6 +24,178 @@ declare const _default: SFCWithInstall<DefineComponent<Readonly<ComponentPropsOp
23
24
  loading: Ref<boolean>;
24
25
  layoutLoading: Ref<boolean>;
25
26
  customLoading: Readonly<Ref<boolean>>;
27
+ currentRow: CurrentRow;
28
+ fileVisible: Ref<boolean>;
29
+ fileProps: Ref<{
30
+ readonly data?: {
31
+ [x: string]: unknown;
32
+ businessType: string;
33
+ headId: string;
34
+ } | undefined;
35
+ readonly 'onUpdate:visible'?: ((value: boolean) => void) | ((value: boolean) => void)[] | undefined;
36
+ readonly visible?: boolean | undefined;
37
+ readonly currentRow?: {
38
+ [x: string]: unknown;
39
+ templateNumber: string;
40
+ templateVersion: number;
41
+ templateAccount: string;
42
+ busAccount: string;
43
+ elsAccount: string;
44
+ } | undefined;
45
+ readonly action?: string | undefined;
46
+ readonly accept?: string | undefined;
47
+ readonly dictCode?: string | undefined;
48
+ readonly userInfo?: {
49
+ [x: string]: unknown;
50
+ elsAccount: string;
51
+ subAccount: string;
52
+ serivceUrl: string;
53
+ } | undefined;
54
+ readonly role?: string | undefined;
55
+ readonly property?: string | undefined;
56
+ readonly defaultFileType?: string | undefined;
57
+ readonly requiredFileType?: boolean | undefined;
58
+ readonly defaultFileBelong?: string | undefined;
59
+ readonly limitSize?: number | undefined;
60
+ readonly acceptDictCode?: string | undefined;
61
+ readonly maxCount?: number | undefined;
62
+ readonly isOss?: boolean | undefined;
63
+ readonly isGridUpload?: boolean | undefined;
64
+ readonly itemNumberKey?: string | undefined;
65
+ readonly itemNumberLabel?: string | undefined;
66
+ readonly itemNumberValueProp?: string | undefined;
67
+ readonly itemNumberDefaultValue?: string | undefined;
68
+ readonly itemNumberSelectIndex?: boolean | undefined;
69
+ readonly disabledItemNumber?: boolean | undefined;
70
+ readonly itemInfo?: RecordString[] | undefined;
71
+ readonly fileTypeList?: {
72
+ [x: string]: unknown;
73
+ title: string;
74
+ value: string;
75
+ }[] | undefined;
76
+ readonly actionRoutePath?: string | undefined;
77
+ readonly sourceNumberType?: string | undefined;
78
+ readonly onConfirmBeforeUpload?: Function | undefined;
79
+ }>;
80
+ handleChangeFiles: (fileResult: RecordString[]) => void;
81
+ importVisible: Ref<boolean>;
82
+ importProps: Ref<{
83
+ button: {
84
+ title: string;
85
+ i18nKey?: string | undefined;
86
+ key: string | symbol;
87
+ args: PageButtonArgsFunctionType | {
88
+ [x: string]: unknown;
89
+ url: string;
90
+ };
91
+ authorityCode?: string | undefined;
92
+ attrs?: RecordString | undefined;
93
+ icon?: {
94
+ type: string;
95
+ size: number;
96
+ color?: string | undefined;
97
+ } | undefined;
98
+ emit?: boolean | undefined;
99
+ emitKey?: string | undefined;
100
+ showMessage?: boolean | undefined;
101
+ checkBefore?: boolean | undefined;
102
+ confirm?: {
103
+ title: string;
104
+ content: string;
105
+ } | undefined;
106
+ dropdown?: boolean | undefined;
107
+ isExistFrozenSource?: boolean | undefined;
108
+ isExistFrozenSourceUrl?: string | undefined;
109
+ isExistFrozenSourceParams?: ((pageData: RecordString) => RecordString) | undefined;
110
+ disabled?: ((pageData: RecordString) => boolean) | undefined;
111
+ handleBefore?: ((args: ExposeWithPageButtons) => Promise<ExposeWithPageButtons>) | undefined;
112
+ handleAfter?: ((args: ExposeWithPageButtons) => Promise<ExposeWithPageButtons>) | undefined;
113
+ callback?: ((payload: PageButtonPayload) => void) | undefined;
114
+ };
115
+ isEditPage: boolean;
116
+ token: string;
117
+ }>;
118
+ auditModalVisible: Ref<boolean>;
119
+ approvalModalVisible: Ref<boolean>;
120
+ nodeHistoryModalVisible: Ref<boolean>;
121
+ auditModalProps: Ref<{
122
+ width?: string | undefined;
123
+ form?: {
124
+ [x: string]: unknown;
125
+ type: string;
126
+ label: string;
127
+ fieldName: string;
128
+ required?: string | undefined;
129
+ attrs?: ObjectMap | undefined;
130
+ extends?: ObjectMap | undefined;
131
+ dictCode?: string | undefined;
132
+ options?: any[] | undefined;
133
+ click?: ((args: object, formState?: ObjectMap | undefined) => void) | undefined;
134
+ }[] | undefined;
135
+ title?: string | undefined;
136
+ 'onUpdate:visible'?: ((value: string) => void) | ((value: string) => void)[] | undefined;
137
+ visible?: boolean | undefined;
138
+ currentRow?: any;
139
+ businessType?: string | undefined;
140
+ token?: string | undefined;
141
+ busAccount?: string | undefined;
142
+ taskAction?: string | undefined;
143
+ needFlow?: string | undefined;
144
+ flowIframeUrl?: string | undefined;
145
+ customParams?: Record<string, any> | undefined;
146
+ }>;
147
+ auditModalConfirm: Ref<any>;
148
+ auditModalCancel: Ref<any>;
149
+ flowVisible: Ref<boolean>;
150
+ flowProps: Ref<{
151
+ button?: {
152
+ title: string;
153
+ i18nKey?: string | undefined;
154
+ key: string | symbol;
155
+ args: PageButtonArgsFunctionType | {
156
+ [x: string]: unknown;
157
+ url: string;
158
+ };
159
+ authorityCode?: string | undefined;
160
+ attrs?: RecordString | undefined;
161
+ icon?: {
162
+ type: string;
163
+ size: number;
164
+ color?: string | undefined;
165
+ } | undefined;
166
+ emit?: boolean | undefined;
167
+ emitKey?: string | undefined;
168
+ showMessage?: boolean | undefined;
169
+ checkBefore?: boolean | undefined;
170
+ confirm?: {
171
+ title: string;
172
+ content: string;
173
+ } | undefined;
174
+ dropdown?: boolean | undefined;
175
+ isExistFrozenSource?: boolean | undefined;
176
+ isExistFrozenSourceUrl?: string | undefined;
177
+ isExistFrozenSourceParams?: ((pageData: RecordString) => RecordString) | undefined;
178
+ disabled?: ((pageData: RecordString) => boolean) | undefined;
179
+ handleBefore?: ((args: ExposeWithPageButtons) => Promise<ExposeWithPageButtons>) | undefined;
180
+ handleAfter?: ((args: ExposeWithPageButtons) => Promise<ExposeWithPageButtons>) | undefined;
181
+ callback?: ((payload: PageButtonPayload) => void) | undefined;
182
+ } | undefined;
183
+ width?: string | undefined;
184
+ title?: string | undefined;
185
+ onChange?: ((args: any) => void) | ((args: any) => void)[] | undefined;
186
+ 'onUpdate:visible'?: ((value: string) => void) | ((value: string) => void)[] | undefined;
187
+ visible?: boolean | undefined;
188
+ currentRow?: any;
189
+ token?: string | undefined;
190
+ flowId?: string | undefined;
191
+ isDesign?: boolean | undefined;
192
+ workFlowType?: string | undefined;
193
+ }>;
194
+ afterSignModalVisible: Ref<boolean>;
195
+ handleAfterSignModal: () => void;
196
+ layoutExtraInfo: {
197
+ token: string;
198
+ };
26
199
  }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, readonly string[] | Readonly<ExtractPropTypes<Readonly<ComponentObjectPropsOptions<{
27
200
  [x: string]: unknown;
28
201
  }>>>>, {