@tachybase/client 1.2.16-alpha.2 → 1.2.16-alpha.3
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.
|
@@ -55,9 +55,9 @@ const ImportUpload = (props)=>{
|
|
|
55
55
|
const uploadProps = {
|
|
56
56
|
multiple: false,
|
|
57
57
|
action: '/collections:importMeta',
|
|
58
|
-
data: {
|
|
59
|
-
category:
|
|
60
|
-
},
|
|
58
|
+
data: (null == category ? void 0 : category[0]) && {
|
|
59
|
+
category: category[0]
|
|
60
|
+
} || {},
|
|
61
61
|
async onChange (info) {
|
|
62
62
|
if (info.fileList.length > 1) info.fileList.splice(0, info.fileList.length - 1);
|
|
63
63
|
const { status } = info.file;
|
|
@@ -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");
|
|
@@ -99,9 +99,9 @@ const ImportUpload = (props)=>{
|
|
|
99
99
|
const uploadProps = {
|
|
100
100
|
multiple: false,
|
|
101
101
|
action: '/collections:importMeta',
|
|
102
|
-
data: {
|
|
103
|
-
category:
|
|
104
|
-
},
|
|
102
|
+
data: (null == category ? void 0 : category[0]) && {
|
|
103
|
+
category: category[0]
|
|
104
|
+
} || {},
|
|
105
105
|
async onChange (info) {
|
|
106
106
|
if (info.fileList.length > 1) info.fileList.splice(0, info.fileList.length - 1);
|
|
107
107
|
const { status } = info.file;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tachybase/client",
|
|
3
|
-
"version": "1.2.16-alpha.
|
|
3
|
+
"version": "1.2.16-alpha.3",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "es/index.mjs",
|
|
@@ -66,12 +66,12 @@
|
|
|
66
66
|
"sanitize-html": "2.14.0",
|
|
67
67
|
"use-deep-compare-effect": "^1.8.1",
|
|
68
68
|
"xlsx": "0.18.5",
|
|
69
|
-
"@tachybase/components": "1.2.16-alpha.
|
|
70
|
-
"@tachybase/
|
|
71
|
-
"@tachybase/
|
|
72
|
-
"@tachybase/evaluators": "1.2.16-alpha.
|
|
73
|
-
"@tachybase/sdk": "1.2.16-alpha.
|
|
74
|
-
"@tachybase/utils": "1.2.16-alpha.
|
|
69
|
+
"@tachybase/components": "1.2.16-alpha.3",
|
|
70
|
+
"@tachybase/schema": "1.2.16-alpha.3",
|
|
71
|
+
"@tachybase/requirejs": "1.2.16-alpha.3",
|
|
72
|
+
"@tachybase/evaluators": "1.2.16-alpha.3",
|
|
73
|
+
"@tachybase/sdk": "1.2.16-alpha.3",
|
|
74
|
+
"@tachybase/utils": "1.2.16-alpha.3"
|
|
75
75
|
},
|
|
76
76
|
"devDependencies": {
|
|
77
77
|
"@testing-library/react": "^16.2.0",
|