@icos-desktop/react-components 2.1.1 → 2.1.2

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.
@@ -1267,6 +1267,10 @@ interface SenseViewProps {
1267
1267
  * 时间、空间、最近邻、时空
1268
1268
  */
1269
1269
  searchMode?: ('time' | 'space' | 'knn' | 'time-space')[];
1270
+ /**
1271
+ * 触发搜索
1272
+ */
1273
+ onSearch?: (value: any) => void;
1270
1274
  /**
1271
1275
  * 地图开始绘制
1272
1276
  */
@@ -15834,6 +15834,8 @@ var SenseView = forwardRef(function (props, ref) {
15834
15834
  var _a = useState(), searchParams = _a[0], setSearchParams = _a[1];
15835
15835
  // 触发搜索
15836
15836
  var handleSearch = function (params) {
15837
+ var _a;
15838
+ (_a = props.onSearch) === null || _a === void 0 ? void 0 : _a.call(props, params);
15837
15839
  setSearchParams(params);
15838
15840
  };
15839
15841
  useImperativeHandle(ref, function () { return ({
@@ -16504,11 +16506,11 @@ var CcosVideoPlayer = function (props) {
16504
16506
  CcosVideoPlayer.settings = settings$1;
16505
16507
 
16506
16508
  try {
16507
- window._ICOS_DESKTOP_VERSION_ = JSON.parse('{"version":"2.1.1","branch":"release_v2.1.0","buildDate":"2025-05-13 15:40:47"}');
16509
+ window._ICOS_DESKTOP_VERSION_ = JSON.parse('{"version":"2.1.2","branch":"release_v2.1.0","buildDate":"2025-05-13 16:07:07"}');
16508
16510
  }
16509
16511
  catch (err) {
16510
16512
  console.warn(err);
16511
- window._ICOS_DESKTOP_VERSION_ = '{"version":"2.1.1","branch":"release_v2.1.0","buildDate":"2025-05-13 15:40:47"}';
16513
+ window._ICOS_DESKTOP_VERSION_ = '{"version":"2.1.2","branch":"release_v2.1.0","buildDate":"2025-05-13 16:07:07"}';
16512
16514
  }
16513
16515
 
16514
16516
  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 };