import{xb as l}from"./chunk-2MCAID7M.js";import{a as f}from"./chunk-C2ZF4U5U.js";import{i as o}from"./chunk-JLM6CY35.js";import{fa as c,ka as s,la as a,o as n}from"./chunk-4HRPSKID.js";var m=(()=>{let t=class t{constructor(e){this._http=e}getAll(e){return this._http.post("/api/service-center/licenses",e,{headers:f})}};t.\u0275fac=function(r){return new(r||t)(s(o))},t.\u0275prov=c({token:t,factory:t.\u0275fac});let i=t;return i})();var k=(()=>{let t=class t{constructor(){this._serviceCenterLicensesServiceApi=a(m)}getAll(e){return this._serviceCenterLicensesServiceApi.getAll(e)}initDataSourceServiceCenters(e){return new l({key:"id",load:r=>n(this.getAll({criteria:{search:{clientName:r.filter,clientXin:r.filter,clientOwnerPhone:r.filter,serviceCenterName:r.filter,serviceCenterXin:r.filter},filter:null},take:50,skip:0,isAscending:!0,orderBy:"id"})).then(p=>(e&&(e=""),{data:p.data}))})}};t.\u0275fac=function(r){return new(r||t)},t.\u0275prov=c({token:t,factory:t.\u0275fac});let i=t;return i})();export{m as a,k as b};
//# sourceMappingURL=chunk-ZZLFRWSF.js.map
