@icos-desktop/react-components 2.0.25 → 2.0.27

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
  */
@@ -1,4 +1,4 @@
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';
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
 
@@ -7654,7 +7654,7 @@ var SvgUpload$1 = function SvgUpload(props) {
7654
7654
  })));
7655
7655
  };
7656
7656
 
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 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";
7658
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"};
7659
7659
  styleInject(css_248z$Q);
7660
7660
 
@@ -7674,6 +7674,7 @@ var Upload = forwardRef(function (props, ref) {
7674
7674
  var _e = useState(null), result = _e[0], setResult = _e[1];
7675
7675
  // 上传任务id
7676
7676
  var _f = useState(null), taskBatchId = _f[0], setTaskBatchId = _f[1];
7677
+ var token = theme.useToken().token;
7677
7678
  var setLoading = function (state) {
7678
7679
  onLoading === null || onLoading === void 0 ? void 0 : onLoading(state);
7679
7680
  _setLoading(state);
@@ -7856,8 +7857,8 @@ var Upload = forwardRef(function (props, ref) {
7856
7857
  React__default.createElement(Progress, { percent: percent, showInfo: false, strokeColor: "#0FF", size: ['100%', 4] }))) : null)) : (React__default.createElement(React__default.Fragment, null,
7857
7858
  React__default.createElement("div", { className: styles$Q['drag-icon'] },
7858
7859
  React__default.createElement(SvgUpload$1, null)),
7859
- React__default.createElement("div", { className: styles$Q['drag-text'] }, "\u4E0A\u4F20\u8BF7\u70B9\u51FB\u6216\u62D6\u62FD\u6587\u4EF6\u81F3\u6B64\u533A\u57DF"),
7860
- 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")))),
7861
7862
  result ? (React__default.createElement("div", { className: styles$Q.result },
7862
7863
  "\u5BFC\u5165\u5B8C\u6210\uFF01\u6210\u529F\u5BFC\u5165",
7863
7864
  React__default.createElement("span", { className: styles$Q.success }, result.successNum || 0),
@@ -8422,13 +8423,13 @@ var SvgUpload = function SvgUpload(props) {
8422
8423
  })));
8423
8424
  };
8424
8425
 
8425
- 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";
8426
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"};
8427
8428
  styleInject(css_248z$O);
8428
8429
 
8429
8430
  var Dragger = Upload$1.Dragger;
8430
8431
  var BookImport = function (props) {
8431
- 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;
8432
8433
  var message = App.useApp().message;
8433
8434
  // 选择的文件
8434
8435
  var _b = useState(null), file = _b[0], setFile = _b[1];
@@ -8440,6 +8441,7 @@ var BookImport = function (props) {
8440
8441
  var _e = useState(null), result = _e[0], setResult = _e[1];
8441
8442
  // 上传任务id
8442
8443
  var _f = useState(null), taskBizId = _f[0], setTaskBizId = _f[1];
8444
+ var token = theme.useToken().token;
8443
8445
  // 下载失败信息
8444
8446
  var handleDownloadErrorInfo = function () { return __awaiter(void 0, void 0, void 0, function () {
8445
8447
  var res;
@@ -8570,13 +8572,13 @@ var BookImport = function (props) {
8570
8572
  borderStyle: bottomBorderStyle ? bottomBorderStyle : 'none',
8571
8573
  };
8572
8574
  useEffect(function () {
8573
- document.documentElement.style.setProperty('--sense-upload-icon-upload-color', uploadImgColor ? uploadImgColor : '#FFFFFFA4');
8574
- document.documentElement.style.setProperty('--sense-upload-icon-file-color', fileImgColor ? fileImgColor : '#35C624');
8575
- document.documentElement.style.setProperty('--sense-upload-icon-delete-color', deleteImgColor ? deleteImgColor : 'currentColor');
8576
- }, []);
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]);
8577
8579
  return (React__default.createElement("div", { className: styles$O.container },
8578
8580
  React__default.createElement("div", { className: styles$O.upload },
8579
- 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 } },
8580
8582
  "\u8BF7\u6309\u7167\u6A21\u677F\u586B\u5199\u540E\u518D\u4E0A\u4F20\uFF0C\u70B9\u51FB",
8581
8583
  React__default.createElement(Button, { type: "link", onClick: handleDownloadTemplate }, "\u4E0B\u8F7D\u6A21\u677F")),
8582
8584
  React__default.createElement(Dragger, __assign({}, draggerProps), file ? (React__default.createElement(React__default.Fragment, null,
@@ -8584,13 +8586,13 @@ var BookImport = function (props) {
8584
8586
  React__default.createElement(SvgDelete$2, null))),
8585
8587
  React__default.createElement("div", { className: styles$O['file-excel-icon'] },
8586
8588
  React__default.createElement(SvgFileExcel, null)),
8587
- 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),
8588
8590
  percent ? (React__default.createElement("div", { className: styles$O['file-progress'] },
8589
8591
  React__default.createElement(Progress, { percent: percent, showInfo: false, strokeColor: "#0FF", size: ['100%', 4] }))) : null)) : (React__default.createElement(React__default.Fragment, null,
8590
8592
  React__default.createElement("div", { id: "uploadIcon", className: styles$O['drag-icon'] },
8591
8593
  React__default.createElement(SvgUpload, null)),
8592
- 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"),
8593
- 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")))),
8594
8596
  result ? (React__default.createElement("div", { className: styles$O.result },
8595
8597
  "\u5BFC\u5165\u5B8C\u6210\uFF01\u6210\u529F\u5BFC\u5165",
8596
8598
  React__default.createElement("span", { className: styles$O.success }, result.successNum || 0),
@@ -8795,6 +8797,7 @@ var treeToCascaderValue = function (tree, targetKey) {
8795
8797
  var EntityClassFilter = function (_a) {
8796
8798
  var _b;
8797
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;
8798
8801
  var _c = useState([]), value = _c[0], setValue = _c[1];
8799
8802
  var data = useRequest(function () { return __awaiter(void 0, void 0, void 0, function () {
8800
8803
  var res, treeData;
@@ -8836,10 +8839,11 @@ var EntityClassFilter = function (_a) {
8836
8839
  }, [data, defaultEntityClassCode], {
8837
8840
  wait: 500,
8838
8841
  });
8842
+ console.log(token.colorBgContainer);
8839
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),
8840
8844
  React__default.createElement("div", { className: classNames(styles$N.container, (_b = {},
8841
8845
  _b[styles$N.filter] = value === null || value === void 0 ? void 0 : value.length,
8842
- _b), className) },
8846
+ _b), className), style: { backgroundColor: token.colorBgContainer, border: "1px solid ".concat(token.colorBorder) } },
8843
8847
  React__default.createElement(SvgFilter$1, null))));
8844
8848
  };
8845
8849
 
@@ -10485,16 +10489,17 @@ var styles$w = {"container":"index-module_container__ZusoD","type":"index-module
10485
10489
  styleInject(css_248z$w);
10486
10490
 
10487
10491
  var CreateSense = function (_a) {
10488
- var bookId = _a.bookId, onPrev = _a.onPrev, onSuccess = _a.onSuccess, _b = _a.cancelText, cancelText = _b === void 0 ? '上一步' : _b;
10489
- 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;
10490
10494
  // 新建方式
10491
10495
  var _d = useState('single'), createType = _d[0], setCreateType = _d[1];
10496
+ var token = theme.useToken().token;
10492
10497
  var handleChangeCreateType = function (e) {
10493
10498
  setCreateType(e.target.value);
10494
10499
  };
10495
10500
  var renderCreate = function () {
10496
10501
  if (createType === 'single') {
10497
- 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 }));
10498
10503
  }
10499
10504
  if (createType === 'upload') {
10500
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 }));
@@ -10503,7 +10508,7 @@ var CreateSense = function (_a) {
10503
10508
  };
10504
10509
  return (React__default.createElement("div", { className: styles$w.container },
10505
10510
  React__default.createElement("div", { className: styles$w.type },
10506
- 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"),
10507
10512
  React__default.createElement(Radio.Group, { value: createType, onChange: handleChangeCreateType },
10508
10513
  React__default.createElement(Radio, { value: "single" }, "\u5355\u4E2A\u65B0\u5EFA"),
10509
10514
  React__default.createElement(Radio, { value: "upload" }, "\u6279\u91CF\u65B0\u5EFA"))),
@@ -10547,7 +10552,7 @@ var SelectBook = function (_a) {
10547
10552
  React__default.createElement(Footer, { onPrev: onPrev, onNext: handleOk, prevText: "\u53D6\u6D88" })));
10548
10553
  };
10549
10554
 
10550
- 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";
10551
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"};
10552
10557
  styleInject(css_248z$u);
10553
10558
 
@@ -10682,7 +10687,7 @@ styleInject(css_248z$s);
10682
10687
 
10683
10688
  var SenseCreate = function (props) {
10684
10689
  var _a;
10685
- 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;
10686
10691
  // 选择台账
10687
10692
  var _b = useState(false), isSelectBook = _b[0], setIsSelectBook = _b[1];
10688
10693
  // 当前步骤
@@ -10696,17 +10701,17 @@ var SenseCreate = function (props) {
10696
10701
  ? [{ title: '选择台账' }, { title: '新建对象' }]
10697
10702
  : [{ title: '选择模板' }, { title: '编辑基本信息' }, { title: '新建对象' }];
10698
10703
  if (bookId) {
10699
- 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" }));
10700
10705
  }
10701
10706
  return (React__default.createElement("div", { className: styles$s.container },
10702
10707
  React__default.createElement("div", { className: classNames(styles$s.steps, (_a = {}, _a[styles$s['select-book']] = isSelectBook, _a)) },
10703
10708
  React__default.createElement(Steps$1, { direction: "horizontal", labelPlacement: "vertical", current: current, items: stepItems, responsive: false })),
10704
10709
  React__default.createElement("div", { className: styles$s.content }, isSelectBook ? (React__default.createElement(React__default.Fragment, null,
10705
10710
  current === 0 && (React__default.createElement(SelectBook, { viewCodes: viewCodes, senseObjCode: senseObjCode, setIsSelectBook: setIsSelectBook, onPrev: onCancel, onNext: function () { return setCurrent(1); }, setCurBookId: setCurBookId })),
10706
- 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,
10707
10712
  current === 0 && (React__default.createElement(SelectTemplate, { viewCodes: viewCodes, senseObjCode: senseObjCode, setIsSelectBook: setIsSelectBook, setCueTemplateId: setCueTemplateId, onNext: function () { return setCurrent(1); } })),
10708
10713
  current === 1 && (React__default.createElement(CreateBook, { onPrev: function () { return setCurrent(0); }, onNext: function () { return setCurrent(2); }, setCurBookId: setCurBookId, templateId: cueTemplateId })),
10709
- 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 })))))));
10710
10715
  };
10711
10716
 
10712
10717
  var settings$i = {
@@ -11869,7 +11874,7 @@ var CcosSenseEdit = function (props) {
11869
11874
  };
11870
11875
  CcosSenseEdit.settings = settings$f;
11871
11876
 
11872
- 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";
11873
11878
  var styles$e = {"container":"index-module_container__JJzDb"};
11874
11879
  styleInject(css_248z$e);
11875
11880
 
@@ -12028,7 +12033,7 @@ var SideBar = function (props) {
12028
12033
  React__default.createElement(Tabs$1, { items: viewCodeItems, activeKey: activeViewCode, onChange: handleTabsChange, tabPosition: "left", type: "card", destroyInactiveTabPane: true })));
12029
12034
  };
12030
12035
 
12031
- 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";
12032
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"};
12033
12038
  styleInject(css_248z$c);
12034
12039
 
@@ -13731,7 +13736,8 @@ var AdvancedSearch = function (_a) {
13731
13736
  React__default.createElement(SvgPoint, null))),
13732
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 }] },
13733
13738
  React__default.createElement(KnnItems, { entityClassTree: entityClassTree })))) : null),
13734
- 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' } })));
13735
13741
  };
13736
13742
 
13737
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";
@@ -15506,7 +15512,7 @@ styleInject(css_248z$4);
15506
15512
 
15507
15513
  var SenseView = function (props) {
15508
15514
  var useToken = theme.useToken;
15509
- var token = useToken().token;
15515
+ useToken().token;
15510
15516
  var senseSearchPrpos = pick(props, [
15511
15517
  'viewCode',
15512
15518
  'showView',
@@ -15537,7 +15543,7 @@ var SenseView = function (props) {
15537
15543
  var handleSearch = function (params) {
15538
15544
  setSearchParams(params);
15539
15545
  };
15540
- return (React__default.createElement("div", { className: styles$4.container, style: { backgroundColor: token.colorBgContainer } },
15546
+ return (React__default.createElement("div", { className: styles$4.container },
15541
15547
  React__default.createElement(SenseSearch, __assign({}, senseSearchPrpos, { onSearch: handleSearch })),
15542
15548
  React__default.createElement("div", { className: styles$4.tree },
15543
15549
  React__default.createElement(SenseTree, __assign({}, senseTreeProps, { viewCodes: searchParams === null || searchParams === void 0 ? void 0 : searchParams.viewCodes, searchParams: searchParams })))));
@@ -15902,7 +15908,7 @@ var SenseList = function (_a) {
15902
15908
  React__default.createElement("div", { className: styles$3.header },
15903
15909
  React__default.createElement("div", { className: styles$3.title }, name),
15904
15910
  React__default.createElement("div", { className: styles$3.search },
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); } })),
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.bookName.includes(k); } })),
15906
15912
  React__default.createElement(Search$1, { style: { width: 200 }, placeholder: "\u8BF7\u8F93\u5165\u641C\u7D22\u5173\u952E\u8BCD", onSearch: handleSearch, allowClear: true }))),
15907
15913
  React__default.createElement("div", { className: styles$3.main },
15908
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 })),
@@ -16199,11 +16205,11 @@ var CcosVideoPlayer = function (props) {
16199
16205
  CcosVideoPlayer.settings = settings$1;
16200
16206
 
16201
16207
  try {
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"}');
16208
+ window._ICOS_DESKTOP_VERSION_ = JSON.parse('{"version":"2.0.27","branch":"release_v2.0.0","buildDate":"2025-04-07 10:24:38"}');
16203
16209
  }
16204
16210
  catch (err) {
16205
16211
  console.warn(err);
16206
- window._ICOS_DESKTOP_VERSION_ = '{"version":"2.0.25","branch":"remotes/origin/release_v2.0.0","buildDate":"2025-04-03 15:51:14"}';
16212
+ window._ICOS_DESKTOP_VERSION_ = '{"version":"2.0.27","branch":"release_v2.0.0","buildDate":"2025-04-07 10:24:38"}';
16207
16213
  }
16208
16214
 
16209
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 };