@nocobase/client 1.4.0-beta.6 → 1.4.0-beta.7
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/index.mjs
CHANGED
|
@@ -4287,7 +4287,7 @@ function addAppVersion(e, t) {
|
|
|
4287
4287
|
addAppVersion((n = e.properties) == null ? void 0 : n[o], t);
|
|
4288
4288
|
}), e;
|
|
4289
4289
|
}
|
|
4290
|
-
const name = "@nocobase/client", version$1 = "1.4.0-beta.
|
|
4290
|
+
const name = "@nocobase/client", version$1 = "1.4.0-beta.7", license = "AGPL-3.0", main = "lib/index.js", module = "es/index.mjs", types = "es/index.d.ts", dependencies = {
|
|
4291
4291
|
"@ahooksjs/use-url-state": "3.5.1",
|
|
4292
4292
|
"@ant-design/cssinjs": "^1.11.1",
|
|
4293
4293
|
"@ant-design/icons": "^5.1.4",
|
|
@@ -4309,9 +4309,9 @@ const name = "@nocobase/client", version$1 = "1.4.0-beta.6", license = "AGPL-3.0
|
|
|
4309
4309
|
"@formily/reactive-react": "^2.2.27",
|
|
4310
4310
|
"@formily/shared": "^2.2.27",
|
|
4311
4311
|
"@formily/validator": "^2.2.27",
|
|
4312
|
-
"@nocobase/evaluators": "1.4.0-beta.
|
|
4313
|
-
"@nocobase/sdk": "1.4.0-beta.
|
|
4314
|
-
"@nocobase/utils": "1.4.0-beta.
|
|
4312
|
+
"@nocobase/evaluators": "1.4.0-beta.7",
|
|
4313
|
+
"@nocobase/sdk": "1.4.0-beta.7",
|
|
4314
|
+
"@nocobase/utils": "1.4.0-beta.7",
|
|
4315
4315
|
ahooks: "^3.7.2",
|
|
4316
4316
|
antd: "5.12.8",
|
|
4317
4317
|
"antd-style": "3.7.1",
|
|
@@ -34133,10 +34133,10 @@ const getValues = (e, t) => castArray(e).filter((o) => o != null).map((o) => typ
|
|
|
34133
34133
|
filter: (J = o == null ? void 0 : o.params) == null ? void 0 : J.filter
|
|
34134
34134
|
})
|
|
34135
34135
|
}),
|
|
34136
|
-
{
|
|
34136
|
+
x({
|
|
34137
34137
|
manual: l,
|
|
34138
34138
|
debounceWait: n
|
|
34139
|
-
}
|
|
34139
|
+
}, o.defaultParams ? { defaultParams: [o.defaultParams] } : {})
|
|
34140
34140
|
), q = useMemo(
|
|
34141
34141
|
() => JSON.stringify({
|
|
34142
34142
|
service: o,
|
|
@@ -25,7 +25,9 @@ export type RemoteSelectProps<P = any> = SelectProps<P, any> & {
|
|
|
25
25
|
/**
|
|
26
26
|
* useRequest() `service` parameter
|
|
27
27
|
*/
|
|
28
|
-
service: ResourceActionOptions<P
|
|
28
|
+
service: ResourceActionOptions<P> & {
|
|
29
|
+
defaultParams?: any;
|
|
30
|
+
};
|
|
29
31
|
target: string;
|
|
30
32
|
mapOptions?: (data: any) => SelectProps['fieldNames'];
|
|
31
33
|
dataSource?: string;
|
|
@@ -54,7 +56,9 @@ export declare const RemoteSelect: React.FunctionComponent<Partial<import("antd"
|
|
|
54
56
|
/**
|
|
55
57
|
* useRequest() `service` parameter
|
|
56
58
|
*/
|
|
57
|
-
service: ResourceActionOptions<any
|
|
59
|
+
service: ResourceActionOptions<any> & {
|
|
60
|
+
defaultParams?: any;
|
|
61
|
+
};
|
|
58
62
|
target: string;
|
|
59
63
|
mapOptions?: (data: any) => SelectProps['fieldNames'];
|
|
60
64
|
dataSource?: string;
|