@icos-desktop/react-components 2.0.30 → 2.0.32
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 +11 -7
- package/dist/icos-desktop.umd.cjs +1 -1
- package/package.json +1 -1
package/dist/icos-desktop.js
CHANGED
@@ -12,6 +12,7 @@ import { Menu, Submenu, Item as Item$2, contextMenu, useContextMenu } from 'reac
|
|
12
12
|
import Highlighter from 'react-highlight-words';
|
13
13
|
import ResizeObserver from 'rc-resize-observer';
|
14
14
|
import { v4 } from 'uuid';
|
15
|
+
import ReactDOM from 'react-dom';
|
15
16
|
import RcOverflow from 'rc-overflow';
|
16
17
|
import { pinyin } from 'pinyin-pro';
|
17
18
|
import { useMergedState } from 'rc-util';
|
@@ -5551,7 +5552,8 @@ var renderContextMenu = function (id, menu, callback, menuProps) {
|
|
5551
5552
|
: renderItem(item);
|
5552
5553
|
});
|
5553
5554
|
};
|
5554
|
-
|
5555
|
+
var Element = (React__default.createElement(Menu, __assign({ id: id }, menuProps), renderMenu(menu)));
|
5556
|
+
return ReactDOM.createPortal(Element, document.body);
|
5555
5557
|
};
|
5556
5558
|
|
5557
5559
|
var id$4 = "BOOK_TABLE_MENU_BOOK_".concat(v4());
|
@@ -6687,7 +6689,7 @@ var ExportModal$2 = function (_a) {
|
|
6687
6689
|
setTableCode('');
|
6688
6690
|
}
|
6689
6691
|
}, [config]);
|
6690
|
-
return (React__default.createElement(Modal
|
6692
|
+
return (React__default.createElement(Modal, { open: open, title: "\u5BFC\u51FA\u914D\u7F6E", onOk: handleOk, onCancel: onCancel, okButtonProps: { loading: loading }, className: styles$X.container },
|
6691
6693
|
React__default.createElement(Form, { form: form, name: "export-modal", labelCol: { span: 6 }, wrapperCol: { span: 18 } },
|
6692
6694
|
(nameOptions === null || nameOptions === void 0 ? void 0 : nameOptions.length) > 1 ? (React__default.createElement(Form.Item, { label: "\u6587\u4EF6\u540D" },
|
6693
6695
|
React__default.createElement(Select, { options: nameOptions, value: tableCode, onChange: handleChangeTableCode }))) : null,
|
@@ -9988,7 +9990,7 @@ var ExportModal$1 = function (_a) {
|
|
9988
9990
|
setTableCode('');
|
9989
9991
|
}
|
9990
9992
|
}, [config]);
|
9991
|
-
return (React__default.createElement(Modal
|
9993
|
+
return (React__default.createElement(Modal, { open: open, title: "\u5BFC\u51FA\u914D\u7F6E", onOk: handleOk, onCancel: onCancel, okButtonProps: { loading: loading }, className: styles$D.container },
|
9992
9994
|
React__default.createElement(Form, { form: form, name: "export-modal", labelCol: { span: 6 }, wrapperCol: { span: 18 } },
|
9993
9995
|
(nameOptions === null || nameOptions === void 0 ? void 0 : nameOptions.length) > 1 ? (React__default.createElement(Form.Item, { label: "\u6587\u4EF6\u540D" },
|
9994
9996
|
React__default.createElement(Select, { options: nameOptions, value: tableCode, onChange: handleChangeTableCode }))) : null,
|
@@ -13954,7 +13956,9 @@ var SenseSearch = function (props) {
|
|
13954
13956
|
React__default.createElement("div", { style: {
|
13955
13957
|
display: 'flex',
|
13956
13958
|
} },
|
13957
|
-
React__default.createElement("img", { src: item.icon, alt: "", width: 16, height: 16, style: {
|
13959
|
+
React__default.createElement("img", { src: item.icon, alt: "", width: 16, height: 16, style: {
|
13960
|
+
filter: "".concat(token.colorText === 'rgba(255, 255, 255, 1)' ? 'brightness(100) contrast(100%)' : ''),
|
13961
|
+
} })))),
|
13958
13962
|
}); });
|
13959
13963
|
setCategories(_categories);
|
13960
13964
|
// 默认选中第一个
|
@@ -15329,7 +15333,7 @@ var SenseTree = function (props) {
|
|
15329
15333
|
getRegionTree();
|
15330
15334
|
}
|
15331
15335
|
}
|
15332
|
-
}, [viewCodes, treeType]);
|
15336
|
+
}, [viewCodes, treeType, searchParams]);
|
15333
15337
|
// 撒点
|
15334
15338
|
useDebounceEffect(function () {
|
15335
15339
|
if (!onScatterAggregation) {
|
@@ -16273,11 +16277,11 @@ var CcosVideoPlayer = function (props) {
|
|
16273
16277
|
CcosVideoPlayer.settings = settings$1;
|
16274
16278
|
|
16275
16279
|
try {
|
16276
|
-
window._ICOS_DESKTOP_VERSION_ = JSON.parse('{"version":"2.0.
|
16280
|
+
window._ICOS_DESKTOP_VERSION_ = JSON.parse('{"version":"2.0.32","branch":"release_v2.0.0","buildDate":"2025-04-09 15:15:11"}');
|
16277
16281
|
}
|
16278
16282
|
catch (err) {
|
16279
16283
|
console.warn(err);
|
16280
|
-
window._ICOS_DESKTOP_VERSION_ = '{"version":"2.0.
|
16284
|
+
window._ICOS_DESKTOP_VERSION_ = '{"version":"2.0.32","branch":"release_v2.0.0","buildDate":"2025-04-09 15:15:11"}';
|
16281
16285
|
}
|
16282
16286
|
|
16283
16287
|
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 };
|