import{da as l}from"./chunk-27KSTDMK.js";import{a as u}from"./chunk-KXX3UDJ3.js";import{j as o}from"./chunk-GQAU5ACB.js";import{la as i,pa as a,qa as n,v as s}from"./chunk-ISMRT7VU.js";var f=(()=>{class t{constructor(e){this._http=e}getAll(e){return this._http.post("/api/service-center/licenses",e,{headers:u})}static{this.\u0275fac=function(r){return new(r||t)(a(o))}}static{this.\u0275prov=i({token:t,factory:t.\u0275fac})}}return t})();var y=(()=>{class t{constructor(){this._serviceCenterLicensesServiceApi=n(f)}getAll(e){return this._serviceCenterLicensesServiceApi.getAll(e)}initDataSourceServiceCenters(e){return new l({key:"id",load:r=>s(this.getAll({criteria:{search:{clientName:r.searchValue??e??"",clientXin:r.searchValue??e??"",clientOwnerPhone:r.searchValue??e??"",serviceCenterName:r.searchValue??e??"",serviceCenterXin:r.searchValue??e??""},filter:null},take:50,skip:0,isAscending:!0,orderBy:"id"})).then(c=>(e&&(e=""),{data:c.data,totalCount:c.count}))})}static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275prov=i({token:t,factory:t.\u0275fac})}}return t})();export{f as a,y as b};
//# sourceMappingURL=chunk-W5V7HMZ3.js.map
