@icos-desktop/react-components 2.0.57 → 2.0.58
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 +25 -23
- package/dist/icos-desktop.umd.cjs +1 -1
- package/package.json +1 -1
package/dist/icos-desktop.js
CHANGED
@@ -12154,38 +12154,39 @@ var SenseFullTable = forwardRef(function (props, ref) {
|
|
12154
12154
|
var bookTableRef = useRef();
|
12155
12155
|
// 实体记录表格 ref
|
12156
12156
|
var senseTableRef = useRef();
|
12157
|
+
var _d = Modal$1.useModal(), modal = _d[0], contextHolder = _d[1];
|
12157
12158
|
// 当前选中的视图编码
|
12158
|
-
var
|
12159
|
+
var _e = useState(''), activeViewCode = _e[0], setActiveViewCode = _e[1];
|
12159
12160
|
// 当前选中的目录展示方式
|
12160
|
-
var
|
12161
|
+
var _f = useState(), displayWay = _f[0], setDisplayWay = _f[1];
|
12161
12162
|
// 当前选中的目录编码
|
12162
|
-
var
|
12163
|
+
var _g = useState(), nodeCode = _g[0], setNodeCode = _g[1];
|
12163
12164
|
// 目录面包屑
|
12164
|
-
var
|
12165
|
+
var _h = useState([]), catalogBreadcrumb = _h[0], setCatalogBreadcrumb = _h[1];
|
12165
12166
|
// Tabs 选中的 key
|
12166
|
-
var
|
12167
|
+
var _j = useState('book'), tabsActiveKey = _j[0], setTabsActiveKey = _j[1];
|
12167
12168
|
// 当前显示的表格
|
12168
|
-
var
|
12169
|
+
var _k = useState(''), activeTable = _k[0], setActiveTable = _k[1];
|
12169
12170
|
// 当前选中的台账组
|
12170
|
-
var
|
12171
|
+
var _l = useState(null), bookGroup = _l[0], setBookGroup = _l[1];
|
12171
12172
|
// 当前选中的台账
|
12172
|
-
var
|
12173
|
+
var _m = useState(null), book = _m[0], setBook = _m[1];
|
12173
12174
|
// 台账导入的台账id
|
12174
|
-
var
|
12175
|
+
var _o = useState(''), importBookId = _o[0], setImportBookId = _o[1];
|
12175
12176
|
// 搜索关键词
|
12176
|
-
var
|
12177
|
-
var
|
12177
|
+
var _p = useState(''), keywordValue = _p[0], setKeywordValue = _p[1];
|
12178
|
+
var _q = useState(''), keyword = _q[0], setKeyword = _q[1];
|
12178
12179
|
// 筛选
|
12179
|
-
var
|
12180
|
-
var
|
12180
|
+
var _r = useState(null), filter = _r[0], setFilter = _r[1];
|
12181
|
+
var _s = useState(null), filterConfig = _s[0], setFilterConfig = _s[1];
|
12181
12182
|
// 显示实体导入弹窗
|
12182
|
-
var
|
12183
|
+
var _t = useState(false), openBookGroupImportModal = _t[0], setOpenBookGroupImportModal = _t[1];
|
12183
12184
|
// 显示实体上传弹窗
|
12184
|
-
var
|
12185
|
+
var _u = useState(false), openBookImportModal = _u[0], setOpenBookImportModal = _u[1];
|
12185
12186
|
// 显示 Tabs
|
12186
12187
|
var showTabs = bookGroup && !book && showBookTable && showSenseTable;
|
12187
12188
|
var token = theme.useToken().token;
|
12188
|
-
var
|
12189
|
+
var _v = useRequest(function () { return __awaiter(void 0, void 0, void 0, function () {
|
12189
12190
|
var res;
|
12190
12191
|
return __generator(this, function (_a) {
|
12191
12192
|
switch (_a.label) {
|
@@ -12200,7 +12201,7 @@ var SenseFullTable = forwardRef(function (props, ref) {
|
|
12200
12201
|
}); }, {
|
12201
12202
|
ready: !!showTabs,
|
12202
12203
|
refreshDeps: [showTabs],
|
12203
|
-
}), tabItems =
|
12204
|
+
}), tabItems = _v.data, refreshTabItems = _v.refresh;
|
12204
12205
|
// 设置选中的分类
|
12205
12206
|
var handleChangeActiveViewCode = function (key) {
|
12206
12207
|
if (showCatalog) {
|
@@ -12216,7 +12217,7 @@ var SenseFullTable = forwardRef(function (props, ref) {
|
|
12216
12217
|
setActiveViewCode(key);
|
12217
12218
|
};
|
12218
12219
|
// 面包屑, 当前页面名称
|
12219
|
-
var
|
12220
|
+
var _w = useMemo(function () {
|
12220
12221
|
var _a;
|
12221
12222
|
var list = [];
|
12222
12223
|
if (catalogBreadcrumb) {
|
@@ -12268,7 +12269,7 @@ var SenseFullTable = forwardRef(function (props, ref) {
|
|
12268
12269
|
}
|
12269
12270
|
var name = ((_a = list[list.length - 1]) === null || _a === void 0 ? void 0 : _a.title) || '';
|
12270
12271
|
return [list, name];
|
12271
|
-
}, [catalogBreadcrumb, activeViewCode, bookGroup, book]), breadcrumbItems =
|
12272
|
+
}, [catalogBreadcrumb, activeViewCode, bookGroup, book]), breadcrumbItems = _w[0]; _w[1];
|
12272
12273
|
// 台账组
|
12273
12274
|
var renderBookGroup = function () {
|
12274
12275
|
return (React__default.createElement(BookGroupTable, { viewCodes: [activeViewCode], displayWay: displayWay, nodeCode: nodeCode, keyword: keyword, filter: filter, onDoubleClick: function (data) {
|
@@ -12340,7 +12341,7 @@ var SenseFullTable = forwardRef(function (props, ref) {
|
|
12340
12341
|
setOpenBookGroupImportModal(true);
|
12341
12342
|
};
|
12342
12343
|
if (importButtonTips) {
|
12343
|
-
|
12344
|
+
modal.info({
|
12344
12345
|
content: importButtonTips,
|
12345
12346
|
onOk: function () {
|
12346
12347
|
run();
|
@@ -12475,7 +12476,8 @@ var SenseFullTable = forwardRef(function (props, ref) {
|
|
12475
12476
|
React__default.createElement(BookGroupImport, { viewCode: activeViewCode, bookGroupId: bookGroup === null || bookGroup === void 0 ? void 0 : bookGroup.bookGroupId, onCancel: handleCloseBookGroupImportModal, onSuccess: handleCloseBookGroupImportModal, hiddenGeolevel: hiddenGeolevel }))),
|
12476
12477
|
React__default.createElement(Modal, { title: "\u5BFC\u5165\u6570\u636E", width: 600, open: openBookImportModal, onCancel: handleCloseBookImportModal, footer: null, destroyOnClose: true },
|
12477
12478
|
React__default.createElement("div", { style: { height: 600, marginBottom: 8 } },
|
12478
|
-
React__default.createElement(BookImport, { bookId: (book === null || book === void 0 ? void 0 : book.bookId) || importBookId, onCancel: handleCloseBookImportModal })))
|
12479
|
+
React__default.createElement(BookImport, { bookId: (book === null || book === void 0 ? void 0 : book.bookId) || importBookId, onCancel: handleCloseBookImportModal }))),
|
12480
|
+
contextHolder));
|
12479
12481
|
});
|
12480
12482
|
|
12481
12483
|
var settings$c = {
|
@@ -16361,11 +16363,11 @@ var CcosVideoPlayer = function (props) {
|
|
16361
16363
|
CcosVideoPlayer.settings = settings$1;
|
16362
16364
|
|
16363
16365
|
try {
|
16364
|
-
window._ICOS_DESKTOP_VERSION_ = JSON.parse('{"version":"2.0.
|
16366
|
+
window._ICOS_DESKTOP_VERSION_ = JSON.parse('{"version":"2.0.58","branch":"remotes/origin/release_v2.0.0","buildDate":"2025-06-13 18:01:40"}');
|
16365
16367
|
}
|
16366
16368
|
catch (err) {
|
16367
16369
|
console.warn(err);
|
16368
|
-
window._ICOS_DESKTOP_VERSION_ = '{"version":"2.0.
|
16370
|
+
window._ICOS_DESKTOP_VERSION_ = '{"version":"2.0.58","branch":"remotes/origin/release_v2.0.0","buildDate":"2025-06-13 18:01:40"}';
|
16369
16371
|
}
|
16370
16372
|
|
16371
16373
|
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 };
|