@icos-desktop/react-components 2.1.2 → 2.1.4
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
CHANGED
@@ -13895,6 +13895,8 @@ var SenseSearch = forwardRef(function (props, ref) {
|
|
13895
13895
|
var _d = useState(''), activeCategory = _d[0], setActiveCategory = _d[1];
|
13896
13896
|
// 显示高级搜索
|
13897
13897
|
var _e = useState(false), isShowAdvanced = _e[0], setIsShowAdvanced = _e[1];
|
13898
|
+
// 透传参数
|
13899
|
+
var customFieldParamsRef = useRef();
|
13898
13900
|
// 触发搜索
|
13899
13901
|
var handleSearch = function () {
|
13900
13902
|
form.validateFields().then(function (values) { return __awaiter(void 0, void 0, void 0, function () {
|
@@ -13919,6 +13921,7 @@ var SenseSearch = forwardRef(function (props, ref) {
|
|
13919
13921
|
keyword: keyword,
|
13920
13922
|
senseObjCodes: senseObjCodes,
|
13921
13923
|
tagCodes: tagCodes,
|
13924
|
+
customFieldParams: customFieldParamsRef.current,
|
13922
13925
|
};
|
13923
13926
|
if (searchMode === SEARCH_MODE.TIME || searchMode === SEARCH_MODE.TIME_SPACE) {
|
13924
13927
|
timeRange = values.timeRange;
|
@@ -13995,6 +13998,8 @@ var SenseSearch = forwardRef(function (props, ref) {
|
|
13995
13998
|
var handleAiSearch = function (res) {
|
13996
13999
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
13997
14000
|
console.log('aiSearch', res);
|
14001
|
+
// 透传参数
|
14002
|
+
customFieldParamsRef.current = res.customFieldParams;
|
13998
14003
|
// 搜索参数
|
13999
14004
|
var params = {
|
14000
14005
|
keyword: res.keyword || '',
|
@@ -16506,11 +16511,11 @@ var CcosVideoPlayer = function (props) {
|
|
16506
16511
|
CcosVideoPlayer.settings = settings$1;
|
16507
16512
|
|
16508
16513
|
try {
|
16509
|
-
window._ICOS_DESKTOP_VERSION_ = JSON.parse('{"version":"2.1.
|
16514
|
+
window._ICOS_DESKTOP_VERSION_ = JSON.parse('{"version":"2.1.4","branch":"release_v2.1.0","buildDate":"2025-05-15 10:10:18"}');
|
16510
16515
|
}
|
16511
16516
|
catch (err) {
|
16512
16517
|
console.warn(err);
|
16513
|
-
window._ICOS_DESKTOP_VERSION_ = '{"version":"2.1.
|
16518
|
+
window._ICOS_DESKTOP_VERSION_ = '{"version":"2.1.4","branch":"release_v2.1.0","buildDate":"2025-05-15 10:10:18"}';
|
16514
16519
|
}
|
16515
16520
|
|
16516
16521
|
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 };
|