@icos-desktop/react-components 2.0.9 → 2.0.11
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 +19 -10
- package/dist/icos-desktop.umd.cjs +1 -1
- package/package.json +1 -1
package/dist/icos-desktop.js
CHANGED
@@ -6183,15 +6183,17 @@ var Filter = function (props) {
|
|
6183
6183
|
var filterConfig = useRequest(function () { return __awaiter(void 0, void 0, void 0, function () {
|
6184
6184
|
return __generator(this, function (_a) {
|
6185
6185
|
switch (_a.label) {
|
6186
|
-
case 0:
|
6187
|
-
|
6188
|
-
|
6189
|
-
|
6186
|
+
case 0:
|
6187
|
+
if (!(book || (activeTable === 'sense' && bookGroup))) return [3 /*break*/, 2];
|
6188
|
+
return [4 /*yield*/, getBookFilterConfig({
|
6189
|
+
bookId: book === null || book === void 0 ? void 0 : book.bookId,
|
6190
|
+
templateId: bookGroup === null || bookGroup === void 0 ? void 0 : bookGroup.bookGroupId,
|
6191
|
+
})];
|
6190
6192
|
case 1: return [2 /*return*/, _a.sent()];
|
6193
|
+
case 2: return [2 /*return*/];
|
6191
6194
|
}
|
6192
6195
|
});
|
6193
6196
|
}); }, {
|
6194
|
-
ready: !!(enableTag && (book || (activeTable === 'sense' && bookGroup))),
|
6195
6197
|
refreshDeps: [enableTag, activeTable, book, bookGroup],
|
6196
6198
|
}).data;
|
6197
6199
|
// 筛选窗口变化
|
@@ -10889,6 +10891,8 @@ var Content = function (props) {
|
|
10889
10891
|
};
|
10890
10892
|
|
10891
10893
|
var Base = function (props) {
|
10894
|
+
var useToken = theme.useToken;
|
10895
|
+
var token = useToken().token;
|
10892
10896
|
var senseGlobalCode = props.senseGlobalCode, enableTag = props.enableTag, senseInfoTextColor = props.senseInfoTextColor, senseInfoBorderColor = props.senseInfoBorderColor, senseInfoBorderWidth = props.senseInfoBorderWidth, senseInfoBorderStyle = props.senseInfoBorderStyle;
|
10893
10897
|
var data = useRequest(function () { return __awaiter(void 0, void 0, void 0, function () {
|
10894
10898
|
return __generator(this, function (_a) {
|
@@ -10928,7 +10932,9 @@ var Base = function (props) {
|
|
10928
10932
|
return arr;
|
10929
10933
|
};
|
10930
10934
|
return (React__default.createElement("div", null,
|
10931
|
-
React__default.createElement(Collapse, { items: getItems(), defaultActiveKey: ['SenseInfo', 'VideoPlayer', 'Content'], bordered: false
|
10935
|
+
React__default.createElement(Collapse, { items: getItems(), defaultActiveKey: ['SenseInfo', 'VideoPlayer', 'Content'], bordered: false, style: {
|
10936
|
+
backgroundColor: token.Collapse.headerBg,
|
10937
|
+
} })));
|
10932
10938
|
};
|
10933
10939
|
|
10934
10940
|
var css_248z$g = ".index-module_container__xRyF8 {\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n row-gap: 4px;\n padding-left: 16px;\n}\n.index-module_container__xRyF8 .ant-btn-link {\n padding: 0;\n}\n";
|
@@ -14572,9 +14578,12 @@ var SenseTree = function (props) {
|
|
14572
14578
|
}, [viewCodes, treeType]);
|
14573
14579
|
// 撒点
|
14574
14580
|
useDebounceEffect(function () {
|
14581
|
+
if (!onScatterAggregation) {
|
14582
|
+
return;
|
14583
|
+
}
|
14575
14584
|
var isGovUser = viewCodes.includes('system-icos_gov_user');
|
14576
14585
|
if ((checkedInfo === null || checkedInfo === void 0 ? void 0 : checkedInfo.total) === 0) {
|
14577
|
-
onScatterAggregation({
|
14586
|
+
onScatterAggregation === null || onScatterAggregation === void 0 ? void 0 : onScatterAggregation({
|
14578
14587
|
aggregationList: [],
|
14579
14588
|
senseList: [],
|
14580
14589
|
});
|
@@ -14591,7 +14600,7 @@ var SenseTree = function (props) {
|
|
14591
14600
|
var params = __assign(__assign(__assign(__assign({}, searchParams), { zoom: zoom, geom: _geom, searchGeom: searchParams === null || searchParams === void 0 ? void 0 : searchParams.geom, aggregateType: aggregateType }), checkedInfo.info), { viewCodes: viewCodes });
|
14592
14601
|
if (zoom && _geom && viewCodes.length && !isGovUser) {
|
14593
14602
|
getSenseScatterAggregation(params).then(function (res) {
|
14594
|
-
onScatterAggregation(res);
|
14603
|
+
onScatterAggregation === null || onScatterAggregation === void 0 ? void 0 : onScatterAggregation(res);
|
14595
14604
|
});
|
14596
14605
|
}
|
14597
14606
|
}
|
@@ -15510,11 +15519,11 @@ var CcosVideoPlayer = function (props) {
|
|
15510
15519
|
CcosVideoPlayer.settings = settings$1;
|
15511
15520
|
|
15512
15521
|
try {
|
15513
|
-
window._ICOS_DESKTOP_VERSION_ = JSON.parse('{"version":"2.0.
|
15522
|
+
window._ICOS_DESKTOP_VERSION_ = JSON.parse('{"version":"2.0.11","branch":"remotes/origin/release_v2.0.0","buildDate":"2025-03-24 17:23:39"}');
|
15514
15523
|
}
|
15515
15524
|
catch (err) {
|
15516
15525
|
console.warn(err);
|
15517
|
-
window._ICOS_DESKTOP_VERSION_ = '{"version":"2.0.
|
15526
|
+
window._ICOS_DESKTOP_VERSION_ = '{"version":"2.0.11","branch":"remotes/origin/release_v2.0.0","buildDate":"2025-03-24 17:23:39"}';
|
15518
15527
|
}
|
15519
15528
|
|
15520
15529
|
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, SenseCreate, SenseDetail, SenseEdit, SenseForm, SenseFullTable, SenseInfo, SenseManager, SenseSearch, SenseTable, SenseTree, SenseView, TagConfig, TagTreeSelect, VideoControl, VideoPlayer, setCconfig as config };
|