import{xb as l}from"./chunk-2MCAID7M.js";import{a as f}from"./chunk-P5XIDEFS.js";import{i as o}from"./chunk-CO3WTSA4.js";import{ea as c,ja as s,ka as a,o as n}from"./chunk-DYUFV4HF.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-Q2WNE24G.js.map
