@nocobase/client 1.3.54 → 1.3.55

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 CHANGED
@@ -103,7 +103,7 @@ import { createRoot as createRoot$1 } from "react-dom/client";
103
103
  import * as i18next from "i18next";
104
104
  import i18next__default from "i18next";
105
105
  import * as antIcons from "@ant-design/icons";
106
- import antIcons__default, { LoadingOutlined, createFromIconfontCN, RightOutlined, HighlightOutlined, PlusOutlined, DragOutlined, MenuOutlined, TableOutlined, ArrowLeftOutlined, CopyOutlined, CloseCircleOutlined, UserOutlined, CloseCircleFilled, CloseOutlined, InboxOutlined, DownloadOutlined, DeleteOutlined, EditOutlined, DownOutlined, CheckOutlined, RightSquareOutlined, SyncOutlined, ExclamationCircleFilled, ApiOutlined, SettingOutlined, ReadOutlined, ReloadOutlined, QuestionCircleOutlined, SearchOutlined, FormOutlined, OrderedListOutlined, DisconnectOutlined } from "@ant-design/icons";
106
+ import antIcons__default, { LoadingOutlined, createFromIconfontCN, RightOutlined, HighlightOutlined, PlusOutlined, DragOutlined, MenuOutlined, TableOutlined, ArrowLeftOutlined, CopyOutlined, CloseCircleOutlined, UserOutlined, CloseCircleFilled, CloseOutlined, InboxOutlined, DownloadOutlined, DeleteOutlined, EditOutlined, DownOutlined, CheckOutlined, RightSquareOutlined, SyncOutlined, ExclamationCircleFilled, ApiOutlined, SettingOutlined, ReadOutlined, ReloadOutlined, QuestionCircleOutlined, SearchOutlined, FormOutlined, ProfileOutlined, AppstoreOutlined, OrderedListOutlined, DisconnectOutlined } from "@ant-design/icons";
107
107
  import * as formilyReactiveReact from "@formily/reactive-react";
108
108
  import { observer } from "@formily/reactive-react";
109
109
  import { ErrorBoundary } from "react-error-boundary";
@@ -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.54", license = "AGPL-3.0", main = "lib/index.js", module = "es/index.mjs", types = "es/index.d.ts", dependencies = {
4143
+ const name = "@nocobase/client", version$1 = "1.3.55", 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.54", license = "AGPL-3.0", mai
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.54",
4165
- "@nocobase/sdk": "1.3.54",
4166
- "@nocobase/utils": "1.3.54",
4164
+ "@nocobase/evaluators": "1.3.55",
4165
+ "@nocobase/sdk": "1.3.55",
4166
+ "@nocobase/utils": "1.3.55",
4167
4167
  ahooks: "^3.7.2",
4168
4168
  antd: "5.12.8",
4169
4169
  "antd-style": "3.7.1",
@@ -32185,7 +32185,7 @@ const ReadPretty$b = observer$1(
32185
32185
  (e) => {
32186
32186
  var a;
32187
32187
  const t = h(h({}, defaultFieldNames$1), e.fieldNames), o = useField(), n = useCollectionField(), r = o.dataSource || e.options || (n == null ? void 0 : n.uiSchema.enum) || [], i = getCurrentOptions(o.value, r, t);
32188
- return !isValid(e.value) && !i.length ? /* @__PURE__ */ jsx("div", {}) : isArrayField(o) && ((a = o == null ? void 0 : o.value) == null ? void 0 : a.length) === 0 ? /* @__PURE__ */ jsx("div", {}) : /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(EllipsisWithTooltip, { ellipsis: e.ellipsis, children: i.map((l, c) => /* @__PURE__ */ jsx(Tag, { color: l[t.color], icon: l.icon, children: l[t.label] }, c)) }) });
32188
+ return !isValid(e.value) && !i.length ? /* @__PURE__ */ jsx("div", {}) : isArrayField(o) && ((a = o == null ? void 0 : o.value) == null ? void 0 : a.length) === 0 ? /* @__PURE__ */ jsx("div", {}) : /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(EllipsisWithTooltip, { ellipsis: e.ellipsis, children: o.value && i.map((l, c) => /* @__PURE__ */ jsx(Tag, { color: l[t.color], icon: l.icon, children: l[t.label] }, c)) }) });
32189
32189
  },
32190
32190
  { displayName: "ReadPretty" }
32191
32191
  ), isEmptyObject = (e) => !isValid(e) || typeof e == "object" && Object.keys(e).length === 0, ObjectSelect = (e) => {
@@ -56645,7 +56645,7 @@ const SelectActionInitializer = (e) => {
56645
56645
  return /* @__PURE__ */ jsx(
56646
56646
  DataBlockInitializer,
56647
56647
  F(h({}, c), {
56648
- icon: /* @__PURE__ */ jsx(TableOutlined, {}),
56648
+ icon: /* @__PURE__ */ jsx(ProfileOutlined, {}),
56649
56649
  componentType: n,
56650
56650
  onCreateBlockSchema: (d) => z(void 0, null, function* () {
56651
56651
  if (r)
@@ -57336,7 +57336,7 @@ const commonOptions$e = {
57336
57336
  return /* @__PURE__ */ jsx(
57337
57337
  DataBlockInitializer,
57338
57338
  F(h({}, l), {
57339
- icon: /* @__PURE__ */ jsx(OrderedListOutlined, {}),
57339
+ icon: /* @__PURE__ */ jsx(AppstoreOutlined, {}),
57340
57340
  componentType: "GridCard",
57341
57341
  onCreateBlockSchema: (u) => z(void 0, null, function* () {
57342
57342
  if (n)
@@ -57731,7 +57731,7 @@ const commonOptions$e = {
57731
57731
  DataBlockInitializer,
57732
57732
  F(h({}, n), {
57733
57733
  onlyCurrentDataSource: t,
57734
- icon: /* @__PURE__ */ jsx(TableOutlined, {}),
57734
+ icon: /* @__PURE__ */ jsx(RightSquareOutlined, {}),
57735
57735
  componentType: "FilterCollapse",
57736
57736
  onCreateBlockSchema: (a) => z(void 0, [a], function* ({ item: i }) {
57737
57737
  const l = createCollapseBlockSchema({