aiware-js 1.0.0-master.826 → 1.0.0-master.827

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.
Files changed (152) hide show
  1. package/index.esm.js +1 -1
  2. package/index.esm.js.gz +0 -0
  3. package/js-core.esm.js +1 -1
  4. package/js-core.esm.js.gz +0 -0
  5. package/js-core.esm10.js +1 -1
  6. package/js-core.esm10.js.gz +0 -0
  7. package/js-core.esm11.js +1 -1
  8. package/js-core.esm11.js.gz +0 -0
  9. package/js-core.esm13.js +3 -3
  10. package/js-core.esm13.js.gz +0 -0
  11. package/js-core.esm16.js +1 -1
  12. package/js-core.esm16.js.gz +0 -0
  13. package/js-core.esm17.js +1 -1
  14. package/js-core.esm17.js.gz +0 -0
  15. package/js-core.esm18.js +1 -1
  16. package/js-core.esm18.js.gz +0 -0
  17. package/js-core.esm19.js +1 -1
  18. package/js-core.esm19.js.gz +0 -0
  19. package/js-core.esm20.js +1 -1
  20. package/js-core.esm20.js.gz +0 -0
  21. package/js-core.esm21.js +1 -1
  22. package/js-core.esm21.js.gz +0 -0
  23. package/js-core.esm22.js +1 -1
  24. package/js-core.esm22.js.gz +0 -0
  25. package/js-core.esm23.js +2 -2
  26. package/js-core.esm23.js.gz +0 -0
  27. package/js-core.esm24.js +1 -1
  28. package/js-core.esm24.js.gz +0 -0
  29. package/js-core.esm26.js +1 -1
  30. package/js-core.esm26.js.gz +0 -0
  31. package/js-core.esm27.js +1 -1
  32. package/js-core.esm27.js.gz +0 -0
  33. package/js-core.esm28.js +1 -1
  34. package/js-core.esm28.js.gz +0 -0
  35. package/js-core.esm29.js +1 -1
  36. package/js-core.esm29.js.gz +0 -0
  37. package/js-core.esm30.js +1 -1
  38. package/js-core.esm30.js.gz +0 -0
  39. package/js-core.esm32.js +1 -1
  40. package/js-core.esm32.js.gz +0 -0
  41. package/js-core.esm33.js +1 -1
  42. package/js-core.esm33.js.gz +0 -0
  43. package/js-core.esm34.js +1 -1
  44. package/js-core.esm34.js.gz +0 -0
  45. package/js-core.esm35.js +2 -2
  46. package/js-core.esm35.js.gz +0 -0
  47. package/js-core.esm36.js +1 -1
  48. package/js-core.esm36.js.gz +0 -0
  49. package/js-core.esm37.js +1 -1
  50. package/js-core.esm37.js.gz +0 -0
  51. package/js-core.esm38.js +1 -1
  52. package/js-core.esm38.js.gz +0 -0
  53. package/js-core.esm39.js +1 -1
  54. package/js-core.esm39.js.gz +0 -0
  55. package/js-core.esm4.js +2 -2
  56. package/js-core.esm4.js.gz +0 -0
  57. package/js-core.esm40.js +1 -1
  58. package/js-core.esm40.js.gz +0 -0
  59. package/js-core.esm41.js +1 -1
  60. package/js-core.esm41.js.gz +0 -0
  61. package/js-core.esm42.js +1 -1
  62. package/js-core.esm42.js.gz +0 -0
  63. package/js-core.esm43.js +1 -1
  64. package/js-core.esm43.js.gz +0 -0
  65. package/js-core.esm44.js +1 -1
  66. package/js-core.esm44.js.gz +0 -0
  67. package/js-core.esm45.js +1 -1
  68. package/js-core.esm45.js.gz +0 -0
  69. package/js-core.esm46.js +1 -1
  70. package/js-core.esm46.js.gz +0 -0
  71. package/js-core.esm47.js +1 -1
  72. package/js-core.esm47.js.gz +0 -0
  73. package/js-core.esm48.js +1 -1
  74. package/js-core.esm48.js.gz +0 -0
  75. package/js-core.esm49.js +1 -1
  76. package/js-core.esm49.js.gz +0 -0
  77. package/js-core.esm50.js +1 -1
  78. package/js-core.esm50.js.gz +0 -0
  79. package/js-core.esm51.js +2 -2
  80. package/js-core.esm51.js.gz +0 -0
  81. package/js-core.esm52.js +1 -1
  82. package/js-core.esm52.js.gz +0 -0
  83. package/js-core.esm53.js +1 -1
  84. package/js-core.esm53.js.gz +0 -0
  85. package/js-core.esm54.js +2 -2
  86. package/js-core.esm54.js.gz +0 -0
  87. package/js-core.esm55.js +1 -1
  88. package/js-core.esm55.js.gz +0 -0
  89. package/js-core.esm56.js +1 -1
  90. package/js-core.esm56.js.gz +0 -0
  91. package/js-core.esm57.js +1 -1
  92. package/js-core.esm57.js.gz +0 -0
  93. package/js-core.esm58.js +2 -2
  94. package/js-core.esm58.js.gz +0 -0
  95. package/js-core.esm59.js +1 -1
  96. package/js-core.esm59.js.gz +0 -0
  97. package/js-core.esm60.js +1 -1
  98. package/js-core.esm60.js.gz +0 -0
  99. package/js-core.esm61.js +1 -1
  100. package/js-core.esm61.js.gz +0 -0
  101. package/js-core.esm62.js +1 -1
  102. package/js-core.esm62.js.gz +0 -0
  103. package/js-core.esm63.js +1 -1
  104. package/js-core.esm63.js.gz +0 -0
  105. package/js-core.esm65.js +1 -1
  106. package/js-core.esm65.js.gz +0 -0
  107. package/js-core.esm66.js +1 -1
  108. package/js-core.esm66.js.gz +0 -0
  109. package/js-core.esm68.js +1 -1
  110. package/js-core.esm68.js.gz +0 -0
  111. package/js-core.esm69.js +1 -1
  112. package/js-core.esm69.js.gz +0 -0
  113. package/js-core.esm70.js +1 -1
  114. package/js-core.esm70.js.gz +0 -0
  115. package/js-core.esm72.js +1 -1
  116. package/js-core.esm72.js.gz +0 -0
  117. package/js-core.esm74.js +1 -1
  118. package/js-core.esm74.js.gz +0 -0
  119. package/js-core.esm76.js +1 -1
  120. package/js-core.esm76.js.gz +0 -0
  121. package/js-core.esm77.js +1 -1
  122. package/js-core.esm77.js.gz +0 -0
  123. package/js-core.esm78.js +1 -1
  124. package/js-core.esm78.js.gz +0 -0
  125. package/js-core.esm79.js +1 -1
  126. package/js-core.esm79.js.gz +0 -0
  127. package/js-core.esm8.js +1 -1
  128. package/js-core.esm8.js.gz +0 -0
  129. package/js-core.esm80.js +1 -1
  130. package/js-core.esm80.js.gz +0 -0
  131. package/js-core.esm81.js +1 -1
  132. package/js-core.esm81.js.gz +0 -0
  133. package/js-core.esm82.js +1 -1
  134. package/js-core.esm82.js.gz +0 -0
  135. package/js-core.esm83.js +1 -1
  136. package/js-core.esm83.js.gz +0 -0
  137. package/js-core.esm84.js +1 -1
  138. package/js-core.esm84.js.gz +0 -0
  139. package/js-core.esm85.js +1 -1
  140. package/js-core.esm85.js.gz +0 -0
  141. package/js-core.esm86.js +1 -1
  142. package/js-core.esm86.js.gz +0 -0
  143. package/js-core.esm87.js +1 -1
  144. package/js-core.esm87.js.gz +0 -0
  145. package/js-core.esm9.js +1 -1
  146. package/js-core.esm9.js.gz +0 -0
  147. package/js-core.umd.js +131 -131
  148. package/js-core.umd.js.gz +0 -0
  149. package/locales/en.json +1 -1
  150. package/locales/es.json +1 -1
  151. package/locales/fr.json +1 -1
  152. package/package.json +1 -1
package/index.esm.js CHANGED
@@ -1 +1 @@
1
- export{hV as AvailableWidgets,i4 as aiwareEvents,i1 as hidePanel,d4 as hidePanelAction,i3 as init,h$ as mountPanel,d5 as mountPanelAction,hZ as mountWidget,hU as registerComponent,hT as registry,hY as root,hX as setData,s as store,i2 as unmountAllPanel,i0 as unmountPanel,d1 as unmountPanelAction,h_ as unmountWidget,hW as updatePanelMicroFrontendPropsAction}from"./js-core.esm.js";
1
+ export{hW as AvailableWidgets,i5 as aiwareEvents,i2 as hidePanel,d5 as hidePanelAction,i4 as init,i0 as mountPanel,d6 as mountPanelAction,h_ as mountWidget,hV as registerComponent,hU as registry,hZ as root,hY as setData,s as store,i3 as unmountAllPanel,i1 as unmountPanel,d2 as unmountPanelAction,h$ as unmountWidget,hX as updatePanelMicroFrontendPropsAction}from"./js-core.esm.js";
package/index.esm.js.gz CHANGED
Binary file
package/js-core.esm.js CHANGED
@@ -1528,4 +1528,4 @@ createScheduledJob(input:{
1528
1528
  }
1529
1529
  `)}),n},[]).join("\r\n")}
1530
1530
  }
1531
- `,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$j(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$j(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$2([watchPermissionsStart()])}function getPermissionsModule(){return{id:namespace,reducerMap:{[namespace]:permissionsReducer},sagas:[rootSaga],initialActions:[]}}const useOrganizationPermissions=e=>{const t=react$1.exports.useRef(),n=useDispatch(),r=null==(o=useSelector(userSelector$2).organization)?void 0:o.organizationId,i=useSelector(selectPermissionsByEntity(EAuthResourceType.Organization,String(r),e));react$1.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$1.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$5},{children:jsxRuntime.exports.jsx(DynamicModuleLoader,Object.assign({modules:[getSnackbarModule()]},{children:jsxRuntime.exports.jsx(CustomSnackbar,{})}))}))}store$5.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$5.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$5.dispatch(updateTokenRequest({token:e})):console.error("[AiWARE JS]: Please provide a valid token!")},logout(e){"function"==typeof e?(e(),setTimeout(()=>{store$5.dispatch(logout())},1e3)):store$5.dispatch(logout())},reportAppActivity(e){rateLimiter.checkIfCanCall(e)&&store$5.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$5},{children:jsxRuntime.exports.jsx(AppBarPreLoader,{})}))]})}function ApplicationDialogRenderer(){return jsxRuntime.exports.jsx(jsxRuntime.exports.Fragment,{children:jsxRuntime.exports.jsx(Provider$2,Object.assign({store:store$5},{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$5.dispatch(mountWidget$1({elementId:r,widgetName:e,widgetConfig:i,widgetId:n,onComplete:t})),n}),unmountWidget=e=>(store$5.dispatch(unmountWidget$1(e)),!0),mountPanel=(e,t)=>{const n=e.panelId||getUniqueID();var{microFrontend:e,panelConfig:r}=e;store$5.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$5.addModule(r),n},unmountPanel=e=>(store$5.dispatch(unmountPanel$1(e)),!0),hidePanel=e=>(store$5.dispatch(hidePanel$1(e)),!0),unmountAllPanel=()=>{store$5.dispatch(unmountAllPanel$1(""))};function init(e,t){var n,e=validateConfig(e);e?(n=e["authToken"],n=checkAndDecodeBase64String(n||""),store$5.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$5),aiwareEvents=handleEvents();window&&(window.aiWare_initTesting=()=>{window.aiWare_store=store$5,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$5,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:"0054491ee",releaseDate:"2023-09-05T16:25:48.896Z"});export{Select$1 as $,AIWareIntlProvider as A,Box$1 as B,devErrorLogger as C,useLocation as D,DynamicModuleLoader as E,FormattedMessage$1 as F,Button$1 as G,useSearchParams as H,img$5 as I,StyledEngineProvider as J,LoadingButton$1 as K,LinearProgress$1 as L,authErrorMessage as M,Grid$1 as N,FormControl$1 as O,Provider$2 as P,TextField$1 as Q,Routes as R,Switch$1 as S,Typography$1 as T,classNames as U,resetPasswordRequest as V,InputLabel$1 as W,OutlinedInput$1 as X,InputAdornment$1 as Y,IconButton$1 as Z,_extends$3 as _,generateUtilityClasses as a,takeLatest$1 as a$,Location as a0,MenuItem$1 as a1,Divider$1 as a2,enableBetaFeatures as a3,Popover$1 as a4,all$2 as a5,CheckmarkFilled as a6,Bullet as a7,debounce_1 as a8,takeEvery$1 as a9,ENGINE_OWNER_TYPES as aA,ENGINE_FILTER_TYPES as aB,preferredLanguageSelector as aC,baseUrlSelector as aD,rootApiSelector as aE,sessionTokenSelector as aF,graphEndpointSelector as aG,controllerNodeRedImageSelector as aH,controllerUrlSelector as aI,automateControllerUrlSelector as aJ,flowCenterDialogSelector as aK,automateUrlSelector as aL,Portal$1 as aM,flowCenterDialogReducer as aN,List$2 as aO,ListItem$1 as aP,ListItemIcon$1 as aQ,ListItemText$1 as aR,flowCenterDialogAction as aS,img$q as aT,img$r as aU,img$t as aV,img$u as aW,Tooltip$1 as aX,img$k as aY,img$J as aZ,Skeleton$1 as a_,select as aa,call$j as ab,put as ac,showMessage as ad,MessageSeverity as ae,createTheme$1 as af,systemStyled as ag,useThemeProps$1 as ah,useId as ai,useControlled$1 as aj,usePreviousProps$1 as ak,useEventCallback as al,setRef as am,inputClasses$1 as an,inputBaseClasses$1 as ao,outlinedInputClasses$1 as ap,filledInputClasses$1 as aq,Popper$1 as ar,alpha as as,ListSubheader$1 as at,ClearIcon as au,ArrowDropDownIcon as av,Chip$1 as aw,createBox$1 as ax,createAction as ay,createReducer as az,styled$1 as b,__generator$2 as b$,fetchAllTags as b0,fetchFlows as b1,fetchTemplateGallery as b2,isRevisionsExistOnServerRequest as b3,FormLabel$1 as b4,default_1$e as b5,FormGroup$1 as b6,FormControlLabel$1 as b7,Checkbox$1 as b8,fetchTemplateGalleryFallback as b9,DialogContent$1 as bA,DialogActions$1 as bB,Snackbar$1 as bC,default_1$6 as bD,Search$1 as bE,img$l as bF,img$n as bG,img$X as bH,Tabs$2 as bI,Tab$2 as bJ,deleteEngine as bK,fetchEngine as bL,img$m as bM,AIWareFormatMessage as bN,FormattedDate as bO,fetchVeritoneGraphQLApi as bP,useTheme as bQ,KeyboardArrowRight as bR,KeyboardArrowLeft as bS,InputUnstyled as bT,isHostComponent as bU,getDefaultExportFromNamespaceIfNotNamed as bV,commonjsRequire as bW,reactDom as bX,Transition$1 as bY,_defineProperty$x as bZ,__awaiter$e as b_,Card$1 as ba,CardContent$1 as bb,img$o as bc,CardActions$1 as bd,flowStyles as be,NoResults as bf,CircularProgress$1 as bg,img$e as bh,Dialog$1 as bi,setApiEndpoint as bj,TableContainer$1 as bk,Table$1 as bl,TableHead$1 as bm,TableRow$1 as bn,TableCell$1 as bo,TableSortLabel$1 as bp,TableBody$1 as bq,img$j as br,default_1 as bs,ClickAwayListener as bt,Fade$1 as bu,img$v as bv,img$s as bw,img$T as bx,img$F as by,DialogTitle$1 as bz,Paper$1 as c,ReactMarkdown as c$,__spread as c0,React5 as c1,PropTypes as c2,TransitionGroup$1 as c3,connect$1 as c4,Bookmark as c5,EngineFlagIcons as c6,createAsyncThunk as c7,withStyles as c8,getConfigModule as c9,lightTheme$1 as cA,CssBaseline as cB,Hide as cC,has_1 as cD,Radio$2 as cE,createSvgIcon$2 as cF,_createCompounder 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$2 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,TabPanel as c_,getAuthModule as ca,getSnackbarModule as cb,AIWareCacheProvider as cc,img$U as cd,img$g as ce,img$f as cf,isEmpty_1 as cg,find_1 as ch,Backdrop$1 as ci,getDefaultMiddleware as cj,isNil_1 as ck,useForm as cl,UpDown as cm,Icon$1 as cn,get_1 as co,map_1 as cp,keys_1 as cq,RadioGroup$1 as cr,Avatar$1 as cs,img$z as ct,baseGraphQLApi as cu,default_1$9 as cv,Controller as cw,FormHelperText$2 as cx,img$i as cy,ThemeProvider as cz,capitalize$2 as d,CurlyBraces as d$,default_1$8 as d0,unmountPanel$1 as d1,AvailableComponents as d2,delay$1 as d3,hidePanel$1 as d4,mountPanel$1 as d5,DialogContentText$1 as d6,userSelector$2 as d7,MoreVert$1 as d8,Menu$1 as d9,_baseTrim as dA,_castSlice as dB,_stringToArray as dC,toString_1 as dD,upperFirst_1 as dE,isArrayLike_1 as dF,isString_1 as dG,toInteger_1 as dH,_baseGet as dI,_baseSlice as dJ,_castPath as dK,_toKey as dL,_isIndex as dM,channel$2 as dN,useFormContext as dO,useIntl as dP,useFieldArray as dQ,VideoCamera as dR,Image$1 as dS,Sound as dT,Description as dU,toNumber_1 as dV,FormProvider as dW,ProgressStepper as dX,size_1 as dY,findIndex_1 as dZ,take as d_,Edit as da,Upload as db,Delete$1 as dc,CustomTabs as dd,useBackupImg as de,img$1C as df,validate as dg,configSelector as dh,baseGraphQLApiWithError as di,VerifiedFilled as dj,Add as dk,ExpandLess$1 as dl,ExpandMore$1 as dm,Collapse$1 as dn,img$19 as dp,Filter$1 as dq,DynamicTable as dr,useTheme$3 as ds,getThemeProps as dt,useEnhancedEffect$3 as du,React as dv,_arrayPush as dw,isArray_1 as dx,_baseIteratee as dy,_baseToString as dz,_objectWithoutPropertiesLoose$2 as e,Information as e$,UnknownDocument as e0,VariableSizeList as e1,sdkEventManager as e2,SdkEvents as e3,SdkError as e4,distributionTypes as e5,EngineClassIcons as e6,Mode2 as e7,EngineModeIcons as e8,DeploymentModelIcons as e9,isSymbol_1 as eA,_baseMap as eB,_baseUnary as eC,_baseFindIndex as eD,_Set as eE,_setToArray as eF,_SetCache as eG,_cacheHas as eH,img$Q as eI,img$P as eJ,img$1y as eK,img$1x as eL,img$1w as eM,img$N as eN,img$1A as eO,img$M as eP,authSelector as eQ,ListItemAvatar$1 as eR,emphasize as eS,useSlotProps as eT,_arraySome as eU,EntityType as eV,generateState as eW,injectIntl as eX,ErrorBoundary$1 as eY,EPermissionAction as eZ,Process as e_,markdown as ea,guid as eb,EditList as ec,ButtonBase$1 as ed,isObject_1 as ee,_arrayMap as ef,_Symbol as eg,isArguments_1 as eh,_baseEach as ei,_arrayFilter as ej,_getNative as ek,eq_1 as el,_root as em,_Uint8Array as en,_overArg as eo,_isPrototype as ep,isObjectLike_1 as eq,_baseGetTag as er,_arrayLikeKeys as es,isBuffer$5 as et,isFunction_1 as eu,isTypedArray_1 as ev,_Stack as ew,_baseFor as ex,identity_1 as ey,_isIterateeCall as ez,clsx as f,index$1 as f$,Download as f0,NewFolder as f1,SpecialFolder as f2,User as f3,Source as f4,Search$2 as f5,selectIsOLPEnabled as f6,ListItemSecondaryAction$1 as f7,getLibraryModule as f8,cmsUrlSelector as f9,FixedSizeList as fA,selectUserOrgEdgeVersion as fB,EditAttributes as fC,gqlIntrospection as fD,ProcessingDetail as fE,img$y as fF,img$A as fG,img$6 as fH,FilterRemove as fI,AlarmTwo as fJ,tableInfiniteScroll as fK,CheckCircle as fL,FolderOpen as fM,Voice as fN,useDoubleClick as fO,FolderFilled as fP,Time as fQ,img$B as fR,Undefined as fS,PodcastSource as fT,YoutubeSource as fU,TVSource as fV,RadioSource as fW,selectOrgId as fX,navSectionStyles as fY,selectIsUserAdmin as fZ,AvatarGroup$1 as f_,SearchStructuredData as fa,Grow$1 as fb,index as fc,actions as fd,hasPermission as fe,UserAddFilled as ff,MenuList$1 as fg,MoveFolder as fh,EAuthResourceType as fi,Slide$1 as fj,img$c as fk,selectApiConfigs$2 as fl,selectPanelByPanelName as fm,FullScreenContainer as fn,EngineCategoryIcons as fo,isPermissionLoading as fp,Settings$2 as fq,Hamburger as fr,List as fs,enginesFilter as ft,panelsSelector as fu,Badge$1 as fv,MoreHor as fw,convertEntityToAuthResource as fx,AutoSizer as fy,InfiniteLoader as fz,generateUtilityClass as g,View as g$,ErrorState$2 as g0,Stepper$1 as g1,StepConnector$1 as g2,Step$1 as g3,StepLabel$1 as g4,isEqual_1 as g5,NullState$2 as g6,Group as g7,PermissionChangedAction as g8,Lock as g9,green$1 as gA,md5 as gB,selectIsSuperAdmin as gC,organizations_selector as gD,actions$5 as gE,AddUser as gF,selectors as gG,LibraryDropdown as gH,Remove as gI,Save as gJ,Input$3 as gK,getElement as gL,client$1 as gM,Copy as gN,ArrowForward as gO,Modal$1 as gP,Slider$1 as gQ,getDefaultExportFromCjs as gR,_getSymbols as gS,stubArray_1 as gT,_baseGetAllKeys as gU,_getTag as gV,_nodeUtil as gW,_getAllKeys as gX,_castFunction as gY,Article as gZ,Task as g_,useOrganizationPermissions as ga,EAuthSubResourceType as gb,AddGroup as gc,initialConfigSelector as gd,EMessageTypes as ge,errors as gf,ConfirmationModal as gg,EnumHelpers as gh,formatBytes as gi,NotInterested as gj,mountPanelForResponse$1 as gk,default_1$a as gl,tableStyles as gm,ArrowDown as gn,ArrowUp as go,useInterval as gp,Iam as gq,safeFormatMessage as gr,contextMenuStyles as gs,Users as gt,SecurityGroup as gu,getOrganizationPanelModule as gv,Lock2 as gw,EApplicationConfigLevel as gx,NoApps as gy,EApplicationConfigType as gz,composeClasses as h,mountPanel as h$,_objectSpread2 as h0,serialize as h1,stringify$4 as h2,compile as h3,isNumber_1 as h4,Check as h5,EngineIconsRenderer as h6,FormattedRelativeTime$1 as h7,BottomQueue as h8,TopQueue as h9,PackagesAvatar as hA,actionChannel as hB,cancelled as hC,flush$4 as hD,tableSearchComponents as hE,cancel as hF,FlowTemplate as hG,Node as hH,Palette as hI,FlowCenter2 as hJ,ArrowBack as hK,Schema$1 as hL,panelComponents as hM,img$1 as hN,img$x as hO,AutomateNode as hP,Clear as hQ,ExpandLess as hR,ExpandMore as hS,registry as hT,registerComponent as hU,AvailableWidgets as hV,updatePanelMicroFrontendProps as hW,setData as hX,root as hY,mountWidget as hZ,unmountWidget as h_,Pause as ha,Cancel as hb,Folder as hc,Hidden as hd,dateRangeFilter as he,statusFilter as hf,TableLoadingState as hg,setDuration as hh,resetDuration as hi,createStack as hj,ButtonGroupContext$1 as hk,toFinite_1 as hl,_baseForOwn as hm,_arrayReduce as hn,hasIn_1 as ho,now_1 as hp,useSyncExternalStoreExports as hq,Engines as hr,EngineComponentLoader as hs,EngineFieldType as ht,imageUpload as hu,characterCountTextField as hv,tabsClasses$1 as hw,Packages as hx,Resources$1 as hy,selectUserCanCreatePackage as hz,createSvgIcon$1 as i,unmountPanel as i0,hidePanel as i1,unmountAllPanel as i2,init as i3,aiwareEvents as i4,jsxRuntime as j,interopRequireDefault as k,createSlice as l,makeStyles as m,Route as n,useDispatch as o,useSelector as p,authStatusSelector as q,react$1 as r,store$5 as s,authContextSelector as t,useThemeProps as u,AuthContext as v,lodash as w,Alert$1 as x,betaFeaturesSelector as y,useNavigate as z};
1531
+ `,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$j(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$j(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$2([watchPermissionsStart()])}function getPermissionsModule(){return{id:namespace,reducerMap:{[namespace]:permissionsReducer},sagas:[rootSaga],initialActions:[]}}const useOrganizationPermissions=e=>{const t=react$1.exports.useRef(),n=useDispatch(),r=null==(o=useSelector(userSelector$2).organization)?void 0:o.organizationId,i=useSelector(selectPermissionsByEntity(EAuthResourceType.Organization,String(r),e));react$1.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$1.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$5},{children:jsxRuntime.exports.jsx(DynamicModuleLoader,Object.assign({modules:[getSnackbarModule()]},{children:jsxRuntime.exports.jsx(CustomSnackbar,{})}))}))}store$5.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$5.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$5.dispatch(updateTokenRequest({token:e})):console.error("[AiWARE JS]: Please provide a valid token!")},logout(e){"function"==typeof e?(e(),setTimeout(()=>{store$5.dispatch(logout())},1e3)):store$5.dispatch(logout())},reportAppActivity(e){rateLimiter.checkIfCanCall(e)&&store$5.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$5},{children:jsxRuntime.exports.jsx(AppBarPreLoader,{})}))]})}function ApplicationDialogRenderer(){return jsxRuntime.exports.jsx(jsxRuntime.exports.Fragment,{children:jsxRuntime.exports.jsx(Provider$2,Object.assign({store:store$5},{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$5.dispatch(mountWidget$1({elementId:r,widgetName:e,widgetConfig:i,widgetId:n,onComplete:t})),n}),unmountWidget=e=>(store$5.dispatch(unmountWidget$1(e)),!0),mountPanel=(e,t)=>{const n=e.panelId||getUniqueID();var{microFrontend:e,panelConfig:r}=e;store$5.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$5.addModule(r),n},unmountPanel=e=>(store$5.dispatch(unmountPanel$1(e)),!0),hidePanel=e=>(store$5.dispatch(hidePanel$1(e)),!0),unmountAllPanel=()=>{store$5.dispatch(unmountAllPanel$1(""))};function init(e,t){var n,e=validateConfig(e);e?(n=e["authToken"],n=checkAndDecodeBase64String(n||""),store$5.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$5),aiwareEvents=handleEvents();window&&(window.aiWare_initTesting=()=>{window.aiWare_store=store$5,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$5,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:"7649b23b1",releaseDate:"2023-09-06T17:57:26.643Z"});export{IconButton$1 as $,AIWareIntlProvider as A,Box$1 as B,devErrorLogger as C,useLocation as D,DynamicModuleLoader as E,FormattedMessage$1 as F,Button$1 as G,useSearchParams as H,img$5 as I,StyledEngineProvider as J,logout as K,LinearProgress$1 as L,LoadingButton$1 as M,authErrorMessage as N,Grid$1 as O,Provider$2 as P,FormControl$1 as Q,Routes as R,Switch$1 as S,Typography$1 as T,TextField$1 as U,classNames as V,resetPasswordRequest as W,InputLabel$1 as X,OutlinedInput$1 as Y,InputAdornment$1 as Z,_extends$3 as _,generateUtilityClasses as a,Skeleton$1 as a$,Select$1 as a0,Location as a1,MenuItem$1 as a2,Divider$1 as a3,enableBetaFeatures as a4,Popover$1 as a5,all$2 as a6,CheckmarkFilled as a7,Bullet as a8,debounce_1 as a9,createReducer as aA,ENGINE_OWNER_TYPES as aB,ENGINE_FILTER_TYPES as aC,preferredLanguageSelector as aD,baseUrlSelector as aE,rootApiSelector as aF,sessionTokenSelector as aG,graphEndpointSelector as aH,controllerNodeRedImageSelector as aI,controllerUrlSelector as aJ,automateControllerUrlSelector as aK,flowCenterDialogSelector as aL,automateUrlSelector as aM,Portal$1 as aN,flowCenterDialogReducer as aO,List$2 as aP,ListItem$1 as aQ,ListItemIcon$1 as aR,ListItemText$1 as aS,flowCenterDialogAction as aT,img$q as aU,img$r as aV,img$t as aW,img$u as aX,Tooltip$1 as aY,img$k as aZ,img$J as a_,takeEvery$1 as aa,select as ab,call$j as ac,put as ad,showMessage as ae,MessageSeverity as af,createTheme$1 as ag,systemStyled as ah,useThemeProps$1 as ai,useId as aj,useControlled$1 as ak,usePreviousProps$1 as al,useEventCallback as am,setRef as an,inputClasses$1 as ao,inputBaseClasses$1 as ap,outlinedInputClasses$1 as aq,filledInputClasses$1 as ar,Popper$1 as as,alpha as at,ListSubheader$1 as au,ClearIcon as av,ArrowDropDownIcon as aw,Chip$1 as ax,createBox$1 as ay,createAction as az,styled$1 as b,__awaiter$e as b$,takeLatest$1 as b0,fetchAllTags as b1,fetchFlows as b2,fetchTemplateGallery as b3,isRevisionsExistOnServerRequest as b4,FormLabel$1 as b5,default_1$e as b6,FormGroup$1 as b7,FormControlLabel$1 as b8,Checkbox$1 as b9,DialogTitle$1 as bA,DialogContent$1 as bB,DialogActions$1 as bC,Snackbar$1 as bD,default_1$6 as bE,Search$1 as bF,img$l as bG,img$n as bH,img$X as bI,Tabs$2 as bJ,Tab$2 as bK,deleteEngine as bL,fetchEngine as bM,img$m as bN,AIWareFormatMessage as bO,FormattedDate as bP,fetchVeritoneGraphQLApi as bQ,useTheme as bR,KeyboardArrowRight as bS,KeyboardArrowLeft as bT,InputUnstyled as bU,isHostComponent as bV,getDefaultExportFromNamespaceIfNotNamed as bW,commonjsRequire as bX,reactDom as bY,Transition$1 as bZ,_defineProperty$x as b_,fetchTemplateGalleryFallback as ba,Card$1 as bb,CardContent$1 as bc,img$o as bd,CardActions$1 as be,flowStyles as bf,NoResults as bg,CircularProgress$1 as bh,img$e as bi,Dialog$1 as bj,setApiEndpoint as bk,TableContainer$1 as bl,Table$1 as bm,TableHead$1 as bn,TableRow$1 as bo,TableCell$1 as bp,TableSortLabel$1 as bq,TableBody$1 as br,img$j as bs,default_1 as bt,ClickAwayListener as bu,Fade$1 as bv,img$v as bw,img$s as bx,img$T as by,img$F as bz,Paper$1 as c,TabPanel as c$,__generator$2 as c0,__spread as c1,React5 as c2,PropTypes as c3,TransitionGroup$1 as c4,connect$1 as c5,Bookmark as c6,EngineFlagIcons as c7,createAsyncThunk as c8,withStyles as c9,ThemeProvider as cA,lightTheme$1 as cB,CssBaseline as cC,Hide as cD,has_1 as cE,Radio$2 as cF,createSvgIcon$2 as cG,_createCompounder as cH,_typeof$D as cI,_assertThisInitialized$x as cJ,_setPrototypeOf$z as cK,_toPropertyKey as cL,_inheritsLoose$2 as cM,hoistNonReactStatics_cjs as cN,commonjsGlobal$2 as cO,combineReducers as cP,createSelector$1 as cQ,fork as cR,statusPill as cS,AIWareThemeProvider$1 as cT,LocalizationProvider as cU,AdapterDateFns as cV,CalendarPicker as cW,Stack$4 as cX,Close$1 as cY,FullscreenExit as cZ,Fullscreen as c_,getConfigModule as ca,getAuthModule as cb,getSnackbarModule as cc,AIWareCacheProvider as cd,img$U as ce,img$g as cf,img$f as cg,isEmpty_1 as ch,find_1 as ci,Backdrop$1 as cj,getDefaultMiddleware as ck,isNil_1 as cl,useForm as cm,UpDown as cn,Icon$1 as co,get_1 as cp,map_1 as cq,keys_1 as cr,RadioGroup$1 as cs,Avatar$1 as ct,img$z as cu,baseGraphQLApi as cv,default_1$9 as cw,Controller as cx,FormHelperText$2 as cy,img$i as cz,capitalize$2 as d,take as d$,ReactMarkdown as d0,default_1$8 as d1,unmountPanel$1 as d2,AvailableComponents as d3,delay$1 as d4,hidePanel$1 as d5,mountPanel$1 as d6,DialogContentText$1 as d7,userSelector$2 as d8,MoreVert$1 as d9,_baseToString as dA,_baseTrim as dB,_castSlice as dC,_stringToArray as dD,toString_1 as dE,upperFirst_1 as dF,isArrayLike_1 as dG,isString_1 as dH,toInteger_1 as dI,_baseGet as dJ,_baseSlice as dK,_castPath as dL,_toKey as dM,_isIndex as dN,channel$2 as dO,useFormContext as dP,useIntl as dQ,useFieldArray as dR,VideoCamera as dS,Image$1 as dT,Sound as dU,Description as dV,toNumber_1 as dW,FormProvider as dX,ProgressStepper as dY,size_1 as dZ,findIndex_1 as d_,Menu$1 as da,Edit as db,Upload as dc,Delete$1 as dd,CustomTabs as de,useBackupImg as df,img$1C as dg,validate as dh,configSelector as di,baseGraphQLApiWithError as dj,VerifiedFilled as dk,Add as dl,ExpandLess$1 as dm,ExpandMore$1 as dn,Collapse$1 as dp,img$19 as dq,Filter$1 as dr,DynamicTable as ds,useTheme$3 as dt,getThemeProps as du,useEnhancedEffect$3 as dv,React as dw,_arrayPush as dx,isArray_1 as dy,_baseIteratee as dz,_objectWithoutPropertiesLoose$2 as e,Process as e$,CurlyBraces as e0,UnknownDocument as e1,VariableSizeList as e2,sdkEventManager as e3,SdkEvents as e4,SdkError as e5,distributionTypes as e6,EngineClassIcons as e7,Mode2 as e8,EngineModeIcons as e9,_isIterateeCall as eA,isSymbol_1 as eB,_baseMap as eC,_baseUnary as eD,_baseFindIndex as eE,_Set as eF,_setToArray as eG,_SetCache as eH,_cacheHas as eI,img$Q as eJ,img$P as eK,img$1y as eL,img$1x as eM,img$1w as eN,img$N as eO,img$1A as eP,img$M as eQ,authSelector as eR,ListItemAvatar$1 as eS,emphasize as eT,useSlotProps as eU,_arraySome as eV,EntityType as eW,generateState as eX,injectIntl as eY,ErrorBoundary$1 as eZ,EPermissionAction as e_,DeploymentModelIcons as ea,markdown as eb,guid as ec,EditList as ed,ButtonBase$1 as ee,isObject_1 as ef,_arrayMap as eg,_Symbol as eh,isArguments_1 as ei,_baseEach as ej,_arrayFilter as ek,_getNative as el,eq_1 as em,_root as en,_Uint8Array as eo,_overArg as ep,_isPrototype as eq,isObjectLike_1 as er,_baseGetTag as es,_arrayLikeKeys as et,isBuffer$5 as eu,isFunction_1 as ev,isTypedArray_1 as ew,_Stack as ex,_baseFor as ey,identity_1 as ez,clsx as f,AvatarGroup$1 as f$,Information as f0,Download as f1,NewFolder as f2,SpecialFolder as f3,User as f4,Source as f5,Search$2 as f6,selectIsOLPEnabled as f7,ListItemSecondaryAction$1 as f8,getLibraryModule as f9,InfiniteLoader as fA,FixedSizeList as fB,selectUserOrgEdgeVersion as fC,EditAttributes as fD,gqlIntrospection as fE,ProcessingDetail as fF,img$y as fG,img$A as fH,img$6 as fI,FilterRemove as fJ,AlarmTwo as fK,tableInfiniteScroll as fL,CheckCircle as fM,FolderOpen as fN,Voice as fO,useDoubleClick as fP,FolderFilled as fQ,Time as fR,img$B as fS,Undefined as fT,PodcastSource as fU,YoutubeSource as fV,TVSource as fW,RadioSource as fX,selectOrgId as fY,navSectionStyles as fZ,selectIsUserAdmin as f_,cmsUrlSelector as fa,SearchStructuredData as fb,Grow$1 as fc,index as fd,actions as fe,hasPermission as ff,UserAddFilled as fg,MenuList$1 as fh,MoveFolder as fi,EAuthResourceType as fj,Slide$1 as fk,img$c as fl,selectApiConfigs$2 as fm,selectPanelByPanelName as fn,FullScreenContainer as fo,EngineCategoryIcons as fp,isPermissionLoading as fq,Settings$2 as fr,Hamburger as fs,List as ft,enginesFilter as fu,panelsSelector as fv,Badge$1 as fw,MoreHor as fx,convertEntityToAuthResource as fy,AutoSizer as fz,generateUtilityClass as g,Task as g$,index$1 as g0,ErrorState$2 as g1,Stepper$1 as g2,StepConnector$1 as g3,Step$1 as g4,StepLabel$1 as g5,isEqual_1 as g6,NullState$2 as g7,Group as g8,PermissionChangedAction as g9,EApplicationConfigType as gA,green$1 as gB,md5 as gC,selectIsSuperAdmin as gD,organizations_selector as gE,actions$5 as gF,AddUser as gG,selectors as gH,LibraryDropdown as gI,Remove as gJ,Save as gK,Input$3 as gL,getElement as gM,client$1 as gN,Copy as gO,ArrowForward as gP,Modal$1 as gQ,Slider$1 as gR,getDefaultExportFromCjs as gS,_getSymbols as gT,stubArray_1 as gU,_baseGetAllKeys as gV,_getTag as gW,_nodeUtil as gX,_getAllKeys as gY,_castFunction as gZ,Article as g_,Lock as ga,useOrganizationPermissions as gb,EAuthSubResourceType as gc,AddGroup as gd,initialConfigSelector as ge,EMessageTypes as gf,errors as gg,ConfirmationModal as gh,EnumHelpers as gi,formatBytes as gj,NotInterested as gk,mountPanelForResponse$1 as gl,default_1$a as gm,tableStyles as gn,ArrowDown as go,ArrowUp as gp,useInterval as gq,Iam as gr,safeFormatMessage as gs,contextMenuStyles as gt,Users as gu,SecurityGroup as gv,getOrganizationPanelModule as gw,Lock2 as gx,EApplicationConfigLevel as gy,NoApps as gz,composeClasses as h,unmountWidget as h$,View as h0,_objectSpread2 as h1,serialize as h2,stringify$4 as h3,compile as h4,isNumber_1 as h5,Check as h6,EngineIconsRenderer as h7,FormattedRelativeTime$1 as h8,BottomQueue as h9,selectUserCanCreatePackage as hA,PackagesAvatar as hB,actionChannel as hC,cancelled as hD,flush$4 as hE,tableSearchComponents as hF,cancel as hG,FlowTemplate as hH,Node as hI,Palette as hJ,FlowCenter2 as hK,ArrowBack as hL,Schema$1 as hM,panelComponents as hN,img$1 as hO,img$x as hP,AutomateNode as hQ,Clear as hR,ExpandLess as hS,ExpandMore as hT,registry as hU,registerComponent as hV,AvailableWidgets as hW,updatePanelMicroFrontendProps as hX,setData as hY,root as hZ,mountWidget as h_,TopQueue as ha,Pause as hb,Cancel as hc,Folder as hd,Hidden as he,dateRangeFilter as hf,statusFilter as hg,TableLoadingState as hh,setDuration as hi,resetDuration as hj,createStack as hk,ButtonGroupContext$1 as hl,toFinite_1 as hm,_baseForOwn as hn,_arrayReduce as ho,hasIn_1 as hp,now_1 as hq,useSyncExternalStoreExports as hr,Engines as hs,EngineComponentLoader as ht,EngineFieldType as hu,imageUpload as hv,characterCountTextField as hw,tabsClasses$1 as hx,Packages as hy,Resources$1 as hz,createSvgIcon$1 as i,mountPanel as i0,unmountPanel as i1,hidePanel as i2,unmountAllPanel as i3,init as i4,aiwareEvents as i5,jsxRuntime as j,interopRequireDefault as k,createSlice as l,makeStyles as m,Route as n,useDispatch as o,useSelector as p,authStatusSelector as q,react$1 as r,store$5 as s,authContextSelector as t,useThemeProps as u,AuthContext as v,lodash as w,Alert$1 as x,betaFeaturesSelector as y,useNavigate as z};
package/js-core.esm.js.gz CHANGED
Binary file
package/js-core.esm10.js CHANGED
@@ -1 +1 @@
1
- import{ax as createBox}from"./js-core.esm.js";const Box=createBox();var Box$1=Box;export{Box$1 as B};
1
+ import{ay as createBox}from"./js-core.esm.js";const Box=createBox();var Box$1=Box;export{Box$1 as B};
Binary file