@icos-desktop/react-components 2.0.24 → 2.0.26

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.
@@ -492,6 +492,10 @@ interface SenseCreateProps {
492
492
  * 台账id,当传入台账id时,会自动选择对应的台账,直接进入实体新建表单。
493
493
  */
494
494
  bookId?: string;
495
+ /**
496
+ * 主题色(初次渲染时生效,默认暗色)
497
+ */
498
+ theme?: 'dark' | 'light';
495
499
  /**
496
500
  * 点击取消按钮
497
501
  */
@@ -859,6 +863,52 @@ interface SenseManagerProps {
859
863
  label: string;
860
864
  value: string;
861
865
  }[];
866
+ /**
867
+ * 操作面板配置
868
+ */
869
+ panelConfig?: {
870
+ /**
871
+ * 内置操作面板,可选值为 `CreateSense` 新建对象、`TemplateManager` 模板管理、`UploadManager` 导入管理、`SmartTagger` 智能打标
872
+ */
873
+ key?: string;
874
+ /**
875
+ * 操作面板标题
876
+ */
877
+ title?: string;
878
+ /**
879
+ * 操作面板图标
880
+ */
881
+ icon?: string;
882
+ /**
883
+ * 点击事件
884
+ */
885
+ onClick?: () => void;
886
+ }[];
887
+ /**
888
+ * 新建对象
889
+ * @param record
890
+ */
891
+ onCreateSense?: (record: any) => void;
892
+ /**
893
+ * 查看实体
894
+ * @param record
895
+ */
896
+ onShowSense?: (record: any) => void;
897
+ /**
898
+ * 编辑实体
899
+ * @param record
900
+ */
901
+ onEditSense?: (record: any) => void;
902
+ /**
903
+ * 单击实体
904
+ * @param record
905
+ */
906
+ onClickSense?: (record: any) => void;
907
+ /**
908
+ * 双击实体
909
+ * @param record
910
+ */
911
+ onDoubleClickSense?: (record: any) => void;
862
912
  }
863
913
 
864
914
  declare const SenseManager: React.FC<SenseManagerProps>;
@@ -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, Divider, 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';
@@ -4231,7 +4231,7 @@ function styleInject(css, ref) {
4231
4231
  }
4232
4232
  }
4233
4233
 
4234
- var css_248z$1g = ".BookInfo-module_container__hGiVT .ant-collapse-content-box {\n padding: 8px 0 0 !important;\n}\n.BookInfo-module_container__hGiVT .ant-form-item {\n margin-bottom: 12px;\n}\n.BookInfo-module_container__hGiVT .ant-form-item-label > label {\n color: rgba(255, 255, 255, 0.65);\n font-size: 16px;\n font-style: normal;\n font-weight: 350;\n line-height: 24px;\n}\n.BookInfo-module_container__hGiVT .ant-form-item-control {\n color: rgba(255, 255, 255, 0.65);\n font-size: 16px;\n font-style: normal;\n font-weight: 400;\n line-height: 24px;\n}\n";
4234
+ var css_248z$1g = ".BookInfo-module_container__hGiVT .ant-collapse-content-box {\n padding: 8px 0 0 !important;\n}\n.BookInfo-module_container__hGiVT .ant-form-item {\n margin-bottom: 12px;\n}\n.BookInfo-module_container__hGiVT .ant-form-item-label > label {\n font-size: 16px;\n font-style: normal;\n font-weight: 350;\n line-height: 24px;\n}\n.BookInfo-module_container__hGiVT .ant-form-item-control {\n font-size: 16px;\n font-style: normal;\n font-weight: 400;\n line-height: 24px;\n}\n";
4235
4235
  var styles$1e = {"container":"BookInfo-module_container__hGiVT"};
4236
4236
  styleInject(css_248z$1g);
4237
4237
 
@@ -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
 
@@ -7643,7 +7654,7 @@ var SvgUpload$1 = function SvgUpload(props) {
7643
7654
  })));
7644
7655
  };
7645
7656
 
7646
- var css_248z$Q = ".index-module_container__RddG6 .index-module_file-delete-icon__fNYlL {\n position: absolute;\n top: 16px;\n right: 16px;\n color: rgba(255, 255, 255, 0.25);\n}\n.index-module_container__RddG6 .index-module_file-delete-icon__fNYlL:hover {\n color: #F2F8FF;\n}\n.index-module_container__RddG6 .index-module_file-excel-icon__ohdeb {\n width: 60px;\n height: 60px;\n margin: 0 auto;\n}\n.index-module_container__RddG6 .index-module_file-name__41RUQ {\n margin-top: 12px;\n color: rgba(255, 255, 255, 0.85);\n font-size: 16px;\n font-style: normal;\n font-weight: 400;\n line-height: 24px;\n}\n.index-module_container__RddG6 .index-module_file-progress__9kpmf {\n position: absolute;\n bottom: -6px;\n left: 0;\n width: 100%;\n}\n.index-module_container__RddG6 .index-module_file-progress__9kpmf .ant-progress-line {\n margin: 0;\n}\n.index-module_container__RddG6 .index-module_drag-icon__Qc78Y {\n width: 60px;\n height: 60px;\n margin: 0 auto;\n}\n.index-module_container__RddG6 .index-module_drag-text__gW5xD {\n color: rgba(255, 255, 255, 0.85);\n font-size: 16px;\n font-style: normal;\n font-weight: 400;\n line-height: 24px;\n margin-top: 12px;\n}\n.index-module_container__RddG6 .index-module_drag-hint__MJej7 {\n color: rgba(255, 255, 255, 0.65);\n font-size: 14px;\n font-style: normal;\n font-weight: 400;\n line-height: 18px;\n margin-top: 8px;\n}\n.index-module_container__RddG6 .index-module_result__CiHit {\n margin-top: 16px;\n color: #FFF;\n font-size: 16px;\n font-style: normal;\n font-weight: 400;\n line-height: 24px;\n}\n.index-module_container__RddG6 .index-module_result__CiHit .index-module_success__mhp2y {\n margin: 0 2px;\n color: #0FF;\n}\n.index-module_container__RddG6 .index-module_result__CiHit .index-module_failure__TMw0l {\n margin: 0 2px;\n color: #FF4D4F;\n}\n.index-module_container__RddG6 .index-module_tip__t6FH7 {\n padding-top: 8px;\n}\n.index-module_container__RddG6 .ant-upload {\n position: relative;\n height: 204px;\n}\n.index-module_container__RddG6 .ant-upload-wrapper .ant-upload-drag {\n border-radius: 2px;\n border: 1px dashed rgba(0, 255, 255, 0.65);\n background: rgba(0, 255, 255, 0.1);\n}\n.index-module_container__RddG6 .ant-btn-link {\n padding: 0;\n font-size: 16px;\n}\n";
7657
+ var css_248z$Q = ".index-module_container__RddG6 .index-module_file-delete-icon__fNYlL {\n position: absolute;\n top: 16px;\n right: 16px;\n color: rgba(255, 255, 255, 0.25);\n}\n.index-module_container__RddG6 .index-module_file-delete-icon__fNYlL:hover {\n color: #F2F8FF;\n}\n.index-module_container__RddG6 .index-module_file-excel-icon__ohdeb {\n width: 60px;\n height: 60px;\n margin: 0 auto;\n}\n.index-module_container__RddG6 .index-module_file-name__41RUQ {\n margin-top: 12px;\n color: rgba(255, 255, 255, 0.85);\n font-size: 16px;\n font-style: normal;\n font-weight: 400;\n line-height: 24px;\n}\n.index-module_container__RddG6 .index-module_file-progress__9kpmf {\n position: absolute;\n bottom: -6px;\n left: 0;\n width: 100%;\n}\n.index-module_container__RddG6 .index-module_file-progress__9kpmf .ant-progress-line {\n margin: 0;\n}\n.index-module_container__RddG6 .index-module_drag-icon__Qc78Y {\n width: 60px;\n height: 60px;\n margin: 0 auto;\n}\n.index-module_container__RddG6 .index-module_drag-text__gW5xD {\n font-size: 16px;\n font-style: normal;\n font-weight: 400;\n line-height: 24px;\n margin-top: 12px;\n}\n.index-module_container__RddG6 .index-module_drag-hint__MJej7 {\n font-size: 14px;\n font-style: normal;\n font-weight: 400;\n line-height: 18px;\n margin-top: 8px;\n}\n.index-module_container__RddG6 .index-module_result__CiHit {\n margin-top: 16px;\n color: #FFF;\n font-size: 16px;\n font-style: normal;\n font-weight: 400;\n line-height: 24px;\n}\n.index-module_container__RddG6 .index-module_result__CiHit .index-module_success__mhp2y {\n margin: 0 2px;\n color: #0FF;\n}\n.index-module_container__RddG6 .index-module_result__CiHit .index-module_failure__TMw0l {\n margin: 0 2px;\n color: #FF4D4F;\n}\n.index-module_container__RddG6 .index-module_tip__t6FH7 {\n padding-top: 8px;\n}\n.index-module_container__RddG6 .ant-upload {\n position: relative;\n height: 204px;\n}\n.index-module_container__RddG6 .ant-upload-wrapper .ant-upload-drag {\n border-radius: 2px;\n border: 1px dashed rgba(0, 255, 255, 0.65);\n background: rgba(0, 255, 255, 0.1);\n}\n.index-module_container__RddG6 .ant-btn-link {\n padding: 0;\n font-size: 16px;\n}\n";
7647
7658
  var styles$Q = {"container":"index-module_container__RddG6","file-delete-icon":"index-module_file-delete-icon__fNYlL","file-excel-icon":"index-module_file-excel-icon__ohdeb","file-name":"index-module_file-name__41RUQ","file-progress":"index-module_file-progress__9kpmf","drag-icon":"index-module_drag-icon__Qc78Y","drag-text":"index-module_drag-text__gW5xD","drag-hint":"index-module_drag-hint__MJej7","result":"index-module_result__CiHit","success":"index-module_success__mhp2y","failure":"index-module_failure__TMw0l","tip":"index-module_tip__t6FH7"};
7648
7659
  styleInject(css_248z$Q);
7649
7660
 
@@ -7663,6 +7674,7 @@ var Upload = forwardRef(function (props, ref) {
7663
7674
  var _e = useState(null), result = _e[0], setResult = _e[1];
7664
7675
  // 上传任务id
7665
7676
  var _f = useState(null), taskBatchId = _f[0], setTaskBatchId = _f[1];
7677
+ var token = theme.useToken().token;
7666
7678
  var setLoading = function (state) {
7667
7679
  onLoading === null || onLoading === void 0 ? void 0 : onLoading(state);
7668
7680
  _setLoading(state);
@@ -7845,8 +7857,8 @@ var Upload = forwardRef(function (props, ref) {
7845
7857
  React__default.createElement(Progress, { percent: percent, showInfo: false, strokeColor: "#0FF", size: ['100%', 4] }))) : null)) : (React__default.createElement(React__default.Fragment, null,
7846
7858
  React__default.createElement("div", { className: styles$Q['drag-icon'] },
7847
7859
  React__default.createElement(SvgUpload$1, null)),
7848
- React__default.createElement("div", { className: styles$Q['drag-text'] }, "\u4E0A\u4F20\u8BF7\u70B9\u51FB\u6216\u62D6\u62FD\u6587\u4EF6\u81F3\u6B64\u533A\u57DF"),
7849
- React__default.createElement("div", { className: styles$Q['drag-hint'] }, "1.\u6587\u4EF6\u5FC5\u987B\u6309\u7167\u6A21\u677F\u586B\u5199\uFF1B 2.\u4EC5\u652F\u6301Excel\u683C\u5F0F\u7684\u6587\u4EF6")))),
7860
+ React__default.createElement("div", { className: styles$Q['drag-text'], style: { color: token.colorText } }, "\u4E0A\u4F20\u8BF7\u70B9\u51FB\u6216\u62D6\u62FD\u6587\u4EF6\u81F3\u6B64\u533A\u57DF"),
7861
+ React__default.createElement("div", { className: styles$Q['drag-hint'], style: { color: token.colorText } }, "1.\u6587\u4EF6\u5FC5\u987B\u6309\u7167\u6A21\u677F\u586B\u5199\uFF1B 2.\u4EC5\u652F\u6301Excel\u683C\u5F0F\u7684\u6587\u4EF6")))),
7850
7862
  result ? (React__default.createElement("div", { className: styles$Q.result },
7851
7863
  "\u5BFC\u5165\u5B8C\u6210\uFF01\u6210\u529F\u5BFC\u5165",
7852
7864
  React__default.createElement("span", { className: styles$Q.success }, result.successNum || 0),
@@ -8411,13 +8423,13 @@ var SvgUpload = function SvgUpload(props) {
8411
8423
  })));
8412
8424
  };
8413
8425
 
8414
- var css_248z$O = ":root {\n --sense-upload-icon-upload-color: #FFFFFFA4;\n --sense-upload-icon-file-color: #35C624;\n --sense-upload-icon-delete-color: \"currentColor\";\n}\n.BookImport-module_container__4TRMM {\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n width: 100%;\n height: 100%;\n}\n.BookImport-module_container__4TRMM * {\n box-sizing: border-box;\n}\n.BookImport-module_container__4TRMM .BookImport-module_upload__4xN2e {\n flex: 1;\n width: 100%;\n height: 0;\n padding: 16px;\n}\n.BookImport-module_container__4TRMM .BookImport-module_upload__4xN2e .BookImport-module_template__gspp4 {\n padding-bottom: 16px;\n font-size: 16px;\n font-style: normal;\n font-weight: 400;\n line-height: 24px;\n}\n.BookImport-module_container__4TRMM .BookImport-module_upload__4xN2e .BookImport-module_file-delete-icon__eVqWf {\n position: absolute;\n top: 16px;\n right: 16px;\n color: rgba(255, 255, 255, 0.25);\n}\n.BookImport-module_container__4TRMM .BookImport-module_upload__4xN2e .BookImport-module_file-delete-icon__eVqWf:hover {\n color: #F2F8FF;\n}\n.BookImport-module_container__4TRMM .BookImport-module_upload__4xN2e .BookImport-module_file-delete-icon__eVqWf svg path {\n fill: var(--sense-upload-icon-delete-color);\n}\n.BookImport-module_container__4TRMM .BookImport-module_upload__4xN2e .BookImport-module_file-excel-icon__2lEOa {\n width: 60px;\n height: 60px;\n margin: 0 auto;\n}\n.BookImport-module_container__4TRMM .BookImport-module_upload__4xN2e .BookImport-module_file-excel-icon__2lEOa svg path {\n fill: var(--sense-upload-icon-file-color);\n}\n.BookImport-module_container__4TRMM .BookImport-module_upload__4xN2e .BookImport-module_file-name__pzx-B {\n margin-top: 12px;\n font-size: 16px;\n font-style: normal;\n font-weight: 400;\n line-height: 24px;\n}\n.BookImport-module_container__4TRMM .BookImport-module_upload__4xN2e .BookImport-module_file-progress__LbV36 {\n position: absolute;\n bottom: -6px;\n left: 0;\n width: 100%;\n}\n.BookImport-module_container__4TRMM .BookImport-module_upload__4xN2e .BookImport-module_file-progress__LbV36 .ant-progress-line {\n margin: 0;\n}\n.BookImport-module_container__4TRMM .BookImport-module_upload__4xN2e .BookImport-module_drag-icon__93BY- {\n width: 60px;\n height: 60px;\n margin: 0 auto;\n}\n.BookImport-module_container__4TRMM .BookImport-module_upload__4xN2e .BookImport-module_drag-icon__93BY- svg path {\n fill: var(--sense-upload-icon-upload-color);\n}\n.BookImport-module_container__4TRMM .BookImport-module_upload__4xN2e .BookImport-module_drag-text__E5T1p {\n font-size: 16px;\n font-style: normal;\n font-weight: 400;\n line-height: 24px;\n margin-top: 12px;\n}\n.BookImport-module_container__4TRMM .BookImport-module_upload__4xN2e .BookImport-module_drag-hint__czHxk {\n font-size: 14px;\n font-style: normal;\n font-weight: 400;\n line-height: 18px;\n margin-top: 8px;\n}\n.BookImport-module_container__4TRMM .BookImport-module_upload__4xN2e .BookImport-module_result__VM2Xr {\n margin-top: 16px;\n color: #FFF;\n font-size: 16px;\n font-style: normal;\n font-weight: 400;\n line-height: 24px;\n}\n.BookImport-module_container__4TRMM .BookImport-module_upload__4xN2e .BookImport-module_result__VM2Xr .BookImport-module_success__zyV5n {\n margin: 0 2px;\n color: #0FF;\n}\n.BookImport-module_container__4TRMM .BookImport-module_upload__4xN2e .BookImport-module_result__VM2Xr .BookImport-module_failure__zRNuz {\n margin: 0 2px;\n color: #FF4D4F;\n}\n.BookImport-module_container__4TRMM .BookImport-module_upload__4xN2e .BookImport-module_tip__2KsHe {\n padding-top: 8px;\n}\n.BookImport-module_container__4TRMM .BookImport-module_upload__4xN2e .ant-upload {\n position: relative;\n height: 204px;\n}\n.BookImport-module_container__4TRMM .BookImport-module_upload__4xN2e .ant-btn-link {\n padding: 0;\n font-size: 16px;\n}\n.BookImport-module_container__4TRMM .BookImport-module_btn-line__kf7Gp {\n text-align: right;\n}\n.BookImport-module_container__4TRMM .BookImport-module_btn-line__kf7Gp > button:not(:last-child) {\n margin-right: 16px;\n}\n.BookImport-module_container__4TRMM .BookImport-module_btns__p3WrN {\n flex-shrink: 0;\n padding: 16px;\n backdrop-filter: blur(60px);\n text-align: right;\n}\n.BookImport-module_container__4TRMM .BookImport-module_btns__p3WrN > button:not(:last-child) {\n margin-right: 16px;\n}\n";
8426
+ var css_248z$O = ":root {\n --sense-upload-icon-upload-color: #595959;\n --sense-upload-icon-file-color: #35C624;\n --sense-upload-icon-delete-color: \"currentColor\";\n}\n.BookImport-module_container__4TRMM {\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n width: 100%;\n height: 100%;\n}\n.BookImport-module_container__4TRMM * {\n box-sizing: border-box;\n}\n.BookImport-module_container__4TRMM .BookImport-module_upload__4xN2e {\n flex: 1;\n width: 100%;\n height: 0;\n padding: 16px;\n}\n.BookImport-module_container__4TRMM .BookImport-module_upload__4xN2e .BookImport-module_template__gspp4 {\n padding-bottom: 16px;\n font-size: 16px;\n font-style: normal;\n font-weight: 400;\n line-height: 24px;\n}\n.BookImport-module_container__4TRMM .BookImport-module_upload__4xN2e .BookImport-module_file-delete-icon__eVqWf {\n position: absolute;\n top: 16px;\n right: 16px;\n color: rgba(255, 255, 255, 0.25);\n}\n.BookImport-module_container__4TRMM .BookImport-module_upload__4xN2e .BookImport-module_file-delete-icon__eVqWf:hover {\n color: #F2F8FF;\n}\n.BookImport-module_container__4TRMM .BookImport-module_upload__4xN2e .BookImport-module_file-delete-icon__eVqWf svg path {\n fill: var(--sense-upload-icon-delete-color);\n}\n.BookImport-module_container__4TRMM .BookImport-module_upload__4xN2e .BookImport-module_file-excel-icon__2lEOa {\n width: 60px;\n height: 60px;\n margin: 0 auto;\n}\n.BookImport-module_container__4TRMM .BookImport-module_upload__4xN2e .BookImport-module_file-excel-icon__2lEOa svg path {\n fill: var(--sense-upload-icon-file-color);\n}\n.BookImport-module_container__4TRMM .BookImport-module_upload__4xN2e .BookImport-module_file-name__pzx-B {\n margin-top: 12px;\n font-size: 16px;\n font-style: normal;\n font-weight: 400;\n line-height: 24px;\n}\n.BookImport-module_container__4TRMM .BookImport-module_upload__4xN2e .BookImport-module_file-progress__LbV36 {\n position: absolute;\n bottom: -6px;\n left: 0;\n width: 100%;\n}\n.BookImport-module_container__4TRMM .BookImport-module_upload__4xN2e .BookImport-module_file-progress__LbV36 .ant-progress-line {\n margin: 0;\n}\n.BookImport-module_container__4TRMM .BookImport-module_upload__4xN2e .BookImport-module_drag-icon__93BY- {\n width: 60px;\n height: 60px;\n margin: 0 auto;\n}\n.BookImport-module_container__4TRMM .BookImport-module_upload__4xN2e .BookImport-module_drag-icon__93BY- svg path {\n fill: var(--sense-upload-icon-upload-color);\n}\n.BookImport-module_container__4TRMM .BookImport-module_upload__4xN2e .BookImport-module_drag-text__E5T1p {\n font-size: 16px;\n font-style: normal;\n font-weight: 400;\n line-height: 24px;\n margin-top: 12px;\n}\n.BookImport-module_container__4TRMM .BookImport-module_upload__4xN2e .BookImport-module_drag-hint__czHxk {\n font-size: 14px;\n font-style: normal;\n font-weight: 400;\n line-height: 18px;\n margin-top: 8px;\n}\n.BookImport-module_container__4TRMM .BookImport-module_upload__4xN2e .BookImport-module_result__VM2Xr {\n margin-top: 16px;\n color: #FFF;\n font-size: 16px;\n font-style: normal;\n font-weight: 400;\n line-height: 24px;\n}\n.BookImport-module_container__4TRMM .BookImport-module_upload__4xN2e .BookImport-module_result__VM2Xr .BookImport-module_success__zyV5n {\n margin: 0 2px;\n color: #0FF;\n}\n.BookImport-module_container__4TRMM .BookImport-module_upload__4xN2e .BookImport-module_result__VM2Xr .BookImport-module_failure__zRNuz {\n margin: 0 2px;\n color: #FF4D4F;\n}\n.BookImport-module_container__4TRMM .BookImport-module_upload__4xN2e .BookImport-module_tip__2KsHe {\n padding-top: 8px;\n}\n.BookImport-module_container__4TRMM .BookImport-module_upload__4xN2e .ant-upload {\n position: relative;\n height: 204px;\n}\n.BookImport-module_container__4TRMM .BookImport-module_upload__4xN2e .ant-btn-link {\n padding: 0;\n font-size: 16px;\n}\n.BookImport-module_container__4TRMM .BookImport-module_btn-line__kf7Gp {\n text-align: right;\n}\n.BookImport-module_container__4TRMM .BookImport-module_btn-line__kf7Gp > button:not(:last-child) {\n margin-right: 16px;\n}\n.BookImport-module_container__4TRMM .BookImport-module_btns__p3WrN {\n flex-shrink: 0;\n padding: 16px;\n backdrop-filter: blur(60px);\n text-align: right;\n}\n.BookImport-module_container__4TRMM .BookImport-module_btns__p3WrN > button:not(:last-child) {\n margin-right: 16px;\n}\n";
8415
8427
  var styles$O = {"container":"BookImport-module_container__4TRMM","upload":"BookImport-module_upload__4xN2e","template":"BookImport-module_template__gspp4","file-delete-icon":"BookImport-module_file-delete-icon__eVqWf","file-excel-icon":"BookImport-module_file-excel-icon__2lEOa","file-name":"BookImport-module_file-name__pzx-B","file-progress":"BookImport-module_file-progress__LbV36","drag-icon":"BookImport-module_drag-icon__93BY-","drag-text":"BookImport-module_drag-text__E5T1p","drag-hint":"BookImport-module_drag-hint__czHxk","result":"BookImport-module_result__VM2Xr","success":"BookImport-module_success__zyV5n","failure":"BookImport-module_failure__zRNuz","tip":"BookImport-module_tip__2KsHe","btns":"BookImport-module_btns__p3WrN"};
8416
8428
  styleInject(css_248z$O);
8417
8429
 
8418
8430
  var Dragger = Upload$1.Dragger;
8419
8431
  var BookImport = function (props) {
8420
- var bookId = props.bookId, _a = props.cancelText, cancelText = _a === void 0 ? '取消' : _a, onCancel = props.onCancel, onSuccess = props.onSuccess, onError = props.onError, downloadTextColor = props.downloadTextColor, uploadTextColor = props.uploadTextColor, uploadHintColor = props.uploadHintColor, uploadFileNameColor = props.uploadFileNameColor, bottomBgColor = props.bottomBgColor, bottomBorderStyle = props.bottomBorderStyle, bottomBorderColor = props.bottomBorderColor, bottomBorderWidth = props.bottomBorderWidth, uploadImgColor = props.uploadImgColor, fileImgColor = props.fileImgColor, deleteImgColor = props.deleteImgColor;
8432
+ var bookId = props.bookId, _a = props.cancelText, cancelText = _a === void 0 ? '取消' : _a, onCancel = props.onCancel, onSuccess = props.onSuccess, onError = props.onError; props.downloadTextColor; props.uploadTextColor; props.uploadHintColor; props.uploadFileNameColor; var bottomBgColor = props.bottomBgColor, bottomBorderStyle = props.bottomBorderStyle, bottomBorderColor = props.bottomBorderColor, bottomBorderWidth = props.bottomBorderWidth; props.uploadImgColor; props.fileImgColor; props.deleteImgColor;
8421
8433
  var message = App.useApp().message;
8422
8434
  // 选择的文件
8423
8435
  var _b = useState(null), file = _b[0], setFile = _b[1];
@@ -8429,6 +8441,7 @@ var BookImport = function (props) {
8429
8441
  var _e = useState(null), result = _e[0], setResult = _e[1];
8430
8442
  // 上传任务id
8431
8443
  var _f = useState(null), taskBizId = _f[0], setTaskBizId = _f[1];
8444
+ var token = theme.useToken().token;
8432
8445
  // 下载失败信息
8433
8446
  var handleDownloadErrorInfo = function () { return __awaiter(void 0, void 0, void 0, function () {
8434
8447
  var res;
@@ -8559,13 +8572,13 @@ var BookImport = function (props) {
8559
8572
  borderStyle: bottomBorderStyle ? bottomBorderStyle : 'none',
8560
8573
  };
8561
8574
  useEffect(function () {
8562
- document.documentElement.style.setProperty('--sense-upload-icon-upload-color', uploadImgColor ? uploadImgColor : '#FFFFFFA4');
8563
- document.documentElement.style.setProperty('--sense-upload-icon-file-color', fileImgColor ? fileImgColor : '#35C624');
8564
- document.documentElement.style.setProperty('--sense-upload-icon-delete-color', deleteImgColor ? deleteImgColor : 'currentColor');
8565
- }, []);
8575
+ document.documentElement.style.setProperty('--sense-upload-icon-upload-color', token.colorTextQuaternary);
8576
+ document.documentElement.style.setProperty('--sense-upload-icon-file-color', token.colorTextQuaternary);
8577
+ document.documentElement.style.setProperty('--sense-upload-icon-delete-color', token.colorTextQuaternary);
8578
+ }, [token.colorTextQuaternary]);
8566
8579
  return (React__default.createElement("div", { className: styles$O.container },
8567
8580
  React__default.createElement("div", { className: styles$O.upload },
8568
- React__default.createElement("div", { className: styles$O.template, style: { color: downloadTextColor ? downloadTextColor : '#fff' } },
8581
+ React__default.createElement("div", { className: styles$O.template, style: { color: token.colorText } },
8569
8582
  "\u8BF7\u6309\u7167\u6A21\u677F\u586B\u5199\u540E\u518D\u4E0A\u4F20\uFF0C\u70B9\u51FB",
8570
8583
  React__default.createElement(Button, { type: "link", onClick: handleDownloadTemplate }, "\u4E0B\u8F7D\u6A21\u677F")),
8571
8584
  React__default.createElement(Dragger, __assign({}, draggerProps), file ? (React__default.createElement(React__default.Fragment, null,
@@ -8573,13 +8586,13 @@ var BookImport = function (props) {
8573
8586
  React__default.createElement(SvgDelete$2, null))),
8574
8587
  React__default.createElement("div", { className: styles$O['file-excel-icon'] },
8575
8588
  React__default.createElement(SvgFileExcel, null)),
8576
- React__default.createElement("div", { className: styles$O['file-name'], style: { color: uploadFileNameColor ? uploadFileNameColor : '#fff' } }, file.name),
8589
+ React__default.createElement("div", { className: styles$O['file-name'], style: { color: token.colorText } }, file.name),
8577
8590
  percent ? (React__default.createElement("div", { className: styles$O['file-progress'] },
8578
8591
  React__default.createElement(Progress, { percent: percent, showInfo: false, strokeColor: "#0FF", size: ['100%', 4] }))) : null)) : (React__default.createElement(React__default.Fragment, null,
8579
8592
  React__default.createElement("div", { id: "uploadIcon", className: styles$O['drag-icon'] },
8580
8593
  React__default.createElement(SvgUpload, null)),
8581
- React__default.createElement("div", { className: styles$O['drag-text'], style: { color: uploadTextColor ? uploadTextColor : '#fff' } }, "\u4E0A\u4F20\u8BF7\u70B9\u51FB\u6216\u62D6\u62FD\u6587\u4EF6\u81F3\u6B64\u533A\u57DF"),
8582
- React__default.createElement("div", { className: styles$O['drag-hint'], style: { color: uploadHintColor ? uploadHintColor : '#fff' } }, "1.\u6587\u4EF6\u5FC5\u987B\u6309\u7167\u6A21\u677F\u586B\u5199\uFF1B 2.\u4EC5\u652F\u6301Excel\u683C\u5F0F\u7684\u6587\u4EF6")))),
8594
+ React__default.createElement("div", { className: styles$O['drag-text'], style: { color: token.colorText } }, "\u4E0A\u4F20\u8BF7\u70B9\u51FB\u6216\u62D6\u62FD\u6587\u4EF6\u81F3\u6B64\u533A\u57DF"),
8595
+ React__default.createElement("div", { className: styles$O['drag-hint'], style: { color: token.colorTextSecondary } }, "1.\u6587\u4EF6\u5FC5\u987B\u6309\u7167\u6A21\u677F\u586B\u5199\uFF1B 2.\u4EC5\u652F\u6301Excel\u683C\u5F0F\u7684\u6587\u4EF6")))),
8583
8596
  result ? (React__default.createElement("div", { className: styles$O.result },
8584
8597
  "\u5BFC\u5165\u5B8C\u6210\uFF01\u6210\u529F\u5BFC\u5165",
8585
8598
  React__default.createElement("span", { className: styles$O.success }, result.successNum || 0),
@@ -8784,6 +8797,7 @@ var treeToCascaderValue = function (tree, targetKey) {
8784
8797
  var EntityClassFilter = function (_a) {
8785
8798
  var _b;
8786
8799
  var defaultEntityClassCode = _a.defaultEntityClassCode, viewCodes = _a.viewCodes, onChange = _a.onChange, onFilter = _a.onFilter, className = _a.className, props = __rest(_a, ["defaultEntityClassCode", "viewCodes", "onChange", "onFilter", "className"]);
8800
+ var token = theme.useToken().token;
8787
8801
  var _c = useState([]), value = _c[0], setValue = _c[1];
8788
8802
  var data = useRequest(function () { return __awaiter(void 0, void 0, void 0, function () {
8789
8803
  var res, treeData;
@@ -8825,10 +8839,11 @@ var EntityClassFilter = function (_a) {
8825
8839
  }, [data, defaultEntityClassCode], {
8826
8840
  wait: 500,
8827
8841
  });
8842
+ console.log(token.colorBgContainer);
8828
8843
  return (React__default.createElement(Cascader, __assign({ multiple: true, showCheckedStrategy: Cascader.SHOW_CHILD, options: data, value: value, onChange: handleChange, onDropdownVisibleChange: handleOpenChange, fieldNames: { label: 'name', value: 'key', children: 'children' } }, props),
8829
8844
  React__default.createElement("div", { className: classNames(styles$N.container, (_b = {},
8830
8845
  _b[styles$N.filter] = value === null || value === void 0 ? void 0 : value.length,
8831
- _b), className) },
8846
+ _b), className), style: { backgroundColor: token.colorBgContainer, border: "1px solid ".concat(token.colorBorder) } },
8832
8847
  React__default.createElement(SvgFilter$1, null))));
8833
8848
  };
8834
8849
 
@@ -10086,16 +10101,17 @@ var PAGINATION = {
10086
10101
  };
10087
10102
  var SenseContentTable = forwardRef(function (props, ref) {
10088
10103
  var _a;
10104
+ var _b, _c;
10089
10105
  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;
10106
+ var _d = useExportModal(), onExport = _d.onExport, ExportModal = _d.ExportModal;
10091
10107
  // 分页
10092
- var _c = useState(__assign({}, PAGINATION)), pagination = _c[0], setPagination = _c[1];
10108
+ var _e = useState(__assign({}, PAGINATION)), pagination = _e[0], setPagination = _e[1];
10093
10109
  // 筛选参数
10094
- var _d = useState({}), filter = _d[0], setFilter = _d[1];
10110
+ var _f = useState({}), filter = _f[0], setFilter = _f[1];
10095
10111
  // 表格选中
10096
10112
  // const [selectedRowKeys, setSelectedRowKeys] = useState([]);
10097
10113
  // 接口参数
10098
- var _e = useState({}), apiParams = _e[0], setApiParams = _e[1];
10114
+ var _g = useState({}), apiParams = _g[0], setApiParams = _g[1];
10099
10115
  var token = theme.useToken().token;
10100
10116
  // 获取筛选参数
10101
10117
  var getFilterParams = function () {
@@ -10133,7 +10149,7 @@ var SenseContentTable = forwardRef(function (props, ref) {
10133
10149
  return columns;
10134
10150
  };
10135
10151
  // 表格数据
10136
- var _f = useRequest(function () { return __awaiter(void 0, void 0, void 0, function () {
10152
+ var _h = useRequest(function () { return __awaiter(void 0, void 0, void 0, function () {
10137
10153
  var filterParams, res;
10138
10154
  var _a, _b, _c, _d;
10139
10155
  return __generator(this, function (_e) {
@@ -10154,7 +10170,7 @@ var SenseContentTable = forwardRef(function (props, ref) {
10154
10170
  });
10155
10171
  }); }, {
10156
10172
  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;
10173
+ }), loading = _h.loading, _j = _h.data, _k = _j === void 0 ? {} : _j, header = _k.header, columns = _k.columns, dataSource = _k.dataSource, refresh = _h.refresh;
10158
10174
  // 显示按钮
10159
10175
  var showButtons = function () {
10160
10176
  if (customButtons) {
@@ -10210,7 +10226,7 @@ var SenseContentTable = forwardRef(function (props, ref) {
10210
10226
  _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
10227
  _a)), style: {
10212
10228
  // '--row-selected-num': selectedRowKeys.length,
10213
- '--row-selected-num': selectedRowLength,
10229
+ '--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
10230
  } },
10215
10231
  React__default.createElement(ProTable$1, __assign({ header: header, columns: columns, dataSource: dataSource, loading: loading, pagination: pagination, size: "small",
10216
10232
  // rowKey="sense_global_code"
@@ -10473,16 +10489,17 @@ var styles$w = {"container":"index-module_container__ZusoD","type":"index-module
10473
10489
  styleInject(css_248z$w);
10474
10490
 
10475
10491
  var CreateSense = function (_a) {
10476
- var bookId = _a.bookId, onPrev = _a.onPrev, onSuccess = _a.onSuccess, _b = _a.cancelText, cancelText = _b === void 0 ? '上一步' : _b;
10477
- var _c = {}, textColor = _c.textColor, downloadTextColor = _c.downloadTextColor, uploadTextColor = _c.uploadTextColor, uploadHintColor = _c.uploadHintColor, uploadFileNameColor = _c.uploadFileNameColor, bottomBgColor = _c.bottomBgColor, bottomBorderStyle = _c.bottomBorderStyle, bottomBorderColor = _c.bottomBorderColor, bottomBorderWidth = _c.bottomBorderWidth, uploadImgColor = _c.uploadImgColor, fileImgColor = _c.fileImgColor, deleteImgColor = _c.deleteImgColor;
10492
+ var bookId = _a.bookId, theme$1 = _a.theme, onPrev = _a.onPrev, onSuccess = _a.onSuccess, _b = _a.cancelText, cancelText = _b === void 0 ? '上一步' : _b;
10493
+ var _c = {}, downloadTextColor = _c.downloadTextColor, uploadTextColor = _c.uploadTextColor, uploadHintColor = _c.uploadHintColor, uploadFileNameColor = _c.uploadFileNameColor, bottomBgColor = _c.bottomBgColor, bottomBorderStyle = _c.bottomBorderStyle, bottomBorderColor = _c.bottomBorderColor, bottomBorderWidth = _c.bottomBorderWidth, uploadImgColor = _c.uploadImgColor, fileImgColor = _c.fileImgColor, deleteImgColor = _c.deleteImgColor;
10478
10494
  // 新建方式
10479
10495
  var _d = useState('single'), createType = _d[0], setCreateType = _d[1];
10496
+ var token = theme.useToken().token;
10480
10497
  var handleChangeCreateType = function (e) {
10481
10498
  setCreateType(e.target.value);
10482
10499
  };
10483
10500
  var renderCreate = function () {
10484
10501
  if (createType === 'single') {
10485
- return (React__default.createElement(SenseEdit, { bookId: bookId, onCancel: onPrev, onSuccess: onSuccess, cancelText: cancelText }));
10502
+ return (React__default.createElement(SenseEdit, { bookId: bookId, onCancel: onPrev, onSuccess: onSuccess, cancelText: cancelText, theme: theme$1 }));
10486
10503
  }
10487
10504
  if (createType === 'upload') {
10488
10505
  return (React__default.createElement(BookImport, { downloadTextColor: downloadTextColor, uploadTextColor: uploadTextColor, uploadHintColor: uploadHintColor, uploadFileNameColor: uploadFileNameColor, bottomBgColor: bottomBgColor, bottomBorderStyle: bottomBorderStyle, bottomBorderColor: bottomBorderColor, bottomBorderWidth: bottomBorderWidth, uploadImgColor: uploadImgColor, fileImgColor: fileImgColor, deleteImgColor: deleteImgColor, bookId: bookId, onCancel: onPrev, onSuccess: onSuccess, cancelText: cancelText }));
@@ -10491,7 +10508,7 @@ var CreateSense = function (_a) {
10491
10508
  };
10492
10509
  return (React__default.createElement("div", { className: styles$w.container },
10493
10510
  React__default.createElement("div", { className: styles$w.type },
10494
- React__default.createElement("span", { style: { color: textColor ? textColor : 'white' } }, "\u65B0\u5EFA\u65B9\u5F0F\uFF1A"),
10511
+ React__default.createElement("span", { style: { color: token.colorText } }, "\u65B0\u5EFA\u65B9\u5F0F\uFF1A"),
10495
10512
  React__default.createElement(Radio.Group, { value: createType, onChange: handleChangeCreateType },
10496
10513
  React__default.createElement(Radio, { value: "single" }, "\u5355\u4E2A\u65B0\u5EFA"),
10497
10514
  React__default.createElement(Radio, { value: "upload" }, "\u6279\u91CF\u65B0\u5EFA"))),
@@ -10535,7 +10552,7 @@ var SelectBook = function (_a) {
10535
10552
  React__default.createElement(Footer, { onPrev: onPrev, onNext: handleOk, prevText: "\u53D6\u6D88" })));
10536
10553
  };
10537
10554
 
10538
- var css_248z$u = ".index-module_container__h7mVP {\n display: flex;\n flex-direction: column;\n height: 100%;\n}\n.index-module_container__h7mVP .index-module_main__uAMMx {\n display: flex;\n flex-direction: column;\n flex: 1;\n height: 0;\n padding: 0 16px;\n}\n.index-module_container__h7mVP .index-module_main__uAMMx .index-module_filter-line__kcFMt {\n display: flex;\n flex-shrink: 0;\n align-items: center;\n}\n.index-module_container__h7mVP .index-module_main__uAMMx .index-module_filter-line__kcFMt .index-module_search__1C2iJ {\n flex: 1;\n}\n.index-module_container__h7mVP .index-module_main__uAMMx .index-module_filter-line__kcFMt .index-module_filter__gQl8l {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 32px;\n height: 32px;\n margin-left: 8px;\n border-radius: 2px;\n cursor: pointer;\n background-color: #0F366A;\n border-color: #0D5BAB;\n}\n.index-module_container__h7mVP .index-module_main__uAMMx .index-module_list-wrapper__xzYZO {\n flex: 1;\n height: 0;\n overflow-x: hidden;\n overflow-y: auto;\n}\n.index-module_container__h7mVP .index-module_main__uAMMx .index-module_list-wrapper__xzYZO .index-module_content__CT2E0 {\n display: grid;\n grid-template-columns: 1fr 1fr;\n gap: 16px;\n padding: 16px 0;\n}\n";
10555
+ var css_248z$u = ".index-module_container__h7mVP {\n display: flex;\n flex-direction: column;\n height: 100%;\n}\n.index-module_container__h7mVP .index-module_main__uAMMx {\n display: flex;\n flex-direction: column;\n flex: 1;\n height: 0;\n padding: 0 16px;\n}\n.index-module_container__h7mVP .index-module_main__uAMMx .index-module_filter-line__kcFMt {\n display: flex;\n flex-shrink: 0;\n align-items: center;\n}\n.index-module_container__h7mVP .index-module_main__uAMMx .index-module_filter-line__kcFMt .index-module_search__1C2iJ {\n flex: 1;\n}\n.index-module_container__h7mVP .index-module_main__uAMMx .index-module_filter-line__kcFMt .index-module_filter__gQl8l {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 32px;\n height: 32px;\n margin-left: 8px;\n border-radius: 2px;\n cursor: pointer;\n border-color: #0D5BAB;\n}\n.index-module_container__h7mVP .index-module_main__uAMMx .index-module_list-wrapper__xzYZO {\n flex: 1;\n height: 0;\n overflow-x: hidden;\n overflow-y: auto;\n}\n.index-module_container__h7mVP .index-module_main__uAMMx .index-module_list-wrapper__xzYZO .index-module_content__CT2E0 {\n display: grid;\n grid-template-columns: 1fr 1fr;\n gap: 16px;\n padding: 16px 0;\n}\n";
10539
10556
  var styles$u = {"container":"index-module_container__h7mVP","main":"index-module_main__uAMMx","filter-line":"index-module_filter-line__kcFMt","search":"index-module_search__1C2iJ","filter":"index-module_filter__gQl8l","list-wrapper":"index-module_list-wrapper__xzYZO","content":"index-module_content__CT2E0"};
10540
10557
  styleInject(css_248z$u);
10541
10558
 
@@ -10670,7 +10687,7 @@ styleInject(css_248z$s);
10670
10687
 
10671
10688
  var SenseCreate = function (props) {
10672
10689
  var _a;
10673
- var viewCodes = props.viewCodes, senseObjCode = props.senseObjCode, bookId = props.bookId, onCancel = props.onCancel, onSuccess = props.onSuccess;
10690
+ var viewCodes = props.viewCodes, senseObjCode = props.senseObjCode, bookId = props.bookId, theme = props.theme, onCancel = props.onCancel, onSuccess = props.onSuccess;
10674
10691
  // 选择台账
10675
10692
  var _b = useState(false), isSelectBook = _b[0], setIsSelectBook = _b[1];
10676
10693
  // 当前步骤
@@ -10684,17 +10701,17 @@ var SenseCreate = function (props) {
10684
10701
  ? [{ title: '选择台账' }, { title: '新建对象' }]
10685
10702
  : [{ title: '选择模板' }, { title: '编辑基本信息' }, { title: '新建对象' }];
10686
10703
  if (bookId) {
10687
- return (React__default.createElement(CreateSense, { bookId: bookId, onPrev: onCancel, onSuccess: onSuccess, cancelText: "\u5173\u95ED" }));
10704
+ return (React__default.createElement(CreateSense, { bookId: bookId, theme: theme, onPrev: onCancel, onSuccess: onSuccess, cancelText: "\u5173\u95ED" }));
10688
10705
  }
10689
10706
  return (React__default.createElement("div", { className: styles$s.container },
10690
10707
  React__default.createElement("div", { className: classNames(styles$s.steps, (_a = {}, _a[styles$s['select-book']] = isSelectBook, _a)) },
10691
10708
  React__default.createElement(Steps$1, { direction: "horizontal", labelPlacement: "vertical", current: current, items: stepItems, responsive: false })),
10692
10709
  React__default.createElement("div", { className: styles$s.content }, isSelectBook ? (React__default.createElement(React__default.Fragment, null,
10693
10710
  current === 0 && (React__default.createElement(SelectBook, { viewCodes: viewCodes, senseObjCode: senseObjCode, setIsSelectBook: setIsSelectBook, onPrev: onCancel, onNext: function () { return setCurrent(1); }, setCurBookId: setCurBookId })),
10694
- current === 1 && (React__default.createElement(CreateSense, { bookId: curBookId, onPrev: function () { return setCurrent(0); }, onSuccess: onSuccess })))) : (React__default.createElement(React__default.Fragment, null,
10711
+ current === 1 && (React__default.createElement(CreateSense, { bookId: curBookId, theme: theme, onPrev: function () { return setCurrent(0); }, onSuccess: onSuccess })))) : (React__default.createElement(React__default.Fragment, null,
10695
10712
  current === 0 && (React__default.createElement(SelectTemplate, { viewCodes: viewCodes, senseObjCode: senseObjCode, setIsSelectBook: setIsSelectBook, setCueTemplateId: setCueTemplateId, onNext: function () { return setCurrent(1); } })),
10696
10713
  current === 1 && (React__default.createElement(CreateBook, { onPrev: function () { return setCurrent(0); }, onNext: function () { return setCurrent(2); }, setCurBookId: setCurBookId, templateId: cueTemplateId })),
10697
- current === 2 && (React__default.createElement(CreateSense, { bookId: curBookId, onPrev: function () { return setCurrent(0); }, onSuccess: onSuccess })))))));
10714
+ current === 2 && (React__default.createElement(CreateSense, { bookId: curBookId, theme: theme, onPrev: function () { return setCurrent(0); }, onSuccess: onSuccess })))))));
10698
10715
  };
10699
10716
 
10700
10717
  var settings$i = {
@@ -11503,7 +11520,7 @@ var Content = function (props) {
11503
11520
  // const trackLayer = mapStore.trackLayer?.filter((item) => item.id !== senseGlobalCode);
11504
11521
  // mapStore.update({ trackLayer });
11505
11522
  };
11506
- }, [tableCode]);
11523
+ }, [tableCode, senseGlobalCode]);
11507
11524
  useEffect(function () {
11508
11525
  var _a;
11509
11526
  setTableCode((_a = config === null || config === void 0 ? void 0 : config[0]) === null || _a === void 0 ? void 0 : _a.tableCode);
@@ -11857,7 +11874,7 @@ var CcosSenseEdit = function (props) {
11857
11874
  };
11858
11875
  CcosSenseEdit.settings = settings$f;
11859
11876
 
11860
- var css_248z$e = ".index-module_container__JJzDb {\n display: flex;\n flex-direction: column;\n width: 300px;\n}\n.index-module_container__JJzDb .ant-tree {\n height: 100%;\n overflow: auto;\n}\n";
11877
+ var css_248z$e = ".index-module_container__JJzDb {\n display: flex;\n flex-direction: column;\n width: 300px;\n flex-shrink: 0;\n}\n.index-module_container__JJzDb .ant-tree {\n height: 100%;\n overflow: auto;\n}\n";
11861
11878
  var styles$e = {"container":"index-module_container__JJzDb"};
11862
11879
  styleInject(css_248z$e);
11863
11880
 
@@ -12016,7 +12033,7 @@ var SideBar = function (props) {
12016
12033
  React__default.createElement(Tabs$1, { items: viewCodeItems, activeKey: activeViewCode, onChange: handleTabsChange, tabPosition: "left", type: "card", destroyInactiveTabPane: true })));
12017
12034
  };
12018
12035
 
12019
- var css_248z$c = ":root {\n --sense-manager-row-highlight-color: 'rgba(0, 255, 255, 0.3)';\n}\n.SenseFullTable-module_container__QB8iR {\n display: flex;\n width: 100%;\n height: 100%;\n column-gap: 8px;\n}\n.SenseFullTable-module_container__QB8iR .SenseFullTable-module_main__wYHgh {\n display: flex;\n flex-direction: column;\n flex: 1;\n width: 100%;\n}\n.SenseFullTable-module_container__QB8iR .SenseFullTable-module_main__wYHgh .SenseFullTable-module_header__WnbBz {\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n justify-content: space-between;\n margin-bottom: 20px;\n}\n.SenseFullTable-module_container__QB8iR .SenseFullTable-module_main__wYHgh .SenseFullTable-module_header__WnbBz .SenseFullTable-module_breadcrumb__lUIH5 {\n display: flex;\n gap: 8px;\n flex: 1;\n margin-left: 8px;\n}\n.SenseFullTable-module_container__QB8iR .SenseFullTable-module_main__wYHgh .SenseFullTable-module_header__WnbBz .SenseFullTable-module_breadcrumb__lUIH5.SenseFullTable-module_full__JELiZ {\n flex-basis: 100%;\n}\n.SenseFullTable-module_container__QB8iR .SenseFullTable-module_main__wYHgh .SenseFullTable-module_header__WnbBz .SenseFullTable-module_breadcrumb__lUIH5.SenseFullTable-module_top__pY-rk {\n margin-bottom: 8px;\n}\n.SenseFullTable-module_container__QB8iR .SenseFullTable-module_main__wYHgh .SenseFullTable-module_header__WnbBz .SenseFullTable-module_filter__PCI9n {\n display: flex;\n align-items: center;\n gap: 8px;\n}\n.SenseFullTable-module_container__QB8iR .SenseFullTable-module_main__wYHgh .SenseFullTable-module_header__WnbBz .ant-breadcrumb {\n font-weight: 600;\n font-size: 16px;\n}\n";
12036
+ var css_248z$c = ":root {\n --sense-manager-row-highlight-color: 'rgba(0, 255, 255, 0.3)';\n}\n.SenseFullTable-module_container__QB8iR {\n display: flex;\n width: 100%;\n height: 100%;\n column-gap: 8px;\n}\n.SenseFullTable-module_container__QB8iR .SenseFullTable-module_main__wYHgh {\n display: flex;\n flex-direction: column;\n flex: 1;\n width: 0;\n}\n.SenseFullTable-module_container__QB8iR .SenseFullTable-module_main__wYHgh .SenseFullTable-module_header__WnbBz {\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n justify-content: space-between;\n margin-bottom: 20px;\n}\n.SenseFullTable-module_container__QB8iR .SenseFullTable-module_main__wYHgh .SenseFullTable-module_header__WnbBz .SenseFullTable-module_breadcrumb__lUIH5 {\n display: flex;\n gap: 8px;\n flex: 1;\n margin-left: 8px;\n}\n.SenseFullTable-module_container__QB8iR .SenseFullTable-module_main__wYHgh .SenseFullTable-module_header__WnbBz .SenseFullTable-module_breadcrumb__lUIH5.SenseFullTable-module_full__JELiZ {\n flex-basis: 100%;\n}\n.SenseFullTable-module_container__QB8iR .SenseFullTable-module_main__wYHgh .SenseFullTable-module_header__WnbBz .SenseFullTable-module_breadcrumb__lUIH5.SenseFullTable-module_top__pY-rk {\n margin-bottom: 8px;\n}\n.SenseFullTable-module_container__QB8iR .SenseFullTable-module_main__wYHgh .SenseFullTable-module_header__WnbBz .SenseFullTable-module_filter__PCI9n {\n display: flex;\n align-items: center;\n gap: 8px;\n}\n.SenseFullTable-module_container__QB8iR .SenseFullTable-module_main__wYHgh .SenseFullTable-module_header__WnbBz .ant-breadcrumb {\n font-weight: 600;\n font-size: 16px;\n}\n";
12020
12037
  var styles$c = {"container":"SenseFullTable-module_container__QB8iR","main":"SenseFullTable-module_main__wYHgh","header":"SenseFullTable-module_header__WnbBz","breadcrumb":"SenseFullTable-module_breadcrumb__lUIH5","full":"SenseFullTable-module_full__JELiZ","top":"SenseFullTable-module_top__pY-rk","filter":"SenseFullTable-module_filter__PCI9n"};
12021
12038
  styleInject(css_248z$c);
12022
12039
 
@@ -12611,32 +12628,44 @@ var css_248z$b = ".SenseManager-module_container__PpQ0P {\n width: 100%;\n hei
12611
12628
  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
12629
  styleInject(css_248z$b);
12613
12630
 
12631
+ var builtinPanel = {
12632
+ CreateSense: {
12633
+ title: '新建对象',
12634
+ icon: img$3,
12635
+ },
12636
+ TemplateManager: {
12637
+ title: '模板管理',
12638
+ icon: img$1,
12639
+ },
12640
+ UploadManager: {
12641
+ title: '导入管理',
12642
+ icon: img,
12643
+ },
12644
+ SmartTagger: {
12645
+ title: '智能打标',
12646
+ icon: img$2,
12647
+ },
12648
+ };
12614
12649
  var SenseManager = function (props) {
12615
- var views = props.views;
12650
+ var views = props.views, panelConfig = props.panelConfig, onCreateSense = props.onCreateSense, onShowSense = props.onShowSense, onEditSense = props.onEditSense, onClickSense = props.onClickSense, onDoubleClickSense = props.onDoubleClickSense;
12651
+ var token = theme.useToken().token;
12616
12652
  var toolbarItems = [
12617
12653
  {
12618
12654
  key: '1',
12619
12655
  label: (React__default.createElement("div", { className: styles$b.title },
12620
12656
  React__default.createElement(SvgList, null),
12621
12657
  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")))),
12658
+ children: (React__default.createElement("div", { className: styles$b.content }, panelConfig === null || panelConfig === void 0 ? void 0 : panelConfig.map(function (item) {
12659
+ var _a, _b;
12660
+ return (React__default.createElement("div", { className: styles$b.item, onClick: item.onClick },
12661
+ React__default.createElement("img", { src: item.key ? ((_a = builtinPanel[item.key]) === null || _a === void 0 ? void 0 : _a.icon) || item.icon : item.icon, alt: "" }),
12662
+ 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)));
12663
+ }))),
12635
12664
  },
12636
12665
  ];
12637
12666
  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" })),
12667
+ (panelConfig === null || panelConfig === void 0 ? void 0 : panelConfig.length) ? (React__default.createElement("div", { className: styles$b.toolbar },
12668
+ React__default.createElement(Collapse, { items: toolbarItems, defaultActiveKey: "1", expandIconPosition: "end" }))) : null,
12640
12669
  React__default.createElement("div", { className: styles$b.main },
12641
12670
  React__default.createElement(SenseFullTable, { viewType: "system", views: views, showView: true, showCatalog: true, showBreadcrumb: true, showBookGroupTable: true, showBookTable: true, showSenseTable: true, bookContextMenuConfig: [
12642
12671
  'create',
@@ -12646,7 +12675,7 @@ var SenseManager = function (props) {
12646
12675
  'attribute',
12647
12676
  'export',
12648
12677
  'share',
12649
- ], senseContextMenuConfig: ['show', 'edit', 'cut', 'copy', 'delete'] }))));
12678
+ ], senseContextMenuConfig: ['show', 'edit', 'cut', 'copy', 'delete'], onCreateSense: onCreateSense, onShowSense: onShowSense, onEditSense: onEditSense, onClickSense: onClickSense, onDoubleClickSense: onDoubleClickSense }))));
12650
12679
  };
12651
12680
 
12652
12681
  var settings$a = {
@@ -13707,7 +13736,8 @@ var AdvancedSearch = function (_a) {
13707
13736
  React__default.createElement(SvgPoint, null))),
13708
13737
  React__default.createElement(Form.Item, { label: "\u641C\u7D22\u8303\u56F4", name: FORM_ITEMS.KNN_ITEMS, initialValue: [__assign({}, KnnItems.EMPTY_KNN_ITEM)], rules: [{ validator: knnItemsValidator }] },
13709
13738
  React__default.createElement(KnnItems, { entityClassTree: entityClassTree })))) : null),
13710
- React__default.createElement(Button, { type: "primary", size: "small", onClick: handleReset }, "\u91CD\u7F6E")));
13739
+ React__default.createElement(Button, { type: "primary", size: "small", onClick: handleReset }, "\u91CD\u7F6E"),
13740
+ React__default.createElement(Divider, { style: { margin: '0px' } })));
13711
13741
  };
13712
13742
 
13713
13743
  var css_248z$7 = ":root {\n --sense-search-input-icon-color: #8c8c8c;\n}\n.SenseSearch-module_container__EMa7E {\n display: flex;\n flex-direction: column;\n gap: 12px;\n}\n.SenseSearch-module_container__EMa7E * {\n box-sizing: border-box;\n}\n.SenseSearch-module_container__EMa7E .SenseSearch-module_input-box__NrjXB {\n display: flex;\n height: 36px;\n}\n.SenseSearch-module_container__EMa7E .SenseSearch-module_input-box__NrjXB .SenseSearch-module_input__tLtuH {\n flex: 1;\n height: 36px;\n}\n.SenseSearch-module_container__EMa7E .SenseSearch-module_input-box__NrjXB .SenseSearch-module_input__tLtuH .ant-input-group {\n height: 36px;\n}\n.SenseSearch-module_container__EMa7E .SenseSearch-module_input-box__NrjXB .SenseSearch-module_input__tLtuH .ant-input-affix-wrapper {\n height: 36px;\n}\n.SenseSearch-module_container__EMa7E .SenseSearch-module_input-box__NrjXB .SenseSearch-module_input__tLtuH svg path {\n fill: var(--sense-search-input-icon-color);\n}\n.SenseSearch-module_container__EMa7E .SenseSearch-module_input-box__NrjXB .SenseSearch-module_input-addon__rKWhO .SenseSearch-module_icon__7pknl {\n display: flex;\n align-items: center;\n justify-content: center;\n height: 26px;\n padding: 0 8px;\n color: #fff;\n cursor: pointer;\n}\n.SenseSearch-module_container__EMa7E .SenseSearch-module_input-box__NrjXB .SenseSearch-module_searchBtn__Hpads {\n height: 36px;\n margin-left: 10px;\n}\n.SenseSearch-module_container__EMa7E .SenseSearch-module_input-box__NrjXB .SenseSearch-module_button__BMnYp {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 36px;\n height: 36px;\n flex-shrink: 0;\n margin-left: 4px;\n cursor: pointer;\n}\n.SenseSearch-module_container__EMa7E .SenseSearch-module_input-box__NrjXB .ant-input-group-wrapper-borderless .ant-input-borderless {\n height: 35px;\n}\n.SenseSearch-module_container__EMa7E .SenseSearch-module_input-box__NrjXB .ant-input-group-wrapper-borderless .ant-input-group-addon {\n padding: 0;\n}\n";
@@ -15482,7 +15512,7 @@ styleInject(css_248z$4);
15482
15512
 
15483
15513
  var SenseView = function (props) {
15484
15514
  var useToken = theme.useToken;
15485
- var token = useToken().token;
15515
+ useToken().token;
15486
15516
  var senseSearchPrpos = pick(props, [
15487
15517
  'viewCode',
15488
15518
  'showView',
@@ -15513,7 +15543,7 @@ var SenseView = function (props) {
15513
15543
  var handleSearch = function (params) {
15514
15544
  setSearchParams(params);
15515
15545
  };
15516
- return (React__default.createElement("div", { className: styles$4.container, style: { backgroundColor: token.colorBgContainer } },
15546
+ return (React__default.createElement("div", { className: styles$4.container },
15517
15547
  React__default.createElement(SenseSearch, __assign({}, senseSearchPrpos, { onSearch: handleSearch })),
15518
15548
  React__default.createElement("div", { className: styles$4.tree },
15519
15549
  React__default.createElement(SenseTree, __assign({}, senseTreeProps, { viewCodes: searchParams === null || searchParams === void 0 ? void 0 : searchParams.viewCodes, searchParams: searchParams })))));
@@ -15878,7 +15908,7 @@ var SenseList = function (_a) {
15878
15908
  React__default.createElement("div", { className: styles$3.header },
15879
15909
  React__default.createElement("div", { className: styles$3.title }, name),
15880
15910
  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" })),
15911
+ 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
15912
  React__default.createElement(Search$1, { style: { width: 200 }, placeholder: "\u8BF7\u8F93\u5165\u641C\u7D22\u5173\u952E\u8BCD", onSearch: handleSearch, allowClear: true }))),
15883
15913
  React__default.createElement("div", { className: styles$3.main },
15884
15914
  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 })),
@@ -16175,11 +16205,11 @@ var CcosVideoPlayer = function (props) {
16175
16205
  CcosVideoPlayer.settings = settings$1;
16176
16206
 
16177
16207
  try {
16178
- window._ICOS_DESKTOP_VERSION_ = JSON.parse('{"version":"2.0.24","branch":"release_v2.0.0","buildDate":"2025-04-02 10:42:20"}');
16208
+ window._ICOS_DESKTOP_VERSION_ = JSON.parse('{"version":"2.0.26","branch":"remotes/origin/release_v2.0.0","buildDate":"2025-04-03 19:06:14"}');
16179
16209
  }
16180
16210
  catch (err) {
16181
16211
  console.warn(err);
16182
- window._ICOS_DESKTOP_VERSION_ = '{"version":"2.0.24","branch":"release_v2.0.0","buildDate":"2025-04-02 10:42:20"}';
16212
+ window._ICOS_DESKTOP_VERSION_ = '{"version":"2.0.26","branch":"remotes/origin/release_v2.0.0","buildDate":"2025-04-03 19:06:14"}';
16183
16213
  }
16184
16214
 
16185
16215
  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 };