@icos-desktop/react-components 2.0.14 → 2.0.16

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.
@@ -10793,7 +10793,7 @@ var CustomList = function (_a) {
10793
10793
  return data ? (React__default.createElement(List, { itemLayout: "vertical", dataSource: header, renderItem: function (item) { return React__default.createElement(Item, { data: data, item: item }); } })) : (React__default.createElement(Empty, null));
10794
10794
  };
10795
10795
 
10796
- var css_248z$h = ".index-module_container__Cb5QN {\n padding-top: 8px;\n}\n.index-module_container__Cb5QN .index-module_top-line__UZwLs {\n display: flex;\n align-items: center;\n justify-content: space-between;\n}\n.index-module_container__Cb5QN .index-module_content__I5AU1 {\n max-height: 300px;\n margin: 8px 0;\n overflow-x: hidden;\n overflow-y: auto;\n}\n.index-module_container__Cb5QN .index-module_bottom-line__GAqVc {\n display: flex;\n align-items: center;\n justify-content: space-between;\n}\n.index-module_container__Cb5QN .index-module_time-range-line__dXp-d {\n display: flex;\n flex-direction: column;\n row-gap: 8px;\n margin-top: 8px;\n}\n.index-module_container__Cb5QN .index-module_time-range-line__dXp-d .index-module_time-range__sQLEt {\n display: flex;\n align-items: center;\n}\n.index-module_container__Cb5QN .index-module_time-range-line__dXp-d .index-module_btns__JekmU {\n align-self: flex-end;\n}\n";
10796
+ var css_248z$h = ":root {\n --select-text-color: #000;\n}\n.index-module_container__Cb5QN {\n padding-top: 8px;\n}\n.index-module_container__Cb5QN .ant-select-single .ant-select-selector {\n color: var(--select-text-color);\n}\n.index-module_container__Cb5QN .index-module_top-line__UZwLs {\n display: flex;\n align-items: center;\n justify-content: space-between;\n}\n.index-module_container__Cb5QN .index-module_content__I5AU1 {\n max-height: 300px;\n margin: 8px 0;\n overflow-x: hidden;\n overflow-y: auto;\n}\n.index-module_container__Cb5QN .index-module_bottom-line__GAqVc {\n display: flex;\n align-items: center;\n justify-content: space-between;\n}\n.index-module_container__Cb5QN .index-module_time-range-line__dXp-d {\n display: flex;\n flex-direction: column;\n row-gap: 8px;\n margin-top: 8px;\n}\n.index-module_container__Cb5QN .index-module_time-range-line__dXp-d .index-module_time-range__sQLEt {\n display: flex;\n align-items: center;\n}\n.index-module_container__Cb5QN .index-module_time-range-line__dXp-d .index-module_btns__JekmU {\n align-self: flex-end;\n}\n";
10797
10797
  var styles$h = {"container":"index-module_container__Cb5QN","top-line":"index-module_top-line__UZwLs","content":"index-module_content__I5AU1","bottom-line":"index-module_bottom-line__GAqVc"};
10798
10798
  styleInject(css_248z$h);
10799
10799
 
@@ -10801,6 +10801,8 @@ DatePicker.RangePicker;
10801
10801
  var Content = function (props) {
10802
10802
  var config = props.config, senseGlobalCode = props.senseGlobalCode;
10803
10803
  App.useApp().message;
10804
+ var useToken = theme.useToken;
10805
+ var token = useToken().token;
10804
10806
  // 查看方式
10805
10807
  var _a = useState('card'), mode = _a[0], setMode = _a[1];
10806
10808
  // 当前查看的数据表 code
@@ -10875,12 +10877,15 @@ var Content = function (props) {
10875
10877
  var _a;
10876
10878
  setTableCode((_a = config === null || config === void 0 ? void 0 : config[0]) === null || _a === void 0 ? void 0 : _a.tableCode);
10877
10879
  }, []);
10880
+ useEffect(function () {
10881
+ document.documentElement.style.setProperty('--select-text-color', token.colorText);
10882
+ }, [token.colorText]);
10878
10883
  return (React__default.createElement("div", { className: styles$h.container },
10879
10884
  React__default.createElement("div", { className: styles$h['top-line'] },
10880
10885
  React__default.createElement("div", null,
10881
10886
  React__default.createElement(Radio.Group, { options: modeOptions, onChange: handleChangeMode, value: mode, optionType: "button" })),
10882
10887
  React__default.createElement("div", null,
10883
- React__default.createElement(Select, { style: { minWidth: 100 },
10888
+ React__default.createElement(Select, { style: { minWidth: 100, color: token.colorText },
10884
10889
  // variant="borderless"
10885
10890
  options: config === null || config === void 0 ? void 0 : config.map(function (item) { return ({
10886
10891
  value: item.tableCode,
@@ -15532,11 +15537,11 @@ var CcosVideoPlayer = function (props) {
15532
15537
  CcosVideoPlayer.settings = settings$1;
15533
15538
 
15534
15539
  try {
15535
- window._ICOS_DESKTOP_VERSION_ = JSON.parse('{"version":"2.0.14","branch":"release_v2.0.0","buildDate":"2025-03-24 18:27:02"}');
15540
+ window._ICOS_DESKTOP_VERSION_ = JSON.parse('{"version":"2.0.16","branch":"remotes/origin/release_v2.0.0","buildDate":"2025-03-24 18:59:44"}');
15536
15541
  }
15537
15542
  catch (err) {
15538
15543
  console.warn(err);
15539
- window._ICOS_DESKTOP_VERSION_ = '{"version":"2.0.14","branch":"release_v2.0.0","buildDate":"2025-03-24 18:27:02"}';
15544
+ window._ICOS_DESKTOP_VERSION_ = '{"version":"2.0.16","branch":"remotes/origin/release_v2.0.0","buildDate":"2025-03-24 18:59:44"}';
15540
15545
  }
15541
15546
 
15542
15547
  export { BookDetail, BookGroupImport, BookGroupTable, BookImport, BookInfo, BookSelect, BookTable, CcosBookDetail, CcosImportTable, CcosSenseCreate, CcosSenseDetail, CcosSenseEdit, CcosSenseFullTable, CcosSenseManager, CcosSenseSearch, CcosSenseTree, CcosSenseView, CcosTagConfig, CcosVideoPlayer, EntityClassFilter, EntityClassTreeSelect, ImportTable, Modal, OrgTreeSelect, PersonSelector, ProSearch, ProTable$1 as ProTable, RegionCascader, RegionTreeSelect, RelationGraph, SenseCreate, SenseDetail, SenseEdit, SenseForm, SenseFullTable, SenseInfo, SenseManager, SenseSearch, SenseTable, SenseTree, SenseView, TagConfig, TagTreeSelect, VideoControl, VideoPlayer, setCconfig as config };