All Downloads are FREE. Search and download functionalities are using the official Maven repository.

web-interface.assets.ShowViewPage.75b5bca6e699a5d7e0af.js Maven / Gradle / Ivy

There is a newer version: 6.1.4
Show newest version
"use strict";(()=>{(self.webpackChunkgraylog_web_interface=self.webpackChunkgraylog_web_interface||[]).push([["1255d548-7153"],{icrwsL0X:(b,A,t)=>{t.d(A,{Z:()=>D});var e=t("Z7aTuO5B"),d=t("J6y4/h8P"),j=t("uZqmR+ju"),T=t("/GOzvPf6"),L=t("z6QEDyg6"),$=t("9oVghaOd"),H=t.n($),_=t("Dg7SLLbb"),S=t.n(_),V=t("/sQQYQjH"),z=t("Dh8G0fI8"),f=t("ATOIS62c"),w=t("ty2gyrHp"),s=t("d4kzUuQm"),n=t("NhiTWmq4"),o=t("nxMFMmDQ"),c=t("m81tulV4"),g=t("YcvsU7cw"),i=t("dogTzS57"),y=t("gofDlXL2"),C=t("UnwAqHt2"),E=t("orDZ6Vj2");const R=({name:a})=>e.createElement("i",null,"No ",a.toLowerCase()," provided"),m=d.default.div`
  display: flex;
  gap: 5px;
`,U=d.default.div`
  display: flex;
  gap: 5px;
  align-items: center;
`,G=d.default.div`
  width: 13px;
  height: 13px;
  border-radius: 2px;
  cursor: pointer;
`,Z=()=>(0,g.Z)(i.e),Y=()=>{const a=(0,E.Z)(),{aggregations:l}=(0,L.Z)(),u=Z(),r=(0,e.useMemo)(()=>new Map(l.map(p=>[`${p.fnSeries}${p.expr}${p.value}`,p])),[l]),P=(0,e.useCallback)(({rule:p,newColor:W,condition:M})=>{if(p)a((0,y.u8)(p,{color:n.WS.create(W)}));else{const{value:O,fnSeries:K,expr:q}=r.get(M);a((0,y.vI)([{value:O,field:K,color:(0,C.p)(),condition:c.X[q]}]))}},[r,a]),F=(0,e.useMemo)(()=>{const p=new Map(l.map(({fnSeries:W,value:M,expr:O})=>[`${W}${O}${M}`,void 0]));return u.reduce((W,M)=>{var O;const{field:K,value:q,condition:tt}=M,it=(O=c.l)==null?void 0:O[tt];let ot=W;if(it){const et=`${K}${it}${q}`;W.has(et)&&(ot=ot.set(et,M))}return ot},p)},[l,u]);return F!=null&&F.size?e.createElement(m,null,Array.from(F).map(([p,W])=>{const M=W==null?void 0:W.color,O=M==null?void 0:M.color;return e.createElement(U,{title:p,key:p},e.createElement(T.h4,{id:"formatting-rule-color",placement:"right",color:O,colors:o.Yc.map(K=>[K]),triggerNode:e.createElement(G,{style:{backgroundColor:O}},!O&&e.createElement(T.JO,{name:"fill-drip",size:"xs"})),onChange:(K,q,tt)=>{tt(),P({newColor:K,rule:W,condition:p})}}),e.createElement("span",null,p))})):e.createElement(R,{name:"Aggregation conditions"})};var X=t("8fnsnG21"),k=t("J7MaobQD");const at=()=>{const{eventDefinition:a}=(0,L.Z)(),l=(0,X.o)(k.O,({all:r})=>r.reduce((P,F)=>(P[F.id]=F,P),{})),u=(0,e.useMemo)(()=>a.notifications.reduce((r,P)=>(l[P.notification_id]&&r.push(l[P.notification_id]),r),[]),[a,l]);return u.length?e.createElement(e.Fragment,null,u.map(({id:r,title:P},F)=>{const p=F>0?", ":"";return e.createElement("span",{key:r},p,e.createElement(w.r,{target:"_blank",to:s.ZP.ALERTS.NOTIFICATIONS.show(r)},P))})):e.createElement(R,{name:"Notifications"})},st=(0,d.default)(T.EK)(({theme:a})=>(0,d.css)`
  color: ${a.colors.variant.darker.warning};
`),lt=()=>{const{eventData:a,eventDefinition:l,isEventDefinition:u}=(0,L.Z)();return(0,e.useMemo)(()=>{if(!l)return[{title:"Timestamp",content:e.createElement(T.EK,{dateTime:a==null?void 0:a.timestamp}),show:!u}];const r=(0,f.l)(l.config.search_within_ms,V.L),P=(0,f.l)(l.config.execute_every_ms,V.L),F=!u&&H()(l.updated_at).diff(a.timestamp)>0;return[{title:"Timestamp",content:e.createElement(T.EK,{dateTime:a==null?void 0:a.timestamp}),show:!u},{title:"Event definition updated at",content:e.createElement(e.Fragment,null,e.createElement(st,{dateTime:l.updated_at}),e.createElement(T.kF,{displayLeftMargin:!0,iconSize:"xs"},"Event definition ",e.createElement("i",null,l.title)," was edited after this event happened. Some of aggregations widgets might not be representative for this event.")),show:F},{title:"Event definition",content:e.createElement(w.r,{target:"_blank",to:s.ZP.ALERTS.DEFINITIONS.show(l.id)},l.title),show:!u},{title:"Priority",content:S()(z.Z.properties[l.priority].name)},{title:"Execute search every",content:(P==null?void 0:P.duration)&&(P==null?void 0:P.unit)&&`${P.duration} ${P.unit.toLowerCase()}`},{title:"Search within",content:(r==null?void 0:r.duration)&&(r==null?void 0:r.unit)&&`${r.duration} ${r.unit.toLowerCase()}`},{title:"Description",content:l.description},{title:"Notifications",content:e.createElement(at,null)},{title:"Aggregation conditions",content:e.createElement(Y,null)}]},[a==null?void 0:a.timestamp,l,u])},v=d.default.div`
  display: flex;
  align-items: center;
  user-select: none;
  gap: 5px;
`,h=d.default.div`
  display: flex;
  gap: 5px;
  align-items: flex-end;
`,I=d.default.div`
  display: flex;
  flex-direction: column;
  gap: 5px;
`,B=d.default.div`
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
`,N=d.default.div`
  display: flex;
`,D=()=>{const{isEventDefinition:a,isEvent:l,isAlert:u}=(0,L.Z)(),[r,P]=(0,e.useState)(!0),F=(0,e.useCallback)(M=>{M.stopPropagation(),P(O=>!O)},[]),p=lt(),W=(0,e.useMemo)(()=>a?"event definition":u?"alert":l?"event":"",[u,l,a]);return e.createElement(T.q,null,e.createElement(v,null,e.createElement(j.Button,{bsStyle:"link",className:"btn-text",bsSize:"xsmall",onClick:F},e.createElement(T.JO,{name:`caret-${r?"down":"right"}`}),"\xA0",r?`Hide ${W} details`:`Show ${W} details`)),r&&e.createElement(I,{"data-testid":"info-container"},e.createElement(B,null,p.map(({title:M,content:O,show:K})=>K!==!1&&e.createElement(h,{key:M},e.createElement("b",null,M,": "),e.createElement(N,{title:M},O||e.createElement(R,{name:M})))))))}},pStb38mj:(b,A,t)=>{t.d(A,{Z:()=>s});var e=t("DUKaTDO2"),d=t("c20giJr8"),j=t.n(d),T=t("+KM7MH1U"),L=t.n(T),$=t("jAGDuYSC"),H=t("eFxcQyPT"),_=t("MdYBRjRJ");const S=n=>(0,_.DC)(`/events/definitions/${n}`),V=({series:n,conditions:o})=>{const c=[],g=i=>{if(!i)return"No condition configured";switch(i.expr){case"number":return{value:i.value};case"number-ref":const y=n.find(R=>R.id===i.ref);return y!=null&&y.type?{field:`${y.type}(${y.field||""})`}:null;case"&&":case"||":return[g(i.left),g(i.right)];case"group":return[g(i.child)];case"<":case"<=":case">":case">=":case"==":const{ref:C}=i.left,E=n.find(R=>R.id===C),Q=E!=null&&E.type?`${E.type}(${E.field||""})`:void 0;return c.push({expr:i.expr,value:i.right.value,function:E==null?void 0:E.type,fnSeries:Q,field:E==null?void 0:E.field}),[g(i.left),g(i.right)];default:return null}};return g(o.expression),c},z=n=>{var o,c;return{eventDefinition:n,aggregations:(o=n==null?void 0:n.config)!=null&&o.series&&((c=n==null?void 0:n.config)!=null&&c.conditions)?j()(V({series:n.config.series,conditions:n.config.conditions}),L()):[]}},f=n=>(0,H.ZP)("GET",S(n)).then(z),s=(n,{onErrorHandler:o}={})=>{const{data:c,refetch:g,isLoading:i,isFetched:y}=(0,e.useQuery)(["event-definition-by-id",n],()=>f(n),{onError:C=>{o&&o(C),$.Z.error(`Loading event definition failed with status: ${C}`,"Could not load event definition")},keepPreviousData:!0,enabled:!!n,initialData:{eventDefinition:null,aggregations:[]}});return{data:c,refetch:g,isLoading:i,isFetched:y}}},Dh8G0fI8:(b,A,t)=>{t.d(A,{Z:()=>d});const d={LOW:1,NORMAL:2,HIGH:3,properties:{1:{name:"low"},2:{name:"normal"},3:{name:"high"}}}},J7MaobQD:(b,A,t)=>{t.d(A,{O:()=>w,e:()=>f});var e=t("JnTtTRmZ"),d=t.n(e),j=t("oCSEoDew"),T=t.n(j),L=t("u1Q00LVl"),$=t.n(L),H=t("MdYBRjRJ"),_=t("jAGDuYSC"),S=t("eFxcQyPT"),V=t("IA3Ku5lS"),z=t("gyRmhZSW");const f=(0,V.ei)("core.EventNotifications",()=>d().createActions({listAll:{asyncResult:!0},listAllLegacyTypes:{asyncResult:!0},listPaginated:{asyncResult:!0},searchPaginated:{asyncResult:!0},get:{asyncResult:!0},create:{asyncResult:!0},update:{asyncResult:!0},delete:{asyncResult:!0},test:{asyncResult:!0},testPersisted:{asyncResult:!0}})),w=(0,V.dS)("core.EventNotifications",()=>d().createStore({listenables:[f],sourceUrl:"/events/notifications",all:void 0,allLegacyTypes:void 0,notifications:void 0,query:void 0,pagination:{count:void 0,page:void 0,pageSize:void 0,total:void 0,grandTotal:void 0},getInitialState(){return this.getState()},propagateChanges(){this.trigger(this.getState())},getState(){return{all:this.all,allLegacyTypes:this.allLegacyTypes,notifications:this.notifications,query:this.query,pagination:this.pagination}},eventNotificationsUrl({segments:s=[],query:n={}}){const o=new(T())(this.sourceUrl),c=$()(o.segment(),s);return o.segmentCoded(c),o.query(n),H.DC(o.resource())},refresh(){this.all&&this.listAll(),this.pagination.page&&this.listPaginated({query:this.query,page:this.pagination.page,pageSize:this.pagination.pageSize})},listAll(){const s=(0,S.ZP)("GET",this.eventNotificationsUrl({query:{per_page:0}}));s.then(n=>(this.all=n.notifications,this.propagateChanges(),n)),f.listAll.promise(s)},listPaginated({query:s="",page:n=1,pageSize:o=10}){const c=(0,S.ZP)("GET",this.eventNotificationsUrl({query:{query:s,page:n,per_page:o}}));c.then(g=>(this.notifications=g.notifications,this.query=g.query,this.pagination={count:g.count,page:g.page,pageSize:g.per_page,total:g.total,grandTotal:g.grand_total},this.propagateChanges(),g)),f.listPaginated.promise(c)},searchPaginated(s,n,o,c){const g=(0,z.Z)(`${this.sourceUrl}/paginated`,s,n,o,c),i=(0,S.ZP)("GET",H.DC(g)).then(y=>{const{elements:C,query:E,attributes:Q,pagination:{count:R,total:m,page:U,per_page:G}}=y;return{elements:C,attributes:Q,pagination:{count:R,total:m,page:U,perPage:G,query:E}}});return f.searchPaginated.promise(i),i},get(s){const n=(0,S.ZP)("GET",this.eventNotificationsUrl({segments:[s]}));n.catch(o=>{o.status===404&&_.Z.error(`Unable to find Event Notification with id <${s}>, please ensure it wasn't deleted.`,"Could not retrieve Event Notification")}),f.get.promise(n)},create(s){const n=(0,S.ZP)("POST",this.eventNotificationsUrl({}),s);n.then(o=>(_.Z.success("Notification created successfully",`Notification "${s.title}" was created successfully.`),this.refresh(),o),o=>{(o.status!==400||!o.additional.body||!o.additional.body.failed)&&_.Z.error(`Creating Notification "${s.title}" failed with status: ${o}`,"Could not save Notification")}),f.create.promise(n)},update(s,n){const o=(0,S.ZP)("PUT",this.eventNotificationsUrl({segments:[s]}),n);o.then(c=>(_.Z.success("Notification updated successfully",`Notification "${n.title}" was updated successfully.`),this.refresh(),c),c=>{(c.status!==400||!c.additional.body||!c.additional.body.failed)&&_.Z.error(`Updating Notification "${n.title}" failed with status: ${c}`,"Could not update Notification")}),f.update.promise(o)},delete(s){const n=(0,S.ZP)("DELETE",this.eventNotificationsUrl({segments:[s.id]}));n.then(()=>{_.Z.success("Notification deleted successfully",`Notification "${s.title}" was deleted successfully.`),this.refresh()},o=>{_.Z.error(`Deleting Notification "${s.title}" failed with status: ${o}`,"Could not delete Notification")}),f.delete.promise(n)},test(s){const n=(0,S.ZP)("POST",this.eventNotificationsUrl({segments:["test"]}),s);f.test.promise(n)},testPersisted(s){const n=(0,S.ZP)("POST",this.eventNotificationsUrl({segments:[s.id,"test"]}));f.testPersisted.promise(n)},listAllLegacyTypes(){const s=(0,S.ZP)("GET",this.eventNotificationsUrl({segments:["legacy","types"]}));s.then(n=>(this.allLegacyTypes=n.types,this.propagateChanges(),n)),f.listAllLegacyTypes.promise(s)}}))},iPvR7dhw:(b,A,t)=>{t.d(A,{Z:()=>T});var e=t("Z7aTuO5B"),d=t("g2NQZb9A");const T=L=>(0,e.useMemo)(()=>L.then(async $=>(await(0,d.Z)($.search),$)),[L])},m81tulV4:(b,A,t)=>{t.d(A,{X:()=>e,l:()=>d});const e={"<":"less","<=":"less_equal",">=":"greater_equal",">":"greater","==":"equal"},d={less:"<",less_equal:"<=",greater_equal:">=",greater:">",equal:"=="}},OuvOTzCp:(b,A,t)=>{t.d(A,{ZP:()=>lt,qH:()=>st});var e=t("Z7aTuO5B"),d=t("VPaD/Np4"),j=t.n(d),T=t("efAt+LzL"),L=t.n(T),$=t("UmnljV2q"),H=t("ZJjLtB2e"),_=t("/coHI+Jz"),S=t("dcP8FKpJ"),V=t("gbXdylj1"),z=t("6BCpJW2W"),f=t("mTnbNx1k"),w=t("FfX57J1C"),s=t("pa3lbc7X"),n=t("iltCXley"),o=t("ugp+BYjv"),c=t("jlRcBdjT"),g=t("/QVctsfe"),i=t("fCul1Qwh"),y=t("7J1sc9Ol"),C=t("Wk8izdHL"),E=t("7VrSCphN"),Q=t("BcOICGB7"),R=t("I4XORk+Y"),m=t("UnwAqHt2"),U=t("m81tulV4"),G=t("4/JSMBsA");const Z=3,J=({rowPivots:v,fnSeries:h,sort:I=[]})=>g.Z.builder().id((0,n.Z)()).config(i.Z.builder().columnPivots([]).rowPivots(v).series(h).sort(I).visualization("table").rollup(!0).build()).build(),Y=({index:v,SUMMARY_ROW_DELTA:h})=>{const B=(v+1)%2===0?7:1,N=v>=2?Z:0,x=Math.ceil((v+1)/2)+N+h;return new w.Z(B,x,Z,6)},X=({field:v,groupBy:h,fnSeries:I,expr:B})=>{const N=L()([v,...h].filter(u=>!!u)),x=N.length?[(0,o.Z)(N,new c.ZP("value",[],[]))]:[],D=y.ZP.forFunction(I),a=[">",">=","=="].includes(B)?E.Z.Descending:E.Z.Ascending,l=[new C.Z(C.Z.SERIES_TYPE,I,a)];return J({rowPivots:x,fnSeries:[D],sort:l})},k=({aggregations:v,groupBy:h})=>{const{summaryFnSeries:I,summaryRowPivots:B,summaryTitle:N}=v.reduce((D,{field:a,value:l,expr:u,fnSeries:r})=>{const P=`${r} ${u} ${l}`;return D.summaryFnSeries.push(r),a&&D.summaryRowPivots.push(a),D.summaryTitle=`${D.summaryTitle} ${P}`,D},{summaryFnSeries:[],summaryRowPivots:[],summaryTitle:"Summary: "}),x=J({rowPivots:[(0,o.Z)(L()([...B,...h]),new c.ZP("value",[],[]))],fnSeries:I.map(D=>y.ZP.forFunction(D))});return{summaryTitle:N,summaryWidget:x,summaryPosition:new w.Z(1,1,Z,1/0)}},nt=async({streams:v,aggregations:h,groupBy:I})=>{const B=await s.D.list(),N=(0,S.q)(v),x=B!=null&&B.length?B.filter(N):[],D=(0,f.VW)(),a=(0,f.c1)(void 0,x),l=h.length>1,u=l?Z:0,{aggregationWidgets:r,aggregationTitles:P,aggregationPositions:F}=h.reduce((O,{field:K,value:q,expr:tt,fnSeries:it},ot)=>{const et=X({fnSeries:it,field:K,groupBy:I,expr:tt});return O.aggregationWidgets.push(et),O.aggregationTitles[et.id]=`${it} ${tt} ${q}`,O.aggregationPositions[et.id]=Y({index:ot,SUMMARY_ROW_DELTA:u}),O},{aggregationTitles:{},aggregationWidgets:[],aggregationPositions:{}}),p=[...r,D,a],W={widget:{...P,[D.id]:"Message Count",[a.id]:"All Messages"}},M={...F,[D.id]:new w.Z(1,Z*r.length+1+u,2,1/0),[a.id]:new w.Z(1,Z*r.length+3+u,6,1/0)};if(l){const{summaryTitle:O,summaryWidget:K,summaryPosition:q}=k({aggregations:h,groupBy:I});p.push(K),W.widget[K.id]=O,M[K.id]=q}return{titles:W,widgets:p,positions:M}},at=async({streams:v,aggregations:h,groupBy:I})=>{const{titles:B,widgets:N,positions:x}=await nt({streams:v,aggregations:h,groupBy:I}),D=h==null?void 0:h.map(({fnSeries:a,value:l,expr:u})=>m.ZP.create(a,l,U.X[u]||"equal",(0,m.p)()));return z.Z.create().toBuilder().titles(B).widgets(d.List(N)).widgetPositions(x).formatting(G.Z.create(D)).build()},st=async({streams:v,timeRange:h,queryString:I,aggregations:B,groupBy:N,queryParameters:x})=>{const D=(0,H.Z)(v,void 0,h,I),a=_.Z.create().toBuilder().queries([D]).parameters(x.map(r=>Q.Z.fromJSON(r))).build(),l=await at({streams:v,aggregations:B,groupBy:N}),u=$.Z.create().toBuilder().newId().type($.Z.Type.Search).state({[D.id]:l}).search(a).build();return(0,V.Z)(u)},lt=({eventData:v,eventDefinition:h,aggregations:I})=>{var B,N,x,D,a,l;const u=(0,R._5)(Object.entries(v.group_by_fields).map(([O,K])=>`${O}:${(0,R.YU)(K)}`),{withBrackets:!1}),r=((B=v==null?void 0:v.replay_info)==null?void 0:B.query)||"",{streams:P}=v.replay_info,F={type:"absolute",from:(N=v==null?void 0:v.replay_info)==null?void 0:N.timerange_start,to:(x=v==null?void 0:v.replay_info)==null?void 0:x.timerange_end},p={type:"elasticsearch",query_string:(0,R._5)([r,u])},W=((D=h==null?void 0:h.config)==null?void 0:D.query_parameters)||[],M=(l=(a=h==null?void 0:h.config)==null?void 0:a.group_by)!=null?l:[];return(0,e.useMemo)(()=>st({streams:P,timeRange:F,queryString:p,aggregations:I,groupBy:M,queryParameters:W}),[])}},cXPoJEmv:(b,A,t)=>{t.r(A),t.d(A,{default:()=>g,onErrorHandler:()=>o});var e=t("Z7aTuO5B"),d=t("6dLKCZdN"),j=t("pStb38mj"),T=t("/GOzvPf6"),L=t("VcneZdh2"),$=t("J7MaobQD"),H=t("z6QEDyg6"),_=t("OuvOTzCp");const V=({eventDefinition:i,aggregations:y})=>{var C,E,Q,R,m,U,G,Z;const J=(E=(C=i==null?void 0:i.config)==null?void 0:C.streams)!=null?E:[],Y={type:"relative",range:((R=(Q=i==null?void 0:i.config)==null?void 0:Q.search_within_ms)!=null?R:0)/1e3},X={type:"elasticsearch",query_string:((m=i==null?void 0:i.config)==null?void 0:m.query)||""},k=((U=i==null?void 0:i.config)==null?void 0:U.query_parameters)||[],nt=(Z=(G=i==null?void 0:i.config)==null?void 0:G.group_by)!=null?Z:[];return(0,e.useMemo)(()=>(0,_.qH)({streams:J,timeRange:Y,queryString:X,aggregations:y,groupBy:nt,queryParameters:k}),[])};var z=t("icrwsL0X"),f=t("9tc+dS6Z"),w=t("62FDaRYn"),s=t("iPvR7dhw");const n=()=>{const{eventDefinition:i,aggregations:y}=(0,H.Z)(),C=V({eventDefinition:i,aggregations:y}),E=(0,s.Z)(C);return e.createElement(L.Z,{view:E,isNew:!0,SearchComponentSlots:{InfoBarSlot:z.Z}})},o=i=>{i.status===404&&w.Z.report((0,f.W6)(i))},g=()=>{const[i,y]=(0,e.useState)(!1),{definitionId:C}=(0,d.Z)(),{isLoading:E,isFetched:Q}=(0,j.Z)(C,{onErrorHandler:o});return(0,e.useEffect)(()=>{$.e.listAll().then(()=>y(!0))},[y]),E||!Q||!i?e.createElement(T.$j,null):e.createElement(n,null)}},"9lIfR+pR":(b,A,t)=>{t.r(A),t.d(A,{default:()=>R,onErrorHandler:()=>E});var e=t("Z7aTuO5B"),d=t("6dLKCZdN"),j=t("DUKaTDO2"),T=t("jAGDuYSC"),L=t("eFxcQyPT"),$=t("MdYBRjRJ");const H=m=>(0,$.DC)(`/events/${m}`),_=m=>(0,L.ZP)("GET",H(m)).then(U=>U.event),V=(m,{onErrorHandler:U}={})=>{const{data:G,refetch:Z,isLoading:J,isFetched:Y}=(0,j.useQuery)(["event-by-id",m],()=>_(m),{onError:X=>{U&&U(X),T.Z.error(`Loading event or alert failed with status: ${X}`,"Could not load event or alert")},keepPreviousData:!0,enabled:!!m});return{data:G,refetch:Z,isLoading:J,isFetched:Y}};var z=t("pStb38mj"),f=t("/GOzvPf6"),w=t("VcneZdh2"),s=t("J7MaobQD"),n=t("OuvOTzCp"),o=t("z6QEDyg6"),c=t("icrwsL0X"),g=t("9tc+dS6Z"),i=t("62FDaRYn"),y=t("iPvR7dhw");const C=()=>{const{eventData:m,eventDefinition:U,aggregations:G}=(0,o.Z)(),Z=(0,n.ZP)({eventData:m,eventDefinition:U,aggregations:G}),J=(0,y.Z)(Z);return e.createElement(w.Z,{view:J,isNew:!0,SearchComponentSlots:{InfoBarSlot:c.Z}})},E=m=>{m.status===404&&i.Z.report((0,g.W6)(m))},R=()=>{const[m,U]=(0,e.useState)(!1),{alertId:G}=(0,d.Z)(),{data:Z,isLoading:J,isFetched:Y}=V(G,{onErrorHandler:E}),{isLoading:X,isFetched:k}=(0,z.Z)(Z==null?void 0:Z.event_definition_id);return(0,e.useEffect)(()=>{s.e.listAll().then(()=>U(!0))},[U]),J||X||!Y||!k||!m?e.createElement(f.$j,null):e.createElement(C,null)}}}]);})();

//# sourceMappingURL=ShowViewPage.75b5bca6e699a5d7e0af.js.map




© 2015 - 2024 Weber Informatics LLC | Privacy Policy