@nocobase/client 1.3.44-beta → 1.3.45-beta
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/acl/ACLProvider.d.ts +1 -1
- package/es/index.mjs +6 -6
- package/lib/index.js +2 -2
- package/package.json +5 -5
package/es/acl/ACLProvider.d.ts
CHANGED
|
@@ -35,7 +35,7 @@ export declare const useRecordPkValue: () => any;
|
|
|
35
35
|
export declare const ACLActionProvider: (props: any) => React.JSX.Element;
|
|
36
36
|
export declare const useACLFieldWhitelist: () => {
|
|
37
37
|
whitelist: any[];
|
|
38
|
-
schemaInWhitelist: (fieldSchema: Schema, isSkip?: any) => boolean;
|
|
38
|
+
schemaInWhitelist: (fieldSchema: Schema | any, isSkip?: any) => boolean;
|
|
39
39
|
};
|
|
40
40
|
export declare const ACLCollectionFieldProvider: (props: any) => React.JSX.Element;
|
|
41
41
|
export declare const ACLMenuItemProvider: (props: any) => React.JSX.Element;
|
package/es/index.mjs
CHANGED
|
@@ -4140,7 +4140,7 @@ function addAppVersion(e, t) {
|
|
|
4140
4140
|
addAppVersion((n = e.properties) == null ? void 0 : n[o], t);
|
|
4141
4141
|
}), e;
|
|
4142
4142
|
}
|
|
4143
|
-
const name = "@nocobase/client", version$1 = "1.3.
|
|
4143
|
+
const name = "@nocobase/client", version$1 = "1.3.45-beta", license = "AGPL-3.0", main = "lib/index.js", module = "es/index.mjs", types = "es/index.d.ts", dependencies = {
|
|
4144
4144
|
"@ahooksjs/use-url-state": "3.5.1",
|
|
4145
4145
|
"@ant-design/cssinjs": "^1.11.1",
|
|
4146
4146
|
"@ant-design/icons": "^5.1.4",
|
|
@@ -4161,9 +4161,9 @@ const name = "@nocobase/client", version$1 = "1.3.44-beta", license = "AGPL-3.0"
|
|
|
4161
4161
|
"@formily/reactive-react": "^2.2.27",
|
|
4162
4162
|
"@formily/shared": "^2.2.27",
|
|
4163
4163
|
"@formily/validator": "^2.2.27",
|
|
4164
|
-
"@nocobase/evaluators": "1.3.
|
|
4165
|
-
"@nocobase/sdk": "1.3.
|
|
4166
|
-
"@nocobase/utils": "1.3.
|
|
4164
|
+
"@nocobase/evaluators": "1.3.45-beta",
|
|
4165
|
+
"@nocobase/sdk": "1.3.45-beta",
|
|
4166
|
+
"@nocobase/utils": "1.3.45-beta",
|
|
4167
4167
|
ahooks: "^3.7.2",
|
|
4168
4168
|
antd: "5.12.8",
|
|
4169
4169
|
"antd-style": "3.7.1",
|
|
@@ -51488,8 +51488,8 @@ const ACLCollectionProvider = (e) => {
|
|
|
51488
51488
|
(o, n) => {
|
|
51489
51489
|
if (n || t.length === 0 || !o || !o["x-collection-field"])
|
|
51490
51490
|
return !0;
|
|
51491
|
-
const [r, i] = o["x-collection-field"].split(".");
|
|
51492
|
-
return t == null ? void 0 : t.includes(i || r);
|
|
51491
|
+
const [r, i] = o["x-collection-field"].split("."), [a] = o.name.split(".");
|
|
51492
|
+
return t == null ? void 0 : t.includes(a || i || r);
|
|
51493
51493
|
},
|
|
51494
51494
|
[t]
|
|
51495
51495
|
)
|