@nocobase/client 1.2.13-alpha → 1.2.15-alpha
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 +8 -8
- package/lib/index.js +5 -5
- package/package.json +5 -5
package/es/index.mjs
CHANGED
|
@@ -3941,7 +3941,7 @@ function addAppVersion(e, t) {
|
|
|
3941
3941
|
addAppVersion((n = e.properties) == null ? void 0 : n[o], t);
|
|
3942
3942
|
}), e;
|
|
3943
3943
|
}
|
|
3944
|
-
const name = "@nocobase/client", version$1 = "1.2.
|
|
3944
|
+
const name = "@nocobase/client", version$1 = "1.2.15-alpha", license = "AGPL-3.0", main = "lib/index.js", module = "es/index.mjs", types = "es/index.d.ts", dependencies = {
|
|
3945
3945
|
"@ahooksjs/use-url-state": "3.5.1",
|
|
3946
3946
|
"@ant-design/cssinjs": "^1.11.1",
|
|
3947
3947
|
"@ant-design/icons": "^5.1.4",
|
|
@@ -3962,9 +3962,9 @@ const name = "@nocobase/client", version$1 = "1.2.13-alpha", license = "AGPL-3.0
|
|
|
3962
3962
|
"@formily/reactive-react": "^2.2.27",
|
|
3963
3963
|
"@formily/shared": "^2.2.27",
|
|
3964
3964
|
"@formily/validator": "^2.2.27",
|
|
3965
|
-
"@nocobase/evaluators": "1.2.
|
|
3966
|
-
"@nocobase/sdk": "1.2.
|
|
3967
|
-
"@nocobase/utils": "1.2.
|
|
3965
|
+
"@nocobase/evaluators": "1.2.15-alpha",
|
|
3966
|
+
"@nocobase/sdk": "1.2.15-alpha",
|
|
3967
|
+
"@nocobase/utils": "1.2.15-alpha",
|
|
3968
3968
|
ahooks: "^3.7.2",
|
|
3969
3969
|
antd: "^5.12.8",
|
|
3970
3970
|
"antd-style": "3.4.5",
|
|
@@ -7421,7 +7421,7 @@ const SchemaInitializerDivider = () => {
|
|
|
7421
7421
|
} : {},
|
|
7422
7422
|
[p, c, i]
|
|
7423
7423
|
);
|
|
7424
|
-
return /* @__PURE__ */ jsx(SchemaInitializerItem, F(g({}, l), { children: /* @__PURE__ */ jsxs("div", { style: { alignItems: "center", display: "flex", justifyContent: "space-between" }, children: [
|
|
7424
|
+
return /* @__PURE__ */ jsx(SchemaInitializerItem, F(g({ closeInitializerMenuWhenClick: !1 }, l), { children: /* @__PURE__ */ jsxs("div", { style: { alignItems: "center", display: "flex", justifyContent: "space-between" }, children: [
|
|
7425
7425
|
t,
|
|
7426
7426
|
/* @__PURE__ */ jsx(
|
|
7427
7427
|
Select$1,
|
|
@@ -9281,7 +9281,7 @@ const useMemoizedSchema = (e) => useMemo(() => toSchema(e), []), RecursionSchema
|
|
|
9281
9281
|
l && l(f), u && u();
|
|
9282
9282
|
}
|
|
9283
9283
|
});
|
|
9284
|
-
return h ? /* @__PURE__ */ jsx(Spin, {}) : n ? /* @__PURE__ */ jsx(Spin, {}) : t ? /* @__PURE__ */ jsx(SchemaComponent, {
|
|
9284
|
+
return h ? /* @__PURE__ */ jsx(Spin, {}) : n ? /* @__PURE__ */ jsx(Spin, {}) : t ? /* @__PURE__ */ jsx(SchemaComponent, { components: a, scope: r, schema: c((m == null ? void 0 : m.data) || {}) }) : /* @__PURE__ */ jsx(FormProvider, { form: p, children: /* @__PURE__ */ jsx(SchemaComponent, { components: a, scope: r, schema: c((m == null ? void 0 : m.data) || {}) }) });
|
|
9285
9285
|
}, RemoteSchemaComponent = (e) => e.uid ? /* @__PURE__ */ jsx(RequestSchemaComponent, g({}, e)) : null, randomString = (e = "") => `${e}${uid()}`;
|
|
9286
9286
|
Schema.silent(!0);
|
|
9287
9287
|
const results = {}, Registry = {
|
|
@@ -20481,6 +20481,7 @@ const createSubmitActionSettings = new SchemaSettings({
|
|
|
20481
20481
|
t ? /* @__PURE__ */ jsx(
|
|
20482
20482
|
SchemaInitializerSelect,
|
|
20483
20483
|
{
|
|
20484
|
+
closeInitializerMenuWhenClick: !1,
|
|
20484
20485
|
title: i("Open mode"),
|
|
20485
20486
|
options: [
|
|
20486
20487
|
{ label: i("Drawer"), value: "drawer" },
|
|
@@ -20498,7 +20499,7 @@ const createSubmitActionSettings = new SchemaSettings({
|
|
|
20498
20499
|
}
|
|
20499
20500
|
}
|
|
20500
20501
|
) : null,
|
|
20501
|
-
o && ["modal", "drawer"].includes(l) ? /* @__PURE__ */ jsx(SchemaInitializerItem, { children: /* @__PURE__ */ jsxs("div", { style: { alignItems: "center", display: "flex", justifyContent: "space-between" }, children: [
|
|
20502
|
+
o && ["modal", "drawer"].includes(l) ? /* @__PURE__ */ jsx(SchemaInitializerItem, { closeInitializerMenuWhenClick: !1, children: /* @__PURE__ */ jsxs("div", { style: { alignItems: "center", display: "flex", justifyContent: "space-between" }, children: [
|
|
20502
20503
|
i("Popup size"),
|
|
20503
20504
|
/* @__PURE__ */ jsx(
|
|
20504
20505
|
Select$1,
|
|
@@ -52019,7 +52020,6 @@ const useMenuProps = () => {
|
|
|
52019
52020
|
SchemaComponent,
|
|
52020
52021
|
{
|
|
52021
52022
|
distributed: !0,
|
|
52022
|
-
memoized: !0,
|
|
52023
52023
|
scope: { useMenuProps, onSelect: b, sideMenuRef: f, defaultSelectedUid: m },
|
|
52024
52024
|
schema: A
|
|
52025
52025
|
}
|