export const __webpack_esm_id__=3345;export const __webpack_esm_ids__=[3345];export const __webpack_esm_modules__={3345(t,s,e){e.d(s,{El:()=>n,re:()=>l,tL:()=>a,yB:()=>i});const i={PENDING:"PENDING",SUCCESS:"SUCCESS",FAIL:"FAIL",SKIP:"SKIP"},n={[i.PENDING]:"graphql.endpoints_management.import_definition_modal.status.pending",[i.SUCCESS]:"graphql.endpoints_management.import_definition_modal.status.completed",[i.FAIL]:"graphql.endpoints_management.import_definition_modal.status.failed",[i.SKIP]:"graphql.endpoints_management.import_definition_modal.status.not_allowed"},_={[i.PENDING]:"tag-warning",[i.SUCCESS]:"tag-success",[i.FAIL]:"tag-danger",[i.SKIP]:"tag-info"};class a{_list;_size;constructor(t=[]){this._list=t,this._size=t.length}processWith(t){this.list.forEach(t)}findDefinitionFileByName(t){return this.list.find(s=>s.file.name===t)}getFileNames(){return this.list.map(t=>t.file.name)}appendFiles(t){this.list.push(...t),this._size=this.list.length}removeFile(t){this.list=this.list.filter(s=>s.file!==t.file)}get size(){return this._size}set size(t){this._size=t}set list(t){this._list=t,this._size=t.length}get list(){return this._list}}class l{_list;_file;_filename;_status;_viewStatus;_statusMessage;_endpointId;_report;constructor(t,s,e,i){this._file=t,this._status=s,this._viewStatus=_[s],this._statusMessage=e,this._list=i}set file(t){this._file=t}get file(){return this._file}set filename(t){this._filename=t}get filename(){return this._filename}set status(t){this._status=t,this._viewStatus=_[t]}get status(){return this._status}set viewStatus(t){this._viewStatus=t}get viewStatus(){return this._viewStatus}set statusMessage(t){this._statusMessage=t}get statusMessage(){return this._statusMessage}set endpointId(t){this._endpointId=t}get endpointId(){return this._endpointId}set report(t){this._report=t}get report(){return this._report}get list(){return this._list}set list(t){this._list=t}}}};
//# sourceMappingURL=3345.e1144ea4e6b8aa9f8485.bundle.js.map