cnhis-design-vue 3.1.15-beta.8 → 3.1.15-beta.9
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/es/packages/form-config/index.d.ts +27 -31
- package/es/packages/form-config/src/FormConfig.js +5 -5
- package/es/packages/form-config/src/FormConfig.vue.d.ts +310 -313
- package/es/packages/form-config/src/components/FormConfigCreator.vue.d.ts +3 -3
- package/es/packages/form-config/src/components/FormConfigEdit.vue.d.ts +4 -6
- package/es/packages/form-config/src/hooks/useConfigurationField.js +5 -3
- package/es/packages/form-config/src/hooks/usePresetRenderer.d.ts +2 -2
- package/es/packages/form-config/src/hooks/usePresetRenderer.js +2 -2
- package/es/packages/form-config/src/types/index.d.ts +1 -1
- package/es/packages/form-render/index.d.ts +3 -3
- package/es/packages/form-render/src/FormRender.vue.d.ts +3 -3
- package/es/packages/form-render/src/components/renderer/select.js +15 -8
- package/es/packages/form-render/src/hooks/useAsyncQueue.d.ts +2 -2
- package/es/packages/form-render/src/hooks/useAsyncQueue.js +4 -8
- package/es/packages/form-render/src/hooks/useFormContext.js +10 -4
- package/es/packages/form-render/src/hooks/useFormRenderLifeCycle.d.ts +2 -2
- package/es/packages/form-render/src/types/index.d.ts +7 -3
- package/es/packages/form-render/src/utils/index.d.ts +1 -1
- package/es/packages/form-render/src/utils/index.js +17 -6
- package/es/packages/shortcut-setter/index.d.ts +3 -3
- package/es/packages/shortcut-setter/src/ShortcutSetter.vue.d.ts +3 -3
- package/package.json +1 -1
|
@@ -3454,7 +3454,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
3454
3454
|
type: import("vue").PropType<Partial<{
|
|
3455
3455
|
onSetup(): void;
|
|
3456
3456
|
beforeRequest(fieldKey: string, params?: import("../../../../src/types").AnyObject | undefined): void | import("../../../../src/types").WithUndefined<import("../../../../src/types").AnyObject>;
|
|
3457
|
-
afterRequest(fieldKey: string, payload?:
|
|
3457
|
+
afterRequest(fieldKey: string, payload?: any): import("../../../../src/types").AnyObject[];
|
|
3458
3458
|
}>>;
|
|
3459
3459
|
};
|
|
3460
3460
|
}, {
|
|
@@ -3569,7 +3569,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
3569
3569
|
type: import("vue").PropType<Partial<{
|
|
3570
3570
|
onSetup(): void;
|
|
3571
3571
|
beforeRequest(fieldKey: string, params?: import("../../../../src/types").AnyObject | undefined): void | import("../../../../src/types").WithUndefined<import("../../../../src/types").AnyObject>;
|
|
3572
|
-
afterRequest(fieldKey: string, payload?:
|
|
3572
|
+
afterRequest(fieldKey: string, payload?: any): import("../../../../src/types").AnyObject[];
|
|
3573
3573
|
}>>;
|
|
3574
3574
|
};
|
|
3575
3575
|
}>> & {
|
|
@@ -5071,7 +5071,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
5071
5071
|
type: import("vue").PropType<Partial<{
|
|
5072
5072
|
onSetup(): void;
|
|
5073
5073
|
beforeRequest(fieldKey: string, params?: import("../../../../src/types").AnyObject | undefined): void | import("../../../../src/types").WithUndefined<import("../../../../src/types").AnyObject>;
|
|
5074
|
-
afterRequest(fieldKey: string, payload?:
|
|
5074
|
+
afterRequest(fieldKey: string, payload?: any): import("../../../../src/types").AnyObject[];
|
|
5075
5075
|
}>>;
|
|
5076
5076
|
};
|
|
5077
5077
|
}>> & {
|
|
@@ -74,13 +74,11 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
74
74
|
urlConfig?: {
|
|
75
75
|
url?: string | undefined;
|
|
76
76
|
method?: "delete" | "post" | "get" | "patch" | "put" | undefined;
|
|
77
|
-
dependKey?: Record<string, string> |
|
|
77
|
+
dependKey?: string | Record<string, string> | (string | {
|
|
78
78
|
paramName: string;
|
|
79
|
-
paramValue
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
paramValue: string;
|
|
83
|
-
}[] | undefined;
|
|
79
|
+
paramValue?: string | undefined;
|
|
80
|
+
required?: boolean | undefined;
|
|
81
|
+
})[] | undefined;
|
|
84
82
|
params?: AnyObject | undefined;
|
|
85
83
|
nameKey?: string | undefined;
|
|
86
84
|
valueKey?: string | undefined;
|
|
@@ -18,10 +18,12 @@ function useConfigurationField() {
|
|
|
18
18
|
elem_width: 12,
|
|
19
19
|
option: [
|
|
20
20
|
{ text: "\u6574\u884C", value: 12 },
|
|
21
|
+
{ text: "\u534A\u884C", value: 6 },
|
|
21
22
|
{ text: "5/6", value: 10 },
|
|
22
|
-
{ text: "
|
|
23
|
-
{ text: "3
|
|
24
|
-
{ text: "
|
|
23
|
+
{ text: "2/3", value: 8 },
|
|
24
|
+
{ text: "1/3", value: 4 },
|
|
25
|
+
{ text: "3/4", value: 9 },
|
|
26
|
+
{ text: "1/4", value: 3 },
|
|
25
27
|
{ text: "1/6", value: 2 }
|
|
26
28
|
]
|
|
27
29
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FieldItem } from '../../../../../es/packages/form-render';
|
|
2
|
-
import {
|
|
3
|
-
export declare function usePresetRenderer(
|
|
2
|
+
import { FormConfigTextFormatter } from '../types';
|
|
3
|
+
export declare function usePresetRenderer(textFormatter: FormConfigTextFormatter): {
|
|
4
4
|
getRenderer: (fieldItem: FieldItem) => import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | import("vue").FunctionalComponent<{}, {}>;
|
|
5
5
|
};
|
|
@@ -5,7 +5,7 @@ import { InjectionActiveFieldItem, WidgetTextMap } from '../../../../packages/fo
|
|
|
5
5
|
import { useSortable } from '../../../../packages/form-config/src/hooks';
|
|
6
6
|
import { NEllipsis } from 'naive-ui';
|
|
7
7
|
|
|
8
|
-
function usePresetRenderer(
|
|
8
|
+
function usePresetRenderer(textFormatter) {
|
|
9
9
|
const renderDefaultNode = {
|
|
10
10
|
matcher: () => true,
|
|
11
11
|
renderer({
|
|
@@ -26,7 +26,7 @@ function usePresetRenderer(textFilter) {
|
|
|
26
26
|
default: () => getDisplayText()
|
|
27
27
|
})]);
|
|
28
28
|
function getDisplayText() {
|
|
29
|
-
return
|
|
29
|
+
return textFormatter(fieldItem, `${fieldItem.alias}(${WidgetTextMap[fieldItem.html_type] || "\u63A7\u4EF6"})`);
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
32
|
};
|
|
@@ -8,7 +8,7 @@ export declare type FormConfigRenderer = {
|
|
|
8
8
|
matcher: ArrayAble<string> | RegExp | Matcher;
|
|
9
9
|
renderer: Component | FunctionalComponent;
|
|
10
10
|
};
|
|
11
|
-
export interface
|
|
11
|
+
export interface FormConfigTextFormatter {
|
|
12
12
|
(fieldItem: FieldItem, parsedText: string): string;
|
|
13
13
|
}
|
|
14
14
|
export interface FormConfigExpose {
|
|
@@ -113,7 +113,7 @@ declare const FormRender: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
113
113
|
type: import("vue").PropType<Partial<{
|
|
114
114
|
onSetup(): void;
|
|
115
115
|
beforeRequest(fieldKey: string, params?: import("../../../es/src/types").AnyObject | undefined): void | import("../../../es/src/types").WithUndefined<import("../../../es/src/types").AnyObject>;
|
|
116
|
-
afterRequest(fieldKey: string, payload?:
|
|
116
|
+
afterRequest(fieldKey: string, payload?: any): import("../../../es/src/types").AnyObject[];
|
|
117
117
|
}>>;
|
|
118
118
|
};
|
|
119
119
|
}, {
|
|
@@ -228,7 +228,7 @@ declare const FormRender: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
228
228
|
type: import("vue").PropType<Partial<{
|
|
229
229
|
onSetup(): void;
|
|
230
230
|
beforeRequest(fieldKey: string, params?: import("../../../es/src/types").AnyObject | undefined): void | import("../../../es/src/types").WithUndefined<import("../../../es/src/types").AnyObject>;
|
|
231
|
-
afterRequest(fieldKey: string, payload?:
|
|
231
|
+
afterRequest(fieldKey: string, payload?: any): import("../../../es/src/types").AnyObject[];
|
|
232
232
|
}>>;
|
|
233
233
|
};
|
|
234
234
|
}>> & {
|
|
@@ -1730,7 +1730,7 @@ declare const FormRender: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
1730
1730
|
type: import("vue").PropType<Partial<{
|
|
1731
1731
|
onSetup(): void;
|
|
1732
1732
|
beforeRequest(fieldKey: string, params?: import("../../../es/src/types").AnyObject | undefined): void | import("../../../es/src/types").WithUndefined<import("../../../es/src/types").AnyObject>;
|
|
1733
|
-
afterRequest(fieldKey: string, payload?:
|
|
1733
|
+
afterRequest(fieldKey: string, payload?: any): import("../../../es/src/types").AnyObject[];
|
|
1734
1734
|
}>>;
|
|
1735
1735
|
};
|
|
1736
1736
|
}>> & {
|
|
@@ -113,7 +113,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
113
113
|
type: PropType<Partial<{
|
|
114
114
|
onSetup(): void;
|
|
115
115
|
beforeRequest(fieldKey: string, params?: AnyObject | undefined): void | import("../../../../es/src/types").WithUndefined<AnyObject>;
|
|
116
|
-
afterRequest(fieldKey: string, payload?:
|
|
116
|
+
afterRequest(fieldKey: string, payload?: any): AnyObject[];
|
|
117
117
|
}>>;
|
|
118
118
|
};
|
|
119
119
|
}, {
|
|
@@ -228,7 +228,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
228
228
|
type: PropType<Partial<{
|
|
229
229
|
onSetup(): void;
|
|
230
230
|
beforeRequest(fieldKey: string, params?: AnyObject | undefined): void | import("../../../../es/src/types").WithUndefined<AnyObject>;
|
|
231
|
-
afterRequest(fieldKey: string, payload?:
|
|
231
|
+
afterRequest(fieldKey: string, payload?: any): AnyObject[];
|
|
232
232
|
}>>;
|
|
233
233
|
};
|
|
234
234
|
}>> & {
|
|
@@ -1730,7 +1730,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1730
1730
|
type: PropType<Partial<{
|
|
1731
1731
|
onSetup(): void;
|
|
1732
1732
|
beforeRequest(fieldKey: string, params?: AnyObject | undefined): void | import("../../../../es/src/types").WithUndefined<AnyObject>;
|
|
1733
|
-
afterRequest(fieldKey: string, payload?:
|
|
1733
|
+
afterRequest(fieldKey: string, payload?: any): AnyObject[];
|
|
1734
1734
|
}>>;
|
|
1735
1735
|
};
|
|
1736
1736
|
}>> & {
|
|
@@ -63,16 +63,23 @@ const script = defineComponent({
|
|
|
63
63
|
if (remoteOptions.value)
|
|
64
64
|
return;
|
|
65
65
|
remoteOptions.value = await asyncQueue.addAsync({
|
|
66
|
-
...createParams(configFor(props), field.value, fieldKey.value)
|
|
66
|
+
...await createParams(configFor(props), field.value, fieldKey.value)
|
|
67
67
|
});
|
|
68
|
-
function createParams(config, field2, key) {
|
|
68
|
+
async function createParams(config, field2, key) {
|
|
69
69
|
const _params = {};
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
70
|
+
try {
|
|
71
|
+
traverseDependKey(config.dependKey, (dependKey, valueKey2, required) => {
|
|
72
|
+
const _field = field2.query(dependKey).take();
|
|
73
|
+
if (isField(_field)) {
|
|
74
|
+
if (required && _field.value == null) {
|
|
75
|
+
throw `\u7F3A\u5C11\u5FC5\u987B\u7684\u53C2\u6570=>${dependKey}`;
|
|
76
|
+
}
|
|
77
|
+
_params[valueKey2] = _field.value;
|
|
78
|
+
}
|
|
79
|
+
});
|
|
80
|
+
} catch (e) {
|
|
81
|
+
return Promise.reject(e);
|
|
82
|
+
}
|
|
76
83
|
return {
|
|
77
84
|
...config,
|
|
78
85
|
params: Object.assign({}, config.params, _params),
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { AnyObject, WithUndefined } from '../../../../../es/src/types';
|
|
2
2
|
import { FormAsyncQueueItem } from '../types';
|
|
3
3
|
declare type ProcessorOption = Partial<{
|
|
4
|
-
afterRequest(key: string, payload?:
|
|
5
|
-
beforeRequest(key: string, params?:
|
|
4
|
+
afterRequest(key: string, payload?: unknown): AnyObject[];
|
|
5
|
+
beforeRequest(key: string, params?: unknown): WithUndefined<AnyObject> | void;
|
|
6
6
|
}>;
|
|
7
7
|
interface EntryCallback {
|
|
8
8
|
(err?: any, result?: any): void;
|
|
@@ -109,7 +109,7 @@ function useAsyncQueue() {
|
|
|
109
109
|
name: "FormRenderAsyncQueue",
|
|
110
110
|
parallelism,
|
|
111
111
|
async processor({ key, method = "post", params, url }, cb, removeCache) {
|
|
112
|
-
var _a
|
|
112
|
+
var _a;
|
|
113
113
|
const http = getHttpInstance();
|
|
114
114
|
if (!http) {
|
|
115
115
|
useCommonLog().invalidHttpInstanceLog();
|
|
@@ -121,15 +121,11 @@ function useAsyncQueue() {
|
|
|
121
121
|
if (option && isFunction(option.beforeRequest)) {
|
|
122
122
|
params = (_a = option.beforeRequest(key, params)) != null ? _a : {};
|
|
123
123
|
}
|
|
124
|
-
|
|
125
|
-
const { data, success } = res;
|
|
126
|
-
if (!success)
|
|
127
|
-
throw res;
|
|
128
|
-
let payload = Array.isArray(data) ? data : [];
|
|
124
|
+
let res = await http[method](url, params);
|
|
129
125
|
if (option && isFunction(option.afterRequest)) {
|
|
130
|
-
|
|
126
|
+
res = option.afterRequest(key, res);
|
|
131
127
|
}
|
|
132
|
-
cb(void 0,
|
|
128
|
+
cb(void 0, Array.isArray(res) ? res : []);
|
|
133
129
|
} catch (e) {
|
|
134
130
|
cb(new Error(`Request error => ${e}`));
|
|
135
131
|
removeCache();
|
|
@@ -13,12 +13,18 @@ function useFormContext(props) {
|
|
|
13
13
|
const { callLifeCycle } = useFormRenderLifeCycle(props);
|
|
14
14
|
const asyncQueue = injectOrProvide(InjectAsyncQueue, () => useAsyncQueue().create(props.parallelism, {
|
|
15
15
|
beforeRequest(...args) {
|
|
16
|
-
|
|
17
|
-
return (_a = callLifeCycle("beforeRequest", cloneDeep(args))) != null ? _a : args[1];
|
|
16
|
+
return callLifeCycle("beforeRequest", cloneDeep(args)) || args[1];
|
|
18
17
|
},
|
|
19
18
|
afterRequest(...args) {
|
|
20
|
-
|
|
21
|
-
|
|
19
|
+
return callLifeCycle("afterRequest", cloneDeep(args)) || presetHandler(args[1]);
|
|
20
|
+
function presetHandler(res) {
|
|
21
|
+
if (!isObject(res))
|
|
22
|
+
throw res;
|
|
23
|
+
const { data, success } = res;
|
|
24
|
+
if (!success)
|
|
25
|
+
throw res;
|
|
26
|
+
return data;
|
|
27
|
+
}
|
|
22
28
|
}
|
|
23
29
|
}));
|
|
24
30
|
const SchemaField = injectOrProvide(InjectionSchemaField, () => createSchemaField({
|
|
@@ -4,10 +4,10 @@ export declare function useFormRenderLifeCycle(props: FormRenderProps): {
|
|
|
4
4
|
callLifeCycle: <T extends "onSetup" | "beforeRequest" | "afterRequest">(lifeCycleName: T, payload?: Parameters<Required<Partial<{
|
|
5
5
|
onSetup(): void;
|
|
6
6
|
beforeRequest(fieldKey: string, params?: import("../../../../../es/src/types").AnyObject | undefined): void | WithUndefined<import("../../../../../es/src/types").AnyObject>;
|
|
7
|
-
afterRequest(fieldKey: string, payload?:
|
|
7
|
+
afterRequest(fieldKey: string, payload?: any): import("../../../../../es/src/types").AnyObject[];
|
|
8
8
|
}>>[T]> | undefined) => WithUndefined<ReturnType<Required<Partial<{
|
|
9
9
|
onSetup(): void;
|
|
10
10
|
beforeRequest(fieldKey: string, params?: import("../../../../../es/src/types").AnyObject | undefined): void | WithUndefined<import("../../../../../es/src/types").AnyObject>;
|
|
11
|
-
afterRequest(fieldKey: string, payload?:
|
|
11
|
+
afterRequest(fieldKey: string, payload?: any): import("../../../../../es/src/types").AnyObject[];
|
|
12
12
|
}>>[T]>>;
|
|
13
13
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AnyObject,
|
|
1
|
+
import { AnyObject, WithUndefined } from '../../../../../es/src/types';
|
|
2
2
|
import { DataField, Field } from '@formily/core';
|
|
3
3
|
import { ISchema } from '@formily/json-schema/esm/types';
|
|
4
4
|
import { Component, FunctionalComponent } from 'vue';
|
|
@@ -51,11 +51,15 @@ export declare type FormBusinessFilter = (payload: {
|
|
|
51
51
|
type: FIELD_BUSINESS_TYPE;
|
|
52
52
|
context?: any;
|
|
53
53
|
}) => unknown;
|
|
54
|
-
export declare type DependKeyType =
|
|
54
|
+
export declare type DependKeyType = string | Record<string, string> | Array<{
|
|
55
|
+
paramName: string;
|
|
56
|
+
paramValue?: string;
|
|
57
|
+
required?: boolean;
|
|
58
|
+
} | string>;
|
|
55
59
|
export declare type FormRenderLifeCycle = Partial<{
|
|
56
60
|
onSetup(): void;
|
|
57
61
|
beforeRequest(fieldKey: string, params?: AnyObject): WithUndefined<AnyObject> | void;
|
|
58
|
-
afterRequest(fieldKey: string, payload?:
|
|
62
|
+
afterRequest(fieldKey: string, payload?: any): AnyObject[];
|
|
59
63
|
}>;
|
|
60
64
|
export declare type FormRenderProps = Partial<{
|
|
61
65
|
fieldList: FieldItem[];
|
|
@@ -16,7 +16,7 @@ export declare function mergeDeepProperties(target: AnyObject, fieldList: FieldI
|
|
|
16
16
|
export declare function parseIdCard(idCardNo: string): IdCardParseInfo;
|
|
17
17
|
export declare function injectOrProvide<T>(key: InjectionKey<T>, creator: () => T): T;
|
|
18
18
|
export declare function traverseDependKey(dependKeys: DependKeyType, handler: {
|
|
19
|
-
(dependKey: string, valueKey: string): void;
|
|
19
|
+
(dependKey: string, valueKey: string, required?: boolean): void;
|
|
20
20
|
}): void;
|
|
21
21
|
export declare function traverseSchema(schema: ISchema, handler: (_s: ISchema) => void): void;
|
|
22
22
|
export declare function uuidGenerator(): string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { inject, provide, computed, createVNode, Fragment } from 'vue';
|
|
2
2
|
import { isObject } from '@vue/shared';
|
|
3
|
-
import {
|
|
3
|
+
import { isString, isArray, isFunction } from 'lodash-es';
|
|
4
4
|
import { FIELD_SEX_VALUE } from '../constants/index.js';
|
|
5
5
|
import { isField } from '@formily/core';
|
|
6
6
|
import { differenceInDays, differenceInMonths, differenceInYears } from 'date-fns';
|
|
@@ -104,23 +104,34 @@ function injectOrProvide(key, creator) {
|
|
|
104
104
|
function traverseDependKey(dependKeys, handler) {
|
|
105
105
|
if (!dependKeys)
|
|
106
106
|
return;
|
|
107
|
+
createDependKeyMap().forEach((valueKey, dependKey) => {
|
|
108
|
+
if (isString(valueKey))
|
|
109
|
+
return handler(dependKey, valueKey);
|
|
110
|
+
handler(dependKey, valueKey.key, valueKey.required);
|
|
111
|
+
});
|
|
107
112
|
Object.entries(createDependKeyMap()).forEach(([dependKey, valueKey]) => {
|
|
108
113
|
handler(dependKey, valueKey);
|
|
109
114
|
});
|
|
110
115
|
function createDependKeyMap() {
|
|
111
|
-
|
|
116
|
+
const result = /* @__PURE__ */ new Map();
|
|
112
117
|
if (isArray(dependKeys)) {
|
|
113
118
|
dependKeys.forEach((k) => {
|
|
119
|
+
var _a;
|
|
114
120
|
if (isObject(k)) {
|
|
115
|
-
result
|
|
121
|
+
result.set(k.paramName, {
|
|
122
|
+
key: (_a = k.paramName) != null ? _a : k.paramValue,
|
|
123
|
+
required: k.required
|
|
124
|
+
});
|
|
116
125
|
} else {
|
|
117
|
-
result
|
|
126
|
+
result.set(k, k);
|
|
118
127
|
}
|
|
119
128
|
});
|
|
120
129
|
} else if (isObject(dependKeys)) {
|
|
121
|
-
|
|
130
|
+
Object.entries(dependKeys).forEach(([k, v]) => {
|
|
131
|
+
result.set(k, v);
|
|
132
|
+
});
|
|
122
133
|
} else if (isString(dependKeys)) {
|
|
123
|
-
result
|
|
134
|
+
result.set(dependKeys, dependKeys);
|
|
124
135
|
}
|
|
125
136
|
return result;
|
|
126
137
|
}
|
|
@@ -4398,7 +4398,7 @@ declare const ShortcutSetter: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
4398
4398
|
type: import("vue").PropType<Partial<{
|
|
4399
4399
|
onSetup(): void;
|
|
4400
4400
|
beforeRequest(fieldKey: string, params?: import("../../../es/src/types").AnyObject | undefined): void | import("../../../es/src/types").WithUndefined<import("../../../es/src/types").AnyObject>;
|
|
4401
|
-
afterRequest(fieldKey: string, payload?:
|
|
4401
|
+
afterRequest(fieldKey: string, payload?: any): import("../../../es/src/types").AnyObject[];
|
|
4402
4402
|
}>>;
|
|
4403
4403
|
};
|
|
4404
4404
|
}, {
|
|
@@ -4513,7 +4513,7 @@ declare const ShortcutSetter: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
4513
4513
|
type: import("vue").PropType<Partial<{
|
|
4514
4514
|
onSetup(): void;
|
|
4515
4515
|
beforeRequest(fieldKey: string, params?: import("../../../es/src/types").AnyObject | undefined): void | import("../../../es/src/types").WithUndefined<import("../../../es/src/types").AnyObject>;
|
|
4516
|
-
afterRequest(fieldKey: string, payload?:
|
|
4516
|
+
afterRequest(fieldKey: string, payload?: any): import("../../../es/src/types").AnyObject[];
|
|
4517
4517
|
}>>;
|
|
4518
4518
|
};
|
|
4519
4519
|
}>> & {
|
|
@@ -6015,7 +6015,7 @@ declare const ShortcutSetter: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
6015
6015
|
type: import("vue").PropType<Partial<{
|
|
6016
6016
|
onSetup(): void;
|
|
6017
6017
|
beforeRequest(fieldKey: string, params?: import("../../../es/src/types").AnyObject | undefined): void | import("../../../es/src/types").WithUndefined<import("../../../es/src/types").AnyObject>;
|
|
6018
|
-
afterRequest(fieldKey: string, payload?:
|
|
6018
|
+
afterRequest(fieldKey: string, payload?: any): import("../../../es/src/types").AnyObject[];
|
|
6019
6019
|
}>>;
|
|
6020
6020
|
};
|
|
6021
6021
|
}>> & {
|
|
@@ -4398,7 +4398,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
4398
4398
|
type: import("vue").PropType<Partial<{
|
|
4399
4399
|
onSetup(): void;
|
|
4400
4400
|
beforeRequest(fieldKey: string, params?: import("../../../src/types").AnyObject | undefined): void | import("../../../src/types").WithUndefined<import("../../../src/types").AnyObject>;
|
|
4401
|
-
afterRequest(fieldKey: string, payload?:
|
|
4401
|
+
afterRequest(fieldKey: string, payload?: any): import("../../../src/types").AnyObject[];
|
|
4402
4402
|
}>>;
|
|
4403
4403
|
};
|
|
4404
4404
|
}, {
|
|
@@ -4513,7 +4513,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
4513
4513
|
type: import("vue").PropType<Partial<{
|
|
4514
4514
|
onSetup(): void;
|
|
4515
4515
|
beforeRequest(fieldKey: string, params?: import("../../../src/types").AnyObject | undefined): void | import("../../../src/types").WithUndefined<import("../../../src/types").AnyObject>;
|
|
4516
|
-
afterRequest(fieldKey: string, payload?:
|
|
4516
|
+
afterRequest(fieldKey: string, payload?: any): import("../../../src/types").AnyObject[];
|
|
4517
4517
|
}>>;
|
|
4518
4518
|
};
|
|
4519
4519
|
}>> & {
|
|
@@ -6015,7 +6015,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
6015
6015
|
type: import("vue").PropType<Partial<{
|
|
6016
6016
|
onSetup(): void;
|
|
6017
6017
|
beforeRequest(fieldKey: string, params?: import("../../../src/types").AnyObject | undefined): void | import("../../../src/types").WithUndefined<import("../../../src/types").AnyObject>;
|
|
6018
|
-
afterRequest(fieldKey: string, payload?:
|
|
6018
|
+
afterRequest(fieldKey: string, payload?: any): import("../../../src/types").AnyObject[];
|
|
6019
6019
|
}>>;
|
|
6020
6020
|
};
|
|
6021
6021
|
}>> & {
|