@topconsultnpm/sdkui-react-beta 6.16.0 → 6.16.1

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.
@@ -86,8 +86,8 @@ const TMChooserForm = ({ children, title, allowMultipleSelection = false, allowA
86
86
  ...summaryItems ?? {}
87
87
  });
88
88
  }, [manageUseLocalizedName, summaryItems]);
89
- return (_jsx(TMModal, { title: renderTitle(), width: width ?? '550px', height: height ?? '600px', toolbar: _jsx(ToolbarButtons, {}), onClose: onClose, children: children ??
90
- filteredItems.length > 0
89
+ return (_jsx(TMModal, { title: renderTitle(), width: width ?? '550px', height: height ?? '600px', toolbar: _jsx(ToolbarButtons, {}), onClose: onClose, children: (children ??
90
+ filteredItems.length > 0)
91
91
  ? _jsx(TMDataGrid, { dataSource: filteredItems, keyExpr: keyName, dataColumns: dataColumns, focusedRowKey: focusedRowKey, selectedRowKeys: selectedRowKeys, searchPanelFocusStarting: true, headerFilter: { visible: true }, selection: { mode: allowMultipleSelection ? 'multiple' : 'single', showCheckBoxesMode: 'always', selectAllMode: 'allPages' }, grouping: allowGrouping ? { autoExpandAll: false, expandMode: 'rowClick' } : undefined, summary: customSummary, onFocusedRowChanged: handleFocusedRowChange, onSelectionChanged: handleSelectionChanged, onRowDblClick: handleRowDoubleClick })
92
92
  : _jsx(TMLayoutContainer, { gap: 30, alignItems: 'center', justifyContent: 'center', children: _jsx(TMLayoutItem, { children: _jsx("p", { style: { height: "100%", color: TMColors.primaryColor, fontSize: "1.5rem", display: 'flex', alignItems: 'center', justifyContent: 'center' }, children: SDKUI_Localizator.NoDataToDisplay }) }) }) }));
93
93
  };
@@ -439,7 +439,9 @@ export function useDcmtOperations() {
439
439
  case DcmtOperationTypes.RemoveFromRecentsView:
440
440
  await SDK_Globals.tmSession?.NewRecentEngine().AddOrRemoveDcmtAsync(inputDcmts[i].TID, inputDcmts[i].DID, RecentCategories.View, true);
441
441
  break;
442
- case DcmtOperationTypes.RemoveFromWorkgroup: await SDK_Globals.tmSession?.NewWorkingGroupEngine().DcmtsAddOrRemoveAsync(inputDcmts[i]?.workingGroupId ?? 0, inputDcmts[i].TID, inputDcmts[i].DID, true);
442
+ case DcmtOperationTypes.RemoveFromWorkgroup:
443
+ await SDK_Globals.tmSession?.NewWorkingGroupEngine().DcmtsAddOrRemoveAsync(inputDcmts[i]?.workingGroupId ?? 0, inputDcmts[i].TID, inputDcmts[i].DID, true);
444
+ break;
443
445
  case DcmtOperationTypes.Undelete:
444
446
  await SDK_Globals.tmSession?.NewDeleteEngine().UndeleteByIDAsync(inputDcmts[i].TID, inputDcmts[i].DID);
445
447
  break;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@topconsultnpm/sdkui-react-beta",
3
- "version": "6.16.0",
3
+ "version": "6.16.1",
4
4
  "description": "",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1",