@icos-desktop/react-components 2.0.54 → 2.0.55

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.
@@ -6870,7 +6870,9 @@ var showTotal$1 = function (total) {
6870
6870
  var SenseTable = forwardRef(function (props, ref) {
6871
6871
  var _a;
6872
6872
  var _b, _c;
6873
- var bookId = props.bookId, bookIds = props.bookIds, templateId = props.templateId, leafRegionId = props.leafRegionId, pathRegionId = props.pathRegionId, viewCodes = props.viewCodes, keyword = props.keyword, filter = props.filter, filterConfig = props.filterConfig, extendColumnParams = props.extendColumnParams, _d = props.hideColumns, hideColumns = _d === void 0 ? [] : _d, customColumns = props.customColumns, contextMenuConfig = props.contextMenuConfig, enableTag = props.enableTag, writeAuth = props.writeAuth, _e = props.pageSize, pageSize = _e === void 0 ? 1000 : _e, onClick = props.onClick, onDoubleClick = props.onDoubleClick, onShowSense = props.onShowSense, onEditSense = props.onEditSense, onRefresh = props.onRefresh, proTableContainerHeight = props.proTableContainerHeight, tableProps = __rest(props, ["bookId", "bookIds", "templateId", "leafRegionId", "pathRegionId", "viewCodes", "keyword", "filter", "filterConfig", "extendColumnParams", "hideColumns", "customColumns", "contextMenuConfig", "enableTag", "writeAuth", "pageSize", "onClick", "onDoubleClick", "onShowSense", "onEditSense", "onRefresh", "proTableContainerHeight"]);
6873
+ var bookId = props.bookId, bookIds = props.bookIds, templateId = props.templateId, leafRegionId = props.leafRegionId, pathRegionId = props.pathRegionId, viewCodes = props.viewCodes, keyword = props.keyword, filter = props.filter, filterConfig = props.filterConfig, extendColumnParams = props.extendColumnParams, _d = props.hideColumns, hideColumns = _d === void 0 ? [] : _d, customColumns = props.customColumns, contextMenuConfig = props.contextMenuConfig, enableTag = props.enableTag, writeAuth = props.writeAuth, _e = props.pageSize, pageSize = _e === void 0 ? 1000 : _e, onClick = props.onClick, onDoubleClick = props.onDoubleClick, onShowSense = props.onShowSense, onEditSense = props.onEditSense, onRefresh = props.onRefresh,
6874
+ // proTableContainerHeight,
6875
+ tableProps = __rest(props, ["bookId", "bookIds", "templateId", "leafRegionId", "pathRegionId", "viewCodes", "keyword", "filter", "filterConfig", "extendColumnParams", "hideColumns", "customColumns", "contextMenuConfig", "enableTag", "writeAuth", "pageSize", "onClick", "onDoubleClick", "onShowSense", "onEditSense", "onRefresh"]);
6874
6876
  var PAGINATION = {
6875
6877
  current: 1,
6876
6878
  total: 0,
@@ -7209,7 +7211,8 @@ var SenseTable = forwardRef(function (props, ref) {
7209
7211
  } },
7210
7212
  React__default.createElement(ProTable$1, __assign({ header: header, columns: columns, dataSource: dataSource, loading: loading, pagination: pagination, size: "small", rowKey: "sense_global_code", onRow: onRow, rowClassName: rowClassName, onChange: handleChangeTable,
7211
7213
  // rowSelection={tableProps?.rowSelection ?? rowSelection}
7212
- containerHeight: proTableContainerHeight, scroll: { x: 'max-content', y: null } }, tableProps))),
7214
+ // containerHeight={proTableContainerHeight}
7215
+ scroll: { x: 'max-content', y: null } }, tableProps))),
7213
7216
  React__default.createElement(ExportModal, null),
7214
7217
  React__default.createElement(TagsModal, { open: showTagsModal, onCancel: handleCloseTagsModal, data: curRecord }),
7215
7218
  (contextMenuConfig === null || contextMenuConfig === void 0 ? void 0 : contextMenuConfig.length) ? (React__default.createElement(ContextMenu$3, { config: contextMenuConfig, authTypes: authTypes })) : null));
@@ -14704,6 +14707,11 @@ var getTreeChecked = function (_a) {
14704
14707
  if (senseRegions.length) {
14705
14708
  judgeRegion(senseRegions);
14706
14709
  }
14710
+ // 筛选实体记录
14711
+ var sense = item.children.filter(function (child) { return child.type === 'sense'; });
14712
+ if (sense.length) {
14713
+ judgeSense(sense, item);
14714
+ }
14707
14715
  }
14708
14716
  }
14709
14717
  else {
@@ -16328,11 +16336,11 @@ var CcosVideoPlayer = function (props) {
16328
16336
  CcosVideoPlayer.settings = settings$1;
16329
16337
 
16330
16338
  try {
16331
- window._ICOS_DESKTOP_VERSION_ = JSON.parse('{"version":"2.0.54","branch":"remotes/origin/release_v2.0.0","buildDate":"2025-05-30 10:10:23"}');
16339
+ window._ICOS_DESKTOP_VERSION_ = JSON.parse('{"version":"2.0.55","branch":"remotes/origin/release_v2.0.0","buildDate":"2025-06-05 20:05:07"}');
16332
16340
  }
16333
16341
  catch (err) {
16334
16342
  console.warn(err);
16335
- window._ICOS_DESKTOP_VERSION_ = '{"version":"2.0.54","branch":"remotes/origin/release_v2.0.0","buildDate":"2025-05-30 10:10:23"}';
16343
+ window._ICOS_DESKTOP_VERSION_ = '{"version":"2.0.55","branch":"remotes/origin/release_v2.0.0","buildDate":"2025-06-05 20:05:07"}';
16336
16344
  }
16337
16345
 
16338
16346
  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 };