@qqt-product/ui 0.0.25 → 6.0.0

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.
@@ -41,6 +41,10 @@ declare const _default: SFCWithInstall<DefineComponent<{
41
41
  readonly type: PropType<boolean>;
42
42
  readonly default: true;
43
43
  };
44
+ readonly slot: {
45
+ readonly type: PropType<boolean>;
46
+ readonly default: false;
47
+ };
44
48
  readonly enableTile: {
45
49
  readonly type: PropType<"0" | "1">;
46
50
  readonly default: "1";
@@ -107,6 +111,10 @@ declare const _default: SFCWithInstall<DefineComponent<{
107
111
  readonly type: PropType<boolean>;
108
112
  readonly default: true;
109
113
  };
114
+ readonly slot: {
115
+ readonly type: PropType<boolean>;
116
+ readonly default: false;
117
+ };
110
118
  readonly enableTile: {
111
119
  readonly type: PropType<"0" | "1">;
112
120
  readonly default: "1";
@@ -121,6 +129,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
121
129
  readonly sortOrder: string;
122
130
  readonly formFields: FormFieldsItem[];
123
131
  readonly shake: boolean;
132
+ readonly slot: boolean;
124
133
  readonly enableTile: "0" | "1";
125
134
  }, {}>>;
126
135
  export default _default;
@@ -37,6 +37,10 @@ declare const _sfc_main: DefineComponent<{
37
37
  readonly type: PropType<boolean>;
38
38
  readonly default: true;
39
39
  };
40
+ readonly slot: {
41
+ readonly type: PropType<boolean>;
42
+ readonly default: false;
43
+ };
40
44
  readonly enableTile: {
41
45
  readonly type: PropType<"0" | "1">;
42
46
  readonly default: "1";
@@ -103,6 +107,10 @@ declare const _sfc_main: DefineComponent<{
103
107
  readonly type: PropType<boolean>;
104
108
  readonly default: true;
105
109
  };
110
+ readonly slot: {
111
+ readonly type: PropType<boolean>;
112
+ readonly default: false;
113
+ };
106
114
  readonly enableTile: {
107
115
  readonly type: PropType<"0" | "1">;
108
116
  readonly default: "1";
@@ -117,6 +125,7 @@ declare const _sfc_main: DefineComponent<{
117
125
  readonly sortOrder: string;
118
126
  readonly formFields: FormFieldsItem[];
119
127
  readonly shake: boolean;
128
+ readonly slot: boolean;
120
129
  readonly enableTile: "0" | "1";
121
130
  }, {}>;
122
131
  export default _sfc_main;
@@ -50,6 +50,10 @@ declare const _default: SFCWithInstall<DefineComponent<{
50
50
  readonly type: PropType<boolean>;
51
51
  readonly default: true;
52
52
  };
53
+ readonly slot: {
54
+ readonly type: PropType<boolean>;
55
+ readonly default: false;
56
+ };
53
57
  }, {
54
58
  classes: ComputedRef<{
55
59
  [key: string]: string | boolean;
@@ -2675,6 +2679,10 @@ declare const _default: SFCWithInstall<DefineComponent<{
2675
2679
  readonly type: PropType<boolean>;
2676
2680
  readonly default: true;
2677
2681
  };
2682
+ readonly slot: {
2683
+ readonly type: PropType<boolean>;
2684
+ readonly default: false;
2685
+ };
2678
2686
  }>>, {
2679
2687
  readonly total: Record<string, any>;
2680
2688
  readonly columns: ColumnItem[];
@@ -2686,6 +2694,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
2686
2694
  readonly groupType: string;
2687
2695
  readonly sortOrder: string;
2688
2696
  readonly shake: boolean;
2697
+ readonly slot: boolean;
2689
2698
  readonly vxeGridConfig: VxeGridProps<VxeTableDataRow>;
2690
2699
  }, {}>>;
2691
2700
  export default _default;
@@ -46,6 +46,10 @@ declare const _sfc_main: DefineComponent<{
46
46
  readonly type: PropType<boolean>;
47
47
  readonly default: true;
48
48
  };
49
+ readonly slot: {
50
+ readonly type: PropType<boolean>;
51
+ readonly default: false;
52
+ };
49
53
  }, {
50
54
  classes: ComputedRef<{
51
55
  [key: string]: string | boolean;
@@ -2671,6 +2675,10 @@ declare const _sfc_main: DefineComponent<{
2671
2675
  readonly type: PropType<boolean>;
2672
2676
  readonly default: true;
2673
2677
  };
2678
+ readonly slot: {
2679
+ readonly type: PropType<boolean>;
2680
+ readonly default: false;
2681
+ };
2674
2682
  }>>, {
2675
2683
  readonly total: Record<string, any>;
2676
2684
  readonly columns: ColumnItem[];
@@ -2682,6 +2690,7 @@ declare const _sfc_main: DefineComponent<{
2682
2690
  readonly groupType: string;
2683
2691
  readonly sortOrder: string;
2684
2692
  readonly shake: boolean;
2693
+ readonly slot: boolean;
2685
2694
  readonly vxeGridConfig: VxeGridProps<VxeTableDataRow>;
2686
2695
  }, {}>;
2687
2696
  export default _sfc_main;
@@ -49,6 +49,10 @@ declare const _default: SFCWithInstall<DefineComponent<{
49
49
  readonly type: PropType<boolean>;
50
50
  readonly default: true;
51
51
  };
52
+ readonly slot: {
53
+ readonly type: PropType<boolean>;
54
+ readonly default: false;
55
+ };
52
56
  readonly enableTile: {
53
57
  readonly type: PropType<"0" | "1">;
54
58
  readonly default: "1";
@@ -134,6 +138,10 @@ declare const _default: SFCWithInstall<DefineComponent<{
134
138
  readonly type: PropType<boolean>;
135
139
  readonly default: true;
136
140
  };
141
+ readonly slot: {
142
+ readonly type: PropType<boolean>;
143
+ readonly default: false;
144
+ };
137
145
  readonly enableTile: {
138
146
  readonly type: PropType<"0" | "1">;
139
147
  readonly default: "1";
@@ -148,6 +156,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
148
156
  readonly sortOrder: string;
149
157
  readonly formFields: FormFieldsItem[];
150
158
  readonly shake: boolean;
159
+ readonly slot: boolean;
151
160
  readonly enableTile: "0" | "1";
152
161
  }, {}>>;
153
162
  export default _default;
@@ -37,6 +37,10 @@ export declare const editFormProps: {
37
37
  readonly type: PropType<boolean>;
38
38
  readonly default: true;
39
39
  };
40
+ readonly slot: {
41
+ readonly type: PropType<boolean>;
42
+ readonly default: false;
43
+ };
40
44
  readonly enableTile: {
41
45
  readonly type: PropType<"0" | "1">;
42
46
  readonly default: "1";
@@ -44,6 +44,10 @@ declare const _sfc_main: DefineComponent<{
44
44
  readonly type: PropType<boolean>;
45
45
  readonly default: true;
46
46
  };
47
+ readonly slot: {
48
+ readonly type: PropType<boolean>;
49
+ readonly default: false;
50
+ };
47
51
  readonly enableTile: {
48
52
  readonly type: PropType<"0" | "1">;
49
53
  readonly default: "1";
@@ -129,6 +133,10 @@ declare const _sfc_main: DefineComponent<{
129
133
  readonly type: PropType<boolean>;
130
134
  readonly default: true;
131
135
  };
136
+ readonly slot: {
137
+ readonly type: PropType<boolean>;
138
+ readonly default: false;
139
+ };
132
140
  readonly enableTile: {
133
141
  readonly type: PropType<"0" | "1">;
134
142
  readonly default: "1";
@@ -143,6 +151,7 @@ declare const _sfc_main: DefineComponent<{
143
151
  readonly sortOrder: string;
144
152
  readonly formFields: FormFieldsItem[];
145
153
  readonly shake: boolean;
154
+ readonly slot: boolean;
146
155
  readonly enableTile: "0" | "1";
147
156
  }, {}>;
148
157
  export default _sfc_main;
@@ -52,6 +52,10 @@ declare const _default: SFCWithInstall<DefineComponent<{
52
52
  readonly type: PropType<boolean>;
53
53
  readonly default: true;
54
54
  };
55
+ readonly slot: {
56
+ readonly type: PropType<boolean>;
57
+ readonly default: false;
58
+ };
55
59
  }, {
56
60
  classes: ComputedRef<{
57
61
  [key: string]: string | boolean;
@@ -2680,6 +2684,10 @@ declare const _default: SFCWithInstall<DefineComponent<{
2680
2684
  readonly type: PropType<boolean>;
2681
2685
  readonly default: true;
2682
2686
  };
2687
+ readonly slot: {
2688
+ readonly type: PropType<boolean>;
2689
+ readonly default: false;
2690
+ };
2683
2691
  }>>, {
2684
2692
  readonly total: Record<string, any>;
2685
2693
  readonly columns: ColumnItem[];
@@ -2691,6 +2699,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
2691
2699
  readonly groupType: string;
2692
2700
  readonly sortOrder: string;
2693
2701
  readonly shake: boolean;
2702
+ readonly slot: boolean;
2694
2703
  readonly vxeGridConfig: VxeGridProps<VxeTableDataRow>;
2695
2704
  }, {}>>;
2696
2705
  export default _default;
@@ -46,6 +46,10 @@ export declare const editGridProps: {
46
46
  readonly type: PropType<boolean>;
47
47
  readonly default: true;
48
48
  };
49
+ readonly slot: {
50
+ readonly type: PropType<boolean>;
51
+ readonly default: false;
52
+ };
49
53
  };
50
54
  export type EditGridProps = ExtractPropTypes<typeof editGridProps>;
51
55
  export interface EditGridReturnType {
@@ -47,6 +47,10 @@ declare const _sfc_main: DefineComponent<{
47
47
  readonly type: PropType<boolean>;
48
48
  readonly default: true;
49
49
  };
50
+ readonly slot: {
51
+ readonly type: PropType<boolean>;
52
+ readonly default: false;
53
+ };
50
54
  }, {
51
55
  classes: ComputedRef<{
52
56
  [key: string]: string | boolean;
@@ -2675,6 +2679,10 @@ declare const _sfc_main: DefineComponent<{
2675
2679
  readonly type: PropType<boolean>;
2676
2680
  readonly default: true;
2677
2681
  };
2682
+ readonly slot: {
2683
+ readonly type: PropType<boolean>;
2684
+ readonly default: false;
2685
+ };
2678
2686
  }>>, {
2679
2687
  readonly total: Record<string, any>;
2680
2688
  readonly columns: ColumnItem[];
@@ -2686,6 +2694,7 @@ declare const _sfc_main: DefineComponent<{
2686
2694
  readonly groupType: string;
2687
2695
  readonly sortOrder: string;
2688
2696
  readonly shake: boolean;
2697
+ readonly slot: boolean;
2689
2698
  readonly vxeGridConfig: VxeGridProps<VxeTableDataRow>;
2690
2699
  }, {}>;
2691
2700
  export default _sfc_main;
@@ -171,7 +171,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
171
171
  attrs?: ObjectMap | undefined;
172
172
  extend?: ObjectMap | undefined;
173
173
  buttons: {
174
- toggleIcon?: string | ObjectMap | undefined;
174
+ toggleIcon?: ObjectMap | undefined;
175
175
  label?: string | undefined;
176
176
  icon?: string | ObjectMap | undefined;
177
177
  type?: string | undefined;
@@ -3,7 +3,7 @@ import { VxeGridEvents } from 'vxe-table';
3
3
  export declare const useEvents: (props: ListPageLayoutProps) => {
4
4
  cellClick: EventHandler;
5
5
  sortChange: VxeGridEvents.SortChange<any>;
6
- filterChange: EventHandler;
6
+ filterChange: VxeGridEvents.FilterChange<any>;
7
7
  resizableChange: EventHandler;
8
8
  pageChange: VxeGridEvents.PageChange<any>;
9
9
  };
@@ -25,6 +25,7 @@ declare const _sfc_main: DefineComponent<{
25
25
  default: null;
26
26
  };
27
27
  }, {
28
+ currentfield: (item: QueryParamsItem) => QueryParamsItem;
28
29
  filterOption: (input: string, option: any) => boolean;
29
30
  show: (flag: boolean) => void;
30
31
  busAccount: Ref<string>;
@@ -164,7 +164,7 @@ declare const _sfc_main: DefineComponent<{
164
164
  attrs?: ObjectMap | undefined;
165
165
  extend?: ObjectMap | undefined;
166
166
  buttons: {
167
- toggleIcon?: string | ObjectMap | undefined;
167
+ toggleIcon?: ObjectMap | undefined;
168
168
  label?: string | undefined;
169
169
  icon?: string | ObjectMap | undefined;
170
170
  type?: string | undefined;
@@ -53,7 +53,7 @@ export interface ButtonItem {
53
53
  handleAfter?: <T>(args: T) => Promise<T> | void;
54
54
  }
55
55
  export interface ToolsButtonItem extends ButtonItem {
56
- toggleIcon?: string | ObjectMap;
56
+ toggleIcon?: ObjectMap;
57
57
  }
58
58
  export interface QueryFormItem {
59
59
  type: string;
@@ -304,6 +304,7 @@ export interface FetchDataOptions {
304
304
  superQuery?: ObjectMap;
305
305
  formState?: ObjectMap;
306
306
  statusFilter?: ObjectMap;
307
+ filter?: ObjectMap;
307
308
  getParams?: () => {
308
309
  [key: string]: unknown;
309
310
  };
@@ -8,4 +8,5 @@ export declare const SYMBOL_HANDLE_QUICK_NAV: unique symbol;
8
8
  export declare const SYMBOL_HANDLE_HELP_TEXT: unique symbol;
9
9
  export declare const SYMBOL_HANDLE_ATTACHMENT_TEXT: unique symbol;
10
10
  export declare const SYMBOL_HANDLE_VIDEO_TEXT: unique symbol;
11
+ export declare const SYMBOL_HANDLE_MERGE_GRID: unique symbol;
11
12
  export declare const SYMBOL_FETCH_NAV_DATA: unique symbol;
@@ -46,6 +46,9 @@ export declare const ListConfig: {
46
46
  isFNR: boolean;
47
47
  enterToTab: boolean;
48
48
  };
49
+ filterConfig: {
50
+ remote: boolean;
51
+ };
49
52
  printConfig: {
50
53
  beforePrintMethod: ({ content }: {
51
54
  content: string;
@@ -2,9 +2,9 @@ import type { Emitter } from '@qqt-product/utils';
2
2
  import { VxeTableInstance } from 'vxe-table';
3
3
  import { SYMBOL_BINDFUNCTION, SYMBOL_CUSTOM_BINDFUNCTION, SYMBOL_VXE_BINDFUNCTION, SYMBOL_CUSTOM_VXE_BINDFUNCTION, SYMBOL_ADD_ONE_ROW, SYMBOL_DELETE_ROWS, SYMBOL_CUSTOM_CLICK, SYMBOL_FIELD_OR_COLUMN_CUSTOM_CLICK, SYMBOL_CACHE_BUTTON, SYMBOL_CACHE_PAGEDATA, SYMBOL_CACHE_REFRESH, SYMBOL_CACHE_SHOW_MESSAGE, SYMBOL_VALIDATE, SYMBOL_VALIDATE_RESULT, SYMBOL_LINK_CLICK, SYMBOL_VALIDATE_SUCCESS, SYMBOL_REFRESH, SYMBOL_BACK, SYMBOL_SAVE, SYMBOL_PUBLISH, SYMBOL_SUBMIT, SYMBOL_CONFIRM, SYMBOL_REJECT, SYMBOL_UPLOAD, SYMBOL_UPLOAD_GRID, SYMBOL_CANCELAUDIT, SYMBOL_DOWNLOAD_ALL, SYMBOL_REMOVE_ALL, SYMBOL_CHECKBOX_CHANGE, SYMBOL_CHECKBOX_ALL, SYMBOL_IMPORT_ROWS, SYMBOL_FLOW_VIEW, SYMBOL_AUDIT_AGREE, SYMBOL_AUDIT_REFUSE, SYMBOL_AUDIT_INFORMED, SYMBOL_AUDIT_TRANSFER, SYMBOL_AUDIT_BACK, SYMBOL_AUDIT_TRANSACTION, SYMBOL_AUDIT_INVALID, SYMBOL_AUDIT_REVOCATION, SYMBOL_AUDIT_REVOCATION_PRE_SIGN, SYMBOL_AUDIT_FLOW_IMAGE, SYMBOL_AUDIT_APPROVAL_COMMENT, SYMBOL_AUDIT_SIGN_NODE, SYMBOL_AUDIT_PRE_SIGN, SYMBOL_AUDIT_AFTER_SIGN, SYMBOL_AUDIT_PRINT, SYMBOL_AUDIT_ADD_NODE_HISTORY, SYMBOL_AUDIT_CHAT } from '../../lib/components/page-layout';
4
4
  import type { RecordString, BindFunctionEvent, VxeBindFunctionEvent, PageButton, PageButtonWithGroupCode, PageButtonDeleteRow, PageButtonDownLoad, ValidateResult, LinkClickCallbackParams, FormFieldsItem, ColumnItem, PageButtonDeleteFileRow, GridCheckboxChangeParamsWithGroupCoe, GridCheckboxAllParamsWithGroupCoe } from '../../lib/components/edit-page-layout';
5
- import type { ButtonItem, ObjectMap } from '../../lib/components/list-page-layout';
5
+ import type { ButtonItem, ObjectMap, ToolsButtonItem } from '../../lib/components/list-page-layout';
6
6
  import type { VxeItemFileUpload } from '../../lib/components/upload-file';
7
- import { SYMBOL_GRID_INSTANCE, SYMBOL_HANDLE_SETTING, SYMBOL_HANDLE_ADD, SYMBOL_HANDLE_EXPORT, SYMBOL_HANDLE_IMPORT, SYMBOL_HANDLE_QUICK_NAV, SYMBOL_HANDLE_RECORD, SYMBOL_HANDLE_HELP_TEXT, SYMBOL_HANDLE_ATTACHMENT_TEXT, SYMBOL_HANDLE_VIDEO_TEXT, SYMBOL_FETCH_NAV_DATA } from '../components/list-page-layout/src/symbol';
7
+ import { SYMBOL_GRID_INSTANCE, SYMBOL_HANDLE_SETTING, SYMBOL_HANDLE_ADD, SYMBOL_HANDLE_EXPORT, SYMBOL_HANDLE_IMPORT, SYMBOL_HANDLE_QUICK_NAV, SYMBOL_HANDLE_RECORD, SYMBOL_HANDLE_HELP_TEXT, SYMBOL_HANDLE_ATTACHMENT_TEXT, SYMBOL_HANDLE_VIDEO_TEXT, SYMBOL_HANDLE_MERGE_GRID, SYMBOL_FETCH_NAV_DATA } from '../components/list-page-layout/src/symbol';
8
8
  export type Events = {
9
9
  [SYMBOL_BINDFUNCTION]: BindFunctionEvent;
10
10
  [SYMBOL_CUSTOM_BINDFUNCTION]: BindFunctionEvent;
@@ -37,6 +37,7 @@ export type Events = {
37
37
  [SYMBOL_HANDLE_HELP_TEXT]: ButtonItem;
38
38
  [SYMBOL_HANDLE_ATTACHMENT_TEXT]: ButtonItem;
39
39
  [SYMBOL_HANDLE_VIDEO_TEXT]: ButtonItem;
40
+ [SYMBOL_HANDLE_MERGE_GRID]: ToolsButtonItem;
40
41
  [SYMBOL_HANDLE_RECORD]: ObjectMap;
41
42
  [SYMBOL_HANDLE_QUICK_NAV]: string | number | undefined;
42
43
  [SYMBOL_FETCH_NAV_DATA]: string | number | undefined;