@nocobase/client 1.5.25 → 1.5.26
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 -11
- package/lib/index.js +3 -3
- package/package.json +5 -5
package/es/index.mjs
CHANGED
|
@@ -16973,10 +16973,7 @@ const RenderButtonInner = observer$1(
|
|
|
16973
16973
|
"Designer",
|
|
16974
16974
|
"designerProps",
|
|
16975
16975
|
"title"
|
|
16976
|
-
])
|
|
16977
|
-
if (!t && ((R = n == null ? void 0 : n.data) != null && R.hidden || !o))
|
|
16978
|
-
return null;
|
|
16979
|
-
const v = useCallback(
|
|
16976
|
+
]), v = useCallback(
|
|
16980
16977
|
debounce(
|
|
16981
16978
|
(D, j = !0) => {
|
|
16982
16979
|
d(D, j);
|
|
@@ -16986,9 +16983,10 @@ const RenderButtonInner = observer$1(
|
|
|
16986
16983
|
),
|
|
16987
16984
|
[d]
|
|
16988
16985
|
);
|
|
16989
|
-
useEffect(() => () => {
|
|
16986
|
+
if (useEffect(() => () => {
|
|
16990
16987
|
v.cancel();
|
|
16991
|
-
}, [])
|
|
16988
|
+
}, []), !t && ((R = n == null ? void 0 : n.data) != null && R.hidden || !o))
|
|
16989
|
+
return null;
|
|
16992
16990
|
const F = S || (n == null ? void 0 : n.title);
|
|
16993
16991
|
return /* @__PURE__ */ jsxs(
|
|
16994
16992
|
SortableItem,
|
|
@@ -32218,7 +32216,7 @@ const tableBlockSettings = new SchemaSettings({
|
|
|
32218
32216
|
type: "switch",
|
|
32219
32217
|
useVisible() {
|
|
32220
32218
|
const e = useCollection(), { collectionField: t } = useColumnSchema$1(), { getInterface: n } = useCollectionManager_deprecated(), o = n(t == null ? void 0 : t.interface), { currentMode: r } = useAssociationFieldContext();
|
|
32221
|
-
return (o == null ? void 0 : o.sortable) === !0 && !r && ((e == null ? void 0 : e.name) === (t == null ? void 0 : t.collectionName) || !(t != null && t.collectionName) || t.inherit);
|
|
32219
|
+
return (o == null ? void 0 : o.sortable) === !0 && !r && ((e == null ? void 0 : e.name) === (t == null ? void 0 : t.collectionName) || !(t != null && t.collectionName) || (t == null ? void 0 : t.inherit));
|
|
32222
32220
|
},
|
|
32223
32221
|
useComponentProps() {
|
|
32224
32222
|
const e = useField(), { t } = useTranslation(), n = useFieldSchema(), { dn: o } = useDesignable();
|
|
@@ -35230,7 +35228,7 @@ function addAppVersion(e, t) {
|
|
|
35230
35228
|
addAppVersion((o = e.properties) == null ? void 0 : o[n], t);
|
|
35231
35229
|
}), e;
|
|
35232
35230
|
}
|
|
35233
|
-
const name = "@nocobase/client", version = "1.5.
|
|
35231
|
+
const name = "@nocobase/client", version = "1.5.26", license = "AGPL-3.0", main = "lib/index.js", module = "es/index.mjs", types = "es/index.d.ts", dependencies = {
|
|
35234
35232
|
"@ahooksjs/use-url-state": "3.5.1",
|
|
35235
35233
|
"@ant-design/cssinjs": "^1.11.1",
|
|
35236
35234
|
"@ant-design/icons": "^5.1.4",
|
|
@@ -35252,9 +35250,9 @@ const name = "@nocobase/client", version = "1.5.25", license = "AGPL-3.0", main
|
|
|
35252
35250
|
"@formily/reactive-react": "^2.2.27",
|
|
35253
35251
|
"@formily/shared": "^2.2.27",
|
|
35254
35252
|
"@formily/validator": "^2.2.27",
|
|
35255
|
-
"@nocobase/evaluators": "1.5.
|
|
35256
|
-
"@nocobase/sdk": "1.5.
|
|
35257
|
-
"@nocobase/utils": "1.5.
|
|
35253
|
+
"@nocobase/evaluators": "1.5.26",
|
|
35254
|
+
"@nocobase/sdk": "1.5.26",
|
|
35255
|
+
"@nocobase/utils": "1.5.26",
|
|
35258
35256
|
ahooks: "^3.7.2",
|
|
35259
35257
|
antd: "5.12.8",
|
|
35260
35258
|
"antd-style": "3.7.1",
|