@icos-desktop/react-components 2.0.23 → 2.0.25

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.
@@ -859,6 +859,52 @@ interface SenseManagerProps {
859
859
  label: string;
860
860
  value: string;
861
861
  }[];
862
+ /**
863
+ * 操作面板配置
864
+ */
865
+ panelConfig?: {
866
+ /**
867
+ * 内置操作面板,可选值为 `CreateSense` 新建对象、`TemplateManager` 模板管理、`UploadManager` 导入管理、`SmartTagger` 智能打标
868
+ */
869
+ key?: string;
870
+ /**
871
+ * 操作面板标题
872
+ */
873
+ title?: string;
874
+ /**
875
+ * 操作面板图标
876
+ */
877
+ icon?: string;
878
+ /**
879
+ * 点击事件
880
+ */
881
+ onClick?: () => void;
882
+ }[];
883
+ /**
884
+ * 新建对象
885
+ * @param record
886
+ */
887
+ onCreateSense?: (record: any) => void;
888
+ /**
889
+ * 查看实体
890
+ * @param record
891
+ */
892
+ onShowSense?: (record: any) => void;
893
+ /**
894
+ * 编辑实体
895
+ * @param record
896
+ */
897
+ onEditSense?: (record: any) => void;
898
+ /**
899
+ * 单击实体
900
+ * @param record
901
+ */
902
+ onClickSense?: (record: any) => void;
903
+ /**
904
+ * 双击实体
905
+ * @param record
906
+ */
907
+ onDoubleClickSense?: (record: any) => void;
862
908
  }
863
909
 
864
910
  declare const SenseManager: React.FC<SenseManagerProps>;
@@ -1257,6 +1303,10 @@ interface TagConfigProps {
1257
1303
  * 视图编码
1258
1304
  */
1259
1305
  viewCode?: string;
1306
+ /**
1307
+ * 自定义表格列
1308
+ */
1309
+ customColumns?: Record<string, any>;
1260
1310
  }
1261
1311
 
1262
1312
  declare const TagConfig: (props: TagConfigProps) => React.JSX.Element;
@@ -1,4 +1,4 @@
1
- import { message, Form, Input, TreeSelect, Collapse, App, Button, Tooltip, Modal as Modal$1, List, Space, Table, Radio, Checkbox, Popover, Select, Tree, DatePicker, InputNumber, theme, Image, Steps as Steps$1, Upload as Upload$1, Progress, Cascader, Empty, Slider, Tabs as Tabs$1, Breadcrumb, Segmented, Spin, Splitter } from '@xirang/design-antd';
1
+ import { message, Form, Input, TreeSelect, Collapse, App, Button, Tooltip, Modal as Modal$1, List, Space, Table, Radio, Checkbox, Popover, theme, Select, Tree, DatePicker, InputNumber, Image, Steps as Steps$1, Upload as Upload$1, Progress, Cascader, Empty, Slider, Tabs as Tabs$1, Breadcrumb, Segmented, Spin, Splitter } from '@xirang/design-antd';
2
2
  import * as React from 'react';
3
3
  import React__default, { useState, forwardRef, useEffect, useImperativeHandle, useRef, memo, useMemo, createRef } from 'react';
4
4
  import { useRequest, useMount, useDebounceEffect, useAntdTable, useExternal, useAsyncEffect, useDeepCompareEffect } from 'ahooks';
@@ -5273,7 +5273,7 @@ var SvgSetting = function SvgSetting(props) {
5273
5273
  })));
5274
5274
  };
5275
5275
 
5276
- var css_248z$11 = ".index-module_container__triFT {\n position: relative;\n height: 100%;\n width: 100%;\n}\n.index-module_container__triFT .index-module_columns-config__pSkLQ {\n position: absolute;\n top: 12px;\n width: 16px;\n height: 16px;\n z-index: 9;\n}\n.index-module_container__triFT .index-module_columns-config__pSkLQ > svg {\n position: absolute;\n}\n.index-module_container__triFT .index-module_columns-config__pSkLQ .ant-select {\n opacity: 0;\n}\n.index-module_container__triFT .index-module_columns-config__pSkLQ .ant-select .ant-select-selector {\n width: 16px;\n height: 16px;\n}\n.index-module_container__triFT .index-module_columns-config__pSkLQ .ant-select .ant-select-selector .ant-select-selection-overflow {\n display: none;\n}\n.index-module_container__triFT .ant-table-wrapper .ant-table-cell-fix-right-first::after {\n box-shadow: none;\n}\n.index-module_container__triFT .ant-table-cell {\n line-height: 24px;\n}\n.index-module_container__triFT .ant-table-wrapper .ant-table-container::before,\n.index-module_container__triFT .ant-table-wrapper .ant-table-container::after {\n display: none;\n}\n.index-module_container__triFT .ant-table-cell-scrollbar {\n display: none;\n}\n.index-module_container__triFT .ant-table-thead .ant-table-cell {\n overflow: hidden;\n}\n.index-module_container__triFT .ant-table-row:has(.ant-table-cell-fix-right) .ant-table-cell.ant-table-cell-fix-right {\n transition: none;\n}\n.index-module_columns-config-popup__-d8ej .ant-select-item {\n position: relative;\n}\n.index-module_columns-config-popup__-d8ej .ant-select-item .ant-select-item-option-content {\n position: absolute;\n left: 32px;\n width: -webkit-fill-available;\n}\n.index-module_columns-config-popup__-d8ej .ant-select-item .ant-select-item-option-state {\n position: absolute;\n left: 8px;\n top: 8px;\n}\n.index-module_columns-config-popup__-d8ej .rc-virtual-list-holder {\n overflow-x: hidden;\n}\n";
5276
+ var css_248z$11 = ":root {\n --ant-table-empty-stroke-color: #d9d9d9;\n}\n.index-module_container__triFT {\n position: relative;\n height: 100%;\n width: 100%;\n}\n.index-module_container__triFT .index-module_columns-config__pSkLQ {\n position: absolute;\n top: 12px;\n width: 16px;\n height: 16px;\n z-index: 9;\n}\n.index-module_container__triFT .index-module_columns-config__pSkLQ > svg {\n position: absolute;\n}\n.index-module_container__triFT .index-module_columns-config__pSkLQ .ant-select {\n opacity: 0;\n}\n.index-module_container__triFT .index-module_columns-config__pSkLQ .ant-select .ant-select-selector {\n width: 16px;\n height: 16px;\n}\n.index-module_container__triFT .index-module_columns-config__pSkLQ .ant-select .ant-select-selector .ant-select-selection-overflow {\n display: none;\n}\n.index-module_container__triFT .ant-table-wrapper .ant-table-cell-fix-right-first::after {\n box-shadow: none;\n}\n.index-module_container__triFT .ant-table-cell {\n line-height: 24px;\n}\n.index-module_container__triFT .ant-table-wrapper .ant-table-container::before,\n.index-module_container__triFT .ant-table-wrapper .ant-table-container::after {\n display: none;\n}\n.index-module_container__triFT .ant-table-cell-scrollbar {\n display: none;\n}\n.index-module_container__triFT .ant-table-thead .ant-table-cell {\n overflow: hidden;\n}\n.index-module_container__triFT .ant-table-row:has(.ant-table-cell-fix-right) .ant-table-cell.ant-table-cell-fix-right {\n transition: none;\n}\n.index-module_container__triFT .ant-empty-image svg path {\n stroke: var(--ant-table-empty-stroke-color, #d9d9d9);\n}\n.index-module_columns-config-popup__-d8ej .ant-select-item {\n position: relative;\n}\n.index-module_columns-config-popup__-d8ej .ant-select-item .ant-select-item-option-content {\n position: absolute;\n left: 32px;\n width: -webkit-fill-available;\n}\n.index-module_columns-config-popup__-d8ej .ant-select-item .ant-select-item-option-state {\n position: absolute;\n left: 8px;\n top: 8px;\n}\n.index-module_columns-config-popup__-d8ej .rc-virtual-list-holder {\n overflow-x: hidden;\n}\n";
5277
5277
  var styles$$ = {"container":"index-module_container__triFT","columns-config":"index-module_columns-config__pSkLQ","columns-config-popup":"index-module_columns-config-popup__-d8ej"};
5278
5278
  styleInject(css_248z$11);
5279
5279
 
@@ -5285,6 +5285,7 @@ var ProTable = function (_a) {
5285
5285
  var _f = useState(0), tableWidth = _f[0], setTableWidth = _f[1];
5286
5286
  // 表格高度
5287
5287
  var _g = useState(0), tableHeight = _g[0], setTableHeight = _g[1];
5288
+ var token = theme.useToken().token;
5288
5289
  // 表格宽高变化
5289
5290
  var handleTableResize = function (_a) {
5290
5291
  var height = _a.height, width = _a.width;
@@ -5323,6 +5324,9 @@ var ProTable = function (_a) {
5323
5324
  // 表头配置
5324
5325
  setHeaderValue((header === null || header === void 0 ? void 0 : header.filter(function (item) { return item.defaultShow; }).map(function (item) { return item.code; })) || []);
5325
5326
  }, [JSON.stringify(header)]);
5327
+ useEffect(function () {
5328
+ document.documentElement.style.setProperty('--ant-table-empty-stroke-color', token.colorTextSecondary);
5329
+ }, [token.colorTextSecondary]);
5326
5330
  return (React__default.createElement(ResizeObserver, { onResize: handleTableResize },
5327
5331
  React__default.createElement("div", { className: styles$$.container },
5328
5332
  React__default.createElement(Table, __assign({}, props, { pagination: pagination, scroll: { x: tableWidth, y: tableHeight }, columns: columnsMerge })))));
@@ -6306,7 +6310,7 @@ var Filter$1 = function (props) {
6306
6310
  var _a;
6307
6311
  return (React__default.createElement(FormItem, { key: item.filterId, name: item.fieldId, label: item.fieldName, type: item.targetFilter, placeholder: item.filterName, options: item.options, regionId: (_a = item.startRegion) === null || _a === void 0 ? void 0 : _a.regionId }));
6308
6312
  }),
6309
- ((_b = filterConfig === null || filterConfig === void 0 ? void 0 : filterConfig.tagValues) === null || _b === void 0 ? void 0 : _b.length) ? (React__default.createElement(FormItem, { name: "tagCodes", label: "\u6807\u7B7E", type: "CustomSelect", options: filterConfig.tagValues.map(function (item) { return ({
6313
+ ((_b = filterConfig === null || filterConfig === void 0 ? void 0 : filterConfig.tagValues) === null || _b === void 0 ? void 0 : _b.length) && enableTag ? (React__default.createElement(FormItem, { name: "tagCodes", label: "\u6807\u7B7E", type: "CustomSelect", options: filterConfig.tagValues.map(function (item) { return ({
6310
6314
  label: item.tagValue,
6311
6315
  value: item.code,
6312
6316
  }); }) })) : null));
@@ -6342,8 +6346,15 @@ var Filter$1 = function (props) {
6342
6346
  !((_c = filterConfig === null || filterConfig === void 0 ? void 0 : filterConfig.tagValues) === null || _c === void 0 ? void 0 : _c.length)) {
6343
6347
  return null;
6344
6348
  }
6345
- return (React__default.createElement(Popover, { content: content, open: open, onOpenChange: handleOpenChange, trigger: "click", placement: "bottomRight", overlayStyle: { backgroundColor: "".concat(token.colorPrimaryBg), border: "1px solid ".concat(token.colorBorder), borderRadius: '8px' } },
6346
- React__default.createElement("div", { className: classNames(styles$Y.filter, (_a = {}, _a[styles$Y.active] = !!filter, _a)), style: { backgroundColor: "".concat(token.colorPrimaryBg), border: "1px solid ".concat(token.colorBorder) } },
6349
+ return (React__default.createElement(Popover, { content: content, open: open, onOpenChange: handleOpenChange, trigger: "click", placement: "bottomRight", overlayStyle: {
6350
+ backgroundColor: "".concat(token.colorPrimaryBg),
6351
+ border: "1px solid ".concat(token.colorBorder),
6352
+ borderRadius: '8px',
6353
+ } },
6354
+ React__default.createElement("div", { className: classNames(styles$Y.filter, (_a = {}, _a[styles$Y.active] = !!filter, _a)), style: {
6355
+ backgroundColor: "".concat(token.colorPrimaryBg),
6356
+ border: "1px solid ".concat(token.colorBorder),
6357
+ } },
6347
6358
  React__default.createElement(SvgFilter$2, null))));
6348
6359
  };
6349
6360
 
@@ -10086,16 +10097,17 @@ var PAGINATION = {
10086
10097
  };
10087
10098
  var SenseContentTable = forwardRef(function (props, ref) {
10088
10099
  var _a;
10100
+ var _b, _c;
10089
10101
  var senseGlobalCodes = props.senseGlobalCodes, tableName = props.tableName, extraParams = props.extraParams, timeFieldName = props.timeFieldName, timeFieldFormat = props.timeFieldFormat, filterConfig = props.filterConfig, showExportButton = props.showExportButton, customButtons = props.customButtons, customColumns = props.customColumns, selectedRowLength = props.selectedRowLength, onClick = props.onClick, onDoubleClick = props.onDoubleClick, onRefresh = props.onRefresh, proTableContainerHeight = props.proTableContainerHeight, tableProps = __rest(props, ["senseGlobalCodes", "tableName", "extraParams", "timeFieldName", "timeFieldFormat", "filterConfig", "showExportButton", "customButtons", "customColumns", "selectedRowLength", "onClick", "onDoubleClick", "onRefresh", "proTableContainerHeight"]);
10090
- var _b = useExportModal(), onExport = _b.onExport, ExportModal = _b.ExportModal;
10102
+ var _d = useExportModal(), onExport = _d.onExport, ExportModal = _d.ExportModal;
10091
10103
  // 分页
10092
- var _c = useState(__assign({}, PAGINATION)), pagination = _c[0], setPagination = _c[1];
10104
+ var _e = useState(__assign({}, PAGINATION)), pagination = _e[0], setPagination = _e[1];
10093
10105
  // 筛选参数
10094
- var _d = useState({}), filter = _d[0], setFilter = _d[1];
10106
+ var _f = useState({}), filter = _f[0], setFilter = _f[1];
10095
10107
  // 表格选中
10096
10108
  // const [selectedRowKeys, setSelectedRowKeys] = useState([]);
10097
10109
  // 接口参数
10098
- var _e = useState({}), apiParams = _e[0], setApiParams = _e[1];
10110
+ var _g = useState({}), apiParams = _g[0], setApiParams = _g[1];
10099
10111
  var token = theme.useToken().token;
10100
10112
  // 获取筛选参数
10101
10113
  var getFilterParams = function () {
@@ -10133,7 +10145,7 @@ var SenseContentTable = forwardRef(function (props, ref) {
10133
10145
  return columns;
10134
10146
  };
10135
10147
  // 表格数据
10136
- var _f = useRequest(function () { return __awaiter(void 0, void 0, void 0, function () {
10148
+ var _h = useRequest(function () { return __awaiter(void 0, void 0, void 0, function () {
10137
10149
  var filterParams, res;
10138
10150
  var _a, _b, _c, _d;
10139
10151
  return __generator(this, function (_e) {
@@ -10154,7 +10166,7 @@ var SenseContentTable = forwardRef(function (props, ref) {
10154
10166
  });
10155
10167
  }); }, {
10156
10168
  refreshDeps: [JSON.stringify(senseGlobalCodes), tableName, JSON.stringify(filter)],
10157
- }), loading = _f.loading, _g = _f.data, _h = _g === void 0 ? {} : _g, header = _h.header, columns = _h.columns, dataSource = _h.dataSource, refresh = _f.refresh;
10169
+ }), loading = _h.loading, _j = _h.data, _k = _j === void 0 ? {} : _j, header = _k.header, columns = _k.columns, dataSource = _k.dataSource, refresh = _h.refresh;
10158
10170
  // 显示按钮
10159
10171
  var showButtons = function () {
10160
10172
  if (customButtons) {
@@ -10210,7 +10222,7 @@ var SenseContentTable = forwardRef(function (props, ref) {
10210
10222
  _a[styles$B['hidden-row-selected-num']] = !(dataSource === null || dataSource === void 0 ? void 0 : dataSource.length) || (tableProps === null || tableProps === void 0 ? void 0 : tableProps.rowSelection) === undefined,
10211
10223
  _a)), style: {
10212
10224
  // '--row-selected-num': selectedRowKeys.length,
10213
- '--row-selected-num': selectedRowLength,
10225
+ '--row-selected-num': selectedRowLength !== null && selectedRowLength !== void 0 ? selectedRowLength : (_c = (_b = tableProps === null || tableProps === void 0 ? void 0 : tableProps.rowSelection) === null || _b === void 0 ? void 0 : _b.selectedRowKeys) === null || _c === void 0 ? void 0 : _c.length,
10214
10226
  } },
10215
10227
  React__default.createElement(ProTable$1, __assign({ header: header, columns: columns, dataSource: dataSource, loading: loading, pagination: pagination, size: "small",
10216
10228
  // rowKey="sense_global_code"
@@ -11503,7 +11515,7 @@ var Content = function (props) {
11503
11515
  // const trackLayer = mapStore.trackLayer?.filter((item) => item.id !== senseGlobalCode);
11504
11516
  // mapStore.update({ trackLayer });
11505
11517
  };
11506
- }, [tableCode]);
11518
+ }, [tableCode, senseGlobalCode]);
11507
11519
  useEffect(function () {
11508
11520
  var _a;
11509
11521
  setTableCode((_a = config === null || config === void 0 ? void 0 : config[0]) === null || _a === void 0 ? void 0 : _a.tableCode);
@@ -12611,32 +12623,44 @@ var css_248z$b = ".SenseManager-module_container__PpQ0P {\n width: 100%;\n hei
12611
12623
  var styles$b = {"container":"SenseManager-module_container__PpQ0P","toolbar":"SenseManager-module_toolbar__WdLtQ","title":"SenseManager-module_title__L1H--","content":"SenseManager-module_content__V2hQ5","item":"SenseManager-module_item__UM1Lq","main":"SenseManager-module_main__bwIz-"};
12612
12624
  styleInject(css_248z$b);
12613
12625
 
12626
+ var builtinPanel = {
12627
+ CreateSense: {
12628
+ title: '新建对象',
12629
+ icon: img$3,
12630
+ },
12631
+ TemplateManager: {
12632
+ title: '模板管理',
12633
+ icon: img$1,
12634
+ },
12635
+ UploadManager: {
12636
+ title: '导入管理',
12637
+ icon: img,
12638
+ },
12639
+ SmartTagger: {
12640
+ title: '智能打标',
12641
+ icon: img$2,
12642
+ },
12643
+ };
12614
12644
  var SenseManager = function (props) {
12615
- var views = props.views;
12645
+ var views = props.views, panelConfig = props.panelConfig, onCreateSense = props.onCreateSense, onShowSense = props.onShowSense, onEditSense = props.onEditSense, onClickSense = props.onClickSense, onDoubleClickSense = props.onDoubleClickSense;
12646
+ var token = theme.useToken().token;
12616
12647
  var toolbarItems = [
12617
12648
  {
12618
12649
  key: '1',
12619
12650
  label: (React__default.createElement("div", { className: styles$b.title },
12620
12651
  React__default.createElement(SvgList, null),
12621
12652
  React__default.createElement("span", null, "\u64CD\u4F5C\u9762\u677F"))),
12622
- children: (React__default.createElement("div", { className: styles$b.content },
12623
- React__default.createElement("div", { className: styles$b.item, onClick: function () { } },
12624
- React__default.createElement("img", { src: img$3, alt: "" }),
12625
- React__default.createElement("span", null, "\u65B0\u5EFA\u5BF9\u8C61")),
12626
- React__default.createElement("div", { className: styles$b.item, onClick: function () { } },
12627
- React__default.createElement("img", { src: img$1, alt: "" }),
12628
- React__default.createElement("span", null, "\u6A21\u677F\u7BA1\u7406")),
12629
- React__default.createElement("div", { className: styles$b.item, onClick: function () { } },
12630
- React__default.createElement("img", { src: img, alt: "" }),
12631
- React__default.createElement("span", null, "\u5BFC\u5165\u7BA1\u7406")),
12632
- React__default.createElement("div", { className: styles$b.item, onClick: function () { } },
12633
- React__default.createElement("img", { src: img$2, alt: "" }),
12634
- React__default.createElement("span", null, "\u667A\u80FD\u6253\u6807")))),
12653
+ children: (React__default.createElement("div", { className: styles$b.content }, panelConfig === null || panelConfig === void 0 ? void 0 : panelConfig.map(function (item) {
12654
+ var _a, _b;
12655
+ return (React__default.createElement("div", { className: styles$b.item, onClick: item.onClick },
12656
+ React__default.createElement("img", { src: item.key ? ((_a = builtinPanel[item.key]) === null || _a === void 0 ? void 0 : _a.icon) || item.icon : item.icon, alt: "" }),
12657
+ React__default.createElement("span", { style: { color: token.colorText } }, item.key ? ((_b = builtinPanel[item.key]) === null || _b === void 0 ? void 0 : _b.title) || item.title : item.title)));
12658
+ }))),
12635
12659
  },
12636
12660
  ];
12637
12661
  return (React__default.createElement("div", { className: styles$b.container },
12638
- React__default.createElement("div", { className: styles$b.toolbar },
12639
- React__default.createElement(Collapse, { items: toolbarItems, defaultActiveKey: "1", expandIconPosition: "end" })),
12662
+ (panelConfig === null || panelConfig === void 0 ? void 0 : panelConfig.length) ? (React__default.createElement("div", { className: styles$b.toolbar },
12663
+ React__default.createElement(Collapse, { items: toolbarItems, defaultActiveKey: "1", expandIconPosition: "end" }))) : null,
12640
12664
  React__default.createElement("div", { className: styles$b.main },
12641
12665
  React__default.createElement(SenseFullTable, { viewType: "system", views: views, showView: true, showCatalog: true, showBreadcrumb: true, showBookGroupTable: true, showBookTable: true, showSenseTable: true, bookContextMenuConfig: [
12642
12666
  'create',
@@ -12646,7 +12670,7 @@ var SenseManager = function (props) {
12646
12670
  'attribute',
12647
12671
  'export',
12648
12672
  'share',
12649
- ], senseContextMenuConfig: ['show', 'edit', 'cut', 'copy', 'delete'] }))));
12673
+ ], senseContextMenuConfig: ['show', 'edit', 'cut', 'copy', 'delete'], onCreateSense: onCreateSense, onShowSense: onShowSense, onEditSense: onEditSense, onClickSense: onClickSense, onDoubleClickSense: onDoubleClickSense }))));
12650
12674
  };
12651
12675
 
12652
12676
  var settings$a = {
@@ -15786,7 +15810,7 @@ styleInject(css_248z$3);
15786
15810
 
15787
15811
  var Search$1 = Input.Search;
15788
15812
  var SenseList = function (_a) {
15789
- var name = _a.name, bookId = _a.bookId, selectedTag = _a.selectedTag, templateId = _a.templateId, viewCode = _a.viewCode;
15813
+ var name = _a.name, bookId = _a.bookId, selectedTag = _a.selectedTag, templateId = _a.templateId, viewCode = _a.viewCode, customColumns = _a.customColumns;
15790
15814
  var showContextMenu = useContextMenu({ id: ContextMenu.id }).show;
15791
15815
  var _b = App.useApp(), modal = _b.modal, message = _b.message;
15792
15816
  var _c = useState([]), selectBookIds = _c[0], setSelectBookIds = _c[1];
@@ -15878,10 +15902,10 @@ var SenseList = function (_a) {
15878
15902
  React__default.createElement("div", { className: styles$3.header },
15879
15903
  React__default.createElement("div", { className: styles$3.title }, name),
15880
15904
  React__default.createElement("div", { className: styles$3.search },
15881
- bookId ? null : (React__default.createElement(Select, { style: { width: 260 }, placeholder: "\u8BF7\u9009\u62E9\u6240\u5C5E\u53F0\u8D26", options: bookOptions, onChange: handleChangeSelectBookIds, value: selectBookIds, fieldNames: { label: 'bookName', value: 'bookId' }, mode: "multiple", maxTagCount: "responsive" })),
15905
+ bookId ? null : (React__default.createElement(Select, { style: { width: 260 }, placeholder: "\u8BF7\u9009\u62E9\u6240\u5C5E\u53F0\u8D26", options: bookOptions, onChange: handleChangeSelectBookIds, value: selectBookIds, fieldNames: { label: 'bookName', value: 'bookId' }, mode: "multiple", maxTagCount: "responsive", showSearch: true, filterOption: function (k, option) { return option.name.includes(k); } })),
15882
15906
  React__default.createElement(Search$1, { style: { width: 200 }, placeholder: "\u8BF7\u8F93\u5165\u641C\u7D22\u5173\u952E\u8BCD", onSearch: handleSearch, allowClear: true }))),
15883
15907
  React__default.createElement("div", { className: styles$3.main },
15884
- React__default.createElement(SenseTable, { ref: senseTableRef, bookId: bookId, bookIds: selectBookIds, keyword: keyword, templateId: templateId, viewCodes: viewCode ? [viewCode] : undefined, rowSelection: rowSelection, onRow: onRow, enableTag: "edit" })),
15908
+ React__default.createElement(SenseTable, { ref: senseTableRef, bookId: bookId, bookIds: selectBookIds, keyword: keyword, templateId: templateId, viewCodes: viewCode ? [viewCode] : undefined, rowSelection: rowSelection, onRow: onRow, enableTag: "edit", customColumns: customColumns })),
15885
15909
  React__default.createElement(ContextMenu, { disabled: !selectedTag })));
15886
15910
  };
15887
15911
 
@@ -16034,13 +16058,13 @@ var styles$1 = {"container":"TagConfig-module_container__YV3Kx"};
16034
16058
  styleInject(css_248z$1);
16035
16059
 
16036
16060
  var TagConfig = function (props) {
16037
- var name = props.name, templateId = props.templateId, bookId = props.bookId, viewCode = props.viewCode;
16061
+ var name = props.name, templateId = props.templateId, bookId = props.bookId, viewCode = props.viewCode, customColumns = props.customColumns;
16038
16062
  var _a = useState(null), selectedTag = _a[0], setSelectedTag = _a[1];
16039
16063
  return (React__default.createElement(Splitter, { className: styles$1.container },
16040
16064
  React__default.createElement(Splitter.Panel, { defaultSize: 240, min: 180, max: 600 },
16041
16065
  React__default.createElement(TagList, { templateId: templateId, selectedTag: selectedTag, setSelectedTag: setSelectedTag })),
16042
16066
  React__default.createElement(Splitter.Panel, null,
16043
- React__default.createElement(SenseList, { name: name, bookId: bookId, templateId: templateId, viewCode: viewCode, selectedTag: selectedTag }))));
16067
+ React__default.createElement(SenseList, { name: name, bookId: bookId, templateId: templateId, viewCode: viewCode, selectedTag: selectedTag, customColumns: customColumns }))));
16044
16068
  };
16045
16069
 
16046
16070
  var settings$2 = {
@@ -16175,11 +16199,11 @@ var CcosVideoPlayer = function (props) {
16175
16199
  CcosVideoPlayer.settings = settings$1;
16176
16200
 
16177
16201
  try {
16178
- window._ICOS_DESKTOP_VERSION_ = JSON.parse('{"version":"2.0.23","branch":"release_v2.0.0","buildDate":"2025-04-02 10:31:27"}');
16202
+ window._ICOS_DESKTOP_VERSION_ = JSON.parse('{"version":"2.0.25","branch":"remotes/origin/release_v2.0.0","buildDate":"2025-04-03 15:51:14"}');
16179
16203
  }
16180
16204
  catch (err) {
16181
16205
  console.warn(err);
16182
- window._ICOS_DESKTOP_VERSION_ = '{"version":"2.0.23","branch":"release_v2.0.0","buildDate":"2025-04-02 10:31:27"}';
16206
+ window._ICOS_DESKTOP_VERSION_ = '{"version":"2.0.25","branch":"remotes/origin/release_v2.0.0","buildDate":"2025-04-03 15:51:14"}';
16183
16207
  }
16184
16208
 
16185
16209
  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 };