@tachybase/client 1.1.12 → 1.1.15
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.
|
@@ -98,7 +98,7 @@ const useSyncFromForm = (fieldSchema, collection, callBack)=>{
|
|
|
98
98
|
}).filter(Boolean);
|
|
99
99
|
cache.set(cacheKey, result);
|
|
100
100
|
return result;
|
|
101
|
-
})(new __WEBPACK_EXTERNAL_MODULE_lru_cache__
|
|
101
|
+
})(new __WEBPACK_EXTERNAL_MODULE_lru_cache__.LRUCache({
|
|
102
102
|
max: 100
|
|
103
103
|
}));
|
|
104
104
|
const traverseAssociations = ((cache)=>(collectionName, param)=>{
|
|
@@ -133,7 +133,7 @@ const useSyncFromForm = (fieldSchema, collection, callBack)=>{
|
|
|
133
133
|
}).filter(Boolean);
|
|
134
134
|
cache.set(cacheKey, result);
|
|
135
135
|
return result;
|
|
136
|
-
})(new __WEBPACK_EXTERNAL_MODULE_lru_cache__
|
|
136
|
+
})(new __WEBPACK_EXTERNAL_MODULE_lru_cache__.LRUCache({
|
|
137
137
|
max: 100
|
|
138
138
|
}));
|
|
139
139
|
const getEnableFieldTree = (0, __WEBPACK_EXTERNAL_MODULE_react__.useCallback)((collectionName, formData)=>{
|
|
@@ -47,7 +47,6 @@ const components_namespaceObject = require("@tachybase/components");
|
|
|
47
47
|
const schema_namespaceObject = require("@tachybase/schema");
|
|
48
48
|
const external_antd_namespaceObject = require("antd");
|
|
49
49
|
const external_lru_cache_namespaceObject = require("lru-cache");
|
|
50
|
-
var external_lru_cache_default = /*#__PURE__*/ __webpack_require__.n(external_lru_cache_namespaceObject);
|
|
51
50
|
const external_react_i18next_namespaceObject = require("react-i18next");
|
|
52
51
|
const index_js_namespaceObject = require("../../block-provider/hooks/index.js");
|
|
53
52
|
const external_collection_manager_index_js_namespaceObject = require("../../collection-manager/index.js");
|
|
@@ -143,7 +142,7 @@ const useSyncFromForm = (fieldSchema, collection, callBack)=>{
|
|
|
143
142
|
}).filter(Boolean);
|
|
144
143
|
cache.set(cacheKey, result);
|
|
145
144
|
return result;
|
|
146
|
-
})(new (
|
|
145
|
+
})(new external_lru_cache_namespaceObject.LRUCache({
|
|
147
146
|
max: 100
|
|
148
147
|
}));
|
|
149
148
|
const traverseAssociations = ((cache)=>(collectionName, param)=>{
|
|
@@ -178,7 +177,7 @@ const useSyncFromForm = (fieldSchema, collection, callBack)=>{
|
|
|
178
177
|
}).filter(Boolean);
|
|
179
178
|
cache.set(cacheKey, result);
|
|
180
179
|
return result;
|
|
181
|
-
})(new (
|
|
180
|
+
})(new external_lru_cache_namespaceObject.LRUCache({
|
|
182
181
|
max: 100
|
|
183
182
|
}));
|
|
184
183
|
const getEnableFieldTree = (0, external_react_namespaceObject.useCallback)((collectionName, formData)=>{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tachybase/client",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.15",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "es/index.mjs",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"i18next": "23.16.8",
|
|
38
38
|
"i18next-http-backend": "^2.7.1",
|
|
39
39
|
"lodash": "4.17.21",
|
|
40
|
-
"lru-cache": "
|
|
40
|
+
"lru-cache": "11.1.0",
|
|
41
41
|
"markdown-it": "13.0.2",
|
|
42
42
|
"mathjs": "^10.6.4",
|
|
43
43
|
"mitt": "^3.0.1",
|
|
@@ -65,12 +65,12 @@
|
|
|
65
65
|
"react-zoom-pan-pinch": "^3.6.1",
|
|
66
66
|
"sanitize-html": "2.14.0",
|
|
67
67
|
"use-deep-compare-effect": "^1.8.1",
|
|
68
|
-
"@tachybase/
|
|
69
|
-
"@tachybase/
|
|
70
|
-
"@tachybase/
|
|
71
|
-
"@tachybase/
|
|
72
|
-
"@tachybase/
|
|
73
|
-
"@tachybase/utils": "1.1.
|
|
68
|
+
"@tachybase/components": "1.1.15",
|
|
69
|
+
"@tachybase/evaluators": "1.1.15",
|
|
70
|
+
"@tachybase/requirejs": "1.1.15",
|
|
71
|
+
"@tachybase/schema": "1.1.15",
|
|
72
|
+
"@tachybase/sdk": "1.1.15",
|
|
73
|
+
"@tachybase/utils": "1.1.15"
|
|
74
74
|
},
|
|
75
75
|
"devDependencies": {
|
|
76
76
|
"@testing-library/react": "^16.2.0",
|