@nocobase/client 1.8.15 → 1.8.17

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.
@@ -25,8 +25,8 @@ export declare class SqlCollectionTemplate extends CollectionTemplate {
25
25
  updatedBy: any;
26
26
  updatedAt: any;
27
27
  category: any;
28
- sortable: any;
29
28
  inherits: any;
29
+ sortable: any;
30
30
  autoGenId: any;
31
31
  simplePaginate: any;
32
32
  presetFields: any;
@@ -26,8 +26,8 @@ export declare class ViewCollectionTemplate extends CollectionTemplate {
26
26
  updatedBy: any;
27
27
  updatedAt: any;
28
28
  category: any;
29
- sortable: any;
30
29
  inherits: any;
30
+ sortable: any;
31
31
  autoGenId: any;
32
32
  simplePaginate: any;
33
33
  presetFields: any;
package/es/index.mjs CHANGED
@@ -114,7 +114,6 @@ import ProLayout, { RouteContext, PageHeader } from "@ant-design/pro-layout";
114
114
  import * as antdStyle from "antd-style";
115
115
  import { createStyles, createGlobalStyle, useAntdToken } from "antd-style";
116
116
  import { createStyles as Rn } from "antd-style";
117
- import LRUCache from "lru-cache";
118
117
  import * as dndKitCore from "@dnd-kit/core";
119
118
  import { DndContext as DndContext$1, rectIntersection, DragOverlay, useDroppable, useDndContext, useDndMonitor, useDraggable } from "@dnd-kit/core";
120
119
  import * as dndKitSortable from "@dnd-kit/sortable";
@@ -127,6 +126,7 @@ import axios from "axios";
127
126
  import * as FileSaver from "file-saver";
128
127
  import { saveAs } from "file-saver";
129
128
  import { useHotkeys } from "react-hotkeys-hook";
129
+ import LRUCache from "lru-cache";
130
130
  import { Context } from "rc-motion/es/context";
131
131
  import JSON5 from "json5";
132
132
  import { spliceArrayState, exchangeArrayState } from "@formily/core/esm/shared/internals";
@@ -7357,14 +7357,6 @@ function useDataBlockResource() {
7357
7357
  throw new Error("useDataBlockResource() must be used within a DataBlockResourceProvider");
7358
7358
  return e;
7359
7359
  }
7360
- function forEachLinkageRule(e, t) {
7361
- e.forEach((n) => {
7362
- var o;
7363
- (o = n.actions) == null || o.forEach((r) => {
7364
- t(r, n);
7365
- });
7366
- });
7367
- }
7368
7360
  const defaultTheme = {
7369
7361
  name: "",
7370
7362
  token: {
@@ -8779,7 +8771,7 @@ function addAppVersion(e, t) {
8779
8771
  addAppVersion((o = e.properties) == null ? void 0 : o[n], t);
8780
8772
  }), e;
8781
8773
  }
8782
- const name = "@nocobase/client", version = "1.8.15", license = "AGPL-3.0", main = "lib/index.js", module = "es/index.mjs", types = "es/index.d.ts", dependencies = {
8774
+ const name = "@nocobase/client", version = "1.8.17", license = "AGPL-3.0", main = "lib/index.js", module = "es/index.mjs", types = "es/index.d.ts", dependencies = {
8783
8775
  "@ahooksjs/use-url-state": "3.5.1",
8784
8776
  "@ant-design/cssinjs": "^1.11.1",
8785
8777
  "@ant-design/icons": "^5.6.1",
@@ -8800,9 +8792,9 @@ const name = "@nocobase/client", version = "1.8.15", license = "AGPL-3.0", main
8800
8792
  "@formily/reactive-react": "^2.2.27",
8801
8793
  "@formily/shared": "^2.2.27",
8802
8794
  "@formily/validator": "^2.2.27",
8803
- "@nocobase/evaluators": "1.8.15",
8804
- "@nocobase/sdk": "1.8.15",
8805
- "@nocobase/utils": "1.8.15",
8795
+ "@nocobase/evaluators": "1.8.17",
8796
+ "@nocobase/sdk": "1.8.17",
8797
+ "@nocobase/utils": "1.8.17",
8806
8798
  ahooks: "^3.7.2",
8807
8799
  antd: "5.24.2",
8808
8800
  "antd-style": "3.7.1",
@@ -28467,7 +28459,16 @@ const linkageAction$1 = (l, c) => q(void 0, [l, c], function* ({
28467
28459
  l(d);
28468
28460
  });
28469
28461
  }, [e, o, c]), i;
28470
- }, getLinkageRules$2 = (e) => {
28462
+ };
28463
+ function forEachLinkageRule(e, t) {
28464
+ e.forEach((n) => {
28465
+ var o;
28466
+ (o = n.actions) == null || o.forEach((r) => {
28467
+ t(r, n);
28468
+ });
28469
+ });
28470
+ }
28471
+ const getLinkageRules$2 = (e) => {
28471
28472
  if (!e)
28472
28473
  return [];
28473
28474
  let t = (e == null ? void 0 : e["x-block-linkage-rules"]) || [];
@@ -28496,7 +28497,7 @@ const linkageAction$1 = (l, c) => q(void 0, [l, c], function* ({
28496
28497
  a.removeEffects(p);
28497
28498
  };
28498
28499
  }
28499
- }, [i, d]), i.length ? u == null || u.length === 0 ? null : last(u) === "hidden" ? r ? /* @__PURE__ */ jsx("div", { style: { opacity: 0.3 }, children: e.children }) : null : e.children : e.children;
28500
+ }, [i, d]), i.length ? u === null ? null : last(u) === "hidden" ? r ? /* @__PURE__ */ jsx("div", { style: { opacity: 0.3 }, children: e.children }) : null : e.children : e.children;
28500
28501
  }, DataBlockContext = createContext({});
28501
28502
  DataBlockContext.displayName = "DataBlockContext";
28502
28503
  const DataBlockResourceContext = createContext(null), RerenderDataBlockProvider = ({ children: e }) => {
@@ -6,4 +6,4 @@
6
6
  * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
7
  * For more information, please refer to: https://www.nocobase.com/agreement.
8
8
  */
9
- export declare const getStrength: (val: any) => 0 | 20 | 100 | 80 | 40 | 60;
9
+ export declare const getStrength: (val: any) => 0 | 20 | 100 | 40 | 80 | 60;