import{b as f}from"./chunk-SYE2YM6F.js";import{a as u}from"./chunk-7N232KV6.js";import{i as l}from"./chunk-NDLDFKR2.js";import{fa as c,ka as n,la as o,o as s}from"./chunk-PVUKHE45.js";var h=(()=>{let e=class e{constructor(t){this._http=t}getAll(t){return this._http.post("/api/service-center/licenses",t,{headers:u})}};e.\u0275fac=function(r){return new(r||e)(n(l))},e.\u0275prov=c({token:e,factory:e.\u0275fac});let i=e;return i})();var g=(()=>{let e=class e{constructor(){this._serviceCenterLicensesServiceApi=o(h)}getAll(t){return this._serviceCenterLicensesServiceApi.getAll(t)}initDataSourceServiceCenters(t){return new f({key:"id",load:r=>s(this.getAll({criteria:{search:{clientName:r.searchValue??t??"",clientXin:r.searchValue??t??"",clientOwnerPhone:r.searchValue??t??"",serviceCenterName:r.searchValue??t??"",serviceCenterXin:r.searchValue??t??""},filter:null},take:50,skip:0,isAscending:!0,orderBy:"id"})).then(a=>(t&&(t=""),{data:a.data,totalCount:a.count}))})}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=c({token:e,factory:e.\u0275fac});let i=e;return i})();export{h as a,g as b};
//# sourceMappingURL=chunk-2USONM6O.js.map
