import{xb as l}from"./chunk-2MCAID7M.js";import{a as f}from"./chunk-PLVHWZTL.js";import{i as o}from"./chunk-YMOV4UGM.js";import{ga as c,la as s,ma as a,o as n}from"./chunk-I3FGJX2C.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-Z33K4HYP.js.map
