@qqt-product/ui 0.0.14 → 0.0.16

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 (147) hide show
  1. package/dist/index.es.js +112024 -41701
  2. package/dist/index.umd.js +254 -15197
  3. package/dist/lib/components/audit-modal/index.d.ts +324 -0
  4. package/dist/lib/components/audit-modal/src/audit-modal-type.d.ts +65 -0
  5. package/dist/lib/components/audit-modal/src/audit-modal.vue.d.ts +320 -0
  6. package/dist/lib/components/audit-modal/src/component/addNodeHistoryModal.vue.d.ts +675 -0
  7. package/dist/lib/components/audit-modal/src/component/approvalOpinionModal.vue.d.ts +406 -0
  8. package/dist/lib/components/audit-modal/src/component/field-select-modal-types.d.ts +93 -0
  9. package/dist/lib/components/audit-modal/src/component/field-select-modal.vue.d.ts +163 -0
  10. package/dist/lib/components/audit-modal/src/component/use-field-select-modal.d.ts +6 -0
  11. package/dist/lib/components/audit-modal/src/hook/list-slot-hook.d.ts +16 -0
  12. package/dist/lib/components/audit-modal/src/hook/use-audit-config-hook.d.ts +6 -0
  13. package/dist/lib/components/audit-modal/src/hook/use-field-select-modal-hook.d.ts +9 -0
  14. package/dist/lib/components/card-list-layout/index.d.ts +8 -18
  15. package/dist/lib/components/card-list-layout/src/card-content.vue.d.ts +2 -2
  16. package/dist/lib/components/card-list-layout/src/cardItem.vue.d.ts +2 -2
  17. package/dist/lib/components/card-list-layout/src/index.vue.d.ts +8 -18
  18. package/dist/lib/components/cascader/index.d.ts +10 -8
  19. package/dist/lib/components/cascader/src/cascader.vue.d.ts +10 -8
  20. package/dist/lib/components/checkbox/index.d.ts +1 -1
  21. package/dist/lib/components/checkbox/src/checkbox.vue.d.ts +1 -1
  22. package/dist/lib/components/{codeEditorModel/src/codeEditorModel.vue.d.ts → code-editor-model/src/code-editor-model.vue.d.ts} +40 -9
  23. package/dist/lib/components/countdown/index.d.ts +122 -0
  24. package/dist/lib/components/countdown/src/countdown-types.d.ts +87 -0
  25. package/dist/lib/components/countdown/src/countdown.d.ts +118 -0
  26. package/dist/lib/components/countdown/src/use-countdown.d.ts +2 -0
  27. package/dist/lib/components/coutdown/index.d.ts +3 -3
  28. package/dist/lib/components/coutdown/src/coutdown.vue.d.ts +3 -3
  29. package/dist/lib/components/currency/index.d.ts +1 -1
  30. package/dist/lib/components/currency/src/currency.vue.d.ts +1 -1
  31. package/dist/lib/components/detail-form/index.d.ts +23 -2
  32. package/dist/lib/components/detail-form/src/detail-form.vue.d.ts +23 -3
  33. package/dist/lib/components/detail-grid/index.d.ts +10 -6
  34. package/dist/lib/components/detail-grid/src/detail-grid.vue.d.ts +9 -6
  35. package/dist/lib/components/detail-grid/src/hook/use-grid-config-hook.d.ts +1 -1
  36. package/dist/lib/components/detail-page-layout/index.d.ts +20 -3
  37. package/dist/lib/components/detail-page-layout/src/detail-page-layout.vue.d.ts +19 -3
  38. package/dist/lib/components/edit-form/index.d.ts +27 -2
  39. package/dist/lib/components/edit-form/src/edit-form-types.d.ts +4 -0
  40. package/dist/lib/components/edit-form/src/edit-form.vue.d.ts +26 -2
  41. package/dist/lib/components/edit-form/src/hook/use-callback-hook.d.ts +7 -1
  42. package/dist/lib/components/edit-grid/index.d.ts +11 -6
  43. package/dist/lib/components/edit-grid/src/edit-grid.vue.d.ts +10 -6
  44. package/dist/lib/components/edit-grid/src/hook/use-grid-config-hook.d.ts +3 -3
  45. package/dist/lib/components/edit-page-layout/index.d.ts +19 -3
  46. package/dist/lib/components/edit-page-layout/src/edit-page-layout-types.d.ts +143 -22
  47. package/dist/lib/components/edit-page-layout/src/edit-page-layout.vue.d.ts +19 -3
  48. package/dist/lib/components/edit-page-layout/src/types.d.ts +1 -1
  49. package/dist/lib/components/editor/index.d.ts +22 -8
  50. package/dist/lib/components/editor/src/index.vue.d.ts +22 -8
  51. package/dist/lib/components/field-select-modal/index.d.ts +24 -8
  52. package/dist/lib/components/field-select-modal/src/field-select-modal-types.d.ts +9 -2
  53. package/dist/lib/components/field-select-modal/src/field-select-modal.vue.d.ts +24 -8
  54. package/dist/lib/components/flow-view/index.d.ts +121 -0
  55. package/dist/lib/components/flow-view/src/flow-view-modal-types.d.ts +60 -0
  56. package/dist/lib/components/flow-view/src/flow-view.d.ts +118 -0
  57. package/dist/lib/components/flow-view/src/use-flow-view-modal.d.ts +2 -0
  58. package/dist/lib/components/import-modal/index.d.ts +90 -0
  59. package/dist/lib/components/import-modal/src/import-modal-types.d.ts +28 -0
  60. package/dist/lib/components/import-modal/src/import-modal.vue.d.ts +86 -0
  61. package/dist/lib/components/index.d.ts +11 -2
  62. package/dist/lib/components/item-wrap/index.d.ts +3 -3
  63. package/dist/lib/components/item-wrap/src/item-wrap.vue.d.ts +3 -3
  64. package/dist/lib/components/ladder-price/index.d.ts +58 -0
  65. package/dist/lib/components/ladder-price/src/LadderNotPriceModal.vue.d.ts +35 -0
  66. package/dist/lib/components/ladder-price/src/LadderPriceModal.vue.d.ts +38 -0
  67. package/dist/lib/components/ladder-price/src/ladder-not-price-modal-types.d.ts +16 -0
  68. package/dist/lib/components/ladder-price/src/ladder-price-modal-types.d.ts +15 -0
  69. package/dist/lib/components/ladder-price/src/ladder-price-types.d.ts +35 -0
  70. package/dist/lib/components/ladder-price/src/ladder-price.vue.d.ts +55 -0
  71. package/dist/lib/components/ladder-price/src/use-ladder-not-price-modal.d.ts +6 -0
  72. package/dist/lib/components/ladder-price/src/use-ladder-price.d.ts +6 -0
  73. package/dist/lib/components/layout/src/types.d.ts +1 -0
  74. package/dist/lib/components/layout-anchor/index.d.ts +2 -1
  75. package/dist/lib/components/layout-anchor/src/layout-auchor.vue.d.ts +2 -1
  76. package/dist/lib/components/layout-buttons/index.d.ts +2 -1
  77. package/dist/lib/components/layout-pattern/index.d.ts +12 -2
  78. package/dist/lib/components/layout-pattern/src/components/vertical.vue.d.ts +126 -15
  79. package/dist/lib/components/layout-pattern/src/hook/use-audit-button-hook.d.ts +46 -0
  80. package/dist/lib/components/layout-pattern/src/layout-pattern.vue.d.ts +12 -2
  81. package/dist/lib/components/list-page-layout/index.d.ts +77 -15
  82. package/dist/lib/components/list-page-layout/src/components/common/columnSetting/columnSetting.vue.d.ts +2 -1
  83. package/dist/lib/components/list-page-layout/src/components/common/import-modal/import-modal.vue.d.ts +3 -1
  84. package/dist/lib/components/list-page-layout/src/components/common/record-modal/record-modal.vue.d.ts +10 -10
  85. package/dist/lib/components/list-page-layout/src/components/list-content/events-helper.d.ts +0 -2
  86. package/dist/lib/components/list-page-layout/src/components/list-content/list-content.vue.d.ts +6 -4
  87. package/dist/lib/components/list-page-layout/src/components/list-header/hooks/use-callback-hook.d.ts +3 -0
  88. package/dist/lib/components/list-page-layout/src/components/list-header/list-header.vue.d.ts +4 -2
  89. package/dist/lib/components/list-page-layout/src/components/list-header/module/query/index.vue.d.ts +8 -2
  90. package/dist/lib/components/list-page-layout/src/components/list-header/module/quick-nav/index.vue.d.ts +1 -0
  91. package/dist/lib/components/list-page-layout/src/components/list-header/module/searchExtend/index.vue.d.ts +14 -6
  92. package/dist/lib/components/list-page-layout/src/hooks/auth-button.d.ts +4 -0
  93. package/dist/lib/components/list-page-layout/src/hooks/get-columns-hook.d.ts +1 -1
  94. package/dist/lib/components/list-page-layout/src/hooks/list-slot-hook.d.ts +10 -4
  95. package/dist/lib/components/list-page-layout/src/hooks/use-button-function-hook.d.ts +8 -0
  96. package/dist/lib/components/list-page-layout/src/layout.vue.d.ts +75 -14
  97. package/dist/lib/components/list-page-layout/src/list-page-layout-types.d.ts +59 -7
  98. package/dist/lib/components/list-page-layout/src/utils/gridConfig.d.ts +6 -21
  99. package/dist/lib/components/list-page-layout/src/utils/index.d.ts +2 -0
  100. package/dist/lib/components/page-layout/index.d.ts +2 -1
  101. package/dist/lib/components/page-layout/src/constant/buttons.d.ts +28 -2
  102. package/dist/lib/components/page-layout/src/constant/symbol.d.ts +35 -0
  103. package/dist/lib/components/page-layout/src/hook/use-merge-defaultValues-hook.d.ts +1 -1
  104. package/dist/lib/components/page-layout/src/hook/use-promise-step.d.ts +19 -9
  105. package/dist/lib/components/radio/index.d.ts +1 -1
  106. package/dist/lib/components/radio/src/radio.vue.d.ts +1 -1
  107. package/dist/lib/components/relation-graph/src/relation-graph-types.d.ts +23 -0
  108. package/dist/lib/components/remote-select/index.d.ts +30 -71
  109. package/dist/lib/components/remote-select/src/remote-select-types.d.ts +44 -28
  110. package/dist/lib/components/remote-select/src/remote-select.vue.d.ts +31 -72
  111. package/dist/lib/components/sale-template/index.d.ts +99 -0
  112. package/dist/lib/components/sale-template/src/sale-template-types.d.ts +41 -0
  113. package/dist/lib/components/sale-template/src/sale-template.vue.d.ts +95 -0
  114. package/dist/lib/components/sale-template/src/use-sale-template.d.ts +2 -0
  115. package/dist/lib/components/select/index.d.ts +6 -6
  116. package/dist/lib/components/select/src/select-types.d.ts +5 -1
  117. package/dist/lib/components/select/src/select.vue.d.ts +6 -6
  118. package/dist/lib/components/select-modal/index.d.ts +54 -16
  119. package/dist/lib/components/select-modal/src/select-modal-types.d.ts +24 -4
  120. package/dist/lib/components/select-modal/src/select-modal.vue.d.ts +54 -16
  121. package/dist/lib/components/select-template/index.d.ts +92 -0
  122. package/dist/lib/components/select-template/src/select-template-type.d.ts +32 -0
  123. package/dist/lib/components/select-template/src/select-template.vue.d.ts +88 -0
  124. package/dist/lib/components/tree-select/index.d.ts +8 -7
  125. package/dist/lib/components/tree-select/src/tree-select-types.d.ts +7 -1
  126. package/dist/lib/components/tree-select/src/tree-select.vue.d.ts +8 -7
  127. package/dist/lib/components/upload-file/index.d.ts +15 -24
  128. package/dist/lib/components/upload-file/src/hook/use-file-column-hook.d.ts +0 -1
  129. package/dist/lib/components/upload-file/src/upload-file-types.d.ts +14 -10
  130. package/dist/lib/components/upload-file/src/upload-file.vue.d.ts +13 -23
  131. package/dist/lib/components/upload-file-vxe/index.d.ts +78 -0
  132. package/dist/lib/components/upload-file-vxe/src/upload-file-vxe-types.d.ts +38 -0
  133. package/dist/lib/components/upload-file-vxe/src/upload-file-vxe.vue.d.ts +75 -0
  134. package/dist/lib/components/upload-image/index.d.ts +3 -3
  135. package/dist/lib/components/upload-image/src/upload-image.vue.d.ts +3 -3
  136. package/dist/lib/components/useChart/index.d.ts +11 -0
  137. package/dist/lib/components/useChart/lib.d.ts +2 -0
  138. package/dist/lib/components/useChart/types.d.ts +21 -0
  139. package/dist/lib/components/vxe-select/index.d.ts +24 -6
  140. package/dist/lib/components/vxe-select/src/vxe-select-types.d.ts +7 -1
  141. package/dist/lib/components/vxe-select/src/vxe-select.vue.d.ts +24 -6
  142. package/dist/lib/index.d.ts +4 -1
  143. package/dist/lib/utils/event.d.ts +35 -2
  144. package/dist/style.css +1 -6
  145. package/package.json +24 -18
  146. package/dist/lib/components/codeEditorModel/index.d.ts +0 -93
  147. package/dist/lib/components/list-page-layout/src/components/common/add-modal/add-modal.vue.d.ts +0 -21
@@ -0,0 +1,324 @@
1
+ import type { VxeTableProps, VxeTableDataRow, VxeGridInstance } from 'vxe-table';
2
+ import type { RequestMethod, ModalConfig, ModalType, OpenFuncType, TablePage } from './src/component/field-select-modal-types';
3
+ import type { UserOutlinedIconType } from '@ant-design/icons-vue/lib/icons/UserOutlined';
4
+ import type { RuleObject } from 'ant-design-vue/es/form';
5
+ import type { RecordStringNumber } from '../select-modal';
6
+ import type { ObjectMap } from '../list-page-layout';
7
+ import type { Request } from '@qqt-product/api/dist/utils/request';
8
+ import type { Form } from './src/audit-modal-type';
9
+ import type { DefineComponent, PropType, Ref, ComputedRef, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
10
+ import type { SFCWithInstall } from '@qqt-product/utils/dist/modules/withInstall';
11
+ import QImportModal from './src/audit-modal.vue';
12
+ export * from './src/audit-modal-type';
13
+ export { QImportModal };
14
+ declare const _default: SFCWithInstall<DefineComponent<{
15
+ visible: {
16
+ type: BooleanConstructor;
17
+ default: boolean;
18
+ };
19
+ currentRow: {
20
+ type: PropType<any>;
21
+ default(): {};
22
+ };
23
+ title: {
24
+ type: StringConstructor;
25
+ default: string;
26
+ };
27
+ businessType: {
28
+ type: StringConstructor;
29
+ default: string;
30
+ };
31
+ token: {
32
+ type: StringConstructor;
33
+ default: string;
34
+ };
35
+ busAccount: {
36
+ type: StringConstructor;
37
+ default: string;
38
+ };
39
+ form: {
40
+ type: PropType<Form[]>;
41
+ default: () => never[];
42
+ };
43
+ width: {
44
+ type: StringConstructor;
45
+ default: string;
46
+ };
47
+ taskAction: {
48
+ type: StringConstructor;
49
+ default: string;
50
+ };
51
+ needFlow: {
52
+ type: StringConstructor;
53
+ default: string;
54
+ };
55
+ flowIframeUrl: {
56
+ type: StringConstructor;
57
+ default: string;
58
+ };
59
+ 'onUpdate:visible': {
60
+ type: PropType<((value: string) => void) | ((value: string) => void)[]>;
61
+ default: unknown;
62
+ };
63
+ }, {
64
+ props: any;
65
+ emit: (event: "update:visible" | "ok" | "cancel", ...args: any[]) => void;
66
+ title: Ref<string>;
67
+ visible: Ref<boolean>;
68
+ form: Ref<Form[]>;
69
+ busAccount: Ref<string>;
70
+ currentRow: Ref<any>;
71
+ businessType: Ref<string>;
72
+ token: Ref<string>;
73
+ taskAction: Ref<string>;
74
+ needFlow: Ref<string>;
75
+ flowIframeUrl: Ref<string>;
76
+ handleCancel: () => void;
77
+ formRef: Ref<any>;
78
+ confirmLoading: Ref<boolean>;
79
+ submit: () => void;
80
+ Request: Request;
81
+ formState: ObjectMap;
82
+ fieldSelectModal: Ref<any>;
83
+ tagSelectOk: Ref<(data: RecordStringNumber[]) => void>;
84
+ selectUsers: Ref<((btn: Form) => void) | null>;
85
+ delnextNodeUsers: (options: any[], index: number, userIndex: number) => void;
86
+ selectnextNodeUsers: (index: number) => void;
87
+ delUsers: (index: number) => void;
88
+ getNextNode: () => void;
89
+ rules: ComputedRef<Record<string, RuleObject[]>>;
90
+ uploadDefaultValue: {
91
+ action: string;
92
+ headers: {
93
+ 'X-Access-Token': string;
94
+ };
95
+ accept: string;
96
+ };
97
+ readonly UserOutlined: UserOutlinedIconType;
98
+ qFieldSelectModal: DefineComponent<{
99
+ modalTitle: {
100
+ type: StringConstructor;
101
+ default: string;
102
+ };
103
+ apiUrls: {
104
+ type: StringConstructor;
105
+ default: string;
106
+ };
107
+ requestMethod: {
108
+ type: PropType<RequestMethod>;
109
+ default: string;
110
+ };
111
+ tableData: {
112
+ type: PropType<Record<string, unknown>[]>;
113
+ default: () => null;
114
+ };
115
+ modalConfig: {
116
+ type: PropType<ModalConfig>;
117
+ default: () => {};
118
+ };
119
+ handleListData: {
120
+ type: FunctionConstructor;
121
+ };
122
+ tableConfig: {
123
+ type: PropType<VxeTableProps<VxeTableDataRow>>;
124
+ default: () => {
125
+ height: number;
126
+ isTree: boolean;
127
+ radioConfig: {};
128
+ checkedConfig: {
129
+ highlight: boolean;
130
+ reserve: boolean;
131
+ trigger: string;
132
+ };
133
+ pagerConfig: {};
134
+ treeConfig: {};
135
+ };
136
+ };
137
+ placeholder: {
138
+ type: StringConstructor;
139
+ default: string;
140
+ };
141
+ selectModal: {
142
+ type: PropType<ModalType>;
143
+ default: string;
144
+ };
145
+ }, {
146
+ classes: ComputedRef<{
147
+ [x: string]: boolean;
148
+ }>;
149
+ selectGrid: Ref<VxeGridInstance<any> | null>;
150
+ data: {
151
+ url: string;
152
+ params: {
153
+ [x: string]: any;
154
+ pageNo: number;
155
+ pageSize: number;
156
+ keyWord?: string | undefined;
157
+ total?: number | undefined;
158
+ align?: string | undefined;
159
+ pageSizes?: number[] | undefined;
160
+ layouts?: string[] | undefined;
161
+ perfect?: boolean | undefined;
162
+ };
163
+ modalLoading: boolean;
164
+ loading: boolean;
165
+ };
166
+ modalShow: Ref<boolean>;
167
+ modalConfigComputed: ComputedRef<any>;
168
+ tableConfigComputed: ComputedRef<any>;
169
+ tablePage: {
170
+ currentPage: number;
171
+ pageSize: number;
172
+ total?: number | undefined;
173
+ align?: string | undefined;
174
+ pageSizes?: number[] | undefined;
175
+ layouts?: string[] | undefined;
176
+ perfect?: boolean | undefined;
177
+ };
178
+ tableData: Ref<Record<string, unknown>[]>;
179
+ columns: Ref<{
180
+ type?: string | undefined;
181
+ field?: string | undefined;
182
+ title?: string | undefined;
183
+ align?: string | undefined;
184
+ fieldLabelI18nKey?: string | undefined;
185
+ width?: number | undefined;
186
+ }[]>;
187
+ form: Record<string, unknown>;
188
+ selectModal: Ref<ModalType>;
189
+ getPagerConfig: ComputedRef<any>;
190
+ modalTitle: Ref<string>;
191
+ placeholder: Ref<string>;
192
+ open: ({ url, params, columns: col, selectModal: sm, requestMethod: rm }: OpenFuncType) => void;
193
+ close: () => void;
194
+ onSearch: () => void;
195
+ handlePageChange: ({ currentPage, pageSize }: TablePage) => void;
196
+ selectedOk: () => void;
197
+ loadData: (extend?: {
198
+ action: string;
199
+ } | undefined) => void;
200
+ }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
201
+ modalTitle: {
202
+ type: StringConstructor;
203
+ default: string;
204
+ };
205
+ apiUrls: {
206
+ type: StringConstructor;
207
+ default: string;
208
+ };
209
+ requestMethod: {
210
+ type: PropType<RequestMethod>;
211
+ default: string;
212
+ };
213
+ tableData: {
214
+ type: PropType<Record<string, unknown>[]>;
215
+ default: () => null;
216
+ };
217
+ modalConfig: {
218
+ type: PropType<ModalConfig>;
219
+ default: () => {};
220
+ };
221
+ handleListData: {
222
+ type: FunctionConstructor;
223
+ };
224
+ tableConfig: {
225
+ type: PropType<VxeTableProps<VxeTableDataRow>>;
226
+ default: () => {
227
+ height: number;
228
+ isTree: boolean;
229
+ radioConfig: {};
230
+ checkedConfig: {
231
+ highlight: boolean;
232
+ reserve: boolean;
233
+ trigger: string;
234
+ };
235
+ pagerConfig: {};
236
+ treeConfig: {};
237
+ };
238
+ };
239
+ placeholder: {
240
+ type: StringConstructor;
241
+ default: string;
242
+ };
243
+ selectModal: {
244
+ type: PropType<ModalType>;
245
+ default: string;
246
+ };
247
+ }>>, {
248
+ modalTitle: string;
249
+ apiUrls: string;
250
+ requestMethod: RequestMethod;
251
+ tableData: Record<string, unknown>[];
252
+ modalConfig: ModalConfig;
253
+ tableConfig: VxeTableProps<VxeTableDataRow>;
254
+ placeholder: string;
255
+ selectModal: ModalType;
256
+ }, {}>;
257
+ }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("update:visible" | "ok" | "cancel")[], "update:visible" | "ok" | "cancel", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
258
+ visible: {
259
+ type: BooleanConstructor;
260
+ default: boolean;
261
+ };
262
+ currentRow: {
263
+ type: PropType<any>;
264
+ default(): {};
265
+ };
266
+ title: {
267
+ type: StringConstructor;
268
+ default: string;
269
+ };
270
+ businessType: {
271
+ type: StringConstructor;
272
+ default: string;
273
+ };
274
+ token: {
275
+ type: StringConstructor;
276
+ default: string;
277
+ };
278
+ busAccount: {
279
+ type: StringConstructor;
280
+ default: string;
281
+ };
282
+ form: {
283
+ type: PropType<Form[]>;
284
+ default: () => never[];
285
+ };
286
+ width: {
287
+ type: StringConstructor;
288
+ default: string;
289
+ };
290
+ taskAction: {
291
+ type: StringConstructor;
292
+ default: string;
293
+ };
294
+ needFlow: {
295
+ type: StringConstructor;
296
+ default: string;
297
+ };
298
+ flowIframeUrl: {
299
+ type: StringConstructor;
300
+ default: string;
301
+ };
302
+ 'onUpdate:visible': {
303
+ type: PropType<((value: string) => void) | ((value: string) => void)[]>;
304
+ default: unknown;
305
+ };
306
+ }>> & {
307
+ "onUpdate:visible"?: ((...args: any[]) => any) | undefined;
308
+ onOk?: ((...args: any[]) => any) | undefined;
309
+ onCancel?: ((...args: any[]) => any) | undefined;
310
+ }, {
311
+ title: string;
312
+ 'onUpdate:visible': ((value: string) => void) | ((value: string) => void)[];
313
+ visible: boolean;
314
+ currentRow: any;
315
+ businessType: string;
316
+ token: string;
317
+ busAccount: string;
318
+ form: Form[];
319
+ width: string;
320
+ taskAction: string;
321
+ needFlow: string;
322
+ flowIframeUrl: string;
323
+ }, {}>>;
324
+ export default _default;
@@ -0,0 +1,65 @@
1
+ import type { ExtractPropTypes, PropType } from 'vue';
2
+ import { ObjectMap } from '../../list-page-layout';
3
+ export declare const auditModalProps: {
4
+ visible: {
5
+ type: BooleanConstructor;
6
+ default: boolean;
7
+ };
8
+ currentRow: {
9
+ type: PropType<any>;
10
+ default(): {};
11
+ };
12
+ title: {
13
+ type: StringConstructor;
14
+ default: string;
15
+ };
16
+ businessType: {
17
+ type: StringConstructor;
18
+ default: string;
19
+ };
20
+ token: {
21
+ type: StringConstructor;
22
+ default: string;
23
+ };
24
+ busAccount: {
25
+ type: StringConstructor;
26
+ default: string;
27
+ };
28
+ form: {
29
+ type: PropType<Form[]>;
30
+ default: () => never[];
31
+ };
32
+ width: {
33
+ type: StringConstructor;
34
+ default: string;
35
+ };
36
+ taskAction: {
37
+ type: StringConstructor;
38
+ default: string;
39
+ };
40
+ needFlow: {
41
+ type: StringConstructor;
42
+ default: string;
43
+ };
44
+ flowIframeUrl: {
45
+ type: StringConstructor;
46
+ default: string;
47
+ };
48
+ 'onUpdate:visible': {
49
+ type: PropType<((value: string) => void) | ((value: string) => void)[]>;
50
+ default: unknown;
51
+ };
52
+ };
53
+ export interface Form {
54
+ type: string;
55
+ label: string;
56
+ fieldName: string;
57
+ required?: string;
58
+ attrs?: ObjectMap;
59
+ extends?: ObjectMap;
60
+ dictCode?: string;
61
+ options?: any[];
62
+ click?: (args: object, formState?: ObjectMap) => void;
63
+ [key: string]: unknown;
64
+ }
65
+ export type AuditModalProps = ExtractPropTypes<typeof auditModalProps>;
@@ -0,0 +1,320 @@
1
+ import type { VxeTableProps, VxeTableDataRow, VxeGridInstance } from 'vxe-table';
2
+ import type { RequestMethod, ModalConfig, ModalType, OpenFuncType, TablePage } from './component/field-select-modal-types';
3
+ import type { UserOutlinedIconType } from '@ant-design/icons-vue/lib/icons/UserOutlined';
4
+ import type { RuleObject } from 'ant-design-vue/es/form';
5
+ import type { RecordStringNumber } from '../../select-modal';
6
+ import type { Form } from './audit-modal-type';
7
+ import type { DefineComponent, PropType, Ref, ComputedRef, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
8
+ import { ObjectMap } from '../../list-page-layout/src/list-page-layout-types';
9
+ import qqtApi from '@qqt-product/api';
10
+ declare const _sfc_main: DefineComponent<{
11
+ visible: {
12
+ type: BooleanConstructor;
13
+ default: boolean;
14
+ };
15
+ currentRow: {
16
+ type: PropType<any>;
17
+ default(): {};
18
+ };
19
+ title: {
20
+ type: StringConstructor;
21
+ default: string;
22
+ };
23
+ businessType: {
24
+ type: StringConstructor;
25
+ default: string;
26
+ };
27
+ token: {
28
+ type: StringConstructor;
29
+ default: string;
30
+ };
31
+ busAccount: {
32
+ type: StringConstructor;
33
+ default: string;
34
+ };
35
+ form: {
36
+ type: PropType<Form[]>;
37
+ default: () => never[];
38
+ };
39
+ width: {
40
+ type: StringConstructor;
41
+ default: string;
42
+ };
43
+ taskAction: {
44
+ type: StringConstructor;
45
+ default: string;
46
+ };
47
+ needFlow: {
48
+ type: StringConstructor;
49
+ default: string;
50
+ };
51
+ flowIframeUrl: {
52
+ type: StringConstructor;
53
+ default: string;
54
+ };
55
+ 'onUpdate:visible': {
56
+ type: PropType<((value: string) => void) | ((value: string) => void)[]>;
57
+ default: unknown;
58
+ };
59
+ }, {
60
+ props: any;
61
+ emit: (event: "update:visible" | "ok" | "cancel", ...args: any[]) => void;
62
+ title: Ref<string>;
63
+ visible: Ref<boolean>;
64
+ form: Ref<Form[]>;
65
+ busAccount: Ref<string>;
66
+ currentRow: Ref<any>;
67
+ businessType: Ref<string>;
68
+ token: Ref<string>;
69
+ taskAction: Ref<string>;
70
+ needFlow: Ref<string>;
71
+ flowIframeUrl: Ref<string>;
72
+ handleCancel: () => void;
73
+ formRef: Ref<any>;
74
+ confirmLoading: Ref<boolean>;
75
+ submit: () => void;
76
+ Request: qqtApi.Request;
77
+ formState: ObjectMap;
78
+ fieldSelectModal: Ref<any>;
79
+ tagSelectOk: Ref<(data: RecordStringNumber[]) => void>;
80
+ selectUsers: Ref<((btn: Form) => void) | null>;
81
+ delnextNodeUsers: (options: any[], index: number, userIndex: number) => void;
82
+ selectnextNodeUsers: (index: number) => void;
83
+ delUsers: (index: number) => void;
84
+ getNextNode: () => void;
85
+ rules: ComputedRef<Record<string, RuleObject[]>>;
86
+ uploadDefaultValue: {
87
+ action: string;
88
+ headers: {
89
+ 'X-Access-Token': string;
90
+ };
91
+ accept: string;
92
+ };
93
+ readonly UserOutlined: UserOutlinedIconType;
94
+ qFieldSelectModal: DefineComponent<{
95
+ modalTitle: {
96
+ type: StringConstructor;
97
+ default: string;
98
+ };
99
+ apiUrls: {
100
+ type: StringConstructor;
101
+ default: string;
102
+ };
103
+ requestMethod: {
104
+ type: PropType<RequestMethod>;
105
+ default: string;
106
+ };
107
+ tableData: {
108
+ type: PropType<Record<string, unknown>[]>;
109
+ default: () => null;
110
+ };
111
+ modalConfig: {
112
+ type: PropType<ModalConfig>;
113
+ default: () => {};
114
+ };
115
+ handleListData: {
116
+ type: FunctionConstructor;
117
+ };
118
+ tableConfig: {
119
+ type: PropType<VxeTableProps<VxeTableDataRow>>;
120
+ default: () => {
121
+ height: number;
122
+ isTree: boolean;
123
+ radioConfig: {};
124
+ checkedConfig: {
125
+ highlight: boolean;
126
+ reserve: boolean;
127
+ trigger: string;
128
+ };
129
+ pagerConfig: {};
130
+ treeConfig: {};
131
+ };
132
+ };
133
+ placeholder: {
134
+ type: StringConstructor;
135
+ default: string;
136
+ };
137
+ selectModal: {
138
+ type: PropType<ModalType>;
139
+ default: string;
140
+ };
141
+ }, {
142
+ classes: ComputedRef<{
143
+ [x: string]: boolean;
144
+ }>;
145
+ selectGrid: Ref<VxeGridInstance<any> | null>;
146
+ data: {
147
+ url: string;
148
+ params: {
149
+ [x: string]: any;
150
+ pageNo: number;
151
+ pageSize: number;
152
+ keyWord?: string | undefined;
153
+ total?: number | undefined;
154
+ align?: string | undefined;
155
+ pageSizes?: number[] | undefined;
156
+ layouts?: string[] | undefined;
157
+ perfect?: boolean | undefined;
158
+ };
159
+ modalLoading: boolean;
160
+ loading: boolean;
161
+ };
162
+ modalShow: Ref<boolean>;
163
+ modalConfigComputed: ComputedRef<any>;
164
+ tableConfigComputed: ComputedRef<any>;
165
+ tablePage: {
166
+ currentPage: number;
167
+ pageSize: number;
168
+ total?: number | undefined;
169
+ align?: string | undefined;
170
+ pageSizes?: number[] | undefined;
171
+ layouts?: string[] | undefined;
172
+ perfect?: boolean | undefined;
173
+ };
174
+ tableData: Ref<Record<string, unknown>[]>;
175
+ columns: Ref<{
176
+ type?: string | undefined;
177
+ field?: string | undefined;
178
+ title?: string | undefined;
179
+ align?: string | undefined;
180
+ fieldLabelI18nKey?: string | undefined;
181
+ width?: number | undefined;
182
+ }[]>;
183
+ form: Record<string, unknown>;
184
+ selectModal: Ref<ModalType>;
185
+ getPagerConfig: ComputedRef<any>;
186
+ modalTitle: Ref<string>;
187
+ placeholder: Ref<string>;
188
+ open: ({ url, params, columns: col, selectModal: sm, requestMethod: rm }: OpenFuncType) => void;
189
+ close: () => void;
190
+ onSearch: () => void;
191
+ handlePageChange: ({ currentPage, pageSize }: TablePage) => void;
192
+ selectedOk: () => void;
193
+ loadData: (extend?: {
194
+ action: string;
195
+ } | undefined) => void;
196
+ }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
197
+ modalTitle: {
198
+ type: StringConstructor;
199
+ default: string;
200
+ };
201
+ apiUrls: {
202
+ type: StringConstructor;
203
+ default: string;
204
+ };
205
+ requestMethod: {
206
+ type: PropType<RequestMethod>;
207
+ default: string;
208
+ };
209
+ tableData: {
210
+ type: PropType<Record<string, unknown>[]>;
211
+ default: () => null;
212
+ };
213
+ modalConfig: {
214
+ type: PropType<ModalConfig>;
215
+ default: () => {};
216
+ };
217
+ handleListData: {
218
+ type: FunctionConstructor;
219
+ };
220
+ tableConfig: {
221
+ type: PropType<VxeTableProps<VxeTableDataRow>>;
222
+ default: () => {
223
+ height: number;
224
+ isTree: boolean;
225
+ radioConfig: {};
226
+ checkedConfig: {
227
+ highlight: boolean;
228
+ reserve: boolean;
229
+ trigger: string;
230
+ };
231
+ pagerConfig: {};
232
+ treeConfig: {};
233
+ };
234
+ };
235
+ placeholder: {
236
+ type: StringConstructor;
237
+ default: string;
238
+ };
239
+ selectModal: {
240
+ type: PropType<ModalType>;
241
+ default: string;
242
+ };
243
+ }>>, {
244
+ modalTitle: string;
245
+ apiUrls: string;
246
+ requestMethod: RequestMethod;
247
+ tableData: Record<string, unknown>[];
248
+ modalConfig: ModalConfig;
249
+ tableConfig: VxeTableProps<VxeTableDataRow>;
250
+ placeholder: string;
251
+ selectModal: ModalType;
252
+ }, {}>;
253
+ }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("update:visible" | "ok" | "cancel")[], "update:visible" | "ok" | "cancel", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
254
+ visible: {
255
+ type: BooleanConstructor;
256
+ default: boolean;
257
+ };
258
+ currentRow: {
259
+ type: PropType<any>;
260
+ default(): {};
261
+ };
262
+ title: {
263
+ type: StringConstructor;
264
+ default: string;
265
+ };
266
+ businessType: {
267
+ type: StringConstructor;
268
+ default: string;
269
+ };
270
+ token: {
271
+ type: StringConstructor;
272
+ default: string;
273
+ };
274
+ busAccount: {
275
+ type: StringConstructor;
276
+ default: string;
277
+ };
278
+ form: {
279
+ type: PropType<Form[]>;
280
+ default: () => never[];
281
+ };
282
+ width: {
283
+ type: StringConstructor;
284
+ default: string;
285
+ };
286
+ taskAction: {
287
+ type: StringConstructor;
288
+ default: string;
289
+ };
290
+ needFlow: {
291
+ type: StringConstructor;
292
+ default: string;
293
+ };
294
+ flowIframeUrl: {
295
+ type: StringConstructor;
296
+ default: string;
297
+ };
298
+ 'onUpdate:visible': {
299
+ type: PropType<((value: string) => void) | ((value: string) => void)[]>;
300
+ default: unknown;
301
+ };
302
+ }>> & {
303
+ "onUpdate:visible"?: ((...args: any[]) => any) | undefined;
304
+ onOk?: ((...args: any[]) => any) | undefined;
305
+ onCancel?: ((...args: any[]) => any) | undefined;
306
+ }, {
307
+ title: string;
308
+ 'onUpdate:visible': ((value: string) => void) | ((value: string) => void)[];
309
+ visible: boolean;
310
+ currentRow: any;
311
+ businessType: string;
312
+ token: string;
313
+ busAccount: string;
314
+ form: Form[];
315
+ width: string;
316
+ taskAction: string;
317
+ needFlow: string;
318
+ flowIframeUrl: string;
319
+ }, {}>;
320
+ export default _sfc_main;