const REPORT_LAUNCHER_RESOURCE_ID = "br.com.sankhya.controls.ReportLauncher";
var VIEW_MODE;
(function (VIEW_MODE) {
  VIEW_MODE[VIEW_MODE["GRID"] = 0] = "GRID";
  VIEW_MODE[VIEW_MODE["FORM"] = 1] = "FORM";
  VIEW_MODE[VIEW_MODE["ATTACHMENT"] = 2] = "ATTACHMENT";
})(VIEW_MODE || (VIEW_MODE = {}));
const VARS_BY_TYPE = {
  UserInterface: {
    DATE: [{ label: "Data atual", value: "${data}" }],
    DATETIME: [{ label: "Data e hora atuais", value: "${datahora}" }],
    INTEGERNUMBER: [
      { label: "Código do usuário logado", value: "${usuario}" },
      { label: "Empresa do usuário logado", value: "${usuario.empresa}" },
      { label: "Vendedor para o usuário logado", value: "${usuario.vendedor}" },
      { label: "Cent. Resultado usuário logado", value: "${usuario.centroresultado}" }
    ]
  }
};
const DEFAULT_TYPE = {
  fixed: "F",
  variable: "V"
};
const TAB_NAMES = {
  main: "__main",
  general: "Geral",
  newGuide: "Nova guia",
};
const GROUP_NAMES = {
  noGroup: "__no_group",
  newGroup: "Novo Grupo",
};
const TAGS_BY_TYPE = {
  LONGTEXT: "ez-text-area",
  FILE: "ez-upload",
  DATE: "ez-date-input",
  TIME: "ez-time",
  DATETIME: "ez-date-time-input",
  DEFAULT: "ez-text-input",
  SWITCH: "ez-check",
  CHECKBOX: "ez-check",
  OPTIONSELECTOR: "ez-combo-box",
  SEARCH: "ez-search",
  SEARCHPLUS: "ez-search-plus",
  INTEGERNUMBER: "ez-number-input",
  DECIMALNUMBER: "ez-number-input"
};
const ORDER_VALUES = {
  none: {
    value: "NA",
    label: "N/A",
  },
  asc: {
    value: "ASC",
    label: "A-Z"
  },
  desc: {
    value: "DESC",
    label: "Z-A"
  }
};
var SIMPLE_CRUD_MODE;
(function (SIMPLE_CRUD_MODE) {
  SIMPLE_CRUD_MODE[SIMPLE_CRUD_MODE["SERVER"] = 0] = "SERVER";
  SIMPLE_CRUD_MODE[SIMPLE_CRUD_MODE["IN_MEMORY"] = 1] = "IN_MEMORY";
})(SIMPLE_CRUD_MODE || (SIMPLE_CRUD_MODE = {}));
// TODO: validar forma de compartilhar os templates com outros projetos
var TEMPLATES_SKELETON;
(function (TEMPLATES_SKELETON) {
  TEMPLATES_SKELETON[TEMPLATES_SKELETON["CUSTOM_TEMPLATE"] = 0] = "CUSTOM_TEMPLATE";
  TEMPLATES_SKELETON[TEMPLATES_SKELETON["GRID"] = 1] = "GRID";
  TEMPLATES_SKELETON[TEMPLATES_SKELETON["GRID_WITH_SIDEBAR"] = 2] = "GRID_WITH_SIDEBAR";
  TEMPLATES_SKELETON[TEMPLATES_SKELETON["GRID_WITH_PANEL"] = 3] = "GRID_WITH_PANEL";
  TEMPLATES_SKELETON[TEMPLATES_SKELETON["FORM_WITH_SIDEBAR"] = 4] = "FORM_WITH_SIDEBAR";
})(TEMPLATES_SKELETON || (TEMPLATES_SKELETON = {}));

export { DEFAULT_TYPE as D, GROUP_NAMES as G, ORDER_VALUES as O, REPORT_LAUNCHER_RESOURCE_ID as R, SIMPLE_CRUD_MODE as S, TEMPLATES_SKELETON as T, VIEW_MODE as V, TAB_NAMES as a, VARS_BY_TYPE as b, TAGS_BY_TYPE as c };
