Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
"use strict";(self.webpackChunkopen_metadata=self.webpackChunkopen_metadata||[]).push([[1890],{14073: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},42964:function(e,t,n){n.d(t,{S:function(){return x}});var i=n(70655),a=n(15746),r=n(19650),s=n(38272),l=n(56256),u=n(9676),c=n(71230),o=n(71577),d=n(96486),m=n(7606),p=n(67294),f=n(68432),v=n(76),h=n(73213),E=n(62761),S=n(61105),g=n(64632),y=n(22653),C=n(17888),T=n(93895),b=n(24671),w=n(31982),Z=n(40734),I=n(26396),R=n(35850),N=n(59817),x=function(e){var t=e.onCancel,n=e.onSubmit,x=e.cancelText,_=e.submitText,A=e.filters,k=e.selectedTest,L=e.onChange,P=e.showButton,D=void 0===P||P,U=(0,f.$)().t,B=(0,i.CR)((0,p.useState)(),2),O=B[0],G=B[1],M=(0,i.CR)((0,p.useState)([]),2),W=M[0],z=M[1],J=(0,i.CR)((0,p.useState)(),2),V=J[0],F=J[1],q=(0,i.CR)((0,p.useState)(1),2),K=q[0],H=q[1],Y=(0,i.CR)((0,p.useState)(0),2),j=Y[0],Q=Y[1],$=(0,i.CR)((0,p.useState)(!1),2),X=$[0],ee=$[1],te=(0,p.useCallback)((function(e){var t=e.searchText,n=void 0===t?h.m: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]),ee(!0),[4,(0,C.w4)({pageNumber:r,pageSize:E.Ou,searchIndex:y.W.TEST_CASE,query:n,filters:A})];case 1:return e=s.sent(),t=e.hits.hits.map((function(e){return e._source})),Q(null!==(a=e.hits.total.value)&&void 0!==a?a:0),k&&F((function(e){var n=new Map;return null==e||e.forEach((function(e){return n.set(e.id,e)})),t.forEach((function(e){var t;k.find((function(t){return e.name===t}))&&n.set(null!==(t=e.id)&&void 0!==t?t:"",e)})),n})),z(1===r?t:function(e){return(0,i.ev)((0,i.ev)([],(0,i.CR)(e)),(0,i.CR)(t))}),H(r),[3,4];case 2:return s.sent(),[3,4];case 3:return ee(!1),[7];case 4:return[2]}}))}))}),[k]),ne=(0,p.useCallback)((function(e){e.currentTarget.scrollHeight-e.currentTarget.scrollTop==500&&W.length