This commit is contained in:
Luiz Silva 2026-02-15 15:09:53 -03:00
parent 850a683ae0
commit 0bb66d830f
6 changed files with 17 additions and 22 deletions

View file

@ -28,7 +28,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
var dayjs_exports = {};
__export(dayjs_exports, {
dayjsbr: () => dayjsbr,
dayjsbr: () => import_dayjs.default,
duration: () => import_duration.default,
isSameOrAfter: () => import_isSameOrAfter.default,
isSameOrBefore: () => import_isSameOrBefore.default,
@ -58,7 +58,6 @@ import_dayjs.default.extend(import_isSameOrAfter.default);
import_dayjs.default.extend(import_minMax.default);
import_dayjs.default.extend(import_relativeTime.default);
import_dayjs.default.extend(import_duration.default);
const dayjsbr = import_dayjs.default;
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {
dayjsbr,

View file

@ -1,7 +1,5 @@
import z from 'zod';
import dayjs from 'dayjs';
export { Dayjs, ManipulateType } from 'dayjs';
import { v4 } from 'uuid';
export { Dayjs, ManipulateType, default as dayjsbr } from 'dayjs';
export { default as duration } from 'dayjs/plugin/duration';
export { default as isSameOrAfter } from 'dayjs/plugin/isSameOrAfter';
export { default as isSameOrBefore } from 'dayjs/plugin/isSameOrBefore';
@ -10,6 +8,7 @@ export { default as relativeTime } from 'dayjs/plugin/relativeTime';
export { default as timezone } from 'dayjs/plugin/timezone';
export { default as utc } from 'dayjs/plugin/utc';
export { default as weekOfYear } from 'dayjs/plugin/weekOfYear';
import { v4 } from 'uuid';
declare const aleatorio: (tamanho?: number) => string;
@ -101,8 +100,6 @@ declare const zFiltro: z.ZodObject<{
ou: z.ZodOptional<z.ZodBoolean>;
}, z.core.$strip>;
declare const dayjsbr: typeof dayjs;
declare const link_paiol = "https://paiol.idz.one";
type tiposArquivo = "imagem" | "documento" | "vídeo" | "outros";
@ -370,4 +367,4 @@ declare const nomeVariavel: (v: {
[key: string]: any;
}) => string;
export { Produtos, TipagemRotas, type TipoLoggerSessao, aleatorio, cacheM, cacheMFixo, cacheMemoria, camposComuns, dayjsbr, defineCwd, erUuid, esperar, extensoes, type interfaceConsulta, link_paiol, localValor, logger, nomeVariavel, objetoPg, operadores, paraObjetoRegistroPg, pgObjeto, postLogger, siglas_unidades_medida, texto_busca, tipoArquivo, type tipoFiltro, type tipoLogger, type tipoLoggerLog, type tipoLokiObjeto, tipoUsuarioResiduos, tiposSituacoesElicencie, tx, umaFuncao, umaVariavel, unidades_medida, uuid, uuidV3, uuidV4, uuid_null, validarUuid, verCacheM, zFiltro, zOperadores };
export { Produtos, TipagemRotas, type TipoLoggerSessao, aleatorio, cacheM, cacheMFixo, cacheMemoria, camposComuns, defineCwd, erUuid, esperar, extensoes, type interfaceConsulta, link_paiol, localValor, logger, nomeVariavel, objetoPg, operadores, paraObjetoRegistroPg, pgObjeto, postLogger, siglas_unidades_medida, texto_busca, tipoArquivo, type tipoFiltro, type tipoLogger, type tipoLoggerLog, type tipoLokiObjeto, tipoUsuarioResiduos, tiposSituacoesElicencie, tx, umaFuncao, umaVariavel, unidades_medida, uuid, uuidV3, uuidV4, uuid_null, validarUuid, verCacheM, zFiltro, zOperadores };

File diff suppressed because one or more lines are too long

View file

@ -1,6 +1,6 @@
{
"name": "p-comuns",
"version": "0.302.0",
"version": "0.303.0",
"description": "",
"main": "./dist-front/index.mjs",
"module": "./dist-front/index.mjs",

Binary file not shown.

View file

@ -1,4 +1,4 @@
import dayjs, { type Dayjs } from "dayjs"
import dayjsbr, { type Dayjs } from "dayjs"
export type { ManipulateType } from "dayjs"
@ -11,20 +11,19 @@ import timezone from "dayjs/plugin/timezone"
import utc from "dayjs/plugin/utc"
import weekOfYear from "dayjs/plugin/weekOfYear"
import "dayjs/locale/pt-br"
dayjs.locale("pt-br")
dayjsbr.locale("pt-br")
dayjs.extend(utc)
dayjs.extend(timezone)
dayjs.extend(weekOfYear)
dayjs.extend(isSameOrBefore)
dayjs.extend(isSameOrAfter)
dayjs.extend(minMax)
dayjs.extend(relativeTime)
dayjs.extend(duration)
export const dayjsbr = dayjs
dayjsbr.extend(utc)
dayjsbr.extend(timezone)
dayjsbr.extend(weekOfYear)
dayjsbr.extend(isSameOrBefore)
dayjsbr.extend(isSameOrAfter)
dayjsbr.extend(minMax)
dayjsbr.extend(relativeTime)
dayjsbr.extend(duration)
export {
dayjsbr,
duration,
isSameOrAfter,
isSameOrBefore,