@nocobase/client 1.0.0-alpha.11 → 1.0.0-alpha.12
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 +5 -5
- package/lib/index.js +2 -2
- package/package.json +5 -5
package/es/index.mjs
CHANGED
|
@@ -3779,7 +3779,7 @@ function addAppVersion(e, t) {
|
|
|
3779
3779
|
addAppVersion((n = e.properties) == null ? void 0 : n[o], t);
|
|
3780
3780
|
}), e;
|
|
3781
3781
|
}
|
|
3782
|
-
const name = "@nocobase/client", version$1 = "1.0.0-alpha.
|
|
3782
|
+
const name = "@nocobase/client", version$1 = "1.0.0-alpha.12", license = "AGPL-3.0", main = "lib/index.js", module = "es/index.mjs", types = "es/index.d.ts", dependencies = {
|
|
3783
3783
|
"@ahooksjs/use-url-state": "3.5.1",
|
|
3784
3784
|
"@ant-design/cssinjs": "^1.11.1",
|
|
3785
3785
|
"@ant-design/icons": "^5.1.4",
|
|
@@ -3800,9 +3800,9 @@ const name = "@nocobase/client", version$1 = "1.0.0-alpha.11", license = "AGPL-3
|
|
|
3800
3800
|
"@formily/reactive-react": "^2.2.27",
|
|
3801
3801
|
"@formily/shared": "^2.2.27",
|
|
3802
3802
|
"@formily/validator": "^2.2.27",
|
|
3803
|
-
"@nocobase/evaluators": "1.0.0-alpha.
|
|
3804
|
-
"@nocobase/sdk": "1.0.0-alpha.
|
|
3805
|
-
"@nocobase/utils": "1.0.0-alpha.
|
|
3803
|
+
"@nocobase/evaluators": "1.0.0-alpha.12",
|
|
3804
|
+
"@nocobase/sdk": "1.0.0-alpha.12",
|
|
3805
|
+
"@nocobase/utils": "1.0.0-alpha.12",
|
|
3806
3806
|
ahooks: "^3.7.2",
|
|
3807
3807
|
antd: "^5.12.8",
|
|
3808
3808
|
"antd-style": "3.4.5",
|
|
@@ -47223,7 +47223,7 @@ class TreeCollectionTemplate extends CollectionTemplate {
|
|
|
47223
47223
|
I(this, "events", {
|
|
47224
47224
|
beforeSubmit(o) {
|
|
47225
47225
|
Array.isArray(o == null ? void 0 : o.fields) && (o == null || o.fields.map((n) => {
|
|
47226
|
-
n.target
|
|
47226
|
+
!n.target && ["belongsToMany", "belongsTo", "hasMany", "hasOne"].includes(n.type) && (n.target = o.name);
|
|
47227
47227
|
}));
|
|
47228
47228
|
}
|
|
47229
47229
|
});
|