import {
  CryptoHttpService,
  commonConfig,
  environment
} from "./chunk-P7K2QEDI.js";
import {
  HttpClient,
  ɵɵdefineInjectable,
  ɵɵinject
} from "./chunk-GKZIWABI.js";

// src/app/@lcp-framework/service/common/menu-map.service.ts
var _MenuMapService = class _MenuMapService {
  constructor(http, cryptoHttp) {
    this.http = http;
    this.cryptoHttp = cryptoHttp;
  }
  getAllMenus() {
    return this.cryptoHttp.encryptedGet(`${environment.apiUrl}${environment.apiAddress}${commonConfig.API.getAllMenu}`);
  }
  getCommonList(data) {
    return this.cryptoHttp.encryptedPost(`${environment.apiUrl}${environment.apiAddress}${commonConfig.API.getCommnList}`, data);
  }
  postCommnList(data) {
    return this.cryptoHttp.encryptedPost(`${environment.apiUrl}${environment.apiAddress}${commonConfig.API.postCommnList}`, data);
  }
  executeRecords(data) {
    return this.cryptoHttp.encryptedPost(`${environment.apiUrl}${environment.apiAddress}${commonConfig.API.executeRecords}`, data);
  }
  procedureCall(data) {
    return this.cryptoHttp.encryptedPost(`${environment.apiUrl}${environment.apiAddress}${commonConfig.API.procedureCall}${data.proc_name}`, data.params);
  }
  unAuthProcedureCall(data) {
    return this.cryptoHttp.encryptedPost(`${environment.apiUrl}${environment.apiAddress}${commonConfig.API.unauthprocedureCall}${data.proc_name}`, data.params);
  }
};
_MenuMapService.\u0275fac = function MenuMapService_Factory(t) {
  return new (t || _MenuMapService)(\u0275\u0275inject(HttpClient), \u0275\u0275inject(CryptoHttpService));
};
_MenuMapService.\u0275prov = /* @__PURE__ */ \u0275\u0275defineInjectable({ token: _MenuMapService, factory: _MenuMapService.\u0275fac, providedIn: "root" });
var MenuMapService = _MenuMapService;

export {
  MenuMapService
};
//# sourceMappingURL=chunk-3FLJCSSF.js.map
