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

assets.4968.81a8013582944a845c03.js Maven / Gradle / Ivy

There is a newer version: 1.6.1
Show newest version
"use strict";(self.webpackChunkopen_metadata=self.webpackChunkopen_metadata||[]).push([[4968],{37682:function(e,t,n){var i=n(8081),a=n.n(i),r=n(23645),l=n.n(r)()(a());l.push([e.id,'/*\n *  Copyright 2022 Collate.\n *  Licensed under the Apache License, Version 2.0 (the "License");\n *  you may not use this file except in compliance with the License.\n *  You may obtain a copy of the License at\n *  http://www.apache.org/licenses/LICENSE-2.0\n *  Unless required by applicable law or agreed to in writing, software\n *  distributed under the License is distributed on an "AS IS" BASIS,\n *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *  See the License for the specific language governing permissions and\n *  limitations under the License.\n */\n/*\n *  Copyright 2022 Collate.\n *  Licensed under the Apache License, Version 2.0 (the "License");\n *  you may not use this file except in compliance with the License.\n *  You may obtain a copy of the License at\n *  http://www.apache.org/licenses/LICENSE-2.0\n *  Unless required by applicable law or agreed to in writing, software\n *  distributed under the License is distributed on an "AS IS" BASIS,\n *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *  See the License for the specific language governing permissions and\n *  limitations under the License.\n */\n/* navbar+tab_height+padding = 64+46+12  */\n.policies-detail .list-table .ant-table-row .ant-table-cell:first-child,\n.policies-detail .list-table .ant-table-thead .ant-table-cell:first-child {\n  padding-left: 16px;\n}\n.policies-detail .ant-collapse {\n  background-color: #fff;\n  border: 1px solid #0000001a;\n  box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.12);\n  border-radius: 4px;\n}\n.policies-detail .ant-collapse .ant-collapse-item .ant-collapse-header {\n  padding: 16px;\n  align-items: flex-start;\n}\n.policies-detail .ant-collapse .ant-collapse-item .ant-collapse-header .ant-collapse-arrow {\n  color: #292929;\n  font-size: 14px;\n}\n.policies-detail .ant-collapse .ant-collapse-content {\n  border-top: none;\n}\n.policies-detail .ant-collapse .ant-collapse-content .ant-collapse-content-box {\n  padding-top: 0px;\n}\n.policies-detail .ant-space.tabpane-space > .ant-space-item:first-child {\n  align-self: flex-end;\n}\n',""]),t.Z=l},43633:function(e,t,n){var i=n(70655),a=n(71577),r=n(94199),l=n(19650),c=n(56256),s=n(23031),o=n(96486),u=n(67294),d=n(15137),m=n(96605),p=n(90386),f=n(38780),h=n(7873),v=n(99886),E=n(62761),b=n(58369),y=n(31615),Z=n(93895),g=n(24671),x=n(86385),w=n(46321),N=n(59136),C=n(24135);t.Z=function(e){var t=e.className,n=e.header,k=e.hasEditAccess,T=e.onDescriptionEdit,S=e.description,L=void 0===S?"":S,I=e.isEdit,J=e.onCancel,A=e.onDescriptionUpdate,R=e.isReadOnly,G=void 0!==R&&R,O=e.removeBlur,q=void 0!==O&&O,D=e.entityName,_=e.entityFieldThreads,P=e.onThreadLinkSelect,U=e.entityType,$=e.entityFqn,z=e.entityFieldTasks,F=e.reduceDescription,K=(0,d.k6)(),j=null==_?void 0:_[0],Q=null==z?void 0:z[0],W=function(){K.push((0,x.Ub)(U,$))},B=function(){K.push((0,x.L6)(U,$))},M=function(){T&&T()},V=function(){var e=Boolean(L.trim());return x.GZ.includes(U)?u.createElement(a.Z,{className:"w-7 h-7 p-0 flex-center","data-testid":"request-entity-description",type:"text",onClick:e?B:W},u.createElement(r.Z,{placement:"right",title:e?(0,s.t)("message.request-update-description"):(0,s.t)("message.request-description")},u.createElement(h.ReactComponent,(0,i.pi)({name:(0,s.t)("message.request-description")},E.K$)))):null},Y=function(e){var t=e.descriptionThread;return(0,o.isUndefined)(t)?u.createElement(u.Fragment,null,(null==L?void 0:L.trim())&&P?u.createElement(a.Z,{className:"w-7 h-7 link-text p-0 flex-center","data-testid":"start-description-thread",icon:u.createElement(m.ReactComponent,(0,i.pi)({},E.K$,{name:"comments"})),type:"text",onClick:function(){return null==P?void 0:P((0,g.ec)(U,$,b.Sn.DESCRIPTION))}}):null):u.createElement(a.Z,{className:"w-9 h-7 p-0","data-testid":"description-thread",type:"text",onClick:function(){return null==P?void 0:P(t.entityLink)}},u.createElement(l.Z,{align:"center",className:"h-full",size:2},u.createElement(p.ReactComponent,(0,i.pi)({},E.K$,{name:"tasks"})),u.createElement(c.Z.Text,{"data-testid":"description-thread-count"},t.count)))};return u.createElement("div",{className:"schema-description relative "+t},u.createElement(l.Z,{align:"end",className:"description-inner-main-container",size:4},u.createElement("div",{className:"relative"},u.createElement("div",{className:"description h-full relative overflow-y-scroll","data-testid":"description",id:"center"},(null==L?void 0:L.trim())?u.createElement(C.Z,{className:F?"max-two-lines":"",enableSeeMoreVariant:!q,markdown:L}):u.createElement("span",{className:"text-grey-muted p-y-xs"},(0,s.t)("label.no-entity",{entity:(0,s.t)("label.description")})))),u.createElement((function(){return G?null:u.createElement(l.Z,{align:"end",size:0},k&&u.createElement(a.Z,{className:"w-7 h-7 p-0 flex-center","data-testid":"edit-description",icon:u.createElement(f.ReactComponent,(0,i.pi)({color:E.MJ},E.K$)),type:"text",onClick:M}),(0,Z.nq)(U)?u.createElement(u.Fragment,null,u.createElement(V,null),(0,o.isUndefined)(Q)?null:u.createElement(a.Z,{className:"w-9 h-7 p-0","data-testid":"description-task",type:"text",onClick:function(){return null==P?void 0:P(Q.entityLink,y.Th.Task)}},u.createElement(l.Z,{align:"center",className:"h-full",size:2},u.createElement(v.ReactComponent,(0,i.pi)({},E.K$,{name:"tasks"})),u.createElement(c.Z.Text,{"data-testid":"description-tasks-count"},Q.count)))):null,u.createElement(Y,{descriptionThread:j}))}),null)),u.createElement(N.p,{header:n||(0,s.t)("label.edit-description-for",{entityName:D}),placeholder:(0,s.t)("label.enter-entity",{entity:(0,s.t)("label.description")}),value:L,visible:Boolean(I),onCancel:J,onSave:function(e){return(0,i.mG)(void 0,void 0,void 0,(function(){var t;return(0,i.Jh)(this,(function(n){switch(n.label){case 0:if(!A||!(0,o.isFunction)(A))return[3,4];n.label=1;case 1:return n.trys.push([1,3,,4]),[4,A(e)];case 2:return n.sent(),J&&J(),[3,4];case 3:return t=n.sent(),(0,w.Eo)(t),[3,4];case 4:return[2]}}))}))}}))}},74968:function(e,t,n){n.r(t),n.d(t,{default:function(){return X}});var i=n(70655),a=n(44545),r=n(25499),l=n(13013),c=n(28682),s=n(71577),o=n(19650),u=n(56256),d=n(91894),m=n(71230),p=n(15746),f=n(50146),h=n(34901),v=n(96486),E=n(67294),b=n(68432),y=n(15137),Z=n(38780),g=n(43633),x=n(83716),w=n(24135),N=n(26387),C=n(69523),k=n(96162),T=n(64632),S=n(80897),L=n(11484),I=n(24671),J=n(96840),A=n(38212),R=n(46321),G=n(93379),O=n.n(G),q=n(7795),D=n.n(q),_=n(90569),P=n.n(_),U=n(3565),$=n.n(U),z=n(19216),F=n.n(z),K=n(44589),j=n.n(K),Q=n(37682),W={};W.styleTagTransform=j(),W.setAttributes=$(),W.insert=P().bind(null,"head"),W.domAPI=D(),W.insertStyleElement=F(),O()(Q.Z,W),Q.Z&&Q.Z.locals&&Q.Z.locals;var B=n(94199),M=n(2307),V=n(76),Y=function(e){var t=e.list,n=e.type,i=e.onDelete,a=e.hasAccess,r=(0,b.$)().t,l=(0,E.useMemo)((function(){return[{title:r("label.name"),dataIndex:"name",width:"200px",key:"name",render:function(e,t){var i="";switch(n){case"role":i=(0,J.Uy)(t.fullyQualifiedName||"");break;case"team":i=(0,J.KH)(t.fullyQualifiedName||"")}return E.createElement(V.Link,{className:"link-hover",to:i},(0,I.C_)(t))}},{title:r("label.description"),dataIndex:"description",key:"description",render:function(e,t){return E.createElement(w.Z,{markdown:(null==t?void 0:t.description)||""})}},{title:r("label.action-plural"),dataIndex:"actions",width:"80px",key:"actions",render:function(e,t){return E.createElement(B.Z,{title:r(a?"label.remove":"message.no-permission-for-action")},E.createElement(s.Z,{"data-testid":"remove-action-"+(0,I.C_)(t),disabled:!a,type:"text",onClick:function(){return i(t)}},E.createElement(A.ZP,{alt:"remove",icon:A.PJ.ICON_REMOVE,title:r("label.remove")})))}}]}),[]);return E.createElement(M.Z,{bordered:!0,className:"list-table",columns:l,dataSource:t,pagination:!1,rowKey:"id",size:"small"})},H=r.Z.TabPane,X=function(){var e,t,n=(0,b.$)().t,G=(0,y.k6)(),O=(0,y.UO)().fqn,q=(0,i.CR)((0,E.useState)({}),2),D=q[0],_=q[1],P=(0,i.CR)((0,E.useState)(!1),2),U=P[0],$=P[1],z=(0,i.CR)((0,E.useState)(!1),2),F=z[0],K=z[1],j=(0,i.CR)((0,E.useState)(!1),2),Q=j[0],W=j[1],B=(0,i.CR)((0,E.useState)(),2),M=B[0],V=B[1],X=(0,J.si)(k.CZ.ACCESS,k.lx.POLICIES),ee=(0,E.useMemo)((function(){return[{name:n("label.policy-plural"),url:X},{name:(0,I.C_)(D),url:""}]}),[D]),te=(0,E.useCallback)((function(e){return E.createElement(l.Z,{overlay:E.createElement(c.Z,{items:[{label:E.createElement(s.Z,{className:"p-0","data-testid":"edit-rule",type:"text",onClick:function(t){t.stopPropagation(),G.push((0,J.do)(O,e.name||""))}},E.createElement(o.Z,{align:"center"},E.createElement(Z.ReactComponent,{width:"16px"}),n("label.edit"))),key:"edit-button"},{label:E.createElement(s.Z,{className:"p-0","data-testid":"delete-rule",type:"text",onClick:function(t){var n;t.stopPropagation(),n=e,(0,i.mG)(void 0,void 0,void 0,(function(){var e,t,a,r,l;return(0,i.Jh)(this,(function(c){switch(c.label){case 0:e=(null!==(l=D.rules)&&void 0!==l?l:[]).filter((function(e){return e.name!==n.name})),t=(0,h.qu)(D,(0,i.pi)((0,i.pi)({},D),{rules:e})),c.label=1;case 1:return c.trys.push([1,3,,4]),[4,(0,S.$j)(t,D.id)];case 2:return a=c.sent(),_(a),[3,4];case 3:return r=c.sent(),(0,R.Eo)(r),[3,4];case 4:return[2]}}))}))}},E.createElement(o.Z,{align:"center"},E.createElement(A.ZP,{alt:n("label.delete"),icon:A.PJ.DELETE,width:"16px"}),n("label.delete"))),key:"delete-button"}]}),placement:"bottomRight",trigger:["click"]},E.createElement(s.Z,{"data-testid":"manage-button-"+e.name,icon:E.createElement(a.Z,{className:"text-grey-body",rotate:90}),size:"small",type:"text",onClick:function(e){e.stopPropagation()}}))}),[D]);return(0,E.useEffect)((function(){(0,i.mG)(void 0,void 0,void 0,(function(){var e,t;return(0,i.Jh)(this,(function(n){switch(n.label){case 0:$(!0),n.label=1;case 1:return n.trys.push([1,3,4,5]),[4,(0,S.u7)(O,"owner,location,teams,roles")];case 2:return e=n.sent(),_(null!=e?e:{}),[3,5];case 3:return t=n.sent(),(0,R.Eo)(t),[3,5];case 4:return $(!1),[7];case 5:return[2]}}))}))}),[O]),U?E.createElement(C.Z,null):E.createElement("div",{"data-testid":"policy-details-container"},E.createElement(N.Z,{titleLinks:ee}),E.createElement(E.Fragment,null,(0,v.isEmpty)(D)?E.createElement(x.Z,null,E.createElement("div",{className:"text-center"},E.createElement("p",null,n("message.no-entity-found-for-name",{entity:n("label.policy-lowercase"),name:O})),E.createElement(s.Z,{size:"small",type:"primary",onClick:function(){return G.push(X)}},n("label.go-back")))):E.createElement("div",{className:"policies-detail","data-testid":"policy-details"},E.createElement(u.Z.Title,{className:"m-b-0 m-t-xs","data-testid":"heading",level:5},(0,I.C_)(D)),E.createElement(g.Z,{hasEditAccess:!0,className:"m-b-md",description:D.description||"",entityFqn:D.fullyQualifiedName,entityName:(0,I.C_)(D),entityType:T.py.POLICY,isEdit:Q,onCancel:function(){return W(!1)},onDescriptionEdit:function(){return W(!0)},onDescriptionUpdate:function(e){return(0,i.mG)(void 0,void 0,void 0,(function(){var t,n,a;return(0,i.Jh)(this,(function(r){switch(r.label){case 0:t=(0,h.qu)(D,(0,i.pi)((0,i.pi)({},D),{description:e})),r.label=1;case 1:return r.trys.push([1,3,4,5]),[4,(0,S.$j)(t,D.id)];case 2:return n=r.sent(),_((0,i.pi)((0,i.pi)({},D),{description:n.description})),[3,5];case 3:return a=r.sent(),(0,R.Eo)(a),[3,5];case 4:return W(!1),[7];case 5:return[2]}}))}))}}),E.createElement(r.Z,{defaultActiveKey:"rules"},E.createElement(H,{key:"rules",tab:n("label.rule-plural")},(0,v.isEmpty)(D.rules)?E.createElement(x.Z,null):E.createElement(o.Z,{className:"w-full tabpane-space",direction:"vertical"},E.createElement(s.Z,{"data-testid":"add-rule",type:"primary",onClick:function(){return G.push((0,J.qW)(O))}},n("label.add-entity",{entity:n("label.rule")})),E.createElement(o.Z,{className:"w-full",direction:"vertical",size:20},D.rules.map((function(e){var t,i,a;return E.createElement(d.Z,{"data-testid":"rule-card",key:e.name||"rule"},E.createElement(o.Z,{align:"baseline",className:"w-full justify-between p-b-lg",direction:"horizontal"},E.createElement(u.Z.Text,{className:"font-medium text-base text-grey-body","data-testid":"rule-name"},e.name),te(e)),E.createElement(o.Z,{className:"w-full",direction:"vertical",size:12},e.description&&E.createElement(m.Z,{"data-testid":"description"},E.createElement(p.Z,{span:2},E.createElement(u.Z.Text,{className:"text-grey-muted"},n("label.description")+":")),E.createElement(p.Z,{span:22},E.createElement(w.Z,{markdown:e.description||""}))),E.createElement(m.Z,{"data-testid":"resources"},E.createElement(p.Z,{span:2},E.createElement(u.Z.Text,{className:"text-grey-muted m-b-0"},n("label.resource-plural")+":")),E.createElement(p.Z,{span:22},E.createElement(u.Z.Text,{className:"text-grey-body"},null===(i=null===(t=e.resources)||void 0===t?void 0:t.map((function(e){return(0,v.startCase)(e)})))||void 0===i?void 0:i.join(", ")))),E.createElement(m.Z,{"data-testid":"operations"},E.createElement(p.Z,{span:2},E.createElement(u.Z.Text,{className:"text-grey-muted"},n("label.operation-plural")+":")),E.createElement(p.Z,{span:22},E.createElement(u.Z.Text,{className:"text-grey-body"},null===(a=e.operations)||void 0===a?void 0:a.join(", ")))),E.createElement(m.Z,{"data-testid":"effect"},E.createElement(p.Z,{span:2},E.createElement(u.Z.Text,{className:"text-grey-muted"},n("label.effect")+":")),E.createElement(p.Z,{span:22},E.createElement(u.Z.Text,{className:"text-grey-body"},(0,v.startCase)(e.effect)))),e.condition&&E.createElement(m.Z,{"data-testid":"condition"},E.createElement(p.Z,{span:2},E.createElement(u.Z.Text,{className:"text-grey-muted"},n("label.condition")+":")),E.createElement(p.Z,{span:22},E.createElement("code",null,e.condition)))))}))))),E.createElement(H,{key:"roles",tab:n("label.role-plural")},E.createElement(Y,{hasAccess:!0,list:null!==(e=D.roles)&&void 0!==e?e:[],type:"role",onDelete:function(e){return V({record:e,attribute:"roles"})}})),E.createElement(H,{key:"teams",tab:n("label.team-plural")},E.createElement(Y,{hasAccess:!0,list:null!==(t=D.teams)&&void 0!==t?t:[],type:"team",onDelete:function(e){return V({record:e,attribute:"teams"})}}))))),M&&E.createElement(f.Z,{centered:!0,closable:!1,confirmLoading:F,maskClosable:!1,okText:n("label.confirm"),open:!(0,v.isUndefined)(M.record),title:n("label.remove-entity",{entity:(0,I.C_)(M.record)})+" "+n("label.from-lowercase")+" "+(0,I.C_)(D),onCancel:function(){return V(void 0)},onOk:function(){return(0,i.mG)(void 0,void 0,void 0,(function(){return(0,i.Jh)(this,(function(e){switch(e.label){case 0:return[4,(t=M.record,n=M.attribute,(0,i.mG)(void 0,void 0,void 0,(function(){var e,a,r,l,c,s,o;return(0,i.Jh)(this,(function(u){switch(u.label){case 0:return K(!0),"roles"!==n?[3,1]:(function(e){(0,i.mG)(void 0,void 0,void 0,(function(){var t,n,a,r,l,c,s;return(0,i.Jh)(this,(function(o){switch(o.label){case 0:return o.trys.push([0,3,4,5]),[4,(0,S.n5)(e.fullyQualifiedName||"","policies")];case 1:return t=o.sent(),n=(null!==(c=t.policies)&&void 0!==c?c:[]).filter((function(e){return e.id!==D.id})),a=(0,h.qu)(t,(0,i.pi)((0,i.pi)({},t),{policies:n})),[4,(0,S.sZ)(a,t.id)];case 2:return o.sent()&&(r=(null!==(s=D.roles)&&void 0!==s?s:[]).filter((function(t){return t.id!==e.id})),_((function(e){return(0,i.pi)((0,i.pi)({},e),{roles:r})}))),[3,5];case 3:return l=o.sent(),(0,R.Eo)(l),[3,5];case 4:return K(!1),[7];case 5:return[2]}}))}))}(t),[3,7]);case 1:return"teams"!==n?[3,2]:(function(e){(0,i.mG)(void 0,void 0,void 0,(function(){var t,n,a,r,l,c,s;return(0,i.Jh)(this,(function(o){switch(o.label){case 0:return o.trys.push([0,3,4,5]),[4,(0,L.Xv)(e.fullyQualifiedName||"","policies")];case 1:return t=o.sent(),n=(null!==(c=t.policies)&&void 0!==c?c:[]).filter((function(e){return e.id!==D.id})),a=(0,h.qu)(t,(0,i.pi)((0,i.pi)({},t),{policies:n})),[4,(0,L.Cp)(t.id,a)];case 2:return o.sent()&&(r=(null!==(s=D.teams)&&void 0!==s?s:[]).filter((function(t){return t.id!==e.id})),_((function(e){return(0,i.pi)((0,i.pi)({},e),{teams:r})}))),[3,5];case 3:return l=o.sent(),(0,R.Eo)(l),[3,5];case 4:return K(!1),[7];case 5:return[2]}}))}))}(t),[3,7]);case 2:e=null!==(o=D[n])&&void 0!==o?o:[],a=e.filter((function(e){return e.id!==t.id})),r=(0,h.qu)(D,(0,i.pi)((0,i.pi)({},D),((s={})[n]=a,s))),u.label=3;case 3:return u.trys.push([3,5,6,7]),[4,(0,S.$j)(r,D.id)];case 4:return l=u.sent(),_(l),[3,7];case 5:return c=u.sent(),(0,R.Eo)(c),[3,7];case 6:return K(!1),[7];case 7:return[2]}}))})))];case 1:return e.sent(),V(void 0),[2]}var t,n}))}))}},E.createElement(u.Z.Text,null,n("message.are-you-sure-you-want-to-remove-child-from-parent",{child:(0,I.C_)(M.record),parent:(0,I.C_)(D)}))))}},80897:function(e,t,n){n.d(t,{$j:function(){return p},F3:function(){return l},Ko:function(){return c},QW:function(){return h},_d:function(){return u},cN:function(){return f},dV:function(){return v},n5:function(){return s},sZ:function(){return m},u$:function(){return d},u7:function(){return o}});var i=n(70655),a=n(2598),r={headers:{"Content-type":"application/json-patch+json"}},l=function(e,t,n,r,l){return void 0===r&&(r=!1),void 0===l&&(l=10),(0,i.mG)(void 0,void 0,void 0,(function(){var c;return(0,i.Jh)(this,(function(i){switch(i.label){case 0:return c={default:r,limit:l,fields:e,after:t,before:n},[4,a.Z.get("/roles",{params:c})];case 1:return[2,i.sent().data]}}))}))},c=function(e,t,n,r){return void 0===r&&(r=10),(0,i.mG)(void 0,void 0,void 0,(function(){var l;return(0,i.Jh)(this,(function(i){switch(i.label){case 0:return l={limit:r,fields:e,after:t,before:n},[4,a.Z.get("/policies",{params:l})];case 1:return[2,i.sent().data]}}))}))},s=function(e,t){return(0,i.mG)(void 0,void 0,void 0,(function(){return(0,i.Jh)(this,(function(n){switch(n.label){case 0:return[4,a.Z.get("/roles/name/"+e,{params:{fields:t}})];case 1:return[2,n.sent().data]}}))}))},o=function(e,t){return(0,i.mG)(void 0,void 0,void 0,(function(){return(0,i.Jh)(this,(function(n){switch(n.label){case 0:return[4,a.Z.get("/policies/name/"+e,{params:{fields:t}})];case 1:return[2,n.sent().data]}}))}))},u=function(e){return(0,i.mG)(void 0,void 0,void 0,(function(){return(0,i.Jh)(this,(function(t){switch(t.label){case 0:return[4,a.Z.post("/roles",e)];case 1:return[2,t.sent().data]}}))}))},d=function(e){return(0,i.mG)(void 0,void 0,void 0,(function(){return(0,i.Jh)(this,(function(t){switch(t.label){case 0:return[4,a.Z.post("/policies",e)];case 1:return[2,t.sent().data]}}))}))},m=function(e,t){return(0,i.mG)(void 0,void 0,void 0,(function(){return(0,i.Jh)(this,(function(n){switch(n.label){case 0:return[4,a.Z.patch("/roles/"+t,e,r)];case 1:return[2,n.sent().data]}}))}))},p=function(e,t){return(0,i.mG)(void 0,void 0,void 0,(function(){return(0,i.Jh)(this,(function(n){switch(n.label){case 0:return[4,a.Z.patch("/policies/"+t,e,r)];case 1:return[2,n.sent().data]}}))}))},f=function(){return(0,i.mG)(void 0,void 0,void 0,(function(){return(0,i.Jh)(this,(function(e){switch(e.label){case 0:return[4,a.Z.get("/policies/resources")];case 1:return[2,e.sent().data]}}))}))},h=function(){return(0,i.mG)(void 0,void 0,void 0,(function(){return(0,i.Jh)(this,(function(e){switch(e.label){case 0:return[4,a.Z.get("/policies/functions")];case 1:return[2,e.sent().data]}}))}))},v=function(e){return(0,i.mG)(void 0,void 0,void 0,(function(){return(0,i.Jh)(this,(function(t){switch(t.label){case 0:return[4,a.Z.get("/policies/validation/condition/"+e)];case 1:return[2,t.sent()]}}))}))}}}]);




© 2015 - 2025 Weber Informatics LLC | Privacy Policy