@icos-desktop/react-components 2.0.23 → 2.0.24
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.d.ts
CHANGED
package/dist/icos-desktop.js
CHANGED
@@ -15786,7 +15786,7 @@ styleInject(css_248z$3);
|
|
15786
15786
|
|
15787
15787
|
var Search$1 = Input.Search;
|
15788
15788
|
var SenseList = function (_a) {
|
15789
|
-
var name = _a.name, bookId = _a.bookId, selectedTag = _a.selectedTag, templateId = _a.templateId, viewCode = _a.viewCode;
|
15789
|
+
var name = _a.name, bookId = _a.bookId, selectedTag = _a.selectedTag, templateId = _a.templateId, viewCode = _a.viewCode, customColumns = _a.customColumns;
|
15790
15790
|
var showContextMenu = useContextMenu({ id: ContextMenu.id }).show;
|
15791
15791
|
var _b = App.useApp(), modal = _b.modal, message = _b.message;
|
15792
15792
|
var _c = useState([]), selectBookIds = _c[0], setSelectBookIds = _c[1];
|
@@ -15881,7 +15881,7 @@ var SenseList = function (_a) {
|
|
15881
15881
|
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" })),
|
15882
15882
|
React__default.createElement(Search$1, { style: { width: 200 }, placeholder: "\u8BF7\u8F93\u5165\u641C\u7D22\u5173\u952E\u8BCD", onSearch: handleSearch, allowClear: true }))),
|
15883
15883
|
React__default.createElement("div", { className: styles$3.main },
|
15884
|
-
React__default.createElement(SenseTable, { ref: senseTableRef, bookId: bookId, bookIds: selectBookIds, keyword: keyword, templateId: templateId, viewCodes: viewCode ? [viewCode] : undefined, rowSelection: rowSelection, onRow: onRow, enableTag: "edit" })),
|
15884
|
+
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 })),
|
15885
15885
|
React__default.createElement(ContextMenu, { disabled: !selectedTag })));
|
15886
15886
|
};
|
15887
15887
|
|
@@ -16034,13 +16034,13 @@ var styles$1 = {"container":"TagConfig-module_container__YV3Kx"};
|
|
16034
16034
|
styleInject(css_248z$1);
|
16035
16035
|
|
16036
16036
|
var TagConfig = function (props) {
|
16037
|
-
var name = props.name, templateId = props.templateId, bookId = props.bookId, viewCode = props.viewCode;
|
16037
|
+
var name = props.name, templateId = props.templateId, bookId = props.bookId, viewCode = props.viewCode, customColumns = props.customColumns;
|
16038
16038
|
var _a = useState(null), selectedTag = _a[0], setSelectedTag = _a[1];
|
16039
16039
|
return (React__default.createElement(Splitter, { className: styles$1.container },
|
16040
16040
|
React__default.createElement(Splitter.Panel, { defaultSize: 240, min: 180, max: 600 },
|
16041
16041
|
React__default.createElement(TagList, { templateId: templateId, selectedTag: selectedTag, setSelectedTag: setSelectedTag })),
|
16042
16042
|
React__default.createElement(Splitter.Panel, null,
|
16043
|
-
React__default.createElement(SenseList, { name: name, bookId: bookId, templateId: templateId, viewCode: viewCode, selectedTag: selectedTag }))));
|
16043
|
+
React__default.createElement(SenseList, { name: name, bookId: bookId, templateId: templateId, viewCode: viewCode, selectedTag: selectedTag, customColumns: customColumns }))));
|
16044
16044
|
};
|
16045
16045
|
|
16046
16046
|
var settings$2 = {
|
@@ -16175,11 +16175,11 @@ var CcosVideoPlayer = function (props) {
|
|
16175
16175
|
CcosVideoPlayer.settings = settings$1;
|
16176
16176
|
|
16177
16177
|
try {
|
16178
|
-
window._ICOS_DESKTOP_VERSION_ = JSON.parse('{"version":"2.0.
|
16178
|
+
window._ICOS_DESKTOP_VERSION_ = JSON.parse('{"version":"2.0.24","branch":"release_v2.0.0","buildDate":"2025-04-02 10:42:20"}');
|
16179
16179
|
}
|
16180
16180
|
catch (err) {
|
16181
16181
|
console.warn(err);
|
16182
|
-
window._ICOS_DESKTOP_VERSION_ = '{"version":"2.0.
|
16182
|
+
window._ICOS_DESKTOP_VERSION_ = '{"version":"2.0.24","branch":"release_v2.0.0","buildDate":"2025-04-02 10:42:20"}';
|
16183
16183
|
}
|
16184
16184
|
|
16185
16185
|
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 };
|