aiware-js 1.0.0-master.781 → 1.0.0-master.782

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/index.esm.css CHANGED
@@ -288,98 +288,6 @@
288
288
  background-color: #fff;
289
289
  }
290
290
 
291
- /* dosis-200normal - latin */
292
- @font-face {
293
- font-family: 'Dosis';
294
- font-style: normal;
295
- font-display: swap;
296
- font-weight: 200;
297
- src:
298
- local('Dosis Extra Light '),
299
- local('Dosis-Extra Light'),
300
- url('./files/dosis-latin-200.woff2') format('woff2'), /* Super Modern Browsers */
301
- url('./files/dosis-latin-200.woff') format('woff'); /* Modern Browsers */
302
- }
303
-
304
- /* dosis-300normal - latin */
305
- @font-face {
306
- font-family: 'Dosis';
307
- font-style: normal;
308
- font-display: swap;
309
- font-weight: 300;
310
- src:
311
- local('Dosis Light '),
312
- local('Dosis-Light'),
313
- url('./files/dosis-latin-300.woff2') format('woff2'), /* Super Modern Browsers */
314
- url('./files/dosis-latin-300.woff') format('woff'); /* Modern Browsers */
315
- }
316
-
317
- /* dosis-400normal - latin */
318
- @font-face {
319
- font-family: 'Dosis';
320
- font-style: normal;
321
- font-display: swap;
322
- font-weight: 400;
323
- src:
324
- local('Dosis Regular '),
325
- local('Dosis-Regular'),
326
- url('./files/dosis-latin-400.woff2') format('woff2'), /* Super Modern Browsers */
327
- url('./files/dosis-latin-400.woff') format('woff'); /* Modern Browsers */
328
- }
329
-
330
- /* dosis-500normal - latin */
331
- @font-face {
332
- font-family: 'Dosis';
333
- font-style: normal;
334
- font-display: swap;
335
- font-weight: 500;
336
- src:
337
- local('Dosis Medium '),
338
- local('Dosis-Medium'),
339
- url('./files/dosis-latin-500.woff2') format('woff2'), /* Super Modern Browsers */
340
- url('./files/dosis-latin-500.woff') format('woff'); /* Modern Browsers */
341
- }
342
-
343
- /* dosis-600normal - latin */
344
- @font-face {
345
- font-family: 'Dosis';
346
- font-style: normal;
347
- font-display: swap;
348
- font-weight: 600;
349
- src:
350
- local('Dosis SemiBold '),
351
- local('Dosis-SemiBold'),
352
- url('./files/dosis-latin-600.woff2') format('woff2'), /* Super Modern Browsers */
353
- url('./files/dosis-latin-600.woff') format('woff'); /* Modern Browsers */
354
- }
355
-
356
- /* dosis-700normal - latin */
357
- @font-face {
358
- font-family: 'Dosis';
359
- font-style: normal;
360
- font-display: swap;
361
- font-weight: 700;
362
- src:
363
- local('Dosis Bold '),
364
- local('Dosis-Bold'),
365
- url('./files/dosis-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
366
- url('./files/dosis-latin-700.woff') format('woff'); /* Modern Browsers */
367
- }
368
-
369
- /* dosis-800normal - latin */
370
- @font-face {
371
- font-family: 'Dosis';
372
- font-style: normal;
373
- font-display: swap;
374
- font-weight: 800;
375
- src:
376
- local('Dosis ExtraBold '),
377
- local('Dosis-ExtraBold'),
378
- url('./files/dosis-latin-800.woff2') format('woff2'), /* Super Modern Browsers */
379
- url('./files/dosis-latin-800.woff') format('woff'); /* Modern Browsers */
380
- }
381
-
382
-
383
291
  /* nunito-200normal - latin */
384
292
  @font-face {
385
293
  font-family: 'Nunito';
@@ -563,6 +471,98 @@
563
471
  }
564
472
 
565
473
 
474
+ /* dosis-200normal - latin */
475
+ @font-face {
476
+ font-family: 'Dosis';
477
+ font-style: normal;
478
+ font-display: swap;
479
+ font-weight: 200;
480
+ src:
481
+ local('Dosis Extra Light '),
482
+ local('Dosis-Extra Light'),
483
+ url('./files/dosis-latin-200.woff2') format('woff2'), /* Super Modern Browsers */
484
+ url('./files/dosis-latin-200.woff') format('woff'); /* Modern Browsers */
485
+ }
486
+
487
+ /* dosis-300normal - latin */
488
+ @font-face {
489
+ font-family: 'Dosis';
490
+ font-style: normal;
491
+ font-display: swap;
492
+ font-weight: 300;
493
+ src:
494
+ local('Dosis Light '),
495
+ local('Dosis-Light'),
496
+ url('./files/dosis-latin-300.woff2') format('woff2'), /* Super Modern Browsers */
497
+ url('./files/dosis-latin-300.woff') format('woff'); /* Modern Browsers */
498
+ }
499
+
500
+ /* dosis-400normal - latin */
501
+ @font-face {
502
+ font-family: 'Dosis';
503
+ font-style: normal;
504
+ font-display: swap;
505
+ font-weight: 400;
506
+ src:
507
+ local('Dosis Regular '),
508
+ local('Dosis-Regular'),
509
+ url('./files/dosis-latin-400.woff2') format('woff2'), /* Super Modern Browsers */
510
+ url('./files/dosis-latin-400.woff') format('woff'); /* Modern Browsers */
511
+ }
512
+
513
+ /* dosis-500normal - latin */
514
+ @font-face {
515
+ font-family: 'Dosis';
516
+ font-style: normal;
517
+ font-display: swap;
518
+ font-weight: 500;
519
+ src:
520
+ local('Dosis Medium '),
521
+ local('Dosis-Medium'),
522
+ url('./files/dosis-latin-500.woff2') format('woff2'), /* Super Modern Browsers */
523
+ url('./files/dosis-latin-500.woff') format('woff'); /* Modern Browsers */
524
+ }
525
+
526
+ /* dosis-600normal - latin */
527
+ @font-face {
528
+ font-family: 'Dosis';
529
+ font-style: normal;
530
+ font-display: swap;
531
+ font-weight: 600;
532
+ src:
533
+ local('Dosis SemiBold '),
534
+ local('Dosis-SemiBold'),
535
+ url('./files/dosis-latin-600.woff2') format('woff2'), /* Super Modern Browsers */
536
+ url('./files/dosis-latin-600.woff') format('woff'); /* Modern Browsers */
537
+ }
538
+
539
+ /* dosis-700normal - latin */
540
+ @font-face {
541
+ font-family: 'Dosis';
542
+ font-style: normal;
543
+ font-display: swap;
544
+ font-weight: 700;
545
+ src:
546
+ local('Dosis Bold '),
547
+ local('Dosis-Bold'),
548
+ url('./files/dosis-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
549
+ url('./files/dosis-latin-700.woff') format('woff'); /* Modern Browsers */
550
+ }
551
+
552
+ /* dosis-800normal - latin */
553
+ @font-face {
554
+ font-family: 'Dosis';
555
+ font-style: normal;
556
+ font-display: swap;
557
+ font-weight: 800;
558
+ src:
559
+ local('Dosis ExtraBold '),
560
+ local('Dosis-ExtraBold'),
561
+ url('./files/dosis-latin-800.woff2') format('woff2'), /* Super Modern Browsers */
562
+ url('./files/dosis-latin-800.woff') format('woff'); /* Modern Browsers */
563
+ }
564
+
565
+
566
566
  /*!
567
567
  * Cropper.js v1.5.9
568
568
  * https://fengyuanchen.github.io/cropperjs
package/index.esm.css.gz CHANGED
Binary file
package/index.esm.min.css CHANGED
@@ -288,98 +288,6 @@
288
288
  background-color: #fff;
289
289
  }
290
290
 
291
- /* dosis-200normal - latin */
292
- @font-face {
293
- font-family: 'Dosis';
294
- font-style: normal;
295
- font-display: swap;
296
- font-weight: 200;
297
- src:
298
- local('Dosis Extra Light '),
299
- local('Dosis-Extra Light'),
300
- url('./files/dosis-latin-200.woff2') format('woff2'), /* Super Modern Browsers */
301
- url('./files/dosis-latin-200.woff') format('woff'); /* Modern Browsers */
302
- }
303
-
304
- /* dosis-300normal - latin */
305
- @font-face {
306
- font-family: 'Dosis';
307
- font-style: normal;
308
- font-display: swap;
309
- font-weight: 300;
310
- src:
311
- local('Dosis Light '),
312
- local('Dosis-Light'),
313
- url('./files/dosis-latin-300.woff2') format('woff2'), /* Super Modern Browsers */
314
- url('./files/dosis-latin-300.woff') format('woff'); /* Modern Browsers */
315
- }
316
-
317
- /* dosis-400normal - latin */
318
- @font-face {
319
- font-family: 'Dosis';
320
- font-style: normal;
321
- font-display: swap;
322
- font-weight: 400;
323
- src:
324
- local('Dosis Regular '),
325
- local('Dosis-Regular'),
326
- url('./files/dosis-latin-400.woff2') format('woff2'), /* Super Modern Browsers */
327
- url('./files/dosis-latin-400.woff') format('woff'); /* Modern Browsers */
328
- }
329
-
330
- /* dosis-500normal - latin */
331
- @font-face {
332
- font-family: 'Dosis';
333
- font-style: normal;
334
- font-display: swap;
335
- font-weight: 500;
336
- src:
337
- local('Dosis Medium '),
338
- local('Dosis-Medium'),
339
- url('./files/dosis-latin-500.woff2') format('woff2'), /* Super Modern Browsers */
340
- url('./files/dosis-latin-500.woff') format('woff'); /* Modern Browsers */
341
- }
342
-
343
- /* dosis-600normal - latin */
344
- @font-face {
345
- font-family: 'Dosis';
346
- font-style: normal;
347
- font-display: swap;
348
- font-weight: 600;
349
- src:
350
- local('Dosis SemiBold '),
351
- local('Dosis-SemiBold'),
352
- url('./files/dosis-latin-600.woff2') format('woff2'), /* Super Modern Browsers */
353
- url('./files/dosis-latin-600.woff') format('woff'); /* Modern Browsers */
354
- }
355
-
356
- /* dosis-700normal - latin */
357
- @font-face {
358
- font-family: 'Dosis';
359
- font-style: normal;
360
- font-display: swap;
361
- font-weight: 700;
362
- src:
363
- local('Dosis Bold '),
364
- local('Dosis-Bold'),
365
- url('./files/dosis-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
366
- url('./files/dosis-latin-700.woff') format('woff'); /* Modern Browsers */
367
- }
368
-
369
- /* dosis-800normal - latin */
370
- @font-face {
371
- font-family: 'Dosis';
372
- font-style: normal;
373
- font-display: swap;
374
- font-weight: 800;
375
- src:
376
- local('Dosis ExtraBold '),
377
- local('Dosis-ExtraBold'),
378
- url('./files/dosis-latin-800.woff2') format('woff2'), /* Super Modern Browsers */
379
- url('./files/dosis-latin-800.woff') format('woff'); /* Modern Browsers */
380
- }
381
-
382
-
383
291
  /* nunito-200normal - latin */
384
292
  @font-face {
385
293
  font-family: 'Nunito';
@@ -563,6 +471,98 @@
563
471
  }
564
472
 
565
473
 
474
+ /* dosis-200normal - latin */
475
+ @font-face {
476
+ font-family: 'Dosis';
477
+ font-style: normal;
478
+ font-display: swap;
479
+ font-weight: 200;
480
+ src:
481
+ local('Dosis Extra Light '),
482
+ local('Dosis-Extra Light'),
483
+ url('./files/dosis-latin-200.woff2') format('woff2'), /* Super Modern Browsers */
484
+ url('./files/dosis-latin-200.woff') format('woff'); /* Modern Browsers */
485
+ }
486
+
487
+ /* dosis-300normal - latin */
488
+ @font-face {
489
+ font-family: 'Dosis';
490
+ font-style: normal;
491
+ font-display: swap;
492
+ font-weight: 300;
493
+ src:
494
+ local('Dosis Light '),
495
+ local('Dosis-Light'),
496
+ url('./files/dosis-latin-300.woff2') format('woff2'), /* Super Modern Browsers */
497
+ url('./files/dosis-latin-300.woff') format('woff'); /* Modern Browsers */
498
+ }
499
+
500
+ /* dosis-400normal - latin */
501
+ @font-face {
502
+ font-family: 'Dosis';
503
+ font-style: normal;
504
+ font-display: swap;
505
+ font-weight: 400;
506
+ src:
507
+ local('Dosis Regular '),
508
+ local('Dosis-Regular'),
509
+ url('./files/dosis-latin-400.woff2') format('woff2'), /* Super Modern Browsers */
510
+ url('./files/dosis-latin-400.woff') format('woff'); /* Modern Browsers */
511
+ }
512
+
513
+ /* dosis-500normal - latin */
514
+ @font-face {
515
+ font-family: 'Dosis';
516
+ font-style: normal;
517
+ font-display: swap;
518
+ font-weight: 500;
519
+ src:
520
+ local('Dosis Medium '),
521
+ local('Dosis-Medium'),
522
+ url('./files/dosis-latin-500.woff2') format('woff2'), /* Super Modern Browsers */
523
+ url('./files/dosis-latin-500.woff') format('woff'); /* Modern Browsers */
524
+ }
525
+
526
+ /* dosis-600normal - latin */
527
+ @font-face {
528
+ font-family: 'Dosis';
529
+ font-style: normal;
530
+ font-display: swap;
531
+ font-weight: 600;
532
+ src:
533
+ local('Dosis SemiBold '),
534
+ local('Dosis-SemiBold'),
535
+ url('./files/dosis-latin-600.woff2') format('woff2'), /* Super Modern Browsers */
536
+ url('./files/dosis-latin-600.woff') format('woff'); /* Modern Browsers */
537
+ }
538
+
539
+ /* dosis-700normal - latin */
540
+ @font-face {
541
+ font-family: 'Dosis';
542
+ font-style: normal;
543
+ font-display: swap;
544
+ font-weight: 700;
545
+ src:
546
+ local('Dosis Bold '),
547
+ local('Dosis-Bold'),
548
+ url('./files/dosis-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
549
+ url('./files/dosis-latin-700.woff') format('woff'); /* Modern Browsers */
550
+ }
551
+
552
+ /* dosis-800normal - latin */
553
+ @font-face {
554
+ font-family: 'Dosis';
555
+ font-style: normal;
556
+ font-display: swap;
557
+ font-weight: 800;
558
+ src:
559
+ local('Dosis ExtraBold '),
560
+ local('Dosis-ExtraBold'),
561
+ url('./files/dosis-latin-800.woff2') format('woff2'), /* Super Modern Browsers */
562
+ url('./files/dosis-latin-800.woff') format('woff'); /* Modern Browsers */
563
+ }
564
+
565
+
566
566
  /*!
567
567
  * Cropper.js v1.5.9
568
568
  * https://fengyuanchen.github.io/cropperjs
Binary file
package/js-core.esm.js CHANGED
@@ -1515,4 +1515,4 @@ createScheduledJob(input:{
1515
1515
  }
1516
1516
  `)}),n},[]).join("\r\n")}
1517
1517
  }
1518
- `,l={entityId:t,entityType:e};try{a=yield baseGraphQLApi({query:s,operationName:n,variables:l,graphEndpoint:u,token:d})}catch(e){i=!0}if(a.errors){if(0===(o=a.errors.filter(({message:e})=>e.includes(' does not exist in "AuthPermissionType" enum.')).map(({message:e})=>{var t='Value "',n=e.substring(t.length).indexOf('"');return e.substring(t.length,t.length+n)})).length)throw i=!0,a={},new Error((null==(f=(a.errors||[])[0])?void 0:f.message)||"Error")}else i=!0}const c=a.data||{};return Object.keys(c).map(e=>{var t=e.split("__");return 3===t.length?{fetchedTargetEntityType:t[0],fetchedTargetGroupType:t[1],fetchedTargetAction:t[2],hasPermission:c[e][0].hasPermission}:{fetchedTargetEntityType:t[0],fetchedTargetAction:t[1],hasPermission:c[e][0].hasPermission}}).reduce((e,t)=>{var n=t.fetchedTargetGroupType||t.fetchedTargetEntityType;return t.hasPermission&&(e[n]||(e[n]={}),e[n][t.fetchedTargetAction]=t.hasPermission),e},{})})}function getMyRights(t){return __awaiter(this,void 0,void 0,function*(){var e="getMyRights";return(yield baseGraphQLApiWithError(Object.assign({query:"\n query getMyRights {\n myRights {\n operations\n }\n }\n ",operationName:e},t))).myRights.operations})}const selectPermissionsByEntity=(t,n,r)=>e=>{return t&&n&&(e=e[namespace].permissionsByObject[t])&&e[n]?e[n][r||t]:void 0},selectMyRights=e=>e[namespace].rights;var index=Object.freeze({__proto__:null,selectPermissionsByEntity:selectPermissionsByEntity,selectMyRights:selectMyRights});function*fetchObjectPermissions(t){var{entityId:t,entityType:n}=t.payload,i=yield select(selectApiConfigs$2),e=yield select(graphEndpointSelector),o=yield select(sessionTokenSelector),a=yield select(selectIsOLPEnabled),r=yield select(selectPermissionsByEntity(n,t));if(!r||"success"!==r.status&&"pending"!==r.status){yield put(actions.fetchObjectPermissionsStarted({entityId:t,entityType:n}));try{let r={};if(a)r=yield call$i(getObjectPermissions,e,o,{entityType:n,entityId:t});else{let e=yield select(selectMyRights);if("success"!==e.status&&"pending"!==e.status){yield put(actions.fetchMyRightsStarted);try{var s=yield call$i(getMyRights,i);yield put(actions.fetchMyRightsSucceeded(s)),e=yield select(selectMyRights)}catch(e){throw yield put(actions.fetchMyRightsFailed),e}}else"pending"===e.status&&(yield take([actions.fetchMyRightsFailed,actions.fetchMyRightsSucceeded]),e=yield select(selectMyRights));const l=e["myRights"];getPermissionTypesToQuery(n).forEach(n=>{var{action:e,resource:t}=n.targetActions.reduce((e,t)=>(e.action[t.targetAction]=convertPermissionsToRights(t.resource||n.targetObjectType,t.targetAction,l),e.resource=t.resource,e),{action:{}});r[t||n.targetObjectType]=e})}yield put(actions.fetchObjectPermissionsSucceeded({entityId:t,entityType:n,permissions:r}))}catch(e){actions.fetchObjectPermissionsFailed({entityId:t,entityType:n})}}}function*watchPermissionsStart(){yield takeEvery$1(actions.fetchObjectPermissionsStart.type,fetchObjectPermissions)}function*rootSaga(){yield all([watchPermissionsStart()])}function getPermissionsModule(){return{id:namespace,reducerMap:{[namespace]:permissionsReducer},sagas:[rootSaga],initialActions:[]}}const useOrganizationPermissions=e=>{const t=react.exports.useRef(),n=useDispatch(),r=null==(o=useSelector(userSelector$2).organization)?void 0:o.organizationId,i=useSelector(selectPermissionsByEntity(EAuthResourceType.Organization,String(r),e));react.exports.useEffect(()=>{!r||i&&"failure"!==i.status&&"idle"!==i.status&&t.current===r||(t.current=r,n(actions.fetchObjectPermissionsStart({entityType:EAuthResourceType.Organization,entityId:String(r)})))},[n,r,i]);var o=react.exports.useCallback(e=>{return!isPermissionLoading(i)&&hasPermission(i,e)},[i]);return{permissions:i,hasPermission:o}},rateLimiter=new RateLimiter,checkAndDecodeBase64String=t=>{if(null==t||!t.trim())return t;try{return window.btoa(window.atob(t))==t?window.atob(t):t}catch(e){return t}};function SnackbarRenderer(){return jsxRuntime.exports.jsx(Provider$2,Object.assign({store:store$4},{children:jsxRuntime.exports.jsx(DynamicModuleLoader,Object.assign({modules:[getSnackbarModule()]},{children:jsxRuntime.exports.jsx(CustomSnackbar,{})}))}))}store$4.addModules([getWidgetsModule(),getPanelsModule(registry,registryLookup),getDataModule(),getConfigModule(),getAuthModule(),getPermissionsModule()]);let hasLoaded=!1;const AppBarPreLoader=()=>{var e=useSelector(authSelector);return(null==(e=null==e?void 0:e.user)?void 0:e.token)&&!hasLoaded&&(hasLoaded=!0,setTimeout(()=>{store$4.addModules([getAppbarPanelModule()])},0)),null};function ApplicationDialogPreLoader(){var e=useSelector(authSelector);return(null==(e=null==e?void 0:e.user)?void 0:e.token)&&hasLoaded?jsxRuntime.exports.jsx(ApplicationDialog,{}):null}const authHelpers={updateToken(e){e?store$4.dispatch(updateTokenRequest({token:e})):console.error("[AiWARE JS]: Please provide a valid token!")},logout(e){"function"==typeof e?(e(),setTimeout(()=>{store$4.dispatch(logout())},1e3)):store$4.dispatch(logout())},reportAppActivity(e){rateLimiter.checkIfCanCall(e)&&store$4.dispatch(updateActivityStatus$1())}};function PortalRenderer(){return jsxRuntime.exports.jsxs(jsxRuntime.exports.Fragment,{children:[jsxRuntime.exports.jsx(SupportCenterPixel,{}),jsxRuntime.exports.jsx(Provider$2,Object.assign({store:store$4},{children:jsxRuntime.exports.jsx(AppBarPreLoader,{})}))]})}function ApplicationDialogRenderer(){return jsxRuntime.exports.jsx(jsxRuntime.exports.Fragment,{children:jsxRuntime.exports.jsx(Provider$2,Object.assign({store:store$4},{children:jsxRuntime.exports.jsx(AIWareIntlProvider,{children:jsxRuntime.exports.jsx(ApplicationDialogPreLoader,{})})}))})}const ThemeInitializer=()=>(useTheme(),null),root=getElement("aiWARE"),reactDOMroot=(root.classList.add("aiware-el"),client$1.createRoot(root)),mountWidget=("_auth"===window.name?handleImplicitRedirect(window.location.hash,window.opener):reactDOMroot.render(jsxRuntime.exports.jsx(AIWareCacheProvider,{children:jsxRuntime.exports.jsxs(AIWareThemeProvider$1,{children:[jsxRuntime.exports.jsx(PortalRenderer,{}),jsxRuntime.exports.jsx(SnackbarRenderer,{}),jsxRuntime.exports.jsx(ApplicationDialogRenderer,{}),jsxRuntime.exports.jsx(ThemeInitializer,{})]})})),(e,t)=>{var n=getUniqueID(),{name:e,elementId:r,config:i}=e;return e&&r&&i||console.error("[aiwarejs-error]: `mountWidget` function should include all the following params: name, elementId, config"),store$4.dispatch(mountWidget$1({elementId:r,widgetName:e,widgetConfig:i,widgetId:n,onComplete:t})),n}),unmountWidget=e=>(store$4.dispatch(unmountWidget$1(e)),!0),mountPanel=(e,t)=>{const n=e.panelId||getUniqueID();var{microFrontend:e,panelConfig:r}=e;store$4.dispatch(mountPanel$1({microFrontend:e,panelId:n,panelConfig:r}));const i=[...(null==(e=null==r?void 0:r.header)?void 0:e.actions)||[],...(null==(e=null==r?void 0:r.footer)?void 0:e.actions)||[]].filter(e=>e.submit).map(e=>e.action);r={id:n,sagas:[function*(){yield takeEvery$1(i.map(e=>e.type),function*(){var e=(yield select(e=>e.data.find(e=>e.id===n)))["data"];t&&t(e)})}]};return store$4.addModule(r),n},unmountPanel=e=>(store$4.dispatch(unmountPanel$1(e)),!0),hidePanel=e=>(store$4.dispatch(hidePanel$1(e)),!0),unmountAllPanel=()=>{store$4.dispatch(unmountAllPanel$1(""))};function init(e,t){var n,e=validateConfig(e);e?(n=e["authToken"],n=checkAndDecodeBase64String(n||""),store$4.dispatch(getInitConfig(Object.assign(Object.assign({},e),{authToken:n,onComplete:t})))):console.error("@aiware/js initialization failed. Please pass valid configuration object.")}function helpCenter(){var e=new HelpCenter$2({actions:{setCustomKnowledgeBaseUrlAction:setCustomKnowledgeBaseUrl,setCustomDocsUrlAction:setCustomDocsUrl,updateSelectedTabAction:updateSelectedTab}});return{openKnowledgeBasePanel:e.openKnowledgeBasePanel.bind(e),openDocsPanel:e.openDocsPanel.bind(e)}}function dataCenter(){var e=new DataCenter$1;return{openImporterPanel:e.openImporterPanel.bind(e)}}function handleEvents(){function n(e){if(!e||"string"!=typeof e)throw new SdkError("Please provide a valid event name!");if(!SdkEvents[e])throw new SdkError("Unknown event: "+e)}return{on:function(e,t){n(e),sdkEventManager.on.call(sdkEventManager,e,t)},off:function(e){n(e),sdkEventManager.off.call(sdkEventManager,e)}}}const mountPanelForResponse=e=>mountPanelForResponse$1(e,store$4),aiwareEvents=handleEvents();window&&(window.aiWare_initTesting=()=>{window.aiWare_store=store$4,window.aiWare_theme={darkTheme:darkTheme$1,lightTheme:lightTheme$1}},window.aiware={init:init,auth:authHelpers,helpCenter:helpCenter(),dataCenter:dataCenter(),on:aiwareEvents.on,off:aiwareEvents.off,hidePanel:hidePanel,unmountPanel:unmountPanel,store:store$4,registry:registry,registerComponent:registerComponent,AvailableWidgets:AvailableWidgets,mountPanelAction:mountPanel$1,unmountPanelAction:unmountPanel$1,hidePanelAction:hidePanel$1,updatePanelMicroFrontendPropsAction:updatePanelMicroFrontendProps,setData:setData,mountWidget:mountWidget,mountPanel:mountPanel,mountPanelForResponse:mountPanelForResponse,unmountWidget:unmountWidget,version:"sdk_release_version",commit:"c76683557",releaseDate:"2023-08-15T01:58:09.517Z"});export{createAction as $,AIWareIntlProvider as A,Box$1 as B,authErrorMessage as C,FormControl$1 as D,TextField$1 as E,FormattedMessage$1 as F,Grid$1 as G,classNames as H,resetPasswordRequest as I,InputLabel$1 as J,InputAdornment$1 as K,LoadingButton$1 as L,IconButton$1 as M,Select$1 as N,OutlinedInput$1 as O,Provider$2 as P,Location as Q,Routes as R,Switch$1 as S,Typography$1 as T,MenuItem$1 as U,Button$1 as V,Divider$1 as W,createTheme$1 as X,systemStyled as Y,useThemeProps$1 as Z,_extends$3 as _,generateUtilityClasses as a,default_1 as a$,createReducer as a0,createSlice as a1,ENGINE_OWNER_TYPES as a2,ENGINE_FILTER_TYPES as a3,DynamicModuleLoader as a4,preferredLanguageSelector as a5,baseUrlSelector as a6,rootApiSelector as a7,sessionTokenSelector as a8,graphEndpointSelector as a9,call$i as aA,fetchTemplateGallery as aB,isRevisionsExistOnServerRequest as aC,FormLabel$1 as aD,default_1$d as aE,FormGroup$1 as aF,FormControlLabel$1 as aG,Checkbox$1 as aH,fetchTemplateGalleryFallback as aI,Card$1 as aJ,CardContent$1 as aK,img$n as aL,CardActions$1 as aM,flowStyles as aN,NoResults as aO,CircularProgress$1 as aP,img$d as aQ,Dialog$1 as aR,setApiEndpoint as aS,TableContainer$1 as aT,Table$1 as aU,TableHead$1 as aV,TableRow$1 as aW,TableCell$1 as aX,TableSortLabel$1 as aY,TableBody$1 as aZ,img$i as a_,controllerNodeRedImageSelector as aa,controllerUrlSelector as ab,automateControllerUrlSelector as ac,flowCenterDialogSelector as ad,automateUrlSelector as ae,Portal$1 as af,flowCenterDialogReducer as ag,List$2 as ah,ListItem$1 as ai,ListItemIcon$1 as aj,ListItemText$1 as ak,flowCenterDialogAction as al,all as am,img$p as an,img$q as ao,img$s as ap,img$t as aq,Tooltip$1 as ar,img$j as as,img$I as at,Skeleton$1 as au,takeLatest$1 as av,fetchAllTags as aw,put as ax,select as ay,fetchFlows as az,styled$1 as b,img$y as b$,Popper$1 as b0,ClickAwayListener as b1,Fade$1 as b2,img$u as b3,img$r as b4,img$S as b5,img$E as b6,DialogTitle$1 as b7,DialogContent$1 as b8,DialogActions$1 as b9,__generator$2 as bA,__spread as bB,React5 as bC,TransitionGroup$1 as bD,connect$1 as bE,Bookmark as bF,EngineFlagIcons as bG,createAsyncThunk as bH,withStyles as bI,getConfigModule as bJ,getAuthModule as bK,getSnackbarModule as bL,AIWareCacheProvider as bM,img$T as bN,img$f as bO,img$e as bP,isEmpty_1 as bQ,Backdrop$1 as bR,getDefaultMiddleware as bS,isNil_1 as bT,UpDown as bU,Icon$1 as bV,get_1 as bW,map_1 as bX,keys_1 as bY,RadioGroup$1 as bZ,Avatar$1 as b_,Snackbar$1 as ba,default_1$6 as bb,Search$1 as bc,img$k as bd,img$m as be,img$W as bf,Tabs$2 as bg,Tab$2 as bh,deleteEngine as bi,fetchEngine as bj,img$l as bk,AIWareFormatMessage as bl,FormattedDate as bm,fetchVeritoneGraphQLApi as bn,useTheme as bo,KeyboardArrowRight as bp,KeyboardArrowLeft as bq,useId as br,InputUnstyled as bs,isHostComponent as bt,getDefaultExportFromNamespaceIfNotNamed as bu,commonjsRequire as bv,reactDom as bw,Transition$1 as bx,_defineProperty$x as by,__awaiter$e as bz,Paper$1 as c,DynamicTable as c$,baseGraphQLApi as c0,FormHelperText$2 as c1,img$h as c2,StyledEngineProvider as c3,ThemeProvider as c4,lightTheme$1 as c5,CssBaseline as c6,Hide as c7,has_1 as c8,showMessage as c9,TabPanel as cA,default_1$8 as cB,unmountPanel$1 as cC,AvailableComponents as cD,delay$1 as cE,hidePanel$1 as cF,mountPanel$1 as cG,DialogContentText$1 as cH,userSelector$2 as cI,MoreVert$1 as cJ,Menu$1 as cK,Edit as cL,Upload as cM,Delete$1 as cN,CustomTabs as cO,useBackupImg as cP,img$1B as cQ,validate as cR,configSelector as cS,baseGraphQLApiWithError as cT,VerifiedFilled as cU,Add as cV,ExpandLess$1 as cW,ExpandMore$1 as cX,Collapse$1 as cY,img$18 as cZ,Filter$1 as c_,MessageSeverity as ca,Radio$2 as cb,createSvgIcon$2 as cc,_createCompounder as cd,_baseIteratee as ce,isArrayLike_1 as cf,toInteger_1 as cg,_typeof$D as ch,_assertThisInitialized$x as ci,_setPrototypeOf$z as cj,_toPropertyKey as ck,_inheritsLoose$2 as cl,hoistNonReactStatics_cjs as cm,commonjsGlobal$1 as cn,combineReducers as co,createSelector$1 as cp,fork as cq,statusPill as cr,AIWareThemeProvider$1 as cs,LocalizationProvider as ct,AdapterDateFns as cu,CalendarPicker as cv,Stack$4 as cw,Close$1 as cx,FullscreenExit as cy,Fullscreen as cz,capitalize$2 as d,eq_1 as d$,useTheme$3 as d0,getThemeProps as d1,useEnhancedEffect$3 as d2,React as d3,_arrayPush as d4,isArray_1 as d5,_baseToString as d6,_baseTrim as d7,_castSlice as d8,_stringToArray as d9,EngineClassIcons as dA,Mode2 as dB,EngineModeIcons as dC,DeploymentModelIcons as dD,ListSubheader$1 as dE,guid as dF,EditList as dG,Chip$1 as dH,useControlled$1 as dI,usePreviousProps$1 as dJ,useEventCallback as dK,setRef as dL,inputClasses$1 as dM,inputBaseClasses$1 as dN,outlinedInputClasses$1 as dO,filledInputClasses$1 as dP,alpha as dQ,ClearIcon as dR,ArrowDropDownIcon as dS,ButtonBase$1 as dT,isObject_1 as dU,_arrayMap as dV,_Symbol as dW,isArguments_1 as dX,_baseEach as dY,_arrayFilter as dZ,_getNative as d_,toString_1 as da,ReactIs as db,upperFirst_1 as dc,isString_1 as dd,_baseGet as de,_baseSlice as df,_castPath as dg,_toKey as dh,_isIndex as di,channel$1 as dj,useIntl as dk,VideoCamera as dl,Image$1 as dm,Sound as dn,Description as dp,toNumber_1 as dq,ProgressStepper as dr,size_1 as ds,take as dt,CurlyBraces as du,UnknownDocument as dv,VariableSizeList as dw,sdkEventManager as dx,SdkEvents as dy,SdkError as dz,_objectWithoutPropertiesLoose$2 as e,MoveFolder as e$,_root as e0,_Uint8Array as e1,_overArg as e2,_isPrototype as e3,isObjectLike_1 as e4,_baseGetTag as e5,_arrayLikeKeys as e6,isBuffer$4 as e7,isFunction_1 as e8,isTypedArray_1 as e9,EntityType as eA,generateState as eB,injectIntl as eC,ErrorBoundary$1 as eD,EPermissionAction as eE,Process as eF,Information as eG,Download as eH,NewFolder as eI,SpecialFolder as eJ,User as eK,Source as eL,Search$2 as eM,selectIsOLPEnabled as eN,ListItemSecondaryAction$1 as eO,getLibraryModule as eP,cmsUrlSelector as eQ,debounce_1 as eR,SearchStructuredData as eS,Grow$1 as eT,index as eU,betaFeaturesSelector as eV,actions as eW,hasPermission as eX,UserAddFilled as eY,Popover$1 as eZ,MenuList$1 as e_,_Stack as ea,_baseFor as eb,identity_1 as ec,_isIterateeCall as ed,isSymbol_1 as ee,_baseMap as ef,_baseUnary as eg,createBox$1 as eh,_Set as ei,_setToArray as ej,_SetCache as ek,_cacheHas as el,img$P as em,img$O as en,img$1x as eo,img$1w as ep,img$1v as eq,img$M as er,img$1z as es,img$L as et,authSelector as eu,ListItemAvatar$1 as ev,takeEvery$1 as ew,emphasize as ex,useSlotProps as ey,_arraySome as ez,clsx as f,LinearProgress$1 as f$,EAuthResourceType as f0,Slide$1 as f1,img$b as f2,selectApiConfigs$2 as f3,selectPanelByPanelName as f4,FullScreenContainer as f5,EngineCategoryIcons as f6,isPermissionLoading as f7,Settings$2 as f8,Hamburger as f9,Undefined as fA,PodcastSource as fB,YoutubeSource as fC,TVSource as fD,RadioSource as fE,selectOrgId as fF,navSectionStyles as fG,selectIsUserAdmin as fH,AvatarGroup$1 as fI,index$1 as fJ,ErrorState$2 as fK,Stepper$1 as fL,StepConnector$1 as fM,Step$1 as fN,StepLabel$1 as fO,isEqual_1 as fP,NullState$2 as fQ,Group as fR,PermissionChangedAction as fS,Lock as fT,useOrganizationPermissions as fU,EAuthSubResourceType as fV,AddGroup as fW,initialConfigSelector as fX,ConfirmationModal as fY,EnumHelpers as fZ,formatBytes as f_,List as fa,enginesFilter as fb,panelsSelector as fc,Badge$1 as fd,MoreHor as fe,convertEntityToAuthResource as ff,AutoSizer as fg,InfiniteLoader as fh,FixedSizeList as fi,selectUserOrgEdgeVersion as fj,EditAttributes as fk,gqlIntrospection as fl,ProcessingDetail as fm,img$x as fn,img$z as fo,img$5 as fp,FilterRemove as fq,AlarmTwo as fr,tableInfiniteScroll as fs,CheckCircle as ft,FolderOpen as fu,Voice as fv,useDoubleClick as fw,FolderFilled as fx,Time as fy,img$A as fz,generateUtilityClass as g,resetDuration as g$,NotInterested as g0,mountPanelForResponse$1 as g1,default_1$9 as g2,tableStyles as g3,ArrowDown as g4,ArrowUp as g5,useInterval as g6,Iam as g7,safeFormatMessage as g8,contextMenuStyles as g9,stubArray_1 as gA,_baseGetAllKeys as gB,_getTag as gC,_nodeUtil as gD,_getAllKeys as gE,_castFunction as gF,Article as gG,Task as gH,View as gI,_objectSpread2 as gJ,serialize as gK,stringify$2 as gL,compile as gM,isNumber_1 as gN,Check as gO,EngineIconsRenderer as gP,FormattedRelativeTime$1 as gQ,BottomQueue as gR,TopQueue as gS,Pause as gT,Cancel as gU,Folder as gV,Hidden as gW,dateRangeFilter as gX,statusFilter as gY,TableLoadingState as gZ,setDuration as g_,Users as ga,SecurityGroup as gb,getOrganizationPanelModule as gc,Lock2 as gd,EApplicationConfigLevel as ge,NoApps as gf,EApplicationConfigType as gg,green$1 as gh,md5 as gi,selectIsSuperAdmin as gj,organizations_selector as gk,actions$5 as gl,AddUser as gm,selectors as gn,LibraryDropdown as go,Remove as gp,Save as gq,Input$3 as gr,getElement as gs,client$1 as gt,Copy as gu,ArrowForward as gv,Modal$1 as gw,Slider$1 as gx,getDefaultExportFromCjs as gy,_getSymbols as gz,composeClasses as h,createStack as h0,toFinite_1 as h1,_baseForOwn as h2,_arrayReduce as h3,hasIn_1 as h4,now_1 as h5,useSyncExternalStoreExports as h6,Engines as h7,EngineComponentLoader as h8,imageUpload as h9,setData as hA,root as hB,mountWidget as hC,unmountWidget as hD,mountPanel as hE,unmountPanel as hF,hidePanel as hG,unmountAllPanel as hH,init as hI,aiwareEvents as hJ,characterCountTextField as ha,tabsClasses$1 as hb,Packages as hc,Resources$1 as hd,selectUserCanCreatePackage as he,PackagesAvatar as hf,actionChannel as hg,cancelled as hh,flush$3 as hi,cancel as hj,tableSearchComponents as hk,Node as hl,FlowCenter2 as hm,ArrowBack as hn,Schema as ho,FlowTemplate as hp,panelComponents as hq,img$4 as hr,img$w as hs,Clear as ht,ExpandLess as hu,ExpandMore as hv,registry as hw,registerComponent as hx,AvailableWidgets as hy,updatePanelMicroFrontendProps as hz,createSvgIcon$1 as i,jsxRuntime as j,interopRequireDefault as k,Route as l,makeStyles as m,useDispatch as n,useSelector as o,authStatusSelector as p,authContextSelector as q,react as r,store$4 as s,AuthContext as t,useThemeProps as u,lodash as v,Alert$1 as w,useNavigate as x,devErrorLogger as y,useLocation as z};
1518
+ `,l={entityId:t,entityType:e};try{a=yield baseGraphQLApi({query:s,operationName:n,variables:l,graphEndpoint:u,token:d})}catch(e){i=!0}if(a.errors){if(0===(o=a.errors.filter(({message:e})=>e.includes(' does not exist in "AuthPermissionType" enum.')).map(({message:e})=>{var t='Value "',n=e.substring(t.length).indexOf('"');return e.substring(t.length,t.length+n)})).length)throw i=!0,a={},new Error((null==(f=(a.errors||[])[0])?void 0:f.message)||"Error")}else i=!0}const c=a.data||{};return Object.keys(c).map(e=>{var t=e.split("__");return 3===t.length?{fetchedTargetEntityType:t[0],fetchedTargetGroupType:t[1],fetchedTargetAction:t[2],hasPermission:c[e][0].hasPermission}:{fetchedTargetEntityType:t[0],fetchedTargetAction:t[1],hasPermission:c[e][0].hasPermission}}).reduce((e,t)=>{var n=t.fetchedTargetGroupType||t.fetchedTargetEntityType;return t.hasPermission&&(e[n]||(e[n]={}),e[n][t.fetchedTargetAction]=t.hasPermission),e},{})})}function getMyRights(t){return __awaiter(this,void 0,void 0,function*(){var e="getMyRights";return(yield baseGraphQLApiWithError(Object.assign({query:"\n query getMyRights {\n myRights {\n operations\n }\n }\n ",operationName:e},t))).myRights.operations})}const selectPermissionsByEntity=(t,n,r)=>e=>{return t&&n&&(e=e[namespace].permissionsByObject[t])&&e[n]?e[n][r||t]:void 0},selectMyRights=e=>e[namespace].rights;var index=Object.freeze({__proto__:null,selectPermissionsByEntity:selectPermissionsByEntity,selectMyRights:selectMyRights});function*fetchObjectPermissions(t){var{entityId:t,entityType:n}=t.payload,i=yield select(selectApiConfigs$2),e=yield select(graphEndpointSelector),o=yield select(sessionTokenSelector),a=yield select(selectIsOLPEnabled),r=yield select(selectPermissionsByEntity(n,t));if(!r||"success"!==r.status&&"pending"!==r.status){yield put(actions.fetchObjectPermissionsStarted({entityId:t,entityType:n}));try{let r={};if(a)r=yield call$i(getObjectPermissions,e,o,{entityType:n,entityId:t});else{let e=yield select(selectMyRights);if("success"!==e.status&&"pending"!==e.status){yield put(actions.fetchMyRightsStarted);try{var s=yield call$i(getMyRights,i);yield put(actions.fetchMyRightsSucceeded(s)),e=yield select(selectMyRights)}catch(e){throw yield put(actions.fetchMyRightsFailed),e}}else"pending"===e.status&&(yield take([actions.fetchMyRightsFailed,actions.fetchMyRightsSucceeded]),e=yield select(selectMyRights));const l=e["myRights"];getPermissionTypesToQuery(n).forEach(n=>{var{action:e,resource:t}=n.targetActions.reduce((e,t)=>(e.action[t.targetAction]=convertPermissionsToRights(t.resource||n.targetObjectType,t.targetAction,l),e.resource=t.resource,e),{action:{}});r[t||n.targetObjectType]=e})}yield put(actions.fetchObjectPermissionsSucceeded({entityId:t,entityType:n,permissions:r}))}catch(e){actions.fetchObjectPermissionsFailed({entityId:t,entityType:n})}}}function*watchPermissionsStart(){yield takeEvery$1(actions.fetchObjectPermissionsStart.type,fetchObjectPermissions)}function*rootSaga(){yield all([watchPermissionsStart()])}function getPermissionsModule(){return{id:namespace,reducerMap:{[namespace]:permissionsReducer},sagas:[rootSaga],initialActions:[]}}const useOrganizationPermissions=e=>{const t=react.exports.useRef(),n=useDispatch(),r=null==(o=useSelector(userSelector$2).organization)?void 0:o.organizationId,i=useSelector(selectPermissionsByEntity(EAuthResourceType.Organization,String(r),e));react.exports.useEffect(()=>{!r||i&&"failure"!==i.status&&"idle"!==i.status&&t.current===r||(t.current=r,n(actions.fetchObjectPermissionsStart({entityType:EAuthResourceType.Organization,entityId:String(r)})))},[n,r,i]);var o=react.exports.useCallback(e=>{return!isPermissionLoading(i)&&hasPermission(i,e)},[i]);return{permissions:i,hasPermission:o}},rateLimiter=new RateLimiter,checkAndDecodeBase64String=t=>{if(null==t||!t.trim())return t;try{return window.btoa(window.atob(t))==t?window.atob(t):t}catch(e){return t}};function SnackbarRenderer(){return jsxRuntime.exports.jsx(Provider$2,Object.assign({store:store$4},{children:jsxRuntime.exports.jsx(DynamicModuleLoader,Object.assign({modules:[getSnackbarModule()]},{children:jsxRuntime.exports.jsx(CustomSnackbar,{})}))}))}store$4.addModules([getWidgetsModule(),getPanelsModule(registry,registryLookup),getDataModule(),getConfigModule(),getAuthModule(),getPermissionsModule()]);let hasLoaded=!1;const AppBarPreLoader=()=>{var e=useSelector(authSelector);return(null==(e=null==e?void 0:e.user)?void 0:e.token)&&!hasLoaded&&(hasLoaded=!0,setTimeout(()=>{store$4.addModules([getAppbarPanelModule()])},0)),null};function ApplicationDialogPreLoader(){var e=useSelector(authSelector);return(null==(e=null==e?void 0:e.user)?void 0:e.token)&&hasLoaded?jsxRuntime.exports.jsx(ApplicationDialog,{}):null}const authHelpers={updateToken(e){e?store$4.dispatch(updateTokenRequest({token:e})):console.error("[AiWARE JS]: Please provide a valid token!")},logout(e){"function"==typeof e?(e(),setTimeout(()=>{store$4.dispatch(logout())},1e3)):store$4.dispatch(logout())},reportAppActivity(e){rateLimiter.checkIfCanCall(e)&&store$4.dispatch(updateActivityStatus$1())}};function PortalRenderer(){return jsxRuntime.exports.jsxs(jsxRuntime.exports.Fragment,{children:[jsxRuntime.exports.jsx(SupportCenterPixel,{}),jsxRuntime.exports.jsx(Provider$2,Object.assign({store:store$4},{children:jsxRuntime.exports.jsx(AppBarPreLoader,{})}))]})}function ApplicationDialogRenderer(){return jsxRuntime.exports.jsx(jsxRuntime.exports.Fragment,{children:jsxRuntime.exports.jsx(Provider$2,Object.assign({store:store$4},{children:jsxRuntime.exports.jsx(AIWareIntlProvider,{children:jsxRuntime.exports.jsx(ApplicationDialogPreLoader,{})})}))})}const ThemeInitializer=()=>(useTheme(),null),root=getElement("aiWARE"),reactDOMroot=(root.classList.add("aiware-el"),client$1.createRoot(root)),mountWidget=("_auth"===window.name?handleImplicitRedirect(window.location.hash,window.opener):reactDOMroot.render(jsxRuntime.exports.jsx(AIWareCacheProvider,{children:jsxRuntime.exports.jsxs(AIWareThemeProvider$1,{children:[jsxRuntime.exports.jsx(PortalRenderer,{}),jsxRuntime.exports.jsx(SnackbarRenderer,{}),jsxRuntime.exports.jsx(ApplicationDialogRenderer,{}),jsxRuntime.exports.jsx(ThemeInitializer,{})]})})),(e,t)=>{var n=getUniqueID(),{name:e,elementId:r,config:i}=e;return e&&r&&i||console.error("[aiwarejs-error]: `mountWidget` function should include all the following params: name, elementId, config"),store$4.dispatch(mountWidget$1({elementId:r,widgetName:e,widgetConfig:i,widgetId:n,onComplete:t})),n}),unmountWidget=e=>(store$4.dispatch(unmountWidget$1(e)),!0),mountPanel=(e,t)=>{const n=e.panelId||getUniqueID();var{microFrontend:e,panelConfig:r}=e;store$4.dispatch(mountPanel$1({microFrontend:e,panelId:n,panelConfig:r}));const i=[...(null==(e=null==r?void 0:r.header)?void 0:e.actions)||[],...(null==(e=null==r?void 0:r.footer)?void 0:e.actions)||[]].filter(e=>e.submit).map(e=>e.action);r={id:n,sagas:[function*(){yield takeEvery$1(i.map(e=>e.type),function*(){var e=(yield select(e=>e.data.find(e=>e.id===n)))["data"];t&&t(e)})}]};return store$4.addModule(r),n},unmountPanel=e=>(store$4.dispatch(unmountPanel$1(e)),!0),hidePanel=e=>(store$4.dispatch(hidePanel$1(e)),!0),unmountAllPanel=()=>{store$4.dispatch(unmountAllPanel$1(""))};function init(e,t){var n,e=validateConfig(e);e?(n=e["authToken"],n=checkAndDecodeBase64String(n||""),store$4.dispatch(getInitConfig(Object.assign(Object.assign({},e),{authToken:n,onComplete:t})))):console.error("@aiware/js initialization failed. Please pass valid configuration object.")}function helpCenter(){var e=new HelpCenter$2({actions:{setCustomKnowledgeBaseUrlAction:setCustomKnowledgeBaseUrl,setCustomDocsUrlAction:setCustomDocsUrl,updateSelectedTabAction:updateSelectedTab}});return{openKnowledgeBasePanel:e.openKnowledgeBasePanel.bind(e),openDocsPanel:e.openDocsPanel.bind(e)}}function dataCenter(){var e=new DataCenter$1;return{openImporterPanel:e.openImporterPanel.bind(e)}}function handleEvents(){function n(e){if(!e||"string"!=typeof e)throw new SdkError("Please provide a valid event name!");if(!SdkEvents[e])throw new SdkError("Unknown event: "+e)}return{on:function(e,t){n(e),sdkEventManager.on.call(sdkEventManager,e,t)},off:function(e){n(e),sdkEventManager.off.call(sdkEventManager,e)}}}const mountPanelForResponse=e=>mountPanelForResponse$1(e,store$4),aiwareEvents=handleEvents();window&&(window.aiWare_initTesting=()=>{window.aiWare_store=store$4,window.aiWare_theme={darkTheme:darkTheme$1,lightTheme:lightTheme$1}},window.aiware={init:init,auth:authHelpers,helpCenter:helpCenter(),dataCenter:dataCenter(),on:aiwareEvents.on,off:aiwareEvents.off,hidePanel:hidePanel,unmountPanel:unmountPanel,store:store$4,registry:registry,registerComponent:registerComponent,AvailableWidgets:AvailableWidgets,mountPanelAction:mountPanel$1,unmountPanelAction:unmountPanel$1,hidePanelAction:hidePanel$1,updatePanelMicroFrontendPropsAction:updatePanelMicroFrontendProps,setData:setData,mountWidget:mountWidget,mountPanel:mountPanel,mountPanelForResponse:mountPanelForResponse,unmountWidget:unmountWidget,version:"sdk_release_version",commit:"8476b8992",releaseDate:"2023-08-15T06:17:49.445Z"});export{createAction as $,AIWareIntlProvider as A,Box$1 as B,authErrorMessage as C,FormControl$1 as D,TextField$1 as E,FormattedMessage$1 as F,Grid$1 as G,classNames as H,resetPasswordRequest as I,InputLabel$1 as J,InputAdornment$1 as K,LoadingButton$1 as L,IconButton$1 as M,Select$1 as N,OutlinedInput$1 as O,Provider$2 as P,Location as Q,Routes as R,Switch$1 as S,Typography$1 as T,MenuItem$1 as U,Button$1 as V,Divider$1 as W,createTheme$1 as X,systemStyled as Y,useThemeProps$1 as Z,_extends$3 as _,generateUtilityClasses as a,default_1 as a$,createReducer as a0,createSlice as a1,ENGINE_OWNER_TYPES as a2,ENGINE_FILTER_TYPES as a3,DynamicModuleLoader as a4,preferredLanguageSelector as a5,baseUrlSelector as a6,rootApiSelector as a7,sessionTokenSelector as a8,graphEndpointSelector as a9,call$i as aA,fetchTemplateGallery as aB,isRevisionsExistOnServerRequest as aC,FormLabel$1 as aD,default_1$d as aE,FormGroup$1 as aF,FormControlLabel$1 as aG,Checkbox$1 as aH,fetchTemplateGalleryFallback as aI,Card$1 as aJ,CardContent$1 as aK,img$n as aL,CardActions$1 as aM,flowStyles as aN,NoResults as aO,CircularProgress$1 as aP,img$d as aQ,Dialog$1 as aR,setApiEndpoint as aS,TableContainer$1 as aT,Table$1 as aU,TableHead$1 as aV,TableRow$1 as aW,TableCell$1 as aX,TableSortLabel$1 as aY,TableBody$1 as aZ,img$i as a_,controllerNodeRedImageSelector as aa,controllerUrlSelector as ab,automateControllerUrlSelector as ac,flowCenterDialogSelector as ad,automateUrlSelector as ae,Portal$1 as af,flowCenterDialogReducer as ag,List$2 as ah,ListItem$1 as ai,ListItemIcon$1 as aj,ListItemText$1 as ak,flowCenterDialogAction as al,all as am,img$p as an,img$q as ao,img$s as ap,img$t as aq,Tooltip$1 as ar,img$j as as,img$I as at,Skeleton$1 as au,takeLatest$1 as av,fetchAllTags as aw,put as ax,select as ay,fetchFlows as az,styled$1 as b,img$y as b$,Popper$1 as b0,ClickAwayListener as b1,Fade$1 as b2,img$u as b3,img$r as b4,img$S as b5,img$E as b6,DialogTitle$1 as b7,DialogContent$1 as b8,DialogActions$1 as b9,__generator$2 as bA,__spread as bB,React5 as bC,TransitionGroup$1 as bD,connect$1 as bE,Bookmark as bF,EngineFlagIcons as bG,createAsyncThunk as bH,withStyles as bI,getConfigModule as bJ,getAuthModule as bK,getSnackbarModule as bL,AIWareCacheProvider as bM,img$T as bN,img$f as bO,img$e as bP,isEmpty_1 as bQ,Backdrop$1 as bR,getDefaultMiddleware as bS,isNil_1 as bT,UpDown as bU,Icon$1 as bV,get_1 as bW,map_1 as bX,keys_1 as bY,RadioGroup$1 as bZ,Avatar$1 as b_,Snackbar$1 as ba,default_1$6 as bb,Search$1 as bc,img$k as bd,img$m as be,img$W as bf,Tabs$2 as bg,Tab$2 as bh,deleteEngine as bi,fetchEngine as bj,img$l as bk,AIWareFormatMessage as bl,FormattedDate as bm,fetchVeritoneGraphQLApi as bn,useTheme as bo,KeyboardArrowRight as bp,KeyboardArrowLeft as bq,useId as br,InputUnstyled as bs,isHostComponent as bt,getDefaultExportFromNamespaceIfNotNamed as bu,commonjsRequire as bv,reactDom as bw,Transition$1 as bx,_defineProperty$x as by,__awaiter$e as bz,Paper$1 as c,DynamicTable as c$,baseGraphQLApi as c0,FormHelperText$2 as c1,img$h as c2,StyledEngineProvider as c3,ThemeProvider as c4,lightTheme$1 as c5,CssBaseline as c6,Hide as c7,has_1 as c8,showMessage as c9,TabPanel as cA,default_1$8 as cB,unmountPanel$1 as cC,AvailableComponents as cD,delay$1 as cE,hidePanel$1 as cF,mountPanel$1 as cG,DialogContentText$1 as cH,userSelector$2 as cI,MoreVert$1 as cJ,Menu$1 as cK,Edit as cL,Upload as cM,Delete$1 as cN,CustomTabs as cO,useBackupImg as cP,img$1B as cQ,validate as cR,configSelector as cS,baseGraphQLApiWithError as cT,VerifiedFilled as cU,Add as cV,ExpandLess$1 as cW,ExpandMore$1 as cX,Collapse$1 as cY,img$18 as cZ,Filter$1 as c_,MessageSeverity as ca,Radio$2 as cb,createSvgIcon$2 as cc,_createCompounder as cd,_baseIteratee as ce,isArrayLike_1 as cf,toInteger_1 as cg,_typeof$D as ch,_assertThisInitialized$x as ci,_setPrototypeOf$z as cj,_toPropertyKey as ck,_inheritsLoose$2 as cl,hoistNonReactStatics_cjs as cm,commonjsGlobal$1 as cn,combineReducers as co,createSelector$1 as cp,fork as cq,statusPill as cr,AIWareThemeProvider$1 as cs,LocalizationProvider as ct,AdapterDateFns as cu,CalendarPicker as cv,Stack$4 as cw,Close$1 as cx,FullscreenExit as cy,Fullscreen as cz,capitalize$2 as d,eq_1 as d$,useTheme$3 as d0,getThemeProps as d1,useEnhancedEffect$3 as d2,React as d3,_arrayPush as d4,isArray_1 as d5,_baseToString as d6,_baseTrim as d7,_castSlice as d8,_stringToArray as d9,EngineClassIcons as dA,Mode2 as dB,EngineModeIcons as dC,DeploymentModelIcons as dD,ListSubheader$1 as dE,guid as dF,EditList as dG,Chip$1 as dH,useControlled$1 as dI,usePreviousProps$1 as dJ,useEventCallback as dK,setRef as dL,inputClasses$1 as dM,inputBaseClasses$1 as dN,outlinedInputClasses$1 as dO,filledInputClasses$1 as dP,alpha as dQ,ClearIcon as dR,ArrowDropDownIcon as dS,ButtonBase$1 as dT,isObject_1 as dU,_arrayMap as dV,_Symbol as dW,isArguments_1 as dX,_baseEach as dY,_arrayFilter as dZ,_getNative as d_,toString_1 as da,ReactIs as db,upperFirst_1 as dc,isString_1 as dd,_baseGet as de,_baseSlice as df,_castPath as dg,_toKey as dh,_isIndex as di,channel$1 as dj,useIntl as dk,VideoCamera as dl,Image$1 as dm,Sound as dn,Description as dp,toNumber_1 as dq,ProgressStepper as dr,size_1 as ds,take as dt,CurlyBraces as du,UnknownDocument as dv,VariableSizeList as dw,sdkEventManager as dx,SdkEvents as dy,SdkError as dz,_objectWithoutPropertiesLoose$2 as e,MoveFolder as e$,_root as e0,_Uint8Array as e1,_overArg as e2,_isPrototype as e3,isObjectLike_1 as e4,_baseGetTag as e5,_arrayLikeKeys as e6,isBuffer$4 as e7,isFunction_1 as e8,isTypedArray_1 as e9,EntityType as eA,generateState as eB,injectIntl as eC,ErrorBoundary$1 as eD,EPermissionAction as eE,Process as eF,Information as eG,Download as eH,NewFolder as eI,SpecialFolder as eJ,User as eK,Source as eL,Search$2 as eM,selectIsOLPEnabled as eN,ListItemSecondaryAction$1 as eO,getLibraryModule as eP,cmsUrlSelector as eQ,debounce_1 as eR,SearchStructuredData as eS,Grow$1 as eT,index as eU,betaFeaturesSelector as eV,actions as eW,hasPermission as eX,UserAddFilled as eY,Popover$1 as eZ,MenuList$1 as e_,_Stack as ea,_baseFor as eb,identity_1 as ec,_isIterateeCall as ed,isSymbol_1 as ee,_baseMap as ef,_baseUnary as eg,createBox$1 as eh,_Set as ei,_setToArray as ej,_SetCache as ek,_cacheHas as el,img$P as em,img$O as en,img$1x as eo,img$1w as ep,img$1v as eq,img$M as er,img$1z as es,img$L as et,authSelector as eu,ListItemAvatar$1 as ev,takeEvery$1 as ew,emphasize as ex,useSlotProps as ey,_arraySome as ez,clsx as f,LinearProgress$1 as f$,EAuthResourceType as f0,Slide$1 as f1,img$b as f2,selectApiConfigs$2 as f3,selectPanelByPanelName as f4,FullScreenContainer as f5,EngineCategoryIcons as f6,isPermissionLoading as f7,Settings$2 as f8,Hamburger as f9,Undefined as fA,PodcastSource as fB,YoutubeSource as fC,TVSource as fD,RadioSource as fE,selectOrgId as fF,navSectionStyles as fG,selectIsUserAdmin as fH,AvatarGroup$1 as fI,index$1 as fJ,ErrorState$2 as fK,Stepper$1 as fL,StepConnector$1 as fM,Step$1 as fN,StepLabel$1 as fO,isEqual_1 as fP,NullState$2 as fQ,Group as fR,PermissionChangedAction as fS,Lock as fT,useOrganizationPermissions as fU,EAuthSubResourceType as fV,AddGroup as fW,initialConfigSelector as fX,ConfirmationModal as fY,EnumHelpers as fZ,formatBytes as f_,List as fa,enginesFilter as fb,panelsSelector as fc,Badge$1 as fd,MoreHor as fe,convertEntityToAuthResource as ff,AutoSizer as fg,InfiniteLoader as fh,FixedSizeList as fi,selectUserOrgEdgeVersion as fj,EditAttributes as fk,gqlIntrospection as fl,ProcessingDetail as fm,img$x as fn,img$z as fo,img$5 as fp,FilterRemove as fq,AlarmTwo as fr,tableInfiniteScroll as fs,CheckCircle as ft,FolderOpen as fu,Voice as fv,useDoubleClick as fw,FolderFilled as fx,Time as fy,img$A as fz,generateUtilityClass as g,resetDuration as g$,NotInterested as g0,mountPanelForResponse$1 as g1,default_1$9 as g2,tableStyles as g3,ArrowDown as g4,ArrowUp as g5,useInterval as g6,Iam as g7,safeFormatMessage as g8,contextMenuStyles as g9,stubArray_1 as gA,_baseGetAllKeys as gB,_getTag as gC,_nodeUtil as gD,_getAllKeys as gE,_castFunction as gF,Article as gG,Task as gH,View as gI,_objectSpread2 as gJ,serialize as gK,stringify$2 as gL,compile as gM,isNumber_1 as gN,Check as gO,EngineIconsRenderer as gP,FormattedRelativeTime$1 as gQ,BottomQueue as gR,TopQueue as gS,Pause as gT,Cancel as gU,Folder as gV,Hidden as gW,dateRangeFilter as gX,statusFilter as gY,TableLoadingState as gZ,setDuration as g_,Users as ga,SecurityGroup as gb,getOrganizationPanelModule as gc,Lock2 as gd,EApplicationConfigLevel as ge,NoApps as gf,EApplicationConfigType as gg,green$1 as gh,md5 as gi,selectIsSuperAdmin as gj,organizations_selector as gk,actions$5 as gl,AddUser as gm,selectors as gn,LibraryDropdown as go,Remove as gp,Save as gq,Input$3 as gr,getElement as gs,client$1 as gt,Copy as gu,ArrowForward as gv,Modal$1 as gw,Slider$1 as gx,getDefaultExportFromCjs as gy,_getSymbols as gz,composeClasses as h,createStack as h0,toFinite_1 as h1,_baseForOwn as h2,_arrayReduce as h3,hasIn_1 as h4,now_1 as h5,useSyncExternalStoreExports as h6,Engines as h7,EngineComponentLoader as h8,imageUpload as h9,setData as hA,root as hB,mountWidget as hC,unmountWidget as hD,mountPanel as hE,unmountPanel as hF,hidePanel as hG,unmountAllPanel as hH,init as hI,aiwareEvents as hJ,characterCountTextField as ha,tabsClasses$1 as hb,Packages as hc,Resources$1 as hd,selectUserCanCreatePackage as he,PackagesAvatar as hf,actionChannel as hg,cancelled as hh,flush$3 as hi,cancel as hj,tableSearchComponents as hk,FlowTemplate as hl,Node as hm,FlowCenter2 as hn,ArrowBack as ho,Schema as hp,panelComponents as hq,img$4 as hr,img$w as hs,Clear as ht,ExpandLess as hu,ExpandMore as hv,registry as hw,registerComponent as hx,AvailableWidgets as hy,updatePanelMicroFrontendProps as hz,createSvgIcon$1 as i,jsxRuntime as j,interopRequireDefault as k,Route as l,makeStyles as m,useDispatch as n,useSelector as o,authStatusSelector as p,authContextSelector as q,react as r,store$4 as s,AuthContext as t,useThemeProps as u,lodash as v,Alert$1 as w,useNavigate as x,devErrorLogger as y,useLocation as z};
package/js-core.esm.js.gz CHANGED
Binary file