@topconsultnpm/sdkui-react-beta 6.15.7 → 6.15.8

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.
@@ -194,7 +194,7 @@ export function useDcmtOperations() {
194
194
  return;
195
195
  if (inputDcmts.length <= 0)
196
196
  return;
197
- let file = await OpenFileDialog();
197
+ let file = inputDcmts[0].FILE ?? await OpenFileDialog();
198
198
  if (!file)
199
199
  return;
200
200
  setShowWaitPanel(true);
package/lib/ts/types.d.ts CHANGED
@@ -69,6 +69,7 @@ export type TID_MID = {
69
69
  export type DcmtInfo = {
70
70
  TID: number;
71
71
  DID: number;
72
+ FILE?: File;
72
73
  FILEEXT?: string;
73
74
  fileFormat?: FileFormats;
74
75
  metadataValues?: MetadataValueDescriptorEx[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@topconsultnpm/sdkui-react-beta",
3
- "version": "6.15.7",
3
+ "version": "6.15.8",
4
4
  "description": "",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1",