aiware-js 1.0.0-master.861 → 1.0.0-master.863

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/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:"c47293d74",releaseDate:"2023-09-26T15:19:30.732Z"});export{IconButton$1 as $,AIWareIntlProvider as A,Box$1 as B,useLocation as C,DynamicModuleLoader as D,Button$1 as E,FormattedMessage$1 as F,useSearchParams as G,img$5 as H,StyledEngineProvider as I,Fade$1 as J,classNames as K,LinearProgress$1 as L,getAppbarPanelModule as M,LoadingButton$1 as N,authErrorMessage as O,Provider$2 as P,Grid$1 as Q,Routes as R,Switch$1 as S,Typography$1 as T,FormControl$1 as U,TextField$1 as V,resetPasswordRequest as W,InputLabel$1 as X,OutlinedInput$1 as Y,InputAdornment$1 as Z,_extends$5 as _,generateUtilityClasses as a,Skeleton$1 as a$,Select$1 as a0,Location as a1,MenuItem$1 as a2,Divider$1 as a3,Popover$1 as a4,applicationSelector as a5,logoutUser$1 as a6,all$2 as a7,CheckmarkFilled as a8,Bullet 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,Transition$1 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,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,_typeof$D as bX,_assertThisInitialized$x as bY,_setPrototypeOf$z as bZ,reactDom 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,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$,_defineProperty$x as c0,__awaiter$e as c1,__generator$2 as c2,__spread as c3,React5 as c4,PropTypes as c5,TransitionGroup$1 as c6,connect$1 as c7,Bookmark as c8,EngineFlagIcons as c9,FormHelperText$2 as cA,img$i as cB,ThemeProvider as cC,lightTheme$1 as cD,CssBaseline as cE,Hide as cF,has_1 as cG,Radio$2 as cH,createSvgIcon$2 as cI,_createCompounder 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_,createAsyncThunk as ca,withStyles as cb,getConfigModule as cc,getAuthModule as cd,getSnackbarModule as ce,AIWareCacheProvider as cf,img$U as cg,img$g as ch,img$f as ci,isEmpty_1 as cj,find_1 as ck,Backdrop$1 as cl,getDefaultMiddleware as cm,isNil_1 as cn,useForm as co,UpDown as cp,Icon$1 as cq,get_1 as cr,map_1 as cs,keys_1 as ct,RadioGroup$1 as cu,Avatar$1 as cv,img$z as cw,baseGraphQLApi as cx,default_1$9 as cy,Controller as cz,capitalize$2 as d,UnknownDocument 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,_castSlice as dA,_stringToArray as dB,toString_1 as dC,upperFirst_1 as dD,isArrayLike_1 as dE,isString_1 as dF,toInteger_1 as dG,_baseGet as dH,_baseSlice as dI,_castPath as dJ,_toKey as dK,_isIndex as dL,channel$2 as dM,useFormContext as dN,useIntl as dO,useFieldArray as dP,VideoCamera as dQ,Image$1 as dR,Sound as dS,Description as dT,toNumber_1 as dU,FormProvider as dV,ProgressStepper as dW,size_1 as dX,findIndex_1 as dY,take as dZ,CurlyBraces 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,img$19 as dh,baseGraphQLApiWithError as di,VerifiedFilled as dj,Add as dk,ExpandLess$1 as dl,ExpandMore$1 as dm,Collapse$1 as dn,Filter$1 as dp,DynamicTable as dq,useTheme$3 as dr,getThemeProps as ds,useEnhancedEffect$3 as dt,React as du,_arrayPush as dv,isArray_1 as dw,_baseIteratee as dx,_baseToString as dy,_baseTrim as dz,_objectWithoutPropertiesLoose$2 as e,Download as e$,VariableSizeList as e0,sdkEventManager as e1,SdkEvents as e2,SdkError as e3,distributionTypes as e4,EngineClassIcons as e5,Mode2 as e6,EngineModeIcons as e7,DeploymentModelIcons as e8,markdown as e9,_baseMap as eA,_baseUnary as eB,_baseFindIndex as eC,_Set as eD,_setToArray as eE,_SetCache as eF,_cacheHas as eG,img$Q as eH,img$P as eI,img$1y as eJ,img$1x as eK,img$1w as eL,img$N as eM,img$1A as eN,img$M as eO,authSelector as eP,ListItemAvatar$1 as eQ,emphasize as eR,useSlotProps as eS,_arraySome as eT,EntityType as eU,generateState as eV,injectIntl as eW,ErrorBoundary$1 as eX,EPermissionAction as eY,Process as eZ,Information as e_,guid as ea,EditList as eb,ButtonBase$1 as ec,isObject_1 as ed,_arrayMap as ee,_Symbol as ef,isArguments_1 as eg,_baseEach as eh,_arrayFilter as ei,_getNative as ej,eq_1 as ek,_root as el,_Uint8Array as em,_overArg as en,_isPrototype as eo,isObjectLike_1 as ep,_baseGetTag as eq,_arrayLikeKeys as er,isBuffer$5 as es,isFunction_1 as et,isTypedArray_1 as eu,_Stack as ev,_baseFor as ew,identity_1 as ex,_isIterateeCall as ey,isSymbol_1 as ez,clsx as f,navSectionStyles as f$,NewFolder as f0,SpecialFolder as f1,User as f2,Source as f3,Search$2 as f4,selectIsOLPEnabled as f5,ListItemSecondaryAction$1 as f6,getLibraryModule as f7,cmsUrlSelector as f8,debounce_1 as f9,AutoSizer as fA,InfiniteLoader as fB,FixedSizeList as fC,selectUserOrgEdgeVersion as fD,EditAttributes as fE,imageUpload as fF,gqlIntrospection as fG,ProcessingDetail as fH,img$y as fI,img$A as fJ,img$6 as fK,FilterRemove as fL,AlarmTwo as fM,tableInfiniteScroll as fN,CheckCircle as fO,FolderOpen as fP,Voice as fQ,useDoubleClick as fR,FolderFilled as fS,Time as fT,img$B as fU,Undefined as fV,PodcastSource as fW,YoutubeSource as fX,TVSource as fY,RadioSource as fZ,selectOrgId as f_,SearchStructuredData as fa,Grow$1 as fb,configSelector as fc,index as fd,betaFeaturesSelector as fe,actions as ff,hasPermission as fg,UserAddFilled as fh,MenuList$1 as fi,MoveFolder as fj,EAuthResourceType as fk,Slide$1 as fl,img$c as fm,selectApiConfigs$2 as fn,selectPanelByPanelName as fo,FullScreenContainer as fp,EngineCategoryIcons as fq,isPermissionLoading as fr,Settings$2 as fs,Hamburger as ft,List as fu,enginesFilter as fv,panelsSelector as fw,Badge$1 as fx,MoreHor as fy,convertEntityToAuthResource as fz,generateUtilityClass as g,_getAllKeys as g$,selectIsUserAdmin as g0,AvatarGroup$1 as g1,index$1 as g2,ErrorState$2 as g3,Stepper$1 as g4,StepConnector$1 as g5,Step$1 as g6,StepLabel$1 as g7,isEqual_1 as g8,NullState$2 as g9,Lock2 as gA,EApplicationConfigLevel as gB,NoApps as gC,EApplicationConfigType as gD,green$1 as gE,md5 as gF,selectIsSuperAdmin as gG,organizations_selector as gH,actions$5 as gI,AddUser as gJ,selectors as gK,LibraryDropdown as gL,Remove as gM,Save as gN,Input$3 as gO,getElement as gP,client$1 as gQ,Copy as gR,ArrowForward as gS,Modal$1 as gT,Slider$1 as gU,getDefaultExportFromCjs as gV,_getSymbols as gW,stubArray_1 as gX,_baseGetAllKeys as gY,_getTag as gZ,_nodeUtil as g_,Group as ga,PermissionChangedAction as gb,Lock as gc,useOrganizationPermissions as gd,EAuthSubResourceType as ge,AddGroup as gf,initialConfigSelector as gg,EMessageTypes as gh,errors as gi,ConfirmationModal as gj,panelComponents as gk,EnumHelpers as gl,formatBytes as gm,NotInterested as gn,mountPanelForResponse$1 as go,default_1$a as gp,tableStyles as gq,ArrowDown as gr,ArrowUp as gs,useInterval as gt,Iam as gu,safeFormatMessage as gv,contextMenuStyles as gw,Users as gx,SecurityGroup as gy,getOrganizationPanelModule as gz,composeClasses as h,unmountPanel as h$,_castFunction as h0,Article as h1,Task as h2,View as h3,isNumber_1 as h4,Check as h5,EngineIconsRenderer as h6,FormattedRelativeTime$1 as h7,BottomQueue as h8,TopQueue as h9,actionChannel as hA,cancelled as hB,flush$4 as hC,tableSearchComponents as hD,cancel as hE,FlowTemplate as hF,Node as hG,Palette as hH,FlowCenter2 as hI,ArrowBack as hJ,Schema$1 as hK,truncatedString as hL,img$1 as hM,img$x as hN,AutomateNode as hO,Clear as hP,ExpandLess as hQ,ExpandMore as hR,registry as hS,registerComponent as hT,AvailableWidgets as hU,updatePanelMicroFrontendProps as hV,setData as hW,root as hX,mountWidget as hY,unmountWidget as hZ,mountPanel 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,ButtonGroupContext$1 as hj,toFinite_1 as hk,_baseForOwn as hl,_arrayReduce as hm,hasIn_1 as hn,now_1 as ho,useSyncExternalStoreExports as hp,Engines as hq,EngineComponentLoader as hr,EngineFieldType as hs,characterCountTextField as ht,createStack as hu,tabsClasses$1 as hv,Packages as hw,Resources$1 as hx,selectUserCanCreatePackage as hy,PackagesAvatar as hz,createSvgIcon$1 as i,hidePanel as i0,unmountAllPanel as i1,init as i2,aiwareEvents as i3,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,useNavigate as y,devErrorLogger 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:"cda84d082",releaseDate:"2023-09-26T19:29:12.731Z"});export{IconButton$1 as $,AIWareIntlProvider as A,Box$1 as B,useLocation as C,DynamicModuleLoader as D,Button$1 as E,FormattedMessage$1 as F,useSearchParams as G,img$5 as H,StyledEngineProvider as I,Fade$1 as J,classNames as K,LinearProgress$1 as L,getAppbarPanelModule as M,LoadingButton$1 as N,authErrorMessage as O,Provider$2 as P,Grid$1 as Q,Routes as R,Switch$1 as S,Typography$1 as T,FormControl$1 as U,TextField$1 as V,resetPasswordRequest as W,InputLabel$1 as X,OutlinedInput$1 as Y,InputAdornment$1 as Z,_extends$5 as _,generateUtilityClasses as a,Skeleton$1 as a$,Select$1 as a0,Location as a1,MenuItem$1 as a2,Divider$1 as a3,Popover$1 as a4,applicationSelector as a5,logoutUser$1 as a6,all$2 as a7,CheckmarkFilled as a8,Bullet 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,Transition$1 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,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,_typeof$D as bX,_assertThisInitialized$x as bY,_setPrototypeOf$z as bZ,reactDom 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,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$,_defineProperty$x as c0,__awaiter$e as c1,__generator$2 as c2,__spread as c3,React5 as c4,PropTypes as c5,TransitionGroup$1 as c6,connect$1 as c7,Bookmark as c8,EngineFlagIcons as c9,FormHelperText$2 as cA,img$i as cB,ThemeProvider as cC,lightTheme$1 as cD,CssBaseline as cE,Hide as cF,has_1 as cG,Radio$2 as cH,createSvgIcon$2 as cI,_createCompounder 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_,createAsyncThunk as ca,withStyles as cb,getConfigModule as cc,getAuthModule as cd,getSnackbarModule as ce,AIWareCacheProvider as cf,img$U as cg,img$g as ch,img$f as ci,isEmpty_1 as cj,find_1 as ck,Backdrop$1 as cl,getDefaultMiddleware as cm,isNil_1 as cn,useForm as co,UpDown as cp,Icon$1 as cq,get_1 as cr,map_1 as cs,keys_1 as ct,RadioGroup$1 as cu,Avatar$1 as cv,img$z as cw,baseGraphQLApi as cx,default_1$9 as cy,Controller as cz,capitalize$2 as d,UnknownDocument 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,_castSlice as dA,_stringToArray as dB,toString_1 as dC,upperFirst_1 as dD,isArrayLike_1 as dE,isString_1 as dF,toInteger_1 as dG,_baseGet as dH,_baseSlice as dI,_castPath as dJ,_toKey as dK,_isIndex as dL,channel$2 as dM,useFormContext as dN,useIntl as dO,useFieldArray as dP,VideoCamera as dQ,Image$1 as dR,Sound as dS,Description as dT,toNumber_1 as dU,FormProvider as dV,ProgressStepper as dW,size_1 as dX,findIndex_1 as dY,take as dZ,CurlyBraces 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,img$19 as dh,baseGraphQLApiWithError as di,VerifiedFilled as dj,Add as dk,ExpandLess$1 as dl,ExpandMore$1 as dm,Collapse$1 as dn,Filter$1 as dp,DynamicTable as dq,useTheme$3 as dr,getThemeProps as ds,useEnhancedEffect$3 as dt,React as du,_arrayPush as dv,isArray_1 as dw,_baseIteratee as dx,_baseToString as dy,_baseTrim as dz,_objectWithoutPropertiesLoose$2 as e,Download as e$,VariableSizeList as e0,sdkEventManager as e1,SdkEvents as e2,SdkError as e3,distributionTypes as e4,EngineClassIcons as e5,Mode2 as e6,EngineModeIcons as e7,DeploymentModelIcons as e8,markdown as e9,_baseMap as eA,_baseUnary as eB,_baseFindIndex as eC,_Set as eD,_setToArray as eE,_SetCache as eF,_cacheHas as eG,img$Q as eH,img$P as eI,img$1y as eJ,img$1x as eK,img$1w as eL,img$N as eM,img$1A as eN,img$M as eO,authSelector as eP,ListItemAvatar$1 as eQ,emphasize as eR,useSlotProps as eS,_arraySome as eT,EntityType as eU,generateState as eV,injectIntl as eW,ErrorBoundary$1 as eX,EPermissionAction as eY,Process as eZ,Information as e_,guid as ea,EditList as eb,ButtonBase$1 as ec,isObject_1 as ed,_arrayMap as ee,_Symbol as ef,isArguments_1 as eg,_baseEach as eh,_arrayFilter as ei,_getNative as ej,eq_1 as ek,_root as el,_Uint8Array as em,_overArg as en,_isPrototype as eo,isObjectLike_1 as ep,_baseGetTag as eq,_arrayLikeKeys as er,isBuffer$5 as es,isFunction_1 as et,isTypedArray_1 as eu,_Stack as ev,_baseFor as ew,identity_1 as ex,_isIterateeCall as ey,isSymbol_1 as ez,clsx as f,navSectionStyles as f$,NewFolder as f0,SpecialFolder as f1,User as f2,Source as f3,Search$2 as f4,selectIsOLPEnabled as f5,ListItemSecondaryAction$1 as f6,getLibraryModule as f7,cmsUrlSelector as f8,debounce_1 as f9,AutoSizer as fA,InfiniteLoader as fB,FixedSizeList as fC,selectUserOrgEdgeVersion as fD,EditAttributes as fE,imageUpload as fF,gqlIntrospection as fG,ProcessingDetail as fH,img$y as fI,img$A as fJ,img$6 as fK,FilterRemove as fL,AlarmTwo as fM,tableInfiniteScroll as fN,CheckCircle as fO,FolderOpen as fP,Voice as fQ,useDoubleClick as fR,FolderFilled as fS,Time as fT,img$B as fU,Undefined as fV,PodcastSource as fW,YoutubeSource as fX,TVSource as fY,RadioSource as fZ,selectOrgId as f_,SearchStructuredData as fa,Grow$1 as fb,configSelector as fc,index as fd,betaFeaturesSelector as fe,actions as ff,hasPermission as fg,UserAddFilled as fh,MenuList$1 as fi,MoveFolder as fj,EAuthResourceType as fk,Slide$1 as fl,img$c as fm,selectApiConfigs$2 as fn,selectPanelByPanelName as fo,FullScreenContainer as fp,EngineCategoryIcons as fq,isPermissionLoading as fr,Settings$2 as fs,Hamburger as ft,List as fu,enginesFilter as fv,panelsSelector as fw,Badge$1 as fx,MoreHor as fy,convertEntityToAuthResource as fz,generateUtilityClass as g,_getAllKeys as g$,selectIsUserAdmin as g0,AvatarGroup$1 as g1,index$1 as g2,ErrorState$2 as g3,Stepper$1 as g4,StepConnector$1 as g5,Step$1 as g6,StepLabel$1 as g7,isEqual_1 as g8,NullState$2 as g9,Lock2 as gA,EApplicationConfigLevel as gB,NoApps as gC,EApplicationConfigType as gD,green$1 as gE,md5 as gF,selectIsSuperAdmin as gG,organizations_selector as gH,actions$5 as gI,AddUser as gJ,selectors as gK,LibraryDropdown as gL,Remove as gM,Save as gN,Input$3 as gO,getElement as gP,client$1 as gQ,Copy as gR,ArrowForward as gS,Modal$1 as gT,Slider$1 as gU,getDefaultExportFromCjs as gV,_getSymbols as gW,stubArray_1 as gX,_baseGetAllKeys as gY,_getTag as gZ,_nodeUtil as g_,Group as ga,PermissionChangedAction as gb,Lock as gc,useOrganizationPermissions as gd,EAuthSubResourceType as ge,AddGroup as gf,initialConfigSelector as gg,EMessageTypes as gh,errors as gi,ConfirmationModal as gj,panelComponents as gk,EnumHelpers as gl,formatBytes as gm,NotInterested as gn,mountPanelForResponse$1 as go,default_1$a as gp,tableStyles as gq,ArrowDown as gr,ArrowUp as gs,useInterval as gt,Iam as gu,safeFormatMessage as gv,contextMenuStyles as gw,Users as gx,SecurityGroup as gy,getOrganizationPanelModule as gz,composeClasses as h,unmountPanel as h$,_castFunction as h0,Article as h1,Task as h2,View as h3,isNumber_1 as h4,Check as h5,EngineIconsRenderer as h6,FormattedRelativeTime$1 as h7,BottomQueue as h8,TopQueue as h9,actionChannel as hA,cancelled as hB,flush$4 as hC,tableSearchComponents as hD,cancel as hE,FlowTemplate as hF,Node as hG,Palette as hH,FlowCenter2 as hI,ArrowBack as hJ,Schema$1 as hK,truncatedString as hL,img$1 as hM,img$x as hN,AutomateNode as hO,Clear as hP,ExpandLess as hQ,ExpandMore as hR,registry as hS,registerComponent as hT,AvailableWidgets as hU,updatePanelMicroFrontendProps as hV,setData as hW,root as hX,mountWidget as hY,unmountWidget as hZ,mountPanel 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,ButtonGroupContext$1 as hj,toFinite_1 as hk,_baseForOwn as hl,_arrayReduce as hm,hasIn_1 as hn,now_1 as ho,useSyncExternalStoreExports as hp,Engines as hq,EngineComponentLoader as hr,EngineFieldType as hs,characterCountTextField as ht,createStack as hu,tabsClasses$1 as hv,Packages as hw,Resources$1 as hx,selectUserCanCreatePackage as hy,PackagesAvatar as hz,createSvgIcon$1 as i,hidePanel as i0,unmountAllPanel as i1,init as i2,aiwareEvents as i3,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,useNavigate as y,devErrorLogger as z};
package/js-core.esm.js.gz CHANGED
Binary file