@nocobase/client 1.6.33 → 1.6.34
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 +5 -5
- package/package.json +7 -8
package/es/index.mjs
CHANGED
|
@@ -110,13 +110,10 @@ import { createGlobalStyle, useAntdToken, createStyles } from "antd-style";
|
|
|
110
110
|
import { createStyles as vn } from "antd-style";
|
|
111
111
|
import JSON5 from "json5";
|
|
112
112
|
import { usePrefixCls as usePrefixCls$1, dayjsable, formatDayjsValue } from "@formily/antd-v5/esm/__builtins__";
|
|
113
|
-
import * as dndKitAccessibility from "@dnd-kit/accessibility";
|
|
114
113
|
import * as dndKitCore from "@dnd-kit/core";
|
|
115
114
|
import { DndContext as DndContext$1, rectIntersection, DragOverlay, useDroppable, useDndContext, useDndMonitor, useDraggable } from "@dnd-kit/core";
|
|
116
|
-
import * as dndKitModifiers from "@dnd-kit/modifiers";
|
|
117
115
|
import * as dndKitSortable from "@dnd-kit/sortable";
|
|
118
116
|
import { SortableContext as SortableContext$1, useSortable } from "@dnd-kit/sortable";
|
|
119
|
-
import * as dndKitUtilities from "@dnd-kit/utilities";
|
|
120
117
|
import * as formilyJsonSchema from "@formily/json-schema";
|
|
121
118
|
import * as formilyPath from "@formily/path";
|
|
122
119
|
import * as formilyValidator from "@formily/validator";
|
|
@@ -9213,7 +9210,7 @@ function addAppVersion(e, t) {
|
|
|
9213
9210
|
addAppVersion((o = e.properties) == null ? void 0 : o[n], t);
|
|
9214
9211
|
}), e;
|
|
9215
9212
|
}
|
|
9216
|
-
const name = "@nocobase/client", version = "1.6.
|
|
9213
|
+
const name = "@nocobase/client", version = "1.6.34", license = "AGPL-3.0", main = "lib/index.js", module = "es/index.mjs", types = "es/index.d.ts", dependencies = {
|
|
9217
9214
|
"@ahooksjs/use-url-state": "3.5.1",
|
|
9218
9215
|
"@ant-design/cssinjs": "^1.11.1",
|
|
9219
9216
|
"@ant-design/icons": "^5.6.1",
|
|
@@ -9221,9 +9218,8 @@ const name = "@nocobase/client", version = "1.6.33", license = "AGPL-3.0", main
|
|
|
9221
9218
|
"@antv/g2plot": "^2.4.18",
|
|
9222
9219
|
"@budibase/handlebars-helpers": "0.14.0",
|
|
9223
9220
|
"@ctrl/tinycolor": "^3.6.0",
|
|
9224
|
-
"@dnd-kit/core": "^
|
|
9225
|
-
"@dnd-kit/
|
|
9226
|
-
"@dnd-kit/sortable": "^6.0.0",
|
|
9221
|
+
"@dnd-kit/core": "^6.0.0",
|
|
9222
|
+
"@dnd-kit/sortable": "^7.0.0",
|
|
9227
9223
|
"@emotion/css": "^11.7.1",
|
|
9228
9224
|
"@formily/antd-v5": "1.1.9",
|
|
9229
9225
|
"@formily/core": "^2.2.27",
|
|
@@ -9235,9 +9231,9 @@ const name = "@nocobase/client", version = "1.6.33", license = "AGPL-3.0", main
|
|
|
9235
9231
|
"@formily/reactive-react": "^2.2.27",
|
|
9236
9232
|
"@formily/shared": "^2.2.27",
|
|
9237
9233
|
"@formily/validator": "^2.2.27",
|
|
9238
|
-
"@nocobase/evaluators": "1.6.
|
|
9239
|
-
"@nocobase/sdk": "1.6.
|
|
9240
|
-
"@nocobase/utils": "1.6.
|
|
9234
|
+
"@nocobase/evaluators": "1.6.34",
|
|
9235
|
+
"@nocobase/sdk": "1.6.34",
|
|
9236
|
+
"@nocobase/utils": "1.6.34",
|
|
9241
9237
|
ahooks: "^3.7.2",
|
|
9242
9238
|
antd: "5.12.8",
|
|
9243
9239
|
"antd-style": "3.7.1",
|
|
@@ -12947,7 +12943,7 @@ const compose = (...e) => {
|
|
|
12947
12943
|
return (n) => (o) => /* @__PURE__ */ jsx(t, { children: n && /* @__PURE__ */ jsx(n, x({}, o)) });
|
|
12948
12944
|
};
|
|
12949
12945
|
function defineGlobalDeps(e) {
|
|
12950
|
-
e.define("react", () => React), e.define("react-dom", () => ReactDOM__default), e.define("react/jsx-runtime", () => jsxRuntime), e.define("react-router", () => ReactRouter), e.define("react-router-dom", () => ReactRouterDom), e.define("antd", () => antd), e.define("antd-style", () => antdStyle), e.define("@ant-design/icons", () => antIcons), e.define("@ant-design/cssinjs", () => antdCssinjs), e.define("i18next", () => i18next), e.define("react-i18next", () => reactI18next), e.define("@formily/antd-v5", () => formilyAntdV5), e.define("@formily/core", () => formilyCore), e.define("@formily/react", () => formilyReact), e.define("@formily/shared", () => formilyShared), e.define("@formily/json-schema", () => formilyJsonSchema), e.define("@formily/reactive", () => formilyJsonReactive), e.define("@formily/path", () => formilyPath), e.define("@formily/validator", () => formilyValidator), e.define("@formily/reactive-react", () => formilyReactiveReact), e.define("@nocobase/utils", () => nocobaseClientUtils), e.define("@nocobase/utils/client", () => nocobaseClientUtils), e.define("@nocobase/client", () => nocobaseClient), e.define("@nocobase/client/client", () => nocobaseClient), e.define("@nocobase/evaluators", () => nocobaseEvaluators), e.define("@nocobase/evaluators/client", () => nocobaseEvaluators), e.define("@nocobase/sdk", () => nocobaseSDK), e.define("@dnd-kit/
|
|
12946
|
+
e.define("react", () => React), e.define("react-dom", () => ReactDOM__default), e.define("react/jsx-runtime", () => jsxRuntime), e.define("react-router", () => ReactRouter), e.define("react-router-dom", () => ReactRouterDom), e.define("antd", () => antd), e.define("antd-style", () => antdStyle), e.define("@ant-design/icons", () => antIcons), e.define("@ant-design/cssinjs", () => antdCssinjs), e.define("i18next", () => i18next), e.define("react-i18next", () => reactI18next), e.define("@formily/antd-v5", () => formilyAntdV5), e.define("@formily/core", () => formilyCore), e.define("@formily/react", () => formilyReact), e.define("@formily/shared", () => formilyShared), e.define("@formily/json-schema", () => formilyJsonSchema), e.define("@formily/reactive", () => formilyJsonReactive), e.define("@formily/path", () => formilyPath), e.define("@formily/validator", () => formilyValidator), e.define("@formily/reactive-react", () => formilyReactiveReact), e.define("@nocobase/utils", () => nocobaseClientUtils), e.define("@nocobase/utils/client", () => nocobaseClientUtils), e.define("@nocobase/client", () => nocobaseClient), e.define("@nocobase/client/client", () => nocobaseClient), e.define("@nocobase/evaluators", () => nocobaseEvaluators), e.define("@nocobase/evaluators/client", () => nocobaseEvaluators), e.define("@nocobase/sdk", () => nocobaseSDK), e.define("@dnd-kit/core", () => dndKitCore), e.define("@dnd-kit/sortable", () => dndKitSortable), e.define("axios", () => axios), e.define("dayjs", () => dayjs$1), e.define("lodash", () => _), e.define("ahooks", () => ahooks), e.define("@emotion/css", () => emotionCss), e.define("file-saver", () => FileSaver);
|
|
12951
12947
|
}
|
|
12952
12948
|
/* istanbul ignore file -- @preserve */
|
|
12953
12949
|
function getRequireJs() {
|
|
@@ -13829,7 +13825,7 @@ function getOperators() {
|
|
|
13829
13825
|
return r == null || r.length === 0 ? !1 : Array.isArray(r) && Array.isArray(i) && r.some((a) => Array.isArray(a)) ? r.some((a) => a.some((l) => i.includes(l))) : r.some((a) => i.includes(a));
|
|
13830
13826
|
},
|
|
13831
13827
|
$noneOf: function(r, i) {
|
|
13832
|
-
return !r ||
|
|
13828
|
+
return !r || r.length === 0 || !i || i.length === 0 ? !0 : (Array.isArray(r) || (r = [r]), Array.isArray(i) || (i = [i]), !i.some((a) => r.includes(a)));
|
|
13833
13829
|
},
|
|
13834
13830
|
$notMatch: function(r, i) {
|
|
13835
13831
|
if (r.length !== i.length)
|
|
@@ -25280,7 +25276,7 @@ const Markdown = connect(
|
|
|
25280
25276
|
Markdown.Void = MarkdownVoid;
|
|
25281
25277
|
const BlockItemCardContext = createContext({}), BlockItemCard = React.forwardRef((o, n) => {
|
|
25282
25278
|
var r = o, { children: e } = r, t = Y(r, ["children"]);
|
|
25283
|
-
const { token: i } = useToken(), g = t, { title: a, description: l } = g, c = Y(g, ["title", "description"]), u = useMemo(() => ({ marginBottom: i.marginBlock, height:
|
|
25279
|
+
const { token: i } = useToken(), g = t, { title: a, description: l } = g, c = Y(g, ["title", "description"]), u = useMemo(() => ({ marginBottom: i.marginBlock, height: "100%" }), [i.marginBlock]), [d, p] = useState(0), m = useRef(null);
|
|
25284
25280
|
useEffect(() => {
|
|
25285
25281
|
const f = setTimeout(() => {
|
|
25286
25282
|
if (m.current) {
|