UNPKG

@calf/helios

Version:

Helios module of Calf framework.

274 lines (273 loc) 7.99 kB
"use strict"; var __spreadArrays = (this && this.__spreadArrays) || function () { for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length; for (var r = Array(s), k = 0, i = 0; i < il; i++) for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++) r[k] = a[j]; return r; }; Object.defineProperty(exports, "__esModule", { value: true }); exports.HeliosView = void 0; /** * Helios view * @description Available basic views */ var HeliosView = /** @class */ (function () { // Make constructor private function HeliosView() { } Object.defineProperty(HeliosView, "OfferPriceNames", { /** * Offer price names * @description TabCisNC */ get: function () { return this.generateViewName("OfferPriceNames"); }, enumerable: false, configurable: true }); Object.defineProperty(HeliosView, "OfferPrices", { /** * Offer prices * @description TabNc */ get: function () { return this.generateViewName("OfferPrices"); }, enumerable: false, configurable: true }); Object.defineProperty(HeliosView, "CustOrdersDocuments", { /** * Customer orders documents * @description TabDosleObjH02 */ get: function () { return this.generateViewName("CustOrdersDocuments"); }, enumerable: false, configurable: true }); Object.defineProperty(HeliosView, "CustOrdersTransactions", { /** * Customer orders transactions * @description TabDosleObjR02 */ get: function () { return this.generateViewName("CustOrdersTransactions"); }, enumerable: false, configurable: true }); Object.defineProperty(HeliosView, "GoodsAndServices", { /** * Goods and services * @description TabKmenZbozi */ get: function () { return this.generateViewName("GoodsAndServices"); }, enumerable: false, configurable: true }); Object.defineProperty(HeliosView, "ContactPersons", { /** * Contact persons * @description TabCisKOs */ get: function () { return this.generateViewName("ContactPersons"); }, enumerable: false, configurable: true }); Object.defineProperty(HeliosView, "ContactsContactPersons", { /** * Contacts contact persons * @description TabKontakty */ get: function () { return this.generateViewName("ContactsContactPersons"); }, enumerable: false, configurable: true }); Object.defineProperty(HeliosView, "ContactsCompanies", { /** * Contacts companies * @description TabKontakty */ get: function () { return this.generateViewName("ContactsCompanies"); }, enumerable: false, configurable: true }); Object.defineProperty(HeliosView, "ContactsEmployees", { /** * Contacts employees * @description TabKontakty */ get: function () { return this.generateViewName("ContactsEmployees"); }, enumerable: false, configurable: true }); Object.defineProperty(HeliosView, "CostPools", { /** * Cost pools * @description TabNakladovyOkruh */ get: function () { return this.generateViewName("CostPools"); }, enumerable: false, configurable: true }); Object.defineProperty(HeliosView, "RelatedGoodsGroups", { /** * Related goods groups * @description TabSoz */ get: function () { return this.generateViewName("RelatedGoodsGroups"); }, enumerable: false, configurable: true }); Object.defineProperty(HeliosView, "RelatedGoodsGroupsGS", { /** * Related goods groups (relations) * @description TabSozNa */ get: function () { return this.generateViewName("RelatedGoodsGroupsGS"); }, enumerable: false, configurable: true }); Object.defineProperty(HeliosView, "Period", { /** * Period * @description TabObdobi */ get: function () { return this.generateViewName("Period"); }, enumerable: false, configurable: true }); Object.defineProperty(HeliosView, "OrganizationalStructure", { /** * Organizational structure * @description TabStrom */ get: function () { return this.generateViewName("OrganizationalStructure"); }, enumerable: false, configurable: true }); Object.defineProperty(HeliosView, "GoodsGroups", { /** * Goods groups * @description TabSkupinyZbozi */ get: function () { return this.generateViewName("GoodsGroups"); }, enumerable: false, configurable: true }); Object.defineProperty(HeliosView, "StockLevel", { /** * Stock level * @description TabStavSkladu */ get: function () { return this.generateViewName("StockLevel"); }, enumerable: false, configurable: true }); Object.defineProperty(HeliosView, "Vehicles", { /** * Vehicles * @description TabIVozidlo */ get: function () { return this.generateViewName("Vehicles"); }, enumerable: false, configurable: true }); Object.defineProperty(HeliosView, "JobOrders", { /** * Job orders * @description TabZakazka */ get: function () { return this.generateViewName("JobOrders"); }, enumerable: false, configurable: true }); Object.defineProperty(HeliosView, "Employees", { /** * Employees * @description TabCisZam */ get: function () { return this.generateViewName("Employees"); }, enumerable: false, configurable: true }); Object.defineProperty(HeliosView, "Country", { /** * Country * @description TabZeme */ get: function () { return this.generateViewName("Country"); }, enumerable: false, configurable: true }); Object.defineProperty(HeliosView, "TransportMethod", { /** * Transport method * @description TabFormaDopravy */ get: function () { return this.generateViewName("TransportMethod"); }, enumerable: false, configurable: true }); Object.defineProperty(HeliosView, "Companies", { /** * Companies * @description TabCisOrg */ get: function () { return this.generateViewName("Companies"); }, enumerable: false, configurable: true }); /** * Generate view name * @param identifier */ HeliosView.generateViewName = function (identifier) { // Generate view name from prefixes and identifier return __spreadArrays(this.PREFIXES, [identifier]).join("_"); }; // Set prefixes HeliosView.PREFIXES = ["hvw", "ASOL", "API"]; return HeliosView; }()); exports.HeliosView = HeliosView;