convertido para pnpm

This commit is contained in:
Luiz Silva 2025-07-17 10:37:54 -03:00
parent 59e710f6cf
commit 175d767d27
115 changed files with 2366 additions and 1451 deletions

View file

@ -0,0 +1,34 @@
"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 betha_meio_ambiente_exports = {};
__export(betha_meio_ambiente_exports, {
produto_betha_meio_ambiente: () => produto_betha_meio_ambiente
});
module.exports = __toCommonJS(betha_meio_ambiente_exports);
var import_tipagem = require("./tipagem");
const produto_betha_meio_ambiente = new import_tipagem.ProdutoQuipo({
chave_produto: "betha-meio-ambiente",
titulo: "Betha Meio Ambiente",
descricao: "Betha Meio Ambiente: Software de gest\xE3o de processos ambientais para \xF3rg\xE3os p\xFAblicos da Betha Sistemas.",
url_produto: ({ inquilino, base_url, vinculo }) => `${base_url}/${inquilino}${vinculo == "anonimo" ? "" : `/${vinculo}#/admin`}`
});
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {
produto_betha_meio_ambiente
});

View file

@ -0,0 +1,35 @@
"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 e_licencie_gov_exports = {};
__export(e_licencie_gov_exports, {
produto_e_licencie_gov: () => produto_e_licencie_gov
});
module.exports = __toCommonJS(e_licencie_gov_exports);
var import_betha_meio_ambiente = require("./_betha-meio-ambiente");
var import_tipagem = require("./tipagem");
const produto_e_licencie_gov = new import_tipagem.ProdutoQuipo({
...import_betha_meio_ambiente.produto_betha_meio_ambiente,
titulo: "e-Licencie Gov",
chave_produto: "e-licencie-gov",
url_produto: ({ inquilino, base_url, vinculo }) => `${base_url}/${inquilino}${vinculo == "anonimo" ? "" : `/${vinculo}#/admin`}`
});
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {
produto_e_licencie_gov
});

View file

@ -0,0 +1,34 @@
"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 e_licencie_exports = {};
__export(e_licencie_exports, {
produto_e_licencie: () => produto_e_licencie
});
module.exports = __toCommonJS(e_licencie_exports);
var import_tipagem = require("./tipagem");
const produto_e_licencie = new import_tipagem.Produto({
chave_produto: "e-licencie",
titulo: "e-Licencie",
descricao: "e-Licencie: Software de gest\xE3o de processos e dados ambientais.",
url_produto: ({ base_url }) => base_url
});
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {
produto_e_licencie
});

View file

@ -0,0 +1,34 @@
"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 suporte_exports = {};
__export(suporte_exports, {
produto_suporte: () => produto_suporte
});
module.exports = __toCommonJS(suporte_exports);
var import_tipagem = require("./tipagem");
const produto_suporte = new import_tipagem.Produto({
chave_produto: "suporte",
titulo: "Suporte",
descricao: "Gest\xE3o de contas e usu\xE1rios dos produtos da e-licencie",
url_produto: ({ base_url }) => base_url
});
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {
produto_suporte
});

View file

@ -0,0 +1 @@
"use strict";

View file

@ -0,0 +1,58 @@
"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 produtos_exports = {};
__export(produtos_exports, {
Produto: () => import_tipagem.Produto,
chaves_produto: () => import_tipagem.chaves_produto,
listaProdutos: () => listaProdutos,
opcoesVinculos: () => import_tipagem.opcoesVinculos,
opcoesVinculosGov: () => import_tipagem.opcoesVinculosGov,
produto_betha_meio_ambiente: () => import_betha_meio_ambiente.produto_betha_meio_ambiente,
produto_e_licencie: () => import_e_licencie.produto_e_licencie,
produto_e_licencie_gov: () => import_e_licencie_gov.produto_e_licencie_gov,
produto_suporte: () => import_suporte.produto_suporte,
provedoresGov: () => import_tipagem.provedoresGov,
versao_usuarios: () => import_tipagem.versao_usuarios
});
module.exports = __toCommonJS(produtos_exports);
var import_betha_meio_ambiente = require("./_betha-meio-ambiente");
var import_e_licencie = require("./_e-licencie");
var import_e_licencie_gov = require("./_e-licencie-gov");
var import_suporte = require("./_suporte");
var import_tipagem = require("./tipagem");
const listaProdutos = {
"betha-meio-ambiente": import_betha_meio_ambiente.produto_betha_meio_ambiente,
"e-licencie": import_e_licencie.produto_e_licencie,
"e-licencie-gov": import_e_licencie_gov.produto_e_licencie_gov,
suporte: import_suporte.produto_suporte
};
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {
Produto,
chaves_produto,
listaProdutos,
opcoesVinculos,
opcoesVinculosGov,
produto_betha_meio_ambiente,
produto_e_licencie,
produto_e_licencie_gov,
produto_suporte,
provedoresGov,
versao_usuarios
});

View file

@ -0,0 +1,92 @@
"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
});