@nocobase/client 1.5.3 → 1.5.5
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 +9 -13
- package/lib/index.js +4 -4
- package/package.json +5 -5
package/es/index.mjs
CHANGED
|
@@ -7493,7 +7493,7 @@ function getSubscriber({
|
|
|
7493
7493
|
t.setState((d) => {
|
|
7494
7494
|
d.display = "visible";
|
|
7495
7495
|
});
|
|
7496
|
-
})) : (t[a] = c == null ? void 0 : c.value, requestAnimationFrame(() => {
|
|
7496
|
+
})) : (t[a] = c == null ? void 0 : c.value, t.data = t.data || {}, t.data.hidden = !1, requestAnimationFrame(() => {
|
|
7497
7497
|
t.setState((d) => {
|
|
7498
7498
|
d[a] = c == null ? void 0 : c.value;
|
|
7499
7499
|
});
|
|
@@ -33058,7 +33058,7 @@ const tableBlockSettings = new SchemaSettings({
|
|
|
33058
33058
|
name: "enableLink",
|
|
33059
33059
|
type: "switch",
|
|
33060
33060
|
useVisible() {
|
|
33061
|
-
const e = useField(), { fieldSchema: t } = useColumnSchema$1(), n = useFieldSchema(), o = t || n, { name: r } = useBlockContext();
|
|
33061
|
+
const e = useField(), { fieldSchema: t } = useColumnSchema$1(), n = useFieldSchema(), o = t || n, { name: r } = useBlockContext() || {};
|
|
33062
33062
|
return r !== "kanban" && ((o == null ? void 0 : o["x-read-pretty"]) || e.readPretty);
|
|
33063
33063
|
},
|
|
33064
33064
|
useComponentProps() {
|
|
@@ -33549,11 +33549,7 @@ const tableBlockSettings = new SchemaSettings({
|
|
|
33549
33549
|
return e && !t;
|
|
33550
33550
|
}
|
|
33551
33551
|
}),
|
|
33552
|
-
|
|
33553
|
-
useVisible() {
|
|
33554
|
-
return useField().componentProps.multiple !== !1;
|
|
33555
|
-
}
|
|
33556
|
-
}),
|
|
33552
|
+
getAllowMultiple({ title: "Allow multiple selection" }),
|
|
33557
33553
|
P(x({}, titleField$1), {
|
|
33558
33554
|
useVisible: useIsAssociationField
|
|
33559
33555
|
}),
|
|
@@ -35181,7 +35177,7 @@ function addAppVersion(e, t) {
|
|
|
35181
35177
|
addAppVersion((o = e.properties) == null ? void 0 : o[n], t);
|
|
35182
35178
|
}), e;
|
|
35183
35179
|
}
|
|
35184
|
-
const name = "@nocobase/client", version = "1.5.
|
|
35180
|
+
const name = "@nocobase/client", version = "1.5.5", license = "AGPL-3.0", main = "lib/index.js", module = "es/index.mjs", types = "es/index.d.ts", dependencies = {
|
|
35185
35181
|
"@ahooksjs/use-url-state": "3.5.1",
|
|
35186
35182
|
"@ant-design/cssinjs": "^1.11.1",
|
|
35187
35183
|
"@ant-design/icons": "^5.1.4",
|
|
@@ -35203,9 +35199,9 @@ const name = "@nocobase/client", version = "1.5.3", license = "AGPL-3.0", main =
|
|
|
35203
35199
|
"@formily/reactive-react": "^2.2.27",
|
|
35204
35200
|
"@formily/shared": "^2.2.27",
|
|
35205
35201
|
"@formily/validator": "^2.2.27",
|
|
35206
|
-
"@nocobase/evaluators": "1.5.
|
|
35207
|
-
"@nocobase/sdk": "1.5.
|
|
35208
|
-
"@nocobase/utils": "1.5.
|
|
35202
|
+
"@nocobase/evaluators": "1.5.5",
|
|
35203
|
+
"@nocobase/sdk": "1.5.5",
|
|
35204
|
+
"@nocobase/utils": "1.5.5",
|
|
35209
35205
|
ahooks: "^3.7.2",
|
|
35210
35206
|
antd: "5.12.8",
|
|
35211
35207
|
"antd-style": "3.7.1",
|
|
@@ -56406,9 +56402,9 @@ const PluginDetail = ({ plugin: e, onCancel: t }) => {
|
|
|
56406
56402
|
/* @__PURE__ */ jsx(Typography.Text, { type: "secondary", children: n("Repository") }),
|
|
56407
56403
|
/* @__PURE__ */ jsx(Typography.Text, { strong: !0, children: a })
|
|
56408
56404
|
] }) }),
|
|
56409
|
-
((p = r == null ? void 0 : r.data) == null ? void 0 : p.
|
|
56405
|
+
((p = r == null ? void 0 : r.data) == null ? void 0 : p.homepage) && /* @__PURE__ */ jsx(Col, { span: 24, children: /* @__PURE__ */ jsxs("div", { className: c.PluginDetailBaseInfo, children: [
|
|
56410
56406
|
/* @__PURE__ */ jsx(Typography.Text, { type: "secondary", children: n("Homepage") }),
|
|
56411
|
-
/* @__PURE__ */ jsx("a", { href: (m = r == null ? void 0 : r.data) == null ? void 0 : m.
|
|
56407
|
+
/* @__PURE__ */ jsx("a", { href: (m = r == null ? void 0 : r.data) == null ? void 0 : m.homepage, target: "_blank", rel: "noreferrer", children: (h = r == null ? void 0 : r.data) == null ? void 0 : h.homepage })
|
|
56412
56408
|
] }) }),
|
|
56413
56409
|
e.description && /* @__PURE__ */ jsx(Col, { span: 24, children: /* @__PURE__ */ jsxs("div", { className: c.PluginDetailBaseInfo, children: [
|
|
56414
56410
|
/* @__PURE__ */ jsx(Typography.Text, { type: "secondary", children: n("Description") }),
|