92 lines
3.1 KiB
JavaScript
92 lines
3.1 KiB
JavaScript
"use strict";
|
|
var __defProp = Object.defineProperty;
|
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
var __export = (target, all) => {
|
|
for (var name in all)
|
|
__defProp(target, name, { get: all[name], enumerable: true });
|
|
};
|
|
var __copyProps = (to, from, except, desc) => {
|
|
if (from && typeof from === "object" || typeof from === "function") {
|
|
for (let key of __getOwnPropNames(from))
|
|
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
}
|
|
return to;
|
|
};
|
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
var tipagem_exports = {};
|
|
__export(tipagem_exports, {
|
|
Produto: () => Produto,
|
|
ProdutoQuipo: () => ProdutoQuipo,
|
|
chaves_produto: () => chaves_produto,
|
|
opcoesVinculos: () => opcoesVinculos,
|
|
opcoesVinculosGov: () => opcoesVinculosGov,
|
|
opcoesVinculosSuporte: () => opcoesVinculosSuporte,
|
|
provedoresGov: () => provedoresGov,
|
|
tiposAcesso: () => tiposAcesso,
|
|
versao_usuarios: () => versao_usuarios
|
|
});
|
|
module.exports = __toCommonJS(tipagem_exports);
|
|
var chaves_produto = /* @__PURE__ */ ((chaves_produto2) => {
|
|
chaves_produto2["suporte"] = "suporte";
|
|
chaves_produto2["betha-meio-ambiente"] = "betha-meio-ambiente";
|
|
chaves_produto2["e-licencie-gov"] = "e-licencie-gov";
|
|
chaves_produto2["e-licencie"] = "e-licencie";
|
|
return chaves_produto2;
|
|
})(chaves_produto || {});
|
|
const opcoesVinculosGov = {
|
|
governo: "Governo",
|
|
sociedade: "Sociedade",
|
|
anonimo: "An\xF4nimo"
|
|
};
|
|
const opcoesVinculosSuporte = {
|
|
"suporte-1": "Suporte Prim\xE1rio"
|
|
};
|
|
const opcoesVinculos = {
|
|
["suporte" /* suporte */]: opcoesVinculosSuporte,
|
|
["betha-meio-ambiente" /* betha-meio-ambiente */]: opcoesVinculosGov,
|
|
["e-licencie-gov" /* e-licencie-gov */]: opcoesVinculosGov,
|
|
["e-licencie" /* e-licencie */]: {}
|
|
};
|
|
const tiposAcesso = opcoesVinculosGov;
|
|
const provedoresGov = {
|
|
/** Sistema de login da Beta */
|
|
"betha-sistemas": "Betha Sistemas",
|
|
/** sistema de login do altenticado */
|
|
"e-licencie": "e-licencie"
|
|
};
|
|
class Produto {
|
|
constructor(_) {
|
|
this.chave_produto = _.chave_produto;
|
|
this.titulo = _.titulo;
|
|
this.descricao = _.descricao;
|
|
this.url_produto = _.url_produto;
|
|
}
|
|
extruturaToken(_) {
|
|
return { ..._, chave_produto: this.chave_produto };
|
|
}
|
|
}
|
|
class ProdutoQuipo extends Produto {
|
|
extruturaToken(_) {
|
|
return { ..._, chave_produto: this.chave_produto };
|
|
}
|
|
}
|
|
var versao_usuarios = /* @__PURE__ */ ((versao_usuarios2) => {
|
|
versao_usuarios2["versao_usuarios_autenticacao"] = "versao_usuarios_autenticacao";
|
|
versao_usuarios2["versao_usuarios_quipo"] = "versao_usuarios_quipo";
|
|
return versao_usuarios2;
|
|
})(versao_usuarios || {});
|
|
// Annotate the CommonJS export names for ESM import in node:
|
|
0 && (module.exports = {
|
|
Produto,
|
|
ProdutoQuipo,
|
|
chaves_produto,
|
|
opcoesVinculos,
|
|
opcoesVinculosGov,
|
|
opcoesVinculosSuporte,
|
|
provedoresGov,
|
|
tiposAcesso,
|
|
versao_usuarios
|
|
});
|