assets.8185.babde79ddd9ce7887818.js Maven / Gradle / Ivy
"use strict";(self.webpackChunkopen_metadata=self.webpackChunkopen_metadata||[]).push([[8185],{41234:function(e,t,n){var i=n(8081),a=n.n(i),r=n(23645),s=n.n(r)()(a());s.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.test-suite-description .description-inner-main-container {\n padding-left: 0;\n padding-right: 0;\n}\n.test-suite-description .rich-text-editor-container {\n padding-left: 0;\n}\n',""]),t.Z=s},45747:function(e,t,n){n.d(t,{S:function(){return w}});var i=n(70655),a=n(71230),r=n(15746),s=n(38272),l=n(19650),c=n(56256),o=n(9676),u=n(71577),d=n(7606),m=n(67294),p=n(68432),f=n(76),h=n(69523),v=n(62761),E=n(22653),y=n(17888),g=n(93895),S=n(24671),b=n(40734),C=n(38333),Z=n(59817),w=function(e){var t=e.onCancel,n=e.existingTest,w=e.onSubmit,T=e.cancelText,x=e.submitText,N=(0,p.$)().t,k=(0,i.CR)((0,m.useState)(""),2),R=k[0],A=k[1],I=(0,i.CR)((0,m.useState)([]),2),D=I[0],L=I[1],P=(0,i.CR)((0,m.useState)(),2),U=P[0],_=P[1],z=(0,i.CR)((0,m.useState)(1),2),O=z[0],q=z[1],B=(0,i.CR)((0,m.useState)(0),2),V=B[0],F=B[1],G=(0,i.CR)((0,m.useState)(!1),2),J=G[0],K=G[1],M=(0,m.useCallback)((function(e){var t=e.searchText,n=void 0===t?"":t,a=e.page,r=void 0===a?1:a;return(0,i.mG)(void 0,void 0,void 0,(function(){var e,t,a;return(0,i.Jh)(this,(function(s){switch(s.label){case 0:return s.trys.push([0,2,3,4]),K(!0),[4,(0,y.w4)({pageNumber:r,pageSize:v.IV,searchIndex:E.W.TEST_CASE,query:n})];case 1:return e=s.sent(),t=e.hits.hits,F(null!==(a=e.hits.total.value)&&void 0!==a?a:0),L(1===r?t:function(e){return(0,i.ev)((0,i.ev)([],(0,i.CR)(e)),(0,i.CR)(t))}),q(r),[3,4];case 2:return s.sent(),[3,4];case 3:return K(!1),[7];case 4:return[2]}}))}))}),[n]),W=(0,m.useCallback)((function(e){e.currentTarget.scrollHeight-e.currentTarget.scrollTop==500&&D.length
© 2015 - 2025 Weber Informatics LLC | Privacy Policy