@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,406 @@
1
+ import type { ObjectMap } from '../../../list-page-layout';
2
+ import type { Form } from '../audit-modal-type';
3
+ import type { DefineComponent, PropType, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
4
+ import qqtApi from '@qqt-product/api';
5
+ import type { VxeColumnSlotTypes, VxeTableDataRow, SlotVNodeType, VxeColumnPropTypes, VxeTablePropTypes, VxeTooltipPropTypes, VxeTableDefines, VxeGridPropTypes, VxeGridProps } from 'vxe-table';
6
+ declare const _sfc_main: DefineComponent<{
7
+ visible: {
8
+ type: BooleanConstructor;
9
+ default: boolean;
10
+ };
11
+ currentRow: {
12
+ type: PropType<any>;
13
+ default(): {};
14
+ };
15
+ title: {
16
+ type: StringConstructor;
17
+ default: string;
18
+ };
19
+ businessType: {
20
+ type: StringConstructor;
21
+ default: string;
22
+ };
23
+ token: {
24
+ type: StringConstructor;
25
+ default: string;
26
+ };
27
+ busAccount: {
28
+ type: StringConstructor;
29
+ default: string;
30
+ };
31
+ form: {
32
+ type: PropType<Form[]>;
33
+ default: () => never[];
34
+ };
35
+ width: {
36
+ type: StringConstructor;
37
+ default: string;
38
+ };
39
+ taskAction: {
40
+ type: StringConstructor;
41
+ default: string;
42
+ };
43
+ needFlow: {
44
+ type: StringConstructor;
45
+ default: string;
46
+ };
47
+ flowIframeUrl: {
48
+ type: StringConstructor;
49
+ default: string;
50
+ };
51
+ 'onUpdate:visible': {
52
+ type: PropType<((value: string) => void) | ((value: string) => void)[]>;
53
+ default: unknown;
54
+ };
55
+ }, {
56
+ props: any;
57
+ emit: (event: "update:visible" | "ok" | "cancel", ...args: any[]) => void;
58
+ confirmLoading: Ref<boolean>;
59
+ title: Ref<string>;
60
+ visible: Ref<boolean>;
61
+ handleCancel: () => void;
62
+ submit: () => void;
63
+ customLoading: Ref<boolean>;
64
+ useAttachmentSlots: () => {
65
+ default: ({ row }: {
66
+ row: ObjectMap;
67
+ }) => any;
68
+ };
69
+ tableColumns: {
70
+ children?: any[] | undefined;
71
+ slots?: {
72
+ title?: string | ((params: VxeColumnSlotTypes.HeaderSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
73
+ radio?: string | ((params: VxeColumnSlotTypes.DefaultSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
74
+ checkbox?: string | ((params: VxeColumnSlotTypes.DefaultSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
75
+ default?: string | ((params: VxeColumnSlotTypes.DefaultSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
76
+ header?: string | ((params: VxeColumnSlotTypes.HeaderSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
77
+ footer?: string | ((params: VxeColumnSlotTypes.FooterSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
78
+ content?: string | ((params: VxeColumnSlotTypes.ContentSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
79
+ filter?: string | ((params: VxeColumnSlotTypes.FilterSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
80
+ edit?: string | ((params: VxeColumnSlotTypes.EditSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
81
+ icon?: string | ((params: VxeColumnSlotTypes.IconSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
82
+ } | undefined;
83
+ colId?: VxeColumnPropTypes.ColId | undefined;
84
+ type?: VxeColumnPropTypes.Type | undefined;
85
+ field?: string | undefined;
86
+ title?: string | undefined;
87
+ width?: VxeColumnPropTypes.Width | undefined;
88
+ minWidth?: VxeColumnPropTypes.MinWidth | undefined;
89
+ maxWidth?: VxeColumnPropTypes.MaxWidth | undefined;
90
+ resizable?: boolean | undefined;
91
+ fixed?: VxeColumnPropTypes.Fixed | undefined;
92
+ align?: VxeColumnPropTypes.Align | undefined;
93
+ headerAlign?: VxeColumnPropTypes.Align | undefined;
94
+ footerAlign?: VxeColumnPropTypes.Align | undefined;
95
+ showOverflow?: VxeTablePropTypes.ShowOverflow | undefined;
96
+ showHeaderOverflow?: VxeTablePropTypes.ShowOverflow | undefined;
97
+ showFooterOverflow?: VxeTablePropTypes.ShowOverflow | undefined;
98
+ className?: VxeColumnPropTypes.ClassName<VxeTableDataRow> | undefined;
99
+ headerClassName?: VxeColumnPropTypes.HeaderClassName<VxeTableDataRow> | undefined;
100
+ footerClassName?: VxeColumnPropTypes.FooterClassName<VxeTableDataRow> | undefined;
101
+ formatter?: VxeColumnPropTypes.Formatter<VxeTableDataRow> | undefined;
102
+ sortable?: boolean | undefined;
103
+ sortBy?: VxeColumnPropTypes.SortBy<VxeTableDataRow> | undefined;
104
+ sortType?: VxeColumnPropTypes.SortType | undefined;
105
+ filters?: {
106
+ label?: string | number | undefined;
107
+ value?: any;
108
+ data?: any;
109
+ resetValue?: any;
110
+ checked?: boolean | undefined;
111
+ }[] | undefined;
112
+ filterMultiple?: boolean | undefined;
113
+ filterMethod?: VxeColumnPropTypes.FilterMethod<VxeTableDataRow> | undefined;
114
+ filterRender?: {
115
+ options?: any[] | undefined;
116
+ optionProps?: {
117
+ value?: string | undefined;
118
+ label?: string | undefined;
119
+ key?: string | undefined;
120
+ } | undefined;
121
+ optionGroups?: any[] | undefined;
122
+ optionGroupProps?: {
123
+ options?: string | undefined;
124
+ label?: string | undefined;
125
+ key?: string | undefined;
126
+ } | undefined;
127
+ content?: string | undefined;
128
+ name?: string | undefined;
129
+ props?: {
130
+ [key: string]: any;
131
+ } | undefined;
132
+ attrs?: {
133
+ [key: string]: any;
134
+ } | undefined;
135
+ events?: {
136
+ [key: string]: (...args: any[]) => any;
137
+ } | undefined;
138
+ children?: any[] | undefined;
139
+ cellType?: "string" | "number" | undefined;
140
+ } | undefined;
141
+ treeNode?: boolean | undefined;
142
+ visible?: boolean | undefined;
143
+ exportMethod?: VxeColumnPropTypes.ExportMethod<VxeTableDataRow> | undefined;
144
+ footerExportMethod?: VxeColumnPropTypes.FooterExportMethod<VxeTableDataRow> | undefined;
145
+ titleHelp?: {
146
+ useHTML?: boolean | undefined;
147
+ content?: VxeTooltipPropTypes.Content | undefined;
148
+ enterable?: boolean | undefined;
149
+ theme?: string | undefined;
150
+ icon?: string | undefined;
151
+ message?: string | undefined;
152
+ } | undefined;
153
+ titlePrefix?: {
154
+ useHTML?: boolean | undefined;
155
+ content?: VxeTooltipPropTypes.Content | undefined;
156
+ enterable?: boolean | undefined;
157
+ theme?: string | undefined;
158
+ icon?: string | undefined;
159
+ message?: string | undefined;
160
+ } | undefined;
161
+ cellType?: VxeColumnPropTypes.CellType | undefined;
162
+ cellRender?: {
163
+ events?: {
164
+ [key: string]: (cellParams: VxeColumnSlotTypes.DefaultSlotParams<VxeTableDataRow>, ...args: any[]) => any;
165
+ } | undefined;
166
+ options?: any[] | undefined;
167
+ optionProps?: {
168
+ value?: string | undefined;
169
+ label?: string | undefined;
170
+ key?: string | undefined;
171
+ } | undefined;
172
+ optionGroups?: any[] | undefined;
173
+ optionGroupProps?: {
174
+ options?: string | undefined;
175
+ label?: string | undefined;
176
+ key?: string | undefined;
177
+ } | undefined;
178
+ content?: string | undefined;
179
+ name?: string | undefined;
180
+ props?: {
181
+ [key: string]: any;
182
+ } | undefined;
183
+ attrs?: {
184
+ [key: string]: any;
185
+ } | undefined;
186
+ children?: any[] | undefined;
187
+ cellType?: "string" | "number" | undefined;
188
+ } | undefined;
189
+ editRender?: {
190
+ events?: {
191
+ [key: string]: (cellParams: VxeColumnSlotTypes.EditSlotParams<VxeTableDataRow>, ...args: any[]) => any;
192
+ } | undefined;
193
+ enabled?: boolean | undefined;
194
+ options?: any[] | undefined;
195
+ optionProps?: {
196
+ value?: string | undefined;
197
+ label?: string | undefined;
198
+ key?: string | undefined;
199
+ } | undefined;
200
+ optionGroups?: any[] | undefined;
201
+ optionGroupProps?: {
202
+ options?: string | undefined;
203
+ label?: string | undefined;
204
+ key?: string | undefined;
205
+ } | undefined;
206
+ autofocus?: string | undefined;
207
+ autoselect?: boolean | undefined;
208
+ defaultValue?: string | number | object | any[] | ((params: {
209
+ column: VxeTableDefines.ColumnInfo<VxeTableDataRow>;
210
+ }) => any) | {
211
+ exec: (string: string) => RegExpExecArray | null;
212
+ test: (string: string) => boolean;
213
+ readonly source: string;
214
+ readonly global: boolean;
215
+ readonly ignoreCase: boolean;
216
+ readonly multiline: boolean;
217
+ lastIndex: number;
218
+ compile: (pattern: string, flags?: string | undefined) => RegExp;
219
+ readonly flags: string;
220
+ readonly sticky: boolean;
221
+ readonly unicode: boolean;
222
+ readonly dotAll: boolean;
223
+ [Symbol.match]: (string: string) => RegExpMatchArray | null;
224
+ [Symbol.replace]: {
225
+ (string: string, replaceValue: string): string;
226
+ (string: string, replacer: (substring: string, ...args: any[]) => string): string;
227
+ };
228
+ [Symbol.search]: (string: string) => number;
229
+ [Symbol.split]: (string: string, limit?: number | undefined) => string[];
230
+ [Symbol.matchAll]: (str: string) => IterableIterator<RegExpMatchArray>;
231
+ } | {
232
+ toString: () => string;
233
+ toDateString: () => string;
234
+ toTimeString: () => string;
235
+ toLocaleString: {
236
+ (): string;
237
+ (locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
238
+ (locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
239
+ };
240
+ toLocaleDateString: {
241
+ (): string;
242
+ (locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
243
+ (locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
244
+ };
245
+ toLocaleTimeString: {
246
+ (): string;
247
+ (locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
248
+ (locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
249
+ };
250
+ valueOf: () => number;
251
+ getTime: () => number;
252
+ getFullYear: () => number;
253
+ getUTCFullYear: () => number;
254
+ getMonth: () => number;
255
+ getUTCMonth: () => number;
256
+ getDate: () => number;
257
+ getUTCDate: () => number;
258
+ getDay: () => number;
259
+ getUTCDay: () => number;
260
+ getHours: () => number;
261
+ getUTCHours: () => number;
262
+ getMinutes: () => number;
263
+ getUTCMinutes: () => number;
264
+ getSeconds: () => number;
265
+ getUTCSeconds: () => number;
266
+ getMilliseconds: () => number;
267
+ getUTCMilliseconds: () => number;
268
+ getTimezoneOffset: () => number;
269
+ setTime: (time: number) => number;
270
+ setMilliseconds: (ms: number) => number;
271
+ setUTCMilliseconds: (ms: number) => number;
272
+ setSeconds: (sec: number, ms?: number | undefined) => number;
273
+ setUTCSeconds: (sec: number, ms?: number | undefined) => number;
274
+ setMinutes: (min: number, sec?: number | undefined, ms?: number | undefined) => number;
275
+ setUTCMinutes: (min: number, sec?: number | undefined, ms?: number | undefined) => number;
276
+ setHours: (hours: number, min?: number | undefined, sec?: number | undefined, ms?: number | undefined) => number;
277
+ setUTCHours: (hours: number, min?: number | undefined, sec?: number | undefined, ms?: number | undefined) => number;
278
+ setDate: (date: number) => number;
279
+ setUTCDate: (date: number) => number;
280
+ setMonth: (month: number, date?: number | undefined) => number;
281
+ setUTCMonth: (month: number, date?: number | undefined) => number;
282
+ setFullYear: (year: number, month?: number | undefined, date?: number | undefined) => number;
283
+ setUTCFullYear: (year: number, month?: number | undefined, date?: number | undefined) => number;
284
+ toUTCString: () => string;
285
+ toISOString: () => string;
286
+ toJSON: (key?: any) => string;
287
+ [Symbol.toPrimitive]: {
288
+ (hint: "default"): string;
289
+ (hint: "string"): string;
290
+ (hint: "number"): number;
291
+ (hint: string): string | number;
292
+ };
293
+ } | null | undefined;
294
+ immediate?: boolean | undefined;
295
+ content?: string | undefined;
296
+ placeholder?: string | undefined;
297
+ name?: string | undefined;
298
+ props?: {
299
+ [key: string]: any;
300
+ } | undefined;
301
+ attrs?: {
302
+ [key: string]: any;
303
+ } | undefined;
304
+ children?: any[] | undefined;
305
+ cellType?: "string" | "number" | undefined;
306
+ } | undefined;
307
+ contentRender?: {
308
+ options?: any[] | undefined;
309
+ optionProps?: {
310
+ value?: string | undefined;
311
+ label?: string | undefined;
312
+ key?: string | undefined;
313
+ } | undefined;
314
+ optionGroups?: any[] | undefined;
315
+ optionGroupProps?: {
316
+ options?: string | undefined;
317
+ label?: string | undefined;
318
+ key?: string | undefined;
319
+ } | undefined;
320
+ name?: string | undefined;
321
+ props?: {
322
+ [key: string]: any;
323
+ } | undefined;
324
+ attrs?: {
325
+ [key: string]: any;
326
+ } | undefined;
327
+ events?: {
328
+ [key: string]: (...args: any[]) => any;
329
+ } | undefined;
330
+ children?: any[] | undefined;
331
+ cellType?: "string" | "number" | undefined;
332
+ } | undefined;
333
+ params?: any;
334
+ }[];
335
+ tableData: Ref<VxeGridPropTypes.Columns<VxeTableDataRow> | undefined>;
336
+ Request: qqtApi.Request;
337
+ gridConfig: VxeGridProps<VxeTableDataRow>;
338
+ getHistoryTableData: () => void;
339
+ }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("update:visible" | "ok" | "cancel")[], "update:visible" | "ok" | "cancel", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
340
+ visible: {
341
+ type: BooleanConstructor;
342
+ default: boolean;
343
+ };
344
+ currentRow: {
345
+ type: PropType<any>;
346
+ default(): {};
347
+ };
348
+ title: {
349
+ type: StringConstructor;
350
+ default: string;
351
+ };
352
+ businessType: {
353
+ type: StringConstructor;
354
+ default: string;
355
+ };
356
+ token: {
357
+ type: StringConstructor;
358
+ default: string;
359
+ };
360
+ busAccount: {
361
+ type: StringConstructor;
362
+ default: string;
363
+ };
364
+ form: {
365
+ type: PropType<Form[]>;
366
+ default: () => never[];
367
+ };
368
+ width: {
369
+ type: StringConstructor;
370
+ default: string;
371
+ };
372
+ taskAction: {
373
+ type: StringConstructor;
374
+ default: string;
375
+ };
376
+ needFlow: {
377
+ type: StringConstructor;
378
+ default: string;
379
+ };
380
+ flowIframeUrl: {
381
+ type: StringConstructor;
382
+ default: string;
383
+ };
384
+ 'onUpdate:visible': {
385
+ type: PropType<((value: string) => void) | ((value: string) => void)[]>;
386
+ default: unknown;
387
+ };
388
+ }>> & {
389
+ "onUpdate:visible"?: ((...args: any[]) => any) | undefined;
390
+ onOk?: ((...args: any[]) => any) | undefined;
391
+ onCancel?: ((...args: any[]) => any) | undefined;
392
+ }, {
393
+ title: string;
394
+ 'onUpdate:visible': ((value: string) => void) | ((value: string) => void)[];
395
+ visible: boolean;
396
+ currentRow: any;
397
+ businessType: string;
398
+ token: string;
399
+ busAccount: string;
400
+ form: Form[];
401
+ width: string;
402
+ taskAction: string;
403
+ needFlow: string;
404
+ flowIframeUrl: string;
405
+ }, {}>;
406
+ export default _sfc_main;
@@ -0,0 +1,93 @@
1
+ import type { ExtractPropTypes, PropType } from 'vue';
2
+ import type { VxeTableDataRow, VxeTableProps } from 'vxe-table';
3
+ export interface ModalConfig {
4
+ isTree?: boolean;
5
+ }
6
+ export type RequestMethod = 'get' | 'post';
7
+ export type TableConfig = VxeTableProps;
8
+ export type ModalType = 'single' | 'multiple' | 'none' | '';
9
+ export interface Columns {
10
+ type?: string;
11
+ field?: string;
12
+ title?: string;
13
+ align?: string;
14
+ fieldLabelI18nKey?: string;
15
+ width?: number;
16
+ }
17
+ export interface OpenFuncType {
18
+ url: string;
19
+ params?: object;
20
+ columns: Columns[];
21
+ selectModal?: ModalType;
22
+ requestMethod?: RequestMethod;
23
+ }
24
+ interface BasePage {
25
+ total?: number;
26
+ align?: string;
27
+ pageSizes?: number[];
28
+ layouts?: string[];
29
+ perfect?: boolean;
30
+ }
31
+ export interface TablePage extends BasePage {
32
+ currentPage: number;
33
+ pageSize: number;
34
+ }
35
+ export interface Params extends BasePage {
36
+ pageNo: number;
37
+ pageSize: number;
38
+ keyWord?: string;
39
+ [key: string]: any;
40
+ }
41
+ export interface EmptyObj {
42
+ [key: string]: never;
43
+ }
44
+ export declare const fieldSelectModalProps: {
45
+ modalTitle: {
46
+ type: StringConstructor;
47
+ default: string;
48
+ };
49
+ apiUrls: {
50
+ type: StringConstructor;
51
+ default: string;
52
+ };
53
+ requestMethod: {
54
+ type: PropType<RequestMethod>;
55
+ default: string;
56
+ };
57
+ tableData: {
58
+ type: PropType<Record<string, unknown>[]>;
59
+ default: () => null;
60
+ };
61
+ modalConfig: {
62
+ type: PropType<ModalConfig>;
63
+ default: () => {};
64
+ };
65
+ handleListData: {
66
+ type: FunctionConstructor;
67
+ };
68
+ tableConfig: {
69
+ type: PropType<VxeTableProps<VxeTableDataRow>>;
70
+ default: () => {
71
+ height: number;
72
+ isTree: boolean;
73
+ radioConfig: {};
74
+ checkedConfig: {
75
+ highlight: boolean;
76
+ reserve: boolean;
77
+ trigger: string;
78
+ };
79
+ pagerConfig: {};
80
+ treeConfig: {};
81
+ };
82
+ };
83
+ placeholder: {
84
+ type: StringConstructor;
85
+ default: string;
86
+ };
87
+ selectModal: {
88
+ type: PropType<ModalType>;
89
+ default: string;
90
+ };
91
+ };
92
+ export type FieldSelectModalProps = ExtractPropTypes<typeof fieldSelectModalProps>;
93
+ export {};
@@ -0,0 +1,163 @@
1
+ import type { DefineComponent, PropType, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, ComputedRef } from 'vue';
2
+ import type { RequestMethod, ModalConfig, ModalType, OpenFuncType, TablePage } from './field-select-modal-types';
3
+ import type { VxeTableProps, VxeTableDataRow, VxeGridInstance } from 'vxe-table';
4
+ declare const _sfc_main: DefineComponent<{
5
+ modalTitle: {
6
+ type: StringConstructor;
7
+ default: string;
8
+ };
9
+ apiUrls: {
10
+ type: StringConstructor;
11
+ default: string;
12
+ };
13
+ requestMethod: {
14
+ type: PropType<RequestMethod>;
15
+ default: string;
16
+ };
17
+ tableData: {
18
+ type: PropType<Record<string, unknown>[]>;
19
+ default: () => null;
20
+ };
21
+ modalConfig: {
22
+ type: PropType<ModalConfig>;
23
+ default: () => {};
24
+ };
25
+ handleListData: {
26
+ type: FunctionConstructor;
27
+ };
28
+ tableConfig: {
29
+ type: PropType<VxeTableProps<VxeTableDataRow>>;
30
+ default: () => {
31
+ height: number;
32
+ isTree: boolean;
33
+ radioConfig: {};
34
+ checkedConfig: {
35
+ highlight: boolean;
36
+ reserve: boolean;
37
+ trigger: string;
38
+ };
39
+ pagerConfig: {};
40
+ treeConfig: {};
41
+ };
42
+ };
43
+ placeholder: {
44
+ type: StringConstructor;
45
+ default: string;
46
+ };
47
+ selectModal: {
48
+ type: PropType<ModalType>;
49
+ default: string;
50
+ };
51
+ }, {
52
+ classes: ComputedRef<{
53
+ [x: string]: boolean;
54
+ }>;
55
+ selectGrid: Ref<VxeGridInstance<any> | null>;
56
+ data: {
57
+ url: string;
58
+ params: {
59
+ [x: string]: any;
60
+ pageNo: number;
61
+ pageSize: number;
62
+ keyWord?: string | undefined;
63
+ total?: number | undefined;
64
+ align?: string | undefined;
65
+ pageSizes?: number[] | undefined;
66
+ layouts?: string[] | undefined;
67
+ perfect?: boolean | undefined;
68
+ };
69
+ modalLoading: boolean;
70
+ loading: boolean;
71
+ };
72
+ modalShow: Ref<boolean>;
73
+ modalConfigComputed: ComputedRef<any>;
74
+ tableConfigComputed: ComputedRef<any>;
75
+ tablePage: {
76
+ currentPage: number;
77
+ pageSize: number;
78
+ total?: number | undefined;
79
+ align?: string | undefined;
80
+ pageSizes?: number[] | undefined;
81
+ layouts?: string[] | undefined;
82
+ perfect?: boolean | undefined;
83
+ };
84
+ tableData: Ref<Record<string, unknown>[]>;
85
+ columns: Ref<{
86
+ type?: string | undefined;
87
+ field?: string | undefined;
88
+ title?: string | undefined;
89
+ align?: string | undefined;
90
+ fieldLabelI18nKey?: string | undefined;
91
+ width?: number | undefined;
92
+ }[]>;
93
+ form: Record<string, unknown>;
94
+ selectModal: Ref<ModalType>;
95
+ getPagerConfig: ComputedRef<any>;
96
+ modalTitle: Ref<string>;
97
+ placeholder: Ref<string>;
98
+ open: ({ url, params, columns: col, selectModal: sm, requestMethod: rm }: OpenFuncType) => void;
99
+ close: () => void;
100
+ onSearch: () => void;
101
+ handlePageChange: ({ currentPage, pageSize }: TablePage) => void;
102
+ selectedOk: () => void;
103
+ loadData: (extend?: {
104
+ action: string;
105
+ }) => void;
106
+ }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
107
+ modalTitle: {
108
+ type: StringConstructor;
109
+ default: string;
110
+ };
111
+ apiUrls: {
112
+ type: StringConstructor;
113
+ default: string;
114
+ };
115
+ requestMethod: {
116
+ type: PropType<RequestMethod>;
117
+ default: string;
118
+ };
119
+ tableData: {
120
+ type: PropType<Record<string, unknown>[]>;
121
+ default: () => null;
122
+ };
123
+ modalConfig: {
124
+ type: PropType<ModalConfig>;
125
+ default: () => {};
126
+ };
127
+ handleListData: {
128
+ type: FunctionConstructor;
129
+ };
130
+ tableConfig: {
131
+ type: PropType<VxeTableProps<VxeTableDataRow>>;
132
+ default: () => {
133
+ height: number;
134
+ isTree: boolean;
135
+ radioConfig: {};
136
+ checkedConfig: {
137
+ highlight: boolean;
138
+ reserve: boolean;
139
+ trigger: string;
140
+ };
141
+ pagerConfig: {};
142
+ treeConfig: {};
143
+ };
144
+ };
145
+ placeholder: {
146
+ type: StringConstructor;
147
+ default: string;
148
+ };
149
+ selectModal: {
150
+ type: PropType<ModalType>;
151
+ default: string;
152
+ };
153
+ }>>, {
154
+ modalTitle: string;
155
+ apiUrls: string;
156
+ requestMethod: RequestMethod;
157
+ tableData: Record<string, unknown>[];
158
+ modalConfig: ModalConfig;
159
+ tableConfig: VxeTableProps<VxeTableDataRow>;
160
+ placeholder: string;
161
+ selectModal: ModalType;
162
+ }, {}>;
163
+ export default _sfc_main;
@@ -0,0 +1,6 @@
1
+ import type { ComputedRef } from 'vue';
2
+ export default function useFieldSelectModal(): {
3
+ classes: ComputedRef<{
4
+ [x: string]: boolean;
5
+ }>;
6
+ };
@@ -0,0 +1,16 @@
1
+ import { Ref } from 'vue';
2
+ import { ObjectMap } from '../../../list-page-layout';
3
+ export default function (spinning: Ref<boolean>, currentRow?: ObjectMap, getHistoryTableData?: () => void): {
4
+ useAttachmentSlots: () => {
5
+ default: ({ row }: {
6
+ row: ObjectMap;
7
+ }) => any;
8
+ };
9
+ useHistorySlots: () => {
10
+ default: ({ row }: {
11
+ row: ObjectMap;
12
+ }) => JSX.Element[];
13
+ };
14
+ flowIframeUrl: Ref<any>;
15
+ setFlowIframeUrl: (id?: string) => void;
16
+ };
@@ -0,0 +1,6 @@
1
+ import { ObjectMap } from '../../../list-page-layout/src/list-page-layout-types';
2
+ import { CurrentRow } from '../../../edit-page-layout/src/edit-page-layout-types';
3
+ import { Ref } from 'vue';
4
+ export default function useAuditConfigHook(auditVisble: Ref<boolean>, currentRow: CurrentRow): {
5
+ auditFormModal: ObjectMap;
6
+ };