refatoração

This commit is contained in:
Luiz Silva 2026-05-16 17:43:46 -03:00
parent d56219c2de
commit 74ccdf5c6e
43 changed files with 6568 additions and 6333 deletions

2443
dist/eli-vue.es.js vendored

File diff suppressed because one or more lines are too long

72
dist/eli-vue.umd.js vendored

File diff suppressed because one or more lines are too long

View file

@ -86,9 +86,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
default: undefined;
};
}>, {
attrs: {
[x: string]: unknown;
};
attrs: import("vue").Attrs;
valor: import("vue").WritableComputedRef<string, string>;
tipoInput: import("vue").ComputedRef<"date" | "datetime-local">;
minLocal: import("vue").ComputedRef<string | undefined>;

View file

@ -14,9 +14,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
required: true;
};
}>, {
attrs: {
[x: string]: unknown;
};
attrs: import("vue").Attrs;
emit: ((event: "input", _v: number | null | undefined) => void) & ((event: "update:value", _v: number | null | undefined) => void) & ((event: "change", _v: number | null | undefined) => void) & ((event: "focus") => void) & ((event: "blur") => void);
displayValue: import("vue").Ref<string, string>;
isInteiro: import("vue").ComputedRef<boolean>;

View file

@ -13,9 +13,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
required: true;
};
}>, {
attrs: {
[x: string]: unknown;
};
attrs: import("vue").Attrs;
emit: ((event: "input", _v: string | null | undefined) => void) & ((event: "update:value", _v: string | null | undefined) => void) & ((event: "change", _v: string | null | undefined) => void) & ((event: "focus") => void) & ((event: "blur") => void);
localValue: import("vue").WritableComputedRef<string | null | undefined, string | null | undefined>;
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
@ -1283,13 +1281,13 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
hint?: string | undefined;
"onClick:prepend"?: ((args_0: MouseEvent) => void) | undefined;
"onClick:append"?: ((args_0: MouseEvent) => void) | undefined;
}, "disabled" | "error" | "style" | "isValid" | "reset" | "resetValidation" | "validate" | "centerAffix" | "density" | "direction" | "errorMessages" | "focused" | "glow" | "hideSpinButtons" | "maxErrors" | "messages" | "persistentHint" | "readonly" | "rules"> & import("vue").ShallowUnwrapRef<{
}, "disabled" | "error" | "style" | "isValid" | "reset" | "resetValidation" | "validate" | "centerAffix" | "density" | "direction" | "errorMessages" | "focused" | "glow" | "hideSpinButtons" | "maxErrors" | "messages" | "persistentHint" | "readonly" | "rules"> & {
reset: () => Promise<void>;
resetValidation: () => Promise<void>;
validate: (silent?: boolean) => Promise<string[]>;
isValid: import("vue").ComputedRef<boolean | null>;
errorMessages: import("vue").ComputedRef<string[]>;
}> & import("vue").ComponentCustomProperties & import("vuetify/lib/util/defineComponent.mjs").GenericProps<{
isValid: boolean | null;
errorMessages: string[];
} & import("vue").ComponentCustomProperties & import("vuetify/lib/util/defineComponent.mjs").GenericProps<{
modelValue?: unknown;
"onUpdate:modelValue"?: ((value: unknown) => void) | undefined;
}, import("vuetify/lib/components/VInput/VInput.mjs").VInputSlots>, "name" | "color" | "disabled" | "error" | "label" | "style" | "class" | keyof import("vue").VNodeProps | "modelValue" | "onUpdate:modelValue" | "centerAffix" | "density" | "direction" | "errorMessages" | "focused" | "glow" | "hideSpinButtons" | "maxErrors" | "messages" | "persistentHint" | "readonly" | "rules" | "theme" | "onUpdate:focused" | "validateOn" | "validationValue" | "maxWidth" | "minWidth" | "width" | "id" | "appendIcon" | "baseColor" | "iconColor" | "prependIcon" | "hideDetails" | "hint" | "onClick:prepend" | "onClick:append" | "$children" | "v-slot:append" | "v-slot:default" | "v-slot:details" | "v-slot:message" | "v-slot:prepend" | "v-slots">, `$${any}`> & {

File diff suppressed because one or more lines are too long

View file

@ -14,9 +14,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
required: true;
};
}>, {
attrs: {
[x: string]: unknown;
};
attrs: import("vue").Attrs;
emit: ((event: "input", _v: string | null | undefined) => void) & ((event: "update:value", _v: string | null | undefined) => void) & ((event: "change", _v: string | null | undefined) => void) & ((event: "focus") => void) & ((event: "blur") => void);
localValue: import("vue").WritableComputedRef<string | null | undefined, string | null | undefined>;
inputHtmlType: import("vue").ComputedRef<"text" | "email" | "url">;

View file

@ -3,5 +3,5 @@ import EliEntradaNumero from "./EliEntradaNumero.vue";
import EliEntradaParagrafo from "./EliEntradaParagrafo.vue";
import EliEntradaSelecao from "./EliEntradaSelecao.vue";
import EliEntradaTexto from "./EliEntradaTexto.vue";
export { EliEntradaTexto, EliEntradaNumero, EliEntradaDataHora, EliEntradaParagrafo, EliEntradaSelecao, };
export type { PadroesEntradas, TipoEntrada } from "./tiposEntradas";
export { EliEntradaDataHora, EliEntradaNumero, EliEntradaParagrafo, EliEntradaSelecao, EliEntradaTexto, };

File diff suppressed because one or more lines are too long

View file

@ -32,7 +32,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
exibirFiltroAvancado: import("vue").ComputedRef<boolean>;
acoesSuperiores: import("vue").ComputedRef<{
posicao: "superior" | "inferior";
icone?: import("lucide-vue-next").LucideIcon;
icone?: import("@lucide/vue").LucideIcon;
cor?: string;
rotulo: string;
acao: (parametrosConsulta: parametrosConsulta<any> & {
@ -43,7 +43,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
temAcoesSuperiores: import("vue").ComputedRef<boolean>;
acoesInferiores: import("vue").ComputedRef<{
posicao: "superior" | "inferior";
icone?: import("lucide-vue-next").LucideIcon;
icone?: import("@lucide/vue").LucideIcon;
cor?: string;
rotulo: string;
acao: (parametrosConsulta: parametrosConsulta<any> & {
@ -275,7 +275,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
}>, {
modelo: string;
}, {}, {
Search: import("vue").FunctionalComponent<import("lucide-vue-next").LucideProps, {}, any, {}>;
Search: import("@lucide/vue").LucideIcon;
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
EliTabelaEstados: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
@ -285,7 +285,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
};
erro: {
type: PropType<string | null>;
required: true;
default: null;
};
mensagemVazio: {
type: PropType<string | undefined>;
@ -299,7 +299,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
};
erro: {
type: PropType<string | null>;
required: true;
default: null;
};
mensagemVazio: {
type: PropType<string | undefined>;
@ -307,6 +307,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
default: undefined;
};
}>> & Readonly<{}>, {
erro: string | null;
mensagemVazio: string | undefined;
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
EliTabelaDebug: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
@ -316,7 +317,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
};
menuAberto: {
type: PropType<number | null>;
required: true;
default: null;
};
menuPopupPos: {
type: PropType<{
@ -332,7 +333,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
};
menuAberto: {
type: PropType<number | null>;
required: true;
default: null;
};
menuPopupPos: {
type: PropType<{
@ -341,7 +342,9 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
}>;
required: true;
};
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
}>> & Readonly<{}>, {
menuAberto: number | null;
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
EliTabelaHead: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
colunas: {
type: PropType<Array<tipoEliColuna<any>>>;
@ -357,15 +360,15 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
};
colunaOrdenacao: {
type: PropType<string | null>;
required: true;
default: null;
};
direcaoOrdenacao: {
type: PropType<"asc" | "desc">;
required: true;
};
}>, {
ArrowUp: import("vue").FunctionalComponent<import("lucide-vue-next").LucideProps, {}, any, {}>;
ArrowDown: import("vue").FunctionalComponent<import("lucide-vue-next").LucideProps, {}, any, {}>;
ArrowUp: import("@lucide/vue").LucideIcon;
ArrowDown: import("@lucide/vue").LucideIcon;
isOrdenavel: (coluna: any) => boolean;
emitAlternarOrdenacao: (chave: string) => void;
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
@ -385,7 +388,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
};
colunaOrdenacao: {
type: PropType<string | null>;
required: true;
default: null;
};
direcaoOrdenacao: {
type: PropType<"asc" | "desc">;
@ -393,9 +396,11 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
};
}>> & Readonly<{
onAlternarOrdenacao?: ((chave: string) => any) | undefined;
}>, {}, {}, {
ArrowUp: import("vue").FunctionalComponent<import("lucide-vue-next").LucideProps, {}, any, {}>;
ArrowDown: import("vue").FunctionalComponent<import("lucide-vue-next").LucideProps, {}, any, {}>;
}>, {
colunaOrdenacao: string | null;
}, {}, {
ArrowUp: import("@lucide/vue").LucideIcon;
ArrowDown: import("@lucide/vue").LucideIcon;
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
EliTabelaBody: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
colunas: {
@ -439,8 +444,8 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
required: true;
};
}>, {
ChevronRight: import("vue").FunctionalComponent<import("lucide-vue-next").LucideProps, {}, any, {}>;
ChevronDown: import("vue").FunctionalComponent<import("lucide-vue-next").LucideProps, {}, any, {}>;
ChevronRight: import("@lucide/vue").LucideIcon;
ChevronDown: import("@lucide/vue").LucideIcon;
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
colunas: {
type: PropType<Array<tipoEliColuna<any>>>;
@ -517,7 +522,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
* Componente de tabela consultável com busca, paginação, ordenação e ações por linha.
*/
/** Enum de códigos de resposta utilizado na consulta */
?: import("lucide-vue-next").LucideIcon;
?: import("@lucide/vue").LucideIcon;
acao
/**
* EliTabela
@ -590,7 +595,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
* Componente de tabela consultável com busca, paginação, ordenação e ações por linha.
*/
/** Enum de códigos de resposta utilizado na consulta */
?: import("lucide-vue-next").LucideIcon;
?: import("@lucide/vue").LucideIcon;
acao
/**
* EliTabela
@ -611,14 +616,14 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
};
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
MoreVertical: import("vue").FunctionalComponent<import("lucide-vue-next").LucideProps, {}, any, {}>;
ChevronRight: import("vue").FunctionalComponent<import("lucide-vue-next").LucideProps, {}, any, {}>;
ChevronDown: import("vue").FunctionalComponent<import("lucide-vue-next").LucideProps, {}, any, {}>;
MoreVertical: import("@lucide/vue").LucideIcon;
ChevronRight: import("@lucide/vue").LucideIcon;
ChevronDown: import("@lucide/vue").LucideIcon;
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
EliTabelaMenuAcoes: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
menuAberto: {
type: PropType<number | null>;
required: true;
default: null;
};
posicao: {
type: PropType<{
@ -653,7 +658,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
menuAberto: {
type: PropType<number | null>;
required: true;
default: null;
};
posicao: {
type: PropType<{
@ -679,7 +684,9 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
acao: import("./types-eli-tabela").tipoEliTabelaAcao<any>;
linha: unknown;
}) => any) | undefined;
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
}>, {
menuAberto: number | null;
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
EliTabelaPaginacao: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
pagina: {
type: NumberConstructor;
@ -1075,9 +1082,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
default: undefined;
};
}>, {
attrs: {
[x: string]: unknown;
};
attrs: import("vue").Attrs;
valor: import("vue").WritableComputedRef<string, string>;
tipoInput: import("vue").ComputedRef<"date" | "datetime-local">;
minLocal: import("vue").ComputedRef<string | undefined>;
@ -1248,9 +1253,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
required: true;
};
}>, {
attrs: {
[x: string]: unknown;
};
attrs: import("vue").Attrs;
emit: ((event: "input", _v: number | null | undefined) => void) & ((event: "update:value", _v: number | null | undefined) => void) & ((event: "change", _v: number | null | undefined) => void) & ((event: "focus") => void) & ((event: "blur") => void);
displayValue: import("vue").Ref<string, string>;
isInteiro: import("vue").ComputedRef<boolean>;
@ -1301,9 +1304,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
required: true;
};
}>, {
attrs: {
[x: string]: unknown;
};
attrs: import("vue").Attrs;
emit: ((event: "input", _v: string | null | undefined) => void) & ((event: "update:value", _v: string | null | undefined) => void) & ((event: "change", _v: string | null | undefined) => void) & ((event: "focus") => void) & ((event: "blur") => void);
localValue: import("vue").WritableComputedRef<string | null | undefined, string | null | undefined>;
inputHtmlType: import("vue").ComputedRef<"text" | "email" | "url">;

View file

@ -44,8 +44,8 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
required: true;
};
}>, {
ChevronRight: import("vue").FunctionalComponent<import("lucide-vue-next").LucideProps, {}, any, {}>;
ChevronDown: import("vue").FunctionalComponent<import("lucide-vue-next").LucideProps, {}, any, {}>;
ChevronRight: import("@lucide/vue").LucideIcon;
ChevronDown: import("@lucide/vue").LucideIcon;
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
colunas: {
type: PropType<Array<tipoEliColuna<any>>>;
@ -110,7 +110,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
opcoes: {
rotulo: string;
cor?: string;
icone?: import("lucide-vue-next").LucideIcon;
icone?: import("@lucide/vue").LucideIcon;
acao?: () => void;
}[];
} | {
@ -165,7 +165,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
opcoes: {
rotulo: string;
cor?: string;
icone?: import("lucide-vue-next").LucideIcon;
icone?: import("@lucide/vue").LucideIcon;
acao?: () => void;
}[];
} | {
@ -180,7 +180,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
};
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
MoreVertical: import("vue").FunctionalComponent<import("lucide-vue-next").LucideProps, {}, any, {}>;
ChevronRight: import("vue").FunctionalComponent<import("lucide-vue-next").LucideProps, {}, any, {}>;
ChevronDown: import("vue").FunctionalComponent<import("lucide-vue-next").LucideProps, {}, any, {}>;
MoreVertical: import("@lucide/vue").LucideIcon;
ChevronRight: import("@lucide/vue").LucideIcon;
ChevronDown: import("@lucide/vue").LucideIcon;
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;

View file

@ -104,6 +104,6 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
}>, {
modelo: string;
}, {}, {
Search: import("vue").FunctionalComponent<import("lucide-vue-next").LucideProps, {}, any, {}>;
Search: import("@lucide/vue").LucideIcon;
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;

View file

@ -22,5 +22,5 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
}>, {
modelo: string;
}, {}, {
Search: import("vue").FunctionalComponent<import("lucide-vue-next").LucideProps, {}, any, {}>;
Search: import("@lucide/vue").LucideIcon;
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;

View file

@ -8,7 +8,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
};
menuAberto: {
type: PropType<number | null>;
required: true;
default: null;
};
menuPopupPos: {
type: PropType<{
@ -24,7 +24,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
};
menuAberto: {
type: PropType<number | null>;
required: true;
default: null;
};
menuPopupPos: {
type: PropType<{
@ -33,4 +33,6 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
}>;
required: true;
};
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
}>> & Readonly<{}>, {
menuAberto: number | null;
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;

View file

@ -43,7 +43,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
opcoes: {
rotulo: string;
cor?: string;
icone?: import("lucide-vue-next").LucideIcon;
icone?: import("@lucide/vue").LucideIcon;
acao?: () => void;
}[];
} | {

View file

@ -8,7 +8,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
};
erro: {
type: PropType<string | null>;
required: true;
default: null;
};
mensagemVazio: {
type: PropType<string | undefined>;
@ -22,7 +22,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
};
erro: {
type: PropType<string | null>;
required: true;
default: null;
};
mensagemVazio: {
type: PropType<string | undefined>;
@ -30,5 +30,6 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
default: undefined;
};
}>> & Readonly<{}>, {
erro: string | null;
mensagemVazio: string | undefined;
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;

View file

@ -17,15 +17,15 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
};
colunaOrdenacao: {
type: PropType<string | null>;
required: true;
default: null;
};
direcaoOrdenacao: {
type: PropType<"asc" | "desc">;
required: true;
};
}>, {
ArrowUp: import("vue").FunctionalComponent<import("lucide-vue-next").LucideProps, {}, any, {}>;
ArrowDown: import("vue").FunctionalComponent<import("lucide-vue-next").LucideProps, {}, any, {}>;
ArrowUp: import("@lucide/vue").LucideIcon;
ArrowDown: import("@lucide/vue").LucideIcon;
isOrdenavel: (coluna: any) => boolean;
emitAlternarOrdenacao: (chave: string) => void;
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
@ -45,7 +45,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
};
colunaOrdenacao: {
type: PropType<string | null>;
required: true;
default: null;
};
direcaoOrdenacao: {
type: PropType<"asc" | "desc">;
@ -53,7 +53,9 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
};
}>> & Readonly<{
onAlternarOrdenacao?: ((chave: string) => any) | undefined;
}>, {}, {}, {
ArrowUp: import("vue").FunctionalComponent<import("lucide-vue-next").LucideProps, {}, any, {}>;
ArrowDown: import("vue").FunctionalComponent<import("lucide-vue-next").LucideProps, {}, any, {}>;
}>, {
colunaOrdenacao: string | null;
}, {}, {
ArrowUp: import("@lucide/vue").LucideIcon;
ArrowDown: import("@lucide/vue").LucideIcon;
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;

View file

@ -10,7 +10,7 @@ export default _default;
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
menuAberto: {
type: PropType<number | null>;
required: true;
default: null;
};
posicao: {
type: PropType<{
@ -41,7 +41,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
menuAberto: {
type: PropType<number | null>;
required: true;
default: null;
};
posicao: {
type: PropType<{
@ -63,4 +63,6 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
acao: tipoEliTabelaAcao<any>;
linha: unknown;
}) => any) | undefined;
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
}>, {
menuAberto: number | null;
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;

View file

@ -227,9 +227,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
default: undefined;
};
}>, {
attrs: {
[x: string]: unknown;
};
attrs: import("vue").Attrs;
valor: import("vue").WritableComputedRef<string, string>;
tipoInput: import("vue").ComputedRef<"date" | "datetime-local">;
minLocal: import("vue").ComputedRef<string | undefined>;
@ -400,9 +398,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
required: true;
};
}>, {
attrs: {
[x: string]: unknown;
};
attrs: import("vue").Attrs;
emit: ((event: "input", _v: number | null | undefined) => void) & ((event: "update:value", _v: number | null | undefined) => void) & ((event: "change", _v: number | null | undefined) => void) & ((event: "focus") => void) & ((event: "blur") => void);
displayValue: import("vue").Ref<string, string>;
isInteiro: import("vue").ComputedRef<boolean>;
@ -453,9 +449,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
required: true;
};
}>, {
attrs: {
[x: string]: unknown;
};
attrs: import("vue").Attrs;
emit: ((event: "input", _v: string | null | undefined) => void) & ((event: "update:value", _v: string | null | undefined) => void) & ((event: "change", _v: string | null | undefined) => void) & ((event: "focus") => void) & ((event: "blur") => void);
localValue: import("vue").WritableComputedRef<string | null | undefined, string | null | undefined>;
inputHtmlType: import("vue").ComputedRef<"text" | "email" | "url">;

View file

@ -25,7 +25,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
opcoes: {
rotulo: string;
cor?: string;
icone?: import("lucide-vue-next").LucideIcon;
icone?: import("@lucide/vue").LucideIcon;
acao?: () => void;
}[];
} | {

View file

@ -12,7 +12,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
opcoes: {
rotulo: string;
cor?: string;
icone?: import("lucide-vue-next").LucideIcon;
icone?: import("@lucide/vue").LucideIcon;
acao?: () => void;
}[];
} | undefined;

View file

@ -54,7 +54,7 @@ export declare const registryTabelaCelulas: {
opcoes: {
rotulo: string;
cor?: string;
icone?: import("lucide-vue-next").LucideIcon;
icone?: import("@lucide/vue").LucideIcon;
acao?: () => void;
}[];
} | undefined;

View file

@ -1,7 +1,7 @@
/**
* Tipagem dos dados de entrada dos componentes de celulas
*/
import type { LucideIcon } from "lucide-vue-next";
import type { LucideIcon } from "@lucide/vue";
export type tiposTabelaCelulas = {
textoSimples: {
texto: string;

View file

@ -1,4 +1,4 @@
import type { LucideIcon } from "lucide-vue-next";
import type { LucideIcon } from "@lucide/vue";
import type { tipoFiltro26 } from "p-comuns";
export type tipoFiltro<T> = tipoFiltro26<T>;
import type { tipoResposta } from "p-respostas";
@ -12,7 +12,7 @@ export type tipoComponenteCelula = {
[K in tipoTabelaCelula]: tipoComponenteCelulaBase<K>;
}[tipoTabelaCelula];
export declare const celulaTabela: <T extends tipoTabelaCelula>(tipo: T, dados: tiposTabelaCelulas[T]) => tipoComponenteCelulaBase<T>;
export type { tipoTabelaCelula, tiposTabelaCelulas };
export type { tiposTabelaCelulas, tipoTabelaCelula };
export type tipoEliColuna<T> = {
/** Texto exibido no cabeçalho da coluna. */
rotulo: string;

View file

@ -153,9 +153,7 @@ declare const __VLS_export: import("vue").DefineComponent<{}, {
required: true;
};
}>, {
attrs: {
[x: string]: unknown;
};
attrs: import("vue").Attrs;
emit: ((event: "input", _v: string | null | undefined) => void) & ((event: "update:value", _v: string | null | undefined) => void) & ((event: "change", _v: string | null | undefined) => void) & ((event: "focus") => void) & ((event: "blur") => void);
localValue: import("vue").WritableComputedRef<string | null | undefined, string | null | undefined>;
inputHtmlType: import("vue").ComputedRef<"text" | "email" | "url">;

View file

@ -4,13 +4,10 @@ import { EliBotao } from "./componentes/botao";
import { EliCartao } from "./componentes/cartao";
import { EliBadge } from "./componentes/indicador";
import { EliOlaMundo } from "./componentes/ola_mundo";
export { EliOlaMundo };
export { EliBotao };
export { EliBadge };
export { EliCartao };
export { criarFiltro26 } from "p-comuns";
export * from "./componentes/EliEntrada";
export * from "./componentes/EliTabela";
export * from "./tipos";
export { EliBadge, EliBotao, EliCartao, EliOlaMundo };
declare const EliVue: Plugin;
export default EliVue;

View file

@ -1,6 +1,6 @@
{
"name": "eli-vue",
"version": "0.1.107",
"version": "0.1.123",
"private": false,
"main": "./dist/eli-vue.umd.js",
"module": "./dist/eli-vue.es.js",
@ -31,18 +31,18 @@
"@mdi/font": "^7.4.47",
"@vitejs/plugin-vue": "^5.0.0",
"sass": "^1.94.2",
"typescript": "^6",
"typescript": "^6.0.3",
"vite": "^6.0.0",
"vite-plugin-css-injected-by-js": "^3.5.2",
"vite-plugin-vuetify": "^2.1.2",
"vue": "^3.4.0",
"vue": "^3.5.34",
"vue-tsc": "^3.1.6",
"vuetify": "^3.11.2"
"vuetify": "^3.12.6"
},
"dependencies": {
"@lucide/vue": "^1.16.0",
"cross-fetch": "^4.1.0",
"dayjs": "^1.11.19",
"lucide-vue-next": "^0.563.0",
"p-comuns": "git+https://git2.idz.one/publico/_comuns.git",
"p-respostas": "git+https://git2.idz.one/publico/_respostas.git",
"uuid": "^13.0.0",

297
pnpm-lock.yaml generated
View file

@ -8,15 +8,15 @@ importers:
.:
dependencies:
'@lucide/vue':
specifier: ^1.16.0
version: 1.16.0(vue@3.5.34(typescript@6.0.3))
cross-fetch:
specifier: ^4.1.0
version: 4.1.0
dayjs:
specifier: ^1.11.19
version: 1.11.19
lucide-vue-next:
specifier: ^0.563.0
version: 0.563.0(vue@3.5.28(typescript@5.9.3))
p-comuns:
specifier: git+https://git2.idz.one/publico/_comuns.git
version: git+https://git2.idz.one/publico/_comuns.git#64ddd6ad8af5e09a81d247fb1b23c2b05731d321(cross-fetch@4.1.0)(dayjs@1.11.19)(uuid@13.0.0)(zod@4.3.6)
@ -27,24 +27,24 @@ importers:
specifier: ^13.0.0
version: 13.0.0
zod:
specifier: ^4.3.6
specifier: 4.3.6
version: 4.3.6
devDependencies:
'@biomejs/biome':
specifier: 2.4.0
version: 2.4.0
specifier: 2.4.12
version: 2.4.12
'@mdi/font':
specifier: ^7.4.47
version: 7.4.47
'@vitejs/plugin-vue':
specifier: ^5.0.0
version: 5.2.4(vite@6.4.1(sass@1.97.3))(vue@3.5.28(typescript@5.9.3))
version: 5.2.4(vite@6.4.1(sass@1.97.3))(vue@3.5.34(typescript@6.0.3))
sass:
specifier: ^1.94.2
version: 1.97.3
typescript:
specifier: ^5.0.0
version: 5.9.3
specifier: ^6.0.3
version: 6.0.3
vite:
specifier: ^6.0.0
version: 6.4.1(sass@1.97.3)
@ -53,16 +53,16 @@ importers:
version: 3.5.2(vite@6.4.1(sass@1.97.3))
vite-plugin-vuetify:
specifier: ^2.1.2
version: 2.1.3(vite@6.4.1(sass@1.97.3))(vue@3.5.28(typescript@5.9.3))(vuetify@3.11.8)
version: 2.1.3(vite@6.4.1(sass@1.97.3))(vue@3.5.34(typescript@6.0.3))(vuetify@3.12.6)
vue:
specifier: ^3.4.0
version: 3.5.28(typescript@5.9.3)
specifier: ^3.5.34
version: 3.5.34(typescript@6.0.3)
vue-tsc:
specifier: ^3.1.6
version: 3.2.4(typescript@5.9.3)
version: 3.2.4(typescript@6.0.3)
vuetify:
specifier: ^3.11.2
version: 3.11.8(typescript@5.9.3)(vite-plugin-vuetify@2.1.3)(vue@3.5.28(typescript@5.9.3))
specifier: ^3.12.6
version: 3.12.6(typescript@6.0.3)(vite-plugin-vuetify@2.1.3)(vue@3.5.34(typescript@6.0.3))
packages:
@ -74,8 +74,8 @@ packages:
resolution: {integrity: sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q==}
engines: {node: '>=6.9.0'}
'@babel/parser@7.29.0':
resolution: {integrity: sha512-IyDgFV5GeDUVX4YdF/3CPULtVGSXXMLh1xVIgdCgxApktqnQV0r7/8Nqthg+8YLGaAtdyIlo2qIdZrbCv4+7ww==}
'@babel/parser@7.29.3':
resolution: {integrity: sha512-b3ctpQwp+PROvU/cttc4OYl4MzfJUWy6FZg+PMXfzmt/+39iHVF0sDfqay8TQM3JA2EUOyKcFZt75jWriQijsA==}
engines: {node: '>=6.0.0'}
hasBin: true
@ -83,55 +83,55 @@ packages:
resolution: {integrity: sha512-LwdZHpScM4Qz8Xw2iKSzS+cfglZzJGvofQICy7W7v4caru4EaAmyUuO6BGrbyQ2mYV11W0U8j5mBhd14dd3B0A==}
engines: {node: '>=6.9.0'}
'@biomejs/biome@2.4.0':
resolution: {integrity: sha512-iluT61cORUDIC5i/y42ljyQraCemmmcgbMLLCnYO+yh+2hjTmcMFcwY8G0zTzWCsPb3t3AyKc+0t/VuhPZULUg==}
'@biomejs/biome@2.4.12':
resolution: {integrity: sha512-Rro7adQl3NLq/zJCIL98eElXKI8eEiBtoeu5TbXF/U3qbjuSc7Jb5rjUbeHHcquDWeSf3HnGP7XI5qGrlRk/pA==}
engines: {node: '>=14.21.3'}
hasBin: true
'@biomejs/cli-darwin-arm64@2.4.0':
resolution: {integrity: sha512-L+YpOtPSuU0etomfvFTPWRsa7+8ejaJL3yaROEoT/96HDJbR6OsvZQk0C8JUYou+XFdP+JcGxqZknkp4n934RA==}
'@biomejs/cli-darwin-arm64@2.4.12':
resolution: {integrity: sha512-BnMU4Pc3ciEVteVpZ0BK33MLr7X57F5w1dwDLDn+/iy/yTrA4Q/N2yftidFtsA4vrDh0FMXDpacNV/Tl3fbmng==}
engines: {node: '>=14.21.3'}
cpu: [arm64]
os: [darwin]
'@biomejs/cli-darwin-x64@2.4.0':
resolution: {integrity: sha512-Aq+S7ffpb5ynTyLgtnEjG+W6xuTd2F7FdC7J6ShpvRhZwJhjzwITGF9vrqoOnw0sv1XWkt2Q1Rpg+hleg/Xg7Q==}
'@biomejs/cli-darwin-x64@2.4.12':
resolution: {integrity: sha512-x9uJ0bI1rJsWICp3VH8w/5PnAVD3A7SqzDpbrfoUQX1QyWrK5jSU4fRLo/wSgGeplCivbxBRKmt5Xq4/nWvq8A==}
engines: {node: '>=14.21.3'}
cpu: [x64]
os: [darwin]
'@biomejs/cli-linux-arm64-musl@2.4.0':
resolution: {integrity: sha512-1rhDUq8sf7xX3tg7vbnU3WVfanKCKi40OXc4VleBMzRStmQHdeBY46aFP6VdwEomcVjyNiu+Zcr3LZtAdrZrjQ==}
'@biomejs/cli-linux-arm64-musl@2.4.12':
resolution: {integrity: sha512-FhfpkAAlKL6kwvcVap0Hgp4AhZmtd3YImg0kK1jd7C/aSoh4SfsB2f++yG1rU0lr8Y5MCFJrcSkmssiL9Xnnig==}
engines: {node: '>=14.21.3'}
cpu: [arm64]
os: [linux]
'@biomejs/cli-linux-arm64@2.4.0':
resolution: {integrity: sha512-u2p54IhvNAWB+h7+rxCZe3reNfQYFK+ppDw+q0yegrGclFYnDPZAntv/PqgUacpC3uxTeuWFgWW7RFe3lHuxOA==}
'@biomejs/cli-linux-arm64@2.4.12':
resolution: {integrity: sha512-tOwuCuZZtKi1jVzbk/5nXmIsziOB6yqN8c9r9QM0EJYPU6DpQWf11uBOSCfFKKM4H3d9ZoarvlgMfbcuD051Pw==}
engines: {node: '>=14.21.3'}
cpu: [arm64]
os: [linux]
'@biomejs/cli-linux-x64-musl@2.4.0':
resolution: {integrity: sha512-Omo0xhl63z47X+CrE5viEWKJhejJyndl577VoXg763U/aoATrK3r5+8DPh02GokWPeODX1Hek00OtjjooGan9w==}
'@biomejs/cli-linux-x64-musl@2.4.12':
resolution: {integrity: sha512-dwTIgZrGutzhkQCuvHynCkyW6hJxUuyZqKKO0YNfaS2GUoRO+tOvxXZqZB6SkWAOdfZTzwaw8IEdUnIkHKHoew==}
engines: {node: '>=14.21.3'}
cpu: [x64]
os: [linux]
'@biomejs/cli-linux-x64@2.4.0':
resolution: {integrity: sha512-WVFOhsnzhrbMGOSIcB9yFdRV2oG2KkRRhIZiunI9gJqSU3ax9ErdnTxRfJUxZUI9NbzVxC60OCXNcu+mXfF/Tw==}
'@biomejs/cli-linux-x64@2.4.12':
resolution: {integrity: sha512-8pFeAnLU9QdW9jCIslB/v82bI0lhBmz2ZAKc8pVMFPO0t0wAHsoEkrUQUbMkIorTRIjbqyNZHA3lEXavsPWYSw==}
engines: {node: '>=14.21.3'}
cpu: [x64]
os: [linux]
'@biomejs/cli-win32-arm64@2.4.0':
resolution: {integrity: sha512-aqRwW0LJLV1v1NzyLvLWQhdLmDSAV1vUh+OBdYJaa8f28XBn5BZavo+WTfqgEzALZxlNfBmu6NGO6Al3MbCULw==}
'@biomejs/cli-win32-arm64@2.4.12':
resolution: {integrity: sha512-B0DLnx0vA9ya/3v7XyCaP+/lCpnbWbMOfUFFve+xb5OxyYvdHaS55YsSddr228Y+JAFk58agCuZTsqNiw2a6ig==}
engines: {node: '>=14.21.3'}
cpu: [arm64]
os: [win32]
'@biomejs/cli-win32-x64@2.4.0':
resolution: {integrity: sha512-g47s+V+OqsGxbSZN3lpav6WYOk0PIc3aCBAq+p6dwSynL3K5MA6Cg6nkzDOlu28GEHwbakW+BllzHCJCxnfK5Q==}
'@biomejs/cli-win32-x64@2.4.12':
resolution: {integrity: sha512-yMckRzTyZ83hkk8iDFWswqSdU8tvZxspJKnYNh7JZr/zhZNOlzH13k4ecboU6MurKExCe2HUkH75pGI/O2JwGA==}
engines: {node: '>=14.21.3'}
cpu: [x64]
os: [win32]
@ -295,6 +295,11 @@ packages:
'@jridgewell/sourcemap-codec@1.5.5':
resolution: {integrity: sha512-cYQ9310grqxueWbl+WuIUIaiUaDcj7WOq5fVhEljNVgRfOUhY9fy2zTvfoqWsnebh8Sl70VScFbICvJnLKB0Og==}
'@lucide/vue@1.16.0':
resolution: {integrity: sha512-kiHx0fe49DMjQuvNaEOu9Jou6u9FwdqQ8xbZIKlD47sXrOI8g59kIeeQL42NBLI4AvO+UJsbaPX0hEK/4rHSBQ==}
peerDependencies:
vue: '>=3.0.1'
'@mdi/font@7.4.47':
resolution: {integrity: sha512-43MtGpd585SNzHZPcYowu/84Vz2a2g31TvPMTm9uTiCSWzaheQySUcSyUH/46fPnuPQWof2yd0pGBtzee/IQWw==}
@ -527,35 +532,44 @@ packages:
'@vue/compiler-core@3.5.28':
resolution: {integrity: sha512-kviccYxTgoE8n6OCw96BNdYlBg2GOWfBuOW4Vqwrt7mSKWKwFVvI8egdTltqRgITGPsTFYtKYfxIG8ptX2PJHQ==}
'@vue/compiler-core@3.5.34':
resolution: {integrity: sha512-s9cLyK5mLcvZ4Agva5QgRsQyLKvts9WbU9DB6NqiZkkGEdwmcEiylj5Jbwkp680drF/NNCV8OlAJSe+yMLxaJw==}
'@vue/compiler-dom@3.5.28':
resolution: {integrity: sha512-/1ZepxAb159jKR1btkefDP+J2xuWL5V3WtleRmxaT+K2Aqiek/Ab/+Ebrw2pPj0sdHO8ViAyyJWfhXXOP/+LQA==}
'@vue/compiler-sfc@3.5.28':
resolution: {integrity: sha512-6TnKMiNkd6u6VeVDhZn/07KhEZuBSn43Wd2No5zaP5s3xm8IqFTHBj84HJah4UepSUJTro5SoqqlOY22FKY96g==}
'@vue/compiler-dom@3.5.34':
resolution: {integrity: sha512-EbF/T++k0e2MMZlJsBhzK8Sgwt0HcIPOhzn1CTB/lv6sQcyk+OWf8YeiLxZp3ro7MbbLcAfAJ6sEvjFWuNgUCw==}
'@vue/compiler-ssr@3.5.28':
resolution: {integrity: sha512-JCq//9w1qmC6UGLWJX7RXzrGpKkroubey/ZFqTpvEIDJEKGgntuDMqkuWiZvzTzTA5h2qZvFBFHY7fAAa9475g==}
'@vue/compiler-sfc@3.5.34':
resolution: {integrity: sha512-D/ihr6uZeIt6r+pVZf46RWT1fAsLFMbUP7k8G1VkiiWexriED9GrX3echHd4Abbt17zjlfiFJ8z7a3BxZOPNjg==}
'@vue/compiler-ssr@3.5.34':
resolution: {integrity: sha512-cDtTHKibkThKGHH1SP+WdccquNRYQDFH6rRjQCqT9G2ltFAfoR5pUftpab/z+aM5mW9HLLVQW7hfKKQe/1GBeQ==}
'@vue/language-core@3.2.4':
resolution: {integrity: sha512-bqBGuSG4KZM45KKTXzGtoCl9cWju5jsaBKaJJe3h5hRAAWpZUuj5G+L+eI01sPIkm4H6setKRlw7E85wLdDNew==}
'@vue/reactivity@3.5.28':
resolution: {integrity: sha512-gr5hEsxvn+RNyu9/9o1WtdYdwDjg5FgjUSBEkZWqgTKlo/fvwZ2+8W6AfKsc9YN2k/+iHYdS9vZYAhpi10kNaw==}
'@vue/reactivity@3.5.34':
resolution: {integrity: sha512-y9XDjCEuBp+98k+UL5dbYkh57AHU4o6cxZedOPXw3bmrZZYLQsVHguGurq7hVrPCSrQtrnz1f9dssyFr+dMXfQ==}
'@vue/runtime-core@3.5.28':
resolution: {integrity: sha512-POVHTdbgnrBBIpnbYU4y7pOMNlPn2QVxVzkvEA2pEgvzbelQq4ZOUxbp2oiyo+BOtiYlm8Q44wShHJoBvDPAjQ==}
'@vue/runtime-core@3.5.34':
resolution: {integrity: sha512-mKeBYvu8tcMSLhypAHBmriUFfWXKTCF/23Z4jiCoYK3UtWepkliViNLuR90V9XOyD62mUxs9p1jsrpK3CCGIzw==}
'@vue/runtime-dom@3.5.28':
resolution: {integrity: sha512-4SXxSF8SXYMuhAIkT+eBRqOkWEfPu6nhccrzrkioA6l0boiq7sp18HCOov9qWJA5HML61kW8p/cB4MmBiG9dSA==}
'@vue/runtime-dom@3.5.34':
resolution: {integrity: sha512-e8kZzERmCwUnBRVsgSQlAfrfU2rGoy0FFKPBXSlfEjc/O3KfA7QP0t1/2ZylrbchjmIKB4dPTd07A6WPr0eOrg==}
'@vue/server-renderer@3.5.28':
resolution: {integrity: sha512-pf+5ECKGj8fX95bNincbzJ6yp6nyzuLDhYZCeFxUNp8EBrQpPpQaLX3nNCp49+UbgbPun3CeVE+5CXVV1Xydfg==}
'@vue/server-renderer@3.5.34':
resolution: {integrity: sha512-nHxmJoTrKsmrkbILRhkC9gY1G3moZbJTqCzDd7DOOzG5KH9oeJ0Unqrff5f9v0pW//jES05ZkJcNtfE8JjOIew==}
peerDependencies:
vue: 3.5.28
vue: 3.5.34
'@vue/shared@3.5.28':
resolution: {integrity: sha512-cfWa1fCGBxrvaHRhvV3Is0MgmrbSCxYTXCSCau2I0a1Xw1N1pHAvkWCiXPRAqjvToILvguNyEwjevUqAuBQWvQ==}
'@vue/shared@3.5.34':
resolution: {integrity: sha512-24uqU4OIiX29ryC3MeWid/Xf2fa2EFRUVLb77nRhk+UrTVrh/XiGtFAFmJBAtBRbjwNdsPRP+jj/OL27Eg1NDA==}
'@vuetify/loader-shared@2.1.2':
resolution: {integrity: sha512-X+1jBLmXHkpQEnC0vyOb4rtX2QSkBiFhaFXz8yhQqN2A4vQ6k2nChxN4Ol7VAY5KoqMdFoRMnmNdp/1qYXDQig==}
peerDependencies:
@ -628,11 +642,6 @@ packages:
resolution: {integrity: sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==}
engines: {node: '>=0.10.0'}
lucide-vue-next@0.563.0:
resolution: {integrity: sha512-zsE/lCKtmaa7bGfhSpN84br1K9YoQ5pCN+2oKWjQQG3Lo6ufUUKBuHSjNFI6RvUevxaajNXb8XwFUKeTXG3sIA==}
peerDependencies:
vue: '>=3.0.1'
magic-string@0.30.21:
resolution: {integrity: sha512-vd2F4YUyEXKGcLHoq+TEyCjxueSeHnFxyyjNp80yg0XV4vUhnDer/lvvlqM/arB5bXQN5K2/3oinyCRyx8T2CQ==}
@ -647,6 +656,11 @@ packages:
engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1}
hasBin: true
nanoid@3.3.12:
resolution: {integrity: sha512-ZB9RH/39qpq5Vu6Y+NmUaFhQR6pp+M2Xt76XBnEwDaGcVAqhlvxrl3B2bKS5D3NH3QR76v3aSrKaF/Kiy7lEtQ==}
engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1}
hasBin: true
node-addon-api@7.1.1:
resolution: {integrity: sha512-5m3bsyrjFWE1xf7nz7YXdN4udnVtXK6/Yfgn5qnahL6bCkf2yKt4k3nuTKAtT4r3IG8JNR2ncsIMdZuAzJjHQQ==}
@ -683,6 +697,10 @@ packages:
resolution: {integrity: sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==}
engines: {node: '>=12'}
postcss@8.5.14:
resolution: {integrity: sha512-SoSL4+OSEtR99LHFZQiJLkT59C5B1amGO1NzTwj7TT1qCUgUO6hxOvzkOYxD+vMrXBM3XJIKzokoERdqQq/Zmg==}
engines: {node: ^10 || ^12 || >=14}
postcss@8.5.6:
resolution: {integrity: sha512-3Ybi1tAuwAP9s0r1UQ2J4n5Y0G05bJkpUIO0/bI9MhwmD70S5aTWbXGBwxHrelT+XM1k6dM0pk+SwNkpTRN7Pg==}
engines: {node: ^10 || ^12 || >=14}
@ -712,8 +730,8 @@ packages:
tr46@0.0.3:
resolution: {integrity: sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==}
typescript@5.9.3:
resolution: {integrity: sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==}
typescript@6.0.3:
resolution: {integrity: sha512-y2TvuxSZPDyQakkFRPZHKFm+KKVqIisdg9/CZwm9ftvKXLP8NRWj38/ODjNbr43SsoXqNuAisEf1GdCxqWcdBw==}
engines: {node: '>=14.17'}
hasBin: true
@ -787,16 +805,16 @@ packages:
peerDependencies:
typescript: '>=5.0.0'
vue@3.5.28:
resolution: {integrity: sha512-BRdrNfeoccSoIZeIhyPBfvWSLFP4q8J3u8Ju8Ug5vu3LdD+yTM13Sg4sKtljxozbnuMu1NB1X5HBHRYUzFocKg==}
vue@3.5.34:
resolution: {integrity: sha512-WdLBG9gm02OgJIG9axd5Hpx0TFLdzVgfG2evFFu8Rur5O/IoGc5cMjnjh3tPL6GnRGsYvUhBSKVPYVcxRKpMCA==}
peerDependencies:
typescript: '*'
peerDependenciesMeta:
typescript:
optional: true
vuetify@3.11.8:
resolution: {integrity: sha512-4iKnntOnLFFklygZjzlVfcHrtLO8+iK4HOhiia6HP2U8v82x+ngaSCgm+epvPrGyCMfCpfuEttqD2qElrr1axw==}
vuetify@3.12.6:
resolution: {integrity: sha512-ARfflEJu+pKk+vya059qsUT/xUnYf0K6sIZdJwVh5w+kR6CJCXMQN1MONABb3Jm2kmhN/AXB4W5/MjYiKnVAFg==}
peerDependencies:
typescript: '>=4.7'
vite-plugin-vuetify: '>=2.1.0'
@ -828,7 +846,7 @@ snapshots:
'@babel/helper-validator-identifier@7.28.5': {}
'@babel/parser@7.29.0':
'@babel/parser@7.29.3':
dependencies:
'@babel/types': 7.29.0
@ -837,39 +855,39 @@ snapshots:
'@babel/helper-string-parser': 7.27.1
'@babel/helper-validator-identifier': 7.28.5
'@biomejs/biome@2.4.0':
'@biomejs/biome@2.4.12':
optionalDependencies:
'@biomejs/cli-darwin-arm64': 2.4.0
'@biomejs/cli-darwin-x64': 2.4.0
'@biomejs/cli-linux-arm64': 2.4.0
'@biomejs/cli-linux-arm64-musl': 2.4.0
'@biomejs/cli-linux-x64': 2.4.0
'@biomejs/cli-linux-x64-musl': 2.4.0
'@biomejs/cli-win32-arm64': 2.4.0
'@biomejs/cli-win32-x64': 2.4.0
'@biomejs/cli-darwin-arm64': 2.4.12
'@biomejs/cli-darwin-x64': 2.4.12
'@biomejs/cli-linux-arm64': 2.4.12
'@biomejs/cli-linux-arm64-musl': 2.4.12
'@biomejs/cli-linux-x64': 2.4.12
'@biomejs/cli-linux-x64-musl': 2.4.12
'@biomejs/cli-win32-arm64': 2.4.12
'@biomejs/cli-win32-x64': 2.4.12
'@biomejs/cli-darwin-arm64@2.4.0':
'@biomejs/cli-darwin-arm64@2.4.12':
optional: true
'@biomejs/cli-darwin-x64@2.4.0':
'@biomejs/cli-darwin-x64@2.4.12':
optional: true
'@biomejs/cli-linux-arm64-musl@2.4.0':
'@biomejs/cli-linux-arm64-musl@2.4.12':
optional: true
'@biomejs/cli-linux-arm64@2.4.0':
'@biomejs/cli-linux-arm64@2.4.12':
optional: true
'@biomejs/cli-linux-x64-musl@2.4.0':
'@biomejs/cli-linux-x64-musl@2.4.12':
optional: true
'@biomejs/cli-linux-x64@2.4.0':
'@biomejs/cli-linux-x64@2.4.12':
optional: true
'@biomejs/cli-win32-arm64@2.4.0':
'@biomejs/cli-win32-arm64@2.4.12':
optional: true
'@biomejs/cli-win32-x64@2.4.0':
'@biomejs/cli-win32-x64@2.4.12':
optional: true
'@esbuild/aix-ppc64@0.25.12':
@ -952,6 +970,10 @@ snapshots:
'@jridgewell/sourcemap-codec@1.5.5': {}
'@lucide/vue@1.16.0(vue@3.5.34(typescript@6.0.3))':
dependencies:
vue: 3.5.34(typescript@6.0.3)
'@mdi/font@7.4.47': {}
'@parcel/watcher-android-arm64@2.5.6':
@ -1092,10 +1114,10 @@ snapshots:
'@types/estree@1.0.8': {}
'@vitejs/plugin-vue@5.2.4(vite@6.4.1(sass@1.97.3))(vue@3.5.28(typescript@5.9.3))':
'@vitejs/plugin-vue@5.2.4(vite@6.4.1(sass@1.97.3))(vue@3.5.34(typescript@6.0.3))':
dependencies:
vite: 6.4.1(sass@1.97.3)
vue: 3.5.28(typescript@5.9.3)
vue: 3.5.34(typescript@6.0.3)
'@volar/language-core@2.4.27':
dependencies:
@ -1111,33 +1133,46 @@ snapshots:
'@vue/compiler-core@3.5.28':
dependencies:
'@babel/parser': 7.29.0
'@babel/parser': 7.29.3
'@vue/shared': 3.5.28
entities: 7.0.1
estree-walker: 2.0.2
source-map-js: 1.2.1
'@vue/compiler-core@3.5.34':
dependencies:
'@babel/parser': 7.29.3
'@vue/shared': 3.5.34
entities: 7.0.1
estree-walker: 2.0.2
source-map-js: 1.2.1
'@vue/compiler-dom@3.5.28':
dependencies:
'@vue/compiler-core': 3.5.28
'@vue/shared': 3.5.28
'@vue/compiler-sfc@3.5.28':
'@vue/compiler-dom@3.5.34':
dependencies:
'@babel/parser': 7.29.0
'@vue/compiler-core': 3.5.28
'@vue/compiler-dom': 3.5.28
'@vue/compiler-ssr': 3.5.28
'@vue/shared': 3.5.28
'@vue/compiler-core': 3.5.34
'@vue/shared': 3.5.34
'@vue/compiler-sfc@3.5.34':
dependencies:
'@babel/parser': 7.29.3
'@vue/compiler-core': 3.5.34
'@vue/compiler-dom': 3.5.34
'@vue/compiler-ssr': 3.5.34
'@vue/shared': 3.5.34
estree-walker: 2.0.2
magic-string: 0.30.21
postcss: 8.5.6
postcss: 8.5.14
source-map-js: 1.2.1
'@vue/compiler-ssr@3.5.28':
'@vue/compiler-ssr@3.5.34':
dependencies:
'@vue/compiler-dom': 3.5.28
'@vue/shared': 3.5.28
'@vue/compiler-dom': 3.5.34
'@vue/shared': 3.5.34
'@vue/language-core@3.2.4':
dependencies:
@ -1149,35 +1184,37 @@ snapshots:
path-browserify: 1.0.1
picomatch: 4.0.3
'@vue/reactivity@3.5.28':
'@vue/reactivity@3.5.34':
dependencies:
'@vue/shared': 3.5.28
'@vue/shared': 3.5.34
'@vue/runtime-core@3.5.28':
'@vue/runtime-core@3.5.34':
dependencies:
'@vue/reactivity': 3.5.28
'@vue/shared': 3.5.28
'@vue/reactivity': 3.5.34
'@vue/shared': 3.5.34
'@vue/runtime-dom@3.5.28':
'@vue/runtime-dom@3.5.34':
dependencies:
'@vue/reactivity': 3.5.28
'@vue/runtime-core': 3.5.28
'@vue/shared': 3.5.28
'@vue/reactivity': 3.5.34
'@vue/runtime-core': 3.5.34
'@vue/shared': 3.5.34
csstype: 3.2.3
'@vue/server-renderer@3.5.28(vue@3.5.28(typescript@5.9.3))':
'@vue/server-renderer@3.5.34(vue@3.5.34(typescript@6.0.3))':
dependencies:
'@vue/compiler-ssr': 3.5.28
'@vue/shared': 3.5.28
vue: 3.5.28(typescript@5.9.3)
'@vue/compiler-ssr': 3.5.34
'@vue/shared': 3.5.34
vue: 3.5.34(typescript@6.0.3)
'@vue/shared@3.5.28': {}
'@vuetify/loader-shared@2.1.2(vue@3.5.28(typescript@5.9.3))(vuetify@3.11.8)':
'@vue/shared@3.5.34': {}
'@vuetify/loader-shared@2.1.2(vue@3.5.34(typescript@6.0.3))(vuetify@3.12.6)':
dependencies:
upath: 2.0.1
vue: 3.5.28(typescript@5.9.3)
vuetify: 3.11.8(typescript@5.9.3)(vite-plugin-vuetify@2.1.3)(vue@3.5.28(typescript@5.9.3))
vue: 3.5.34(typescript@6.0.3)
vuetify: 3.12.6(typescript@6.0.3)(vite-plugin-vuetify@2.1.3)(vue@3.5.34(typescript@6.0.3))
alien-signals@3.1.2: {}
@ -1252,10 +1289,6 @@ snapshots:
is-extglob: 2.1.1
optional: true
lucide-vue-next@0.563.0(vue@3.5.28(typescript@5.9.3)):
dependencies:
vue: 3.5.28(typescript@5.9.3)
magic-string@0.30.21:
dependencies:
'@jridgewell/sourcemap-codec': 1.5.5
@ -1266,6 +1299,8 @@ snapshots:
nanoid@3.3.11: {}
nanoid@3.3.12: {}
node-addon-api@7.1.1:
optional: true
@ -1302,6 +1337,12 @@ snapshots:
picomatch@4.0.3: {}
postcss@8.5.14:
dependencies:
nanoid: 3.3.12
picocolors: 1.1.1
source-map-js: 1.2.1
postcss@8.5.6:
dependencies:
nanoid: 3.3.11
@ -1358,7 +1399,7 @@ snapshots:
tr46@0.0.3: {}
typescript@5.9.3: {}
typescript@6.0.3: {}
upath@2.0.1: {}
@ -1368,14 +1409,14 @@ snapshots:
dependencies:
vite: 6.4.1(sass@1.97.3)
vite-plugin-vuetify@2.1.3(vite@6.4.1(sass@1.97.3))(vue@3.5.28(typescript@5.9.3))(vuetify@3.11.8):
vite-plugin-vuetify@2.1.3(vite@6.4.1(sass@1.97.3))(vue@3.5.34(typescript@6.0.3))(vuetify@3.12.6):
dependencies:
'@vuetify/loader-shared': 2.1.2(vue@3.5.28(typescript@5.9.3))(vuetify@3.11.8)
'@vuetify/loader-shared': 2.1.2(vue@3.5.34(typescript@6.0.3))(vuetify@3.12.6)
debug: 4.4.3
upath: 2.0.1
vite: 6.4.1(sass@1.97.3)
vue: 3.5.28(typescript@5.9.3)
vuetify: 3.11.8(typescript@5.9.3)(vite-plugin-vuetify@2.1.3)(vue@3.5.28(typescript@5.9.3))
vue: 3.5.34(typescript@6.0.3)
vuetify: 3.12.6(typescript@6.0.3)(vite-plugin-vuetify@2.1.3)(vue@3.5.34(typescript@6.0.3))
transitivePeerDependencies:
- supports-color
@ -1393,28 +1434,28 @@ snapshots:
vscode-uri@3.1.0: {}
vue-tsc@3.2.4(typescript@5.9.3):
vue-tsc@3.2.4(typescript@6.0.3):
dependencies:
'@volar/typescript': 2.4.27
'@vue/language-core': 3.2.4
typescript: 5.9.3
typescript: 6.0.3
vue@3.5.28(typescript@5.9.3):
vue@3.5.34(typescript@6.0.3):
dependencies:
'@vue/compiler-dom': 3.5.28
'@vue/compiler-sfc': 3.5.28
'@vue/runtime-dom': 3.5.28
'@vue/server-renderer': 3.5.28(vue@3.5.28(typescript@5.9.3))
'@vue/shared': 3.5.28
'@vue/compiler-dom': 3.5.34
'@vue/compiler-sfc': 3.5.34
'@vue/runtime-dom': 3.5.34
'@vue/server-renderer': 3.5.34(vue@3.5.34(typescript@6.0.3))
'@vue/shared': 3.5.34
optionalDependencies:
typescript: 5.9.3
typescript: 6.0.3
vuetify@3.11.8(typescript@5.9.3)(vite-plugin-vuetify@2.1.3)(vue@3.5.28(typescript@5.9.3)):
vuetify@3.12.6(typescript@6.0.3)(vite-plugin-vuetify@2.1.3)(vue@3.5.34(typescript@6.0.3)):
dependencies:
vue: 3.5.28(typescript@5.9.3)
vue: 3.5.34(typescript@6.0.3)
optionalDependencies:
typescript: 5.9.3
vite-plugin-vuetify: 2.1.3(vite@6.4.1(sass@1.97.3))(vue@3.5.28(typescript@5.9.3))(vuetify@3.11.8)
typescript: 6.0.3
vite-plugin-vuetify: 2.1.3(vite@6.4.1(sass@1.97.3))(vue@3.5.34(typescript@6.0.3))(vuetify@3.12.6)
webidl-conversions@3.0.1: {}

View file

@ -8,7 +8,7 @@
item-value="chave"
:loading="carregando"
:disabled="carregando"
:menu-props="{ maxHeight: 320 }"
:menu-props="{ maxHeight: 320, zIndex: 99999 }"
:clearable="Boolean(opcoes?.limpavel)"
:error="Boolean(opcoes?.erro)"
:error-messages="opcoes?.mensagensErro"

View file

@ -4,11 +4,11 @@ import EliEntradaParagrafo from "./EliEntradaParagrafo.vue"
import EliEntradaSelecao from "./EliEntradaSelecao.vue"
import EliEntradaTexto from "./EliEntradaTexto.vue"
export type { PadroesEntradas, TipoEntrada } from "./tiposEntradas"
export {
EliEntradaTexto,
EliEntradaNumero,
EliEntradaDataHora,
EliEntradaNumero,
EliEntradaParagrafo,
EliEntradaSelecao,
EliEntradaTexto,
}
export type { PadroesEntradas, TipoEntrada } from "./tiposEntradas"

View file

@ -73,7 +73,7 @@
</template>
<script lang="ts">
import { ChevronDown, ChevronRight, MoreVertical } from "lucide-vue-next"
import { ChevronDown, ChevronRight, MoreVertical } from "@lucide/vue"
import { defineComponent, type PropType } from "vue"
import EliTabelaCelula from "./celulas/EliTabelaCelula.vue"
import EliTabelaDetalhesLinha from "./EliTabelaDetalhesLinha.vue"

View file

@ -23,7 +23,7 @@
</template>
<script lang="ts">
import { Search } from "lucide-vue-next"
import { Search } from "@lucide/vue"
import { defineComponent, ref, watch } from "vue"
export default defineComponent({

View file

@ -22,8 +22,8 @@ export default defineComponent({
required: true,
},
menuAberto: {
type: Number as PropType<number | null>,
required: true,
type: [Number, Object] as PropType<number | null>,
default: null,
},
menuPopupPos: {
type: Object as PropType<{ top: number; left: number }>,

View file

@ -19,7 +19,7 @@ export default defineComponent({
components: { EliTabelaCelula },
props: {
linha: {
type: null as unknown as PropType<unknown>,
type: [Object, String, Number, Array] as PropType<unknown>,
required: true,
},
colunasInvisiveis: {

View file

@ -27,8 +27,8 @@ export default defineComponent({
required: true,
},
erro: {
type: String as PropType<string | null>,
required: true,
type: [String, Object] as PropType<string | null>,
default: null,
},
mensagemVazio: {
type: String as PropType<string | undefined>,

View file

@ -49,7 +49,7 @@
</template>
<script lang="ts">
import { ArrowDown, ArrowUp } from "lucide-vue-next"
import { ArrowDown, ArrowUp } from "@lucide/vue"
import { defineComponent, type PropType } from "vue"
import type { tipoEliColuna } from "./types-eli-tabela"
@ -71,8 +71,8 @@ export default defineComponent({
required: true,
},
colunaOrdenacao: {
type: String as PropType<string | null>,
required: true,
type: [String, Object] as PropType<string | null>,
default: null,
},
direcaoOrdenacao: {
type: String as PropType<"asc" | "desc">,

View file

@ -1,45 +1,47 @@
<template>
<Teleport to="body">
<ul
v-if="menuAberto !== null && possuiAcoes"
:id="`eli-tabela-acoes-menu-${menuAberto}`"
ref="menuEl"
class="eli-tabela__acoes-menu"
role="menu"
:aria-labelledby="`eli-tabela-acoes-toggle-${menuAberto}`"
:style="{
position: 'fixed',
top: `${posicao.top}px`,
left: `${posicao.left}px`,
zIndex: 999999,
}"
>
<li
v-for="item in acoes"
:key="`acao-${menuAberto}-${item.indice}`"
class="eli-tabela__acoes-item"
role="none"
<div class="eli-teleport-container">
<Teleport to="body">
<ul
v-if="menuAberto !== null && possuiAcoes"
:id="`eli-tabela-acoes-menu-${menuAberto}`"
ref="menuEl"
class="eli-tabela__acoes-menu"
role="menu"
:aria-labelledby="`eli-tabela-acoes-toggle-${menuAberto}`"
:style="{
position: 'fixed',
top: `${posicao.top}px`,
left: `${posicao.left}px`,
zIndex: 999999,
}"
>
<button
type="button"
class="eli-tabela__acoes-item-botao"
:style="{ color: item.acao.cor }"
role="menuitem"
:aria-label="item.acao.rotulo"
:title="item.acao.rotulo"
@click.stop="emitExecutar(item)"
<li
v-for="item in acoes"
:key="`acao-${menuAberto}-${item.indice}`"
class="eli-tabela__acoes-item"
role="none"
>
<component
:is="item.acao.icone"
class="eli-tabela__acoes-item-icone"
:size="16"
:stroke-width="2"
/>
<span class="eli-tabela__acoes-item-texto">{{ item.acao.rotulo }}</span>
</button>
</li>
</ul>
</Teleport>
<button
type="button"
class="eli-tabela__acoes-item-botao"
:style="{ color: item.acao.cor }"
role="menuitem"
:aria-label="item.acao.rotulo"
:title="item.acao.rotulo"
@click.stop="emitExecutar(item)"
>
<component
:is="item.acao.icone"
class="eli-tabela__acoes-item-icone"
:size="16"
:stroke-width="2"
/>
<span class="eli-tabela__acoes-item-texto">{{ item.acao.rotulo }}</span>
</button>
</li>
</ul>
</Teleport>
</div>
</template>
<script lang="ts">
@ -56,8 +58,8 @@ export default defineComponent({
name: "EliTabelaMenuAcoes",
props: {
menuAberto: {
type: Number as PropType<number | null>,
required: true,
type: [Number, Object] as PropType<number | null>,
default: null,
},
posicao: {
type: Object as PropType<{ top: number; left: number }>,
@ -70,7 +72,7 @@ export default defineComponent({
},
linha: {
// Aceita qualquer tipo de linha (objeto, string, etc.) sem validação runtime.
type: null as unknown as PropType<unknown | null>,
type: [Object, String, Number, Array] as PropType<unknown | null>,
required: true,
},
},

View file

@ -2,7 +2,7 @@
* Tipagem dos dados de entrada dos componentes de celulas
*/
import type { LucideIcon } from "lucide-vue-next"
import type { LucideIcon } from "@lucide/vue"
export type tiposTabelaCelulas = {
textoSimples: {

View file

@ -1,4 +1,4 @@
import type { LucideIcon } from "lucide-vue-next"
import type { LucideIcon } from "@lucide/vue"
import type { tipoFiltro26 } from "p-comuns"
export type tipoFiltro<T> = tipoFiltro26<T>
@ -26,7 +26,7 @@ export const celulaTabela = <T extends tipoTabelaCelula>(
return [tipo, dados] as const
}
export type { tipoTabelaCelula, tiposTabelaCelulas }
export type { tiposTabelaCelulas, tipoTabelaCelula }
export type tipoEliColuna<T> = {
/** Texto exibido no cabeçalho da coluna. */

View file

@ -13,17 +13,13 @@ import { EliTabela } from "./componentes/EliTabela"
import { EliBadge } from "./componentes/indicador"
import { EliOlaMundo } from "./componentes/ola_mundo"
export { EliOlaMundo }
export { EliBotao }
export { EliBadge }
export { EliCartao }
export { criarFiltro26 } from "p-comuns"
export * from "./componentes/EliEntrada"
// Exportar tudo (componentes + types + helpers) de Tabela e Entrada
export * from "./componentes/EliTabela"
// Exportar tipos compartilhados (ex: CartaoStatus)
export * from "./tipos"
export { EliBadge, EliBotao, EliCartao, EliOlaMundo }
const EliVue: Plugin = {
install(app: App) {

View file

@ -62,7 +62,7 @@
</template>
<script lang="ts">
import { BadgeCheck, Eye, Pencil, Plus, Trash2 } from "lucide-vue-next"
import { BadgeCheck, Eye, Pencil, Plus, Trash2 } from "@lucide/vue"
import { criarFiltro26, type tipoFiltro26 } from "p-comuns"
import { codigosResposta } from "p-respostas"
import { defineComponent, ref } from "vue"

View file

@ -4,7 +4,8 @@
"noEmit": false,
"declaration": true,
"emitDeclarationOnly": true,
"declarationDir": "./dist/types"
"declarationDir": "./dist/types",
"rootDir": "./src"
},
"include": ["src"],
"exclude": ["src/playground/**/*"]

View file

@ -22,6 +22,7 @@
"paths": {
"@/*": ["src/*"]
},
"ignoreDeprecations": "6.0",
/* Vue */
"types": ["vite/client"]