cd-form 2.0.32 → 2.0.34

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.
@@ -1,4 +1,6 @@
1
+ import { default as VXETable } from 'vxe-table';
1
2
  import { FormDataConfig, ColumnDataConfig, TableColumn, PageConfig, ButtonConfig } from './types';
3
+ import { VxeGanttConstructor } from 'vxe-pc-ui';
2
4
  import { DefineComponent, ExtractPropTypes, Ref, ComputedRef, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, PropType } from 'vue';
3
5
 
4
6
  interface BusinessFlowConfig {
@@ -28,7 +30,41 @@ interface BusinessFlowConfig {
28
30
  }>;
29
31
  }>;
30
32
  }
31
- declare function __VLS_template(): Partial<Record<NonNullable<string | number>, (_: any) => any>> & {
33
+ declare function __VLS_template(): Partial<Record<NonNullable<string | number>, (_: {
34
+ [key: string]: any;
35
+ $table: VXETable.VxeTableConstructor<any>;
36
+ $grid: VXETable.VxeGridConstructor<any> | null | undefined;
37
+ $gantt: VxeGanttConstructor<any> | null | undefined;
38
+ rowid: string;
39
+ row: any;
40
+ rowIndex: number;
41
+ $rowIndex: number;
42
+ _rowIndex: number;
43
+ column: VXETable.VxeTableDefines.ColumnInfo<any>;
44
+ columnIndex: number;
45
+ $columnIndex: number;
46
+ _columnIndex: number;
47
+ option: VXETable.VxeColumnPropTypes.FilterItem;
48
+ type: string;
49
+ fixed: VXETable.VxeColumnPropTypes.Fixed;
50
+ checked: boolean;
51
+ indeterminate: boolean;
52
+ seq: string | number;
53
+ level: number;
54
+ isEdit: boolean;
55
+ isHidden: boolean;
56
+ field: string;
57
+ item: any;
58
+ data: any;
59
+ tooltipContent: string;
60
+ groupContent: string;
61
+ groupField: string;
62
+ childCount: number;
63
+ groupValues: number;
64
+ aggValue: number;
65
+ visibleData: any[];
66
+ items: any[];
67
+ }) => any>> & {
32
68
  "toolbar-right"?(_: {}): any;
33
69
  };
34
70
  declare const __VLS_component: DefineComponent<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
@@ -117,14 +153,14 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<__VLS_WithDefaul
117
153
  edit: (data: any) => void;
118
154
  detail: (row: any) => void;
119
155
  delete: (row: any) => void;
120
- "load-users": (payload: any) => void;
121
- "dept-click": (payload: any) => void;
122
156
  share: (payload: any) => void;
123
157
  group: (params: {
124
158
  groupFields: string[];
125
159
  mergeFields: boolean;
126
160
  updatedData?: any[];
127
161
  }) => void;
162
+ "load-users": (payload: any) => void;
163
+ "dept-click": (payload: any) => void;
128
164
  "page-change": (pageInfo: {
129
165
  currentPage: number;
130
166
  pageSize: number;
@@ -274,14 +310,14 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<__VLS_WithDefaul
274
310
  onEdit?: ((data: any) => any) | undefined;
275
311
  onDetail?: ((row: any) => any) | undefined;
276
312
  onDelete?: ((row: any) => any) | undefined;
277
- "onLoad-users"?: ((payload: any) => any) | undefined;
278
- "onDept-click"?: ((payload: any) => any) | undefined;
279
313
  onShare?: ((payload: any) => any) | undefined;
280
314
  onGroup?: ((params: {
281
315
  groupFields: string[];
282
316
  mergeFields: boolean;
283
317
  updatedData?: any[];
284
318
  }) => any) | undefined;
319
+ "onLoad-users"?: ((payload: any) => any) | undefined;
320
+ "onDept-click"?: ((payload: any) => any) | undefined;
285
321
  "onPage-change"?: ((pageInfo: {
286
322
  currentPage: number;
287
323
  pageSize: number;
@@ -1 +1,2 @@
1
- export declare function getModelList(releaseId: string, data?: Record<string, any>): any;
1
+ import { AxiosResponse } from 'axios';
2
+ export declare function getModelList(releaseId: string, data?: Record<string, any>): Promise< AxiosResponse<any, any, {}>>;