@tachybase/client 1.1.14 → 1.1.16
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)=>{
|
|
@@ -15,7 +15,7 @@ var __webpack_modules__ = {
|
|
|
15
15
|
"../../filter-provider/utils": function(module) {
|
|
16
16
|
module.exports = require("../../filter-provider/utils.js");
|
|
17
17
|
},
|
|
18
|
-
"
|
|
18
|
+
"../..": function(module) {
|
|
19
19
|
module.exports = require("../../index.js");
|
|
20
20
|
},
|
|
21
21
|
"../../record-provider": function(module) {
|
|
@@ -243,7 +243,7 @@ var lodash_omit__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/ __webpack_r
|
|
|
243
243
|
var react_i18next__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__("react-i18next");
|
|
244
244
|
var react_router_dom__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__("react-router-dom");
|
|
245
245
|
var react_to_print__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__("react-to-print");
|
|
246
|
-
var ___WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__("
|
|
246
|
+
var ___WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__("../..");
|
|
247
247
|
var _api_client__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__("../../api-client");
|
|
248
248
|
var _built_in_dynamic_page_utils__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__("../../built-in/dynamic-page/utils");
|
|
249
249
|
var _collection_manager__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__("../../collection-manager");
|
|
@@ -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.16",
|
|
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/
|
|
68
|
+
"@tachybase/components": "1.1.16",
|
|
69
|
+
"@tachybase/evaluators": "1.1.16",
|
|
70
|
+
"@tachybase/schema": "1.1.16",
|
|
71
|
+
"@tachybase/requirejs": "1.1.16",
|
|
72
|
+
"@tachybase/sdk": "1.1.16",
|
|
73
|
+
"@tachybase/utils": "1.1.16"
|
|
74
74
|
},
|
|
75
75
|
"devDependencies": {
|
|
76
76
|
"@testing-library/react": "^16.2.0",
|