@gen3/frontend 0.10.58 → 0.10.60
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/cjs/index.js +7 -0
- package/dist/cjs/index.js.map +1 -1
- package/dist/dts/features/DataLibrary/modals/SelectedItemsModal.d.ts.map +1 -1
- package/dist/dts/features/DataLibrary/modals/SelectedItemsModal.js +2 -0
- package/dist/dts/features/DataLibrary/modals/SelectedItemsModal.js.map +1 -1
- package/dist/dts/features/DataLibrary/selection/exportActions.d.ts.map +1 -1
- package/dist/dts/features/DataLibrary/selection/exportActions.js +5 -0
- package/dist/dts/features/DataLibrary/selection/exportActions.js.map +1 -1
- package/dist/esm/index.js +7 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
package/dist/cjs/index.js
CHANGED
|
@@ -17953,22 +17953,27 @@ const sendExistingPFBToURL = async (validatedSelections, params, done = ()=>null
|
|
|
17953
17953
|
return;
|
|
17954
17954
|
}
|
|
17955
17955
|
const { guid, id } = validatedSelections[0];
|
|
17956
|
+
console.log('sendExistingPFBToURL', guid, id, targetURLTemplate);
|
|
17956
17957
|
// get the pre-signed URL for the selected PFB
|
|
17957
17958
|
try {
|
|
17959
|
+
console.log('fetchFencePresignedURL');
|
|
17958
17960
|
const presignedURL = await core.fetchFencePresignedURL({
|
|
17959
17961
|
guid: guid ?? id,
|
|
17960
17962
|
onAbort: onAbort,
|
|
17961
17963
|
signal: signal
|
|
17962
17964
|
});
|
|
17965
|
+
console.log('received presignedURL', presignedURL);
|
|
17963
17966
|
// the PFB export target URL is a template URL that should have a {{PRESIGNED_URL}} template
|
|
17964
17967
|
// variable in it.
|
|
17965
17968
|
const signedURL = encodeURIComponent(presignedURL);
|
|
17966
17969
|
const targetURL = targetURLTemplate.replace(PRESIGNED_URL_TEMPLATE_VARIABLE, signedURL);
|
|
17970
|
+
console.log('targetURL', targetURL);
|
|
17967
17971
|
return new Promise(()=>{
|
|
17968
17972
|
if (window) window.open(targetURL, '_blank', 'noopener,noreferrer');
|
|
17969
17973
|
if (done) done(targetURL);
|
|
17970
17974
|
});
|
|
17971
17975
|
} catch (e) {
|
|
17976
|
+
console.error('Error sending PFB to URL', e);
|
|
17972
17977
|
return new Promise(()=>{
|
|
17973
17978
|
error(e);
|
|
17974
17979
|
});
|
|
@@ -18182,6 +18187,8 @@ const SelectedItemsModal = (props)=>{
|
|
|
18182
18187
|
disabled: actionButtonDisabled,
|
|
18183
18188
|
onClick: async ()=>{
|
|
18184
18189
|
setIsRunning(true);
|
|
18190
|
+
console.log('running action:', actionFunction.action.name);
|
|
18191
|
+
console.log('with params:', validatedLibrarySelections);
|
|
18185
18192
|
await actionFunction.action(validatedLibrarySelections, actionFunction.parameters, onDone, onError);
|
|
18186
18193
|
},
|
|
18187
18194
|
children: actionConfig ? actionConfig.buttonLabel : 'Submit'
|