@icos-desktop/react-components 2.1.8 → 2.1.9
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.
- package/dist/icos-desktop.js +9 -11
- package/dist/icos-desktop.umd.cjs +1 -1
- package/package.json +1 -1
package/dist/icos-desktop.js
CHANGED
@@ -13908,7 +13908,7 @@ var SenseSearch = forwardRef(function (props, ref) {
|
|
13908
13908
|
// 显示高级搜索
|
13909
13909
|
var _e = useState(false), isShowAdvanced = _e[0], setIsShowAdvanced = _e[1];
|
13910
13910
|
// 透传参数
|
13911
|
-
var customFieldParamsRef = useRef();
|
13911
|
+
var customFieldParamsRef = useRef({});
|
13912
13912
|
// 触发搜索
|
13913
13913
|
var handleSearch = function () {
|
13914
13914
|
form.validateFields().then(function (values) { return __awaiter(void 0, void 0, void 0, function () {
|
@@ -13928,13 +13928,7 @@ var SenseSearch = forwardRef(function (props, ref) {
|
|
13928
13928
|
senseObjCodes.push(code);
|
13929
13929
|
}
|
13930
13930
|
});
|
13931
|
-
params = {
|
13932
|
-
viewCodes: [activeCategory, viewCode].filter(Boolean),
|
13933
|
-
keyword: keyword,
|
13934
|
-
senseObjCodes: senseObjCodes,
|
13935
|
-
tagCodes: tagCodes,
|
13936
|
-
customFieldParams: customFieldParamsRef.current,
|
13937
|
-
};
|
13931
|
+
params = __assign({ viewCodes: [activeCategory, viewCode].filter(Boolean), keyword: keyword, senseObjCodes: senseObjCodes, tagCodes: tagCodes }, customFieldParamsRef.current);
|
13938
13932
|
if (searchMode === SEARCH_MODE.TIME || searchMode === SEARCH_MODE.TIME_SPACE) {
|
13939
13933
|
timeRange = values.timeRange;
|
13940
13934
|
// 处理时间
|
@@ -14013,7 +14007,11 @@ var SenseSearch = forwardRef(function (props, ref) {
|
|
14013
14007
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
14014
14008
|
console.log('aiSearch', res);
|
14015
14009
|
// 透传参数
|
14016
|
-
customFieldParamsRef.current =
|
14010
|
+
customFieldParamsRef.current = {
|
14011
|
+
senseObjCodes: res.senseObjCodes || [],
|
14012
|
+
tagCodes: res.tagCodes || [],
|
14013
|
+
customFieldParams: res.customFieldParams,
|
14014
|
+
};
|
14017
14015
|
// 搜索参数
|
14018
14016
|
var params = {
|
14019
14017
|
keyword: res.keyword || '',
|
@@ -16525,11 +16523,11 @@ var CcosVideoPlayer = function (props) {
|
|
16525
16523
|
CcosVideoPlayer.settings = settings$1;
|
16526
16524
|
|
16527
16525
|
try {
|
16528
|
-
window._ICOS_DESKTOP_VERSION_ = JSON.parse('{"version":"2.1.
|
16526
|
+
window._ICOS_DESKTOP_VERSION_ = JSON.parse('{"version":"2.1.9","branch":"release_v2.1.0","buildDate":"2025-05-28 18:25:14"}');
|
16529
16527
|
}
|
16530
16528
|
catch (err) {
|
16531
16529
|
console.warn(err);
|
16532
|
-
window._ICOS_DESKTOP_VERSION_ = '{"version":"2.1.
|
16530
|
+
window._ICOS_DESKTOP_VERSION_ = '{"version":"2.1.9","branch":"release_v2.1.0","buildDate":"2025-05-28 18:25:14"}';
|
16533
16531
|
}
|
16534
16532
|
|
16535
16533
|
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, 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 };
|