morningfast-plus 1.1.26 → 1.1.28
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.
- package/components/export-setting/src/export-setting.d.ts +4 -0
- package/components/export-setting/src/export-setting.vue.d.ts +9 -0
- package/components/export-setting/src/types.d.ts +3 -1
- package/components/index.cjs +1 -1
- package/components/index.mjs +1 -1
- package/components/table/src/types.d.ts +6 -0
- package/hooks/index.cjs +1 -1
- package/hooks/index.d.ts +1 -0
- package/hooks/index.mjs +1 -1
- package/hooks/src/page-state-cache.d.ts +20 -0
- package/package.json +1 -1
|
@@ -63,6 +63,10 @@ export declare const mpExportSettingProps: {
|
|
|
63
63
|
readonly type: StringConstructor;
|
|
64
64
|
readonly default: undefined;
|
|
65
65
|
};
|
|
66
|
+
readonly selectedConditionFields: {
|
|
67
|
+
readonly type: PropType<string[]>;
|
|
68
|
+
readonly default: undefined;
|
|
69
|
+
};
|
|
66
70
|
readonly operatorFields: {
|
|
67
71
|
readonly type: PropType<string[]>;
|
|
68
72
|
readonly default: undefined;
|
|
@@ -62,6 +62,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
62
62
|
readonly type: StringConstructor;
|
|
63
63
|
readonly default: undefined;
|
|
64
64
|
};
|
|
65
|
+
readonly selectedConditionFields: {
|
|
66
|
+
readonly type: import('vue').PropType<string[]>;
|
|
67
|
+
readonly default: undefined;
|
|
68
|
+
};
|
|
65
69
|
readonly operatorFields: {
|
|
66
70
|
readonly type: import('vue').PropType<string[]>;
|
|
67
71
|
readonly default: undefined;
|
|
@@ -197,6 +201,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
197
201
|
readonly type: StringConstructor;
|
|
198
202
|
readonly default: undefined;
|
|
199
203
|
};
|
|
204
|
+
readonly selectedConditionFields: {
|
|
205
|
+
readonly type: import('vue').PropType<string[]>;
|
|
206
|
+
readonly default: undefined;
|
|
207
|
+
};
|
|
200
208
|
readonly operatorFields: {
|
|
201
209
|
readonly type: import('vue').PropType<string[]>;
|
|
202
210
|
readonly default: undefined;
|
|
@@ -294,6 +302,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
294
302
|
readonly conditionsCn: string;
|
|
295
303
|
readonly conditions_cn: string;
|
|
296
304
|
readonly selectedConditionField: string;
|
|
305
|
+
readonly selectedConditionFields: string[];
|
|
297
306
|
readonly operatorFields: string[];
|
|
298
307
|
readonly operatorMap: Map<string, string | number> | Record<string, string | number>;
|
|
299
308
|
readonly request: (payload: import('./types').MpExportTaskPayload) => Promise<unknown> | unknown;
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { ComputedRef } from 'vue';
|
|
2
2
|
import { FormRules } from 'element-plus';
|
|
3
3
|
import { MpFormModel, MpFormSchema } from '../../form';
|
|
4
|
-
import { MpTableColumn } from '../../table';
|
|
4
|
+
import { MpTableColumn, MpTableExportField } from '../../table';
|
|
5
5
|
export type MpExportSettingScope = 'filtered' | 'selected';
|
|
6
6
|
export interface MpExportSettingItem {
|
|
7
7
|
prop: string;
|
|
8
8
|
label: string;
|
|
9
9
|
checked: boolean;
|
|
10
|
+
exportField?: MpTableExportField[];
|
|
10
11
|
}
|
|
11
12
|
export interface MpExportSettingPayload {
|
|
12
13
|
scope: MpExportSettingScope;
|
|
@@ -39,6 +40,7 @@ export interface MpExportTaskPayloadOptions {
|
|
|
39
40
|
conditionsCn?: string;
|
|
40
41
|
conditions_cn?: string;
|
|
41
42
|
selectedConditionField?: string;
|
|
43
|
+
selectedConditionFields?: string[];
|
|
42
44
|
ignoredConditionFields?: string[];
|
|
43
45
|
operatorMap?: Map<string, string | number> | Record<string, string | number>;
|
|
44
46
|
operatorFields?: Set<string> | string[];
|