@icos-desktop/react-components 2.0.34 → 2.0.36
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/dist/icos-desktop.js
CHANGED
@@ -8481,7 +8481,6 @@ styleInject(css_248z$O);
|
|
8481
8481
|
var Dragger = Upload$1.Dragger;
|
8482
8482
|
var BookImport = function (props) {
|
8483
8483
|
var bookId = props.bookId, _a = props.cancelText, cancelText = _a === void 0 ? '取消' : _a, onCancel = props.onCancel, onSuccess = props.onSuccess, onError = props.onError; props.downloadTextColor; props.uploadTextColor; props.uploadHintColor; props.uploadFileNameColor; var bottomBgColor = props.bottomBgColor, bottomBorderStyle = props.bottomBorderStyle, bottomBorderColor = props.bottomBorderColor, bottomBorderWidth = props.bottomBorderWidth; props.uploadImgColor; props.fileImgColor; props.deleteImgColor;
|
8484
|
-
var message = App.useApp().message;
|
8485
8484
|
// 选择的文件
|
8486
8485
|
var _b = useState(null), file = _b[0], setFile = _b[1];
|
8487
8486
|
// 上传中
|
@@ -8574,7 +8573,7 @@ var BookImport = function (props) {
|
|
8574
8573
|
switch (_a.label) {
|
8575
8574
|
case 0:
|
8576
8575
|
if (result) {
|
8577
|
-
|
8576
|
+
onCancel === null || onCancel === void 0 ? void 0 : onCancel();
|
8578
8577
|
return [2 /*return*/];
|
8579
8578
|
}
|
8580
8579
|
if (!file) {
|
@@ -12404,7 +12403,7 @@ var SenseFullTable = forwardRef(function (props, ref) {
|
|
12404
12403
|
React__default.createElement(BookGroupImport, { viewCode: activeViewCode, bookGroupId: bookGroup === null || bookGroup === void 0 ? void 0 : bookGroup.bookGroupId, onCancel: handleCloseBookGroupImportModal, onSuccess: handleCloseBookGroupImportModal, hiddenGeolevel: hiddenGeolevel }))),
|
12405
12404
|
React__default.createElement(Modal, { title: "\u5BFC\u5165\u6570\u636E", width: 600, open: openBookImportModal, onCancel: handleCloseBookImportModal, footer: null, destroyOnClose: true },
|
12406
12405
|
React__default.createElement("div", { style: { height: 600, marginBottom: 8 } },
|
12407
|
-
React__default.createElement(BookImport, { bookId: (book === null || book === void 0 ? void 0 : book.bookId) || importBookId, onCancel: handleCloseBookImportModal
|
12406
|
+
React__default.createElement(BookImport, { bookId: (book === null || book === void 0 ? void 0 : book.bookId) || importBookId, onCancel: handleCloseBookImportModal })))));
|
12408
12407
|
});
|
12409
12408
|
|
12410
12409
|
var settings$c = {
|
@@ -16277,11 +16276,11 @@ var CcosVideoPlayer = function (props) {
|
|
16277
16276
|
CcosVideoPlayer.settings = settings$1;
|
16278
16277
|
|
16279
16278
|
try {
|
16280
|
-
window._ICOS_DESKTOP_VERSION_ = JSON.parse('{"version":"2.0.
|
16279
|
+
window._ICOS_DESKTOP_VERSION_ = JSON.parse('{"version":"2.0.36","branch":"release_v2.0.0","buildDate":"2025-04-10 12:57:27"}');
|
16281
16280
|
}
|
16282
16281
|
catch (err) {
|
16283
16282
|
console.warn(err);
|
16284
|
-
window._ICOS_DESKTOP_VERSION_ = '{"version":"2.0.
|
16283
|
+
window._ICOS_DESKTOP_VERSION_ = '{"version":"2.0.36","branch":"release_v2.0.0","buildDate":"2025-04-10 12:57:27"}';
|
16285
16284
|
}
|
16286
16285
|
|
16287
16286
|
export { BookDetail, BookGroupImport, BookGroupTable, BookImport, BookInfo, BookSelect, BookTable, CcosBookDetail, CcosImportTable, CcosSenseCreate, CcosSenseDetail, CcosSenseEdit, CcosSenseFullTable, CcosSenseManager, CcosSenseSearch, CcosSenseTree, CcosSenseView, CcosTagConfig, CcosVideoPlayer, EntityClassFilter, EntityClassTreeSelect, ImportTable, Modal, OrgTreeSelect, PersonSelector, ProSearch, ProTable$1 as ProTable, RegionCascader, RegionTreeSelect, RelationGraph, SenseContentTable, SenseCreate, SenseDetail, SenseEdit, SenseForm, SenseFullTable, SenseInfo, SenseManager, SenseSearch, SenseTable, SenseTree, SenseView, TagConfig, TagTreeSelect, VideoControl, VideoPlayer, setCconfig as config };
|