@icos-desktop/react-components 2.0.10 → 2.0.12
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 +21 -9
- 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,10 @@ 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
|
+
color: token.colorTextHeading,
|
10938
|
+
} })));
|
10932
10939
|
};
|
10933
10940
|
|
10934
10941
|
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";
|
@@ -10962,6 +10969,8 @@ var BookList = function (_a) {
|
|
10962
10969
|
|
10963
10970
|
var Relation = function (props) {
|
10964
10971
|
var senseGlobalCode = props.senseGlobalCode;
|
10972
|
+
var useToken = theme.useToken;
|
10973
|
+
var token = useToken().token;
|
10965
10974
|
var items = [
|
10966
10975
|
{
|
10967
10976
|
key: 'RelationGraph',
|
@@ -10976,7 +10985,10 @@ var Relation = function (props) {
|
|
10976
10985
|
},
|
10977
10986
|
];
|
10978
10987
|
return (React__default.createElement("div", null,
|
10979
|
-
React__default.createElement(Collapse, {
|
10988
|
+
React__default.createElement(Collapse, { style: {
|
10989
|
+
backgroundColor: token.Collapse.headerBg,
|
10990
|
+
color: token.colorTextHeading,
|
10991
|
+
}, items: items, defaultActiveKey: ['RelationGraph', 'BookList'], bordered: false })));
|
10980
10992
|
};
|
10981
10993
|
|
10982
10994
|
var css_248z$f = ":root {\n --tabs-bg-color: #3498db;\n}\n.SenseDetail-module_container__lF2vB {\n width: 100%;\n height: 100%;\n}\n.SenseDetail-module_container__lF2vB * {\n box-sizing: border-box;\n}\n.SenseDetail-module_container__lF2vB .SenseDetail-module_tabs__8xmTu {\n width: 100%;\n height: 100%;\n}\n.SenseDetail-module_container__lF2vB .SenseDetail-module_tabs__8xmTu [class^='ant-tabs'],\n.SenseDetail-module_container__lF2vB .SenseDetail-module_tabs__8xmTu [class*=' ant-tabs'] {\n font-family: YouSheBiaoTiHei;\n font-size: 20px;\n}\n.SenseDetail-module_container__lF2vB .SenseDetail-module_tabs__8xmTu .ant-tabs {\n width: 100%;\n height: 100%;\n}\n.SenseDetail-module_container__lF2vB .SenseDetail-module_tabs__8xmTu .ant-tabs .ant-tabs-content-top {\n width: 100%;\n height: 100%;\n overflow-x: hidden;\n overflow-y: auto;\n}\n.SenseDetail-module_container__lF2vB .ant-collapse-borderless.ant-collapse-borderless > .ant-collapse-item {\n border: none;\n}\n.SenseDetail-module_container__lF2vB .ant-collapse.ant-collapse .ant-collapse-item {\n margin-bottom: 12px;\n}\n.SenseDetail-module_container__lF2vB .ant-collapse-borderless > .ant-collapse-item:last-child {\n border-radius: 2px;\n}\n.SenseDetail-module_container__lF2vB .ant-collapse-ghost .ant-collapse-header:before {\n display: none;\n}\n.SenseDetail-module_container__lF2vB .ant-collapse.ant-collapse .ant-collapse-item {\n margin-bottom: 12px;\n}\n.SenseDetail-module_container__lF2vB .ant-collapse.ant-collapse .ant-collapse-item .ant-collapse-header {\n position: relative;\n flex-direction: row-reverse;\n padding: 8px 12px;\n border-radius: 2px;\n}\n.SenseDetail-module_container__lF2vB .ant-collapse.ant-collapse .ant-collapse-item .ant-collapse-header:before {\n content: '';\n position: absolute;\n top: 11px;\n left: 0;\n height: 16px;\n width: 4px;\n}\n.SenseDetail-module_container__lF2vB .ant-collapse.ant-collapse .ant-collapse-item .ant-collapse-header .ant-collapse-expand-icon {\n padding-right: 0;\n}\n.SenseDetail-module_container__lF2vB .ant-collapse.ant-collapse .ant-collapse-item .ant-collapse-header .ant-collapse-header-text {\n font-size: 18px;\n font-style: normal;\n font-weight: 500;\n line-height: 18px;\n}\n.SenseDetail-module_container__lF2vB .ant-collapse.ant-collapse .ant-collapse-item .ant-collapse-content .ant-collapse-content-box {\n padding: 0 0 1px;\n}\n";
|
@@ -15513,11 +15525,11 @@ var CcosVideoPlayer = function (props) {
|
|
15513
15525
|
CcosVideoPlayer.settings = settings$1;
|
15514
15526
|
|
15515
15527
|
try {
|
15516
|
-
window._ICOS_DESKTOP_VERSION_ = JSON.parse('{"version":"2.0.
|
15528
|
+
window._ICOS_DESKTOP_VERSION_ = JSON.parse('{"version":"2.0.12","branch":"remotes/origin/release_v2.0.0","buildDate":"2025-03-24 17:44:21"}');
|
15517
15529
|
}
|
15518
15530
|
catch (err) {
|
15519
15531
|
console.warn(err);
|
15520
|
-
window._ICOS_DESKTOP_VERSION_ = '{"version":"2.0.
|
15532
|
+
window._ICOS_DESKTOP_VERSION_ = '{"version":"2.0.12","branch":"remotes/origin/release_v2.0.0","buildDate":"2025-03-24 17:44:21"}';
|
15521
15533
|
}
|
15522
15534
|
|
15523
15535
|
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 };
|