From 57325f6744cb896fad7644f4ec534ea27981a30e Mon Sep 17 00:00:00 2001 From: Luiz Silva Date: Sun, 15 Feb 2026 15:17:08 -0300 Subject: [PATCH] build --- IA.md | 25 + biome.json | 17 + dist/eli-vue.es.js | 15086 +++++++++++++--- dist/eli-vue.umd.js | 73 +- .../EliEntrada/EliEntradaDataHora.vue.d.ts | 14 +- .../EliEntrada/EliEntradaNumero.vue.d.ts | 10 +- .../EliEntrada/EliEntradaParagrafo.vue.d.ts | 44 +- .../EliEntrada/EliEntradaSelecao.vue.d.ts | 367 +- .../EliEntrada/EliEntradaTexto.vue.d.ts | 10 +- dist/types/componentes/EliEntrada/index.d.ts | 6 +- .../EliEntrada/registryEliEntradas.d.ts | 415 +- .../componentes/EliEntrada/tiposEntradas.d.ts | 5 +- .../componentes/EliTabela/EliTabela.vue.d.ts | 448 +- .../EliTabela/EliTabelaBody.vue.d.ts | 6 +- .../EliTabela/EliTabelaCabecalho.vue.d.ts | 20 +- .../EliTabela/EliTabelaCaixaDeBusca.vue.d.ts | 4 +- .../EliTabela/EliTabelaDebug.vue.d.ts | 6 +- .../EliTabela/EliTabelaDetalhesLinha.vue.d.ts | 6 +- .../EliTabela/EliTabelaEstados.vue.d.ts | 6 +- .../EliTabela/EliTabelaHead.vue.d.ts | 6 +- .../EliTabela/EliTabelaMenuAcoes.vue.d.ts | 6 +- .../EliTabela/EliTabelaModalColunas.vue.d.ts | 6 +- .../EliTabelaModalFiltroAvancado.vue.d.ts | 228 +- .../EliTabela/EliTabelaPaginacao.vue.d.ts | 42 +- .../celulas/EliTabelaCelula.vue.d.ts | 6 +- .../celulas/EliTabelaCelulaData.vue.d.ts | 6 +- .../celulas/EliTabelaCelulaNumero.vue.d.ts | 6 +- .../celulas/EliTabelaCelulaTags.vue.d.ts | 6 +- .../EliTabelaCelulaTextoSimples.vue.d.ts | 6 +- .../EliTabelaCelulaTextoTruncado.vue.d.ts | 6 +- dist/types/componentes/EliTabela/index.d.ts | 2 +- .../EliTabela/types-eli-tabela.d.ts | 36 +- .../types/componentes/botao/EliBotao.vue.d.ts | 6 +- .../componentes/cartao/EliCartao.vue.d.ts | 24 +- .../componentes/indicador/EliBadge.vue.d.ts | 6 +- .../ola_mundo/EliOlaMundo.vue.d.ts | 8 +- dist/types/index.d.ts | 6 +- package.json | 12 +- pnpm-lock.yaml | 790 +- .../EliEntrada/EliEntradaDataHora.vue | 135 +- .../EliEntrada/EliEntradaNumero.vue | 187 +- .../EliEntrada/EliEntradaParagrafo.vue | 20 +- .../EliEntrada/EliEntradaSelecao.vue | 59 +- .../EliEntrada/EliEntradaTexto.vue | 59 +- src/componentes/EliEntrada/index.ts | 20 +- .../EliEntrada/registryEliEntradas.ts | 17 +- src/componentes/EliEntrada/tiposEntradas.ts | 13 +- src/componentes/EliEntrada/utils/cep.ts | 8 +- src/componentes/EliEntrada/utils/cpfCnpj.ts | 8 +- src/componentes/EliEntrada/utils/telefone.ts | 10 +- src/componentes/EliTabela/EliTabela.css | 25 + src/componentes/EliTabela/EliTabela.vue | 626 +- src/componentes/EliTabela/EliTabelaBody.vue | 16 +- .../EliTabela/EliTabelaCabecalho.vue | 39 +- .../EliTabela/EliTabelaCaixaDeBusca.vue | 20 +- src/componentes/EliTabela/EliTabelaDebug.vue | 4 +- .../EliTabela/EliTabelaDetalhesLinha.vue | 9 +- .../EliTabela/EliTabelaEstados.vue | 4 +- src/componentes/EliTabela/EliTabelaHead.vue | 18 +- .../EliTabela/EliTabelaMenuAcoes.vue | 31 +- .../EliTabela/EliTabelaModalColunas.vue | 174 +- .../EliTabelaModalFiltroAvancado.vue | 147 +- .../EliTabela/EliTabelaPaginacao.vue | 238 +- .../EliTabela/celulas/EliTabelaCelula.vue | 28 +- .../EliTabela/celulas/EliTabelaCelulaData.vue | 31 +- .../celulas/EliTabelaCelulaNumero.vue | 31 +- .../EliTabela/celulas/EliTabelaCelulaTags.vue | 10 +- .../celulas/EliTabelaCelulaTextoSimples.vue | 11 +- .../celulas/EliTabelaCelulaTextoTruncado.vue | 8 +- .../celulas/registryTabelaCelulas.ts | 17 +- .../EliTabela/celulas/tiposTabelaCelulas.ts | 51 +- src/componentes/EliTabela/colunasStorage.ts | 51 +- .../EliTabela/filtroAvancadoStorage.ts | 31 +- src/componentes/EliTabela/index.ts | 9 +- src/componentes/EliTabela/types-eli-tabela.ts | 115 +- src/componentes/botao/EliBotao.vue | 35 +- src/componentes/botao/index.ts | 2 +- src/componentes/cartao/EliCartao.vue | 30 +- src/componentes/cartao/index.ts | 3 +- src/componentes/indicador/EliBadge.vue | 31 +- src/componentes/indicador/index.ts | 2 +- src/componentes/ola_mundo/EliOlaMundo.vue | 22 +- src/componentes/ola_mundo/index.ts | 2 +- src/constantes.ts | 2 +- src/index.ts | 58 +- src/playground/App.vue | 70 +- src/playground/botao.playground.vue | 10 +- src/playground/cartao.playground.vue | 50 +- src/playground/data_hora.playground.vue | 34 +- src/playground/entradas.playground.vue | 17 +- src/playground/indicador.playground.vue | 12 +- src/playground/main.ts | 43 +- src/playground/ola_mundo.playground.vue | 6 +- src/playground/tabela.playground.vue | 252 +- src/tipos/botao.ts | 5 +- src/tipos/cartao.ts | 3 +- src/tipos/entrada.ts | 4 +- src/tipos/index.ts | 8 +- src/tipos/indicador.ts | 9 +- vite.config.ts | 4 + 100 files changed, 16153 insertions(+), 4623 deletions(-) create mode 100755 biome.json diff --git a/IA.md b/IA.md index 9b46e79..f071d22 100644 --- a/IA.md +++ b/IA.md @@ -370,6 +370,31 @@ filtroAvancado: [ ] ``` +### Botões de Ação da Tabela (`acoesTabela`) + +Além das ações por linha, você pode adicionar botões de ação globais à tabela. + +```ts +acoesTabela: [ + { + rotulo: "Novo Usuário", + icone: Plus, + posicao: "superior", // Ao lado da busca + acao: () => console.log("Criar novo") + }, + { + rotulo: "Exportar Relatório", + icone: Download, + posicao: "inferior", // No rodapé, alinhado à esquerda + acao: () => console.log("Exportar") + } +] +``` + +- **`posicao: 'superior'`**: Exibidos à direita da caixa de busca. +- **`posicao: 'inferior'`**: Exibidos no rodapé da tabela, **alinhados à esquerda** (enquanto a paginação fica à direita). + - **Estilo**: Por padrão, botões inferiores possuem fundo branco, **borda verde** (`outline`) e texto verde. Caso uma `cor` personalizada seja informada, ela será usada para a borda e texto. + ### Processando a Consulta A função `consulta` recebe um objeto com todos os parâmetros necessários para buscar os dados corretamente. diff --git a/biome.json b/biome.json new file mode 100755 index 0000000..e9df644 --- /dev/null +++ b/biome.json @@ -0,0 +1,17 @@ +{ + "$schema": "./node_modules/@biomejs/biome/configuration_schema.json", + "extends": ["./node_modules/p-comuns/Documentos/biome.json"], + "files": { + "includes": ["src/**/*.{js,ts,jsx,tsx,vue}"] + }, + "linter": { + "rules": { + "suspicious": { + "noExplicitAny": "error" + }, + "style": { + "noNonNullAssertion": "error" + } + } + } +} diff --git a/dist/eli-vue.es.js b/dist/eli-vue.es.js index 27ccb64..e5301bf 100644 --- a/dist/eli-vue.es.js +++ b/dist/eli-vue.es.js @@ -1,15 +1,15 @@ -(function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode('@font-face{font-family:Google Sans;font-style:normal;font-weight:100 900;font-display:swap;src:url(https://paiol.idz.one/estaticos/GoogleSans/GoogleSans-VariableFont_GRAD,opsz,wght.ttf) format("truetype")}@font-face{font-family:Google Sans;font-style:italic;font-weight:100 900;font-display:swap;src:url(https://paiol.idz.one/estaticos/GoogleSans/GoogleSans-Italic-VariableFont_GRAD,opsz,wght.ttf) format("truetype")}:root{--eli-font-family: "Google Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;--v-font-family: var(--eli-font-family)}html,body{font-family:var(--eli-font-family)}:where([class^=eli-],[class*=" eli-"]){font-family:var(--eli-font-family);--v-font-family: var(--eli-font-family)}button,input,select,textarea{font-family:inherit}.eli-badge .v-badge__badge,.eli-badge .v-badge__content{border-radius:var(--eli-badge-radius)!important}.eli-cartao{border-radius:12px}.eli-cartao__titulo{display:flex;align-items:center;justify-content:space-between;gap:12px}.eli-cartao__titulo-texto{min-width:0}.eli-cartao__conteudo{padding-top:8px}.eli-cartao__acoes{padding-top:0}.eli-cartao--cancelado{opacity:.85}.eli-tabela__busca{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.eli-tabela__busca-input-wrapper{display:inline-flex;align-items:stretch;border-radius:var(--eli-tabela-cabecalho-controle-radius, 8px);border:1px solid rgba(15,23,42,.15);overflow:hidden;background:#fff;height:var(--eli-tabela-cabecalho-controle-altura, 34px)}.eli-tabela__busca-input{height:100%;padding:0 12px;border:none;outline:none;font-size:.875rem;color:#0f172ad9}.eli-tabela__busca-input::-webkit-search-cancel-button,.eli-tabela__busca-input::-webkit-search-decoration{-webkit-appearance:none}.eli-tabela__busca-input::placeholder{color:#6b7280d9}.eli-tabela__busca-botao{display:inline-flex;align-items:center;justify-content:center;border:none;background:#2563eb1f;color:#2563ebf2;height:100%;padding:0 12px;cursor:pointer;transition:background-color .2s ease,color .2s ease}.eli-tabela__busca-botao-icone{display:block}.eli-tabela__busca-botao:hover,.eli-tabela__busca-botao:focus-visible{background:#2563eb33;color:#2563eb}.eli-tabela__busca-botao:focus-visible{outline:2px solid rgba(37,99,235,.35);outline-offset:2px}.eli-tabela__busca-grupo{display:inline-flex;align-items:center;gap:8px;flex-wrap:wrap}.eli-tabela__texto-truncado{display:inline-block;max-width:260px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;vertical-align:top}.eli-tabela__celula-tags{display:flex;flex-wrap:wrap;gap:6px;align-items:center}.eli-tabela__celula-tag{cursor:default}.eli-tabela__celula-tag-icone{margin-right:6px}.eli-tabela__celula-link{all:unset;display:inline;color:#2563eb;cursor:pointer;text-decoration:underline;text-decoration-color:#2563eb8c;text-underline-offset:2px}.eli-tabela__celula-link:hover{color:#1d4ed8;text-decoration-color:#1d4ed8bf}.eli-tabela__celula-link:focus-visible{outline:2px solid rgba(37,99,235,.45);outline-offset:2px;border-radius:4px}.eli-tabela__paginacao{display:flex;align-items:center;justify-content:flex-end;gap:12px;margin-top:12px;flex-wrap:wrap}.eli-tabela__pagina-botao{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:6px 14px;border-radius:9999px;border:1px solid rgba(15,23,42,.12);background:#fff;font-size:.875rem;font-weight:500;color:#0f172ad1;cursor:pointer;transition:background-color .2s ease,border-color .2s ease,color .2s ease}.eli-tabela__pagina-botao:hover,.eli-tabela__pagina-botao:focus-visible{background-color:#2563eb14;border-color:#2563eb66;color:#2563ebf2}.eli-tabela__pagina-botao:focus-visible{outline:2px solid rgba(37,99,235,.45);outline-offset:2px}.eli-tabela__pagina-botao:disabled{cursor:default;opacity:.5;background:#94a3b814;border-color:#94a3b82e;color:#475569bf}.eli-tabela__pagina-botao--ativo{background:#2563eb1f;border-color:#2563eb66;color:#2563ebf2}.eli-tabela__pagina-ellipsis{display:inline-flex;align-items:center;justify-content:center;width:32px;color:#6b7280d9;font-size:.9rem}.eli-tabela-modal-colunas__overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172a59;z-index:4000;display:flex;align-items:center;justify-content:center;padding:16px}.eli-tabela-modal-colunas__modal{width:min(860px,100%);background:#fff;border-radius:14px;border:1px solid rgba(15,23,42,.1);box-shadow:0 18px 60px #0f172a40;overflow:hidden}.eli-tabela-modal-colunas__header{display:flex;align-items:center;justify-content:space-between;padding:14px 16px;border-bottom:1px solid rgba(15,23,42,.08)}.eli-tabela-modal-colunas__titulo{font-size:1rem;margin:0}.eli-tabela-modal-colunas__fechar{width:34px;height:34px;border-radius:10px;border:none;background:transparent;cursor:pointer;font-size:22px;line-height:1;color:#0f172acc}.eli-tabela-modal-colunas__fechar:hover,.eli-tabela-modal-colunas__fechar:focus-visible{background:#0f172a0f}.eli-tabela-modal-colunas__conteudo{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:16px}.eli-tabela-modal-colunas__coluna-titulo{font-weight:600;margin-bottom:8px}.eli-tabela-modal-colunas__lista{min-height:260px;border:1px solid rgba(15,23,42,.12);border-radius:12px;padding:10px;background:#0f172a03}.eli-tabela-modal-colunas__item{display:flex;align-items:center;gap:10px;padding:10px;border-radius:10px;border:1px solid rgba(15,23,42,.08);background:#fff;cursor:grab;-webkit-user-select:none;user-select:none}.eli-tabela-modal-colunas__item+.eli-tabela-modal-colunas__item{margin-top:8px}.eli-tabela-modal-colunas__item:active{cursor:grabbing}.eli-tabela-modal-colunas__item-handle{color:#0f172a8c;font-size:14px}.eli-tabela-modal-colunas__item-texto{flex:1;min-width:0}.eli-tabela-modal-colunas__footer{display:flex;justify-content:flex-end;gap:8px;padding:14px 16px;border-top:1px solid rgba(15,23,42,.08)}.eli-tabela-modal-colunas__botao{height:34px;padding:0 14px;border-radius:10px;border:1px solid rgba(15,23,42,.12);background:#fff;cursor:pointer;font-size:.9rem}.eli-tabela-modal-colunas__botao--sec:hover,.eli-tabela-modal-colunas__botao--sec:focus-visible{background:#0f172a0f}.eli-tabela-modal-colunas__botao--prim{border:none;background:#2563ebf2;color:#fff}.eli-tabela-modal-colunas__botao--prim:hover,.eli-tabela-modal-colunas__botao--prim:focus-visible{background:#2563eb}@media(max-width:720px){.eli-tabela-modal-colunas__conteudo{grid-template-columns:1fr}}.eli-entrada__prefixo,.eli-entrada__sufixo{opacity:.75;font-size:.9em;white-space:nowrap}.eli-entrada__prefixo{margin-right:6px}.eli-entrada__sufixo{margin-left:6px}.eli-data-hora{width:100%}.eli-tabela-modal-filtro__overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172a59;z-index:4000;display:flex;align-items:center;justify-content:center;padding:16px}.eli-tabela-modal-filtro__modal{width:min(980px,100%);background:#fff;border-radius:14px;border:1px solid rgba(15,23,42,.1);box-shadow:0 18px 60px #0f172a40;overflow:hidden}.eli-tabela-modal-filtro__header{display:flex;align-items:center;justify-content:space-between;padding:14px 16px;border-bottom:1px solid rgba(15,23,42,.08)}.eli-tabela-modal-filtro__titulo{font-size:1rem;margin:0}.eli-tabela-modal-filtro__fechar{width:34px;height:34px;border-radius:10px;border:none;background:transparent;cursor:pointer;font-size:22px;line-height:1;color:#0f172acc}.eli-tabela-modal-filtro__fechar:hover,.eli-tabela-modal-filtro__fechar:focus-visible{background:#0f172a0f}.eli-tabela-modal-filtro__conteudo{padding:16px}.eli-tabela-modal-filtro__vazio{opacity:.75;font-size:.9rem}.eli-tabela-modal-filtro__lista{display:grid;gap:10px}.eli-tabela-modal-filtro__linha{display:grid;grid-template-columns:1fr 34px;gap:10px;align-items:center}.eli-tabela-modal-filtro__select{height:34px;border-radius:10px;border:1px solid rgba(15,23,42,.12);padding:0 10px;background:#fff}.eli-tabela-modal-filtro__entrada{min-width:0}.eli-tabela-modal-filtro__remover{width:34px;height:34px;border-radius:10px;border:1px solid rgba(15,23,42,.12);background:#fff;cursor:pointer;font-size:18px;line-height:1;color:#0f172acc}.eli-tabela-modal-filtro__remover:hover,.eli-tabela-modal-filtro__remover:focus-visible{background:#0f172a0f}.eli-tabela-modal-filtro__acoes{margin-top:12px}.eli-tabela-modal-filtro__footer{display:flex;justify-content:flex-end;gap:8px;padding:14px 16px;border-top:1px solid rgba(15,23,42,.08)}.eli-tabela-modal-filtro__botao{height:34px;padding:0 14px;border-radius:10px;border:1px solid rgba(15,23,42,.12);background:#fff;cursor:pointer;font-size:.9rem}.eli-tabela-modal-filtro__botao:disabled{opacity:.55;cursor:not-allowed}.eli-tabela-modal-filtro__botao--sec:hover,.eli-tabela-modal-filtro__botao--sec:focus-visible{background:#0f172a0f}.eli-tabela-modal-filtro__botao--prim{border:none;background:#2563ebf2;color:#fff}.eli-tabela-modal-filtro__botao--prim:hover,.eli-tabela-modal-filtro__botao--prim:focus-visible{background:#2563eb}@media(max-width:880px){.eli-tabela-modal-filtro__linha{grid-template-columns:1fr}}.eli-tabela{width:100%}.eli-tabela__table{width:100%;border-collapse:separate;border-spacing:0;border:1px solid rgba(0,0,0,.12);border-radius:12px;overflow:visible}.eli-tabela__tbody{overflow:visible}.eli-tabela__tbody .eli-tabela__tr--zebra .eli-tabela__td{background:#0f172a05}.eli-tabela__th,.eli-tabela__td{padding:10px 12px;border-bottom:1px solid rgba(0,0,0,.08);vertical-align:top}.eli-tabela__th{text-align:left;font-weight:600;background:#00000008}.eli-tabela__th--ordenavel{padding:0}.eli-tabela__th--ordenavel .eli-tabela__th-botao{padding:10px 12px}.eli-tabela__th-botao{display:inline-flex;align-items:center;justify-content:flex-start;gap:8px;width:100%;background:transparent;border:none;font:inherit;color:inherit;cursor:pointer;text-align:left;transition:color .2s ease}.eli-tabela__th-botao:hover,.eli-tabela__th-botao:focus-visible{color:#0f172ad9}.eli-tabela__th-botao:focus-visible{outline:2px solid rgba(37,99,235,.45);outline-offset:2px}.eli-tabela__th-botao--ativo{color:#2563ebf2}.eli-tabela__th-texto{flex:1;min-width:0;white-space:nowrap}.eli-tabela__th-icone{flex-shrink:0}.eli-tabela__th-icone--oculto{opacity:0}.eli-tabela__tr:last-child .eli-tabela__td{border-bottom:none}.eli-tabela__td--clicavel{cursor:pointer}.eli-tabela__td--clicavel:hover{background:#00000008}.eli-tabela--erro{border:1px solid rgba(220,53,69,.35);border-radius:12px;padding:12px}.eli-tabela--carregando{border:1px dashed rgba(0,0,0,.25);border-radius:12px;padding:12px;opacity:.8}.eli-tabela__erro-titulo{font-weight:700;margin-bottom:4px}.eli-tabela__erro-mensagem{opacity:.9}.eli-tabela--vazio{border:1px dashed rgba(0,0,0,.25);border-radius:12px;padding:12px;opacity:.8}.eli-tabela__th--acoes{text-align:right;white-space:nowrap}.eli-tabela__td--acoes{white-space:nowrap;overflow:visible}.eli-tabela__acoes-container{display:flex;justify-content:flex-end;position:relative;z-index:1}.eli-tabela__acoes-container--aberto{z-index:200}.eli-tabela__cabecalho{width:100%;box-sizing:border-box;display:flex;align-items:center;justify-content:flex-end;gap:12px;margin-bottom:12px;flex-wrap:wrap;--eli-tabela-cabecalho-controle-altura: 34px;--eli-tabela-cabecalho-controle-radius: 8px}.eli-tabela__acoes-cabecalho{display:inline-flex;gap:8px;flex-wrap:wrap}.eli-tabela__acoes-cabecalho-botao{display:inline-flex;align-items:center;gap:6px;height:var(--eli-tabela-cabecalho-controle-altura);padding:0 14px;border-radius:var(--eli-tabela-cabecalho-controle-radius);border:none;background:#2563eb1f;color:#2563ebf2;font-size:.875rem;font-weight:500;line-height:1;cursor:pointer;transition:background-color .2s ease,color .2s ease}.eli-tabela__acoes-cabecalho-botao:hover,.eli-tabela__acoes-cabecalho-botao:focus-visible{background:#2563eb33}.eli-tabela__acoes-cabecalho-botao:focus-visible{outline:2px solid rgba(37,99,235,.35);outline-offset:2px}.eli-tabela__acoes-cabecalho-icone{display:inline-block}.eli-tabela__acoes-cabecalho-rotulo{line-height:1}.eli-tabela__acoes-toggle{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:9999px;border:none;background:transparent;color:#0f172ab8;cursor:pointer;transition:background-color .2s ease,color .2s ease}.eli-tabela__acoes-toggle-icone{display:block}.eli-tabela__acoes-toggle:hover,.eli-tabela__acoes-toggle:focus-visible{background-color:#0f172a14;color:#0f172af2}.eli-tabela__acoes-toggle:focus-visible{outline:2px solid rgba(37,99,235,.45);outline-offset:2px}.eli-tabela__acoes-toggle:disabled{cursor:default;color:#94a3b8cc;background:transparent}.eli-tabela__acoes-menu{min-width:180px;padding:6px 0;margin:0;list-style:none;background:#fff;border:1px solid rgba(15,23,42,.08);border-radius:10px;box-shadow:0 12px 30px #0f172a2e;z-index:1000}.eli-tabela__acoes-item{margin:0}.eli-tabela__acoes-item-botao{display:flex;align-items:center;gap:8px;width:100%;padding:8px 12px;border:none;background:transparent;font-size:.9rem;cursor:pointer;transition:background-color .2s ease}.eli-tabela__acoes-item-botao:hover,.eli-tabela__acoes-item-botao:focus-visible{background-color:#0f172a0f}.eli-tabela__acoes-item-botao:focus-visible{outline:2px solid currentColor;outline-offset:-2px}.eli-tabela__acoes-item-icone{flex-shrink:0}.eli-tabela__acoes-item-texto{flex:1;text-align:left}.eli-tabela__th--expander,.eli-tabela__td--expander{width:42px;padding:6px 8px;text-align:center;vertical-align:middle}.eli-tabela__expander-botao{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:9999px;border:none;background:transparent;color:#0f172ab8;cursor:pointer;transition:background-color .2s ease,color .2s ease}.eli-tabela__expander-botao:hover,.eli-tabela__expander-botao:focus-visible{background-color:#0f172a14;color:#0f172af2}.eli-tabela__expander-botao:focus-visible{outline:2px solid rgba(37,99,235,.45);outline-offset:2px}.eli-tabela__expander-botao--ativo{background-color:#0f172a0f;color:#0f172af2}.eli-tabela__td--detalhes{padding:12px}.eli-tabela__tr--detalhes .eli-tabela__td{border-bottom:1px solid rgba(0,0,0,.08)}.eli-tabela__detalhes{display:grid;gap:10px;padding-left:4px}.eli-tabela__detalhe{display:grid;grid-template-columns:180px 1fr;gap:10px;align-items:start}.eli-tabela__detalhe-rotulo{font-weight:600;color:#0f172ad9}.eli-tabela__detalhe-valor{min-width:0}@media(max-width:720px){.eli-tabela__detalhe{grid-template-columns:1fr}}')),document.head.appendChild(e)}}catch(a){console.error("vite-plugin-css-injected-by-js",a)}})(); -import { defineComponent as I, createBlock as W, openBlock as c, mergeProps as Ae, withCtx as ae, renderSlot as Be, computed as S, ref as O, resolveComponent as K, createVNode as N, createTextVNode as qe, createElementVNode as v, createCommentVNode as Q, toDisplayString as F, h as je, watch as me, createElementBlock as $, withDirectives as la, withKeys as Aa, vModelText as Sa, Fragment as ue, renderList as pe, normalizeStyle as ze, resolveDynamicComponent as Te, normalizeClass as Me, withModifiers as se, Teleport as ka, createSlots as Da, onMounted as ia, vModelSelect as Ma, onBeforeUnmount as Ba } from "vue"; -import { VBtn as Ta } from "vuetify/components/VBtn"; -import { VBadge as wa } from "vuetify/components/VBadge"; -import { VTextField as He } from "vuetify/components/VTextField"; -import { VCard as sa, VCardTitle as ua, VCardText as ca, VCardActions as da } from "vuetify/components/VCard"; -import { VContainer as Pa } from "vuetify/components/VGrid"; -import { VChip as Oa, VTextarea as Fa, VSelect as Va } from "vuetify/components"; -import { VChip as qa } from "vuetify/components/VChip"; -import { VTextarea as Na } from "vuetify/components/VTextarea"; -import { VSelect as Ia } from "vuetify/components/VSelect"; -const La = I({ +(function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode('@font-face{font-family:Google Sans;font-style:normal;font-weight:100 900;font-display:swap;src:url(https://paiol.idz.one/estaticos/GoogleSans/GoogleSans-VariableFont_GRAD,opsz,wght.ttf) format("truetype")}@font-face{font-family:Google Sans;font-style:italic;font-weight:100 900;font-display:swap;src:url(https://paiol.idz.one/estaticos/GoogleSans/GoogleSans-Italic-VariableFont_GRAD,opsz,wght.ttf) format("truetype")}:root{--eli-font-family: "Google Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;--v-font-family: var(--eli-font-family)}html,body{font-family:var(--eli-font-family)}:where([class^=eli-],[class*=" eli-"]){font-family:var(--eli-font-family);--v-font-family: var(--eli-font-family)}button,input,select,textarea{font-family:inherit}.eli-badge .v-badge__badge,.eli-badge .v-badge__content{border-radius:var(--eli-badge-radius)!important}.eli-cartao{border-radius:12px}.eli-cartao__titulo{display:flex;align-items:center;justify-content:space-between;gap:12px}.eli-cartao__titulo-texto{min-width:0}.eli-cartao__conteudo{padding-top:8px}.eli-cartao__acoes{padding-top:0}.eli-cartao--cancelado{opacity:.85}.eli-data-hora{width:100%}.eli-entrada__prefixo,.eli-entrada__sufixo{opacity:.75;font-size:.9em;white-space:nowrap}.eli-entrada__prefixo{margin-right:6px}.eli-entrada__sufixo{margin-left:6px}.eli-tabela__celula-tags{display:flex;flex-wrap:wrap;gap:6px;align-items:center}.eli-tabela__celula-tag{cursor:default}.eli-tabela__celula-tag-icone{margin-right:6px}.eli-tabela__texto-truncado{display:inline-block;max-width:260px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;vertical-align:top}.eli-tabela__celula-link{all:unset;display:inline;color:#2563eb;cursor:pointer;text-decoration:underline;text-decoration-color:#2563eb8c;text-underline-offset:2px}.eli-tabela__celula-link:hover{color:#1d4ed8;text-decoration-color:#1d4ed8bf}.eli-tabela__celula-link:focus-visible{outline:2px solid rgba(37,99,235,.45);outline-offset:2px;border-radius:4px}.eli-tabela__busca{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.eli-tabela__busca-input-wrapper{display:inline-flex;align-items:stretch;border-radius:var(--eli-tabela-cabecalho-controle-radius, 8px);border:1px solid rgba(15,23,42,.15);overflow:hidden;background:#fff;height:var(--eli-tabela-cabecalho-controle-altura, 34px)}.eli-tabela__busca-input{height:100%;padding:0 12px;border:none;outline:none;font-size:.875rem;color:#0f172ad9}.eli-tabela__busca-input::-webkit-search-cancel-button,.eli-tabela__busca-input::-webkit-search-decoration{-webkit-appearance:none}.eli-tabela__busca-input::placeholder{color:#6b7280d9}.eli-tabela__busca-botao{display:inline-flex;align-items:center;justify-content:center;border:none;background:#2563eb1f;color:#2563ebf2;height:100%;padding:0 12px;cursor:pointer;transition:background-color .2s ease,color .2s ease}.eli-tabela__busca-botao-icone{display:block}.eli-tabela__busca-botao:hover,.eli-tabela__busca-botao:focus-visible{background:#2563eb33;color:#2563eb}.eli-tabela__busca-botao:focus-visible{outline:2px solid rgba(37,99,235,.35);outline-offset:2px}.eli-tabela__busca-grupo{display:inline-flex;align-items:center;gap:8px;flex-wrap:wrap}.eli-tabela-modal-colunas__overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172a59;z-index:4000;display:flex;align-items:center;justify-content:center;padding:16px}.eli-tabela-modal-colunas__modal{width:min(860px,100%);background:#fff;border-radius:14px;border:1px solid rgba(15,23,42,.1);box-shadow:0 18px 60px #0f172a40;overflow:hidden}.eli-tabela-modal-colunas__header{display:flex;align-items:center;justify-content:space-between;padding:14px 16px;border-bottom:1px solid rgba(15,23,42,.08)}.eli-tabela-modal-colunas__titulo{font-size:1rem;margin:0}.eli-tabela-modal-colunas__fechar{width:34px;height:34px;border-radius:10px;border:none;background:transparent;cursor:pointer;font-size:22px;line-height:1;color:#0f172acc}.eli-tabela-modal-colunas__fechar:hover,.eli-tabela-modal-colunas__fechar:focus-visible{background:#0f172a0f}.eli-tabela-modal-colunas__conteudo{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:16px}.eli-tabela-modal-colunas__coluna-titulo{font-weight:600;margin-bottom:8px}.eli-tabela-modal-colunas__lista{min-height:260px;border:1px solid rgba(15,23,42,.12);border-radius:12px;padding:10px;background:#0f172a03}.eli-tabela-modal-colunas__item{display:flex;align-items:center;gap:10px;padding:10px;border-radius:10px;border:1px solid rgba(15,23,42,.08);background:#fff;cursor:grab;-webkit-user-select:none;user-select:none}.eli-tabela-modal-colunas__item+.eli-tabela-modal-colunas__item{margin-top:8px}.eli-tabela-modal-colunas__item:active{cursor:grabbing}.eli-tabela-modal-colunas__item-handle{color:#0f172a8c;font-size:14px}.eli-tabela-modal-colunas__item-texto{flex:1;min-width:0}.eli-tabela-modal-colunas__footer{display:flex;justify-content:flex-end;gap:8px;padding:14px 16px;border-top:1px solid rgba(15,23,42,.08)}.eli-tabela-modal-colunas__botao{height:34px;padding:0 14px;border-radius:10px;border:1px solid rgba(15,23,42,.12);background:#fff;cursor:pointer;font-size:.9rem}.eli-tabela-modal-colunas__botao--sec:hover,.eli-tabela-modal-colunas__botao--sec:focus-visible{background:#0f172a0f}.eli-tabela-modal-colunas__botao--prim{border:none;background:#2563ebf2;color:#fff}.eli-tabela-modal-colunas__botao--prim:hover,.eli-tabela-modal-colunas__botao--prim:focus-visible{background:#2563eb}@media(max-width:720px){.eli-tabela-modal-colunas__conteudo{grid-template-columns:1fr}}.eli-tabela-modal-filtro__overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172a59;z-index:4000;display:flex;align-items:center;justify-content:center;padding:16px}.eli-tabela-modal-filtro__modal{width:min(980px,100%);background:#fff;border-radius:14px;border:1px solid rgba(15,23,42,.1);box-shadow:0 18px 60px #0f172a40;overflow:hidden}.eli-tabela-modal-filtro__header{display:flex;align-items:center;justify-content:space-between;padding:14px 16px;border-bottom:1px solid rgba(15,23,42,.08)}.eli-tabela-modal-filtro__titulo{font-size:1rem;margin:0}.eli-tabela-modal-filtro__fechar{width:34px;height:34px;border-radius:10px;border:none;background:transparent;cursor:pointer;font-size:22px;line-height:1;color:#0f172acc}.eli-tabela-modal-filtro__fechar:hover,.eli-tabela-modal-filtro__fechar:focus-visible{background:#0f172a0f}.eli-tabela-modal-filtro__conteudo{padding:16px}.eli-tabela-modal-filtro__vazio{opacity:.75;font-size:.9rem}.eli-tabela-modal-filtro__lista{display:grid;gap:10px}.eli-tabela-modal-filtro__linha{display:grid;grid-template-columns:1fr 34px;gap:10px;align-items:center}.eli-tabela-modal-filtro__select{height:34px;border-radius:10px;border:1px solid rgba(15,23,42,.12);padding:0 10px;background:#fff}.eli-tabela-modal-filtro__entrada{min-width:0}.eli-tabela-modal-filtro__remover{width:34px;height:34px;border-radius:10px;border:1px solid rgba(15,23,42,.12);background:#fff;cursor:pointer;font-size:18px;line-height:1;color:#0f172acc}.eli-tabela-modal-filtro__remover:hover,.eli-tabela-modal-filtro__remover:focus-visible{background:#0f172a0f}.eli-tabela-modal-filtro__acoes{margin-top:12px}.eli-tabela-modal-filtro__footer{display:flex;justify-content:flex-end;gap:8px;padding:14px 16px;border-top:1px solid rgba(15,23,42,.08)}.eli-tabela-modal-filtro__botao{height:34px;padding:0 14px;border-radius:10px;border:1px solid rgba(15,23,42,.12);background:#fff;cursor:pointer;font-size:.9rem}.eli-tabela-modal-filtro__botao:disabled{opacity:.55;cursor:not-allowed}.eli-tabela-modal-filtro__botao--sec:hover,.eli-tabela-modal-filtro__botao--sec:focus-visible{background:#0f172a0f}.eli-tabela-modal-filtro__botao--prim{border:none;background:#2563ebf2;color:#fff}.eli-tabela-modal-filtro__botao--prim:hover,.eli-tabela-modal-filtro__botao--prim:focus-visible{background:#2563eb}@media(max-width:880px){.eli-tabela-modal-filtro__linha{grid-template-columns:1fr}}.eli-tabela__paginacao{display:flex;align-items:center;justify-content:flex-end;gap:12px;margin-top:12px;flex-wrap:wrap}.eli-tabela__pagina-botao{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:6px 14px;border-radius:9999px;border:1px solid rgba(15,23,42,.12);background:#fff;font-size:.875rem;font-weight:500;color:#0f172ad1;cursor:pointer;transition:background-color .2s ease,border-color .2s ease,color .2s ease}.eli-tabela__pagina-botao:hover,.eli-tabela__pagina-botao:focus-visible{background-color:#2563eb14;border-color:#2563eb66;color:#2563ebf2}.eli-tabela__pagina-botao:focus-visible{outline:2px solid rgba(37,99,235,.45);outline-offset:2px}.eli-tabela__pagina-botao:disabled{cursor:default;opacity:.5;background:#94a3b814;border-color:#94a3b82e;color:#475569bf}.eli-tabela__pagina-botao--ativo{background:#2563eb1f;border-color:#2563eb66;color:#2563ebf2}.eli-tabela__pagina-ellipsis{display:inline-flex;align-items:center;justify-content:center;width:32px;color:#6b7280d9;font-size:.9rem}.eli-tabela__acao-inferior{display:inline-flex;align-items:center;gap:6px;height:34px;padding:0 14px;border-radius:8px;border:1px solid #16a34a;background:#fff;color:#16a34a;font-size:.875rem;font-weight:500;line-height:1;cursor:pointer;transition:background-color .2s ease,color .2s ease}.eli-tabela__acao-inferior:hover,.eli-tabela__acao-inferior:focus-visible{background-color:#f0fdf4}.eli-tabela__acao-inferior:focus-visible{outline:2px solid #16a34a;outline-offset:2px}.eli-tabela{width:100%}.eli-tabela__table{width:100%;border-collapse:separate;border-spacing:0;border:1px solid rgba(0,0,0,.12);border-radius:12px;overflow:visible}.eli-tabela__tbody{overflow:visible}.eli-tabela__tbody .eli-tabela__tr--zebra .eli-tabela__td{background:#0f172a05}.eli-tabela__th,.eli-tabela__td{padding:10px 12px;border-bottom:1px solid rgba(0,0,0,.08);vertical-align:top}.eli-tabela__th{text-align:left;font-weight:600;background:#00000008}.eli-tabela__th--ordenavel{padding:0}.eli-tabela__th--ordenavel .eli-tabela__th-botao{padding:10px 12px}.eli-tabela__th-botao{display:inline-flex;align-items:center;justify-content:flex-start;gap:8px;width:100%;background:transparent;border:none;font:inherit;color:inherit;cursor:pointer;text-align:left;transition:color .2s ease}.eli-tabela__th-botao:hover,.eli-tabela__th-botao:focus-visible{color:#0f172ad9}.eli-tabela__th-botao:focus-visible{outline:2px solid rgba(37,99,235,.45);outline-offset:2px}.eli-tabela__th-botao--ativo{color:#2563ebf2}.eli-tabela__th-texto{flex:1;min-width:0;white-space:nowrap}.eli-tabela__th-icone{flex-shrink:0}.eli-tabela__th-icone--oculto{opacity:0}.eli-tabela__tr:last-child .eli-tabela__td{border-bottom:none}.eli-tabela__td--clicavel{cursor:pointer}.eli-tabela__td--clicavel:hover{background:#00000008}.eli-tabela--erro{border:1px solid rgba(220,53,69,.35);border-radius:12px;padding:12px}.eli-tabela--carregando{border:1px dashed rgba(0,0,0,.25);border-radius:12px;padding:12px;opacity:.8}.eli-tabela__erro-titulo{font-weight:700;margin-bottom:4px}.eli-tabela__erro-mensagem{opacity:.9}.eli-tabela--vazio{border:1px dashed rgba(0,0,0,.25);border-radius:12px;padding:12px;opacity:.8}.eli-tabela__th--acoes{text-align:right;white-space:nowrap}.eli-tabela__td--acoes{white-space:nowrap;overflow:visible}.eli-tabela__acoes-container{display:flex;justify-content:flex-end;position:relative;z-index:1}.eli-tabela__acoes-container--aberto{z-index:200}.eli-tabela__rodape{display:flex;align-items:center;justify-content:flex-end;gap:12px;margin-top:12px;flex-wrap:wrap}.eli-tabela__paginacao{display:flex;align-items:center;justify-content:flex-end;gap:12px;margin-top:0;flex-wrap:wrap}.eli-tabela__acoes-inferiores{display:inline-flex;gap:8px;align-items:center;flex-wrap:wrap}.eli-tabela__cabecalho{width:100%;box-sizing:border-box;display:flex;align-items:center;justify-content:flex-end;gap:12px;margin-bottom:12px;flex-wrap:wrap;--eli-tabela-cabecalho-controle-altura: 34px;--eli-tabela-cabecalho-controle-radius: 8px}.eli-tabela__acoes-cabecalho{display:inline-flex;gap:8px;flex-wrap:wrap}.eli-tabela__acoes-cabecalho-botao{display:inline-flex;align-items:center;gap:6px;height:var(--eli-tabela-cabecalho-controle-altura);padding:0 14px;border-radius:var(--eli-tabela-cabecalho-controle-radius);border:none;background:#2563eb1f;color:#2563ebf2;font-size:.875rem;font-weight:500;line-height:1;cursor:pointer;transition:background-color .2s ease,color .2s ease}.eli-tabela__acoes-cabecalho-botao:hover,.eli-tabela__acoes-cabecalho-botao:focus-visible{background:#2563eb33}.eli-tabela__acoes-cabecalho-botao:focus-visible{outline:2px solid rgba(37,99,235,.35);outline-offset:2px}.eli-tabela__acoes-cabecalho-icone{display:inline-block}.eli-tabela__acoes-cabecalho-rotulo{line-height:1}.eli-tabela__acoes-toggle{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:9999px;border:none;background:transparent;color:#0f172ab8;cursor:pointer;transition:background-color .2s ease,color .2s ease}.eli-tabela__acoes-toggle-icone{display:block}.eli-tabela__acoes-toggle:hover,.eli-tabela__acoes-toggle:focus-visible{background-color:#0f172a14;color:#0f172af2}.eli-tabela__acoes-toggle:focus-visible{outline:2px solid rgba(37,99,235,.45);outline-offset:2px}.eli-tabela__acoes-toggle:disabled{cursor:default;color:#94a3b8cc;background:transparent}.eli-tabela__acoes-menu{min-width:180px;padding:6px 0;margin:0;list-style:none;background:#fff;border:1px solid rgba(15,23,42,.08);border-radius:10px;box-shadow:0 12px 30px #0f172a2e;z-index:1000}.eli-tabela__acoes-item{margin:0}.eli-tabela__acoes-item-botao{display:flex;align-items:center;gap:8px;width:100%;padding:8px 12px;border:none;background:transparent;font-size:.9rem;cursor:pointer;transition:background-color .2s ease}.eli-tabela__acoes-item-botao:hover,.eli-tabela__acoes-item-botao:focus-visible{background-color:#0f172a0f}.eli-tabela__acoes-item-botao:focus-visible{outline:2px solid currentColor;outline-offset:-2px}.eli-tabela__acoes-item-icone{flex-shrink:0}.eli-tabela__acoes-item-texto{flex:1;text-align:left}.eli-tabela__th--expander,.eli-tabela__td--expander{width:42px;padding:6px 8px;text-align:center;vertical-align:middle}.eli-tabela__expander-botao{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:9999px;border:none;background:transparent;color:#0f172ab8;cursor:pointer;transition:background-color .2s ease,color .2s ease}.eli-tabela__expander-botao:hover,.eli-tabela__expander-botao:focus-visible{background-color:#0f172a14;color:#0f172af2}.eli-tabela__expander-botao:focus-visible{outline:2px solid rgba(37,99,235,.45);outline-offset:2px}.eli-tabela__expander-botao--ativo{background-color:#0f172a0f;color:#0f172af2}.eli-tabela__td--detalhes{padding:12px}.eli-tabela__tr--detalhes .eli-tabela__td{border-bottom:1px solid rgba(0,0,0,.08)}.eli-tabela__detalhes{display:grid;gap:10px;padding-left:4px}.eli-tabela__detalhe{display:grid;grid-template-columns:180px 1fr;gap:10px;align-items:start}.eli-tabela__detalhe-rotulo{font-weight:600;color:#0f172ad9}.eli-tabela__detalhe-valor{min-width:0}@media(max-width:720px){.eli-tabela__detalhe{grid-template-columns:1fr}}')),document.head.appendChild(e)}}catch(a){console.error("vite-plugin-css-injected-by-js",a)}})(); +import { defineComponent as ie, openBlock as S, createBlock as fe, mergeProps as ot, withCtx as ye, renderSlot as st, computed as N, resolveComponent as $e, createVNode as re, createElementVNode as D, createTextVNode as pn, toDisplayString as G, createCommentVNode as pe, createElementBlock as j, ref as H, watch as Re, createSlots as Zf, onMounted as ya, h as Dr, withModifiers as je, Fragment as De, renderList as Ee, resolveDynamicComponent as at, normalizeClass as lt, withDirectives as ka, withKeys as Cf, vModelText as Mf, normalizeStyle as zn, Teleport as Ff, vModelSelect as Lf, onBeforeUnmount as Rf } from "vue"; +import { VBtn as Bf } from "vuetify/components/VBtn"; +import { VBadge as Jf } from "vuetify/components/VBadge"; +import { VCard as Sa, VCardTitle as Ia, VCardText as wa, VCardActions as za } from "vuetify/components/VCard"; +import { VTextField as Nr } from "vuetify/components/VTextField"; +import { VTextarea as Vf, VSelect as qf, VChip as Yf } from "vuetify/components"; +import { VTextarea as Kf } from "vuetify/components/VTextarea"; +import { VSelect as Wf } from "vuetify/components/VSelect"; +import { VChip as Gf } from "vuetify/components/VChip"; +import { VContainer as Hf } from "vuetify/components/VGrid"; +const Xf = ie({ name: "EliBotao", inheritAttrs: !1, props: { @@ -34,30 +34,30 @@ const La = I({ default: !1 } } -}), L = (e, a) => { - const o = e.__vccOpts || e; - for (const [r, i] of a) - o[r] = i; - return o; +}), oe = (e, n) => { + const r = e.__vccOpts || e; + for (const [o, t] of n) + r[o] = t; + return r; }; -function ja(e, a, o, r, i, f) { - return c(), W(Ta, Ae({ +function Qf(e, n, r, o, t, i) { + return S(), fe(Bf, ot({ color: e.color, variant: e.variant, size: e.size, disabled: e.disabled, loading: e.loading }, e.$attrs, { class: "eli-botao text-none pt-1" }), { - default: ae(() => [ - Be(e.$slots, "default") + default: ye(() => [ + st(e.$slots, "default") ]), _: 3 }, 16, ["color", "variant", "size", "disabled", "loading"]); } -const fa = /* @__PURE__ */ L(La, [["render", ja]]), We = { +const xa = /* @__PURE__ */ oe(Xf, [["render", Qf]]), Ao = { suave: "4px", pill: "10px" -}, za = I({ +}, em = ie({ name: "EliBadge", inheritAttrs: !1, props: { @@ -96,14 +96,14 @@ const fa = /* @__PURE__ */ L(La, [["render", ja]]), We = { } }, setup(e) { - const a = S(() => e.radius in We ? We[e.radius] : e.radius), o = S(() => e.dot || e.badge !== void 0 ? e.visible : !1), r = S(() => ({ - "--eli-badge-radius": a.value + const n = N(() => e.radius in Ao ? Ao[e.radius] : e.radius), r = N(() => e.dot || e.badge !== void 0 ? e.visible : !1), o = N(() => ({ + "--eli-badge-radius": n.value })); - return { showBadge: o, badgeStyle: r }; + return { showBadge: r, badgeStyle: o }; } }); -function Ha(e, a, o, r, i, f) { - return e.showBadge ? (c(), W(wa, Ae({ +function tm(e, n, r, o, t, i) { + return e.showBadge ? (S(), fe(Jf, ot({ key: 0, color: e.color }, e.$attrs, { @@ -115,206 +115,15 @@ function Ha(e, a, o, r, i, f) { style: e.badgeStyle, class: "eli-badge" }), { - default: ae(() => [ - Be(e.$slots, "default") + default: ye(() => [ + st(e.$slots, "default") ]), _: 3 - }, 16, ["color", "location", "offset-x", "offset-y", "dot", "content", "style"])) : Be(e.$slots, "default", { key: 1 }); + }, 16, ["color", "location", "offset-x", "offset-y", "dot", "content", "style"])) : st(e.$slots, "default", { key: 1 }); } -const Ue = /* @__PURE__ */ L(za, [["render", Ha]]); -function Ua(e) { - return e.replace(/\D+/g, ""); -} -function Ya(e) { - const a = Ua(e); - return a.length <= 11 ? a.replace(/(\d{3})(\d)/, "$1.$2").replace(/(\d{3})(\d)/, "$1.$2").replace(/(\d{3})(\d{1,2})$/, "$1-$2").slice(0, 14) : a.replace(/^(\d{2})(\d)/, "$1.$2").replace(/^(\d{2})\.(\d{3})(\d)/, "$1.$2.$3").replace(/\.(\d{3})(\d)/, ".$1/$2").replace(/(\d{4})(\d)/, "$1-$2").slice(0, 18); -} -function Ra(e) { - return e.replace(/\D+/g, ""); -} -function Ja(e) { - const a = Ra(e); - return a ? a.length <= 10 ? a.replace(/^(\d{2})(\d)/, "($1) $2").replace(/(\d{4})(\d)/, "$1-$2").slice(0, 14) : a.replace(/^(\d{2})(\d)/, "($1) $2").replace(/(\d{5})(\d)/, "$1-$2").slice(0, 15) : ""; -} -function Wa(e) { - return e.replace(/\D+/g, ""); -} -function Za(e) { - const a = Wa(e); - return a ? a.replace(/^(\d{5})(\d)/, "$1-$2").slice(0, 9) : ""; -} -const Xa = I({ - name: "EliEntradaTexto", - inheritAttrs: !1, - props: { - /** Interface padrão (EliEntrada): value + opcoes. */ - value: { - type: [String, null], - default: void 0 - }, - opcoes: { - type: Object, - required: !0 - } - }, - emits: { - "update:value": (e) => !0, - /** Compat Vue2 (v-model padrão: value + input) */ - input: (e) => !0, - change: (e) => !0, - focus: () => !0, - blur: () => !0 - }, - setup(e, { attrs: a, emit: o }) { - const r = S(() => { - var l; - return ((l = e.opcoes) == null ? void 0 : l.formato) ?? "texto"; - }), i = S({ - get: () => e.value, - set: (l) => { - o("update:value", l), o("input", l), o("change", l); - } - }), f = S(() => r.value === "email" ? "email" : r.value === "url" ? "url" : "text"), t = S(() => { - if (r.value === "telefone") return "tel"; - if (r.value === "cpfCnpj" || r.value === "cep") return "numeric"; - }); - function n(l) { - switch (r.value) { - case "telefone": - return Ja(l); - case "cpfCnpj": - return Ya(l); - case "cep": - return Za(l); - default: - return l; - } - } - function d(l) { - const u = l.target, b = n(u.value); - u.value = b, i.value = b; - } - return { attrs: a, emit: o, localValue: i, inputHtmlType: f, inputMode: t, onInput: d }; - } -}); -function Ga(e, a, o, r, i, f) { - var t, n, d, l; - return c(), W(He, Ae({ - modelValue: e.localValue, - "onUpdate:modelValue": a[0] || (a[0] = (u) => e.localValue = u), - type: e.inputHtmlType, - inputmode: e.inputMode, - label: (t = e.opcoes) == null ? void 0 : t.rotulo, - placeholder: (n = e.opcoes) == null ? void 0 : n.placeholder, - counter: (d = e.opcoes) == null ? void 0 : d.limiteCaracteres, - maxlength: (l = e.opcoes) == null ? void 0 : l.limiteCaracteres - }, e.attrs, { - onFocus: a[1] || (a[1] = () => e.emit("focus")), - onBlur: a[2] || (a[2] = () => e.emit("blur")), - onInput: e.onInput - }), null, 16, ["modelValue", "type", "inputmode", "label", "placeholder", "counter", "maxlength", "onInput"]); -} -const Ye = /* @__PURE__ */ L(Xa, [["render", Ga]]), Ka = I({ - name: "EliOlaMundo", - components: { - EliBotao: fa, - EliBadge: Ue, - EliEntradaTexto: Ye - }, - setup() { - const e = O(""), a = O(""), o = O(""), r = O(""), i = O(""); - return { - nome: e, - email: r, - documento: i, - telefone: o, - cep: a - }; - } -}), Qa = { class: "grid-example" }; -function xa(e, a, o, r, i, f) { - const t = K("EliBadge"), n = K("EliEntradaTexto"), d = K("EliBotao"); - return c(), W(Pa, null, { - default: ae(() => [ - N(sa, { - class: "mx-auto", - max_width: "400" - }, { - default: ae(() => [ - N(ua, null, { - default: ae(() => [ - N(t, { - badge: "Novo", - "offset-x": "-15", - location: "right center" - }, { - default: ae(() => [...a[5] || (a[5] = [ - qe(" Olá Mundo! ", -1) - ])]), - _: 1 - }) - ]), - _: 1 - }), - N(ca, null, { - default: ae(() => [ - a[6] || (a[6] = qe(" Este é um componente de exemplo integrado com Vuetify. ", -1)), - v("div", Qa, [ - N(n, { - value: e.nome, - "onUpdate:value": a[0] || (a[0] = (l) => e.nome = l), - opcoes: { rotulo: "Nome", placeholder: "Digite o nome" }, - density: "compact" - }, null, 8, ["value"]), - N(n, { - value: e.telefone, - "onUpdate:value": a[1] || (a[1] = (l) => e.telefone = l), - opcoes: { rotulo: "Telefone", formato: "telefone" } - }, null, 8, ["value"]), - N(n, { - value: e.cep, - "onUpdate:value": a[2] || (a[2] = (l) => e.cep = l), - opcoes: { rotulo: "CEP", placeholder: "00000-000", formato: "cep" } - }, null, 8, ["value"]), - N(n, { - value: e.documento, - "onUpdate:value": a[3] || (a[3] = (l) => e.documento = l), - opcoes: { rotulo: "CPF / CNPJ", formato: "cpfCnpj" } - }, null, 8, ["value"]), - N(n, { - value: e.email, - "onUpdate:value": a[4] || (a[4] = (l) => e.email = l), - opcoes: { rotulo: "Email", placeholder: "email@exemplo.com", formato: "email" } - }, null, 8, ["value"]) - ]) - ]), - _: 1 - }), - N(da, null, { - default: ae(() => [ - N(d, { - color: "primary", - variant: "elevated", - block: "" - }, { - default: ae(() => [...a[7] || (a[7] = [ - qe(" Botão Vuetify ", -1) - ])]), - _: 1 - }) - ]), - _: 1 - }) - ]), - _: 1 - }) - ]), - _: 1 - }); -} -const et = /* @__PURE__ */ L(Ka, [["render", xa]]), at = I({ +const Ar = /* @__PURE__ */ oe(em, [["render", tm]]), nm = ie({ name: "EliCartao", - components: { EliBadge: Ue }, + components: { EliBadge: Ar }, inheritAttrs: !1, props: { /** Título de fallback caso o slot `titulo` não seja usado. */ @@ -340,8 +149,8 @@ const et = /* @__PURE__ */ L(Ka, [["render", xa]]), at = I({ /** Emit opcional para padronizar clique no cartão. */ clicar: (e) => !0 }, - setup(e, { emit: a }) { - const o = S(() => e.status), r = S(() => { + setup(e, { emit: n }) { + const r = N(() => e.status), o = N(() => { switch (e.status) { case "novo": return "primary"; @@ -352,40 +161,40 @@ const et = /* @__PURE__ */ L(Ka, [["render", xa]]), at = I({ case "cancelado": return "error"; } - }), i = S(() => `eli-cartao--${e.status}`); - function f() { - a("clicar", e.status); + }), t = N(() => `eli-cartao--${e.status}`); + function i() { + n("clicar", e.status); } return { - rotuloStatus: o, - corStatus: r, - classeStatus: i, - onClick: f + rotuloStatus: r, + corStatus: o, + classeStatus: t, + onClick: i }; } -}), tt = { class: "eli-cartao__titulo-texto" }, ot = { class: "eli-cartao__status" }; -function nt(e, a, o, r, i, f) { - const t = K("EliBadge"); - return c(), W(sa, Ae({ +}), rm = { class: "eli-cartao__titulo-texto" }, im = { class: "eli-cartao__status" }; +function om(e, n, r, o, t, i) { + const a = $e("EliBadge"); + return S(), fe(Sa, ot({ class: ["eli-cartao", e.classeStatus], variant: e.variant }, e.$attrs), { - default: ae(() => [ - N(ua, { class: "eli-cartao__titulo" }, { - default: ae(() => [ - v("div", tt, [ - Be(e.$slots, "titulo", {}, () => [ - qe(F(e.titulo), 1) + default: ye(() => [ + re(Ia, { class: "eli-cartao__titulo" }, { + default: ye(() => [ + D("div", rm, [ + st(e.$slots, "titulo", {}, () => [ + pn(G(e.titulo), 1) ]) ]), - v("div", ot, [ - N(t, { + D("div", im, [ + re(a, { badge: e.rotuloStatus, radius: "pill", color: e.corStatus }, { - default: ae(() => [...a[0] || (a[0] = [ - v("span", null, null, -1) + default: ye(() => [...n[0] || (n[0] = [ + D("span", null, null, -1) ])]), _: 1 }, 8, ["badge", "color"]) @@ -393,36 +202,11543 @@ function nt(e, a, o, r, i, f) { ]), _: 3 }), - N(ca, { class: "eli-cartao__conteudo" }, { - default: ae(() => [ - Be(e.$slots, "default") + re(wa, { class: "eli-cartao__conteudo" }, { + default: ye(() => [ + st(e.$slots, "default") ]), _: 3 }), - e.$slots.acoes ? (c(), W(da, { + e.$slots.acoes ? (S(), fe(za, { key: 0, class: "eli-cartao__acoes" }, { - default: ae(() => [ - Be(e.$slots, "acoes") + default: ye(() => [ + st(e.$slots, "acoes") ]), _: 3 - })) : Q("", !0) + })) : pe("", !0) ]), _: 3 }, 16, ["variant", "class"]); } -const rt = /* @__PURE__ */ L(at, [["render", nt]]); -var pa = ((e) => (e[e.sucesso = 200] = "sucesso", e[e.erroConhecido = 400] = "erroConhecido", e[e.erroPermissao = 401] = "erroPermissao", e[e.erroNaoEncontrado = 404] = "erroNaoEncontrado", e[e.erroDesconhecido = 500] = "erroDesconhecido", e[e.tempoEsgotado = 504] = "tempoEsgotado", e))(pa || {}); +const am = /* @__PURE__ */ oe(nm, [["render", om]]), Da = Object.freeze({ + status: "aborted" +}); +function v(e, n, r) { + function o(u, c) { + if (u._zod || Object.defineProperty(u, "_zod", { + value: { + def: c, + constr: a, + traits: /* @__PURE__ */ new Set() + }, + enumerable: !1 + }), u._zod.traits.has(e)) + return; + u._zod.traits.add(e), n(u, c); + const l = a.prototype, s = Object.keys(l); + for (let d = 0; d < s.length; d++) { + const m = s[d]; + m in u || (u[m] = l[m].bind(u)); + } + } + const t = (r == null ? void 0 : r.Parent) ?? Object; + class i extends t { + } + Object.defineProperty(i, "name", { value: e }); + function a(u) { + var c; + const l = r != null && r.Parent ? new i() : this; + o(l, u), (c = l._zod).deferred ?? (c.deferred = []); + for (const s of l._zod.deferred) + s(); + return l; + } + return Object.defineProperty(a, "init", { value: o }), Object.defineProperty(a, Symbol.hasInstance, { + value: (u) => { + var c, l; + return r != null && r.Parent && u instanceof r.Parent ? !0 : (l = (c = u == null ? void 0 : u._zod) == null ? void 0 : c.traits) == null ? void 0 : l.has(e); + } + }), Object.defineProperty(a, "name", { value: e }), a; +} +const Oa = Symbol("zod_brand"); +class dt extends Error { + constructor() { + super("Encountered Promise during synchronous parse. Use .parseAsync() instead."); + } +} +class Nn extends Error { + constructor(n) { + super(`Encountered unidirectional transform during encode: ${n}`), this.name = "ZodEncodeError"; + } +} +const xn = {}; +function Ie(e) { + return e && Object.assign(xn, e), xn; +} +function um(e) { + return e; +} +function lm(e) { + return e; +} +function cm(e) { +} +function sm(e) { + throw new Error("Unexpected value in exhaustive check"); +} +function dm(e) { +} +function Zr(e) { + const n = Object.values(e).filter((o) => typeof o == "number"); + return Object.entries(e).filter(([o, t]) => n.indexOf(+o) === -1).map(([o, t]) => t); +} +function k(e, n = "|") { + return e.map((r) => M(r)).join(n); +} +function Dn(e, n) { + return typeof n == "bigint" ? n.toString() : n; +} +function Ft(e) { + return { + get value() { + { + const n = e(); + return Object.defineProperty(this, "value", { value: n }), n; + } + } + }; +} +function pt(e) { + return e == null; +} +function An(e) { + const n = e.startsWith("^") ? 1 : 0, r = e.endsWith("$") ? e.length - 1 : e.length; + return e.slice(n, r); +} +function ja(e, n) { + const r = (e.toString().split(".")[1] || "").length, o = n.toString(); + let t = (o.split(".")[1] || "").length; + if (t === 0 && /\d?e-\d?/.test(o)) { + const c = o.match(/\d?e-(\d?)/); + c != null && c[1] && (t = Number.parseInt(c[1])); + } + const i = r > t ? r : t, a = Number.parseInt(e.toFixed(i).replace(".", "")), u = Number.parseInt(n.toFixed(i).replace(".", "")); + return a % u / 10 ** i; +} +const Zo = Symbol("evaluating"); +function K(e, n, r) { + let o; + Object.defineProperty(e, n, { + get() { + if (o !== Zo) + return o === void 0 && (o = Zo, o = r()), o; + }, + set(t) { + Object.defineProperty(e, n, { + value: t + // configurable: true, + }); + }, + configurable: !0 + }); +} +function fm(e) { + return Object.create(Object.getPrototypeOf(e), Object.getOwnPropertyDescriptors(e)); +} +function ut(e, n, r) { + Object.defineProperty(e, n, { + value: r, + writable: !0, + enumerable: !0, + configurable: !0 + }); +} +function Ye(...e) { + const n = {}; + for (const r of e) { + const o = Object.getOwnPropertyDescriptors(r); + Object.assign(n, o); + } + return Object.defineProperties({}, n); +} +function mm(e) { + return Ye(e._zod.def); +} +function vm(e, n) { + return n ? n.reduce((r, o) => r == null ? void 0 : r[o], e) : e; +} +function pm(e) { + const n = Object.keys(e), r = n.map((o) => e[o]); + return Promise.all(r).then((o) => { + const t = {}; + for (let i = 0; i < n.length; i++) + t[n[i]] = o[i]; + return t; + }); +} +function gm(e = 10) { + const n = "abcdefghijklmnopqrstuvwxyz"; + let r = ""; + for (let o = 0; o < e; o++) + r += n[Math.floor(Math.random() * n.length)]; + return r; +} +function Or(e) { + return JSON.stringify(e); +} +function Ua(e) { + return e.toLowerCase().trim().replace(/[^\w\s-]/g, "").replace(/[\s_-]+/g, "-").replace(/^-+|-+$/g, ""); +} +const Cr = "captureStackTrace" in Error ? Error.captureStackTrace : (...e) => { +}; +function bt(e) { + return typeof e == "object" && e !== null && !Array.isArray(e); +} +const Ta = Ft(() => { + var e; + if (typeof navigator < "u" && ((e = navigator == null ? void 0 : navigator.userAgent) != null && e.includes("Cloudflare"))) + return !1; + try { + const n = Function; + return new n(""), !0; + } catch { + return !1; + } +}); +function ft(e) { + if (bt(e) === !1) + return !1; + const n = e.constructor; + if (n === void 0 || typeof n != "function") + return !0; + const r = n.prototype; + return !(bt(r) === !1 || Object.prototype.hasOwnProperty.call(r, "isPrototypeOf") === !1); +} +function Zn(e) { + return ft(e) ? { ...e } : Array.isArray(e) ? [...e] : e; +} +function hm(e) { + let n = 0; + for (const r in e) + Object.prototype.hasOwnProperty.call(e, r) && n++; + return n; +} +const $m = (e) => { + const n = typeof e; + switch (n) { + case "undefined": + return "undefined"; + case "string": + return "string"; + case "number": + return Number.isNaN(e) ? "nan" : "number"; + case "boolean": + return "boolean"; + case "function": + return "function"; + case "bigint": + return "bigint"; + case "symbol": + return "symbol"; + case "object": + return Array.isArray(e) ? "array" : e === null ? "null" : e.then && typeof e.then == "function" && e.catch && typeof e.catch == "function" ? "promise" : typeof Map < "u" && e instanceof Map ? "map" : typeof Set < "u" && e instanceof Set ? "set" : typeof Date < "u" && e instanceof Date ? "date" : typeof File < "u" && e instanceof File ? "file" : "object"; + default: + throw new Error(`Unknown data type: ${n}`); + } +}, On = /* @__PURE__ */ new Set(["string", "number", "symbol"]), Ea = /* @__PURE__ */ new Set(["string", "number", "bigint", "boolean", "symbol", "undefined"]); +function Ge(e) { + return e.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"); +} +function Me(e, n, r) { + const o = new e._zod.constr(n ?? e._zod.def); + return (!n || r != null && r.parent) && (o._zod.parent = e), o; +} +function $(e) { + const n = e; + if (!n) + return {}; + if (typeof n == "string") + return { error: () => n }; + if ((n == null ? void 0 : n.message) !== void 0) { + if ((n == null ? void 0 : n.error) !== void 0) + throw new Error("Cannot specify both `message` and `error` params"); + n.error = n.message; + } + return delete n.message, typeof n.error == "string" ? { ...n, error: () => n.error } : n; +} +function bm(e) { + let n; + return new Proxy({}, { + get(r, o, t) { + return n ?? (n = e()), Reflect.get(n, o, t); + }, + set(r, o, t, i) { + return n ?? (n = e()), Reflect.set(n, o, t, i); + }, + has(r, o) { + return n ?? (n = e()), Reflect.has(n, o); + }, + deleteProperty(r, o) { + return n ?? (n = e()), Reflect.deleteProperty(n, o); + }, + ownKeys(r) { + return n ?? (n = e()), Reflect.ownKeys(n); + }, + getOwnPropertyDescriptor(r, o) { + return n ?? (n = e()), Reflect.getOwnPropertyDescriptor(n, o); + }, + defineProperty(r, o, t) { + return n ?? (n = e()), Reflect.defineProperty(n, o, t); + } + }); +} +function M(e) { + return typeof e == "bigint" ? e.toString() + "n" : typeof e == "string" ? `"${e}"` : `${e}`; +} +function Pa(e) { + return Object.keys(e).filter((n) => e[n]._zod.optin === "optional" && e[n]._zod.optout === "optional"); +} +const Na = { + safeint: [Number.MIN_SAFE_INTEGER, Number.MAX_SAFE_INTEGER], + int32: [-2147483648, 2147483647], + uint32: [0, 4294967295], + float32: [-34028234663852886e22, 34028234663852886e22], + float64: [-Number.MAX_VALUE, Number.MAX_VALUE] +}, Aa = { + int64: [/* @__PURE__ */ BigInt("-9223372036854775808"), /* @__PURE__ */ BigInt("9223372036854775807")], + uint64: [/* @__PURE__ */ BigInt(0), /* @__PURE__ */ BigInt("18446744073709551615")] +}; +function Za(e, n) { + const r = e._zod.def, o = r.checks; + if (o && o.length > 0) + throw new Error(".pick() cannot be used on object schemas containing refinements"); + const i = Ye(e._zod.def, { + get shape() { + const a = {}; + for (const u in n) { + if (!(u in r.shape)) + throw new Error(`Unrecognized key: "${u}"`); + n[u] && (a[u] = r.shape[u]); + } + return ut(this, "shape", a), a; + }, + checks: [] + }); + return Me(e, i); +} +function Ca(e, n) { + const r = e._zod.def, o = r.checks; + if (o && o.length > 0) + throw new Error(".omit() cannot be used on object schemas containing refinements"); + const i = Ye(e._zod.def, { + get shape() { + const a = { ...e._zod.def.shape }; + for (const u in n) { + if (!(u in r.shape)) + throw new Error(`Unrecognized key: "${u}"`); + n[u] && delete a[u]; + } + return ut(this, "shape", a), a; + }, + checks: [] + }); + return Me(e, i); +} +function Ma(e, n) { + if (!ft(n)) + throw new Error("Invalid input to extend: expected a plain object"); + const r = e._zod.def.checks; + if (r && r.length > 0) { + const i = e._zod.def.shape; + for (const a in n) + if (Object.getOwnPropertyDescriptor(i, a) !== void 0) + throw new Error("Cannot overwrite keys on object schemas containing refinements. Use `.safeExtend()` instead."); + } + const t = Ye(e._zod.def, { + get shape() { + const i = { ...e._zod.def.shape, ...n }; + return ut(this, "shape", i), i; + } + }); + return Me(e, t); +} +function Fa(e, n) { + if (!ft(n)) + throw new Error("Invalid input to safeExtend: expected a plain object"); + const r = Ye(e._zod.def, { + get shape() { + const o = { ...e._zod.def.shape, ...n }; + return ut(this, "shape", o), o; + } + }); + return Me(e, r); +} +function La(e, n) { + const r = Ye(e._zod.def, { + get shape() { + const o = { ...e._zod.def.shape, ...n._zod.def.shape }; + return ut(this, "shape", o), o; + }, + get catchall() { + return n._zod.def.catchall; + }, + checks: [] + // delete existing checks + }); + return Me(e, r); +} +function Ra(e, n, r) { + const t = n._zod.def.checks; + if (t && t.length > 0) + throw new Error(".partial() cannot be used on object schemas containing refinements"); + const a = Ye(n._zod.def, { + get shape() { + const u = n._zod.def.shape, c = { ...u }; + if (r) + for (const l in r) { + if (!(l in u)) + throw new Error(`Unrecognized key: "${l}"`); + r[l] && (c[l] = e ? new e({ + type: "optional", + innerType: u[l] + }) : u[l]); + } + else + for (const l in u) + c[l] = e ? new e({ + type: "optional", + innerType: u[l] + }) : u[l]; + return ut(this, "shape", c), c; + }, + checks: [] + }); + return Me(n, a); +} +function Ba(e, n, r) { + const o = Ye(n._zod.def, { + get shape() { + const t = n._zod.def.shape, i = { ...t }; + if (r) + for (const a in r) { + if (!(a in i)) + throw new Error(`Unrecognized key: "${a}"`); + r[a] && (i[a] = new e({ + type: "nonoptional", + innerType: t[a] + })); + } + else + for (const a in t) + i[a] = new e({ + type: "nonoptional", + innerType: t[a] + }); + return ut(this, "shape", i), i; + } + }); + return Me(n, o); +} +function ct(e, n = 0) { + var r; + if (e.aborted === !0) + return !0; + for (let o = n; o < e.issues.length; o++) + if (((r = e.issues[o]) == null ? void 0 : r.continue) !== !0) + return !0; + return !1; +} +function Be(e, n) { + return n.map((r) => { + var o; + return (o = r).path ?? (o.path = []), r.path.unshift(e), r; + }); +} +function Et(e) { + return typeof e == "string" ? e : e == null ? void 0 : e.message; +} +function Ce(e, n, r) { + var t, i, a, u, c, l; + const o = { ...e, path: e.path ?? [] }; + if (!e.message) { + const s = Et((a = (i = (t = e.inst) == null ? void 0 : t._zod.def) == null ? void 0 : i.error) == null ? void 0 : a.call(i, e)) ?? Et((u = n == null ? void 0 : n.error) == null ? void 0 : u.call(n, e)) ?? Et((c = r.customError) == null ? void 0 : c.call(r, e)) ?? Et((l = r.localeError) == null ? void 0 : l.call(r, e)) ?? "Invalid input"; + o.message = s; + } + return delete o.inst, delete o.continue, n != null && n.reportInput || delete o.input, o; +} +function Cn(e) { + return e instanceof Set ? "set" : e instanceof Map ? "map" : e instanceof File ? "file" : "unknown"; +} +function Mn(e) { + return Array.isArray(e) ? "array" : typeof e == "string" ? "string" : "unknown"; +} +function F(e) { + const n = typeof e; + switch (n) { + case "number": + return Number.isNaN(e) ? "nan" : "number"; + case "object": { + if (e === null) + return "null"; + if (Array.isArray(e)) + return "array"; + const r = e; + if (r && Object.getPrototypeOf(r) !== Object.prototype && "constructor" in r && r.constructor) + return r.constructor.name; + } + } + return n; +} +function _t(...e) { + const [n, r, o] = e; + return typeof n == "string" ? { + message: n, + code: "custom", + input: r, + inst: o + } : { ...n }; +} +function _m(e) { + return Object.entries(e).filter(([n, r]) => Number.isNaN(Number.parseInt(n, 10))).map((n) => n[1]); +} +function Ja(e) { + const n = atob(e), r = new Uint8Array(n.length); + for (let o = 0; o < n.length; o++) + r[o] = n.charCodeAt(o); + return r; +} +function Va(e) { + let n = ""; + for (let r = 0; r < e.length; r++) + n += String.fromCharCode(e[r]); + return btoa(n); +} +function ym(e) { + const n = e.replace(/-/g, "+").replace(/_/g, "/"), r = "=".repeat((4 - n.length % 4) % 4); + return Ja(n + r); +} +function km(e) { + return Va(e).replace(/\+/g, "-").replace(/\//g, "_").replace(/=/g, ""); +} +function Sm(e) { + const n = e.replace(/^0x/, ""); + if (n.length % 2 !== 0) + throw new Error("Invalid hex string length"); + const r = new Uint8Array(n.length / 2); + for (let o = 0; o < n.length; o += 2) + r[o / 2] = Number.parseInt(n.slice(o, o + 2), 16); + return r; +} +function Im(e) { + return Array.from(e).map((n) => n.toString(16).padStart(2, "0")).join(""); +} +class wm { + constructor(...n) { + } +} +const qa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ + __proto__: null, + BIGINT_FORMAT_RANGES: Aa, + Class: wm, + NUMBER_FORMAT_RANGES: Na, + aborted: ct, + allowsEval: Ta, + assert: dm, + assertEqual: um, + assertIs: cm, + assertNever: sm, + assertNotEqual: lm, + assignProp: ut, + base64ToUint8Array: Ja, + base64urlToUint8Array: ym, + cached: Ft, + captureStackTrace: Cr, + cleanEnum: _m, + cleanRegex: An, + clone: Me, + cloneDef: mm, + createTransparentProxy: bm, + defineLazy: K, + esc: Or, + escapeRegex: Ge, + extend: Ma, + finalizeIssue: Ce, + floatSafeRemainder: ja, + getElementAtPath: vm, + getEnumValues: Zr, + getLengthableOrigin: Mn, + getParsedType: $m, + getSizableOrigin: Cn, + hexToUint8Array: Sm, + isObject: bt, + isPlainObject: ft, + issue: _t, + joinValues: k, + jsonStringifyReplacer: Dn, + merge: La, + mergeDefs: Ye, + normalizeParams: $, + nullish: pt, + numKeys: hm, + objectClone: fm, + omit: Ca, + optionalKeys: Pa, + parsedType: F, + partial: Ra, + pick: Za, + prefixIssues: Be, + primitiveTypes: Ea, + promiseAllObject: pm, + propertyKeyTypes: On, + randomString: gm, + required: Ba, + safeExtend: Fa, + shallowClone: Zn, + slugify: Ua, + stringifyPrimitive: M, + uint8ArrayToBase64: Va, + uint8ArrayToBase64url: km, + uint8ArrayToHex: Im, + unwrapMessage: Et +}, Symbol.toStringTag, { value: "Module" })), Ya = (e, n) => { + e.name = "$ZodError", Object.defineProperty(e, "_zod", { + value: e._zod, + enumerable: !1 + }), Object.defineProperty(e, "issues", { + value: n, + enumerable: !1 + }), e.message = JSON.stringify(n, Dn, 2), Object.defineProperty(e, "toString", { + value: () => e.message, + enumerable: !1 + }); +}, Mr = v("$ZodError", Ya), Pe = v("$ZodError", Ya, { Parent: Error }); +function Fr(e, n = (r) => r.message) { + const r = {}, o = []; + for (const t of e.issues) + t.path.length > 0 ? (r[t.path[0]] = r[t.path[0]] || [], r[t.path[0]].push(n(t))) : o.push(n(t)); + return { formErrors: o, fieldErrors: r }; +} +function Lr(e, n = (r) => r.message) { + const r = { _errors: [] }, o = (t) => { + for (const i of t.issues) + if (i.code === "invalid_union" && i.errors.length) + i.errors.map((a) => o({ issues: a })); + else if (i.code === "invalid_key") + o({ issues: i.issues }); + else if (i.code === "invalid_element") + o({ issues: i.issues }); + else if (i.path.length === 0) + r._errors.push(n(i)); + else { + let a = r, u = 0; + for (; u < i.path.length; ) { + const c = i.path[u]; + u === i.path.length - 1 ? (a[c] = a[c] || { _errors: [] }, a[c]._errors.push(n(i))) : a[c] = a[c] || { _errors: [] }, a = a[c], u++; + } + } + }; + return o(e), r; +} +function Ka(e, n = (r) => r.message) { + const r = { errors: [] }, o = (t, i = []) => { + var a, u; + for (const c of t.issues) + if (c.code === "invalid_union" && c.errors.length) + c.errors.map((l) => o({ issues: l }, c.path)); + else if (c.code === "invalid_key") + o({ issues: c.issues }, c.path); + else if (c.code === "invalid_element") + o({ issues: c.issues }, c.path); + else { + const l = [...i, ...c.path]; + if (l.length === 0) { + r.errors.push(n(c)); + continue; + } + let s = r, d = 0; + for (; d < l.length; ) { + const m = l[d], p = d === l.length - 1; + typeof m == "string" ? (s.properties ?? (s.properties = {}), (a = s.properties)[m] ?? (a[m] = { errors: [] }), s = s.properties[m]) : (s.items ?? (s.items = []), (u = s.items)[m] ?? (u[m] = { errors: [] }), s = s.items[m]), p && s.errors.push(n(c)), d++; + } + } + }; + return o(e), r; +} +function Wa(e) { + const n = [], r = e.map((o) => typeof o == "object" ? o.key : o); + for (const o of r) + typeof o == "number" ? n.push(`[${o}]`) : typeof o == "symbol" ? n.push(`[${JSON.stringify(String(o))}]`) : /[^\w$]/.test(o) ? n.push(`[${JSON.stringify(o)}]`) : (n.length && n.push("."), n.push(o)); + return n.join(""); +} +function Ga(e) { + var o; + const n = [], r = [...e.issues].sort((t, i) => (t.path ?? []).length - (i.path ?? []).length); + for (const t of r) + n.push(`✖ ${t.message}`), (o = t.path) != null && o.length && n.push(` → at ${Wa(t.path)}`); + return n.join(` +`); +} +const Lt = (e) => (n, r, o, t) => { + const i = o ? Object.assign(o, { async: !1 }) : { async: !1 }, a = n._zod.run({ value: r, issues: [] }, i); + if (a instanceof Promise) + throw new dt(); + if (a.issues.length) { + const u = new ((t == null ? void 0 : t.Err) ?? e)(a.issues.map((c) => Ce(c, i, Ie()))); + throw Cr(u, t == null ? void 0 : t.callee), u; + } + return a.value; +}, jr = /* @__PURE__ */ Lt(Pe), Rt = (e) => async (n, r, o, t) => { + const i = o ? Object.assign(o, { async: !0 }) : { async: !0 }; + let a = n._zod.run({ value: r, issues: [] }, i); + if (a instanceof Promise && (a = await a), a.issues.length) { + const u = new ((t == null ? void 0 : t.Err) ?? e)(a.issues.map((c) => Ce(c, i, Ie()))); + throw Cr(u, t == null ? void 0 : t.callee), u; + } + return a.value; +}, Ur = /* @__PURE__ */ Rt(Pe), Bt = (e) => (n, r, o) => { + const t = o ? { ...o, async: !1 } : { async: !1 }, i = n._zod.run({ value: r, issues: [] }, t); + if (i instanceof Promise) + throw new dt(); + return i.issues.length ? { + success: !1, + error: new (e ?? Mr)(i.issues.map((a) => Ce(a, t, Ie()))) + } : { success: !0, data: i.value }; +}, Ha = /* @__PURE__ */ Bt(Pe), Jt = (e) => async (n, r, o) => { + const t = o ? Object.assign(o, { async: !0 }) : { async: !0 }; + let i = n._zod.run({ value: r, issues: [] }, t); + return i instanceof Promise && (i = await i), i.issues.length ? { + success: !1, + error: new e(i.issues.map((a) => Ce(a, t, Ie()))) + } : { success: !0, data: i.value }; +}, Xa = /* @__PURE__ */ Jt(Pe), Rr = (e) => (n, r, o) => { + const t = o ? Object.assign(o, { direction: "backward" }) : { direction: "backward" }; + return Lt(e)(n, r, t); +}, zm = /* @__PURE__ */ Rr(Pe), Br = (e) => (n, r, o) => Lt(e)(n, r, o), xm = /* @__PURE__ */ Br(Pe), Jr = (e) => async (n, r, o) => { + const t = o ? Object.assign(o, { direction: "backward" }) : { direction: "backward" }; + return Rt(e)(n, r, t); +}, Dm = /* @__PURE__ */ Jr(Pe), Vr = (e) => async (n, r, o) => Rt(e)(n, r, o), Om = /* @__PURE__ */ Vr(Pe), qr = (e) => (n, r, o) => { + const t = o ? Object.assign(o, { direction: "backward" }) : { direction: "backward" }; + return Bt(e)(n, r, t); +}, jm = /* @__PURE__ */ qr(Pe), Yr = (e) => (n, r, o) => Bt(e)(n, r, o), Um = /* @__PURE__ */ Yr(Pe), Kr = (e) => async (n, r, o) => { + const t = o ? Object.assign(o, { direction: "backward" }) : { direction: "backward" }; + return Jt(e)(n, r, t); +}, Tm = /* @__PURE__ */ Kr(Pe), Wr = (e) => async (n, r, o) => Jt(e)(n, r, o), Em = /* @__PURE__ */ Wr(Pe), Qa = /^[cC][^\s-]{8,}$/, eu = /^[0-9a-z]+$/, tu = /^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/, nu = /^[0-9a-vA-V]{20}$/, ru = /^[A-Za-z0-9]{27}$/, iu = /^[a-zA-Z0-9_-]{21}$/, ou = /^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/, Pm = /^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/, au = /^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$/, yt = (e) => e ? new RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${e}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`) : /^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/, Nm = /* @__PURE__ */ yt(4), Am = /* @__PURE__ */ yt(6), Zm = /* @__PURE__ */ yt(7), uu = /^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/, Cm = /^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/, Mm = /^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/, lu = /^[^\s@"]{1,64}@[^\s@]{1,255}$/u, Fm = lu, Lm = /^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/, Rm = "^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$"; +function cu() { + return new RegExp(Rm, "u"); +} +const su = /^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/, du = /^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))$/, fu = (e) => { + const n = Ge(e ?? ":"); + return new RegExp(`^(?:[0-9A-F]{2}${n}){5}[0-9A-F]{2}$|^(?:[0-9a-f]{2}${n}){5}[0-9a-f]{2}$`); +}, mu = /^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/([0-9]|[1-2][0-9]|3[0-2])$/, vu = /^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|::|([0-9a-fA-F]{1,4})?::([0-9a-fA-F]{1,4}:?){0,6})\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/, pu = /^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/, Gr = /^[A-Za-z0-9_-]*$/, gu = /^(?=.{1,253}\.?$)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[-0-9a-zA-Z]{0,61}[0-9a-zA-Z])?)*\.?$/, hu = /^([a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}$/, $u = /^\+[1-9]\d{6,14}$/, bu = "(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))", _u = /* @__PURE__ */ new RegExp(`^${bu}$`); +function yu(e) { + const n = "(?:[01]\\d|2[0-3]):[0-5]\\d"; + return typeof e.precision == "number" ? e.precision === -1 ? `${n}` : e.precision === 0 ? `${n}:[0-5]\\d` : `${n}:[0-5]\\d\\.\\d{${e.precision}}` : `${n}(?::[0-5]\\d(?:\\.\\d+)?)?`; +} +function ku(e) { + return new RegExp(`^${yu(e)}$`); +} +function Su(e) { + const n = yu({ precision: e.precision }), r = ["Z"]; + e.local && r.push(""), e.offset && r.push("([+-](?:[01]\\d|2[0-3]):[0-5]\\d)"); + const o = `${n}(?:${r.join("|")})`; + return new RegExp(`^${bu}T(?:${o})$`); +} +const Iu = (e) => { + const n = e ? `[\\s\\S]{${(e == null ? void 0 : e.minimum) ?? 0},${(e == null ? void 0 : e.maximum) ?? ""}}` : "[\\s\\S]*"; + return new RegExp(`^${n}$`); +}, wu = /^-?\d+n?$/, zu = /^-?\d+$/, Hr = /^-?\d+(?:\.\d+)?$/, xu = /^(?:true|false)$/i, Du = /^null$/i, Ou = /^undefined$/i, ju = /^[^A-Z]*$/, Uu = /^[^a-z]*$/, Tu = /^[0-9a-fA-F]*$/; +function Vt(e, n) { + return new RegExp(`^[A-Za-z0-9+/]{${e}}${n}$`); +} +function qt(e) { + return new RegExp(`^[A-Za-z0-9_-]{${e}}$`); +} +const Bm = /^[0-9a-fA-F]{32}$/, Jm = /* @__PURE__ */ Vt(22, "=="), Vm = /* @__PURE__ */ qt(22), qm = /^[0-9a-fA-F]{40}$/, Ym = /* @__PURE__ */ Vt(27, "="), Km = /* @__PURE__ */ qt(27), Wm = /^[0-9a-fA-F]{64}$/, Gm = /* @__PURE__ */ Vt(43, "="), Hm = /* @__PURE__ */ qt(43), Xm = /^[0-9a-fA-F]{96}$/, Qm = /* @__PURE__ */ Vt(64, ""), ev = /* @__PURE__ */ qt(64), tv = /^[0-9a-fA-F]{128}$/, nv = /* @__PURE__ */ Vt(86, "=="), rv = /* @__PURE__ */ qt(86), Xr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ + __proto__: null, + base64: pu, + base64url: Gr, + bigint: wu, + boolean: xu, + browserEmail: Lm, + cidrv4: mu, + cidrv6: vu, + cuid: Qa, + cuid2: eu, + date: _u, + datetime: Su, + domain: hu, + duration: ou, + e164: $u, + email: uu, + emoji: cu, + extendedDuration: Pm, + guid: au, + hex: Tu, + hostname: gu, + html5Email: Cm, + idnEmail: Fm, + integer: zu, + ipv4: su, + ipv6: du, + ksuid: ru, + lowercase: ju, + mac: fu, + md5_base64: Jm, + md5_base64url: Vm, + md5_hex: Bm, + nanoid: iu, + null: Du, + number: Hr, + rfc5322Email: Mm, + sha1_base64: Ym, + sha1_base64url: Km, + sha1_hex: qm, + sha256_base64: Gm, + sha256_base64url: Hm, + sha256_hex: Wm, + sha384_base64: Qm, + sha384_base64url: ev, + sha384_hex: Xm, + sha512_base64: nv, + sha512_base64url: rv, + sha512_hex: tv, + string: Iu, + time: ku, + ulid: tu, + undefined: Ou, + unicodeEmail: lu, + uppercase: Uu, + uuid: yt, + uuid4: Nm, + uuid6: Am, + uuid7: Zm, + xid: nu +}, Symbol.toStringTag, { value: "Module" })), se = /* @__PURE__ */ v("$ZodCheck", (e, n) => { + var r; + e._zod ?? (e._zod = {}), e._zod.def = n, (r = e._zod).onattach ?? (r.onattach = []); +}), Eu = { + number: "number", + bigint: "bigint", + object: "date" +}, Qr = /* @__PURE__ */ v("$ZodCheckLessThan", (e, n) => { + se.init(e, n); + const r = Eu[typeof n.value]; + e._zod.onattach.push((o) => { + const t = o._zod.bag, i = (n.inclusive ? t.maximum : t.exclusiveMaximum) ?? Number.POSITIVE_INFINITY; + n.value < i && (n.inclusive ? t.maximum = n.value : t.exclusiveMaximum = n.value); + }), e._zod.check = (o) => { + (n.inclusive ? o.value <= n.value : o.value < n.value) || o.issues.push({ + origin: r, + code: "too_big", + maximum: typeof n.value == "object" ? n.value.getTime() : n.value, + input: o.value, + inclusive: n.inclusive, + inst: e, + continue: !n.abort + }); + }; +}), ei = /* @__PURE__ */ v("$ZodCheckGreaterThan", (e, n) => { + se.init(e, n); + const r = Eu[typeof n.value]; + e._zod.onattach.push((o) => { + const t = o._zod.bag, i = (n.inclusive ? t.minimum : t.exclusiveMinimum) ?? Number.NEGATIVE_INFINITY; + n.value > i && (n.inclusive ? t.minimum = n.value : t.exclusiveMinimum = n.value); + }), e._zod.check = (o) => { + (n.inclusive ? o.value >= n.value : o.value > n.value) || o.issues.push({ + origin: r, + code: "too_small", + minimum: typeof n.value == "object" ? n.value.getTime() : n.value, + input: o.value, + inclusive: n.inclusive, + inst: e, + continue: !n.abort + }); + }; +}), Pu = /* @__PURE__ */ v("$ZodCheckMultipleOf", (e, n) => { + se.init(e, n), e._zod.onattach.push((r) => { + var o; + (o = r._zod.bag).multipleOf ?? (o.multipleOf = n.value); + }), e._zod.check = (r) => { + if (typeof r.value != typeof n.value) + throw new Error("Cannot mix number and bigint in multiple_of check."); + (typeof r.value == "bigint" ? r.value % n.value === BigInt(0) : ja(r.value, n.value) === 0) || r.issues.push({ + origin: typeof r.value, + code: "not_multiple_of", + divisor: n.value, + input: r.value, + inst: e, + continue: !n.abort + }); + }; +}), Nu = /* @__PURE__ */ v("$ZodCheckNumberFormat", (e, n) => { + var a; + se.init(e, n), n.format = n.format || "float64"; + const r = (a = n.format) == null ? void 0 : a.includes("int"), o = r ? "int" : "number", [t, i] = Na[n.format]; + e._zod.onattach.push((u) => { + const c = u._zod.bag; + c.format = n.format, c.minimum = t, c.maximum = i, r && (c.pattern = zu); + }), e._zod.check = (u) => { + const c = u.value; + if (r) { + if (!Number.isInteger(c)) { + u.issues.push({ + expected: o, + format: n.format, + code: "invalid_type", + continue: !1, + input: c, + inst: e + }); + return; + } + if (!Number.isSafeInteger(c)) { + c > 0 ? u.issues.push({ + input: c, + code: "too_big", + maximum: Number.MAX_SAFE_INTEGER, + note: "Integers must be within the safe integer range.", + inst: e, + origin: o, + inclusive: !0, + continue: !n.abort + }) : u.issues.push({ + input: c, + code: "too_small", + minimum: Number.MIN_SAFE_INTEGER, + note: "Integers must be within the safe integer range.", + inst: e, + origin: o, + inclusive: !0, + continue: !n.abort + }); + return; + } + } + c < t && u.issues.push({ + origin: "number", + input: c, + code: "too_small", + minimum: t, + inclusive: !0, + inst: e, + continue: !n.abort + }), c > i && u.issues.push({ + origin: "number", + input: c, + code: "too_big", + maximum: i, + inclusive: !0, + inst: e, + continue: !n.abort + }); + }; +}), Au = /* @__PURE__ */ v("$ZodCheckBigIntFormat", (e, n) => { + se.init(e, n); + const [r, o] = Aa[n.format]; + e._zod.onattach.push((t) => { + const i = t._zod.bag; + i.format = n.format, i.minimum = r, i.maximum = o; + }), e._zod.check = (t) => { + const i = t.value; + i < r && t.issues.push({ + origin: "bigint", + input: i, + code: "too_small", + minimum: r, + inclusive: !0, + inst: e, + continue: !n.abort + }), i > o && t.issues.push({ + origin: "bigint", + input: i, + code: "too_big", + maximum: o, + inclusive: !0, + inst: e, + continue: !n.abort + }); + }; +}), Zu = /* @__PURE__ */ v("$ZodCheckMaxSize", (e, n) => { + var r; + se.init(e, n), (r = e._zod.def).when ?? (r.when = (o) => { + const t = o.value; + return !pt(t) && t.size !== void 0; + }), e._zod.onattach.push((o) => { + const t = o._zod.bag.maximum ?? Number.POSITIVE_INFINITY; + n.maximum < t && (o._zod.bag.maximum = n.maximum); + }), e._zod.check = (o) => { + const t = o.value; + t.size <= n.maximum || o.issues.push({ + origin: Cn(t), + code: "too_big", + maximum: n.maximum, + inclusive: !0, + input: t, + inst: e, + continue: !n.abort + }); + }; +}), Cu = /* @__PURE__ */ v("$ZodCheckMinSize", (e, n) => { + var r; + se.init(e, n), (r = e._zod.def).when ?? (r.when = (o) => { + const t = o.value; + return !pt(t) && t.size !== void 0; + }), e._zod.onattach.push((o) => { + const t = o._zod.bag.minimum ?? Number.NEGATIVE_INFINITY; + n.minimum > t && (o._zod.bag.minimum = n.minimum); + }), e._zod.check = (o) => { + const t = o.value; + t.size >= n.minimum || o.issues.push({ + origin: Cn(t), + code: "too_small", + minimum: n.minimum, + inclusive: !0, + input: t, + inst: e, + continue: !n.abort + }); + }; +}), Mu = /* @__PURE__ */ v("$ZodCheckSizeEquals", (e, n) => { + var r; + se.init(e, n), (r = e._zod.def).when ?? (r.when = (o) => { + const t = o.value; + return !pt(t) && t.size !== void 0; + }), e._zod.onattach.push((o) => { + const t = o._zod.bag; + t.minimum = n.size, t.maximum = n.size, t.size = n.size; + }), e._zod.check = (o) => { + const t = o.value, i = t.size; + if (i === n.size) + return; + const a = i > n.size; + o.issues.push({ + origin: Cn(t), + ...a ? { code: "too_big", maximum: n.size } : { code: "too_small", minimum: n.size }, + inclusive: !0, + exact: !0, + input: o.value, + inst: e, + continue: !n.abort + }); + }; +}), Fu = /* @__PURE__ */ v("$ZodCheckMaxLength", (e, n) => { + var r; + se.init(e, n), (r = e._zod.def).when ?? (r.when = (o) => { + const t = o.value; + return !pt(t) && t.length !== void 0; + }), e._zod.onattach.push((o) => { + const t = o._zod.bag.maximum ?? Number.POSITIVE_INFINITY; + n.maximum < t && (o._zod.bag.maximum = n.maximum); + }), e._zod.check = (o) => { + const t = o.value; + if (t.length <= n.maximum) + return; + const a = Mn(t); + o.issues.push({ + origin: a, + code: "too_big", + maximum: n.maximum, + inclusive: !0, + input: t, + inst: e, + continue: !n.abort + }); + }; +}), Lu = /* @__PURE__ */ v("$ZodCheckMinLength", (e, n) => { + var r; + se.init(e, n), (r = e._zod.def).when ?? (r.when = (o) => { + const t = o.value; + return !pt(t) && t.length !== void 0; + }), e._zod.onattach.push((o) => { + const t = o._zod.bag.minimum ?? Number.NEGATIVE_INFINITY; + n.minimum > t && (o._zod.bag.minimum = n.minimum); + }), e._zod.check = (o) => { + const t = o.value; + if (t.length >= n.minimum) + return; + const a = Mn(t); + o.issues.push({ + origin: a, + code: "too_small", + minimum: n.minimum, + inclusive: !0, + input: t, + inst: e, + continue: !n.abort + }); + }; +}), Ru = /* @__PURE__ */ v("$ZodCheckLengthEquals", (e, n) => { + var r; + se.init(e, n), (r = e._zod.def).when ?? (r.when = (o) => { + const t = o.value; + return !pt(t) && t.length !== void 0; + }), e._zod.onattach.push((o) => { + const t = o._zod.bag; + t.minimum = n.length, t.maximum = n.length, t.length = n.length; + }), e._zod.check = (o) => { + const t = o.value, i = t.length; + if (i === n.length) + return; + const a = Mn(t), u = i > n.length; + o.issues.push({ + origin: a, + ...u ? { code: "too_big", maximum: n.length } : { code: "too_small", minimum: n.length }, + inclusive: !0, + exact: !0, + input: o.value, + inst: e, + continue: !n.abort + }); + }; +}), Yt = /* @__PURE__ */ v("$ZodCheckStringFormat", (e, n) => { + var r, o; + se.init(e, n), e._zod.onattach.push((t) => { + const i = t._zod.bag; + i.format = n.format, n.pattern && (i.patterns ?? (i.patterns = /* @__PURE__ */ new Set()), i.patterns.add(n.pattern)); + }), n.pattern ? (r = e._zod).check ?? (r.check = (t) => { + n.pattern.lastIndex = 0, !n.pattern.test(t.value) && t.issues.push({ + origin: "string", + code: "invalid_format", + format: n.format, + input: t.value, + ...n.pattern ? { pattern: n.pattern.toString() } : {}, + inst: e, + continue: !n.abort + }); + }) : (o = e._zod).check ?? (o.check = () => { + }); +}), Bu = /* @__PURE__ */ v("$ZodCheckRegex", (e, n) => { + Yt.init(e, n), e._zod.check = (r) => { + n.pattern.lastIndex = 0, !n.pattern.test(r.value) && r.issues.push({ + origin: "string", + code: "invalid_format", + format: "regex", + input: r.value, + pattern: n.pattern.toString(), + inst: e, + continue: !n.abort + }); + }; +}), Ju = /* @__PURE__ */ v("$ZodCheckLowerCase", (e, n) => { + n.pattern ?? (n.pattern = ju), Yt.init(e, n); +}), Vu = /* @__PURE__ */ v("$ZodCheckUpperCase", (e, n) => { + n.pattern ?? (n.pattern = Uu), Yt.init(e, n); +}), qu = /* @__PURE__ */ v("$ZodCheckIncludes", (e, n) => { + se.init(e, n); + const r = Ge(n.includes), o = new RegExp(typeof n.position == "number" ? `^.{${n.position}}${r}` : r); + n.pattern = o, e._zod.onattach.push((t) => { + const i = t._zod.bag; + i.patterns ?? (i.patterns = /* @__PURE__ */ new Set()), i.patterns.add(o); + }), e._zod.check = (t) => { + t.value.includes(n.includes, n.position) || t.issues.push({ + origin: "string", + code: "invalid_format", + format: "includes", + includes: n.includes, + input: t.value, + inst: e, + continue: !n.abort + }); + }; +}), Yu = /* @__PURE__ */ v("$ZodCheckStartsWith", (e, n) => { + se.init(e, n); + const r = new RegExp(`^${Ge(n.prefix)}.*`); + n.pattern ?? (n.pattern = r), e._zod.onattach.push((o) => { + const t = o._zod.bag; + t.patterns ?? (t.patterns = /* @__PURE__ */ new Set()), t.patterns.add(r); + }), e._zod.check = (o) => { + o.value.startsWith(n.prefix) || o.issues.push({ + origin: "string", + code: "invalid_format", + format: "starts_with", + prefix: n.prefix, + input: o.value, + inst: e, + continue: !n.abort + }); + }; +}), Ku = /* @__PURE__ */ v("$ZodCheckEndsWith", (e, n) => { + se.init(e, n); + const r = new RegExp(`.*${Ge(n.suffix)}$`); + n.pattern ?? (n.pattern = r), e._zod.onattach.push((o) => { + const t = o._zod.bag; + t.patterns ?? (t.patterns = /* @__PURE__ */ new Set()), t.patterns.add(r); + }), e._zod.check = (o) => { + o.value.endsWith(n.suffix) || o.issues.push({ + origin: "string", + code: "invalid_format", + format: "ends_with", + suffix: n.suffix, + input: o.value, + inst: e, + continue: !n.abort + }); + }; +}); +function Co(e, n, r) { + e.issues.length && n.issues.push(...Be(r, e.issues)); +} +const Wu = /* @__PURE__ */ v("$ZodCheckProperty", (e, n) => { + se.init(e, n), e._zod.check = (r) => { + const o = n.schema._zod.run({ + value: r.value[n.property], + issues: [] + }, {}); + if (o instanceof Promise) + return o.then((t) => Co(t, r, n.property)); + Co(o, r, n.property); + }; +}), Gu = /* @__PURE__ */ v("$ZodCheckMimeType", (e, n) => { + se.init(e, n); + const r = new Set(n.mime); + e._zod.onattach.push((o) => { + o._zod.bag.mime = n.mime; + }), e._zod.check = (o) => { + r.has(o.value.type) || o.issues.push({ + code: "invalid_value", + values: n.mime, + input: o.value.type, + inst: e, + continue: !n.abort + }); + }; +}), Hu = /* @__PURE__ */ v("$ZodCheckOverwrite", (e, n) => { + se.init(e, n), e._zod.check = (r) => { + r.value = n.tx(r.value); + }; +}); +class Xu { + constructor(n = []) { + this.content = [], this.indent = 0, this && (this.args = n); + } + indented(n) { + this.indent += 1, n(this), this.indent -= 1; + } + write(n) { + if (typeof n == "function") { + n(this, { execution: "sync" }), n(this, { execution: "async" }); + return; + } + const o = n.split(` +`).filter((a) => a), t = Math.min(...o.map((a) => a.length - a.trimStart().length)), i = o.map((a) => a.slice(t)).map((a) => " ".repeat(this.indent * 2) + a); + for (const a of i) + this.content.push(a); + } + compile() { + const n = Function, r = this == null ? void 0 : this.args, t = [...((this == null ? void 0 : this.content) ?? [""]).map((i) => ` ${i}`)]; + return new n(...r, t.join(` +`)); + } +} +const Qu = { + major: 4, + minor: 3, + patch: 6 +}, R = /* @__PURE__ */ v("$ZodType", (e, n) => { + var t; + var r; + e ?? (e = {}), e._zod.def = n, e._zod.bag = e._zod.bag || {}, e._zod.version = Qu; + const o = [...e._zod.def.checks ?? []]; + e._zod.traits.has("$ZodCheck") && o.unshift(e); + for (const i of o) + for (const a of i._zod.onattach) + a(e); + if (o.length === 0) + (r = e._zod).deferred ?? (r.deferred = []), (t = e._zod.deferred) == null || t.push(() => { + e._zod.run = e._zod.parse; + }); + else { + const i = (u, c, l) => { + let s = ct(u), d; + for (const m of c) { + if (m._zod.def.when) { + if (!m._zod.def.when(u)) + continue; + } else if (s) + continue; + const p = u.issues.length, g = m._zod.check(u); + if (g instanceof Promise && (l == null ? void 0 : l.async) === !1) + throw new dt(); + if (d || g instanceof Promise) + d = (d ?? Promise.resolve()).then(async () => { + await g, u.issues.length !== p && (s || (s = ct(u, p))); + }); + else { + if (u.issues.length === p) + continue; + s || (s = ct(u, p)); + } + } + return d ? d.then(() => u) : u; + }, a = (u, c, l) => { + if (ct(u)) + return u.aborted = !0, u; + const s = i(c, o, l); + if (s instanceof Promise) { + if (l.async === !1) + throw new dt(); + return s.then((d) => e._zod.parse(d, l)); + } + return e._zod.parse(s, l); + }; + e._zod.run = (u, c) => { + if (c.skipChecks) + return e._zod.parse(u, c); + if (c.direction === "backward") { + const s = e._zod.parse({ value: u.value, issues: [] }, { ...c, skipChecks: !0 }); + return s instanceof Promise ? s.then((d) => a(d, u, c)) : a(s, u, c); + } + const l = e._zod.parse(u, c); + if (l instanceof Promise) { + if (c.async === !1) + throw new dt(); + return l.then((s) => i(s, o, c)); + } + return i(l, o, c); + }; + } + K(e, "~standard", () => ({ + validate: (i) => { + var a; + try { + const u = Ha(e, i); + return u.success ? { value: u.data } : { issues: (a = u.error) == null ? void 0 : a.issues }; + } catch { + return Xa(e, i).then((c) => { + var l; + return c.success ? { value: c.data } : { issues: (l = c.error) == null ? void 0 : l.issues }; + }); + } + }, + vendor: "zod", + version: 1 + })); +}), Kt = /* @__PURE__ */ v("$ZodString", (e, n) => { + var r; + R.init(e, n), e._zod.pattern = [...((r = e == null ? void 0 : e._zod.bag) == null ? void 0 : r.patterns) ?? []].pop() ?? Iu(e._zod.bag), e._zod.parse = (o, t) => { + if (n.coerce) + try { + o.value = String(o.value); + } catch { + } + return typeof o.value == "string" || o.issues.push({ + expected: "string", + code: "invalid_type", + input: o.value, + inst: e + }), o; + }; +}), ae = /* @__PURE__ */ v("$ZodStringFormat", (e, n) => { + Yt.init(e, n), Kt.init(e, n); +}), el = /* @__PURE__ */ v("$ZodGUID", (e, n) => { + n.pattern ?? (n.pattern = au), ae.init(e, n); +}), tl = /* @__PURE__ */ v("$ZodUUID", (e, n) => { + if (n.version) { + const o = { + v1: 1, + v2: 2, + v3: 3, + v4: 4, + v5: 5, + v6: 6, + v7: 7, + v8: 8 + }[n.version]; + if (o === void 0) + throw new Error(`Invalid UUID version: "${n.version}"`); + n.pattern ?? (n.pattern = yt(o)); + } else + n.pattern ?? (n.pattern = yt()); + ae.init(e, n); +}), nl = /* @__PURE__ */ v("$ZodEmail", (e, n) => { + n.pattern ?? (n.pattern = uu), ae.init(e, n); +}), rl = /* @__PURE__ */ v("$ZodURL", (e, n) => { + ae.init(e, n), e._zod.check = (r) => { + try { + const o = r.value.trim(), t = new URL(o); + n.hostname && (n.hostname.lastIndex = 0, n.hostname.test(t.hostname) || r.issues.push({ + code: "invalid_format", + format: "url", + note: "Invalid hostname", + pattern: n.hostname.source, + input: r.value, + inst: e, + continue: !n.abort + })), n.protocol && (n.protocol.lastIndex = 0, n.protocol.test(t.protocol.endsWith(":") ? t.protocol.slice(0, -1) : t.protocol) || r.issues.push({ + code: "invalid_format", + format: "url", + note: "Invalid protocol", + pattern: n.protocol.source, + input: r.value, + inst: e, + continue: !n.abort + })), n.normalize ? r.value = t.href : r.value = o; + return; + } catch { + r.issues.push({ + code: "invalid_format", + format: "url", + input: r.value, + inst: e, + continue: !n.abort + }); + } + }; +}), il = /* @__PURE__ */ v("$ZodEmoji", (e, n) => { + n.pattern ?? (n.pattern = cu()), ae.init(e, n); +}), ol = /* @__PURE__ */ v("$ZodNanoID", (e, n) => { + n.pattern ?? (n.pattern = iu), ae.init(e, n); +}), al = /* @__PURE__ */ v("$ZodCUID", (e, n) => { + n.pattern ?? (n.pattern = Qa), ae.init(e, n); +}), ul = /* @__PURE__ */ v("$ZodCUID2", (e, n) => { + n.pattern ?? (n.pattern = eu), ae.init(e, n); +}), ll = /* @__PURE__ */ v("$ZodULID", (e, n) => { + n.pattern ?? (n.pattern = tu), ae.init(e, n); +}), cl = /* @__PURE__ */ v("$ZodXID", (e, n) => { + n.pattern ?? (n.pattern = nu), ae.init(e, n); +}), sl = /* @__PURE__ */ v("$ZodKSUID", (e, n) => { + n.pattern ?? (n.pattern = ru), ae.init(e, n); +}), dl = /* @__PURE__ */ v("$ZodISODateTime", (e, n) => { + n.pattern ?? (n.pattern = Su(n)), ae.init(e, n); +}), fl = /* @__PURE__ */ v("$ZodISODate", (e, n) => { + n.pattern ?? (n.pattern = _u), ae.init(e, n); +}), ml = /* @__PURE__ */ v("$ZodISOTime", (e, n) => { + n.pattern ?? (n.pattern = ku(n)), ae.init(e, n); +}), vl = /* @__PURE__ */ v("$ZodISODuration", (e, n) => { + n.pattern ?? (n.pattern = ou), ae.init(e, n); +}), pl = /* @__PURE__ */ v("$ZodIPv4", (e, n) => { + n.pattern ?? (n.pattern = su), ae.init(e, n), e._zod.bag.format = "ipv4"; +}), gl = /* @__PURE__ */ v("$ZodIPv6", (e, n) => { + n.pattern ?? (n.pattern = du), ae.init(e, n), e._zod.bag.format = "ipv6", e._zod.check = (r) => { + try { + new URL(`http://[${r.value}]`); + } catch { + r.issues.push({ + code: "invalid_format", + format: "ipv6", + input: r.value, + inst: e, + continue: !n.abort + }); + } + }; +}), hl = /* @__PURE__ */ v("$ZodMAC", (e, n) => { + n.pattern ?? (n.pattern = fu(n.delimiter)), ae.init(e, n), e._zod.bag.format = "mac"; +}), $l = /* @__PURE__ */ v("$ZodCIDRv4", (e, n) => { + n.pattern ?? (n.pattern = mu), ae.init(e, n); +}), bl = /* @__PURE__ */ v("$ZodCIDRv6", (e, n) => { + n.pattern ?? (n.pattern = vu), ae.init(e, n), e._zod.check = (r) => { + const o = r.value.split("/"); + try { + if (o.length !== 2) + throw new Error(); + const [t, i] = o; + if (!i) + throw new Error(); + const a = Number(i); + if (`${a}` !== i) + throw new Error(); + if (a < 0 || a > 128) + throw new Error(); + new URL(`http://[${t}]`); + } catch { + r.issues.push({ + code: "invalid_format", + format: "cidrv6", + input: r.value, + inst: e, + continue: !n.abort + }); + } + }; +}); +function ti(e) { + if (e === "") + return !0; + if (e.length % 4 !== 0) + return !1; + try { + return atob(e), !0; + } catch { + return !1; + } +} +const _l = /* @__PURE__ */ v("$ZodBase64", (e, n) => { + n.pattern ?? (n.pattern = pu), ae.init(e, n), e._zod.bag.contentEncoding = "base64", e._zod.check = (r) => { + ti(r.value) || r.issues.push({ + code: "invalid_format", + format: "base64", + input: r.value, + inst: e, + continue: !n.abort + }); + }; +}); +function yl(e) { + if (!Gr.test(e)) + return !1; + const n = e.replace(/[-_]/g, (o) => o === "-" ? "+" : "/"), r = n.padEnd(Math.ceil(n.length / 4) * 4, "="); + return ti(r); +} +const kl = /* @__PURE__ */ v("$ZodBase64URL", (e, n) => { + n.pattern ?? (n.pattern = Gr), ae.init(e, n), e._zod.bag.contentEncoding = "base64url", e._zod.check = (r) => { + yl(r.value) || r.issues.push({ + code: "invalid_format", + format: "base64url", + input: r.value, + inst: e, + continue: !n.abort + }); + }; +}), Sl = /* @__PURE__ */ v("$ZodE164", (e, n) => { + n.pattern ?? (n.pattern = $u), ae.init(e, n); +}); +function Il(e, n = null) { + try { + const r = e.split("."); + if (r.length !== 3) + return !1; + const [o] = r; + if (!o) + return !1; + const t = JSON.parse(atob(o)); + return !("typ" in t && (t == null ? void 0 : t.typ) !== "JWT" || !t.alg || n && (!("alg" in t) || t.alg !== n)); + } catch { + return !1; + } +} +const wl = /* @__PURE__ */ v("$ZodJWT", (e, n) => { + ae.init(e, n), e._zod.check = (r) => { + Il(r.value, n.alg) || r.issues.push({ + code: "invalid_format", + format: "jwt", + input: r.value, + inst: e, + continue: !n.abort + }); + }; +}), zl = /* @__PURE__ */ v("$ZodCustomStringFormat", (e, n) => { + ae.init(e, n), e._zod.check = (r) => { + n.fn(r.value) || r.issues.push({ + code: "invalid_format", + format: n.format, + input: r.value, + inst: e, + continue: !n.abort + }); + }; +}), ni = /* @__PURE__ */ v("$ZodNumber", (e, n) => { + R.init(e, n), e._zod.pattern = e._zod.bag.pattern ?? Hr, e._zod.parse = (r, o) => { + if (n.coerce) + try { + r.value = Number(r.value); + } catch { + } + const t = r.value; + if (typeof t == "number" && !Number.isNaN(t) && Number.isFinite(t)) + return r; + const i = typeof t == "number" ? Number.isNaN(t) ? "NaN" : Number.isFinite(t) ? void 0 : "Infinity" : void 0; + return r.issues.push({ + expected: "number", + code: "invalid_type", + input: t, + inst: e, + ...i ? { received: i } : {} + }), r; + }; +}), xl = /* @__PURE__ */ v("$ZodNumberFormat", (e, n) => { + Nu.init(e, n), ni.init(e, n); +}), ri = /* @__PURE__ */ v("$ZodBoolean", (e, n) => { + R.init(e, n), e._zod.pattern = xu, e._zod.parse = (r, o) => { + if (n.coerce) + try { + r.value = !!r.value; + } catch { + } + const t = r.value; + return typeof t == "boolean" || r.issues.push({ + expected: "boolean", + code: "invalid_type", + input: t, + inst: e + }), r; + }; +}), ii = /* @__PURE__ */ v("$ZodBigInt", (e, n) => { + R.init(e, n), e._zod.pattern = wu, e._zod.parse = (r, o) => { + if (n.coerce) + try { + r.value = BigInt(r.value); + } catch { + } + return typeof r.value == "bigint" || r.issues.push({ + expected: "bigint", + code: "invalid_type", + input: r.value, + inst: e + }), r; + }; +}), Dl = /* @__PURE__ */ v("$ZodBigIntFormat", (e, n) => { + Au.init(e, n), ii.init(e, n); +}), Ol = /* @__PURE__ */ v("$ZodSymbol", (e, n) => { + R.init(e, n), e._zod.parse = (r, o) => { + const t = r.value; + return typeof t == "symbol" || r.issues.push({ + expected: "symbol", + code: "invalid_type", + input: t, + inst: e + }), r; + }; +}), jl = /* @__PURE__ */ v("$ZodUndefined", (e, n) => { + R.init(e, n), e._zod.pattern = Ou, e._zod.values = /* @__PURE__ */ new Set([void 0]), e._zod.optin = "optional", e._zod.optout = "optional", e._zod.parse = (r, o) => { + const t = r.value; + return typeof t > "u" || r.issues.push({ + expected: "undefined", + code: "invalid_type", + input: t, + inst: e + }), r; + }; +}), Ul = /* @__PURE__ */ v("$ZodNull", (e, n) => { + R.init(e, n), e._zod.pattern = Du, e._zod.values = /* @__PURE__ */ new Set([null]), e._zod.parse = (r, o) => { + const t = r.value; + return t === null || r.issues.push({ + expected: "null", + code: "invalid_type", + input: t, + inst: e + }), r; + }; +}), Tl = /* @__PURE__ */ v("$ZodAny", (e, n) => { + R.init(e, n), e._zod.parse = (r) => r; +}), El = /* @__PURE__ */ v("$ZodUnknown", (e, n) => { + R.init(e, n), e._zod.parse = (r) => r; +}), Pl = /* @__PURE__ */ v("$ZodNever", (e, n) => { + R.init(e, n), e._zod.parse = (r, o) => (r.issues.push({ + expected: "never", + code: "invalid_type", + input: r.value, + inst: e + }), r); +}), Nl = /* @__PURE__ */ v("$ZodVoid", (e, n) => { + R.init(e, n), e._zod.parse = (r, o) => { + const t = r.value; + return typeof t > "u" || r.issues.push({ + expected: "void", + code: "invalid_type", + input: t, + inst: e + }), r; + }; +}), Al = /* @__PURE__ */ v("$ZodDate", (e, n) => { + R.init(e, n), e._zod.parse = (r, o) => { + if (n.coerce) + try { + r.value = new Date(r.value); + } catch { + } + const t = r.value, i = t instanceof Date; + return i && !Number.isNaN(t.getTime()) || r.issues.push({ + expected: "date", + code: "invalid_type", + input: t, + ...i ? { received: "Invalid Date" } : {}, + inst: e + }), r; + }; +}); +function Mo(e, n, r) { + e.issues.length && n.issues.push(...Be(r, e.issues)), n.value[r] = e.value; +} +const Zl = /* @__PURE__ */ v("$ZodArray", (e, n) => { + R.init(e, n), e._zod.parse = (r, o) => { + const t = r.value; + if (!Array.isArray(t)) + return r.issues.push({ + expected: "array", + code: "invalid_type", + input: t, + inst: e + }), r; + r.value = Array(t.length); + const i = []; + for (let a = 0; a < t.length; a++) { + const u = t[a], c = n.element._zod.run({ + value: u, + issues: [] + }, o); + c instanceof Promise ? i.push(c.then((l) => Mo(l, r, a))) : Mo(c, r, a); + } + return i.length ? Promise.all(i).then(() => r) : r; + }; +}); +function jn(e, n, r, o, t) { + if (e.issues.length) { + if (t && !(r in o)) + return; + n.issues.push(...Be(r, e.issues)); + } + e.value === void 0 ? r in o && (n.value[r] = void 0) : n.value[r] = e.value; +} +function Cl(e) { + var o, t, i, a; + const n = Object.keys(e.shape); + for (const u of n) + if (!((a = (i = (t = (o = e.shape) == null ? void 0 : o[u]) == null ? void 0 : t._zod) == null ? void 0 : i.traits) != null && a.has("$ZodType"))) + throw new Error(`Invalid element at key "${u}": expected a Zod schema`); + const r = Pa(e.shape); + return { + ...e, + keys: n, + keySet: new Set(n), + numKeys: n.length, + optionalKeys: new Set(r) + }; +} +function Ml(e, n, r, o, t, i) { + const a = [], u = t.keySet, c = t.catchall._zod, l = c.def.type, s = c.optout === "optional"; + for (const d in n) { + if (u.has(d)) + continue; + if (l === "never") { + a.push(d); + continue; + } + const m = c.run({ value: n[d], issues: [] }, o); + m instanceof Promise ? e.push(m.then((p) => jn(p, r, d, n, s))) : jn(m, r, d, n, s); + } + return a.length && r.issues.push({ + code: "unrecognized_keys", + keys: a, + input: n, + inst: i + }), e.length ? Promise.all(e).then(() => r) : r; +} +const Fl = /* @__PURE__ */ v("$ZodObject", (e, n) => { + R.init(e, n); + const r = Object.getOwnPropertyDescriptor(n, "shape"); + if (!(r != null && r.get)) { + const u = n.shape; + Object.defineProperty(n, "shape", { + get: () => { + const c = { ...u }; + return Object.defineProperty(n, "shape", { + value: c + }), c; + } + }); + } + const o = Ft(() => Cl(n)); + K(e._zod, "propValues", () => { + const u = n.shape, c = {}; + for (const l in u) { + const s = u[l]._zod; + if (s.values) { + c[l] ?? (c[l] = /* @__PURE__ */ new Set()); + for (const d of s.values) + c[l].add(d); + } + } + return c; + }); + const t = bt, i = n.catchall; + let a; + e._zod.parse = (u, c) => { + a ?? (a = o.value); + const l = u.value; + if (!t(l)) + return u.issues.push({ + expected: "object", + code: "invalid_type", + input: l, + inst: e + }), u; + u.value = {}; + const s = [], d = a.shape; + for (const m of a.keys) { + const p = d[m], g = p._zod.optout === "optional", f = p._zod.run({ value: l[m], issues: [] }, c); + f instanceof Promise ? s.push(f.then((h) => jn(h, u, m, l, g))) : jn(f, u, m, l, g); + } + return i ? Ml(s, l, u, c, o.value, e) : s.length ? Promise.all(s).then(() => u) : u; + }; +}), Ll = /* @__PURE__ */ v("$ZodObjectJIT", (e, n) => { + Fl.init(e, n); + const r = e._zod.parse, o = Ft(() => Cl(n)), t = (m) => { + var C; + const p = new Xu(["shape", "payload", "ctx"]), g = o.value, f = (B) => { + const A = Or(B); + return `shape[${A}]._zod.run({ value: input[${A}], issues: [] }, ctx)`; + }; + p.write("const input = payload.value;"); + const h = /* @__PURE__ */ Object.create(null); + let b = 0; + for (const B of g.keys) + h[B] = `key_${b++}`; + p.write("const newResult = {};"); + for (const B of g.keys) { + const A = h[B], U = Or(B), I = m[B], _ = ((C = I == null ? void 0 : I._zod) == null ? void 0 : C.optout) === "optional"; + p.write(`const ${A} = ${f(B)};`), _ ? p.write(` + if (${A}.issues.length) { + if (${U} in input) { + payload.issues = payload.issues.concat(${A}.issues.map(iss => ({ + ...iss, + path: iss.path ? [${U}, ...iss.path] : [${U}] + }))); + } + } + + if (${A}.value === undefined) { + if (${U} in input) { + newResult[${U}] = undefined; + } + } else { + newResult[${U}] = ${A}.value; + } + + `) : p.write(` + if (${A}.issues.length) { + payload.issues = payload.issues.concat(${A}.issues.map(iss => ({ + ...iss, + path: iss.path ? [${U}, ...iss.path] : [${U}] + }))); + } + + if (${A}.value === undefined) { + if (${U} in input) { + newResult[${U}] = undefined; + } + } else { + newResult[${U}] = ${A}.value; + } + + `); + } + p.write("payload.value = newResult;"), p.write("return payload;"); + const y = p.compile(); + return (B, A) => y(m, B, A); + }; + let i; + const a = bt, u = !xn.jitless, l = u && Ta.value, s = n.catchall; + let d; + e._zod.parse = (m, p) => { + d ?? (d = o.value); + const g = m.value; + return a(g) ? u && l && (p == null ? void 0 : p.async) === !1 && p.jitless !== !0 ? (i || (i = t(n.shape)), m = i(m, p), s ? Ml([], g, m, p, d, e) : m) : r(m, p) : (m.issues.push({ + expected: "object", + code: "invalid_type", + input: g, + inst: e + }), m); + }; +}); +function Fo(e, n, r, o) { + for (const i of e) + if (i.issues.length === 0) + return n.value = i.value, n; + const t = e.filter((i) => !ct(i)); + return t.length === 1 ? (n.value = t[0].value, t[0]) : (n.issues.push({ + code: "invalid_union", + input: n.value, + inst: r, + errors: e.map((i) => i.issues.map((a) => Ce(a, o, Ie()))) + }), n); +} +const Fn = /* @__PURE__ */ v("$ZodUnion", (e, n) => { + R.init(e, n), K(e._zod, "optin", () => n.options.some((t) => t._zod.optin === "optional") ? "optional" : void 0), K(e._zod, "optout", () => n.options.some((t) => t._zod.optout === "optional") ? "optional" : void 0), K(e._zod, "values", () => { + if (n.options.every((t) => t._zod.values)) + return new Set(n.options.flatMap((t) => Array.from(t._zod.values))); + }), K(e._zod, "pattern", () => { + if (n.options.every((t) => t._zod.pattern)) { + const t = n.options.map((i) => i._zod.pattern); + return new RegExp(`^(${t.map((i) => An(i.source)).join("|")})$`); + } + }); + const r = n.options.length === 1, o = n.options[0]._zod.run; + e._zod.parse = (t, i) => { + if (r) + return o(t, i); + let a = !1; + const u = []; + for (const c of n.options) { + const l = c._zod.run({ + value: t.value, + issues: [] + }, i); + if (l instanceof Promise) + u.push(l), a = !0; + else { + if (l.issues.length === 0) + return l; + u.push(l); + } + } + return a ? Promise.all(u).then((c) => Fo(c, t, e, i)) : Fo(u, t, e, i); + }; +}); +function Lo(e, n, r, o) { + const t = e.filter((i) => i.issues.length === 0); + return t.length === 1 ? (n.value = t[0].value, n) : (t.length === 0 ? n.issues.push({ + code: "invalid_union", + input: n.value, + inst: r, + errors: e.map((i) => i.issues.map((a) => Ce(a, o, Ie()))) + }) : n.issues.push({ + code: "invalid_union", + input: n.value, + inst: r, + errors: [], + inclusive: !1 + }), n); +} +const Rl = /* @__PURE__ */ v("$ZodXor", (e, n) => { + Fn.init(e, n), n.inclusive = !1; + const r = n.options.length === 1, o = n.options[0]._zod.run; + e._zod.parse = (t, i) => { + if (r) + return o(t, i); + let a = !1; + const u = []; + for (const c of n.options) { + const l = c._zod.run({ + value: t.value, + issues: [] + }, i); + l instanceof Promise ? (u.push(l), a = !0) : u.push(l); + } + return a ? Promise.all(u).then((c) => Lo(c, t, e, i)) : Lo(u, t, e, i); + }; +}), Bl = /* @__PURE__ */ v("$ZodDiscriminatedUnion", (e, n) => { + n.inclusive = !1, Fn.init(e, n); + const r = e._zod.parse; + K(e._zod, "propValues", () => { + const t = {}; + for (const i of n.options) { + const a = i._zod.propValues; + if (!a || Object.keys(a).length === 0) + throw new Error(`Invalid discriminated union option at index "${n.options.indexOf(i)}"`); + for (const [u, c] of Object.entries(a)) { + t[u] || (t[u] = /* @__PURE__ */ new Set()); + for (const l of c) + t[u].add(l); + } + } + return t; + }); + const o = Ft(() => { + var a; + const t = n.options, i = /* @__PURE__ */ new Map(); + for (const u of t) { + const c = (a = u._zod.propValues) == null ? void 0 : a[n.discriminator]; + if (!c || c.size === 0) + throw new Error(`Invalid discriminated union option at index "${n.options.indexOf(u)}"`); + for (const l of c) { + if (i.has(l)) + throw new Error(`Duplicate discriminator value "${String(l)}"`); + i.set(l, u); + } + } + return i; + }); + e._zod.parse = (t, i) => { + const a = t.value; + if (!bt(a)) + return t.issues.push({ + code: "invalid_type", + expected: "object", + input: a, + inst: e + }), t; + const u = o.value.get(a == null ? void 0 : a[n.discriminator]); + return u ? u._zod.run(t, i) : n.unionFallback ? r(t, i) : (t.issues.push({ + code: "invalid_union", + errors: [], + note: "No matching discriminator", + discriminator: n.discriminator, + input: a, + path: [n.discriminator], + inst: e + }), t); + }; +}), Jl = /* @__PURE__ */ v("$ZodIntersection", (e, n) => { + R.init(e, n), e._zod.parse = (r, o) => { + const t = r.value, i = n.left._zod.run({ value: t, issues: [] }, o), a = n.right._zod.run({ value: t, issues: [] }, o); + return i instanceof Promise || a instanceof Promise ? Promise.all([i, a]).then(([c, l]) => Ro(r, c, l)) : Ro(r, i, a); + }; +}); +function Tr(e, n) { + if (e === n) + return { valid: !0, data: e }; + if (e instanceof Date && n instanceof Date && +e == +n) + return { valid: !0, data: e }; + if (ft(e) && ft(n)) { + const r = Object.keys(n), o = Object.keys(e).filter((i) => r.indexOf(i) !== -1), t = { ...e, ...n }; + for (const i of o) { + const a = Tr(e[i], n[i]); + if (!a.valid) + return { + valid: !1, + mergeErrorPath: [i, ...a.mergeErrorPath] + }; + t[i] = a.data; + } + return { valid: !0, data: t }; + } + if (Array.isArray(e) && Array.isArray(n)) { + if (e.length !== n.length) + return { valid: !1, mergeErrorPath: [] }; + const r = []; + for (let o = 0; o < e.length; o++) { + const t = e[o], i = n[o], a = Tr(t, i); + if (!a.valid) + return { + valid: !1, + mergeErrorPath: [o, ...a.mergeErrorPath] + }; + r.push(a.data); + } + return { valid: !0, data: r }; + } + return { valid: !1, mergeErrorPath: [] }; +} +function Ro(e, n, r) { + const o = /* @__PURE__ */ new Map(); + let t; + for (const u of n.issues) + if (u.code === "unrecognized_keys") { + t ?? (t = u); + for (const c of u.keys) + o.has(c) || o.set(c, {}), o.get(c).l = !0; + } else + e.issues.push(u); + for (const u of r.issues) + if (u.code === "unrecognized_keys") + for (const c of u.keys) + o.has(c) || o.set(c, {}), o.get(c).r = !0; + else + e.issues.push(u); + const i = [...o].filter(([, u]) => u.l && u.r).map(([u]) => u); + if (i.length && t && e.issues.push({ ...t, keys: i }), ct(e)) + return e; + const a = Tr(n.value, r.value); + if (!a.valid) + throw new Error(`Unmergable intersection. Error path: ${JSON.stringify(a.mergeErrorPath)}`); + return e.value = a.data, e; +} +const oi = /* @__PURE__ */ v("$ZodTuple", (e, n) => { + R.init(e, n); + const r = n.items; + e._zod.parse = (o, t) => { + const i = o.value; + if (!Array.isArray(i)) + return o.issues.push({ + input: i, + inst: e, + expected: "tuple", + code: "invalid_type" + }), o; + o.value = []; + const a = [], u = [...r].reverse().findIndex((s) => s._zod.optin !== "optional"), c = u === -1 ? 0 : r.length - u; + if (!n.rest) { + const s = i.length > r.length, d = i.length < c - 1; + if (s || d) + return o.issues.push({ + ...s ? { code: "too_big", maximum: r.length, inclusive: !0 } : { code: "too_small", minimum: r.length }, + input: i, + inst: e, + origin: "array" + }), o; + } + let l = -1; + for (const s of r) { + if (l++, l >= i.length && l >= c) + continue; + const d = s._zod.run({ + value: i[l], + issues: [] + }, t); + d instanceof Promise ? a.push(d.then((m) => dn(m, o, l))) : dn(d, o, l); + } + if (n.rest) { + const s = i.slice(r.length); + for (const d of s) { + l++; + const m = n.rest._zod.run({ + value: d, + issues: [] + }, t); + m instanceof Promise ? a.push(m.then((p) => dn(p, o, l))) : dn(m, o, l); + } + } + return a.length ? Promise.all(a).then(() => o) : o; + }; +}); +function dn(e, n, r) { + e.issues.length && n.issues.push(...Be(r, e.issues)), n.value[r] = e.value; +} +const Vl = /* @__PURE__ */ v("$ZodRecord", (e, n) => { + R.init(e, n), e._zod.parse = (r, o) => { + const t = r.value; + if (!ft(t)) + return r.issues.push({ + expected: "record", + code: "invalid_type", + input: t, + inst: e + }), r; + const i = [], a = n.keyType._zod.values; + if (a) { + r.value = {}; + const u = /* @__PURE__ */ new Set(); + for (const l of a) + if (typeof l == "string" || typeof l == "number" || typeof l == "symbol") { + u.add(typeof l == "number" ? l.toString() : l); + const s = n.valueType._zod.run({ value: t[l], issues: [] }, o); + s instanceof Promise ? i.push(s.then((d) => { + d.issues.length && r.issues.push(...Be(l, d.issues)), r.value[l] = d.value; + })) : (s.issues.length && r.issues.push(...Be(l, s.issues)), r.value[l] = s.value); + } + let c; + for (const l in t) + u.has(l) || (c = c ?? [], c.push(l)); + c && c.length > 0 && r.issues.push({ + code: "unrecognized_keys", + input: t, + inst: e, + keys: c + }); + } else { + r.value = {}; + for (const u of Reflect.ownKeys(t)) { + if (u === "__proto__") + continue; + let c = n.keyType._zod.run({ value: u, issues: [] }, o); + if (c instanceof Promise) + throw new Error("Async schemas not supported in object keys currently"); + if (typeof u == "string" && Hr.test(u) && c.issues.length) { + const d = n.keyType._zod.run({ value: Number(u), issues: [] }, o); + if (d instanceof Promise) + throw new Error("Async schemas not supported in object keys currently"); + d.issues.length === 0 && (c = d); + } + if (c.issues.length) { + n.mode === "loose" ? r.value[u] = t[u] : r.issues.push({ + code: "invalid_key", + origin: "record", + issues: c.issues.map((d) => Ce(d, o, Ie())), + input: u, + path: [u], + inst: e + }); + continue; + } + const s = n.valueType._zod.run({ value: t[u], issues: [] }, o); + s instanceof Promise ? i.push(s.then((d) => { + d.issues.length && r.issues.push(...Be(u, d.issues)), r.value[c.value] = d.value; + })) : (s.issues.length && r.issues.push(...Be(u, s.issues)), r.value[c.value] = s.value); + } + } + return i.length ? Promise.all(i).then(() => r) : r; + }; +}), ql = /* @__PURE__ */ v("$ZodMap", (e, n) => { + R.init(e, n), e._zod.parse = (r, o) => { + const t = r.value; + if (!(t instanceof Map)) + return r.issues.push({ + expected: "map", + code: "invalid_type", + input: t, + inst: e + }), r; + const i = []; + r.value = /* @__PURE__ */ new Map(); + for (const [a, u] of t) { + const c = n.keyType._zod.run({ value: a, issues: [] }, o), l = n.valueType._zod.run({ value: u, issues: [] }, o); + c instanceof Promise || l instanceof Promise ? i.push(Promise.all([c, l]).then(([s, d]) => { + Bo(s, d, r, a, t, e, o); + })) : Bo(c, l, r, a, t, e, o); + } + return i.length ? Promise.all(i).then(() => r) : r; + }; +}); +function Bo(e, n, r, o, t, i, a) { + e.issues.length && (On.has(typeof o) ? r.issues.push(...Be(o, e.issues)) : r.issues.push({ + code: "invalid_key", + origin: "map", + input: t, + inst: i, + issues: e.issues.map((u) => Ce(u, a, Ie())) + })), n.issues.length && (On.has(typeof o) ? r.issues.push(...Be(o, n.issues)) : r.issues.push({ + origin: "map", + code: "invalid_element", + input: t, + inst: i, + key: o, + issues: n.issues.map((u) => Ce(u, a, Ie())) + })), r.value.set(e.value, n.value); +} +const Yl = /* @__PURE__ */ v("$ZodSet", (e, n) => { + R.init(e, n), e._zod.parse = (r, o) => { + const t = r.value; + if (!(t instanceof Set)) + return r.issues.push({ + input: t, + inst: e, + expected: "set", + code: "invalid_type" + }), r; + const i = []; + r.value = /* @__PURE__ */ new Set(); + for (const a of t) { + const u = n.valueType._zod.run({ value: a, issues: [] }, o); + u instanceof Promise ? i.push(u.then((c) => Jo(c, r))) : Jo(u, r); + } + return i.length ? Promise.all(i).then(() => r) : r; + }; +}); +function Jo(e, n) { + e.issues.length && n.issues.push(...e.issues), n.value.add(e.value); +} +const Kl = /* @__PURE__ */ v("$ZodEnum", (e, n) => { + R.init(e, n); + const r = Zr(n.entries), o = new Set(r); + e._zod.values = o, e._zod.pattern = new RegExp(`^(${r.filter((t) => On.has(typeof t)).map((t) => typeof t == "string" ? Ge(t) : t.toString()).join("|")})$`), e._zod.parse = (t, i) => { + const a = t.value; + return o.has(a) || t.issues.push({ + code: "invalid_value", + values: r, + input: a, + inst: e + }), t; + }; +}), Wl = /* @__PURE__ */ v("$ZodLiteral", (e, n) => { + if (R.init(e, n), n.values.length === 0) + throw new Error("Cannot create literal schema with no valid values"); + const r = new Set(n.values); + e._zod.values = r, e._zod.pattern = new RegExp(`^(${n.values.map((o) => typeof o == "string" ? Ge(o) : o ? Ge(o.toString()) : String(o)).join("|")})$`), e._zod.parse = (o, t) => { + const i = o.value; + return r.has(i) || o.issues.push({ + code: "invalid_value", + values: n.values, + input: i, + inst: e + }), o; + }; +}), Gl = /* @__PURE__ */ v("$ZodFile", (e, n) => { + R.init(e, n), e._zod.parse = (r, o) => { + const t = r.value; + return t instanceof File || r.issues.push({ + expected: "file", + code: "invalid_type", + input: t, + inst: e + }), r; + }; +}), Hl = /* @__PURE__ */ v("$ZodTransform", (e, n) => { + R.init(e, n), e._zod.parse = (r, o) => { + if (o.direction === "backward") + throw new Nn(e.constructor.name); + const t = n.transform(r.value, r); + if (o.async) + return (t instanceof Promise ? t : Promise.resolve(t)).then((a) => (r.value = a, r)); + if (t instanceof Promise) + throw new dt(); + return r.value = t, r; + }; +}); +function Vo(e, n) { + return e.issues.length && n === void 0 ? { issues: [], value: void 0 } : e; +} +const ai = /* @__PURE__ */ v("$ZodOptional", (e, n) => { + R.init(e, n), e._zod.optin = "optional", e._zod.optout = "optional", K(e._zod, "values", () => n.innerType._zod.values ? /* @__PURE__ */ new Set([...n.innerType._zod.values, void 0]) : void 0), K(e._zod, "pattern", () => { + const r = n.innerType._zod.pattern; + return r ? new RegExp(`^(${An(r.source)})?$`) : void 0; + }), e._zod.parse = (r, o) => { + if (n.innerType._zod.optin === "optional") { + const t = n.innerType._zod.run(r, o); + return t instanceof Promise ? t.then((i) => Vo(i, r.value)) : Vo(t, r.value); + } + return r.value === void 0 ? r : n.innerType._zod.run(r, o); + }; +}), Xl = /* @__PURE__ */ v("$ZodExactOptional", (e, n) => { + ai.init(e, n), K(e._zod, "values", () => n.innerType._zod.values), K(e._zod, "pattern", () => n.innerType._zod.pattern), e._zod.parse = (r, o) => n.innerType._zod.run(r, o); +}), Ql = /* @__PURE__ */ v("$ZodNullable", (e, n) => { + R.init(e, n), K(e._zod, "optin", () => n.innerType._zod.optin), K(e._zod, "optout", () => n.innerType._zod.optout), K(e._zod, "pattern", () => { + const r = n.innerType._zod.pattern; + return r ? new RegExp(`^(${An(r.source)}|null)$`) : void 0; + }), K(e._zod, "values", () => n.innerType._zod.values ? /* @__PURE__ */ new Set([...n.innerType._zod.values, null]) : void 0), e._zod.parse = (r, o) => r.value === null ? r : n.innerType._zod.run(r, o); +}), ec = /* @__PURE__ */ v("$ZodDefault", (e, n) => { + R.init(e, n), e._zod.optin = "optional", K(e._zod, "values", () => n.innerType._zod.values), e._zod.parse = (r, o) => { + if (o.direction === "backward") + return n.innerType._zod.run(r, o); + if (r.value === void 0) + return r.value = n.defaultValue, r; + const t = n.innerType._zod.run(r, o); + return t instanceof Promise ? t.then((i) => qo(i, n)) : qo(t, n); + }; +}); +function qo(e, n) { + return e.value === void 0 && (e.value = n.defaultValue), e; +} +const tc = /* @__PURE__ */ v("$ZodPrefault", (e, n) => { + R.init(e, n), e._zod.optin = "optional", K(e._zod, "values", () => n.innerType._zod.values), e._zod.parse = (r, o) => (o.direction === "backward" || r.value === void 0 && (r.value = n.defaultValue), n.innerType._zod.run(r, o)); +}), nc = /* @__PURE__ */ v("$ZodNonOptional", (e, n) => { + R.init(e, n), K(e._zod, "values", () => { + const r = n.innerType._zod.values; + return r ? new Set([...r].filter((o) => o !== void 0)) : void 0; + }), e._zod.parse = (r, o) => { + const t = n.innerType._zod.run(r, o); + return t instanceof Promise ? t.then((i) => Yo(i, e)) : Yo(t, e); + }; +}); +function Yo(e, n) { + return !e.issues.length && e.value === void 0 && e.issues.push({ + code: "invalid_type", + expected: "nonoptional", + input: e.value, + inst: n + }), e; +} +const rc = /* @__PURE__ */ v("$ZodSuccess", (e, n) => { + R.init(e, n), e._zod.parse = (r, o) => { + if (o.direction === "backward") + throw new Nn("ZodSuccess"); + const t = n.innerType._zod.run(r, o); + return t instanceof Promise ? t.then((i) => (r.value = i.issues.length === 0, r)) : (r.value = t.issues.length === 0, r); + }; +}), ic = /* @__PURE__ */ v("$ZodCatch", (e, n) => { + R.init(e, n), K(e._zod, "optin", () => n.innerType._zod.optin), K(e._zod, "optout", () => n.innerType._zod.optout), K(e._zod, "values", () => n.innerType._zod.values), e._zod.parse = (r, o) => { + if (o.direction === "backward") + return n.innerType._zod.run(r, o); + const t = n.innerType._zod.run(r, o); + return t instanceof Promise ? t.then((i) => (r.value = i.value, i.issues.length && (r.value = n.catchValue({ + ...r, + error: { + issues: i.issues.map((a) => Ce(a, o, Ie())) + }, + input: r.value + }), r.issues = []), r)) : (r.value = t.value, t.issues.length && (r.value = n.catchValue({ + ...r, + error: { + issues: t.issues.map((i) => Ce(i, o, Ie())) + }, + input: r.value + }), r.issues = []), r); + }; +}), oc = /* @__PURE__ */ v("$ZodNaN", (e, n) => { + R.init(e, n), e._zod.parse = (r, o) => ((typeof r.value != "number" || !Number.isNaN(r.value)) && r.issues.push({ + input: r.value, + inst: e, + expected: "nan", + code: "invalid_type" + }), r); +}), ac = /* @__PURE__ */ v("$ZodPipe", (e, n) => { + R.init(e, n), K(e._zod, "values", () => n.in._zod.values), K(e._zod, "optin", () => n.in._zod.optin), K(e._zod, "optout", () => n.out._zod.optout), K(e._zod, "propValues", () => n.in._zod.propValues), e._zod.parse = (r, o) => { + if (o.direction === "backward") { + const i = n.out._zod.run(r, o); + return i instanceof Promise ? i.then((a) => fn(a, n.in, o)) : fn(i, n.in, o); + } + const t = n.in._zod.run(r, o); + return t instanceof Promise ? t.then((i) => fn(i, n.out, o)) : fn(t, n.out, o); + }; +}); +function fn(e, n, r) { + return e.issues.length ? (e.aborted = !0, e) : n._zod.run({ value: e.value, issues: e.issues }, r); +} +const ui = /* @__PURE__ */ v("$ZodCodec", (e, n) => { + R.init(e, n), K(e._zod, "values", () => n.in._zod.values), K(e._zod, "optin", () => n.in._zod.optin), K(e._zod, "optout", () => n.out._zod.optout), K(e._zod, "propValues", () => n.in._zod.propValues), e._zod.parse = (r, o) => { + if ((o.direction || "forward") === "forward") { + const i = n.in._zod.run(r, o); + return i instanceof Promise ? i.then((a) => mn(a, n, o)) : mn(i, n, o); + } else { + const i = n.out._zod.run(r, o); + return i instanceof Promise ? i.then((a) => mn(a, n, o)) : mn(i, n, o); + } + }; +}); +function mn(e, n, r) { + if (e.issues.length) + return e.aborted = !0, e; + if ((r.direction || "forward") === "forward") { + const t = n.transform(e.value, e); + return t instanceof Promise ? t.then((i) => vn(e, i, n.out, r)) : vn(e, t, n.out, r); + } else { + const t = n.reverseTransform(e.value, e); + return t instanceof Promise ? t.then((i) => vn(e, i, n.in, r)) : vn(e, t, n.in, r); + } +} +function vn(e, n, r, o) { + return e.issues.length ? (e.aborted = !0, e) : r._zod.run({ value: n, issues: e.issues }, o); +} +const uc = /* @__PURE__ */ v("$ZodReadonly", (e, n) => { + R.init(e, n), K(e._zod, "propValues", () => n.innerType._zod.propValues), K(e._zod, "values", () => n.innerType._zod.values), K(e._zod, "optin", () => { + var r, o; + return (o = (r = n.innerType) == null ? void 0 : r._zod) == null ? void 0 : o.optin; + }), K(e._zod, "optout", () => { + var r, o; + return (o = (r = n.innerType) == null ? void 0 : r._zod) == null ? void 0 : o.optout; + }), e._zod.parse = (r, o) => { + if (o.direction === "backward") + return n.innerType._zod.run(r, o); + const t = n.innerType._zod.run(r, o); + return t instanceof Promise ? t.then(Ko) : Ko(t); + }; +}); +function Ko(e) { + return e.value = Object.freeze(e.value), e; +} +const lc = /* @__PURE__ */ v("$ZodTemplateLiteral", (e, n) => { + R.init(e, n); + const r = []; + for (const o of n.parts) + if (typeof o == "object" && o !== null) { + if (!o._zod.pattern) + throw new Error(`Invalid template literal part, no pattern found: ${[...o._zod.traits].shift()}`); + const t = o._zod.pattern instanceof RegExp ? o._zod.pattern.source : o._zod.pattern; + if (!t) + throw new Error(`Invalid template literal part: ${o._zod.traits}`); + const i = t.startsWith("^") ? 1 : 0, a = t.endsWith("$") ? t.length - 1 : t.length; + r.push(t.slice(i, a)); + } else if (o === null || Ea.has(typeof o)) + r.push(Ge(`${o}`)); + else + throw new Error(`Invalid template literal part: ${o}`); + e._zod.pattern = new RegExp(`^${r.join("")}$`), e._zod.parse = (o, t) => typeof o.value != "string" ? (o.issues.push({ + input: o.value, + inst: e, + expected: "string", + code: "invalid_type" + }), o) : (e._zod.pattern.lastIndex = 0, e._zod.pattern.test(o.value) || o.issues.push({ + input: o.value, + inst: e, + code: "invalid_format", + format: n.format ?? "template_literal", + pattern: e._zod.pattern.source + }), o); +}), cc = /* @__PURE__ */ v("$ZodFunction", (e, n) => (R.init(e, n), e._def = n, e._zod.def = n, e.implement = (r) => { + if (typeof r != "function") + throw new Error("implement() must be called with a function"); + return function(...o) { + const t = e._def.input ? jr(e._def.input, o) : o, i = Reflect.apply(r, this, t); + return e._def.output ? jr(e._def.output, i) : i; + }; +}, e.implementAsync = (r) => { + if (typeof r != "function") + throw new Error("implementAsync() must be called with a function"); + return async function(...o) { + const t = e._def.input ? await Ur(e._def.input, o) : o, i = await Reflect.apply(r, this, t); + return e._def.output ? await Ur(e._def.output, i) : i; + }; +}, e._zod.parse = (r, o) => typeof r.value != "function" ? (r.issues.push({ + code: "invalid_type", + expected: "function", + input: r.value, + inst: e +}), r) : (e._def.output && e._def.output._zod.def.type === "promise" ? r.value = e.implementAsync(r.value) : r.value = e.implement(r.value), r), e.input = (...r) => { + const o = e.constructor; + return Array.isArray(r[0]) ? new o({ + type: "function", + input: new oi({ + type: "tuple", + items: r[0], + rest: r[1] + }), + output: e._def.output + }) : new o({ + type: "function", + input: r[0], + output: e._def.output + }); +}, e.output = (r) => { + const o = e.constructor; + return new o({ + type: "function", + input: e._def.input, + output: r + }); +}, e)), sc = /* @__PURE__ */ v("$ZodPromise", (e, n) => { + R.init(e, n), e._zod.parse = (r, o) => Promise.resolve(r.value).then((t) => n.innerType._zod.run({ value: t, issues: [] }, o)); +}), dc = /* @__PURE__ */ v("$ZodLazy", (e, n) => { + R.init(e, n), K(e._zod, "innerType", () => n.getter()), K(e._zod, "pattern", () => { + var r, o; + return (o = (r = e._zod.innerType) == null ? void 0 : r._zod) == null ? void 0 : o.pattern; + }), K(e._zod, "propValues", () => { + var r, o; + return (o = (r = e._zod.innerType) == null ? void 0 : r._zod) == null ? void 0 : o.propValues; + }), K(e._zod, "optin", () => { + var r, o; + return ((o = (r = e._zod.innerType) == null ? void 0 : r._zod) == null ? void 0 : o.optin) ?? void 0; + }), K(e._zod, "optout", () => { + var r, o; + return ((o = (r = e._zod.innerType) == null ? void 0 : r._zod) == null ? void 0 : o.optout) ?? void 0; + }), e._zod.parse = (r, o) => e._zod.innerType._zod.run(r, o); +}), fc = /* @__PURE__ */ v("$ZodCustom", (e, n) => { + se.init(e, n), R.init(e, n), e._zod.parse = (r, o) => r, e._zod.check = (r) => { + const o = r.value, t = n.fn(o); + if (t instanceof Promise) + return t.then((i) => Wo(i, r, o, e)); + Wo(t, r, o, e); + }; +}); +function Wo(e, n, r, o) { + if (!e) { + const t = { + code: "custom", + input: r, + inst: o, + // incorporates params.error into issue reporting + path: [...o._zod.def.path ?? []], + // incorporates params.error into issue reporting + continue: !o._zod.def.abort + // params: inst._zod.def.params, + }; + o._zod.def.params && (t.params = o._zod.def.params), n.issues.push(_t(t)); + } +} +const iv = () => { + const e = { + string: { unit: "حرف", verb: "أن يحوي" }, + file: { unit: "بايت", verb: "أن يحوي" }, + array: { unit: "عنصر", verb: "أن يحوي" }, + set: { unit: "عنصر", verb: "أن يحوي" } + }; + function n(t) { + return e[t] ?? null; + } + const r = { + regex: "مدخل", + email: "بريد إلكتروني", + url: "رابط", + emoji: "إيموجي", + uuid: "UUID", + uuidv4: "UUIDv4", + uuidv6: "UUIDv6", + nanoid: "nanoid", + guid: "GUID", + cuid: "cuid", + cuid2: "cuid2", + ulid: "ULID", + xid: "XID", + ksuid: "KSUID", + datetime: "تاريخ ووقت بمعيار ISO", + date: "تاريخ بمعيار ISO", + time: "وقت بمعيار ISO", + duration: "مدة بمعيار ISO", + ipv4: "عنوان IPv4", + ipv6: "عنوان IPv6", + cidrv4: "مدى عناوين بصيغة IPv4", + cidrv6: "مدى عناوين بصيغة IPv6", + base64: "نَص بترميز base64-encoded", + base64url: "نَص بترميز base64url-encoded", + json_string: "نَص على هيئة JSON", + e164: "رقم هاتف بمعيار E.164", + jwt: "JWT", + template_literal: "مدخل" + }, o = { + nan: "NaN" + }; + return (t) => { + switch (t.code) { + case "invalid_type": { + const i = o[t.expected] ?? t.expected, a = F(t.input), u = o[a] ?? a; + return /^[A-Z]/.test(t.expected) ? `مدخلات غير مقبولة: يفترض إدخال instanceof ${t.expected}، ولكن تم إدخال ${u}` : `مدخلات غير مقبولة: يفترض إدخال ${i}، ولكن تم إدخال ${u}`; + } + case "invalid_value": + return t.values.length === 1 ? `مدخلات غير مقبولة: يفترض إدخال ${M(t.values[0])}` : `اختيار غير مقبول: يتوقع انتقاء أحد هذه الخيارات: ${k(t.values, "|")}`; + case "too_big": { + const i = t.inclusive ? "<=" : "<", a = n(t.origin); + return a ? ` أكبر من اللازم: يفترض أن تكون ${t.origin ?? "القيمة"} ${i} ${t.maximum.toString()} ${a.unit ?? "عنصر"}` : `أكبر من اللازم: يفترض أن تكون ${t.origin ?? "القيمة"} ${i} ${t.maximum.toString()}`; + } + case "too_small": { + const i = t.inclusive ? ">=" : ">", a = n(t.origin); + return a ? `أصغر من اللازم: يفترض لـ ${t.origin} أن يكون ${i} ${t.minimum.toString()} ${a.unit}` : `أصغر من اللازم: يفترض لـ ${t.origin} أن يكون ${i} ${t.minimum.toString()}`; + } + case "invalid_format": { + const i = t; + return i.format === "starts_with" ? `نَص غير مقبول: يجب أن يبدأ بـ "${t.prefix}"` : i.format === "ends_with" ? `نَص غير مقبول: يجب أن ينتهي بـ "${i.suffix}"` : i.format === "includes" ? `نَص غير مقبول: يجب أن يتضمَّن "${i.includes}"` : i.format === "regex" ? `نَص غير مقبول: يجب أن يطابق النمط ${i.pattern}` : `${r[i.format] ?? t.format} غير مقبول`; + } + case "not_multiple_of": + return `رقم غير مقبول: يجب أن يكون من مضاعفات ${t.divisor}`; + case "unrecognized_keys": + return `معرف${t.keys.length > 1 ? "ات" : ""} غريب${t.keys.length > 1 ? "ة" : ""}: ${k(t.keys, "، ")}`; + case "invalid_key": + return `معرف غير مقبول في ${t.origin}`; + case "invalid_union": + return "مدخل غير مقبول"; + case "invalid_element": + return `مدخل غير مقبول في ${t.origin}`; + default: + return "مدخل غير مقبول"; + } + }; +}; +function ov() { + return { + localeError: iv() + }; +} +const av = () => { + const e = { + string: { unit: "simvol", verb: "olmalıdır" }, + file: { unit: "bayt", verb: "olmalıdır" }, + array: { unit: "element", verb: "olmalıdır" }, + set: { unit: "element", verb: "olmalıdır" } + }; + function n(t) { + return e[t] ?? null; + } + const r = { + regex: "input", + email: "email address", + url: "URL", + emoji: "emoji", + uuid: "UUID", + uuidv4: "UUIDv4", + uuidv6: "UUIDv6", + nanoid: "nanoid", + guid: "GUID", + cuid: "cuid", + cuid2: "cuid2", + ulid: "ULID", + xid: "XID", + ksuid: "KSUID", + datetime: "ISO datetime", + date: "ISO date", + time: "ISO time", + duration: "ISO duration", + ipv4: "IPv4 address", + ipv6: "IPv6 address", + cidrv4: "IPv4 range", + cidrv6: "IPv6 range", + base64: "base64-encoded string", + base64url: "base64url-encoded string", + json_string: "JSON string", + e164: "E.164 number", + jwt: "JWT", + template_literal: "input" + }, o = { + nan: "NaN" + }; + return (t) => { + switch (t.code) { + case "invalid_type": { + const i = o[t.expected] ?? t.expected, a = F(t.input), u = o[a] ?? a; + return /^[A-Z]/.test(t.expected) ? `Yanlış dəyər: gözlənilən instanceof ${t.expected}, daxil olan ${u}` : `Yanlış dəyər: gözlənilən ${i}, daxil olan ${u}`; + } + case "invalid_value": + return t.values.length === 1 ? `Yanlış dəyər: gözlənilən ${M(t.values[0])}` : `Yanlış seçim: aşağıdakılardan biri olmalıdır: ${k(t.values, "|")}`; + case "too_big": { + const i = t.inclusive ? "<=" : "<", a = n(t.origin); + return a ? `Çox böyük: gözlənilən ${t.origin ?? "dəyər"} ${i}${t.maximum.toString()} ${a.unit ?? "element"}` : `Çox böyük: gözlənilən ${t.origin ?? "dəyər"} ${i}${t.maximum.toString()}`; + } + case "too_small": { + const i = t.inclusive ? ">=" : ">", a = n(t.origin); + return a ? `Çox kiçik: gözlənilən ${t.origin} ${i}${t.minimum.toString()} ${a.unit}` : `Çox kiçik: gözlənilən ${t.origin} ${i}${t.minimum.toString()}`; + } + case "invalid_format": { + const i = t; + return i.format === "starts_with" ? `Yanlış mətn: "${i.prefix}" ilə başlamalıdır` : i.format === "ends_with" ? `Yanlış mətn: "${i.suffix}" ilə bitməlidir` : i.format === "includes" ? `Yanlış mətn: "${i.includes}" daxil olmalıdır` : i.format === "regex" ? `Yanlış mətn: ${i.pattern} şablonuna uyğun olmalıdır` : `Yanlış ${r[i.format] ?? t.format}`; + } + case "not_multiple_of": + return `Yanlış ədəd: ${t.divisor} ilə bölünə bilən olmalıdır`; + case "unrecognized_keys": + return `Tanınmayan açar${t.keys.length > 1 ? "lar" : ""}: ${k(t.keys, ", ")}`; + case "invalid_key": + return `${t.origin} daxilində yanlış açar`; + case "invalid_union": + return "Yanlış dəyər"; + case "invalid_element": + return `${t.origin} daxilində yanlış dəyər`; + default: + return "Yanlış dəyər"; + } + }; +}; +function uv() { + return { + localeError: av() + }; +} +function Go(e, n, r, o) { + const t = Math.abs(e), i = t % 10, a = t % 100; + return a >= 11 && a <= 19 ? o : i === 1 ? n : i >= 2 && i <= 4 ? r : o; +} +const lv = () => { + const e = { + string: { + unit: { + one: "сімвал", + few: "сімвалы", + many: "сімвалаў" + }, + verb: "мець" + }, + array: { + unit: { + one: "элемент", + few: "элементы", + many: "элементаў" + }, + verb: "мець" + }, + set: { + unit: { + one: "элемент", + few: "элементы", + many: "элементаў" + }, + verb: "мець" + }, + file: { + unit: { + one: "байт", + few: "байты", + many: "байтаў" + }, + verb: "мець" + } + }; + function n(t) { + return e[t] ?? null; + } + const r = { + regex: "увод", + email: "email адрас", + url: "URL", + emoji: "эмодзі", + uuid: "UUID", + uuidv4: "UUIDv4", + uuidv6: "UUIDv6", + nanoid: "nanoid", + guid: "GUID", + cuid: "cuid", + cuid2: "cuid2", + ulid: "ULID", + xid: "XID", + ksuid: "KSUID", + datetime: "ISO дата і час", + date: "ISO дата", + time: "ISO час", + duration: "ISO працягласць", + ipv4: "IPv4 адрас", + ipv6: "IPv6 адрас", + cidrv4: "IPv4 дыяпазон", + cidrv6: "IPv6 дыяпазон", + base64: "радок у фармаце base64", + base64url: "радок у фармаце base64url", + json_string: "JSON радок", + e164: "нумар E.164", + jwt: "JWT", + template_literal: "увод" + }, o = { + nan: "NaN", + number: "лік", + array: "масіў" + }; + return (t) => { + switch (t.code) { + case "invalid_type": { + const i = o[t.expected] ?? t.expected, a = F(t.input), u = o[a] ?? a; + return /^[A-Z]/.test(t.expected) ? `Няправільны ўвод: чакаўся instanceof ${t.expected}, атрымана ${u}` : `Няправільны ўвод: чакаўся ${i}, атрымана ${u}`; + } + case "invalid_value": + return t.values.length === 1 ? `Няправільны ўвод: чакалася ${M(t.values[0])}` : `Няправільны варыянт: чакаўся адзін з ${k(t.values, "|")}`; + case "too_big": { + const i = t.inclusive ? "<=" : "<", a = n(t.origin); + if (a) { + const u = Number(t.maximum), c = Go(u, a.unit.one, a.unit.few, a.unit.many); + return `Занадта вялікі: чакалася, што ${t.origin ?? "значэнне"} павінна ${a.verb} ${i}${t.maximum.toString()} ${c}`; + } + return `Занадта вялікі: чакалася, што ${t.origin ?? "значэнне"} павінна быць ${i}${t.maximum.toString()}`; + } + case "too_small": { + const i = t.inclusive ? ">=" : ">", a = n(t.origin); + if (a) { + const u = Number(t.minimum), c = Go(u, a.unit.one, a.unit.few, a.unit.many); + return `Занадта малы: чакалася, што ${t.origin} павінна ${a.verb} ${i}${t.minimum.toString()} ${c}`; + } + return `Занадта малы: чакалася, што ${t.origin} павінна быць ${i}${t.minimum.toString()}`; + } + case "invalid_format": { + const i = t; + return i.format === "starts_with" ? `Няправільны радок: павінен пачынацца з "${i.prefix}"` : i.format === "ends_with" ? `Няправільны радок: павінен заканчвацца на "${i.suffix}"` : i.format === "includes" ? `Няправільны радок: павінен змяшчаць "${i.includes}"` : i.format === "regex" ? `Няправільны радок: павінен адпавядаць шаблону ${i.pattern}` : `Няправільны ${r[i.format] ?? t.format}`; + } + case "not_multiple_of": + return `Няправільны лік: павінен быць кратным ${t.divisor}`; + case "unrecognized_keys": + return `Нераспазнаны ${t.keys.length > 1 ? "ключы" : "ключ"}: ${k(t.keys, ", ")}`; + case "invalid_key": + return `Няправільны ключ у ${t.origin}`; + case "invalid_union": + return "Няправільны ўвод"; + case "invalid_element": + return `Няправільнае значэнне ў ${t.origin}`; + default: + return "Няправільны ўвод"; + } + }; +}; +function cv() { + return { + localeError: lv() + }; +} +const sv = () => { + const e = { + string: { unit: "символа", verb: "да съдържа" }, + file: { unit: "байта", verb: "да съдържа" }, + array: { unit: "елемента", verb: "да съдържа" }, + set: { unit: "елемента", verb: "да съдържа" } + }; + function n(t) { + return e[t] ?? null; + } + const r = { + regex: "вход", + email: "имейл адрес", + url: "URL", + emoji: "емоджи", + uuid: "UUID", + uuidv4: "UUIDv4", + uuidv6: "UUIDv6", + nanoid: "nanoid", + guid: "GUID", + cuid: "cuid", + cuid2: "cuid2", + ulid: "ULID", + xid: "XID", + ksuid: "KSUID", + datetime: "ISO време", + date: "ISO дата", + time: "ISO време", + duration: "ISO продължителност", + ipv4: "IPv4 адрес", + ipv6: "IPv6 адрес", + cidrv4: "IPv4 диапазон", + cidrv6: "IPv6 диапазон", + base64: "base64-кодиран низ", + base64url: "base64url-кодиран низ", + json_string: "JSON низ", + e164: "E.164 номер", + jwt: "JWT", + template_literal: "вход" + }, o = { + nan: "NaN", + number: "число", + array: "масив" + }; + return (t) => { + switch (t.code) { + case "invalid_type": { + const i = o[t.expected] ?? t.expected, a = F(t.input), u = o[a] ?? a; + return /^[A-Z]/.test(t.expected) ? `Невалиден вход: очакван instanceof ${t.expected}, получен ${u}` : `Невалиден вход: очакван ${i}, получен ${u}`; + } + case "invalid_value": + return t.values.length === 1 ? `Невалиден вход: очакван ${M(t.values[0])}` : `Невалидна опция: очаквано едно от ${k(t.values, "|")}`; + case "too_big": { + const i = t.inclusive ? "<=" : "<", a = n(t.origin); + return a ? `Твърде голямо: очаква се ${t.origin ?? "стойност"} да съдържа ${i}${t.maximum.toString()} ${a.unit ?? "елемента"}` : `Твърде голямо: очаква се ${t.origin ?? "стойност"} да бъде ${i}${t.maximum.toString()}`; + } + case "too_small": { + const i = t.inclusive ? ">=" : ">", a = n(t.origin); + return a ? `Твърде малко: очаква се ${t.origin} да съдържа ${i}${t.minimum.toString()} ${a.unit}` : `Твърде малко: очаква се ${t.origin} да бъде ${i}${t.minimum.toString()}`; + } + case "invalid_format": { + const i = t; + if (i.format === "starts_with") + return `Невалиден низ: трябва да започва с "${i.prefix}"`; + if (i.format === "ends_with") + return `Невалиден низ: трябва да завършва с "${i.suffix}"`; + if (i.format === "includes") + return `Невалиден низ: трябва да включва "${i.includes}"`; + if (i.format === "regex") + return `Невалиден низ: трябва да съвпада с ${i.pattern}`; + let a = "Невалиден"; + return i.format === "emoji" && (a = "Невалидно"), i.format === "datetime" && (a = "Невалидно"), i.format === "date" && (a = "Невалидна"), i.format === "time" && (a = "Невалидно"), i.format === "duration" && (a = "Невалидна"), `${a} ${r[i.format] ?? t.format}`; + } + case "not_multiple_of": + return `Невалидно число: трябва да бъде кратно на ${t.divisor}`; + case "unrecognized_keys": + return `Неразпознат${t.keys.length > 1 ? "и" : ""} ключ${t.keys.length > 1 ? "ове" : ""}: ${k(t.keys, ", ")}`; + case "invalid_key": + return `Невалиден ключ в ${t.origin}`; + case "invalid_union": + return "Невалиден вход"; + case "invalid_element": + return `Невалидна стойност в ${t.origin}`; + default: + return "Невалиден вход"; + } + }; +}; +function dv() { + return { + localeError: sv() + }; +} +const fv = () => { + const e = { + string: { unit: "caràcters", verb: "contenir" }, + file: { unit: "bytes", verb: "contenir" }, + array: { unit: "elements", verb: "contenir" }, + set: { unit: "elements", verb: "contenir" } + }; + function n(t) { + return e[t] ?? null; + } + const r = { + regex: "entrada", + email: "adreça electrònica", + url: "URL", + emoji: "emoji", + uuid: "UUID", + uuidv4: "UUIDv4", + uuidv6: "UUIDv6", + nanoid: "nanoid", + guid: "GUID", + cuid: "cuid", + cuid2: "cuid2", + ulid: "ULID", + xid: "XID", + ksuid: "KSUID", + datetime: "data i hora ISO", + date: "data ISO", + time: "hora ISO", + duration: "durada ISO", + ipv4: "adreça IPv4", + ipv6: "adreça IPv6", + cidrv4: "rang IPv4", + cidrv6: "rang IPv6", + base64: "cadena codificada en base64", + base64url: "cadena codificada en base64url", + json_string: "cadena JSON", + e164: "número E.164", + jwt: "JWT", + template_literal: "entrada" + }, o = { + nan: "NaN" + }; + return (t) => { + switch (t.code) { + case "invalid_type": { + const i = o[t.expected] ?? t.expected, a = F(t.input), u = o[a] ?? a; + return /^[A-Z]/.test(t.expected) ? `Tipus invàlid: s'esperava instanceof ${t.expected}, s'ha rebut ${u}` : `Tipus invàlid: s'esperava ${i}, s'ha rebut ${u}`; + } + case "invalid_value": + return t.values.length === 1 ? `Valor invàlid: s'esperava ${M(t.values[0])}` : `Opció invàlida: s'esperava una de ${k(t.values, " o ")}`; + case "too_big": { + const i = t.inclusive ? "com a màxim" : "menys de", a = n(t.origin); + return a ? `Massa gran: s'esperava que ${t.origin ?? "el valor"} contingués ${i} ${t.maximum.toString()} ${a.unit ?? "elements"}` : `Massa gran: s'esperava que ${t.origin ?? "el valor"} fos ${i} ${t.maximum.toString()}`; + } + case "too_small": { + const i = t.inclusive ? "com a mínim" : "més de", a = n(t.origin); + return a ? `Massa petit: s'esperava que ${t.origin} contingués ${i} ${t.minimum.toString()} ${a.unit}` : `Massa petit: s'esperava que ${t.origin} fos ${i} ${t.minimum.toString()}`; + } + case "invalid_format": { + const i = t; + return i.format === "starts_with" ? `Format invàlid: ha de començar amb "${i.prefix}"` : i.format === "ends_with" ? `Format invàlid: ha d'acabar amb "${i.suffix}"` : i.format === "includes" ? `Format invàlid: ha d'incloure "${i.includes}"` : i.format === "regex" ? `Format invàlid: ha de coincidir amb el patró ${i.pattern}` : `Format invàlid per a ${r[i.format] ?? t.format}`; + } + case "not_multiple_of": + return `Número invàlid: ha de ser múltiple de ${t.divisor}`; + case "unrecognized_keys": + return `Clau${t.keys.length > 1 ? "s" : ""} no reconeguda${t.keys.length > 1 ? "s" : ""}: ${k(t.keys, ", ")}`; + case "invalid_key": + return `Clau invàlida a ${t.origin}`; + case "invalid_union": + return "Entrada invàlida"; + // Could also be "Tipus d'unió invàlid" but "Entrada invàlida" is more general + case "invalid_element": + return `Element invàlid a ${t.origin}`; + default: + return "Entrada invàlida"; + } + }; +}; +function mv() { + return { + localeError: fv() + }; +} +const vv = () => { + const e = { + string: { unit: "znaků", verb: "mít" }, + file: { unit: "bajtů", verb: "mít" }, + array: { unit: "prvků", verb: "mít" }, + set: { unit: "prvků", verb: "mít" } + }; + function n(t) { + return e[t] ?? null; + } + const r = { + regex: "regulární výraz", + email: "e-mailová adresa", + url: "URL", + emoji: "emoji", + uuid: "UUID", + uuidv4: "UUIDv4", + uuidv6: "UUIDv6", + nanoid: "nanoid", + guid: "GUID", + cuid: "cuid", + cuid2: "cuid2", + ulid: "ULID", + xid: "XID", + ksuid: "KSUID", + datetime: "datum a čas ve formátu ISO", + date: "datum ve formátu ISO", + time: "čas ve formátu ISO", + duration: "doba trvání ISO", + ipv4: "IPv4 adresa", + ipv6: "IPv6 adresa", + cidrv4: "rozsah IPv4", + cidrv6: "rozsah IPv6", + base64: "řetězec zakódovaný ve formátu base64", + base64url: "řetězec zakódovaný ve formátu base64url", + json_string: "řetězec ve formátu JSON", + e164: "číslo E.164", + jwt: "JWT", + template_literal: "vstup" + }, o = { + nan: "NaN", + number: "číslo", + string: "řetězec", + function: "funkce", + array: "pole" + }; + return (t) => { + switch (t.code) { + case "invalid_type": { + const i = o[t.expected] ?? t.expected, a = F(t.input), u = o[a] ?? a; + return /^[A-Z]/.test(t.expected) ? `Neplatný vstup: očekáváno instanceof ${t.expected}, obdrženo ${u}` : `Neplatný vstup: očekáváno ${i}, obdrženo ${u}`; + } + case "invalid_value": + return t.values.length === 1 ? `Neplatný vstup: očekáváno ${M(t.values[0])}` : `Neplatná možnost: očekávána jedna z hodnot ${k(t.values, "|")}`; + case "too_big": { + const i = t.inclusive ? "<=" : "<", a = n(t.origin); + return a ? `Hodnota je příliš velká: ${t.origin ?? "hodnota"} musí mít ${i}${t.maximum.toString()} ${a.unit ?? "prvků"}` : `Hodnota je příliš velká: ${t.origin ?? "hodnota"} musí být ${i}${t.maximum.toString()}`; + } + case "too_small": { + const i = t.inclusive ? ">=" : ">", a = n(t.origin); + return a ? `Hodnota je příliš malá: ${t.origin ?? "hodnota"} musí mít ${i}${t.minimum.toString()} ${a.unit ?? "prvků"}` : `Hodnota je příliš malá: ${t.origin ?? "hodnota"} musí být ${i}${t.minimum.toString()}`; + } + case "invalid_format": { + const i = t; + return i.format === "starts_with" ? `Neplatný řetězec: musí začínat na "${i.prefix}"` : i.format === "ends_with" ? `Neplatný řetězec: musí končit na "${i.suffix}"` : i.format === "includes" ? `Neplatný řetězec: musí obsahovat "${i.includes}"` : i.format === "regex" ? `Neplatný řetězec: musí odpovídat vzoru ${i.pattern}` : `Neplatný formát ${r[i.format] ?? t.format}`; + } + case "not_multiple_of": + return `Neplatné číslo: musí být násobkem ${t.divisor}`; + case "unrecognized_keys": + return `Neznámé klíče: ${k(t.keys, ", ")}`; + case "invalid_key": + return `Neplatný klíč v ${t.origin}`; + case "invalid_union": + return "Neplatný vstup"; + case "invalid_element": + return `Neplatná hodnota v ${t.origin}`; + default: + return "Neplatný vstup"; + } + }; +}; +function pv() { + return { + localeError: vv() + }; +} +const gv = () => { + const e = { + string: { unit: "tegn", verb: "havde" }, + file: { unit: "bytes", verb: "havde" }, + array: { unit: "elementer", verb: "indeholdt" }, + set: { unit: "elementer", verb: "indeholdt" } + }; + function n(t) { + return e[t] ?? null; + } + const r = { + regex: "input", + email: "e-mailadresse", + url: "URL", + emoji: "emoji", + uuid: "UUID", + uuidv4: "UUIDv4", + uuidv6: "UUIDv6", + nanoid: "nanoid", + guid: "GUID", + cuid: "cuid", + cuid2: "cuid2", + ulid: "ULID", + xid: "XID", + ksuid: "KSUID", + datetime: "ISO dato- og klokkeslæt", + date: "ISO-dato", + time: "ISO-klokkeslæt", + duration: "ISO-varighed", + ipv4: "IPv4-område", + ipv6: "IPv6-område", + cidrv4: "IPv4-spektrum", + cidrv6: "IPv6-spektrum", + base64: "base64-kodet streng", + base64url: "base64url-kodet streng", + json_string: "JSON-streng", + e164: "E.164-nummer", + jwt: "JWT", + template_literal: "input" + }, o = { + nan: "NaN", + string: "streng", + number: "tal", + boolean: "boolean", + array: "liste", + object: "objekt", + set: "sæt", + file: "fil" + }; + return (t) => { + switch (t.code) { + case "invalid_type": { + const i = o[t.expected] ?? t.expected, a = F(t.input), u = o[a] ?? a; + return /^[A-Z]/.test(t.expected) ? `Ugyldigt input: forventede instanceof ${t.expected}, fik ${u}` : `Ugyldigt input: forventede ${i}, fik ${u}`; + } + case "invalid_value": + return t.values.length === 1 ? `Ugyldig værdi: forventede ${M(t.values[0])}` : `Ugyldigt valg: forventede en af følgende ${k(t.values, "|")}`; + case "too_big": { + const i = t.inclusive ? "<=" : "<", a = n(t.origin), u = o[t.origin] ?? t.origin; + return a ? `For stor: forventede ${u ?? "value"} ${a.verb} ${i} ${t.maximum.toString()} ${a.unit ?? "elementer"}` : `For stor: forventede ${u ?? "value"} havde ${i} ${t.maximum.toString()}`; + } + case "too_small": { + const i = t.inclusive ? ">=" : ">", a = n(t.origin), u = o[t.origin] ?? t.origin; + return a ? `For lille: forventede ${u} ${a.verb} ${i} ${t.minimum.toString()} ${a.unit}` : `For lille: forventede ${u} havde ${i} ${t.minimum.toString()}`; + } + case "invalid_format": { + const i = t; + return i.format === "starts_with" ? `Ugyldig streng: skal starte med "${i.prefix}"` : i.format === "ends_with" ? `Ugyldig streng: skal ende med "${i.suffix}"` : i.format === "includes" ? `Ugyldig streng: skal indeholde "${i.includes}"` : i.format === "regex" ? `Ugyldig streng: skal matche mønsteret ${i.pattern}` : `Ugyldig ${r[i.format] ?? t.format}`; + } + case "not_multiple_of": + return `Ugyldigt tal: skal være deleligt med ${t.divisor}`; + case "unrecognized_keys": + return `${t.keys.length > 1 ? "Ukendte nøgler" : "Ukendt nøgle"}: ${k(t.keys, ", ")}`; + case "invalid_key": + return `Ugyldig nøgle i ${t.origin}`; + case "invalid_union": + return "Ugyldigt input: matcher ingen af de tilladte typer"; + case "invalid_element": + return `Ugyldig værdi i ${t.origin}`; + default: + return "Ugyldigt input"; + } + }; +}; +function hv() { + return { + localeError: gv() + }; +} +const $v = () => { + const e = { + string: { unit: "Zeichen", verb: "zu haben" }, + file: { unit: "Bytes", verb: "zu haben" }, + array: { unit: "Elemente", verb: "zu haben" }, + set: { unit: "Elemente", verb: "zu haben" } + }; + function n(t) { + return e[t] ?? null; + } + const r = { + regex: "Eingabe", + email: "E-Mail-Adresse", + url: "URL", + emoji: "Emoji", + uuid: "UUID", + uuidv4: "UUIDv4", + uuidv6: "UUIDv6", + nanoid: "nanoid", + guid: "GUID", + cuid: "cuid", + cuid2: "cuid2", + ulid: "ULID", + xid: "XID", + ksuid: "KSUID", + datetime: "ISO-Datum und -Uhrzeit", + date: "ISO-Datum", + time: "ISO-Uhrzeit", + duration: "ISO-Dauer", + ipv4: "IPv4-Adresse", + ipv6: "IPv6-Adresse", + cidrv4: "IPv4-Bereich", + cidrv6: "IPv6-Bereich", + base64: "Base64-codierter String", + base64url: "Base64-URL-codierter String", + json_string: "JSON-String", + e164: "E.164-Nummer", + jwt: "JWT", + template_literal: "Eingabe" + }, o = { + nan: "NaN", + number: "Zahl", + array: "Array" + }; + return (t) => { + switch (t.code) { + case "invalid_type": { + const i = o[t.expected] ?? t.expected, a = F(t.input), u = o[a] ?? a; + return /^[A-Z]/.test(t.expected) ? `Ungültige Eingabe: erwartet instanceof ${t.expected}, erhalten ${u}` : `Ungültige Eingabe: erwartet ${i}, erhalten ${u}`; + } + case "invalid_value": + return t.values.length === 1 ? `Ungültige Eingabe: erwartet ${M(t.values[0])}` : `Ungültige Option: erwartet eine von ${k(t.values, "|")}`; + case "too_big": { + const i = t.inclusive ? "<=" : "<", a = n(t.origin); + return a ? `Zu groß: erwartet, dass ${t.origin ?? "Wert"} ${i}${t.maximum.toString()} ${a.unit ?? "Elemente"} hat` : `Zu groß: erwartet, dass ${t.origin ?? "Wert"} ${i}${t.maximum.toString()} ist`; + } + case "too_small": { + const i = t.inclusive ? ">=" : ">", a = n(t.origin); + return a ? `Zu klein: erwartet, dass ${t.origin} ${i}${t.minimum.toString()} ${a.unit} hat` : `Zu klein: erwartet, dass ${t.origin} ${i}${t.minimum.toString()} ist`; + } + case "invalid_format": { + const i = t; + return i.format === "starts_with" ? `Ungültiger String: muss mit "${i.prefix}" beginnen` : i.format === "ends_with" ? `Ungültiger String: muss mit "${i.suffix}" enden` : i.format === "includes" ? `Ungültiger String: muss "${i.includes}" enthalten` : i.format === "regex" ? `Ungültiger String: muss dem Muster ${i.pattern} entsprechen` : `Ungültig: ${r[i.format] ?? t.format}`; + } + case "not_multiple_of": + return `Ungültige Zahl: muss ein Vielfaches von ${t.divisor} sein`; + case "unrecognized_keys": + return `${t.keys.length > 1 ? "Unbekannte Schlüssel" : "Unbekannter Schlüssel"}: ${k(t.keys, ", ")}`; + case "invalid_key": + return `Ungültiger Schlüssel in ${t.origin}`; + case "invalid_union": + return "Ungültige Eingabe"; + case "invalid_element": + return `Ungültiger Wert in ${t.origin}`; + default: + return "Ungültige Eingabe"; + } + }; +}; +function bv() { + return { + localeError: $v() + }; +} +const _v = () => { + const e = { + string: { unit: "characters", verb: "to have" }, + file: { unit: "bytes", verb: "to have" }, + array: { unit: "items", verb: "to have" }, + set: { unit: "items", verb: "to have" }, + map: { unit: "entries", verb: "to have" } + }; + function n(t) { + return e[t] ?? null; + } + const r = { + regex: "input", + email: "email address", + url: "URL", + emoji: "emoji", + uuid: "UUID", + uuidv4: "UUIDv4", + uuidv6: "UUIDv6", + nanoid: "nanoid", + guid: "GUID", + cuid: "cuid", + cuid2: "cuid2", + ulid: "ULID", + xid: "XID", + ksuid: "KSUID", + datetime: "ISO datetime", + date: "ISO date", + time: "ISO time", + duration: "ISO duration", + ipv4: "IPv4 address", + ipv6: "IPv6 address", + mac: "MAC address", + cidrv4: "IPv4 range", + cidrv6: "IPv6 range", + base64: "base64-encoded string", + base64url: "base64url-encoded string", + json_string: "JSON string", + e164: "E.164 number", + jwt: "JWT", + template_literal: "input" + }, o = { + // Compatibility: "nan" -> "NaN" for display + nan: "NaN" + // All other type names omitted - they fall back to raw values via ?? operator + }; + return (t) => { + switch (t.code) { + case "invalid_type": { + const i = o[t.expected] ?? t.expected, a = F(t.input), u = o[a] ?? a; + return `Invalid input: expected ${i}, received ${u}`; + } + case "invalid_value": + return t.values.length === 1 ? `Invalid input: expected ${M(t.values[0])}` : `Invalid option: expected one of ${k(t.values, "|")}`; + case "too_big": { + const i = t.inclusive ? "<=" : "<", a = n(t.origin); + return a ? `Too big: expected ${t.origin ?? "value"} to have ${i}${t.maximum.toString()} ${a.unit ?? "elements"}` : `Too big: expected ${t.origin ?? "value"} to be ${i}${t.maximum.toString()}`; + } + case "too_small": { + const i = t.inclusive ? ">=" : ">", a = n(t.origin); + return a ? `Too small: expected ${t.origin} to have ${i}${t.minimum.toString()} ${a.unit}` : `Too small: expected ${t.origin} to be ${i}${t.minimum.toString()}`; + } + case "invalid_format": { + const i = t; + return i.format === "starts_with" ? `Invalid string: must start with "${i.prefix}"` : i.format === "ends_with" ? `Invalid string: must end with "${i.suffix}"` : i.format === "includes" ? `Invalid string: must include "${i.includes}"` : i.format === "regex" ? `Invalid string: must match pattern ${i.pattern}` : `Invalid ${r[i.format] ?? t.format}`; + } + case "not_multiple_of": + return `Invalid number: must be a multiple of ${t.divisor}`; + case "unrecognized_keys": + return `Unrecognized key${t.keys.length > 1 ? "s" : ""}: ${k(t.keys, ", ")}`; + case "invalid_key": + return `Invalid key in ${t.origin}`; + case "invalid_union": + return "Invalid input"; + case "invalid_element": + return `Invalid value in ${t.origin}`; + default: + return "Invalid input"; + } + }; +}; +function mc() { + return { + localeError: _v() + }; +} +const yv = () => { + const e = { + string: { unit: "karaktrojn", verb: "havi" }, + file: { unit: "bajtojn", verb: "havi" }, + array: { unit: "elementojn", verb: "havi" }, + set: { unit: "elementojn", verb: "havi" } + }; + function n(t) { + return e[t] ?? null; + } + const r = { + regex: "enigo", + email: "retadreso", + url: "URL", + emoji: "emoĝio", + uuid: "UUID", + uuidv4: "UUIDv4", + uuidv6: "UUIDv6", + nanoid: "nanoid", + guid: "GUID", + cuid: "cuid", + cuid2: "cuid2", + ulid: "ULID", + xid: "XID", + ksuid: "KSUID", + datetime: "ISO-datotempo", + date: "ISO-dato", + time: "ISO-tempo", + duration: "ISO-daŭro", + ipv4: "IPv4-adreso", + ipv6: "IPv6-adreso", + cidrv4: "IPv4-rango", + cidrv6: "IPv6-rango", + base64: "64-ume kodita karaktraro", + base64url: "URL-64-ume kodita karaktraro", + json_string: "JSON-karaktraro", + e164: "E.164-nombro", + jwt: "JWT", + template_literal: "enigo" + }, o = { + nan: "NaN", + number: "nombro", + array: "tabelo", + null: "senvalora" + }; + return (t) => { + switch (t.code) { + case "invalid_type": { + const i = o[t.expected] ?? t.expected, a = F(t.input), u = o[a] ?? a; + return /^[A-Z]/.test(t.expected) ? `Nevalida enigo: atendiĝis instanceof ${t.expected}, riceviĝis ${u}` : `Nevalida enigo: atendiĝis ${i}, riceviĝis ${u}`; + } + case "invalid_value": + return t.values.length === 1 ? `Nevalida enigo: atendiĝis ${M(t.values[0])}` : `Nevalida opcio: atendiĝis unu el ${k(t.values, "|")}`; + case "too_big": { + const i = t.inclusive ? "<=" : "<", a = n(t.origin); + return a ? `Tro granda: atendiĝis ke ${t.origin ?? "valoro"} havu ${i}${t.maximum.toString()} ${a.unit ?? "elementojn"}` : `Tro granda: atendiĝis ke ${t.origin ?? "valoro"} havu ${i}${t.maximum.toString()}`; + } + case "too_small": { + const i = t.inclusive ? ">=" : ">", a = n(t.origin); + return a ? `Tro malgranda: atendiĝis ke ${t.origin} havu ${i}${t.minimum.toString()} ${a.unit}` : `Tro malgranda: atendiĝis ke ${t.origin} estu ${i}${t.minimum.toString()}`; + } + case "invalid_format": { + const i = t; + return i.format === "starts_with" ? `Nevalida karaktraro: devas komenciĝi per "${i.prefix}"` : i.format === "ends_with" ? `Nevalida karaktraro: devas finiĝi per "${i.suffix}"` : i.format === "includes" ? `Nevalida karaktraro: devas inkluzivi "${i.includes}"` : i.format === "regex" ? `Nevalida karaktraro: devas kongrui kun la modelo ${i.pattern}` : `Nevalida ${r[i.format] ?? t.format}`; + } + case "not_multiple_of": + return `Nevalida nombro: devas esti oblo de ${t.divisor}`; + case "unrecognized_keys": + return `Nekonata${t.keys.length > 1 ? "j" : ""} ŝlosilo${t.keys.length > 1 ? "j" : ""}: ${k(t.keys, ", ")}`; + case "invalid_key": + return `Nevalida ŝlosilo en ${t.origin}`; + case "invalid_union": + return "Nevalida enigo"; + case "invalid_element": + return `Nevalida valoro en ${t.origin}`; + default: + return "Nevalida enigo"; + } + }; +}; +function kv() { + return { + localeError: yv() + }; +} +const Sv = () => { + const e = { + string: { unit: "caracteres", verb: "tener" }, + file: { unit: "bytes", verb: "tener" }, + array: { unit: "elementos", verb: "tener" }, + set: { unit: "elementos", verb: "tener" } + }; + function n(t) { + return e[t] ?? null; + } + const r = { + regex: "entrada", + email: "dirección de correo electrónico", + url: "URL", + emoji: "emoji", + uuid: "UUID", + uuidv4: "UUIDv4", + uuidv6: "UUIDv6", + nanoid: "nanoid", + guid: "GUID", + cuid: "cuid", + cuid2: "cuid2", + ulid: "ULID", + xid: "XID", + ksuid: "KSUID", + datetime: "fecha y hora ISO", + date: "fecha ISO", + time: "hora ISO", + duration: "duración ISO", + ipv4: "dirección IPv4", + ipv6: "dirección IPv6", + cidrv4: "rango IPv4", + cidrv6: "rango IPv6", + base64: "cadena codificada en base64", + base64url: "URL codificada en base64", + json_string: "cadena JSON", + e164: "número E.164", + jwt: "JWT", + template_literal: "entrada" + }, o = { + nan: "NaN", + string: "texto", + number: "número", + boolean: "booleano", + array: "arreglo", + object: "objeto", + set: "conjunto", + file: "archivo", + date: "fecha", + bigint: "número grande", + symbol: "símbolo", + undefined: "indefinido", + null: "nulo", + function: "función", + map: "mapa", + record: "registro", + tuple: "tupla", + enum: "enumeración", + union: "unión", + literal: "literal", + promise: "promesa", + void: "vacío", + never: "nunca", + unknown: "desconocido", + any: "cualquiera" + }; + return (t) => { + switch (t.code) { + case "invalid_type": { + const i = o[t.expected] ?? t.expected, a = F(t.input), u = o[a] ?? a; + return /^[A-Z]/.test(t.expected) ? `Entrada inválida: se esperaba instanceof ${t.expected}, recibido ${u}` : `Entrada inválida: se esperaba ${i}, recibido ${u}`; + } + case "invalid_value": + return t.values.length === 1 ? `Entrada inválida: se esperaba ${M(t.values[0])}` : `Opción inválida: se esperaba una de ${k(t.values, "|")}`; + case "too_big": { + const i = t.inclusive ? "<=" : "<", a = n(t.origin), u = o[t.origin] ?? t.origin; + return a ? `Demasiado grande: se esperaba que ${u ?? "valor"} tuviera ${i}${t.maximum.toString()} ${a.unit ?? "elementos"}` : `Demasiado grande: se esperaba que ${u ?? "valor"} fuera ${i}${t.maximum.toString()}`; + } + case "too_small": { + const i = t.inclusive ? ">=" : ">", a = n(t.origin), u = o[t.origin] ?? t.origin; + return a ? `Demasiado pequeño: se esperaba que ${u} tuviera ${i}${t.minimum.toString()} ${a.unit}` : `Demasiado pequeño: se esperaba que ${u} fuera ${i}${t.minimum.toString()}`; + } + case "invalid_format": { + const i = t; + return i.format === "starts_with" ? `Cadena inválida: debe comenzar con "${i.prefix}"` : i.format === "ends_with" ? `Cadena inválida: debe terminar en "${i.suffix}"` : i.format === "includes" ? `Cadena inválida: debe incluir "${i.includes}"` : i.format === "regex" ? `Cadena inválida: debe coincidir con el patrón ${i.pattern}` : `Inválido ${r[i.format] ?? t.format}`; + } + case "not_multiple_of": + return `Número inválido: debe ser múltiplo de ${t.divisor}`; + case "unrecognized_keys": + return `Llave${t.keys.length > 1 ? "s" : ""} desconocida${t.keys.length > 1 ? "s" : ""}: ${k(t.keys, ", ")}`; + case "invalid_key": + return `Llave inválida en ${o[t.origin] ?? t.origin}`; + case "invalid_union": + return "Entrada inválida"; + case "invalid_element": + return `Valor inválido en ${o[t.origin] ?? t.origin}`; + default: + return "Entrada inválida"; + } + }; +}; +function Iv() { + return { + localeError: Sv() + }; +} +const wv = () => { + const e = { + string: { unit: "کاراکتر", verb: "داشته باشد" }, + file: { unit: "بایت", verb: "داشته باشد" }, + array: { unit: "آیتم", verb: "داشته باشد" }, + set: { unit: "آیتم", verb: "داشته باشد" } + }; + function n(t) { + return e[t] ?? null; + } + const r = { + regex: "ورودی", + email: "آدرس ایمیل", + url: "URL", + emoji: "ایموجی", + uuid: "UUID", + uuidv4: "UUIDv4", + uuidv6: "UUIDv6", + nanoid: "nanoid", + guid: "GUID", + cuid: "cuid", + cuid2: "cuid2", + ulid: "ULID", + xid: "XID", + ksuid: "KSUID", + datetime: "تاریخ و زمان ایزو", + date: "تاریخ ایزو", + time: "زمان ایزو", + duration: "مدت زمان ایزو", + ipv4: "IPv4 آدرس", + ipv6: "IPv6 آدرس", + cidrv4: "IPv4 دامنه", + cidrv6: "IPv6 دامنه", + base64: "base64-encoded رشته", + base64url: "base64url-encoded رشته", + json_string: "JSON رشته", + e164: "E.164 عدد", + jwt: "JWT", + template_literal: "ورودی" + }, o = { + nan: "NaN", + number: "عدد", + array: "آرایه" + }; + return (t) => { + switch (t.code) { + case "invalid_type": { + const i = o[t.expected] ?? t.expected, a = F(t.input), u = o[a] ?? a; + return /^[A-Z]/.test(t.expected) ? `ورودی نامعتبر: می‌بایست instanceof ${t.expected} می‌بود، ${u} دریافت شد` : `ورودی نامعتبر: می‌بایست ${i} می‌بود، ${u} دریافت شد`; + } + case "invalid_value": + return t.values.length === 1 ? `ورودی نامعتبر: می‌بایست ${M(t.values[0])} می‌بود` : `گزینه نامعتبر: می‌بایست یکی از ${k(t.values, "|")} می‌بود`; + case "too_big": { + const i = t.inclusive ? "<=" : "<", a = n(t.origin); + return a ? `خیلی بزرگ: ${t.origin ?? "مقدار"} باید ${i}${t.maximum.toString()} ${a.unit ?? "عنصر"} باشد` : `خیلی بزرگ: ${t.origin ?? "مقدار"} باید ${i}${t.maximum.toString()} باشد`; + } + case "too_small": { + const i = t.inclusive ? ">=" : ">", a = n(t.origin); + return a ? `خیلی کوچک: ${t.origin} باید ${i}${t.minimum.toString()} ${a.unit} باشد` : `خیلی کوچک: ${t.origin} باید ${i}${t.minimum.toString()} باشد`; + } + case "invalid_format": { + const i = t; + return i.format === "starts_with" ? `رشته نامعتبر: باید با "${i.prefix}" شروع شود` : i.format === "ends_with" ? `رشته نامعتبر: باید با "${i.suffix}" تمام شود` : i.format === "includes" ? `رشته نامعتبر: باید شامل "${i.includes}" باشد` : i.format === "regex" ? `رشته نامعتبر: باید با الگوی ${i.pattern} مطابقت داشته باشد` : `${r[i.format] ?? t.format} نامعتبر`; + } + case "not_multiple_of": + return `عدد نامعتبر: باید مضرب ${t.divisor} باشد`; + case "unrecognized_keys": + return `کلید${t.keys.length > 1 ? "های" : ""} ناشناس: ${k(t.keys, ", ")}`; + case "invalid_key": + return `کلید ناشناس در ${t.origin}`; + case "invalid_union": + return "ورودی نامعتبر"; + case "invalid_element": + return `مقدار نامعتبر در ${t.origin}`; + default: + return "ورودی نامعتبر"; + } + }; +}; +function zv() { + return { + localeError: wv() + }; +} +const xv = () => { + const e = { + string: { unit: "merkkiä", subject: "merkkijonon" }, + file: { unit: "tavua", subject: "tiedoston" }, + array: { unit: "alkiota", subject: "listan" }, + set: { unit: "alkiota", subject: "joukon" }, + number: { unit: "", subject: "luvun" }, + bigint: { unit: "", subject: "suuren kokonaisluvun" }, + int: { unit: "", subject: "kokonaisluvun" }, + date: { unit: "", subject: "päivämäärän" } + }; + function n(t) { + return e[t] ?? null; + } + const r = { + regex: "säännöllinen lauseke", + email: "sähköpostiosoite", + url: "URL-osoite", + emoji: "emoji", + uuid: "UUID", + uuidv4: "UUIDv4", + uuidv6: "UUIDv6", + nanoid: "nanoid", + guid: "GUID", + cuid: "cuid", + cuid2: "cuid2", + ulid: "ULID", + xid: "XID", + ksuid: "KSUID", + datetime: "ISO-aikaleima", + date: "ISO-päivämäärä", + time: "ISO-aika", + duration: "ISO-kesto", + ipv4: "IPv4-osoite", + ipv6: "IPv6-osoite", + cidrv4: "IPv4-alue", + cidrv6: "IPv6-alue", + base64: "base64-koodattu merkkijono", + base64url: "base64url-koodattu merkkijono", + json_string: "JSON-merkkijono", + e164: "E.164-luku", + jwt: "JWT", + template_literal: "templaattimerkkijono" + }, o = { + nan: "NaN" + }; + return (t) => { + switch (t.code) { + case "invalid_type": { + const i = o[t.expected] ?? t.expected, a = F(t.input), u = o[a] ?? a; + return /^[A-Z]/.test(t.expected) ? `Virheellinen tyyppi: odotettiin instanceof ${t.expected}, oli ${u}` : `Virheellinen tyyppi: odotettiin ${i}, oli ${u}`; + } + case "invalid_value": + return t.values.length === 1 ? `Virheellinen syöte: täytyy olla ${M(t.values[0])}` : `Virheellinen valinta: täytyy olla yksi seuraavista: ${k(t.values, "|")}`; + case "too_big": { + const i = t.inclusive ? "<=" : "<", a = n(t.origin); + return a ? `Liian suuri: ${a.subject} täytyy olla ${i}${t.maximum.toString()} ${a.unit}`.trim() : `Liian suuri: arvon täytyy olla ${i}${t.maximum.toString()}`; + } + case "too_small": { + const i = t.inclusive ? ">=" : ">", a = n(t.origin); + return a ? `Liian pieni: ${a.subject} täytyy olla ${i}${t.minimum.toString()} ${a.unit}`.trim() : `Liian pieni: arvon täytyy olla ${i}${t.minimum.toString()}`; + } + case "invalid_format": { + const i = t; + return i.format === "starts_with" ? `Virheellinen syöte: täytyy alkaa "${i.prefix}"` : i.format === "ends_with" ? `Virheellinen syöte: täytyy loppua "${i.suffix}"` : i.format === "includes" ? `Virheellinen syöte: täytyy sisältää "${i.includes}"` : i.format === "regex" ? `Virheellinen syöte: täytyy vastata säännöllistä lauseketta ${i.pattern}` : `Virheellinen ${r[i.format] ?? t.format}`; + } + case "not_multiple_of": + return `Virheellinen luku: täytyy olla luvun ${t.divisor} monikerta`; + case "unrecognized_keys": + return `${t.keys.length > 1 ? "Tuntemattomat avaimet" : "Tuntematon avain"}: ${k(t.keys, ", ")}`; + case "invalid_key": + return "Virheellinen avain tietueessa"; + case "invalid_union": + return "Virheellinen unioni"; + case "invalid_element": + return "Virheellinen arvo joukossa"; + default: + return "Virheellinen syöte"; + } + }; +}; +function Dv() { + return { + localeError: xv() + }; +} +const Ov = () => { + const e = { + string: { unit: "caractères", verb: "avoir" }, + file: { unit: "octets", verb: "avoir" }, + array: { unit: "éléments", verb: "avoir" }, + set: { unit: "éléments", verb: "avoir" } + }; + function n(t) { + return e[t] ?? null; + } + const r = { + regex: "entrée", + email: "adresse e-mail", + url: "URL", + emoji: "emoji", + uuid: "UUID", + uuidv4: "UUIDv4", + uuidv6: "UUIDv6", + nanoid: "nanoid", + guid: "GUID", + cuid: "cuid", + cuid2: "cuid2", + ulid: "ULID", + xid: "XID", + ksuid: "KSUID", + datetime: "date et heure ISO", + date: "date ISO", + time: "heure ISO", + duration: "durée ISO", + ipv4: "adresse IPv4", + ipv6: "adresse IPv6", + cidrv4: "plage IPv4", + cidrv6: "plage IPv6", + base64: "chaîne encodée en base64", + base64url: "chaîne encodée en base64url", + json_string: "chaîne JSON", + e164: "numéro E.164", + jwt: "JWT", + template_literal: "entrée" + }, o = { + nan: "NaN", + number: "nombre", + array: "tableau" + }; + return (t) => { + switch (t.code) { + case "invalid_type": { + const i = o[t.expected] ?? t.expected, a = F(t.input), u = o[a] ?? a; + return /^[A-Z]/.test(t.expected) ? `Entrée invalide : instanceof ${t.expected} attendu, ${u} reçu` : `Entrée invalide : ${i} attendu, ${u} reçu`; + } + case "invalid_value": + return t.values.length === 1 ? `Entrée invalide : ${M(t.values[0])} attendu` : `Option invalide : une valeur parmi ${k(t.values, "|")} attendue`; + case "too_big": { + const i = t.inclusive ? "<=" : "<", a = n(t.origin); + return a ? `Trop grand : ${t.origin ?? "valeur"} doit ${a.verb} ${i}${t.maximum.toString()} ${a.unit ?? "élément(s)"}` : `Trop grand : ${t.origin ?? "valeur"} doit être ${i}${t.maximum.toString()}`; + } + case "too_small": { + const i = t.inclusive ? ">=" : ">", a = n(t.origin); + return a ? `Trop petit : ${t.origin} doit ${a.verb} ${i}${t.minimum.toString()} ${a.unit}` : `Trop petit : ${t.origin} doit être ${i}${t.minimum.toString()}`; + } + case "invalid_format": { + const i = t; + return i.format === "starts_with" ? `Chaîne invalide : doit commencer par "${i.prefix}"` : i.format === "ends_with" ? `Chaîne invalide : doit se terminer par "${i.suffix}"` : i.format === "includes" ? `Chaîne invalide : doit inclure "${i.includes}"` : i.format === "regex" ? `Chaîne invalide : doit correspondre au modèle ${i.pattern}` : `${r[i.format] ?? t.format} invalide`; + } + case "not_multiple_of": + return `Nombre invalide : doit être un multiple de ${t.divisor}`; + case "unrecognized_keys": + return `Clé${t.keys.length > 1 ? "s" : ""} non reconnue${t.keys.length > 1 ? "s" : ""} : ${k(t.keys, ", ")}`; + case "invalid_key": + return `Clé invalide dans ${t.origin}`; + case "invalid_union": + return "Entrée invalide"; + case "invalid_element": + return `Valeur invalide dans ${t.origin}`; + default: + return "Entrée invalide"; + } + }; +}; +function jv() { + return { + localeError: Ov() + }; +} +const Uv = () => { + const e = { + string: { unit: "caractères", verb: "avoir" }, + file: { unit: "octets", verb: "avoir" }, + array: { unit: "éléments", verb: "avoir" }, + set: { unit: "éléments", verb: "avoir" } + }; + function n(t) { + return e[t] ?? null; + } + const r = { + regex: "entrée", + email: "adresse courriel", + url: "URL", + emoji: "emoji", + uuid: "UUID", + uuidv4: "UUIDv4", + uuidv6: "UUIDv6", + nanoid: "nanoid", + guid: "GUID", + cuid: "cuid", + cuid2: "cuid2", + ulid: "ULID", + xid: "XID", + ksuid: "KSUID", + datetime: "date-heure ISO", + date: "date ISO", + time: "heure ISO", + duration: "durée ISO", + ipv4: "adresse IPv4", + ipv6: "adresse IPv6", + cidrv4: "plage IPv4", + cidrv6: "plage IPv6", + base64: "chaîne encodée en base64", + base64url: "chaîne encodée en base64url", + json_string: "chaîne JSON", + e164: "numéro E.164", + jwt: "JWT", + template_literal: "entrée" + }, o = { + nan: "NaN" + }; + return (t) => { + switch (t.code) { + case "invalid_type": { + const i = o[t.expected] ?? t.expected, a = F(t.input), u = o[a] ?? a; + return /^[A-Z]/.test(t.expected) ? `Entrée invalide : attendu instanceof ${t.expected}, reçu ${u}` : `Entrée invalide : attendu ${i}, reçu ${u}`; + } + case "invalid_value": + return t.values.length === 1 ? `Entrée invalide : attendu ${M(t.values[0])}` : `Option invalide : attendu l'une des valeurs suivantes ${k(t.values, "|")}`; + case "too_big": { + const i = t.inclusive ? "≤" : "<", a = n(t.origin); + return a ? `Trop grand : attendu que ${t.origin ?? "la valeur"} ait ${i}${t.maximum.toString()} ${a.unit}` : `Trop grand : attendu que ${t.origin ?? "la valeur"} soit ${i}${t.maximum.toString()}`; + } + case "too_small": { + const i = t.inclusive ? "≥" : ">", a = n(t.origin); + return a ? `Trop petit : attendu que ${t.origin} ait ${i}${t.minimum.toString()} ${a.unit}` : `Trop petit : attendu que ${t.origin} soit ${i}${t.minimum.toString()}`; + } + case "invalid_format": { + const i = t; + return i.format === "starts_with" ? `Chaîne invalide : doit commencer par "${i.prefix}"` : i.format === "ends_with" ? `Chaîne invalide : doit se terminer par "${i.suffix}"` : i.format === "includes" ? `Chaîne invalide : doit inclure "${i.includes}"` : i.format === "regex" ? `Chaîne invalide : doit correspondre au motif ${i.pattern}` : `${r[i.format] ?? t.format} invalide`; + } + case "not_multiple_of": + return `Nombre invalide : doit être un multiple de ${t.divisor}`; + case "unrecognized_keys": + return `Clé${t.keys.length > 1 ? "s" : ""} non reconnue${t.keys.length > 1 ? "s" : ""} : ${k(t.keys, ", ")}`; + case "invalid_key": + return `Clé invalide dans ${t.origin}`; + case "invalid_union": + return "Entrée invalide"; + case "invalid_element": + return `Valeur invalide dans ${t.origin}`; + default: + return "Entrée invalide"; + } + }; +}; +function Tv() { + return { + localeError: Uv() + }; +} +const Ev = () => { + const e = { + string: { label: "מחרוזת", gender: "f" }, + number: { label: "מספר", gender: "m" }, + boolean: { label: "ערך בוליאני", gender: "m" }, + bigint: { label: "BigInt", gender: "m" }, + date: { label: "תאריך", gender: "m" }, + array: { label: "מערך", gender: "m" }, + object: { label: "אובייקט", gender: "m" }, + null: { label: "ערך ריק (null)", gender: "m" }, + undefined: { label: "ערך לא מוגדר (undefined)", gender: "m" }, + symbol: { label: "סימבול (Symbol)", gender: "m" }, + function: { label: "פונקציה", gender: "f" }, + map: { label: "מפה (Map)", gender: "f" }, + set: { label: "קבוצה (Set)", gender: "f" }, + file: { label: "קובץ", gender: "m" }, + promise: { label: "Promise", gender: "m" }, + NaN: { label: "NaN", gender: "m" }, + unknown: { label: "ערך לא ידוע", gender: "m" }, + value: { label: "ערך", gender: "m" } + }, n = { + string: { unit: "תווים", shortLabel: "קצר", longLabel: "ארוך" }, + file: { unit: "בייטים", shortLabel: "קטן", longLabel: "גדול" }, + array: { unit: "פריטים", shortLabel: "קטן", longLabel: "גדול" }, + set: { unit: "פריטים", shortLabel: "קטן", longLabel: "גדול" }, + number: { unit: "", shortLabel: "קטן", longLabel: "גדול" } + // no unit + }, r = (l) => l ? e[l] : void 0, o = (l) => { + const s = r(l); + return s ? s.label : l ?? e.unknown.label; + }, t = (l) => `ה${o(l)}`, i = (l) => { + const s = r(l); + return ((s == null ? void 0 : s.gender) ?? "m") === "f" ? "צריכה להיות" : "צריך להיות"; + }, a = (l) => l ? n[l] ?? null : null, u = { + regex: { label: "קלט", gender: "m" }, + email: { label: "כתובת אימייל", gender: "f" }, + url: { label: "כתובת רשת", gender: "f" }, + emoji: { label: "אימוג'י", gender: "m" }, + uuid: { label: "UUID", gender: "m" }, + nanoid: { label: "nanoid", gender: "m" }, + guid: { label: "GUID", gender: "m" }, + cuid: { label: "cuid", gender: "m" }, + cuid2: { label: "cuid2", gender: "m" }, + ulid: { label: "ULID", gender: "m" }, + xid: { label: "XID", gender: "m" }, + ksuid: { label: "KSUID", gender: "m" }, + datetime: { label: "תאריך וזמן ISO", gender: "m" }, + date: { label: "תאריך ISO", gender: "m" }, + time: { label: "זמן ISO", gender: "m" }, + duration: { label: "משך זמן ISO", gender: "m" }, + ipv4: { label: "כתובת IPv4", gender: "f" }, + ipv6: { label: "כתובת IPv6", gender: "f" }, + cidrv4: { label: "טווח IPv4", gender: "m" }, + cidrv6: { label: "טווח IPv6", gender: "m" }, + base64: { label: "מחרוזת בבסיס 64", gender: "f" }, + base64url: { label: "מחרוזת בבסיס 64 לכתובות רשת", gender: "f" }, + json_string: { label: "מחרוזת JSON", gender: "f" }, + e164: { label: "מספר E.164", gender: "m" }, + jwt: { label: "JWT", gender: "m" }, + ends_with: { label: "קלט", gender: "m" }, + includes: { label: "קלט", gender: "m" }, + lowercase: { label: "קלט", gender: "m" }, + starts_with: { label: "קלט", gender: "m" }, + uppercase: { label: "קלט", gender: "m" } + }, c = { + nan: "NaN" + }; + return (l) => { + var s; + switch (l.code) { + case "invalid_type": { + const d = l.expected, m = c[d ?? ""] ?? o(d), p = F(l.input), g = c[p] ?? ((s = e[p]) == null ? void 0 : s.label) ?? p; + return /^[A-Z]/.test(l.expected) ? `קלט לא תקין: צריך להיות instanceof ${l.expected}, התקבל ${g}` : `קלט לא תקין: צריך להיות ${m}, התקבל ${g}`; + } + case "invalid_value": { + if (l.values.length === 1) + return `ערך לא תקין: הערך חייב להיות ${M(l.values[0])}`; + const d = l.values.map((g) => M(g)); + if (l.values.length === 2) + return `ערך לא תקין: האפשרויות המתאימות הן ${d[0]} או ${d[1]}`; + const m = d[d.length - 1]; + return `ערך לא תקין: האפשרויות המתאימות הן ${d.slice(0, -1).join(", ")} או ${m}`; + } + case "too_big": { + const d = a(l.origin), m = t(l.origin ?? "value"); + if (l.origin === "string") + return `${(d == null ? void 0 : d.longLabel) ?? "ארוך"} מדי: ${m} צריכה להכיל ${l.maximum.toString()} ${(d == null ? void 0 : d.unit) ?? ""} ${l.inclusive ? "או פחות" : "לכל היותר"}`.trim(); + if (l.origin === "number") { + const f = l.inclusive ? `קטן או שווה ל-${l.maximum}` : `קטן מ-${l.maximum}`; + return `גדול מדי: ${m} צריך להיות ${f}`; + } + if (l.origin === "array" || l.origin === "set") { + const f = l.origin === "set" ? "צריכה" : "צריך", h = l.inclusive ? `${l.maximum} ${(d == null ? void 0 : d.unit) ?? ""} או פחות` : `פחות מ-${l.maximum} ${(d == null ? void 0 : d.unit) ?? ""}`; + return `גדול מדי: ${m} ${f} להכיל ${h}`.trim(); + } + const p = l.inclusive ? "<=" : "<", g = i(l.origin ?? "value"); + return d != null && d.unit ? `${d.longLabel} מדי: ${m} ${g} ${p}${l.maximum.toString()} ${d.unit}` : `${(d == null ? void 0 : d.longLabel) ?? "גדול"} מדי: ${m} ${g} ${p}${l.maximum.toString()}`; + } + case "too_small": { + const d = a(l.origin), m = t(l.origin ?? "value"); + if (l.origin === "string") + return `${(d == null ? void 0 : d.shortLabel) ?? "קצר"} מדי: ${m} צריכה להכיל ${l.minimum.toString()} ${(d == null ? void 0 : d.unit) ?? ""} ${l.inclusive ? "או יותר" : "לפחות"}`.trim(); + if (l.origin === "number") { + const f = l.inclusive ? `גדול או שווה ל-${l.minimum}` : `גדול מ-${l.minimum}`; + return `קטן מדי: ${m} צריך להיות ${f}`; + } + if (l.origin === "array" || l.origin === "set") { + const f = l.origin === "set" ? "צריכה" : "צריך"; + if (l.minimum === 1 && l.inclusive) { + const b = (l.origin === "set", "לפחות פריט אחד"); + return `קטן מדי: ${m} ${f} להכיל ${b}`; + } + const h = l.inclusive ? `${l.minimum} ${(d == null ? void 0 : d.unit) ?? ""} או יותר` : `יותר מ-${l.minimum} ${(d == null ? void 0 : d.unit) ?? ""}`; + return `קטן מדי: ${m} ${f} להכיל ${h}`.trim(); + } + const p = l.inclusive ? ">=" : ">", g = i(l.origin ?? "value"); + return d != null && d.unit ? `${d.shortLabel} מדי: ${m} ${g} ${p}${l.minimum.toString()} ${d.unit}` : `${(d == null ? void 0 : d.shortLabel) ?? "קטן"} מדי: ${m} ${g} ${p}${l.minimum.toString()}`; + } + case "invalid_format": { + const d = l; + if (d.format === "starts_with") + return `המחרוזת חייבת להתחיל ב "${d.prefix}"`; + if (d.format === "ends_with") + return `המחרוזת חייבת להסתיים ב "${d.suffix}"`; + if (d.format === "includes") + return `המחרוזת חייבת לכלול "${d.includes}"`; + if (d.format === "regex") + return `המחרוזת חייבת להתאים לתבנית ${d.pattern}`; + const m = u[d.format], p = (m == null ? void 0 : m.label) ?? d.format, f = ((m == null ? void 0 : m.gender) ?? "m") === "f" ? "תקינה" : "תקין"; + return `${p} לא ${f}`; + } + case "not_multiple_of": + return `מספר לא תקין: חייב להיות מכפלה של ${l.divisor}`; + case "unrecognized_keys": + return `מפתח${l.keys.length > 1 ? "ות" : ""} לא מזוה${l.keys.length > 1 ? "ים" : "ה"}: ${k(l.keys, ", ")}`; + case "invalid_key": + return "שדה לא תקין באובייקט"; + case "invalid_union": + return "קלט לא תקין"; + case "invalid_element": + return `ערך לא תקין ב${t(l.origin ?? "array")}`; + default: + return "קלט לא תקין"; + } + }; +}; +function Pv() { + return { + localeError: Ev() + }; +} +const Nv = () => { + const e = { + string: { unit: "karakter", verb: "legyen" }, + file: { unit: "byte", verb: "legyen" }, + array: { unit: "elem", verb: "legyen" }, + set: { unit: "elem", verb: "legyen" } + }; + function n(t) { + return e[t] ?? null; + } + const r = { + regex: "bemenet", + email: "email cím", + url: "URL", + emoji: "emoji", + uuid: "UUID", + uuidv4: "UUIDv4", + uuidv6: "UUIDv6", + nanoid: "nanoid", + guid: "GUID", + cuid: "cuid", + cuid2: "cuid2", + ulid: "ULID", + xid: "XID", + ksuid: "KSUID", + datetime: "ISO időbélyeg", + date: "ISO dátum", + time: "ISO idő", + duration: "ISO időintervallum", + ipv4: "IPv4 cím", + ipv6: "IPv6 cím", + cidrv4: "IPv4 tartomány", + cidrv6: "IPv6 tartomány", + base64: "base64-kódolt string", + base64url: "base64url-kódolt string", + json_string: "JSON string", + e164: "E.164 szám", + jwt: "JWT", + template_literal: "bemenet" + }, o = { + nan: "NaN", + number: "szám", + array: "tömb" + }; + return (t) => { + switch (t.code) { + case "invalid_type": { + const i = o[t.expected] ?? t.expected, a = F(t.input), u = o[a] ?? a; + return /^[A-Z]/.test(t.expected) ? `Érvénytelen bemenet: a várt érték instanceof ${t.expected}, a kapott érték ${u}` : `Érvénytelen bemenet: a várt érték ${i}, a kapott érték ${u}`; + } + case "invalid_value": + return t.values.length === 1 ? `Érvénytelen bemenet: a várt érték ${M(t.values[0])}` : `Érvénytelen opció: valamelyik érték várt ${k(t.values, "|")}`; + case "too_big": { + const i = t.inclusive ? "<=" : "<", a = n(t.origin); + return a ? `Túl nagy: ${t.origin ?? "érték"} mérete túl nagy ${i}${t.maximum.toString()} ${a.unit ?? "elem"}` : `Túl nagy: a bemeneti érték ${t.origin ?? "érték"} túl nagy: ${i}${t.maximum.toString()}`; + } + case "too_small": { + const i = t.inclusive ? ">=" : ">", a = n(t.origin); + return a ? `Túl kicsi: a bemeneti érték ${t.origin} mérete túl kicsi ${i}${t.minimum.toString()} ${a.unit}` : `Túl kicsi: a bemeneti érték ${t.origin} túl kicsi ${i}${t.minimum.toString()}`; + } + case "invalid_format": { + const i = t; + return i.format === "starts_with" ? `Érvénytelen string: "${i.prefix}" értékkel kell kezdődnie` : i.format === "ends_with" ? `Érvénytelen string: "${i.suffix}" értékkel kell végződnie` : i.format === "includes" ? `Érvénytelen string: "${i.includes}" értéket kell tartalmaznia` : i.format === "regex" ? `Érvénytelen string: ${i.pattern} mintának kell megfelelnie` : `Érvénytelen ${r[i.format] ?? t.format}`; + } + case "not_multiple_of": + return `Érvénytelen szám: ${t.divisor} többszörösének kell lennie`; + case "unrecognized_keys": + return `Ismeretlen kulcs${t.keys.length > 1 ? "s" : ""}: ${k(t.keys, ", ")}`; + case "invalid_key": + return `Érvénytelen kulcs ${t.origin}`; + case "invalid_union": + return "Érvénytelen bemenet"; + case "invalid_element": + return `Érvénytelen érték: ${t.origin}`; + default: + return "Érvénytelen bemenet"; + } + }; +}; +function Av() { + return { + localeError: Nv() + }; +} +function Ho(e, n, r) { + return Math.abs(e) === 1 ? n : r; +} +function $t(e) { + if (!e) + return ""; + const n = ["ա", "ե", "ը", "ի", "ո", "ու", "օ"], r = e[e.length - 1]; + return e + (n.includes(r) ? "ն" : "ը"); +} +const Zv = () => { + const e = { + string: { + unit: { + one: "նշան", + many: "նշաններ" + }, + verb: "ունենալ" + }, + file: { + unit: { + one: "բայթ", + many: "բայթեր" + }, + verb: "ունենալ" + }, + array: { + unit: { + one: "տարր", + many: "տարրեր" + }, + verb: "ունենալ" + }, + set: { + unit: { + one: "տարր", + many: "տարրեր" + }, + verb: "ունենալ" + } + }; + function n(t) { + return e[t] ?? null; + } + const r = { + regex: "մուտք", + email: "էլ. հասցե", + url: "URL", + emoji: "էմոջի", + uuid: "UUID", + uuidv4: "UUIDv4", + uuidv6: "UUIDv6", + nanoid: "nanoid", + guid: "GUID", + cuid: "cuid", + cuid2: "cuid2", + ulid: "ULID", + xid: "XID", + ksuid: "KSUID", + datetime: "ISO ամսաթիվ և ժամ", + date: "ISO ամսաթիվ", + time: "ISO ժամ", + duration: "ISO տևողություն", + ipv4: "IPv4 հասցե", + ipv6: "IPv6 հասցե", + cidrv4: "IPv4 միջակայք", + cidrv6: "IPv6 միջակայք", + base64: "base64 ձևաչափով տող", + base64url: "base64url ձևաչափով տող", + json_string: "JSON տող", + e164: "E.164 համար", + jwt: "JWT", + template_literal: "մուտք" + }, o = { + nan: "NaN", + number: "թիվ", + array: "զանգված" + }; + return (t) => { + switch (t.code) { + case "invalid_type": { + const i = o[t.expected] ?? t.expected, a = F(t.input), u = o[a] ?? a; + return /^[A-Z]/.test(t.expected) ? `Սխալ մուտքագրում․ սպասվում էր instanceof ${t.expected}, ստացվել է ${u}` : `Սխալ մուտքագրում․ սպասվում էր ${i}, ստացվել է ${u}`; + } + case "invalid_value": + return t.values.length === 1 ? `Սխալ մուտքագրում․ սպասվում էր ${M(t.values[1])}` : `Սխալ տարբերակ․ սպասվում էր հետևյալներից մեկը՝ ${k(t.values, "|")}`; + case "too_big": { + const i = t.inclusive ? "<=" : "<", a = n(t.origin); + if (a) { + const u = Number(t.maximum), c = Ho(u, a.unit.one, a.unit.many); + return `Չափազանց մեծ արժեք․ սպասվում է, որ ${$t(t.origin ?? "արժեք")} կունենա ${i}${t.maximum.toString()} ${c}`; + } + return `Չափազանց մեծ արժեք․ սպասվում է, որ ${$t(t.origin ?? "արժեք")} լինի ${i}${t.maximum.toString()}`; + } + case "too_small": { + const i = t.inclusive ? ">=" : ">", a = n(t.origin); + if (a) { + const u = Number(t.minimum), c = Ho(u, a.unit.one, a.unit.many); + return `Չափազանց փոքր արժեք․ սպասվում է, որ ${$t(t.origin)} կունենա ${i}${t.minimum.toString()} ${c}`; + } + return `Չափազանց փոքր արժեք․ սպասվում է, որ ${$t(t.origin)} լինի ${i}${t.minimum.toString()}`; + } + case "invalid_format": { + const i = t; + return i.format === "starts_with" ? `Սխալ տող․ պետք է սկսվի "${i.prefix}"-ով` : i.format === "ends_with" ? `Սխալ տող․ պետք է ավարտվի "${i.suffix}"-ով` : i.format === "includes" ? `Սխալ տող․ պետք է պարունակի "${i.includes}"` : i.format === "regex" ? `Սխալ տող․ պետք է համապատասխանի ${i.pattern} ձևաչափին` : `Սխալ ${r[i.format] ?? t.format}`; + } + case "not_multiple_of": + return `Սխալ թիվ․ պետք է բազմապատիկ լինի ${t.divisor}-ի`; + case "unrecognized_keys": + return `Չճանաչված բանալի${t.keys.length > 1 ? "ներ" : ""}. ${k(t.keys, ", ")}`; + case "invalid_key": + return `Սխալ բանալի ${$t(t.origin)}-ում`; + case "invalid_union": + return "Սխալ մուտքագրում"; + case "invalid_element": + return `Սխալ արժեք ${$t(t.origin)}-ում`; + default: + return "Սխալ մուտքագրում"; + } + }; +}; +function Cv() { + return { + localeError: Zv() + }; +} +const Mv = () => { + const e = { + string: { unit: "karakter", verb: "memiliki" }, + file: { unit: "byte", verb: "memiliki" }, + array: { unit: "item", verb: "memiliki" }, + set: { unit: "item", verb: "memiliki" } + }; + function n(t) { + return e[t] ?? null; + } + const r = { + regex: "input", + email: "alamat email", + url: "URL", + emoji: "emoji", + uuid: "UUID", + uuidv4: "UUIDv4", + uuidv6: "UUIDv6", + nanoid: "nanoid", + guid: "GUID", + cuid: "cuid", + cuid2: "cuid2", + ulid: "ULID", + xid: "XID", + ksuid: "KSUID", + datetime: "tanggal dan waktu format ISO", + date: "tanggal format ISO", + time: "jam format ISO", + duration: "durasi format ISO", + ipv4: "alamat IPv4", + ipv6: "alamat IPv6", + cidrv4: "rentang alamat IPv4", + cidrv6: "rentang alamat IPv6", + base64: "string dengan enkode base64", + base64url: "string dengan enkode base64url", + json_string: "string JSON", + e164: "angka E.164", + jwt: "JWT", + template_literal: "input" + }, o = { + nan: "NaN" + }; + return (t) => { + switch (t.code) { + case "invalid_type": { + const i = o[t.expected] ?? t.expected, a = F(t.input), u = o[a] ?? a; + return /^[A-Z]/.test(t.expected) ? `Input tidak valid: diharapkan instanceof ${t.expected}, diterima ${u}` : `Input tidak valid: diharapkan ${i}, diterima ${u}`; + } + case "invalid_value": + return t.values.length === 1 ? `Input tidak valid: diharapkan ${M(t.values[0])}` : `Pilihan tidak valid: diharapkan salah satu dari ${k(t.values, "|")}`; + case "too_big": { + const i = t.inclusive ? "<=" : "<", a = n(t.origin); + return a ? `Terlalu besar: diharapkan ${t.origin ?? "value"} memiliki ${i}${t.maximum.toString()} ${a.unit ?? "elemen"}` : `Terlalu besar: diharapkan ${t.origin ?? "value"} menjadi ${i}${t.maximum.toString()}`; + } + case "too_small": { + const i = t.inclusive ? ">=" : ">", a = n(t.origin); + return a ? `Terlalu kecil: diharapkan ${t.origin} memiliki ${i}${t.minimum.toString()} ${a.unit}` : `Terlalu kecil: diharapkan ${t.origin} menjadi ${i}${t.minimum.toString()}`; + } + case "invalid_format": { + const i = t; + return i.format === "starts_with" ? `String tidak valid: harus dimulai dengan "${i.prefix}"` : i.format === "ends_with" ? `String tidak valid: harus berakhir dengan "${i.suffix}"` : i.format === "includes" ? `String tidak valid: harus menyertakan "${i.includes}"` : i.format === "regex" ? `String tidak valid: harus sesuai pola ${i.pattern}` : `${r[i.format] ?? t.format} tidak valid`; + } + case "not_multiple_of": + return `Angka tidak valid: harus kelipatan dari ${t.divisor}`; + case "unrecognized_keys": + return `Kunci tidak dikenali ${t.keys.length > 1 ? "s" : ""}: ${k(t.keys, ", ")}`; + case "invalid_key": + return `Kunci tidak valid di ${t.origin}`; + case "invalid_union": + return "Input tidak valid"; + case "invalid_element": + return `Nilai tidak valid di ${t.origin}`; + default: + return "Input tidak valid"; + } + }; +}; +function Fv() { + return { + localeError: Mv() + }; +} +const Lv = () => { + const e = { + string: { unit: "stafi", verb: "að hafa" }, + file: { unit: "bæti", verb: "að hafa" }, + array: { unit: "hluti", verb: "að hafa" }, + set: { unit: "hluti", verb: "að hafa" } + }; + function n(t) { + return e[t] ?? null; + } + const r = { + regex: "gildi", + email: "netfang", + url: "vefslóð", + emoji: "emoji", + uuid: "UUID", + uuidv4: "UUIDv4", + uuidv6: "UUIDv6", + nanoid: "nanoid", + guid: "GUID", + cuid: "cuid", + cuid2: "cuid2", + ulid: "ULID", + xid: "XID", + ksuid: "KSUID", + datetime: "ISO dagsetning og tími", + date: "ISO dagsetning", + time: "ISO tími", + duration: "ISO tímalengd", + ipv4: "IPv4 address", + ipv6: "IPv6 address", + cidrv4: "IPv4 range", + cidrv6: "IPv6 range", + base64: "base64-encoded strengur", + base64url: "base64url-encoded strengur", + json_string: "JSON strengur", + e164: "E.164 tölugildi", + jwt: "JWT", + template_literal: "gildi" + }, o = { + nan: "NaN", + number: "númer", + array: "fylki" + }; + return (t) => { + switch (t.code) { + case "invalid_type": { + const i = o[t.expected] ?? t.expected, a = F(t.input), u = o[a] ?? a; + return /^[A-Z]/.test(t.expected) ? `Rangt gildi: Þú slóst inn ${u} þar sem á að vera instanceof ${t.expected}` : `Rangt gildi: Þú slóst inn ${u} þar sem á að vera ${i}`; + } + case "invalid_value": + return t.values.length === 1 ? `Rangt gildi: gert ráð fyrir ${M(t.values[0])}` : `Ógilt val: má vera eitt af eftirfarandi ${k(t.values, "|")}`; + case "too_big": { + const i = t.inclusive ? "<=" : "<", a = n(t.origin); + return a ? `Of stórt: gert er ráð fyrir að ${t.origin ?? "gildi"} hafi ${i}${t.maximum.toString()} ${a.unit ?? "hluti"}` : `Of stórt: gert er ráð fyrir að ${t.origin ?? "gildi"} sé ${i}${t.maximum.toString()}`; + } + case "too_small": { + const i = t.inclusive ? ">=" : ">", a = n(t.origin); + return a ? `Of lítið: gert er ráð fyrir að ${t.origin} hafi ${i}${t.minimum.toString()} ${a.unit}` : `Of lítið: gert er ráð fyrir að ${t.origin} sé ${i}${t.minimum.toString()}`; + } + case "invalid_format": { + const i = t; + return i.format === "starts_with" ? `Ógildur strengur: verður að byrja á "${i.prefix}"` : i.format === "ends_with" ? `Ógildur strengur: verður að enda á "${i.suffix}"` : i.format === "includes" ? `Ógildur strengur: verður að innihalda "${i.includes}"` : i.format === "regex" ? `Ógildur strengur: verður að fylgja mynstri ${i.pattern}` : `Rangt ${r[i.format] ?? t.format}`; + } + case "not_multiple_of": + return `Röng tala: verður að vera margfeldi af ${t.divisor}`; + case "unrecognized_keys": + return `Óþekkt ${t.keys.length > 1 ? "ir lyklar" : "ur lykill"}: ${k(t.keys, ", ")}`; + case "invalid_key": + return `Rangur lykill í ${t.origin}`; + case "invalid_union": + return "Rangt gildi"; + case "invalid_element": + return `Rangt gildi í ${t.origin}`; + default: + return "Rangt gildi"; + } + }; +}; +function Rv() { + return { + localeError: Lv() + }; +} +const Bv = () => { + const e = { + string: { unit: "caratteri", verb: "avere" }, + file: { unit: "byte", verb: "avere" }, + array: { unit: "elementi", verb: "avere" }, + set: { unit: "elementi", verb: "avere" } + }; + function n(t) { + return e[t] ?? null; + } + const r = { + regex: "input", + email: "indirizzo email", + url: "URL", + emoji: "emoji", + uuid: "UUID", + uuidv4: "UUIDv4", + uuidv6: "UUIDv6", + nanoid: "nanoid", + guid: "GUID", + cuid: "cuid", + cuid2: "cuid2", + ulid: "ULID", + xid: "XID", + ksuid: "KSUID", + datetime: "data e ora ISO", + date: "data ISO", + time: "ora ISO", + duration: "durata ISO", + ipv4: "indirizzo IPv4", + ipv6: "indirizzo IPv6", + cidrv4: "intervallo IPv4", + cidrv6: "intervallo IPv6", + base64: "stringa codificata in base64", + base64url: "URL codificata in base64", + json_string: "stringa JSON", + e164: "numero E.164", + jwt: "JWT", + template_literal: "input" + }, o = { + nan: "NaN", + number: "numero", + array: "vettore" + }; + return (t) => { + switch (t.code) { + case "invalid_type": { + const i = o[t.expected] ?? t.expected, a = F(t.input), u = o[a] ?? a; + return /^[A-Z]/.test(t.expected) ? `Input non valido: atteso instanceof ${t.expected}, ricevuto ${u}` : `Input non valido: atteso ${i}, ricevuto ${u}`; + } + case "invalid_value": + return t.values.length === 1 ? `Input non valido: atteso ${M(t.values[0])}` : `Opzione non valida: atteso uno tra ${k(t.values, "|")}`; + case "too_big": { + const i = t.inclusive ? "<=" : "<", a = n(t.origin); + return a ? `Troppo grande: ${t.origin ?? "valore"} deve avere ${i}${t.maximum.toString()} ${a.unit ?? "elementi"}` : `Troppo grande: ${t.origin ?? "valore"} deve essere ${i}${t.maximum.toString()}`; + } + case "too_small": { + const i = t.inclusive ? ">=" : ">", a = n(t.origin); + return a ? `Troppo piccolo: ${t.origin} deve avere ${i}${t.minimum.toString()} ${a.unit}` : `Troppo piccolo: ${t.origin} deve essere ${i}${t.minimum.toString()}`; + } + case "invalid_format": { + const i = t; + return i.format === "starts_with" ? `Stringa non valida: deve iniziare con "${i.prefix}"` : i.format === "ends_with" ? `Stringa non valida: deve terminare con "${i.suffix}"` : i.format === "includes" ? `Stringa non valida: deve includere "${i.includes}"` : i.format === "regex" ? `Stringa non valida: deve corrispondere al pattern ${i.pattern}` : `Invalid ${r[i.format] ?? t.format}`; + } + case "not_multiple_of": + return `Numero non valido: deve essere un multiplo di ${t.divisor}`; + case "unrecognized_keys": + return `Chiav${t.keys.length > 1 ? "i" : "e"} non riconosciut${t.keys.length > 1 ? "e" : "a"}: ${k(t.keys, ", ")}`; + case "invalid_key": + return `Chiave non valida in ${t.origin}`; + case "invalid_union": + return "Input non valido"; + case "invalid_element": + return `Valore non valido in ${t.origin}`; + default: + return "Input non valido"; + } + }; +}; +function Jv() { + return { + localeError: Bv() + }; +} +const Vv = () => { + const e = { + string: { unit: "文字", verb: "である" }, + file: { unit: "バイト", verb: "である" }, + array: { unit: "要素", verb: "である" }, + set: { unit: "要素", verb: "である" } + }; + function n(t) { + return e[t] ?? null; + } + const r = { + regex: "入力値", + email: "メールアドレス", + url: "URL", + emoji: "絵文字", + uuid: "UUID", + uuidv4: "UUIDv4", + uuidv6: "UUIDv6", + nanoid: "nanoid", + guid: "GUID", + cuid: "cuid", + cuid2: "cuid2", + ulid: "ULID", + xid: "XID", + ksuid: "KSUID", + datetime: "ISO日時", + date: "ISO日付", + time: "ISO時刻", + duration: "ISO期間", + ipv4: "IPv4アドレス", + ipv6: "IPv6アドレス", + cidrv4: "IPv4範囲", + cidrv6: "IPv6範囲", + base64: "base64エンコード文字列", + base64url: "base64urlエンコード文字列", + json_string: "JSON文字列", + e164: "E.164番号", + jwt: "JWT", + template_literal: "入力値" + }, o = { + nan: "NaN", + number: "数値", + array: "配列" + }; + return (t) => { + switch (t.code) { + case "invalid_type": { + const i = o[t.expected] ?? t.expected, a = F(t.input), u = o[a] ?? a; + return /^[A-Z]/.test(t.expected) ? `無効な入力: instanceof ${t.expected}が期待されましたが、${u}が入力されました` : `無効な入力: ${i}が期待されましたが、${u}が入力されました`; + } + case "invalid_value": + return t.values.length === 1 ? `無効な入力: ${M(t.values[0])}が期待されました` : `無効な選択: ${k(t.values, "、")}のいずれかである必要があります`; + case "too_big": { + const i = t.inclusive ? "以下である" : "より小さい", a = n(t.origin); + return a ? `大きすぎる値: ${t.origin ?? "値"}は${t.maximum.toString()}${a.unit ?? "要素"}${i}必要があります` : `大きすぎる値: ${t.origin ?? "値"}は${t.maximum.toString()}${i}必要があります`; + } + case "too_small": { + const i = t.inclusive ? "以上である" : "より大きい", a = n(t.origin); + return a ? `小さすぎる値: ${t.origin}は${t.minimum.toString()}${a.unit}${i}必要があります` : `小さすぎる値: ${t.origin}は${t.minimum.toString()}${i}必要があります`; + } + case "invalid_format": { + const i = t; + return i.format === "starts_with" ? `無効な文字列: "${i.prefix}"で始まる必要があります` : i.format === "ends_with" ? `無効な文字列: "${i.suffix}"で終わる必要があります` : i.format === "includes" ? `無効な文字列: "${i.includes}"を含む必要があります` : i.format === "regex" ? `無効な文字列: パターン${i.pattern}に一致する必要があります` : `無効な${r[i.format] ?? t.format}`; + } + case "not_multiple_of": + return `無効な数値: ${t.divisor}の倍数である必要があります`; + case "unrecognized_keys": + return `認識されていないキー${t.keys.length > 1 ? "群" : ""}: ${k(t.keys, "、")}`; + case "invalid_key": + return `${t.origin}内の無効なキー`; + case "invalid_union": + return "無効な入力"; + case "invalid_element": + return `${t.origin}内の無効な値`; + default: + return "無効な入力"; + } + }; +}; +function qv() { + return { + localeError: Vv() + }; +} +const Yv = () => { + const e = { + string: { unit: "სიმბოლო", verb: "უნდა შეიცავდეს" }, + file: { unit: "ბაიტი", verb: "უნდა შეიცავდეს" }, + array: { unit: "ელემენტი", verb: "უნდა შეიცავდეს" }, + set: { unit: "ელემენტი", verb: "უნდა შეიცავდეს" } + }; + function n(t) { + return e[t] ?? null; + } + const r = { + regex: "შეყვანა", + email: "ელ-ფოსტის მისამართი", + url: "URL", + emoji: "ემოჯი", + uuid: "UUID", + uuidv4: "UUIDv4", + uuidv6: "UUIDv6", + nanoid: "nanoid", + guid: "GUID", + cuid: "cuid", + cuid2: "cuid2", + ulid: "ULID", + xid: "XID", + ksuid: "KSUID", + datetime: "თარიღი-დრო", + date: "თარიღი", + time: "დრო", + duration: "ხანგრძლივობა", + ipv4: "IPv4 მისამართი", + ipv6: "IPv6 მისამართი", + cidrv4: "IPv4 დიაპაზონი", + cidrv6: "IPv6 დიაპაზონი", + base64: "base64-კოდირებული სტრინგი", + base64url: "base64url-კოდირებული სტრინგი", + json_string: "JSON სტრინგი", + e164: "E.164 ნომერი", + jwt: "JWT", + template_literal: "შეყვანა" + }, o = { + nan: "NaN", + number: "რიცხვი", + string: "სტრინგი", + boolean: "ბულეანი", + function: "ფუნქცია", + array: "მასივი" + }; + return (t) => { + switch (t.code) { + case "invalid_type": { + const i = o[t.expected] ?? t.expected, a = F(t.input), u = o[a] ?? a; + return /^[A-Z]/.test(t.expected) ? `არასწორი შეყვანა: მოსალოდნელი instanceof ${t.expected}, მიღებული ${u}` : `არასწორი შეყვანა: მოსალოდნელი ${i}, მიღებული ${u}`; + } + case "invalid_value": + return t.values.length === 1 ? `არასწორი შეყვანა: მოსალოდნელი ${M(t.values[0])}` : `არასწორი ვარიანტი: მოსალოდნელია ერთ-ერთი ${k(t.values, "|")}-დან`; + case "too_big": { + const i = t.inclusive ? "<=" : "<", a = n(t.origin); + return a ? `ზედმეტად დიდი: მოსალოდნელი ${t.origin ?? "მნიშვნელობა"} ${a.verb} ${i}${t.maximum.toString()} ${a.unit}` : `ზედმეტად დიდი: მოსალოდნელი ${t.origin ?? "მნიშვნელობა"} იყოს ${i}${t.maximum.toString()}`; + } + case "too_small": { + const i = t.inclusive ? ">=" : ">", a = n(t.origin); + return a ? `ზედმეტად პატარა: მოსალოდნელი ${t.origin} ${a.verb} ${i}${t.minimum.toString()} ${a.unit}` : `ზედმეტად პატარა: მოსალოდნელი ${t.origin} იყოს ${i}${t.minimum.toString()}`; + } + case "invalid_format": { + const i = t; + return i.format === "starts_with" ? `არასწორი სტრინგი: უნდა იწყებოდეს "${i.prefix}"-ით` : i.format === "ends_with" ? `არასწორი სტრინგი: უნდა მთავრდებოდეს "${i.suffix}"-ით` : i.format === "includes" ? `არასწორი სტრინგი: უნდა შეიცავდეს "${i.includes}"-ს` : i.format === "regex" ? `არასწორი სტრინგი: უნდა შეესაბამებოდეს შაბლონს ${i.pattern}` : `არასწორი ${r[i.format] ?? t.format}`; + } + case "not_multiple_of": + return `არასწორი რიცხვი: უნდა იყოს ${t.divisor}-ის ჯერადი`; + case "unrecognized_keys": + return `უცნობი გასაღებ${t.keys.length > 1 ? "ები" : "ი"}: ${k(t.keys, ", ")}`; + case "invalid_key": + return `არასწორი გასაღები ${t.origin}-ში`; + case "invalid_union": + return "არასწორი შეყვანა"; + case "invalid_element": + return `არასწორი მნიშვნელობა ${t.origin}-ში`; + default: + return "არასწორი შეყვანა"; + } + }; +}; +function Kv() { + return { + localeError: Yv() + }; +} +const Wv = () => { + const e = { + string: { unit: "តួអក្សរ", verb: "គួរមាន" }, + file: { unit: "បៃ", verb: "គួរមាន" }, + array: { unit: "ធាតុ", verb: "គួរមាន" }, + set: { unit: "ធាតុ", verb: "គួរមាន" } + }; + function n(t) { + return e[t] ?? null; + } + const r = { + regex: "ទិន្នន័យបញ្ចូល", + email: "អាសយដ្ឋានអ៊ីមែល", + url: "URL", + emoji: "សញ្ញាអារម្មណ៍", + uuid: "UUID", + uuidv4: "UUIDv4", + uuidv6: "UUIDv6", + nanoid: "nanoid", + guid: "GUID", + cuid: "cuid", + cuid2: "cuid2", + ulid: "ULID", + xid: "XID", + ksuid: "KSUID", + datetime: "កាលបរិច្ឆេទ និងម៉ោង ISO", + date: "កាលបរិច្ឆេទ ISO", + time: "ម៉ោង ISO", + duration: "រយៈពេល ISO", + ipv4: "អាសយដ្ឋាន IPv4", + ipv6: "អាសយដ្ឋាន IPv6", + cidrv4: "ដែនអាសយដ្ឋាន IPv4", + cidrv6: "ដែនអាសយដ្ឋាន IPv6", + base64: "ខ្សែអក្សរអ៊ិកូដ base64", + base64url: "ខ្សែអក្សរអ៊ិកូដ base64url", + json_string: "ខ្សែអក្សរ JSON", + e164: "លេខ E.164", + jwt: "JWT", + template_literal: "ទិន្នន័យបញ្ចូល" + }, o = { + nan: "NaN", + number: "លេខ", + array: "អារេ (Array)", + null: "គ្មានតម្លៃ (null)" + }; + return (t) => { + switch (t.code) { + case "invalid_type": { + const i = o[t.expected] ?? t.expected, a = F(t.input), u = o[a] ?? a; + return /^[A-Z]/.test(t.expected) ? `ទិន្នន័យបញ្ចូលមិនត្រឹមត្រូវ៖ ត្រូវការ instanceof ${t.expected} ប៉ុន្តែទទួលបាន ${u}` : `ទិន្នន័យបញ្ចូលមិនត្រឹមត្រូវ៖ ត្រូវការ ${i} ប៉ុន្តែទទួលបាន ${u}`; + } + case "invalid_value": + return t.values.length === 1 ? `ទិន្នន័យបញ្ចូលមិនត្រឹមត្រូវ៖ ត្រូវការ ${M(t.values[0])}` : `ជម្រើសមិនត្រឹមត្រូវ៖ ត្រូវជាមួយក្នុងចំណោម ${k(t.values, "|")}`; + case "too_big": { + const i = t.inclusive ? "<=" : "<", a = n(t.origin); + return a ? `ធំពេក៖ ត្រូវការ ${t.origin ?? "តម្លៃ"} ${i} ${t.maximum.toString()} ${a.unit ?? "ធាតុ"}` : `ធំពេក៖ ត្រូវការ ${t.origin ?? "តម្លៃ"} ${i} ${t.maximum.toString()}`; + } + case "too_small": { + const i = t.inclusive ? ">=" : ">", a = n(t.origin); + return a ? `តូចពេក៖ ត្រូវការ ${t.origin} ${i} ${t.minimum.toString()} ${a.unit}` : `តូចពេក៖ ត្រូវការ ${t.origin} ${i} ${t.minimum.toString()}`; + } + case "invalid_format": { + const i = t; + return i.format === "starts_with" ? `ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវចាប់ផ្តើមដោយ "${i.prefix}"` : i.format === "ends_with" ? `ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវបញ្ចប់ដោយ "${i.suffix}"` : i.format === "includes" ? `ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវមាន "${i.includes}"` : i.format === "regex" ? `ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវតែផ្គូផ្គងនឹងទម្រង់ដែលបានកំណត់ ${i.pattern}` : `មិនត្រឹមត្រូវ៖ ${r[i.format] ?? t.format}`; + } + case "not_multiple_of": + return `លេខមិនត្រឹមត្រូវ៖ ត្រូវតែជាពហុគុណនៃ ${t.divisor}`; + case "unrecognized_keys": + return `រកឃើញសោមិនស្គាល់៖ ${k(t.keys, ", ")}`; + case "invalid_key": + return `សោមិនត្រឹមត្រូវនៅក្នុង ${t.origin}`; + case "invalid_union": + return "ទិន្នន័យមិនត្រឹមត្រូវ"; + case "invalid_element": + return `ទិន្នន័យមិនត្រឹមត្រូវនៅក្នុង ${t.origin}`; + default: + return "ទិន្នន័យមិនត្រឹមត្រូវ"; + } + }; +}; +function vc() { + return { + localeError: Wv() + }; +} +function Gv() { + return vc(); +} +const Hv = () => { + const e = { + string: { unit: "문자", verb: "to have" }, + file: { unit: "바이트", verb: "to have" }, + array: { unit: "개", verb: "to have" }, + set: { unit: "개", verb: "to have" } + }; + function n(t) { + return e[t] ?? null; + } + const r = { + regex: "입력", + email: "이메일 주소", + url: "URL", + emoji: "이모지", + uuid: "UUID", + uuidv4: "UUIDv4", + uuidv6: "UUIDv6", + nanoid: "nanoid", + guid: "GUID", + cuid: "cuid", + cuid2: "cuid2", + ulid: "ULID", + xid: "XID", + ksuid: "KSUID", + datetime: "ISO 날짜시간", + date: "ISO 날짜", + time: "ISO 시간", + duration: "ISO 기간", + ipv4: "IPv4 주소", + ipv6: "IPv6 주소", + cidrv4: "IPv4 범위", + cidrv6: "IPv6 범위", + base64: "base64 인코딩 문자열", + base64url: "base64url 인코딩 문자열", + json_string: "JSON 문자열", + e164: "E.164 번호", + jwt: "JWT", + template_literal: "입력" + }, o = { + nan: "NaN" + }; + return (t) => { + switch (t.code) { + case "invalid_type": { + const i = o[t.expected] ?? t.expected, a = F(t.input), u = o[a] ?? a; + return /^[A-Z]/.test(t.expected) ? `잘못된 입력: 예상 타입은 instanceof ${t.expected}, 받은 타입은 ${u}입니다` : `잘못된 입력: 예상 타입은 ${i}, 받은 타입은 ${u}입니다`; + } + case "invalid_value": + return t.values.length === 1 ? `잘못된 입력: 값은 ${M(t.values[0])} 이어야 합니다` : `잘못된 옵션: ${k(t.values, "또는 ")} 중 하나여야 합니다`; + case "too_big": { + const i = t.inclusive ? "이하" : "미만", a = i === "미만" ? "이어야 합니다" : "여야 합니다", u = n(t.origin), c = (u == null ? void 0 : u.unit) ?? "요소"; + return u ? `${t.origin ?? "값"}이 너무 큽니다: ${t.maximum.toString()}${c} ${i}${a}` : `${t.origin ?? "값"}이 너무 큽니다: ${t.maximum.toString()} ${i}${a}`; + } + case "too_small": { + const i = t.inclusive ? "이상" : "초과", a = i === "이상" ? "이어야 합니다" : "여야 합니다", u = n(t.origin), c = (u == null ? void 0 : u.unit) ?? "요소"; + return u ? `${t.origin ?? "값"}이 너무 작습니다: ${t.minimum.toString()}${c} ${i}${a}` : `${t.origin ?? "값"}이 너무 작습니다: ${t.minimum.toString()} ${i}${a}`; + } + case "invalid_format": { + const i = t; + return i.format === "starts_with" ? `잘못된 문자열: "${i.prefix}"(으)로 시작해야 합니다` : i.format === "ends_with" ? `잘못된 문자열: "${i.suffix}"(으)로 끝나야 합니다` : i.format === "includes" ? `잘못된 문자열: "${i.includes}"을(를) 포함해야 합니다` : i.format === "regex" ? `잘못된 문자열: 정규식 ${i.pattern} 패턴과 일치해야 합니다` : `잘못된 ${r[i.format] ?? t.format}`; + } + case "not_multiple_of": + return `잘못된 숫자: ${t.divisor}의 배수여야 합니다`; + case "unrecognized_keys": + return `인식할 수 없는 키: ${k(t.keys, ", ")}`; + case "invalid_key": + return `잘못된 키: ${t.origin}`; + case "invalid_union": + return "잘못된 입력"; + case "invalid_element": + return `잘못된 값: ${t.origin}`; + default: + return "잘못된 입력"; + } + }; +}; +function Xv() { + return { + localeError: Hv() + }; +} +const Ut = (e) => e.charAt(0).toUpperCase() + e.slice(1); +function Xo(e) { + const n = Math.abs(e), r = n % 10, o = n % 100; + return o >= 11 && o <= 19 || r === 0 ? "many" : r === 1 ? "one" : "few"; +} +const Qv = () => { + const e = { + string: { + unit: { + one: "simbolis", + few: "simboliai", + many: "simbolių" + }, + verb: { + smaller: { + inclusive: "turi būti ne ilgesnė kaip", + notInclusive: "turi būti trumpesnė kaip" + }, + bigger: { + inclusive: "turi būti ne trumpesnė kaip", + notInclusive: "turi būti ilgesnė kaip" + } + } + }, + file: { + unit: { + one: "baitas", + few: "baitai", + many: "baitų" + }, + verb: { + smaller: { + inclusive: "turi būti ne didesnis kaip", + notInclusive: "turi būti mažesnis kaip" + }, + bigger: { + inclusive: "turi būti ne mažesnis kaip", + notInclusive: "turi būti didesnis kaip" + } + } + }, + array: { + unit: { + one: "elementą", + few: "elementus", + many: "elementų" + }, + verb: { + smaller: { + inclusive: "turi turėti ne daugiau kaip", + notInclusive: "turi turėti mažiau kaip" + }, + bigger: { + inclusive: "turi turėti ne mažiau kaip", + notInclusive: "turi turėti daugiau kaip" + } + } + }, + set: { + unit: { + one: "elementą", + few: "elementus", + many: "elementų" + }, + verb: { + smaller: { + inclusive: "turi turėti ne daugiau kaip", + notInclusive: "turi turėti mažiau kaip" + }, + bigger: { + inclusive: "turi turėti ne mažiau kaip", + notInclusive: "turi turėti daugiau kaip" + } + } + } + }; + function n(t, i, a, u) { + const c = e[t] ?? null; + return c === null ? c : { + unit: c.unit[i], + verb: c.verb[u][a ? "inclusive" : "notInclusive"] + }; + } + const r = { + regex: "įvestis", + email: "el. pašto adresas", + url: "URL", + emoji: "jaustukas", + uuid: "UUID", + uuidv4: "UUIDv4", + uuidv6: "UUIDv6", + nanoid: "nanoid", + guid: "GUID", + cuid: "cuid", + cuid2: "cuid2", + ulid: "ULID", + xid: "XID", + ksuid: "KSUID", + datetime: "ISO data ir laikas", + date: "ISO data", + time: "ISO laikas", + duration: "ISO trukmė", + ipv4: "IPv4 adresas", + ipv6: "IPv6 adresas", + cidrv4: "IPv4 tinklo prefiksas (CIDR)", + cidrv6: "IPv6 tinklo prefiksas (CIDR)", + base64: "base64 užkoduota eilutė", + base64url: "base64url užkoduota eilutė", + json_string: "JSON eilutė", + e164: "E.164 numeris", + jwt: "JWT", + template_literal: "įvestis" + }, o = { + nan: "NaN", + number: "skaičius", + bigint: "sveikasis skaičius", + string: "eilutė", + boolean: "loginė reikšmė", + undefined: "neapibrėžta reikšmė", + function: "funkcija", + symbol: "simbolis", + array: "masyvas", + object: "objektas", + null: "nulinė reikšmė" + }; + return (t) => { + switch (t.code) { + case "invalid_type": { + const i = o[t.expected] ?? t.expected, a = F(t.input), u = o[a] ?? a; + return /^[A-Z]/.test(t.expected) ? `Gautas tipas ${u}, o tikėtasi - instanceof ${t.expected}` : `Gautas tipas ${u}, o tikėtasi - ${i}`; + } + case "invalid_value": + return t.values.length === 1 ? `Privalo būti ${M(t.values[0])}` : `Privalo būti vienas iš ${k(t.values, "|")} pasirinkimų`; + case "too_big": { + const i = o[t.origin] ?? t.origin, a = n(t.origin, Xo(Number(t.maximum)), t.inclusive ?? !1, "smaller"); + if (a != null && a.verb) + return `${Ut(i ?? t.origin ?? "reikšmė")} ${a.verb} ${t.maximum.toString()} ${a.unit ?? "elementų"}`; + const u = t.inclusive ? "ne didesnis kaip" : "mažesnis kaip"; + return `${Ut(i ?? t.origin ?? "reikšmė")} turi būti ${u} ${t.maximum.toString()} ${a == null ? void 0 : a.unit}`; + } + case "too_small": { + const i = o[t.origin] ?? t.origin, a = n(t.origin, Xo(Number(t.minimum)), t.inclusive ?? !1, "bigger"); + if (a != null && a.verb) + return `${Ut(i ?? t.origin ?? "reikšmė")} ${a.verb} ${t.minimum.toString()} ${a.unit ?? "elementų"}`; + const u = t.inclusive ? "ne mažesnis kaip" : "didesnis kaip"; + return `${Ut(i ?? t.origin ?? "reikšmė")} turi būti ${u} ${t.minimum.toString()} ${a == null ? void 0 : a.unit}`; + } + case "invalid_format": { + const i = t; + return i.format === "starts_with" ? `Eilutė privalo prasidėti "${i.prefix}"` : i.format === "ends_with" ? `Eilutė privalo pasibaigti "${i.suffix}"` : i.format === "includes" ? `Eilutė privalo įtraukti "${i.includes}"` : i.format === "regex" ? `Eilutė privalo atitikti ${i.pattern}` : `Neteisingas ${r[i.format] ?? t.format}`; + } + case "not_multiple_of": + return `Skaičius privalo būti ${t.divisor} kartotinis.`; + case "unrecognized_keys": + return `Neatpažint${t.keys.length > 1 ? "i" : "as"} rakt${t.keys.length > 1 ? "ai" : "as"}: ${k(t.keys, ", ")}`; + case "invalid_key": + return "Rastas klaidingas raktas"; + case "invalid_union": + return "Klaidinga įvestis"; + case "invalid_element": { + const i = o[t.origin] ?? t.origin; + return `${Ut(i ?? t.origin ?? "reikšmė")} turi klaidingą įvestį`; + } + default: + return "Klaidinga įvestis"; + } + }; +}; +function ep() { + return { + localeError: Qv() + }; +} +const tp = () => { + const e = { + string: { unit: "знаци", verb: "да имаат" }, + file: { unit: "бајти", verb: "да имаат" }, + array: { unit: "ставки", verb: "да имаат" }, + set: { unit: "ставки", verb: "да имаат" } + }; + function n(t) { + return e[t] ?? null; + } + const r = { + regex: "внес", + email: "адреса на е-пошта", + url: "URL", + emoji: "емоџи", + uuid: "UUID", + uuidv4: "UUIDv4", + uuidv6: "UUIDv6", + nanoid: "nanoid", + guid: "GUID", + cuid: "cuid", + cuid2: "cuid2", + ulid: "ULID", + xid: "XID", + ksuid: "KSUID", + datetime: "ISO датум и време", + date: "ISO датум", + time: "ISO време", + duration: "ISO времетраење", + ipv4: "IPv4 адреса", + ipv6: "IPv6 адреса", + cidrv4: "IPv4 опсег", + cidrv6: "IPv6 опсег", + base64: "base64-енкодирана низа", + base64url: "base64url-енкодирана низа", + json_string: "JSON низа", + e164: "E.164 број", + jwt: "JWT", + template_literal: "внес" + }, o = { + nan: "NaN", + number: "број", + array: "низа" + }; + return (t) => { + switch (t.code) { + case "invalid_type": { + const i = o[t.expected] ?? t.expected, a = F(t.input), u = o[a] ?? a; + return /^[A-Z]/.test(t.expected) ? `Грешен внес: се очекува instanceof ${t.expected}, примено ${u}` : `Грешен внес: се очекува ${i}, примено ${u}`; + } + case "invalid_value": + return t.values.length === 1 ? `Invalid input: expected ${M(t.values[0])}` : `Грешана опција: се очекува една ${k(t.values, "|")}`; + case "too_big": { + const i = t.inclusive ? "<=" : "<", a = n(t.origin); + return a ? `Премногу голем: се очекува ${t.origin ?? "вредноста"} да има ${i}${t.maximum.toString()} ${a.unit ?? "елементи"}` : `Премногу голем: се очекува ${t.origin ?? "вредноста"} да биде ${i}${t.maximum.toString()}`; + } + case "too_small": { + const i = t.inclusive ? ">=" : ">", a = n(t.origin); + return a ? `Премногу мал: се очекува ${t.origin} да има ${i}${t.minimum.toString()} ${a.unit}` : `Премногу мал: се очекува ${t.origin} да биде ${i}${t.minimum.toString()}`; + } + case "invalid_format": { + const i = t; + return i.format === "starts_with" ? `Неважечка низа: мора да започнува со "${i.prefix}"` : i.format === "ends_with" ? `Неважечка низа: мора да завршува со "${i.suffix}"` : i.format === "includes" ? `Неважечка низа: мора да вклучува "${i.includes}"` : i.format === "regex" ? `Неважечка низа: мора да одгоара на патернот ${i.pattern}` : `Invalid ${r[i.format] ?? t.format}`; + } + case "not_multiple_of": + return `Грешен број: мора да биде делив со ${t.divisor}`; + case "unrecognized_keys": + return `${t.keys.length > 1 ? "Непрепознаени клучеви" : "Непрепознаен клуч"}: ${k(t.keys, ", ")}`; + case "invalid_key": + return `Грешен клуч во ${t.origin}`; + case "invalid_union": + return "Грешен внес"; + case "invalid_element": + return `Грешна вредност во ${t.origin}`; + default: + return "Грешен внес"; + } + }; +}; +function np() { + return { + localeError: tp() + }; +} +const rp = () => { + const e = { + string: { unit: "aksara", verb: "mempunyai" }, + file: { unit: "bait", verb: "mempunyai" }, + array: { unit: "elemen", verb: "mempunyai" }, + set: { unit: "elemen", verb: "mempunyai" } + }; + function n(t) { + return e[t] ?? null; + } + const r = { + regex: "input", + email: "alamat e-mel", + url: "URL", + emoji: "emoji", + uuid: "UUID", + uuidv4: "UUIDv4", + uuidv6: "UUIDv6", + nanoid: "nanoid", + guid: "GUID", + cuid: "cuid", + cuid2: "cuid2", + ulid: "ULID", + xid: "XID", + ksuid: "KSUID", + datetime: "tarikh masa ISO", + date: "tarikh ISO", + time: "masa ISO", + duration: "tempoh ISO", + ipv4: "alamat IPv4", + ipv6: "alamat IPv6", + cidrv4: "julat IPv4", + cidrv6: "julat IPv6", + base64: "string dikodkan base64", + base64url: "string dikodkan base64url", + json_string: "string JSON", + e164: "nombor E.164", + jwt: "JWT", + template_literal: "input" + }, o = { + nan: "NaN", + number: "nombor" + }; + return (t) => { + switch (t.code) { + case "invalid_type": { + const i = o[t.expected] ?? t.expected, a = F(t.input), u = o[a] ?? a; + return /^[A-Z]/.test(t.expected) ? `Input tidak sah: dijangka instanceof ${t.expected}, diterima ${u}` : `Input tidak sah: dijangka ${i}, diterima ${u}`; + } + case "invalid_value": + return t.values.length === 1 ? `Input tidak sah: dijangka ${M(t.values[0])}` : `Pilihan tidak sah: dijangka salah satu daripada ${k(t.values, "|")}`; + case "too_big": { + const i = t.inclusive ? "<=" : "<", a = n(t.origin); + return a ? `Terlalu besar: dijangka ${t.origin ?? "nilai"} ${a.verb} ${i}${t.maximum.toString()} ${a.unit ?? "elemen"}` : `Terlalu besar: dijangka ${t.origin ?? "nilai"} adalah ${i}${t.maximum.toString()}`; + } + case "too_small": { + const i = t.inclusive ? ">=" : ">", a = n(t.origin); + return a ? `Terlalu kecil: dijangka ${t.origin} ${a.verb} ${i}${t.minimum.toString()} ${a.unit}` : `Terlalu kecil: dijangka ${t.origin} adalah ${i}${t.minimum.toString()}`; + } + case "invalid_format": { + const i = t; + return i.format === "starts_with" ? `String tidak sah: mesti bermula dengan "${i.prefix}"` : i.format === "ends_with" ? `String tidak sah: mesti berakhir dengan "${i.suffix}"` : i.format === "includes" ? `String tidak sah: mesti mengandungi "${i.includes}"` : i.format === "regex" ? `String tidak sah: mesti sepadan dengan corak ${i.pattern}` : `${r[i.format] ?? t.format} tidak sah`; + } + case "not_multiple_of": + return `Nombor tidak sah: perlu gandaan ${t.divisor}`; + case "unrecognized_keys": + return `Kunci tidak dikenali: ${k(t.keys, ", ")}`; + case "invalid_key": + return `Kunci tidak sah dalam ${t.origin}`; + case "invalid_union": + return "Input tidak sah"; + case "invalid_element": + return `Nilai tidak sah dalam ${t.origin}`; + default: + return "Input tidak sah"; + } + }; +}; +function ip() { + return { + localeError: rp() + }; +} +const op = () => { + const e = { + string: { unit: "tekens", verb: "heeft" }, + file: { unit: "bytes", verb: "heeft" }, + array: { unit: "elementen", verb: "heeft" }, + set: { unit: "elementen", verb: "heeft" } + }; + function n(t) { + return e[t] ?? null; + } + const r = { + regex: "invoer", + email: "emailadres", + url: "URL", + emoji: "emoji", + uuid: "UUID", + uuidv4: "UUIDv4", + uuidv6: "UUIDv6", + nanoid: "nanoid", + guid: "GUID", + cuid: "cuid", + cuid2: "cuid2", + ulid: "ULID", + xid: "XID", + ksuid: "KSUID", + datetime: "ISO datum en tijd", + date: "ISO datum", + time: "ISO tijd", + duration: "ISO duur", + ipv4: "IPv4-adres", + ipv6: "IPv6-adres", + cidrv4: "IPv4-bereik", + cidrv6: "IPv6-bereik", + base64: "base64-gecodeerde tekst", + base64url: "base64 URL-gecodeerde tekst", + json_string: "JSON string", + e164: "E.164-nummer", + jwt: "JWT", + template_literal: "invoer" + }, o = { + nan: "NaN", + number: "getal" + }; + return (t) => { + switch (t.code) { + case "invalid_type": { + const i = o[t.expected] ?? t.expected, a = F(t.input), u = o[a] ?? a; + return /^[A-Z]/.test(t.expected) ? `Ongeldige invoer: verwacht instanceof ${t.expected}, ontving ${u}` : `Ongeldige invoer: verwacht ${i}, ontving ${u}`; + } + case "invalid_value": + return t.values.length === 1 ? `Ongeldige invoer: verwacht ${M(t.values[0])}` : `Ongeldige optie: verwacht één van ${k(t.values, "|")}`; + case "too_big": { + const i = t.inclusive ? "<=" : "<", a = n(t.origin), u = t.origin === "date" ? "laat" : t.origin === "string" ? "lang" : "groot"; + return a ? `Te ${u}: verwacht dat ${t.origin ?? "waarde"} ${i}${t.maximum.toString()} ${a.unit ?? "elementen"} ${a.verb}` : `Te ${u}: verwacht dat ${t.origin ?? "waarde"} ${i}${t.maximum.toString()} is`; + } + case "too_small": { + const i = t.inclusive ? ">=" : ">", a = n(t.origin), u = t.origin === "date" ? "vroeg" : t.origin === "string" ? "kort" : "klein"; + return a ? `Te ${u}: verwacht dat ${t.origin} ${i}${t.minimum.toString()} ${a.unit} ${a.verb}` : `Te ${u}: verwacht dat ${t.origin} ${i}${t.minimum.toString()} is`; + } + case "invalid_format": { + const i = t; + return i.format === "starts_with" ? `Ongeldige tekst: moet met "${i.prefix}" beginnen` : i.format === "ends_with" ? `Ongeldige tekst: moet op "${i.suffix}" eindigen` : i.format === "includes" ? `Ongeldige tekst: moet "${i.includes}" bevatten` : i.format === "regex" ? `Ongeldige tekst: moet overeenkomen met patroon ${i.pattern}` : `Ongeldig: ${r[i.format] ?? t.format}`; + } + case "not_multiple_of": + return `Ongeldig getal: moet een veelvoud van ${t.divisor} zijn`; + case "unrecognized_keys": + return `Onbekende key${t.keys.length > 1 ? "s" : ""}: ${k(t.keys, ", ")}`; + case "invalid_key": + return `Ongeldige key in ${t.origin}`; + case "invalid_union": + return "Ongeldige invoer"; + case "invalid_element": + return `Ongeldige waarde in ${t.origin}`; + default: + return "Ongeldige invoer"; + } + }; +}; +function ap() { + return { + localeError: op() + }; +} +const up = () => { + const e = { + string: { unit: "tegn", verb: "å ha" }, + file: { unit: "bytes", verb: "å ha" }, + array: { unit: "elementer", verb: "å inneholde" }, + set: { unit: "elementer", verb: "å inneholde" } + }; + function n(t) { + return e[t] ?? null; + } + const r = { + regex: "input", + email: "e-postadresse", + url: "URL", + emoji: "emoji", + uuid: "UUID", + uuidv4: "UUIDv4", + uuidv6: "UUIDv6", + nanoid: "nanoid", + guid: "GUID", + cuid: "cuid", + cuid2: "cuid2", + ulid: "ULID", + xid: "XID", + ksuid: "KSUID", + datetime: "ISO dato- og klokkeslett", + date: "ISO-dato", + time: "ISO-klokkeslett", + duration: "ISO-varighet", + ipv4: "IPv4-område", + ipv6: "IPv6-område", + cidrv4: "IPv4-spekter", + cidrv6: "IPv6-spekter", + base64: "base64-enkodet streng", + base64url: "base64url-enkodet streng", + json_string: "JSON-streng", + e164: "E.164-nummer", + jwt: "JWT", + template_literal: "input" + }, o = { + nan: "NaN", + number: "tall", + array: "liste" + }; + return (t) => { + switch (t.code) { + case "invalid_type": { + const i = o[t.expected] ?? t.expected, a = F(t.input), u = o[a] ?? a; + return /^[A-Z]/.test(t.expected) ? `Ugyldig input: forventet instanceof ${t.expected}, fikk ${u}` : `Ugyldig input: forventet ${i}, fikk ${u}`; + } + case "invalid_value": + return t.values.length === 1 ? `Ugyldig verdi: forventet ${M(t.values[0])}` : `Ugyldig valg: forventet en av ${k(t.values, "|")}`; + case "too_big": { + const i = t.inclusive ? "<=" : "<", a = n(t.origin); + return a ? `For stor(t): forventet ${t.origin ?? "value"} til å ha ${i}${t.maximum.toString()} ${a.unit ?? "elementer"}` : `For stor(t): forventet ${t.origin ?? "value"} til å ha ${i}${t.maximum.toString()}`; + } + case "too_small": { + const i = t.inclusive ? ">=" : ">", a = n(t.origin); + return a ? `For lite(n): forventet ${t.origin} til å ha ${i}${t.minimum.toString()} ${a.unit}` : `For lite(n): forventet ${t.origin} til å ha ${i}${t.minimum.toString()}`; + } + case "invalid_format": { + const i = t; + return i.format === "starts_with" ? `Ugyldig streng: må starte med "${i.prefix}"` : i.format === "ends_with" ? `Ugyldig streng: må ende med "${i.suffix}"` : i.format === "includes" ? `Ugyldig streng: må inneholde "${i.includes}"` : i.format === "regex" ? `Ugyldig streng: må matche mønsteret ${i.pattern}` : `Ugyldig ${r[i.format] ?? t.format}`; + } + case "not_multiple_of": + return `Ugyldig tall: må være et multiplum av ${t.divisor}`; + case "unrecognized_keys": + return `${t.keys.length > 1 ? "Ukjente nøkler" : "Ukjent nøkkel"}: ${k(t.keys, ", ")}`; + case "invalid_key": + return `Ugyldig nøkkel i ${t.origin}`; + case "invalid_union": + return "Ugyldig input"; + case "invalid_element": + return `Ugyldig verdi i ${t.origin}`; + default: + return "Ugyldig input"; + } + }; +}; +function lp() { + return { + localeError: up() + }; +} +const cp = () => { + const e = { + string: { unit: "harf", verb: "olmalıdır" }, + file: { unit: "bayt", verb: "olmalıdır" }, + array: { unit: "unsur", verb: "olmalıdır" }, + set: { unit: "unsur", verb: "olmalıdır" } + }; + function n(t) { + return e[t] ?? null; + } + const r = { + regex: "giren", + email: "epostagâh", + url: "URL", + emoji: "emoji", + uuid: "UUID", + uuidv4: "UUIDv4", + uuidv6: "UUIDv6", + nanoid: "nanoid", + guid: "GUID", + cuid: "cuid", + cuid2: "cuid2", + ulid: "ULID", + xid: "XID", + ksuid: "KSUID", + datetime: "ISO hengâmı", + date: "ISO tarihi", + time: "ISO zamanı", + duration: "ISO müddeti", + ipv4: "IPv4 nişânı", + ipv6: "IPv6 nişânı", + cidrv4: "IPv4 menzili", + cidrv6: "IPv6 menzili", + base64: "base64-şifreli metin", + base64url: "base64url-şifreli metin", + json_string: "JSON metin", + e164: "E.164 sayısı", + jwt: "JWT", + template_literal: "giren" + }, o = { + nan: "NaN", + number: "numara", + array: "saf", + null: "gayb" + }; + return (t) => { + switch (t.code) { + case "invalid_type": { + const i = o[t.expected] ?? t.expected, a = F(t.input), u = o[a] ?? a; + return /^[A-Z]/.test(t.expected) ? `Fâsit giren: umulan instanceof ${t.expected}, alınan ${u}` : `Fâsit giren: umulan ${i}, alınan ${u}`; + } + case "invalid_value": + return t.values.length === 1 ? `Fâsit giren: umulan ${M(t.values[0])}` : `Fâsit tercih: mûteberler ${k(t.values, "|")}`; + case "too_big": { + const i = t.inclusive ? "<=" : "<", a = n(t.origin); + return a ? `Fazla büyük: ${t.origin ?? "value"}, ${i}${t.maximum.toString()} ${a.unit ?? "elements"} sahip olmalıydı.` : `Fazla büyük: ${t.origin ?? "value"}, ${i}${t.maximum.toString()} olmalıydı.`; + } + case "too_small": { + const i = t.inclusive ? ">=" : ">", a = n(t.origin); + return a ? `Fazla küçük: ${t.origin}, ${i}${t.minimum.toString()} ${a.unit} sahip olmalıydı.` : `Fazla küçük: ${t.origin}, ${i}${t.minimum.toString()} olmalıydı.`; + } + case "invalid_format": { + const i = t; + return i.format === "starts_with" ? `Fâsit metin: "${i.prefix}" ile başlamalı.` : i.format === "ends_with" ? `Fâsit metin: "${i.suffix}" ile bitmeli.` : i.format === "includes" ? `Fâsit metin: "${i.includes}" ihtivâ etmeli.` : i.format === "regex" ? `Fâsit metin: ${i.pattern} nakşına uymalı.` : `Fâsit ${r[i.format] ?? t.format}`; + } + case "not_multiple_of": + return `Fâsit sayı: ${t.divisor} katı olmalıydı.`; + case "unrecognized_keys": + return `Tanınmayan anahtar ${t.keys.length > 1 ? "s" : ""}: ${k(t.keys, ", ")}`; + case "invalid_key": + return `${t.origin} için tanınmayan anahtar var.`; + case "invalid_union": + return "Giren tanınamadı."; + case "invalid_element": + return `${t.origin} için tanınmayan kıymet var.`; + default: + return "Kıymet tanınamadı."; + } + }; +}; +function sp() { + return { + localeError: cp() + }; +} +const dp = () => { + const e = { + string: { unit: "توکي", verb: "ولري" }, + file: { unit: "بایټس", verb: "ولري" }, + array: { unit: "توکي", verb: "ولري" }, + set: { unit: "توکي", verb: "ولري" } + }; + function n(t) { + return e[t] ?? null; + } + const r = { + regex: "ورودي", + email: "بریښنالیک", + url: "یو آر ال", + emoji: "ایموجي", + uuid: "UUID", + uuidv4: "UUIDv4", + uuidv6: "UUIDv6", + nanoid: "nanoid", + guid: "GUID", + cuid: "cuid", + cuid2: "cuid2", + ulid: "ULID", + xid: "XID", + ksuid: "KSUID", + datetime: "نیټه او وخت", + date: "نېټه", + time: "وخت", + duration: "موده", + ipv4: "د IPv4 پته", + ipv6: "د IPv6 پته", + cidrv4: "د IPv4 ساحه", + cidrv6: "د IPv6 ساحه", + base64: "base64-encoded متن", + base64url: "base64url-encoded متن", + json_string: "JSON متن", + e164: "د E.164 شمېره", + jwt: "JWT", + template_literal: "ورودي" + }, o = { + nan: "NaN", + number: "عدد", + array: "ارې" + }; + return (t) => { + switch (t.code) { + case "invalid_type": { + const i = o[t.expected] ?? t.expected, a = F(t.input), u = o[a] ?? a; + return /^[A-Z]/.test(t.expected) ? `ناسم ورودي: باید instanceof ${t.expected} وای, مګر ${u} ترلاسه شو` : `ناسم ورودي: باید ${i} وای, مګر ${u} ترلاسه شو`; + } + case "invalid_value": + return t.values.length === 1 ? `ناسم ورودي: باید ${M(t.values[0])} وای` : `ناسم انتخاب: باید یو له ${k(t.values, "|")} څخه وای`; + case "too_big": { + const i = t.inclusive ? "<=" : "<", a = n(t.origin); + return a ? `ډیر لوی: ${t.origin ?? "ارزښت"} باید ${i}${t.maximum.toString()} ${a.unit ?? "عنصرونه"} ولري` : `ډیر لوی: ${t.origin ?? "ارزښت"} باید ${i}${t.maximum.toString()} وي`; + } + case "too_small": { + const i = t.inclusive ? ">=" : ">", a = n(t.origin); + return a ? `ډیر کوچنی: ${t.origin} باید ${i}${t.minimum.toString()} ${a.unit} ولري` : `ډیر کوچنی: ${t.origin} باید ${i}${t.minimum.toString()} وي`; + } + case "invalid_format": { + const i = t; + return i.format === "starts_with" ? `ناسم متن: باید د "${i.prefix}" سره پیل شي` : i.format === "ends_with" ? `ناسم متن: باید د "${i.suffix}" سره پای ته ورسيږي` : i.format === "includes" ? `ناسم متن: باید "${i.includes}" ولري` : i.format === "regex" ? `ناسم متن: باید د ${i.pattern} سره مطابقت ولري` : `${r[i.format] ?? t.format} ناسم دی`; + } + case "not_multiple_of": + return `ناسم عدد: باید د ${t.divisor} مضرب وي`; + case "unrecognized_keys": + return `ناسم ${t.keys.length > 1 ? "کلیډونه" : "کلیډ"}: ${k(t.keys, ", ")}`; + case "invalid_key": + return `ناسم کلیډ په ${t.origin} کې`; + case "invalid_union": + return "ناسمه ورودي"; + case "invalid_element": + return `ناسم عنصر په ${t.origin} کې`; + default: + return "ناسمه ورودي"; + } + }; +}; +function fp() { + return { + localeError: dp() + }; +} +const mp = () => { + const e = { + string: { unit: "znaków", verb: "mieć" }, + file: { unit: "bajtów", verb: "mieć" }, + array: { unit: "elementów", verb: "mieć" }, + set: { unit: "elementów", verb: "mieć" } + }; + function n(t) { + return e[t] ?? null; + } + const r = { + regex: "wyrażenie", + email: "adres email", + url: "URL", + emoji: "emoji", + uuid: "UUID", + uuidv4: "UUIDv4", + uuidv6: "UUIDv6", + nanoid: "nanoid", + guid: "GUID", + cuid: "cuid", + cuid2: "cuid2", + ulid: "ULID", + xid: "XID", + ksuid: "KSUID", + datetime: "data i godzina w formacie ISO", + date: "data w formacie ISO", + time: "godzina w formacie ISO", + duration: "czas trwania ISO", + ipv4: "adres IPv4", + ipv6: "adres IPv6", + cidrv4: "zakres IPv4", + cidrv6: "zakres IPv6", + base64: "ciąg znaków zakodowany w formacie base64", + base64url: "ciąg znaków zakodowany w formacie base64url", + json_string: "ciąg znaków w formacie JSON", + e164: "liczba E.164", + jwt: "JWT", + template_literal: "wejście" + }, o = { + nan: "NaN", + number: "liczba", + array: "tablica" + }; + return (t) => { + switch (t.code) { + case "invalid_type": { + const i = o[t.expected] ?? t.expected, a = F(t.input), u = o[a] ?? a; + return /^[A-Z]/.test(t.expected) ? `Nieprawidłowe dane wejściowe: oczekiwano instanceof ${t.expected}, otrzymano ${u}` : `Nieprawidłowe dane wejściowe: oczekiwano ${i}, otrzymano ${u}`; + } + case "invalid_value": + return t.values.length === 1 ? `Nieprawidłowe dane wejściowe: oczekiwano ${M(t.values[0])}` : `Nieprawidłowa opcja: oczekiwano jednej z wartości ${k(t.values, "|")}`; + case "too_big": { + const i = t.inclusive ? "<=" : "<", a = n(t.origin); + return a ? `Za duża wartość: oczekiwano, że ${t.origin ?? "wartość"} będzie mieć ${i}${t.maximum.toString()} ${a.unit ?? "elementów"}` : `Zbyt duż(y/a/e): oczekiwano, że ${t.origin ?? "wartość"} będzie wynosić ${i}${t.maximum.toString()}`; + } + case "too_small": { + const i = t.inclusive ? ">=" : ">", a = n(t.origin); + return a ? `Za mała wartość: oczekiwano, że ${t.origin ?? "wartość"} będzie mieć ${i}${t.minimum.toString()} ${a.unit ?? "elementów"}` : `Zbyt mał(y/a/e): oczekiwano, że ${t.origin ?? "wartość"} będzie wynosić ${i}${t.minimum.toString()}`; + } + case "invalid_format": { + const i = t; + return i.format === "starts_with" ? `Nieprawidłowy ciąg znaków: musi zaczynać się od "${i.prefix}"` : i.format === "ends_with" ? `Nieprawidłowy ciąg znaków: musi kończyć się na "${i.suffix}"` : i.format === "includes" ? `Nieprawidłowy ciąg znaków: musi zawierać "${i.includes}"` : i.format === "regex" ? `Nieprawidłowy ciąg znaków: musi odpowiadać wzorcowi ${i.pattern}` : `Nieprawidłow(y/a/e) ${r[i.format] ?? t.format}`; + } + case "not_multiple_of": + return `Nieprawidłowa liczba: musi być wielokrotnością ${t.divisor}`; + case "unrecognized_keys": + return `Nierozpoznane klucze${t.keys.length > 1 ? "s" : ""}: ${k(t.keys, ", ")}`; + case "invalid_key": + return `Nieprawidłowy klucz w ${t.origin}`; + case "invalid_union": + return "Nieprawidłowe dane wejściowe"; + case "invalid_element": + return `Nieprawidłowa wartość w ${t.origin}`; + default: + return "Nieprawidłowe dane wejściowe"; + } + }; +}; +function vp() { + return { + localeError: mp() + }; +} +const pp = () => { + const e = { + string: { unit: "caracteres", verb: "ter" }, + file: { unit: "bytes", verb: "ter" }, + array: { unit: "itens", verb: "ter" }, + set: { unit: "itens", verb: "ter" } + }; + function n(t) { + return e[t] ?? null; + } + const r = { + regex: "padrão", + email: "endereço de e-mail", + url: "URL", + emoji: "emoji", + uuid: "UUID", + uuidv4: "UUIDv4", + uuidv6: "UUIDv6", + nanoid: "nanoid", + guid: "GUID", + cuid: "cuid", + cuid2: "cuid2", + ulid: "ULID", + xid: "XID", + ksuid: "KSUID", + datetime: "data e hora ISO", + date: "data ISO", + time: "hora ISO", + duration: "duração ISO", + ipv4: "endereço IPv4", + ipv6: "endereço IPv6", + cidrv4: "faixa de IPv4", + cidrv6: "faixa de IPv6", + base64: "texto codificado em base64", + base64url: "URL codificada em base64", + json_string: "texto JSON", + e164: "número E.164", + jwt: "JWT", + template_literal: "entrada" + }, o = { + nan: "NaN", + number: "número", + null: "nulo" + }; + return (t) => { + switch (t.code) { + case "invalid_type": { + const i = o[t.expected] ?? t.expected, a = F(t.input), u = o[a] ?? a; + return /^[A-Z]/.test(t.expected) ? `Tipo inválido: esperado instanceof ${t.expected}, recebido ${u}` : `Tipo inválido: esperado ${i}, recebido ${u}`; + } + case "invalid_value": + return t.values.length === 1 ? `Entrada inválida: esperado ${M(t.values[0])}` : `Opção inválida: esperada uma das ${k(t.values, "|")}`; + case "too_big": { + const i = t.inclusive ? "<=" : "<", a = n(t.origin); + return a ? `Muito grande: esperado que ${t.origin ?? "valor"} tivesse ${i}${t.maximum.toString()} ${a.unit ?? "elementos"}` : `Muito grande: esperado que ${t.origin ?? "valor"} fosse ${i}${t.maximum.toString()}`; + } + case "too_small": { + const i = t.inclusive ? ">=" : ">", a = n(t.origin); + return a ? `Muito pequeno: esperado que ${t.origin} tivesse ${i}${t.minimum.toString()} ${a.unit}` : `Muito pequeno: esperado que ${t.origin} fosse ${i}${t.minimum.toString()}`; + } + case "invalid_format": { + const i = t; + return i.format === "starts_with" ? `Texto inválido: deve começar com "${i.prefix}"` : i.format === "ends_with" ? `Texto inválido: deve terminar com "${i.suffix}"` : i.format === "includes" ? `Texto inválido: deve incluir "${i.includes}"` : i.format === "regex" ? `Texto inválido: deve corresponder ao padrão ${i.pattern}` : `${r[i.format] ?? t.format} inválido`; + } + case "not_multiple_of": + return `Número inválido: deve ser múltiplo de ${t.divisor}`; + case "unrecognized_keys": + return `Chave${t.keys.length > 1 ? "s" : ""} desconhecida${t.keys.length > 1 ? "s" : ""}: ${k(t.keys, ", ")}`; + case "invalid_key": + return `Chave inválida em ${t.origin}`; + case "invalid_union": + return "Entrada inválida"; + case "invalid_element": + return `Valor inválido em ${t.origin}`; + default: + return "Campo inválido"; + } + }; +}; +function gp() { + return { + localeError: pp() + }; +} +function Qo(e, n, r, o) { + const t = Math.abs(e), i = t % 10, a = t % 100; + return a >= 11 && a <= 19 ? o : i === 1 ? n : i >= 2 && i <= 4 ? r : o; +} +const hp = () => { + const e = { + string: { + unit: { + one: "символ", + few: "символа", + many: "символов" + }, + verb: "иметь" + }, + file: { + unit: { + one: "байт", + few: "байта", + many: "байт" + }, + verb: "иметь" + }, + array: { + unit: { + one: "элемент", + few: "элемента", + many: "элементов" + }, + verb: "иметь" + }, + set: { + unit: { + one: "элемент", + few: "элемента", + many: "элементов" + }, + verb: "иметь" + } + }; + function n(t) { + return e[t] ?? null; + } + const r = { + regex: "ввод", + email: "email адрес", + url: "URL", + emoji: "эмодзи", + uuid: "UUID", + uuidv4: "UUIDv4", + uuidv6: "UUIDv6", + nanoid: "nanoid", + guid: "GUID", + cuid: "cuid", + cuid2: "cuid2", + ulid: "ULID", + xid: "XID", + ksuid: "KSUID", + datetime: "ISO дата и время", + date: "ISO дата", + time: "ISO время", + duration: "ISO длительность", + ipv4: "IPv4 адрес", + ipv6: "IPv6 адрес", + cidrv4: "IPv4 диапазон", + cidrv6: "IPv6 диапазон", + base64: "строка в формате base64", + base64url: "строка в формате base64url", + json_string: "JSON строка", + e164: "номер E.164", + jwt: "JWT", + template_literal: "ввод" + }, o = { + nan: "NaN", + number: "число", + array: "массив" + }; + return (t) => { + switch (t.code) { + case "invalid_type": { + const i = o[t.expected] ?? t.expected, a = F(t.input), u = o[a] ?? a; + return /^[A-Z]/.test(t.expected) ? `Неверный ввод: ожидалось instanceof ${t.expected}, получено ${u}` : `Неверный ввод: ожидалось ${i}, получено ${u}`; + } + case "invalid_value": + return t.values.length === 1 ? `Неверный ввод: ожидалось ${M(t.values[0])}` : `Неверный вариант: ожидалось одно из ${k(t.values, "|")}`; + case "too_big": { + const i = t.inclusive ? "<=" : "<", a = n(t.origin); + if (a) { + const u = Number(t.maximum), c = Qo(u, a.unit.one, a.unit.few, a.unit.many); + return `Слишком большое значение: ожидалось, что ${t.origin ?? "значение"} будет иметь ${i}${t.maximum.toString()} ${c}`; + } + return `Слишком большое значение: ожидалось, что ${t.origin ?? "значение"} будет ${i}${t.maximum.toString()}`; + } + case "too_small": { + const i = t.inclusive ? ">=" : ">", a = n(t.origin); + if (a) { + const u = Number(t.minimum), c = Qo(u, a.unit.one, a.unit.few, a.unit.many); + return `Слишком маленькое значение: ожидалось, что ${t.origin} будет иметь ${i}${t.minimum.toString()} ${c}`; + } + return `Слишком маленькое значение: ожидалось, что ${t.origin} будет ${i}${t.minimum.toString()}`; + } + case "invalid_format": { + const i = t; + return i.format === "starts_with" ? `Неверная строка: должна начинаться с "${i.prefix}"` : i.format === "ends_with" ? `Неверная строка: должна заканчиваться на "${i.suffix}"` : i.format === "includes" ? `Неверная строка: должна содержать "${i.includes}"` : i.format === "regex" ? `Неверная строка: должна соответствовать шаблону ${i.pattern}` : `Неверный ${r[i.format] ?? t.format}`; + } + case "not_multiple_of": + return `Неверное число: должно быть кратным ${t.divisor}`; + case "unrecognized_keys": + return `Нераспознанн${t.keys.length > 1 ? "ые" : "ый"} ключ${t.keys.length > 1 ? "и" : ""}: ${k(t.keys, ", ")}`; + case "invalid_key": + return `Неверный ключ в ${t.origin}`; + case "invalid_union": + return "Неверные входные данные"; + case "invalid_element": + return `Неверное значение в ${t.origin}`; + default: + return "Неверные входные данные"; + } + }; +}; +function $p() { + return { + localeError: hp() + }; +} +const bp = () => { + const e = { + string: { unit: "znakov", verb: "imeti" }, + file: { unit: "bajtov", verb: "imeti" }, + array: { unit: "elementov", verb: "imeti" }, + set: { unit: "elementov", verb: "imeti" } + }; + function n(t) { + return e[t] ?? null; + } + const r = { + regex: "vnos", + email: "e-poštni naslov", + url: "URL", + emoji: "emoji", + uuid: "UUID", + uuidv4: "UUIDv4", + uuidv6: "UUIDv6", + nanoid: "nanoid", + guid: "GUID", + cuid: "cuid", + cuid2: "cuid2", + ulid: "ULID", + xid: "XID", + ksuid: "KSUID", + datetime: "ISO datum in čas", + date: "ISO datum", + time: "ISO čas", + duration: "ISO trajanje", + ipv4: "IPv4 naslov", + ipv6: "IPv6 naslov", + cidrv4: "obseg IPv4", + cidrv6: "obseg IPv6", + base64: "base64 kodiran niz", + base64url: "base64url kodiran niz", + json_string: "JSON niz", + e164: "E.164 številka", + jwt: "JWT", + template_literal: "vnos" + }, o = { + nan: "NaN", + number: "število", + array: "tabela" + }; + return (t) => { + switch (t.code) { + case "invalid_type": { + const i = o[t.expected] ?? t.expected, a = F(t.input), u = o[a] ?? a; + return /^[A-Z]/.test(t.expected) ? `Neveljaven vnos: pričakovano instanceof ${t.expected}, prejeto ${u}` : `Neveljaven vnos: pričakovano ${i}, prejeto ${u}`; + } + case "invalid_value": + return t.values.length === 1 ? `Neveljaven vnos: pričakovano ${M(t.values[0])}` : `Neveljavna možnost: pričakovano eno izmed ${k(t.values, "|")}`; + case "too_big": { + const i = t.inclusive ? "<=" : "<", a = n(t.origin); + return a ? `Preveliko: pričakovano, da bo ${t.origin ?? "vrednost"} imelo ${i}${t.maximum.toString()} ${a.unit ?? "elementov"}` : `Preveliko: pričakovano, da bo ${t.origin ?? "vrednost"} ${i}${t.maximum.toString()}`; + } + case "too_small": { + const i = t.inclusive ? ">=" : ">", a = n(t.origin); + return a ? `Premajhno: pričakovano, da bo ${t.origin} imelo ${i}${t.minimum.toString()} ${a.unit}` : `Premajhno: pričakovano, da bo ${t.origin} ${i}${t.minimum.toString()}`; + } + case "invalid_format": { + const i = t; + return i.format === "starts_with" ? `Neveljaven niz: mora se začeti z "${i.prefix}"` : i.format === "ends_with" ? `Neveljaven niz: mora se končati z "${i.suffix}"` : i.format === "includes" ? `Neveljaven niz: mora vsebovati "${i.includes}"` : i.format === "regex" ? `Neveljaven niz: mora ustrezati vzorcu ${i.pattern}` : `Neveljaven ${r[i.format] ?? t.format}`; + } + case "not_multiple_of": + return `Neveljavno število: mora biti večkratnik ${t.divisor}`; + case "unrecognized_keys": + return `Neprepoznan${t.keys.length > 1 ? "i ključi" : " ključ"}: ${k(t.keys, ", ")}`; + case "invalid_key": + return `Neveljaven ključ v ${t.origin}`; + case "invalid_union": + return "Neveljaven vnos"; + case "invalid_element": + return `Neveljavna vrednost v ${t.origin}`; + default: + return "Neveljaven vnos"; + } + }; +}; +function _p() { + return { + localeError: bp() + }; +} +const yp = () => { + const e = { + string: { unit: "tecken", verb: "att ha" }, + file: { unit: "bytes", verb: "att ha" }, + array: { unit: "objekt", verb: "att innehålla" }, + set: { unit: "objekt", verb: "att innehålla" } + }; + function n(t) { + return e[t] ?? null; + } + const r = { + regex: "reguljärt uttryck", + email: "e-postadress", + url: "URL", + emoji: "emoji", + uuid: "UUID", + uuidv4: "UUIDv4", + uuidv6: "UUIDv6", + nanoid: "nanoid", + guid: "GUID", + cuid: "cuid", + cuid2: "cuid2", + ulid: "ULID", + xid: "XID", + ksuid: "KSUID", + datetime: "ISO-datum och tid", + date: "ISO-datum", + time: "ISO-tid", + duration: "ISO-varaktighet", + ipv4: "IPv4-intervall", + ipv6: "IPv6-intervall", + cidrv4: "IPv4-spektrum", + cidrv6: "IPv6-spektrum", + base64: "base64-kodad sträng", + base64url: "base64url-kodad sträng", + json_string: "JSON-sträng", + e164: "E.164-nummer", + jwt: "JWT", + template_literal: "mall-literal" + }, o = { + nan: "NaN", + number: "antal", + array: "lista" + }; + return (t) => { + switch (t.code) { + case "invalid_type": { + const i = o[t.expected] ?? t.expected, a = F(t.input), u = o[a] ?? a; + return /^[A-Z]/.test(t.expected) ? `Ogiltig inmatning: förväntat instanceof ${t.expected}, fick ${u}` : `Ogiltig inmatning: förväntat ${i}, fick ${u}`; + } + case "invalid_value": + return t.values.length === 1 ? `Ogiltig inmatning: förväntat ${M(t.values[0])}` : `Ogiltigt val: förväntade en av ${k(t.values, "|")}`; + case "too_big": { + const i = t.inclusive ? "<=" : "<", a = n(t.origin); + return a ? `För stor(t): förväntade ${t.origin ?? "värdet"} att ha ${i}${t.maximum.toString()} ${a.unit ?? "element"}` : `För stor(t): förväntat ${t.origin ?? "värdet"} att ha ${i}${t.maximum.toString()}`; + } + case "too_small": { + const i = t.inclusive ? ">=" : ">", a = n(t.origin); + return a ? `För lite(t): förväntade ${t.origin ?? "värdet"} att ha ${i}${t.minimum.toString()} ${a.unit}` : `För lite(t): förväntade ${t.origin ?? "värdet"} att ha ${i}${t.minimum.toString()}`; + } + case "invalid_format": { + const i = t; + return i.format === "starts_with" ? `Ogiltig sträng: måste börja med "${i.prefix}"` : i.format === "ends_with" ? `Ogiltig sträng: måste sluta med "${i.suffix}"` : i.format === "includes" ? `Ogiltig sträng: måste innehålla "${i.includes}"` : i.format === "regex" ? `Ogiltig sträng: måste matcha mönstret "${i.pattern}"` : `Ogiltig(t) ${r[i.format] ?? t.format}`; + } + case "not_multiple_of": + return `Ogiltigt tal: måste vara en multipel av ${t.divisor}`; + case "unrecognized_keys": + return `${t.keys.length > 1 ? "Okända nycklar" : "Okänd nyckel"}: ${k(t.keys, ", ")}`; + case "invalid_key": + return `Ogiltig nyckel i ${t.origin ?? "värdet"}`; + case "invalid_union": + return "Ogiltig input"; + case "invalid_element": + return `Ogiltigt värde i ${t.origin ?? "värdet"}`; + default: + return "Ogiltig input"; + } + }; +}; +function kp() { + return { + localeError: yp() + }; +} +const Sp = () => { + const e = { + string: { unit: "எழுத்துக்கள்", verb: "கொண்டிருக்க வேண்டும்" }, + file: { unit: "பைட்டுகள்", verb: "கொண்டிருக்க வேண்டும்" }, + array: { unit: "உறுப்புகள்", verb: "கொண்டிருக்க வேண்டும்" }, + set: { unit: "உறுப்புகள்", verb: "கொண்டிருக்க வேண்டும்" } + }; + function n(t) { + return e[t] ?? null; + } + const r = { + regex: "உள்ளீடு", + email: "மின்னஞ்சல் முகவரி", + url: "URL", + emoji: "emoji", + uuid: "UUID", + uuidv4: "UUIDv4", + uuidv6: "UUIDv6", + nanoid: "nanoid", + guid: "GUID", + cuid: "cuid", + cuid2: "cuid2", + ulid: "ULID", + xid: "XID", + ksuid: "KSUID", + datetime: "ISO தேதி நேரம்", + date: "ISO தேதி", + time: "ISO நேரம்", + duration: "ISO கால அளவு", + ipv4: "IPv4 முகவரி", + ipv6: "IPv6 முகவரி", + cidrv4: "IPv4 வரம்பு", + cidrv6: "IPv6 வரம்பு", + base64: "base64-encoded சரம்", + base64url: "base64url-encoded சரம்", + json_string: "JSON சரம்", + e164: "E.164 எண்", + jwt: "JWT", + template_literal: "input" + }, o = { + nan: "NaN", + number: "எண்", + array: "அணி", + null: "வெறுமை" + }; + return (t) => { + switch (t.code) { + case "invalid_type": { + const i = o[t.expected] ?? t.expected, a = F(t.input), u = o[a] ?? a; + return /^[A-Z]/.test(t.expected) ? `தவறான உள்ளீடு: எதிர்பார்க்கப்பட்டது instanceof ${t.expected}, பெறப்பட்டது ${u}` : `தவறான உள்ளீடு: எதிர்பார்க்கப்பட்டது ${i}, பெறப்பட்டது ${u}`; + } + case "invalid_value": + return t.values.length === 1 ? `தவறான உள்ளீடு: எதிர்பார்க்கப்பட்டது ${M(t.values[0])}` : `தவறான விருப்பம்: எதிர்பார்க்கப்பட்டது ${k(t.values, "|")} இல் ஒன்று`; + case "too_big": { + const i = t.inclusive ? "<=" : "<", a = n(t.origin); + return a ? `மிக பெரியது: எதிர்பார்க்கப்பட்டது ${t.origin ?? "மதிப்பு"} ${i}${t.maximum.toString()} ${a.unit ?? "உறுப்புகள்"} ஆக இருக்க வேண்டும்` : `மிக பெரியது: எதிர்பார்க்கப்பட்டது ${t.origin ?? "மதிப்பு"} ${i}${t.maximum.toString()} ஆக இருக்க வேண்டும்`; + } + case "too_small": { + const i = t.inclusive ? ">=" : ">", a = n(t.origin); + return a ? `மிகச் சிறியது: எதிர்பார்க்கப்பட்டது ${t.origin} ${i}${t.minimum.toString()} ${a.unit} ஆக இருக்க வேண்டும்` : `மிகச் சிறியது: எதிர்பார்க்கப்பட்டது ${t.origin} ${i}${t.minimum.toString()} ஆக இருக்க வேண்டும்`; + } + case "invalid_format": { + const i = t; + return i.format === "starts_with" ? `தவறான சரம்: "${i.prefix}" இல் தொடங்க வேண்டும்` : i.format === "ends_with" ? `தவறான சரம்: "${i.suffix}" இல் முடிவடைய வேண்டும்` : i.format === "includes" ? `தவறான சரம்: "${i.includes}" ஐ உள்ளடக்க வேண்டும்` : i.format === "regex" ? `தவறான சரம்: ${i.pattern} முறைபாட்டுடன் பொருந்த வேண்டும்` : `தவறான ${r[i.format] ?? t.format}`; + } + case "not_multiple_of": + return `தவறான எண்: ${t.divisor} இன் பலமாக இருக்க வேண்டும்`; + case "unrecognized_keys": + return `அடையாளம் தெரியாத விசை${t.keys.length > 1 ? "கள்" : ""}: ${k(t.keys, ", ")}`; + case "invalid_key": + return `${t.origin} இல் தவறான விசை`; + case "invalid_union": + return "தவறான உள்ளீடு"; + case "invalid_element": + return `${t.origin} இல் தவறான மதிப்பு`; + default: + return "தவறான உள்ளீடு"; + } + }; +}; +function Ip() { + return { + localeError: Sp() + }; +} +const wp = () => { + const e = { + string: { unit: "ตัวอักษร", verb: "ควรมี" }, + file: { unit: "ไบต์", verb: "ควรมี" }, + array: { unit: "รายการ", verb: "ควรมี" }, + set: { unit: "รายการ", verb: "ควรมี" } + }; + function n(t) { + return e[t] ?? null; + } + const r = { + regex: "ข้อมูลที่ป้อน", + email: "ที่อยู่อีเมล", + url: "URL", + emoji: "อิโมจิ", + uuid: "UUID", + uuidv4: "UUIDv4", + uuidv6: "UUIDv6", + nanoid: "nanoid", + guid: "GUID", + cuid: "cuid", + cuid2: "cuid2", + ulid: "ULID", + xid: "XID", + ksuid: "KSUID", + datetime: "วันที่เวลาแบบ ISO", + date: "วันที่แบบ ISO", + time: "เวลาแบบ ISO", + duration: "ช่วงเวลาแบบ ISO", + ipv4: "ที่อยู่ IPv4", + ipv6: "ที่อยู่ IPv6", + cidrv4: "ช่วง IP แบบ IPv4", + cidrv6: "ช่วง IP แบบ IPv6", + base64: "ข้อความแบบ Base64", + base64url: "ข้อความแบบ Base64 สำหรับ URL", + json_string: "ข้อความแบบ JSON", + e164: "เบอร์โทรศัพท์ระหว่างประเทศ (E.164)", + jwt: "โทเคน JWT", + template_literal: "ข้อมูลที่ป้อน" + }, o = { + nan: "NaN", + number: "ตัวเลข", + array: "อาร์เรย์ (Array)", + null: "ไม่มีค่า (null)" + }; + return (t) => { + switch (t.code) { + case "invalid_type": { + const i = o[t.expected] ?? t.expected, a = F(t.input), u = o[a] ?? a; + return /^[A-Z]/.test(t.expected) ? `ประเภทข้อมูลไม่ถูกต้อง: ควรเป็น instanceof ${t.expected} แต่ได้รับ ${u}` : `ประเภทข้อมูลไม่ถูกต้อง: ควรเป็น ${i} แต่ได้รับ ${u}`; + } + case "invalid_value": + return t.values.length === 1 ? `ค่าไม่ถูกต้อง: ควรเป็น ${M(t.values[0])}` : `ตัวเลือกไม่ถูกต้อง: ควรเป็นหนึ่งใน ${k(t.values, "|")}`; + case "too_big": { + const i = t.inclusive ? "ไม่เกิน" : "น้อยกว่า", a = n(t.origin); + return a ? `เกินกำหนด: ${t.origin ?? "ค่า"} ควรมี${i} ${t.maximum.toString()} ${a.unit ?? "รายการ"}` : `เกินกำหนด: ${t.origin ?? "ค่า"} ควรมี${i} ${t.maximum.toString()}`; + } + case "too_small": { + const i = t.inclusive ? "อย่างน้อย" : "มากกว่า", a = n(t.origin); + return a ? `น้อยกว่ากำหนด: ${t.origin} ควรมี${i} ${t.minimum.toString()} ${a.unit}` : `น้อยกว่ากำหนด: ${t.origin} ควรมี${i} ${t.minimum.toString()}`; + } + case "invalid_format": { + const i = t; + return i.format === "starts_with" ? `รูปแบบไม่ถูกต้อง: ข้อความต้องขึ้นต้นด้วย "${i.prefix}"` : i.format === "ends_with" ? `รูปแบบไม่ถูกต้อง: ข้อความต้องลงท้ายด้วย "${i.suffix}"` : i.format === "includes" ? `รูปแบบไม่ถูกต้อง: ข้อความต้องมี "${i.includes}" อยู่ในข้อความ` : i.format === "regex" ? `รูปแบบไม่ถูกต้อง: ต้องตรงกับรูปแบบที่กำหนด ${i.pattern}` : `รูปแบบไม่ถูกต้อง: ${r[i.format] ?? t.format}`; + } + case "not_multiple_of": + return `ตัวเลขไม่ถูกต้อง: ต้องเป็นจำนวนที่หารด้วย ${t.divisor} ได้ลงตัว`; + case "unrecognized_keys": + return `พบคีย์ที่ไม่รู้จัก: ${k(t.keys, ", ")}`; + case "invalid_key": + return `คีย์ไม่ถูกต้องใน ${t.origin}`; + case "invalid_union": + return "ข้อมูลไม่ถูกต้อง: ไม่ตรงกับรูปแบบยูเนียนที่กำหนดไว้"; + case "invalid_element": + return `ข้อมูลไม่ถูกต้องใน ${t.origin}`; + default: + return "ข้อมูลไม่ถูกต้อง"; + } + }; +}; +function zp() { + return { + localeError: wp() + }; +} +const xp = () => { + const e = { + string: { unit: "karakter", verb: "olmalı" }, + file: { unit: "bayt", verb: "olmalı" }, + array: { unit: "öğe", verb: "olmalı" }, + set: { unit: "öğe", verb: "olmalı" } + }; + function n(t) { + return e[t] ?? null; + } + const r = { + regex: "girdi", + email: "e-posta adresi", + url: "URL", + emoji: "emoji", + uuid: "UUID", + uuidv4: "UUIDv4", + uuidv6: "UUIDv6", + nanoid: "nanoid", + guid: "GUID", + cuid: "cuid", + cuid2: "cuid2", + ulid: "ULID", + xid: "XID", + ksuid: "KSUID", + datetime: "ISO tarih ve saat", + date: "ISO tarih", + time: "ISO saat", + duration: "ISO süre", + ipv4: "IPv4 adresi", + ipv6: "IPv6 adresi", + cidrv4: "IPv4 aralığı", + cidrv6: "IPv6 aralığı", + base64: "base64 ile şifrelenmiş metin", + base64url: "base64url ile şifrelenmiş metin", + json_string: "JSON dizesi", + e164: "E.164 sayısı", + jwt: "JWT", + template_literal: "Şablon dizesi" + }, o = { + nan: "NaN" + }; + return (t) => { + switch (t.code) { + case "invalid_type": { + const i = o[t.expected] ?? t.expected, a = F(t.input), u = o[a] ?? a; + return /^[A-Z]/.test(t.expected) ? `Geçersiz değer: beklenen instanceof ${t.expected}, alınan ${u}` : `Geçersiz değer: beklenen ${i}, alınan ${u}`; + } + case "invalid_value": + return t.values.length === 1 ? `Geçersiz değer: beklenen ${M(t.values[0])}` : `Geçersiz seçenek: aşağıdakilerden biri olmalı: ${k(t.values, "|")}`; + case "too_big": { + const i = t.inclusive ? "<=" : "<", a = n(t.origin); + return a ? `Çok büyük: beklenen ${t.origin ?? "değer"} ${i}${t.maximum.toString()} ${a.unit ?? "öğe"}` : `Çok büyük: beklenen ${t.origin ?? "değer"} ${i}${t.maximum.toString()}`; + } + case "too_small": { + const i = t.inclusive ? ">=" : ">", a = n(t.origin); + return a ? `Çok küçük: beklenen ${t.origin} ${i}${t.minimum.toString()} ${a.unit}` : `Çok küçük: beklenen ${t.origin} ${i}${t.minimum.toString()}`; + } + case "invalid_format": { + const i = t; + return i.format === "starts_with" ? `Geçersiz metin: "${i.prefix}" ile başlamalı` : i.format === "ends_with" ? `Geçersiz metin: "${i.suffix}" ile bitmeli` : i.format === "includes" ? `Geçersiz metin: "${i.includes}" içermeli` : i.format === "regex" ? `Geçersiz metin: ${i.pattern} desenine uymalı` : `Geçersiz ${r[i.format] ?? t.format}`; + } + case "not_multiple_of": + return `Geçersiz sayı: ${t.divisor} ile tam bölünebilmeli`; + case "unrecognized_keys": + return `Tanınmayan anahtar${t.keys.length > 1 ? "lar" : ""}: ${k(t.keys, ", ")}`; + case "invalid_key": + return `${t.origin} içinde geçersiz anahtar`; + case "invalid_union": + return "Geçersiz değer"; + case "invalid_element": + return `${t.origin} içinde geçersiz değer`; + default: + return "Geçersiz değer"; + } + }; +}; +function Dp() { + return { + localeError: xp() + }; +} +const Op = () => { + const e = { + string: { unit: "символів", verb: "матиме" }, + file: { unit: "байтів", verb: "матиме" }, + array: { unit: "елементів", verb: "матиме" }, + set: { unit: "елементів", verb: "матиме" } + }; + function n(t) { + return e[t] ?? null; + } + const r = { + regex: "вхідні дані", + email: "адреса електронної пошти", + url: "URL", + emoji: "емодзі", + uuid: "UUID", + uuidv4: "UUIDv4", + uuidv6: "UUIDv6", + nanoid: "nanoid", + guid: "GUID", + cuid: "cuid", + cuid2: "cuid2", + ulid: "ULID", + xid: "XID", + ksuid: "KSUID", + datetime: "дата та час ISO", + date: "дата ISO", + time: "час ISO", + duration: "тривалість ISO", + ipv4: "адреса IPv4", + ipv6: "адреса IPv6", + cidrv4: "діапазон IPv4", + cidrv6: "діапазон IPv6", + base64: "рядок у кодуванні base64", + base64url: "рядок у кодуванні base64url", + json_string: "рядок JSON", + e164: "номер E.164", + jwt: "JWT", + template_literal: "вхідні дані" + }, o = { + nan: "NaN", + number: "число", + array: "масив" + }; + return (t) => { + switch (t.code) { + case "invalid_type": { + const i = o[t.expected] ?? t.expected, a = F(t.input), u = o[a] ?? a; + return /^[A-Z]/.test(t.expected) ? `Неправильні вхідні дані: очікується instanceof ${t.expected}, отримано ${u}` : `Неправильні вхідні дані: очікується ${i}, отримано ${u}`; + } + case "invalid_value": + return t.values.length === 1 ? `Неправильні вхідні дані: очікується ${M(t.values[0])}` : `Неправильна опція: очікується одне з ${k(t.values, "|")}`; + case "too_big": { + const i = t.inclusive ? "<=" : "<", a = n(t.origin); + return a ? `Занадто велике: очікується, що ${t.origin ?? "значення"} ${a.verb} ${i}${t.maximum.toString()} ${a.unit ?? "елементів"}` : `Занадто велике: очікується, що ${t.origin ?? "значення"} буде ${i}${t.maximum.toString()}`; + } + case "too_small": { + const i = t.inclusive ? ">=" : ">", a = n(t.origin); + return a ? `Занадто мале: очікується, що ${t.origin} ${a.verb} ${i}${t.minimum.toString()} ${a.unit}` : `Занадто мале: очікується, що ${t.origin} буде ${i}${t.minimum.toString()}`; + } + case "invalid_format": { + const i = t; + return i.format === "starts_with" ? `Неправильний рядок: повинен починатися з "${i.prefix}"` : i.format === "ends_with" ? `Неправильний рядок: повинен закінчуватися на "${i.suffix}"` : i.format === "includes" ? `Неправильний рядок: повинен містити "${i.includes}"` : i.format === "regex" ? `Неправильний рядок: повинен відповідати шаблону ${i.pattern}` : `Неправильний ${r[i.format] ?? t.format}`; + } + case "not_multiple_of": + return `Неправильне число: повинно бути кратним ${t.divisor}`; + case "unrecognized_keys": + return `Нерозпізнаний ключ${t.keys.length > 1 ? "і" : ""}: ${k(t.keys, ", ")}`; + case "invalid_key": + return `Неправильний ключ у ${t.origin}`; + case "invalid_union": + return "Неправильні вхідні дані"; + case "invalid_element": + return `Неправильне значення у ${t.origin}`; + default: + return "Неправильні вхідні дані"; + } + }; +}; +function pc() { + return { + localeError: Op() + }; +} +function jp() { + return pc(); +} +const Up = () => { + const e = { + string: { unit: "حروف", verb: "ہونا" }, + file: { unit: "بائٹس", verb: "ہونا" }, + array: { unit: "آئٹمز", verb: "ہونا" }, + set: { unit: "آئٹمز", verb: "ہونا" } + }; + function n(t) { + return e[t] ?? null; + } + const r = { + regex: "ان پٹ", + email: "ای میل ایڈریس", + url: "یو آر ایل", + emoji: "ایموجی", + uuid: "یو یو آئی ڈی", + uuidv4: "یو یو آئی ڈی وی 4", + uuidv6: "یو یو آئی ڈی وی 6", + nanoid: "نینو آئی ڈی", + guid: "جی یو آئی ڈی", + cuid: "سی یو آئی ڈی", + cuid2: "سی یو آئی ڈی 2", + ulid: "یو ایل آئی ڈی", + xid: "ایکس آئی ڈی", + ksuid: "کے ایس یو آئی ڈی", + datetime: "آئی ایس او ڈیٹ ٹائم", + date: "آئی ایس او تاریخ", + time: "آئی ایس او وقت", + duration: "آئی ایس او مدت", + ipv4: "آئی پی وی 4 ایڈریس", + ipv6: "آئی پی وی 6 ایڈریس", + cidrv4: "آئی پی وی 4 رینج", + cidrv6: "آئی پی وی 6 رینج", + base64: "بیس 64 ان کوڈڈ سٹرنگ", + base64url: "بیس 64 یو آر ایل ان کوڈڈ سٹرنگ", + json_string: "جے ایس او این سٹرنگ", + e164: "ای 164 نمبر", + jwt: "جے ڈبلیو ٹی", + template_literal: "ان پٹ" + }, o = { + nan: "NaN", + number: "نمبر", + array: "آرے", + null: "نل" + }; + return (t) => { + switch (t.code) { + case "invalid_type": { + const i = o[t.expected] ?? t.expected, a = F(t.input), u = o[a] ?? a; + return /^[A-Z]/.test(t.expected) ? `غلط ان پٹ: instanceof ${t.expected} متوقع تھا، ${u} موصول ہوا` : `غلط ان پٹ: ${i} متوقع تھا، ${u} موصول ہوا`; + } + case "invalid_value": + return t.values.length === 1 ? `غلط ان پٹ: ${M(t.values[0])} متوقع تھا` : `غلط آپشن: ${k(t.values, "|")} میں سے ایک متوقع تھا`; + case "too_big": { + const i = t.inclusive ? "<=" : "<", a = n(t.origin); + return a ? `بہت بڑا: ${t.origin ?? "ویلیو"} کے ${i}${t.maximum.toString()} ${a.unit ?? "عناصر"} ہونے متوقع تھے` : `بہت بڑا: ${t.origin ?? "ویلیو"} کا ${i}${t.maximum.toString()} ہونا متوقع تھا`; + } + case "too_small": { + const i = t.inclusive ? ">=" : ">", a = n(t.origin); + return a ? `بہت چھوٹا: ${t.origin} کے ${i}${t.minimum.toString()} ${a.unit} ہونے متوقع تھے` : `بہت چھوٹا: ${t.origin} کا ${i}${t.minimum.toString()} ہونا متوقع تھا`; + } + case "invalid_format": { + const i = t; + return i.format === "starts_with" ? `غلط سٹرنگ: "${i.prefix}" سے شروع ہونا چاہیے` : i.format === "ends_with" ? `غلط سٹرنگ: "${i.suffix}" پر ختم ہونا چاہیے` : i.format === "includes" ? `غلط سٹرنگ: "${i.includes}" شامل ہونا چاہیے` : i.format === "regex" ? `غلط سٹرنگ: پیٹرن ${i.pattern} سے میچ ہونا چاہیے` : `غلط ${r[i.format] ?? t.format}`; + } + case "not_multiple_of": + return `غلط نمبر: ${t.divisor} کا مضاعف ہونا چاہیے`; + case "unrecognized_keys": + return `غیر تسلیم شدہ کی${t.keys.length > 1 ? "ز" : ""}: ${k(t.keys, "، ")}`; + case "invalid_key": + return `${t.origin} میں غلط کی`; + case "invalid_union": + return "غلط ان پٹ"; + case "invalid_element": + return `${t.origin} میں غلط ویلیو`; + default: + return "غلط ان پٹ"; + } + }; +}; +function Tp() { + return { + localeError: Up() + }; +} +const Ep = () => { + const e = { + string: { unit: "belgi", verb: "bo‘lishi kerak" }, + file: { unit: "bayt", verb: "bo‘lishi kerak" }, + array: { unit: "element", verb: "bo‘lishi kerak" }, + set: { unit: "element", verb: "bo‘lishi kerak" } + }; + function n(t) { + return e[t] ?? null; + } + const r = { + regex: "kirish", + email: "elektron pochta manzili", + url: "URL", + emoji: "emoji", + uuid: "UUID", + uuidv4: "UUIDv4", + uuidv6: "UUIDv6", + nanoid: "nanoid", + guid: "GUID", + cuid: "cuid", + cuid2: "cuid2", + ulid: "ULID", + xid: "XID", + ksuid: "KSUID", + datetime: "ISO sana va vaqti", + date: "ISO sana", + time: "ISO vaqt", + duration: "ISO davomiylik", + ipv4: "IPv4 manzil", + ipv6: "IPv6 manzil", + mac: "MAC manzil", + cidrv4: "IPv4 diapazon", + cidrv6: "IPv6 diapazon", + base64: "base64 kodlangan satr", + base64url: "base64url kodlangan satr", + json_string: "JSON satr", + e164: "E.164 raqam", + jwt: "JWT", + template_literal: "kirish" + }, o = { + nan: "NaN", + number: "raqam", + array: "massiv" + }; + return (t) => { + switch (t.code) { + case "invalid_type": { + const i = o[t.expected] ?? t.expected, a = F(t.input), u = o[a] ?? a; + return /^[A-Z]/.test(t.expected) ? `Noto‘g‘ri kirish: kutilgan instanceof ${t.expected}, qabul qilingan ${u}` : `Noto‘g‘ri kirish: kutilgan ${i}, qabul qilingan ${u}`; + } + case "invalid_value": + return t.values.length === 1 ? `Noto‘g‘ri kirish: kutilgan ${M(t.values[0])}` : `Noto‘g‘ri variant: quyidagilardan biri kutilgan ${k(t.values, "|")}`; + case "too_big": { + const i = t.inclusive ? "<=" : "<", a = n(t.origin); + return a ? `Juda katta: kutilgan ${t.origin ?? "qiymat"} ${i}${t.maximum.toString()} ${a.unit} ${a.verb}` : `Juda katta: kutilgan ${t.origin ?? "qiymat"} ${i}${t.maximum.toString()}`; + } + case "too_small": { + const i = t.inclusive ? ">=" : ">", a = n(t.origin); + return a ? `Juda kichik: kutilgan ${t.origin} ${i}${t.minimum.toString()} ${a.unit} ${a.verb}` : `Juda kichik: kutilgan ${t.origin} ${i}${t.minimum.toString()}`; + } + case "invalid_format": { + const i = t; + return i.format === "starts_with" ? `Noto‘g‘ri satr: "${i.prefix}" bilan boshlanishi kerak` : i.format === "ends_with" ? `Noto‘g‘ri satr: "${i.suffix}" bilan tugashi kerak` : i.format === "includes" ? `Noto‘g‘ri satr: "${i.includes}" ni o‘z ichiga olishi kerak` : i.format === "regex" ? `Noto‘g‘ri satr: ${i.pattern} shabloniga mos kelishi kerak` : `Noto‘g‘ri ${r[i.format] ?? t.format}`; + } + case "not_multiple_of": + return `Noto‘g‘ri raqam: ${t.divisor} ning karralisi bo‘lishi kerak`; + case "unrecognized_keys": + return `Noma’lum kalit${t.keys.length > 1 ? "lar" : ""}: ${k(t.keys, ", ")}`; + case "invalid_key": + return `${t.origin} dagi kalit noto‘g‘ri`; + case "invalid_union": + return "Noto‘g‘ri kirish"; + case "invalid_element": + return `${t.origin} da noto‘g‘ri qiymat`; + default: + return "Noto‘g‘ri kirish"; + } + }; +}; +function Pp() { + return { + localeError: Ep() + }; +} +const Np = () => { + const e = { + string: { unit: "ký tự", verb: "có" }, + file: { unit: "byte", verb: "có" }, + array: { unit: "phần tử", verb: "có" }, + set: { unit: "phần tử", verb: "có" } + }; + function n(t) { + return e[t] ?? null; + } + const r = { + regex: "đầu vào", + email: "địa chỉ email", + url: "URL", + emoji: "emoji", + uuid: "UUID", + uuidv4: "UUIDv4", + uuidv6: "UUIDv6", + nanoid: "nanoid", + guid: "GUID", + cuid: "cuid", + cuid2: "cuid2", + ulid: "ULID", + xid: "XID", + ksuid: "KSUID", + datetime: "ngày giờ ISO", + date: "ngày ISO", + time: "giờ ISO", + duration: "khoảng thời gian ISO", + ipv4: "địa chỉ IPv4", + ipv6: "địa chỉ IPv6", + cidrv4: "dải IPv4", + cidrv6: "dải IPv6", + base64: "chuỗi mã hóa base64", + base64url: "chuỗi mã hóa base64url", + json_string: "chuỗi JSON", + e164: "số E.164", + jwt: "JWT", + template_literal: "đầu vào" + }, o = { + nan: "NaN", + number: "số", + array: "mảng" + }; + return (t) => { + switch (t.code) { + case "invalid_type": { + const i = o[t.expected] ?? t.expected, a = F(t.input), u = o[a] ?? a; + return /^[A-Z]/.test(t.expected) ? `Đầu vào không hợp lệ: mong đợi instanceof ${t.expected}, nhận được ${u}` : `Đầu vào không hợp lệ: mong đợi ${i}, nhận được ${u}`; + } + case "invalid_value": + return t.values.length === 1 ? `Đầu vào không hợp lệ: mong đợi ${M(t.values[0])}` : `Tùy chọn không hợp lệ: mong đợi một trong các giá trị ${k(t.values, "|")}`; + case "too_big": { + const i = t.inclusive ? "<=" : "<", a = n(t.origin); + return a ? `Quá lớn: mong đợi ${t.origin ?? "giá trị"} ${a.verb} ${i}${t.maximum.toString()} ${a.unit ?? "phần tử"}` : `Quá lớn: mong đợi ${t.origin ?? "giá trị"} ${i}${t.maximum.toString()}`; + } + case "too_small": { + const i = t.inclusive ? ">=" : ">", a = n(t.origin); + return a ? `Quá nhỏ: mong đợi ${t.origin} ${a.verb} ${i}${t.minimum.toString()} ${a.unit}` : `Quá nhỏ: mong đợi ${t.origin} ${i}${t.minimum.toString()}`; + } + case "invalid_format": { + const i = t; + return i.format === "starts_with" ? `Chuỗi không hợp lệ: phải bắt đầu bằng "${i.prefix}"` : i.format === "ends_with" ? `Chuỗi không hợp lệ: phải kết thúc bằng "${i.suffix}"` : i.format === "includes" ? `Chuỗi không hợp lệ: phải bao gồm "${i.includes}"` : i.format === "regex" ? `Chuỗi không hợp lệ: phải khớp với mẫu ${i.pattern}` : `${r[i.format] ?? t.format} không hợp lệ`; + } + case "not_multiple_of": + return `Số không hợp lệ: phải là bội số của ${t.divisor}`; + case "unrecognized_keys": + return `Khóa không được nhận dạng: ${k(t.keys, ", ")}`; + case "invalid_key": + return `Khóa không hợp lệ trong ${t.origin}`; + case "invalid_union": + return "Đầu vào không hợp lệ"; + case "invalid_element": + return `Giá trị không hợp lệ trong ${t.origin}`; + default: + return "Đầu vào không hợp lệ"; + } + }; +}; +function Ap() { + return { + localeError: Np() + }; +} +const Zp = () => { + const e = { + string: { unit: "字符", verb: "包含" }, + file: { unit: "字节", verb: "包含" }, + array: { unit: "项", verb: "包含" }, + set: { unit: "项", verb: "包含" } + }; + function n(t) { + return e[t] ?? null; + } + const r = { + regex: "输入", + email: "电子邮件", + url: "URL", + emoji: "表情符号", + uuid: "UUID", + uuidv4: "UUIDv4", + uuidv6: "UUIDv6", + nanoid: "nanoid", + guid: "GUID", + cuid: "cuid", + cuid2: "cuid2", + ulid: "ULID", + xid: "XID", + ksuid: "KSUID", + datetime: "ISO日期时间", + date: "ISO日期", + time: "ISO时间", + duration: "ISO时长", + ipv4: "IPv4地址", + ipv6: "IPv6地址", + cidrv4: "IPv4网段", + cidrv6: "IPv6网段", + base64: "base64编码字符串", + base64url: "base64url编码字符串", + json_string: "JSON字符串", + e164: "E.164号码", + jwt: "JWT", + template_literal: "输入" + }, o = { + nan: "NaN", + number: "数字", + array: "数组", + null: "空值(null)" + }; + return (t) => { + switch (t.code) { + case "invalid_type": { + const i = o[t.expected] ?? t.expected, a = F(t.input), u = o[a] ?? a; + return /^[A-Z]/.test(t.expected) ? `无效输入:期望 instanceof ${t.expected},实际接收 ${u}` : `无效输入:期望 ${i},实际接收 ${u}`; + } + case "invalid_value": + return t.values.length === 1 ? `无效输入:期望 ${M(t.values[0])}` : `无效选项:期望以下之一 ${k(t.values, "|")}`; + case "too_big": { + const i = t.inclusive ? "<=" : "<", a = n(t.origin); + return a ? `数值过大:期望 ${t.origin ?? "值"} ${i}${t.maximum.toString()} ${a.unit ?? "个元素"}` : `数值过大:期望 ${t.origin ?? "值"} ${i}${t.maximum.toString()}`; + } + case "too_small": { + const i = t.inclusive ? ">=" : ">", a = n(t.origin); + return a ? `数值过小:期望 ${t.origin} ${i}${t.minimum.toString()} ${a.unit}` : `数值过小:期望 ${t.origin} ${i}${t.minimum.toString()}`; + } + case "invalid_format": { + const i = t; + return i.format === "starts_with" ? `无效字符串:必须以 "${i.prefix}" 开头` : i.format === "ends_with" ? `无效字符串:必须以 "${i.suffix}" 结尾` : i.format === "includes" ? `无效字符串:必须包含 "${i.includes}"` : i.format === "regex" ? `无效字符串:必须满足正则表达式 ${i.pattern}` : `无效${r[i.format] ?? t.format}`; + } + case "not_multiple_of": + return `无效数字:必须是 ${t.divisor} 的倍数`; + case "unrecognized_keys": + return `出现未知的键(key): ${k(t.keys, ", ")}`; + case "invalid_key": + return `${t.origin} 中的键(key)无效`; + case "invalid_union": + return "无效输入"; + case "invalid_element": + return `${t.origin} 中包含无效值(value)`; + default: + return "无效输入"; + } + }; +}; +function Cp() { + return { + localeError: Zp() + }; +} +const Mp = () => { + const e = { + string: { unit: "字元", verb: "擁有" }, + file: { unit: "位元組", verb: "擁有" }, + array: { unit: "項目", verb: "擁有" }, + set: { unit: "項目", verb: "擁有" } + }; + function n(t) { + return e[t] ?? null; + } + const r = { + regex: "輸入", + email: "郵件地址", + url: "URL", + emoji: "emoji", + uuid: "UUID", + uuidv4: "UUIDv4", + uuidv6: "UUIDv6", + nanoid: "nanoid", + guid: "GUID", + cuid: "cuid", + cuid2: "cuid2", + ulid: "ULID", + xid: "XID", + ksuid: "KSUID", + datetime: "ISO 日期時間", + date: "ISO 日期", + time: "ISO 時間", + duration: "ISO 期間", + ipv4: "IPv4 位址", + ipv6: "IPv6 位址", + cidrv4: "IPv4 範圍", + cidrv6: "IPv6 範圍", + base64: "base64 編碼字串", + base64url: "base64url 編碼字串", + json_string: "JSON 字串", + e164: "E.164 數值", + jwt: "JWT", + template_literal: "輸入" + }, o = { + nan: "NaN" + }; + return (t) => { + switch (t.code) { + case "invalid_type": { + const i = o[t.expected] ?? t.expected, a = F(t.input), u = o[a] ?? a; + return /^[A-Z]/.test(t.expected) ? `無效的輸入值:預期為 instanceof ${t.expected},但收到 ${u}` : `無效的輸入值:預期為 ${i},但收到 ${u}`; + } + case "invalid_value": + return t.values.length === 1 ? `無效的輸入值:預期為 ${M(t.values[0])}` : `無效的選項:預期為以下其中之一 ${k(t.values, "|")}`; + case "too_big": { + const i = t.inclusive ? "<=" : "<", a = n(t.origin); + return a ? `數值過大:預期 ${t.origin ?? "值"} 應為 ${i}${t.maximum.toString()} ${a.unit ?? "個元素"}` : `數值過大:預期 ${t.origin ?? "值"} 應為 ${i}${t.maximum.toString()}`; + } + case "too_small": { + const i = t.inclusive ? ">=" : ">", a = n(t.origin); + return a ? `數值過小:預期 ${t.origin} 應為 ${i}${t.minimum.toString()} ${a.unit}` : `數值過小:預期 ${t.origin} 應為 ${i}${t.minimum.toString()}`; + } + case "invalid_format": { + const i = t; + return i.format === "starts_with" ? `無效的字串:必須以 "${i.prefix}" 開頭` : i.format === "ends_with" ? `無效的字串:必須以 "${i.suffix}" 結尾` : i.format === "includes" ? `無效的字串:必須包含 "${i.includes}"` : i.format === "regex" ? `無效的字串:必須符合格式 ${i.pattern}` : `無效的 ${r[i.format] ?? t.format}`; + } + case "not_multiple_of": + return `無效的數字:必須為 ${t.divisor} 的倍數`; + case "unrecognized_keys": + return `無法識別的鍵值${t.keys.length > 1 ? "們" : ""}:${k(t.keys, "、")}`; + case "invalid_key": + return `${t.origin} 中有無效的鍵值`; + case "invalid_union": + return "無效的輸入值"; + case "invalid_element": + return `${t.origin} 中有無效的值`; + default: + return "無效的輸入值"; + } + }; +}; +function Fp() { + return { + localeError: Mp() + }; +} +const Lp = () => { + const e = { + string: { unit: "àmi", verb: "ní" }, + file: { unit: "bytes", verb: "ní" }, + array: { unit: "nkan", verb: "ní" }, + set: { unit: "nkan", verb: "ní" } + }; + function n(t) { + return e[t] ?? null; + } + const r = { + regex: "ẹ̀rọ ìbáwọlé", + email: "àdírẹ́sì ìmẹ́lì", + url: "URL", + emoji: "emoji", + uuid: "UUID", + uuidv4: "UUIDv4", + uuidv6: "UUIDv6", + nanoid: "nanoid", + guid: "GUID", + cuid: "cuid", + cuid2: "cuid2", + ulid: "ULID", + xid: "XID", + ksuid: "KSUID", + datetime: "àkókò ISO", + date: "ọjọ́ ISO", + time: "àkókò ISO", + duration: "àkókò tó pé ISO", + ipv4: "àdírẹ́sì IPv4", + ipv6: "àdírẹ́sì IPv6", + cidrv4: "àgbègbè IPv4", + cidrv6: "àgbègbè IPv6", + base64: "ọ̀rọ̀ tí a kọ́ ní base64", + base64url: "ọ̀rọ̀ base64url", + json_string: "ọ̀rọ̀ JSON", + e164: "nọ́mbà E.164", + jwt: "JWT", + template_literal: "ẹ̀rọ ìbáwọlé" + }, o = { + nan: "NaN", + number: "nọ́mbà", + array: "akopọ" + }; + return (t) => { + switch (t.code) { + case "invalid_type": { + const i = o[t.expected] ?? t.expected, a = F(t.input), u = o[a] ?? a; + return /^[A-Z]/.test(t.expected) ? `Ìbáwọlé aṣìṣe: a ní láti fi instanceof ${t.expected}, àmọ̀ a rí ${u}` : `Ìbáwọlé aṣìṣe: a ní láti fi ${i}, àmọ̀ a rí ${u}`; + } + case "invalid_value": + return t.values.length === 1 ? `Ìbáwọlé aṣìṣe: a ní láti fi ${M(t.values[0])}` : `Àṣàyàn aṣìṣe: yan ọ̀kan lára ${k(t.values, "|")}`; + case "too_big": { + const i = t.inclusive ? "<=" : "<", a = n(t.origin); + return a ? `Tó pọ̀ jù: a ní láti jẹ́ pé ${t.origin ?? "iye"} ${a.verb} ${i}${t.maximum} ${a.unit}` : `Tó pọ̀ jù: a ní láti jẹ́ ${i}${t.maximum}`; + } + case "too_small": { + const i = t.inclusive ? ">=" : ">", a = n(t.origin); + return a ? `Kéré ju: a ní láti jẹ́ pé ${t.origin} ${a.verb} ${i}${t.minimum} ${a.unit}` : `Kéré ju: a ní láti jẹ́ ${i}${t.minimum}`; + } + case "invalid_format": { + const i = t; + return i.format === "starts_with" ? `Ọ̀rọ̀ aṣìṣe: gbọ́dọ̀ bẹ̀rẹ̀ pẹ̀lú "${i.prefix}"` : i.format === "ends_with" ? `Ọ̀rọ̀ aṣìṣe: gbọ́dọ̀ parí pẹ̀lú "${i.suffix}"` : i.format === "includes" ? `Ọ̀rọ̀ aṣìṣe: gbọ́dọ̀ ní "${i.includes}"` : i.format === "regex" ? `Ọ̀rọ̀ aṣìṣe: gbọ́dọ̀ bá àpẹẹrẹ mu ${i.pattern}` : `Aṣìṣe: ${r[i.format] ?? t.format}`; + } + case "not_multiple_of": + return `Nọ́mbà aṣìṣe: gbọ́dọ̀ jẹ́ èyà pípín ti ${t.divisor}`; + case "unrecognized_keys": + return `Bọtìnì àìmọ̀: ${k(t.keys, ", ")}`; + case "invalid_key": + return `Bọtìnì aṣìṣe nínú ${t.origin}`; + case "invalid_union": + return "Ìbáwọlé aṣìṣe"; + case "invalid_element": + return `Iye aṣìṣe nínú ${t.origin}`; + default: + return "Ìbáwọlé aṣìṣe"; + } + }; +}; +function Rp() { + return { + localeError: Lp() + }; +} +const gc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ + __proto__: null, + ar: ov, + az: uv, + be: cv, + bg: dv, + ca: mv, + cs: pv, + da: hv, + de: bv, + en: mc, + eo: kv, + es: Iv, + fa: zv, + fi: Dv, + fr: jv, + frCA: Tv, + he: Pv, + hu: Av, + hy: Cv, + id: Fv, + is: Rv, + it: Jv, + ja: qv, + ka: Kv, + kh: Gv, + km: vc, + ko: Xv, + lt: ep, + mk: np, + ms: ip, + nl: ap, + no: lp, + ota: sp, + pl: vp, + ps: fp, + pt: gp, + ru: $p, + sl: _p, + sv: kp, + ta: Ip, + th: zp, + tr: Dp, + ua: jp, + uk: pc, + ur: Tp, + uz: Pp, + vi: Ap, + yo: Rp, + zhCN: Cp, + zhTW: Fp +}, Symbol.toStringTag, { value: "Module" })); +var ea; +const hc = Symbol("ZodOutput"), $c = Symbol("ZodInput"); +class bc { + constructor() { + this._map = /* @__PURE__ */ new WeakMap(), this._idmap = /* @__PURE__ */ new Map(); + } + add(n, ...r) { + const o = r[0]; + return this._map.set(n, o), o && typeof o == "object" && "id" in o && this._idmap.set(o.id, n), this; + } + clear() { + return this._map = /* @__PURE__ */ new WeakMap(), this._idmap = /* @__PURE__ */ new Map(), this; + } + remove(n) { + const r = this._map.get(n); + return r && typeof r == "object" && "id" in r && this._idmap.delete(r.id), this._map.delete(n), this; + } + get(n) { + const r = n._zod.parent; + if (r) { + const o = { ...this.get(r) ?? {} }; + delete o.id; + const t = { ...o, ...this._map.get(n) }; + return Object.keys(t).length ? t : void 0; + } + return this._map.get(n); + } + has(n) { + return this._map.has(n); + } +} +function li() { + return new bc(); +} +(ea = globalThis).__zod_globalRegistry ?? (ea.__zod_globalRegistry = li()); +const Ae = globalThis.__zod_globalRegistry; +// @__NO_SIDE_EFFECTS__ +function _c(e, n) { + return new e({ + type: "string", + ...$(n) + }); +} +// @__NO_SIDE_EFFECTS__ +function yc(e, n) { + return new e({ + type: "string", + coerce: !0, + ...$(n) + }); +} +// @__NO_SIDE_EFFECTS__ +function ci(e, n) { + return new e({ + type: "string", + format: "email", + check: "string_format", + abort: !1, + ...$(n) + }); +} +// @__NO_SIDE_EFFECTS__ +function Un(e, n) { + return new e({ + type: "string", + format: "guid", + check: "string_format", + abort: !1, + ...$(n) + }); +} +// @__NO_SIDE_EFFECTS__ +function si(e, n) { + return new e({ + type: "string", + format: "uuid", + check: "string_format", + abort: !1, + ...$(n) + }); +} +// @__NO_SIDE_EFFECTS__ +function di(e, n) { + return new e({ + type: "string", + format: "uuid", + check: "string_format", + abort: !1, + version: "v4", + ...$(n) + }); +} +// @__NO_SIDE_EFFECTS__ +function fi(e, n) { + return new e({ + type: "string", + format: "uuid", + check: "string_format", + abort: !1, + version: "v6", + ...$(n) + }); +} +// @__NO_SIDE_EFFECTS__ +function mi(e, n) { + return new e({ + type: "string", + format: "uuid", + check: "string_format", + abort: !1, + version: "v7", + ...$(n) + }); +} +// @__NO_SIDE_EFFECTS__ +function Ln(e, n) { + return new e({ + type: "string", + format: "url", + check: "string_format", + abort: !1, + ...$(n) + }); +} +// @__NO_SIDE_EFFECTS__ +function vi(e, n) { + return new e({ + type: "string", + format: "emoji", + check: "string_format", + abort: !1, + ...$(n) + }); +} +// @__NO_SIDE_EFFECTS__ +function pi(e, n) { + return new e({ + type: "string", + format: "nanoid", + check: "string_format", + abort: !1, + ...$(n) + }); +} +// @__NO_SIDE_EFFECTS__ +function gi(e, n) { + return new e({ + type: "string", + format: "cuid", + check: "string_format", + abort: !1, + ...$(n) + }); +} +// @__NO_SIDE_EFFECTS__ +function hi(e, n) { + return new e({ + type: "string", + format: "cuid2", + check: "string_format", + abort: !1, + ...$(n) + }); +} +// @__NO_SIDE_EFFECTS__ +function $i(e, n) { + return new e({ + type: "string", + format: "ulid", + check: "string_format", + abort: !1, + ...$(n) + }); +} +// @__NO_SIDE_EFFECTS__ +function bi(e, n) { + return new e({ + type: "string", + format: "xid", + check: "string_format", + abort: !1, + ...$(n) + }); +} +// @__NO_SIDE_EFFECTS__ +function _i(e, n) { + return new e({ + type: "string", + format: "ksuid", + check: "string_format", + abort: !1, + ...$(n) + }); +} +// @__NO_SIDE_EFFECTS__ +function yi(e, n) { + return new e({ + type: "string", + format: "ipv4", + check: "string_format", + abort: !1, + ...$(n) + }); +} +// @__NO_SIDE_EFFECTS__ +function ki(e, n) { + return new e({ + type: "string", + format: "ipv6", + check: "string_format", + abort: !1, + ...$(n) + }); +} +// @__NO_SIDE_EFFECTS__ +function kc(e, n) { + return new e({ + type: "string", + format: "mac", + check: "string_format", + abort: !1, + ...$(n) + }); +} +// @__NO_SIDE_EFFECTS__ +function Si(e, n) { + return new e({ + type: "string", + format: "cidrv4", + check: "string_format", + abort: !1, + ...$(n) + }); +} +// @__NO_SIDE_EFFECTS__ +function Ii(e, n) { + return new e({ + type: "string", + format: "cidrv6", + check: "string_format", + abort: !1, + ...$(n) + }); +} +// @__NO_SIDE_EFFECTS__ +function wi(e, n) { + return new e({ + type: "string", + format: "base64", + check: "string_format", + abort: !1, + ...$(n) + }); +} +// @__NO_SIDE_EFFECTS__ +function zi(e, n) { + return new e({ + type: "string", + format: "base64url", + check: "string_format", + abort: !1, + ...$(n) + }); +} +// @__NO_SIDE_EFFECTS__ +function xi(e, n) { + return new e({ + type: "string", + format: "e164", + check: "string_format", + abort: !1, + ...$(n) + }); +} +// @__NO_SIDE_EFFECTS__ +function Di(e, n) { + return new e({ + type: "string", + format: "jwt", + check: "string_format", + abort: !1, + ...$(n) + }); +} +const Sc = { + Any: null, + Minute: -1, + Second: 0, + Millisecond: 3, + Microsecond: 6 +}; +// @__NO_SIDE_EFFECTS__ +function Ic(e, n) { + return new e({ + type: "string", + format: "datetime", + check: "string_format", + offset: !1, + local: !1, + precision: null, + ...$(n) + }); +} +// @__NO_SIDE_EFFECTS__ +function wc(e, n) { + return new e({ + type: "string", + format: "date", + check: "string_format", + ...$(n) + }); +} +// @__NO_SIDE_EFFECTS__ +function zc(e, n) { + return new e({ + type: "string", + format: "time", + check: "string_format", + precision: null, + ...$(n) + }); +} +// @__NO_SIDE_EFFECTS__ +function xc(e, n) { + return new e({ + type: "string", + format: "duration", + check: "string_format", + ...$(n) + }); +} +// @__NO_SIDE_EFFECTS__ +function Dc(e, n) { + return new e({ + type: "number", + checks: [], + ...$(n) + }); +} +// @__NO_SIDE_EFFECTS__ +function Oc(e, n) { + return new e({ + type: "number", + coerce: !0, + checks: [], + ...$(n) + }); +} +// @__NO_SIDE_EFFECTS__ +function jc(e, n) { + return new e({ + type: "number", + check: "number_format", + abort: !1, + format: "safeint", + ...$(n) + }); +} +// @__NO_SIDE_EFFECTS__ +function Uc(e, n) { + return new e({ + type: "number", + check: "number_format", + abort: !1, + format: "float32", + ...$(n) + }); +} +// @__NO_SIDE_EFFECTS__ +function Tc(e, n) { + return new e({ + type: "number", + check: "number_format", + abort: !1, + format: "float64", + ...$(n) + }); +} +// @__NO_SIDE_EFFECTS__ +function Ec(e, n) { + return new e({ + type: "number", + check: "number_format", + abort: !1, + format: "int32", + ...$(n) + }); +} +// @__NO_SIDE_EFFECTS__ +function Pc(e, n) { + return new e({ + type: "number", + check: "number_format", + abort: !1, + format: "uint32", + ...$(n) + }); +} +// @__NO_SIDE_EFFECTS__ +function Nc(e, n) { + return new e({ + type: "boolean", + ...$(n) + }); +} +// @__NO_SIDE_EFFECTS__ +function Ac(e, n) { + return new e({ + type: "boolean", + coerce: !0, + ...$(n) + }); +} +// @__NO_SIDE_EFFECTS__ +function Zc(e, n) { + return new e({ + type: "bigint", + ...$(n) + }); +} +// @__NO_SIDE_EFFECTS__ +function Cc(e, n) { + return new e({ + type: "bigint", + coerce: !0, + ...$(n) + }); +} +// @__NO_SIDE_EFFECTS__ +function Mc(e, n) { + return new e({ + type: "bigint", + check: "bigint_format", + abort: !1, + format: "int64", + ...$(n) + }); +} +// @__NO_SIDE_EFFECTS__ +function Fc(e, n) { + return new e({ + type: "bigint", + check: "bigint_format", + abort: !1, + format: "uint64", + ...$(n) + }); +} +// @__NO_SIDE_EFFECTS__ +function Lc(e, n) { + return new e({ + type: "symbol", + ...$(n) + }); +} +// @__NO_SIDE_EFFECTS__ +function Rc(e, n) { + return new e({ + type: "undefined", + ...$(n) + }); +} +// @__NO_SIDE_EFFECTS__ +function Bc(e, n) { + return new e({ + type: "null", + ...$(n) + }); +} +// @__NO_SIDE_EFFECTS__ +function Jc(e) { + return new e({ + type: "any" + }); +} +// @__NO_SIDE_EFFECTS__ +function Vc(e) { + return new e({ + type: "unknown" + }); +} +// @__NO_SIDE_EFFECTS__ +function qc(e, n) { + return new e({ + type: "never", + ...$(n) + }); +} +// @__NO_SIDE_EFFECTS__ +function Yc(e, n) { + return new e({ + type: "void", + ...$(n) + }); +} +// @__NO_SIDE_EFFECTS__ +function Kc(e, n) { + return new e({ + type: "date", + ...$(n) + }); +} +// @__NO_SIDE_EFFECTS__ +function Wc(e, n) { + return new e({ + type: "date", + coerce: !0, + ...$(n) + }); +} +// @__NO_SIDE_EFFECTS__ +function Gc(e, n) { + return new e({ + type: "nan", + ...$(n) + }); +} +// @__NO_SIDE_EFFECTS__ +function nt(e, n) { + return new Qr({ + check: "less_than", + ...$(n), + value: e, + inclusive: !1 + }); +} +// @__NO_SIDE_EFFECTS__ +function Ze(e, n) { + return new Qr({ + check: "less_than", + ...$(n), + value: e, + inclusive: !0 + }); +} +// @__NO_SIDE_EFFECTS__ +function rt(e, n) { + return new ei({ + check: "greater_than", + ...$(n), + value: e, + inclusive: !1 + }); +} +// @__NO_SIDE_EFFECTS__ +function Ue(e, n) { + return new ei({ + check: "greater_than", + ...$(n), + value: e, + inclusive: !0 + }); +} +// @__NO_SIDE_EFFECTS__ +function Oi(e) { + return /* @__PURE__ */ rt(0, e); +} +// @__NO_SIDE_EFFECTS__ +function ji(e) { + return /* @__PURE__ */ nt(0, e); +} +// @__NO_SIDE_EFFECTS__ +function Ui(e) { + return /* @__PURE__ */ Ze(0, e); +} +// @__NO_SIDE_EFFECTS__ +function Ti(e) { + return /* @__PURE__ */ Ue(0, e); +} +// @__NO_SIDE_EFFECTS__ +function kt(e, n) { + return new Pu({ + check: "multiple_of", + ...$(n), + value: e + }); +} +// @__NO_SIDE_EFFECTS__ +function xt(e, n) { + return new Zu({ + check: "max_size", + ...$(n), + maximum: e + }); +} +// @__NO_SIDE_EFFECTS__ +function it(e, n) { + return new Cu({ + check: "min_size", + ...$(n), + minimum: e + }); +} +// @__NO_SIDE_EFFECTS__ +function Wt(e, n) { + return new Mu({ + check: "size_equals", + ...$(n), + size: e + }); +} +// @__NO_SIDE_EFFECTS__ +function Gt(e, n) { + return new Fu({ + check: "max_length", + ...$(n), + maximum: e + }); +} +// @__NO_SIDE_EFFECTS__ +function mt(e, n) { + return new Lu({ + check: "min_length", + ...$(n), + minimum: e + }); +} +// @__NO_SIDE_EFFECTS__ +function Ht(e, n) { + return new Ru({ + check: "length_equals", + ...$(n), + length: e + }); +} +// @__NO_SIDE_EFFECTS__ +function Rn(e, n) { + return new Bu({ + check: "string_format", + format: "regex", + ...$(n), + pattern: e + }); +} +// @__NO_SIDE_EFFECTS__ +function Bn(e) { + return new Ju({ + check: "string_format", + format: "lowercase", + ...$(e) + }); +} +// @__NO_SIDE_EFFECTS__ +function Jn(e) { + return new Vu({ + check: "string_format", + format: "uppercase", + ...$(e) + }); +} +// @__NO_SIDE_EFFECTS__ +function Vn(e, n) { + return new qu({ + check: "string_format", + format: "includes", + ...$(n), + includes: e + }); +} +// @__NO_SIDE_EFFECTS__ +function qn(e, n) { + return new Yu({ + check: "string_format", + format: "starts_with", + ...$(n), + prefix: e + }); +} +// @__NO_SIDE_EFFECTS__ +function Yn(e, n) { + return new Ku({ + check: "string_format", + format: "ends_with", + ...$(n), + suffix: e + }); +} +// @__NO_SIDE_EFFECTS__ +function Ei(e, n, r) { + return new Wu({ + check: "property", + property: e, + schema: n, + ...$(r) + }); +} +// @__NO_SIDE_EFFECTS__ +function Kn(e, n) { + return new Gu({ + check: "mime_type", + mime: e, + ...$(n) + }); +} +// @__NO_SIDE_EFFECTS__ +function He(e) { + return new Hu({ + check: "overwrite", + tx: e + }); +} +// @__NO_SIDE_EFFECTS__ +function Wn(e) { + return /* @__PURE__ */ He((n) => n.normalize(e)); +} +// @__NO_SIDE_EFFECTS__ +function Gn() { + return /* @__PURE__ */ He((e) => e.trim()); +} +// @__NO_SIDE_EFFECTS__ +function Hn() { + return /* @__PURE__ */ He((e) => e.toLowerCase()); +} +// @__NO_SIDE_EFFECTS__ +function Xn() { + return /* @__PURE__ */ He((e) => e.toUpperCase()); +} +// @__NO_SIDE_EFFECTS__ +function Qn() { + return /* @__PURE__ */ He((e) => Ua(e)); +} +// @__NO_SIDE_EFFECTS__ +function Hc(e, n, r) { + return new e({ + type: "array", + element: n, + // get element() { + // return element; + // }, + ...$(r) + }); +} +// @__NO_SIDE_EFFECTS__ +function Bp(e, n, r) { + return new e({ + type: "union", + options: n, + ...$(r) + }); +} +function Jp(e, n, r) { + return new e({ + type: "union", + options: n, + inclusive: !1, + ...$(r) + }); +} +// @__NO_SIDE_EFFECTS__ +function Vp(e, n, r, o) { + return new e({ + type: "union", + options: r, + discriminator: n, + ...$(o) + }); +} +// @__NO_SIDE_EFFECTS__ +function qp(e, n, r) { + return new e({ + type: "intersection", + left: n, + right: r + }); +} +// @__NO_SIDE_EFFECTS__ +function Yp(e, n, r, o) { + const t = r instanceof R, i = t ? o : r, a = t ? r : null; + return new e({ + type: "tuple", + items: n, + rest: a, + ...$(i) + }); +} +// @__NO_SIDE_EFFECTS__ +function Kp(e, n, r, o) { + return new e({ + type: "record", + keyType: n, + valueType: r, + ...$(o) + }); +} +// @__NO_SIDE_EFFECTS__ +function Wp(e, n, r, o) { + return new e({ + type: "map", + keyType: n, + valueType: r, + ...$(o) + }); +} +// @__NO_SIDE_EFFECTS__ +function Gp(e, n, r) { + return new e({ + type: "set", + valueType: n, + ...$(r) + }); +} +// @__NO_SIDE_EFFECTS__ +function Hp(e, n, r) { + const o = Array.isArray(n) ? Object.fromEntries(n.map((t) => [t, t])) : n; + return new e({ + type: "enum", + entries: o, + ...$(r) + }); +} +// @__NO_SIDE_EFFECTS__ +function Xp(e, n, r) { + return new e({ + type: "enum", + entries: n, + ...$(r) + }); +} +// @__NO_SIDE_EFFECTS__ +function Qp(e, n, r) { + return new e({ + type: "literal", + values: Array.isArray(n) ? n : [n], + ...$(r) + }); +} +// @__NO_SIDE_EFFECTS__ +function Xc(e, n) { + return new e({ + type: "file", + ...$(n) + }); +} +// @__NO_SIDE_EFFECTS__ +function eg(e, n) { + return new e({ + type: "transform", + transform: n + }); +} +// @__NO_SIDE_EFFECTS__ +function tg(e, n) { + return new e({ + type: "optional", + innerType: n + }); +} +// @__NO_SIDE_EFFECTS__ +function ng(e, n) { + return new e({ + type: "nullable", + innerType: n + }); +} +// @__NO_SIDE_EFFECTS__ +function rg(e, n, r) { + return new e({ + type: "default", + innerType: n, + get defaultValue() { + return typeof r == "function" ? r() : Zn(r); + } + }); +} +// @__NO_SIDE_EFFECTS__ +function ig(e, n, r) { + return new e({ + type: "nonoptional", + innerType: n, + ...$(r) + }); +} +// @__NO_SIDE_EFFECTS__ +function og(e, n) { + return new e({ + type: "success", + innerType: n + }); +} +// @__NO_SIDE_EFFECTS__ +function ag(e, n, r) { + return new e({ + type: "catch", + innerType: n, + catchValue: typeof r == "function" ? r : () => r + }); +} +// @__NO_SIDE_EFFECTS__ +function ug(e, n, r) { + return new e({ + type: "pipe", + in: n, + out: r + }); +} +// @__NO_SIDE_EFFECTS__ +function lg(e, n) { + return new e({ + type: "readonly", + innerType: n + }); +} +// @__NO_SIDE_EFFECTS__ +function cg(e, n, r) { + return new e({ + type: "template_literal", + parts: n, + ...$(r) + }); +} +// @__NO_SIDE_EFFECTS__ +function sg(e, n) { + return new e({ + type: "lazy", + getter: n + }); +} +// @__NO_SIDE_EFFECTS__ +function dg(e, n) { + return new e({ + type: "promise", + innerType: n + }); +} +// @__NO_SIDE_EFFECTS__ +function Qc(e, n, r) { + const o = $(r); + return o.abort ?? (o.abort = !0), new e({ + type: "custom", + check: "custom", + fn: n, + ...o + }); +} +// @__NO_SIDE_EFFECTS__ +function es(e, n, r) { + return new e({ + type: "custom", + check: "custom", + fn: n, + ...$(r) + }); +} +// @__NO_SIDE_EFFECTS__ +function ts(e) { + const n = /* @__PURE__ */ ns((r) => (r.addIssue = (o) => { + if (typeof o == "string") + r.issues.push(_t(o, r.value, n._zod.def)); + else { + const t = o; + t.fatal && (t.continue = !1), t.code ?? (t.code = "custom"), t.input ?? (t.input = r.value), t.inst ?? (t.inst = n), t.continue ?? (t.continue = !n._zod.def.abort), r.issues.push(_t(t)); + } + }, e(r.value, r))); + return n; +} +// @__NO_SIDE_EFFECTS__ +function ns(e, n) { + const r = new se({ + check: "custom", + ...$(n) + }); + return r._zod.check = e, r; +} +// @__NO_SIDE_EFFECTS__ +function rs(e) { + const n = new se({ check: "describe" }); + return n._zod.onattach = [ + (r) => { + const o = Ae.get(r) ?? {}; + Ae.add(r, { ...o, description: e }); + } + ], n._zod.check = () => { + }, n; +} +// @__NO_SIDE_EFFECTS__ +function is(e) { + const n = new se({ check: "meta" }); + return n._zod.onattach = [ + (r) => { + const o = Ae.get(r) ?? {}; + Ae.add(r, { ...o, ...e }); + } + ], n._zod.check = () => { + }, n; +} +// @__NO_SIDE_EFFECTS__ +function os(e, n) { + const r = $(n); + let o = r.truthy ?? ["true", "1", "yes", "on", "y", "enabled"], t = r.falsy ?? ["false", "0", "no", "off", "n", "disabled"]; + r.case !== "sensitive" && (o = o.map((p) => typeof p == "string" ? p.toLowerCase() : p), t = t.map((p) => typeof p == "string" ? p.toLowerCase() : p)); + const i = new Set(o), a = new Set(t), u = e.Codec ?? ui, c = e.Boolean ?? ri, l = e.String ?? Kt, s = new l({ type: "string", error: r.error }), d = new c({ type: "boolean", error: r.error }), m = new u({ + type: "pipe", + in: s, + out: d, + transform: ((p, g) => { + let f = p; + return r.case !== "sensitive" && (f = f.toLowerCase()), i.has(f) ? !0 : a.has(f) ? !1 : (g.issues.push({ + code: "invalid_value", + expected: "stringbool", + values: [...i, ...a], + input: g.value, + inst: m, + continue: !1 + }), {}); + }), + reverseTransform: ((p, g) => p === !0 ? o[0] || "true" : t[0] || "false"), + error: r.error + }); + return m; +} +// @__NO_SIDE_EFFECTS__ +function Xt(e, n, r, o = {}) { + const t = $(o), i = { + ...$(o), + check: "string_format", + type: "string", + format: n, + fn: typeof r == "function" ? r : (u) => r.test(u), + ...t + }; + return r instanceof RegExp && (i.pattern = r), new e(i); +} +function St(e) { + let n = (e == null ? void 0 : e.target) ?? "draft-2020-12"; + return n === "draft-4" && (n = "draft-04"), n === "draft-7" && (n = "draft-07"), { + processors: e.processors ?? {}, + metadataRegistry: (e == null ? void 0 : e.metadata) ?? Ae, + target: n, + unrepresentable: (e == null ? void 0 : e.unrepresentable) ?? "throw", + override: (e == null ? void 0 : e.override) ?? (() => { + }), + io: (e == null ? void 0 : e.io) ?? "output", + counter: 0, + seen: /* @__PURE__ */ new Map(), + cycles: (e == null ? void 0 : e.cycles) ?? "ref", + reused: (e == null ? void 0 : e.reused) ?? "inline", + external: (e == null ? void 0 : e.external) ?? void 0 + }; +} +function te(e, n, r = { path: [], schemaPath: [] }) { + var s, d; + var o; + const t = e._zod.def, i = n.seen.get(e); + if (i) + return i.count++, r.schemaPath.includes(e) && (i.cycle = r.path), i.schema; + const a = { schema: {}, count: 1, cycle: void 0, path: r.path }; + n.seen.set(e, a); + const u = (d = (s = e._zod).toJSONSchema) == null ? void 0 : d.call(s); + if (u) + a.schema = u; + else { + const m = { + ...r, + schemaPath: [...r.schemaPath, e], + path: r.path + }; + if (e._zod.processJSONSchema) + e._zod.processJSONSchema(n, a.schema, m); + else { + const g = a.schema, f = n.processors[t.type]; + if (!f) + throw new Error(`[toJSONSchema]: Non-representable type encountered: ${t.type}`); + f(e, n, g, m); + } + const p = e._zod.parent; + p && (a.ref || (a.ref = p), te(p, n, m), n.seen.get(p).isParent = !0); + } + const c = n.metadataRegistry.get(e); + return c && Object.assign(a.schema, c), n.io === "input" && xe(e) && (delete a.schema.examples, delete a.schema.default), n.io === "input" && a.schema._prefault && ((o = a.schema).default ?? (o.default = a.schema._prefault)), delete a.schema._prefault, n.seen.get(e).schema; +} +function It(e, n) { + var a, u, c, l; + const r = e.seen.get(n); + if (!r) + throw new Error("Unprocessed schema. This is a bug in Zod."); + const o = /* @__PURE__ */ new Map(); + for (const s of e.seen.entries()) { + const d = (a = e.metadataRegistry.get(s[0])) == null ? void 0 : a.id; + if (d) { + const m = o.get(d); + if (m && m !== s[0]) + throw new Error(`Duplicate schema id "${d}" detected during JSON Schema conversion. Two different schemas cannot share the same id when converted together.`); + o.set(d, s[0]); + } + } + const t = (s) => { + var f; + const d = e.target === "draft-2020-12" ? "$defs" : "definitions"; + if (e.external) { + const h = (f = e.external.registry.get(s[0])) == null ? void 0 : f.id, b = e.external.uri ?? ((C) => C); + if (h) + return { ref: b(h) }; + const y = s[1].defId ?? s[1].schema.id ?? `schema${e.counter++}`; + return s[1].defId = y, { defId: y, ref: `${b("__shared")}#/${d}/${y}` }; + } + if (s[1] === r) + return { ref: "#" }; + const p = `#/${d}/`, g = s[1].schema.id ?? `__schema${e.counter++}`; + return { defId: g, ref: p + g }; + }, i = (s) => { + if (s[1].schema.$ref) + return; + const d = s[1], { ref: m, defId: p } = t(s); + d.def = { ...d.schema }, p && (d.defId = p); + const g = d.schema; + for (const f in g) + delete g[f]; + g.$ref = m; + }; + if (e.cycles === "throw") + for (const s of e.seen.entries()) { + const d = s[1]; + if (d.cycle) + throw new Error(`Cycle detected: #/${(u = d.cycle) == null ? void 0 : u.join("/")}/ + +Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`); + } + for (const s of e.seen.entries()) { + const d = s[1]; + if (n === s[0]) { + i(s); + continue; + } + if (e.external) { + const p = (c = e.external.registry.get(s[0])) == null ? void 0 : c.id; + if (n !== s[0] && p) { + i(s); + continue; + } + } + if ((l = e.metadataRegistry.get(s[0])) == null ? void 0 : l.id) { + i(s); + continue; + } + if (d.cycle) { + i(s); + continue; + } + if (d.count > 1 && e.reused === "ref") { + i(s); + continue; + } + } +} +function wt(e, n) { + var a, u, c; + const r = e.seen.get(n); + if (!r) + throw new Error("Unprocessed schema. This is a bug in Zod."); + const o = (l) => { + const s = e.seen.get(l); + if (s.ref === null) + return; + const d = s.def ?? s.schema, m = { ...d }, p = s.ref; + if (s.ref = null, p) { + o(p); + const f = e.seen.get(p), h = f.schema; + if (h.$ref && (e.target === "draft-07" || e.target === "draft-04" || e.target === "openapi-3.0") ? (d.allOf = d.allOf ?? [], d.allOf.push(h)) : Object.assign(d, h), Object.assign(d, m), l._zod.parent === p) + for (const y in d) + y === "$ref" || y === "allOf" || y in m || delete d[y]; + if (h.$ref && f.def) + for (const y in d) + y === "$ref" || y === "allOf" || y in f.def && JSON.stringify(d[y]) === JSON.stringify(f.def[y]) && delete d[y]; + } + const g = l._zod.parent; + if (g && g !== p) { + o(g); + const f = e.seen.get(g); + if (f != null && f.schema.$ref && (d.$ref = f.schema.$ref, f.def)) + for (const h in d) + h === "$ref" || h === "allOf" || h in f.def && JSON.stringify(d[h]) === JSON.stringify(f.def[h]) && delete d[h]; + } + e.override({ + zodSchema: l, + jsonSchema: d, + path: s.path ?? [] + }); + }; + for (const l of [...e.seen.entries()].reverse()) + o(l[0]); + const t = {}; + if (e.target === "draft-2020-12" ? t.$schema = "https://json-schema.org/draft/2020-12/schema" : e.target === "draft-07" ? t.$schema = "http://json-schema.org/draft-07/schema#" : e.target === "draft-04" ? t.$schema = "http://json-schema.org/draft-04/schema#" : e.target, (a = e.external) != null && a.uri) { + const l = (u = e.external.registry.get(n)) == null ? void 0 : u.id; + if (!l) + throw new Error("Schema is missing an `id` property"); + t.$id = e.external.uri(l); + } + Object.assign(t, r.def ?? r.schema); + const i = ((c = e.external) == null ? void 0 : c.defs) ?? {}; + for (const l of e.seen.entries()) { + const s = l[1]; + s.def && s.defId && (i[s.defId] = s.def); + } + e.external || Object.keys(i).length > 0 && (e.target === "draft-2020-12" ? t.$defs = i : t.definitions = i); + try { + const l = JSON.parse(JSON.stringify(t)); + return Object.defineProperty(l, "~standard", { + value: { + ...n["~standard"], + jsonSchema: { + input: Nt(n, "input", e.processors), + output: Nt(n, "output", e.processors) + } + }, + enumerable: !1, + writable: !1 + }), l; + } catch { + throw new Error("Error converting schema to JSON."); + } +} +function xe(e, n) { + const r = n ?? { seen: /* @__PURE__ */ new Set() }; + if (r.seen.has(e)) + return !1; + r.seen.add(e); + const o = e._zod.def; + if (o.type === "transform") + return !0; + if (o.type === "array") + return xe(o.element, r); + if (o.type === "set") + return xe(o.valueType, r); + if (o.type === "lazy") + return xe(o.getter(), r); + if (o.type === "promise" || o.type === "optional" || o.type === "nonoptional" || o.type === "nullable" || o.type === "readonly" || o.type === "default" || o.type === "prefault") + return xe(o.innerType, r); + if (o.type === "intersection") + return xe(o.left, r) || xe(o.right, r); + if (o.type === "record" || o.type === "map") + return xe(o.keyType, r) || xe(o.valueType, r); + if (o.type === "pipe") + return xe(o.in, r) || xe(o.out, r); + if (o.type === "object") { + for (const t in o.shape) + if (xe(o.shape[t], r)) + return !0; + return !1; + } + if (o.type === "union") { + for (const t of o.options) + if (xe(t, r)) + return !0; + return !1; + } + if (o.type === "tuple") { + for (const t of o.items) + if (xe(t, r)) + return !0; + return !!(o.rest && xe(o.rest, r)); + } + return !1; +} +const as = (e, n = {}) => (r) => { + const o = St({ ...r, processors: n }); + return te(e, o), It(o, e), wt(o, e); +}, Nt = (e, n, r = {}) => (o) => { + const { libraryOptions: t, target: i } = o ?? {}, a = St({ ...t ?? {}, target: i, io: n, processors: r }); + return te(e, a), It(a, e), wt(a, e); +}, fg = { + guid: "uuid", + url: "uri", + datetime: "date-time", + json_string: "json-string", + regex: "" + // do not set +}, us = (e, n, r, o) => { + const t = r; + t.type = "string"; + const { minimum: i, maximum: a, format: u, patterns: c, contentEncoding: l } = e._zod.bag; + if (typeof i == "number" && (t.minLength = i), typeof a == "number" && (t.maxLength = a), u && (t.format = fg[u] ?? u, t.format === "" && delete t.format, u === "time" && delete t.format), l && (t.contentEncoding = l), c && c.size > 0) { + const s = [...c]; + s.length === 1 ? t.pattern = s[0].source : s.length > 1 && (t.allOf = [ + ...s.map((d) => ({ + ...n.target === "draft-07" || n.target === "draft-04" || n.target === "openapi-3.0" ? { type: "string" } : {}, + pattern: d.source + })) + ]); + } +}, ls = (e, n, r, o) => { + const t = r, { minimum: i, maximum: a, format: u, multipleOf: c, exclusiveMaximum: l, exclusiveMinimum: s } = e._zod.bag; + typeof u == "string" && u.includes("int") ? t.type = "integer" : t.type = "number", typeof s == "number" && (n.target === "draft-04" || n.target === "openapi-3.0" ? (t.minimum = s, t.exclusiveMinimum = !0) : t.exclusiveMinimum = s), typeof i == "number" && (t.minimum = i, typeof s == "number" && n.target !== "draft-04" && (s >= i ? delete t.minimum : delete t.exclusiveMinimum)), typeof l == "number" && (n.target === "draft-04" || n.target === "openapi-3.0" ? (t.maximum = l, t.exclusiveMaximum = !0) : t.exclusiveMaximum = l), typeof a == "number" && (t.maximum = a, typeof l == "number" && n.target !== "draft-04" && (l <= a ? delete t.maximum : delete t.exclusiveMaximum)), typeof c == "number" && (t.multipleOf = c); +}, cs = (e, n, r, o) => { + r.type = "boolean"; +}, ss = (e, n, r, o) => { + if (n.unrepresentable === "throw") + throw new Error("BigInt cannot be represented in JSON Schema"); +}, ds = (e, n, r, o) => { + if (n.unrepresentable === "throw") + throw new Error("Symbols cannot be represented in JSON Schema"); +}, fs = (e, n, r, o) => { + n.target === "openapi-3.0" ? (r.type = "string", r.nullable = !0, r.enum = [null]) : r.type = "null"; +}, ms = (e, n, r, o) => { + if (n.unrepresentable === "throw") + throw new Error("Undefined cannot be represented in JSON Schema"); +}, vs = (e, n, r, o) => { + if (n.unrepresentable === "throw") + throw new Error("Void cannot be represented in JSON Schema"); +}, ps = (e, n, r, o) => { + r.not = {}; +}, gs = (e, n, r, o) => { +}, hs = (e, n, r, o) => { +}, $s = (e, n, r, o) => { + if (n.unrepresentable === "throw") + throw new Error("Date cannot be represented in JSON Schema"); +}, bs = (e, n, r, o) => { + const t = e._zod.def, i = Zr(t.entries); + i.every((a) => typeof a == "number") && (r.type = "number"), i.every((a) => typeof a == "string") && (r.type = "string"), r.enum = i; +}, _s = (e, n, r, o) => { + const t = e._zod.def, i = []; + for (const a of t.values) + if (a === void 0) { + if (n.unrepresentable === "throw") + throw new Error("Literal `undefined` cannot be represented in JSON Schema"); + } else if (typeof a == "bigint") { + if (n.unrepresentable === "throw") + throw new Error("BigInt literals cannot be represented in JSON Schema"); + i.push(Number(a)); + } else + i.push(a); + if (i.length !== 0) if (i.length === 1) { + const a = i[0]; + r.type = a === null ? "null" : typeof a, n.target === "draft-04" || n.target === "openapi-3.0" ? r.enum = [a] : r.const = a; + } else + i.every((a) => typeof a == "number") && (r.type = "number"), i.every((a) => typeof a == "string") && (r.type = "string"), i.every((a) => typeof a == "boolean") && (r.type = "boolean"), i.every((a) => a === null) && (r.type = "null"), r.enum = i; +}, ys = (e, n, r, o) => { + if (n.unrepresentable === "throw") + throw new Error("NaN cannot be represented in JSON Schema"); +}, ks = (e, n, r, o) => { + const t = r, i = e._zod.pattern; + if (!i) + throw new Error("Pattern not found in template literal"); + t.type = "string", t.pattern = i.source; +}, Ss = (e, n, r, o) => { + const t = r, i = { + type: "string", + format: "binary", + contentEncoding: "binary" + }, { minimum: a, maximum: u, mime: c } = e._zod.bag; + a !== void 0 && (i.minLength = a), u !== void 0 && (i.maxLength = u), c ? c.length === 1 ? (i.contentMediaType = c[0], Object.assign(t, i)) : (Object.assign(t, i), t.anyOf = c.map((l) => ({ contentMediaType: l }))) : Object.assign(t, i); +}, Is = (e, n, r, o) => { + r.type = "boolean"; +}, ws = (e, n, r, o) => { + if (n.unrepresentable === "throw") + throw new Error("Custom types cannot be represented in JSON Schema"); +}, zs = (e, n, r, o) => { + if (n.unrepresentable === "throw") + throw new Error("Function types cannot be represented in JSON Schema"); +}, xs = (e, n, r, o) => { + if (n.unrepresentable === "throw") + throw new Error("Transforms cannot be represented in JSON Schema"); +}, Ds = (e, n, r, o) => { + if (n.unrepresentable === "throw") + throw new Error("Map cannot be represented in JSON Schema"); +}, Os = (e, n, r, o) => { + if (n.unrepresentable === "throw") + throw new Error("Set cannot be represented in JSON Schema"); +}, js = (e, n, r, o) => { + const t = r, i = e._zod.def, { minimum: a, maximum: u } = e._zod.bag; + typeof a == "number" && (t.minItems = a), typeof u == "number" && (t.maxItems = u), t.type = "array", t.items = te(i.element, n, { ...o, path: [...o.path, "items"] }); +}, Us = (e, n, r, o) => { + var l; + const t = r, i = e._zod.def; + t.type = "object", t.properties = {}; + const a = i.shape; + for (const s in a) + t.properties[s] = te(a[s], n, { + ...o, + path: [...o.path, "properties", s] + }); + const u = new Set(Object.keys(a)), c = new Set([...u].filter((s) => { + const d = i.shape[s]._zod; + return n.io === "input" ? d.optin === void 0 : d.optout === void 0; + })); + c.size > 0 && (t.required = Array.from(c)), ((l = i.catchall) == null ? void 0 : l._zod.def.type) === "never" ? t.additionalProperties = !1 : i.catchall ? i.catchall && (t.additionalProperties = te(i.catchall, n, { + ...o, + path: [...o.path, "additionalProperties"] + })) : n.io === "output" && (t.additionalProperties = !1); +}, Pi = (e, n, r, o) => { + const t = e._zod.def, i = t.inclusive === !1, a = t.options.map((u, c) => te(u, n, { + ...o, + path: [...o.path, i ? "oneOf" : "anyOf", c] + })); + i ? r.oneOf = a : r.anyOf = a; +}, Ts = (e, n, r, o) => { + const t = e._zod.def, i = te(t.left, n, { + ...o, + path: [...o.path, "allOf", 0] + }), a = te(t.right, n, { + ...o, + path: [...o.path, "allOf", 1] + }), u = (l) => "allOf" in l && Object.keys(l).length === 1, c = [ + ...u(i) ? i.allOf : [i], + ...u(a) ? a.allOf : [a] + ]; + r.allOf = c; +}, Es = (e, n, r, o) => { + const t = r, i = e._zod.def; + t.type = "array"; + const a = n.target === "draft-2020-12" ? "prefixItems" : "items", u = n.target === "draft-2020-12" || n.target === "openapi-3.0" ? "items" : "additionalItems", c = i.items.map((m, p) => te(m, n, { + ...o, + path: [...o.path, a, p] + })), l = i.rest ? te(i.rest, n, { + ...o, + path: [...o.path, u, ...n.target === "openapi-3.0" ? [i.items.length] : []] + }) : null; + n.target === "draft-2020-12" ? (t.prefixItems = c, l && (t.items = l)) : n.target === "openapi-3.0" ? (t.items = { + anyOf: c + }, l && t.items.anyOf.push(l), t.minItems = c.length, l || (t.maxItems = c.length)) : (t.items = c, l && (t.additionalItems = l)); + const { minimum: s, maximum: d } = e._zod.bag; + typeof s == "number" && (t.minItems = s), typeof d == "number" && (t.maxItems = d); +}, Ps = (e, n, r, o) => { + const t = r, i = e._zod.def; + t.type = "object"; + const a = i.keyType, u = a._zod.bag, c = u == null ? void 0 : u.patterns; + if (i.mode === "loose" && c && c.size > 0) { + const s = te(i.valueType, n, { + ...o, + path: [...o.path, "patternProperties", "*"] + }); + t.patternProperties = {}; + for (const d of c) + t.patternProperties[d.source] = s; + } else + (n.target === "draft-07" || n.target === "draft-2020-12") && (t.propertyNames = te(i.keyType, n, { + ...o, + path: [...o.path, "propertyNames"] + })), t.additionalProperties = te(i.valueType, n, { + ...o, + path: [...o.path, "additionalProperties"] + }); + const l = a._zod.values; + if (l) { + const s = [...l].filter((d) => typeof d == "string" || typeof d == "number"); + s.length > 0 && (t.required = s); + } +}, Ns = (e, n, r, o) => { + const t = e._zod.def, i = te(t.innerType, n, o), a = n.seen.get(e); + n.target === "openapi-3.0" ? (a.ref = t.innerType, r.nullable = !0) : r.anyOf = [i, { type: "null" }]; +}, As = (e, n, r, o) => { + const t = e._zod.def; + te(t.innerType, n, o); + const i = n.seen.get(e); + i.ref = t.innerType; +}, Zs = (e, n, r, o) => { + const t = e._zod.def; + te(t.innerType, n, o); + const i = n.seen.get(e); + i.ref = t.innerType, r.default = JSON.parse(JSON.stringify(t.defaultValue)); +}, Cs = (e, n, r, o) => { + const t = e._zod.def; + te(t.innerType, n, o); + const i = n.seen.get(e); + i.ref = t.innerType, n.io === "input" && (r._prefault = JSON.parse(JSON.stringify(t.defaultValue))); +}, Ms = (e, n, r, o) => { + const t = e._zod.def; + te(t.innerType, n, o); + const i = n.seen.get(e); + i.ref = t.innerType; + let a; + try { + a = t.catchValue(void 0); + } catch { + throw new Error("Dynamic catch values are not supported in JSON Schema"); + } + r.default = a; +}, Fs = (e, n, r, o) => { + const t = e._zod.def, i = n.io === "input" ? t.in._zod.def.type === "transform" ? t.out : t.in : t.out; + te(i, n, o); + const a = n.seen.get(e); + a.ref = i; +}, Ls = (e, n, r, o) => { + const t = e._zod.def; + te(t.innerType, n, o); + const i = n.seen.get(e); + i.ref = t.innerType, r.readOnly = !0; +}, Rs = (e, n, r, o) => { + const t = e._zod.def; + te(t.innerType, n, o); + const i = n.seen.get(e); + i.ref = t.innerType; +}, Ni = (e, n, r, o) => { + const t = e._zod.def; + te(t.innerType, n, o); + const i = n.seen.get(e); + i.ref = t.innerType; +}, Bs = (e, n, r, o) => { + const t = e._zod.innerType; + te(t, n, o); + const i = n.seen.get(e); + i.ref = t; +}, Er = { + string: us, + number: ls, + boolean: cs, + bigint: ss, + symbol: ds, + null: fs, + undefined: ms, + void: vs, + never: ps, + any: gs, + unknown: hs, + date: $s, + enum: bs, + literal: _s, + nan: ys, + template_literal: ks, + file: Ss, + success: Is, + custom: ws, + function: zs, + transform: xs, + map: Ds, + set: Os, + array: js, + object: Us, + union: Pi, + intersection: Ts, + tuple: Es, + record: Ps, + nullable: Ns, + nonoptional: As, + default: Zs, + prefault: Cs, + catch: Ms, + pipe: Fs, + readonly: Ls, + promise: Rs, + optional: Ni, + lazy: Bs +}; +function Js(e, n) { + if ("_idmap" in e) { + const o = e, t = St({ ...n, processors: Er }), i = {}; + for (const c of o._idmap.entries()) { + const [l, s] = c; + te(s, t); + } + const a = {}, u = { + registry: o, + uri: n == null ? void 0 : n.uri, + defs: i + }; + t.external = u; + for (const c of o._idmap.entries()) { + const [l, s] = c; + It(t, s), a[l] = wt(t, s); + } + if (Object.keys(i).length > 0) { + const c = t.target === "draft-2020-12" ? "$defs" : "definitions"; + a.__shared = { + [c]: i + }; + } + return { schemas: a }; + } + const r = St({ ...n, processors: Er }); + return te(e, r), It(r, e), wt(r, e); +} +class mg { + /** @deprecated Access via ctx instead */ + get metadataRegistry() { + return this.ctx.metadataRegistry; + } + /** @deprecated Access via ctx instead */ + get target() { + return this.ctx.target; + } + /** @deprecated Access via ctx instead */ + get unrepresentable() { + return this.ctx.unrepresentable; + } + /** @deprecated Access via ctx instead */ + get override() { + return this.ctx.override; + } + /** @deprecated Access via ctx instead */ + get io() { + return this.ctx.io; + } + /** @deprecated Access via ctx instead */ + get counter() { + return this.ctx.counter; + } + set counter(n) { + this.ctx.counter = n; + } + /** @deprecated Access via ctx instead */ + get seen() { + return this.ctx.seen; + } + constructor(n) { + let r = (n == null ? void 0 : n.target) ?? "draft-2020-12"; + r === "draft-4" && (r = "draft-04"), r === "draft-7" && (r = "draft-07"), this.ctx = St({ + processors: Er, + target: r, + ...(n == null ? void 0 : n.metadata) && { metadata: n.metadata }, + ...(n == null ? void 0 : n.unrepresentable) && { unrepresentable: n.unrepresentable }, + ...(n == null ? void 0 : n.override) && { override: n.override }, + ...(n == null ? void 0 : n.io) && { io: n.io } + }); + } + /** + * Process a schema to prepare it for JSON Schema generation. + * This must be called before emit(). + */ + process(n, r = { path: [], schemaPath: [] }) { + return te(n, this.ctx, r); + } + /** + * Emit the final JSON Schema after processing. + * Must call process() first. + */ + emit(n, r) { + r && (r.cycles && (this.ctx.cycles = r.cycles), r.reused && (this.ctx.reused = r.reused), r.external && (this.ctx.external = r.external)), It(this.ctx, n); + const o = wt(this.ctx, n), { "~standard": t, ...i } = o; + return i; + } +} +const vg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ + __proto__: null +}, Symbol.toStringTag, { value: "Module" })), pg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ + __proto__: null, + $ZodAny: Tl, + $ZodArray: Zl, + $ZodAsyncError: dt, + $ZodBase64: _l, + $ZodBase64URL: kl, + $ZodBigInt: ii, + $ZodBigIntFormat: Dl, + $ZodBoolean: ri, + $ZodCIDRv4: $l, + $ZodCIDRv6: bl, + $ZodCUID: al, + $ZodCUID2: ul, + $ZodCatch: ic, + $ZodCheck: se, + $ZodCheckBigIntFormat: Au, + $ZodCheckEndsWith: Ku, + $ZodCheckGreaterThan: ei, + $ZodCheckIncludes: qu, + $ZodCheckLengthEquals: Ru, + $ZodCheckLessThan: Qr, + $ZodCheckLowerCase: Ju, + $ZodCheckMaxLength: Fu, + $ZodCheckMaxSize: Zu, + $ZodCheckMimeType: Gu, + $ZodCheckMinLength: Lu, + $ZodCheckMinSize: Cu, + $ZodCheckMultipleOf: Pu, + $ZodCheckNumberFormat: Nu, + $ZodCheckOverwrite: Hu, + $ZodCheckProperty: Wu, + $ZodCheckRegex: Bu, + $ZodCheckSizeEquals: Mu, + $ZodCheckStartsWith: Yu, + $ZodCheckStringFormat: Yt, + $ZodCheckUpperCase: Vu, + $ZodCodec: ui, + $ZodCustom: fc, + $ZodCustomStringFormat: zl, + $ZodDate: Al, + $ZodDefault: ec, + $ZodDiscriminatedUnion: Bl, + $ZodE164: Sl, + $ZodEmail: nl, + $ZodEmoji: il, + $ZodEncodeError: Nn, + $ZodEnum: Kl, + $ZodError: Mr, + $ZodExactOptional: Xl, + $ZodFile: Gl, + $ZodFunction: cc, + $ZodGUID: el, + $ZodIPv4: pl, + $ZodIPv6: gl, + $ZodISODate: fl, + $ZodISODateTime: dl, + $ZodISODuration: vl, + $ZodISOTime: ml, + $ZodIntersection: Jl, + $ZodJWT: wl, + $ZodKSUID: sl, + $ZodLazy: dc, + $ZodLiteral: Wl, + $ZodMAC: hl, + $ZodMap: ql, + $ZodNaN: oc, + $ZodNanoID: ol, + $ZodNever: Pl, + $ZodNonOptional: nc, + $ZodNull: Ul, + $ZodNullable: Ql, + $ZodNumber: ni, + $ZodNumberFormat: xl, + $ZodObject: Fl, + $ZodObjectJIT: Ll, + $ZodOptional: ai, + $ZodPipe: ac, + $ZodPrefault: tc, + $ZodPromise: sc, + $ZodReadonly: uc, + $ZodRealError: Pe, + $ZodRecord: Vl, + $ZodRegistry: bc, + $ZodSet: Yl, + $ZodString: Kt, + $ZodStringFormat: ae, + $ZodSuccess: rc, + $ZodSymbol: Ol, + $ZodTemplateLiteral: lc, + $ZodTransform: Hl, + $ZodTuple: oi, + $ZodType: R, + $ZodULID: ll, + $ZodURL: rl, + $ZodUUID: tl, + $ZodUndefined: jl, + $ZodUnion: Fn, + $ZodUnknown: El, + $ZodVoid: Nl, + $ZodXID: cl, + $ZodXor: Rl, + $brand: Oa, + $constructor: v, + $input: $c, + $output: hc, + Doc: Xu, + JSONSchema: vg, + JSONSchemaGenerator: mg, + NEVER: Da, + TimePrecision: Sc, + _any: Jc, + _array: Hc, + _base64: wi, + _base64url: zi, + _bigint: Zc, + _boolean: Nc, + _catch: ag, + _check: ns, + _cidrv4: Si, + _cidrv6: Ii, + _coercedBigint: Cc, + _coercedBoolean: Ac, + _coercedDate: Wc, + _coercedNumber: Oc, + _coercedString: yc, + _cuid: gi, + _cuid2: hi, + _custom: Qc, + _date: Kc, + _decode: Br, + _decodeAsync: Vr, + _default: rg, + _discriminatedUnion: Vp, + _e164: xi, + _email: ci, + _emoji: vi, + _encode: Rr, + _encodeAsync: Jr, + _endsWith: Yn, + _enum: Hp, + _file: Xc, + _float32: Uc, + _float64: Tc, + _gt: rt, + _gte: Ue, + _guid: Un, + _includes: Vn, + _int: jc, + _int32: Ec, + _int64: Mc, + _intersection: qp, + _ipv4: yi, + _ipv6: ki, + _isoDate: wc, + _isoDateTime: Ic, + _isoDuration: xc, + _isoTime: zc, + _jwt: Di, + _ksuid: _i, + _lazy: sg, + _length: Ht, + _literal: Qp, + _lowercase: Bn, + _lt: nt, + _lte: Ze, + _mac: kc, + _map: Wp, + _max: Ze, + _maxLength: Gt, + _maxSize: xt, + _mime: Kn, + _min: Ue, + _minLength: mt, + _minSize: it, + _multipleOf: kt, + _nan: Gc, + _nanoid: pi, + _nativeEnum: Xp, + _negative: ji, + _never: qc, + _nonnegative: Ti, + _nonoptional: ig, + _nonpositive: Ui, + _normalize: Wn, + _null: Bc, + _nullable: ng, + _number: Dc, + _optional: tg, + _overwrite: He, + _parse: Lt, + _parseAsync: Rt, + _pipe: ug, + _positive: Oi, + _promise: dg, + _property: Ei, + _readonly: lg, + _record: Kp, + _refine: es, + _regex: Rn, + _safeDecode: Yr, + _safeDecodeAsync: Wr, + _safeEncode: qr, + _safeEncodeAsync: Kr, + _safeParse: Bt, + _safeParseAsync: Jt, + _set: Gp, + _size: Wt, + _slugify: Qn, + _startsWith: qn, + _string: _c, + _stringFormat: Xt, + _stringbool: os, + _success: og, + _superRefine: ts, + _symbol: Lc, + _templateLiteral: cg, + _toLowerCase: Hn, + _toUpperCase: Xn, + _transform: eg, + _trim: Gn, + _tuple: Yp, + _uint32: Pc, + _uint64: Fc, + _ulid: $i, + _undefined: Rc, + _union: Bp, + _unknown: Vc, + _uppercase: Jn, + _url: Ln, + _uuid: si, + _uuidv4: di, + _uuidv6: fi, + _uuidv7: mi, + _void: Yc, + _xid: bi, + _xor: Jp, + clone: Me, + config: Ie, + createStandardJSONSchemaMethod: Nt, + createToJSONSchemaMethod: as, + decode: xm, + decodeAsync: Om, + describe: rs, + encode: zm, + encodeAsync: Dm, + extractDefs: It, + finalize: wt, + flattenError: Fr, + formatError: Lr, + globalConfig: xn, + globalRegistry: Ae, + initializeContext: St, + isValidBase64: ti, + isValidBase64URL: yl, + isValidJWT: Il, + locales: gc, + meta: is, + parse: jr, + parseAsync: Ur, + prettifyError: Ga, + process: te, + regexes: Xr, + registry: li, + safeDecode: Um, + safeDecodeAsync: Em, + safeEncode: jm, + safeEncodeAsync: Tm, + safeParse: Ha, + safeParseAsync: Xa, + toDotPath: Wa, + toJSONSchema: Js, + treeifyError: Ka, + util: qa, + version: Qu +}, Symbol.toStringTag, { value: "Module" })), gg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ + __proto__: null, + endsWith: Yn, + gt: rt, + gte: Ue, + includes: Vn, + length: Ht, + lowercase: Bn, + lt: nt, + lte: Ze, + maxLength: Gt, + maxSize: xt, + mime: Kn, + minLength: mt, + minSize: it, + multipleOf: kt, + negative: ji, + nonnegative: Ti, + nonpositive: Ui, + normalize: Wn, + overwrite: He, + positive: Oi, + property: Ei, + regex: Rn, + size: Wt, + slugify: Qn, + startsWith: qn, + toLowerCase: Hn, + toUpperCase: Xn, + trim: Gn, + uppercase: Jn +}, Symbol.toStringTag, { value: "Module" })), Ai = /* @__PURE__ */ v("ZodISODateTime", (e, n) => { + dl.init(e, n), ue.init(e, n); +}); +function Vs(e) { + return /* @__PURE__ */ Ic(Ai, e); +} +const Zi = /* @__PURE__ */ v("ZodISODate", (e, n) => { + fl.init(e, n), ue.init(e, n); +}); +function qs(e) { + return /* @__PURE__ */ wc(Zi, e); +} +const Ci = /* @__PURE__ */ v("ZodISOTime", (e, n) => { + ml.init(e, n), ue.init(e, n); +}); +function Ys(e) { + return /* @__PURE__ */ zc(Ci, e); +} +const Mi = /* @__PURE__ */ v("ZodISODuration", (e, n) => { + vl.init(e, n), ue.init(e, n); +}); +function Ks(e) { + return /* @__PURE__ */ xc(Mi, e); +} +const Ws = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ + __proto__: null, + ZodISODate: Zi, + ZodISODateTime: Ai, + ZodISODuration: Mi, + ZodISOTime: Ci, + date: qs, + datetime: Vs, + duration: Ks, + time: Ys +}, Symbol.toStringTag, { value: "Module" })), Gs = (e, n) => { + Mr.init(e, n), e.name = "ZodError", Object.defineProperties(e, { + format: { + value: (r) => Lr(e, r) + // enumerable: false, + }, + flatten: { + value: (r) => Fr(e, r) + // enumerable: false, + }, + addIssue: { + value: (r) => { + e.issues.push(r), e.message = JSON.stringify(e.issues, Dn, 2); + } + // enumerable: false, + }, + addIssues: { + value: (r) => { + e.issues.push(...r), e.message = JSON.stringify(e.issues, Dn, 2); + } + // enumerable: false, + }, + isEmpty: { + get() { + return e.issues.length === 0; + } + // enumerable: false, + } + }); +}, hg = v("ZodError", Gs), Ne = v("ZodError", Gs, { + Parent: Error +}), Hs = /* @__PURE__ */ Lt(Ne), Xs = /* @__PURE__ */ Rt(Ne), Qs = /* @__PURE__ */ Bt(Ne), ed = /* @__PURE__ */ Jt(Ne), td = /* @__PURE__ */ Rr(Ne), nd = /* @__PURE__ */ Br(Ne), rd = /* @__PURE__ */ Jr(Ne), id = /* @__PURE__ */ Vr(Ne), od = /* @__PURE__ */ qr(Ne), ad = /* @__PURE__ */ Yr(Ne), ud = /* @__PURE__ */ Kr(Ne), ld = /* @__PURE__ */ Wr(Ne), q = /* @__PURE__ */ v("ZodType", (e, n) => (R.init(e, n), Object.assign(e["~standard"], { + jsonSchema: { + input: Nt(e, "input"), + output: Nt(e, "output") + } +}), e.toJSONSchema = as(e, {}), e.def = n, e.type = n.type, Object.defineProperty(e, "_def", { value: n }), e.check = (...r) => e.clone(Ye(n, { + checks: [ + ...n.checks ?? [], + ...r.map((o) => typeof o == "function" ? { _zod: { check: o, def: { check: "custom" }, onattach: [] } } : o) + ] +}), { + parent: !0 +}), e.with = e.check, e.clone = (r, o) => Me(e, r, o), e.brand = () => e, e.register = ((r, o) => (r.add(e, o), e)), e.parse = (r, o) => Hs(e, r, o, { callee: e.parse }), e.safeParse = (r, o) => Qs(e, r, o), e.parseAsync = async (r, o) => Xs(e, r, o, { callee: e.parseAsync }), e.safeParseAsync = async (r, o) => ed(e, r, o), e.spa = e.safeParseAsync, e.encode = (r, o) => td(e, r, o), e.decode = (r, o) => nd(e, r, o), e.encodeAsync = async (r, o) => rd(e, r, o), e.decodeAsync = async (r, o) => id(e, r, o), e.safeEncode = (r, o) => od(e, r, o), e.safeDecode = (r, o) => ad(e, r, o), e.safeEncodeAsync = async (r, o) => ud(e, r, o), e.safeDecodeAsync = async (r, o) => ld(e, r, o), e.refine = (r, o) => e.check(jo(r, o)), e.superRefine = (r) => e.check(Uo(r)), e.overwrite = (r) => e.check(/* @__PURE__ */ He(r)), e.optional = () => Zt(e), e.exactOptional = () => fo(e), e.nullable = () => Ct(e), e.nullish = () => Zt(Ct(e)), e.nonoptional = (r) => $o(e, r), e.array = () => on(e), e.or = (r) => _r([e, r]), e.and = (r) => to(e, r), e.transform = (r) => Mt(e, kr(r)), e.default = (r) => po(e, r), e.prefault = (r) => ho(e, r), e.catch = (r) => yo(e, r), e.pipe = (r) => Mt(e, r), e.readonly = () => Io(e), e.describe = (r) => { + const o = e.clone(); + return Ae.add(o, { description: r }), o; +}, Object.defineProperty(e, "description", { + get() { + var r; + return (r = Ae.get(e)) == null ? void 0 : r.description; + }, + configurable: !0 +}), e.meta = (...r) => { + if (r.length === 0) + return Ae.get(e); + const o = e.clone(); + return Ae.add(o, r[0]), o; +}, e.isOptional = () => e.safeParse(void 0).success, e.isNullable = () => e.safeParse(null).success, e.apply = (r) => r(e), e)), er = /* @__PURE__ */ v("_ZodString", (e, n) => { + Kt.init(e, n), q.init(e, n), e._zod.processJSONSchema = (o, t, i) => us(e, o, t); + const r = e._zod.bag; + e.format = r.format ?? null, e.minLength = r.minimum ?? null, e.maxLength = r.maximum ?? null, e.regex = (...o) => e.check(/* @__PURE__ */ Rn(...o)), e.includes = (...o) => e.check(/* @__PURE__ */ Vn(...o)), e.startsWith = (...o) => e.check(/* @__PURE__ */ qn(...o)), e.endsWith = (...o) => e.check(/* @__PURE__ */ Yn(...o)), e.min = (...o) => e.check(/* @__PURE__ */ mt(...o)), e.max = (...o) => e.check(/* @__PURE__ */ Gt(...o)), e.length = (...o) => e.check(/* @__PURE__ */ Ht(...o)), e.nonempty = (...o) => e.check(/* @__PURE__ */ mt(1, ...o)), e.lowercase = (o) => e.check(/* @__PURE__ */ Bn(o)), e.uppercase = (o) => e.check(/* @__PURE__ */ Jn(o)), e.trim = () => e.check(/* @__PURE__ */ Gn()), e.normalize = (...o) => e.check(/* @__PURE__ */ Wn(...o)), e.toLowerCase = () => e.check(/* @__PURE__ */ Hn()), e.toUpperCase = () => e.check(/* @__PURE__ */ Xn()), e.slugify = () => e.check(/* @__PURE__ */ Qn()); +}), Qt = /* @__PURE__ */ v("ZodString", (e, n) => { + Kt.init(e, n), er.init(e, n), e.email = (r) => e.check(/* @__PURE__ */ ci(tr, r)), e.url = (r) => e.check(/* @__PURE__ */ Ln(en, r)), e.jwt = (r) => e.check(/* @__PURE__ */ Di(gr, r)), e.emoji = (r) => e.check(/* @__PURE__ */ vi(nr, r)), e.guid = (r) => e.check(/* @__PURE__ */ Un(At, r)), e.uuid = (r) => e.check(/* @__PURE__ */ si(qe, r)), e.uuidv4 = (r) => e.check(/* @__PURE__ */ di(qe, r)), e.uuidv6 = (r) => e.check(/* @__PURE__ */ fi(qe, r)), e.uuidv7 = (r) => e.check(/* @__PURE__ */ mi(qe, r)), e.nanoid = (r) => e.check(/* @__PURE__ */ pi(rr, r)), e.guid = (r) => e.check(/* @__PURE__ */ Un(At, r)), e.cuid = (r) => e.check(/* @__PURE__ */ gi(ir, r)), e.cuid2 = (r) => e.check(/* @__PURE__ */ hi(or, r)), e.ulid = (r) => e.check(/* @__PURE__ */ $i(ar, r)), e.base64 = (r) => e.check(/* @__PURE__ */ wi(mr, r)), e.base64url = (r) => e.check(/* @__PURE__ */ zi(vr, r)), e.xid = (r) => e.check(/* @__PURE__ */ bi(ur, r)), e.ksuid = (r) => e.check(/* @__PURE__ */ _i(lr, r)), e.ipv4 = (r) => e.check(/* @__PURE__ */ yi(cr, r)), e.ipv6 = (r) => e.check(/* @__PURE__ */ ki(sr, r)), e.cidrv4 = (r) => e.check(/* @__PURE__ */ Si(dr, r)), e.cidrv6 = (r) => e.check(/* @__PURE__ */ Ii(fr, r)), e.e164 = (r) => e.check(/* @__PURE__ */ xi(pr, r)), e.datetime = (r) => e.check(Vs(r)), e.date = (r) => e.check(qs(r)), e.time = (r) => e.check(Ys(r)), e.duration = (r) => e.check(Ks(r)); +}); +function Tn(e) { + return /* @__PURE__ */ _c(Qt, e); +} +const ue = /* @__PURE__ */ v("ZodStringFormat", (e, n) => { + ae.init(e, n), er.init(e, n); +}), tr = /* @__PURE__ */ v("ZodEmail", (e, n) => { + nl.init(e, n), ue.init(e, n); +}); +function cd(e) { + return /* @__PURE__ */ ci(tr, e); +} +const At = /* @__PURE__ */ v("ZodGUID", (e, n) => { + el.init(e, n), ue.init(e, n); +}); +function sd(e) { + return /* @__PURE__ */ Un(At, e); +} +const qe = /* @__PURE__ */ v("ZodUUID", (e, n) => { + tl.init(e, n), ue.init(e, n); +}); +function dd(e) { + return /* @__PURE__ */ si(qe, e); +} +function fd(e) { + return /* @__PURE__ */ di(qe, e); +} +function md(e) { + return /* @__PURE__ */ fi(qe, e); +} +function vd(e) { + return /* @__PURE__ */ mi(qe, e); +} +const en = /* @__PURE__ */ v("ZodURL", (e, n) => { + rl.init(e, n), ue.init(e, n); +}); +function pd(e) { + return /* @__PURE__ */ Ln(en, e); +} +function gd(e) { + return /* @__PURE__ */ Ln(en, { + protocol: /^https?$/, + hostname: hu, + ...$(e) + }); +} +const nr = /* @__PURE__ */ v("ZodEmoji", (e, n) => { + il.init(e, n), ue.init(e, n); +}); +function hd(e) { + return /* @__PURE__ */ vi(nr, e); +} +const rr = /* @__PURE__ */ v("ZodNanoID", (e, n) => { + ol.init(e, n), ue.init(e, n); +}); +function $d(e) { + return /* @__PURE__ */ pi(rr, e); +} +const ir = /* @__PURE__ */ v("ZodCUID", (e, n) => { + al.init(e, n), ue.init(e, n); +}); +function bd(e) { + return /* @__PURE__ */ gi(ir, e); +} +const or = /* @__PURE__ */ v("ZodCUID2", (e, n) => { + ul.init(e, n), ue.init(e, n); +}); +function _d(e) { + return /* @__PURE__ */ hi(or, e); +} +const ar = /* @__PURE__ */ v("ZodULID", (e, n) => { + ll.init(e, n), ue.init(e, n); +}); +function yd(e) { + return /* @__PURE__ */ $i(ar, e); +} +const ur = /* @__PURE__ */ v("ZodXID", (e, n) => { + cl.init(e, n), ue.init(e, n); +}); +function kd(e) { + return /* @__PURE__ */ bi(ur, e); +} +const lr = /* @__PURE__ */ v("ZodKSUID", (e, n) => { + sl.init(e, n), ue.init(e, n); +}); +function Sd(e) { + return /* @__PURE__ */ _i(lr, e); +} +const cr = /* @__PURE__ */ v("ZodIPv4", (e, n) => { + pl.init(e, n), ue.init(e, n); +}); +function Id(e) { + return /* @__PURE__ */ yi(cr, e); +} +const Fi = /* @__PURE__ */ v("ZodMAC", (e, n) => { + hl.init(e, n), ue.init(e, n); +}); +function wd(e) { + return /* @__PURE__ */ kc(Fi, e); +} +const sr = /* @__PURE__ */ v("ZodIPv6", (e, n) => { + gl.init(e, n), ue.init(e, n); +}); +function zd(e) { + return /* @__PURE__ */ ki(sr, e); +} +const dr = /* @__PURE__ */ v("ZodCIDRv4", (e, n) => { + $l.init(e, n), ue.init(e, n); +}); +function xd(e) { + return /* @__PURE__ */ Si(dr, e); +} +const fr = /* @__PURE__ */ v("ZodCIDRv6", (e, n) => { + bl.init(e, n), ue.init(e, n); +}); +function Dd(e) { + return /* @__PURE__ */ Ii(fr, e); +} +const mr = /* @__PURE__ */ v("ZodBase64", (e, n) => { + _l.init(e, n), ue.init(e, n); +}); +function Od(e) { + return /* @__PURE__ */ wi(mr, e); +} +const vr = /* @__PURE__ */ v("ZodBase64URL", (e, n) => { + kl.init(e, n), ue.init(e, n); +}); +function jd(e) { + return /* @__PURE__ */ zi(vr, e); +} +const pr = /* @__PURE__ */ v("ZodE164", (e, n) => { + Sl.init(e, n), ue.init(e, n); +}); +function Ud(e) { + return /* @__PURE__ */ xi(pr, e); +} +const gr = /* @__PURE__ */ v("ZodJWT", (e, n) => { + wl.init(e, n), ue.init(e, n); +}); +function Td(e) { + return /* @__PURE__ */ Di(gr, e); +} +const Dt = /* @__PURE__ */ v("ZodCustomStringFormat", (e, n) => { + zl.init(e, n), ue.init(e, n); +}); +function Ed(e, n, r = {}) { + return /* @__PURE__ */ Xt(Dt, e, n, r); +} +function Pd(e) { + return /* @__PURE__ */ Xt(Dt, "hostname", gu, e); +} +function Nd(e) { + return /* @__PURE__ */ Xt(Dt, "hex", Tu, e); +} +function Ad(e, n) { + const r = (n == null ? void 0 : n.enc) ?? "hex", o = `${e}_${r}`, t = Xr[o]; + if (!t) + throw new Error(`Unrecognized hash format: ${o}`); + return /* @__PURE__ */ Xt(Dt, o, t, n); +} +const tn = /* @__PURE__ */ v("ZodNumber", (e, n) => { + ni.init(e, n), q.init(e, n), e._zod.processJSONSchema = (o, t, i) => ls(e, o, t), e.gt = (o, t) => e.check(/* @__PURE__ */ rt(o, t)), e.gte = (o, t) => e.check(/* @__PURE__ */ Ue(o, t)), e.min = (o, t) => e.check(/* @__PURE__ */ Ue(o, t)), e.lt = (o, t) => e.check(/* @__PURE__ */ nt(o, t)), e.lte = (o, t) => e.check(/* @__PURE__ */ Ze(o, t)), e.max = (o, t) => e.check(/* @__PURE__ */ Ze(o, t)), e.int = (o) => e.check(En(o)), e.safe = (o) => e.check(En(o)), e.positive = (o) => e.check(/* @__PURE__ */ rt(0, o)), e.nonnegative = (o) => e.check(/* @__PURE__ */ Ue(0, o)), e.negative = (o) => e.check(/* @__PURE__ */ nt(0, o)), e.nonpositive = (o) => e.check(/* @__PURE__ */ Ze(0, o)), e.multipleOf = (o, t) => e.check(/* @__PURE__ */ kt(o, t)), e.step = (o, t) => e.check(/* @__PURE__ */ kt(o, t)), e.finite = () => e; + const r = e._zod.bag; + e.minValue = Math.max(r.minimum ?? Number.NEGATIVE_INFINITY, r.exclusiveMinimum ?? Number.NEGATIVE_INFINITY) ?? null, e.maxValue = Math.min(r.maximum ?? Number.POSITIVE_INFINITY, r.exclusiveMaximum ?? Number.POSITIVE_INFINITY) ?? null, e.isInt = (r.format ?? "").includes("int") || Number.isSafeInteger(r.multipleOf ?? 0.5), e.isFinite = !0, e.format = r.format ?? null; +}); +function Li(e) { + return /* @__PURE__ */ Dc(tn, e); +} +const gt = /* @__PURE__ */ v("ZodNumberFormat", (e, n) => { + xl.init(e, n), tn.init(e, n); +}); +function En(e) { + return /* @__PURE__ */ jc(gt, e); +} +function Zd(e) { + return /* @__PURE__ */ Uc(gt, e); +} +function Cd(e) { + return /* @__PURE__ */ Tc(gt, e); +} +function Md(e) { + return /* @__PURE__ */ Ec(gt, e); +} +function Fd(e) { + return /* @__PURE__ */ Pc(gt, e); +} +const nn = /* @__PURE__ */ v("ZodBoolean", (e, n) => { + ri.init(e, n), q.init(e, n), e._zod.processJSONSchema = (r, o, t) => cs(e, r, o); +}); +function Ri(e) { + return /* @__PURE__ */ Nc(nn, e); +} +const rn = /* @__PURE__ */ v("ZodBigInt", (e, n) => { + ii.init(e, n), q.init(e, n), e._zod.processJSONSchema = (o, t, i) => ss(e, o), e.gte = (o, t) => e.check(/* @__PURE__ */ Ue(o, t)), e.min = (o, t) => e.check(/* @__PURE__ */ Ue(o, t)), e.gt = (o, t) => e.check(/* @__PURE__ */ rt(o, t)), e.gte = (o, t) => e.check(/* @__PURE__ */ Ue(o, t)), e.min = (o, t) => e.check(/* @__PURE__ */ Ue(o, t)), e.lt = (o, t) => e.check(/* @__PURE__ */ nt(o, t)), e.lte = (o, t) => e.check(/* @__PURE__ */ Ze(o, t)), e.max = (o, t) => e.check(/* @__PURE__ */ Ze(o, t)), e.positive = (o) => e.check(/* @__PURE__ */ rt(BigInt(0), o)), e.negative = (o) => e.check(/* @__PURE__ */ nt(BigInt(0), o)), e.nonpositive = (o) => e.check(/* @__PURE__ */ Ze(BigInt(0), o)), e.nonnegative = (o) => e.check(/* @__PURE__ */ Ue(BigInt(0), o)), e.multipleOf = (o, t) => e.check(/* @__PURE__ */ kt(o, t)); + const r = e._zod.bag; + e.minValue = r.minimum ?? null, e.maxValue = r.maximum ?? null, e.format = r.format ?? null; +}); +function Ld(e) { + return /* @__PURE__ */ Zc(rn, e); +} +const hr = /* @__PURE__ */ v("ZodBigIntFormat", (e, n) => { + Dl.init(e, n), rn.init(e, n); +}); +function Rd(e) { + return /* @__PURE__ */ Mc(hr, e); +} +function Bd(e) { + return /* @__PURE__ */ Fc(hr, e); +} +const Bi = /* @__PURE__ */ v("ZodSymbol", (e, n) => { + Ol.init(e, n), q.init(e, n), e._zod.processJSONSchema = (r, o, t) => ds(e, r); +}); +function Jd(e) { + return /* @__PURE__ */ Lc(Bi, e); +} +const Ji = /* @__PURE__ */ v("ZodUndefined", (e, n) => { + jl.init(e, n), q.init(e, n), e._zod.processJSONSchema = (r, o, t) => ms(e, r); +}); +function Vd(e) { + return /* @__PURE__ */ Rc(Ji, e); +} +const Vi = /* @__PURE__ */ v("ZodNull", (e, n) => { + Ul.init(e, n), q.init(e, n), e._zod.processJSONSchema = (r, o, t) => fs(e, r, o); +}); +function qi(e) { + return /* @__PURE__ */ Bc(Vi, e); +} +const Yi = /* @__PURE__ */ v("ZodAny", (e, n) => { + Tl.init(e, n), q.init(e, n), e._zod.processJSONSchema = (r, o, t) => gs(); +}); +function qd() { + return /* @__PURE__ */ Jc(Yi); +} +const Ki = /* @__PURE__ */ v("ZodUnknown", (e, n) => { + El.init(e, n), q.init(e, n), e._zod.processJSONSchema = (r, o, t) => hs(); +}); +function vt() { + return /* @__PURE__ */ Vc(Ki); +} +const Wi = /* @__PURE__ */ v("ZodNever", (e, n) => { + Pl.init(e, n), q.init(e, n), e._zod.processJSONSchema = (r, o, t) => ps(e, r, o); +}); +function $r(e) { + return /* @__PURE__ */ qc(Wi, e); +} +const Gi = /* @__PURE__ */ v("ZodVoid", (e, n) => { + Nl.init(e, n), q.init(e, n), e._zod.processJSONSchema = (r, o, t) => vs(e, r); +}); +function Yd(e) { + return /* @__PURE__ */ Yc(Gi, e); +} +const br = /* @__PURE__ */ v("ZodDate", (e, n) => { + Al.init(e, n), q.init(e, n), e._zod.processJSONSchema = (o, t, i) => $s(e, o), e.min = (o, t) => e.check(/* @__PURE__ */ Ue(o, t)), e.max = (o, t) => e.check(/* @__PURE__ */ Ze(o, t)); + const r = e._zod.bag; + e.minDate = r.minimum ? new Date(r.minimum) : null, e.maxDate = r.maximum ? new Date(r.maximum) : null; +}); +function Kd(e) { + return /* @__PURE__ */ Kc(br, e); +} +const Hi = /* @__PURE__ */ v("ZodArray", (e, n) => { + Zl.init(e, n), q.init(e, n), e._zod.processJSONSchema = (r, o, t) => js(e, r, o, t), e.element = n.element, e.min = (r, o) => e.check(/* @__PURE__ */ mt(r, o)), e.nonempty = (r) => e.check(/* @__PURE__ */ mt(1, r)), e.max = (r, o) => e.check(/* @__PURE__ */ Gt(r, o)), e.length = (r, o) => e.check(/* @__PURE__ */ Ht(r, o)), e.unwrap = () => e.element; +}); +function on(e, n) { + return /* @__PURE__ */ Hc(Hi, e, n); +} +function Wd(e) { + const n = e._zod.def.shape; + return yr(Object.keys(n)); +} +const an = /* @__PURE__ */ v("ZodObject", (e, n) => { + Ll.init(e, n), q.init(e, n), e._zod.processJSONSchema = (r, o, t) => Us(e, r, o, t), K(e, "shape", () => n.shape), e.keyof = () => yr(Object.keys(e._zod.def.shape)), e.catchall = (r) => e.clone({ ...e._zod.def, catchall: r }), e.passthrough = () => e.clone({ ...e._zod.def, catchall: vt() }), e.loose = () => e.clone({ ...e._zod.def, catchall: vt() }), e.strict = () => e.clone({ ...e._zod.def, catchall: $r() }), e.strip = () => e.clone({ ...e._zod.def, catchall: void 0 }), e.extend = (r) => Ma(e, r), e.safeExtend = (r) => Fa(e, r), e.merge = (r) => La(e, r), e.pick = (r) => Za(e, r), e.omit = (r) => Ca(e, r), e.partial = (...r) => Ra(Sr, e, r[0]), e.required = (...r) => Ba(Ir, e, r[0]); +}); +function Gd(e, n) { + const r = { + type: "object", + shape: e ?? {}, + ...$(n) + }; + return new an(r); +} +function Hd(e, n) { + return new an({ + type: "object", + shape: e, + catchall: $r(), + ...$(n) + }); +} +function Xd(e, n) { + return new an({ + type: "object", + shape: e, + catchall: vt(), + ...$(n) + }); +} +const un = /* @__PURE__ */ v("ZodUnion", (e, n) => { + Fn.init(e, n), q.init(e, n), e._zod.processJSONSchema = (r, o, t) => Pi(e, r, o, t), e.options = n.options; +}); +function _r(e, n) { + return new un({ + type: "union", + options: e, + ...$(n) + }); +} +const Xi = /* @__PURE__ */ v("ZodXor", (e, n) => { + un.init(e, n), Rl.init(e, n), e._zod.processJSONSchema = (r, o, t) => Pi(e, r, o, t), e.options = n.options; +}); +function Qd(e, n) { + return new Xi({ + type: "union", + options: e, + inclusive: !1, + ...$(n) + }); +} +const Qi = /* @__PURE__ */ v("ZodDiscriminatedUnion", (e, n) => { + un.init(e, n), Bl.init(e, n); +}); +function ef(e, n, r) { + return new Qi({ + type: "union", + options: n, + discriminator: e, + ...$(r) + }); +} +const eo = /* @__PURE__ */ v("ZodIntersection", (e, n) => { + Jl.init(e, n), q.init(e, n), e._zod.processJSONSchema = (r, o, t) => Ts(e, r, o, t); +}); +function to(e, n) { + return new eo({ + type: "intersection", + left: e, + right: n + }); +} +const no = /* @__PURE__ */ v("ZodTuple", (e, n) => { + oi.init(e, n), q.init(e, n), e._zod.processJSONSchema = (r, o, t) => Es(e, r, o, t), e.rest = (r) => e.clone({ + ...e._zod.def, + rest: r + }); +}); +function ro(e, n, r) { + const o = n instanceof R, t = o ? r : n, i = o ? n : null; + return new no({ + type: "tuple", + items: e, + rest: i, + ...$(t) + }); +} +const ln = /* @__PURE__ */ v("ZodRecord", (e, n) => { + Vl.init(e, n), q.init(e, n), e._zod.processJSONSchema = (r, o, t) => Ps(e, r, o, t), e.keyType = n.keyType, e.valueType = n.valueType; +}); +function io(e, n, r) { + return new ln({ + type: "record", + keyType: e, + valueType: n, + ...$(r) + }); +} +function tf(e, n, r) { + const o = Me(e); + return o._zod.values = void 0, new ln({ + type: "record", + keyType: o, + valueType: n, + ...$(r) + }); +} +function nf(e, n, r) { + return new ln({ + type: "record", + keyType: e, + valueType: n, + mode: "loose", + ...$(r) + }); +} +const oo = /* @__PURE__ */ v("ZodMap", (e, n) => { + ql.init(e, n), q.init(e, n), e._zod.processJSONSchema = (r, o, t) => Ds(e, r), e.keyType = n.keyType, e.valueType = n.valueType, e.min = (...r) => e.check(/* @__PURE__ */ it(...r)), e.nonempty = (r) => e.check(/* @__PURE__ */ it(1, r)), e.max = (...r) => e.check(/* @__PURE__ */ xt(...r)), e.size = (...r) => e.check(/* @__PURE__ */ Wt(...r)); +}); +function rf(e, n, r) { + return new oo({ + type: "map", + keyType: e, + valueType: n, + ...$(r) + }); +} +const ao = /* @__PURE__ */ v("ZodSet", (e, n) => { + Yl.init(e, n), q.init(e, n), e._zod.processJSONSchema = (r, o, t) => Os(e, r), e.min = (...r) => e.check(/* @__PURE__ */ it(...r)), e.nonempty = (r) => e.check(/* @__PURE__ */ it(1, r)), e.max = (...r) => e.check(/* @__PURE__ */ xt(...r)), e.size = (...r) => e.check(/* @__PURE__ */ Wt(...r)); +}); +function of(e, n) { + return new ao({ + type: "set", + valueType: e, + ...$(n) + }); +} +const zt = /* @__PURE__ */ v("ZodEnum", (e, n) => { + Kl.init(e, n), q.init(e, n), e._zod.processJSONSchema = (o, t, i) => bs(e, o, t), e.enum = n.entries, e.options = Object.values(n.entries); + const r = new Set(Object.keys(n.entries)); + e.extract = (o, t) => { + const i = {}; + for (const a of o) + if (r.has(a)) + i[a] = n.entries[a]; + else + throw new Error(`Key ${a} not found in enum`); + return new zt({ + ...n, + checks: [], + ...$(t), + entries: i + }); + }, e.exclude = (o, t) => { + const i = { ...n.entries }; + for (const a of o) + if (r.has(a)) + delete i[a]; + else + throw new Error(`Key ${a} not found in enum`); + return new zt({ + ...n, + checks: [], + ...$(t), + entries: i + }); + }; +}); +function yr(e, n) { + const r = Array.isArray(e) ? Object.fromEntries(e.map((o) => [o, o])) : e; + return new zt({ + type: "enum", + entries: r, + ...$(n) + }); +} +function af(e, n) { + return new zt({ + type: "enum", + entries: e, + ...$(n) + }); +} +const uo = /* @__PURE__ */ v("ZodLiteral", (e, n) => { + Wl.init(e, n), q.init(e, n), e._zod.processJSONSchema = (r, o, t) => _s(e, r, o), e.values = new Set(n.values), Object.defineProperty(e, "value", { + get() { + if (n.values.length > 1) + throw new Error("This schema contains multiple valid literal values. Use `.values` instead."); + return n.values[0]; + } + }); +}); +function uf(e, n) { + return new uo({ + type: "literal", + values: Array.isArray(e) ? e : [e], + ...$(n) + }); +} +const lo = /* @__PURE__ */ v("ZodFile", (e, n) => { + Gl.init(e, n), q.init(e, n), e._zod.processJSONSchema = (r, o, t) => Ss(e, r, o), e.min = (r, o) => e.check(/* @__PURE__ */ it(r, o)), e.max = (r, o) => e.check(/* @__PURE__ */ xt(r, o)), e.mime = (r, o) => e.check(/* @__PURE__ */ Kn(Array.isArray(r) ? r : [r], o)); +}); +function lf(e) { + return /* @__PURE__ */ Xc(lo, e); +} +const co = /* @__PURE__ */ v("ZodTransform", (e, n) => { + Hl.init(e, n), q.init(e, n), e._zod.processJSONSchema = (r, o, t) => xs(e, r), e._zod.parse = (r, o) => { + if (o.direction === "backward") + throw new Nn(e.constructor.name); + r.addIssue = (i) => { + if (typeof i == "string") + r.issues.push(_t(i, r.value, n)); + else { + const a = i; + a.fatal && (a.continue = !1), a.code ?? (a.code = "custom"), a.input ?? (a.input = r.value), a.inst ?? (a.inst = e), r.issues.push(_t(a)); + } + }; + const t = n.transform(r.value, r); + return t instanceof Promise ? t.then((i) => (r.value = i, r)) : (r.value = t, r); + }; +}); +function kr(e) { + return new co({ + type: "transform", + transform: e + }); +} +const Sr = /* @__PURE__ */ v("ZodOptional", (e, n) => { + ai.init(e, n), q.init(e, n), e._zod.processJSONSchema = (r, o, t) => Ni(e, r, o, t), e.unwrap = () => e._zod.def.innerType; +}); +function Zt(e) { + return new Sr({ + type: "optional", + innerType: e + }); +} +const so = /* @__PURE__ */ v("ZodExactOptional", (e, n) => { + Xl.init(e, n), q.init(e, n), e._zod.processJSONSchema = (r, o, t) => Ni(e, r, o, t), e.unwrap = () => e._zod.def.innerType; +}); +function fo(e) { + return new so({ + type: "optional", + innerType: e + }); +} +const mo = /* @__PURE__ */ v("ZodNullable", (e, n) => { + Ql.init(e, n), q.init(e, n), e._zod.processJSONSchema = (r, o, t) => Ns(e, r, o, t), e.unwrap = () => e._zod.def.innerType; +}); +function Ct(e) { + return new mo({ + type: "nullable", + innerType: e + }); +} +function cf(e) { + return Zt(Ct(e)); +} +const vo = /* @__PURE__ */ v("ZodDefault", (e, n) => { + ec.init(e, n), q.init(e, n), e._zod.processJSONSchema = (r, o, t) => Zs(e, r, o, t), e.unwrap = () => e._zod.def.innerType, e.removeDefault = e.unwrap; +}); +function po(e, n) { + return new vo({ + type: "default", + innerType: e, + get defaultValue() { + return typeof n == "function" ? n() : Zn(n); + } + }); +} +const go = /* @__PURE__ */ v("ZodPrefault", (e, n) => { + tc.init(e, n), q.init(e, n), e._zod.processJSONSchema = (r, o, t) => Cs(e, r, o, t), e.unwrap = () => e._zod.def.innerType; +}); +function ho(e, n) { + return new go({ + type: "prefault", + innerType: e, + get defaultValue() { + return typeof n == "function" ? n() : Zn(n); + } + }); +} +const Ir = /* @__PURE__ */ v("ZodNonOptional", (e, n) => { + nc.init(e, n), q.init(e, n), e._zod.processJSONSchema = (r, o, t) => As(e, r, o, t), e.unwrap = () => e._zod.def.innerType; +}); +function $o(e, n) { + return new Ir({ + type: "nonoptional", + innerType: e, + ...$(n) + }); +} +const bo = /* @__PURE__ */ v("ZodSuccess", (e, n) => { + rc.init(e, n), q.init(e, n), e._zod.processJSONSchema = (r, o, t) => Is(e, r, o), e.unwrap = () => e._zod.def.innerType; +}); +function sf(e) { + return new bo({ + type: "success", + innerType: e + }); +} +const _o = /* @__PURE__ */ v("ZodCatch", (e, n) => { + ic.init(e, n), q.init(e, n), e._zod.processJSONSchema = (r, o, t) => Ms(e, r, o, t), e.unwrap = () => e._zod.def.innerType, e.removeCatch = e.unwrap; +}); +function yo(e, n) { + return new _o({ + type: "catch", + innerType: e, + catchValue: typeof n == "function" ? n : () => n + }); +} +const ko = /* @__PURE__ */ v("ZodNaN", (e, n) => { + oc.init(e, n), q.init(e, n), e._zod.processJSONSchema = (r, o, t) => ys(e, r); +}); +function df(e) { + return /* @__PURE__ */ Gc(ko, e); +} +const wr = /* @__PURE__ */ v("ZodPipe", (e, n) => { + ac.init(e, n), q.init(e, n), e._zod.processJSONSchema = (r, o, t) => Fs(e, r, o, t), e.in = n.in, e.out = n.out; +}); +function Mt(e, n) { + return new wr({ + type: "pipe", + in: e, + out: n + // ...util.normalizeParams(params), + }); +} +const zr = /* @__PURE__ */ v("ZodCodec", (e, n) => { + wr.init(e, n), ui.init(e, n); +}); +function ff(e, n, r) { + return new zr({ + type: "pipe", + in: e, + out: n, + transform: r.decode, + reverseTransform: r.encode + }); +} +const So = /* @__PURE__ */ v("ZodReadonly", (e, n) => { + uc.init(e, n), q.init(e, n), e._zod.processJSONSchema = (r, o, t) => Ls(e, r, o, t), e.unwrap = () => e._zod.def.innerType; +}); +function Io(e) { + return new So({ + type: "readonly", + innerType: e + }); +} +const wo = /* @__PURE__ */ v("ZodTemplateLiteral", (e, n) => { + lc.init(e, n), q.init(e, n), e._zod.processJSONSchema = (r, o, t) => ks(e, r, o); +}); +function mf(e, n) { + return new wo({ + type: "template_literal", + parts: e, + ...$(n) + }); +} +const zo = /* @__PURE__ */ v("ZodLazy", (e, n) => { + dc.init(e, n), q.init(e, n), e._zod.processJSONSchema = (r, o, t) => Bs(e, r, o, t), e.unwrap = () => e._zod.def.getter(); +}); +function xo(e) { + return new zo({ + type: "lazy", + getter: e + }); +} +const Do = /* @__PURE__ */ v("ZodPromise", (e, n) => { + sc.init(e, n), q.init(e, n), e._zod.processJSONSchema = (r, o, t) => Rs(e, r, o, t), e.unwrap = () => e._zod.def.innerType; +}); +function vf(e) { + return new Do({ + type: "promise", + innerType: e + }); +} +const Oo = /* @__PURE__ */ v("ZodFunction", (e, n) => { + cc.init(e, n), q.init(e, n), e._zod.processJSONSchema = (r, o, t) => zs(e, r); +}); +function Pn(e) { + return new Oo({ + type: "function", + input: Array.isArray(e == null ? void 0 : e.input) ? ro(e == null ? void 0 : e.input) : (e == null ? void 0 : e.input) ?? on(vt()), + output: (e == null ? void 0 : e.output) ?? vt() + }); +} +const cn = /* @__PURE__ */ v("ZodCustom", (e, n) => { + fc.init(e, n), q.init(e, n), e._zod.processJSONSchema = (r, o, t) => ws(e, r); +}); +function pf(e) { + const n = new se({ + check: "custom" + // ...util.normalizeParams(params), + }); + return n._zod.check = e, n; +} +function gf(e, n) { + return /* @__PURE__ */ Qc(cn, e ?? (() => !0), n); +} +function jo(e, n = {}) { + return /* @__PURE__ */ es(cn, e, n); +} +function Uo(e) { + return /* @__PURE__ */ ts(e); +} +const hf = rs, $f = is; +function bf(e, n = {}) { + const r = new cn({ + type: "custom", + check: "custom", + fn: (o) => o instanceof e, + abort: !0, + ...$(n) + }); + return r._zod.bag.Class = e, r._zod.check = (o) => { + o.value instanceof e || o.issues.push({ + code: "invalid_type", + expected: e.name, + input: o.value, + inst: r, + path: [...r._zod.def.path ?? []] + }); + }, r; +} +const _f = (...e) => /* @__PURE__ */ os({ + Codec: zr, + Boolean: nn, + String: Qt +}, ...e); +function yf(e) { + const n = xo(() => _r([Tn(e), Li(), Ri(), qi(), on(n), io(Tn(), n)])); + return n; +} +function kf(e, n) { + return Mt(kr(e), n); +} +const $g = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ + __proto__: null, + ZodAny: Yi, + ZodArray: Hi, + ZodBase64: mr, + ZodBase64URL: vr, + ZodBigInt: rn, + ZodBigIntFormat: hr, + ZodBoolean: nn, + ZodCIDRv4: dr, + ZodCIDRv6: fr, + ZodCUID: ir, + ZodCUID2: or, + ZodCatch: _o, + ZodCodec: zr, + ZodCustom: cn, + ZodCustomStringFormat: Dt, + ZodDate: br, + ZodDefault: vo, + ZodDiscriminatedUnion: Qi, + ZodE164: pr, + ZodEmail: tr, + ZodEmoji: nr, + ZodEnum: zt, + ZodExactOptional: so, + ZodFile: lo, + ZodFunction: Oo, + ZodGUID: At, + ZodIPv4: cr, + ZodIPv6: sr, + ZodIntersection: eo, + ZodJWT: gr, + ZodKSUID: lr, + ZodLazy: zo, + ZodLiteral: uo, + ZodMAC: Fi, + ZodMap: oo, + ZodNaN: ko, + ZodNanoID: rr, + ZodNever: Wi, + ZodNonOptional: Ir, + ZodNull: Vi, + ZodNullable: mo, + ZodNumber: tn, + ZodNumberFormat: gt, + ZodObject: an, + ZodOptional: Sr, + ZodPipe: wr, + ZodPrefault: go, + ZodPromise: Do, + ZodReadonly: So, + ZodRecord: ln, + ZodSet: ao, + ZodString: Qt, + ZodStringFormat: ue, + ZodSuccess: bo, + ZodSymbol: Bi, + ZodTemplateLiteral: wo, + ZodTransform: co, + ZodTuple: no, + ZodType: q, + ZodULID: ar, + ZodURL: en, + ZodUUID: qe, + ZodUndefined: Ji, + ZodUnion: un, + ZodUnknown: Ki, + ZodVoid: Gi, + ZodXID: ur, + ZodXor: Xi, + _ZodString: er, + _default: po, + _function: Pn, + any: qd, + array: on, + base64: Od, + base64url: jd, + bigint: Ld, + boolean: Ri, + catch: yo, + check: pf, + cidrv4: xd, + cidrv6: Dd, + codec: ff, + cuid: bd, + cuid2: _d, + custom: gf, + date: Kd, + describe: hf, + discriminatedUnion: ef, + e164: Ud, + email: cd, + emoji: hd, + enum: yr, + exactOptional: fo, + file: lf, + float32: Zd, + float64: Cd, + function: Pn, + guid: sd, + hash: Ad, + hex: Nd, + hostname: Pd, + httpUrl: gd, + instanceof: bf, + int: En, + int32: Md, + int64: Rd, + intersection: to, + ipv4: Id, + ipv6: zd, + json: yf, + jwt: Td, + keyof: Wd, + ksuid: Sd, + lazy: xo, + literal: uf, + looseObject: Xd, + looseRecord: nf, + mac: wd, + map: rf, + meta: $f, + nan: df, + nanoid: $d, + nativeEnum: af, + never: $r, + nonoptional: $o, + null: qi, + nullable: Ct, + nullish: cf, + number: Li, + object: Gd, + optional: Zt, + partialRecord: tf, + pipe: Mt, + prefault: ho, + preprocess: kf, + promise: vf, + readonly: Io, + record: io, + refine: jo, + set: of, + strictObject: Hd, + string: Tn, + stringFormat: Ed, + stringbool: _f, + success: sf, + superRefine: Uo, + symbol: Jd, + templateLiteral: mf, + transform: kr, + tuple: ro, + uint32: Fd, + uint64: Bd, + ulid: yd, + undefined: Vd, + union: _r, + unknown: vt, + url: pd, + uuid: dd, + uuidv4: fd, + uuidv6: md, + uuidv7: vd, + void: Yd, + xid: kd, + xor: Qd +}, Symbol.toStringTag, { value: "Module" })), bg = { + invalid_type: "invalid_type", + too_big: "too_big", + too_small: "too_small", + invalid_format: "invalid_format", + not_multiple_of: "not_multiple_of", + unrecognized_keys: "unrecognized_keys", + invalid_union: "invalid_union", + invalid_key: "invalid_key", + invalid_element: "invalid_element", + invalid_value: "invalid_value", + custom: "custom" +}; +function _g(e) { + Ie({ + customError: e + }); +} +function yg() { + return Ie().customError; +} +var Pr; +Pr || (Pr = {}); +const z = { + ...$g, + ...gg, + iso: Ws +}, kg = /* @__PURE__ */ new Set([ + // Schema identification + "$schema", + "$ref", + "$defs", + "definitions", + // Core schema keywords + "$id", + "id", + "$comment", + "$anchor", + "$vocabulary", + "$dynamicRef", + "$dynamicAnchor", + // Type + "type", + "enum", + "const", + // Composition + "anyOf", + "oneOf", + "allOf", + "not", + // Object + "properties", + "required", + "additionalProperties", + "patternProperties", + "propertyNames", + "minProperties", + "maxProperties", + // Array + "items", + "prefixItems", + "additionalItems", + "minItems", + "maxItems", + "uniqueItems", + "contains", + "minContains", + "maxContains", + // String + "minLength", + "maxLength", + "pattern", + "format", + // Number + "minimum", + "maximum", + "exclusiveMinimum", + "exclusiveMaximum", + "multipleOf", + // Already handled metadata + "description", + "default", + // Content + "contentEncoding", + "contentMediaType", + "contentSchema", + // Unsupported (error-throwing) + "unevaluatedItems", + "unevaluatedProperties", + "if", + "then", + "else", + "dependentSchemas", + "dependentRequired", + // OpenAPI + "nullable", + "readOnly" +]); +function Sg(e, n) { + const r = e.$schema; + return r === "https://json-schema.org/draft/2020-12/schema" ? "draft-2020-12" : r === "http://json-schema.org/draft-07/schema#" ? "draft-7" : r === "http://json-schema.org/draft-04/schema#" ? "draft-4" : n ?? "draft-2020-12"; +} +function Ig(e, n) { + if (!e.startsWith("#")) + throw new Error("External $ref is not supported, only local refs (#/...) are allowed"); + const r = e.slice(1).split("/").filter(Boolean); + if (r.length === 0) + return n.rootSchema; + const o = n.version === "draft-2020-12" ? "$defs" : "definitions"; + if (r[0] === o) { + const t = r[1]; + if (!t || !n.defs[t]) + throw new Error(`Reference not found: ${e}`); + return n.defs[t]; + } + throw new Error(`Reference not found: ${e}`); +} +function Sf(e, n) { + if (e.not !== void 0) { + if (typeof e.not == "object" && Object.keys(e.not).length === 0) + return z.never(); + throw new Error("not is not supported in Zod (except { not: {} } for never)"); + } + if (e.unevaluatedItems !== void 0) + throw new Error("unevaluatedItems is not supported"); + if (e.unevaluatedProperties !== void 0) + throw new Error("unevaluatedProperties is not supported"); + if (e.if !== void 0 || e.then !== void 0 || e.else !== void 0) + throw new Error("Conditional schemas (if/then/else) are not supported"); + if (e.dependentSchemas !== void 0 || e.dependentRequired !== void 0) + throw new Error("dependentSchemas and dependentRequired are not supported"); + if (e.$ref) { + const t = e.$ref; + if (n.refs.has(t)) + return n.refs.get(t); + if (n.processing.has(t)) + return z.lazy(() => { + if (!n.refs.has(t)) + throw new Error(`Circular reference not resolved: ${t}`); + return n.refs.get(t); + }); + n.processing.add(t); + const i = Ig(t, n), a = ke(i, n); + return n.refs.set(t, a), n.processing.delete(t), a; + } + if (e.enum !== void 0) { + const t = e.enum; + if (n.version === "openapi-3.0" && e.nullable === !0 && t.length === 1 && t[0] === null) + return z.null(); + if (t.length === 0) + return z.never(); + if (t.length === 1) + return z.literal(t[0]); + if (t.every((a) => typeof a == "string")) + return z.enum(t); + const i = t.map((a) => z.literal(a)); + return i.length < 2 ? i[0] : z.union([i[0], i[1], ...i.slice(2)]); + } + if (e.const !== void 0) + return z.literal(e.const); + const r = e.type; + if (Array.isArray(r)) { + const t = r.map((i) => { + const a = { ...e, type: i }; + return Sf(a, n); + }); + return t.length === 0 ? z.never() : t.length === 1 ? t[0] : z.union(t); + } + if (!r) + return z.any(); + let o; + switch (r) { + case "string": { + let t = z.string(); + if (e.format) { + const i = e.format; + i === "email" ? t = t.check(z.email()) : i === "uri" || i === "uri-reference" ? t = t.check(z.url()) : i === "uuid" || i === "guid" ? t = t.check(z.uuid()) : i === "date-time" ? t = t.check(z.iso.datetime()) : i === "date" ? t = t.check(z.iso.date()) : i === "time" ? t = t.check(z.iso.time()) : i === "duration" ? t = t.check(z.iso.duration()) : i === "ipv4" ? t = t.check(z.ipv4()) : i === "ipv6" ? t = t.check(z.ipv6()) : i === "mac" ? t = t.check(z.mac()) : i === "cidr" ? t = t.check(z.cidrv4()) : i === "cidr-v6" ? t = t.check(z.cidrv6()) : i === "base64" ? t = t.check(z.base64()) : i === "base64url" ? t = t.check(z.base64url()) : i === "e164" ? t = t.check(z.e164()) : i === "jwt" ? t = t.check(z.jwt()) : i === "emoji" ? t = t.check(z.emoji()) : i === "nanoid" ? t = t.check(z.nanoid()) : i === "cuid" ? t = t.check(z.cuid()) : i === "cuid2" ? t = t.check(z.cuid2()) : i === "ulid" ? t = t.check(z.ulid()) : i === "xid" ? t = t.check(z.xid()) : i === "ksuid" && (t = t.check(z.ksuid())); + } + typeof e.minLength == "number" && (t = t.min(e.minLength)), typeof e.maxLength == "number" && (t = t.max(e.maxLength)), e.pattern && (t = t.regex(new RegExp(e.pattern))), o = t; + break; + } + case "number": + case "integer": { + let t = r === "integer" ? z.number().int() : z.number(); + typeof e.minimum == "number" && (t = t.min(e.minimum)), typeof e.maximum == "number" && (t = t.max(e.maximum)), typeof e.exclusiveMinimum == "number" ? t = t.gt(e.exclusiveMinimum) : e.exclusiveMinimum === !0 && typeof e.minimum == "number" && (t = t.gt(e.minimum)), typeof e.exclusiveMaximum == "number" ? t = t.lt(e.exclusiveMaximum) : e.exclusiveMaximum === !0 && typeof e.maximum == "number" && (t = t.lt(e.maximum)), typeof e.multipleOf == "number" && (t = t.multipleOf(e.multipleOf)), o = t; + break; + } + case "boolean": { + o = z.boolean(); + break; + } + case "null": { + o = z.null(); + break; + } + case "object": { + const t = {}, i = e.properties || {}, a = new Set(e.required || []); + for (const [c, l] of Object.entries(i)) { + const s = ke(l, n); + t[c] = a.has(c) ? s : s.optional(); + } + if (e.propertyNames) { + const c = ke(e.propertyNames, n), l = e.additionalProperties && typeof e.additionalProperties == "object" ? ke(e.additionalProperties, n) : z.any(); + if (Object.keys(t).length === 0) { + o = z.record(c, l); + break; + } + const s = z.object(t).passthrough(), d = z.looseRecord(c, l); + o = z.intersection(s, d); + break; + } + if (e.patternProperties) { + const c = e.patternProperties, l = Object.keys(c), s = []; + for (const m of l) { + const p = ke(c[m], n), g = z.string().regex(new RegExp(m)); + s.push(z.looseRecord(g, p)); + } + const d = []; + if (Object.keys(t).length > 0 && d.push(z.object(t).passthrough()), d.push(...s), d.length === 0) + o = z.object({}).passthrough(); + else if (d.length === 1) + o = d[0]; + else { + let m = z.intersection(d[0], d[1]); + for (let p = 2; p < d.length; p++) + m = z.intersection(m, d[p]); + o = m; + } + break; + } + const u = z.object(t); + e.additionalProperties === !1 ? o = u.strict() : typeof e.additionalProperties == "object" ? o = u.catchall(ke(e.additionalProperties, n)) : o = u.passthrough(); + break; + } + case "array": { + const t = e.prefixItems, i = e.items; + if (t && Array.isArray(t)) { + const a = t.map((c) => ke(c, n)), u = i && typeof i == "object" && !Array.isArray(i) ? ke(i, n) : void 0; + u ? o = z.tuple(a).rest(u) : o = z.tuple(a), typeof e.minItems == "number" && (o = o.check(z.minLength(e.minItems))), typeof e.maxItems == "number" && (o = o.check(z.maxLength(e.maxItems))); + } else if (Array.isArray(i)) { + const a = i.map((c) => ke(c, n)), u = e.additionalItems && typeof e.additionalItems == "object" ? ke(e.additionalItems, n) : void 0; + u ? o = z.tuple(a).rest(u) : o = z.tuple(a), typeof e.minItems == "number" && (o = o.check(z.minLength(e.minItems))), typeof e.maxItems == "number" && (o = o.check(z.maxLength(e.maxItems))); + } else if (i !== void 0) { + const a = ke(i, n); + let u = z.array(a); + typeof e.minItems == "number" && (u = u.min(e.minItems)), typeof e.maxItems == "number" && (u = u.max(e.maxItems)), o = u; + } else + o = z.array(z.any()); + break; + } + default: + throw new Error(`Unsupported type: ${r}`); + } + return e.description && (o = o.describe(e.description)), e.default !== void 0 && (o = o.default(e.default)), o; +} +function ke(e, n) { + if (typeof e == "boolean") + return e ? z.any() : z.never(); + let r = Sf(e, n); + const o = e.type || e.enum !== void 0 || e.const !== void 0; + if (e.anyOf && Array.isArray(e.anyOf)) { + const u = e.anyOf.map((l) => ke(l, n)), c = z.union(u); + r = o ? z.intersection(r, c) : c; + } + if (e.oneOf && Array.isArray(e.oneOf)) { + const u = e.oneOf.map((l) => ke(l, n)), c = z.xor(u); + r = o ? z.intersection(r, c) : c; + } + if (e.allOf && Array.isArray(e.allOf)) + if (e.allOf.length === 0) + r = o ? r : z.any(); + else { + let u = o ? r : ke(e.allOf[0], n); + const c = o ? 0 : 1; + for (let l = c; l < e.allOf.length; l++) + u = z.intersection(u, ke(e.allOf[l], n)); + r = u; + } + e.nullable === !0 && n.version === "openapi-3.0" && (r = z.nullable(r)), e.readOnly === !0 && (r = z.readonly(r)); + const t = {}, i = ["$id", "id", "$comment", "$anchor", "$vocabulary", "$dynamicRef", "$dynamicAnchor"]; + for (const u of i) + u in e && (t[u] = e[u]); + const a = ["contentEncoding", "contentMediaType", "contentSchema"]; + for (const u of a) + u in e && (t[u] = e[u]); + for (const u of Object.keys(e)) + kg.has(u) || (t[u] = e[u]); + return Object.keys(t).length > 0 && n.registry.add(r, t), r; +} +function wg(e, n) { + if (typeof e == "boolean") + return e ? z.any() : z.never(); + const r = Sg(e, n == null ? void 0 : n.defaultTarget), o = e.$defs || e.definitions || {}, t = { + version: r, + defs: o, + refs: /* @__PURE__ */ new Map(), + processing: /* @__PURE__ */ new Set(), + rootSchema: e, + registry: (n == null ? void 0 : n.registry) ?? Ae + }; + return ke(e, t); +} +function zg(e) { + return /* @__PURE__ */ yc(Qt, e); +} +function xg(e) { + return /* @__PURE__ */ Oc(tn, e); +} +function Dg(e) { + return /* @__PURE__ */ Ac(nn, e); +} +function Og(e) { + return /* @__PURE__ */ Cc(rn, e); +} +function jg(e) { + return /* @__PURE__ */ Wc(br, e); +} +const Ug = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ + __proto__: null, + bigint: Og, + boolean: Dg, + date: jg, + number: xg, + string: zg +}, Symbol.toStringTag, { value: "Module" })); +Ie(mc()); +const Pt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ + __proto__: null, + $brand: Oa, + $input: $c, + $output: hc, + NEVER: Da, + TimePrecision: Sc, + ZodAny: Yi, + ZodArray: Hi, + ZodBase64: mr, + ZodBase64URL: vr, + ZodBigInt: rn, + ZodBigIntFormat: hr, + ZodBoolean: nn, + ZodCIDRv4: dr, + ZodCIDRv6: fr, + ZodCUID: ir, + ZodCUID2: or, + ZodCatch: _o, + ZodCodec: zr, + ZodCustom: cn, + ZodCustomStringFormat: Dt, + ZodDate: br, + ZodDefault: vo, + ZodDiscriminatedUnion: Qi, + ZodE164: pr, + ZodEmail: tr, + ZodEmoji: nr, + ZodEnum: zt, + ZodError: hg, + ZodExactOptional: so, + ZodFile: lo, + get ZodFirstPartyTypeKind() { + return Pr; + }, + ZodFunction: Oo, + ZodGUID: At, + ZodIPv4: cr, + ZodIPv6: sr, + ZodISODate: Zi, + ZodISODateTime: Ai, + ZodISODuration: Mi, + ZodISOTime: Ci, + ZodIntersection: eo, + ZodIssueCode: bg, + ZodJWT: gr, + ZodKSUID: lr, + ZodLazy: zo, + ZodLiteral: uo, + ZodMAC: Fi, + ZodMap: oo, + ZodNaN: ko, + ZodNanoID: rr, + ZodNever: Wi, + ZodNonOptional: Ir, + ZodNull: Vi, + ZodNullable: mo, + ZodNumber: tn, + ZodNumberFormat: gt, + ZodObject: an, + ZodOptional: Sr, + ZodPipe: wr, + ZodPrefault: go, + ZodPromise: Do, + ZodReadonly: So, + ZodRealError: Ne, + ZodRecord: ln, + ZodSet: ao, + ZodString: Qt, + ZodStringFormat: ue, + ZodSuccess: bo, + ZodSymbol: Bi, + ZodTemplateLiteral: wo, + ZodTransform: co, + ZodTuple: no, + ZodType: q, + ZodULID: ar, + ZodURL: en, + ZodUUID: qe, + ZodUndefined: Ji, + ZodUnion: un, + ZodUnknown: Ki, + ZodVoid: Gi, + ZodXID: ur, + ZodXor: Xi, + _ZodString: er, + _default: po, + _function: Pn, + any: qd, + array: on, + base64: Od, + base64url: jd, + bigint: Ld, + boolean: Ri, + catch: yo, + check: pf, + cidrv4: xd, + cidrv6: Dd, + clone: Me, + codec: ff, + coerce: Ug, + config: Ie, + core: pg, + cuid: bd, + cuid2: _d, + custom: gf, + date: Kd, + decode: nd, + decodeAsync: id, + describe: hf, + discriminatedUnion: ef, + e164: Ud, + email: cd, + emoji: hd, + encode: td, + encodeAsync: rd, + endsWith: Yn, + enum: yr, + exactOptional: fo, + file: lf, + flattenError: Fr, + float32: Zd, + float64: Cd, + formatError: Lr, + fromJSONSchema: wg, + function: Pn, + getErrorMap: yg, + globalRegistry: Ae, + gt: rt, + gte: Ue, + guid: sd, + hash: Ad, + hex: Nd, + hostname: Pd, + httpUrl: gd, + includes: Vn, + instanceof: bf, + int: En, + int32: Md, + int64: Rd, + intersection: to, + ipv4: Id, + ipv6: zd, + iso: Ws, + json: yf, + jwt: Td, + keyof: Wd, + ksuid: Sd, + lazy: xo, + length: Ht, + literal: uf, + locales: gc, + looseObject: Xd, + looseRecord: nf, + lowercase: Bn, + lt: nt, + lte: Ze, + mac: wd, + map: rf, + maxLength: Gt, + maxSize: xt, + meta: $f, + mime: Kn, + minLength: mt, + minSize: it, + multipleOf: kt, + nan: df, + nanoid: $d, + nativeEnum: af, + negative: ji, + never: $r, + nonnegative: Ti, + nonoptional: $o, + nonpositive: Ui, + normalize: Wn, + null: qi, + nullable: Ct, + nullish: cf, + number: Li, + object: Gd, + optional: Zt, + overwrite: He, + parse: Hs, + parseAsync: Xs, + partialRecord: tf, + pipe: Mt, + positive: Oi, + prefault: ho, + preprocess: kf, + prettifyError: Ga, + promise: vf, + property: Ei, + readonly: Io, + record: io, + refine: jo, + regex: Rn, + regexes: Xr, + registry: li, + safeDecode: ad, + safeDecodeAsync: ld, + safeEncode: od, + safeEncodeAsync: ud, + safeParse: Qs, + safeParseAsync: ed, + set: of, + setErrorMap: _g, + size: Wt, + slugify: Qn, + startsWith: qn, + strictObject: Hd, + string: Tn, + stringFormat: Ed, + stringbool: _f, + success: sf, + superRefine: Uo, + symbol: Jd, + templateLiteral: mf, + toJSONSchema: Js, + toLowerCase: Hn, + toUpperCase: Xn, + transform: kr, + treeifyError: Ka, + trim: Gn, + tuple: ro, + uint32: Fd, + uint64: Bd, + ulid: yd, + undefined: Vd, + union: _r, + unknown: vt, + uppercase: Jn, + url: pd, + util: qa, + uuid: dd, + uuidv4: fd, + uuidv6: md, + uuidv7: vd, + void: Yd, + xid: kd, + xor: Qd +}, Symbol.toStringTag, { value: "Module" })); +function Xe(e) { + return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e; +} +var gn = { exports: {} }, Tg = gn.exports, ta; +function If() { + return ta || (ta = 1, (function(e, n) { + (function(r, o) { + e.exports = o(); + })(Tg, (function() { + var r = 1e3, o = 6e4, t = 36e5, i = "millisecond", a = "second", u = "minute", c = "hour", l = "day", s = "week", d = "month", m = "quarter", p = "year", g = "date", f = "Invalid Date", h = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, b = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, y = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(T) { + var O = ["th", "st", "nd", "rd"], w = T % 100; + return "[" + T + (O[(w - 20) % 10] || O[w] || O[0]) + "]"; + } }, C = function(T, O, w) { + var P = String(T); + return !P || P.length >= O ? T : "" + Array(O + 1 - P.length).join(w) + T; + }, B = { s: C, z: function(T) { + var O = -T.utcOffset(), w = Math.abs(O), P = Math.floor(w / 60), x = w % 60; + return (O <= 0 ? "+" : "-") + C(P, 2, "0") + ":" + C(x, 2, "0"); + }, m: function T(O, w) { + if (O.date() < w.date()) return -T(w, O); + var P = 12 * (w.year() - O.year()) + (w.month() - O.month()), x = O.clone().add(P, d), J = w - x < 0, V = O.clone().add(P + (J ? -1 : 1), d); + return +(-(P + (w - x) / (J ? x - V : V - x)) || 0); + }, a: function(T) { + return T < 0 ? Math.ceil(T) || 0 : Math.floor(T); + }, p: function(T) { + return { M: d, y: p, w: s, d: l, D: g, h: c, m: u, s: a, ms: i, Q: m }[T] || String(T || "").toLowerCase().replace(/s$/, ""); + }, u: function(T) { + return T === void 0; + } }, A = "en", U = {}; + U[A] = y; + var I = "$isDayjsObject", _ = function(T) { + return T instanceof le || !(!T || !T[I]); + }, Y = function T(O, w, P) { + var x; + if (!O) return A; + if (typeof O == "string") { + var J = O.toLowerCase(); + U[J] && (x = J), w && (U[J] = w, x = J); + var V = O.split("-"); + if (!x && V.length > 1) return T(V[0]); + } else { + var Q = O.name; + U[Q] = O, x = Q; + } + return !P && x && (A = x), x || !P && A; + }, L = function(T, O) { + if (_(T)) return T.clone(); + var w = typeof O == "object" ? O : {}; + return w.date = T, w.args = arguments, new le(w); + }, Z = B; + Z.l = Y, Z.i = _, Z.w = function(T, O) { + return L(T, { locale: O.$L, utc: O.$u, x: O.$x, $offset: O.$offset }); + }; + var le = (function() { + function T(w) { + this.$L = Y(w.locale, null, !0), this.parse(w), this.$x = this.$x || w.x || {}, this[I] = !0; + } + var O = T.prototype; + return O.parse = function(w) { + this.$d = (function(P) { + var x = P.date, J = P.utc; + if (x === null) return /* @__PURE__ */ new Date(NaN); + if (Z.u(x)) return /* @__PURE__ */ new Date(); + if (x instanceof Date) return new Date(x); + if (typeof x == "string" && !/Z$/i.test(x)) { + var V = x.match(h); + if (V) { + var Q = V[2] - 1 || 0, de = (V[7] || "0").substring(0, 3); + return J ? new Date(Date.UTC(V[1], Q, V[3] || 1, V[4] || 0, V[5] || 0, V[6] || 0, de)) : new Date(V[1], Q, V[3] || 1, V[4] || 0, V[5] || 0, V[6] || 0, de); + } + } + return new Date(x); + })(w), this.init(); + }, O.init = function() { + var w = this.$d; + this.$y = w.getFullYear(), this.$M = w.getMonth(), this.$D = w.getDate(), this.$W = w.getDay(), this.$H = w.getHours(), this.$m = w.getMinutes(), this.$s = w.getSeconds(), this.$ms = w.getMilliseconds(); + }, O.$utils = function() { + return Z; + }, O.isValid = function() { + return this.$d.toString() !== f; + }, O.isSame = function(w, P) { + var x = L(w); + return this.startOf(P) <= x && x <= this.endOf(P); + }, O.isAfter = function(w, P) { + return L(w) < this.startOf(P); + }, O.isBefore = function(w, P) { + return this.endOf(P) < L(w); + }, O.$g = function(w, P, x) { + return Z.u(w) ? this[P] : this.set(x, w); + }, O.unix = function() { + return Math.floor(this.valueOf() / 1e3); + }, O.valueOf = function() { + return this.$d.getTime(); + }, O.startOf = function(w, P) { + var x = this, J = !!Z.u(P) || P, V = Z.p(w), Q = function(We, he) { + var Fe = Z.w(x.$u ? Date.UTC(x.$y, he, We) : new Date(x.$y, he, We), x); + return J ? Fe : Fe.endOf(l); + }, de = function(We, he) { + return Z.w(x.toDate()[We].apply(x.toDate("s"), (J ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(he)), x); + }, ge = this.$W, ve = this.$M, we = this.$D, Qe = "set" + (this.$u ? "UTC" : ""); + switch (V) { + case p: + return J ? Q(1, 0) : Q(31, 11); + case d: + return J ? Q(1, ve) : Q(0, ve + 1); + case s: + var Ke = this.$locale().weekStart || 0, et = (ge < Ke ? ge + 7 : ge) - Ke; + return Q(J ? we - et : we + (6 - et), ve); + case l: + case g: + return de(Qe + "Hours", 0); + case c: + return de(Qe + "Minutes", 1); + case u: + return de(Qe + "Seconds", 2); + case a: + return de(Qe + "Milliseconds", 3); + default: + return this.clone(); + } + }, O.endOf = function(w) { + return this.startOf(w, !1); + }, O.$set = function(w, P) { + var x, J = Z.p(w), V = "set" + (this.$u ? "UTC" : ""), Q = (x = {}, x[l] = V + "Date", x[g] = V + "Date", x[d] = V + "Month", x[p] = V + "FullYear", x[c] = V + "Hours", x[u] = V + "Minutes", x[a] = V + "Seconds", x[i] = V + "Milliseconds", x)[J], de = J === l ? this.$D + (P - this.$W) : P; + if (J === d || J === p) { + var ge = this.clone().set(g, 1); + ge.$d[Q](de), ge.init(), this.$d = ge.set(g, Math.min(this.$D, ge.daysInMonth())).$d; + } else Q && this.$d[Q](de); + return this.init(), this; + }, O.set = function(w, P) { + return this.clone().$set(w, P); + }, O.get = function(w) { + return this[Z.p(w)](); + }, O.add = function(w, P) { + var x, J = this; + w = Number(w); + var V = Z.p(P), Q = function(ve) { + var we = L(J); + return Z.w(we.date(we.date() + Math.round(ve * w)), J); + }; + if (V === d) return this.set(d, this.$M + w); + if (V === p) return this.set(p, this.$y + w); + if (V === l) return Q(1); + if (V === s) return Q(7); + var de = (x = {}, x[u] = o, x[c] = t, x[a] = r, x)[V] || 1, ge = this.$d.getTime() + w * de; + return Z.w(ge, this); + }, O.subtract = function(w, P) { + return this.add(-1 * w, P); + }, O.format = function(w) { + var P = this, x = this.$locale(); + if (!this.isValid()) return x.invalidDate || f; + var J = w || "YYYY-MM-DDTHH:mm:ssZ", V = Z.z(this), Q = this.$H, de = this.$m, ge = this.$M, ve = x.weekdays, we = x.months, Qe = x.meridiem, Ke = function(he, Fe, tt, ht) { + return he && (he[Fe] || he(P, J)) || tt[Fe].slice(0, ht); + }, et = function(he) { + return Z.s(Q % 12 || 12, he, "0"); + }, We = Qe || function(he, Fe, tt) { + var ht = he < 12 ? "AM" : "PM"; + return tt ? ht.toLowerCase() : ht; + }; + return J.replace(b, (function(he, Fe) { + return Fe || (function(tt) { + switch (tt) { + case "YY": + return String(P.$y).slice(-2); + case "YYYY": + return Z.s(P.$y, 4, "0"); + case "M": + return ge + 1; + case "MM": + return Z.s(ge + 1, 2, "0"); + case "MMM": + return Ke(x.monthsShort, ge, we, 3); + case "MMMM": + return Ke(we, ge); + case "D": + return P.$D; + case "DD": + return Z.s(P.$D, 2, "0"); + case "d": + return String(P.$W); + case "dd": + return Ke(x.weekdaysMin, P.$W, ve, 2); + case "ddd": + return Ke(x.weekdaysShort, P.$W, ve, 3); + case "dddd": + return ve[P.$W]; + case "H": + return String(Q); + case "HH": + return Z.s(Q, 2, "0"); + case "h": + return et(1); + case "hh": + return et(2); + case "a": + return We(Q, de, !0); + case "A": + return We(Q, de, !1); + case "m": + return String(de); + case "mm": + return Z.s(de, 2, "0"); + case "s": + return String(P.$s); + case "ss": + return Z.s(P.$s, 2, "0"); + case "SSS": + return Z.s(P.$ms, 3, "0"); + case "Z": + return V; + } + return null; + })(he) || V.replace(":", ""); + })); + }, O.utcOffset = function() { + return 15 * -Math.round(this.$d.getTimezoneOffset() / 15); + }, O.diff = function(w, P, x) { + var J, V = this, Q = Z.p(P), de = L(w), ge = (de.utcOffset() - this.utcOffset()) * o, ve = this - de, we = function() { + return Z.m(V, de); + }; + switch (Q) { + case p: + J = we() / 12; + break; + case d: + J = we(); + break; + case m: + J = we() / 3; + break; + case s: + J = (ve - ge) / 6048e5; + break; + case l: + J = (ve - ge) / 864e5; + break; + case c: + J = ve / t; + break; + case u: + J = ve / o; + break; + case a: + J = ve / r; + break; + default: + J = ve; + } + return x ? J : Z.a(J); + }, O.daysInMonth = function() { + return this.endOf(d).$D; + }, O.$locale = function() { + return U[this.$L]; + }, O.locale = function(w, P) { + if (!w) return this.$L; + var x = this.clone(), J = Y(w, P, !0); + return J && (x.$L = J), x; + }, O.clone = function() { + return Z.w(this.$d, this); + }, O.toDate = function() { + return new Date(this.valueOf()); + }, O.toJSON = function() { + return this.isValid() ? this.toISOString() : null; + }, O.toISOString = function() { + return this.$d.toISOString(); + }, O.toString = function() { + return this.$d.toUTCString(); + }, T; + })(), ne = le.prototype; + return L.prototype = ne, [["$ms", i], ["$s", a], ["$m", u], ["$H", c], ["$W", l], ["$M", d], ["$y", p], ["$D", g]].forEach((function(T) { + ne[T[1]] = function(O) { + return this.$g(O, T[0], T[1]); + }; + })), L.extend = function(T, O) { + return T.$i || (T(O, le, L), T.$i = !0), L; + }, L.locale = Y, L.isDayjs = _, L.unix = function(T) { + return L(1e3 * T); + }, L.en = U[A], L.Ls = U, L.p = {}, L; + })); + })(gn)), gn.exports; +} +var Eg = If(); +const Se = /* @__PURE__ */ Xe(Eg); +var hn = { exports: {} }, Pg = hn.exports, na; +function Ng() { + return na || (na = 1, (function(e, n) { + (function(r, o) { + e.exports = o(); + })(Pg, (function() { + var r, o, t = 1e3, i = 6e4, a = 36e5, u = 864e5, c = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, l = 31536e6, s = 2628e6, d = /^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/, m = { years: l, months: s, days: u, hours: a, minutes: i, seconds: t, milliseconds: 1, weeks: 6048e5 }, p = function(U) { + return U instanceof B; + }, g = function(U, I, _) { + return new B(U, _, I.$l); + }, f = function(U) { + return o.p(U) + "s"; + }, h = function(U) { + return U < 0; + }, b = function(U) { + return h(U) ? Math.ceil(U) : Math.floor(U); + }, y = function(U) { + return Math.abs(U); + }, C = function(U, I) { + return U ? h(U) ? { negative: !0, format: "" + y(U) + I } : { negative: !1, format: "" + U + I } : { negative: !1, format: "" }; + }, B = (function() { + function U(_, Y, L) { + var Z = this; + if (this.$d = {}, this.$l = L, _ === void 0 && (this.$ms = 0, this.parseFromMilliseconds()), Y) return g(_ * m[f(Y)], this); + if (typeof _ == "number") return this.$ms = _, this.parseFromMilliseconds(), this; + if (typeof _ == "object") return Object.keys(_).forEach((function(T) { + Z.$d[f(T)] = _[T]; + })), this.calMilliseconds(), this; + if (typeof _ == "string") { + var le = _.match(d); + if (le) { + var ne = le.slice(2).map((function(T) { + return T != null ? Number(T) : 0; + })); + return this.$d.years = ne[0], this.$d.months = ne[1], this.$d.weeks = ne[2], this.$d.days = ne[3], this.$d.hours = ne[4], this.$d.minutes = ne[5], this.$d.seconds = ne[6], this.calMilliseconds(), this; + } + } + return this; + } + var I = U.prototype; + return I.calMilliseconds = function() { + var _ = this; + this.$ms = Object.keys(this.$d).reduce((function(Y, L) { + return Y + (_.$d[L] || 0) * m[L]; + }), 0); + }, I.parseFromMilliseconds = function() { + var _ = this.$ms; + this.$d.years = b(_ / l), _ %= l, this.$d.months = b(_ / s), _ %= s, this.$d.days = b(_ / u), _ %= u, this.$d.hours = b(_ / a), _ %= a, this.$d.minutes = b(_ / i), _ %= i, this.$d.seconds = b(_ / t), _ %= t, this.$d.milliseconds = _; + }, I.toISOString = function() { + var _ = C(this.$d.years, "Y"), Y = C(this.$d.months, "M"), L = +this.$d.days || 0; + this.$d.weeks && (L += 7 * this.$d.weeks); + var Z = C(L, "D"), le = C(this.$d.hours, "H"), ne = C(this.$d.minutes, "M"), T = this.$d.seconds || 0; + this.$d.milliseconds && (T += this.$d.milliseconds / 1e3, T = Math.round(1e3 * T) / 1e3); + var O = C(T, "S"), w = _.negative || Y.negative || Z.negative || le.negative || ne.negative || O.negative, P = le.format || ne.format || O.format ? "T" : "", x = (w ? "-" : "") + "P" + _.format + Y.format + Z.format + P + le.format + ne.format + O.format; + return x === "P" || x === "-P" ? "P0D" : x; + }, I.toJSON = function() { + return this.toISOString(); + }, I.format = function(_) { + var Y = _ || "YYYY-MM-DDTHH:mm:ss", L = { Y: this.$d.years, YY: o.s(this.$d.years, 2, "0"), YYYY: o.s(this.$d.years, 4, "0"), M: this.$d.months, MM: o.s(this.$d.months, 2, "0"), D: this.$d.days, DD: o.s(this.$d.days, 2, "0"), H: this.$d.hours, HH: o.s(this.$d.hours, 2, "0"), m: this.$d.minutes, mm: o.s(this.$d.minutes, 2, "0"), s: this.$d.seconds, ss: o.s(this.$d.seconds, 2, "0"), SSS: o.s(this.$d.milliseconds, 3, "0") }; + return Y.replace(c, (function(Z, le) { + return le || String(L[Z]); + })); + }, I.as = function(_) { + return this.$ms / m[f(_)]; + }, I.get = function(_) { + var Y = this.$ms, L = f(_); + return L === "milliseconds" ? Y %= 1e3 : Y = L === "weeks" ? b(Y / m[L]) : this.$d[L], Y || 0; + }, I.add = function(_, Y, L) { + var Z; + return Z = Y ? _ * m[f(Y)] : p(_) ? _.$ms : g(_, this).$ms, g(this.$ms + Z * (L ? -1 : 1), this); + }, I.subtract = function(_, Y) { + return this.add(_, Y, !0); + }, I.locale = function(_) { + var Y = this.clone(); + return Y.$l = _, Y; + }, I.clone = function() { + return g(this.$ms, this); + }, I.humanize = function(_) { + return r().add(this.$ms, "ms").locale(this.$l).fromNow(!_); + }, I.valueOf = function() { + return this.asMilliseconds(); + }, I.milliseconds = function() { + return this.get("milliseconds"); + }, I.asMilliseconds = function() { + return this.as("milliseconds"); + }, I.seconds = function() { + return this.get("seconds"); + }, I.asSeconds = function() { + return this.as("seconds"); + }, I.minutes = function() { + return this.get("minutes"); + }, I.asMinutes = function() { + return this.as("minutes"); + }, I.hours = function() { + return this.get("hours"); + }, I.asHours = function() { + return this.as("hours"); + }, I.days = function() { + return this.get("days"); + }, I.asDays = function() { + return this.as("days"); + }, I.weeks = function() { + return this.get("weeks"); + }, I.asWeeks = function() { + return this.as("weeks"); + }, I.months = function() { + return this.get("months"); + }, I.asMonths = function() { + return this.as("months"); + }, I.years = function() { + return this.get("years"); + }, I.asYears = function() { + return this.as("years"); + }, U; + })(), A = function(U, I, _) { + return U.add(I.years() * _, "y").add(I.months() * _, "M").add(I.days() * _, "d").add(I.hours() * _, "h").add(I.minutes() * _, "m").add(I.seconds() * _, "s").add(I.milliseconds() * _, "ms"); + }; + return function(U, I, _) { + r = _, o = _().$utils(), _.duration = function(Z, le) { + var ne = _.locale(); + return g(Z, { $l: ne }, le); + }, _.isDuration = p; + var Y = I.prototype.add, L = I.prototype.subtract; + I.prototype.add = function(Z, le) { + return p(Z) ? A(this, Z, 1) : Y.bind(this)(Z, le); + }, I.prototype.subtract = function(Z, le) { + return p(Z) ? A(this, Z, -1) : L.bind(this)(Z, le); + }; + }; + })); + })(hn)), hn.exports; +} +var Ag = Ng(); +const Zg = /* @__PURE__ */ Xe(Ag); +var $n = { exports: {} }, Cg = $n.exports, ra; +function Mg() { + return ra || (ra = 1, (function(e, n) { + (function(r, o) { + e.exports = o(); + })(Cg, (function() { + return function(r, o) { + o.prototype.isSameOrAfter = function(t, i) { + return this.isSame(t, i) || this.isAfter(t, i); + }; + }; + })); + })($n)), $n.exports; +} +var Fg = Mg(); +const Lg = /* @__PURE__ */ Xe(Fg); +var bn = { exports: {} }, Rg = bn.exports, ia; +function Bg() { + return ia || (ia = 1, (function(e, n) { + (function(r, o) { + e.exports = o(); + })(Rg, (function() { + return function(r, o) { + o.prototype.isSameOrBefore = function(t, i) { + return this.isSame(t, i) || this.isBefore(t, i); + }; + }; + })); + })(bn)), bn.exports; +} +var Jg = Bg(); +const Vg = /* @__PURE__ */ Xe(Jg); +var _n = { exports: {} }, qg = _n.exports, oa; +function Yg() { + return oa || (oa = 1, (function(e, n) { + (function(r, o) { + e.exports = o(); + })(qg, (function() { + return function(r, o, t) { + var i = function(a, u) { + if (!u || !u.length || u.length === 1 && !u[0] || u.length === 1 && Array.isArray(u[0]) && !u[0].length) return null; + var c; + u.length === 1 && u[0].length > 0 && (u = u[0]), c = (u = u.filter((function(s) { + return s; + })))[0]; + for (var l = 1; l < u.length; l += 1) u[l].isValid() && !u[l][a](c) || (c = u[l]); + return c; + }; + t.max = function() { + var a = [].slice.call(arguments, 0); + return i("isAfter", a); + }, t.min = function() { + var a = [].slice.call(arguments, 0); + return i("isBefore", a); + }; + }; + })); + })(_n)), _n.exports; +} +var Kg = Yg(); +const Wg = /* @__PURE__ */ Xe(Kg); +var yn = { exports: {} }, Gg = yn.exports, aa; +function Hg() { + return aa || (aa = 1, (function(e, n) { + (function(r, o) { + e.exports = o(); + })(Gg, (function() { + return function(r, o, t) { + r = r || {}; + var i = o.prototype, a = { future: "in %s", past: "%s ago", s: "a few seconds", m: "a minute", mm: "%d minutes", h: "an hour", hh: "%d hours", d: "a day", dd: "%d days", M: "a month", MM: "%d months", y: "a year", yy: "%d years" }; + function u(l, s, d, m) { + return i.fromToBase(l, s, d, m); + } + t.en.relativeTime = a, i.fromToBase = function(l, s, d, m, p) { + for (var g, f, h, b = d.$locale().relativeTime || a, y = r.thresholds || [{ l: "s", r: 44, d: "second" }, { l: "m", r: 89 }, { l: "mm", r: 44, d: "minute" }, { l: "h", r: 89 }, { l: "hh", r: 21, d: "hour" }, { l: "d", r: 35 }, { l: "dd", r: 25, d: "day" }, { l: "M", r: 45 }, { l: "MM", r: 10, d: "month" }, { l: "y", r: 17 }, { l: "yy", d: "year" }], C = y.length, B = 0; B < C; B += 1) { + var A = y[B]; + A.d && (g = m ? t(l).diff(d, A.d, !0) : d.diff(l, A.d, !0)); + var U = (r.rounding || Math.round)(Math.abs(g)); + if (h = g > 0, U <= A.r || !A.r) { + U <= 1 && B > 0 && (A = y[B - 1]); + var I = b[A.l]; + p && (U = p("" + U)), f = typeof I == "string" ? I.replace("%d", U) : I(U, s, A.l, h); + break; + } + } + if (s) return f; + var _ = h ? b.future : b.past; + return typeof _ == "function" ? _(f) : _.replace("%s", f); + }, i.to = function(l, s) { + return u(l, s, this, !0); + }, i.from = function(l, s) { + return u(l, s, this); + }; + var c = function(l) { + return l.$u ? t.utc() : t(); + }; + i.toNow = function(l) { + return this.to(c(this), l); + }, i.fromNow = function(l) { + return this.from(c(this), l); + }; + }; + })); + })(yn)), yn.exports; +} +var Xg = Hg(); +const Qg = /* @__PURE__ */ Xe(Xg); +var kn = { exports: {} }, eh = kn.exports, ua; +function th() { + return ua || (ua = 1, (function(e, n) { + (function(r, o) { + e.exports = o(); + })(eh, (function() { + var r = { year: 0, month: 1, day: 2, hour: 3, minute: 4, second: 5 }, o = {}; + return function(t, i, a) { + var u, c = function(m, p, g) { + g === void 0 && (g = {}); + var f = new Date(m), h = (function(b, y) { + y === void 0 && (y = {}); + var C = y.timeZoneName || "short", B = b + "|" + C, A = o[B]; + return A || (A = new Intl.DateTimeFormat("en-US", { hour12: !1, timeZone: b, year: "numeric", month: "2-digit", day: "2-digit", hour: "2-digit", minute: "2-digit", second: "2-digit", timeZoneName: C }), o[B] = A), A; + })(p, g); + return h.formatToParts(f); + }, l = function(m, p) { + for (var g = c(m, p), f = [], h = 0; h < g.length; h += 1) { + var b = g[h], y = b.type, C = b.value, B = r[y]; + B >= 0 && (f[B] = parseInt(C, 10)); + } + var A = f[3], U = A === 24 ? 0 : A, I = f[0] + "-" + f[1] + "-" + f[2] + " " + U + ":" + f[4] + ":" + f[5] + ":000", _ = +m; + return (a.utc(I).valueOf() - (_ -= _ % 1e3)) / 6e4; + }, s = i.prototype; + s.tz = function(m, p) { + m === void 0 && (m = u); + var g, f = this.utcOffset(), h = this.toDate(), b = h.toLocaleString("en-US", { timeZone: m }), y = Math.round((h - new Date(b)) / 1e3 / 60), C = 15 * -Math.round(h.getTimezoneOffset() / 15) - y; + if (!Number(C)) g = this.utcOffset(0, p); + else if (g = a(b, { locale: this.$L }).$set("millisecond", this.$ms).utcOffset(C, !0), p) { + var B = g.utcOffset(); + g = g.add(f - B, "minute"); + } + return g.$x.$timezone = m, g; + }, s.offsetName = function(m) { + var p = this.$x.$timezone || a.tz.guess(), g = c(this.valueOf(), p, { timeZoneName: m }).find((function(f) { + return f.type.toLowerCase() === "timezonename"; + })); + return g && g.value; + }; + var d = s.startOf; + s.startOf = function(m, p) { + if (!this.$x || !this.$x.$timezone) return d.call(this, m, p); + var g = a(this.format("YYYY-MM-DD HH:mm:ss:SSS"), { locale: this.$L }); + return d.call(g, m, p).tz(this.$x.$timezone, !0); + }, a.tz = function(m, p, g) { + var f = g && p, h = g || p || u, b = l(+a(), h); + if (typeof m != "string") return a(m).tz(h); + var y = (function(U, I, _) { + var Y = U - 60 * I * 1e3, L = l(Y, _); + if (I === L) return [Y, I]; + var Z = l(Y -= 60 * (L - I) * 1e3, _); + return L === Z ? [Y, L] : [U - 60 * Math.min(L, Z) * 1e3, Math.max(L, Z)]; + })(a.utc(m, f).valueOf(), b, h), C = y[0], B = y[1], A = a(C).utcOffset(B); + return A.$x.$timezone = h, A; + }, a.tz.guess = function() { + return Intl.DateTimeFormat().resolvedOptions().timeZone; + }, a.tz.setDefault = function(m) { + u = m; + }; + }; + })); + })(kn)), kn.exports; +} +var nh = th(); +const rh = /* @__PURE__ */ Xe(nh); +var Sn = { exports: {} }, ih = Sn.exports, la; +function oh() { + return la || (la = 1, (function(e, n) { + (function(r, o) { + e.exports = o(); + })(ih, (function() { + var r = "minute", o = /[+-]\d\d(?::?\d\d)?/g, t = /([+-]|\d\d)/g; + return function(i, a, u) { + var c = a.prototype; + u.utc = function(f) { + var h = { date: f, utc: !0, args: arguments }; + return new a(h); + }, c.utc = function(f) { + var h = u(this.toDate(), { locale: this.$L, utc: !0 }); + return f ? h.add(this.utcOffset(), r) : h; + }, c.local = function() { + return u(this.toDate(), { locale: this.$L, utc: !1 }); + }; + var l = c.parse; + c.parse = function(f) { + f.utc && (this.$u = !0), this.$utils().u(f.$offset) || (this.$offset = f.$offset), l.call(this, f); + }; + var s = c.init; + c.init = function() { + if (this.$u) { + var f = this.$d; + this.$y = f.getUTCFullYear(), this.$M = f.getUTCMonth(), this.$D = f.getUTCDate(), this.$W = f.getUTCDay(), this.$H = f.getUTCHours(), this.$m = f.getUTCMinutes(), this.$s = f.getUTCSeconds(), this.$ms = f.getUTCMilliseconds(); + } else s.call(this); + }; + var d = c.utcOffset; + c.utcOffset = function(f, h) { + var b = this.$utils().u; + if (b(f)) return this.$u ? 0 : b(this.$offset) ? d.call(this) : this.$offset; + if (typeof f == "string" && (f = (function(A) { + A === void 0 && (A = ""); + var U = A.match(o); + if (!U) return null; + var I = ("" + U[0]).match(t) || ["-", 0, 0], _ = I[0], Y = 60 * +I[1] + +I[2]; + return Y === 0 ? 0 : _ === "+" ? Y : -Y; + })(f), f === null)) return this; + var y = Math.abs(f) <= 16 ? 60 * f : f; + if (y === 0) return this.utc(h); + var C = this.clone(); + if (h) return C.$offset = y, C.$u = !1, C; + var B = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset(); + return (C = this.local().add(y + B, r)).$offset = y, C.$x.$localOffset = B, C; + }; + var m = c.format; + c.format = function(f) { + var h = f || (this.$u ? "YYYY-MM-DDTHH:mm:ss[Z]" : ""); + return m.call(this, h); + }, c.valueOf = function() { + var f = this.$utils().u(this.$offset) ? 0 : this.$offset + (this.$x.$localOffset || this.$d.getTimezoneOffset()); + return this.$d.valueOf() - 6e4 * f; + }, c.isUTC = function() { + return !!this.$u; + }, c.toISOString = function() { + return this.toDate().toISOString(); + }, c.toString = function() { + return this.toDate().toUTCString(); + }; + var p = c.toDate; + c.toDate = function(f) { + return f === "s" && this.$offset ? u(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : p.call(this); + }; + var g = c.diff; + c.diff = function(f, h, b) { + if (f && this.$u === f.$u) return g.call(this, f, h, b); + var y = this.local(), C = u(f).local(); + return g.call(y, C, h, b); + }; + }; + })); + })(Sn)), Sn.exports; +} +var ah = oh(); +const uh = /* @__PURE__ */ Xe(ah); +var In = { exports: {} }, lh = In.exports, ca; +function ch() { + return ca || (ca = 1, (function(e, n) { + (function(r, o) { + e.exports = o(); + })(lh, (function() { + var r = "week", o = "year"; + return function(t, i, a) { + var u = i.prototype; + u.week = function(c) { + if (c === void 0 && (c = null), c !== null) return this.add(7 * (c - this.week()), "day"); + var l = this.$locale().yearStart || 1; + if (this.month() === 11 && this.date() > 25) { + var s = a(this).startOf(o).add(1, o).date(l), d = a(this).endOf(r); + if (s.isBefore(d)) return 1; + } + var m = a(this).startOf(o).date(l).startOf(r).subtract(1, "millisecond"), p = this.diff(m, r, !0); + return p < 0 ? a(this).startOf("week").week() : Math.ceil(p); + }, u.weeks = function(c) { + return c === void 0 && (c = null), this.week(c); + }; + }; + })); + })(In)), In.exports; +} +var sh = ch(); +const dh = /* @__PURE__ */ Xe(sh); +var wn = { exports: {} }, fh = wn.exports, sa; +function mh() { + return sa || (sa = 1, (function(e, n) { + (function(r, o) { + e.exports = o(If()); + })(fh, (function(r) { + function o(a) { + return a && typeof a == "object" && "default" in a ? a : { default: a }; + } + var t = o(r), i = { name: "pt-br", weekdays: "domingo_segunda-feira_terça-feira_quarta-feira_quinta-feira_sexta-feira_sábado".split("_"), weekdaysShort: "dom_seg_ter_qua_qui_sex_sáb".split("_"), weekdaysMin: "Do_2ª_3ª_4ª_5ª_6ª_Sá".split("_"), months: "janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"), monthsShort: "jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"), ordinal: function(a) { + return a + "º"; + }, formats: { LT: "HH:mm", LTS: "HH:mm:ss", L: "DD/MM/YYYY", LL: "D [de] MMMM [de] YYYY", LLL: "D [de] MMMM [de] YYYY [às] HH:mm", LLLL: "dddd, D [de] MMMM [de] YYYY [às] HH:mm" }, relativeTime: { future: "em %s", past: "há %s", s: "poucos segundos", m: "um minuto", mm: "%d minutos", h: "uma hora", hh: "%d horas", d: "um dia", dd: "%d dias", M: "um mês", MM: "%d meses", y: "um ano", yy: "%d anos" } }; + return t.default.locale(i, null, !0), i; + })); + })(wn)), wn.exports; +} +mh(); +var vh = {}; +globalThis.cacheMemoria_cache = vh; +var ph = ((e) => (e.codigo = "codigo", e.excluido = "excluido", e.data_hora_criacao = "data_hora_criacao", e.data_hora_atualizacao = "data_hora_atualizacao", e.codigo_usuario_criacao = "codigo_usuario_criacao", e.codigo_usuario_atualizacao = "codigo_usuario_atualizacao", e.versao = "versao", e))(ph || {}), gh = ((e) => (e.token = "token", e))(gh || {}), hh = ((e) => (e.Usuario = "usuario", e.Fornecedor = "fornecedor", e))(hh || {}), $h = ((e) => (e["="] = "=", e["!="] = "!=", e[">"] = ">", e[">="] = ">=", e["<"] = "<", e["<="] = "<=", e.like = "like", e.in = "in", e.isNull = "isNull", e))($h || {}), bh = Pt.enum(["=", "!=", ">", ">=", "<", "<=", "like", "in", "isNull"]); +Pt.object({ coluna: Pt.string(), valor: Pt.any(), operador: bh, ou: Pt.boolean().optional() }); +Se.locale("pt-br"); +Se.extend(uh); +Se.extend(rh); +Se.extend(dh); +Se.extend(Vg); +Se.extend(Lg); +Se.extend(Wg); +Se.extend(Qg); +Se.extend(Zg); +var _h = ((e) => (e["e-licencie"] = "e-licencie", e["gov.e-licencie"] = "gov.e-licencie", e))(_h || {}), yh = ((e) => (e.modelo = "000_modelo", e.vencida = "100_vencida", e.expirado = "200_expirado", e.alerta = "300_alerta", e.protocoladafora = "350_protocoladafora", e.protocolada = "400_protocolada", e.protocoladaApenas = "430_protocolada", e.protocolada_alteracao = "450_protocolada", e.prazo = "500_prazo", e.emitida = "515_emitida", e.valida = "518_valida", e.novo = "520_novo", e.recebido = "521_recebido", e.em_andamento = "530_em_andamento", e.aguardando = "530_aguardando", e.aguardandoresposta = "540_aguardandoresposta", e.suspensaotemporaria = "540_suspensaotemporaria", e.cancelada = "550_cancelada", e.execucao = "560_execucao", e.pendente = "570_pendente", e.executadafora = "600_executadafora", e.executada = "700_executada", e.naoexecutada = "701_naoexecutada", e.concluida = "730_concluida", e.respondido_negado = "740_respondido_negado", e.respondido_aceito = "741_respondido_aceito", e.atendidoparcial = "742_atendidoparcial", e.naoatendido = "743_naoatendido", e.atendido = "744_atendido", e.renovada = "760_renovada", e.finalizada = "800_finalizada", e.emitirnota = "101_emitirnota", e.faturaatrasada = "301_faturaatrasada", e.pagarfatura = "302_pagarfatura", e.aguardandoconfirmacao = "531_aguardandoconfirmacao", e.agendado = "701_agendado", e.faturapaga = "801_faturapaga", e.excluida = "999_excluida", e.requerida = "401_requerida", e.vigente = "516_vigente", e.emrenovacao = "402_emrenovacao", e.arquivada = "801_arquivada", e.aguardando_sincronizacao = "999_aguardando_sincronizacao", e.nao_conforme = "710_nao_conforme", e.conforme = "720_conforme", e.nao_aplicavel = "730_nao_aplicavel", e.parcial = "715_parcial", e))(yh || {}), kh = ((e) => (e.UN = "UN", e.KG = "KG", e.TON = "TON", e.g = "g", e["M³"] = "M³", e.Lt = "Lt", e))(kh || {}); +const Sh = ie({ + name: "EliEntradaDataHora", + inheritAttrs: !1, + props: { + // --- Novo padrão EliEntrada --- + value: { + type: String, + default: void 0 + }, + opcoes: { + type: Object, + required: !1, + default: void 0 + }, + // --- Compatibilidade com componente antigo EliDataHora --- + modelValue: { + type: String, + default: null + }, + modo: { + type: String, + default: void 0 + }, + rotulo: { type: String, default: void 0 }, + placeholder: { type: String, default: void 0 }, + desabilitado: { type: Boolean, default: void 0 }, + limpavel: { type: Boolean, default: void 0 }, + erro: { type: Boolean, default: void 0 }, + mensagensErro: { + type: [String, Array], + default: void 0 + }, + dica: { type: String, default: void 0 }, + dicaPersistente: { type: Boolean, default: void 0 }, + densidade: { type: String, default: void 0 }, + variante: { type: String, default: void 0 }, + min: { type: String, default: void 0 }, + max: { type: String, default: void 0 } + }, + emits: { + // Novo padrão + "update:value": (e) => !0, + input: (e) => !0, + // compat Vue2 + change: (e) => !0, + // Compat antigo + "update:modelValue": (e) => !0, + alterar: (e) => !0, + foco: () => !0, + desfoco: () => !0, + focus: () => !0, + blur: () => !0 + }, + setup(e, { emit: n, attrs: r }) { + const o = N(() => e.opcoes ? e.opcoes : { + rotulo: e.rotulo ?? "Data e hora", + placeholder: e.placeholder ?? "", + modo: e.modo ?? "dataHora", + limpavel: e.limpavel, + erro: e.erro, + mensagensErro: e.mensagensErro, + dica: e.dica, + dicaPersistente: e.dicaPersistente, + densidade: e.densidade, + variante: e.variante, + min: e.min, + max: e.max + }), t = N( + () => o.value.modo ?? "dataHora" + ), i = N( + () => !!e.desabilitado + ), a = N( + () => t.value === "data" ? "date" : "datetime-local" + ); + function u(f) { + return t.value === "data" ? Se(f).format("YYYY-MM-DD") : Se(f).format("YYYY-MM-DDTHH:mm"); + } + function c(f) { + return t.value === "data" ? Se(`${f}T00:00`).format() : Se(f).format(); + } + const l = N(() => e.value !== void 0 ? e.value ?? null : e.modelValue), s = N({ + get: () => l.value ? u(l.value) : "", + set: (f) => { + const h = f && f.length > 0 ? f : null; + if (!h) { + n("update:value", null), n("input", null), n("change", null), n("update:modelValue", null), n("alterar", null); + return; + } + const b = c(h); + n("update:value", b), n("input", b), n("change", b), n("update:modelValue", b), n("alterar", b); + } + }), d = N(() => { + const f = o.value.min; + if (f) + return u(f); + }), m = N(() => { + const f = o.value.max; + if (f) + return u(f); + }); + function p() { + n("foco"), n("focus"); + } + function g() { + n("desfoco"), n("blur"); + } + return { + attrs: r, + valor: s, + tipoInput: a, + minLocal: d, + maxLocal: m, + opcoesEfetivas: o, + desabilitadoEfetivo: i, + emitCompatFocus: p, + emitCompatBlur: g + }; + } +}), Ih = { class: "eli-data-hora" }; +function wh(e, n, r, o, t, i) { + return S(), j("div", Ih, [ + re(Nr, ot({ + modelValue: e.valor, + "onUpdate:modelValue": n[0] || (n[0] = (a) => e.valor = a), + type: e.tipoInput, + label: e.opcoesEfetivas.rotulo, + placeholder: e.opcoesEfetivas.placeholder, + disabled: e.desabilitadoEfetivo, + clearable: !!e.opcoesEfetivas.limpavel, + error: !!e.opcoesEfetivas.erro, + "error-messages": e.opcoesEfetivas.mensagensErro, + hint: e.opcoesEfetivas.dica, + "persistent-hint": !!e.opcoesEfetivas.dicaPersistente, + density: e.opcoesEfetivas.densidade ?? "comfortable", + variant: e.opcoesEfetivas.variante ?? "outlined", + min: e.minLocal, + max: e.maxLocal + }, e.attrs, { + onFocus: e.emitCompatFocus, + onBlur: e.emitCompatBlur + }), null, 16, ["modelValue", "type", "label", "placeholder", "disabled", "clearable", "error", "error-messages", "hint", "persistent-hint", "density", "variant", "min", "max", "onFocus", "onBlur"]) + ]); +} +const wf = /* @__PURE__ */ oe(Sh, [["render", wh]]); +function zh(e) { + if (!Number.isFinite(e) || e <= 0 || e >= 1) return 0; + const n = e.toString(); + if (n.includes("e-")) { + const [, t] = n.split("e-"), i = Number(t); + return Number.isFinite(i) ? i : 0; + } + const r = n.indexOf("."); + return r === -1 ? 0 : n.slice(r + 1).replace(/0+$/, "").length; +} +function xh(e) { + const n = (e ?? "").trim().replace(/,/g, "."); + if (!n) return null; + const r = Number(n); + return Number.isNaN(r) ? null : r; +} +function xr(e, n) { + return e == null ? "" : n === null ? String(e) : Number(e).toFixed(Math.max(0, n)).replace(/\./g, ","); +} +function da(e) { + return (e ?? "").replace(/\D+/g, ""); +} +function Dh(e) { + const n = (e ?? "").replace(/[^0-9.,]+/g, ""), r = n.match(/[.,]/); + if (!r) return n; + const o = r[0], t = n.indexOf(o), i = n.slice(0, t).replace(/[.,]/g, ""), a = n.slice(t + 1).replace(/[.,]/g, ""); + return `${i.length ? i : "0"}${o}${a}`; +} +function Oh(e, n) { + if (n === null) return e; + if (n <= 0) return e.replace(/[.,]/g, ""); + const r = e.match(/[.,]/); + if (!r) return e; + const o = r[0], t = e.indexOf(o), i = e.slice(0, t), a = e.slice(t + 1); + return `${i}${o}${a.slice(0, n)}`; +} +function jh(e) { + const n = e.match(/^(\d+)[.,]$/); + if (!n) return null; + const r = Number(n[1]); + return Number.isNaN(r) ? null : r; +} +const Uh = ie({ + name: "EliEntradaNumero", + inheritAttrs: !1, + props: { + /** Interface padrão (EliEntrada): value + opcoes. */ + value: { + type: [Number, null], + default: void 0 + }, + opcoes: { + type: Object, + required: !0 + } + }, + emits: { + "update:value": (e) => !0, + /** Compat Vue2 (v-model padrão: value + input) */ + input: (e) => !0, + change: (e) => !0, + focus: () => !0, + blur: () => !0 + }, + setup(e, { attrs: n, emit: r }) { + const o = N(() => { + var s; + const l = (s = e.opcoes) == null ? void 0 : s.precisao; + return l == null ? null : zh(l); + }), t = N(() => o.value === 0), i = N(() => { + const l = o.value; + return l !== null && l > 0; + }), a = H(""), u = H(void 0); + Re( + () => e.value, + (l) => { + l !== u.value && (a.value = xr(l, o.value), u.value = l); + }, + { immediate: !0 } + ); + function c(l) { + if (i.value) { + const p = o.value ?? 0, g = da(l), f = g ? Number(g) : 0, h = 10 ** p, b = g ? f / h : null, y = b === null ? null : b; + u.value = y, r("update:value", y), r("input", y), r("change", y), a.value = xr(y, p); + return; + } + const s = t.value ? da(l) : Dh(l), d = t.value ? s : Oh(s, o.value); + let m = null; + if (d) { + const g = (t.value ? null : jh(d)) ?? xh(d); + m = g === null ? null : g; + } + u.value = m, r("update:value", m), r("input", m), r("change", m), a.value = xr(m, o.value); + } + return { attrs: n, emit: r, displayValue: a, isInteiro: t, onUpdateModelValue: c }; + } +}), Th = { class: "eli-entrada__prefixo" }, Eh = { class: "eli-entrada__sufixo" }; +function Ph(e, n, r, o, t, i) { + var a, u, c, l; + return S(), fe(Nr, ot({ + "model-value": e.displayValue, + label: (a = e.opcoes) == null ? void 0 : a.rotulo, + placeholder: (u = e.opcoes) == null ? void 0 : u.placeholder, + type: e.isInteiro ? "number" : "text", + inputmode: e.isInteiro ? "numeric" : "decimal", + pattern: e.isInteiro ? "[0-9]*" : "[0-9.,]*" + }, e.attrs, { + "onUpdate:modelValue": e.onUpdateModelValue, + onFocus: n[0] || (n[0] = () => e.emit("focus")), + onBlur: n[1] || (n[1] = () => e.emit("blur")) + }), Zf({ _: 2 }, [ + (c = e.opcoes) != null && c.prefixo ? { + name: "prepend-inner", + fn: ye(() => [ + D("span", Th, G(e.opcoes.prefixo), 1) + ]), + key: "0" + } : void 0, + (l = e.opcoes) != null && l.sufixo ? { + name: "append-inner", + fn: ye(() => [ + D("span", Eh, G(e.opcoes.sufixo), 1) + ]), + key: "1" + } : void 0 + ]), 1040, ["model-value", "label", "placeholder", "type", "inputmode", "pattern", "onUpdate:modelValue"]); +} +const zf = /* @__PURE__ */ oe(Uh, [["render", Ph]]), Nh = ie({ + name: "EliEntradaParagrafo", + components: { VTextarea: Vf }, + inheritAttrs: !1, + props: { + value: { + type: [String, null], + default: void 0 + }, + opcoes: { + type: Object, + required: !0 + } + }, + emits: { + "update:value": (e) => !0, + input: (e) => !0, + change: (e) => !0, + focus: () => !0, + blur: () => !0 + }, + setup(e, { attrs: n, emit: r }) { + const o = N({ + get: () => e.value, + set: (t) => { + r("update:value", t), r("input", t), r("change", t); + } + }); + return { attrs: n, emit: r, localValue: o }; + } +}); +function Ah(e, n, r, o, t, i) { + var a, u, c, l, s, d, m, p, g, f, h, b; + return S(), fe(Kf, ot({ + modelValue: e.localValue, + "onUpdate:modelValue": n[0] || (n[0] = (y) => e.localValue = y), + label: (a = e.opcoes) == null ? void 0 : a.rotulo, + placeholder: (u = e.opcoes) == null ? void 0 : u.placeholder, + rows: ((c = e.opcoes) == null ? void 0 : c.linhas) ?? 4, + counter: (l = e.opcoes) == null ? void 0 : l.limiteCaracteres, + maxlength: (s = e.opcoes) == null ? void 0 : s.limiteCaracteres, + clearable: !!((d = e.opcoes) != null && d.limpavel), + error: !!((m = e.opcoes) != null && m.erro), + "error-messages": (p = e.opcoes) == null ? void 0 : p.mensagensErro, + hint: (g = e.opcoes) == null ? void 0 : g.dica, + "persistent-hint": !!((f = e.opcoes) != null && f.dicaPersistente), + density: ((h = e.opcoes) == null ? void 0 : h.densidade) ?? "comfortable", + variant: ((b = e.opcoes) == null ? void 0 : b.variante) ?? "outlined", + "auto-grow": "" + }, e.attrs, { + onFocus: n[1] || (n[1] = () => e.emit("focus")), + onBlur: n[2] || (n[2] = () => e.emit("blur")) + }), null, 16, ["modelValue", "label", "placeholder", "rows", "counter", "maxlength", "clearable", "error", "error-messages", "hint", "persistent-hint", "density", "variant"]); +} +const Zh = /* @__PURE__ */ oe(Nh, [["render", Ah]]), Ch = ie({ + name: "EliEntradaSelecao", + components: { VSelect: qf }, + inheritAttrs: !1, + props: { + value: { + type: [String, null], + default: void 0 + }, + opcoes: { + type: Object, + required: !0 + } + }, + emits: { + "update:value": (e) => !0, + input: (e) => !0, + change: (e) => !0, + focus: () => !0, + blur: () => !0 + }, + setup(e, { attrs: n, emit: r }) { + const o = H([]), t = H(!1), i = N({ + get: () => e.value, + set: (u) => { + r("update:value", u), r("input", u), r("change", u); + } + }); + async function a() { + t.value = !0; + try { + const u = await e.opcoes.itens(), c = Array.isArray(u) ? u : []; + o.value = [...c]; + } finally { + t.value = !1; + } + } + return Re( + () => e.opcoes.itens, + () => { + a(); + } + ), ya(() => { + a(); + }), Re( + o, + (u) => { + console.debug("[EliEntradaSelecao] itens:", u); + }, + { deep: !0 } + ), { attrs: n, emit: r, localValue: i, itens: o, carregando: t }; + } +}); +function Mh(e, n, r, o, t, i) { + var a, u, c, l, s, d, m, p, g; + return S(), fe(Wf, ot({ + modelValue: e.localValue, + "onUpdate:modelValue": n[0] || (n[0] = (f) => e.localValue = f), + label: (a = e.opcoes) == null ? void 0 : a.rotulo, + placeholder: (u = e.opcoes) == null ? void 0 : u.placeholder, + items: e.itens, + "item-title": "rotulo", + "item-value": "chave", + loading: e.carregando, + disabled: e.carregando, + "menu-props": { maxHeight: 320 }, + clearable: !!((c = e.opcoes) != null && c.limpavel), + error: !!((l = e.opcoes) != null && l.erro), + "error-messages": (s = e.opcoes) == null ? void 0 : s.mensagensErro, + hint: (d = e.opcoes) == null ? void 0 : d.dica, + "persistent-hint": !!((m = e.opcoes) != null && m.dicaPersistente), + density: ((p = e.opcoes) == null ? void 0 : p.densidade) ?? "comfortable", + variant: ((g = e.opcoes) == null ? void 0 : g.variante) ?? "outlined" + }, e.attrs, { + onFocus: n[1] || (n[1] = () => e.emit("focus")), + onBlur: n[2] || (n[2] = () => e.emit("blur")) + }), null, 16, ["modelValue", "label", "placeholder", "items", "loading", "disabled", "clearable", "error", "error-messages", "hint", "persistent-hint", "density", "variant"]); +} +const Fh = /* @__PURE__ */ oe(Ch, [["render", Mh]]); +function Lh(e) { + return e.replace(/\D+/g, ""); +} +function Rh(e) { + const n = Lh(e); + return n ? n.replace(/^(\d{5})(\d)/, "$1-$2").slice(0, 9) : ""; +} +function Bh(e) { + return e.replace(/\D+/g, ""); +} +function Jh(e) { + const n = Bh(e); + return n.length <= 11 ? n.replace(/(\d{3})(\d)/, "$1.$2").replace(/(\d{3})(\d)/, "$1.$2").replace(/(\d{3})(\d{1,2})$/, "$1-$2").slice(0, 14) : n.replace(/^(\d{2})(\d)/, "$1.$2").replace(/^(\d{2})\.(\d{3})(\d)/, "$1.$2.$3").replace(/\.(\d{3})(\d)/, ".$1/$2").replace(/(\d{4})(\d)/, "$1-$2").slice(0, 18); +} +function Vh(e) { + return e.replace(/\D+/g, ""); +} +function qh(e) { + const n = Vh(e); + return n ? n.length <= 10 ? n.replace(/^(\d{2})(\d)/, "($1) $2").replace(/(\d{4})(\d)/, "$1-$2").slice(0, 14) : n.replace(/^(\d{2})(\d)/, "($1) $2").replace(/(\d{5})(\d)/, "$1-$2").slice(0, 15) : ""; +} +const Yh = ie({ + name: "EliEntradaTexto", + inheritAttrs: !1, + props: { + /** Interface padrão (EliEntrada): value + opcoes. */ + value: { + type: [String, null], + default: void 0 + }, + opcoes: { + type: Object, + required: !0 + } + }, + emits: { + "update:value": (e) => !0, + /** Compat Vue2 (v-model padrão: value + input) */ + input: (e) => !0, + change: (e) => !0, + focus: () => !0, + blur: () => !0 + }, + setup(e, { attrs: n, emit: r }) { + const o = N(() => { + var l; + return ((l = e.opcoes) == null ? void 0 : l.formato) ?? "texto"; + }), t = N({ + get: () => e.value, + set: (l) => { + r("update:value", l), r("input", l), r("change", l); + } + }), i = N(() => o.value === "email" ? "email" : o.value === "url" ? "url" : "text"), a = N(() => { + if (o.value === "telefone") return "tel"; + if (o.value === "cpfCnpj" || o.value === "cep") + return "numeric"; + }); + function u(l) { + switch (o.value) { + case "telefone": + return qh(l); + case "cpfCnpj": + return Jh(l); + case "cep": + return Rh(l); + default: + return l; + } + } + function c(l) { + const s = l.target, d = u(s.value); + s.value = d, t.value = d; + } + return { attrs: n, emit: r, localValue: t, inputHtmlType: i, inputMode: a, onInput: c }; + } +}); +function Kh(e, n, r, o, t, i) { + var a, u, c, l; + return S(), fe(Nr, ot({ + modelValue: e.localValue, + "onUpdate:modelValue": n[0] || (n[0] = (s) => e.localValue = s), + type: e.inputHtmlType, + inputmode: e.inputMode, + label: (a = e.opcoes) == null ? void 0 : a.rotulo, + placeholder: (u = e.opcoes) == null ? void 0 : u.placeholder, + counter: (c = e.opcoes) == null ? void 0 : c.limiteCaracteres, + maxlength: (l = e.opcoes) == null ? void 0 : l.limiteCaracteres + }, e.attrs, { + onFocus: n[1] || (n[1] = () => e.emit("focus")), + onBlur: n[2] || (n[2] = () => e.emit("blur")), + onInput: e.onInput + }), null, 16, ["modelValue", "type", "inputmode", "label", "placeholder", "counter", "maxlength", "onInput"]); +} +const To = /* @__PURE__ */ oe(Yh, [["render", Kh]]); +var xf = ((e) => (e[e.sucesso = 200] = "sucesso", e[e.erroConhecido = 400] = "erroConhecido", e[e.erroPermissao = 401] = "erroPermissao", e[e.erroNaoEncontrado = 404] = "erroNaoEncontrado", e[e.erroDesconhecido = 500] = "erroDesconhecido", e[e.tempoEsgotado = 504] = "tempoEsgotado", e))(xf || {}); +const Wh = "eli:tabela"; +function Df(e) { + return `${Wh}:${e}:colunas`; +} +function Of(e) { + if (!e || typeof e != "object") + return { visiveis: [], invisiveis: [] }; + const n = e, r = Array.isArray(n.visiveis) ? ( + // biome-ignore lint/suspicious/noExplicitAny: dynamic array item + n.visiveis.filter((t) => typeof t == "string") + ) : [], o = Array.isArray(n.invisiveis) ? ( + // biome-ignore lint/suspicious/noExplicitAny: dynamic array item + n.invisiveis.filter((t) => typeof t == "string") + ) : []; + return { visiveis: r, invisiveis: o }; +} +function fa(e) { + try { + const n = window.localStorage.getItem(Df(e)); + return n ? Of(JSON.parse(n)) : { visiveis: [], invisiveis: [] }; + } catch { + return { visiveis: [], invisiveis: [] }; + } +} +function Gh(e, n) { + try { + window.localStorage.setItem( + Df(e), + JSON.stringify(Of(n)) + ); + } catch { + } +} /** * @license lucide-vue-next v0.563.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */ -const lt = (e) => { - for (const a in e) - if (a.startsWith("aria-") || a === "role" || a === "title") +const Hh = (e) => { + for (const n in e) + if (n.startsWith("aria-") || n === "role" || n === "title") return !0; return !1; }; @@ -432,30 +11748,30 @@ const lt = (e) => { * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */ -const Ze = (e) => e === ""; +const ma = (e) => e === ""; /** * @license lucide-vue-next v0.563.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */ -const it = (...e) => e.filter((a, o, r) => !!a && a.trim() !== "" && r.indexOf(a) === o).join(" ").trim(); +const Xh = (...e) => e.filter((n, r, o) => !!n && n.trim() !== "" && o.indexOf(n) === r).join(" ").trim(); /** * @license lucide-vue-next v0.563.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */ -const Xe = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(); +const va = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(); /** * @license lucide-vue-next v0.563.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */ -const st = (e) => e.replace( +const Qh = (e) => e.replace( /^([A-Z])|[\s-_]+(\w)/g, - (a, o, r) => r ? r.toUpperCase() : o.toLowerCase() + (n, r, o) => o ? o.toUpperCase() : r.toLowerCase() ); /** * @license lucide-vue-next v0.563.0 - ISC @@ -463,9 +11779,9 @@ const st = (e) => e.replace( * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */ -const ut = (e) => { - const a = st(e); - return a.charAt(0).toUpperCase() + a.slice(1); +const e$ = (e) => { + const n = Qh(e); + return n.charAt(0).toUpperCase() + n.slice(1); }; /** * @license lucide-vue-next v0.563.0 - ISC @@ -473,7 +11789,7 @@ const ut = (e) => { * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */ -var Fe = { +var Tt = { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, @@ -490,33 +11806,33 @@ var Fe = { * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */ -const ct = ({ +const t$ = ({ name: e, - iconNode: a, - absoluteStrokeWidth: o, - "absolute-stroke-width": r, - strokeWidth: i, - "stroke-width": f, - size: t = Fe.width, - color: n = Fe.stroke, - ...d -}, { slots: l }) => je( + iconNode: n, + absoluteStrokeWidth: r, + "absolute-stroke-width": o, + strokeWidth: t, + "stroke-width": i, + size: a = Tt.width, + color: u = Tt.stroke, + ...c +}, { slots: l }) => Dr( "svg", { - ...Fe, - ...d, - width: t, - height: t, - stroke: n, - "stroke-width": Ze(o) || Ze(r) || o === !0 || r === !0 ? Number(i || f || Fe["stroke-width"]) * 24 / Number(t) : i || f || Fe["stroke-width"], - class: it( + ...Tt, + ...c, + width: a, + height: a, + stroke: u, + "stroke-width": ma(r) || ma(o) || r === !0 || o === !0 ? Number(t || i || Tt["stroke-width"]) * 24 / Number(a) : t || i || Tt["stroke-width"], + class: Xh( "lucide", - d.class, - ...e ? [`lucide-${Xe(ut(e))}-icon`, `lucide-${Xe(e)}`] : ["lucide-icon"] + c.class, + ...e ? [`lucide-${va(e$(e))}-icon`, `lucide-${va(e)}`] : ["lucide-icon"] ), - ...!l.default && !lt(d) && { "aria-hidden": "true" } + ...!l.default && !Hh(c) && { "aria-hidden": "true" } }, - [...a.map((u) => je(...u)), ...l.default ? [l.default()] : []] + [...n.map((s) => Dr(...s)), ...l.default ? [l.default()] : []] ); /** * @license lucide-vue-next v0.563.0 - ISC @@ -524,15 +11840,15 @@ const ct = ({ * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */ -const we = (e, a) => (o, { slots: r, attrs: i }) => je( - ct, +const Ot = (e, n) => (r, { slots: o, attrs: t }) => Dr( + t$, { - ...i, - ...o, - iconNode: a, + ...t, + ...r, + iconNode: n, name: e }, - r + o ); /** * @license lucide-vue-next v0.563.0 - ISC @@ -540,7 +11856,7 @@ const we = (e, a) => (o, { slots: r, attrs: i }) => je( * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */ -const Ge = we("arrow-down", [ +const pa = Ot("arrow-down", [ ["path", { d: "M12 5v14", key: "s699le" }], ["path", { d: "m19 12-7 7-7-7", key: "1idqje" }] ]); @@ -550,7 +11866,7 @@ const Ge = we("arrow-down", [ * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */ -const Ke = we("arrow-up", [ +const ga = Ot("arrow-up", [ ["path", { d: "m5 12 7-7 7 7", key: "hav0vg" }], ["path", { d: "M12 19V5", key: "x0mq9r" }] ]); @@ -560,7 +11876,7 @@ const Ke = we("arrow-up", [ * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */ -const Qe = we("chevron-down", [ +const ha = Ot("chevron-down", [ ["path", { d: "m6 9 6 6 6-6", key: "qrunsl" }] ]); /** @@ -569,7 +11885,7 @@ const Qe = we("chevron-down", [ * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */ -const xe = we("chevron-right", [ +const $a = Ot("chevron-right", [ ["path", { d: "m9 18 6-6-6-6", key: "mthhwq" }] ]); /** @@ -578,7 +11894,7 @@ const xe = we("chevron-right", [ * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */ -const dt = we("ellipsis-vertical", [ +const n$ = Ot("ellipsis-vertical", [ ["circle", { cx: "12", cy: "12", r: "1", key: "41hilf" }], ["circle", { cx: "12", cy: "5", r: "1", key: "gxeob9" }], ["circle", { cx: "12", cy: "19", r: "1", key: "lyex9k" }] @@ -589,327 +11905,103 @@ const dt = we("ellipsis-vertical", [ * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */ -const ft = we("search", [ +const r$ = Ot("search", [ ["path", { d: "m21 21-4.34-4.34", key: "14j7rj" }], ["circle", { cx: "11", cy: "11", r: "8", key: "4ej97u" }] -]), pt = I({ - name: "EliTabelaCaixaDeBusca", - components: { Search: ft }, +]), i$ = ie({ + name: "EliTabelaCelulaData", props: { - modelo: { - type: String, - required: !1, - default: "" - } - }, - emits: { - buscar(e) { - return typeof e == "string"; - } - }, - setup(e, { emit: a }) { - const o = O(e.modelo ?? ""); - me( - () => e.modelo, - (i) => { - i !== void 0 && i !== o.value && (o.value = i); - } - ); - function r() { - a("buscar", o.value.trim()); - } - return { texto: o, emitirBusca: r }; - } -}), vt = { class: "eli-tabela__busca" }, mt = { class: "eli-tabela__busca-input-wrapper" }; -function bt(e, a, o, r, i, f) { - const t = K("Search"); - return c(), $("div", vt, [ - v("div", mt, [ - la(v("input", { - id: "eli-tabela-busca", - "onUpdate:modelValue": a[0] || (a[0] = (n) => e.texto = n), - type: "search", - class: "eli-tabela__busca-input", - placeholder: "Digite termos para filtrar", - onKeyup: a[1] || (a[1] = Aa((...n) => e.emitirBusca && e.emitirBusca(...n), ["enter"])) - }, null, 544), [ - [Sa, e.texto] - ]), - v("button", { - type: "button", - class: "eli-tabela__busca-botao", - "aria-label": "Buscar", - title: "Buscar", - onClick: a[2] || (a[2] = (...n) => e.emitirBusca && e.emitirBusca(...n)) - }, [ - N(t, { - class: "eli-tabela__busca-botao-icone", - size: 16, - "stroke-width": 2, - "aria-hidden": "true" - }) - ]) - ]) - ]); -} -const ht = /* @__PURE__ */ L(pt, [["render", bt]]), gt = I({ - name: "EliTabelaCabecalho", - components: { EliTabelaCaixaDeBusca: ht }, - props: { - exibirBusca: { - type: Boolean, - required: !0 - }, - exibirBotaoColunas: { - type: Boolean, - required: !1, - default: !0 - }, - exibirBotaoFiltroAvancado: { - type: Boolean, - required: !1, - default: !1 - }, - valorBusca: { - type: String, - required: !0 - }, - acoesCabecalho: { - type: Array, - required: !0 - } - }, - emits: { - buscar(e) { - return typeof e == "string"; - }, - colunas() { - return !0; - }, - filtroAvancado() { - return !0; - } - }, - setup(e, { emit: a }) { - const o = S(() => e.acoesCabecalho.length > 0); - function r(t) { - a("buscar", t); - } - function i() { - a("colunas"); - } - function f() { - a("filtroAvancado"); - } - return { temAcoesCabecalho: o, emitBuscar: r, emitColunas: i, emitFiltroAvancado: f }; - } -}), $t = { class: "eli-tabela__cabecalho" }, yt = { - key: 0, - class: "eli-tabela__busca-grupo" -}, _t = { - key: 1, - class: "eli-tabela__acoes-cabecalho" -}, Et = ["onClick"], Ct = { class: "eli-tabela__acoes-cabecalho-rotulo" }; -function At(e, a, o, r, i, f) { - const t = K("EliTabelaCaixaDeBusca"); - return c(), $("div", $t, [ - e.exibirBusca ? (c(), $("div", yt, [ - e.exibirBotaoColunas ? (c(), $("button", { - key: 0, - type: "button", - class: "eli-tabela__acoes-cabecalho-botao eli-tabela__acoes-cabecalho-botao--colunas", - onClick: a[0] || (a[0] = (...n) => e.emitColunas && e.emitColunas(...n)) - }, " Colunas ")) : Q("", !0), - e.exibirBotaoFiltroAvancado ? (c(), $("button", { - key: 1, - type: "button", - class: "eli-tabela__acoes-cabecalho-botao eli-tabela__acoes-cabecalho-botao--filtro", - onClick: a[1] || (a[1] = (...n) => e.emitFiltroAvancado && e.emitFiltroAvancado(...n)) - }, " Filtro ")) : Q("", !0), - N(t, { - modelo: e.valorBusca, - onBuscar: e.emitBuscar - }, null, 8, ["modelo", "onBuscar"]) - ])) : Q("", !0), - e.temAcoesCabecalho ? (c(), $("div", _t, [ - (c(!0), $(ue, null, pe(e.acoesCabecalho, (n, d) => (c(), $("button", { - key: `${n.rotulo}-${d}`, - type: "button", - class: "eli-tabela__acoes-cabecalho-botao", - style: ze(n.cor ? { backgroundColor: n.cor, color: "#fff" } : void 0), - onClick: n.acao - }, [ - n.icone ? (c(), W(Te(n.icone), { - key: 0, - class: "eli-tabela__acoes-cabecalho-icone", - size: 16, - "stroke-width": 2 - })) : Q("", !0), - v("span", Ct, F(n.rotulo), 1) - ], 12, Et))), 128)) - ])) : Q("", !0) - ]); -} -const St = /* @__PURE__ */ L(gt, [["render", At]]), kt = I({ - name: "EliTabelaEstados", - props: { - carregando: { - type: Boolean, - required: !0 - }, - erro: { - type: String, - required: !0 - }, - mensagemVazio: { - type: String, - required: !1, - default: void 0 - } - } -}), Dt = { - key: 0, - class: "eli-tabela eli-tabela--carregando", - "aria-busy": "true" -}, Mt = { - key: 1, - class: "eli-tabela eli-tabela--erro", - role: "alert" -}, Bt = { class: "eli-tabela__erro-mensagem" }, Tt = { - key: 2, - class: "eli-tabela eli-tabela--vazio" -}; -function wt(e, a, o, r, i, f) { - return e.carregando ? (c(), $("div", Dt, " Carregando... ")) : e.erro ? (c(), $("div", Mt, [ - a[0] || (a[0] = v("div", { class: "eli-tabela__erro-titulo" }, "Erro", -1)), - v("div", Bt, F(e.erro), 1) - ])) : (c(), $("div", Tt, F(e.mensagemVazio ?? "Nenhum registro encontrado."), 1)); -} -const Pt = /* @__PURE__ */ L(kt, [["render", wt]]), Ot = I({ - name: "EliTabelaDebug", - props: { - isDev: { - type: Boolean, - required: !0 - }, - menuAberto: { - type: Number, - required: !0 - }, - menuPopupPos: { + dados: { type: Object, - required: !0 + required: !1 } + }, + setup({ dados: e }) { + const n = N(() => { + const r = e == null ? void 0 : e.valor; + if (!r) return ""; + const o = (e == null ? void 0 : e.formato) ?? "data"; + return o === "relativo" ? Se(r).fromNow() : o === "data_hora" ? Se(r).format("DD/MM/YYYY HH:mm") : Se(r).format("DD/MM/YYYY"); + }); + return { dados: e, textoData: n }; } -}), Ft = { - key: 0, - style: { position: "fixed", left: "8px", bottom: "8px", "z-index": "999999", background: "rgba(185,28,28,0.9)", color: "#fff", padding: "6px 10px", "border-radius": "8px", "font-size": "12px", "max-width": "500px" } -}; -function Vt(e, a, o, r, i, f) { - return e.isDev ? (c(), $("div", Ft, [ - a[0] || (a[0] = v("div", null, [ - v("b", null, "EliTabela debug") - ], -1)), - v("div", null, "menuAberto: " + F(e.menuAberto), 1), - v("div", null, "menuPos: top=" + F(e.menuPopupPos.top) + ", left=" + F(e.menuPopupPos.left), 1), - Be(e.$slots, "default") - ])) : Q("", !0); +}), o$ = { key: 1 }; +function a$(e, n, r, o, t, i) { + var a; + return (a = e.dados) != null && a.acao ? (S(), j("button", { + key: 0, + type: "button", + class: "eli-tabela__celula-link", + onClick: n[0] || (n[0] = je((u) => e.dados.acao(), ["stop", "prevent"])) + }, G(e.textoData), 1)) : (S(), j("span", o$, G(e.textoData), 1)); } -const qt = /* @__PURE__ */ L(Ot, [["render", Vt]]), Nt = I({ - name: "EliTabelaHead", - components: { ArrowUp: Ke, ArrowDown: Ge }, +const u$ = /* @__PURE__ */ oe(i$, [["render", a$]]), l$ = ie({ + name: "EliTabelaCelulaNumero", + components: {}, props: { - colunas: { - type: Array, - required: !0 - }, - temAcoes: { - type: Boolean, - required: !0 - }, - temColunasInvisiveis: { - type: Boolean, - required: !0 - }, - colunaOrdenacao: { - type: String, - required: !0 - }, - direcaoOrdenacao: { - type: String, - required: !0 + dados: { + type: Object } }, - emits: { - alternarOrdenacao(e) { - return typeof e == "string" && e.length > 0; - } - }, - setup(e, { emit: a }) { - function o(i) { - return (i == null ? void 0 : i.coluna_ordem) !== void 0 && (i == null ? void 0 : i.coluna_ordem) !== null; - } - function r(i) { - a("alternarOrdenacao", i); - } - return { - ArrowUp: Ke, - ArrowDown: Ge, - isOrdenavel: o, - emitAlternarOrdenacao: r - }; + setup({ dados: e }) { + const n = N(() => { + var u, c; + const r = String(e == null ? void 0 : e.numero).replace(".", ","), o = (u = e == null ? void 0 : e.prefixo) == null ? void 0 : u.trim(), t = (c = e == null ? void 0 : e.sufixo) == null ? void 0 : c.trim(), i = o ? `${o} ` : "", a = t ? ` ${t}` : ""; + return `${i}${r}${a}`; + }); + return { dados: e, textoNumero: n }; } -}), It = { class: "eli-tabela__thead" }, Lt = { class: "eli-tabela__tr eli-tabela__tr--header" }, jt = { - key: 0, - class: "eli-tabela__th eli-tabela__th--expander", - scope: "col" -}, zt = ["onClick"], Ht = { class: "eli-tabela__th-texto" }, Ut = { - key: 1, - class: "eli-tabela__th-label" -}, Yt = { - key: 1, - class: "eli-tabela__th eli-tabela__th--acoes", - scope: "col" -}; -function Rt(e, a, o, r, i, f) { - const t = K("ArrowUp"); - return c(), $("thead", It, [ - v("tr", Lt, [ - e.temColunasInvisiveis ? (c(), $("th", jt)) : Q("", !0), - (c(!0), $(ue, null, pe(e.colunas, (n, d) => (c(), $("th", { - key: `th-${d}`, - class: Me(["eli-tabela__th", [e.isOrdenavel(n) ? "eli-tabela__th--ordenavel" : void 0]]), - scope: "col" - }, [ - e.isOrdenavel(n) ? (c(), $("button", { +}), c$ = { key: 1 }; +function s$(e, n, r, o, t, i) { + var a; + return (a = e.dados) != null && a.acao ? (S(), j("button", { + key: 0, + type: "button", + class: "eli-tabela__celula-link", + onClick: n[0] || (n[0] = je((u) => e.dados.acao(), ["stop", "prevent"])) + }, G(e.textoNumero), 1)) : (S(), j("span", c$, G(e.textoNumero), 1)); +} +const d$ = /* @__PURE__ */ oe(l$, [["render", s$]]), f$ = ie({ + name: "EliTabelaCelulaTags", + components: { VChip: Yf }, + props: { + dados: { + type: Object, + required: !1 + } + }, + setup({ dados: e }) { + return { dados: e }; + } +}), m$ = { class: "eli-tabela__celula-tags" }; +function v$(e, n, r, o, t, i) { + var a; + return S(), j("div", m$, [ + (S(!0), j(De, null, Ee(((a = e.dados) == null ? void 0 : a.opcoes) ?? [], (u, c) => (S(), fe(Gf, { + key: c, + class: "eli-tabela__celula-tag", + size: "small", + variant: "tonal", + color: u.cor, + clickable: !!u.acao, + onClick: je((l) => { + var s; + return (s = u.acao) == null ? void 0 : s.call(u); + }, ["stop", "prevent"]) + }, { + default: ye(() => [ + u.icone ? (S(), fe(at(u.icone), { key: 0, - type: "button", - class: Me(["eli-tabela__th-botao", [ - e.colunaOrdenacao === String(n.coluna_ordem) ? "eli-tabela__th-botao--ativo" : void 0 - ]]), - onClick: (l) => e.emitAlternarOrdenacao(String(n.coluna_ordem)) - }, [ - v("span", Ht, F(n.rotulo), 1), - e.colunaOrdenacao === String(n.coluna_ordem) ? (c(), W(Te(e.direcaoOrdenacao === "asc" ? e.ArrowUp : e.ArrowDown), { - key: 0, - class: "eli-tabela__th-icone", - size: 16, - "stroke-width": 2, - "aria-hidden": "true" - })) : (c(), W(t, { - key: 1, - class: "eli-tabela__th-icone eli-tabela__th-icone--oculto", - size: 16, - "stroke-width": 2, - "aria-hidden": "true" - })) - ], 10, zt)) : (c(), $("span", Ut, F(n.rotulo), 1)) - ], 2))), 128)), - e.temAcoes ? (c(), $("th", Yt, " Ações ")) : Q("", !0) - ]) + class: "eli-tabela__celula-tag-icone", + size: 14 + })) : pe("", !0), + D("span", null, G(u.rotulo), 1) + ]), + _: 2 + }, 1032, ["color", "clickable", "onClick"]))), 128)) ]); } -const Jt = /* @__PURE__ */ L(Nt, [["render", Rt]]), Wt = I({ +const p$ = /* @__PURE__ */ oe(f$, [["render", v$]]), g$ = ie({ name: "EliTabelaCelulaTextoSimples", components: {}, props: { @@ -924,17 +12016,17 @@ const Jt = /* @__PURE__ */ L(Nt, [["render", Rt]]), Wt = I({ setup({ dados: e }) { return { dados: e }; } -}), Zt = { key: 1 }; -function Xt(e, a, o, r, i, f) { - var t, n, d; - return (t = e.dados) != null && t.acao ? (c(), $("button", { +}), h$ = { key: 1 }; +function $$(e, n, r, o, t, i) { + var a, u, c; + return (a = e.dados) != null && a.acao ? (S(), j("button", { key: 0, type: "button", class: "eli-tabela__celula-link", - onClick: a[0] || (a[0] = se((l) => e.dados.acao(), ["stop", "prevent"])) - }, F((n = e.dados) == null ? void 0 : n.texto), 1)) : (c(), $("span", Zt, F((d = e.dados) == null ? void 0 : d.texto), 1)); + onClick: n[0] || (n[0] = je((l) => e.dados.acao(), ["stop", "prevent"])) + }, G((u = e.dados) == null ? void 0 : u.texto), 1)) : (S(), j("span", h$, G((c = e.dados) == null ? void 0 : c.texto), 1)); } -const Gt = /* @__PURE__ */ L(Wt, [["render", Xt]]), Kt = I({ +const b$ = /* @__PURE__ */ oe(g$, [["render", $$]]), _$ = ie({ name: "EliTabelaCelulaTextoTruncado", props: { dados: { @@ -944,455 +12036,31 @@ const Gt = /* @__PURE__ */ L(Wt, [["render", Xt]]), Kt = I({ setup({ dados: e }) { return { dados: e }; } -}), Qt = ["title"], xt = ["title"]; -function eo(e, a, o, r, i, f) { - var t, n, d, l, u; - return (t = e.dados) != null && t.acao ? (c(), $("button", { +}), y$ = ["title"], k$ = ["title"]; +function S$(e, n, r, o, t, i) { + var a, u, c, l, s; + return (a = e.dados) != null && a.acao ? (S(), j("button", { key: 0, type: "button", class: "eli-tabela__texto-truncado eli-tabela__celula-link", - title: (n = e.dados) == null ? void 0 : n.texto, - onClick: a[0] || (a[0] = se((b) => { - var k, D; - return (D = (k = e.dados) == null ? void 0 : k.acao) == null ? void 0 : D.call(k); + title: (u = e.dados) == null ? void 0 : u.texto, + onClick: n[0] || (n[0] = je((d) => { + var m, p; + return (p = (m = e.dados) == null ? void 0 : m.acao) == null ? void 0 : p.call(m); }, ["stop", "prevent"])) - }, F((d = e.dados) == null ? void 0 : d.texto), 9, Qt)) : (c(), $("span", { + }, G((c = e.dados) == null ? void 0 : c.texto), 9, y$)) : (S(), j("span", { key: 1, class: "eli-tabela__texto-truncado", title: (l = e.dados) == null ? void 0 : l.texto - }, F((u = e.dados) == null ? void 0 : u.texto), 9, xt)); + }, G((s = e.dados) == null ? void 0 : s.texto), 9, k$)); } -const ao = /* @__PURE__ */ L(Kt, [["render", eo]]), to = I({ - name: "EliTabelaCelulaNumero", - components: {}, - props: { - dados: { - type: Object - } - }, - setup({ dados: e }) { - const a = S(() => { - var n, d; - const o = String(e == null ? void 0 : e.numero).replace(".", ","), r = (n = e == null ? void 0 : e.prefixo) == null ? void 0 : n.trim(), i = (d = e == null ? void 0 : e.sufixo) == null ? void 0 : d.trim(), f = r ? `${r} ` : "", t = i ? ` ${i}` : ""; - return `${f}${o}${t}`; - }); - return { dados: e, textoNumero: a }; - } -}), oo = { key: 1 }; -function no(e, a, o, r, i, f) { - var t; - return (t = e.dados) != null && t.acao ? (c(), $("button", { - key: 0, - type: "button", - class: "eli-tabela__celula-link", - onClick: a[0] || (a[0] = se((n) => e.dados.acao(), ["stop", "prevent"])) - }, F(e.textoNumero), 1)) : (c(), $("span", oo, F(e.textoNumero), 1)); -} -const ro = /* @__PURE__ */ L(to, [["render", no]]), lo = I({ - name: "EliTabelaCelulaTags", - components: { VChip: Oa }, - props: { - dados: { - type: Object, - required: !1 - } - }, - setup({ dados: e }) { - return { dados: e }; - } -}), io = { class: "eli-tabela__celula-tags" }; -function so(e, a, o, r, i, f) { - var t; - return c(), $("div", io, [ - (c(!0), $(ue, null, pe(((t = e.dados) == null ? void 0 : t.opcoes) ?? [], (n, d) => (c(), W(qa, { - key: d, - class: "eli-tabela__celula-tag", - size: "small", - variant: "tonal", - color: n.cor, - clickable: !!n.acao, - onClick: se((l) => { - var u; - return (u = n.acao) == null ? void 0 : u.call(n); - }, ["stop", "prevent"]) - }, { - default: ae(() => [ - n.icone ? (c(), W(Te(n.icone), { - key: 0, - class: "eli-tabela__celula-tag-icone", - size: 14 - })) : Q("", !0), - v("span", null, F(n.rotulo), 1) - ]), - _: 2 - }, 1032, ["color", "clickable", "onClick"]))), 128)) - ]); -} -const uo = /* @__PURE__ */ L(lo, [["render", so]]); -function va(e) { - return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e; -} -var Ne = { exports: {} }, co = Ne.exports, ea; -function fo() { - return ea || (ea = 1, (function(e, a) { - (function(o, r) { - e.exports = r(); - })(co, (function() { - var o = 1e3, r = 6e4, i = 36e5, f = "millisecond", t = "second", n = "minute", d = "hour", l = "day", u = "week", b = "month", k = "quarter", D = "year", y = "date", s = "Invalid Date", _ = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, g = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, E = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(M) { - var h = ["th", "st", "nd", "rd"], p = M % 100; - return "[" + M + (h[(p - 20) % 10] || h[p] || h[0]) + "]"; - } }, Z = function(M, h, p) { - var C = String(M); - return !C || C.length >= h ? M : "" + Array(h + 1 - C.length).join(p) + M; - }, oe = { s: Z, z: function(M) { - var h = -M.utcOffset(), p = Math.abs(h), C = Math.floor(p / 60), m = p % 60; - return (h <= 0 ? "+" : "-") + Z(C, 2, "0") + ":" + Z(m, 2, "0"); - }, m: function M(h, p) { - if (h.date() < p.date()) return -M(p, h); - var C = 12 * (p.year() - h.year()) + (p.month() - h.month()), m = h.clone().add(C, b), B = p - m < 0, T = h.clone().add(C + (B ? -1 : 1), b); - return +(-(C + (p - m) / (B ? m - T : T - m)) || 0); - }, a: function(M) { - return M < 0 ? Math.ceil(M) || 0 : Math.floor(M); - }, p: function(M) { - return { M: b, y: D, w: u, d: l, D: y, h: d, m: n, s: t, ms: f, Q: k }[M] || String(M || "").toLowerCase().replace(/s$/, ""); - }, u: function(M) { - return M === void 0; - } }, R = "en", X = {}; - X[R] = E; - var le = "$isDayjsObject", j = function(M) { - return M instanceof Se || !(!M || !M[le]); - }, be = function M(h, p, C) { - var m; - if (!h) return R; - if (typeof h == "string") { - var B = h.toLowerCase(); - X[B] && (m = B), p && (X[B] = p, m = B); - var T = h.split("-"); - if (!m && T.length > 1) return M(T[0]); - } else { - var V = h.name; - X[V] = h, m = V; - } - return !C && m && (R = m), m || !C && R; - }, q = function(M, h) { - if (j(M)) return M.clone(); - var p = typeof h == "object" ? h : {}; - return p.date = M, p.args = arguments, new Se(p); - }, w = oe; - w.l = be, w.i = j, w.w = function(M, h) { - return q(M, { locale: h.$L, utc: h.$u, x: h.$x, $offset: h.$offset }); - }; - var Se = (function() { - function M(p) { - this.$L = be(p.locale, null, !0), this.parse(p), this.$x = this.$x || p.x || {}, this[le] = !0; - } - var h = M.prototype; - return h.parse = function(p) { - this.$d = (function(C) { - var m = C.date, B = C.utc; - if (m === null) return /* @__PURE__ */ new Date(NaN); - if (w.u(m)) return /* @__PURE__ */ new Date(); - if (m instanceof Date) return new Date(m); - if (typeof m == "string" && !/Z$/i.test(m)) { - var T = m.match(_); - if (T) { - var V = T[2] - 1 || 0, U = (T[7] || "0").substring(0, 3); - return B ? new Date(Date.UTC(T[1], V, T[3] || 1, T[4] || 0, T[5] || 0, T[6] || 0, U)) : new Date(T[1], V, T[3] || 1, T[4] || 0, T[5] || 0, T[6] || 0, U); - } - } - return new Date(m); - })(p), this.init(); - }, h.init = function() { - var p = this.$d; - this.$y = p.getFullYear(), this.$M = p.getMonth(), this.$D = p.getDate(), this.$W = p.getDay(), this.$H = p.getHours(), this.$m = p.getMinutes(), this.$s = p.getSeconds(), this.$ms = p.getMilliseconds(); - }, h.$utils = function() { - return w; - }, h.isValid = function() { - return this.$d.toString() !== s; - }, h.isSame = function(p, C) { - var m = q(p); - return this.startOf(C) <= m && m <= this.endOf(C); - }, h.isAfter = function(p, C) { - return q(p) < this.startOf(C); - }, h.isBefore = function(p, C) { - return this.endOf(C) < q(p); - }, h.$g = function(p, C, m) { - return w.u(p) ? this[C] : this.set(m, p); - }, h.unix = function() { - return Math.floor(this.valueOf() / 1e3); - }, h.valueOf = function() { - return this.$d.getTime(); - }, h.startOf = function(p, C) { - var m = this, B = !!w.u(C) || C, T = w.p(p), V = function(he, te) { - var ge = w.w(m.$u ? Date.UTC(m.$y, te, he) : new Date(m.$y, te, he), m); - return B ? ge : ge.endOf(l); - }, U = function(he, te) { - return w.w(m.toDate()[he].apply(m.toDate("s"), (B ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(te)), m); - }, G = this.$W, x = this.$M, ne = this.$D, _e = "set" + (this.$u ? "UTC" : ""); - switch (T) { - case D: - return B ? V(1, 0) : V(31, 11); - case b: - return B ? V(1, x) : V(0, x + 1); - case u: - var ce = this.$locale().weekStart || 0, Ee = (G < ce ? G + 7 : G) - ce; - return V(B ? ne - Ee : ne + (6 - Ee), x); - case l: - case y: - return U(_e + "Hours", 0); - case d: - return U(_e + "Minutes", 1); - case n: - return U(_e + "Seconds", 2); - case t: - return U(_e + "Milliseconds", 3); - default: - return this.clone(); - } - }, h.endOf = function(p) { - return this.startOf(p, !1); - }, h.$set = function(p, C) { - var m, B = w.p(p), T = "set" + (this.$u ? "UTC" : ""), V = (m = {}, m[l] = T + "Date", m[y] = T + "Date", m[b] = T + "Month", m[D] = T + "FullYear", m[d] = T + "Hours", m[n] = T + "Minutes", m[t] = T + "Seconds", m[f] = T + "Milliseconds", m)[B], U = B === l ? this.$D + (C - this.$W) : C; - if (B === b || B === D) { - var G = this.clone().set(y, 1); - G.$d[V](U), G.init(), this.$d = G.set(y, Math.min(this.$D, G.daysInMonth())).$d; - } else V && this.$d[V](U); - return this.init(), this; - }, h.set = function(p, C) { - return this.clone().$set(p, C); - }, h.get = function(p) { - return this[w.p(p)](); - }, h.add = function(p, C) { - var m, B = this; - p = Number(p); - var T = w.p(C), V = function(x) { - var ne = q(B); - return w.w(ne.date(ne.date() + Math.round(x * p)), B); - }; - if (T === b) return this.set(b, this.$M + p); - if (T === D) return this.set(D, this.$y + p); - if (T === l) return V(1); - if (T === u) return V(7); - var U = (m = {}, m[n] = r, m[d] = i, m[t] = o, m)[T] || 1, G = this.$d.getTime() + p * U; - return w.w(G, this); - }, h.subtract = function(p, C) { - return this.add(-1 * p, C); - }, h.format = function(p) { - var C = this, m = this.$locale(); - if (!this.isValid()) return m.invalidDate || s; - var B = p || "YYYY-MM-DDTHH:mm:ssZ", T = w.z(this), V = this.$H, U = this.$m, G = this.$M, x = m.weekdays, ne = m.months, _e = m.meridiem, ce = function(te, ge, ke, De) { - return te && (te[ge] || te(C, B)) || ke[ge].slice(0, De); - }, Ee = function(te) { - return w.s(V % 12 || 12, te, "0"); - }, he = _e || function(te, ge, ke) { - var De = te < 12 ? "AM" : "PM"; - return ke ? De.toLowerCase() : De; - }; - return B.replace(g, (function(te, ge) { - return ge || (function(ke) { - switch (ke) { - case "YY": - return String(C.$y).slice(-2); - case "YYYY": - return w.s(C.$y, 4, "0"); - case "M": - return G + 1; - case "MM": - return w.s(G + 1, 2, "0"); - case "MMM": - return ce(m.monthsShort, G, ne, 3); - case "MMMM": - return ce(ne, G); - case "D": - return C.$D; - case "DD": - return w.s(C.$D, 2, "0"); - case "d": - return String(C.$W); - case "dd": - return ce(m.weekdaysMin, C.$W, x, 2); - case "ddd": - return ce(m.weekdaysShort, C.$W, x, 3); - case "dddd": - return x[C.$W]; - case "H": - return String(V); - case "HH": - return w.s(V, 2, "0"); - case "h": - return Ee(1); - case "hh": - return Ee(2); - case "a": - return he(V, U, !0); - case "A": - return he(V, U, !1); - case "m": - return String(U); - case "mm": - return w.s(U, 2, "0"); - case "s": - return String(C.$s); - case "ss": - return w.s(C.$s, 2, "0"); - case "SSS": - return w.s(C.$ms, 3, "0"); - case "Z": - return T; - } - return null; - })(te) || T.replace(":", ""); - })); - }, h.utcOffset = function() { - return 15 * -Math.round(this.$d.getTimezoneOffset() / 15); - }, h.diff = function(p, C, m) { - var B, T = this, V = w.p(C), U = q(p), G = (U.utcOffset() - this.utcOffset()) * r, x = this - U, ne = function() { - return w.m(T, U); - }; - switch (V) { - case D: - B = ne() / 12; - break; - case b: - B = ne(); - break; - case k: - B = ne() / 3; - break; - case u: - B = (x - G) / 6048e5; - break; - case l: - B = (x - G) / 864e5; - break; - case d: - B = x / i; - break; - case n: - B = x / r; - break; - case t: - B = x / o; - break; - default: - B = x; - } - return m ? B : w.a(B); - }, h.daysInMonth = function() { - return this.endOf(b).$D; - }, h.$locale = function() { - return X[this.$L]; - }, h.locale = function(p, C) { - if (!p) return this.$L; - var m = this.clone(), B = be(p, C, !0); - return B && (m.$L = B), m; - }, h.clone = function() { - return w.w(this.$d, this); - }, h.toDate = function() { - return new Date(this.valueOf()); - }, h.toJSON = function() { - return this.isValid() ? this.toISOString() : null; - }, h.toISOString = function() { - return this.$d.toISOString(); - }, h.toString = function() { - return this.$d.toUTCString(); - }, M; - })(), Pe = Se.prototype; - return q.prototype = Pe, [["$ms", f], ["$s", t], ["$m", n], ["$H", d], ["$W", l], ["$M", b], ["$y", D], ["$D", y]].forEach((function(M) { - Pe[M[1]] = function(h) { - return this.$g(h, M[0], M[1]); - }; - })), q.extend = function(M, h) { - return M.$i || (M(h, Se, q), M.$i = !0), q; - }, q.locale = be, q.isDayjs = j, q.unix = function(M) { - return q(1e3 * M); - }, q.en = X[R], q.Ls = X, q.p = {}, q; - })); - })(Ne)), Ne.exports; -} -var po = fo(); -const Ce = /* @__PURE__ */ va(po); -var Ie = { exports: {} }, vo = Ie.exports, aa; -function mo() { - return aa || (aa = 1, (function(e, a) { - (function(o, r) { - e.exports = r(); - })(vo, (function() { - return function(o, r, i) { - o = o || {}; - var f = r.prototype, t = { future: "in %s", past: "%s ago", s: "a few seconds", m: "a minute", mm: "%d minutes", h: "an hour", hh: "%d hours", d: "a day", dd: "%d days", M: "a month", MM: "%d months", y: "a year", yy: "%d years" }; - function n(l, u, b, k) { - return f.fromToBase(l, u, b, k); - } - i.en.relativeTime = t, f.fromToBase = function(l, u, b, k, D) { - for (var y, s, _, g = b.$locale().relativeTime || t, E = o.thresholds || [{ l: "s", r: 44, d: "second" }, { l: "m", r: 89 }, { l: "mm", r: 44, d: "minute" }, { l: "h", r: 89 }, { l: "hh", r: 21, d: "hour" }, { l: "d", r: 35 }, { l: "dd", r: 25, d: "day" }, { l: "M", r: 45 }, { l: "MM", r: 10, d: "month" }, { l: "y", r: 17 }, { l: "yy", d: "year" }], Z = E.length, oe = 0; oe < Z; oe += 1) { - var R = E[oe]; - R.d && (y = k ? i(l).diff(b, R.d, !0) : b.diff(l, R.d, !0)); - var X = (o.rounding || Math.round)(Math.abs(y)); - if (_ = y > 0, X <= R.r || !R.r) { - X <= 1 && oe > 0 && (R = E[oe - 1]); - var le = g[R.l]; - D && (X = D("" + X)), s = typeof le == "string" ? le.replace("%d", X) : le(X, u, R.l, _); - break; - } - } - if (u) return s; - var j = _ ? g.future : g.past; - return typeof j == "function" ? j(s) : j.replace("%s", s); - }, f.to = function(l, u) { - return n(l, u, this, !0); - }, f.from = function(l, u) { - return n(l, u, this); - }; - var d = function(l) { - return l.$u ? i.utc() : i(); - }; - f.toNow = function(l) { - return this.to(d(this), l); - }, f.fromNow = function(l) { - return this.from(d(this), l); - }; - }; - })); - })(Ie)), Ie.exports; -} -var bo = mo(); -const ho = /* @__PURE__ */ va(bo); -Ce.extend(ho); -const go = I({ - name: "EliTabelaCelulaData", - props: { - dados: { - type: Object, - required: !1 - } - }, - setup({ dados: e }) { - const a = S(() => { - const o = e == null ? void 0 : e.valor; - if (!o) return ""; - const r = (e == null ? void 0 : e.formato) ?? "data"; - return r === "relativo" ? Ce(o).fromNow() : r === "data_hora" ? Ce(o).format("DD/MM/YYYY HH:mm") : Ce(o).format("DD/MM/YYYY"); - }); - return { dados: e, textoData: a }; - } -}), $o = { key: 1 }; -function yo(e, a, o, r, i, f) { - var t; - return (t = e.dados) != null && t.acao ? (c(), $("button", { - key: 0, - type: "button", - class: "eli-tabela__celula-link", - onClick: a[0] || (a[0] = se((n) => e.dados.acao(), ["stop", "prevent"])) - }, F(e.textoData), 1)) : (c(), $("span", $o, F(e.textoData), 1)); -} -const _o = /* @__PURE__ */ L(go, [["render", yo]]), Eo = { - textoSimples: Gt, - textoTruncado: ao, - numero: ro, - tags: uo, - data: _o -}, Co = I({ +const I$ = /* @__PURE__ */ oe(_$, [["render", S$]]), w$ = { + textoSimples: b$, + textoTruncado: I$, + numero: d$, + tags: p$, + data: u$ +}, z$ = ie({ name: "EliTabelaCelula", props: { celula: { @@ -1402,58 +12070,65 @@ const _o = /* @__PURE__ */ L(go, [["render", yo]]), Eo = { } }, setup(e) { - const a = S(() => e.celula[0]), o = S(() => e.celula[1]), r = S(() => Eo[a.value]), i = S(() => o.value); - return { Componente: r, dadosParaComponente: i }; + const n = N(() => e.celula[0]), r = N( + () => e.celula[1] + ), o = N( + () => w$[n.value] + ), t = N(() => r.value); + return { Componente: o, dadosParaComponente: t }; } }); -function Ao(e, a, o, r, i, f) { - return c(), W(Te(e.Componente), { dados: e.dadosParaComponente }, null, 8, ["dados"]); +function x$(e, n, r, o, t, i) { + return S(), fe(at(e.Componente), { dados: e.dadosParaComponente }, null, 8, ["dados"]); } -const ma = /* @__PURE__ */ L(Co, [["render", Ao]]), So = I({ +const jf = /* @__PURE__ */ oe(z$, [["render", x$]]), D$ = ie({ name: "EliTabelaDetalhesLinha", - components: { EliTabelaCelula: ma }, + components: { EliTabelaCelula: jf }, props: { linha: { type: null, required: !0 }, colunasInvisiveis: { + // biome-ignore lint/suspicious/noExplicitAny: dynamic column type: Array, required: !0 } } -}), ko = { class: "eli-tabela__detalhes" }, Do = { class: "eli-tabela__detalhe-rotulo" }, Mo = { class: "eli-tabela__detalhe-valor" }; -function Bo(e, a, o, r, i, f) { - const t = K("EliTabelaCelula"); - return c(), $("div", ko, [ - (c(!0), $(ue, null, pe(e.colunasInvisiveis, (n, d) => (c(), $("div", { - key: `det-${d}-${n.rotulo}`, +}), O$ = { class: "eli-tabela__detalhes" }, j$ = { class: "eli-tabela__detalhe-rotulo" }, U$ = { class: "eli-tabela__detalhe-valor" }; +function T$(e, n, r, o, t, i) { + const a = $e("EliTabelaCelula"); + return S(), j("div", O$, [ + (S(!0), j(De, null, Ee(e.colunasInvisiveis, (u, c) => (S(), j("div", { + key: `det-${c}-${u.rotulo}`, class: "eli-tabela__detalhe" }, [ - v("div", Do, F(n.rotulo), 1), - v("div", Mo, [ - N(t, { - celula: n.celula(e.linha) + D("div", j$, G(u.rotulo), 1), + D("div", U$, [ + re(a, { + celula: u.celula(e.linha) }, null, 8, ["celula"]) ]) ]))), 128)) ]); } -const To = /* @__PURE__ */ L(So, [["render", Bo]]), wo = I({ +const E$ = /* @__PURE__ */ oe(D$, [["render", T$]]), P$ = ie({ name: "EliTabelaBody", components: { - EliTabelaCelula: ma, - EliTabelaDetalhesLinha: To, - MoreVertical: dt, - ChevronRight: xe, - ChevronDown: Qe + EliTabelaCelula: jf, + EliTabelaDetalhesLinha: E$, + MoreVertical: n$, + ChevronRight: $a, + ChevronDown: ha }, props: { colunas: { + // biome-ignore lint/suspicious/noExplicitAny: dynamic column type: Array, required: !0 }, colunasInvisiveis: { + // biome-ignore lint/suspicious/noExplicitAny: dynamic column type: Array, required: !0 }, @@ -1492,97 +12167,420 @@ const To = /* @__PURE__ */ L(So, [["render", Bo]]), wo = I({ }, setup() { return { - ChevronRight: xe, - ChevronDown: Qe + ChevronRight: $a, + ChevronDown: ha }; } -}), Po = { class: "eli-tabela__tbody" }, Oo = ["aria-expanded", "aria-label", "title", "onClick"], Fo = ["id", "disabled", "aria-expanded", "aria-controls", "aria-label", "title", "onClick"], Vo = ["colspan"]; -function qo(e, a, o, r, i, f) { - const t = K("EliTabelaCelula"), n = K("MoreVertical"), d = K("EliTabelaDetalhesLinha"); - return c(), $("tbody", Po, [ - (c(!0), $(ue, null, pe(e.linhas, (l, u) => { - var b, k, D, y, s, _; - return c(), $(ue, { - key: `grp-${u}` +}), N$ = { class: "eli-tabela__tbody" }, A$ = ["aria-expanded", "aria-label", "title", "onClick"], Z$ = ["id", "disabled", "aria-expanded", "aria-controls", "aria-label", "title", "onClick"], C$ = ["colspan"]; +function M$(e, n, r, o, t, i) { + const a = $e("EliTabelaCelula"), u = $e("MoreVertical"), c = $e("EliTabelaDetalhesLinha"); + return S(), j("tbody", N$, [ + (S(!0), j(De, null, Ee(e.linhas, (l, s) => { + var d, m, p, g, f, h; + return S(), j(De, { + key: `grp-${s}` }, [ - v("tr", { - class: Me(["eli-tabela__tr", [u % 2 === 1 ? "eli-tabela__tr--zebra" : void 0]]) + D("tr", { + class: lt(["eli-tabela__tr", [s % 2 === 1 ? "eli-tabela__tr--zebra" : void 0]]) }, [ - e.temColunasInvisiveis ? (c(), $("td", { + e.temColunasInvisiveis ? (S(), j("td", { class: "eli-tabela__td eli-tabela__td--expander", - key: `td-${u}-exp` + key: `td-${s}-exp` }, [ - v("button", { + D("button", { type: "button", - class: Me(["eli-tabela__expander-botao", [(b = e.linhasExpandidas) != null && b[u] ? "eli-tabela__expander-botao--ativo" : void 0]]), - "aria-expanded": (k = e.linhasExpandidas) != null && k[u] ? "true" : "false", - "aria-label": (D = e.linhasExpandidas) != null && D[u] ? "Ocultar colunas ocultas" : "Mostrar colunas ocultas", - title: (y = e.linhasExpandidas) != null && y[u] ? "Ocultar detalhes" : "Mostrar detalhes", - onClick: se((g) => e.alternarLinhaExpandida(u), ["stop"]) + class: lt(["eli-tabela__expander-botao", [(d = e.linhasExpandidas) != null && d[s] ? "eli-tabela__expander-botao--ativo" : void 0]]), + "aria-expanded": (m = e.linhasExpandidas) != null && m[s] ? "true" : "false", + "aria-label": (p = e.linhasExpandidas) != null && p[s] ? "Ocultar colunas ocultas" : "Mostrar colunas ocultas", + title: (g = e.linhasExpandidas) != null && g[s] ? "Ocultar detalhes" : "Mostrar detalhes", + onClick: je((b) => e.alternarLinhaExpandida(s), ["stop"]) }, [ - (c(), W(Te((s = e.linhasExpandidas) != null && s[u] ? e.ChevronDown : e.ChevronRight), { + (S(), fe(at((f = e.linhasExpandidas) != null && f[s] ? e.ChevronDown : e.ChevronRight), { class: "eli-tabela__expander-icone", size: 16, "stroke-width": 2, "aria-hidden": "true" })) - ], 10, Oo) - ])) : Q("", !0), - (c(!0), $(ue, null, pe(e.colunas, (g, E) => (c(), $("td", { - key: `td-${u}-${E}`, + ], 10, A$) + ])) : pe("", !0), + (S(!0), j(De, null, Ee(e.colunas, (b, y) => (S(), j("td", { + key: `td-${s}-${y}`, class: "eli-tabela__td" }, [ - N(t, { - celula: g.celula(l) + re(a, { + celula: b.celula(l) }, null, 8, ["celula"]) ]))), 128)), - e.temAcoes ? (c(), $("td", { + e.temAcoes ? (S(), j("td", { class: "eli-tabela__td eli-tabela__td--acoes", - key: `td-${u}-acoes` + key: `td-${s}-acoes` }, [ - v("div", { - class: Me(["eli-tabela__acoes-container", [e.menuAberto === u ? "eli-tabela__acoes-container--aberto" : void 0]]) + D("div", { + class: lt(["eli-tabela__acoes-container", [e.menuAberto === s ? "eli-tabela__acoes-container--aberto" : void 0]]) }, [ - v("button", { + D("button", { class: "eli-tabela__acoes-toggle", type: "button", - id: `eli-tabela-acoes-toggle-${u}`, - disabled: !e.possuiAcoes(u), + id: `eli-tabela-acoes-toggle-${s}`, + disabled: !e.possuiAcoes(s), "aria-haspopup": "menu", - "aria-expanded": e.menuAberto === u ? "true" : "false", - "aria-controls": e.possuiAcoes(u) ? `eli-tabela-acoes-menu-${u}` : void 0, - "aria-label": e.possuiAcoes(u) ? "Ações da linha" : "Nenhuma ação disponível", - title: e.possuiAcoes(u) ? "Ações" : "Nenhuma ação disponível", - onClick: se((g) => e.toggleMenu(u, g), ["stop"]) + "aria-expanded": e.menuAberto === s ? "true" : "false", + "aria-controls": e.possuiAcoes(s) ? `eli-tabela-acoes-menu-${s}` : void 0, + "aria-label": e.possuiAcoes(s) ? "Ações da linha" : "Nenhuma ação disponível", + title: e.possuiAcoes(s) ? "Ações" : "Nenhuma ação disponível", + onClick: je((b) => e.toggleMenu(s, b), ["stop"]) }, [ - N(n, { + re(u, { class: "eli-tabela__acoes-toggle-icone", size: 18, "stroke-width": 2 }) - ], 8, Fo) + ], 8, Z$) ], 2) - ])) : Q("", !0) + ])) : pe("", !0) ], 2), - e.temColunasInvisiveis && ((_ = e.linhasExpandidas) != null && _[u]) ? (c(), $("tr", { + e.temColunasInvisiveis && ((h = e.linhasExpandidas) != null && h[s]) ? (S(), j("tr", { key: 0, - class: Me(["eli-tabela__tr eli-tabela__tr--detalhes", [u % 2 === 1 ? "eli-tabela__tr--zebra" : void 0]]) + class: lt(["eli-tabela__tr eli-tabela__tr--detalhes", [s % 2 === 1 ? "eli-tabela__tr--zebra" : void 0]]) }, [ - v("td", { + D("td", { class: "eli-tabela__td eli-tabela__td--detalhes", colspan: (e.temColunasInvisiveis ? 1 : 0) + e.colunas.length + (e.temAcoes ? 1 : 0) }, [ - N(d, { + re(c, { linha: l, colunasInvisiveis: e.colunasInvisiveis }, null, 8, ["linha", "colunasInvisiveis"]) - ], 8, Vo) - ], 2)) : Q("", !0) + ], 8, C$) + ], 2)) : pe("", !0) ], 64); }), 128)) ]); } -const No = /* @__PURE__ */ L(wo, [["render", qo]]), Io = I({ +const F$ = /* @__PURE__ */ oe(P$, [["render", M$]]), L$ = ie({ + name: "EliTabelaCaixaDeBusca", + components: { Search: r$ }, + props: { + modelo: { + type: String, + required: !1, + default: "" + } + }, + emits: { + buscar(e) { + return typeof e == "string"; + } + }, + setup(e, { emit: n }) { + const r = H(e.modelo ?? ""); + Re( + () => e.modelo, + (t) => { + t !== void 0 && t !== r.value && (r.value = t); + } + ); + function o() { + n("buscar", r.value.trim()); + } + return { texto: r, emitirBusca: o }; + } +}), R$ = { class: "eli-tabela__busca" }, B$ = { class: "eli-tabela__busca-input-wrapper" }; +function J$(e, n, r, o, t, i) { + const a = $e("Search"); + return S(), j("div", R$, [ + D("div", B$, [ + ka(D("input", { + id: "eli-tabela-busca", + "onUpdate:modelValue": n[0] || (n[0] = (u) => e.texto = u), + type: "search", + class: "eli-tabela__busca-input", + placeholder: "Digite termos para filtrar", + onKeyup: n[1] || (n[1] = Cf((...u) => e.emitirBusca && e.emitirBusca(...u), ["enter"])) + }, null, 544), [ + [Mf, e.texto] + ]), + D("button", { + type: "button", + class: "eli-tabela__busca-botao", + "aria-label": "Buscar", + title: "Buscar", + onClick: n[2] || (n[2] = (...u) => e.emitirBusca && e.emitirBusca(...u)) + }, [ + re(a, { + class: "eli-tabela__busca-botao-icone", + size: 16, + "stroke-width": 2, + "aria-hidden": "true" + }) + ]) + ]) + ]); +} +const V$ = /* @__PURE__ */ oe(L$, [["render", J$]]), q$ = ie({ + name: "EliTabelaCabecalho", + components: { EliTabelaCaixaDeBusca: V$ }, + props: { + exibirBusca: { + type: Boolean, + required: !0 + }, + exibirBotaoColunas: { + type: Boolean, + required: !1, + default: !0 + }, + exibirBotaoFiltroAvancado: { + type: Boolean, + required: !1, + default: !1 + }, + valorBusca: { + type: String, + required: !0 + }, + parametrosConsulta: { + // biome-ignore lint/suspicious/noExplicitAny: dynamic params + type: Object, + required: !1 + }, + acoesCabecalho: { + type: Array, + required: !0 + } + }, + emits: { + buscar(e) { + return typeof e == "string"; + }, + colunas() { + return !0; + }, + filtroAvancado() { + return !0; + } + }, + setup(e, { emit: n }) { + const r = N(() => e.acoesCabecalho.length > 0); + function o(a) { + n("buscar", a); + } + function t() { + n("colunas"); + } + function i() { + n("filtroAvancado"); + } + return { temAcoesCabecalho: r, emitBuscar: o, emitColunas: t, emitFiltroAvancado: i }; + } +}), Y$ = { class: "eli-tabela__cabecalho" }, K$ = { + key: 0, + class: "eli-tabela__busca-grupo" +}, W$ = { + key: 1, + class: "eli-tabela__acoes-cabecalho" +}, G$ = ["onClick"], H$ = { class: "eli-tabela__acoes-cabecalho-rotulo" }; +function X$(e, n, r, o, t, i) { + const a = $e("EliTabelaCaixaDeBusca"); + return S(), j("div", Y$, [ + e.exibirBusca ? (S(), j("div", K$, [ + e.exibirBotaoColunas ? (S(), j("button", { + key: 0, + type: "button", + class: "eli-tabela__acoes-cabecalho-botao eli-tabela__acoes-cabecalho-botao--colunas", + onClick: n[0] || (n[0] = (...u) => e.emitColunas && e.emitColunas(...u)) + }, " Colunas ")) : pe("", !0), + e.exibirBotaoFiltroAvancado ? (S(), j("button", { + key: 1, + type: "button", + class: "eli-tabela__acoes-cabecalho-botao eli-tabela__acoes-cabecalho-botao--filtro", + onClick: n[1] || (n[1] = (...u) => e.emitFiltroAvancado && e.emitFiltroAvancado(...u)) + }, " Filtro ")) : pe("", !0), + re(a, { + modelo: e.valorBusca, + onBuscar: e.emitBuscar + }, null, 8, ["modelo", "onBuscar"]) + ])) : pe("", !0), + e.temAcoesCabecalho ? (S(), j("div", W$, [ + (S(!0), j(De, null, Ee(e.acoesCabecalho, (u, c) => (S(), j("button", { + key: `${u.rotulo}-${c}`, + type: "button", + class: "eli-tabela__acoes-cabecalho-botao", + style: zn(u.cor ? { backgroundColor: u.cor, color: "#fff" } : void 0), + onClick: (l) => u.acao(e.parametrosConsulta) + }, [ + u.icone ? (S(), fe(at(u.icone), { + key: 0, + class: "eli-tabela__acoes-cabecalho-icone", + size: 16, + "stroke-width": 2 + })) : pe("", !0), + D("span", H$, G(u.rotulo), 1) + ], 12, G$))), 128)) + ])) : pe("", !0) + ]); +} +const Q$ = /* @__PURE__ */ oe(q$, [["render", X$]]), eb = ie({ + name: "EliTabelaDebug", + props: { + isDev: { + type: Boolean, + required: !0 + }, + menuAberto: { + type: Number, + required: !0 + }, + menuPopupPos: { + type: Object, + required: !0 + } + } +}), tb = { + key: 0, + style: { position: "fixed", left: "8px", bottom: "8px", "z-index": "999999", background: "rgba(185,28,28,0.9)", color: "#fff", padding: "6px 10px", "border-radius": "8px", "font-size": "12px", "max-width": "500px" } +}; +function nb(e, n, r, o, t, i) { + return e.isDev ? (S(), j("div", tb, [ + n[0] || (n[0] = D("div", null, [ + D("b", null, "EliTabela debug") + ], -1)), + D("div", null, "menuAberto: " + G(e.menuAberto), 1), + D("div", null, "menuPos: top=" + G(e.menuPopupPos.top) + ", left=" + G(e.menuPopupPos.left), 1), + st(e.$slots, "default") + ])) : pe("", !0); +} +const rb = /* @__PURE__ */ oe(eb, [["render", nb]]), ib = ie({ + name: "EliTabelaEstados", + props: { + carregando: { + type: Boolean, + required: !0 + }, + erro: { + type: String, + required: !0 + }, + mensagemVazio: { + type: String, + required: !1, + default: void 0 + } + } +}), ob = { + key: 0, + class: "eli-tabela eli-tabela--carregando", + "aria-busy": "true" +}, ab = { + key: 1, + class: "eli-tabela eli-tabela--erro", + role: "alert" +}, ub = { class: "eli-tabela__erro-mensagem" }, lb = { + key: 2, + class: "eli-tabela eli-tabela--vazio" +}; +function cb(e, n, r, o, t, i) { + return e.carregando ? (S(), j("div", ob, " Carregando... ")) : e.erro ? (S(), j("div", ab, [ + n[0] || (n[0] = D("div", { class: "eli-tabela__erro-titulo" }, "Erro", -1)), + D("div", ub, G(e.erro), 1) + ])) : (S(), j("div", lb, G(e.mensagemVazio ?? "Nenhum registro encontrado."), 1)); +} +const sb = /* @__PURE__ */ oe(ib, [["render", cb]]), db = ie({ + name: "EliTabelaHead", + components: { ArrowUp: ga, ArrowDown: pa }, + props: { + colunas: { + // biome-ignore lint/suspicious/noExplicitAny: dynamic column + type: Array, + required: !0 + }, + temAcoes: { + type: Boolean, + required: !0 + }, + temColunasInvisiveis: { + type: Boolean, + required: !0 + }, + colunaOrdenacao: { + type: String, + required: !0 + }, + direcaoOrdenacao: { + type: String, + required: !0 + } + }, + emits: { + alternarOrdenacao(e) { + return typeof e == "string" && e.length > 0; + } + }, + setup(e, { emit: n }) { + function r(t) { + return (t == null ? void 0 : t.coluna_ordem) !== void 0 && (t == null ? void 0 : t.coluna_ordem) !== null; + } + function o(t) { + n("alternarOrdenacao", t); + } + return { + ArrowUp: ga, + ArrowDown: pa, + isOrdenavel: r, + emitAlternarOrdenacao: o + }; + } +}), fb = { class: "eli-tabela__thead" }, mb = { class: "eli-tabela__tr eli-tabela__tr--header" }, vb = { + key: 0, + class: "eli-tabela__th eli-tabela__th--expander", + scope: "col" +}, pb = ["onClick"], gb = { class: "eli-tabela__th-texto" }, hb = { + key: 1, + class: "eli-tabela__th-label" +}, $b = { + key: 1, + class: "eli-tabela__th eli-tabela__th--acoes", + scope: "col" +}; +function bb(e, n, r, o, t, i) { + const a = $e("ArrowUp"); + return S(), j("thead", fb, [ + D("tr", mb, [ + e.temColunasInvisiveis ? (S(), j("th", vb)) : pe("", !0), + (S(!0), j(De, null, Ee(e.colunas, (u, c) => (S(), j("th", { + key: `th-${c}`, + class: lt(["eli-tabela__th", [e.isOrdenavel(u) ? "eli-tabela__th--ordenavel" : void 0]]), + scope: "col" + }, [ + e.isOrdenavel(u) ? (S(), j("button", { + key: 0, + type: "button", + class: lt(["eli-tabela__th-botao", [ + e.colunaOrdenacao === String(u.coluna_ordem) ? "eli-tabela__th-botao--ativo" : void 0 + ]]), + onClick: (l) => e.emitAlternarOrdenacao(String(u.coluna_ordem)) + }, [ + D("span", gb, G(u.rotulo), 1), + e.colunaOrdenacao === String(u.coluna_ordem) ? (S(), fe(at(e.direcaoOrdenacao === "asc" ? e.ArrowUp : e.ArrowDown), { + key: 0, + class: "eli-tabela__th-icone", + size: 16, + "stroke-width": 2, + "aria-hidden": "true" + })) : (S(), fe(a, { + key: 1, + class: "eli-tabela__th-icone eli-tabela__th-icone--oculto", + size: 16, + "stroke-width": 2, + "aria-hidden": "true" + })) + ], 10, pb)) : (S(), j("span", hb, G(u.rotulo), 1)) + ], 2))), 128)), + e.temAcoes ? (S(), j("th", $b, " Ações ")) : pe("", !0) + ]) + ]); +} +const _b = /* @__PURE__ */ oe(db, [["render", bb]]), yb = ie({ name: "EliTabelaMenuAcoes", props: { menuAberto: { @@ -1594,6 +12592,7 @@ const No = /* @__PURE__ */ L(wo, [["render", qo]]), Io = I({ required: !0 }, acoes: { + // biome-ignore lint/suspicious/noExplicitAny: dynamic typing needed type: Array, required: !0 }, @@ -1604,166 +12603,63 @@ const No = /* @__PURE__ */ L(wo, [["render", qo]]), Io = I({ } }, emits: { + // biome-ignore lint/suspicious/noExplicitAny: dynamic typing needed executar(e) { return e !== null && typeof e == "object"; } }, - setup(e, { emit: a, expose: o }) { - const r = O(null); - o({ menuEl: r }); - const i = S(() => e.acoes.length > 0); - function f(t) { - e.linha && a("executar", { acao: t.acao, linha: e.linha }); + setup(e, { emit: n, expose: r }) { + const o = H(null); + r({ menuEl: o }); + const t = N(() => e.acoes.length > 0); + function i(a) { + e.linha && n("executar", { acao: a.acao, linha: e.linha }); } - return { menuEl: r, possuiAcoes: i, emitExecutar: f }; + return { menuEl: o, possuiAcoes: t, emitExecutar: i }; } -}), Lo = ["id", "aria-labelledby"], jo = ["aria-label", "title", "onClick"], zo = { class: "eli-tabela__acoes-item-texto" }; -function Ho(e, a, o, r, i, f) { - return c(), W(ka, { to: "body" }, [ - e.menuAberto !== null && e.possuiAcoes ? (c(), $("ul", { +}), kb = ["id", "aria-labelledby"], Sb = ["aria-label", "title", "onClick"], Ib = { class: "eli-tabela__acoes-item-texto" }; +function wb(e, n, r, o, t, i) { + return S(), fe(Ff, { to: "body" }, [ + e.menuAberto !== null && e.possuiAcoes ? (S(), j("ul", { key: 0, id: `eli-tabela-acoes-menu-${e.menuAberto}`, ref: "menuEl", class: "eli-tabela__acoes-menu", role: "menu", "aria-labelledby": `eli-tabela-acoes-toggle-${e.menuAberto}`, - style: ze({ + style: zn({ position: "fixed", top: `${e.posicao.top}px`, left: `${e.posicao.left}px`, zIndex: 999999 }) }, [ - (c(!0), $(ue, null, pe(e.acoes, (t) => (c(), $("li", { - key: `acao-${e.menuAberto}-${t.indice}`, + (S(!0), j(De, null, Ee(e.acoes, (a) => (S(), j("li", { + key: `acao-${e.menuAberto}-${a.indice}`, class: "eli-tabela__acoes-item", role: "none" }, [ - v("button", { + D("button", { type: "button", class: "eli-tabela__acoes-item-botao", - style: ze({ color: t.acao.cor }), + style: zn({ color: a.acao.cor }), role: "menuitem", - "aria-label": t.acao.rotulo, - title: t.acao.rotulo, - onClick: se((n) => e.emitExecutar(t), ["stop"]) + "aria-label": a.acao.rotulo, + title: a.acao.rotulo, + onClick: je((u) => e.emitExecutar(a), ["stop"]) }, [ - (c(), W(Te(t.acao.icone), { + (S(), fe(at(a.acao.icone), { class: "eli-tabela__acoes-item-icone", size: 16, "stroke-width": 2 })), - v("span", zo, F(t.acao.rotulo), 1) - ], 12, jo) + D("span", Ib, G(a.acao.rotulo), 1) + ], 12, Sb) ]))), 128)) - ], 12, Lo)) : Q("", !0) + ], 12, kb)) : pe("", !0) ]); } -const Uo = /* @__PURE__ */ L(Io, [["render", Ho]]), Yo = I({ - name: "EliTabelaPaginacao", - props: { - pagina: { - type: Number, - required: !0 - }, - totalPaginas: { - type: Number, - required: !0 - }, - maximoBotoes: { - type: Number, - required: !1 - } - }, - emits: { - alterar(e) { - return Number.isFinite(e); - } - }, - setup(e, { emit: a }) { - const o = S(() => { - const l = e.maximoBotoes; - return typeof l == "number" && l >= 5 ? Math.floor(l) : 7; - }), r = S(() => { - const l = e.totalPaginas, u = e.pagina, b = o.value, k = [], D = (E) => { - k.push({ - label: String(E), - pagina: E, - ativo: E === u - }); - }, y = () => { - k.push({ label: "…", ehEllipsis: !0 }); - }; - if (l <= b) { - for (let E = 1; E <= l; E += 1) - D(E); - return k; - } - const s = Math.max(3, b - 2); - let _ = Math.max(2, u - Math.floor(s / 2)), g = _ + s - 1; - g >= l && (g = l - 1, _ = g - s + 1), D(1), _ > 2 && y(); - for (let E = _; E <= g; E += 1) - D(E); - return g < l - 1 && y(), D(l), k; - }); - function i(l) { - if (!l) - return; - const u = Math.min(Math.max(1, l), e.totalPaginas); - u !== e.pagina && a("alterar", u); - } - const f = S(() => e.pagina <= 1), t = S(() => e.pagina >= e.totalPaginas), n = S(() => e.pagina), d = S(() => e.totalPaginas); - return { - botoes: r, - irParaPagina: i, - anteriorDesabilitado: f, - proximaDesabilitada: t, - paginaAtual: n, - totalPaginasExibidas: d - }; - } -}), Ro = { - key: 0, - class: "eli-tabela__paginacao", - role: "navigation", - "aria-label": "Paginação de resultados" -}, Jo = ["disabled"], Wo = { - key: 0, - class: "eli-tabela__pagina-ellipsis", - "aria-hidden": "true" -}, Zo = ["disabled", "aria-current", "aria-label", "onClick"], Xo = ["disabled"]; -function Go(e, a, o, r, i, f) { - return e.totalPaginasExibidas > 1 ? (c(), $("nav", Ro, [ - v("button", { - type: "button", - class: "eli-tabela__pagina-botao", - disabled: e.anteriorDesabilitado, - "aria-label": "Página anterior", - onClick: a[0] || (a[0] = (t) => e.irParaPagina(e.paginaAtual - 1)) - }, " << ", 8, Jo), - (c(!0), $(ue, null, pe(e.botoes, (t, n) => (c(), $(ue, { - key: `${t.label}-${n}` - }, [ - t.ehEllipsis ? (c(), $("span", Wo, F(t.label), 1)) : (c(), $("button", { - key: 1, - type: "button", - class: Me(["eli-tabela__pagina-botao", t.ativo ? "eli-tabela__pagina-botao--ativo" : void 0]), - disabled: t.ativo, - "aria-current": t.ativo ? "page" : void 0, - "aria-label": `Ir para página ${t.label}`, - onClick: (d) => e.irParaPagina(t.pagina) - }, F(t.label), 11, Zo)) - ], 64))), 128)), - v("button", { - type: "button", - class: "eli-tabela__pagina-botao", - disabled: e.proximaDesabilitada, - "aria-label": "Próxima página", - onClick: a[1] || (a[1] = (t) => e.irParaPagina(e.paginaAtual + 1)) - }, " >> ", 8, Xo) - ])) : Q("", !0); -} -const Ko = /* @__PURE__ */ L(Yo, [["render", Go]]), ta = "application/x-eli-tabela-coluna", Qo = I({ +const zb = /* @__PURE__ */ oe(yb, [["render", wb]]), ba = "application/x-eli-tabela-coluna", xb = ie({ name: "EliTabelaModalColunas", props: { aberto: { @@ -1779,6 +12675,7 @@ const Ko = /* @__PURE__ */ L(Yo, [["render", Go]]), ta = "application/x-eli-tabe required: !0 }, colunas: { + // biome-ignore lint/suspicious/noExplicitAny: dynamic typing needed type: Array, required: !0 } @@ -1791,602 +12688,211 @@ const Ko = /* @__PURE__ */ L(Yo, [["render", Go]]), ta = "application/x-eli-tabe return !0; } }, - setup(e, { emit: a }) { - const o = O([]), r = O([]); - function i() { - var X, le; - const y = e.rotulosColunas, s = (((X = e.configInicial.visiveis) == null ? void 0 : X.length) ?? 0) > 0 || (((le = e.configInicial.invisiveis) == null ? void 0 : le.length) ?? 0) > 0, _ = new Set( - e.colunas.filter((j) => j.visivel === !1).map((j) => j.rotulo) - ), g = s ? new Set(e.configInicial.invisiveis ?? []) : _, E = y.filter((j) => !g.has(j)), Z = e.configInicial.visiveis ?? [], oe = new Set(E), R = []; - for (const j of Z) - oe.has(j) && R.push(j); - for (const j of E) - R.includes(j) || R.push(j); - o.value = R, r.value = y.filter((j) => g.has(j)); + setup(e, { emit: n }) { + const r = H([]), o = H([]); + function t() { + var U, I; + const g = e.rotulosColunas, f = (((U = e.configInicial.visiveis) == null ? void 0 : U.length) ?? 0) > 0 || (((I = e.configInicial.invisiveis) == null ? void 0 : I.length) ?? 0) > 0, h = new Set( + e.colunas.filter((_) => _.visivel === !1).map((_) => _.rotulo) + ), b = f ? new Set(e.configInicial.invisiveis ?? []) : h, y = g.filter((_) => !b.has(_)), C = e.configInicial.visiveis ?? [], B = new Set(y), A = []; + for (const _ of C) + B.has(_) && A.push(_); + for (const _ of y) + A.includes(_) || A.push(_); + r.value = A, o.value = g.filter((_) => b.has(_)); } - me( - () => [e.aberto, e.rotulosColunas, e.configInicial, e.colunas], + Re( + () => [ + e.aberto, + e.rotulosColunas, + e.configInicial, + e.colunas + ], () => { - e.aberto && i(); + e.aberto && t(); }, { deep: !0, immediate: !0 } ); - function f() { - a("fechar"); + function i() { + n("fechar"); } - function t() { - a("salvar", { - visiveis: [...o.value], - invisiveis: [...r.value] + function a() { + n("salvar", { + visiveis: [...r.value], + invisiveis: [...o.value] }); } - function n(y, s) { - var _, g; + function u(g, f) { + var h, b; try { - (_ = y.dataTransfer) == null || _.setData(ta, JSON.stringify(s)), (g = y.dataTransfer) == null || g.setData("text/plain", s.rotulo), y.dataTransfer.effectAllowed = "move"; + (h = g.dataTransfer) == null || h.setData(ba, JSON.stringify(f)), (b = g.dataTransfer) == null || b.setData("text/plain", f.rotulo), g.dataTransfer && (g.dataTransfer.effectAllowed = "move"); } catch { } } - function d(y) { - var s; + function c(g) { + var f; try { - const _ = (s = y.dataTransfer) == null ? void 0 : s.getData(ta); - if (!_) return null; - const g = JSON.parse(_); - return !g || typeof g.rotulo != "string" || g.origem !== "visiveis" && g.origem !== "invisiveis" ? null : g; + const h = (f = g.dataTransfer) == null ? void 0 : f.getData(ba); + if (!h) return null; + const b = JSON.parse(h); + return !b || typeof b.rotulo != "string" || b.origem !== "visiveis" && b.origem !== "invisiveis" ? null : b; } catch { return null; } } - function l(y) { - const s = y.origem === "visiveis" ? o.value : r.value, _ = s.indexOf(y.rotulo); - _ >= 0 && s.splice(_, 1); + function l(g) { + const f = g.origem === "visiveis" ? r.value : o.value, h = f.indexOf(g.rotulo); + h >= 0 && f.splice(h, 1); } - function u(y, s, _) { - const g = y === "visiveis" ? o.value : r.value, E = g.indexOf(s); - E >= 0 && g.splice(E, 1), _ === null || _ < 0 || _ > g.length ? g.push(s) : g.splice(_, 0, s); + function s(g, f, h) { + const b = g === "visiveis" ? r.value : o.value, y = b.indexOf(f); + y >= 0 && b.splice(y, 1), h === null || h < 0 || h > b.length ? b.push(f) : b.splice(h, 0, f); } - function b(y, s, _, g) { - n(y, { rotulo: s, origem: _, index: g }); + function d(g, f, h, b) { + u(g, { rotulo: f, origem: h, index: b }); } - function k(y, s, _) { - const g = d(y); - if (g) - if (l(g), u(s, g.rotulo, _), s === "visiveis") { - const E = r.value.indexOf(g.rotulo); - E >= 0 && r.value.splice(E, 1); + function m(g, f, h) { + const b = c(g); + if (b) + if (l(b), s(f, b.rotulo, h), f === "visiveis") { + const y = o.value.indexOf(b.rotulo); + y >= 0 && o.value.splice(y, 1); } else { - const E = o.value.indexOf(g.rotulo); - E >= 0 && o.value.splice(E, 1); + const y = r.value.indexOf(b.rotulo); + y >= 0 && r.value.splice(y, 1); } } - function D(y, s, _) { - const g = d(y); - if (g) - if (l(g), u(s, g.rotulo, null), s === "visiveis") { - const E = r.value.indexOf(g.rotulo); - E >= 0 && r.value.splice(E, 1); + function p(g, f, h) { + const b = c(g); + if (b) + if (l(b), s(f, b.rotulo, null), f === "visiveis") { + const y = o.value.indexOf(b.rotulo); + y >= 0 && o.value.splice(y, 1); } else { - const E = o.value.indexOf(g.rotulo); - E >= 0 && o.value.splice(E, 1); + const y = r.value.indexOf(b.rotulo); + y >= 0 && r.value.splice(y, 1); } } return { - visiveisLocal: o, - invisiveisLocal: r, - emitFechar: f, - emitSalvar: t, - onDragStart: b, - onDropItem: k, - onDropLista: D + visiveisLocal: r, + invisiveisLocal: o, + emitFechar: i, + emitSalvar: a, + onDragStart: d, + onDropItem: m, + onDropLista: p }; } -}), xo = { +}), Db = { class: "eli-tabela-modal-colunas__modal", role: "dialog", "aria-modal": "true", "aria-label": "Configurar colunas" -}, en = { class: "eli-tabela-modal-colunas__header" }, an = { class: "eli-tabela-modal-colunas__conteudo" }, tn = { class: "eli-tabela-modal-colunas__coluna" }, on = ["onDragstart", "onDrop"], nn = { class: "eli-tabela-modal-colunas__item-texto" }, rn = { class: "eli-tabela-modal-colunas__coluna" }, ln = ["onDragstart", "onDrop"], sn = { class: "eli-tabela-modal-colunas__item-texto" }, un = { class: "eli-tabela-modal-colunas__footer" }; -function cn(e, a, o, r, i, f) { - return e.aberto ? (c(), $("div", { +}, Ob = { class: "eli-tabela-modal-colunas__header" }, jb = { class: "eli-tabela-modal-colunas__conteudo" }, Ub = { class: "eli-tabela-modal-colunas__coluna" }, Tb = ["onDragstart", "onDrop"], Eb = { class: "eli-tabela-modal-colunas__item-texto" }, Pb = { class: "eli-tabela-modal-colunas__coluna" }, Nb = ["onDragstart", "onDrop"], Ab = { class: "eli-tabela-modal-colunas__item-texto" }, Zb = { class: "eli-tabela-modal-colunas__footer" }; +function Cb(e, n, r, o, t, i) { + return e.aberto ? (S(), j("div", { key: 0, class: "eli-tabela-modal-colunas__overlay", role: "presentation", - onClick: a[9] || (a[9] = se((...t) => e.emitFechar && e.emitFechar(...t), ["self"])) + onClick: n[9] || (n[9] = je((...a) => e.emitFechar && e.emitFechar(...a), ["self"])) }, [ - v("div", xo, [ - v("header", en, [ - a[10] || (a[10] = v("h3", { class: "eli-tabela-modal-colunas__titulo" }, "Colunas", -1)), - v("button", { + D("div", Db, [ + D("header", Ob, [ + n[10] || (n[10] = D("h3", { class: "eli-tabela-modal-colunas__titulo" }, "Colunas", -1)), + D("button", { type: "button", class: "eli-tabela-modal-colunas__fechar", "aria-label": "Fechar", - onClick: a[0] || (a[0] = (...t) => e.emitFechar && e.emitFechar(...t)) + onClick: n[0] || (n[0] = (...a) => e.emitFechar && e.emitFechar(...a)) }, " × ") ]), - v("div", an, [ - v("div", tn, [ - a[12] || (a[12] = v("div", { class: "eli-tabela-modal-colunas__coluna-titulo" }, "Visíveis", -1)), - v("div", { + D("div", jb, [ + D("div", Ub, [ + n[12] || (n[12] = D("div", { class: "eli-tabela-modal-colunas__coluna-titulo" }, "Visíveis", -1)), + D("div", { class: "eli-tabela-modal-colunas__lista", - onDragover: a[2] || (a[2] = se(() => { + onDragover: n[2] || (n[2] = je(() => { }, ["prevent"])), - onDrop: a[3] || (a[3] = (t) => e.onDropLista(t, "visiveis", null)) + onDrop: n[3] || (n[3] = (a) => e.onDropLista(a, "visiveis", null)) }, [ - (c(!0), $(ue, null, pe(e.visiveisLocal, (t, n) => (c(), $("div", { - key: `vis-${t}`, + (S(!0), j(De, null, Ee(e.visiveisLocal, (a, u) => (S(), j("div", { + key: `vis-${a}`, class: "eli-tabela-modal-colunas__item", draggable: "true", - onDragstart: (d) => e.onDragStart(d, t, "visiveis", n), - onDragover: a[1] || (a[1] = se(() => { + onDragstart: (c) => e.onDragStart(c, a, "visiveis", u), + onDragover: n[1] || (n[1] = je(() => { }, ["prevent"])), - onDrop: (d) => e.onDropItem(d, "visiveis", n) + onDrop: (c) => e.onDropItem(c, "visiveis", u) }, [ - a[11] || (a[11] = v("span", { + n[11] || (n[11] = D("span", { class: "eli-tabela-modal-colunas__item-handle", "aria-hidden": "true" }, "⋮⋮", -1)), - v("span", nn, F(t), 1) - ], 40, on))), 128)) + D("span", Eb, G(a), 1) + ], 40, Tb))), 128)) ], 32) ]), - v("div", rn, [ - a[14] || (a[14] = v("div", { class: "eli-tabela-modal-colunas__coluna-titulo" }, "Invisíveis", -1)), - v("div", { + D("div", Pb, [ + n[14] || (n[14] = D("div", { class: "eli-tabela-modal-colunas__coluna-titulo" }, "Invisíveis", -1)), + D("div", { class: "eli-tabela-modal-colunas__lista", - onDragover: a[5] || (a[5] = se(() => { + onDragover: n[5] || (n[5] = je(() => { }, ["prevent"])), - onDrop: a[6] || (a[6] = (t) => e.onDropLista(t, "invisiveis", null)) + onDrop: n[6] || (n[6] = (a) => e.onDropLista(a, "invisiveis", null)) }, [ - (c(!0), $(ue, null, pe(e.invisiveisLocal, (t, n) => (c(), $("div", { - key: `inv-${t}`, + (S(!0), j(De, null, Ee(e.invisiveisLocal, (a, u) => (S(), j("div", { + key: `inv-${a}`, class: "eli-tabela-modal-colunas__item", draggable: "true", - onDragstart: (d) => e.onDragStart(d, t, "invisiveis", n), - onDragover: a[4] || (a[4] = se(() => { + onDragstart: (c) => e.onDragStart(c, a, "invisiveis", u), + onDragover: n[4] || (n[4] = je(() => { }, ["prevent"])), - onDrop: (d) => e.onDropItem(d, "invisiveis", n) + onDrop: (c) => e.onDropItem(c, "invisiveis", u) }, [ - a[13] || (a[13] = v("span", { + n[13] || (n[13] = D("span", { class: "eli-tabela-modal-colunas__item-handle", "aria-hidden": "true" }, "⋮⋮", -1)), - v("span", sn, F(t), 1) - ], 40, ln))), 128)) + D("span", Ab, G(a), 1) + ], 40, Nb))), 128)) ], 32) ]) ]), - v("footer", un, [ - v("button", { + D("footer", Zb, [ + D("button", { type: "button", class: "eli-tabela-modal-colunas__botao eli-tabela-modal-colunas__botao--sec", - onClick: a[7] || (a[7] = (...t) => e.emitFechar && e.emitFechar(...t)) + onClick: n[7] || (n[7] = (...a) => e.emitFechar && e.emitFechar(...a)) }, " Cancelar "), - v("button", { + D("button", { type: "button", class: "eli-tabela-modal-colunas__botao eli-tabela-modal-colunas__botao--prim", - onClick: a[8] || (a[8] = (...t) => e.emitSalvar && e.emitSalvar(...t)) + onClick: n[8] || (n[8] = (...a) => e.emitSalvar && e.emitSalvar(...a)) }, " Salvar ") ]) ]) - ])) : Q("", !0); + ])) : pe("", !0); } -const dn = /* @__PURE__ */ L(Qo, [["render", cn]]); -function fn(e) { - if (!Number.isFinite(e) || e <= 0 || e >= 1) return 0; - const a = e.toString(); - if (a.includes("e-")) { - const [, i] = a.split("e-"), f = Number(i); - return Number.isFinite(f) ? f : 0; - } - const o = a.indexOf("."); - return o === -1 ? 0 : a.slice(o + 1).replace(/0+$/, "").length; -} -function pn(e) { - const a = (e ?? "").trim().replace(/,/g, "."); - if (!a) return null; - const o = Number(a); - return Number.isNaN(o) ? null : o; -} -function Le(e, a) { - return e == null ? "" : a === null ? String(e) : Number(e).toFixed(Math.max(0, a)).replace(/\./g, ","); -} -function oa(e) { - return (e ?? "").replace(/\D+/g, ""); -} -function vn(e) { - const a = (e ?? "").replace(/[^0-9.,]+/g, ""), o = a.match(/[.,]/); - if (!o) return a; - const r = o[0], i = a.indexOf(r), f = a.slice(0, i).replace(/[.,]/g, ""), t = a.slice(i + 1).replace(/[.,]/g, ""); - return `${f.length ? f : "0"}${r}${t}`; -} -function mn(e, a) { - if (a === null) return e; - if (a <= 0) return e.replace(/[.,]/g, ""); - const o = e.match(/[.,]/); - if (!o) return e; - const r = o[0], i = e.indexOf(r), f = e.slice(0, i), t = e.slice(i + 1); - return `${f}${r}${t.slice(0, a)}`; -} -function bn(e) { - const a = e.match(/^(\d+)[.,]$/); - if (!a) return null; - const o = Number(a[1]); - return Number.isNaN(o) ? null : o; -} -const hn = I({ - name: "EliEntradaNumero", - inheritAttrs: !1, - props: { - /** Interface padrão (EliEntrada): value + opcoes. */ - value: { - type: [Number, null], - default: void 0 - }, - opcoes: { - type: Object, - required: !0 - } - }, - emits: { - "update:value": (e) => !0, - /** Compat Vue2 (v-model padrão: value + input) */ - input: (e) => !0, - change: (e) => !0, - focus: () => !0, - blur: () => !0 - }, - setup(e, { attrs: a, emit: o }) { - const r = S(() => { - var u; - const l = (u = e.opcoes) == null ? void 0 : u.precisao; - return l == null ? null : fn(l); - }), i = S(() => r.value === 0), f = S(() => { - const l = r.value; - return l !== null && l > 0; - }), t = O(""), n = O(void 0); - me( - () => e.value, - (l) => { - l !== n.value && (t.value = Le(l, r.value), n.value = l); - }, - { immediate: !0 } - ); - function d(l) { - if (f.value) { - const D = r.value ?? 0, y = oa(l), s = y ? Number(y) : 0, _ = Math.pow(10, D), g = y ? s / _ : null, E = g === null ? null : g; - n.value = E, o("update:value", E), o("input", E), o("change", E), t.value = Le(E, D); - return; - } - const u = i.value ? oa(l) : vn(l), b = i.value ? u : mn(u, r.value); - let k = null; - if (b) { - const y = (i.value ? null : bn(b)) ?? pn(b); - k = y === null ? null : y; - } - n.value = k, o("update:value", k), o("input", k), o("change", k), t.value = Le(k, r.value); - } - return { attrs: a, emit: o, displayValue: t, isInteiro: i, onUpdateModelValue: d }; - } -}), gn = { class: "eli-entrada__prefixo" }, $n = { class: "eli-entrada__sufixo" }; -function yn(e, a, o, r, i, f) { - var t, n, d, l; - return c(), W(He, Ae({ - "model-value": e.displayValue, - label: (t = e.opcoes) == null ? void 0 : t.rotulo, - placeholder: (n = e.opcoes) == null ? void 0 : n.placeholder, - type: e.isInteiro ? "number" : "text", - inputmode: e.isInteiro ? "numeric" : "decimal", - pattern: e.isInteiro ? "[0-9]*" : "[0-9.,]*" - }, e.attrs, { - "onUpdate:modelValue": e.onUpdateModelValue, - onFocus: a[0] || (a[0] = () => e.emit("focus")), - onBlur: a[1] || (a[1] = () => e.emit("blur")) - }), Da({ _: 2 }, [ - (d = e.opcoes) != null && d.prefixo ? { - name: "prepend-inner", - fn: ae(() => [ - v("span", gn, F(e.opcoes.prefixo), 1) - ]), - key: "0" - } : void 0, - (l = e.opcoes) != null && l.sufixo ? { - name: "append-inner", - fn: ae(() => [ - v("span", $n, F(e.opcoes.sufixo), 1) - ]), - key: "1" - } : void 0 - ]), 1040, ["model-value", "label", "placeholder", "type", "inputmode", "pattern", "onUpdate:modelValue"]); -} -const ba = /* @__PURE__ */ L(hn, [["render", yn]]), _n = I({ - name: "EliEntradaDataHora", - inheritAttrs: !1, - props: { - // --- Novo padrão EliEntrada --- - value: { - type: String, - default: void 0 - }, - opcoes: { - type: Object, - required: !1, - default: void 0 - }, - // --- Compatibilidade com componente antigo EliDataHora --- - modelValue: { - type: String, - default: null - }, - modo: { type: String, default: void 0 }, - rotulo: { type: String, default: void 0 }, - placeholder: { type: String, default: void 0 }, - desabilitado: { type: Boolean, default: void 0 }, - limpavel: { type: Boolean, default: void 0 }, - erro: { type: Boolean, default: void 0 }, - mensagensErro: { - type: [String, Array], - default: void 0 - }, - dica: { type: String, default: void 0 }, - dicaPersistente: { type: Boolean, default: void 0 }, - densidade: { type: String, default: void 0 }, - variante: { type: String, default: void 0 }, - min: { type: String, default: void 0 }, - max: { type: String, default: void 0 } - }, - emits: { - // Novo padrão - "update:value": (e) => !0, - input: (e) => !0, - // compat Vue2 - change: (e) => !0, - // Compat antigo - "update:modelValue": (e) => !0, - alterar: (e) => !0, - foco: () => !0, - desfoco: () => !0, - focus: () => !0, - blur: () => !0 - }, - setup(e, { emit: a, attrs: o }) { - const r = S(() => e.opcoes ? e.opcoes : { - rotulo: e.rotulo ?? "Data e hora", - placeholder: e.placeholder ?? "", - modo: e.modo ?? "dataHora", - limpavel: e.limpavel, - erro: e.erro, - mensagensErro: e.mensagensErro, - dica: e.dica, - dicaPersistente: e.dicaPersistente, - densidade: e.densidade, - variante: e.variante, - min: e.min, - max: e.max - }), i = S( - () => r.value.modo ?? "dataHora" - ), f = S(() => !!e.desabilitado), t = S( - () => i.value === "data" ? "date" : "datetime-local" - ); - function n(s) { - return i.value === "data" ? Ce(s).format("YYYY-MM-DD") : Ce(s).format("YYYY-MM-DDTHH:mm"); - } - function d(s) { - return i.value === "data" ? Ce(`${s}T00:00`).format() : Ce(s).format(); - } - const l = S(() => e.value !== void 0 ? e.value ?? null : e.modelValue), u = S({ - get: () => l.value ? n(l.value) : "", - set: (s) => { - const _ = s && s.length > 0 ? s : null; - if (!_) { - a("update:value", null), a("input", null), a("change", null), a("update:modelValue", null), a("alterar", null); - return; - } - const g = d(_); - a("update:value", g), a("input", g), a("change", g), a("update:modelValue", g), a("alterar", g); - } - }), b = S(() => { - const s = r.value.min; - if (s) - return n(s); - }), k = S(() => { - const s = r.value.max; - if (s) - return n(s); - }); - function D() { - a("foco"), a("focus"); - } - function y() { - a("desfoco"), a("blur"); - } - return { - attrs: o, - valor: u, - tipoInput: t, - minLocal: b, - maxLocal: k, - opcoesEfetivas: r, - desabilitadoEfetivo: f, - emitCompatFocus: D, - emitCompatBlur: y - }; - } -}), En = { class: "eli-data-hora" }; -function Cn(e, a, o, r, i, f) { - return c(), $("div", En, [ - N(He, Ae({ - modelValue: e.valor, - "onUpdate:modelValue": a[0] || (a[0] = (t) => e.valor = t), - type: e.tipoInput, - label: e.opcoesEfetivas.rotulo, - placeholder: e.opcoesEfetivas.placeholder, - disabled: e.desabilitadoEfetivo, - clearable: !!e.opcoesEfetivas.limpavel, - error: !!e.opcoesEfetivas.erro, - "error-messages": e.opcoesEfetivas.mensagensErro, - hint: e.opcoesEfetivas.dica, - "persistent-hint": !!e.opcoesEfetivas.dicaPersistente, - density: e.opcoesEfetivas.densidade ?? "comfortable", - variant: e.opcoesEfetivas.variante ?? "outlined", - min: e.minLocal, - max: e.maxLocal - }, e.attrs, { - onFocus: e.emitCompatFocus, - onBlur: e.emitCompatBlur - }), null, 16, ["modelValue", "type", "label", "placeholder", "disabled", "clearable", "error", "error-messages", "hint", "persistent-hint", "density", "variant", "min", "max", "onFocus", "onBlur"]) - ]); -} -const ha = /* @__PURE__ */ L(_n, [["render", Cn]]), An = I({ - name: "EliEntradaParagrafo", - components: { VTextarea: Fa }, - inheritAttrs: !1, - props: { - value: { - type: [String, null], - default: void 0 - }, - opcoes: { - type: Object, - required: !0 - } - }, - emits: { - "update:value": (e) => !0, - input: (e) => !0, - change: (e) => !0, - focus: () => !0, - blur: () => !0 - }, - setup(e, { attrs: a, emit: o }) { - const r = S({ - get: () => e.value, - set: (i) => { - o("update:value", i), o("input", i), o("change", i); - } - }); - return { attrs: a, emit: o, localValue: r, opcoes: e.opcoes }; - } -}); -function Sn(e, a, o, r, i, f) { - var t, n, d, l, u, b, k, D, y, s, _, g; - return c(), W(Na, Ae({ - modelValue: e.localValue, - "onUpdate:modelValue": a[0] || (a[0] = (E) => e.localValue = E), - label: (t = e.opcoes) == null ? void 0 : t.rotulo, - placeholder: (n = e.opcoes) == null ? void 0 : n.placeholder, - rows: ((d = e.opcoes) == null ? void 0 : d.linhas) ?? 4, - counter: (l = e.opcoes) == null ? void 0 : l.limiteCaracteres, - maxlength: (u = e.opcoes) == null ? void 0 : u.limiteCaracteres, - clearable: !!((b = e.opcoes) != null && b.limpavel), - error: !!((k = e.opcoes) != null && k.erro), - "error-messages": (D = e.opcoes) == null ? void 0 : D.mensagensErro, - hint: (y = e.opcoes) == null ? void 0 : y.dica, - "persistent-hint": !!((s = e.opcoes) != null && s.dicaPersistente), - density: ((_ = e.opcoes) == null ? void 0 : _.densidade) ?? "comfortable", - variant: ((g = e.opcoes) == null ? void 0 : g.variante) ?? "outlined", - "auto-grow": "" - }, e.attrs, { - onFocus: a[1] || (a[1] = () => e.emit("focus")), - onBlur: a[2] || (a[2] = () => e.emit("blur")) - }), null, 16, ["modelValue", "label", "placeholder", "rows", "counter", "maxlength", "clearable", "error", "error-messages", "hint", "persistent-hint", "density", "variant"]); -} -const kn = /* @__PURE__ */ L(An, [["render", Sn]]), Dn = I({ - name: "EliEntradaSelecao", - components: { VSelect: Va }, - inheritAttrs: !1, - props: { - value: { - type: [String, null], - default: void 0 - }, - opcoes: { - type: Object, - required: !0 - } - }, - emits: { - "update:value": (e) => !0, - input: (e) => !0, - change: (e) => !0, - focus: () => !0, - blur: () => !0 - }, - setup(e, { attrs: a, emit: o }) { - const r = O([]), i = O(!1), f = S({ - get: () => e.value, - set: (n) => { - o("update:value", n), o("input", n), o("change", n); - } - }); - async function t() { - i.value = !0; - try { - const n = await e.opcoes.itens(), d = Array.isArray(n) ? n : []; - r.value = [...d]; - } finally { - i.value = !1; - } - } - return me( - () => e.opcoes.itens, - () => { - t(); - } - ), ia(() => { - t(); - }), me( - r, - (n) => { - console.debug("[EliEntradaSelecao] itens:", n); - }, - { deep: !0 } - ), { attrs: a, emit: o, localValue: f, opcoes: e.opcoes, itens: r, carregando: i }; - } -}); -function Mn(e, a, o, r, i, f) { - var t, n, d, l, u, b, k, D, y; - return c(), W(Ia, Ae({ - modelValue: e.localValue, - "onUpdate:modelValue": a[0] || (a[0] = (s) => e.localValue = s), - label: (t = e.opcoes) == null ? void 0 : t.rotulo, - placeholder: (n = e.opcoes) == null ? void 0 : n.placeholder, - items: e.itens, - "item-title": "rotulo", - "item-value": "chave", - loading: e.carregando, - disabled: e.carregando, - "menu-props": { maxHeight: 320 }, - clearable: !!((d = e.opcoes) != null && d.limpavel), - error: !!((l = e.opcoes) != null && l.erro), - "error-messages": (u = e.opcoes) == null ? void 0 : u.mensagensErro, - hint: (b = e.opcoes) == null ? void 0 : b.dica, - "persistent-hint": !!((k = e.opcoes) != null && k.dicaPersistente), - density: ((D = e.opcoes) == null ? void 0 : D.densidade) ?? "comfortable", - variant: ((y = e.opcoes) == null ? void 0 : y.variante) ?? "outlined" - }, e.attrs, { - onFocus: a[1] || (a[1] = () => e.emit("focus")), - onBlur: a[2] || (a[2] = () => e.emit("blur")) - }), null, 16, ["modelValue", "label", "placeholder", "items", "loading", "disabled", "clearable", "error", "error-messages", "hint", "persistent-hint", "density", "variant"]); -} -const Bn = /* @__PURE__ */ L(Dn, [["render", Mn]]); -function Tn(e) { +const Mb = /* @__PURE__ */ oe(xb, [["render", Cb]]); +function Fb(e) { return e === "texto" || e === "numero" || e === "dataHora"; } -function wn(e) { - var o, r; - const a = (r = (o = e == null ? void 0 : e.entrada) == null ? void 0 : o[1]) == null ? void 0 : r.rotulo; - return String(a || ((e == null ? void 0 : e.coluna) ?? "Filtro")); +function Lb(e) { + var r, o; + const n = (o = (r = e == null ? void 0 : e.entrada) == null ? void 0 : r[1]) == null ? void 0 : o.rotulo; + return String(n || ((e == null ? void 0 : e.coluna) ?? "Filtro")); } -const Pn = I({ +const Rb = ie({ name: "EliTabelaModalFiltroAvancado", props: { aberto: { type: Boolean, required: !0 }, filtrosBase: { + // biome-ignore lint/suspicious/noExplicitAny: dynamic filter type type: Array, required: !0 }, modelo: { + // biome-ignore lint/suspicious/noExplicitAny: dynamic model type: Array, required: !0 } @@ -2394,432 +12900,602 @@ const Pn = I({ emits: { fechar: () => !0, limpar: () => !0, + // biome-ignore lint/suspicious/noExplicitAny: dynamic lines salvar: (e) => !0 }, - setup(e, { emit: a }) { - const o = O([]), r = O(""), i = S(() => (e.filtrosBase ?? []).map((s) => String(s.coluna))), f = S(() => { - const s = new Set(o.value.map((_) => String(_.coluna))); - return (e.filtrosBase ?? []).filter((_) => !s.has(String(_.coluna))); + setup(e, { emit: n }) { + const r = H([]), o = H(""), t = N( + () => (e.filtrosBase ?? []).map((f) => String(f.coluna)) + ), i = N(() => { + const f = new Set(r.value.map((h) => String(h.coluna))); + return (e.filtrosBase ?? []).filter( + (h) => !f.has(String(h.coluna)) + ); }); - function t(s) { - const _ = s == null ? void 0 : s[0]; - return _ === "numero" ? ba : _ === "dataHora" ? ha : Ye; + function a(f) { + const h = f == null ? void 0 : f[0]; + return h === "numero" ? zf : h === "dataHora" ? wf : To; } - function n(s) { - return (s == null ? void 0 : s[1]) ?? { rotulo: "" }; + function u(f) { + return (f == null ? void 0 : f[1]) ?? { rotulo: "" }; } - function d(s) { - return (s == null ? void 0 : s[0]) === "numero" ? null : ""; + function c(f) { + return (f == null ? void 0 : f[0]) === "numero" ? null : ""; } function l() { - var g; - const s = e.filtrosBase ?? [], _ = Array.isArray(e.modelo) ? e.modelo : []; - o.value = _.map((E) => { - const Z = s.find((j) => String(j.coluna) === String(E.coluna)) ?? s[0], oe = (Z == null ? void 0 : Z.entrada) ?? E.entrada, R = (Z == null ? void 0 : Z.coluna) ?? E.coluna, X = String((Z == null ? void 0 : Z.operador) ?? "="), le = E.valor ?? d(oe); + var b; + const f = e.filtrosBase ?? [], h = Array.isArray(e.modelo) ? e.modelo : []; + r.value = h.map((y) => { + const C = f.find((_) => String(_.coluna) === String(y.coluna)) ?? f[0], B = (C == null ? void 0 : C.entrada) ?? y.entrada, A = (C == null ? void 0 : C.coluna) ?? y.coluna, U = String((C == null ? void 0 : C.operador) ?? "="), I = y.valor ?? c(B); return { - coluna: R, - operador: X, - entrada: oe, - valor: le + coluna: A, + operador: U, + entrada: B, + valor: I + // biome-ignore lint/suspicious/noExplicitAny: dynamic cast }; }); - for (const E of o.value) - i.value.includes(String(E.coluna)) && (E.operador = String(((g = s.find((Z) => String(Z.coluna) === String(E.coluna))) == null ? void 0 : g.operador) ?? "="), E.entrada && !Tn(E.entrada[0]) && (E.entrada = ["texto", { rotulo: "Valor" }])); + for (const y of r.value) + t.value.includes(String(y.coluna)) && (y.operador = String( + ((b = f.find((C) => String(C.coluna) === String(y.coluna))) == null ? void 0 : b.operador) ?? "=" + ), y.entrada && !Fb(y.entrada[0]) && (y.entrada = ["texto", { rotulo: "Valor" }])); } - me( + Re( () => [e.aberto, e.filtrosBase, e.modelo], () => { e.aberto && l(); }, { deep: !0, immediate: !0 } ); - function u() { - if (!r.value) return; - const s = (e.filtrosBase ?? []).find((_) => String(_.coluna) === String(r.value)); - s && (o.value.some((_) => String(_.coluna) === String(s.coluna)) || (o.value.push({ - coluna: s.coluna, - entrada: s.entrada, - operador: String(s.operador ?? "="), - valor: d(s.entrada) - }), r.value = "")); + function s() { + if (!o.value) return; + const f = (e.filtrosBase ?? []).find( + (h) => String(h.coluna) === String(o.value) + ); + f && (r.value.some((h) => String(h.coluna) === String(f.coluna)) || (r.value.push({ + // biome-ignore lint/suspicious/noExplicitAny: dynamic column + coluna: f.coluna, + entrada: f.entrada, + operador: String(f.operador ?? "="), + valor: c(f.entrada) + }), o.value = "")); } - function b(s) { - o.value.splice(s, 1); + function d(f) { + r.value.splice(f, 1); } - function k() { - a("fechar"); + function m() { + n("fechar"); } - function D() { - a("limpar"); + function p() { + n("limpar"); } - function y() { - a( + function g() { + n( "salvar", - o.value.map((s) => ({ - coluna: s.coluna, - valor: s.valor + r.value.map((f) => ({ + coluna: f.coluna, + valor: f.valor })) ); } return { - linhas: o, - opcoesParaAdicionar: f, - colunaParaAdicionar: r, - componenteEntrada: t, - opcoesEntrada: n, - adicionar: u, - remover: b, + linhas: r, + opcoesParaAdicionar: i, + colunaParaAdicionar: o, + componenteEntrada: a, + opcoesEntrada: u, + adicionar: s, + remover: d, // exibimos operador fixo só como texto - emitFechar: k, - emitSalvar: y, - emitLimpar: D, - rotuloDoFiltro: wn + emitFechar: m, + emitSalvar: g, + emitLimpar: p, + rotuloDoFiltro: Lb }; } -}), On = { +}), Bb = { class: "eli-tabela-modal-filtro__modal", role: "dialog", "aria-modal": "true", "aria-label": "Filtro avançado" -}, Fn = { class: "eli-tabela-modal-filtro__header" }, Vn = { class: "eli-tabela-modal-filtro__conteudo" }, qn = { +}, Jb = { class: "eli-tabela-modal-filtro__header" }, Vb = { class: "eli-tabela-modal-filtro__conteudo" }, qb = { key: 0, class: "eli-tabela-modal-filtro__vazio" -}, Nn = { +}, Yb = { key: 1, class: "eli-tabela-modal-filtro__lista" -}, In = { class: "eli-tabela-modal-filtro__entrada" }, Ln = ["onClick"], jn = { class: "eli-tabela-modal-filtro__acoes" }, zn = ["disabled"], Hn = ["value"], Un = ["disabled"], Yn = { class: "eli-tabela-modal-filtro__footer" }; -function Rn(e, a, o, r, i, f) { - return e.aberto ? (c(), $("div", { +}, Kb = { class: "eli-tabela-modal-filtro__entrada" }, Wb = ["onClick"], Gb = { class: "eli-tabela-modal-filtro__acoes" }, Hb = ["disabled"], Xb = ["value"], Qb = ["disabled"], e_ = { class: "eli-tabela-modal-filtro__footer" }; +function t_(e, n, r, o, t, i) { + return e.aberto ? (S(), j("div", { key: 0, class: "eli-tabela-modal-filtro__overlay", role: "presentation", - onClick: a[6] || (a[6] = se((...t) => e.emitFechar && e.emitFechar(...t), ["self"])) + onClick: n[6] || (n[6] = je((...a) => e.emitFechar && e.emitFechar(...a), ["self"])) }, [ - v("div", On, [ - v("header", Fn, [ - a[7] || (a[7] = v("h3", { class: "eli-tabela-modal-filtro__titulo" }, "Filtro avançado", -1)), - v("button", { + D("div", Bb, [ + D("header", Jb, [ + n[7] || (n[7] = D("h3", { class: "eli-tabela-modal-filtro__titulo" }, "Filtro avançado", -1)), + D("button", { type: "button", class: "eli-tabela-modal-filtro__fechar", "aria-label": "Fechar", - onClick: a[0] || (a[0] = (...t) => e.emitFechar && e.emitFechar(...t)) + onClick: n[0] || (n[0] = (...a) => e.emitFechar && e.emitFechar(...a)) }, " × ") ]), - v("div", Vn, [ - e.filtrosBase.length ? (c(), $("div", Nn, [ - (c(!0), $(ue, null, pe(e.linhas, (t, n) => (c(), $("div", { - key: String(t.coluna), + D("div", Vb, [ + e.filtrosBase.length ? (S(), j("div", Yb, [ + (S(!0), j(De, null, Ee(e.linhas, (a, u) => (S(), j("div", { + key: String(a.coluna), class: "eli-tabela-modal-filtro__linha" }, [ - v("div", In, [ - (c(), W(Te(e.componenteEntrada(t.entrada)), { - value: t.valor, - "onUpdate:value": (d) => t.valor = d, - opcoes: e.opcoesEntrada(t.entrada), + D("div", Kb, [ + (S(), fe(at(e.componenteEntrada(a.entrada)), { + value: a.valor, + "onUpdate:value": (c) => a.valor = c, + opcoes: e.opcoesEntrada(a.entrada), density: "compact" }, null, 40, ["value", "onUpdate:value", "opcoes"])) ]), - v("button", { + D("button", { type: "button", class: "eli-tabela-modal-filtro__remover", title: "Remover", "aria-label": "Remover", - onClick: (d) => e.remover(n) - }, " × ", 8, Ln) + onClick: (c) => e.remover(u) + }, " × ", 8, Wb) ]))), 128)) - ])) : (c(), $("div", qn, " Nenhum filtro configurado na tabela. ")), - v("div", jn, [ - la(v("select", { - "onUpdate:modelValue": a[1] || (a[1] = (t) => e.colunaParaAdicionar = t), + ])) : (S(), j("div", qb, " Nenhum filtro configurado na tabela. ")), + D("div", Gb, [ + ka(D("select", { + "onUpdate:modelValue": n[1] || (n[1] = (a) => e.colunaParaAdicionar = a), class: "eli-tabela-modal-filtro__select", disabled: !e.opcoesParaAdicionar.length }, [ - a[8] || (a[8] = v("option", { + n[8] || (n[8] = D("option", { disabled: "", value: "" }, "Selecione um filtro…", -1)), - (c(!0), $(ue, null, pe(e.opcoesParaAdicionar, (t) => (c(), $("option", { - key: String(t.coluna), - value: String(t.coluna) - }, F(e.rotuloDoFiltro(t)), 9, Hn))), 128)) - ], 8, zn), [ - [Ma, e.colunaParaAdicionar] + (S(!0), j(De, null, Ee(e.opcoesParaAdicionar, (a) => (S(), j("option", { + key: String(a.coluna), + value: String(a.coluna) + }, G(e.rotuloDoFiltro(a)), 9, Xb))), 128)) + ], 8, Hb), [ + [Lf, e.colunaParaAdicionar] ]), - v("button", { + D("button", { type: "button", class: "eli-tabela-modal-filtro__botao", - onClick: a[2] || (a[2] = (...t) => e.adicionar && e.adicionar(...t)), + onClick: n[2] || (n[2] = (...a) => e.adicionar && e.adicionar(...a)), disabled: !e.colunaParaAdicionar - }, " Adicionar ", 8, Un) + }, " Adicionar ", 8, Qb) ]) ]), - v("footer", Yn, [ - v("button", { + D("footer", e_, [ + D("button", { type: "button", class: "eli-tabela-modal-filtro__botao eli-tabela-modal-filtro__botao--sec", - onClick: a[3] || (a[3] = (...t) => e.emitLimpar && e.emitLimpar(...t)) + onClick: n[3] || (n[3] = (...a) => e.emitLimpar && e.emitLimpar(...a)) }, " Limpar "), - v("button", { + D("button", { type: "button", class: "eli-tabela-modal-filtro__botao eli-tabela-modal-filtro__botao--sec", - onClick: a[4] || (a[4] = (...t) => e.emitFechar && e.emitFechar(...t)) + onClick: n[4] || (n[4] = (...a) => e.emitFechar && e.emitFechar(...a)) }, " Cancelar "), - v("button", { + D("button", { type: "button", class: "eli-tabela-modal-filtro__botao eli-tabela-modal-filtro__botao--prim", - onClick: a[5] || (a[5] = (...t) => e.emitSalvar && e.emitSalvar(...t)) + onClick: n[5] || (n[5] = (...a) => e.emitSalvar && e.emitSalvar(...a)) }, " Aplicar ") ]) ]) - ])) : Q("", !0); + ])) : pe("", !0); } -const Jn = /* @__PURE__ */ L(Pn, [["render", Rn]]), Wn = "eli:tabela"; -function ga(e) { - return `${Wn}:${e}:colunas`; -} -function $a(e) { - if (!e || typeof e != "object") - return { visiveis: [], invisiveis: [] }; - const a = e, o = Array.isArray(a.visiveis) ? a.visiveis.filter((i) => typeof i == "string") : [], r = Array.isArray(a.invisiveis) ? a.invisiveis.filter((i) => typeof i == "string") : []; - return { visiveis: o, invisiveis: r }; -} -function na(e) { - try { - const a = window.localStorage.getItem(ga(e)); - return a ? $a(JSON.parse(a)) : { visiveis: [], invisiveis: [] }; - } catch { - return { visiveis: [], invisiveis: [] }; +const n_ = /* @__PURE__ */ oe(Rb, [["render", t_]]), r_ = ie({ + name: "EliTabelaPaginacao", + props: { + pagina: { + type: Number, + required: !0 + }, + totalPaginas: { + type: Number, + required: !0 + }, + maximoBotoes: { + type: Number, + required: !1 + }, + acoes: { + type: Array, + required: !1, + default: () => [] + }, + parametrosConsulta: { + // biome-ignore lint/suspicious/noExplicitAny: dynamic params + type: Object, + required: !1 + } + }, + emits: { + alterar(e) { + return Number.isFinite(e); + } + }, + setup(e, { emit: n }) { + const r = N(() => { + const l = e.maximoBotoes; + return typeof l == "number" && l >= 5 ? Math.floor(l) : 7; + }), o = N(() => { + const l = e.totalPaginas, s = e.pagina, d = r.value, m = [], p = (y) => { + m.push({ + label: String(y), + pagina: y, + ativo: y === s + }); + }, g = () => { + m.push({ label: "…", ehEllipsis: !0 }); + }; + if (l <= d) { + for (let y = 1; y <= l; y += 1) + p(y); + return m; + } + const f = Math.max(3, d - 2); + let h = Math.max(2, s - Math.floor(f / 2)), b = h + f - 1; + b >= l && (b = l - 1, h = b - f + 1), p(1), h > 2 && g(); + for (let y = h; y <= b; y += 1) + p(y); + return b < l - 1 && g(), p(l), m; + }); + function t(l) { + if (!l) + return; + const s = Math.min(Math.max(1, l), e.totalPaginas); + s !== e.pagina && n("alterar", s); + } + const i = N(() => e.pagina <= 1), a = N( + () => e.pagina >= e.totalPaginas + ), u = N(() => e.pagina), c = N(() => e.totalPaginas); + return { + botoes: o, + irParaPagina: t, + anteriorDesabilitado: i, + proximaDesabilitada: a, + paginaAtual: u, + totalPaginasExibidas: c + }; } +}), i_ = { class: "eli-tabela__rodape" }, o_ = { + key: 0, + class: "eli-tabela__acoes-inferiores", + style: { "margin-right": "auto" } +}, a_ = ["onClick"], u_ = { class: "eli-tabela__acoes-cabecalho-rotulo" }, l_ = { + key: 1, + class: "eli-tabela__paginacao", + role: "navigation", + "aria-label": "Paginação de resultados" +}, c_ = ["disabled"], s_ = { + key: 0, + class: "eli-tabela__pagina-ellipsis", + "aria-hidden": "true" +}, d_ = ["disabled", "aria-current", "aria-label", "onClick"], f_ = ["disabled"]; +function m_(e, n, r, o, t, i) { + return S(), j("div", i_, [ + e.acoes.length > 0 ? (S(), j("div", o_, [ + (S(!0), j(De, null, Ee(e.acoes, (a, u) => (S(), j("button", { + key: `${a.rotulo}-${u}`, + type: "button", + class: "eli-tabela__acao-inferior", + style: zn(a.cor ? { borderColor: a.cor, color: a.cor } : void 0), + onClick: (c) => a.acao(e.parametrosConsulta) + }, [ + a.icone ? (S(), fe(at(a.icone), { + key: 0, + class: "eli-tabela__acoes-cabecalho-icone", + size: 16, + "stroke-width": 2 + })) : pe("", !0), + D("span", u_, G(a.rotulo), 1) + ], 12, a_))), 128)) + ])) : pe("", !0), + e.totalPaginasExibidas > 1 ? (S(), j("nav", l_, [ + D("button", { + type: "button", + class: "eli-tabela__pagina-botao", + disabled: e.anteriorDesabilitado, + "aria-label": "Página anterior", + onClick: n[0] || (n[0] = (a) => e.irParaPagina(e.paginaAtual - 1)) + }, " << ", 8, c_), + (S(!0), j(De, null, Ee(e.botoes, (a, u) => (S(), j(De, { + key: `${a.label}-${u}` + }, [ + a.ehEllipsis ? (S(), j("span", s_, G(a.label), 1)) : (S(), j("button", { + key: 1, + type: "button", + class: lt(["eli-tabela__pagina-botao", a.ativo ? "eli-tabela__pagina-botao--ativo" : void 0]), + disabled: a.ativo, + "aria-current": a.ativo ? "page" : void 0, + "aria-label": `Ir para página ${a.label}`, + onClick: (c) => e.irParaPagina(a.pagina) + }, G(a.label), 11, d_)) + ], 64))), 128)), + D("button", { + type: "button", + class: "eli-tabela__pagina-botao", + disabled: e.proximaDesabilitada, + "aria-label": "Próxima página", + onClick: n[1] || (n[1] = (a) => e.irParaPagina(e.paginaAtual + 1)) + }, " >> ", 8, f_) + ])) : pe("", !0) + ]); } -function Zn(e, a) { - try { - window.localStorage.setItem(ga(e), JSON.stringify($a(a))); - } catch { - } -} -function Re(e) { +const v_ = /* @__PURE__ */ oe(r_, [["render", m_]]); +function Eo(e) { return `eli_tabela:${e}:filtro_avancado`; } -function ra(e) { +function _a(e) { try { - const a = localStorage.getItem(Re(e)); - if (!a) return []; - const o = JSON.parse(a); - return Array.isArray(o) ? o : []; + const n = localStorage.getItem(Eo(e)); + if (!n) return []; + const r = JSON.parse(n); + return Array.isArray(r) ? r : ( + // biome-ignore lint/suspicious/noExplicitAny: dynamic cast + [] + ); } catch { return []; } } -function Xn(e, a) { +function p_(e, n) { try { - localStorage.setItem(Re(e), JSON.stringify(a ?? [])); + localStorage.setItem(Eo(e), JSON.stringify(n ?? [])); } catch { } } -function Gn(e) { +function g_(e) { try { - localStorage.removeItem(Re(e)); + localStorage.removeItem(Eo(e)); } catch { } } -const Kn = I({ +const h_ = ie({ name: "EliTabela", inheritAttrs: !1, components: { - EliTabelaCabecalho: St, - EliTabelaEstados: Pt, - EliTabelaDebug: qt, - EliTabelaHead: Jt, - EliTabelaBody: No, - EliTabelaMenuAcoes: Uo, - EliTabelaPaginacao: Ko, - EliTabelaModalColunas: dn, - EliTabelaModalFiltroAvancado: Jn + EliTabelaCabecalho: Q$, + EliTabelaEstados: sb, + EliTabelaDebug: rb, + EliTabelaHead: _b, + EliTabelaBody: F$, + EliTabelaMenuAcoes: zb, + EliTabelaPaginacao: v_, + EliTabelaModalColunas: Mb, + EliTabelaModalFiltroAvancado: n_ }, props: { /** Configuração principal da tabela (colunas, consulta e ações) */ tabela: { + // biome-ignore lint/suspicious/noExplicitAny: dynamic table type: Object, required: !0 } }, setup(e) { - const o = O(!1), r = O(null), i = O([]), f = O(0), t = O([]), n = O(null), d = O(null), l = O({ top: 0, left: 0 }), u = O(""), b = O(1), k = O(null), D = O("asc"), y = O(!1), s = O(ra(e.tabela.nome)); - function _() { - y.value = !0; + const r = H(!1), o = H(null), t = H([]), i = H(0), a = H([]), u = H(null), c = H( + null + ), l = H({ top: 0, left: 0 }), s = H(""), d = H(1), m = H(null), p = H("asc"), g = H(!1), f = H( + // biome-ignore lint/suspicious/noExplicitAny: dynamic load + _a(e.tabela.nome) + ); + function h() { + g.value = !0; } - function g() { - y.value = !1; + function b() { + g.value = !1; } - function E() { - s.value = [], Gn(e.tabela.nome), y.value = !1, u.value = "", b.value !== 1 ? b.value = 1 : $e(); + function y() { + f.value = [], g_(e.tabela.nome), g.value = !1, s.value = "", d.value !== 1 ? d.value = 1 : Je(); } - function Z(A) { - s.value = A ?? [], Xn(e.tabela.nome, A ?? []), y.value = !1, u.value = "", b.value !== 1 ? b.value = 1 : $e(); + function C(E) { + f.value = E ?? [], p_(e.tabela.nome, E ?? []), g.value = !1, s.value = "", d.value !== 1 ? d.value = 1 : Je(); } - const oe = S(() => { - const A = e.tabela.filtroAvancado ?? []; - return (s.value ?? []).filter((P) => P && P.coluna !== void 0).map((P) => { - const z = A.find((H) => String(H.coluna) === String(P.coluna)); - return z ? { - coluna: String(z.coluna), - operador: z.operador, - valor: P.valor + const B = N(() => { + const E = e.tabela.filtroAvancado ?? []; + return (f.value ?? []).filter((W) => W && W.coluna !== void 0).map((W) => { + const X = E.find((ee) => String(ee.coluna) === String(W.coluna)); + return X ? { + coluna: String(X.coluna), + // biome-ignore lint/suspicious/noExplicitAny: dynamic operator + operador: X.operador, + // biome-ignore lint/suspicious/noExplicitAny: dynamic value + valor: W.valor } : null; }).filter(Boolean); - }), R = S(() => e.tabela), X = S(() => !!e.tabela.mostrarCaixaDeBusca), le = S(() => e.tabela.acoesTabela ?? []), j = S(() => le.value.length > 0), be = O(!1), q = O( - na(e.tabela.nome) - ), w = O({}), Se = S(() => e.tabela.colunas.map((A) => A.rotulo)), Pe = S(() => { - var re, ie; - const A = e.tabela.colunas, z = (((re = q.value.visiveis) == null ? void 0 : re.length) ?? 0) > 0 || (((ie = q.value.invisiveis) == null ? void 0 : ie.length) ?? 0) > 0 ? q.value.invisiveis ?? [] : A.filter((J) => J.visivel === !1).map((J) => J.rotulo), H = new Set(z), fe = A.filter((J) => H.has(J.rotulo)), de = z, ye = /* @__PURE__ */ new Map(); - for (const J of fe) - ye.has(J.rotulo) || ye.set(J.rotulo, J); - const ee = []; - for (const J of de) { - const ve = ye.get(J); - ve && ee.push(ve); + }), A = N(() => e.tabela), U = N( + () => !!e.tabela.mostrarCaixaDeBusca + ), I = N( + () => (e.tabela.acoesTabela ?? []).filter((E) => E.posicao === "superior") + ), _ = N( + () => (e.tabela.acoesTabela ?? []).filter((E) => E.posicao === "inferior") + ), Y = N(() => I.value.length > 0), L = N(() => _.value.length > 0), Z = N(() => { + const E = Math.max(1, ve.value), X = { + offSet: (d.value - 1) * E, + limit: E + }, ee = (s.value ?? "").trim(); + if (ee) + X.texto_busca = ee; + else { + const be = B.value; + be.length && (X.filtros = be); } - for (const J of fe) - ee.includes(J) || ee.push(J); - return ee; - }), M = S(() => Pe.value.length > 0), h = S(() => { - var J, ve; - const A = e.tabela.colunas, P = Se.value, z = (((J = q.value.visiveis) == null ? void 0 : J.length) ?? 0) > 0 || (((ve = q.value.invisiveis) == null ? void 0 : ve.length) ?? 0) > 0, H = z ? q.value.invisiveis ?? [] : e.tabela.colunas.filter((Y) => Y.visivel === !1).map((Y) => Y.rotulo), fe = new Set(H), de = P.filter((Y) => !fe.has(Y)), ye = new Set(de), ee = z ? q.value.visiveis ?? [] : [], re = []; - for (const Y of ee) - ye.has(Y) && re.push(Y); - for (const Y of de) - re.includes(Y) || re.push(Y); - const ie = /* @__PURE__ */ new Map(); - for (const Y of A) - ie.has(Y.rotulo) || ie.set(Y.rotulo, Y); - return re.map((Y) => ie.get(Y)).filter(Boolean); - }), p = S(() => h.value.length + (ne.value ? 1 : 0) + (M.value ? 1 : 0)); - function C() { - be.value = !0; + return m.value && (X.coluna_ordem = m.value, X.direcao_ordem = p.value), X; + }), le = H(!1), ne = H( + fa(e.tabela.nome) + ), T = H({}), O = N( + () => e.tabela.colunas.map((E) => E.rotulo) + ), w = N(() => { + var ze, Oe; + const E = e.tabela.colunas, X = (((ze = ne.value.visiveis) == null ? void 0 : ze.length) ?? 0) > 0 || (((Oe = ne.value.invisiveis) == null ? void 0 : Oe.length) ?? 0) > 0 ? ne.value.invisiveis ?? [] : E.filter((me) => me.visivel === !1).map((me) => me.rotulo), ee = new Set(X), be = E.filter((me) => ee.has(me.rotulo)), Te = X, Ve = /* @__PURE__ */ new Map(); + for (const me of be) + Ve.has(me.rotulo) || Ve.set(me.rotulo, me); + const _e = []; + for (const me of Te) { + const Le = Ve.get(me); + Le && _e.push(Le); + } + for (const me of be) + _e.includes(me) || _e.push(me); + return _e; + }), P = N( + () => w.value.length > 0 + ), x = N(() => { + var me, Le; + const E = e.tabela.colunas, W = O.value, X = (((me = ne.value.visiveis) == null ? void 0 : me.length) ?? 0) > 0 || (((Le = ne.value.invisiveis) == null ? void 0 : Le.length) ?? 0) > 0, ee = X ? ne.value.invisiveis ?? [] : ( + // biome-ignore lint/suspicious/noExplicitAny: dynamic column + e.tabela.colunas.filter((ce) => ce.visivel === !1).map((ce) => ce.rotulo) + ), be = new Set(ee), Te = W.filter( + (ce) => !be.has(ce) + ), Ve = new Set(Te), _e = X ? ne.value.visiveis ?? [] : [], ze = []; + for (const ce of _e) + Ve.has(ce) && ze.push(ce); + for (const ce of Te) + ze.includes(ce) || ze.push(ce); + const Oe = /* @__PURE__ */ new Map(); + for (const ce of E) + Oe.has(ce.rotulo) || Oe.set(ce.rotulo, ce); + return ze.map((ce) => Oe.get(ce)).filter(Boolean); + }), J = N(() => x.value.length + (et.value ? 1 : 0) + (P.value ? 1 : 0)); + function V() { + le.value = !0; } - function m() { - be.value = !1; + function Q() { + le.value = !1; } - function B(A) { - q.value = A, Zn(e.tabela.nome, A), be.value = !1, w.value = {}; + function de(E) { + ne.value = E, Gh(e.tabela.nome, E), le.value = !1, T.value = {}; } - function T(A) { - const P = !!w.value[A]; - w.value = { - ...w.value, - [A]: !P + function ge(E) { + const W = !!T.value[E]; + T.value = { + ...T.value, + [E]: !W }; } - const V = S(() => { - const A = e.tabela.registros_por_consulta; - return typeof A == "number" && A > 0 ? Math.floor(A) : 10; - }), U = S(() => { - const A = V.value; - if (!A || A <= 0) return 1; - const P = f.value ?? 0; - return P ? Math.max(1, Math.ceil(P / A)) : 1; - }), G = S(() => i.value ?? []), x = S(() => f.value ?? 0), ne = S(() => (e.tabela.acoesLinha ?? []).length > 0), _e = S(() => (e.tabela.filtroAvancado ?? []).length > 0); - let ce = 0; - function Ee(A) { - var ee, re, ie, J, ve, Y; - const P = A.getBoundingClientRect(), z = 8, H = ((ie = (re = (ee = d.value) == null ? void 0 : ee.menuEl) == null ? void 0 : re.value) == null ? void 0 : ie.offsetHeight) ?? 0, fe = ((Y = (ve = (J = d.value) == null ? void 0 : J.menuEl) == null ? void 0 : ve.value) == null ? void 0 : Y.offsetWidth) ?? 180; - let de = P.bottom + z; - const ye = P.right - fe; - H && de + H > window.innerHeight - z && (de = P.top - z - H), l.value = { - top: Math.max(z, Math.round(de)), - left: Math.max(z, Math.round(ye)) + const ve = N(() => { + const E = e.tabela.registros_por_consulta; + return typeof E == "number" && E > 0 ? Math.floor(E) : 10; + }), we = N(() => { + const E = ve.value; + if (!E || E <= 0) return 1; + const W = i.value ?? 0; + return W ? Math.max(1, Math.ceil(W / E)) : 1; + }), Qe = N(() => t.value ?? []), Ke = N(() => i.value ?? 0), et = N(() => (e.tabela.acoesLinha ?? []).length > 0), We = N( + () => (e.tabela.filtroAvancado ?? []).length > 0 + ); + let he = 0; + function Fe(E) { + var _e, ze, Oe, me, Le, ce; + const W = E.getBoundingClientRect(), X = 8, ee = ((Oe = (ze = (_e = c.value) == null ? void 0 : _e.menuEl) == null ? void 0 : ze.value) == null ? void 0 : Oe.offsetHeight) ?? 0, be = ((ce = (Le = (me = c.value) == null ? void 0 : me.menuEl) == null ? void 0 : Le.value) == null ? void 0 : ce.offsetWidth) ?? 180; + let Te = W.bottom + X; + const Ve = W.right - be; + ee && Te + ee > window.innerHeight - X && (Te = W.top - X - ee), l.value = { + top: Math.max(X, Math.round(Te)), + left: Math.max(X, Math.round(Ve)) }; } - function he(A) { - var z, H; - if (n.value === null) return; - const P = A.target; - (H = (z = d.value) == null ? void 0 : z.menuEl) != null && H.value && d.value.menuEl.value.contains(P) || (n.value = null); + function tt(E) { + var X, ee, be; + if (u.value === null) return; + const W = E.target; + (be = (ee = (X = c.value) == null ? void 0 : X.menuEl) == null ? void 0 : ee.value) != null && be.contains(W) || (u.value = null); } - function te(A) { - if (A) { - if (k.value === A) { - D.value = D.value === "asc" ? "desc" : "asc", $e(); + function ht(E) { + if (E) { + if (m.value === E) { + p.value = p.value === "asc" ? "desc" : "asc", Je(); return; } - k.value = A, D.value = "asc", b.value !== 1 ? b.value = 1 : $e(); + m.value = E, p.value = "asc", d.value !== 1 ? d.value = 1 : Je(); } } - function ge(A) { - u.value !== A && (u.value = A, b.value !== 1 ? b.value = 1 : $e()); + function Uf(E) { + s.value !== E && (s.value = E, d.value !== 1 ? d.value = 1 : Je()); } - function ke(A) { - const P = Math.min(Math.max(1, A), U.value); - P !== b.value && (b.value = P); + function Tf(E) { + const W = Math.min(Math.max(1, E), we.value); + W !== d.value && (d.value = W); } - function De(A) { - const P = e.tabela.acoesLinha ?? [], z = t.value[A] ?? []; - return P.map((H, fe) => { - const de = H.exibir === void 0 ? !0 : typeof H.exibir == "boolean" ? H.exibir : !1; + function Po(E) { + const W = e.tabela.acoesLinha ?? [], X = a.value[E] ?? []; + return W.map((ee, be) => { + const Te = ee.exibir === void 0 ? !0 : typeof ee.exibir == "boolean" ? ee.exibir : !1; return { - acao: H, - indice: fe, - visivel: z[fe] ?? de + acao: ee, + indice: be, + visivel: X[be] ?? Te }; - }).filter((H) => H.visivel); + }).filter((ee) => ee.visivel); } - function Je(A) { - return De(A).length > 0; + function No(E) { + return Po(E).length > 0; } - function ya(A, P) { - if (!Je(A)) return; - if (n.value === A) { - n.value = null; + function Ef(E, W) { + if (!No(E)) return; + if (u.value === E) { + u.value = null; return; } - n.value = A; - const z = (P == null ? void 0 : P.currentTarget) ?? null; - z && (Ee(z), requestAnimationFrame(() => Ee(z))); + u.value = E; + const X = (W == null ? void 0 : W.currentTarget) ?? null; + X && (Fe(X), requestAnimationFrame(() => Fe(X))); } - async function $e() { - var de, ye; - const A = ++ce; - o.value = !0, r.value = null, t.value = [], n.value = null, w.value = {}; - const P = Math.max(1, V.value), H = { - offSet: (b.value - 1) * P, - limit: P - }, fe = (u.value ?? "").trim(); - if (fe) - H.texto_busca = fe; + async function Je() { + var Te, Ve; + const E = ++he; + r.value = !0, o.value = null, a.value = [], u.value = null, T.value = {}; + const W = Math.max(1, ve.value), ee = { + offSet: (d.value - 1) * W, + limit: W + }, be = (s.value ?? "").trim(); + if (be) + ee.texto_busca = be; else { - const ee = oe.value; - ee.length && (H.filtros = ee); + const _e = B.value; + _e.length && (ee.filtros = _e); } - k.value && (H.coluna_ordem = k.value, H.direcao_ordem = D.value); + m.value && (ee.coluna_ordem = m.value, ee.direcao_ordem = p.value); try { - const ee = e.tabela, re = await ee.consulta(H); - if (A !== ce) return; - if (re.cod !== pa.sucesso) { - i.value = [], f.value = 0, r.value = re.mensagem; + const _e = e.tabela, ze = await _e.consulta(ee); + if (E !== he) return; + if (ze.cod !== xf.sucesso) { + t.value = [], i.value = 0, o.value = ze.mensagem; return; } - const ie = ((de = re.valor) == null ? void 0 : de.valores) ?? [], J = ((ye = re.valor) == null ? void 0 : ye.quantidade) ?? ie.length; - i.value = ie, f.value = Number(J) || 0; - const ve = Math.max(1, Math.ceil((f.value || 0) / P)); - b.value > ve && (b.value = ve); - const Y = ee.acoesLinha ?? []; - if (!Y.length) { - t.value = []; - return; - } - const _a = ie.map( - () => Y.map((Oe) => Oe.exibir === void 0 ? !0 : typeof Oe.exibir == "boolean" ? Oe.exibir : !1) + const Oe = ((Te = ze.valor) == null ? void 0 : Te.valores) ?? [], me = ((Ve = ze.valor) == null ? void 0 : Ve.quantidade) ?? Oe.length; + t.value = Oe, i.value = Number(me) || 0; + const Le = Math.max( + 1, + Math.ceil((i.value || 0) / W) ); - t.value = _a; - const Ea = await Promise.all( - ie.map( - async (Oe) => Promise.all( - Y.map(async (Ve) => { - if (Ve.exibir === void 0) return !0; - if (typeof Ve.exibir == "boolean") return Ve.exibir; + d.value > Le && (d.value = Le); + const ce = _e.acoesLinha ?? []; + if (!ce.length) { + a.value = []; + return; + } + const Pf = Oe.map( + () => ce.map((jt) => jt.exibir === void 0 ? !0 : typeof jt.exibir == "boolean" ? jt.exibir : !1) + ); + a.value = Pf; + const Nf = await Promise.all( + Oe.map( + async (jt) => Promise.all( + ce.map(async (sn) => { + if (sn.exibir === void 0) return !0; + if (typeof sn.exibir == "boolean") return sn.exibir; try { - const Ca = Ve.exibir(Oe); - return !!await Promise.resolve(Ca); + const Af = sn.exibir(jt); + return !!await Promise.resolve(Af); } catch { return !1; } @@ -2827,120 +13503,124 @@ const Kn = I({ ) ) ); - A === ce && (t.value = Ea); - } catch (ee) { - if (A !== ce) return; - i.value = [], f.value = 0, r.value = ee instanceof Error ? ee.message : "Erro ao carregar dados."; + E === he && (a.value = Nf); + } catch (_e) { + if (E !== he) return; + t.value = [], i.value = 0, o.value = _e instanceof Error ? _e.message : "Erro ao carregar dados."; } finally { - A === ce && (o.value = !1); + E === he && (r.value = !1); } } - return ia(() => { - document.addEventListener("click", he), $e(); - }), Ba(() => { - document.removeEventListener("click", he); - }), me( + return ya(() => { + document.addEventListener("click", tt), Je(); + }), Rf(() => { + document.removeEventListener("click", tt); + }), Re( () => e.tabela.mostrarCaixaDeBusca, - (A) => { - !A && u.value && (u.value = "", b.value !== 1 ? b.value = 1 : $e()); + (E) => { + !E && s.value && (s.value = "", d.value !== 1 ? d.value = 1 : Je()); } - ), me(b, (A, P) => { - A !== P && $e(); - }), me( + ), Re(d, (E, W) => { + E !== W && Je(); + }), Re( () => e.tabela, () => { - n.value = null, k.value = null, D.value = "asc", u.value = "", be.value = !1, y.value = !1, q.value = na(e.tabela.nome), s.value = ra(e.tabela.nome), w.value = {}, b.value !== 1 ? b.value = 1 : $e(); + u.value = null, m.value = null, p.value = "asc", s.value = "", le.value = !1, g.value = !1, ne.value = fa(e.tabela.nome), f.value = _a(e.tabela.nome), T.value = {}, d.value !== 1 ? d.value = 1 : Je(); } - ), me( + ), Re( () => e.tabela.registros_por_consulta, () => { - b.value !== 1 ? b.value = 1 : $e(); + d.value !== 1 ? d.value = 1 : Je(); } - ), me(i, () => { - n.value = null, w.value = {}; + ), Re(t, () => { + u.value = null, T.value = {}; }), { // state isDev: !1, - tabela: R, - carregando: o, - erro: r, - linhas: i, - linhasPaginadas: G, - filtrosAvancadosAtivos: oe, - quantidadeFiltrada: x, - quantidade: f, - menuAberto: n, - valorBusca: u, - paginaAtual: b, - colunaOrdenacao: k, - direcaoOrdenacao: D, - totalPaginas: U, - registrosPorConsulta: V, + tabela: A, + carregando: r, + erro: o, + linhas: t, + linhasPaginadas: Qe, + filtrosAvancadosAtivos: B, + quantidadeFiltrada: Ke, + quantidade: i, + menuAberto: u, + valorBusca: s, + paginaAtual: d, + colunaOrdenacao: m, + direcaoOrdenacao: p, + totalPaginas: we, + registrosPorConsulta: ve, // computed - exibirBusca: X, - exibirFiltroAvancado: _e, - acoesCabecalho: le, - temAcoesCabecalho: j, - temAcoes: ne, - totalColunas: p, - colunasEfetivas: h, - rotulosColunas: Se, - modalColunasAberto: be, - configColunas: q, - temColunasInvisiveis: M, - colunasInvisiveisEfetivas: Pe, - linhasExpandidas: w, - abrirModalColunas: C, - abrirModalFiltro: _, - fecharModalColunas: m, - salvarModalColunas: B, - modalFiltroAberto: y, - filtrosUi: s, - salvarFiltrosAvancados: Z, - limparFiltrosAvancados: E, - fecharModalFiltro: g, - alternarLinhaExpandida: T, + exibirBusca: U, + exibirFiltroAvancado: We, + acoesSuperiores: I, + temAcoesSuperiores: Y, + acoesInferiores: _, + temAcoesInferiores: L, + parametrosConsultaAtuais: Z, + temAcoes: et, + totalColunas: J, + colunasEfetivas: x, + rotulosColunas: O, + modalColunasAberto: le, + configColunas: ne, + temColunasInvisiveis: P, + colunasInvisiveisEfetivas: w, + linhasExpandidas: T, + abrirModalColunas: V, + abrirModalFiltro: h, + fecharModalColunas: Q, + salvarModalColunas: de, + modalFiltroAberto: g, + filtrosUi: f, + salvarFiltrosAvancados: C, + limparFiltrosAvancados: y, + fecharModalFiltro: b, + alternarLinhaExpandida: ge, // actions - alternarOrdenacao: te, - atualizarBusca: ge, - irParaPagina: ke, - acoesDisponiveisPorLinha: De, - possuiAcoes: Je, - toggleMenu: ya, + alternarOrdenacao: ht, + atualizarBusca: Uf, + irParaPagina: Tf, + acoesDisponiveisPorLinha: Po, + possuiAcoes: No, + toggleMenu: Ef, // popup - menuPopup: d, + menuPopup: c, menuPopupPos: l }; } -}), Qn = { class: "eli-tabela" }, xn = { class: "eli-tabela__table" }, er = { key: 0 }, ar = ["colspan"]; -function tr(e, a, o, r, i, f) { - const t = K("EliTabelaDebug"), n = K("EliTabelaCabecalho"), d = K("EliTabelaModalColunas"), l = K("EliTabelaModalFiltroAvancado"), u = K("EliTabelaHead"), b = K("EliTabelaEstados"), k = K("EliTabelaBody"), D = K("EliTabelaMenuAcoes"), y = K("EliTabelaPaginacao"); - return c(), $("div", Qn, [ - N(t, { +}), $_ = { class: "eli-tabela" }, b_ = { class: "eli-tabela__table" }, __ = { key: 0 }, y_ = ["colspan"]; +function k_(e, n, r, o, t, i) { + const a = $e("EliTabelaDebug"), u = $e("EliTabelaCabecalho"), c = $e("EliTabelaModalColunas"), l = $e("EliTabelaModalFiltroAvancado"), s = $e("EliTabelaHead"), d = $e("EliTabelaEstados"), m = $e("EliTabelaBody"), p = $e("EliTabelaMenuAcoes"), g = $e("EliTabelaPaginacao"); + return S(), j("div", $_, [ + re(a, { isDev: e.isDev, menuAberto: e.menuAberto, menuPopupPos: e.menuPopupPos }, { - default: ae(() => [ - v("div", null, "paginaAtual: " + F(e.paginaAtual), 1), - v("div", null, "limit: " + F(e.registrosPorConsulta), 1), - v("div", null, "texto_busca: " + F((e.valorBusca || "").trim()), 1), - v("div", null, "filtrosAvancadosAtivos: " + F(JSON.stringify(e.filtrosAvancadosAtivos)), 1), - v("div", null, "quantidadeTotal: " + F(e.quantidade), 1) + default: ye(() => [ + D("div", null, "paginaAtual: " + G(e.paginaAtual), 1), + D("div", null, "limit: " + G(e.registrosPorConsulta), 1), + D("div", null, "texto_busca: " + G((e.valorBusca || "").trim()), 1), + D("div", null, "filtrosAvancadosAtivos: " + G(JSON.stringify(e.filtrosAvancadosAtivos)), 1), + D("div", null, "quantidadeTotal: " + G(e.quantidade), 1) ]), _: 1 }, 8, ["isDev", "menuAberto", "menuPopupPos"]), - e.exibirBusca || e.temAcoesCabecalho ? (c(), W(n, { + e.exibirBusca || e.temAcoesSuperiores ? (S(), fe(u, { key: 0, exibirBusca: e.exibirBusca, exibirBotaoFiltroAvancado: e.exibirFiltroAvancado, valorBusca: e.valorBusca, - acoesCabecalho: e.acoesCabecalho, + acoesCabecalho: e.acoesSuperiores, + parametrosConsulta: e.parametrosConsultaAtuais, onBuscar: e.atualizarBusca, onColunas: e.abrirModalColunas, onFiltroAvancado: e.abrirModalFiltro - }, null, 8, ["exibirBusca", "exibirBotaoFiltroAvancado", "valorBusca", "acoesCabecalho", "onBuscar", "onColunas", "onFiltroAvancado"])) : Q("", !0), - N(d, { + }, null, 8, ["exibirBusca", "exibirBotaoFiltroAvancado", "valorBusca", "acoesCabecalho", "parametrosConsulta", "onBuscar", "onColunas", "onFiltroAvancado"])) : pe("", !0), + re(c, { aberto: e.modalColunasAberto, rotulosColunas: e.rotulosColunas, configInicial: e.configColunas, @@ -2948,7 +13628,7 @@ function tr(e, a, o, r, i, f) { onFechar: e.fecharModalColunas, onSalvar: e.salvarModalColunas }, null, 8, ["aberto", "rotulosColunas", "configInicial", "colunas", "onFechar", "onSalvar"]), - N(l, { + re(l, { aberto: e.modalFiltroAberto, filtrosBase: e.tabela.filtroAvancado ?? [], modelo: e.filtrosUi, @@ -2956,8 +13636,8 @@ function tr(e, a, o, r, i, f) { onLimpar: e.limparFiltrosAvancados, onSalvar: e.salvarFiltrosAvancados }, null, 8, ["aberto", "filtrosBase", "modelo", "onFechar", "onLimpar", "onSalvar"]), - v("table", xn, [ - N(u, { + D("table", b_, [ + re(s, { colunas: e.colunasEfetivas, temAcoes: e.temAcoes, temColunasInvisiveis: e.temColunasInvisiveis, @@ -2965,21 +13645,21 @@ function tr(e, a, o, r, i, f) { direcaoOrdenacao: e.direcaoOrdenacao, onAlternarOrdenacao: e.alternarOrdenacao }, null, 8, ["colunas", "temAcoes", "temColunasInvisiveis", "colunaOrdenacao", "direcaoOrdenacao", "onAlternarOrdenacao"]), - e.carregando || e.erro || !e.linhas.length ? (c(), $("tbody", er, [ - v("tr", null, [ - v("td", { + e.carregando || e.erro || !e.linhas.length ? (S(), j("tbody", __, [ + D("tr", null, [ + D("td", { colspan: e.totalColunas, style: { padding: "0" } }, [ - N(b, { + re(d, { carregando: e.carregando, erro: e.erro, mensagemVazio: e.tabela.mensagemVazio, style: { border: "none", "border-radius": "0" } }, null, 8, ["carregando", "erro", "mensagemVazio"]) - ], 8, ar) + ], 8, y_) ]) - ])) : (c(), W(k, { + ])) : (S(), fe(m, { key: 1, colunas: e.colunasEfetivas, colunasInvisiveis: e.colunasInvisiveisEfetivas, @@ -2993,41 +13673,141 @@ function tr(e, a, o, r, i, f) { alternarLinhaExpandida: e.alternarLinhaExpandida }, null, 8, ["colunas", "colunasInvisiveis", "temColunasInvisiveis", "linhasExpandidas", "linhas", "temAcoes", "menuAberto", "possuiAcoes", "toggleMenu", "alternarLinhaExpandida"])) ]), - N(D, { + re(p, { ref: "menuPopup", menuAberto: e.menuAberto, posicao: e.menuPopupPos, acoes: e.menuAberto === null ? [] : e.acoesDisponiveisPorLinha(e.menuAberto), linha: e.menuAberto === null ? null : e.linhasPaginadas[e.menuAberto], - onExecutar: a[0] || (a[0] = ({ acao: s, linha: _ }) => { - e.menuAberto = null, s.acao(_); + onExecutar: n[0] || (n[0] = ({ acao: f, linha: h }) => { + e.menuAberto = null, f.acao(h); }) }, null, 8, ["menuAberto", "posicao", "acoes", "linha"]), - e.totalPaginas > 1 && e.quantidadeFiltrada > 0 ? (c(), W(y, { + e.totalPaginas > 1 && e.quantidadeFiltrada > 0 || e.temAcoesInferiores ? (S(), fe(g, { key: 1, pagina: e.paginaAtual, totalPaginas: e.totalPaginas, maximoBotoes: e.tabela.maximo_botoes_paginacao, + acoes: e.acoesInferiores, + parametrosConsulta: e.parametrosConsultaAtuais, onAlterar: e.irParaPagina - }, null, 8, ["pagina", "totalPaginas", "maximoBotoes", "onAlterar"])) : Q("", !0) + }, null, 8, ["pagina", "totalPaginas", "maximoBotoes", "acoes", "parametrosConsulta", "onAlterar"])) : pe("", !0) ]); } -const or = /* @__PURE__ */ L(Kn, [["render", tr]]), vr = (e, a) => [e, a], mr = { +const S_ = /* @__PURE__ */ oe(h_, [["render", k_]]), C_ = (e, n) => [e, n], I_ = ie({ + name: "EliOlaMundo", + components: { + EliBotao: xa, + EliBadge: Ar, + EliEntradaTexto: To + }, + setup() { + const e = H(""), n = H(""), r = H(""), o = H(""), t = H(""); + return { + nome: e, + email: o, + documento: t, + telefone: r, + cep: n + }; + } +}), w_ = { class: "grid-example" }; +function z_(e, n, r, o, t, i) { + const a = $e("EliBadge"), u = $e("EliEntradaTexto"), c = $e("EliBotao"); + return S(), fe(Hf, null, { + default: ye(() => [ + re(Sa, { + class: "mx-auto", + max_width: "400" + }, { + default: ye(() => [ + re(Ia, null, { + default: ye(() => [ + re(a, { + badge: "Novo", + "offset-x": "-15", + location: "right center" + }, { + default: ye(() => [...n[5] || (n[5] = [ + pn(" Olá Mundo! ", -1) + ])]), + _: 1 + }) + ]), + _: 1 + }), + re(wa, null, { + default: ye(() => [ + n[6] || (n[6] = pn(" Este é um componente de exemplo integrado com Vuetify. ", -1)), + D("div", w_, [ + re(u, { + value: e.nome, + "onUpdate:value": n[0] || (n[0] = (l) => e.nome = l), + opcoes: { rotulo: "Nome", placeholder: "Digite o nome" }, + density: "compact" + }, null, 8, ["value"]), + re(u, { + value: e.telefone, + "onUpdate:value": n[1] || (n[1] = (l) => e.telefone = l), + opcoes: { rotulo: "Telefone", formato: "telefone" } + }, null, 8, ["value"]), + re(u, { + value: e.cep, + "onUpdate:value": n[2] || (n[2] = (l) => e.cep = l), + opcoes: { rotulo: "CEP", placeholder: "00000-000", formato: "cep" } + }, null, 8, ["value"]), + re(u, { + value: e.documento, + "onUpdate:value": n[3] || (n[3] = (l) => e.documento = l), + opcoes: { rotulo: "CPF / CNPJ", formato: "cpfCnpj" } + }, null, 8, ["value"]), + re(u, { + value: e.email, + "onUpdate:value": n[4] || (n[4] = (l) => e.email = l), + opcoes: { rotulo: "Email", placeholder: "email@exemplo.com", formato: "email" } + }, null, 8, ["value"]) + ]) + ]), + _: 1 + }), + re(za, null, { + default: ye(() => [ + re(c, { + color: "primary", + variant: "elevated", + block: "" + }, { + default: ye(() => [...n[7] || (n[7] = [ + pn(" Botão Vuetify ", -1) + ])]), + _: 1 + }) + ]), + _: 1 + }) + ]), + _: 1 + }) + ]), + _: 1 + }); +} +const x_ = /* @__PURE__ */ oe(I_, [["render", z_]]), M_ = { install(e) { - e.component("EliOlaMundo", et), e.component("EliBotao", fa), e.component("EliBadge", Ue), e.component("EliCartao", rt), e.component("EliTabela", or), e.component("EliEntradaTexto", Ye), e.component("EliEntradaNumero", ba), e.component("EliEntradaDataHora", ha), e.component("EliEntradaParagrafo", kn), e.component("EliEntradaSelecao", Bn); + e.component("EliOlaMundo", x_), e.component("EliBotao", xa), e.component("EliBadge", Ar), e.component("EliCartao", am), e.component("EliTabela", S_), e.component("EliEntradaTexto", To), e.component("EliEntradaNumero", zf), e.component("EliEntradaDataHora", wf), e.component("EliEntradaParagrafo", Zh), e.component("EliEntradaSelecao", Fh); } }; export { - Ue as EliBadge, - fa as EliBotao, - rt as EliCartao, - ha as EliEntradaDataHora, - ba as EliEntradaNumero, - kn as EliEntradaParagrafo, - Bn as EliEntradaSelecao, - Ye as EliEntradaTexto, - et as EliOlaMundo, - or as EliTabela, - vr as celulaTabela, - mr as default + Ar as EliBadge, + xa as EliBotao, + am as EliCartao, + wf as EliEntradaDataHora, + zf as EliEntradaNumero, + Zh as EliEntradaParagrafo, + Fh as EliEntradaSelecao, + To as EliEntradaTexto, + x_ as EliOlaMundo, + S_ as EliTabela, + C_ as celulaTabela, + M_ as default }; diff --git a/dist/eli-vue.umd.js b/dist/eli-vue.umd.js index 3e16275..f77f1a8 100644 --- a/dist/eli-vue.umd.js +++ b/dist/eli-vue.umd.js @@ -1,77 +1,116 @@ -(function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode('@font-face{font-family:Google Sans;font-style:normal;font-weight:100 900;font-display:swap;src:url(https://paiol.idz.one/estaticos/GoogleSans/GoogleSans-VariableFont_GRAD,opsz,wght.ttf) format("truetype")}@font-face{font-family:Google Sans;font-style:italic;font-weight:100 900;font-display:swap;src:url(https://paiol.idz.one/estaticos/GoogleSans/GoogleSans-Italic-VariableFont_GRAD,opsz,wght.ttf) format("truetype")}:root{--eli-font-family: "Google Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;--v-font-family: var(--eli-font-family)}html,body{font-family:var(--eli-font-family)}:where([class^=eli-],[class*=" eli-"]){font-family:var(--eli-font-family);--v-font-family: var(--eli-font-family)}button,input,select,textarea{font-family:inherit}.eli-badge .v-badge__badge,.eli-badge .v-badge__content{border-radius:var(--eli-badge-radius)!important}.eli-cartao{border-radius:12px}.eli-cartao__titulo{display:flex;align-items:center;justify-content:space-between;gap:12px}.eli-cartao__titulo-texto{min-width:0}.eli-cartao__conteudo{padding-top:8px}.eli-cartao__acoes{padding-top:0}.eli-cartao--cancelado{opacity:.85}.eli-tabela__busca{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.eli-tabela__busca-input-wrapper{display:inline-flex;align-items:stretch;border-radius:var(--eli-tabela-cabecalho-controle-radius, 8px);border:1px solid rgba(15,23,42,.15);overflow:hidden;background:#fff;height:var(--eli-tabela-cabecalho-controle-altura, 34px)}.eli-tabela__busca-input{height:100%;padding:0 12px;border:none;outline:none;font-size:.875rem;color:#0f172ad9}.eli-tabela__busca-input::-webkit-search-cancel-button,.eli-tabela__busca-input::-webkit-search-decoration{-webkit-appearance:none}.eli-tabela__busca-input::placeholder{color:#6b7280d9}.eli-tabela__busca-botao{display:inline-flex;align-items:center;justify-content:center;border:none;background:#2563eb1f;color:#2563ebf2;height:100%;padding:0 12px;cursor:pointer;transition:background-color .2s ease,color .2s ease}.eli-tabela__busca-botao-icone{display:block}.eli-tabela__busca-botao:hover,.eli-tabela__busca-botao:focus-visible{background:#2563eb33;color:#2563eb}.eli-tabela__busca-botao:focus-visible{outline:2px solid rgba(37,99,235,.35);outline-offset:2px}.eli-tabela__busca-grupo{display:inline-flex;align-items:center;gap:8px;flex-wrap:wrap}.eli-tabela__texto-truncado{display:inline-block;max-width:260px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;vertical-align:top}.eli-tabela__celula-tags{display:flex;flex-wrap:wrap;gap:6px;align-items:center}.eli-tabela__celula-tag{cursor:default}.eli-tabela__celula-tag-icone{margin-right:6px}.eli-tabela__celula-link{all:unset;display:inline;color:#2563eb;cursor:pointer;text-decoration:underline;text-decoration-color:#2563eb8c;text-underline-offset:2px}.eli-tabela__celula-link:hover{color:#1d4ed8;text-decoration-color:#1d4ed8bf}.eli-tabela__celula-link:focus-visible{outline:2px solid rgba(37,99,235,.45);outline-offset:2px;border-radius:4px}.eli-tabela__paginacao{display:flex;align-items:center;justify-content:flex-end;gap:12px;margin-top:12px;flex-wrap:wrap}.eli-tabela__pagina-botao{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:6px 14px;border-radius:9999px;border:1px solid rgba(15,23,42,.12);background:#fff;font-size:.875rem;font-weight:500;color:#0f172ad1;cursor:pointer;transition:background-color .2s ease,border-color .2s ease,color .2s ease}.eli-tabela__pagina-botao:hover,.eli-tabela__pagina-botao:focus-visible{background-color:#2563eb14;border-color:#2563eb66;color:#2563ebf2}.eli-tabela__pagina-botao:focus-visible{outline:2px solid rgba(37,99,235,.45);outline-offset:2px}.eli-tabela__pagina-botao:disabled{cursor:default;opacity:.5;background:#94a3b814;border-color:#94a3b82e;color:#475569bf}.eli-tabela__pagina-botao--ativo{background:#2563eb1f;border-color:#2563eb66;color:#2563ebf2}.eli-tabela__pagina-ellipsis{display:inline-flex;align-items:center;justify-content:center;width:32px;color:#6b7280d9;font-size:.9rem}.eli-tabela-modal-colunas__overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172a59;z-index:4000;display:flex;align-items:center;justify-content:center;padding:16px}.eli-tabela-modal-colunas__modal{width:min(860px,100%);background:#fff;border-radius:14px;border:1px solid rgba(15,23,42,.1);box-shadow:0 18px 60px #0f172a40;overflow:hidden}.eli-tabela-modal-colunas__header{display:flex;align-items:center;justify-content:space-between;padding:14px 16px;border-bottom:1px solid rgba(15,23,42,.08)}.eli-tabela-modal-colunas__titulo{font-size:1rem;margin:0}.eli-tabela-modal-colunas__fechar{width:34px;height:34px;border-radius:10px;border:none;background:transparent;cursor:pointer;font-size:22px;line-height:1;color:#0f172acc}.eli-tabela-modal-colunas__fechar:hover,.eli-tabela-modal-colunas__fechar:focus-visible{background:#0f172a0f}.eli-tabela-modal-colunas__conteudo{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:16px}.eli-tabela-modal-colunas__coluna-titulo{font-weight:600;margin-bottom:8px}.eli-tabela-modal-colunas__lista{min-height:260px;border:1px solid rgba(15,23,42,.12);border-radius:12px;padding:10px;background:#0f172a03}.eli-tabela-modal-colunas__item{display:flex;align-items:center;gap:10px;padding:10px;border-radius:10px;border:1px solid rgba(15,23,42,.08);background:#fff;cursor:grab;-webkit-user-select:none;user-select:none}.eli-tabela-modal-colunas__item+.eli-tabela-modal-colunas__item{margin-top:8px}.eli-tabela-modal-colunas__item:active{cursor:grabbing}.eli-tabela-modal-colunas__item-handle{color:#0f172a8c;font-size:14px}.eli-tabela-modal-colunas__item-texto{flex:1;min-width:0}.eli-tabela-modal-colunas__footer{display:flex;justify-content:flex-end;gap:8px;padding:14px 16px;border-top:1px solid rgba(15,23,42,.08)}.eli-tabela-modal-colunas__botao{height:34px;padding:0 14px;border-radius:10px;border:1px solid rgba(15,23,42,.12);background:#fff;cursor:pointer;font-size:.9rem}.eli-tabela-modal-colunas__botao--sec:hover,.eli-tabela-modal-colunas__botao--sec:focus-visible{background:#0f172a0f}.eli-tabela-modal-colunas__botao--prim{border:none;background:#2563ebf2;color:#fff}.eli-tabela-modal-colunas__botao--prim:hover,.eli-tabela-modal-colunas__botao--prim:focus-visible{background:#2563eb}@media(max-width:720px){.eli-tabela-modal-colunas__conteudo{grid-template-columns:1fr}}.eli-entrada__prefixo,.eli-entrada__sufixo{opacity:.75;font-size:.9em;white-space:nowrap}.eli-entrada__prefixo{margin-right:6px}.eli-entrada__sufixo{margin-left:6px}.eli-data-hora{width:100%}.eli-tabela-modal-filtro__overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172a59;z-index:4000;display:flex;align-items:center;justify-content:center;padding:16px}.eli-tabela-modal-filtro__modal{width:min(980px,100%);background:#fff;border-radius:14px;border:1px solid rgba(15,23,42,.1);box-shadow:0 18px 60px #0f172a40;overflow:hidden}.eli-tabela-modal-filtro__header{display:flex;align-items:center;justify-content:space-between;padding:14px 16px;border-bottom:1px solid rgba(15,23,42,.08)}.eli-tabela-modal-filtro__titulo{font-size:1rem;margin:0}.eli-tabela-modal-filtro__fechar{width:34px;height:34px;border-radius:10px;border:none;background:transparent;cursor:pointer;font-size:22px;line-height:1;color:#0f172acc}.eli-tabela-modal-filtro__fechar:hover,.eli-tabela-modal-filtro__fechar:focus-visible{background:#0f172a0f}.eli-tabela-modal-filtro__conteudo{padding:16px}.eli-tabela-modal-filtro__vazio{opacity:.75;font-size:.9rem}.eli-tabela-modal-filtro__lista{display:grid;gap:10px}.eli-tabela-modal-filtro__linha{display:grid;grid-template-columns:1fr 34px;gap:10px;align-items:center}.eli-tabela-modal-filtro__select{height:34px;border-radius:10px;border:1px solid rgba(15,23,42,.12);padding:0 10px;background:#fff}.eli-tabela-modal-filtro__entrada{min-width:0}.eli-tabela-modal-filtro__remover{width:34px;height:34px;border-radius:10px;border:1px solid rgba(15,23,42,.12);background:#fff;cursor:pointer;font-size:18px;line-height:1;color:#0f172acc}.eli-tabela-modal-filtro__remover:hover,.eli-tabela-modal-filtro__remover:focus-visible{background:#0f172a0f}.eli-tabela-modal-filtro__acoes{margin-top:12px}.eli-tabela-modal-filtro__footer{display:flex;justify-content:flex-end;gap:8px;padding:14px 16px;border-top:1px solid rgba(15,23,42,.08)}.eli-tabela-modal-filtro__botao{height:34px;padding:0 14px;border-radius:10px;border:1px solid rgba(15,23,42,.12);background:#fff;cursor:pointer;font-size:.9rem}.eli-tabela-modal-filtro__botao:disabled{opacity:.55;cursor:not-allowed}.eli-tabela-modal-filtro__botao--sec:hover,.eli-tabela-modal-filtro__botao--sec:focus-visible{background:#0f172a0f}.eli-tabela-modal-filtro__botao--prim{border:none;background:#2563ebf2;color:#fff}.eli-tabela-modal-filtro__botao--prim:hover,.eli-tabela-modal-filtro__botao--prim:focus-visible{background:#2563eb}@media(max-width:880px){.eli-tabela-modal-filtro__linha{grid-template-columns:1fr}}.eli-tabela{width:100%}.eli-tabela__table{width:100%;border-collapse:separate;border-spacing:0;border:1px solid rgba(0,0,0,.12);border-radius:12px;overflow:visible}.eli-tabela__tbody{overflow:visible}.eli-tabela__tbody .eli-tabela__tr--zebra .eli-tabela__td{background:#0f172a05}.eli-tabela__th,.eli-tabela__td{padding:10px 12px;border-bottom:1px solid rgba(0,0,0,.08);vertical-align:top}.eli-tabela__th{text-align:left;font-weight:600;background:#00000008}.eli-tabela__th--ordenavel{padding:0}.eli-tabela__th--ordenavel .eli-tabela__th-botao{padding:10px 12px}.eli-tabela__th-botao{display:inline-flex;align-items:center;justify-content:flex-start;gap:8px;width:100%;background:transparent;border:none;font:inherit;color:inherit;cursor:pointer;text-align:left;transition:color .2s ease}.eli-tabela__th-botao:hover,.eli-tabela__th-botao:focus-visible{color:#0f172ad9}.eli-tabela__th-botao:focus-visible{outline:2px solid rgba(37,99,235,.45);outline-offset:2px}.eli-tabela__th-botao--ativo{color:#2563ebf2}.eli-tabela__th-texto{flex:1;min-width:0;white-space:nowrap}.eli-tabela__th-icone{flex-shrink:0}.eli-tabela__th-icone--oculto{opacity:0}.eli-tabela__tr:last-child .eli-tabela__td{border-bottom:none}.eli-tabela__td--clicavel{cursor:pointer}.eli-tabela__td--clicavel:hover{background:#00000008}.eli-tabela--erro{border:1px solid rgba(220,53,69,.35);border-radius:12px;padding:12px}.eli-tabela--carregando{border:1px dashed rgba(0,0,0,.25);border-radius:12px;padding:12px;opacity:.8}.eli-tabela__erro-titulo{font-weight:700;margin-bottom:4px}.eli-tabela__erro-mensagem{opacity:.9}.eli-tabela--vazio{border:1px dashed rgba(0,0,0,.25);border-radius:12px;padding:12px;opacity:.8}.eli-tabela__th--acoes{text-align:right;white-space:nowrap}.eli-tabela__td--acoes{white-space:nowrap;overflow:visible}.eli-tabela__acoes-container{display:flex;justify-content:flex-end;position:relative;z-index:1}.eli-tabela__acoes-container--aberto{z-index:200}.eli-tabela__cabecalho{width:100%;box-sizing:border-box;display:flex;align-items:center;justify-content:flex-end;gap:12px;margin-bottom:12px;flex-wrap:wrap;--eli-tabela-cabecalho-controle-altura: 34px;--eli-tabela-cabecalho-controle-radius: 8px}.eli-tabela__acoes-cabecalho{display:inline-flex;gap:8px;flex-wrap:wrap}.eli-tabela__acoes-cabecalho-botao{display:inline-flex;align-items:center;gap:6px;height:var(--eli-tabela-cabecalho-controle-altura);padding:0 14px;border-radius:var(--eli-tabela-cabecalho-controle-radius);border:none;background:#2563eb1f;color:#2563ebf2;font-size:.875rem;font-weight:500;line-height:1;cursor:pointer;transition:background-color .2s ease,color .2s ease}.eli-tabela__acoes-cabecalho-botao:hover,.eli-tabela__acoes-cabecalho-botao:focus-visible{background:#2563eb33}.eli-tabela__acoes-cabecalho-botao:focus-visible{outline:2px solid rgba(37,99,235,.35);outline-offset:2px}.eli-tabela__acoes-cabecalho-icone{display:inline-block}.eli-tabela__acoes-cabecalho-rotulo{line-height:1}.eli-tabela__acoes-toggle{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:9999px;border:none;background:transparent;color:#0f172ab8;cursor:pointer;transition:background-color .2s ease,color .2s ease}.eli-tabela__acoes-toggle-icone{display:block}.eli-tabela__acoes-toggle:hover,.eli-tabela__acoes-toggle:focus-visible{background-color:#0f172a14;color:#0f172af2}.eli-tabela__acoes-toggle:focus-visible{outline:2px solid rgba(37,99,235,.45);outline-offset:2px}.eli-tabela__acoes-toggle:disabled{cursor:default;color:#94a3b8cc;background:transparent}.eli-tabela__acoes-menu{min-width:180px;padding:6px 0;margin:0;list-style:none;background:#fff;border:1px solid rgba(15,23,42,.08);border-radius:10px;box-shadow:0 12px 30px #0f172a2e;z-index:1000}.eli-tabela__acoes-item{margin:0}.eli-tabela__acoes-item-botao{display:flex;align-items:center;gap:8px;width:100%;padding:8px 12px;border:none;background:transparent;font-size:.9rem;cursor:pointer;transition:background-color .2s ease}.eli-tabela__acoes-item-botao:hover,.eli-tabela__acoes-item-botao:focus-visible{background-color:#0f172a0f}.eli-tabela__acoes-item-botao:focus-visible{outline:2px solid currentColor;outline-offset:-2px}.eli-tabela__acoes-item-icone{flex-shrink:0}.eli-tabela__acoes-item-texto{flex:1;text-align:left}.eli-tabela__th--expander,.eli-tabela__td--expander{width:42px;padding:6px 8px;text-align:center;vertical-align:middle}.eli-tabela__expander-botao{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:9999px;border:none;background:transparent;color:#0f172ab8;cursor:pointer;transition:background-color .2s ease,color .2s ease}.eli-tabela__expander-botao:hover,.eli-tabela__expander-botao:focus-visible{background-color:#0f172a14;color:#0f172af2}.eli-tabela__expander-botao:focus-visible{outline:2px solid rgba(37,99,235,.45);outline-offset:2px}.eli-tabela__expander-botao--ativo{background-color:#0f172a0f;color:#0f172af2}.eli-tabela__td--detalhes{padding:12px}.eli-tabela__tr--detalhes .eli-tabela__td{border-bottom:1px solid rgba(0,0,0,.08)}.eli-tabela__detalhes{display:grid;gap:10px;padding-left:4px}.eli-tabela__detalhe{display:grid;grid-template-columns:180px 1fr;gap:10px;align-items:start}.eli-tabela__detalhe-rotulo{font-weight:600;color:#0f172ad9}.eli-tabela__detalhe-valor{min-width:0}@media(max-width:720px){.eli-tabela__detalhe{grid-template-columns:1fr}}')),document.head.appendChild(e)}}catch(a){console.error("vite-plugin-css-injected-by-js",a)}})(); -(function(w,t){typeof exports=="object"&&typeof module<"u"?t(exports,require("vue"),require("vuetify/components/VBtn"),require("vuetify/components/VBadge"),require("vuetify/components/VTextField"),require("vuetify/components/VCard"),require("vuetify/components/VGrid"),require("vuetify/components"),require("vuetify/components/VChip"),require("vuetify/components/VTextarea"),require("vuetify/components/VSelect")):typeof define=="function"&&define.amd?define(["exports","vue","vuetify/components/VBtn","vuetify/components/VBadge","vuetify/components/VTextField","vuetify/components/VCard","vuetify/components/VGrid","vuetify/components","vuetify/components/VChip","vuetify/components/VTextarea","vuetify/components/VSelect"],t):(w=typeof globalThis<"u"?globalThis:w||self,t(w.eli_vue={},w.Vue,w.VBtn,w.VBadge,w.VTextField,w.VCard,w.VGrid,w.components,w.VChip,w.VTextarea,w.VSelect))})(this,(function(w,t,et,tt,Ce,ie,at,ve,ot,nt,lt){"use strict";const rt=t.defineComponent({name:"EliBotao",inheritAttrs:!1,props:{color:{type:String,default:"primary"},variant:{type:String,default:"elevated"},size:{type:String,default:"default"},disabled:{type:Boolean,default:!1},loading:{type:Boolean,default:!1}}}),T=(e,a)=>{const n=e.__vccOpts||e;for(const[r,s]of a)n[r]=s;return n};function it(e,a,n,r,s,m){return t.openBlock(),t.createBlock(et.VBtn,t.mergeProps({color:e.color,variant:e.variant,size:e.size,disabled:e.disabled,loading:e.loading},e.$attrs,{class:"eli-botao text-none pt-1"}),{default:t.withCtx(()=>[t.renderSlot(e.$slots,"default")]),_:3},16,["color","variant","size","disabled","loading"])}const _e=T(rt,[["render",it]]),Ae={suave:"4px",pill:"10px"},st=t.defineComponent({name:"EliBadge",inheritAttrs:!1,props:{color:{type:String,default:"primary"},location:{type:String,default:"top right"},offsetX:{type:String,default:"0"},offsetY:{type:String,default:"0"},dot:{type:Boolean,default:!1},visible:{type:Boolean,default:!0},badge:{type:[String,Number],default:void 0},radius:{type:String,default:"suave"}},setup(e){const a=t.computed(()=>e.radius in Ae?Ae[e.radius]:e.radius),n=t.computed(()=>e.dot||e.badge!==void 0?e.visible:!1),r=t.computed(()=>({"--eli-badge-radius":a.value}));return{showBadge:n,badgeStyle:r}}});function ct(e,a,n,r,s,m){return e.showBadge?(t.openBlock(),t.createBlock(tt.VBadge,t.mergeProps({key:0,color:e.color},e.$attrs,{location:e.location,"offset-x":e.offsetX,"offset-y":e.offsetY,dot:e.dot,content:e.badge,style:e.badgeStyle,class:"eli-badge"}),{default:t.withCtx(()=>[t.renderSlot(e.$slots,"default")]),_:3},16,["color","location","offset-x","offset-y","dot","content","style"])):t.renderSlot(e.$slots,"default",{key:1})}const ye=T(st,[["render",ct]]);function dt(e){return e.replace(/\D+/g,"")}function ut(e){const a=dt(e);return a.length<=11?a.replace(/(\d{3})(\d)/,"$1.$2").replace(/(\d{3})(\d)/,"$1.$2").replace(/(\d{3})(\d{1,2})$/,"$1-$2").slice(0,14):a.replace(/^(\d{2})(\d)/,"$1.$2").replace(/^(\d{2})\.(\d{3})(\d)/,"$1.$2.$3").replace(/\.(\d{3})(\d)/,".$1/$2").replace(/(\d{4})(\d)/,"$1-$2").slice(0,18)}function mt(e){return e.replace(/\D+/g,"")}function pt(e){const a=mt(e);return a?a.length<=10?a.replace(/^(\d{2})(\d)/,"($1) $2").replace(/(\d{4})(\d)/,"$1-$2").slice(0,14):a.replace(/^(\d{2})(\d)/,"($1) $2").replace(/(\d{5})(\d)/,"$1-$2").slice(0,15):""}function ft(e){return e.replace(/\D+/g,"")}function bt(e){const a=ft(e);return a?a.replace(/^(\d{5})(\d)/,"$1-$2").slice(0,9):""}const ht=t.defineComponent({name:"EliEntradaTexto",inheritAttrs:!1,props:{value:{type:[String,null],default:void 0},opcoes:{type:Object,required:!0}},emits:{"update:value":e=>!0,input:e=>!0,change:e=>!0,focus:()=>!0,blur:()=>!0},setup(e,{attrs:a,emit:n}){const r=t.computed(()=>{var i;return((i=e.opcoes)==null?void 0:i.formato)??"texto"}),s=t.computed({get:()=>e.value,set:i=>{n("update:value",i),n("input",i),n("change",i)}}),m=t.computed(()=>r.value==="email"?"email":r.value==="url"?"url":"text"),o=t.computed(()=>{if(r.value==="telefone")return"tel";if(r.value==="cpfCnpj"||r.value==="cep")return"numeric"});function l(i){switch(r.value){case"telefone":return pt(i);case"cpfCnpj":return ut(i);case"cep":return bt(i);default:return i}}function u(i){const d=i.target,b=l(d.value);d.value=b,s.value=b}return{attrs:a,emit:n,localValue:s,inputHtmlType:m,inputMode:o,onInput:u}}});function gt(e,a,n,r,s,m){var o,l,u,i;return t.openBlock(),t.createBlock(Ce.VTextField,t.mergeProps({modelValue:e.localValue,"onUpdate:modelValue":a[0]||(a[0]=d=>e.localValue=d),type:e.inputHtmlType,inputmode:e.inputMode,label:(o=e.opcoes)==null?void 0:o.rotulo,placeholder:(l=e.opcoes)==null?void 0:l.placeholder,counter:(u=e.opcoes)==null?void 0:u.limiteCaracteres,maxlength:(i=e.opcoes)==null?void 0:i.limiteCaracteres},e.attrs,{onFocus:a[1]||(a[1]=()=>e.emit("focus")),onBlur:a[2]||(a[2]=()=>e.emit("blur")),onInput:e.onInput}),null,16,["modelValue","type","inputmode","label","placeholder","counter","maxlength","onInput"])}const $e=T(ht,[["render",gt]]),yt=t.defineComponent({name:"EliOlaMundo",components:{EliBotao:_e,EliBadge:ye,EliEntradaTexto:$e},setup(){const e=t.ref(""),a=t.ref(""),n=t.ref(""),r=t.ref(""),s=t.ref("");return{nome:e,email:r,documento:s,telefone:n,cep:a}}}),$t={class:"grid-example"};function Et(e,a,n,r,s,m){const o=t.resolveComponent("EliBadge"),l=t.resolveComponent("EliEntradaTexto"),u=t.resolveComponent("EliBotao");return t.openBlock(),t.createBlock(at.VContainer,null,{default:t.withCtx(()=>[t.createVNode(ie.VCard,{class:"mx-auto",max_width:"400"},{default:t.withCtx(()=>[t.createVNode(ie.VCardTitle,null,{default:t.withCtx(()=>[t.createVNode(o,{badge:"Novo","offset-x":"-15",location:"right center"},{default:t.withCtx(()=>[...a[5]||(a[5]=[t.createTextVNode(" Olá Mundo! ",-1)])]),_:1})]),_:1}),t.createVNode(ie.VCardText,null,{default:t.withCtx(()=>[a[6]||(a[6]=t.createTextVNode(" Este é um componente de exemplo integrado com Vuetify. ",-1)),t.createElementVNode("div",$t,[t.createVNode(l,{value:e.nome,"onUpdate:value":a[0]||(a[0]=i=>e.nome=i),opcoes:{rotulo:"Nome",placeholder:"Digite o nome"},density:"compact"},null,8,["value"]),t.createVNode(l,{value:e.telefone,"onUpdate:value":a[1]||(a[1]=i=>e.telefone=i),opcoes:{rotulo:"Telefone",formato:"telefone"}},null,8,["value"]),t.createVNode(l,{value:e.cep,"onUpdate:value":a[2]||(a[2]=i=>e.cep=i),opcoes:{rotulo:"CEP",placeholder:"00000-000",formato:"cep"}},null,8,["value"]),t.createVNode(l,{value:e.documento,"onUpdate:value":a[3]||(a[3]=i=>e.documento=i),opcoes:{rotulo:"CPF / CNPJ",formato:"cpfCnpj"}},null,8,["value"]),t.createVNode(l,{value:e.email,"onUpdate:value":a[4]||(a[4]=i=>e.email=i),opcoes:{rotulo:"Email",placeholder:"email@exemplo.com",formato:"email"}},null,8,["value"])])]),_:1}),t.createVNode(ie.VCardActions,null,{default:t.withCtx(()=>[t.createVNode(u,{color:"primary",variant:"elevated",block:""},{default:t.withCtx(()=>[...a[7]||(a[7]=[t.createTextVNode(" Botão Vuetify ",-1)])]),_:1})]),_:1})]),_:1})]),_:1})}const Me=T(yt,[["render",Et]]),kt=t.defineComponent({name:"EliCartao",components:{EliBadge:ye},inheritAttrs:!1,props:{titulo:{type:String,default:""},status:{type:String,required:!0},variant:{type:String,default:"outlined"}},emits:{clicar:e=>!0},setup(e,{emit:a}){const n=t.computed(()=>e.status),r=t.computed(()=>{switch(e.status){case"novo":return"primary";case"rascunho":return"secondary";case"vendido":return"success";case"cancelado":return"error"}}),s=t.computed(()=>`eli-cartao--${e.status}`);function m(){a("clicar",e.status)}return{rotuloStatus:n,corStatus:r,classeStatus:s,onClick:m}}}),Bt={class:"eli-cartao__titulo-texto"},Ct={class:"eli-cartao__status"};function vt(e,a,n,r,s,m){const o=t.resolveComponent("EliBadge");return t.openBlock(),t.createBlock(ie.VCard,t.mergeProps({class:["eli-cartao",e.classeStatus],variant:e.variant},e.$attrs),{default:t.withCtx(()=>[t.createVNode(ie.VCardTitle,{class:"eli-cartao__titulo"},{default:t.withCtx(()=>[t.createElementVNode("div",Bt,[t.renderSlot(e.$slots,"titulo",{},()=>[t.createTextVNode(t.toDisplayString(e.titulo),1)])]),t.createElementVNode("div",Ct,[t.createVNode(o,{badge:e.rotuloStatus,radius:"pill",color:e.corStatus},{default:t.withCtx(()=>[...a[0]||(a[0]=[t.createElementVNode("span",null,null,-1)])]),_:1},8,["badge","color"])])]),_:3}),t.createVNode(ie.VCardText,{class:"eli-cartao__conteudo"},{default:t.withCtx(()=>[t.renderSlot(e.$slots,"default")]),_:3}),e.$slots.acoes?(t.openBlock(),t.createBlock(ie.VCardActions,{key:0,class:"eli-cartao__acoes"},{default:t.withCtx(()=>[t.renderSlot(e.$slots,"acoes")]),_:3})):t.createCommentVNode("",!0)]),_:3},16,["variant","class"])}const we=T(kt,[["render",vt]]);var Te=(e=>(e[e.sucesso=200]="sucesso",e[e.erroConhecido=400]="erroConhecido",e[e.erroPermissao=401]="erroPermissao",e[e.erroNaoEncontrado=404]="erroNaoEncontrado",e[e.erroDesconhecido=500]="erroDesconhecido",e[e.tempoEsgotado=504]="tempoEsgotado",e))(Te||{});/** +(function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode('@font-face{font-family:Google Sans;font-style:normal;font-weight:100 900;font-display:swap;src:url(https://paiol.idz.one/estaticos/GoogleSans/GoogleSans-VariableFont_GRAD,opsz,wght.ttf) format("truetype")}@font-face{font-family:Google Sans;font-style:italic;font-weight:100 900;font-display:swap;src:url(https://paiol.idz.one/estaticos/GoogleSans/GoogleSans-Italic-VariableFont_GRAD,opsz,wght.ttf) format("truetype")}:root{--eli-font-family: "Google Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;--v-font-family: var(--eli-font-family)}html,body{font-family:var(--eli-font-family)}:where([class^=eli-],[class*=" eli-"]){font-family:var(--eli-font-family);--v-font-family: var(--eli-font-family)}button,input,select,textarea{font-family:inherit}.eli-badge .v-badge__badge,.eli-badge .v-badge__content{border-radius:var(--eli-badge-radius)!important}.eli-cartao{border-radius:12px}.eli-cartao__titulo{display:flex;align-items:center;justify-content:space-between;gap:12px}.eli-cartao__titulo-texto{min-width:0}.eli-cartao__conteudo{padding-top:8px}.eli-cartao__acoes{padding-top:0}.eli-cartao--cancelado{opacity:.85}.eli-data-hora{width:100%}.eli-entrada__prefixo,.eli-entrada__sufixo{opacity:.75;font-size:.9em;white-space:nowrap}.eli-entrada__prefixo{margin-right:6px}.eli-entrada__sufixo{margin-left:6px}.eli-tabela__celula-tags{display:flex;flex-wrap:wrap;gap:6px;align-items:center}.eli-tabela__celula-tag{cursor:default}.eli-tabela__celula-tag-icone{margin-right:6px}.eli-tabela__texto-truncado{display:inline-block;max-width:260px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;vertical-align:top}.eli-tabela__celula-link{all:unset;display:inline;color:#2563eb;cursor:pointer;text-decoration:underline;text-decoration-color:#2563eb8c;text-underline-offset:2px}.eli-tabela__celula-link:hover{color:#1d4ed8;text-decoration-color:#1d4ed8bf}.eli-tabela__celula-link:focus-visible{outline:2px solid rgba(37,99,235,.45);outline-offset:2px;border-radius:4px}.eli-tabela__busca{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.eli-tabela__busca-input-wrapper{display:inline-flex;align-items:stretch;border-radius:var(--eli-tabela-cabecalho-controle-radius, 8px);border:1px solid rgba(15,23,42,.15);overflow:hidden;background:#fff;height:var(--eli-tabela-cabecalho-controle-altura, 34px)}.eli-tabela__busca-input{height:100%;padding:0 12px;border:none;outline:none;font-size:.875rem;color:#0f172ad9}.eli-tabela__busca-input::-webkit-search-cancel-button,.eli-tabela__busca-input::-webkit-search-decoration{-webkit-appearance:none}.eli-tabela__busca-input::placeholder{color:#6b7280d9}.eli-tabela__busca-botao{display:inline-flex;align-items:center;justify-content:center;border:none;background:#2563eb1f;color:#2563ebf2;height:100%;padding:0 12px;cursor:pointer;transition:background-color .2s ease,color .2s ease}.eli-tabela__busca-botao-icone{display:block}.eli-tabela__busca-botao:hover,.eli-tabela__busca-botao:focus-visible{background:#2563eb33;color:#2563eb}.eli-tabela__busca-botao:focus-visible{outline:2px solid rgba(37,99,235,.35);outline-offset:2px}.eli-tabela__busca-grupo{display:inline-flex;align-items:center;gap:8px;flex-wrap:wrap}.eli-tabela-modal-colunas__overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172a59;z-index:4000;display:flex;align-items:center;justify-content:center;padding:16px}.eli-tabela-modal-colunas__modal{width:min(860px,100%);background:#fff;border-radius:14px;border:1px solid rgba(15,23,42,.1);box-shadow:0 18px 60px #0f172a40;overflow:hidden}.eli-tabela-modal-colunas__header{display:flex;align-items:center;justify-content:space-between;padding:14px 16px;border-bottom:1px solid rgba(15,23,42,.08)}.eli-tabela-modal-colunas__titulo{font-size:1rem;margin:0}.eli-tabela-modal-colunas__fechar{width:34px;height:34px;border-radius:10px;border:none;background:transparent;cursor:pointer;font-size:22px;line-height:1;color:#0f172acc}.eli-tabela-modal-colunas__fechar:hover,.eli-tabela-modal-colunas__fechar:focus-visible{background:#0f172a0f}.eli-tabela-modal-colunas__conteudo{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:16px}.eli-tabela-modal-colunas__coluna-titulo{font-weight:600;margin-bottom:8px}.eli-tabela-modal-colunas__lista{min-height:260px;border:1px solid rgba(15,23,42,.12);border-radius:12px;padding:10px;background:#0f172a03}.eli-tabela-modal-colunas__item{display:flex;align-items:center;gap:10px;padding:10px;border-radius:10px;border:1px solid rgba(15,23,42,.08);background:#fff;cursor:grab;-webkit-user-select:none;user-select:none}.eli-tabela-modal-colunas__item+.eli-tabela-modal-colunas__item{margin-top:8px}.eli-tabela-modal-colunas__item:active{cursor:grabbing}.eli-tabela-modal-colunas__item-handle{color:#0f172a8c;font-size:14px}.eli-tabela-modal-colunas__item-texto{flex:1;min-width:0}.eli-tabela-modal-colunas__footer{display:flex;justify-content:flex-end;gap:8px;padding:14px 16px;border-top:1px solid rgba(15,23,42,.08)}.eli-tabela-modal-colunas__botao{height:34px;padding:0 14px;border-radius:10px;border:1px solid rgba(15,23,42,.12);background:#fff;cursor:pointer;font-size:.9rem}.eli-tabela-modal-colunas__botao--sec:hover,.eli-tabela-modal-colunas__botao--sec:focus-visible{background:#0f172a0f}.eli-tabela-modal-colunas__botao--prim{border:none;background:#2563ebf2;color:#fff}.eli-tabela-modal-colunas__botao--prim:hover,.eli-tabela-modal-colunas__botao--prim:focus-visible{background:#2563eb}@media(max-width:720px){.eli-tabela-modal-colunas__conteudo{grid-template-columns:1fr}}.eli-tabela-modal-filtro__overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172a59;z-index:4000;display:flex;align-items:center;justify-content:center;padding:16px}.eli-tabela-modal-filtro__modal{width:min(980px,100%);background:#fff;border-radius:14px;border:1px solid rgba(15,23,42,.1);box-shadow:0 18px 60px #0f172a40;overflow:hidden}.eli-tabela-modal-filtro__header{display:flex;align-items:center;justify-content:space-between;padding:14px 16px;border-bottom:1px solid rgba(15,23,42,.08)}.eli-tabela-modal-filtro__titulo{font-size:1rem;margin:0}.eli-tabela-modal-filtro__fechar{width:34px;height:34px;border-radius:10px;border:none;background:transparent;cursor:pointer;font-size:22px;line-height:1;color:#0f172acc}.eli-tabela-modal-filtro__fechar:hover,.eli-tabela-modal-filtro__fechar:focus-visible{background:#0f172a0f}.eli-tabela-modal-filtro__conteudo{padding:16px}.eli-tabela-modal-filtro__vazio{opacity:.75;font-size:.9rem}.eli-tabela-modal-filtro__lista{display:grid;gap:10px}.eli-tabela-modal-filtro__linha{display:grid;grid-template-columns:1fr 34px;gap:10px;align-items:center}.eli-tabela-modal-filtro__select{height:34px;border-radius:10px;border:1px solid rgba(15,23,42,.12);padding:0 10px;background:#fff}.eli-tabela-modal-filtro__entrada{min-width:0}.eli-tabela-modal-filtro__remover{width:34px;height:34px;border-radius:10px;border:1px solid rgba(15,23,42,.12);background:#fff;cursor:pointer;font-size:18px;line-height:1;color:#0f172acc}.eli-tabela-modal-filtro__remover:hover,.eli-tabela-modal-filtro__remover:focus-visible{background:#0f172a0f}.eli-tabela-modal-filtro__acoes{margin-top:12px}.eli-tabela-modal-filtro__footer{display:flex;justify-content:flex-end;gap:8px;padding:14px 16px;border-top:1px solid rgba(15,23,42,.08)}.eli-tabela-modal-filtro__botao{height:34px;padding:0 14px;border-radius:10px;border:1px solid rgba(15,23,42,.12);background:#fff;cursor:pointer;font-size:.9rem}.eli-tabela-modal-filtro__botao:disabled{opacity:.55;cursor:not-allowed}.eli-tabela-modal-filtro__botao--sec:hover,.eli-tabela-modal-filtro__botao--sec:focus-visible{background:#0f172a0f}.eli-tabela-modal-filtro__botao--prim{border:none;background:#2563ebf2;color:#fff}.eli-tabela-modal-filtro__botao--prim:hover,.eli-tabela-modal-filtro__botao--prim:focus-visible{background:#2563eb}@media(max-width:880px){.eli-tabela-modal-filtro__linha{grid-template-columns:1fr}}.eli-tabela__paginacao{display:flex;align-items:center;justify-content:flex-end;gap:12px;margin-top:12px;flex-wrap:wrap}.eli-tabela__pagina-botao{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:6px 14px;border-radius:9999px;border:1px solid rgba(15,23,42,.12);background:#fff;font-size:.875rem;font-weight:500;color:#0f172ad1;cursor:pointer;transition:background-color .2s ease,border-color .2s ease,color .2s ease}.eli-tabela__pagina-botao:hover,.eli-tabela__pagina-botao:focus-visible{background-color:#2563eb14;border-color:#2563eb66;color:#2563ebf2}.eli-tabela__pagina-botao:focus-visible{outline:2px solid rgba(37,99,235,.45);outline-offset:2px}.eli-tabela__pagina-botao:disabled{cursor:default;opacity:.5;background:#94a3b814;border-color:#94a3b82e;color:#475569bf}.eli-tabela__pagina-botao--ativo{background:#2563eb1f;border-color:#2563eb66;color:#2563ebf2}.eli-tabela__pagina-ellipsis{display:inline-flex;align-items:center;justify-content:center;width:32px;color:#6b7280d9;font-size:.9rem}.eli-tabela__acao-inferior{display:inline-flex;align-items:center;gap:6px;height:34px;padding:0 14px;border-radius:8px;border:1px solid #16a34a;background:#fff;color:#16a34a;font-size:.875rem;font-weight:500;line-height:1;cursor:pointer;transition:background-color .2s ease,color .2s ease}.eli-tabela__acao-inferior:hover,.eli-tabela__acao-inferior:focus-visible{background-color:#f0fdf4}.eli-tabela__acao-inferior:focus-visible{outline:2px solid #16a34a;outline-offset:2px}.eli-tabela{width:100%}.eli-tabela__table{width:100%;border-collapse:separate;border-spacing:0;border:1px solid rgba(0,0,0,.12);border-radius:12px;overflow:visible}.eli-tabela__tbody{overflow:visible}.eli-tabela__tbody .eli-tabela__tr--zebra .eli-tabela__td{background:#0f172a05}.eli-tabela__th,.eli-tabela__td{padding:10px 12px;border-bottom:1px solid rgba(0,0,0,.08);vertical-align:top}.eli-tabela__th{text-align:left;font-weight:600;background:#00000008}.eli-tabela__th--ordenavel{padding:0}.eli-tabela__th--ordenavel .eli-tabela__th-botao{padding:10px 12px}.eli-tabela__th-botao{display:inline-flex;align-items:center;justify-content:flex-start;gap:8px;width:100%;background:transparent;border:none;font:inherit;color:inherit;cursor:pointer;text-align:left;transition:color .2s ease}.eli-tabela__th-botao:hover,.eli-tabela__th-botao:focus-visible{color:#0f172ad9}.eli-tabela__th-botao:focus-visible{outline:2px solid rgba(37,99,235,.45);outline-offset:2px}.eli-tabela__th-botao--ativo{color:#2563ebf2}.eli-tabela__th-texto{flex:1;min-width:0;white-space:nowrap}.eli-tabela__th-icone{flex-shrink:0}.eli-tabela__th-icone--oculto{opacity:0}.eli-tabela__tr:last-child .eli-tabela__td{border-bottom:none}.eli-tabela__td--clicavel{cursor:pointer}.eli-tabela__td--clicavel:hover{background:#00000008}.eli-tabela--erro{border:1px solid rgba(220,53,69,.35);border-radius:12px;padding:12px}.eli-tabela--carregando{border:1px dashed rgba(0,0,0,.25);border-radius:12px;padding:12px;opacity:.8}.eli-tabela__erro-titulo{font-weight:700;margin-bottom:4px}.eli-tabela__erro-mensagem{opacity:.9}.eli-tabela--vazio{border:1px dashed rgba(0,0,0,.25);border-radius:12px;padding:12px;opacity:.8}.eli-tabela__th--acoes{text-align:right;white-space:nowrap}.eli-tabela__td--acoes{white-space:nowrap;overflow:visible}.eli-tabela__acoes-container{display:flex;justify-content:flex-end;position:relative;z-index:1}.eli-tabela__acoes-container--aberto{z-index:200}.eli-tabela__rodape{display:flex;align-items:center;justify-content:flex-end;gap:12px;margin-top:12px;flex-wrap:wrap}.eli-tabela__paginacao{display:flex;align-items:center;justify-content:flex-end;gap:12px;margin-top:0;flex-wrap:wrap}.eli-tabela__acoes-inferiores{display:inline-flex;gap:8px;align-items:center;flex-wrap:wrap}.eli-tabela__cabecalho{width:100%;box-sizing:border-box;display:flex;align-items:center;justify-content:flex-end;gap:12px;margin-bottom:12px;flex-wrap:wrap;--eli-tabela-cabecalho-controle-altura: 34px;--eli-tabela-cabecalho-controle-radius: 8px}.eli-tabela__acoes-cabecalho{display:inline-flex;gap:8px;flex-wrap:wrap}.eli-tabela__acoes-cabecalho-botao{display:inline-flex;align-items:center;gap:6px;height:var(--eli-tabela-cabecalho-controle-altura);padding:0 14px;border-radius:var(--eli-tabela-cabecalho-controle-radius);border:none;background:#2563eb1f;color:#2563ebf2;font-size:.875rem;font-weight:500;line-height:1;cursor:pointer;transition:background-color .2s ease,color .2s ease}.eli-tabela__acoes-cabecalho-botao:hover,.eli-tabela__acoes-cabecalho-botao:focus-visible{background:#2563eb33}.eli-tabela__acoes-cabecalho-botao:focus-visible{outline:2px solid rgba(37,99,235,.35);outline-offset:2px}.eli-tabela__acoes-cabecalho-icone{display:inline-block}.eli-tabela__acoes-cabecalho-rotulo{line-height:1}.eli-tabela__acoes-toggle{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:9999px;border:none;background:transparent;color:#0f172ab8;cursor:pointer;transition:background-color .2s ease,color .2s ease}.eli-tabela__acoes-toggle-icone{display:block}.eli-tabela__acoes-toggle:hover,.eli-tabela__acoes-toggle:focus-visible{background-color:#0f172a14;color:#0f172af2}.eli-tabela__acoes-toggle:focus-visible{outline:2px solid rgba(37,99,235,.45);outline-offset:2px}.eli-tabela__acoes-toggle:disabled{cursor:default;color:#94a3b8cc;background:transparent}.eli-tabela__acoes-menu{min-width:180px;padding:6px 0;margin:0;list-style:none;background:#fff;border:1px solid rgba(15,23,42,.08);border-radius:10px;box-shadow:0 12px 30px #0f172a2e;z-index:1000}.eli-tabela__acoes-item{margin:0}.eli-tabela__acoes-item-botao{display:flex;align-items:center;gap:8px;width:100%;padding:8px 12px;border:none;background:transparent;font-size:.9rem;cursor:pointer;transition:background-color .2s ease}.eli-tabela__acoes-item-botao:hover,.eli-tabela__acoes-item-botao:focus-visible{background-color:#0f172a0f}.eli-tabela__acoes-item-botao:focus-visible{outline:2px solid currentColor;outline-offset:-2px}.eli-tabela__acoes-item-icone{flex-shrink:0}.eli-tabela__acoes-item-texto{flex:1;text-align:left}.eli-tabela__th--expander,.eli-tabela__td--expander{width:42px;padding:6px 8px;text-align:center;vertical-align:middle}.eli-tabela__expander-botao{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:9999px;border:none;background:transparent;color:#0f172ab8;cursor:pointer;transition:background-color .2s ease,color .2s ease}.eli-tabela__expander-botao:hover,.eli-tabela__expander-botao:focus-visible{background-color:#0f172a14;color:#0f172af2}.eli-tabela__expander-botao:focus-visible{outline:2px solid rgba(37,99,235,.45);outline-offset:2px}.eli-tabela__expander-botao--ativo{background-color:#0f172a0f;color:#0f172af2}.eli-tabela__td--detalhes{padding:12px}.eli-tabela__tr--detalhes .eli-tabela__td{border-bottom:1px solid rgba(0,0,0,.08)}.eli-tabela__detalhes{display:grid;gap:10px;padding-left:4px}.eli-tabela__detalhe{display:grid;grid-template-columns:180px 1fr;gap:10px;align-items:start}.eli-tabela__detalhe-rotulo{font-weight:600;color:#0f172ad9}.eli-tabela__detalhe-valor{min-width:0}@media(max-width:720px){.eli-tabela__detalhe{grid-template-columns:1fr}}')),document.head.appendChild(e)}}catch(a){console.error("vite-plugin-css-injected-by-js",a)}})(); +(function(H,c){typeof exports=="object"&&typeof module<"u"?c(exports,require("vue"),require("vuetify/components/VBtn"),require("vuetify/components/VBadge"),require("vuetify/components/VCard"),require("vuetify/components/VTextField"),require("vuetify/components"),require("vuetify/components/VTextarea"),require("vuetify/components/VSelect"),require("vuetify/components/VChip"),require("vuetify/components/VGrid")):typeof define=="function"&&define.amd?define(["exports","vue","vuetify/components/VBtn","vuetify/components/VBadge","vuetify/components/VCard","vuetify/components/VTextField","vuetify/components","vuetify/components/VTextarea","vuetify/components/VSelect","vuetify/components/VChip","vuetify/components/VGrid"],c):(H=typeof globalThis<"u"?globalThis:H||self,c(H.eli_vue={},H.Vue,H.VBtn,H.VBadge,H.VCard,H.VTextField,H.components,H.VTextarea,H.VSelect,H.VChip,H.VGrid))})(this,(function(H,c,sm,dm,Be,sr,dr,mm,fm,pm,gm){"use strict";const vm=c.defineComponent({name:"EliBotao",inheritAttrs:!1,props:{color:{type:String,default:"primary"},variant:{type:String,default:"elevated"},size:{type:String,default:"default"},disabled:{type:Boolean,default:!1},loading:{type:Boolean,default:!1}}}),X=(e,n)=>{const r=e.__vccOpts||e;for(const[o,t]of n)r[o]=t;return r};function hm(e,n,r,o,t,i){return c.openBlock(),c.createBlock(sm.VBtn,c.mergeProps({color:e.color,variant:e.variant,size:e.size,disabled:e.disabled,loading:e.loading},e.$attrs,{class:"eli-botao text-none pt-1"}),{default:c.withCtx(()=>[c.renderSlot(e.$slots,"default")]),_:3},16,["color","variant","size","disabled","loading"])}const mr=X(vm,[["render",hm]]),$o={suave:"4px",pill:"10px"},$m=c.defineComponent({name:"EliBadge",inheritAttrs:!1,props:{color:{type:String,default:"primary"},location:{type:String,default:"top right"},offsetX:{type:String,default:"0"},offsetY:{type:String,default:"0"},dot:{type:Boolean,default:!1},visible:{type:Boolean,default:!0},badge:{type:[String,Number],default:void 0},radius:{type:String,default:"suave"}},setup(e){const n=c.computed(()=>e.radius in $o?$o[e.radius]:e.radius),r=c.computed(()=>e.dot||e.badge!==void 0?e.visible:!1),o=c.computed(()=>({"--eli-badge-radius":n.value}));return{showBadge:r,badgeStyle:o}}});function bm(e,n,r,o,t,i){return e.showBadge?(c.openBlock(),c.createBlock(dm.VBadge,c.mergeProps({key:0,color:e.color},e.$attrs,{location:e.location,"offset-x":e.offsetX,"offset-y":e.offsetY,dot:e.dot,content:e.badge,style:e.badgeStyle,class:"eli-badge"}),{default:c.withCtx(()=>[c.renderSlot(e.$slots,"default")]),_:3},16,["color","location","offset-x","offset-y","dot","content","style"])):c.renderSlot(e.$slots,"default",{key:1})}const qt=X($m,[["render",bm]]),_m=c.defineComponent({name:"EliCartao",components:{EliBadge:qt},inheritAttrs:!1,props:{titulo:{type:String,default:""},status:{type:String,required:!0},variant:{type:String,default:"outlined"}},emits:{clicar:e=>!0},setup(e,{emit:n}){const r=c.computed(()=>e.status),o=c.computed(()=>{switch(e.status){case"novo":return"primary";case"rascunho":return"secondary";case"vendido":return"success";case"cancelado":return"error"}}),t=c.computed(()=>`eli-cartao--${e.status}`);function i(){n("clicar",e.status)}return{rotuloStatus:r,corStatus:o,classeStatus:t,onClick:i}}}),ym={class:"eli-cartao__titulo-texto"},km={class:"eli-cartao__status"};function Sm(e,n,r,o,t,i){const a=c.resolveComponent("EliBadge");return c.openBlock(),c.createBlock(Be.VCard,c.mergeProps({class:["eli-cartao",e.classeStatus],variant:e.variant},e.$attrs),{default:c.withCtx(()=>[c.createVNode(Be.VCardTitle,{class:"eli-cartao__titulo"},{default:c.withCtx(()=>[c.createElementVNode("div",ym,[c.renderSlot(e.$slots,"titulo",{},()=>[c.createTextVNode(c.toDisplayString(e.titulo),1)])]),c.createElementVNode("div",km,[c.createVNode(a,{badge:e.rotuloStatus,radius:"pill",color:e.corStatus},{default:c.withCtx(()=>[...n[0]||(n[0]=[c.createElementVNode("span",null,null,-1)])]),_:1},8,["badge","color"])])]),_:3}),c.createVNode(Be.VCardText,{class:"eli-cartao__conteudo"},{default:c.withCtx(()=>[c.renderSlot(e.$slots,"default")]),_:3}),e.$slots.acoes?(c.openBlock(),c.createBlock(Be.VCardActions,{key:0,class:"eli-cartao__acoes"},{default:c.withCtx(()=>[c.renderSlot(e.$slots,"acoes")]),_:3})):c.createCommentVNode("",!0)]),_:3},16,["variant","class"])}const bo=X(_m,[["render",Sm]]),_o=Object.freeze({status:"aborted"});function g(e,n,r){function o(l,s){if(l._zod||Object.defineProperty(l,"_zod",{value:{def:s,constr:a,traits:new Set},enumerable:!1}),l._zod.traits.has(e))return;l._zod.traits.add(e),n(l,s);const u=a.prototype,d=Object.keys(u);for(let m=0;m{var s,u;return r!=null&&r.Parent&&l instanceof r.Parent?!0:(u=(s=l==null?void 0:l._zod)==null?void 0:s.traits)==null?void 0:u.has(e)}}),Object.defineProperty(a,"name",{value:e}),a}const yo=Symbol("zod_brand");class Ye extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}}class Yt extends Error{constructor(n){super(`Encountered unidirectional transform during encode: ${n}`),this.name="ZodEncodeError"}}const Kt={};function me(e){return e&&Object.assign(Kt,e),Kt}function wm(e){return e}function Im(e){return e}function zm(e){}function xm(e){throw new Error("Unexpected value in exhaustive check")}function Dm(e){}function fr(e){const n=Object.values(e).filter(o=>typeof o=="number");return Object.entries(e).filter(([o,t])=>n.indexOf(+o)===-1).map(([o,t])=>t)}function S(e,n="|"){return e.map(r=>C(r)).join(n)}function Wt(e,n){return typeof n=="bigint"?n.toString():n}function ft(e){return{get value(){{const n=e();return Object.defineProperty(this,"value",{value:n}),n}}}}function Ke(e){return e==null}function Gt(e){const n=e.startsWith("^")?1:0,r=e.endsWith("$")?e.length-1:e.length;return e.slice(n,r)}function ko(e,n){const r=(e.toString().split(".")[1]||"").length,o=n.toString();let t=(o.split(".")[1]||"").length;if(t===0&&/\d?e-\d?/.test(o)){const s=o.match(/\d?e-(\d?)/);s!=null&&s[1]&&(t=Number.parseInt(s[1]))}const i=r>t?r:t,a=Number.parseInt(e.toFixed(i).replace(".","")),l=Number.parseInt(n.toFixed(i).replace(".",""));return a%l/10**i}const So=Symbol("evaluating");function R(e,n,r){let o;Object.defineProperty(e,n,{get(){if(o!==So)return o===void 0&&(o=So,o=r()),o},set(t){Object.defineProperty(e,n,{value:t})},configurable:!0})}function Em(e){return Object.create(Object.getPrototypeOf(e),Object.getOwnPropertyDescriptors(e))}function Me(e,n,r){Object.defineProperty(e,n,{value:r,writable:!0,enumerable:!0,configurable:!0})}function Oe(...e){const n={};for(const r of e){const o=Object.getOwnPropertyDescriptors(r);Object.assign(n,o)}return Object.defineProperties({},n)}function Om(e){return Oe(e._zod.def)}function Nm(e,n){return n?n.reduce((r,o)=>r==null?void 0:r[o],e):e}function jm(e){const n=Object.keys(e),r=n.map(o=>e[o]);return Promise.all(r).then(o=>{const t={};for(let i=0;i{};function et(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}const Io=ft(()=>{var e;if(typeof navigator<"u"&&((e=navigator==null?void 0:navigator.userAgent)!=null&&e.includes("Cloudflare")))return!1;try{const n=Function;return new n(""),!0}catch{return!1}});function We(e){if(et(e)===!1)return!1;const n=e.constructor;if(n===void 0||typeof n!="function")return!0;const r=n.prototype;return!(et(r)===!1||Object.prototype.hasOwnProperty.call(r,"isPrototypeOf")===!1)}function Ht(e){return We(e)?{...e}:Array.isArray(e)?[...e]:e}function Tm(e){let n=0;for(const r in e)Object.prototype.hasOwnProperty.call(e,r)&&n++;return n}const Pm=e=>{const n=typeof e;switch(n){case"undefined":return"undefined";case"string":return"string";case"number":return Number.isNaN(e)?"nan":"number";case"boolean":return"boolean";case"function":return"function";case"bigint":return"bigint";case"symbol":return"symbol";case"object":return Array.isArray(e)?"array":e===null?"null":e.then&&typeof e.then=="function"&&e.catch&&typeof e.catch=="function"?"promise":typeof Map<"u"&&e instanceof Map?"map":typeof Set<"u"&&e instanceof Set?"set":typeof Date<"u"&&e instanceof Date?"date":typeof File<"u"&&e instanceof File?"file":"object";default:throw new Error(`Unknown data type: ${n}`)}},Xt=new Set(["string","number","symbol"]),zo=new Set(["string","number","bigint","boolean","symbol","undefined"]);function Te(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function Se(e,n,r){const o=new e._zod.constr(n??e._zod.def);return(!n||r!=null&&r.parent)&&(o._zod.parent=e),o}function b(e){const n=e;if(!n)return{};if(typeof n=="string")return{error:()=>n};if((n==null?void 0:n.message)!==void 0){if((n==null?void 0:n.error)!==void 0)throw new Error("Cannot specify both `message` and `error` params");n.error=n.message}return delete n.message,typeof n.error=="string"?{...n,error:()=>n.error}:n}function Cm(e){let n;return new Proxy({},{get(r,o,t){return n??(n=e()),Reflect.get(n,o,t)},set(r,o,t,i){return n??(n=e()),Reflect.set(n,o,t,i)},has(r,o){return n??(n=e()),Reflect.has(n,o)},deleteProperty(r,o){return n??(n=e()),Reflect.deleteProperty(n,o)},ownKeys(r){return n??(n=e()),Reflect.ownKeys(n)},getOwnPropertyDescriptor(r,o){return n??(n=e()),Reflect.getOwnPropertyDescriptor(n,o)},defineProperty(r,o,t){return n??(n=e()),Reflect.defineProperty(n,o,t)}})}function C(e){return typeof e=="bigint"?e.toString()+"n":typeof e=="string"?`"${e}"`:`${e}`}function xo(e){return Object.keys(e).filter(n=>e[n]._zod.optin==="optional"&&e[n]._zod.optout==="optional")}const Do={safeint:[Number.MIN_SAFE_INTEGER,Number.MAX_SAFE_INTEGER],int32:[-2147483648,2147483647],uint32:[0,4294967295],float32:[-34028234663852886e22,34028234663852886e22],float64:[-Number.MAX_VALUE,Number.MAX_VALUE]},Eo={int64:[BigInt("-9223372036854775808"),BigInt("9223372036854775807")],uint64:[BigInt(0),BigInt("18446744073709551615")]};function Oo(e,n){const r=e._zod.def,o=r.checks;if(o&&o.length>0)throw new Error(".pick() cannot be used on object schemas containing refinements");const i=Oe(e._zod.def,{get shape(){const a={};for(const l in n){if(!(l in r.shape))throw new Error(`Unrecognized key: "${l}"`);n[l]&&(a[l]=r.shape[l])}return Me(this,"shape",a),a},checks:[]});return Se(e,i)}function No(e,n){const r=e._zod.def,o=r.checks;if(o&&o.length>0)throw new Error(".omit() cannot be used on object schemas containing refinements");const i=Oe(e._zod.def,{get shape(){const a={...e._zod.def.shape};for(const l in n){if(!(l in r.shape))throw new Error(`Unrecognized key: "${l}"`);n[l]&&delete a[l]}return Me(this,"shape",a),a},checks:[]});return Se(e,i)}function jo(e,n){if(!We(n))throw new Error("Invalid input to extend: expected a plain object");const r=e._zod.def.checks;if(r&&r.length>0){const i=e._zod.def.shape;for(const a in n)if(Object.getOwnPropertyDescriptor(i,a)!==void 0)throw new Error("Cannot overwrite keys on object schemas containing refinements. Use `.safeExtend()` instead.")}const t=Oe(e._zod.def,{get shape(){const i={...e._zod.def.shape,...n};return Me(this,"shape",i),i}});return Se(e,t)}function Uo(e,n){if(!We(n))throw new Error("Invalid input to safeExtend: expected a plain object");const r=Oe(e._zod.def,{get shape(){const o={...e._zod.def.shape,...n};return Me(this,"shape",o),o}});return Se(e,r)}function To(e,n){const r=Oe(e._zod.def,{get shape(){const o={...e._zod.def.shape,...n._zod.def.shape};return Me(this,"shape",o),o},get catchall(){return n._zod.def.catchall},checks:[]});return Se(e,r)}function Po(e,n,r){const t=n._zod.def.checks;if(t&&t.length>0)throw new Error(".partial() cannot be used on object schemas containing refinements");const a=Oe(n._zod.def,{get shape(){const l=n._zod.def.shape,s={...l};if(r)for(const u in r){if(!(u in l))throw new Error(`Unrecognized key: "${u}"`);r[u]&&(s[u]=e?new e({type:"optional",innerType:l[u]}):l[u])}else for(const u in l)s[u]=e?new e({type:"optional",innerType:l[u]}):l[u];return Me(this,"shape",s),s},checks:[]});return Se(n,a)}function Co(e,n,r){const o=Oe(n._zod.def,{get shape(){const t=n._zod.def.shape,i={...t};if(r)for(const a in r){if(!(a in i))throw new Error(`Unrecognized key: "${a}"`);r[a]&&(i[a]=new e({type:"nonoptional",innerType:t[a]}))}else for(const a in t)i[a]=new e({type:"nonoptional",innerType:t[a]});return Me(this,"shape",i),i}});return Se(n,o)}function Ge(e,n=0){var r;if(e.aborted===!0)return!0;for(let o=n;o{var o;return(o=r).path??(o.path=[]),r.path.unshift(e),r})}function pt(e){return typeof e=="string"?e:e==null?void 0:e.message}function we(e,n,r){var t,i,a,l,s,u;const o={...e,path:e.path??[]};if(!e.message){const d=pt((a=(i=(t=e.inst)==null?void 0:t._zod.def)==null?void 0:i.error)==null?void 0:a.call(i,e))??pt((l=n==null?void 0:n.error)==null?void 0:l.call(n,e))??pt((s=r.customError)==null?void 0:s.call(r,e))??pt((u=r.localeError)==null?void 0:u.call(r,e))??"Invalid input";o.message=d}return delete o.inst,delete o.continue,n!=null&&n.reportInput||delete o.input,o}function Qt(e){return e instanceof Set?"set":e instanceof Map?"map":e instanceof File?"file":"unknown"}function en(e){return Array.isArray(e)?"array":typeof e=="string"?"string":"unknown"}function A(e){const n=typeof e;switch(n){case"number":return Number.isNaN(e)?"nan":"number";case"object":{if(e===null)return"null";if(Array.isArray(e))return"array";const r=e;if(r&&Object.getPrototypeOf(r)!==Object.prototype&&"constructor"in r&&r.constructor)return r.constructor.name}}return n}function tt(...e){const[n,r,o]=e;return typeof n=="string"?{message:n,code:"custom",input:r,inst:o}:{...n}}function Am(e){return Object.entries(e).filter(([n,r])=>Number.isNaN(Number.parseInt(n,10))).map(n=>n[1])}function Ao(e){const n=atob(e),r=new Uint8Array(n.length);for(let o=0;on.toString(16).padStart(2,"0")).join("")}class Fm{constructor(...n){}}const Bo=Object.freeze(Object.defineProperty({__proto__:null,BIGINT_FORMAT_RANGES:Eo,Class:Fm,NUMBER_FORMAT_RANGES:Do,aborted:Ge,allowsEval:Io,assert:Dm,assertEqual:wm,assertIs:zm,assertNever:xm,assertNotEqual:Im,assignProp:Me,base64ToUint8Array:Ao,base64urlToUint8Array:Zm,cached:ft,captureStackTrace:gr,cleanEnum:Am,cleanRegex:Gt,clone:Se,cloneDef:Om,createTransparentProxy:Cm,defineLazy:R,esc:pr,escapeRegex:Te,extend:jo,finalizeIssue:we,floatSafeRemainder:ko,getElementAtPath:Nm,getEnumValues:fr,getLengthableOrigin:en,getParsedType:Pm,getSizableOrigin:Qt,hexToUint8Array:Mm,isObject:et,isPlainObject:We,issue:tt,joinValues:S,jsonStringifyReplacer:Wt,merge:To,mergeDefs:Oe,normalizeParams:b,nullish:Ke,numKeys:Tm,objectClone:Em,omit:No,optionalKeys:xo,parsedType:A,partial:Po,pick:Oo,prefixIssues:xe,primitiveTypes:zo,promiseAllObject:jm,propertyKeyTypes:Xt,randomString:Um,required:Co,safeExtend:Uo,shallowClone:Ht,slugify:wo,stringifyPrimitive:C,uint8ArrayToBase64:Zo,uint8ArrayToBase64url:Bm,uint8ArrayToHex:Vm,unwrapMessage:pt},Symbol.toStringTag,{value:"Module"})),Mo=(e,n)=>{e.name="$ZodError",Object.defineProperty(e,"_zod",{value:e._zod,enumerable:!1}),Object.defineProperty(e,"issues",{value:n,enumerable:!1}),e.message=JSON.stringify(n,Wt,2),Object.defineProperty(e,"toString",{value:()=>e.message,enumerable:!1})},vr=g("$ZodError",Mo),_e=g("$ZodError",Mo,{Parent:Error});function hr(e,n=r=>r.message){const r={},o=[];for(const t of e.issues)t.path.length>0?(r[t.path[0]]=r[t.path[0]]||[],r[t.path[0]].push(n(t))):o.push(n(t));return{formErrors:o,fieldErrors:r}}function $r(e,n=r=>r.message){const r={_errors:[]},o=t=>{for(const i of t.issues)if(i.code==="invalid_union"&&i.errors.length)i.errors.map(a=>o({issues:a}));else if(i.code==="invalid_key")o({issues:i.issues});else if(i.code==="invalid_element")o({issues:i.issues});else if(i.path.length===0)r._errors.push(n(i));else{let a=r,l=0;for(;lr.message){const r={errors:[]},o=(t,i=[])=>{var a,l;for(const s of t.issues)if(s.code==="invalid_union"&&s.errors.length)s.errors.map(u=>o({issues:u},s.path));else if(s.code==="invalid_key")o({issues:s.issues},s.path);else if(s.code==="invalid_element")o({issues:s.issues},s.path);else{const u=[...i,...s.path];if(u.length===0){r.errors.push(n(s));continue}let d=r,m=0;for(;mtypeof o=="object"?o.key:o);for(const o of r)typeof o=="number"?n.push(`[${o}]`):typeof o=="symbol"?n.push(`[${JSON.stringify(String(o))}]`):/[^\w$]/.test(o)?n.push(`[${JSON.stringify(o)}]`):(n.length&&n.push("."),n.push(o));return n.join("")}function Lo(e){var o;const n=[],r=[...e.issues].sort((t,i)=>(t.path??[]).length-(i.path??[]).length);for(const t of r)n.push(`✖ ${t.message}`),(o=t.path)!=null&&o.length&&n.push(` → at ${Fo(t.path)}`);return n.join(` +`)}const gt=e=>(n,r,o,t)=>{const i=o?Object.assign(o,{async:!1}):{async:!1},a=n._zod.run({value:r,issues:[]},i);if(a instanceof Promise)throw new Ye;if(a.issues.length){const l=new((t==null?void 0:t.Err)??e)(a.issues.map(s=>we(s,i,me())));throw gr(l,t==null?void 0:t.callee),l}return a.value},br=gt(_e),vt=e=>async(n,r,o,t)=>{const i=o?Object.assign(o,{async:!0}):{async:!0};let a=n._zod.run({value:r,issues:[]},i);if(a instanceof Promise&&(a=await a),a.issues.length){const l=new((t==null?void 0:t.Err)??e)(a.issues.map(s=>we(s,i,me())));throw gr(l,t==null?void 0:t.callee),l}return a.value},_r=vt(_e),ht=e=>(n,r,o)=>{const t=o?{...o,async:!1}:{async:!1},i=n._zod.run({value:r,issues:[]},t);if(i instanceof Promise)throw new Ye;return i.issues.length?{success:!1,error:new(e??vr)(i.issues.map(a=>we(a,t,me())))}:{success:!0,data:i.value}},Ro=ht(_e),$t=e=>async(n,r,o)=>{const t=o?Object.assign(o,{async:!0}):{async:!0};let i=n._zod.run({value:r,issues:[]},t);return i instanceof Promise&&(i=await i),i.issues.length?{success:!1,error:new e(i.issues.map(a=>we(a,t,me())))}:{success:!0,data:i.value}},Jo=$t(_e),yr=e=>(n,r,o)=>{const t=o?Object.assign(o,{direction:"backward"}):{direction:"backward"};return gt(e)(n,r,t)},Lm=yr(_e),kr=e=>(n,r,o)=>gt(e)(n,r,o),Rm=kr(_e),Sr=e=>async(n,r,o)=>{const t=o?Object.assign(o,{direction:"backward"}):{direction:"backward"};return vt(e)(n,r,t)},Jm=Sr(_e),wr=e=>async(n,r,o)=>vt(e)(n,r,o),qm=wr(_e),Ir=e=>(n,r,o)=>{const t=o?Object.assign(o,{direction:"backward"}):{direction:"backward"};return ht(e)(n,r,t)},Ym=Ir(_e),zr=e=>(n,r,o)=>ht(e)(n,r,o),Km=zr(_e),xr=e=>async(n,r,o)=>{const t=o?Object.assign(o,{direction:"backward"}):{direction:"backward"};return $t(e)(n,r,t)},Wm=xr(_e),Dr=e=>async(n,r,o)=>$t(e)(n,r,o),Gm=Dr(_e),qo=/^[cC][^\s-]{8,}$/,Yo=/^[0-9a-z]+$/,Ko=/^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/,Wo=/^[0-9a-vA-V]{20}$/,Go=/^[A-Za-z0-9]{27}$/,Ho=/^[a-zA-Z0-9_-]{21}$/,Xo=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/,Hm=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/,Qo=/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$/,nt=e=>e?new RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${e}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`):/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/,Xm=nt(4),Qm=nt(6),ef=nt(7),ea=/^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/,tf=/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,nf=/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,ta=/^[^\s@"]{1,64}@[^\s@]{1,255}$/u,rf=ta,of=/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,af="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";function na(){return new RegExp(af,"u")}const ra=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,ia=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))$/,oa=e=>{const n=Te(e??":");return new RegExp(`^(?:[0-9A-F]{2}${n}){5}[0-9A-F]{2}$|^(?:[0-9a-f]{2}${n}){5}[0-9a-f]{2}$`)},aa=/^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/([0-9]|[1-2][0-9]|3[0-2])$/,la=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|::|([0-9a-fA-F]{1,4})?::([0-9a-fA-F]{1,4}:?){0,6})\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,ca=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,Er=/^[A-Za-z0-9_-]*$/,ua=/^(?=.{1,253}\.?$)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[-0-9a-zA-Z]{0,61}[0-9a-zA-Z])?)*\.?$/,sa=/^([a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}$/,da=/^\+[1-9]\d{6,14}$/,ma="(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))",fa=new RegExp(`^${ma}$`);function pa(e){const n="(?:[01]\\d|2[0-3]):[0-5]\\d";return typeof e.precision=="number"?e.precision===-1?`${n}`:e.precision===0?`${n}:[0-5]\\d`:`${n}:[0-5]\\d\\.\\d{${e.precision}}`:`${n}(?::[0-5]\\d(?:\\.\\d+)?)?`}function ga(e){return new RegExp(`^${pa(e)}$`)}function va(e){const n=pa({precision:e.precision}),r=["Z"];e.local&&r.push(""),e.offset&&r.push("([+-](?:[01]\\d|2[0-3]):[0-5]\\d)");const o=`${n}(?:${r.join("|")})`;return new RegExp(`^${ma}T(?:${o})$`)}const ha=e=>{const n=e?`[\\s\\S]{${(e==null?void 0:e.minimum)??0},${(e==null?void 0:e.maximum)??""}}`:"[\\s\\S]*";return new RegExp(`^${n}$`)},$a=/^-?\d+n?$/,ba=/^-?\d+$/,Or=/^-?\d+(?:\.\d+)?$/,_a=/^(?:true|false)$/i,ya=/^null$/i,ka=/^undefined$/i,Sa=/^[^A-Z]*$/,wa=/^[^a-z]*$/,Ia=/^[0-9a-fA-F]*$/;function bt(e,n){return new RegExp(`^[A-Za-z0-9+/]{${e}}${n}$`)}function _t(e){return new RegExp(`^[A-Za-z0-9_-]{${e}}$`)}const Nr=Object.freeze(Object.defineProperty({__proto__:null,base64:ca,base64url:Er,bigint:$a,boolean:_a,browserEmail:of,cidrv4:aa,cidrv6:la,cuid:qo,cuid2:Yo,date:fa,datetime:va,domain:sa,duration:Xo,e164:da,email:ea,emoji:na,extendedDuration:Hm,guid:Qo,hex:Ia,hostname:ua,html5Email:tf,idnEmail:rf,integer:ba,ipv4:ra,ipv6:ia,ksuid:Go,lowercase:Sa,mac:oa,md5_base64:bt(22,"=="),md5_base64url:_t(22),md5_hex:/^[0-9a-fA-F]{32}$/,nanoid:Ho,null:ya,number:Or,rfc5322Email:nf,sha1_base64:bt(27,"="),sha1_base64url:_t(27),sha1_hex:/^[0-9a-fA-F]{40}$/,sha256_base64:bt(43,"="),sha256_base64url:_t(43),sha256_hex:/^[0-9a-fA-F]{64}$/,sha384_base64:bt(64,""),sha384_base64url:_t(64),sha384_hex:/^[0-9a-fA-F]{96}$/,sha512_base64:bt(86,"=="),sha512_base64url:_t(86),sha512_hex:/^[0-9a-fA-F]{128}$/,string:ha,time:ga,ulid:Ko,undefined:ka,unicodeEmail:ta,uppercase:wa,uuid:nt,uuid4:Xm,uuid6:Qm,uuid7:ef,xid:Wo},Symbol.toStringTag,{value:"Module"})),re=g("$ZodCheck",(e,n)=>{var r;e._zod??(e._zod={}),e._zod.def=n,(r=e._zod).onattach??(r.onattach=[])}),za={number:"number",bigint:"bigint",object:"date"},jr=g("$ZodCheckLessThan",(e,n)=>{re.init(e,n);const r=za[typeof n.value];e._zod.onattach.push(o=>{const t=o._zod.bag,i=(n.inclusive?t.maximum:t.exclusiveMaximum)??Number.POSITIVE_INFINITY;n.value{(n.inclusive?o.value<=n.value:o.value{re.init(e,n);const r=za[typeof n.value];e._zod.onattach.push(o=>{const t=o._zod.bag,i=(n.inclusive?t.minimum:t.exclusiveMinimum)??Number.NEGATIVE_INFINITY;n.value>i&&(n.inclusive?t.minimum=n.value:t.exclusiveMinimum=n.value)}),e._zod.check=o=>{(n.inclusive?o.value>=n.value:o.value>n.value)||o.issues.push({origin:r,code:"too_small",minimum:typeof n.value=="object"?n.value.getTime():n.value,input:o.value,inclusive:n.inclusive,inst:e,continue:!n.abort})}}),xa=g("$ZodCheckMultipleOf",(e,n)=>{re.init(e,n),e._zod.onattach.push(r=>{var o;(o=r._zod.bag).multipleOf??(o.multipleOf=n.value)}),e._zod.check=r=>{if(typeof r.value!=typeof n.value)throw new Error("Cannot mix number and bigint in multiple_of check.");(typeof r.value=="bigint"?r.value%n.value===BigInt(0):ko(r.value,n.value)===0)||r.issues.push({origin:typeof r.value,code:"not_multiple_of",divisor:n.value,input:r.value,inst:e,continue:!n.abort})}}),Da=g("$ZodCheckNumberFormat",(e,n)=>{var a;re.init(e,n),n.format=n.format||"float64";const r=(a=n.format)==null?void 0:a.includes("int"),o=r?"int":"number",[t,i]=Do[n.format];e._zod.onattach.push(l=>{const s=l._zod.bag;s.format=n.format,s.minimum=t,s.maximum=i,r&&(s.pattern=ba)}),e._zod.check=l=>{const s=l.value;if(r){if(!Number.isInteger(s)){l.issues.push({expected:o,format:n.format,code:"invalid_type",continue:!1,input:s,inst:e});return}if(!Number.isSafeInteger(s)){s>0?l.issues.push({input:s,code:"too_big",maximum:Number.MAX_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:o,inclusive:!0,continue:!n.abort}):l.issues.push({input:s,code:"too_small",minimum:Number.MIN_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:o,inclusive:!0,continue:!n.abort});return}}si&&l.issues.push({origin:"number",input:s,code:"too_big",maximum:i,inclusive:!0,inst:e,continue:!n.abort})}}),Ea=g("$ZodCheckBigIntFormat",(e,n)=>{re.init(e,n);const[r,o]=Eo[n.format];e._zod.onattach.push(t=>{const i=t._zod.bag;i.format=n.format,i.minimum=r,i.maximum=o}),e._zod.check=t=>{const i=t.value;io&&t.issues.push({origin:"bigint",input:i,code:"too_big",maximum:o,inclusive:!0,inst:e,continue:!n.abort})}}),Oa=g("$ZodCheckMaxSize",(e,n)=>{var r;re.init(e,n),(r=e._zod.def).when??(r.when=o=>{const t=o.value;return!Ke(t)&&t.size!==void 0}),e._zod.onattach.push(o=>{const t=o._zod.bag.maximum??Number.POSITIVE_INFINITY;n.maximum{const t=o.value;t.size<=n.maximum||o.issues.push({origin:Qt(t),code:"too_big",maximum:n.maximum,inclusive:!0,input:t,inst:e,continue:!n.abort})}}),Na=g("$ZodCheckMinSize",(e,n)=>{var r;re.init(e,n),(r=e._zod.def).when??(r.when=o=>{const t=o.value;return!Ke(t)&&t.size!==void 0}),e._zod.onattach.push(o=>{const t=o._zod.bag.minimum??Number.NEGATIVE_INFINITY;n.minimum>t&&(o._zod.bag.minimum=n.minimum)}),e._zod.check=o=>{const t=o.value;t.size>=n.minimum||o.issues.push({origin:Qt(t),code:"too_small",minimum:n.minimum,inclusive:!0,input:t,inst:e,continue:!n.abort})}}),ja=g("$ZodCheckSizeEquals",(e,n)=>{var r;re.init(e,n),(r=e._zod.def).when??(r.when=o=>{const t=o.value;return!Ke(t)&&t.size!==void 0}),e._zod.onattach.push(o=>{const t=o._zod.bag;t.minimum=n.size,t.maximum=n.size,t.size=n.size}),e._zod.check=o=>{const t=o.value,i=t.size;if(i===n.size)return;const a=i>n.size;o.issues.push({origin:Qt(t),...a?{code:"too_big",maximum:n.size}:{code:"too_small",minimum:n.size},inclusive:!0,exact:!0,input:o.value,inst:e,continue:!n.abort})}}),Ua=g("$ZodCheckMaxLength",(e,n)=>{var r;re.init(e,n),(r=e._zod.def).when??(r.when=o=>{const t=o.value;return!Ke(t)&&t.length!==void 0}),e._zod.onattach.push(o=>{const t=o._zod.bag.maximum??Number.POSITIVE_INFINITY;n.maximum{const t=o.value;if(t.length<=n.maximum)return;const a=en(t);o.issues.push({origin:a,code:"too_big",maximum:n.maximum,inclusive:!0,input:t,inst:e,continue:!n.abort})}}),Ta=g("$ZodCheckMinLength",(e,n)=>{var r;re.init(e,n),(r=e._zod.def).when??(r.when=o=>{const t=o.value;return!Ke(t)&&t.length!==void 0}),e._zod.onattach.push(o=>{const t=o._zod.bag.minimum??Number.NEGATIVE_INFINITY;n.minimum>t&&(o._zod.bag.minimum=n.minimum)}),e._zod.check=o=>{const t=o.value;if(t.length>=n.minimum)return;const a=en(t);o.issues.push({origin:a,code:"too_small",minimum:n.minimum,inclusive:!0,input:t,inst:e,continue:!n.abort})}}),Pa=g("$ZodCheckLengthEquals",(e,n)=>{var r;re.init(e,n),(r=e._zod.def).when??(r.when=o=>{const t=o.value;return!Ke(t)&&t.length!==void 0}),e._zod.onattach.push(o=>{const t=o._zod.bag;t.minimum=n.length,t.maximum=n.length,t.length=n.length}),e._zod.check=o=>{const t=o.value,i=t.length;if(i===n.length)return;const a=en(t),l=i>n.length;o.issues.push({origin:a,...l?{code:"too_big",maximum:n.length}:{code:"too_small",minimum:n.length},inclusive:!0,exact:!0,input:o.value,inst:e,continue:!n.abort})}}),yt=g("$ZodCheckStringFormat",(e,n)=>{var r,o;re.init(e,n),e._zod.onattach.push(t=>{const i=t._zod.bag;i.format=n.format,n.pattern&&(i.patterns??(i.patterns=new Set),i.patterns.add(n.pattern))}),n.pattern?(r=e._zod).check??(r.check=t=>{n.pattern.lastIndex=0,!n.pattern.test(t.value)&&t.issues.push({origin:"string",code:"invalid_format",format:n.format,input:t.value,...n.pattern?{pattern:n.pattern.toString()}:{},inst:e,continue:!n.abort})}):(o=e._zod).check??(o.check=()=>{})}),Ca=g("$ZodCheckRegex",(e,n)=>{yt.init(e,n),e._zod.check=r=>{n.pattern.lastIndex=0,!n.pattern.test(r.value)&&r.issues.push({origin:"string",code:"invalid_format",format:"regex",input:r.value,pattern:n.pattern.toString(),inst:e,continue:!n.abort})}}),Aa=g("$ZodCheckLowerCase",(e,n)=>{n.pattern??(n.pattern=Sa),yt.init(e,n)}),Za=g("$ZodCheckUpperCase",(e,n)=>{n.pattern??(n.pattern=wa),yt.init(e,n)}),Ba=g("$ZodCheckIncludes",(e,n)=>{re.init(e,n);const r=Te(n.includes),o=new RegExp(typeof n.position=="number"?`^.{${n.position}}${r}`:r);n.pattern=o,e._zod.onattach.push(t=>{const i=t._zod.bag;i.patterns??(i.patterns=new Set),i.patterns.add(o)}),e._zod.check=t=>{t.value.includes(n.includes,n.position)||t.issues.push({origin:"string",code:"invalid_format",format:"includes",includes:n.includes,input:t.value,inst:e,continue:!n.abort})}}),Ma=g("$ZodCheckStartsWith",(e,n)=>{re.init(e,n);const r=new RegExp(`^${Te(n.prefix)}.*`);n.pattern??(n.pattern=r),e._zod.onattach.push(o=>{const t=o._zod.bag;t.patterns??(t.patterns=new Set),t.patterns.add(r)}),e._zod.check=o=>{o.value.startsWith(n.prefix)||o.issues.push({origin:"string",code:"invalid_format",format:"starts_with",prefix:n.prefix,input:o.value,inst:e,continue:!n.abort})}}),Va=g("$ZodCheckEndsWith",(e,n)=>{re.init(e,n);const r=new RegExp(`.*${Te(n.suffix)}$`);n.pattern??(n.pattern=r),e._zod.onattach.push(o=>{const t=o._zod.bag;t.patterns??(t.patterns=new Set),t.patterns.add(r)}),e._zod.check=o=>{o.value.endsWith(n.suffix)||o.issues.push({origin:"string",code:"invalid_format",format:"ends_with",suffix:n.suffix,input:o.value,inst:e,continue:!n.abort})}});function Fa(e,n,r){e.issues.length&&n.issues.push(...xe(r,e.issues))}const La=g("$ZodCheckProperty",(e,n)=>{re.init(e,n),e._zod.check=r=>{const o=n.schema._zod.run({value:r.value[n.property],issues:[]},{});if(o instanceof Promise)return o.then(t=>Fa(t,r,n.property));Fa(o,r,n.property)}}),Ra=g("$ZodCheckMimeType",(e,n)=>{re.init(e,n);const r=new Set(n.mime);e._zod.onattach.push(o=>{o._zod.bag.mime=n.mime}),e._zod.check=o=>{r.has(o.value.type)||o.issues.push({code:"invalid_value",values:n.mime,input:o.value.type,inst:e,continue:!n.abort})}}),Ja=g("$ZodCheckOverwrite",(e,n)=>{re.init(e,n),e._zod.check=r=>{r.value=n.tx(r.value)}});class qa{constructor(n=[]){this.content=[],this.indent=0,this&&(this.args=n)}indented(n){this.indent+=1,n(this),this.indent-=1}write(n){if(typeof n=="function"){n(this,{execution:"sync"}),n(this,{execution:"async"});return}const o=n.split(` +`).filter(a=>a),t=Math.min(...o.map(a=>a.length-a.trimStart().length)),i=o.map(a=>a.slice(t)).map(a=>" ".repeat(this.indent*2)+a);for(const a of i)this.content.push(a)}compile(){const n=Function,r=this==null?void 0:this.args,t=[...((this==null?void 0:this.content)??[""]).map(i=>` ${i}`)];return new n(...r,t.join(` +`))}}const Ya={major:4,minor:3,patch:6},B=g("$ZodType",(e,n)=>{var t;var r;e??(e={}),e._zod.def=n,e._zod.bag=e._zod.bag||{},e._zod.version=Ya;const o=[...e._zod.def.checks??[]];e._zod.traits.has("$ZodCheck")&&o.unshift(e);for(const i of o)for(const a of i._zod.onattach)a(e);if(o.length===0)(r=e._zod).deferred??(r.deferred=[]),(t=e._zod.deferred)==null||t.push(()=>{e._zod.run=e._zod.parse});else{const i=(l,s,u)=>{let d=Ge(l),m;for(const p of s){if(p._zod.def.when){if(!p._zod.def.when(l))continue}else if(d)continue;const v=l.issues.length,h=p._zod.check(l);if(h instanceof Promise&&(u==null?void 0:u.async)===!1)throw new Ye;if(m||h instanceof Promise)m=(m??Promise.resolve()).then(async()=>{await h,l.issues.length!==v&&(d||(d=Ge(l,v)))});else{if(l.issues.length===v)continue;d||(d=Ge(l,v))}}return m?m.then(()=>l):l},a=(l,s,u)=>{if(Ge(l))return l.aborted=!0,l;const d=i(s,o,u);if(d instanceof Promise){if(u.async===!1)throw new Ye;return d.then(m=>e._zod.parse(m,u))}return e._zod.parse(d,u)};e._zod.run=(l,s)=>{if(s.skipChecks)return e._zod.parse(l,s);if(s.direction==="backward"){const d=e._zod.parse({value:l.value,issues:[]},{...s,skipChecks:!0});return d instanceof Promise?d.then(m=>a(m,l,s)):a(d,l,s)}const u=e._zod.parse(l,s);if(u instanceof Promise){if(s.async===!1)throw new Ye;return u.then(d=>i(d,o,s))}return i(u,o,s)}}R(e,"~standard",()=>({validate:i=>{var a;try{const l=Ro(e,i);return l.success?{value:l.data}:{issues:(a=l.error)==null?void 0:a.issues}}catch{return Jo(e,i).then(s=>{var u;return s.success?{value:s.data}:{issues:(u=s.error)==null?void 0:u.issues}})}},vendor:"zod",version:1}))}),kt=g("$ZodString",(e,n)=>{var r;B.init(e,n),e._zod.pattern=[...((r=e==null?void 0:e._zod.bag)==null?void 0:r.patterns)??[]].pop()??ha(e._zod.bag),e._zod.parse=(o,t)=>{if(n.coerce)try{o.value=String(o.value)}catch{}return typeof o.value=="string"||o.issues.push({expected:"string",code:"invalid_type",input:o.value,inst:e}),o}}),Q=g("$ZodStringFormat",(e,n)=>{yt.init(e,n),kt.init(e,n)}),Ka=g("$ZodGUID",(e,n)=>{n.pattern??(n.pattern=Qo),Q.init(e,n)}),Wa=g("$ZodUUID",(e,n)=>{if(n.version){const o={v1:1,v2:2,v3:3,v4:4,v5:5,v6:6,v7:7,v8:8}[n.version];if(o===void 0)throw new Error(`Invalid UUID version: "${n.version}"`);n.pattern??(n.pattern=nt(o))}else n.pattern??(n.pattern=nt());Q.init(e,n)}),Ga=g("$ZodEmail",(e,n)=>{n.pattern??(n.pattern=ea),Q.init(e,n)}),Ha=g("$ZodURL",(e,n)=>{Q.init(e,n),e._zod.check=r=>{try{const o=r.value.trim(),t=new URL(o);n.hostname&&(n.hostname.lastIndex=0,n.hostname.test(t.hostname)||r.issues.push({code:"invalid_format",format:"url",note:"Invalid hostname",pattern:n.hostname.source,input:r.value,inst:e,continue:!n.abort})),n.protocol&&(n.protocol.lastIndex=0,n.protocol.test(t.protocol.endsWith(":")?t.protocol.slice(0,-1):t.protocol)||r.issues.push({code:"invalid_format",format:"url",note:"Invalid protocol",pattern:n.protocol.source,input:r.value,inst:e,continue:!n.abort})),n.normalize?r.value=t.href:r.value=o;return}catch{r.issues.push({code:"invalid_format",format:"url",input:r.value,inst:e,continue:!n.abort})}}}),Xa=g("$ZodEmoji",(e,n)=>{n.pattern??(n.pattern=na()),Q.init(e,n)}),Qa=g("$ZodNanoID",(e,n)=>{n.pattern??(n.pattern=Ho),Q.init(e,n)}),el=g("$ZodCUID",(e,n)=>{n.pattern??(n.pattern=qo),Q.init(e,n)}),tl=g("$ZodCUID2",(e,n)=>{n.pattern??(n.pattern=Yo),Q.init(e,n)}),nl=g("$ZodULID",(e,n)=>{n.pattern??(n.pattern=Ko),Q.init(e,n)}),rl=g("$ZodXID",(e,n)=>{n.pattern??(n.pattern=Wo),Q.init(e,n)}),il=g("$ZodKSUID",(e,n)=>{n.pattern??(n.pattern=Go),Q.init(e,n)}),ol=g("$ZodISODateTime",(e,n)=>{n.pattern??(n.pattern=va(n)),Q.init(e,n)}),al=g("$ZodISODate",(e,n)=>{n.pattern??(n.pattern=fa),Q.init(e,n)}),ll=g("$ZodISOTime",(e,n)=>{n.pattern??(n.pattern=ga(n)),Q.init(e,n)}),cl=g("$ZodISODuration",(e,n)=>{n.pattern??(n.pattern=Xo),Q.init(e,n)}),ul=g("$ZodIPv4",(e,n)=>{n.pattern??(n.pattern=ra),Q.init(e,n),e._zod.bag.format="ipv4"}),sl=g("$ZodIPv6",(e,n)=>{n.pattern??(n.pattern=ia),Q.init(e,n),e._zod.bag.format="ipv6",e._zod.check=r=>{try{new URL(`http://[${r.value}]`)}catch{r.issues.push({code:"invalid_format",format:"ipv6",input:r.value,inst:e,continue:!n.abort})}}}),dl=g("$ZodMAC",(e,n)=>{n.pattern??(n.pattern=oa(n.delimiter)),Q.init(e,n),e._zod.bag.format="mac"}),ml=g("$ZodCIDRv4",(e,n)=>{n.pattern??(n.pattern=aa),Q.init(e,n)}),fl=g("$ZodCIDRv6",(e,n)=>{n.pattern??(n.pattern=la),Q.init(e,n),e._zod.check=r=>{const o=r.value.split("/");try{if(o.length!==2)throw new Error;const[t,i]=o;if(!i)throw new Error;const a=Number(i);if(`${a}`!==i)throw new Error;if(a<0||a>128)throw new Error;new URL(`http://[${t}]`)}catch{r.issues.push({code:"invalid_format",format:"cidrv6",input:r.value,inst:e,continue:!n.abort})}}});function Tr(e){if(e==="")return!0;if(e.length%4!==0)return!1;try{return atob(e),!0}catch{return!1}}const pl=g("$ZodBase64",(e,n)=>{n.pattern??(n.pattern=ca),Q.init(e,n),e._zod.bag.contentEncoding="base64",e._zod.check=r=>{Tr(r.value)||r.issues.push({code:"invalid_format",format:"base64",input:r.value,inst:e,continue:!n.abort})}});function gl(e){if(!Er.test(e))return!1;const n=e.replace(/[-_]/g,o=>o==="-"?"+":"/"),r=n.padEnd(Math.ceil(n.length/4)*4,"=");return Tr(r)}const vl=g("$ZodBase64URL",(e,n)=>{n.pattern??(n.pattern=Er),Q.init(e,n),e._zod.bag.contentEncoding="base64url",e._zod.check=r=>{gl(r.value)||r.issues.push({code:"invalid_format",format:"base64url",input:r.value,inst:e,continue:!n.abort})}}),hl=g("$ZodE164",(e,n)=>{n.pattern??(n.pattern=da),Q.init(e,n)});function $l(e,n=null){try{const r=e.split(".");if(r.length!==3)return!1;const[o]=r;if(!o)return!1;const t=JSON.parse(atob(o));return!("typ"in t&&(t==null?void 0:t.typ)!=="JWT"||!t.alg||n&&(!("alg"in t)||t.alg!==n))}catch{return!1}}const bl=g("$ZodJWT",(e,n)=>{Q.init(e,n),e._zod.check=r=>{$l(r.value,n.alg)||r.issues.push({code:"invalid_format",format:"jwt",input:r.value,inst:e,continue:!n.abort})}}),_l=g("$ZodCustomStringFormat",(e,n)=>{Q.init(e,n),e._zod.check=r=>{n.fn(r.value)||r.issues.push({code:"invalid_format",format:n.format,input:r.value,inst:e,continue:!n.abort})}}),Pr=g("$ZodNumber",(e,n)=>{B.init(e,n),e._zod.pattern=e._zod.bag.pattern??Or,e._zod.parse=(r,o)=>{if(n.coerce)try{r.value=Number(r.value)}catch{}const t=r.value;if(typeof t=="number"&&!Number.isNaN(t)&&Number.isFinite(t))return r;const i=typeof t=="number"?Number.isNaN(t)?"NaN":Number.isFinite(t)?void 0:"Infinity":void 0;return r.issues.push({expected:"number",code:"invalid_type",input:t,inst:e,...i?{received:i}:{}}),r}}),yl=g("$ZodNumberFormat",(e,n)=>{Da.init(e,n),Pr.init(e,n)}),Cr=g("$ZodBoolean",(e,n)=>{B.init(e,n),e._zod.pattern=_a,e._zod.parse=(r,o)=>{if(n.coerce)try{r.value=!!r.value}catch{}const t=r.value;return typeof t=="boolean"||r.issues.push({expected:"boolean",code:"invalid_type",input:t,inst:e}),r}}),Ar=g("$ZodBigInt",(e,n)=>{B.init(e,n),e._zod.pattern=$a,e._zod.parse=(r,o)=>{if(n.coerce)try{r.value=BigInt(r.value)}catch{}return typeof r.value=="bigint"||r.issues.push({expected:"bigint",code:"invalid_type",input:r.value,inst:e}),r}}),kl=g("$ZodBigIntFormat",(e,n)=>{Ea.init(e,n),Ar.init(e,n)}),Sl=g("$ZodSymbol",(e,n)=>{B.init(e,n),e._zod.parse=(r,o)=>{const t=r.value;return typeof t=="symbol"||r.issues.push({expected:"symbol",code:"invalid_type",input:t,inst:e}),r}}),wl=g("$ZodUndefined",(e,n)=>{B.init(e,n),e._zod.pattern=ka,e._zod.values=new Set([void 0]),e._zod.optin="optional",e._zod.optout="optional",e._zod.parse=(r,o)=>{const t=r.value;return typeof t>"u"||r.issues.push({expected:"undefined",code:"invalid_type",input:t,inst:e}),r}}),Il=g("$ZodNull",(e,n)=>{B.init(e,n),e._zod.pattern=ya,e._zod.values=new Set([null]),e._zod.parse=(r,o)=>{const t=r.value;return t===null||r.issues.push({expected:"null",code:"invalid_type",input:t,inst:e}),r}}),zl=g("$ZodAny",(e,n)=>{B.init(e,n),e._zod.parse=r=>r}),xl=g("$ZodUnknown",(e,n)=>{B.init(e,n),e._zod.parse=r=>r}),Dl=g("$ZodNever",(e,n)=>{B.init(e,n),e._zod.parse=(r,o)=>(r.issues.push({expected:"never",code:"invalid_type",input:r.value,inst:e}),r)}),El=g("$ZodVoid",(e,n)=>{B.init(e,n),e._zod.parse=(r,o)=>{const t=r.value;return typeof t>"u"||r.issues.push({expected:"void",code:"invalid_type",input:t,inst:e}),r}}),Ol=g("$ZodDate",(e,n)=>{B.init(e,n),e._zod.parse=(r,o)=>{if(n.coerce)try{r.value=new Date(r.value)}catch{}const t=r.value,i=t instanceof Date;return i&&!Number.isNaN(t.getTime())||r.issues.push({expected:"date",code:"invalid_type",input:t,...i?{received:"Invalid Date"}:{},inst:e}),r}});function Nl(e,n,r){e.issues.length&&n.issues.push(...xe(r,e.issues)),n.value[r]=e.value}const jl=g("$ZodArray",(e,n)=>{B.init(e,n),e._zod.parse=(r,o)=>{const t=r.value;if(!Array.isArray(t))return r.issues.push({expected:"array",code:"invalid_type",input:t,inst:e}),r;r.value=Array(t.length);const i=[];for(let a=0;aNl(u,r,a))):Nl(s,r,a)}return i.length?Promise.all(i).then(()=>r):r}});function tn(e,n,r,o,t){if(e.issues.length){if(t&&!(r in o))return;n.issues.push(...xe(r,e.issues))}e.value===void 0?r in o&&(n.value[r]=void 0):n.value[r]=e.value}function Ul(e){var o,t,i,a;const n=Object.keys(e.shape);for(const l of n)if(!((a=(i=(t=(o=e.shape)==null?void 0:o[l])==null?void 0:t._zod)==null?void 0:i.traits)!=null&&a.has("$ZodType")))throw new Error(`Invalid element at key "${l}": expected a Zod schema`);const r=xo(e.shape);return{...e,keys:n,keySet:new Set(n),numKeys:n.length,optionalKeys:new Set(r)}}function Tl(e,n,r,o,t,i){const a=[],l=t.keySet,s=t.catchall._zod,u=s.def.type,d=s.optout==="optional";for(const m in n){if(l.has(m))continue;if(u==="never"){a.push(m);continue}const p=s.run({value:n[m],issues:[]},o);p instanceof Promise?e.push(p.then(v=>tn(v,r,m,n,d))):tn(p,r,m,n,d)}return a.length&&r.issues.push({code:"unrecognized_keys",keys:a,input:n,inst:i}),e.length?Promise.all(e).then(()=>r):r}const Pl=g("$ZodObject",(e,n)=>{B.init(e,n);const r=Object.getOwnPropertyDescriptor(n,"shape");if(!(r!=null&&r.get)){const l=n.shape;Object.defineProperty(n,"shape",{get:()=>{const s={...l};return Object.defineProperty(n,"shape",{value:s}),s}})}const o=ft(()=>Ul(n));R(e._zod,"propValues",()=>{const l=n.shape,s={};for(const u in l){const d=l[u]._zod;if(d.values){s[u]??(s[u]=new Set);for(const m of d.values)s[u].add(m)}}return s});const t=et,i=n.catchall;let a;e._zod.parse=(l,s)=>{a??(a=o.value);const u=l.value;if(!t(u))return l.issues.push({expected:"object",code:"invalid_type",input:u,inst:e}),l;l.value={};const d=[],m=a.shape;for(const p of a.keys){const v=m[p],h=v._zod.optout==="optional",f=v._zod.run({value:u[p],issues:[]},s);f instanceof Promise?d.push(f.then($=>tn($,l,p,u,h))):tn(f,l,p,u,h)}return i?Tl(d,u,l,s,o.value,e):d.length?Promise.all(d).then(()=>l):l}}),Cl=g("$ZodObjectJIT",(e,n)=>{Pl.init(e,n);const r=e._zod.parse,o=ft(()=>Ul(n)),t=p=>{var P;const v=new qa(["shape","payload","ctx"]),h=o.value,f=M=>{const U=pr(M);return`shape[${U}]._zod.run({ value: input[${U}], issues: [] }, ctx)`};v.write("const input = payload.value;");const $=Object.create(null);let _=0;for(const M of h.keys)$[M]=`key_${_++}`;v.write("const newResult = {};");for(const M of h.keys){const U=$[M],E=pr(M),w=p[M],y=((P=w==null?void 0:w._zod)==null?void 0:P.optout)==="optional";v.write(`const ${U} = ${f(M)};`),y?v.write(` + if (${U}.issues.length) { + if (${E} in input) { + payload.issues = payload.issues.concat(${U}.issues.map(iss => ({ + ...iss, + path: iss.path ? [${E}, ...iss.path] : [${E}] + }))); + } + } + + if (${U}.value === undefined) { + if (${E} in input) { + newResult[${E}] = undefined; + } + } else { + newResult[${E}] = ${U}.value; + } + + `):v.write(` + if (${U}.issues.length) { + payload.issues = payload.issues.concat(${U}.issues.map(iss => ({ + ...iss, + path: iss.path ? [${E}, ...iss.path] : [${E}] + }))); + } + + if (${U}.value === undefined) { + if (${E} in input) { + newResult[${E}] = undefined; + } + } else { + newResult[${E}] = ${U}.value; + } + + `)}v.write("payload.value = newResult;"),v.write("return payload;");const k=v.compile();return(M,U)=>k(p,M,U)};let i;const a=et,l=!Kt.jitless,u=l&&Io.value,d=n.catchall;let m;e._zod.parse=(p,v)=>{m??(m=o.value);const h=p.value;return a(h)?l&&u&&(v==null?void 0:v.async)===!1&&v.jitless!==!0?(i||(i=t(n.shape)),p=i(p,v),d?Tl([],h,p,v,m,e):p):r(p,v):(p.issues.push({expected:"object",code:"invalid_type",input:h,inst:e}),p)}});function Al(e,n,r,o){for(const i of e)if(i.issues.length===0)return n.value=i.value,n;const t=e.filter(i=>!Ge(i));return t.length===1?(n.value=t[0].value,t[0]):(n.issues.push({code:"invalid_union",input:n.value,inst:r,errors:e.map(i=>i.issues.map(a=>we(a,o,me())))}),n)}const nn=g("$ZodUnion",(e,n)=>{B.init(e,n),R(e._zod,"optin",()=>n.options.some(t=>t._zod.optin==="optional")?"optional":void 0),R(e._zod,"optout",()=>n.options.some(t=>t._zod.optout==="optional")?"optional":void 0),R(e._zod,"values",()=>{if(n.options.every(t=>t._zod.values))return new Set(n.options.flatMap(t=>Array.from(t._zod.values)))}),R(e._zod,"pattern",()=>{if(n.options.every(t=>t._zod.pattern)){const t=n.options.map(i=>i._zod.pattern);return new RegExp(`^(${t.map(i=>Gt(i.source)).join("|")})$`)}});const r=n.options.length===1,o=n.options[0]._zod.run;e._zod.parse=(t,i)=>{if(r)return o(t,i);let a=!1;const l=[];for(const s of n.options){const u=s._zod.run({value:t.value,issues:[]},i);if(u instanceof Promise)l.push(u),a=!0;else{if(u.issues.length===0)return u;l.push(u)}}return a?Promise.all(l).then(s=>Al(s,t,e,i)):Al(l,t,e,i)}});function Zl(e,n,r,o){const t=e.filter(i=>i.issues.length===0);return t.length===1?(n.value=t[0].value,n):(t.length===0?n.issues.push({code:"invalid_union",input:n.value,inst:r,errors:e.map(i=>i.issues.map(a=>we(a,o,me())))}):n.issues.push({code:"invalid_union",input:n.value,inst:r,errors:[],inclusive:!1}),n)}const Bl=g("$ZodXor",(e,n)=>{nn.init(e,n),n.inclusive=!1;const r=n.options.length===1,o=n.options[0]._zod.run;e._zod.parse=(t,i)=>{if(r)return o(t,i);let a=!1;const l=[];for(const s of n.options){const u=s._zod.run({value:t.value,issues:[]},i);u instanceof Promise?(l.push(u),a=!0):l.push(u)}return a?Promise.all(l).then(s=>Zl(s,t,e,i)):Zl(l,t,e,i)}}),Ml=g("$ZodDiscriminatedUnion",(e,n)=>{n.inclusive=!1,nn.init(e,n);const r=e._zod.parse;R(e._zod,"propValues",()=>{const t={};for(const i of n.options){const a=i._zod.propValues;if(!a||Object.keys(a).length===0)throw new Error(`Invalid discriminated union option at index "${n.options.indexOf(i)}"`);for(const[l,s]of Object.entries(a)){t[l]||(t[l]=new Set);for(const u of s)t[l].add(u)}}return t});const o=ft(()=>{var a;const t=n.options,i=new Map;for(const l of t){const s=(a=l._zod.propValues)==null?void 0:a[n.discriminator];if(!s||s.size===0)throw new Error(`Invalid discriminated union option at index "${n.options.indexOf(l)}"`);for(const u of s){if(i.has(u))throw new Error(`Duplicate discriminator value "${String(u)}"`);i.set(u,l)}}return i});e._zod.parse=(t,i)=>{const a=t.value;if(!et(a))return t.issues.push({code:"invalid_type",expected:"object",input:a,inst:e}),t;const l=o.value.get(a==null?void 0:a[n.discriminator]);return l?l._zod.run(t,i):n.unionFallback?r(t,i):(t.issues.push({code:"invalid_union",errors:[],note:"No matching discriminator",discriminator:n.discriminator,input:a,path:[n.discriminator],inst:e}),t)}}),Vl=g("$ZodIntersection",(e,n)=>{B.init(e,n),e._zod.parse=(r,o)=>{const t=r.value,i=n.left._zod.run({value:t,issues:[]},o),a=n.right._zod.run({value:t,issues:[]},o);return i instanceof Promise||a instanceof Promise?Promise.all([i,a]).then(([s,u])=>Fl(r,s,u)):Fl(r,i,a)}});function Zr(e,n){if(e===n)return{valid:!0,data:e};if(e instanceof Date&&n instanceof Date&&+e==+n)return{valid:!0,data:e};if(We(e)&&We(n)){const r=Object.keys(n),o=Object.keys(e).filter(i=>r.indexOf(i)!==-1),t={...e,...n};for(const i of o){const a=Zr(e[i],n[i]);if(!a.valid)return{valid:!1,mergeErrorPath:[i,...a.mergeErrorPath]};t[i]=a.data}return{valid:!0,data:t}}if(Array.isArray(e)&&Array.isArray(n)){if(e.length!==n.length)return{valid:!1,mergeErrorPath:[]};const r=[];for(let o=0;ol.l&&l.r).map(([l])=>l);if(i.length&&t&&e.issues.push({...t,keys:i}),Ge(e))return e;const a=Zr(n.value,r.value);if(!a.valid)throw new Error(`Unmergable intersection. Error path: ${JSON.stringify(a.mergeErrorPath)}`);return e.value=a.data,e}const Br=g("$ZodTuple",(e,n)=>{B.init(e,n);const r=n.items;e._zod.parse=(o,t)=>{const i=o.value;if(!Array.isArray(i))return o.issues.push({input:i,inst:e,expected:"tuple",code:"invalid_type"}),o;o.value=[];const a=[],l=[...r].reverse().findIndex(d=>d._zod.optin!=="optional"),s=l===-1?0:r.length-l;if(!n.rest){const d=i.length>r.length,m=i.length=i.length&&u>=s)continue;const m=d._zod.run({value:i[u],issues:[]},t);m instanceof Promise?a.push(m.then(p=>rn(p,o,u))):rn(m,o,u)}if(n.rest){const d=i.slice(r.length);for(const m of d){u++;const p=n.rest._zod.run({value:m,issues:[]},t);p instanceof Promise?a.push(p.then(v=>rn(v,o,u))):rn(p,o,u)}}return a.length?Promise.all(a).then(()=>o):o}});function rn(e,n,r){e.issues.length&&n.issues.push(...xe(r,e.issues)),n.value[r]=e.value}const Ll=g("$ZodRecord",(e,n)=>{B.init(e,n),e._zod.parse=(r,o)=>{const t=r.value;if(!We(t))return r.issues.push({expected:"record",code:"invalid_type",input:t,inst:e}),r;const i=[],a=n.keyType._zod.values;if(a){r.value={};const l=new Set;for(const u of a)if(typeof u=="string"||typeof u=="number"||typeof u=="symbol"){l.add(typeof u=="number"?u.toString():u);const d=n.valueType._zod.run({value:t[u],issues:[]},o);d instanceof Promise?i.push(d.then(m=>{m.issues.length&&r.issues.push(...xe(u,m.issues)),r.value[u]=m.value})):(d.issues.length&&r.issues.push(...xe(u,d.issues)),r.value[u]=d.value)}let s;for(const u in t)l.has(u)||(s=s??[],s.push(u));s&&s.length>0&&r.issues.push({code:"unrecognized_keys",input:t,inst:e,keys:s})}else{r.value={};for(const l of Reflect.ownKeys(t)){if(l==="__proto__")continue;let s=n.keyType._zod.run({value:l,issues:[]},o);if(s instanceof Promise)throw new Error("Async schemas not supported in object keys currently");if(typeof l=="string"&&Or.test(l)&&s.issues.length){const m=n.keyType._zod.run({value:Number(l),issues:[]},o);if(m instanceof Promise)throw new Error("Async schemas not supported in object keys currently");m.issues.length===0&&(s=m)}if(s.issues.length){n.mode==="loose"?r.value[l]=t[l]:r.issues.push({code:"invalid_key",origin:"record",issues:s.issues.map(m=>we(m,o,me())),input:l,path:[l],inst:e});continue}const d=n.valueType._zod.run({value:t[l],issues:[]},o);d instanceof Promise?i.push(d.then(m=>{m.issues.length&&r.issues.push(...xe(l,m.issues)),r.value[s.value]=m.value})):(d.issues.length&&r.issues.push(...xe(l,d.issues)),r.value[s.value]=d.value)}}return i.length?Promise.all(i).then(()=>r):r}}),Rl=g("$ZodMap",(e,n)=>{B.init(e,n),e._zod.parse=(r,o)=>{const t=r.value;if(!(t instanceof Map))return r.issues.push({expected:"map",code:"invalid_type",input:t,inst:e}),r;const i=[];r.value=new Map;for(const[a,l]of t){const s=n.keyType._zod.run({value:a,issues:[]},o),u=n.valueType._zod.run({value:l,issues:[]},o);s instanceof Promise||u instanceof Promise?i.push(Promise.all([s,u]).then(([d,m])=>{Jl(d,m,r,a,t,e,o)})):Jl(s,u,r,a,t,e,o)}return i.length?Promise.all(i).then(()=>r):r}});function Jl(e,n,r,o,t,i,a){e.issues.length&&(Xt.has(typeof o)?r.issues.push(...xe(o,e.issues)):r.issues.push({code:"invalid_key",origin:"map",input:t,inst:i,issues:e.issues.map(l=>we(l,a,me()))})),n.issues.length&&(Xt.has(typeof o)?r.issues.push(...xe(o,n.issues)):r.issues.push({origin:"map",code:"invalid_element",input:t,inst:i,key:o,issues:n.issues.map(l=>we(l,a,me()))})),r.value.set(e.value,n.value)}const ql=g("$ZodSet",(e,n)=>{B.init(e,n),e._zod.parse=(r,o)=>{const t=r.value;if(!(t instanceof Set))return r.issues.push({input:t,inst:e,expected:"set",code:"invalid_type"}),r;const i=[];r.value=new Set;for(const a of t){const l=n.valueType._zod.run({value:a,issues:[]},o);l instanceof Promise?i.push(l.then(s=>Yl(s,r))):Yl(l,r)}return i.length?Promise.all(i).then(()=>r):r}});function Yl(e,n){e.issues.length&&n.issues.push(...e.issues),n.value.add(e.value)}const Kl=g("$ZodEnum",(e,n)=>{B.init(e,n);const r=fr(n.entries),o=new Set(r);e._zod.values=o,e._zod.pattern=new RegExp(`^(${r.filter(t=>Xt.has(typeof t)).map(t=>typeof t=="string"?Te(t):t.toString()).join("|")})$`),e._zod.parse=(t,i)=>{const a=t.value;return o.has(a)||t.issues.push({code:"invalid_value",values:r,input:a,inst:e}),t}}),Wl=g("$ZodLiteral",(e,n)=>{if(B.init(e,n),n.values.length===0)throw new Error("Cannot create literal schema with no valid values");const r=new Set(n.values);e._zod.values=r,e._zod.pattern=new RegExp(`^(${n.values.map(o=>typeof o=="string"?Te(o):o?Te(o.toString()):String(o)).join("|")})$`),e._zod.parse=(o,t)=>{const i=o.value;return r.has(i)||o.issues.push({code:"invalid_value",values:n.values,input:i,inst:e}),o}}),Gl=g("$ZodFile",(e,n)=>{B.init(e,n),e._zod.parse=(r,o)=>{const t=r.value;return t instanceof File||r.issues.push({expected:"file",code:"invalid_type",input:t,inst:e}),r}}),Hl=g("$ZodTransform",(e,n)=>{B.init(e,n),e._zod.parse=(r,o)=>{if(o.direction==="backward")throw new Yt(e.constructor.name);const t=n.transform(r.value,r);if(o.async)return(t instanceof Promise?t:Promise.resolve(t)).then(a=>(r.value=a,r));if(t instanceof Promise)throw new Ye;return r.value=t,r}});function Xl(e,n){return e.issues.length&&n===void 0?{issues:[],value:void 0}:e}const Mr=g("$ZodOptional",(e,n)=>{B.init(e,n),e._zod.optin="optional",e._zod.optout="optional",R(e._zod,"values",()=>n.innerType._zod.values?new Set([...n.innerType._zod.values,void 0]):void 0),R(e._zod,"pattern",()=>{const r=n.innerType._zod.pattern;return r?new RegExp(`^(${Gt(r.source)})?$`):void 0}),e._zod.parse=(r,o)=>{if(n.innerType._zod.optin==="optional"){const t=n.innerType._zod.run(r,o);return t instanceof Promise?t.then(i=>Xl(i,r.value)):Xl(t,r.value)}return r.value===void 0?r:n.innerType._zod.run(r,o)}}),Ql=g("$ZodExactOptional",(e,n)=>{Mr.init(e,n),R(e._zod,"values",()=>n.innerType._zod.values),R(e._zod,"pattern",()=>n.innerType._zod.pattern),e._zod.parse=(r,o)=>n.innerType._zod.run(r,o)}),ec=g("$ZodNullable",(e,n)=>{B.init(e,n),R(e._zod,"optin",()=>n.innerType._zod.optin),R(e._zod,"optout",()=>n.innerType._zod.optout),R(e._zod,"pattern",()=>{const r=n.innerType._zod.pattern;return r?new RegExp(`^(${Gt(r.source)}|null)$`):void 0}),R(e._zod,"values",()=>n.innerType._zod.values?new Set([...n.innerType._zod.values,null]):void 0),e._zod.parse=(r,o)=>r.value===null?r:n.innerType._zod.run(r,o)}),tc=g("$ZodDefault",(e,n)=>{B.init(e,n),e._zod.optin="optional",R(e._zod,"values",()=>n.innerType._zod.values),e._zod.parse=(r,o)=>{if(o.direction==="backward")return n.innerType._zod.run(r,o);if(r.value===void 0)return r.value=n.defaultValue,r;const t=n.innerType._zod.run(r,o);return t instanceof Promise?t.then(i=>nc(i,n)):nc(t,n)}});function nc(e,n){return e.value===void 0&&(e.value=n.defaultValue),e}const rc=g("$ZodPrefault",(e,n)=>{B.init(e,n),e._zod.optin="optional",R(e._zod,"values",()=>n.innerType._zod.values),e._zod.parse=(r,o)=>(o.direction==="backward"||r.value===void 0&&(r.value=n.defaultValue),n.innerType._zod.run(r,o))}),ic=g("$ZodNonOptional",(e,n)=>{B.init(e,n),R(e._zod,"values",()=>{const r=n.innerType._zod.values;return r?new Set([...r].filter(o=>o!==void 0)):void 0}),e._zod.parse=(r,o)=>{const t=n.innerType._zod.run(r,o);return t instanceof Promise?t.then(i=>oc(i,e)):oc(t,e)}});function oc(e,n){return!e.issues.length&&e.value===void 0&&e.issues.push({code:"invalid_type",expected:"nonoptional",input:e.value,inst:n}),e}const ac=g("$ZodSuccess",(e,n)=>{B.init(e,n),e._zod.parse=(r,o)=>{if(o.direction==="backward")throw new Yt("ZodSuccess");const t=n.innerType._zod.run(r,o);return t instanceof Promise?t.then(i=>(r.value=i.issues.length===0,r)):(r.value=t.issues.length===0,r)}}),lc=g("$ZodCatch",(e,n)=>{B.init(e,n),R(e._zod,"optin",()=>n.innerType._zod.optin),R(e._zod,"optout",()=>n.innerType._zod.optout),R(e._zod,"values",()=>n.innerType._zod.values),e._zod.parse=(r,o)=>{if(o.direction==="backward")return n.innerType._zod.run(r,o);const t=n.innerType._zod.run(r,o);return t instanceof Promise?t.then(i=>(r.value=i.value,i.issues.length&&(r.value=n.catchValue({...r,error:{issues:i.issues.map(a=>we(a,o,me()))},input:r.value}),r.issues=[]),r)):(r.value=t.value,t.issues.length&&(r.value=n.catchValue({...r,error:{issues:t.issues.map(i=>we(i,o,me()))},input:r.value}),r.issues=[]),r)}}),cc=g("$ZodNaN",(e,n)=>{B.init(e,n),e._zod.parse=(r,o)=>((typeof r.value!="number"||!Number.isNaN(r.value))&&r.issues.push({input:r.value,inst:e,expected:"nan",code:"invalid_type"}),r)}),uc=g("$ZodPipe",(e,n)=>{B.init(e,n),R(e._zod,"values",()=>n.in._zod.values),R(e._zod,"optin",()=>n.in._zod.optin),R(e._zod,"optout",()=>n.out._zod.optout),R(e._zod,"propValues",()=>n.in._zod.propValues),e._zod.parse=(r,o)=>{if(o.direction==="backward"){const i=n.out._zod.run(r,o);return i instanceof Promise?i.then(a=>on(a,n.in,o)):on(i,n.in,o)}const t=n.in._zod.run(r,o);return t instanceof Promise?t.then(i=>on(i,n.out,o)):on(t,n.out,o)}});function on(e,n,r){return e.issues.length?(e.aborted=!0,e):n._zod.run({value:e.value,issues:e.issues},r)}const Vr=g("$ZodCodec",(e,n)=>{B.init(e,n),R(e._zod,"values",()=>n.in._zod.values),R(e._zod,"optin",()=>n.in._zod.optin),R(e._zod,"optout",()=>n.out._zod.optout),R(e._zod,"propValues",()=>n.in._zod.propValues),e._zod.parse=(r,o)=>{if((o.direction||"forward")==="forward"){const i=n.in._zod.run(r,o);return i instanceof Promise?i.then(a=>an(a,n,o)):an(i,n,o)}else{const i=n.out._zod.run(r,o);return i instanceof Promise?i.then(a=>an(a,n,o)):an(i,n,o)}}});function an(e,n,r){if(e.issues.length)return e.aborted=!0,e;if((r.direction||"forward")==="forward"){const t=n.transform(e.value,e);return t instanceof Promise?t.then(i=>ln(e,i,n.out,r)):ln(e,t,n.out,r)}else{const t=n.reverseTransform(e.value,e);return t instanceof Promise?t.then(i=>ln(e,i,n.in,r)):ln(e,t,n.in,r)}}function ln(e,n,r,o){return e.issues.length?(e.aborted=!0,e):r._zod.run({value:n,issues:e.issues},o)}const sc=g("$ZodReadonly",(e,n)=>{B.init(e,n),R(e._zod,"propValues",()=>n.innerType._zod.propValues),R(e._zod,"values",()=>n.innerType._zod.values),R(e._zod,"optin",()=>{var r,o;return(o=(r=n.innerType)==null?void 0:r._zod)==null?void 0:o.optin}),R(e._zod,"optout",()=>{var r,o;return(o=(r=n.innerType)==null?void 0:r._zod)==null?void 0:o.optout}),e._zod.parse=(r,o)=>{if(o.direction==="backward")return n.innerType._zod.run(r,o);const t=n.innerType._zod.run(r,o);return t instanceof Promise?t.then(dc):dc(t)}});function dc(e){return e.value=Object.freeze(e.value),e}const mc=g("$ZodTemplateLiteral",(e,n)=>{B.init(e,n);const r=[];for(const o of n.parts)if(typeof o=="object"&&o!==null){if(!o._zod.pattern)throw new Error(`Invalid template literal part, no pattern found: ${[...o._zod.traits].shift()}`);const t=o._zod.pattern instanceof RegExp?o._zod.pattern.source:o._zod.pattern;if(!t)throw new Error(`Invalid template literal part: ${o._zod.traits}`);const i=t.startsWith("^")?1:0,a=t.endsWith("$")?t.length-1:t.length;r.push(t.slice(i,a))}else if(o===null||zo.has(typeof o))r.push(Te(`${o}`));else throw new Error(`Invalid template literal part: ${o}`);e._zod.pattern=new RegExp(`^${r.join("")}$`),e._zod.parse=(o,t)=>typeof o.value!="string"?(o.issues.push({input:o.value,inst:e,expected:"string",code:"invalid_type"}),o):(e._zod.pattern.lastIndex=0,e._zod.pattern.test(o.value)||o.issues.push({input:o.value,inst:e,code:"invalid_format",format:n.format??"template_literal",pattern:e._zod.pattern.source}),o)}),fc=g("$ZodFunction",(e,n)=>(B.init(e,n),e._def=n,e._zod.def=n,e.implement=r=>{if(typeof r!="function")throw new Error("implement() must be called with a function");return function(...o){const t=e._def.input?br(e._def.input,o):o,i=Reflect.apply(r,this,t);return e._def.output?br(e._def.output,i):i}},e.implementAsync=r=>{if(typeof r!="function")throw new Error("implementAsync() must be called with a function");return async function(...o){const t=e._def.input?await _r(e._def.input,o):o,i=await Reflect.apply(r,this,t);return e._def.output?await _r(e._def.output,i):i}},e._zod.parse=(r,o)=>typeof r.value!="function"?(r.issues.push({code:"invalid_type",expected:"function",input:r.value,inst:e}),r):(e._def.output&&e._def.output._zod.def.type==="promise"?r.value=e.implementAsync(r.value):r.value=e.implement(r.value),r),e.input=(...r)=>{const o=e.constructor;return Array.isArray(r[0])?new o({type:"function",input:new Br({type:"tuple",items:r[0],rest:r[1]}),output:e._def.output}):new o({type:"function",input:r[0],output:e._def.output})},e.output=r=>{const o=e.constructor;return new o({type:"function",input:e._def.input,output:r})},e)),pc=g("$ZodPromise",(e,n)=>{B.init(e,n),e._zod.parse=(r,o)=>Promise.resolve(r.value).then(t=>n.innerType._zod.run({value:t,issues:[]},o))}),gc=g("$ZodLazy",(e,n)=>{B.init(e,n),R(e._zod,"innerType",()=>n.getter()),R(e._zod,"pattern",()=>{var r,o;return(o=(r=e._zod.innerType)==null?void 0:r._zod)==null?void 0:o.pattern}),R(e._zod,"propValues",()=>{var r,o;return(o=(r=e._zod.innerType)==null?void 0:r._zod)==null?void 0:o.propValues}),R(e._zod,"optin",()=>{var r,o;return((o=(r=e._zod.innerType)==null?void 0:r._zod)==null?void 0:o.optin)??void 0}),R(e._zod,"optout",()=>{var r,o;return((o=(r=e._zod.innerType)==null?void 0:r._zod)==null?void 0:o.optout)??void 0}),e._zod.parse=(r,o)=>e._zod.innerType._zod.run(r,o)}),vc=g("$ZodCustom",(e,n)=>{re.init(e,n),B.init(e,n),e._zod.parse=(r,o)=>r,e._zod.check=r=>{const o=r.value,t=n.fn(o);if(t instanceof Promise)return t.then(i=>hc(i,r,o,e));hc(t,r,o,e)}});function hc(e,n,r,o){if(!e){const t={code:"custom",input:r,inst:o,path:[...o._zod.def.path??[]],continue:!o._zod.def.abort};o._zod.def.params&&(t.params=o._zod.def.params),n.issues.push(tt(t))}}const lf=()=>{const e={string:{unit:"حرف",verb:"أن يحوي"},file:{unit:"بايت",verb:"أن يحوي"},array:{unit:"عنصر",verb:"أن يحوي"},set:{unit:"عنصر",verb:"أن يحوي"}};function n(t){return e[t]??null}const r={regex:"مدخل",email:"بريد إلكتروني",url:"رابط",emoji:"إيموجي",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"تاريخ ووقت بمعيار ISO",date:"تاريخ بمعيار ISO",time:"وقت بمعيار ISO",duration:"مدة بمعيار ISO",ipv4:"عنوان IPv4",ipv6:"عنوان IPv6",cidrv4:"مدى عناوين بصيغة IPv4",cidrv6:"مدى عناوين بصيغة IPv6",base64:"نَص بترميز base64-encoded",base64url:"نَص بترميز base64url-encoded",json_string:"نَص على هيئة JSON",e164:"رقم هاتف بمعيار E.164",jwt:"JWT",template_literal:"مدخل"},o={nan:"NaN"};return t=>{switch(t.code){case"invalid_type":{const i=o[t.expected]??t.expected,a=A(t.input),l=o[a]??a;return/^[A-Z]/.test(t.expected)?`مدخلات غير مقبولة: يفترض إدخال instanceof ${t.expected}، ولكن تم إدخال ${l}`:`مدخلات غير مقبولة: يفترض إدخال ${i}، ولكن تم إدخال ${l}`}case"invalid_value":return t.values.length===1?`مدخلات غير مقبولة: يفترض إدخال ${C(t.values[0])}`:`اختيار غير مقبول: يتوقع انتقاء أحد هذه الخيارات: ${S(t.values,"|")}`;case"too_big":{const i=t.inclusive?"<=":"<",a=n(t.origin);return a?` أكبر من اللازم: يفترض أن تكون ${t.origin??"القيمة"} ${i} ${t.maximum.toString()} ${a.unit??"عنصر"}`:`أكبر من اللازم: يفترض أن تكون ${t.origin??"القيمة"} ${i} ${t.maximum.toString()}`}case"too_small":{const i=t.inclusive?">=":">",a=n(t.origin);return a?`أصغر من اللازم: يفترض لـ ${t.origin} أن يكون ${i} ${t.minimum.toString()} ${a.unit}`:`أصغر من اللازم: يفترض لـ ${t.origin} أن يكون ${i} ${t.minimum.toString()}`}case"invalid_format":{const i=t;return i.format==="starts_with"?`نَص غير مقبول: يجب أن يبدأ بـ "${t.prefix}"`:i.format==="ends_with"?`نَص غير مقبول: يجب أن ينتهي بـ "${i.suffix}"`:i.format==="includes"?`نَص غير مقبول: يجب أن يتضمَّن "${i.includes}"`:i.format==="regex"?`نَص غير مقبول: يجب أن يطابق النمط ${i.pattern}`:`${r[i.format]??t.format} غير مقبول`}case"not_multiple_of":return`رقم غير مقبول: يجب أن يكون من مضاعفات ${t.divisor}`;case"unrecognized_keys":return`معرف${t.keys.length>1?"ات":""} غريب${t.keys.length>1?"ة":""}: ${S(t.keys,"، ")}`;case"invalid_key":return`معرف غير مقبول في ${t.origin}`;case"invalid_union":return"مدخل غير مقبول";case"invalid_element":return`مدخل غير مقبول في ${t.origin}`;default:return"مدخل غير مقبول"}}};function cf(){return{localeError:lf()}}const uf=()=>{const e={string:{unit:"simvol",verb:"olmalıdır"},file:{unit:"bayt",verb:"olmalıdır"},array:{unit:"element",verb:"olmalıdır"},set:{unit:"element",verb:"olmalıdır"}};function n(t){return e[t]??null}const r={regex:"input",email:"email address",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datetime",date:"ISO date",time:"ISO time",duration:"ISO duration",ipv4:"IPv4 address",ipv6:"IPv6 address",cidrv4:"IPv4 range",cidrv6:"IPv6 range",base64:"base64-encoded string",base64url:"base64url-encoded string",json_string:"JSON string",e164:"E.164 number",jwt:"JWT",template_literal:"input"},o={nan:"NaN"};return t=>{switch(t.code){case"invalid_type":{const i=o[t.expected]??t.expected,a=A(t.input),l=o[a]??a;return/^[A-Z]/.test(t.expected)?`Yanlış dəyər: gözlənilən instanceof ${t.expected}, daxil olan ${l}`:`Yanlış dəyər: gözlənilən ${i}, daxil olan ${l}`}case"invalid_value":return t.values.length===1?`Yanlış dəyər: gözlənilən ${C(t.values[0])}`:`Yanlış seçim: aşağıdakılardan biri olmalıdır: ${S(t.values,"|")}`;case"too_big":{const i=t.inclusive?"<=":"<",a=n(t.origin);return a?`Çox böyük: gözlənilən ${t.origin??"dəyər"} ${i}${t.maximum.toString()} ${a.unit??"element"}`:`Çox böyük: gözlənilən ${t.origin??"dəyər"} ${i}${t.maximum.toString()}`}case"too_small":{const i=t.inclusive?">=":">",a=n(t.origin);return a?`Çox kiçik: gözlənilən ${t.origin} ${i}${t.minimum.toString()} ${a.unit}`:`Çox kiçik: gözlənilən ${t.origin} ${i}${t.minimum.toString()}`}case"invalid_format":{const i=t;return i.format==="starts_with"?`Yanlış mətn: "${i.prefix}" ilə başlamalıdır`:i.format==="ends_with"?`Yanlış mətn: "${i.suffix}" ilə bitməlidir`:i.format==="includes"?`Yanlış mətn: "${i.includes}" daxil olmalıdır`:i.format==="regex"?`Yanlış mətn: ${i.pattern} şablonuna uyğun olmalıdır`:`Yanlış ${r[i.format]??t.format}`}case"not_multiple_of":return`Yanlış ədəd: ${t.divisor} ilə bölünə bilən olmalıdır`;case"unrecognized_keys":return`Tanınmayan açar${t.keys.length>1?"lar":""}: ${S(t.keys,", ")}`;case"invalid_key":return`${t.origin} daxilində yanlış açar`;case"invalid_union":return"Yanlış dəyər";case"invalid_element":return`${t.origin} daxilində yanlış dəyər`;default:return"Yanlış dəyər"}}};function sf(){return{localeError:uf()}}function $c(e,n,r,o){const t=Math.abs(e),i=t%10,a=t%100;return a>=11&&a<=19?o:i===1?n:i>=2&&i<=4?r:o}const df=()=>{const e={string:{unit:{one:"сімвал",few:"сімвалы",many:"сімвалаў"},verb:"мець"},array:{unit:{one:"элемент",few:"элементы",many:"элементаў"},verb:"мець"},set:{unit:{one:"элемент",few:"элементы",many:"элементаў"},verb:"мець"},file:{unit:{one:"байт",few:"байты",many:"байтаў"},verb:"мець"}};function n(t){return e[t]??null}const r={regex:"увод",email:"email адрас",url:"URL",emoji:"эмодзі",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO дата і час",date:"ISO дата",time:"ISO час",duration:"ISO працягласць",ipv4:"IPv4 адрас",ipv6:"IPv6 адрас",cidrv4:"IPv4 дыяпазон",cidrv6:"IPv6 дыяпазон",base64:"радок у фармаце base64",base64url:"радок у фармаце base64url",json_string:"JSON радок",e164:"нумар E.164",jwt:"JWT",template_literal:"увод"},o={nan:"NaN",number:"лік",array:"масіў"};return t=>{switch(t.code){case"invalid_type":{const i=o[t.expected]??t.expected,a=A(t.input),l=o[a]??a;return/^[A-Z]/.test(t.expected)?`Няправільны ўвод: чакаўся instanceof ${t.expected}, атрымана ${l}`:`Няправільны ўвод: чакаўся ${i}, атрымана ${l}`}case"invalid_value":return t.values.length===1?`Няправільны ўвод: чакалася ${C(t.values[0])}`:`Няправільны варыянт: чакаўся адзін з ${S(t.values,"|")}`;case"too_big":{const i=t.inclusive?"<=":"<",a=n(t.origin);if(a){const l=Number(t.maximum),s=$c(l,a.unit.one,a.unit.few,a.unit.many);return`Занадта вялікі: чакалася, што ${t.origin??"значэнне"} павінна ${a.verb} ${i}${t.maximum.toString()} ${s}`}return`Занадта вялікі: чакалася, што ${t.origin??"значэнне"} павінна быць ${i}${t.maximum.toString()}`}case"too_small":{const i=t.inclusive?">=":">",a=n(t.origin);if(a){const l=Number(t.minimum),s=$c(l,a.unit.one,a.unit.few,a.unit.many);return`Занадта малы: чакалася, што ${t.origin} павінна ${a.verb} ${i}${t.minimum.toString()} ${s}`}return`Занадта малы: чакалася, што ${t.origin} павінна быць ${i}${t.minimum.toString()}`}case"invalid_format":{const i=t;return i.format==="starts_with"?`Няправільны радок: павінен пачынацца з "${i.prefix}"`:i.format==="ends_with"?`Няправільны радок: павінен заканчвацца на "${i.suffix}"`:i.format==="includes"?`Няправільны радок: павінен змяшчаць "${i.includes}"`:i.format==="regex"?`Няправільны радок: павінен адпавядаць шаблону ${i.pattern}`:`Няправільны ${r[i.format]??t.format}`}case"not_multiple_of":return`Няправільны лік: павінен быць кратным ${t.divisor}`;case"unrecognized_keys":return`Нераспазнаны ${t.keys.length>1?"ключы":"ключ"}: ${S(t.keys,", ")}`;case"invalid_key":return`Няправільны ключ у ${t.origin}`;case"invalid_union":return"Няправільны ўвод";case"invalid_element":return`Няправільнае значэнне ў ${t.origin}`;default:return"Няправільны ўвод"}}};function mf(){return{localeError:df()}}const ff=()=>{const e={string:{unit:"символа",verb:"да съдържа"},file:{unit:"байта",verb:"да съдържа"},array:{unit:"елемента",verb:"да съдържа"},set:{unit:"елемента",verb:"да съдържа"}};function n(t){return e[t]??null}const r={regex:"вход",email:"имейл адрес",url:"URL",emoji:"емоджи",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO време",date:"ISO дата",time:"ISO време",duration:"ISO продължителност",ipv4:"IPv4 адрес",ipv6:"IPv6 адрес",cidrv4:"IPv4 диапазон",cidrv6:"IPv6 диапазон",base64:"base64-кодиран низ",base64url:"base64url-кодиран низ",json_string:"JSON низ",e164:"E.164 номер",jwt:"JWT",template_literal:"вход"},o={nan:"NaN",number:"число",array:"масив"};return t=>{switch(t.code){case"invalid_type":{const i=o[t.expected]??t.expected,a=A(t.input),l=o[a]??a;return/^[A-Z]/.test(t.expected)?`Невалиден вход: очакван instanceof ${t.expected}, получен ${l}`:`Невалиден вход: очакван ${i}, получен ${l}`}case"invalid_value":return t.values.length===1?`Невалиден вход: очакван ${C(t.values[0])}`:`Невалидна опция: очаквано едно от ${S(t.values,"|")}`;case"too_big":{const i=t.inclusive?"<=":"<",a=n(t.origin);return a?`Твърде голямо: очаква се ${t.origin??"стойност"} да съдържа ${i}${t.maximum.toString()} ${a.unit??"елемента"}`:`Твърде голямо: очаква се ${t.origin??"стойност"} да бъде ${i}${t.maximum.toString()}`}case"too_small":{const i=t.inclusive?">=":">",a=n(t.origin);return a?`Твърде малко: очаква се ${t.origin} да съдържа ${i}${t.minimum.toString()} ${a.unit}`:`Твърде малко: очаква се ${t.origin} да бъде ${i}${t.minimum.toString()}`}case"invalid_format":{const i=t;if(i.format==="starts_with")return`Невалиден низ: трябва да започва с "${i.prefix}"`;if(i.format==="ends_with")return`Невалиден низ: трябва да завършва с "${i.suffix}"`;if(i.format==="includes")return`Невалиден низ: трябва да включва "${i.includes}"`;if(i.format==="regex")return`Невалиден низ: трябва да съвпада с ${i.pattern}`;let a="Невалиден";return i.format==="emoji"&&(a="Невалидно"),i.format==="datetime"&&(a="Невалидно"),i.format==="date"&&(a="Невалидна"),i.format==="time"&&(a="Невалидно"),i.format==="duration"&&(a="Невалидна"),`${a} ${r[i.format]??t.format}`}case"not_multiple_of":return`Невалидно число: трябва да бъде кратно на ${t.divisor}`;case"unrecognized_keys":return`Неразпознат${t.keys.length>1?"и":""} ключ${t.keys.length>1?"ове":""}: ${S(t.keys,", ")}`;case"invalid_key":return`Невалиден ключ в ${t.origin}`;case"invalid_union":return"Невалиден вход";case"invalid_element":return`Невалидна стойност в ${t.origin}`;default:return"Невалиден вход"}}};function pf(){return{localeError:ff()}}const gf=()=>{const e={string:{unit:"caràcters",verb:"contenir"},file:{unit:"bytes",verb:"contenir"},array:{unit:"elements",verb:"contenir"},set:{unit:"elements",verb:"contenir"}};function n(t){return e[t]??null}const r={regex:"entrada",email:"adreça electrònica",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"data i hora ISO",date:"data ISO",time:"hora ISO",duration:"durada ISO",ipv4:"adreça IPv4",ipv6:"adreça IPv6",cidrv4:"rang IPv4",cidrv6:"rang IPv6",base64:"cadena codificada en base64",base64url:"cadena codificada en base64url",json_string:"cadena JSON",e164:"número E.164",jwt:"JWT",template_literal:"entrada"},o={nan:"NaN"};return t=>{switch(t.code){case"invalid_type":{const i=o[t.expected]??t.expected,a=A(t.input),l=o[a]??a;return/^[A-Z]/.test(t.expected)?`Tipus invàlid: s'esperava instanceof ${t.expected}, s'ha rebut ${l}`:`Tipus invàlid: s'esperava ${i}, s'ha rebut ${l}`}case"invalid_value":return t.values.length===1?`Valor invàlid: s'esperava ${C(t.values[0])}`:`Opció invàlida: s'esperava una de ${S(t.values," o ")}`;case"too_big":{const i=t.inclusive?"com a màxim":"menys de",a=n(t.origin);return a?`Massa gran: s'esperava que ${t.origin??"el valor"} contingués ${i} ${t.maximum.toString()} ${a.unit??"elements"}`:`Massa gran: s'esperava que ${t.origin??"el valor"} fos ${i} ${t.maximum.toString()}`}case"too_small":{const i=t.inclusive?"com a mínim":"més de",a=n(t.origin);return a?`Massa petit: s'esperava que ${t.origin} contingués ${i} ${t.minimum.toString()} ${a.unit}`:`Massa petit: s'esperava que ${t.origin} fos ${i} ${t.minimum.toString()}`}case"invalid_format":{const i=t;return i.format==="starts_with"?`Format invàlid: ha de començar amb "${i.prefix}"`:i.format==="ends_with"?`Format invàlid: ha d'acabar amb "${i.suffix}"`:i.format==="includes"?`Format invàlid: ha d'incloure "${i.includes}"`:i.format==="regex"?`Format invàlid: ha de coincidir amb el patró ${i.pattern}`:`Format invàlid per a ${r[i.format]??t.format}`}case"not_multiple_of":return`Número invàlid: ha de ser múltiple de ${t.divisor}`;case"unrecognized_keys":return`Clau${t.keys.length>1?"s":""} no reconeguda${t.keys.length>1?"s":""}: ${S(t.keys,", ")}`;case"invalid_key":return`Clau invàlida a ${t.origin}`;case"invalid_union":return"Entrada invàlida";case"invalid_element":return`Element invàlid a ${t.origin}`;default:return"Entrada invàlida"}}};function vf(){return{localeError:gf()}}const hf=()=>{const e={string:{unit:"znaků",verb:"mít"},file:{unit:"bajtů",verb:"mít"},array:{unit:"prvků",verb:"mít"},set:{unit:"prvků",verb:"mít"}};function n(t){return e[t]??null}const r={regex:"regulární výraz",email:"e-mailová adresa",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"datum a čas ve formátu ISO",date:"datum ve formátu ISO",time:"čas ve formátu ISO",duration:"doba trvání ISO",ipv4:"IPv4 adresa",ipv6:"IPv6 adresa",cidrv4:"rozsah IPv4",cidrv6:"rozsah IPv6",base64:"řetězec zakódovaný ve formátu base64",base64url:"řetězec zakódovaný ve formátu base64url",json_string:"řetězec ve formátu JSON",e164:"číslo E.164",jwt:"JWT",template_literal:"vstup"},o={nan:"NaN",number:"číslo",string:"řetězec",function:"funkce",array:"pole"};return t=>{switch(t.code){case"invalid_type":{const i=o[t.expected]??t.expected,a=A(t.input),l=o[a]??a;return/^[A-Z]/.test(t.expected)?`Neplatný vstup: očekáváno instanceof ${t.expected}, obdrženo ${l}`:`Neplatný vstup: očekáváno ${i}, obdrženo ${l}`}case"invalid_value":return t.values.length===1?`Neplatný vstup: očekáváno ${C(t.values[0])}`:`Neplatná možnost: očekávána jedna z hodnot ${S(t.values,"|")}`;case"too_big":{const i=t.inclusive?"<=":"<",a=n(t.origin);return a?`Hodnota je příliš velká: ${t.origin??"hodnota"} musí mít ${i}${t.maximum.toString()} ${a.unit??"prvků"}`:`Hodnota je příliš velká: ${t.origin??"hodnota"} musí být ${i}${t.maximum.toString()}`}case"too_small":{const i=t.inclusive?">=":">",a=n(t.origin);return a?`Hodnota je příliš malá: ${t.origin??"hodnota"} musí mít ${i}${t.minimum.toString()} ${a.unit??"prvků"}`:`Hodnota je příliš malá: ${t.origin??"hodnota"} musí být ${i}${t.minimum.toString()}`}case"invalid_format":{const i=t;return i.format==="starts_with"?`Neplatný řetězec: musí začínat na "${i.prefix}"`:i.format==="ends_with"?`Neplatný řetězec: musí končit na "${i.suffix}"`:i.format==="includes"?`Neplatný řetězec: musí obsahovat "${i.includes}"`:i.format==="regex"?`Neplatný řetězec: musí odpovídat vzoru ${i.pattern}`:`Neplatný formát ${r[i.format]??t.format}`}case"not_multiple_of":return`Neplatné číslo: musí být násobkem ${t.divisor}`;case"unrecognized_keys":return`Neznámé klíče: ${S(t.keys,", ")}`;case"invalid_key":return`Neplatný klíč v ${t.origin}`;case"invalid_union":return"Neplatný vstup";case"invalid_element":return`Neplatná hodnota v ${t.origin}`;default:return"Neplatný vstup"}}};function $f(){return{localeError:hf()}}const bf=()=>{const e={string:{unit:"tegn",verb:"havde"},file:{unit:"bytes",verb:"havde"},array:{unit:"elementer",verb:"indeholdt"},set:{unit:"elementer",verb:"indeholdt"}};function n(t){return e[t]??null}const r={regex:"input",email:"e-mailadresse",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO dato- og klokkeslæt",date:"ISO-dato",time:"ISO-klokkeslæt",duration:"ISO-varighed",ipv4:"IPv4-område",ipv6:"IPv6-område",cidrv4:"IPv4-spektrum",cidrv6:"IPv6-spektrum",base64:"base64-kodet streng",base64url:"base64url-kodet streng",json_string:"JSON-streng",e164:"E.164-nummer",jwt:"JWT",template_literal:"input"},o={nan:"NaN",string:"streng",number:"tal",boolean:"boolean",array:"liste",object:"objekt",set:"sæt",file:"fil"};return t=>{switch(t.code){case"invalid_type":{const i=o[t.expected]??t.expected,a=A(t.input),l=o[a]??a;return/^[A-Z]/.test(t.expected)?`Ugyldigt input: forventede instanceof ${t.expected}, fik ${l}`:`Ugyldigt input: forventede ${i}, fik ${l}`}case"invalid_value":return t.values.length===1?`Ugyldig værdi: forventede ${C(t.values[0])}`:`Ugyldigt valg: forventede en af følgende ${S(t.values,"|")}`;case"too_big":{const i=t.inclusive?"<=":"<",a=n(t.origin),l=o[t.origin]??t.origin;return a?`For stor: forventede ${l??"value"} ${a.verb} ${i} ${t.maximum.toString()} ${a.unit??"elementer"}`:`For stor: forventede ${l??"value"} havde ${i} ${t.maximum.toString()}`}case"too_small":{const i=t.inclusive?">=":">",a=n(t.origin),l=o[t.origin]??t.origin;return a?`For lille: forventede ${l} ${a.verb} ${i} ${t.minimum.toString()} ${a.unit}`:`For lille: forventede ${l} havde ${i} ${t.minimum.toString()}`}case"invalid_format":{const i=t;return i.format==="starts_with"?`Ugyldig streng: skal starte med "${i.prefix}"`:i.format==="ends_with"?`Ugyldig streng: skal ende med "${i.suffix}"`:i.format==="includes"?`Ugyldig streng: skal indeholde "${i.includes}"`:i.format==="regex"?`Ugyldig streng: skal matche mønsteret ${i.pattern}`:`Ugyldig ${r[i.format]??t.format}`}case"not_multiple_of":return`Ugyldigt tal: skal være deleligt med ${t.divisor}`;case"unrecognized_keys":return`${t.keys.length>1?"Ukendte nøgler":"Ukendt nøgle"}: ${S(t.keys,", ")}`;case"invalid_key":return`Ugyldig nøgle i ${t.origin}`;case"invalid_union":return"Ugyldigt input: matcher ingen af de tilladte typer";case"invalid_element":return`Ugyldig værdi i ${t.origin}`;default:return"Ugyldigt input"}}};function _f(){return{localeError:bf()}}const yf=()=>{const e={string:{unit:"Zeichen",verb:"zu haben"},file:{unit:"Bytes",verb:"zu haben"},array:{unit:"Elemente",verb:"zu haben"},set:{unit:"Elemente",verb:"zu haben"}};function n(t){return e[t]??null}const r={regex:"Eingabe",email:"E-Mail-Adresse",url:"URL",emoji:"Emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO-Datum und -Uhrzeit",date:"ISO-Datum",time:"ISO-Uhrzeit",duration:"ISO-Dauer",ipv4:"IPv4-Adresse",ipv6:"IPv6-Adresse",cidrv4:"IPv4-Bereich",cidrv6:"IPv6-Bereich",base64:"Base64-codierter String",base64url:"Base64-URL-codierter String",json_string:"JSON-String",e164:"E.164-Nummer",jwt:"JWT",template_literal:"Eingabe"},o={nan:"NaN",number:"Zahl",array:"Array"};return t=>{switch(t.code){case"invalid_type":{const i=o[t.expected]??t.expected,a=A(t.input),l=o[a]??a;return/^[A-Z]/.test(t.expected)?`Ungültige Eingabe: erwartet instanceof ${t.expected}, erhalten ${l}`:`Ungültige Eingabe: erwartet ${i}, erhalten ${l}`}case"invalid_value":return t.values.length===1?`Ungültige Eingabe: erwartet ${C(t.values[0])}`:`Ungültige Option: erwartet eine von ${S(t.values,"|")}`;case"too_big":{const i=t.inclusive?"<=":"<",a=n(t.origin);return a?`Zu groß: erwartet, dass ${t.origin??"Wert"} ${i}${t.maximum.toString()} ${a.unit??"Elemente"} hat`:`Zu groß: erwartet, dass ${t.origin??"Wert"} ${i}${t.maximum.toString()} ist`}case"too_small":{const i=t.inclusive?">=":">",a=n(t.origin);return a?`Zu klein: erwartet, dass ${t.origin} ${i}${t.minimum.toString()} ${a.unit} hat`:`Zu klein: erwartet, dass ${t.origin} ${i}${t.minimum.toString()} ist`}case"invalid_format":{const i=t;return i.format==="starts_with"?`Ungültiger String: muss mit "${i.prefix}" beginnen`:i.format==="ends_with"?`Ungültiger String: muss mit "${i.suffix}" enden`:i.format==="includes"?`Ungültiger String: muss "${i.includes}" enthalten`:i.format==="regex"?`Ungültiger String: muss dem Muster ${i.pattern} entsprechen`:`Ungültig: ${r[i.format]??t.format}`}case"not_multiple_of":return`Ungültige Zahl: muss ein Vielfaches von ${t.divisor} sein`;case"unrecognized_keys":return`${t.keys.length>1?"Unbekannte Schlüssel":"Unbekannter Schlüssel"}: ${S(t.keys,", ")}`;case"invalid_key":return`Ungültiger Schlüssel in ${t.origin}`;case"invalid_union":return"Ungültige Eingabe";case"invalid_element":return`Ungültiger Wert in ${t.origin}`;default:return"Ungültige Eingabe"}}};function kf(){return{localeError:yf()}}const Sf=()=>{const e={string:{unit:"characters",verb:"to have"},file:{unit:"bytes",verb:"to have"},array:{unit:"items",verb:"to have"},set:{unit:"items",verb:"to have"},map:{unit:"entries",verb:"to have"}};function n(t){return e[t]??null}const r={regex:"input",email:"email address",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datetime",date:"ISO date",time:"ISO time",duration:"ISO duration",ipv4:"IPv4 address",ipv6:"IPv6 address",mac:"MAC address",cidrv4:"IPv4 range",cidrv6:"IPv6 range",base64:"base64-encoded string",base64url:"base64url-encoded string",json_string:"JSON string",e164:"E.164 number",jwt:"JWT",template_literal:"input"},o={nan:"NaN"};return t=>{switch(t.code){case"invalid_type":{const i=o[t.expected]??t.expected,a=A(t.input),l=o[a]??a;return`Invalid input: expected ${i}, received ${l}`}case"invalid_value":return t.values.length===1?`Invalid input: expected ${C(t.values[0])}`:`Invalid option: expected one of ${S(t.values,"|")}`;case"too_big":{const i=t.inclusive?"<=":"<",a=n(t.origin);return a?`Too big: expected ${t.origin??"value"} to have ${i}${t.maximum.toString()} ${a.unit??"elements"}`:`Too big: expected ${t.origin??"value"} to be ${i}${t.maximum.toString()}`}case"too_small":{const i=t.inclusive?">=":">",a=n(t.origin);return a?`Too small: expected ${t.origin} to have ${i}${t.minimum.toString()} ${a.unit}`:`Too small: expected ${t.origin} to be ${i}${t.minimum.toString()}`}case"invalid_format":{const i=t;return i.format==="starts_with"?`Invalid string: must start with "${i.prefix}"`:i.format==="ends_with"?`Invalid string: must end with "${i.suffix}"`:i.format==="includes"?`Invalid string: must include "${i.includes}"`:i.format==="regex"?`Invalid string: must match pattern ${i.pattern}`:`Invalid ${r[i.format]??t.format}`}case"not_multiple_of":return`Invalid number: must be a multiple of ${t.divisor}`;case"unrecognized_keys":return`Unrecognized key${t.keys.length>1?"s":""}: ${S(t.keys,", ")}`;case"invalid_key":return`Invalid key in ${t.origin}`;case"invalid_union":return"Invalid input";case"invalid_element":return`Invalid value in ${t.origin}`;default:return"Invalid input"}}};function bc(){return{localeError:Sf()}}const wf=()=>{const e={string:{unit:"karaktrojn",verb:"havi"},file:{unit:"bajtojn",verb:"havi"},array:{unit:"elementojn",verb:"havi"},set:{unit:"elementojn",verb:"havi"}};function n(t){return e[t]??null}const r={regex:"enigo",email:"retadreso",url:"URL",emoji:"emoĝio",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO-datotempo",date:"ISO-dato",time:"ISO-tempo",duration:"ISO-daŭro",ipv4:"IPv4-adreso",ipv6:"IPv6-adreso",cidrv4:"IPv4-rango",cidrv6:"IPv6-rango",base64:"64-ume kodita karaktraro",base64url:"URL-64-ume kodita karaktraro",json_string:"JSON-karaktraro",e164:"E.164-nombro",jwt:"JWT",template_literal:"enigo"},o={nan:"NaN",number:"nombro",array:"tabelo",null:"senvalora"};return t=>{switch(t.code){case"invalid_type":{const i=o[t.expected]??t.expected,a=A(t.input),l=o[a]??a;return/^[A-Z]/.test(t.expected)?`Nevalida enigo: atendiĝis instanceof ${t.expected}, riceviĝis ${l}`:`Nevalida enigo: atendiĝis ${i}, riceviĝis ${l}`}case"invalid_value":return t.values.length===1?`Nevalida enigo: atendiĝis ${C(t.values[0])}`:`Nevalida opcio: atendiĝis unu el ${S(t.values,"|")}`;case"too_big":{const i=t.inclusive?"<=":"<",a=n(t.origin);return a?`Tro granda: atendiĝis ke ${t.origin??"valoro"} havu ${i}${t.maximum.toString()} ${a.unit??"elementojn"}`:`Tro granda: atendiĝis ke ${t.origin??"valoro"} havu ${i}${t.maximum.toString()}`}case"too_small":{const i=t.inclusive?">=":">",a=n(t.origin);return a?`Tro malgranda: atendiĝis ke ${t.origin} havu ${i}${t.minimum.toString()} ${a.unit}`:`Tro malgranda: atendiĝis ke ${t.origin} estu ${i}${t.minimum.toString()}`}case"invalid_format":{const i=t;return i.format==="starts_with"?`Nevalida karaktraro: devas komenciĝi per "${i.prefix}"`:i.format==="ends_with"?`Nevalida karaktraro: devas finiĝi per "${i.suffix}"`:i.format==="includes"?`Nevalida karaktraro: devas inkluzivi "${i.includes}"`:i.format==="regex"?`Nevalida karaktraro: devas kongrui kun la modelo ${i.pattern}`:`Nevalida ${r[i.format]??t.format}`}case"not_multiple_of":return`Nevalida nombro: devas esti oblo de ${t.divisor}`;case"unrecognized_keys":return`Nekonata${t.keys.length>1?"j":""} ŝlosilo${t.keys.length>1?"j":""}: ${S(t.keys,", ")}`;case"invalid_key":return`Nevalida ŝlosilo en ${t.origin}`;case"invalid_union":return"Nevalida enigo";case"invalid_element":return`Nevalida valoro en ${t.origin}`;default:return"Nevalida enigo"}}};function If(){return{localeError:wf()}}const zf=()=>{const e={string:{unit:"caracteres",verb:"tener"},file:{unit:"bytes",verb:"tener"},array:{unit:"elementos",verb:"tener"},set:{unit:"elementos",verb:"tener"}};function n(t){return e[t]??null}const r={regex:"entrada",email:"dirección de correo electrónico",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"fecha y hora ISO",date:"fecha ISO",time:"hora ISO",duration:"duración ISO",ipv4:"dirección IPv4",ipv6:"dirección IPv6",cidrv4:"rango IPv4",cidrv6:"rango IPv6",base64:"cadena codificada en base64",base64url:"URL codificada en base64",json_string:"cadena JSON",e164:"número E.164",jwt:"JWT",template_literal:"entrada"},o={nan:"NaN",string:"texto",number:"número",boolean:"booleano",array:"arreglo",object:"objeto",set:"conjunto",file:"archivo",date:"fecha",bigint:"número grande",symbol:"símbolo",undefined:"indefinido",null:"nulo",function:"función",map:"mapa",record:"registro",tuple:"tupla",enum:"enumeración",union:"unión",literal:"literal",promise:"promesa",void:"vacío",never:"nunca",unknown:"desconocido",any:"cualquiera"};return t=>{switch(t.code){case"invalid_type":{const i=o[t.expected]??t.expected,a=A(t.input),l=o[a]??a;return/^[A-Z]/.test(t.expected)?`Entrada inválida: se esperaba instanceof ${t.expected}, recibido ${l}`:`Entrada inválida: se esperaba ${i}, recibido ${l}`}case"invalid_value":return t.values.length===1?`Entrada inválida: se esperaba ${C(t.values[0])}`:`Opción inválida: se esperaba una de ${S(t.values,"|")}`;case"too_big":{const i=t.inclusive?"<=":"<",a=n(t.origin),l=o[t.origin]??t.origin;return a?`Demasiado grande: se esperaba que ${l??"valor"} tuviera ${i}${t.maximum.toString()} ${a.unit??"elementos"}`:`Demasiado grande: se esperaba que ${l??"valor"} fuera ${i}${t.maximum.toString()}`}case"too_small":{const i=t.inclusive?">=":">",a=n(t.origin),l=o[t.origin]??t.origin;return a?`Demasiado pequeño: se esperaba que ${l} tuviera ${i}${t.minimum.toString()} ${a.unit}`:`Demasiado pequeño: se esperaba que ${l} fuera ${i}${t.minimum.toString()}`}case"invalid_format":{const i=t;return i.format==="starts_with"?`Cadena inválida: debe comenzar con "${i.prefix}"`:i.format==="ends_with"?`Cadena inválida: debe terminar en "${i.suffix}"`:i.format==="includes"?`Cadena inválida: debe incluir "${i.includes}"`:i.format==="regex"?`Cadena inválida: debe coincidir con el patrón ${i.pattern}`:`Inválido ${r[i.format]??t.format}`}case"not_multiple_of":return`Número inválido: debe ser múltiplo de ${t.divisor}`;case"unrecognized_keys":return`Llave${t.keys.length>1?"s":""} desconocida${t.keys.length>1?"s":""}: ${S(t.keys,", ")}`;case"invalid_key":return`Llave inválida en ${o[t.origin]??t.origin}`;case"invalid_union":return"Entrada inválida";case"invalid_element":return`Valor inválido en ${o[t.origin]??t.origin}`;default:return"Entrada inválida"}}};function xf(){return{localeError:zf()}}const Df=()=>{const e={string:{unit:"کاراکتر",verb:"داشته باشد"},file:{unit:"بایت",verb:"داشته باشد"},array:{unit:"آیتم",verb:"داشته باشد"},set:{unit:"آیتم",verb:"داشته باشد"}};function n(t){return e[t]??null}const r={regex:"ورودی",email:"آدرس ایمیل",url:"URL",emoji:"ایموجی",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"تاریخ و زمان ایزو",date:"تاریخ ایزو",time:"زمان ایزو",duration:"مدت زمان ایزو",ipv4:"IPv4 آدرس",ipv6:"IPv6 آدرس",cidrv4:"IPv4 دامنه",cidrv6:"IPv6 دامنه",base64:"base64-encoded رشته",base64url:"base64url-encoded رشته",json_string:"JSON رشته",e164:"E.164 عدد",jwt:"JWT",template_literal:"ورودی"},o={nan:"NaN",number:"عدد",array:"آرایه"};return t=>{switch(t.code){case"invalid_type":{const i=o[t.expected]??t.expected,a=A(t.input),l=o[a]??a;return/^[A-Z]/.test(t.expected)?`ورودی نامعتبر: می‌بایست instanceof ${t.expected} می‌بود، ${l} دریافت شد`:`ورودی نامعتبر: می‌بایست ${i} می‌بود، ${l} دریافت شد`}case"invalid_value":return t.values.length===1?`ورودی نامعتبر: می‌بایست ${C(t.values[0])} می‌بود`:`گزینه نامعتبر: می‌بایست یکی از ${S(t.values,"|")} می‌بود`;case"too_big":{const i=t.inclusive?"<=":"<",a=n(t.origin);return a?`خیلی بزرگ: ${t.origin??"مقدار"} باید ${i}${t.maximum.toString()} ${a.unit??"عنصر"} باشد`:`خیلی بزرگ: ${t.origin??"مقدار"} باید ${i}${t.maximum.toString()} باشد`}case"too_small":{const i=t.inclusive?">=":">",a=n(t.origin);return a?`خیلی کوچک: ${t.origin} باید ${i}${t.minimum.toString()} ${a.unit} باشد`:`خیلی کوچک: ${t.origin} باید ${i}${t.minimum.toString()} باشد`}case"invalid_format":{const i=t;return i.format==="starts_with"?`رشته نامعتبر: باید با "${i.prefix}" شروع شود`:i.format==="ends_with"?`رشته نامعتبر: باید با "${i.suffix}" تمام شود`:i.format==="includes"?`رشته نامعتبر: باید شامل "${i.includes}" باشد`:i.format==="regex"?`رشته نامعتبر: باید با الگوی ${i.pattern} مطابقت داشته باشد`:`${r[i.format]??t.format} نامعتبر`}case"not_multiple_of":return`عدد نامعتبر: باید مضرب ${t.divisor} باشد`;case"unrecognized_keys":return`کلید${t.keys.length>1?"های":""} ناشناس: ${S(t.keys,", ")}`;case"invalid_key":return`کلید ناشناس در ${t.origin}`;case"invalid_union":return"ورودی نامعتبر";case"invalid_element":return`مقدار نامعتبر در ${t.origin}`;default:return"ورودی نامعتبر"}}};function Ef(){return{localeError:Df()}}const Of=()=>{const e={string:{unit:"merkkiä",subject:"merkkijonon"},file:{unit:"tavua",subject:"tiedoston"},array:{unit:"alkiota",subject:"listan"},set:{unit:"alkiota",subject:"joukon"},number:{unit:"",subject:"luvun"},bigint:{unit:"",subject:"suuren kokonaisluvun"},int:{unit:"",subject:"kokonaisluvun"},date:{unit:"",subject:"päivämäärän"}};function n(t){return e[t]??null}const r={regex:"säännöllinen lauseke",email:"sähköpostiosoite",url:"URL-osoite",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO-aikaleima",date:"ISO-päivämäärä",time:"ISO-aika",duration:"ISO-kesto",ipv4:"IPv4-osoite",ipv6:"IPv6-osoite",cidrv4:"IPv4-alue",cidrv6:"IPv6-alue",base64:"base64-koodattu merkkijono",base64url:"base64url-koodattu merkkijono",json_string:"JSON-merkkijono",e164:"E.164-luku",jwt:"JWT",template_literal:"templaattimerkkijono"},o={nan:"NaN"};return t=>{switch(t.code){case"invalid_type":{const i=o[t.expected]??t.expected,a=A(t.input),l=o[a]??a;return/^[A-Z]/.test(t.expected)?`Virheellinen tyyppi: odotettiin instanceof ${t.expected}, oli ${l}`:`Virheellinen tyyppi: odotettiin ${i}, oli ${l}`}case"invalid_value":return t.values.length===1?`Virheellinen syöte: täytyy olla ${C(t.values[0])}`:`Virheellinen valinta: täytyy olla yksi seuraavista: ${S(t.values,"|")}`;case"too_big":{const i=t.inclusive?"<=":"<",a=n(t.origin);return a?`Liian suuri: ${a.subject} täytyy olla ${i}${t.maximum.toString()} ${a.unit}`.trim():`Liian suuri: arvon täytyy olla ${i}${t.maximum.toString()}`}case"too_small":{const i=t.inclusive?">=":">",a=n(t.origin);return a?`Liian pieni: ${a.subject} täytyy olla ${i}${t.minimum.toString()} ${a.unit}`.trim():`Liian pieni: arvon täytyy olla ${i}${t.minimum.toString()}`}case"invalid_format":{const i=t;return i.format==="starts_with"?`Virheellinen syöte: täytyy alkaa "${i.prefix}"`:i.format==="ends_with"?`Virheellinen syöte: täytyy loppua "${i.suffix}"`:i.format==="includes"?`Virheellinen syöte: täytyy sisältää "${i.includes}"`:i.format==="regex"?`Virheellinen syöte: täytyy vastata säännöllistä lauseketta ${i.pattern}`:`Virheellinen ${r[i.format]??t.format}`}case"not_multiple_of":return`Virheellinen luku: täytyy olla luvun ${t.divisor} monikerta`;case"unrecognized_keys":return`${t.keys.length>1?"Tuntemattomat avaimet":"Tuntematon avain"}: ${S(t.keys,", ")}`;case"invalid_key":return"Virheellinen avain tietueessa";case"invalid_union":return"Virheellinen unioni";case"invalid_element":return"Virheellinen arvo joukossa";default:return"Virheellinen syöte"}}};function Nf(){return{localeError:Of()}}const jf=()=>{const e={string:{unit:"caractères",verb:"avoir"},file:{unit:"octets",verb:"avoir"},array:{unit:"éléments",verb:"avoir"},set:{unit:"éléments",verb:"avoir"}};function n(t){return e[t]??null}const r={regex:"entrée",email:"adresse e-mail",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"date et heure ISO",date:"date ISO",time:"heure ISO",duration:"durée ISO",ipv4:"adresse IPv4",ipv6:"adresse IPv6",cidrv4:"plage IPv4",cidrv6:"plage IPv6",base64:"chaîne encodée en base64",base64url:"chaîne encodée en base64url",json_string:"chaîne JSON",e164:"numéro E.164",jwt:"JWT",template_literal:"entrée"},o={nan:"NaN",number:"nombre",array:"tableau"};return t=>{switch(t.code){case"invalid_type":{const i=o[t.expected]??t.expected,a=A(t.input),l=o[a]??a;return/^[A-Z]/.test(t.expected)?`Entrée invalide : instanceof ${t.expected} attendu, ${l} reçu`:`Entrée invalide : ${i} attendu, ${l} reçu`}case"invalid_value":return t.values.length===1?`Entrée invalide : ${C(t.values[0])} attendu`:`Option invalide : une valeur parmi ${S(t.values,"|")} attendue`;case"too_big":{const i=t.inclusive?"<=":"<",a=n(t.origin);return a?`Trop grand : ${t.origin??"valeur"} doit ${a.verb} ${i}${t.maximum.toString()} ${a.unit??"élément(s)"}`:`Trop grand : ${t.origin??"valeur"} doit être ${i}${t.maximum.toString()}`}case"too_small":{const i=t.inclusive?">=":">",a=n(t.origin);return a?`Trop petit : ${t.origin} doit ${a.verb} ${i}${t.minimum.toString()} ${a.unit}`:`Trop petit : ${t.origin} doit être ${i}${t.minimum.toString()}`}case"invalid_format":{const i=t;return i.format==="starts_with"?`Chaîne invalide : doit commencer par "${i.prefix}"`:i.format==="ends_with"?`Chaîne invalide : doit se terminer par "${i.suffix}"`:i.format==="includes"?`Chaîne invalide : doit inclure "${i.includes}"`:i.format==="regex"?`Chaîne invalide : doit correspondre au modèle ${i.pattern}`:`${r[i.format]??t.format} invalide`}case"not_multiple_of":return`Nombre invalide : doit être un multiple de ${t.divisor}`;case"unrecognized_keys":return`Clé${t.keys.length>1?"s":""} non reconnue${t.keys.length>1?"s":""} : ${S(t.keys,", ")}`;case"invalid_key":return`Clé invalide dans ${t.origin}`;case"invalid_union":return"Entrée invalide";case"invalid_element":return`Valeur invalide dans ${t.origin}`;default:return"Entrée invalide"}}};function Uf(){return{localeError:jf()}}const Tf=()=>{const e={string:{unit:"caractères",verb:"avoir"},file:{unit:"octets",verb:"avoir"},array:{unit:"éléments",verb:"avoir"},set:{unit:"éléments",verb:"avoir"}};function n(t){return e[t]??null}const r={regex:"entrée",email:"adresse courriel",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"date-heure ISO",date:"date ISO",time:"heure ISO",duration:"durée ISO",ipv4:"adresse IPv4",ipv6:"adresse IPv6",cidrv4:"plage IPv4",cidrv6:"plage IPv6",base64:"chaîne encodée en base64",base64url:"chaîne encodée en base64url",json_string:"chaîne JSON",e164:"numéro E.164",jwt:"JWT",template_literal:"entrée"},o={nan:"NaN"};return t=>{switch(t.code){case"invalid_type":{const i=o[t.expected]??t.expected,a=A(t.input),l=o[a]??a;return/^[A-Z]/.test(t.expected)?`Entrée invalide : attendu instanceof ${t.expected}, reçu ${l}`:`Entrée invalide : attendu ${i}, reçu ${l}`}case"invalid_value":return t.values.length===1?`Entrée invalide : attendu ${C(t.values[0])}`:`Option invalide : attendu l'une des valeurs suivantes ${S(t.values,"|")}`;case"too_big":{const i=t.inclusive?"≤":"<",a=n(t.origin);return a?`Trop grand : attendu que ${t.origin??"la valeur"} ait ${i}${t.maximum.toString()} ${a.unit}`:`Trop grand : attendu que ${t.origin??"la valeur"} soit ${i}${t.maximum.toString()}`}case"too_small":{const i=t.inclusive?"≥":">",a=n(t.origin);return a?`Trop petit : attendu que ${t.origin} ait ${i}${t.minimum.toString()} ${a.unit}`:`Trop petit : attendu que ${t.origin} soit ${i}${t.minimum.toString()}`}case"invalid_format":{const i=t;return i.format==="starts_with"?`Chaîne invalide : doit commencer par "${i.prefix}"`:i.format==="ends_with"?`Chaîne invalide : doit se terminer par "${i.suffix}"`:i.format==="includes"?`Chaîne invalide : doit inclure "${i.includes}"`:i.format==="regex"?`Chaîne invalide : doit correspondre au motif ${i.pattern}`:`${r[i.format]??t.format} invalide`}case"not_multiple_of":return`Nombre invalide : doit être un multiple de ${t.divisor}`;case"unrecognized_keys":return`Clé${t.keys.length>1?"s":""} non reconnue${t.keys.length>1?"s":""} : ${S(t.keys,", ")}`;case"invalid_key":return`Clé invalide dans ${t.origin}`;case"invalid_union":return"Entrée invalide";case"invalid_element":return`Valeur invalide dans ${t.origin}`;default:return"Entrée invalide"}}};function Pf(){return{localeError:Tf()}}const Cf=()=>{const e={string:{label:"מחרוזת",gender:"f"},number:{label:"מספר",gender:"m"},boolean:{label:"ערך בוליאני",gender:"m"},bigint:{label:"BigInt",gender:"m"},date:{label:"תאריך",gender:"m"},array:{label:"מערך",gender:"m"},object:{label:"אובייקט",gender:"m"},null:{label:"ערך ריק (null)",gender:"m"},undefined:{label:"ערך לא מוגדר (undefined)",gender:"m"},symbol:{label:"סימבול (Symbol)",gender:"m"},function:{label:"פונקציה",gender:"f"},map:{label:"מפה (Map)",gender:"f"},set:{label:"קבוצה (Set)",gender:"f"},file:{label:"קובץ",gender:"m"},promise:{label:"Promise",gender:"m"},NaN:{label:"NaN",gender:"m"},unknown:{label:"ערך לא ידוע",gender:"m"},value:{label:"ערך",gender:"m"}},n={string:{unit:"תווים",shortLabel:"קצר",longLabel:"ארוך"},file:{unit:"בייטים",shortLabel:"קטן",longLabel:"גדול"},array:{unit:"פריטים",shortLabel:"קטן",longLabel:"גדול"},set:{unit:"פריטים",shortLabel:"קטן",longLabel:"גדול"},number:{unit:"",shortLabel:"קטן",longLabel:"גדול"}},r=u=>u?e[u]:void 0,o=u=>{const d=r(u);return d?d.label:u??e.unknown.label},t=u=>`ה${o(u)}`,i=u=>{const d=r(u);return((d==null?void 0:d.gender)??"m")==="f"?"צריכה להיות":"צריך להיות"},a=u=>u?n[u]??null:null,l={regex:{label:"קלט",gender:"m"},email:{label:"כתובת אימייל",gender:"f"},url:{label:"כתובת רשת",gender:"f"},emoji:{label:"אימוג'י",gender:"m"},uuid:{label:"UUID",gender:"m"},nanoid:{label:"nanoid",gender:"m"},guid:{label:"GUID",gender:"m"},cuid:{label:"cuid",gender:"m"},cuid2:{label:"cuid2",gender:"m"},ulid:{label:"ULID",gender:"m"},xid:{label:"XID",gender:"m"},ksuid:{label:"KSUID",gender:"m"},datetime:{label:"תאריך וזמן ISO",gender:"m"},date:{label:"תאריך ISO",gender:"m"},time:{label:"זמן ISO",gender:"m"},duration:{label:"משך זמן ISO",gender:"m"},ipv4:{label:"כתובת IPv4",gender:"f"},ipv6:{label:"כתובת IPv6",gender:"f"},cidrv4:{label:"טווח IPv4",gender:"m"},cidrv6:{label:"טווח IPv6",gender:"m"},base64:{label:"מחרוזת בבסיס 64",gender:"f"},base64url:{label:"מחרוזת בבסיס 64 לכתובות רשת",gender:"f"},json_string:{label:"מחרוזת JSON",gender:"f"},e164:{label:"מספר E.164",gender:"m"},jwt:{label:"JWT",gender:"m"},ends_with:{label:"קלט",gender:"m"},includes:{label:"קלט",gender:"m"},lowercase:{label:"קלט",gender:"m"},starts_with:{label:"קלט",gender:"m"},uppercase:{label:"קלט",gender:"m"}},s={nan:"NaN"};return u=>{var d;switch(u.code){case"invalid_type":{const m=u.expected,p=s[m??""]??o(m),v=A(u.input),h=s[v]??((d=e[v])==null?void 0:d.label)??v;return/^[A-Z]/.test(u.expected)?`קלט לא תקין: צריך להיות instanceof ${u.expected}, התקבל ${h}`:`קלט לא תקין: צריך להיות ${p}, התקבל ${h}`}case"invalid_value":{if(u.values.length===1)return`ערך לא תקין: הערך חייב להיות ${C(u.values[0])}`;const m=u.values.map(h=>C(h));if(u.values.length===2)return`ערך לא תקין: האפשרויות המתאימות הן ${m[0]} או ${m[1]}`;const p=m[m.length-1];return`ערך לא תקין: האפשרויות המתאימות הן ${m.slice(0,-1).join(", ")} או ${p}`}case"too_big":{const m=a(u.origin),p=t(u.origin??"value");if(u.origin==="string")return`${(m==null?void 0:m.longLabel)??"ארוך"} מדי: ${p} צריכה להכיל ${u.maximum.toString()} ${(m==null?void 0:m.unit)??""} ${u.inclusive?"או פחות":"לכל היותר"}`.trim();if(u.origin==="number"){const f=u.inclusive?`קטן או שווה ל-${u.maximum}`:`קטן מ-${u.maximum}`;return`גדול מדי: ${p} צריך להיות ${f}`}if(u.origin==="array"||u.origin==="set"){const f=u.origin==="set"?"צריכה":"צריך",$=u.inclusive?`${u.maximum} ${(m==null?void 0:m.unit)??""} או פחות`:`פחות מ-${u.maximum} ${(m==null?void 0:m.unit)??""}`;return`גדול מדי: ${p} ${f} להכיל ${$}`.trim()}const v=u.inclusive?"<=":"<",h=i(u.origin??"value");return m!=null&&m.unit?`${m.longLabel} מדי: ${p} ${h} ${v}${u.maximum.toString()} ${m.unit}`:`${(m==null?void 0:m.longLabel)??"גדול"} מדי: ${p} ${h} ${v}${u.maximum.toString()}`}case"too_small":{const m=a(u.origin),p=t(u.origin??"value");if(u.origin==="string")return`${(m==null?void 0:m.shortLabel)??"קצר"} מדי: ${p} צריכה להכיל ${u.minimum.toString()} ${(m==null?void 0:m.unit)??""} ${u.inclusive?"או יותר":"לפחות"}`.trim();if(u.origin==="number"){const f=u.inclusive?`גדול או שווה ל-${u.minimum}`:`גדול מ-${u.minimum}`;return`קטן מדי: ${p} צריך להיות ${f}`}if(u.origin==="array"||u.origin==="set"){const f=u.origin==="set"?"צריכה":"צריך";if(u.minimum===1&&u.inclusive){const _=(u.origin==="set","לפחות פריט אחד");return`קטן מדי: ${p} ${f} להכיל ${_}`}const $=u.inclusive?`${u.minimum} ${(m==null?void 0:m.unit)??""} או יותר`:`יותר מ-${u.minimum} ${(m==null?void 0:m.unit)??""}`;return`קטן מדי: ${p} ${f} להכיל ${$}`.trim()}const v=u.inclusive?">=":">",h=i(u.origin??"value");return m!=null&&m.unit?`${m.shortLabel} מדי: ${p} ${h} ${v}${u.minimum.toString()} ${m.unit}`:`${(m==null?void 0:m.shortLabel)??"קטן"} מדי: ${p} ${h} ${v}${u.minimum.toString()}`}case"invalid_format":{const m=u;if(m.format==="starts_with")return`המחרוזת חייבת להתחיל ב "${m.prefix}"`;if(m.format==="ends_with")return`המחרוזת חייבת להסתיים ב "${m.suffix}"`;if(m.format==="includes")return`המחרוזת חייבת לכלול "${m.includes}"`;if(m.format==="regex")return`המחרוזת חייבת להתאים לתבנית ${m.pattern}`;const p=l[m.format],v=(p==null?void 0:p.label)??m.format,f=((p==null?void 0:p.gender)??"m")==="f"?"תקינה":"תקין";return`${v} לא ${f}`}case"not_multiple_of":return`מספר לא תקין: חייב להיות מכפלה של ${u.divisor}`;case"unrecognized_keys":return`מפתח${u.keys.length>1?"ות":""} לא מזוה${u.keys.length>1?"ים":"ה"}: ${S(u.keys,", ")}`;case"invalid_key":return"שדה לא תקין באובייקט";case"invalid_union":return"קלט לא תקין";case"invalid_element":return`ערך לא תקין ב${t(u.origin??"array")}`;default:return"קלט לא תקין"}}};function Af(){return{localeError:Cf()}}const Zf=()=>{const e={string:{unit:"karakter",verb:"legyen"},file:{unit:"byte",verb:"legyen"},array:{unit:"elem",verb:"legyen"},set:{unit:"elem",verb:"legyen"}};function n(t){return e[t]??null}const r={regex:"bemenet",email:"email cím",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO időbélyeg",date:"ISO dátum",time:"ISO idő",duration:"ISO időintervallum",ipv4:"IPv4 cím",ipv6:"IPv6 cím",cidrv4:"IPv4 tartomány",cidrv6:"IPv6 tartomány",base64:"base64-kódolt string",base64url:"base64url-kódolt string",json_string:"JSON string",e164:"E.164 szám",jwt:"JWT",template_literal:"bemenet"},o={nan:"NaN",number:"szám",array:"tömb"};return t=>{switch(t.code){case"invalid_type":{const i=o[t.expected]??t.expected,a=A(t.input),l=o[a]??a;return/^[A-Z]/.test(t.expected)?`Érvénytelen bemenet: a várt érték instanceof ${t.expected}, a kapott érték ${l}`:`Érvénytelen bemenet: a várt érték ${i}, a kapott érték ${l}`}case"invalid_value":return t.values.length===1?`Érvénytelen bemenet: a várt érték ${C(t.values[0])}`:`Érvénytelen opció: valamelyik érték várt ${S(t.values,"|")}`;case"too_big":{const i=t.inclusive?"<=":"<",a=n(t.origin);return a?`Túl nagy: ${t.origin??"érték"} mérete túl nagy ${i}${t.maximum.toString()} ${a.unit??"elem"}`:`Túl nagy: a bemeneti érték ${t.origin??"érték"} túl nagy: ${i}${t.maximum.toString()}`}case"too_small":{const i=t.inclusive?">=":">",a=n(t.origin);return a?`Túl kicsi: a bemeneti érték ${t.origin} mérete túl kicsi ${i}${t.minimum.toString()} ${a.unit}`:`Túl kicsi: a bemeneti érték ${t.origin} túl kicsi ${i}${t.minimum.toString()}`}case"invalid_format":{const i=t;return i.format==="starts_with"?`Érvénytelen string: "${i.prefix}" értékkel kell kezdődnie`:i.format==="ends_with"?`Érvénytelen string: "${i.suffix}" értékkel kell végződnie`:i.format==="includes"?`Érvénytelen string: "${i.includes}" értéket kell tartalmaznia`:i.format==="regex"?`Érvénytelen string: ${i.pattern} mintának kell megfelelnie`:`Érvénytelen ${r[i.format]??t.format}`}case"not_multiple_of":return`Érvénytelen szám: ${t.divisor} többszörösének kell lennie`;case"unrecognized_keys":return`Ismeretlen kulcs${t.keys.length>1?"s":""}: ${S(t.keys,", ")}`;case"invalid_key":return`Érvénytelen kulcs ${t.origin}`;case"invalid_union":return"Érvénytelen bemenet";case"invalid_element":return`Érvénytelen érték: ${t.origin}`;default:return"Érvénytelen bemenet"}}};function Bf(){return{localeError:Zf()}}function _c(e,n,r){return Math.abs(e)===1?n:r}function rt(e){if(!e)return"";const n=["ա","ե","ը","ի","ո","ու","օ"],r=e[e.length-1];return e+(n.includes(r)?"ն":"ը")}const Mf=()=>{const e={string:{unit:{one:"նշան",many:"նշաններ"},verb:"ունենալ"},file:{unit:{one:"բայթ",many:"բայթեր"},verb:"ունենալ"},array:{unit:{one:"տարր",many:"տարրեր"},verb:"ունենալ"},set:{unit:{one:"տարր",many:"տարրեր"},verb:"ունենալ"}};function n(t){return e[t]??null}const r={regex:"մուտք",email:"էլ. հասցե",url:"URL",emoji:"էմոջի",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO ամսաթիվ և ժամ",date:"ISO ամսաթիվ",time:"ISO ժամ",duration:"ISO տևողություն",ipv4:"IPv4 հասցե",ipv6:"IPv6 հասցե",cidrv4:"IPv4 միջակայք",cidrv6:"IPv6 միջակայք",base64:"base64 ձևաչափով տող",base64url:"base64url ձևաչափով տող",json_string:"JSON տող",e164:"E.164 համար",jwt:"JWT",template_literal:"մուտք"},o={nan:"NaN",number:"թիվ",array:"զանգված"};return t=>{switch(t.code){case"invalid_type":{const i=o[t.expected]??t.expected,a=A(t.input),l=o[a]??a;return/^[A-Z]/.test(t.expected)?`Սխալ մուտքագրում․ սպասվում էր instanceof ${t.expected}, ստացվել է ${l}`:`Սխալ մուտքագրում․ սպասվում էր ${i}, ստացվել է ${l}`}case"invalid_value":return t.values.length===1?`Սխալ մուտքագրում․ սպասվում էր ${C(t.values[1])}`:`Սխալ տարբերակ․ սպասվում էր հետևյալներից մեկը՝ ${S(t.values,"|")}`;case"too_big":{const i=t.inclusive?"<=":"<",a=n(t.origin);if(a){const l=Number(t.maximum),s=_c(l,a.unit.one,a.unit.many);return`Չափազանց մեծ արժեք․ սպասվում է, որ ${rt(t.origin??"արժեք")} կունենա ${i}${t.maximum.toString()} ${s}`}return`Չափազանց մեծ արժեք․ սպասվում է, որ ${rt(t.origin??"արժեք")} լինի ${i}${t.maximum.toString()}`}case"too_small":{const i=t.inclusive?">=":">",a=n(t.origin);if(a){const l=Number(t.minimum),s=_c(l,a.unit.one,a.unit.many);return`Չափազանց փոքր արժեք․ սպասվում է, որ ${rt(t.origin)} կունենա ${i}${t.minimum.toString()} ${s}`}return`Չափազանց փոքր արժեք․ սպասվում է, որ ${rt(t.origin)} լինի ${i}${t.minimum.toString()}`}case"invalid_format":{const i=t;return i.format==="starts_with"?`Սխալ տող․ պետք է սկսվի "${i.prefix}"-ով`:i.format==="ends_with"?`Սխալ տող․ պետք է ավարտվի "${i.suffix}"-ով`:i.format==="includes"?`Սխալ տող․ պետք է պարունակի "${i.includes}"`:i.format==="regex"?`Սխալ տող․ պետք է համապատասխանի ${i.pattern} ձևաչափին`:`Սխալ ${r[i.format]??t.format}`}case"not_multiple_of":return`Սխալ թիվ․ պետք է բազմապատիկ լինի ${t.divisor}-ի`;case"unrecognized_keys":return`Չճանաչված բանալի${t.keys.length>1?"ներ":""}. ${S(t.keys,", ")}`;case"invalid_key":return`Սխալ բանալի ${rt(t.origin)}-ում`;case"invalid_union":return"Սխալ մուտքագրում";case"invalid_element":return`Սխալ արժեք ${rt(t.origin)}-ում`;default:return"Սխալ մուտքագրում"}}};function Vf(){return{localeError:Mf()}}const Ff=()=>{const e={string:{unit:"karakter",verb:"memiliki"},file:{unit:"byte",verb:"memiliki"},array:{unit:"item",verb:"memiliki"},set:{unit:"item",verb:"memiliki"}};function n(t){return e[t]??null}const r={regex:"input",email:"alamat email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"tanggal dan waktu format ISO",date:"tanggal format ISO",time:"jam format ISO",duration:"durasi format ISO",ipv4:"alamat IPv4",ipv6:"alamat IPv6",cidrv4:"rentang alamat IPv4",cidrv6:"rentang alamat IPv6",base64:"string dengan enkode base64",base64url:"string dengan enkode base64url",json_string:"string JSON",e164:"angka E.164",jwt:"JWT",template_literal:"input"},o={nan:"NaN"};return t=>{switch(t.code){case"invalid_type":{const i=o[t.expected]??t.expected,a=A(t.input),l=o[a]??a;return/^[A-Z]/.test(t.expected)?`Input tidak valid: diharapkan instanceof ${t.expected}, diterima ${l}`:`Input tidak valid: diharapkan ${i}, diterima ${l}`}case"invalid_value":return t.values.length===1?`Input tidak valid: diharapkan ${C(t.values[0])}`:`Pilihan tidak valid: diharapkan salah satu dari ${S(t.values,"|")}`;case"too_big":{const i=t.inclusive?"<=":"<",a=n(t.origin);return a?`Terlalu besar: diharapkan ${t.origin??"value"} memiliki ${i}${t.maximum.toString()} ${a.unit??"elemen"}`:`Terlalu besar: diharapkan ${t.origin??"value"} menjadi ${i}${t.maximum.toString()}`}case"too_small":{const i=t.inclusive?">=":">",a=n(t.origin);return a?`Terlalu kecil: diharapkan ${t.origin} memiliki ${i}${t.minimum.toString()} ${a.unit}`:`Terlalu kecil: diharapkan ${t.origin} menjadi ${i}${t.minimum.toString()}`}case"invalid_format":{const i=t;return i.format==="starts_with"?`String tidak valid: harus dimulai dengan "${i.prefix}"`:i.format==="ends_with"?`String tidak valid: harus berakhir dengan "${i.suffix}"`:i.format==="includes"?`String tidak valid: harus menyertakan "${i.includes}"`:i.format==="regex"?`String tidak valid: harus sesuai pola ${i.pattern}`:`${r[i.format]??t.format} tidak valid`}case"not_multiple_of":return`Angka tidak valid: harus kelipatan dari ${t.divisor}`;case"unrecognized_keys":return`Kunci tidak dikenali ${t.keys.length>1?"s":""}: ${S(t.keys,", ")}`;case"invalid_key":return`Kunci tidak valid di ${t.origin}`;case"invalid_union":return"Input tidak valid";case"invalid_element":return`Nilai tidak valid di ${t.origin}`;default:return"Input tidak valid"}}};function Lf(){return{localeError:Ff()}}const Rf=()=>{const e={string:{unit:"stafi",verb:"að hafa"},file:{unit:"bæti",verb:"að hafa"},array:{unit:"hluti",verb:"að hafa"},set:{unit:"hluti",verb:"að hafa"}};function n(t){return e[t]??null}const r={regex:"gildi",email:"netfang",url:"vefslóð",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO dagsetning og tími",date:"ISO dagsetning",time:"ISO tími",duration:"ISO tímalengd",ipv4:"IPv4 address",ipv6:"IPv6 address",cidrv4:"IPv4 range",cidrv6:"IPv6 range",base64:"base64-encoded strengur",base64url:"base64url-encoded strengur",json_string:"JSON strengur",e164:"E.164 tölugildi",jwt:"JWT",template_literal:"gildi"},o={nan:"NaN",number:"númer",array:"fylki"};return t=>{switch(t.code){case"invalid_type":{const i=o[t.expected]??t.expected,a=A(t.input),l=o[a]??a;return/^[A-Z]/.test(t.expected)?`Rangt gildi: Þú slóst inn ${l} þar sem á að vera instanceof ${t.expected}`:`Rangt gildi: Þú slóst inn ${l} þar sem á að vera ${i}`}case"invalid_value":return t.values.length===1?`Rangt gildi: gert ráð fyrir ${C(t.values[0])}`:`Ógilt val: má vera eitt af eftirfarandi ${S(t.values,"|")}`;case"too_big":{const i=t.inclusive?"<=":"<",a=n(t.origin);return a?`Of stórt: gert er ráð fyrir að ${t.origin??"gildi"} hafi ${i}${t.maximum.toString()} ${a.unit??"hluti"}`:`Of stórt: gert er ráð fyrir að ${t.origin??"gildi"} sé ${i}${t.maximum.toString()}`}case"too_small":{const i=t.inclusive?">=":">",a=n(t.origin);return a?`Of lítið: gert er ráð fyrir að ${t.origin} hafi ${i}${t.minimum.toString()} ${a.unit}`:`Of lítið: gert er ráð fyrir að ${t.origin} sé ${i}${t.minimum.toString()}`}case"invalid_format":{const i=t;return i.format==="starts_with"?`Ógildur strengur: verður að byrja á "${i.prefix}"`:i.format==="ends_with"?`Ógildur strengur: verður að enda á "${i.suffix}"`:i.format==="includes"?`Ógildur strengur: verður að innihalda "${i.includes}"`:i.format==="regex"?`Ógildur strengur: verður að fylgja mynstri ${i.pattern}`:`Rangt ${r[i.format]??t.format}`}case"not_multiple_of":return`Röng tala: verður að vera margfeldi af ${t.divisor}`;case"unrecognized_keys":return`Óþekkt ${t.keys.length>1?"ir lyklar":"ur lykill"}: ${S(t.keys,", ")}`;case"invalid_key":return`Rangur lykill í ${t.origin}`;case"invalid_union":return"Rangt gildi";case"invalid_element":return`Rangt gildi í ${t.origin}`;default:return"Rangt gildi"}}};function Jf(){return{localeError:Rf()}}const qf=()=>{const e={string:{unit:"caratteri",verb:"avere"},file:{unit:"byte",verb:"avere"},array:{unit:"elementi",verb:"avere"},set:{unit:"elementi",verb:"avere"}};function n(t){return e[t]??null}const r={regex:"input",email:"indirizzo email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"data e ora ISO",date:"data ISO",time:"ora ISO",duration:"durata ISO",ipv4:"indirizzo IPv4",ipv6:"indirizzo IPv6",cidrv4:"intervallo IPv4",cidrv6:"intervallo IPv6",base64:"stringa codificata in base64",base64url:"URL codificata in base64",json_string:"stringa JSON",e164:"numero E.164",jwt:"JWT",template_literal:"input"},o={nan:"NaN",number:"numero",array:"vettore"};return t=>{switch(t.code){case"invalid_type":{const i=o[t.expected]??t.expected,a=A(t.input),l=o[a]??a;return/^[A-Z]/.test(t.expected)?`Input non valido: atteso instanceof ${t.expected}, ricevuto ${l}`:`Input non valido: atteso ${i}, ricevuto ${l}`}case"invalid_value":return t.values.length===1?`Input non valido: atteso ${C(t.values[0])}`:`Opzione non valida: atteso uno tra ${S(t.values,"|")}`;case"too_big":{const i=t.inclusive?"<=":"<",a=n(t.origin);return a?`Troppo grande: ${t.origin??"valore"} deve avere ${i}${t.maximum.toString()} ${a.unit??"elementi"}`:`Troppo grande: ${t.origin??"valore"} deve essere ${i}${t.maximum.toString()}`}case"too_small":{const i=t.inclusive?">=":">",a=n(t.origin);return a?`Troppo piccolo: ${t.origin} deve avere ${i}${t.minimum.toString()} ${a.unit}`:`Troppo piccolo: ${t.origin} deve essere ${i}${t.minimum.toString()}`}case"invalid_format":{const i=t;return i.format==="starts_with"?`Stringa non valida: deve iniziare con "${i.prefix}"`:i.format==="ends_with"?`Stringa non valida: deve terminare con "${i.suffix}"`:i.format==="includes"?`Stringa non valida: deve includere "${i.includes}"`:i.format==="regex"?`Stringa non valida: deve corrispondere al pattern ${i.pattern}`:`Invalid ${r[i.format]??t.format}`}case"not_multiple_of":return`Numero non valido: deve essere un multiplo di ${t.divisor}`;case"unrecognized_keys":return`Chiav${t.keys.length>1?"i":"e"} non riconosciut${t.keys.length>1?"e":"a"}: ${S(t.keys,", ")}`;case"invalid_key":return`Chiave non valida in ${t.origin}`;case"invalid_union":return"Input non valido";case"invalid_element":return`Valore non valido in ${t.origin}`;default:return"Input non valido"}}};function Yf(){return{localeError:qf()}}const Kf=()=>{const e={string:{unit:"文字",verb:"である"},file:{unit:"バイト",verb:"である"},array:{unit:"要素",verb:"である"},set:{unit:"要素",verb:"である"}};function n(t){return e[t]??null}const r={regex:"入力値",email:"メールアドレス",url:"URL",emoji:"絵文字",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO日時",date:"ISO日付",time:"ISO時刻",duration:"ISO期間",ipv4:"IPv4アドレス",ipv6:"IPv6アドレス",cidrv4:"IPv4範囲",cidrv6:"IPv6範囲",base64:"base64エンコード文字列",base64url:"base64urlエンコード文字列",json_string:"JSON文字列",e164:"E.164番号",jwt:"JWT",template_literal:"入力値"},o={nan:"NaN",number:"数値",array:"配列"};return t=>{switch(t.code){case"invalid_type":{const i=o[t.expected]??t.expected,a=A(t.input),l=o[a]??a;return/^[A-Z]/.test(t.expected)?`無効な入力: instanceof ${t.expected}が期待されましたが、${l}が入力されました`:`無効な入力: ${i}が期待されましたが、${l}が入力されました`}case"invalid_value":return t.values.length===1?`無効な入力: ${C(t.values[0])}が期待されました`:`無効な選択: ${S(t.values,"、")}のいずれかである必要があります`;case"too_big":{const i=t.inclusive?"以下である":"より小さい",a=n(t.origin);return a?`大きすぎる値: ${t.origin??"値"}は${t.maximum.toString()}${a.unit??"要素"}${i}必要があります`:`大きすぎる値: ${t.origin??"値"}は${t.maximum.toString()}${i}必要があります`}case"too_small":{const i=t.inclusive?"以上である":"より大きい",a=n(t.origin);return a?`小さすぎる値: ${t.origin}は${t.minimum.toString()}${a.unit}${i}必要があります`:`小さすぎる値: ${t.origin}は${t.minimum.toString()}${i}必要があります`}case"invalid_format":{const i=t;return i.format==="starts_with"?`無効な文字列: "${i.prefix}"で始まる必要があります`:i.format==="ends_with"?`無効な文字列: "${i.suffix}"で終わる必要があります`:i.format==="includes"?`無効な文字列: "${i.includes}"を含む必要があります`:i.format==="regex"?`無効な文字列: パターン${i.pattern}に一致する必要があります`:`無効な${r[i.format]??t.format}`}case"not_multiple_of":return`無効な数値: ${t.divisor}の倍数である必要があります`;case"unrecognized_keys":return`認識されていないキー${t.keys.length>1?"群":""}: ${S(t.keys,"、")}`;case"invalid_key":return`${t.origin}内の無効なキー`;case"invalid_union":return"無効な入力";case"invalid_element":return`${t.origin}内の無効な値`;default:return"無効な入力"}}};function Wf(){return{localeError:Kf()}}const Gf=()=>{const e={string:{unit:"სიმბოლო",verb:"უნდა შეიცავდეს"},file:{unit:"ბაიტი",verb:"უნდა შეიცავდეს"},array:{unit:"ელემენტი",verb:"უნდა შეიცავდეს"},set:{unit:"ელემენტი",verb:"უნდა შეიცავდეს"}};function n(t){return e[t]??null}const r={regex:"შეყვანა",email:"ელ-ფოსტის მისამართი",url:"URL",emoji:"ემოჯი",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"თარიღი-დრო",date:"თარიღი",time:"დრო",duration:"ხანგრძლივობა",ipv4:"IPv4 მისამართი",ipv6:"IPv6 მისამართი",cidrv4:"IPv4 დიაპაზონი",cidrv6:"IPv6 დიაპაზონი",base64:"base64-კოდირებული სტრინგი",base64url:"base64url-კოდირებული სტრინგი",json_string:"JSON სტრინგი",e164:"E.164 ნომერი",jwt:"JWT",template_literal:"შეყვანა"},o={nan:"NaN",number:"რიცხვი",string:"სტრინგი",boolean:"ბულეანი",function:"ფუნქცია",array:"მასივი"};return t=>{switch(t.code){case"invalid_type":{const i=o[t.expected]??t.expected,a=A(t.input),l=o[a]??a;return/^[A-Z]/.test(t.expected)?`არასწორი შეყვანა: მოსალოდნელი instanceof ${t.expected}, მიღებული ${l}`:`არასწორი შეყვანა: მოსალოდნელი ${i}, მიღებული ${l}`}case"invalid_value":return t.values.length===1?`არასწორი შეყვანა: მოსალოდნელი ${C(t.values[0])}`:`არასწორი ვარიანტი: მოსალოდნელია ერთ-ერთი ${S(t.values,"|")}-დან`;case"too_big":{const i=t.inclusive?"<=":"<",a=n(t.origin);return a?`ზედმეტად დიდი: მოსალოდნელი ${t.origin??"მნიშვნელობა"} ${a.verb} ${i}${t.maximum.toString()} ${a.unit}`:`ზედმეტად დიდი: მოსალოდნელი ${t.origin??"მნიშვნელობა"} იყოს ${i}${t.maximum.toString()}`}case"too_small":{const i=t.inclusive?">=":">",a=n(t.origin);return a?`ზედმეტად პატარა: მოსალოდნელი ${t.origin} ${a.verb} ${i}${t.minimum.toString()} ${a.unit}`:`ზედმეტად პატარა: მოსალოდნელი ${t.origin} იყოს ${i}${t.minimum.toString()}`}case"invalid_format":{const i=t;return i.format==="starts_with"?`არასწორი სტრინგი: უნდა იწყებოდეს "${i.prefix}"-ით`:i.format==="ends_with"?`არასწორი სტრინგი: უნდა მთავრდებოდეს "${i.suffix}"-ით`:i.format==="includes"?`არასწორი სტრინგი: უნდა შეიცავდეს "${i.includes}"-ს`:i.format==="regex"?`არასწორი სტრინგი: უნდა შეესაბამებოდეს შაბლონს ${i.pattern}`:`არასწორი ${r[i.format]??t.format}`}case"not_multiple_of":return`არასწორი რიცხვი: უნდა იყოს ${t.divisor}-ის ჯერადი`;case"unrecognized_keys":return`უცნობი გასაღებ${t.keys.length>1?"ები":"ი"}: ${S(t.keys,", ")}`;case"invalid_key":return`არასწორი გასაღები ${t.origin}-ში`;case"invalid_union":return"არასწორი შეყვანა";case"invalid_element":return`არასწორი მნიშვნელობა ${t.origin}-ში`;default:return"არასწორი შეყვანა"}}};function Hf(){return{localeError:Gf()}}const Xf=()=>{const e={string:{unit:"តួអក្សរ",verb:"គួរមាន"},file:{unit:"បៃ",verb:"គួរមាន"},array:{unit:"ធាតុ",verb:"គួរមាន"},set:{unit:"ធាតុ",verb:"គួរមាន"}};function n(t){return e[t]??null}const r={regex:"ទិន្នន័យបញ្ចូល",email:"អាសយដ្ឋានអ៊ីមែល",url:"URL",emoji:"សញ្ញាអារម្មណ៍",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"កាលបរិច្ឆេទ និងម៉ោង ISO",date:"កាលបរិច្ឆេទ ISO",time:"ម៉ោង ISO",duration:"រយៈពេល ISO",ipv4:"អាសយដ្ឋាន IPv4",ipv6:"អាសយដ្ឋាន IPv6",cidrv4:"ដែនអាសយដ្ឋាន IPv4",cidrv6:"ដែនអាសយដ្ឋាន IPv6",base64:"ខ្សែអក្សរអ៊ិកូដ base64",base64url:"ខ្សែអក្សរអ៊ិកូដ base64url",json_string:"ខ្សែអក្សរ JSON",e164:"លេខ E.164",jwt:"JWT",template_literal:"ទិន្នន័យបញ្ចូល"},o={nan:"NaN",number:"លេខ",array:"អារេ (Array)",null:"គ្មានតម្លៃ (null)"};return t=>{switch(t.code){case"invalid_type":{const i=o[t.expected]??t.expected,a=A(t.input),l=o[a]??a;return/^[A-Z]/.test(t.expected)?`ទិន្នន័យបញ្ចូលមិនត្រឹមត្រូវ៖ ត្រូវការ instanceof ${t.expected} ប៉ុន្តែទទួលបាន ${l}`:`ទិន្នន័យបញ្ចូលមិនត្រឹមត្រូវ៖ ត្រូវការ ${i} ប៉ុន្តែទទួលបាន ${l}`}case"invalid_value":return t.values.length===1?`ទិន្នន័យបញ្ចូលមិនត្រឹមត្រូវ៖ ត្រូវការ ${C(t.values[0])}`:`ជម្រើសមិនត្រឹមត្រូវ៖ ត្រូវជាមួយក្នុងចំណោម ${S(t.values,"|")}`;case"too_big":{const i=t.inclusive?"<=":"<",a=n(t.origin);return a?`ធំពេក៖ ត្រូវការ ${t.origin??"តម្លៃ"} ${i} ${t.maximum.toString()} ${a.unit??"ធាតុ"}`:`ធំពេក៖ ត្រូវការ ${t.origin??"តម្លៃ"} ${i} ${t.maximum.toString()}`}case"too_small":{const i=t.inclusive?">=":">",a=n(t.origin);return a?`តូចពេក៖ ត្រូវការ ${t.origin} ${i} ${t.minimum.toString()} ${a.unit}`:`តូចពេក៖ ត្រូវការ ${t.origin} ${i} ${t.minimum.toString()}`}case"invalid_format":{const i=t;return i.format==="starts_with"?`ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវចាប់ផ្តើមដោយ "${i.prefix}"`:i.format==="ends_with"?`ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវបញ្ចប់ដោយ "${i.suffix}"`:i.format==="includes"?`ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវមាន "${i.includes}"`:i.format==="regex"?`ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវតែផ្គូផ្គងនឹងទម្រង់ដែលបានកំណត់ ${i.pattern}`:`មិនត្រឹមត្រូវ៖ ${r[i.format]??t.format}`}case"not_multiple_of":return`លេខមិនត្រឹមត្រូវ៖ ត្រូវតែជាពហុគុណនៃ ${t.divisor}`;case"unrecognized_keys":return`រកឃើញសោមិនស្គាល់៖ ${S(t.keys,", ")}`;case"invalid_key":return`សោមិនត្រឹមត្រូវនៅក្នុង ${t.origin}`;case"invalid_union":return"ទិន្នន័យមិនត្រឹមត្រូវ";case"invalid_element":return`ទិន្នន័យមិនត្រឹមត្រូវនៅក្នុង ${t.origin}`;default:return"ទិន្នន័យមិនត្រឹមត្រូវ"}}};function yc(){return{localeError:Xf()}}function Qf(){return yc()}const ep=()=>{const e={string:{unit:"문자",verb:"to have"},file:{unit:"바이트",verb:"to have"},array:{unit:"개",verb:"to have"},set:{unit:"개",verb:"to have"}};function n(t){return e[t]??null}const r={regex:"입력",email:"이메일 주소",url:"URL",emoji:"이모지",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO 날짜시간",date:"ISO 날짜",time:"ISO 시간",duration:"ISO 기간",ipv4:"IPv4 주소",ipv6:"IPv6 주소",cidrv4:"IPv4 범위",cidrv6:"IPv6 범위",base64:"base64 인코딩 문자열",base64url:"base64url 인코딩 문자열",json_string:"JSON 문자열",e164:"E.164 번호",jwt:"JWT",template_literal:"입력"},o={nan:"NaN"};return t=>{switch(t.code){case"invalid_type":{const i=o[t.expected]??t.expected,a=A(t.input),l=o[a]??a;return/^[A-Z]/.test(t.expected)?`잘못된 입력: 예상 타입은 instanceof ${t.expected}, 받은 타입은 ${l}입니다`:`잘못된 입력: 예상 타입은 ${i}, 받은 타입은 ${l}입니다`}case"invalid_value":return t.values.length===1?`잘못된 입력: 값은 ${C(t.values[0])} 이어야 합니다`:`잘못된 옵션: ${S(t.values,"또는 ")} 중 하나여야 합니다`;case"too_big":{const i=t.inclusive?"이하":"미만",a=i==="미만"?"이어야 합니다":"여야 합니다",l=n(t.origin),s=(l==null?void 0:l.unit)??"요소";return l?`${t.origin??"값"}이 너무 큽니다: ${t.maximum.toString()}${s} ${i}${a}`:`${t.origin??"값"}이 너무 큽니다: ${t.maximum.toString()} ${i}${a}`}case"too_small":{const i=t.inclusive?"이상":"초과",a=i==="이상"?"이어야 합니다":"여야 합니다",l=n(t.origin),s=(l==null?void 0:l.unit)??"요소";return l?`${t.origin??"값"}이 너무 작습니다: ${t.minimum.toString()}${s} ${i}${a}`:`${t.origin??"값"}이 너무 작습니다: ${t.minimum.toString()} ${i}${a}`}case"invalid_format":{const i=t;return i.format==="starts_with"?`잘못된 문자열: "${i.prefix}"(으)로 시작해야 합니다`:i.format==="ends_with"?`잘못된 문자열: "${i.suffix}"(으)로 끝나야 합니다`:i.format==="includes"?`잘못된 문자열: "${i.includes}"을(를) 포함해야 합니다`:i.format==="regex"?`잘못된 문자열: 정규식 ${i.pattern} 패턴과 일치해야 합니다`:`잘못된 ${r[i.format]??t.format}`}case"not_multiple_of":return`잘못된 숫자: ${t.divisor}의 배수여야 합니다`;case"unrecognized_keys":return`인식할 수 없는 키: ${S(t.keys,", ")}`;case"invalid_key":return`잘못된 키: ${t.origin}`;case"invalid_union":return"잘못된 입력";case"invalid_element":return`잘못된 값: ${t.origin}`;default:return"잘못된 입력"}}};function tp(){return{localeError:ep()}}const St=e=>e.charAt(0).toUpperCase()+e.slice(1);function kc(e){const n=Math.abs(e),r=n%10,o=n%100;return o>=11&&o<=19||r===0?"many":r===1?"one":"few"}const np=()=>{const e={string:{unit:{one:"simbolis",few:"simboliai",many:"simbolių"},verb:{smaller:{inclusive:"turi būti ne ilgesnė kaip",notInclusive:"turi būti trumpesnė kaip"},bigger:{inclusive:"turi būti ne trumpesnė kaip",notInclusive:"turi būti ilgesnė kaip"}}},file:{unit:{one:"baitas",few:"baitai",many:"baitų"},verb:{smaller:{inclusive:"turi būti ne didesnis kaip",notInclusive:"turi būti mažesnis kaip"},bigger:{inclusive:"turi būti ne mažesnis kaip",notInclusive:"turi būti didesnis kaip"}}},array:{unit:{one:"elementą",few:"elementus",many:"elementų"},verb:{smaller:{inclusive:"turi turėti ne daugiau kaip",notInclusive:"turi turėti mažiau kaip"},bigger:{inclusive:"turi turėti ne mažiau kaip",notInclusive:"turi turėti daugiau kaip"}}},set:{unit:{one:"elementą",few:"elementus",many:"elementų"},verb:{smaller:{inclusive:"turi turėti ne daugiau kaip",notInclusive:"turi turėti mažiau kaip"},bigger:{inclusive:"turi turėti ne mažiau kaip",notInclusive:"turi turėti daugiau kaip"}}}};function n(t,i,a,l){const s=e[t]??null;return s===null?s:{unit:s.unit[i],verb:s.verb[l][a?"inclusive":"notInclusive"]}}const r={regex:"įvestis",email:"el. pašto adresas",url:"URL",emoji:"jaustukas",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO data ir laikas",date:"ISO data",time:"ISO laikas",duration:"ISO trukmė",ipv4:"IPv4 adresas",ipv6:"IPv6 adresas",cidrv4:"IPv4 tinklo prefiksas (CIDR)",cidrv6:"IPv6 tinklo prefiksas (CIDR)",base64:"base64 užkoduota eilutė",base64url:"base64url užkoduota eilutė",json_string:"JSON eilutė",e164:"E.164 numeris",jwt:"JWT",template_literal:"įvestis"},o={nan:"NaN",number:"skaičius",bigint:"sveikasis skaičius",string:"eilutė",boolean:"loginė reikšmė",undefined:"neapibrėžta reikšmė",function:"funkcija",symbol:"simbolis",array:"masyvas",object:"objektas",null:"nulinė reikšmė"};return t=>{switch(t.code){case"invalid_type":{const i=o[t.expected]??t.expected,a=A(t.input),l=o[a]??a;return/^[A-Z]/.test(t.expected)?`Gautas tipas ${l}, o tikėtasi - instanceof ${t.expected}`:`Gautas tipas ${l}, o tikėtasi - ${i}`}case"invalid_value":return t.values.length===1?`Privalo būti ${C(t.values[0])}`:`Privalo būti vienas iš ${S(t.values,"|")} pasirinkimų`;case"too_big":{const i=o[t.origin]??t.origin,a=n(t.origin,kc(Number(t.maximum)),t.inclusive??!1,"smaller");if(a!=null&&a.verb)return`${St(i??t.origin??"reikšmė")} ${a.verb} ${t.maximum.toString()} ${a.unit??"elementų"}`;const l=t.inclusive?"ne didesnis kaip":"mažesnis kaip";return`${St(i??t.origin??"reikšmė")} turi būti ${l} ${t.maximum.toString()} ${a==null?void 0:a.unit}`}case"too_small":{const i=o[t.origin]??t.origin,a=n(t.origin,kc(Number(t.minimum)),t.inclusive??!1,"bigger");if(a!=null&&a.verb)return`${St(i??t.origin??"reikšmė")} ${a.verb} ${t.minimum.toString()} ${a.unit??"elementų"}`;const l=t.inclusive?"ne mažesnis kaip":"didesnis kaip";return`${St(i??t.origin??"reikšmė")} turi būti ${l} ${t.minimum.toString()} ${a==null?void 0:a.unit}`}case"invalid_format":{const i=t;return i.format==="starts_with"?`Eilutė privalo prasidėti "${i.prefix}"`:i.format==="ends_with"?`Eilutė privalo pasibaigti "${i.suffix}"`:i.format==="includes"?`Eilutė privalo įtraukti "${i.includes}"`:i.format==="regex"?`Eilutė privalo atitikti ${i.pattern}`:`Neteisingas ${r[i.format]??t.format}`}case"not_multiple_of":return`Skaičius privalo būti ${t.divisor} kartotinis.`;case"unrecognized_keys":return`Neatpažint${t.keys.length>1?"i":"as"} rakt${t.keys.length>1?"ai":"as"}: ${S(t.keys,", ")}`;case"invalid_key":return"Rastas klaidingas raktas";case"invalid_union":return"Klaidinga įvestis";case"invalid_element":{const i=o[t.origin]??t.origin;return`${St(i??t.origin??"reikšmė")} turi klaidingą įvestį`}default:return"Klaidinga įvestis"}}};function rp(){return{localeError:np()}}const ip=()=>{const e={string:{unit:"знаци",verb:"да имаат"},file:{unit:"бајти",verb:"да имаат"},array:{unit:"ставки",verb:"да имаат"},set:{unit:"ставки",verb:"да имаат"}};function n(t){return e[t]??null}const r={regex:"внес",email:"адреса на е-пошта",url:"URL",emoji:"емоџи",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO датум и време",date:"ISO датум",time:"ISO време",duration:"ISO времетраење",ipv4:"IPv4 адреса",ipv6:"IPv6 адреса",cidrv4:"IPv4 опсег",cidrv6:"IPv6 опсег",base64:"base64-енкодирана низа",base64url:"base64url-енкодирана низа",json_string:"JSON низа",e164:"E.164 број",jwt:"JWT",template_literal:"внес"},o={nan:"NaN",number:"број",array:"низа"};return t=>{switch(t.code){case"invalid_type":{const i=o[t.expected]??t.expected,a=A(t.input),l=o[a]??a;return/^[A-Z]/.test(t.expected)?`Грешен внес: се очекува instanceof ${t.expected}, примено ${l}`:`Грешен внес: се очекува ${i}, примено ${l}`}case"invalid_value":return t.values.length===1?`Invalid input: expected ${C(t.values[0])}`:`Грешана опција: се очекува една ${S(t.values,"|")}`;case"too_big":{const i=t.inclusive?"<=":"<",a=n(t.origin);return a?`Премногу голем: се очекува ${t.origin??"вредноста"} да има ${i}${t.maximum.toString()} ${a.unit??"елементи"}`:`Премногу голем: се очекува ${t.origin??"вредноста"} да биде ${i}${t.maximum.toString()}`}case"too_small":{const i=t.inclusive?">=":">",a=n(t.origin);return a?`Премногу мал: се очекува ${t.origin} да има ${i}${t.minimum.toString()} ${a.unit}`:`Премногу мал: се очекува ${t.origin} да биде ${i}${t.minimum.toString()}`}case"invalid_format":{const i=t;return i.format==="starts_with"?`Неважечка низа: мора да започнува со "${i.prefix}"`:i.format==="ends_with"?`Неважечка низа: мора да завршува со "${i.suffix}"`:i.format==="includes"?`Неважечка низа: мора да вклучува "${i.includes}"`:i.format==="regex"?`Неважечка низа: мора да одгоара на патернот ${i.pattern}`:`Invalid ${r[i.format]??t.format}`}case"not_multiple_of":return`Грешен број: мора да биде делив со ${t.divisor}`;case"unrecognized_keys":return`${t.keys.length>1?"Непрепознаени клучеви":"Непрепознаен клуч"}: ${S(t.keys,", ")}`;case"invalid_key":return`Грешен клуч во ${t.origin}`;case"invalid_union":return"Грешен внес";case"invalid_element":return`Грешна вредност во ${t.origin}`;default:return"Грешен внес"}}};function op(){return{localeError:ip()}}const ap=()=>{const e={string:{unit:"aksara",verb:"mempunyai"},file:{unit:"bait",verb:"mempunyai"},array:{unit:"elemen",verb:"mempunyai"},set:{unit:"elemen",verb:"mempunyai"}};function n(t){return e[t]??null}const r={regex:"input",email:"alamat e-mel",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"tarikh masa ISO",date:"tarikh ISO",time:"masa ISO",duration:"tempoh ISO",ipv4:"alamat IPv4",ipv6:"alamat IPv6",cidrv4:"julat IPv4",cidrv6:"julat IPv6",base64:"string dikodkan base64",base64url:"string dikodkan base64url",json_string:"string JSON",e164:"nombor E.164",jwt:"JWT",template_literal:"input"},o={nan:"NaN",number:"nombor"};return t=>{switch(t.code){case"invalid_type":{const i=o[t.expected]??t.expected,a=A(t.input),l=o[a]??a;return/^[A-Z]/.test(t.expected)?`Input tidak sah: dijangka instanceof ${t.expected}, diterima ${l}`:`Input tidak sah: dijangka ${i}, diterima ${l}`}case"invalid_value":return t.values.length===1?`Input tidak sah: dijangka ${C(t.values[0])}`:`Pilihan tidak sah: dijangka salah satu daripada ${S(t.values,"|")}`;case"too_big":{const i=t.inclusive?"<=":"<",a=n(t.origin);return a?`Terlalu besar: dijangka ${t.origin??"nilai"} ${a.verb} ${i}${t.maximum.toString()} ${a.unit??"elemen"}`:`Terlalu besar: dijangka ${t.origin??"nilai"} adalah ${i}${t.maximum.toString()}`}case"too_small":{const i=t.inclusive?">=":">",a=n(t.origin);return a?`Terlalu kecil: dijangka ${t.origin} ${a.verb} ${i}${t.minimum.toString()} ${a.unit}`:`Terlalu kecil: dijangka ${t.origin} adalah ${i}${t.minimum.toString()}`}case"invalid_format":{const i=t;return i.format==="starts_with"?`String tidak sah: mesti bermula dengan "${i.prefix}"`:i.format==="ends_with"?`String tidak sah: mesti berakhir dengan "${i.suffix}"`:i.format==="includes"?`String tidak sah: mesti mengandungi "${i.includes}"`:i.format==="regex"?`String tidak sah: mesti sepadan dengan corak ${i.pattern}`:`${r[i.format]??t.format} tidak sah`}case"not_multiple_of":return`Nombor tidak sah: perlu gandaan ${t.divisor}`;case"unrecognized_keys":return`Kunci tidak dikenali: ${S(t.keys,", ")}`;case"invalid_key":return`Kunci tidak sah dalam ${t.origin}`;case"invalid_union":return"Input tidak sah";case"invalid_element":return`Nilai tidak sah dalam ${t.origin}`;default:return"Input tidak sah"}}};function lp(){return{localeError:ap()}}const cp=()=>{const e={string:{unit:"tekens",verb:"heeft"},file:{unit:"bytes",verb:"heeft"},array:{unit:"elementen",verb:"heeft"},set:{unit:"elementen",verb:"heeft"}};function n(t){return e[t]??null}const r={regex:"invoer",email:"emailadres",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datum en tijd",date:"ISO datum",time:"ISO tijd",duration:"ISO duur",ipv4:"IPv4-adres",ipv6:"IPv6-adres",cidrv4:"IPv4-bereik",cidrv6:"IPv6-bereik",base64:"base64-gecodeerde tekst",base64url:"base64 URL-gecodeerde tekst",json_string:"JSON string",e164:"E.164-nummer",jwt:"JWT",template_literal:"invoer"},o={nan:"NaN",number:"getal"};return t=>{switch(t.code){case"invalid_type":{const i=o[t.expected]??t.expected,a=A(t.input),l=o[a]??a;return/^[A-Z]/.test(t.expected)?`Ongeldige invoer: verwacht instanceof ${t.expected}, ontving ${l}`:`Ongeldige invoer: verwacht ${i}, ontving ${l}`}case"invalid_value":return t.values.length===1?`Ongeldige invoer: verwacht ${C(t.values[0])}`:`Ongeldige optie: verwacht één van ${S(t.values,"|")}`;case"too_big":{const i=t.inclusive?"<=":"<",a=n(t.origin),l=t.origin==="date"?"laat":t.origin==="string"?"lang":"groot";return a?`Te ${l}: verwacht dat ${t.origin??"waarde"} ${i}${t.maximum.toString()} ${a.unit??"elementen"} ${a.verb}`:`Te ${l}: verwacht dat ${t.origin??"waarde"} ${i}${t.maximum.toString()} is`}case"too_small":{const i=t.inclusive?">=":">",a=n(t.origin),l=t.origin==="date"?"vroeg":t.origin==="string"?"kort":"klein";return a?`Te ${l}: verwacht dat ${t.origin} ${i}${t.minimum.toString()} ${a.unit} ${a.verb}`:`Te ${l}: verwacht dat ${t.origin} ${i}${t.minimum.toString()} is`}case"invalid_format":{const i=t;return i.format==="starts_with"?`Ongeldige tekst: moet met "${i.prefix}" beginnen`:i.format==="ends_with"?`Ongeldige tekst: moet op "${i.suffix}" eindigen`:i.format==="includes"?`Ongeldige tekst: moet "${i.includes}" bevatten`:i.format==="regex"?`Ongeldige tekst: moet overeenkomen met patroon ${i.pattern}`:`Ongeldig: ${r[i.format]??t.format}`}case"not_multiple_of":return`Ongeldig getal: moet een veelvoud van ${t.divisor} zijn`;case"unrecognized_keys":return`Onbekende key${t.keys.length>1?"s":""}: ${S(t.keys,", ")}`;case"invalid_key":return`Ongeldige key in ${t.origin}`;case"invalid_union":return"Ongeldige invoer";case"invalid_element":return`Ongeldige waarde in ${t.origin}`;default:return"Ongeldige invoer"}}};function up(){return{localeError:cp()}}const sp=()=>{const e={string:{unit:"tegn",verb:"å ha"},file:{unit:"bytes",verb:"å ha"},array:{unit:"elementer",verb:"å inneholde"},set:{unit:"elementer",verb:"å inneholde"}};function n(t){return e[t]??null}const r={regex:"input",email:"e-postadresse",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO dato- og klokkeslett",date:"ISO-dato",time:"ISO-klokkeslett",duration:"ISO-varighet",ipv4:"IPv4-område",ipv6:"IPv6-område",cidrv4:"IPv4-spekter",cidrv6:"IPv6-spekter",base64:"base64-enkodet streng",base64url:"base64url-enkodet streng",json_string:"JSON-streng",e164:"E.164-nummer",jwt:"JWT",template_literal:"input"},o={nan:"NaN",number:"tall",array:"liste"};return t=>{switch(t.code){case"invalid_type":{const i=o[t.expected]??t.expected,a=A(t.input),l=o[a]??a;return/^[A-Z]/.test(t.expected)?`Ugyldig input: forventet instanceof ${t.expected}, fikk ${l}`:`Ugyldig input: forventet ${i}, fikk ${l}`}case"invalid_value":return t.values.length===1?`Ugyldig verdi: forventet ${C(t.values[0])}`:`Ugyldig valg: forventet en av ${S(t.values,"|")}`;case"too_big":{const i=t.inclusive?"<=":"<",a=n(t.origin);return a?`For stor(t): forventet ${t.origin??"value"} til å ha ${i}${t.maximum.toString()} ${a.unit??"elementer"}`:`For stor(t): forventet ${t.origin??"value"} til å ha ${i}${t.maximum.toString()}`}case"too_small":{const i=t.inclusive?">=":">",a=n(t.origin);return a?`For lite(n): forventet ${t.origin} til å ha ${i}${t.minimum.toString()} ${a.unit}`:`For lite(n): forventet ${t.origin} til å ha ${i}${t.minimum.toString()}`}case"invalid_format":{const i=t;return i.format==="starts_with"?`Ugyldig streng: må starte med "${i.prefix}"`:i.format==="ends_with"?`Ugyldig streng: må ende med "${i.suffix}"`:i.format==="includes"?`Ugyldig streng: må inneholde "${i.includes}"`:i.format==="regex"?`Ugyldig streng: må matche mønsteret ${i.pattern}`:`Ugyldig ${r[i.format]??t.format}`}case"not_multiple_of":return`Ugyldig tall: må være et multiplum av ${t.divisor}`;case"unrecognized_keys":return`${t.keys.length>1?"Ukjente nøkler":"Ukjent nøkkel"}: ${S(t.keys,", ")}`;case"invalid_key":return`Ugyldig nøkkel i ${t.origin}`;case"invalid_union":return"Ugyldig input";case"invalid_element":return`Ugyldig verdi i ${t.origin}`;default:return"Ugyldig input"}}};function dp(){return{localeError:sp()}}const mp=()=>{const e={string:{unit:"harf",verb:"olmalıdır"},file:{unit:"bayt",verb:"olmalıdır"},array:{unit:"unsur",verb:"olmalıdır"},set:{unit:"unsur",verb:"olmalıdır"}};function n(t){return e[t]??null}const r={regex:"giren",email:"epostagâh",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO hengâmı",date:"ISO tarihi",time:"ISO zamanı",duration:"ISO müddeti",ipv4:"IPv4 nişânı",ipv6:"IPv6 nişânı",cidrv4:"IPv4 menzili",cidrv6:"IPv6 menzili",base64:"base64-şifreli metin",base64url:"base64url-şifreli metin",json_string:"JSON metin",e164:"E.164 sayısı",jwt:"JWT",template_literal:"giren"},o={nan:"NaN",number:"numara",array:"saf",null:"gayb"};return t=>{switch(t.code){case"invalid_type":{const i=o[t.expected]??t.expected,a=A(t.input),l=o[a]??a;return/^[A-Z]/.test(t.expected)?`Fâsit giren: umulan instanceof ${t.expected}, alınan ${l}`:`Fâsit giren: umulan ${i}, alınan ${l}`}case"invalid_value":return t.values.length===1?`Fâsit giren: umulan ${C(t.values[0])}`:`Fâsit tercih: mûteberler ${S(t.values,"|")}`;case"too_big":{const i=t.inclusive?"<=":"<",a=n(t.origin);return a?`Fazla büyük: ${t.origin??"value"}, ${i}${t.maximum.toString()} ${a.unit??"elements"} sahip olmalıydı.`:`Fazla büyük: ${t.origin??"value"}, ${i}${t.maximum.toString()} olmalıydı.`}case"too_small":{const i=t.inclusive?">=":">",a=n(t.origin);return a?`Fazla küçük: ${t.origin}, ${i}${t.minimum.toString()} ${a.unit} sahip olmalıydı.`:`Fazla küçük: ${t.origin}, ${i}${t.minimum.toString()} olmalıydı.`}case"invalid_format":{const i=t;return i.format==="starts_with"?`Fâsit metin: "${i.prefix}" ile başlamalı.`:i.format==="ends_with"?`Fâsit metin: "${i.suffix}" ile bitmeli.`:i.format==="includes"?`Fâsit metin: "${i.includes}" ihtivâ etmeli.`:i.format==="regex"?`Fâsit metin: ${i.pattern} nakşına uymalı.`:`Fâsit ${r[i.format]??t.format}`}case"not_multiple_of":return`Fâsit sayı: ${t.divisor} katı olmalıydı.`;case"unrecognized_keys":return`Tanınmayan anahtar ${t.keys.length>1?"s":""}: ${S(t.keys,", ")}`;case"invalid_key":return`${t.origin} için tanınmayan anahtar var.`;case"invalid_union":return"Giren tanınamadı.";case"invalid_element":return`${t.origin} için tanınmayan kıymet var.`;default:return"Kıymet tanınamadı."}}};function fp(){return{localeError:mp()}}const pp=()=>{const e={string:{unit:"توکي",verb:"ولري"},file:{unit:"بایټس",verb:"ولري"},array:{unit:"توکي",verb:"ولري"},set:{unit:"توکي",verb:"ولري"}};function n(t){return e[t]??null}const r={regex:"ورودي",email:"بریښنالیک",url:"یو آر ال",emoji:"ایموجي",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"نیټه او وخت",date:"نېټه",time:"وخت",duration:"موده",ipv4:"د IPv4 پته",ipv6:"د IPv6 پته",cidrv4:"د IPv4 ساحه",cidrv6:"د IPv6 ساحه",base64:"base64-encoded متن",base64url:"base64url-encoded متن",json_string:"JSON متن",e164:"د E.164 شمېره",jwt:"JWT",template_literal:"ورودي"},o={nan:"NaN",number:"عدد",array:"ارې"};return t=>{switch(t.code){case"invalid_type":{const i=o[t.expected]??t.expected,a=A(t.input),l=o[a]??a;return/^[A-Z]/.test(t.expected)?`ناسم ورودي: باید instanceof ${t.expected} وای, مګر ${l} ترلاسه شو`:`ناسم ورودي: باید ${i} وای, مګر ${l} ترلاسه شو`}case"invalid_value":return t.values.length===1?`ناسم ورودي: باید ${C(t.values[0])} وای`:`ناسم انتخاب: باید یو له ${S(t.values,"|")} څخه وای`;case"too_big":{const i=t.inclusive?"<=":"<",a=n(t.origin);return a?`ډیر لوی: ${t.origin??"ارزښت"} باید ${i}${t.maximum.toString()} ${a.unit??"عنصرونه"} ولري`:`ډیر لوی: ${t.origin??"ارزښت"} باید ${i}${t.maximum.toString()} وي`}case"too_small":{const i=t.inclusive?">=":">",a=n(t.origin);return a?`ډیر کوچنی: ${t.origin} باید ${i}${t.minimum.toString()} ${a.unit} ولري`:`ډیر کوچنی: ${t.origin} باید ${i}${t.minimum.toString()} وي`}case"invalid_format":{const i=t;return i.format==="starts_with"?`ناسم متن: باید د "${i.prefix}" سره پیل شي`:i.format==="ends_with"?`ناسم متن: باید د "${i.suffix}" سره پای ته ورسيږي`:i.format==="includes"?`ناسم متن: باید "${i.includes}" ولري`:i.format==="regex"?`ناسم متن: باید د ${i.pattern} سره مطابقت ولري`:`${r[i.format]??t.format} ناسم دی`}case"not_multiple_of":return`ناسم عدد: باید د ${t.divisor} مضرب وي`;case"unrecognized_keys":return`ناسم ${t.keys.length>1?"کلیډونه":"کلیډ"}: ${S(t.keys,", ")}`;case"invalid_key":return`ناسم کلیډ په ${t.origin} کې`;case"invalid_union":return"ناسمه ورودي";case"invalid_element":return`ناسم عنصر په ${t.origin} کې`;default:return"ناسمه ورودي"}}};function gp(){return{localeError:pp()}}const vp=()=>{const e={string:{unit:"znaków",verb:"mieć"},file:{unit:"bajtów",verb:"mieć"},array:{unit:"elementów",verb:"mieć"},set:{unit:"elementów",verb:"mieć"}};function n(t){return e[t]??null}const r={regex:"wyrażenie",email:"adres email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"data i godzina w formacie ISO",date:"data w formacie ISO",time:"godzina w formacie ISO",duration:"czas trwania ISO",ipv4:"adres IPv4",ipv6:"adres IPv6",cidrv4:"zakres IPv4",cidrv6:"zakres IPv6",base64:"ciąg znaków zakodowany w formacie base64",base64url:"ciąg znaków zakodowany w formacie base64url",json_string:"ciąg znaków w formacie JSON",e164:"liczba E.164",jwt:"JWT",template_literal:"wejście"},o={nan:"NaN",number:"liczba",array:"tablica"};return t=>{switch(t.code){case"invalid_type":{const i=o[t.expected]??t.expected,a=A(t.input),l=o[a]??a;return/^[A-Z]/.test(t.expected)?`Nieprawidłowe dane wejściowe: oczekiwano instanceof ${t.expected}, otrzymano ${l}`:`Nieprawidłowe dane wejściowe: oczekiwano ${i}, otrzymano ${l}`}case"invalid_value":return t.values.length===1?`Nieprawidłowe dane wejściowe: oczekiwano ${C(t.values[0])}`:`Nieprawidłowa opcja: oczekiwano jednej z wartości ${S(t.values,"|")}`;case"too_big":{const i=t.inclusive?"<=":"<",a=n(t.origin);return a?`Za duża wartość: oczekiwano, że ${t.origin??"wartość"} będzie mieć ${i}${t.maximum.toString()} ${a.unit??"elementów"}`:`Zbyt duż(y/a/e): oczekiwano, że ${t.origin??"wartość"} będzie wynosić ${i}${t.maximum.toString()}`}case"too_small":{const i=t.inclusive?">=":">",a=n(t.origin);return a?`Za mała wartość: oczekiwano, że ${t.origin??"wartość"} będzie mieć ${i}${t.minimum.toString()} ${a.unit??"elementów"}`:`Zbyt mał(y/a/e): oczekiwano, że ${t.origin??"wartość"} będzie wynosić ${i}${t.minimum.toString()}`}case"invalid_format":{const i=t;return i.format==="starts_with"?`Nieprawidłowy ciąg znaków: musi zaczynać się od "${i.prefix}"`:i.format==="ends_with"?`Nieprawidłowy ciąg znaków: musi kończyć się na "${i.suffix}"`:i.format==="includes"?`Nieprawidłowy ciąg znaków: musi zawierać "${i.includes}"`:i.format==="regex"?`Nieprawidłowy ciąg znaków: musi odpowiadać wzorcowi ${i.pattern}`:`Nieprawidłow(y/a/e) ${r[i.format]??t.format}`}case"not_multiple_of":return`Nieprawidłowa liczba: musi być wielokrotnością ${t.divisor}`;case"unrecognized_keys":return`Nierozpoznane klucze${t.keys.length>1?"s":""}: ${S(t.keys,", ")}`;case"invalid_key":return`Nieprawidłowy klucz w ${t.origin}`;case"invalid_union":return"Nieprawidłowe dane wejściowe";case"invalid_element":return`Nieprawidłowa wartość w ${t.origin}`;default:return"Nieprawidłowe dane wejściowe"}}};function hp(){return{localeError:vp()}}const $p=()=>{const e={string:{unit:"caracteres",verb:"ter"},file:{unit:"bytes",verb:"ter"},array:{unit:"itens",verb:"ter"},set:{unit:"itens",verb:"ter"}};function n(t){return e[t]??null}const r={regex:"padrão",email:"endereço de e-mail",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"data e hora ISO",date:"data ISO",time:"hora ISO",duration:"duração ISO",ipv4:"endereço IPv4",ipv6:"endereço IPv6",cidrv4:"faixa de IPv4",cidrv6:"faixa de IPv6",base64:"texto codificado em base64",base64url:"URL codificada em base64",json_string:"texto JSON",e164:"número E.164",jwt:"JWT",template_literal:"entrada"},o={nan:"NaN",number:"número",null:"nulo"};return t=>{switch(t.code){case"invalid_type":{const i=o[t.expected]??t.expected,a=A(t.input),l=o[a]??a;return/^[A-Z]/.test(t.expected)?`Tipo inválido: esperado instanceof ${t.expected}, recebido ${l}`:`Tipo inválido: esperado ${i}, recebido ${l}`}case"invalid_value":return t.values.length===1?`Entrada inválida: esperado ${C(t.values[0])}`:`Opção inválida: esperada uma das ${S(t.values,"|")}`;case"too_big":{const i=t.inclusive?"<=":"<",a=n(t.origin);return a?`Muito grande: esperado que ${t.origin??"valor"} tivesse ${i}${t.maximum.toString()} ${a.unit??"elementos"}`:`Muito grande: esperado que ${t.origin??"valor"} fosse ${i}${t.maximum.toString()}`}case"too_small":{const i=t.inclusive?">=":">",a=n(t.origin);return a?`Muito pequeno: esperado que ${t.origin} tivesse ${i}${t.minimum.toString()} ${a.unit}`:`Muito pequeno: esperado que ${t.origin} fosse ${i}${t.minimum.toString()}`}case"invalid_format":{const i=t;return i.format==="starts_with"?`Texto inválido: deve começar com "${i.prefix}"`:i.format==="ends_with"?`Texto inválido: deve terminar com "${i.suffix}"`:i.format==="includes"?`Texto inválido: deve incluir "${i.includes}"`:i.format==="regex"?`Texto inválido: deve corresponder ao padrão ${i.pattern}`:`${r[i.format]??t.format} inválido`}case"not_multiple_of":return`Número inválido: deve ser múltiplo de ${t.divisor}`;case"unrecognized_keys":return`Chave${t.keys.length>1?"s":""} desconhecida${t.keys.length>1?"s":""}: ${S(t.keys,", ")}`;case"invalid_key":return`Chave inválida em ${t.origin}`;case"invalid_union":return"Entrada inválida";case"invalid_element":return`Valor inválido em ${t.origin}`;default:return"Campo inválido"}}};function bp(){return{localeError:$p()}}function Sc(e,n,r,o){const t=Math.abs(e),i=t%10,a=t%100;return a>=11&&a<=19?o:i===1?n:i>=2&&i<=4?r:o}const _p=()=>{const e={string:{unit:{one:"символ",few:"символа",many:"символов"},verb:"иметь"},file:{unit:{one:"байт",few:"байта",many:"байт"},verb:"иметь"},array:{unit:{one:"элемент",few:"элемента",many:"элементов"},verb:"иметь"},set:{unit:{one:"элемент",few:"элемента",many:"элементов"},verb:"иметь"}};function n(t){return e[t]??null}const r={regex:"ввод",email:"email адрес",url:"URL",emoji:"эмодзи",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO дата и время",date:"ISO дата",time:"ISO время",duration:"ISO длительность",ipv4:"IPv4 адрес",ipv6:"IPv6 адрес",cidrv4:"IPv4 диапазон",cidrv6:"IPv6 диапазон",base64:"строка в формате base64",base64url:"строка в формате base64url",json_string:"JSON строка",e164:"номер E.164",jwt:"JWT",template_literal:"ввод"},o={nan:"NaN",number:"число",array:"массив"};return t=>{switch(t.code){case"invalid_type":{const i=o[t.expected]??t.expected,a=A(t.input),l=o[a]??a;return/^[A-Z]/.test(t.expected)?`Неверный ввод: ожидалось instanceof ${t.expected}, получено ${l}`:`Неверный ввод: ожидалось ${i}, получено ${l}`}case"invalid_value":return t.values.length===1?`Неверный ввод: ожидалось ${C(t.values[0])}`:`Неверный вариант: ожидалось одно из ${S(t.values,"|")}`;case"too_big":{const i=t.inclusive?"<=":"<",a=n(t.origin);if(a){const l=Number(t.maximum),s=Sc(l,a.unit.one,a.unit.few,a.unit.many);return`Слишком большое значение: ожидалось, что ${t.origin??"значение"} будет иметь ${i}${t.maximum.toString()} ${s}`}return`Слишком большое значение: ожидалось, что ${t.origin??"значение"} будет ${i}${t.maximum.toString()}`}case"too_small":{const i=t.inclusive?">=":">",a=n(t.origin);if(a){const l=Number(t.minimum),s=Sc(l,a.unit.one,a.unit.few,a.unit.many);return`Слишком маленькое значение: ожидалось, что ${t.origin} будет иметь ${i}${t.minimum.toString()} ${s}`}return`Слишком маленькое значение: ожидалось, что ${t.origin} будет ${i}${t.minimum.toString()}`}case"invalid_format":{const i=t;return i.format==="starts_with"?`Неверная строка: должна начинаться с "${i.prefix}"`:i.format==="ends_with"?`Неверная строка: должна заканчиваться на "${i.suffix}"`:i.format==="includes"?`Неверная строка: должна содержать "${i.includes}"`:i.format==="regex"?`Неверная строка: должна соответствовать шаблону ${i.pattern}`:`Неверный ${r[i.format]??t.format}`}case"not_multiple_of":return`Неверное число: должно быть кратным ${t.divisor}`;case"unrecognized_keys":return`Нераспознанн${t.keys.length>1?"ые":"ый"} ключ${t.keys.length>1?"и":""}: ${S(t.keys,", ")}`;case"invalid_key":return`Неверный ключ в ${t.origin}`;case"invalid_union":return"Неверные входные данные";case"invalid_element":return`Неверное значение в ${t.origin}`;default:return"Неверные входные данные"}}};function yp(){return{localeError:_p()}}const kp=()=>{const e={string:{unit:"znakov",verb:"imeti"},file:{unit:"bajtov",verb:"imeti"},array:{unit:"elementov",verb:"imeti"},set:{unit:"elementov",verb:"imeti"}};function n(t){return e[t]??null}const r={regex:"vnos",email:"e-poštni naslov",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datum in čas",date:"ISO datum",time:"ISO čas",duration:"ISO trajanje",ipv4:"IPv4 naslov",ipv6:"IPv6 naslov",cidrv4:"obseg IPv4",cidrv6:"obseg IPv6",base64:"base64 kodiran niz",base64url:"base64url kodiran niz",json_string:"JSON niz",e164:"E.164 številka",jwt:"JWT",template_literal:"vnos"},o={nan:"NaN",number:"število",array:"tabela"};return t=>{switch(t.code){case"invalid_type":{const i=o[t.expected]??t.expected,a=A(t.input),l=o[a]??a;return/^[A-Z]/.test(t.expected)?`Neveljaven vnos: pričakovano instanceof ${t.expected}, prejeto ${l}`:`Neveljaven vnos: pričakovano ${i}, prejeto ${l}`}case"invalid_value":return t.values.length===1?`Neveljaven vnos: pričakovano ${C(t.values[0])}`:`Neveljavna možnost: pričakovano eno izmed ${S(t.values,"|")}`;case"too_big":{const i=t.inclusive?"<=":"<",a=n(t.origin);return a?`Preveliko: pričakovano, da bo ${t.origin??"vrednost"} imelo ${i}${t.maximum.toString()} ${a.unit??"elementov"}`:`Preveliko: pričakovano, da bo ${t.origin??"vrednost"} ${i}${t.maximum.toString()}`}case"too_small":{const i=t.inclusive?">=":">",a=n(t.origin);return a?`Premajhno: pričakovano, da bo ${t.origin} imelo ${i}${t.minimum.toString()} ${a.unit}`:`Premajhno: pričakovano, da bo ${t.origin} ${i}${t.minimum.toString()}`}case"invalid_format":{const i=t;return i.format==="starts_with"?`Neveljaven niz: mora se začeti z "${i.prefix}"`:i.format==="ends_with"?`Neveljaven niz: mora se končati z "${i.suffix}"`:i.format==="includes"?`Neveljaven niz: mora vsebovati "${i.includes}"`:i.format==="regex"?`Neveljaven niz: mora ustrezati vzorcu ${i.pattern}`:`Neveljaven ${r[i.format]??t.format}`}case"not_multiple_of":return`Neveljavno število: mora biti večkratnik ${t.divisor}`;case"unrecognized_keys":return`Neprepoznan${t.keys.length>1?"i ključi":" ključ"}: ${S(t.keys,", ")}`;case"invalid_key":return`Neveljaven ključ v ${t.origin}`;case"invalid_union":return"Neveljaven vnos";case"invalid_element":return`Neveljavna vrednost v ${t.origin}`;default:return"Neveljaven vnos"}}};function Sp(){return{localeError:kp()}}const wp=()=>{const e={string:{unit:"tecken",verb:"att ha"},file:{unit:"bytes",verb:"att ha"},array:{unit:"objekt",verb:"att innehålla"},set:{unit:"objekt",verb:"att innehålla"}};function n(t){return e[t]??null}const r={regex:"reguljärt uttryck",email:"e-postadress",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO-datum och tid",date:"ISO-datum",time:"ISO-tid",duration:"ISO-varaktighet",ipv4:"IPv4-intervall",ipv6:"IPv6-intervall",cidrv4:"IPv4-spektrum",cidrv6:"IPv6-spektrum",base64:"base64-kodad sträng",base64url:"base64url-kodad sträng",json_string:"JSON-sträng",e164:"E.164-nummer",jwt:"JWT",template_literal:"mall-literal"},o={nan:"NaN",number:"antal",array:"lista"};return t=>{switch(t.code){case"invalid_type":{const i=o[t.expected]??t.expected,a=A(t.input),l=o[a]??a;return/^[A-Z]/.test(t.expected)?`Ogiltig inmatning: förväntat instanceof ${t.expected}, fick ${l}`:`Ogiltig inmatning: förväntat ${i}, fick ${l}`}case"invalid_value":return t.values.length===1?`Ogiltig inmatning: förväntat ${C(t.values[0])}`:`Ogiltigt val: förväntade en av ${S(t.values,"|")}`;case"too_big":{const i=t.inclusive?"<=":"<",a=n(t.origin);return a?`För stor(t): förväntade ${t.origin??"värdet"} att ha ${i}${t.maximum.toString()} ${a.unit??"element"}`:`För stor(t): förväntat ${t.origin??"värdet"} att ha ${i}${t.maximum.toString()}`}case"too_small":{const i=t.inclusive?">=":">",a=n(t.origin);return a?`För lite(t): förväntade ${t.origin??"värdet"} att ha ${i}${t.minimum.toString()} ${a.unit}`:`För lite(t): förväntade ${t.origin??"värdet"} att ha ${i}${t.minimum.toString()}`}case"invalid_format":{const i=t;return i.format==="starts_with"?`Ogiltig sträng: måste börja med "${i.prefix}"`:i.format==="ends_with"?`Ogiltig sträng: måste sluta med "${i.suffix}"`:i.format==="includes"?`Ogiltig sträng: måste innehålla "${i.includes}"`:i.format==="regex"?`Ogiltig sträng: måste matcha mönstret "${i.pattern}"`:`Ogiltig(t) ${r[i.format]??t.format}`}case"not_multiple_of":return`Ogiltigt tal: måste vara en multipel av ${t.divisor}`;case"unrecognized_keys":return`${t.keys.length>1?"Okända nycklar":"Okänd nyckel"}: ${S(t.keys,", ")}`;case"invalid_key":return`Ogiltig nyckel i ${t.origin??"värdet"}`;case"invalid_union":return"Ogiltig input";case"invalid_element":return`Ogiltigt värde i ${t.origin??"värdet"}`;default:return"Ogiltig input"}}};function Ip(){return{localeError:wp()}}const zp=()=>{const e={string:{unit:"எழுத்துக்கள்",verb:"கொண்டிருக்க வேண்டும்"},file:{unit:"பைட்டுகள்",verb:"கொண்டிருக்க வேண்டும்"},array:{unit:"உறுப்புகள்",verb:"கொண்டிருக்க வேண்டும்"},set:{unit:"உறுப்புகள்",verb:"கொண்டிருக்க வேண்டும்"}};function n(t){return e[t]??null}const r={regex:"உள்ளீடு",email:"மின்னஞ்சல் முகவரி",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO தேதி நேரம்",date:"ISO தேதி",time:"ISO நேரம்",duration:"ISO கால அளவு",ipv4:"IPv4 முகவரி",ipv6:"IPv6 முகவரி",cidrv4:"IPv4 வரம்பு",cidrv6:"IPv6 வரம்பு",base64:"base64-encoded சரம்",base64url:"base64url-encoded சரம்",json_string:"JSON சரம்",e164:"E.164 எண்",jwt:"JWT",template_literal:"input"},o={nan:"NaN",number:"எண்",array:"அணி",null:"வெறுமை"};return t=>{switch(t.code){case"invalid_type":{const i=o[t.expected]??t.expected,a=A(t.input),l=o[a]??a;return/^[A-Z]/.test(t.expected)?`தவறான உள்ளீடு: எதிர்பார்க்கப்பட்டது instanceof ${t.expected}, பெறப்பட்டது ${l}`:`தவறான உள்ளீடு: எதிர்பார்க்கப்பட்டது ${i}, பெறப்பட்டது ${l}`}case"invalid_value":return t.values.length===1?`தவறான உள்ளீடு: எதிர்பார்க்கப்பட்டது ${C(t.values[0])}`:`தவறான விருப்பம்: எதிர்பார்க்கப்பட்டது ${S(t.values,"|")} இல் ஒன்று`;case"too_big":{const i=t.inclusive?"<=":"<",a=n(t.origin);return a?`மிக பெரியது: எதிர்பார்க்கப்பட்டது ${t.origin??"மதிப்பு"} ${i}${t.maximum.toString()} ${a.unit??"உறுப்புகள்"} ஆக இருக்க வேண்டும்`:`மிக பெரியது: எதிர்பார்க்கப்பட்டது ${t.origin??"மதிப்பு"} ${i}${t.maximum.toString()} ஆக இருக்க வேண்டும்`}case"too_small":{const i=t.inclusive?">=":">",a=n(t.origin);return a?`மிகச் சிறியது: எதிர்பார்க்கப்பட்டது ${t.origin} ${i}${t.minimum.toString()} ${a.unit} ஆக இருக்க வேண்டும்`:`மிகச் சிறியது: எதிர்பார்க்கப்பட்டது ${t.origin} ${i}${t.minimum.toString()} ஆக இருக்க வேண்டும்`}case"invalid_format":{const i=t;return i.format==="starts_with"?`தவறான சரம்: "${i.prefix}" இல் தொடங்க வேண்டும்`:i.format==="ends_with"?`தவறான சரம்: "${i.suffix}" இல் முடிவடைய வேண்டும்`:i.format==="includes"?`தவறான சரம்: "${i.includes}" ஐ உள்ளடக்க வேண்டும்`:i.format==="regex"?`தவறான சரம்: ${i.pattern} முறைபாட்டுடன் பொருந்த வேண்டும்`:`தவறான ${r[i.format]??t.format}`}case"not_multiple_of":return`தவறான எண்: ${t.divisor} இன் பலமாக இருக்க வேண்டும்`;case"unrecognized_keys":return`அடையாளம் தெரியாத விசை${t.keys.length>1?"கள்":""}: ${S(t.keys,", ")}`;case"invalid_key":return`${t.origin} இல் தவறான விசை`;case"invalid_union":return"தவறான உள்ளீடு";case"invalid_element":return`${t.origin} இல் தவறான மதிப்பு`;default:return"தவறான உள்ளீடு"}}};function xp(){return{localeError:zp()}}const Dp=()=>{const e={string:{unit:"ตัวอักษร",verb:"ควรมี"},file:{unit:"ไบต์",verb:"ควรมี"},array:{unit:"รายการ",verb:"ควรมี"},set:{unit:"รายการ",verb:"ควรมี"}};function n(t){return e[t]??null}const r={regex:"ข้อมูลที่ป้อน",email:"ที่อยู่อีเมล",url:"URL",emoji:"อิโมจิ",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"วันที่เวลาแบบ ISO",date:"วันที่แบบ ISO",time:"เวลาแบบ ISO",duration:"ช่วงเวลาแบบ ISO",ipv4:"ที่อยู่ IPv4",ipv6:"ที่อยู่ IPv6",cidrv4:"ช่วง IP แบบ IPv4",cidrv6:"ช่วง IP แบบ IPv6",base64:"ข้อความแบบ Base64",base64url:"ข้อความแบบ Base64 สำหรับ URL",json_string:"ข้อความแบบ JSON",e164:"เบอร์โทรศัพท์ระหว่างประเทศ (E.164)",jwt:"โทเคน JWT",template_literal:"ข้อมูลที่ป้อน"},o={nan:"NaN",number:"ตัวเลข",array:"อาร์เรย์ (Array)",null:"ไม่มีค่า (null)"};return t=>{switch(t.code){case"invalid_type":{const i=o[t.expected]??t.expected,a=A(t.input),l=o[a]??a;return/^[A-Z]/.test(t.expected)?`ประเภทข้อมูลไม่ถูกต้อง: ควรเป็น instanceof ${t.expected} แต่ได้รับ ${l}`:`ประเภทข้อมูลไม่ถูกต้อง: ควรเป็น ${i} แต่ได้รับ ${l}`}case"invalid_value":return t.values.length===1?`ค่าไม่ถูกต้อง: ควรเป็น ${C(t.values[0])}`:`ตัวเลือกไม่ถูกต้อง: ควรเป็นหนึ่งใน ${S(t.values,"|")}`;case"too_big":{const i=t.inclusive?"ไม่เกิน":"น้อยกว่า",a=n(t.origin);return a?`เกินกำหนด: ${t.origin??"ค่า"} ควรมี${i} ${t.maximum.toString()} ${a.unit??"รายการ"}`:`เกินกำหนด: ${t.origin??"ค่า"} ควรมี${i} ${t.maximum.toString()}`}case"too_small":{const i=t.inclusive?"อย่างน้อย":"มากกว่า",a=n(t.origin);return a?`น้อยกว่ากำหนด: ${t.origin} ควรมี${i} ${t.minimum.toString()} ${a.unit}`:`น้อยกว่ากำหนด: ${t.origin} ควรมี${i} ${t.minimum.toString()}`}case"invalid_format":{const i=t;return i.format==="starts_with"?`รูปแบบไม่ถูกต้อง: ข้อความต้องขึ้นต้นด้วย "${i.prefix}"`:i.format==="ends_with"?`รูปแบบไม่ถูกต้อง: ข้อความต้องลงท้ายด้วย "${i.suffix}"`:i.format==="includes"?`รูปแบบไม่ถูกต้อง: ข้อความต้องมี "${i.includes}" อยู่ในข้อความ`:i.format==="regex"?`รูปแบบไม่ถูกต้อง: ต้องตรงกับรูปแบบที่กำหนด ${i.pattern}`:`รูปแบบไม่ถูกต้อง: ${r[i.format]??t.format}`}case"not_multiple_of":return`ตัวเลขไม่ถูกต้อง: ต้องเป็นจำนวนที่หารด้วย ${t.divisor} ได้ลงตัว`;case"unrecognized_keys":return`พบคีย์ที่ไม่รู้จัก: ${S(t.keys,", ")}`;case"invalid_key":return`คีย์ไม่ถูกต้องใน ${t.origin}`;case"invalid_union":return"ข้อมูลไม่ถูกต้อง: ไม่ตรงกับรูปแบบยูเนียนที่กำหนดไว้";case"invalid_element":return`ข้อมูลไม่ถูกต้องใน ${t.origin}`;default:return"ข้อมูลไม่ถูกต้อง"}}};function Ep(){return{localeError:Dp()}}const Op=()=>{const e={string:{unit:"karakter",verb:"olmalı"},file:{unit:"bayt",verb:"olmalı"},array:{unit:"öğe",verb:"olmalı"},set:{unit:"öğe",verb:"olmalı"}};function n(t){return e[t]??null}const r={regex:"girdi",email:"e-posta adresi",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO tarih ve saat",date:"ISO tarih",time:"ISO saat",duration:"ISO süre",ipv4:"IPv4 adresi",ipv6:"IPv6 adresi",cidrv4:"IPv4 aralığı",cidrv6:"IPv6 aralığı",base64:"base64 ile şifrelenmiş metin",base64url:"base64url ile şifrelenmiş metin",json_string:"JSON dizesi",e164:"E.164 sayısı",jwt:"JWT",template_literal:"Şablon dizesi"},o={nan:"NaN"};return t=>{switch(t.code){case"invalid_type":{const i=o[t.expected]??t.expected,a=A(t.input),l=o[a]??a;return/^[A-Z]/.test(t.expected)?`Geçersiz değer: beklenen instanceof ${t.expected}, alınan ${l}`:`Geçersiz değer: beklenen ${i}, alınan ${l}`}case"invalid_value":return t.values.length===1?`Geçersiz değer: beklenen ${C(t.values[0])}`:`Geçersiz seçenek: aşağıdakilerden biri olmalı: ${S(t.values,"|")}`;case"too_big":{const i=t.inclusive?"<=":"<",a=n(t.origin);return a?`Çok büyük: beklenen ${t.origin??"değer"} ${i}${t.maximum.toString()} ${a.unit??"öğe"}`:`Çok büyük: beklenen ${t.origin??"değer"} ${i}${t.maximum.toString()}`}case"too_small":{const i=t.inclusive?">=":">",a=n(t.origin);return a?`Çok küçük: beklenen ${t.origin} ${i}${t.minimum.toString()} ${a.unit}`:`Çok küçük: beklenen ${t.origin} ${i}${t.minimum.toString()}`}case"invalid_format":{const i=t;return i.format==="starts_with"?`Geçersiz metin: "${i.prefix}" ile başlamalı`:i.format==="ends_with"?`Geçersiz metin: "${i.suffix}" ile bitmeli`:i.format==="includes"?`Geçersiz metin: "${i.includes}" içermeli`:i.format==="regex"?`Geçersiz metin: ${i.pattern} desenine uymalı`:`Geçersiz ${r[i.format]??t.format}`}case"not_multiple_of":return`Geçersiz sayı: ${t.divisor} ile tam bölünebilmeli`;case"unrecognized_keys":return`Tanınmayan anahtar${t.keys.length>1?"lar":""}: ${S(t.keys,", ")}`;case"invalid_key":return`${t.origin} içinde geçersiz anahtar`;case"invalid_union":return"Geçersiz değer";case"invalid_element":return`${t.origin} içinde geçersiz değer`;default:return"Geçersiz değer"}}};function Np(){return{localeError:Op()}}const jp=()=>{const e={string:{unit:"символів",verb:"матиме"},file:{unit:"байтів",verb:"матиме"},array:{unit:"елементів",verb:"матиме"},set:{unit:"елементів",verb:"матиме"}};function n(t){return e[t]??null}const r={regex:"вхідні дані",email:"адреса електронної пошти",url:"URL",emoji:"емодзі",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"дата та час ISO",date:"дата ISO",time:"час ISO",duration:"тривалість ISO",ipv4:"адреса IPv4",ipv6:"адреса IPv6",cidrv4:"діапазон IPv4",cidrv6:"діапазон IPv6",base64:"рядок у кодуванні base64",base64url:"рядок у кодуванні base64url",json_string:"рядок JSON",e164:"номер E.164",jwt:"JWT",template_literal:"вхідні дані"},o={nan:"NaN",number:"число",array:"масив"};return t=>{switch(t.code){case"invalid_type":{const i=o[t.expected]??t.expected,a=A(t.input),l=o[a]??a;return/^[A-Z]/.test(t.expected)?`Неправильні вхідні дані: очікується instanceof ${t.expected}, отримано ${l}`:`Неправильні вхідні дані: очікується ${i}, отримано ${l}`}case"invalid_value":return t.values.length===1?`Неправильні вхідні дані: очікується ${C(t.values[0])}`:`Неправильна опція: очікується одне з ${S(t.values,"|")}`;case"too_big":{const i=t.inclusive?"<=":"<",a=n(t.origin);return a?`Занадто велике: очікується, що ${t.origin??"значення"} ${a.verb} ${i}${t.maximum.toString()} ${a.unit??"елементів"}`:`Занадто велике: очікується, що ${t.origin??"значення"} буде ${i}${t.maximum.toString()}`}case"too_small":{const i=t.inclusive?">=":">",a=n(t.origin);return a?`Занадто мале: очікується, що ${t.origin} ${a.verb} ${i}${t.minimum.toString()} ${a.unit}`:`Занадто мале: очікується, що ${t.origin} буде ${i}${t.minimum.toString()}`}case"invalid_format":{const i=t;return i.format==="starts_with"?`Неправильний рядок: повинен починатися з "${i.prefix}"`:i.format==="ends_with"?`Неправильний рядок: повинен закінчуватися на "${i.suffix}"`:i.format==="includes"?`Неправильний рядок: повинен містити "${i.includes}"`:i.format==="regex"?`Неправильний рядок: повинен відповідати шаблону ${i.pattern}`:`Неправильний ${r[i.format]??t.format}`}case"not_multiple_of":return`Неправильне число: повинно бути кратним ${t.divisor}`;case"unrecognized_keys":return`Нерозпізнаний ключ${t.keys.length>1?"і":""}: ${S(t.keys,", ")}`;case"invalid_key":return`Неправильний ключ у ${t.origin}`;case"invalid_union":return"Неправильні вхідні дані";case"invalid_element":return`Неправильне значення у ${t.origin}`;default:return"Неправильні вхідні дані"}}};function wc(){return{localeError:jp()}}function Up(){return wc()}const Tp=()=>{const e={string:{unit:"حروف",verb:"ہونا"},file:{unit:"بائٹس",verb:"ہونا"},array:{unit:"آئٹمز",verb:"ہونا"},set:{unit:"آئٹمز",verb:"ہونا"}};function n(t){return e[t]??null}const r={regex:"ان پٹ",email:"ای میل ایڈریس",url:"یو آر ایل",emoji:"ایموجی",uuid:"یو یو آئی ڈی",uuidv4:"یو یو آئی ڈی وی 4",uuidv6:"یو یو آئی ڈی وی 6",nanoid:"نینو آئی ڈی",guid:"جی یو آئی ڈی",cuid:"سی یو آئی ڈی",cuid2:"سی یو آئی ڈی 2",ulid:"یو ایل آئی ڈی",xid:"ایکس آئی ڈی",ksuid:"کے ایس یو آئی ڈی",datetime:"آئی ایس او ڈیٹ ٹائم",date:"آئی ایس او تاریخ",time:"آئی ایس او وقت",duration:"آئی ایس او مدت",ipv4:"آئی پی وی 4 ایڈریس",ipv6:"آئی پی وی 6 ایڈریس",cidrv4:"آئی پی وی 4 رینج",cidrv6:"آئی پی وی 6 رینج",base64:"بیس 64 ان کوڈڈ سٹرنگ",base64url:"بیس 64 یو آر ایل ان کوڈڈ سٹرنگ",json_string:"جے ایس او این سٹرنگ",e164:"ای 164 نمبر",jwt:"جے ڈبلیو ٹی",template_literal:"ان پٹ"},o={nan:"NaN",number:"نمبر",array:"آرے",null:"نل"};return t=>{switch(t.code){case"invalid_type":{const i=o[t.expected]??t.expected,a=A(t.input),l=o[a]??a;return/^[A-Z]/.test(t.expected)?`غلط ان پٹ: instanceof ${t.expected} متوقع تھا، ${l} موصول ہوا`:`غلط ان پٹ: ${i} متوقع تھا، ${l} موصول ہوا`}case"invalid_value":return t.values.length===1?`غلط ان پٹ: ${C(t.values[0])} متوقع تھا`:`غلط آپشن: ${S(t.values,"|")} میں سے ایک متوقع تھا`;case"too_big":{const i=t.inclusive?"<=":"<",a=n(t.origin);return a?`بہت بڑا: ${t.origin??"ویلیو"} کے ${i}${t.maximum.toString()} ${a.unit??"عناصر"} ہونے متوقع تھے`:`بہت بڑا: ${t.origin??"ویلیو"} کا ${i}${t.maximum.toString()} ہونا متوقع تھا`}case"too_small":{const i=t.inclusive?">=":">",a=n(t.origin);return a?`بہت چھوٹا: ${t.origin} کے ${i}${t.minimum.toString()} ${a.unit} ہونے متوقع تھے`:`بہت چھوٹا: ${t.origin} کا ${i}${t.minimum.toString()} ہونا متوقع تھا`}case"invalid_format":{const i=t;return i.format==="starts_with"?`غلط سٹرنگ: "${i.prefix}" سے شروع ہونا چاہیے`:i.format==="ends_with"?`غلط سٹرنگ: "${i.suffix}" پر ختم ہونا چاہیے`:i.format==="includes"?`غلط سٹرنگ: "${i.includes}" شامل ہونا چاہیے`:i.format==="regex"?`غلط سٹرنگ: پیٹرن ${i.pattern} سے میچ ہونا چاہیے`:`غلط ${r[i.format]??t.format}`}case"not_multiple_of":return`غلط نمبر: ${t.divisor} کا مضاعف ہونا چاہیے`;case"unrecognized_keys":return`غیر تسلیم شدہ کی${t.keys.length>1?"ز":""}: ${S(t.keys,"، ")}`;case"invalid_key":return`${t.origin} میں غلط کی`;case"invalid_union":return"غلط ان پٹ";case"invalid_element":return`${t.origin} میں غلط ویلیو`;default:return"غلط ان پٹ"}}};function Pp(){return{localeError:Tp()}}const Cp=()=>{const e={string:{unit:"belgi",verb:"bo‘lishi kerak"},file:{unit:"bayt",verb:"bo‘lishi kerak"},array:{unit:"element",verb:"bo‘lishi kerak"},set:{unit:"element",verb:"bo‘lishi kerak"}};function n(t){return e[t]??null}const r={regex:"kirish",email:"elektron pochta manzili",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO sana va vaqti",date:"ISO sana",time:"ISO vaqt",duration:"ISO davomiylik",ipv4:"IPv4 manzil",ipv6:"IPv6 manzil",mac:"MAC manzil",cidrv4:"IPv4 diapazon",cidrv6:"IPv6 diapazon",base64:"base64 kodlangan satr",base64url:"base64url kodlangan satr",json_string:"JSON satr",e164:"E.164 raqam",jwt:"JWT",template_literal:"kirish"},o={nan:"NaN",number:"raqam",array:"massiv"};return t=>{switch(t.code){case"invalid_type":{const i=o[t.expected]??t.expected,a=A(t.input),l=o[a]??a;return/^[A-Z]/.test(t.expected)?`Noto‘g‘ri kirish: kutilgan instanceof ${t.expected}, qabul qilingan ${l}`:`Noto‘g‘ri kirish: kutilgan ${i}, qabul qilingan ${l}`}case"invalid_value":return t.values.length===1?`Noto‘g‘ri kirish: kutilgan ${C(t.values[0])}`:`Noto‘g‘ri variant: quyidagilardan biri kutilgan ${S(t.values,"|")}`;case"too_big":{const i=t.inclusive?"<=":"<",a=n(t.origin);return a?`Juda katta: kutilgan ${t.origin??"qiymat"} ${i}${t.maximum.toString()} ${a.unit} ${a.verb}`:`Juda katta: kutilgan ${t.origin??"qiymat"} ${i}${t.maximum.toString()}`}case"too_small":{const i=t.inclusive?">=":">",a=n(t.origin);return a?`Juda kichik: kutilgan ${t.origin} ${i}${t.minimum.toString()} ${a.unit} ${a.verb}`:`Juda kichik: kutilgan ${t.origin} ${i}${t.minimum.toString()}`}case"invalid_format":{const i=t;return i.format==="starts_with"?`Noto‘g‘ri satr: "${i.prefix}" bilan boshlanishi kerak`:i.format==="ends_with"?`Noto‘g‘ri satr: "${i.suffix}" bilan tugashi kerak`:i.format==="includes"?`Noto‘g‘ri satr: "${i.includes}" ni o‘z ichiga olishi kerak`:i.format==="regex"?`Noto‘g‘ri satr: ${i.pattern} shabloniga mos kelishi kerak`:`Noto‘g‘ri ${r[i.format]??t.format}`}case"not_multiple_of":return`Noto‘g‘ri raqam: ${t.divisor} ning karralisi bo‘lishi kerak`;case"unrecognized_keys":return`Noma’lum kalit${t.keys.length>1?"lar":""}: ${S(t.keys,", ")}`;case"invalid_key":return`${t.origin} dagi kalit noto‘g‘ri`;case"invalid_union":return"Noto‘g‘ri kirish";case"invalid_element":return`${t.origin} da noto‘g‘ri qiymat`;default:return"Noto‘g‘ri kirish"}}};function Ap(){return{localeError:Cp()}}const Zp=()=>{const e={string:{unit:"ký tự",verb:"có"},file:{unit:"byte",verb:"có"},array:{unit:"phần tử",verb:"có"},set:{unit:"phần tử",verb:"có"}};function n(t){return e[t]??null}const r={regex:"đầu vào",email:"địa chỉ email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ngày giờ ISO",date:"ngày ISO",time:"giờ ISO",duration:"khoảng thời gian ISO",ipv4:"địa chỉ IPv4",ipv6:"địa chỉ IPv6",cidrv4:"dải IPv4",cidrv6:"dải IPv6",base64:"chuỗi mã hóa base64",base64url:"chuỗi mã hóa base64url",json_string:"chuỗi JSON",e164:"số E.164",jwt:"JWT",template_literal:"đầu vào"},o={nan:"NaN",number:"số",array:"mảng"};return t=>{switch(t.code){case"invalid_type":{const i=o[t.expected]??t.expected,a=A(t.input),l=o[a]??a;return/^[A-Z]/.test(t.expected)?`Đầu vào không hợp lệ: mong đợi instanceof ${t.expected}, nhận được ${l}`:`Đầu vào không hợp lệ: mong đợi ${i}, nhận được ${l}`}case"invalid_value":return t.values.length===1?`Đầu vào không hợp lệ: mong đợi ${C(t.values[0])}`:`Tùy chọn không hợp lệ: mong đợi một trong các giá trị ${S(t.values,"|")}`;case"too_big":{const i=t.inclusive?"<=":"<",a=n(t.origin);return a?`Quá lớn: mong đợi ${t.origin??"giá trị"} ${a.verb} ${i}${t.maximum.toString()} ${a.unit??"phần tử"}`:`Quá lớn: mong đợi ${t.origin??"giá trị"} ${i}${t.maximum.toString()}`}case"too_small":{const i=t.inclusive?">=":">",a=n(t.origin);return a?`Quá nhỏ: mong đợi ${t.origin} ${a.verb} ${i}${t.minimum.toString()} ${a.unit}`:`Quá nhỏ: mong đợi ${t.origin} ${i}${t.minimum.toString()}`}case"invalid_format":{const i=t;return i.format==="starts_with"?`Chuỗi không hợp lệ: phải bắt đầu bằng "${i.prefix}"`:i.format==="ends_with"?`Chuỗi không hợp lệ: phải kết thúc bằng "${i.suffix}"`:i.format==="includes"?`Chuỗi không hợp lệ: phải bao gồm "${i.includes}"`:i.format==="regex"?`Chuỗi không hợp lệ: phải khớp với mẫu ${i.pattern}`:`${r[i.format]??t.format} không hợp lệ`}case"not_multiple_of":return`Số không hợp lệ: phải là bội số của ${t.divisor}`;case"unrecognized_keys":return`Khóa không được nhận dạng: ${S(t.keys,", ")}`;case"invalid_key":return`Khóa không hợp lệ trong ${t.origin}`;case"invalid_union":return"Đầu vào không hợp lệ";case"invalid_element":return`Giá trị không hợp lệ trong ${t.origin}`;default:return"Đầu vào không hợp lệ"}}};function Bp(){return{localeError:Zp()}}const Mp=()=>{const e={string:{unit:"字符",verb:"包含"},file:{unit:"字节",verb:"包含"},array:{unit:"项",verb:"包含"},set:{unit:"项",verb:"包含"}};function n(t){return e[t]??null}const r={regex:"输入",email:"电子邮件",url:"URL",emoji:"表情符号",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO日期时间",date:"ISO日期",time:"ISO时间",duration:"ISO时长",ipv4:"IPv4地址",ipv6:"IPv6地址",cidrv4:"IPv4网段",cidrv6:"IPv6网段",base64:"base64编码字符串",base64url:"base64url编码字符串",json_string:"JSON字符串",e164:"E.164号码",jwt:"JWT",template_literal:"输入"},o={nan:"NaN",number:"数字",array:"数组",null:"空值(null)"};return t=>{switch(t.code){case"invalid_type":{const i=o[t.expected]??t.expected,a=A(t.input),l=o[a]??a;return/^[A-Z]/.test(t.expected)?`无效输入:期望 instanceof ${t.expected},实际接收 ${l}`:`无效输入:期望 ${i},实际接收 ${l}`}case"invalid_value":return t.values.length===1?`无效输入:期望 ${C(t.values[0])}`:`无效选项:期望以下之一 ${S(t.values,"|")}`;case"too_big":{const i=t.inclusive?"<=":"<",a=n(t.origin);return a?`数值过大:期望 ${t.origin??"值"} ${i}${t.maximum.toString()} ${a.unit??"个元素"}`:`数值过大:期望 ${t.origin??"值"} ${i}${t.maximum.toString()}`}case"too_small":{const i=t.inclusive?">=":">",a=n(t.origin);return a?`数值过小:期望 ${t.origin} ${i}${t.minimum.toString()} ${a.unit}`:`数值过小:期望 ${t.origin} ${i}${t.minimum.toString()}`}case"invalid_format":{const i=t;return i.format==="starts_with"?`无效字符串:必须以 "${i.prefix}" 开头`:i.format==="ends_with"?`无效字符串:必须以 "${i.suffix}" 结尾`:i.format==="includes"?`无效字符串:必须包含 "${i.includes}"`:i.format==="regex"?`无效字符串:必须满足正则表达式 ${i.pattern}`:`无效${r[i.format]??t.format}`}case"not_multiple_of":return`无效数字:必须是 ${t.divisor} 的倍数`;case"unrecognized_keys":return`出现未知的键(key): ${S(t.keys,", ")}`;case"invalid_key":return`${t.origin} 中的键(key)无效`;case"invalid_union":return"无效输入";case"invalid_element":return`${t.origin} 中包含无效值(value)`;default:return"无效输入"}}};function Vp(){return{localeError:Mp()}}const Fp=()=>{const e={string:{unit:"字元",verb:"擁有"},file:{unit:"位元組",verb:"擁有"},array:{unit:"項目",verb:"擁有"},set:{unit:"項目",verb:"擁有"}};function n(t){return e[t]??null}const r={regex:"輸入",email:"郵件地址",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO 日期時間",date:"ISO 日期",time:"ISO 時間",duration:"ISO 期間",ipv4:"IPv4 位址",ipv6:"IPv6 位址",cidrv4:"IPv4 範圍",cidrv6:"IPv6 範圍",base64:"base64 編碼字串",base64url:"base64url 編碼字串",json_string:"JSON 字串",e164:"E.164 數值",jwt:"JWT",template_literal:"輸入"},o={nan:"NaN"};return t=>{switch(t.code){case"invalid_type":{const i=o[t.expected]??t.expected,a=A(t.input),l=o[a]??a;return/^[A-Z]/.test(t.expected)?`無效的輸入值:預期為 instanceof ${t.expected},但收到 ${l}`:`無效的輸入值:預期為 ${i},但收到 ${l}`}case"invalid_value":return t.values.length===1?`無效的輸入值:預期為 ${C(t.values[0])}`:`無效的選項:預期為以下其中之一 ${S(t.values,"|")}`;case"too_big":{const i=t.inclusive?"<=":"<",a=n(t.origin);return a?`數值過大:預期 ${t.origin??"值"} 應為 ${i}${t.maximum.toString()} ${a.unit??"個元素"}`:`數值過大:預期 ${t.origin??"值"} 應為 ${i}${t.maximum.toString()}`}case"too_small":{const i=t.inclusive?">=":">",a=n(t.origin);return a?`數值過小:預期 ${t.origin} 應為 ${i}${t.minimum.toString()} ${a.unit}`:`數值過小:預期 ${t.origin} 應為 ${i}${t.minimum.toString()}`}case"invalid_format":{const i=t;return i.format==="starts_with"?`無效的字串:必須以 "${i.prefix}" 開頭`:i.format==="ends_with"?`無效的字串:必須以 "${i.suffix}" 結尾`:i.format==="includes"?`無效的字串:必須包含 "${i.includes}"`:i.format==="regex"?`無效的字串:必須符合格式 ${i.pattern}`:`無效的 ${r[i.format]??t.format}`}case"not_multiple_of":return`無效的數字:必須為 ${t.divisor} 的倍數`;case"unrecognized_keys":return`無法識別的鍵值${t.keys.length>1?"們":""}:${S(t.keys,"、")}`;case"invalid_key":return`${t.origin} 中有無效的鍵值`;case"invalid_union":return"無效的輸入值";case"invalid_element":return`${t.origin} 中有無效的值`;default:return"無效的輸入值"}}};function Lp(){return{localeError:Fp()}}const Rp=()=>{const e={string:{unit:"àmi",verb:"ní"},file:{unit:"bytes",verb:"ní"},array:{unit:"nkan",verb:"ní"},set:{unit:"nkan",verb:"ní"}};function n(t){return e[t]??null}const r={regex:"ẹ̀rọ ìbáwọlé",email:"àdírẹ́sì ìmẹ́lì",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"àkókò ISO",date:"ọjọ́ ISO",time:"àkókò ISO",duration:"àkókò tó pé ISO",ipv4:"àdírẹ́sì IPv4",ipv6:"àdírẹ́sì IPv6",cidrv4:"àgbègbè IPv4",cidrv6:"àgbègbè IPv6",base64:"ọ̀rọ̀ tí a kọ́ ní base64",base64url:"ọ̀rọ̀ base64url",json_string:"ọ̀rọ̀ JSON",e164:"nọ́mbà E.164",jwt:"JWT",template_literal:"ẹ̀rọ ìbáwọlé"},o={nan:"NaN",number:"nọ́mbà",array:"akopọ"};return t=>{switch(t.code){case"invalid_type":{const i=o[t.expected]??t.expected,a=A(t.input),l=o[a]??a;return/^[A-Z]/.test(t.expected)?`Ìbáwọlé aṣìṣe: a ní láti fi instanceof ${t.expected}, àmọ̀ a rí ${l}`:`Ìbáwọlé aṣìṣe: a ní láti fi ${i}, àmọ̀ a rí ${l}`}case"invalid_value":return t.values.length===1?`Ìbáwọlé aṣìṣe: a ní láti fi ${C(t.values[0])}`:`Àṣàyàn aṣìṣe: yan ọ̀kan lára ${S(t.values,"|")}`;case"too_big":{const i=t.inclusive?"<=":"<",a=n(t.origin);return a?`Tó pọ̀ jù: a ní láti jẹ́ pé ${t.origin??"iye"} ${a.verb} ${i}${t.maximum} ${a.unit}`:`Tó pọ̀ jù: a ní láti jẹ́ ${i}${t.maximum}`}case"too_small":{const i=t.inclusive?">=":">",a=n(t.origin);return a?`Kéré ju: a ní láti jẹ́ pé ${t.origin} ${a.verb} ${i}${t.minimum} ${a.unit}`:`Kéré ju: a ní láti jẹ́ ${i}${t.minimum}`}case"invalid_format":{const i=t;return i.format==="starts_with"?`Ọ̀rọ̀ aṣìṣe: gbọ́dọ̀ bẹ̀rẹ̀ pẹ̀lú "${i.prefix}"`:i.format==="ends_with"?`Ọ̀rọ̀ aṣìṣe: gbọ́dọ̀ parí pẹ̀lú "${i.suffix}"`:i.format==="includes"?`Ọ̀rọ̀ aṣìṣe: gbọ́dọ̀ ní "${i.includes}"`:i.format==="regex"?`Ọ̀rọ̀ aṣìṣe: gbọ́dọ̀ bá àpẹẹrẹ mu ${i.pattern}`:`Aṣìṣe: ${r[i.format]??t.format}`}case"not_multiple_of":return`Nọ́mbà aṣìṣe: gbọ́dọ̀ jẹ́ èyà pípín ti ${t.divisor}`;case"unrecognized_keys":return`Bọtìnì àìmọ̀: ${S(t.keys,", ")}`;case"invalid_key":return`Bọtìnì aṣìṣe nínú ${t.origin}`;case"invalid_union":return"Ìbáwọlé aṣìṣe";case"invalid_element":return`Iye aṣìṣe nínú ${t.origin}`;default:return"Ìbáwọlé aṣìṣe"}}};function Jp(){return{localeError:Rp()}}const Ic=Object.freeze(Object.defineProperty({__proto__:null,ar:cf,az:sf,be:mf,bg:pf,ca:vf,cs:$f,da:_f,de:kf,en:bc,eo:If,es:xf,fa:Ef,fi:Nf,fr:Uf,frCA:Pf,he:Af,hu:Bf,hy:Vf,id:Lf,is:Jf,it:Yf,ja:Wf,ka:Hf,kh:Qf,km:yc,ko:tp,lt:rp,mk:op,ms:lp,nl:up,no:dp,ota:fp,pl:hp,ps:gp,pt:bp,ru:yp,sl:Sp,sv:Ip,ta:xp,th:Ep,tr:Np,ua:Up,uk:wc,ur:Pp,uz:Ap,vi:Bp,yo:Jp,zhCN:Vp,zhTW:Lp},Symbol.toStringTag,{value:"Module"}));var zc;const xc=Symbol("ZodOutput"),Dc=Symbol("ZodInput");class Ec{constructor(){this._map=new WeakMap,this._idmap=new Map}add(n,...r){const o=r[0];return this._map.set(n,o),o&&typeof o=="object"&&"id"in o&&this._idmap.set(o.id,n),this}clear(){return this._map=new WeakMap,this._idmap=new Map,this}remove(n){const r=this._map.get(n);return r&&typeof r=="object"&&"id"in r&&this._idmap.delete(r.id),this._map.delete(n),this}get(n){const r=n._zod.parent;if(r){const o={...this.get(r)??{}};delete o.id;const t={...o,...this._map.get(n)};return Object.keys(t).length?t:void 0}return this._map.get(n)}has(n){return this._map.has(n)}}function Fr(){return new Ec}(zc=globalThis).__zod_globalRegistry??(zc.__zod_globalRegistry=Fr());const Ie=globalThis.__zod_globalRegistry;function Oc(e,n){return new e({type:"string",...b(n)})}function Nc(e,n){return new e({type:"string",coerce:!0,...b(n)})}function Lr(e,n){return new e({type:"string",format:"email",check:"string_format",abort:!1,...b(n)})}function cn(e,n){return new e({type:"string",format:"guid",check:"string_format",abort:!1,...b(n)})}function Rr(e,n){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,...b(n)})}function Jr(e,n){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v4",...b(n)})}function qr(e,n){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v6",...b(n)})}function Yr(e,n){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v7",...b(n)})}function un(e,n){return new e({type:"string",format:"url",check:"string_format",abort:!1,...b(n)})}function Kr(e,n){return new e({type:"string",format:"emoji",check:"string_format",abort:!1,...b(n)})}function Wr(e,n){return new e({type:"string",format:"nanoid",check:"string_format",abort:!1,...b(n)})}function Gr(e,n){return new e({type:"string",format:"cuid",check:"string_format",abort:!1,...b(n)})}function Hr(e,n){return new e({type:"string",format:"cuid2",check:"string_format",abort:!1,...b(n)})}function Xr(e,n){return new e({type:"string",format:"ulid",check:"string_format",abort:!1,...b(n)})}function Qr(e,n){return new e({type:"string",format:"xid",check:"string_format",abort:!1,...b(n)})}function ei(e,n){return new e({type:"string",format:"ksuid",check:"string_format",abort:!1,...b(n)})}function ti(e,n){return new e({type:"string",format:"ipv4",check:"string_format",abort:!1,...b(n)})}function ni(e,n){return new e({type:"string",format:"ipv6",check:"string_format",abort:!1,...b(n)})}function jc(e,n){return new e({type:"string",format:"mac",check:"string_format",abort:!1,...b(n)})}function ri(e,n){return new e({type:"string",format:"cidrv4",check:"string_format",abort:!1,...b(n)})}function ii(e,n){return new e({type:"string",format:"cidrv6",check:"string_format",abort:!1,...b(n)})}function oi(e,n){return new e({type:"string",format:"base64",check:"string_format",abort:!1,...b(n)})}function ai(e,n){return new e({type:"string",format:"base64url",check:"string_format",abort:!1,...b(n)})}function li(e,n){return new e({type:"string",format:"e164",check:"string_format",abort:!1,...b(n)})}function ci(e,n){return new e({type:"string",format:"jwt",check:"string_format",abort:!1,...b(n)})}const Uc={Any:null,Minute:-1,Second:0,Millisecond:3,Microsecond:6};function Tc(e,n){return new e({type:"string",format:"datetime",check:"string_format",offset:!1,local:!1,precision:null,...b(n)})}function Pc(e,n){return new e({type:"string",format:"date",check:"string_format",...b(n)})}function Cc(e,n){return new e({type:"string",format:"time",check:"string_format",precision:null,...b(n)})}function Ac(e,n){return new e({type:"string",format:"duration",check:"string_format",...b(n)})}function Zc(e,n){return new e({type:"number",checks:[],...b(n)})}function Bc(e,n){return new e({type:"number",coerce:!0,checks:[],...b(n)})}function Mc(e,n){return new e({type:"number",check:"number_format",abort:!1,format:"safeint",...b(n)})}function Vc(e,n){return new e({type:"number",check:"number_format",abort:!1,format:"float32",...b(n)})}function Fc(e,n){return new e({type:"number",check:"number_format",abort:!1,format:"float64",...b(n)})}function Lc(e,n){return new e({type:"number",check:"number_format",abort:!1,format:"int32",...b(n)})}function Rc(e,n){return new e({type:"number",check:"number_format",abort:!1,format:"uint32",...b(n)})}function Jc(e,n){return new e({type:"boolean",...b(n)})}function qc(e,n){return new e({type:"boolean",coerce:!0,...b(n)})}function Yc(e,n){return new e({type:"bigint",...b(n)})}function Kc(e,n){return new e({type:"bigint",coerce:!0,...b(n)})}function Wc(e,n){return new e({type:"bigint",check:"bigint_format",abort:!1,format:"int64",...b(n)})}function Gc(e,n){return new e({type:"bigint",check:"bigint_format",abort:!1,format:"uint64",...b(n)})}function Hc(e,n){return new e({type:"symbol",...b(n)})}function Xc(e,n){return new e({type:"undefined",...b(n)})}function Qc(e,n){return new e({type:"null",...b(n)})}function eu(e){return new e({type:"any"})}function tu(e){return new e({type:"unknown"})}function nu(e,n){return new e({type:"never",...b(n)})}function ru(e,n){return new e({type:"void",...b(n)})}function iu(e,n){return new e({type:"date",...b(n)})}function ou(e,n){return new e({type:"date",coerce:!0,...b(n)})}function au(e,n){return new e({type:"nan",...b(n)})}function Ve(e,n){return new jr({check:"less_than",...b(n),value:e,inclusive:!1})}function ze(e,n){return new jr({check:"less_than",...b(n),value:e,inclusive:!0})}function Fe(e,n){return new Ur({check:"greater_than",...b(n),value:e,inclusive:!1})}function $e(e,n){return new Ur({check:"greater_than",...b(n),value:e,inclusive:!0})}function ui(e){return Fe(0,e)}function si(e){return Ve(0,e)}function di(e){return ze(0,e)}function mi(e){return $e(0,e)}function it(e,n){return new xa({check:"multiple_of",...b(n),value:e})}function ot(e,n){return new Oa({check:"max_size",...b(n),maximum:e})}function Le(e,n){return new Na({check:"min_size",...b(n),minimum:e})}function wt(e,n){return new ja({check:"size_equals",...b(n),size:e})}function It(e,n){return new Ua({check:"max_length",...b(n),maximum:e})}function He(e,n){return new Ta({check:"min_length",...b(n),minimum:e})}function zt(e,n){return new Pa({check:"length_equals",...b(n),length:e})}function sn(e,n){return new Ca({check:"string_format",format:"regex",...b(n),pattern:e})}function dn(e){return new Aa({check:"string_format",format:"lowercase",...b(e)})}function mn(e){return new Za({check:"string_format",format:"uppercase",...b(e)})}function fn(e,n){return new Ba({check:"string_format",format:"includes",...b(n),includes:e})}function pn(e,n){return new Ma({check:"string_format",format:"starts_with",...b(n),prefix:e})}function gn(e,n){return new Va({check:"string_format",format:"ends_with",...b(n),suffix:e})}function fi(e,n,r){return new La({check:"property",property:e,schema:n,...b(r)})}function vn(e,n){return new Ra({check:"mime_type",mime:e,...b(n)})}function Pe(e){return new Ja({check:"overwrite",tx:e})}function hn(e){return Pe(n=>n.normalize(e))}function $n(){return Pe(e=>e.trim())}function bn(){return Pe(e=>e.toLowerCase())}function _n(){return Pe(e=>e.toUpperCase())}function yn(){return Pe(e=>wo(e))}function lu(e,n,r){return new e({type:"array",element:n,...b(r)})}function qp(e,n,r){return new e({type:"union",options:n,...b(r)})}function Yp(e,n,r){return new e({type:"union",options:n,inclusive:!1,...b(r)})}function Kp(e,n,r,o){return new e({type:"union",options:r,discriminator:n,...b(o)})}function Wp(e,n,r){return new e({type:"intersection",left:n,right:r})}function Gp(e,n,r,o){const t=r instanceof B,i=t?o:r,a=t?r:null;return new e({type:"tuple",items:n,rest:a,...b(i)})}function Hp(e,n,r,o){return new e({type:"record",keyType:n,valueType:r,...b(o)})}function Xp(e,n,r,o){return new e({type:"map",keyType:n,valueType:r,...b(o)})}function Qp(e,n,r){return new e({type:"set",valueType:n,...b(r)})}function eg(e,n,r){const o=Array.isArray(n)?Object.fromEntries(n.map(t=>[t,t])):n;return new e({type:"enum",entries:o,...b(r)})}function tg(e,n,r){return new e({type:"enum",entries:n,...b(r)})}function ng(e,n,r){return new e({type:"literal",values:Array.isArray(n)?n:[n],...b(r)})}function cu(e,n){return new e({type:"file",...b(n)})}function rg(e,n){return new e({type:"transform",transform:n})}function ig(e,n){return new e({type:"optional",innerType:n})}function og(e,n){return new e({type:"nullable",innerType:n})}function ag(e,n,r){return new e({type:"default",innerType:n,get defaultValue(){return typeof r=="function"?r():Ht(r)}})}function lg(e,n,r){return new e({type:"nonoptional",innerType:n,...b(r)})}function cg(e,n){return new e({type:"success",innerType:n})}function ug(e,n,r){return new e({type:"catch",innerType:n,catchValue:typeof r=="function"?r:()=>r})}function sg(e,n,r){return new e({type:"pipe",in:n,out:r})}function dg(e,n){return new e({type:"readonly",innerType:n})}function mg(e,n,r){return new e({type:"template_literal",parts:n,...b(r)})}function fg(e,n){return new e({type:"lazy",getter:n})}function pg(e,n){return new e({type:"promise",innerType:n})}function uu(e,n,r){const o=b(r);return o.abort??(o.abort=!0),new e({type:"custom",check:"custom",fn:n,...o})}function su(e,n,r){return new e({type:"custom",check:"custom",fn:n,...b(r)})}function du(e){const n=mu(r=>(r.addIssue=o=>{if(typeof o=="string")r.issues.push(tt(o,r.value,n._zod.def));else{const t=o;t.fatal&&(t.continue=!1),t.code??(t.code="custom"),t.input??(t.input=r.value),t.inst??(t.inst=n),t.continue??(t.continue=!n._zod.def.abort),r.issues.push(tt(t))}},e(r.value,r)));return n}function mu(e,n){const r=new re({check:"custom",...b(n)});return r._zod.check=e,r}function fu(e){const n=new re({check:"describe"});return n._zod.onattach=[r=>{const o=Ie.get(r)??{};Ie.add(r,{...o,description:e})}],n._zod.check=()=>{},n}function pu(e){const n=new re({check:"meta"});return n._zod.onattach=[r=>{const o=Ie.get(r)??{};Ie.add(r,{...o,...e})}],n._zod.check=()=>{},n}function gu(e,n){const r=b(n);let o=r.truthy??["true","1","yes","on","y","enabled"],t=r.falsy??["false","0","no","off","n","disabled"];r.case!=="sensitive"&&(o=o.map(v=>typeof v=="string"?v.toLowerCase():v),t=t.map(v=>typeof v=="string"?v.toLowerCase():v));const i=new Set(o),a=new Set(t),l=e.Codec??Vr,s=e.Boolean??Cr,u=e.String??kt,d=new u({type:"string",error:r.error}),m=new s({type:"boolean",error:r.error}),p=new l({type:"pipe",in:d,out:m,transform:((v,h)=>{let f=v;return r.case!=="sensitive"&&(f=f.toLowerCase()),i.has(f)?!0:a.has(f)?!1:(h.issues.push({code:"invalid_value",expected:"stringbool",values:[...i,...a],input:h.value,inst:p,continue:!1}),{})}),reverseTransform:((v,h)=>v===!0?o[0]||"true":t[0]||"false"),error:r.error});return p}function xt(e,n,r,o={}){const t=b(o),i={...b(o),check:"string_format",type:"string",format:n,fn:typeof r=="function"?r:l=>r.test(l),...t};return r instanceof RegExp&&(i.pattern=r),new e(i)}function at(e){let n=(e==null?void 0:e.target)??"draft-2020-12";return n==="draft-4"&&(n="draft-04"),n==="draft-7"&&(n="draft-07"),{processors:e.processors??{},metadataRegistry:(e==null?void 0:e.metadata)??Ie,target:n,unrepresentable:(e==null?void 0:e.unrepresentable)??"throw",override:(e==null?void 0:e.override)??(()=>{}),io:(e==null?void 0:e.io)??"output",counter:0,seen:new Map,cycles:(e==null?void 0:e.cycles)??"ref",reused:(e==null?void 0:e.reused)??"inline",external:(e==null?void 0:e.external)??void 0}}function K(e,n,r={path:[],schemaPath:[]}){var d,m;var o;const t=e._zod.def,i=n.seen.get(e);if(i)return i.count++,r.schemaPath.includes(e)&&(i.cycle=r.path),i.schema;const a={schema:{},count:1,cycle:void 0,path:r.path};n.seen.set(e,a);const l=(m=(d=e._zod).toJSONSchema)==null?void 0:m.call(d);if(l)a.schema=l;else{const p={...r,schemaPath:[...r.schemaPath,e],path:r.path};if(e._zod.processJSONSchema)e._zod.processJSONSchema(n,a.schema,p);else{const h=a.schema,f=n.processors[t.type];if(!f)throw new Error(`[toJSONSchema]: Non-representable type encountered: ${t.type}`);f(e,n,h,p)}const v=e._zod.parent;v&&(a.ref||(a.ref=v),K(v,n,p),n.seen.get(v).isParent=!0)}const s=n.metadataRegistry.get(e);return s&&Object.assign(a.schema,s),n.io==="input"&&ge(e)&&(delete a.schema.examples,delete a.schema.default),n.io==="input"&&a.schema._prefault&&((o=a.schema).default??(o.default=a.schema._prefault)),delete a.schema._prefault,n.seen.get(e).schema}function lt(e,n){var a,l,s,u;const r=e.seen.get(n);if(!r)throw new Error("Unprocessed schema. This is a bug in Zod.");const o=new Map;for(const d of e.seen.entries()){const m=(a=e.metadataRegistry.get(d[0]))==null?void 0:a.id;if(m){const p=o.get(m);if(p&&p!==d[0])throw new Error(`Duplicate schema id "${m}" detected during JSON Schema conversion. Two different schemas cannot share the same id when converted together.`);o.set(m,d[0])}}const t=d=>{var f;const m=e.target==="draft-2020-12"?"$defs":"definitions";if(e.external){const $=(f=e.external.registry.get(d[0]))==null?void 0:f.id,_=e.external.uri??(P=>P);if($)return{ref:_($)};const k=d[1].defId??d[1].schema.id??`schema${e.counter++}`;return d[1].defId=k,{defId:k,ref:`${_("__shared")}#/${m}/${k}`}}if(d[1]===r)return{ref:"#"};const v=`#/${m}/`,h=d[1].schema.id??`__schema${e.counter++}`;return{defId:h,ref:v+h}},i=d=>{if(d[1].schema.$ref)return;const m=d[1],{ref:p,defId:v}=t(d);m.def={...m.schema},v&&(m.defId=v);const h=m.schema;for(const f in h)delete h[f];h.$ref=p};if(e.cycles==="throw")for(const d of e.seen.entries()){const m=d[1];if(m.cycle)throw new Error(`Cycle detected: #/${(l=m.cycle)==null?void 0:l.join("/")}/ + +Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`)}for(const d of e.seen.entries()){const m=d[1];if(n===d[0]){i(d);continue}if(e.external){const v=(s=e.external.registry.get(d[0]))==null?void 0:s.id;if(n!==d[0]&&v){i(d);continue}}if((u=e.metadataRegistry.get(d[0]))==null?void 0:u.id){i(d);continue}if(m.cycle){i(d);continue}if(m.count>1&&e.reused==="ref"){i(d);continue}}}function ct(e,n){var a,l,s;const r=e.seen.get(n);if(!r)throw new Error("Unprocessed schema. This is a bug in Zod.");const o=u=>{const d=e.seen.get(u);if(d.ref===null)return;const m=d.def??d.schema,p={...m},v=d.ref;if(d.ref=null,v){o(v);const f=e.seen.get(v),$=f.schema;if($.$ref&&(e.target==="draft-07"||e.target==="draft-04"||e.target==="openapi-3.0")?(m.allOf=m.allOf??[],m.allOf.push($)):Object.assign(m,$),Object.assign(m,p),u._zod.parent===v)for(const k in m)k==="$ref"||k==="allOf"||k in p||delete m[k];if($.$ref&&f.def)for(const k in m)k==="$ref"||k==="allOf"||k in f.def&&JSON.stringify(m[k])===JSON.stringify(f.def[k])&&delete m[k]}const h=u._zod.parent;if(h&&h!==v){o(h);const f=e.seen.get(h);if(f!=null&&f.schema.$ref&&(m.$ref=f.schema.$ref,f.def))for(const $ in m)$==="$ref"||$==="allOf"||$ in f.def&&JSON.stringify(m[$])===JSON.stringify(f.def[$])&&delete m[$]}e.override({zodSchema:u,jsonSchema:m,path:d.path??[]})};for(const u of[...e.seen.entries()].reverse())o(u[0]);const t={};if(e.target==="draft-2020-12"?t.$schema="https://json-schema.org/draft/2020-12/schema":e.target==="draft-07"?t.$schema="http://json-schema.org/draft-07/schema#":e.target==="draft-04"?t.$schema="http://json-schema.org/draft-04/schema#":e.target,(a=e.external)!=null&&a.uri){const u=(l=e.external.registry.get(n))==null?void 0:l.id;if(!u)throw new Error("Schema is missing an `id` property");t.$id=e.external.uri(u)}Object.assign(t,r.def??r.schema);const i=((s=e.external)==null?void 0:s.defs)??{};for(const u of e.seen.entries()){const d=u[1];d.def&&d.defId&&(i[d.defId]=d.def)}e.external||Object.keys(i).length>0&&(e.target==="draft-2020-12"?t.$defs=i:t.definitions=i);try{const u=JSON.parse(JSON.stringify(t));return Object.defineProperty(u,"~standard",{value:{...n["~standard"],jsonSchema:{input:Dt(n,"input",e.processors),output:Dt(n,"output",e.processors)}},enumerable:!1,writable:!1}),u}catch{throw new Error("Error converting schema to JSON.")}}function ge(e,n){const r=n??{seen:new Set};if(r.seen.has(e))return!1;r.seen.add(e);const o=e._zod.def;if(o.type==="transform")return!0;if(o.type==="array")return ge(o.element,r);if(o.type==="set")return ge(o.valueType,r);if(o.type==="lazy")return ge(o.getter(),r);if(o.type==="promise"||o.type==="optional"||o.type==="nonoptional"||o.type==="nullable"||o.type==="readonly"||o.type==="default"||o.type==="prefault")return ge(o.innerType,r);if(o.type==="intersection")return ge(o.left,r)||ge(o.right,r);if(o.type==="record"||o.type==="map")return ge(o.keyType,r)||ge(o.valueType,r);if(o.type==="pipe")return ge(o.in,r)||ge(o.out,r);if(o.type==="object"){for(const t in o.shape)if(ge(o.shape[t],r))return!0;return!1}if(o.type==="union"){for(const t of o.options)if(ge(t,r))return!0;return!1}if(o.type==="tuple"){for(const t of o.items)if(ge(t,r))return!0;return!!(o.rest&&ge(o.rest,r))}return!1}const vu=(e,n={})=>r=>{const o=at({...r,processors:n});return K(e,o),lt(o,e),ct(o,e)},Dt=(e,n,r={})=>o=>{const{libraryOptions:t,target:i}=o??{},a=at({...t??{},target:i,io:n,processors:r});return K(e,a),lt(a,e),ct(a,e)},gg={guid:"uuid",url:"uri",datetime:"date-time",json_string:"json-string",regex:""},hu=(e,n,r,o)=>{const t=r;t.type="string";const{minimum:i,maximum:a,format:l,patterns:s,contentEncoding:u}=e._zod.bag;if(typeof i=="number"&&(t.minLength=i),typeof a=="number"&&(t.maxLength=a),l&&(t.format=gg[l]??l,t.format===""&&delete t.format,l==="time"&&delete t.format),u&&(t.contentEncoding=u),s&&s.size>0){const d=[...s];d.length===1?t.pattern=d[0].source:d.length>1&&(t.allOf=[...d.map(m=>({...n.target==="draft-07"||n.target==="draft-04"||n.target==="openapi-3.0"?{type:"string"}:{},pattern:m.source}))])}},$u=(e,n,r,o)=>{const t=r,{minimum:i,maximum:a,format:l,multipleOf:s,exclusiveMaximum:u,exclusiveMinimum:d}=e._zod.bag;typeof l=="string"&&l.includes("int")?t.type="integer":t.type="number",typeof d=="number"&&(n.target==="draft-04"||n.target==="openapi-3.0"?(t.minimum=d,t.exclusiveMinimum=!0):t.exclusiveMinimum=d),typeof i=="number"&&(t.minimum=i,typeof d=="number"&&n.target!=="draft-04"&&(d>=i?delete t.minimum:delete t.exclusiveMinimum)),typeof u=="number"&&(n.target==="draft-04"||n.target==="openapi-3.0"?(t.maximum=u,t.exclusiveMaximum=!0):t.exclusiveMaximum=u),typeof a=="number"&&(t.maximum=a,typeof u=="number"&&n.target!=="draft-04"&&(u<=a?delete t.maximum:delete t.exclusiveMaximum)),typeof s=="number"&&(t.multipleOf=s)},bu=(e,n,r,o)=>{r.type="boolean"},_u=(e,n,r,o)=>{if(n.unrepresentable==="throw")throw new Error("BigInt cannot be represented in JSON Schema")},yu=(e,n,r,o)=>{if(n.unrepresentable==="throw")throw new Error("Symbols cannot be represented in JSON Schema")},ku=(e,n,r,o)=>{n.target==="openapi-3.0"?(r.type="string",r.nullable=!0,r.enum=[null]):r.type="null"},Su=(e,n,r,o)=>{if(n.unrepresentable==="throw")throw new Error("Undefined cannot be represented in JSON Schema")},wu=(e,n,r,o)=>{if(n.unrepresentable==="throw")throw new Error("Void cannot be represented in JSON Schema")},Iu=(e,n,r,o)=>{r.not={}},zu=(e,n,r,o)=>{},xu=(e,n,r,o)=>{},Du=(e,n,r,o)=>{if(n.unrepresentable==="throw")throw new Error("Date cannot be represented in JSON Schema")},Eu=(e,n,r,o)=>{const t=e._zod.def,i=fr(t.entries);i.every(a=>typeof a=="number")&&(r.type="number"),i.every(a=>typeof a=="string")&&(r.type="string"),r.enum=i},Ou=(e,n,r,o)=>{const t=e._zod.def,i=[];for(const a of t.values)if(a===void 0){if(n.unrepresentable==="throw")throw new Error("Literal `undefined` cannot be represented in JSON Schema")}else if(typeof a=="bigint"){if(n.unrepresentable==="throw")throw new Error("BigInt literals cannot be represented in JSON Schema");i.push(Number(a))}else i.push(a);if(i.length!==0)if(i.length===1){const a=i[0];r.type=a===null?"null":typeof a,n.target==="draft-04"||n.target==="openapi-3.0"?r.enum=[a]:r.const=a}else i.every(a=>typeof a=="number")&&(r.type="number"),i.every(a=>typeof a=="string")&&(r.type="string"),i.every(a=>typeof a=="boolean")&&(r.type="boolean"),i.every(a=>a===null)&&(r.type="null"),r.enum=i},Nu=(e,n,r,o)=>{if(n.unrepresentable==="throw")throw new Error("NaN cannot be represented in JSON Schema")},ju=(e,n,r,o)=>{const t=r,i=e._zod.pattern;if(!i)throw new Error("Pattern not found in template literal");t.type="string",t.pattern=i.source},Uu=(e,n,r,o)=>{const t=r,i={type:"string",format:"binary",contentEncoding:"binary"},{minimum:a,maximum:l,mime:s}=e._zod.bag;a!==void 0&&(i.minLength=a),l!==void 0&&(i.maxLength=l),s?s.length===1?(i.contentMediaType=s[0],Object.assign(t,i)):(Object.assign(t,i),t.anyOf=s.map(u=>({contentMediaType:u}))):Object.assign(t,i)},Tu=(e,n,r,o)=>{r.type="boolean"},Pu=(e,n,r,o)=>{if(n.unrepresentable==="throw")throw new Error("Custom types cannot be represented in JSON Schema")},Cu=(e,n,r,o)=>{if(n.unrepresentable==="throw")throw new Error("Function types cannot be represented in JSON Schema")},Au=(e,n,r,o)=>{if(n.unrepresentable==="throw")throw new Error("Transforms cannot be represented in JSON Schema")},Zu=(e,n,r,o)=>{if(n.unrepresentable==="throw")throw new Error("Map cannot be represented in JSON Schema")},Bu=(e,n,r,o)=>{if(n.unrepresentable==="throw")throw new Error("Set cannot be represented in JSON Schema")},Mu=(e,n,r,o)=>{const t=r,i=e._zod.def,{minimum:a,maximum:l}=e._zod.bag;typeof a=="number"&&(t.minItems=a),typeof l=="number"&&(t.maxItems=l),t.type="array",t.items=K(i.element,n,{...o,path:[...o.path,"items"]})},Vu=(e,n,r,o)=>{var u;const t=r,i=e._zod.def;t.type="object",t.properties={};const a=i.shape;for(const d in a)t.properties[d]=K(a[d],n,{...o,path:[...o.path,"properties",d]});const l=new Set(Object.keys(a)),s=new Set([...l].filter(d=>{const m=i.shape[d]._zod;return n.io==="input"?m.optin===void 0:m.optout===void 0}));s.size>0&&(t.required=Array.from(s)),((u=i.catchall)==null?void 0:u._zod.def.type)==="never"?t.additionalProperties=!1:i.catchall?i.catchall&&(t.additionalProperties=K(i.catchall,n,{...o,path:[...o.path,"additionalProperties"]})):n.io==="output"&&(t.additionalProperties=!1)},pi=(e,n,r,o)=>{const t=e._zod.def,i=t.inclusive===!1,a=t.options.map((l,s)=>K(l,n,{...o,path:[...o.path,i?"oneOf":"anyOf",s]}));i?r.oneOf=a:r.anyOf=a},Fu=(e,n,r,o)=>{const t=e._zod.def,i=K(t.left,n,{...o,path:[...o.path,"allOf",0]}),a=K(t.right,n,{...o,path:[...o.path,"allOf",1]}),l=u=>"allOf"in u&&Object.keys(u).length===1,s=[...l(i)?i.allOf:[i],...l(a)?a.allOf:[a]];r.allOf=s},Lu=(e,n,r,o)=>{const t=r,i=e._zod.def;t.type="array";const a=n.target==="draft-2020-12"?"prefixItems":"items",l=n.target==="draft-2020-12"||n.target==="openapi-3.0"?"items":"additionalItems",s=i.items.map((p,v)=>K(p,n,{...o,path:[...o.path,a,v]})),u=i.rest?K(i.rest,n,{...o,path:[...o.path,l,...n.target==="openapi-3.0"?[i.items.length]:[]]}):null;n.target==="draft-2020-12"?(t.prefixItems=s,u&&(t.items=u)):n.target==="openapi-3.0"?(t.items={anyOf:s},u&&t.items.anyOf.push(u),t.minItems=s.length,u||(t.maxItems=s.length)):(t.items=s,u&&(t.additionalItems=u));const{minimum:d,maximum:m}=e._zod.bag;typeof d=="number"&&(t.minItems=d),typeof m=="number"&&(t.maxItems=m)},Ru=(e,n,r,o)=>{const t=r,i=e._zod.def;t.type="object";const a=i.keyType,l=a._zod.bag,s=l==null?void 0:l.patterns;if(i.mode==="loose"&&s&&s.size>0){const d=K(i.valueType,n,{...o,path:[...o.path,"patternProperties","*"]});t.patternProperties={};for(const m of s)t.patternProperties[m.source]=d}else(n.target==="draft-07"||n.target==="draft-2020-12")&&(t.propertyNames=K(i.keyType,n,{...o,path:[...o.path,"propertyNames"]})),t.additionalProperties=K(i.valueType,n,{...o,path:[...o.path,"additionalProperties"]});const u=a._zod.values;if(u){const d=[...u].filter(m=>typeof m=="string"||typeof m=="number");d.length>0&&(t.required=d)}},Ju=(e,n,r,o)=>{const t=e._zod.def,i=K(t.innerType,n,o),a=n.seen.get(e);n.target==="openapi-3.0"?(a.ref=t.innerType,r.nullable=!0):r.anyOf=[i,{type:"null"}]},qu=(e,n,r,o)=>{const t=e._zod.def;K(t.innerType,n,o);const i=n.seen.get(e);i.ref=t.innerType},Yu=(e,n,r,o)=>{const t=e._zod.def;K(t.innerType,n,o);const i=n.seen.get(e);i.ref=t.innerType,r.default=JSON.parse(JSON.stringify(t.defaultValue))},Ku=(e,n,r,o)=>{const t=e._zod.def;K(t.innerType,n,o);const i=n.seen.get(e);i.ref=t.innerType,n.io==="input"&&(r._prefault=JSON.parse(JSON.stringify(t.defaultValue)))},Wu=(e,n,r,o)=>{const t=e._zod.def;K(t.innerType,n,o);const i=n.seen.get(e);i.ref=t.innerType;let a;try{a=t.catchValue(void 0)}catch{throw new Error("Dynamic catch values are not supported in JSON Schema")}r.default=a},Gu=(e,n,r,o)=>{const t=e._zod.def,i=n.io==="input"?t.in._zod.def.type==="transform"?t.out:t.in:t.out;K(i,n,o);const a=n.seen.get(e);a.ref=i},Hu=(e,n,r,o)=>{const t=e._zod.def;K(t.innerType,n,o);const i=n.seen.get(e);i.ref=t.innerType,r.readOnly=!0},Xu=(e,n,r,o)=>{const t=e._zod.def;K(t.innerType,n,o);const i=n.seen.get(e);i.ref=t.innerType},gi=(e,n,r,o)=>{const t=e._zod.def;K(t.innerType,n,o);const i=n.seen.get(e);i.ref=t.innerType},Qu=(e,n,r,o)=>{const t=e._zod.innerType;K(t,n,o);const i=n.seen.get(e);i.ref=t},vi={string:hu,number:$u,boolean:bu,bigint:_u,symbol:yu,null:ku,undefined:Su,void:wu,never:Iu,any:zu,unknown:xu,date:Du,enum:Eu,literal:Ou,nan:Nu,template_literal:ju,file:Uu,success:Tu,custom:Pu,function:Cu,transform:Au,map:Zu,set:Bu,array:Mu,object:Vu,union:pi,intersection:Fu,tuple:Lu,record:Ru,nullable:Ju,nonoptional:qu,default:Yu,prefault:Ku,catch:Wu,pipe:Gu,readonly:Hu,promise:Xu,optional:gi,lazy:Qu};function es(e,n){if("_idmap"in e){const o=e,t=at({...n,processors:vi}),i={};for(const s of o._idmap.entries()){const[u,d]=s;K(d,t)}const a={},l={registry:o,uri:n==null?void 0:n.uri,defs:i};t.external=l;for(const s of o._idmap.entries()){const[u,d]=s;lt(t,d),a[u]=ct(t,d)}if(Object.keys(i).length>0){const s=t.target==="draft-2020-12"?"$defs":"definitions";a.__shared={[s]:i}}return{schemas:a}}const r=at({...n,processors:vi});return K(e,r),lt(r,e),ct(r,e)}class vg{get metadataRegistry(){return this.ctx.metadataRegistry}get target(){return this.ctx.target}get unrepresentable(){return this.ctx.unrepresentable}get override(){return this.ctx.override}get io(){return this.ctx.io}get counter(){return this.ctx.counter}set counter(n){this.ctx.counter=n}get seen(){return this.ctx.seen}constructor(n){let r=(n==null?void 0:n.target)??"draft-2020-12";r==="draft-4"&&(r="draft-04"),r==="draft-7"&&(r="draft-07"),this.ctx=at({processors:vi,target:r,...(n==null?void 0:n.metadata)&&{metadata:n.metadata},...(n==null?void 0:n.unrepresentable)&&{unrepresentable:n.unrepresentable},...(n==null?void 0:n.override)&&{override:n.override},...(n==null?void 0:n.io)&&{io:n.io}})}process(n,r={path:[],schemaPath:[]}){return K(n,this.ctx,r)}emit(n,r){r&&(r.cycles&&(this.ctx.cycles=r.cycles),r.reused&&(this.ctx.reused=r.reused),r.external&&(this.ctx.external=r.external)),lt(this.ctx,n);const o=ct(this.ctx,n),{"~standard":t,...i}=o;return i}}const hg=Object.freeze(Object.defineProperty({__proto__:null,$ZodAny:zl,$ZodArray:jl,$ZodAsyncError:Ye,$ZodBase64:pl,$ZodBase64URL:vl,$ZodBigInt:Ar,$ZodBigIntFormat:kl,$ZodBoolean:Cr,$ZodCIDRv4:ml,$ZodCIDRv6:fl,$ZodCUID:el,$ZodCUID2:tl,$ZodCatch:lc,$ZodCheck:re,$ZodCheckBigIntFormat:Ea,$ZodCheckEndsWith:Va,$ZodCheckGreaterThan:Ur,$ZodCheckIncludes:Ba,$ZodCheckLengthEquals:Pa,$ZodCheckLessThan:jr,$ZodCheckLowerCase:Aa,$ZodCheckMaxLength:Ua,$ZodCheckMaxSize:Oa,$ZodCheckMimeType:Ra,$ZodCheckMinLength:Ta,$ZodCheckMinSize:Na,$ZodCheckMultipleOf:xa,$ZodCheckNumberFormat:Da,$ZodCheckOverwrite:Ja,$ZodCheckProperty:La,$ZodCheckRegex:Ca,$ZodCheckSizeEquals:ja,$ZodCheckStartsWith:Ma,$ZodCheckStringFormat:yt,$ZodCheckUpperCase:Za,$ZodCodec:Vr,$ZodCustom:vc,$ZodCustomStringFormat:_l,$ZodDate:Ol,$ZodDefault:tc,$ZodDiscriminatedUnion:Ml,$ZodE164:hl,$ZodEmail:Ga,$ZodEmoji:Xa,$ZodEncodeError:Yt,$ZodEnum:Kl,$ZodError:vr,$ZodExactOptional:Ql,$ZodFile:Gl,$ZodFunction:fc,$ZodGUID:Ka,$ZodIPv4:ul,$ZodIPv6:sl,$ZodISODate:al,$ZodISODateTime:ol,$ZodISODuration:cl,$ZodISOTime:ll,$ZodIntersection:Vl,$ZodJWT:bl,$ZodKSUID:il,$ZodLazy:gc,$ZodLiteral:Wl,$ZodMAC:dl,$ZodMap:Rl,$ZodNaN:cc,$ZodNanoID:Qa,$ZodNever:Dl,$ZodNonOptional:ic,$ZodNull:Il,$ZodNullable:ec,$ZodNumber:Pr,$ZodNumberFormat:yl,$ZodObject:Pl,$ZodObjectJIT:Cl,$ZodOptional:Mr,$ZodPipe:uc,$ZodPrefault:rc,$ZodPromise:pc,$ZodReadonly:sc,$ZodRealError:_e,$ZodRecord:Ll,$ZodRegistry:Ec,$ZodSet:ql,$ZodString:kt,$ZodStringFormat:Q,$ZodSuccess:ac,$ZodSymbol:Sl,$ZodTemplateLiteral:mc,$ZodTransform:Hl,$ZodTuple:Br,$ZodType:B,$ZodULID:nl,$ZodURL:Ha,$ZodUUID:Wa,$ZodUndefined:wl,$ZodUnion:nn,$ZodUnknown:xl,$ZodVoid:El,$ZodXID:rl,$ZodXor:Bl,$brand:yo,$constructor:g,$input:Dc,$output:xc,Doc:qa,JSONSchema:Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),JSONSchemaGenerator:vg,NEVER:_o,TimePrecision:Uc,_any:eu,_array:lu,_base64:oi,_base64url:ai,_bigint:Yc,_boolean:Jc,_catch:ug,_check:mu,_cidrv4:ri,_cidrv6:ii,_coercedBigint:Kc,_coercedBoolean:qc,_coercedDate:ou,_coercedNumber:Bc,_coercedString:Nc,_cuid:Gr,_cuid2:Hr,_custom:uu,_date:iu,_decode:kr,_decodeAsync:wr,_default:ag,_discriminatedUnion:Kp,_e164:li,_email:Lr,_emoji:Kr,_encode:yr,_encodeAsync:Sr,_endsWith:gn,_enum:eg,_file:cu,_float32:Vc,_float64:Fc,_gt:Fe,_gte:$e,_guid:cn,_includes:fn,_int:Mc,_int32:Lc,_int64:Wc,_intersection:Wp,_ipv4:ti,_ipv6:ni,_isoDate:Pc,_isoDateTime:Tc,_isoDuration:Ac,_isoTime:Cc,_jwt:ci,_ksuid:ei,_lazy:fg,_length:zt,_literal:ng,_lowercase:dn,_lt:Ve,_lte:ze,_mac:jc,_map:Xp,_max:ze,_maxLength:It,_maxSize:ot,_mime:vn,_min:$e,_minLength:He,_minSize:Le,_multipleOf:it,_nan:au,_nanoid:Wr,_nativeEnum:tg,_negative:si,_never:nu,_nonnegative:mi,_nonoptional:lg,_nonpositive:di,_normalize:hn,_null:Qc,_nullable:og,_number:Zc,_optional:ig,_overwrite:Pe,_parse:gt,_parseAsync:vt,_pipe:sg,_positive:ui,_promise:pg,_property:fi,_readonly:dg,_record:Hp,_refine:su,_regex:sn,_safeDecode:zr,_safeDecodeAsync:Dr,_safeEncode:Ir,_safeEncodeAsync:xr,_safeParse:ht,_safeParseAsync:$t,_set:Qp,_size:wt,_slugify:yn,_startsWith:pn,_string:Oc,_stringFormat:xt,_stringbool:gu,_success:cg,_superRefine:du,_symbol:Hc,_templateLiteral:mg,_toLowerCase:bn,_toUpperCase:_n,_transform:rg,_trim:$n,_tuple:Gp,_uint32:Rc,_uint64:Gc,_ulid:Xr,_undefined:Xc,_union:qp,_unknown:tu,_uppercase:mn,_url:un,_uuid:Rr,_uuidv4:Jr,_uuidv6:qr,_uuidv7:Yr,_void:ru,_xid:Qr,_xor:Yp,clone:Se,config:me,createStandardJSONSchemaMethod:Dt,createToJSONSchemaMethod:vu,decode:Rm,decodeAsync:qm,describe:fu,encode:Lm,encodeAsync:Jm,extractDefs:lt,finalize:ct,flattenError:hr,formatError:$r,globalConfig:Kt,globalRegistry:Ie,initializeContext:at,isValidBase64:Tr,isValidBase64URL:gl,isValidJWT:$l,locales:Ic,meta:pu,parse:br,parseAsync:_r,prettifyError:Lo,process:K,regexes:Nr,registry:Fr,safeDecode:Km,safeDecodeAsync:Gm,safeEncode:Ym,safeEncodeAsync:Wm,safeParse:Ro,safeParseAsync:Jo,toDotPath:Fo,toJSONSchema:es,treeifyError:Vo,util:Bo,version:Ya},Symbol.toStringTag,{value:"Module"})),$g=Object.freeze(Object.defineProperty({__proto__:null,endsWith:gn,gt:Fe,gte:$e,includes:fn,length:zt,lowercase:dn,lt:Ve,lte:ze,maxLength:It,maxSize:ot,mime:vn,minLength:He,minSize:Le,multipleOf:it,negative:si,nonnegative:mi,nonpositive:di,normalize:hn,overwrite:Pe,positive:ui,property:fi,regex:sn,size:wt,slugify:yn,startsWith:pn,toLowerCase:bn,toUpperCase:_n,trim:$n,uppercase:mn},Symbol.toStringTag,{value:"Module"})),hi=g("ZodISODateTime",(e,n)=>{ol.init(e,n),ee.init(e,n)});function ts(e){return Tc(hi,e)}const $i=g("ZodISODate",(e,n)=>{al.init(e,n),ee.init(e,n)});function ns(e){return Pc($i,e)}const bi=g("ZodISOTime",(e,n)=>{ll.init(e,n),ee.init(e,n)});function rs(e){return Cc(bi,e)}const _i=g("ZodISODuration",(e,n)=>{cl.init(e,n),ee.init(e,n)});function is(e){return Ac(_i,e)}const os=Object.freeze(Object.defineProperty({__proto__:null,ZodISODate:$i,ZodISODateTime:hi,ZodISODuration:_i,ZodISOTime:bi,date:ns,datetime:ts,duration:is,time:rs},Symbol.toStringTag,{value:"Module"})),as=(e,n)=>{vr.init(e,n),e.name="ZodError",Object.defineProperties(e,{format:{value:r=>$r(e,r)},flatten:{value:r=>hr(e,r)},addIssue:{value:r=>{e.issues.push(r),e.message=JSON.stringify(e.issues,Wt,2)}},addIssues:{value:r=>{e.issues.push(...r),e.message=JSON.stringify(e.issues,Wt,2)}},isEmpty:{get(){return e.issues.length===0}}})},bg=g("ZodError",as),ye=g("ZodError",as,{Parent:Error}),ls=gt(ye),cs=vt(ye),us=ht(ye),ss=$t(ye),ds=yr(ye),ms=kr(ye),fs=Sr(ye),ps=wr(ye),gs=Ir(ye),vs=zr(ye),hs=xr(ye),$s=Dr(ye),L=g("ZodType",(e,n)=>(B.init(e,n),Object.assign(e["~standard"],{jsonSchema:{input:Dt(e,"input"),output:Dt(e,"output")}}),e.toJSONSchema=vu(e,{}),e.def=n,e.type=n.type,Object.defineProperty(e,"_def",{value:n}),e.check=(...r)=>e.clone(Oe(n,{checks:[...n.checks??[],...r.map(o=>typeof o=="function"?{_zod:{check:o,def:{check:"custom"},onattach:[]}}:o)]}),{parent:!0}),e.with=e.check,e.clone=(r,o)=>Se(e,r,o),e.brand=()=>e,e.register=((r,o)=>(r.add(e,o),e)),e.parse=(r,o)=>ls(e,r,o,{callee:e.parse}),e.safeParse=(r,o)=>us(e,r,o),e.parseAsync=async(r,o)=>cs(e,r,o,{callee:e.parseAsync}),e.safeParseAsync=async(r,o)=>ss(e,r,o),e.spa=e.safeParseAsync,e.encode=(r,o)=>ds(e,r,o),e.decode=(r,o)=>ms(e,r,o),e.encodeAsync=async(r,o)=>fs(e,r,o),e.decodeAsync=async(r,o)=>ps(e,r,o),e.safeEncode=(r,o)=>gs(e,r,o),e.safeDecode=(r,o)=>vs(e,r,o),e.safeEncodeAsync=async(r,o)=>hs(e,r,o),e.safeDecodeAsync=async(r,o)=>$s(e,r,o),e.refine=(r,o)=>e.check(so(r,o)),e.superRefine=r=>e.check(mo(r)),e.overwrite=r=>e.check(Pe(r)),e.optional=()=>Bt(e),e.exactOptional=()=>qi(e),e.nullable=()=>Mt(e),e.nullish=()=>Bt(Mt(e)),e.nonoptional=r=>Xi(e,r),e.array=()=>Pt(e),e.or=r=>Rn([e,r]),e.and=r=>Ci(e,r),e.transform=r=>Vt(e,qn(r)),e.default=r=>Wi(e,r),e.prefault=r=>Hi(e,r),e.catch=r=>to(e,r),e.pipe=r=>Vt(e,r),e.readonly=()=>io(e),e.describe=r=>{const o=e.clone();return Ie.add(o,{description:r}),o},Object.defineProperty(e,"description",{get(){var r;return(r=Ie.get(e))==null?void 0:r.description},configurable:!0}),e.meta=(...r)=>{if(r.length===0)return Ie.get(e);const o=e.clone();return Ie.add(o,r[0]),o},e.isOptional=()=>e.safeParse(void 0).success,e.isNullable=()=>e.safeParse(null).success,e.apply=r=>r(e),e)),kn=g("_ZodString",(e,n)=>{kt.init(e,n),L.init(e,n),e._zod.processJSONSchema=(o,t,i)=>hu(e,o,t);const r=e._zod.bag;e.format=r.format??null,e.minLength=r.minimum??null,e.maxLength=r.maximum??null,e.regex=(...o)=>e.check(sn(...o)),e.includes=(...o)=>e.check(fn(...o)),e.startsWith=(...o)=>e.check(pn(...o)),e.endsWith=(...o)=>e.check(gn(...o)),e.min=(...o)=>e.check(He(...o)),e.max=(...o)=>e.check(It(...o)),e.length=(...o)=>e.check(zt(...o)),e.nonempty=(...o)=>e.check(He(1,...o)),e.lowercase=o=>e.check(dn(o)),e.uppercase=o=>e.check(mn(o)),e.trim=()=>e.check($n()),e.normalize=(...o)=>e.check(hn(...o)),e.toLowerCase=()=>e.check(bn()),e.toUpperCase=()=>e.check(_n()),e.slugify=()=>e.check(yn())}),Et=g("ZodString",(e,n)=>{kt.init(e,n),kn.init(e,n),e.email=r=>e.check(Lr(wn,r)),e.url=r=>e.check(un(Nt,r)),e.jwt=r=>e.check(ci(Bn,r)),e.emoji=r=>e.check(Kr(In,r)),e.guid=r=>e.check(cn(Ot,r)),e.uuid=r=>e.check(Rr(Ne,r)),e.uuidv4=r=>e.check(Jr(Ne,r)),e.uuidv6=r=>e.check(qr(Ne,r)),e.uuidv7=r=>e.check(Yr(Ne,r)),e.nanoid=r=>e.check(Wr(zn,r)),e.guid=r=>e.check(cn(Ot,r)),e.cuid=r=>e.check(Gr(xn,r)),e.cuid2=r=>e.check(Hr(Dn,r)),e.ulid=r=>e.check(Xr(En,r)),e.base64=r=>e.check(oi(Cn,r)),e.base64url=r=>e.check(ai(An,r)),e.xid=r=>e.check(Qr(On,r)),e.ksuid=r=>e.check(ei(Nn,r)),e.ipv4=r=>e.check(ti(jn,r)),e.ipv6=r=>e.check(ni(Un,r)),e.cidrv4=r=>e.check(ri(Tn,r)),e.cidrv6=r=>e.check(ii(Pn,r)),e.e164=r=>e.check(li(Zn,r)),e.datetime=r=>e.check(ts(r)),e.date=r=>e.check(ns(r)),e.time=r=>e.check(rs(r)),e.duration=r=>e.check(is(r))});function Sn(e){return Oc(Et,e)}const ee=g("ZodStringFormat",(e,n)=>{Q.init(e,n),kn.init(e,n)}),wn=g("ZodEmail",(e,n)=>{Ga.init(e,n),ee.init(e,n)});function bs(e){return Lr(wn,e)}const Ot=g("ZodGUID",(e,n)=>{Ka.init(e,n),ee.init(e,n)});function _s(e){return cn(Ot,e)}const Ne=g("ZodUUID",(e,n)=>{Wa.init(e,n),ee.init(e,n)});function ys(e){return Rr(Ne,e)}function ks(e){return Jr(Ne,e)}function Ss(e){return qr(Ne,e)}function ws(e){return Yr(Ne,e)}const Nt=g("ZodURL",(e,n)=>{Ha.init(e,n),ee.init(e,n)});function Is(e){return un(Nt,e)}function zs(e){return un(Nt,{protocol:/^https?$/,hostname:sa,...b(e)})}const In=g("ZodEmoji",(e,n)=>{Xa.init(e,n),ee.init(e,n)});function xs(e){return Kr(In,e)}const zn=g("ZodNanoID",(e,n)=>{Qa.init(e,n),ee.init(e,n)});function Ds(e){return Wr(zn,e)}const xn=g("ZodCUID",(e,n)=>{el.init(e,n),ee.init(e,n)});function Es(e){return Gr(xn,e)}const Dn=g("ZodCUID2",(e,n)=>{tl.init(e,n),ee.init(e,n)});function Os(e){return Hr(Dn,e)}const En=g("ZodULID",(e,n)=>{nl.init(e,n),ee.init(e,n)});function Ns(e){return Xr(En,e)}const On=g("ZodXID",(e,n)=>{rl.init(e,n),ee.init(e,n)});function js(e){return Qr(On,e)}const Nn=g("ZodKSUID",(e,n)=>{il.init(e,n),ee.init(e,n)});function Us(e){return ei(Nn,e)}const jn=g("ZodIPv4",(e,n)=>{ul.init(e,n),ee.init(e,n)});function Ts(e){return ti(jn,e)}const yi=g("ZodMAC",(e,n)=>{dl.init(e,n),ee.init(e,n)});function Ps(e){return jc(yi,e)}const Un=g("ZodIPv6",(e,n)=>{sl.init(e,n),ee.init(e,n)});function Cs(e){return ni(Un,e)}const Tn=g("ZodCIDRv4",(e,n)=>{ml.init(e,n),ee.init(e,n)});function As(e){return ri(Tn,e)}const Pn=g("ZodCIDRv6",(e,n)=>{fl.init(e,n),ee.init(e,n)});function Zs(e){return ii(Pn,e)}const Cn=g("ZodBase64",(e,n)=>{pl.init(e,n),ee.init(e,n)});function Bs(e){return oi(Cn,e)}const An=g("ZodBase64URL",(e,n)=>{vl.init(e,n),ee.init(e,n)});function Ms(e){return ai(An,e)}const Zn=g("ZodE164",(e,n)=>{hl.init(e,n),ee.init(e,n)});function Vs(e){return li(Zn,e)}const Bn=g("ZodJWT",(e,n)=>{bl.init(e,n),ee.init(e,n)});function Fs(e){return ci(Bn,e)}const ut=g("ZodCustomStringFormat",(e,n)=>{_l.init(e,n),ee.init(e,n)});function Ls(e,n,r={}){return xt(ut,e,n,r)}function Rs(e){return xt(ut,"hostname",ua,e)}function Js(e){return xt(ut,"hex",Ia,e)}function qs(e,n){const r=(n==null?void 0:n.enc)??"hex",o=`${e}_${r}`,t=Nr[o];if(!t)throw new Error(`Unrecognized hash format: ${o}`);return xt(ut,o,t,n)}const jt=g("ZodNumber",(e,n)=>{Pr.init(e,n),L.init(e,n),e._zod.processJSONSchema=(o,t,i)=>$u(e,o,t),e.gt=(o,t)=>e.check(Fe(o,t)),e.gte=(o,t)=>e.check($e(o,t)),e.min=(o,t)=>e.check($e(o,t)),e.lt=(o,t)=>e.check(Ve(o,t)),e.lte=(o,t)=>e.check(ze(o,t)),e.max=(o,t)=>e.check(ze(o,t)),e.int=o=>e.check(Mn(o)),e.safe=o=>e.check(Mn(o)),e.positive=o=>e.check(Fe(0,o)),e.nonnegative=o=>e.check($e(0,o)),e.negative=o=>e.check(Ve(0,o)),e.nonpositive=o=>e.check(ze(0,o)),e.multipleOf=(o,t)=>e.check(it(o,t)),e.step=(o,t)=>e.check(it(o,t)),e.finite=()=>e;const r=e._zod.bag;e.minValue=Math.max(r.minimum??Number.NEGATIVE_INFINITY,r.exclusiveMinimum??Number.NEGATIVE_INFINITY)??null,e.maxValue=Math.min(r.maximum??Number.POSITIVE_INFINITY,r.exclusiveMaximum??Number.POSITIVE_INFINITY)??null,e.isInt=(r.format??"").includes("int")||Number.isSafeInteger(r.multipleOf??.5),e.isFinite=!0,e.format=r.format??null});function ki(e){return Zc(jt,e)}const Xe=g("ZodNumberFormat",(e,n)=>{yl.init(e,n),jt.init(e,n)});function Mn(e){return Mc(Xe,e)}function Ys(e){return Vc(Xe,e)}function Ks(e){return Fc(Xe,e)}function Ws(e){return Lc(Xe,e)}function Gs(e){return Rc(Xe,e)}const Ut=g("ZodBoolean",(e,n)=>{Cr.init(e,n),L.init(e,n),e._zod.processJSONSchema=(r,o,t)=>bu(e,r,o)});function Si(e){return Jc(Ut,e)}const Tt=g("ZodBigInt",(e,n)=>{Ar.init(e,n),L.init(e,n),e._zod.processJSONSchema=(o,t,i)=>_u(e,o),e.gte=(o,t)=>e.check($e(o,t)),e.min=(o,t)=>e.check($e(o,t)),e.gt=(o,t)=>e.check(Fe(o,t)),e.gte=(o,t)=>e.check($e(o,t)),e.min=(o,t)=>e.check($e(o,t)),e.lt=(o,t)=>e.check(Ve(o,t)),e.lte=(o,t)=>e.check(ze(o,t)),e.max=(o,t)=>e.check(ze(o,t)),e.positive=o=>e.check(Fe(BigInt(0),o)),e.negative=o=>e.check(Ve(BigInt(0),o)),e.nonpositive=o=>e.check(ze(BigInt(0),o)),e.nonnegative=o=>e.check($e(BigInt(0),o)),e.multipleOf=(o,t)=>e.check(it(o,t));const r=e._zod.bag;e.minValue=r.minimum??null,e.maxValue=r.maximum??null,e.format=r.format??null});function Hs(e){return Yc(Tt,e)}const Vn=g("ZodBigIntFormat",(e,n)=>{kl.init(e,n),Tt.init(e,n)});function Xs(e){return Wc(Vn,e)}function Qs(e){return Gc(Vn,e)}const wi=g("ZodSymbol",(e,n)=>{Sl.init(e,n),L.init(e,n),e._zod.processJSONSchema=(r,o,t)=>yu(e,r)});function ed(e){return Hc(wi,e)}const Ii=g("ZodUndefined",(e,n)=>{wl.init(e,n),L.init(e,n),e._zod.processJSONSchema=(r,o,t)=>Su(e,r)});function td(e){return Xc(Ii,e)}const zi=g("ZodNull",(e,n)=>{Il.init(e,n),L.init(e,n),e._zod.processJSONSchema=(r,o,t)=>ku(e,r,o)});function xi(e){return Qc(zi,e)}const Di=g("ZodAny",(e,n)=>{zl.init(e,n),L.init(e,n),e._zod.processJSONSchema=(r,o,t)=>zu()});function nd(){return eu(Di)}const Ei=g("ZodUnknown",(e,n)=>{xl.init(e,n),L.init(e,n),e._zod.processJSONSchema=(r,o,t)=>xu()});function Qe(){return tu(Ei)}const Oi=g("ZodNever",(e,n)=>{Dl.init(e,n),L.init(e,n),e._zod.processJSONSchema=(r,o,t)=>Iu(e,r,o)});function Fn(e){return nu(Oi,e)}const Ni=g("ZodVoid",(e,n)=>{El.init(e,n),L.init(e,n),e._zod.processJSONSchema=(r,o,t)=>wu(e,r)});function rd(e){return ru(Ni,e)}const Ln=g("ZodDate",(e,n)=>{Ol.init(e,n),L.init(e,n),e._zod.processJSONSchema=(o,t,i)=>Du(e,o),e.min=(o,t)=>e.check($e(o,t)),e.max=(o,t)=>e.check(ze(o,t));const r=e._zod.bag;e.minDate=r.minimum?new Date(r.minimum):null,e.maxDate=r.maximum?new Date(r.maximum):null});function id(e){return iu(Ln,e)}const ji=g("ZodArray",(e,n)=>{jl.init(e,n),L.init(e,n),e._zod.processJSONSchema=(r,o,t)=>Mu(e,r,o,t),e.element=n.element,e.min=(r,o)=>e.check(He(r,o)),e.nonempty=r=>e.check(He(1,r)),e.max=(r,o)=>e.check(It(r,o)),e.length=(r,o)=>e.check(zt(r,o)),e.unwrap=()=>e.element});function Pt(e,n){return lu(ji,e,n)}function od(e){const n=e._zod.def.shape;return Jn(Object.keys(n))}const Ct=g("ZodObject",(e,n)=>{Cl.init(e,n),L.init(e,n),e._zod.processJSONSchema=(r,o,t)=>Vu(e,r,o,t),R(e,"shape",()=>n.shape),e.keyof=()=>Jn(Object.keys(e._zod.def.shape)),e.catchall=r=>e.clone({...e._zod.def,catchall:r}),e.passthrough=()=>e.clone({...e._zod.def,catchall:Qe()}),e.loose=()=>e.clone({...e._zod.def,catchall:Qe()}),e.strict=()=>e.clone({...e._zod.def,catchall:Fn()}),e.strip=()=>e.clone({...e._zod.def,catchall:void 0}),e.extend=r=>jo(e,r),e.safeExtend=r=>Uo(e,r),e.merge=r=>To(e,r),e.pick=r=>Oo(e,r),e.omit=r=>No(e,r),e.partial=(...r)=>Po(Yn,e,r[0]),e.required=(...r)=>Co(Kn,e,r[0])});function ad(e,n){const r={type:"object",shape:e??{},...b(n)};return new Ct(r)}function ld(e,n){return new Ct({type:"object",shape:e,catchall:Fn(),...b(n)})}function cd(e,n){return new Ct({type:"object",shape:e,catchall:Qe(),...b(n)})}const At=g("ZodUnion",(e,n)=>{nn.init(e,n),L.init(e,n),e._zod.processJSONSchema=(r,o,t)=>pi(e,r,o,t),e.options=n.options});function Rn(e,n){return new At({type:"union",options:e,...b(n)})}const Ui=g("ZodXor",(e,n)=>{At.init(e,n),Bl.init(e,n),e._zod.processJSONSchema=(r,o,t)=>pi(e,r,o,t),e.options=n.options});function ud(e,n){return new Ui({type:"union",options:e,inclusive:!1,...b(n)})}const Ti=g("ZodDiscriminatedUnion",(e,n)=>{At.init(e,n),Ml.init(e,n)});function sd(e,n,r){return new Ti({type:"union",options:n,discriminator:e,...b(r)})}const Pi=g("ZodIntersection",(e,n)=>{Vl.init(e,n),L.init(e,n),e._zod.processJSONSchema=(r,o,t)=>Fu(e,r,o,t)});function Ci(e,n){return new Pi({type:"intersection",left:e,right:n})}const Ai=g("ZodTuple",(e,n)=>{Br.init(e,n),L.init(e,n),e._zod.processJSONSchema=(r,o,t)=>Lu(e,r,o,t),e.rest=r=>e.clone({...e._zod.def,rest:r})});function Zi(e,n,r){const o=n instanceof B,t=o?r:n,i=o?n:null;return new Ai({type:"tuple",items:e,rest:i,...b(t)})}const Zt=g("ZodRecord",(e,n)=>{Ll.init(e,n),L.init(e,n),e._zod.processJSONSchema=(r,o,t)=>Ru(e,r,o,t),e.keyType=n.keyType,e.valueType=n.valueType});function Bi(e,n,r){return new Zt({type:"record",keyType:e,valueType:n,...b(r)})}function dd(e,n,r){const o=Se(e);return o._zod.values=void 0,new Zt({type:"record",keyType:o,valueType:n,...b(r)})}function md(e,n,r){return new Zt({type:"record",keyType:e,valueType:n,mode:"loose",...b(r)})}const Mi=g("ZodMap",(e,n)=>{Rl.init(e,n),L.init(e,n),e._zod.processJSONSchema=(r,o,t)=>Zu(e,r),e.keyType=n.keyType,e.valueType=n.valueType,e.min=(...r)=>e.check(Le(...r)),e.nonempty=r=>e.check(Le(1,r)),e.max=(...r)=>e.check(ot(...r)),e.size=(...r)=>e.check(wt(...r))});function fd(e,n,r){return new Mi({type:"map",keyType:e,valueType:n,...b(r)})}const Vi=g("ZodSet",(e,n)=>{ql.init(e,n),L.init(e,n),e._zod.processJSONSchema=(r,o,t)=>Bu(e,r),e.min=(...r)=>e.check(Le(...r)),e.nonempty=r=>e.check(Le(1,r)),e.max=(...r)=>e.check(ot(...r)),e.size=(...r)=>e.check(wt(...r))});function pd(e,n){return new Vi({type:"set",valueType:e,...b(n)})}const st=g("ZodEnum",(e,n)=>{Kl.init(e,n),L.init(e,n),e._zod.processJSONSchema=(o,t,i)=>Eu(e,o,t),e.enum=n.entries,e.options=Object.values(n.entries);const r=new Set(Object.keys(n.entries));e.extract=(o,t)=>{const i={};for(const a of o)if(r.has(a))i[a]=n.entries[a];else throw new Error(`Key ${a} not found in enum`);return new st({...n,checks:[],...b(t),entries:i})},e.exclude=(o,t)=>{const i={...n.entries};for(const a of o)if(r.has(a))delete i[a];else throw new Error(`Key ${a} not found in enum`);return new st({...n,checks:[],...b(t),entries:i})}});function Jn(e,n){const r=Array.isArray(e)?Object.fromEntries(e.map(o=>[o,o])):e;return new st({type:"enum",entries:r,...b(n)})}function gd(e,n){return new st({type:"enum",entries:e,...b(n)})}const Fi=g("ZodLiteral",(e,n)=>{Wl.init(e,n),L.init(e,n),e._zod.processJSONSchema=(r,o,t)=>Ou(e,r,o),e.values=new Set(n.values),Object.defineProperty(e,"value",{get(){if(n.values.length>1)throw new Error("This schema contains multiple valid literal values. Use `.values` instead.");return n.values[0]}})});function vd(e,n){return new Fi({type:"literal",values:Array.isArray(e)?e:[e],...b(n)})}const Li=g("ZodFile",(e,n)=>{Gl.init(e,n),L.init(e,n),e._zod.processJSONSchema=(r,o,t)=>Uu(e,r,o),e.min=(r,o)=>e.check(Le(r,o)),e.max=(r,o)=>e.check(ot(r,o)),e.mime=(r,o)=>e.check(vn(Array.isArray(r)?r:[r],o))});function hd(e){return cu(Li,e)}const Ri=g("ZodTransform",(e,n)=>{Hl.init(e,n),L.init(e,n),e._zod.processJSONSchema=(r,o,t)=>Au(e,r),e._zod.parse=(r,o)=>{if(o.direction==="backward")throw new Yt(e.constructor.name);r.addIssue=i=>{if(typeof i=="string")r.issues.push(tt(i,r.value,n));else{const a=i;a.fatal&&(a.continue=!1),a.code??(a.code="custom"),a.input??(a.input=r.value),a.inst??(a.inst=e),r.issues.push(tt(a))}};const t=n.transform(r.value,r);return t instanceof Promise?t.then(i=>(r.value=i,r)):(r.value=t,r)}});function qn(e){return new Ri({type:"transform",transform:e})}const Yn=g("ZodOptional",(e,n)=>{Mr.init(e,n),L.init(e,n),e._zod.processJSONSchema=(r,o,t)=>gi(e,r,o,t),e.unwrap=()=>e._zod.def.innerType});function Bt(e){return new Yn({type:"optional",innerType:e})}const Ji=g("ZodExactOptional",(e,n)=>{Ql.init(e,n),L.init(e,n),e._zod.processJSONSchema=(r,o,t)=>gi(e,r,o,t),e.unwrap=()=>e._zod.def.innerType});function qi(e){return new Ji({type:"optional",innerType:e})}const Yi=g("ZodNullable",(e,n)=>{ec.init(e,n),L.init(e,n),e._zod.processJSONSchema=(r,o,t)=>Ju(e,r,o,t),e.unwrap=()=>e._zod.def.innerType});function Mt(e){return new Yi({type:"nullable",innerType:e})}function $d(e){return Bt(Mt(e))}const Ki=g("ZodDefault",(e,n)=>{tc.init(e,n),L.init(e,n),e._zod.processJSONSchema=(r,o,t)=>Yu(e,r,o,t),e.unwrap=()=>e._zod.def.innerType,e.removeDefault=e.unwrap});function Wi(e,n){return new Ki({type:"default",innerType:e,get defaultValue(){return typeof n=="function"?n():Ht(n)}})}const Gi=g("ZodPrefault",(e,n)=>{rc.init(e,n),L.init(e,n),e._zod.processJSONSchema=(r,o,t)=>Ku(e,r,o,t),e.unwrap=()=>e._zod.def.innerType});function Hi(e,n){return new Gi({type:"prefault",innerType:e,get defaultValue(){return typeof n=="function"?n():Ht(n)}})}const Kn=g("ZodNonOptional",(e,n)=>{ic.init(e,n),L.init(e,n),e._zod.processJSONSchema=(r,o,t)=>qu(e,r,o,t),e.unwrap=()=>e._zod.def.innerType});function Xi(e,n){return new Kn({type:"nonoptional",innerType:e,...b(n)})}const Qi=g("ZodSuccess",(e,n)=>{ac.init(e,n),L.init(e,n),e._zod.processJSONSchema=(r,o,t)=>Tu(e,r,o),e.unwrap=()=>e._zod.def.innerType});function bd(e){return new Qi({type:"success",innerType:e})}const eo=g("ZodCatch",(e,n)=>{lc.init(e,n),L.init(e,n),e._zod.processJSONSchema=(r,o,t)=>Wu(e,r,o,t),e.unwrap=()=>e._zod.def.innerType,e.removeCatch=e.unwrap});function to(e,n){return new eo({type:"catch",innerType:e,catchValue:typeof n=="function"?n:()=>n})}const no=g("ZodNaN",(e,n)=>{cc.init(e,n),L.init(e,n),e._zod.processJSONSchema=(r,o,t)=>Nu(e,r)});function _d(e){return au(no,e)}const Wn=g("ZodPipe",(e,n)=>{uc.init(e,n),L.init(e,n),e._zod.processJSONSchema=(r,o,t)=>Gu(e,r,o,t),e.in=n.in,e.out=n.out});function Vt(e,n){return new Wn({type:"pipe",in:e,out:n})}const Gn=g("ZodCodec",(e,n)=>{Wn.init(e,n),Vr.init(e,n)});function yd(e,n,r){return new Gn({type:"pipe",in:e,out:n,transform:r.decode,reverseTransform:r.encode})}const ro=g("ZodReadonly",(e,n)=>{sc.init(e,n),L.init(e,n),e._zod.processJSONSchema=(r,o,t)=>Hu(e,r,o,t),e.unwrap=()=>e._zod.def.innerType});function io(e){return new ro({type:"readonly",innerType:e})}const oo=g("ZodTemplateLiteral",(e,n)=>{mc.init(e,n),L.init(e,n),e._zod.processJSONSchema=(r,o,t)=>ju(e,r,o)});function kd(e,n){return new oo({type:"template_literal",parts:e,...b(n)})}const ao=g("ZodLazy",(e,n)=>{gc.init(e,n),L.init(e,n),e._zod.processJSONSchema=(r,o,t)=>Qu(e,r,o,t),e.unwrap=()=>e._zod.def.getter()});function lo(e){return new ao({type:"lazy",getter:e})}const co=g("ZodPromise",(e,n)=>{pc.init(e,n),L.init(e,n),e._zod.processJSONSchema=(r,o,t)=>Xu(e,r,o,t),e.unwrap=()=>e._zod.def.innerType});function Sd(e){return new co({type:"promise",innerType:e})}const uo=g("ZodFunction",(e,n)=>{fc.init(e,n),L.init(e,n),e._zod.processJSONSchema=(r,o,t)=>Cu(e,r)});function Hn(e){return new uo({type:"function",input:Array.isArray(e==null?void 0:e.input)?Zi(e==null?void 0:e.input):(e==null?void 0:e.input)??Pt(Qe()),output:(e==null?void 0:e.output)??Qe()})}const Ft=g("ZodCustom",(e,n)=>{vc.init(e,n),L.init(e,n),e._zod.processJSONSchema=(r,o,t)=>Pu(e,r)});function wd(e){const n=new re({check:"custom"});return n._zod.check=e,n}function Id(e,n){return uu(Ft,e??(()=>!0),n)}function so(e,n={}){return su(Ft,e,n)}function mo(e){return du(e)}const zd=fu,xd=pu;function Dd(e,n={}){const r=new Ft({type:"custom",check:"custom",fn:o=>o instanceof e,abort:!0,...b(n)});return r._zod.bag.Class=e,r._zod.check=o=>{o.value instanceof e||o.issues.push({code:"invalid_type",expected:e.name,input:o.value,inst:r,path:[...r._zod.def.path??[]]})},r}const Ed=(...e)=>gu({Codec:Gn,Boolean:Ut,String:Et},...e);function Od(e){const n=lo(()=>Rn([Sn(e),ki(),Si(),xi(),Pt(n),Bi(Sn(),n)]));return n}function Nd(e,n){return Vt(qn(e),n)}const _g=Object.freeze(Object.defineProperty({__proto__:null,ZodAny:Di,ZodArray:ji,ZodBase64:Cn,ZodBase64URL:An,ZodBigInt:Tt,ZodBigIntFormat:Vn,ZodBoolean:Ut,ZodCIDRv4:Tn,ZodCIDRv6:Pn,ZodCUID:xn,ZodCUID2:Dn,ZodCatch:eo,ZodCodec:Gn,ZodCustom:Ft,ZodCustomStringFormat:ut,ZodDate:Ln,ZodDefault:Ki,ZodDiscriminatedUnion:Ti,ZodE164:Zn,ZodEmail:wn,ZodEmoji:In,ZodEnum:st,ZodExactOptional:Ji,ZodFile:Li,ZodFunction:uo,ZodGUID:Ot,ZodIPv4:jn,ZodIPv6:Un,ZodIntersection:Pi,ZodJWT:Bn,ZodKSUID:Nn,ZodLazy:ao,ZodLiteral:Fi,ZodMAC:yi,ZodMap:Mi,ZodNaN:no,ZodNanoID:zn,ZodNever:Oi,ZodNonOptional:Kn,ZodNull:zi,ZodNullable:Yi,ZodNumber:jt,ZodNumberFormat:Xe,ZodObject:Ct,ZodOptional:Yn,ZodPipe:Wn,ZodPrefault:Gi,ZodPromise:co,ZodReadonly:ro,ZodRecord:Zt,ZodSet:Vi,ZodString:Et,ZodStringFormat:ee,ZodSuccess:Qi,ZodSymbol:wi,ZodTemplateLiteral:oo,ZodTransform:Ri,ZodTuple:Ai,ZodType:L,ZodULID:En,ZodURL:Nt,ZodUUID:Ne,ZodUndefined:Ii,ZodUnion:At,ZodUnknown:Ei,ZodVoid:Ni,ZodXID:On,ZodXor:Ui,_ZodString:kn,_default:Wi,_function:Hn,any:nd,array:Pt,base64:Bs,base64url:Ms,bigint:Hs,boolean:Si,catch:to,check:wd,cidrv4:As,cidrv6:Zs,codec:yd,cuid:Es,cuid2:Os,custom:Id,date:id,describe:zd,discriminatedUnion:sd,e164:Vs,email:bs,emoji:xs,enum:Jn,exactOptional:qi,file:hd,float32:Ys,float64:Ks,function:Hn,guid:_s,hash:qs,hex:Js,hostname:Rs,httpUrl:zs,instanceof:Dd,int:Mn,int32:Ws,int64:Xs,intersection:Ci,ipv4:Ts,ipv6:Cs,json:Od,jwt:Fs,keyof:od,ksuid:Us,lazy:lo,literal:vd,looseObject:cd,looseRecord:md,mac:Ps,map:fd,meta:xd,nan:_d,nanoid:Ds,nativeEnum:gd,never:Fn,nonoptional:Xi,null:xi,nullable:Mt,nullish:$d,number:ki,object:ad,optional:Bt,partialRecord:dd,pipe:Vt,prefault:Hi,preprocess:Nd,promise:Sd,readonly:io,record:Bi,refine:so,set:pd,strictObject:ld,string:Sn,stringFormat:Ls,stringbool:Ed,success:bd,superRefine:mo,symbol:ed,templateLiteral:kd,transform:qn,tuple:Zi,uint32:Gs,uint64:Qs,ulid:Ns,undefined:td,union:Rn,unknown:Qe,url:Is,uuid:ys,uuidv4:ks,uuidv6:Ss,uuidv7:ws,void:rd,xid:js,xor:ud},Symbol.toStringTag,{value:"Module"})),yg={invalid_type:"invalid_type",too_big:"too_big",too_small:"too_small",invalid_format:"invalid_format",not_multiple_of:"not_multiple_of",unrecognized_keys:"unrecognized_keys",invalid_union:"invalid_union",invalid_key:"invalid_key",invalid_element:"invalid_element",invalid_value:"invalid_value",custom:"custom"};function kg(e){me({customError:e})}function Sg(){return me().customError}var fo;fo||(fo={});const z={..._g,...$g,iso:os},wg=new Set(["$schema","$ref","$defs","definitions","$id","id","$comment","$anchor","$vocabulary","$dynamicRef","$dynamicAnchor","type","enum","const","anyOf","oneOf","allOf","not","properties","required","additionalProperties","patternProperties","propertyNames","minProperties","maxProperties","items","prefixItems","additionalItems","minItems","maxItems","uniqueItems","contains","minContains","maxContains","minLength","maxLength","pattern","format","minimum","maximum","exclusiveMinimum","exclusiveMaximum","multipleOf","description","default","contentEncoding","contentMediaType","contentSchema","unevaluatedItems","unevaluatedProperties","if","then","else","dependentSchemas","dependentRequired","nullable","readOnly"]);function Ig(e,n){const r=e.$schema;return r==="https://json-schema.org/draft/2020-12/schema"?"draft-2020-12":r==="http://json-schema.org/draft-07/schema#"?"draft-7":r==="http://json-schema.org/draft-04/schema#"?"draft-4":n??"draft-2020-12"}function zg(e,n){if(!e.startsWith("#"))throw new Error("External $ref is not supported, only local refs (#/...) are allowed");const r=e.slice(1).split("/").filter(Boolean);if(r.length===0)return n.rootSchema;const o=n.version==="draft-2020-12"?"$defs":"definitions";if(r[0]===o){const t=r[1];if(!t||!n.defs[t])throw new Error(`Reference not found: ${e}`);return n.defs[t]}throw new Error(`Reference not found: ${e}`)}function jd(e,n){if(e.not!==void 0){if(typeof e.not=="object"&&Object.keys(e.not).length===0)return z.never();throw new Error("not is not supported in Zod (except { not: {} } for never)")}if(e.unevaluatedItems!==void 0)throw new Error("unevaluatedItems is not supported");if(e.unevaluatedProperties!==void 0)throw new Error("unevaluatedProperties is not supported");if(e.if!==void 0||e.then!==void 0||e.else!==void 0)throw new Error("Conditional schemas (if/then/else) are not supported");if(e.dependentSchemas!==void 0||e.dependentRequired!==void 0)throw new Error("dependentSchemas and dependentRequired are not supported");if(e.$ref){const t=e.$ref;if(n.refs.has(t))return n.refs.get(t);if(n.processing.has(t))return z.lazy(()=>{if(!n.refs.has(t))throw new Error(`Circular reference not resolved: ${t}`);return n.refs.get(t)});n.processing.add(t);const i=zg(t,n),a=fe(i,n);return n.refs.set(t,a),n.processing.delete(t),a}if(e.enum!==void 0){const t=e.enum;if(n.version==="openapi-3.0"&&e.nullable===!0&&t.length===1&&t[0]===null)return z.null();if(t.length===0)return z.never();if(t.length===1)return z.literal(t[0]);if(t.every(a=>typeof a=="string"))return z.enum(t);const i=t.map(a=>z.literal(a));return i.length<2?i[0]:z.union([i[0],i[1],...i.slice(2)])}if(e.const!==void 0)return z.literal(e.const);const r=e.type;if(Array.isArray(r)){const t=r.map(i=>{const a={...e,type:i};return jd(a,n)});return t.length===0?z.never():t.length===1?t[0]:z.union(t)}if(!r)return z.any();let o;switch(r){case"string":{let t=z.string();if(e.format){const i=e.format;i==="email"?t=t.check(z.email()):i==="uri"||i==="uri-reference"?t=t.check(z.url()):i==="uuid"||i==="guid"?t=t.check(z.uuid()):i==="date-time"?t=t.check(z.iso.datetime()):i==="date"?t=t.check(z.iso.date()):i==="time"?t=t.check(z.iso.time()):i==="duration"?t=t.check(z.iso.duration()):i==="ipv4"?t=t.check(z.ipv4()):i==="ipv6"?t=t.check(z.ipv6()):i==="mac"?t=t.check(z.mac()):i==="cidr"?t=t.check(z.cidrv4()):i==="cidr-v6"?t=t.check(z.cidrv6()):i==="base64"?t=t.check(z.base64()):i==="base64url"?t=t.check(z.base64url()):i==="e164"?t=t.check(z.e164()):i==="jwt"?t=t.check(z.jwt()):i==="emoji"?t=t.check(z.emoji()):i==="nanoid"?t=t.check(z.nanoid()):i==="cuid"?t=t.check(z.cuid()):i==="cuid2"?t=t.check(z.cuid2()):i==="ulid"?t=t.check(z.ulid()):i==="xid"?t=t.check(z.xid()):i==="ksuid"&&(t=t.check(z.ksuid()))}typeof e.minLength=="number"&&(t=t.min(e.minLength)),typeof e.maxLength=="number"&&(t=t.max(e.maxLength)),e.pattern&&(t=t.regex(new RegExp(e.pattern))),o=t;break}case"number":case"integer":{let t=r==="integer"?z.number().int():z.number();typeof e.minimum=="number"&&(t=t.min(e.minimum)),typeof e.maximum=="number"&&(t=t.max(e.maximum)),typeof e.exclusiveMinimum=="number"?t=t.gt(e.exclusiveMinimum):e.exclusiveMinimum===!0&&typeof e.minimum=="number"&&(t=t.gt(e.minimum)),typeof e.exclusiveMaximum=="number"?t=t.lt(e.exclusiveMaximum):e.exclusiveMaximum===!0&&typeof e.maximum=="number"&&(t=t.lt(e.maximum)),typeof e.multipleOf=="number"&&(t=t.multipleOf(e.multipleOf)),o=t;break}case"boolean":{o=z.boolean();break}case"null":{o=z.null();break}case"object":{const t={},i=e.properties||{},a=new Set(e.required||[]);for(const[s,u]of Object.entries(i)){const d=fe(u,n);t[s]=a.has(s)?d:d.optional()}if(e.propertyNames){const s=fe(e.propertyNames,n),u=e.additionalProperties&&typeof e.additionalProperties=="object"?fe(e.additionalProperties,n):z.any();if(Object.keys(t).length===0){o=z.record(s,u);break}const d=z.object(t).passthrough(),m=z.looseRecord(s,u);o=z.intersection(d,m);break}if(e.patternProperties){const s=e.patternProperties,u=Object.keys(s),d=[];for(const p of u){const v=fe(s[p],n),h=z.string().regex(new RegExp(p));d.push(z.looseRecord(h,v))}const m=[];if(Object.keys(t).length>0&&m.push(z.object(t).passthrough()),m.push(...d),m.length===0)o=z.object({}).passthrough();else if(m.length===1)o=m[0];else{let p=z.intersection(m[0],m[1]);for(let v=2;vfe(s,n)),l=i&&typeof i=="object"&&!Array.isArray(i)?fe(i,n):void 0;l?o=z.tuple(a).rest(l):o=z.tuple(a),typeof e.minItems=="number"&&(o=o.check(z.minLength(e.minItems))),typeof e.maxItems=="number"&&(o=o.check(z.maxLength(e.maxItems)))}else if(Array.isArray(i)){const a=i.map(s=>fe(s,n)),l=e.additionalItems&&typeof e.additionalItems=="object"?fe(e.additionalItems,n):void 0;l?o=z.tuple(a).rest(l):o=z.tuple(a),typeof e.minItems=="number"&&(o=o.check(z.minLength(e.minItems))),typeof e.maxItems=="number"&&(o=o.check(z.maxLength(e.maxItems)))}else if(i!==void 0){const a=fe(i,n);let l=z.array(a);typeof e.minItems=="number"&&(l=l.min(e.minItems)),typeof e.maxItems=="number"&&(l=l.max(e.maxItems)),o=l}else o=z.array(z.any());break}default:throw new Error(`Unsupported type: ${r}`)}return e.description&&(o=o.describe(e.description)),e.default!==void 0&&(o=o.default(e.default)),o}function fe(e,n){if(typeof e=="boolean")return e?z.any():z.never();let r=jd(e,n);const o=e.type||e.enum!==void 0||e.const!==void 0;if(e.anyOf&&Array.isArray(e.anyOf)){const l=e.anyOf.map(u=>fe(u,n)),s=z.union(l);r=o?z.intersection(r,s):s}if(e.oneOf&&Array.isArray(e.oneOf)){const l=e.oneOf.map(u=>fe(u,n)),s=z.xor(l);r=o?z.intersection(r,s):s}if(e.allOf&&Array.isArray(e.allOf))if(e.allOf.length===0)r=o?r:z.any();else{let l=o?r:fe(e.allOf[0],n);const s=o?0:1;for(let u=s;u0&&n.registry.add(r,t),r}function xg(e,n){if(typeof e=="boolean")return e?z.any():z.never();const r=Ig(e,n==null?void 0:n.defaultTarget),o=e.$defs||e.definitions||{},t={version:r,defs:o,refs:new Map,processing:new Set,rootSchema:e,registry:(n==null?void 0:n.registry)??Ie};return fe(e,t)}function Dg(e){return Nc(Et,e)}function Eg(e){return Bc(jt,e)}function Og(e){return qc(Ut,e)}function Ng(e){return Kc(Tt,e)}function jg(e){return ou(Ln,e)}const Ug=Object.freeze(Object.defineProperty({__proto__:null,bigint:Ng,boolean:Og,date:jg,number:Eg,string:Dg},Symbol.toStringTag,{value:"Module"}));me(bc());const Lt=Object.freeze(Object.defineProperty({__proto__:null,$brand:yo,$input:Dc,$output:xc,NEVER:_o,TimePrecision:Uc,ZodAny:Di,ZodArray:ji,ZodBase64:Cn,ZodBase64URL:An,ZodBigInt:Tt,ZodBigIntFormat:Vn,ZodBoolean:Ut,ZodCIDRv4:Tn,ZodCIDRv6:Pn,ZodCUID:xn,ZodCUID2:Dn,ZodCatch:eo,ZodCodec:Gn,ZodCustom:Ft,ZodCustomStringFormat:ut,ZodDate:Ln,ZodDefault:Ki,ZodDiscriminatedUnion:Ti,ZodE164:Zn,ZodEmail:wn,ZodEmoji:In,ZodEnum:st,ZodError:bg,ZodExactOptional:Ji,ZodFile:Li,get ZodFirstPartyTypeKind(){return fo},ZodFunction:uo,ZodGUID:Ot,ZodIPv4:jn,ZodIPv6:Un,ZodISODate:$i,ZodISODateTime:hi,ZodISODuration:_i,ZodISOTime:bi,ZodIntersection:Pi,ZodIssueCode:yg,ZodJWT:Bn,ZodKSUID:Nn,ZodLazy:ao,ZodLiteral:Fi,ZodMAC:yi,ZodMap:Mi,ZodNaN:no,ZodNanoID:zn,ZodNever:Oi,ZodNonOptional:Kn,ZodNull:zi,ZodNullable:Yi,ZodNumber:jt,ZodNumberFormat:Xe,ZodObject:Ct,ZodOptional:Yn,ZodPipe:Wn,ZodPrefault:Gi,ZodPromise:co,ZodReadonly:ro,ZodRealError:ye,ZodRecord:Zt,ZodSet:Vi,ZodString:Et,ZodStringFormat:ee,ZodSuccess:Qi,ZodSymbol:wi,ZodTemplateLiteral:oo,ZodTransform:Ri,ZodTuple:Ai,ZodType:L,ZodULID:En,ZodURL:Nt,ZodUUID:Ne,ZodUndefined:Ii,ZodUnion:At,ZodUnknown:Ei,ZodVoid:Ni,ZodXID:On,ZodXor:Ui,_ZodString:kn,_default:Wi,_function:Hn,any:nd,array:Pt,base64:Bs,base64url:Ms,bigint:Hs,boolean:Si,catch:to,check:wd,cidrv4:As,cidrv6:Zs,clone:Se,codec:yd,coerce:Ug,config:me,core:hg,cuid:Es,cuid2:Os,custom:Id,date:id,decode:ms,decodeAsync:ps,describe:zd,discriminatedUnion:sd,e164:Vs,email:bs,emoji:xs,encode:ds,encodeAsync:fs,endsWith:gn,enum:Jn,exactOptional:qi,file:hd,flattenError:hr,float32:Ys,float64:Ks,formatError:$r,fromJSONSchema:xg,function:Hn,getErrorMap:Sg,globalRegistry:Ie,gt:Fe,gte:$e,guid:_s,hash:qs,hex:Js,hostname:Rs,httpUrl:zs,includes:fn,instanceof:Dd,int:Mn,int32:Ws,int64:Xs,intersection:Ci,ipv4:Ts,ipv6:Cs,iso:os,json:Od,jwt:Fs,keyof:od,ksuid:Us,lazy:lo,length:zt,literal:vd,locales:Ic,looseObject:cd,looseRecord:md,lowercase:dn,lt:Ve,lte:ze,mac:Ps,map:fd,maxLength:It,maxSize:ot,meta:xd,mime:vn,minLength:He,minSize:Le,multipleOf:it,nan:_d,nanoid:Ds,nativeEnum:gd,negative:si,never:Fn,nonnegative:mi,nonoptional:Xi,nonpositive:di,normalize:hn,null:xi,nullable:Mt,nullish:$d,number:ki,object:ad,optional:Bt,overwrite:Pe,parse:ls,parseAsync:cs,partialRecord:dd,pipe:Vt,positive:ui,prefault:Hi,preprocess:Nd,prettifyError:Lo,promise:Sd,property:fi,readonly:io,record:Bi,refine:so,regex:sn,regexes:Nr,registry:Fr,safeDecode:vs,safeDecodeAsync:$s,safeEncode:gs,safeEncodeAsync:hs,safeParse:us,safeParseAsync:ss,set:pd,setErrorMap:kg,size:wt,slugify:yn,startsWith:pn,strictObject:ld,string:Sn,stringFormat:Ls,stringbool:Ed,success:bd,superRefine:mo,symbol:ed,templateLiteral:kd,toJSONSchema:es,toLowerCase:bn,toUpperCase:_n,transform:qn,treeifyError:Vo,trim:$n,tuple:Zi,uint32:Gs,uint64:Qs,ulid:Ns,undefined:td,union:Rn,unknown:Qe,uppercase:mn,url:Is,util:Bo,uuid:ys,uuidv4:ks,uuidv6:Ss,uuidv7:ws,void:rd,xid:js,xor:ud},Symbol.toStringTag,{value:"Module"}));function Ce(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Xn={exports:{}},Tg=Xn.exports,Ud;function Td(){return Ud||(Ud=1,(function(e,n){(function(r,o){e.exports=o()})(Tg,(function(){var r=1e3,o=6e4,t=36e5,i="millisecond",a="second",l="minute",s="hour",u="day",d="week",m="month",p="quarter",v="year",h="date",f="Invalid Date",$=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,_=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,k={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(O){var D=["th","st","nd","rd"],I=O%100;return"["+O+(D[(I-20)%10]||D[I]||D[0])+"]"}},P=function(O,D,I){var j=String(O);return!j||j.length>=D?O:""+Array(D+1-j.length).join(I)+O},M={s:P,z:function(O){var D=-O.utcOffset(),I=Math.abs(D),j=Math.floor(I/60),x=I%60;return(D<=0?"+":"-")+P(j,2,"0")+":"+P(x,2,"0")},m:function O(D,I){if(D.date()1)return O(F[0])}else{var W=D.name;E[W]=D,x=W}return!j&&x&&(U=x),x||!j&&U},Z=function(O,D){if(y(O))return O.clone();var I=typeof D=="object"?D:{};return I.date=O,I.args=arguments,new ne(I)},T=M;T.l=J,T.i=y,T.w=function(O,D){return Z(O,{locale:D.$L,utc:D.$u,x:D.$x,$offset:D.$offset})};var ne=(function(){function O(I){this.$L=J(I.locale,null,!0),this.parse(I),this.$x=this.$x||I.x||{},this[w]=!0}var D=O.prototype;return D.parse=function(I){this.$d=(function(j){var x=j.date,V=j.utc;if(x===null)return new Date(NaN);if(T.u(x))return new Date;if(x instanceof Date)return new Date(x);if(typeof x=="string"&&!/Z$/i.test(x)){var F=x.match($);if(F){var W=F[2]-1||0,oe=(F[7]||"0").substring(0,3);return V?new Date(Date.UTC(F[1],W,F[3]||1,F[4]||0,F[5]||0,F[6]||0,oe)):new Date(F[1],W,F[3]||1,F[4]||0,F[5]||0,F[6]||0,oe)}}return new Date(x)})(I),this.init()},D.init=function(){var I=this.$d;this.$y=I.getFullYear(),this.$M=I.getMonth(),this.$D=I.getDate(),this.$W=I.getDay(),this.$H=I.getHours(),this.$m=I.getMinutes(),this.$s=I.getSeconds(),this.$ms=I.getMilliseconds()},D.$utils=function(){return T},D.isValid=function(){return this.$d.toString()!==f},D.isSame=function(I,j){var x=Z(I);return this.startOf(j)<=x&&x<=this.endOf(j)},D.isAfter=function(I,j){return Z(I)0&&(l=l[0]),s=(l=l.filter((function(d){return d})))[0];for(var u=1;u0,E<=U.r||!U.r){E<=1&&M>0&&(U=k[M-1]);var w=_[U.l];v&&(E=v(""+E)),f=typeof w=="string"?w.replace("%d",E):w(E,d,U.l,$);break}}if(d)return f;var y=$?_.future:_.past;return typeof y=="function"?y(f):y.replace("%s",f)},i.to=function(u,d){return l(u,d,this,!0)},i.from=function(u,d){return l(u,d,this)};var s=function(u){return u.$u?t.utc():t()};i.toNow=function(u){return this.to(s(this),u)},i.fromNow=function(u){return this.from(s(this),u)}}}))})(rr)),rr.exports}var ev=Qg();const tv=Ce(ev);var ir={exports:{}},nv=ir.exports,Md;function rv(){return Md||(Md=1,(function(e,n){(function(r,o){e.exports=o()})(nv,(function(){var r={year:0,month:1,day:2,hour:3,minute:4,second:5},o={};return function(t,i,a){var l,s=function(p,v,h){h===void 0&&(h={});var f=new Date(p),$=(function(_,k){k===void 0&&(k={});var P=k.timeZoneName||"short",M=_+"|"+P,U=o[M];return U||(U=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:_,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:P}),o[M]=U),U})(v,h);return $.formatToParts(f)},u=function(p,v){for(var h=s(p,v),f=[],$=0;$=0&&(f[M]=parseInt(P,10))}var U=f[3],E=U===24?0:U,w=f[0]+"-"+f[1]+"-"+f[2]+" "+E+":"+f[4]+":"+f[5]+":000",y=+p;return(a.utc(w).valueOf()-(y-=y%1e3))/6e4},d=i.prototype;d.tz=function(p,v){p===void 0&&(p=l);var h,f=this.utcOffset(),$=this.toDate(),_=$.toLocaleString("en-US",{timeZone:p}),k=Math.round(($-new Date(_))/1e3/60),P=15*-Math.round($.getTimezoneOffset()/15)-k;if(!Number(P))h=this.utcOffset(0,v);else if(h=a(_,{locale:this.$L}).$set("millisecond",this.$ms).utcOffset(P,!0),v){var M=h.utcOffset();h=h.add(f-M,"minute")}return h.$x.$timezone=p,h},d.offsetName=function(p){var v=this.$x.$timezone||a.tz.guess(),h=s(this.valueOf(),v,{timeZoneName:p}).find((function(f){return f.type.toLowerCase()==="timezonename"}));return h&&h.value};var m=d.startOf;d.startOf=function(p,v){if(!this.$x||!this.$x.$timezone)return m.call(this,p,v);var h=a(this.format("YYYY-MM-DD HH:mm:ss:SSS"),{locale:this.$L});return m.call(h,p,v).tz(this.$x.$timezone,!0)},a.tz=function(p,v,h){var f=h&&v,$=h||v||l,_=u(+a(),$);if(typeof p!="string")return a(p).tz($);var k=(function(E,w,y){var J=E-60*w*1e3,Z=u(J,y);if(w===Z)return[J,w];var T=u(J-=60*(Z-w)*1e3,y);return Z===T?[J,Z]:[E-60*Math.min(Z,T)*1e3,Math.max(Z,T)]})(a.utc(p,f).valueOf(),_,$),P=k[0],M=k[1],U=a(P).utcOffset(M);return U.$x.$timezone=$,U},a.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},a.tz.setDefault=function(p){l=p}}}))})(ir)),ir.exports}var iv=rv();const ov=Ce(iv);var or={exports:{}},av=or.exports,Vd;function lv(){return Vd||(Vd=1,(function(e,n){(function(r,o){e.exports=o()})(av,(function(){var r="minute",o=/[+-]\d\d(?::?\d\d)?/g,t=/([+-]|\d\d)/g;return function(i,a,l){var s=a.prototype;l.utc=function(f){var $={date:f,utc:!0,args:arguments};return new a($)},s.utc=function(f){var $=l(this.toDate(),{locale:this.$L,utc:!0});return f?$.add(this.utcOffset(),r):$},s.local=function(){return l(this.toDate(),{locale:this.$L,utc:!1})};var u=s.parse;s.parse=function(f){f.utc&&(this.$u=!0),this.$utils().u(f.$offset)||(this.$offset=f.$offset),u.call(this,f)};var d=s.init;s.init=function(){if(this.$u){var f=this.$d;this.$y=f.getUTCFullYear(),this.$M=f.getUTCMonth(),this.$D=f.getUTCDate(),this.$W=f.getUTCDay(),this.$H=f.getUTCHours(),this.$m=f.getUTCMinutes(),this.$s=f.getUTCSeconds(),this.$ms=f.getUTCMilliseconds()}else d.call(this)};var m=s.utcOffset;s.utcOffset=function(f,$){var _=this.$utils().u;if(_(f))return this.$u?0:_(this.$offset)?m.call(this):this.$offset;if(typeof f=="string"&&(f=(function(U){U===void 0&&(U="");var E=U.match(o);if(!E)return null;var w=(""+E[0]).match(t)||["-",0,0],y=w[0],J=60*+w[1]+ +w[2];return J===0?0:y==="+"?J:-J})(f),f===null))return this;var k=Math.abs(f)<=16?60*f:f;if(k===0)return this.utc($);var P=this.clone();if($)return P.$offset=k,P.$u=!1,P;var M=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();return(P=this.local().add(k+M,r)).$offset=k,P.$x.$localOffset=M,P};var p=s.format;s.format=function(f){var $=f||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return p.call(this,$)},s.valueOf=function(){var f=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*f},s.isUTC=function(){return!!this.$u},s.toISOString=function(){return this.toDate().toISOString()},s.toString=function(){return this.toDate().toUTCString()};var v=s.toDate;s.toDate=function(f){return f==="s"&&this.$offset?l(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():v.call(this)};var h=s.diff;s.diff=function(f,$,_){if(f&&this.$u===f.$u)return h.call(this,f,$,_);var k=this.local(),P=l(f).local();return h.call(k,P,$,_)}}}))})(or)),or.exports}var cv=lv();const uv=Ce(cv);var ar={exports:{}},sv=ar.exports,Fd;function dv(){return Fd||(Fd=1,(function(e,n){(function(r,o){e.exports=o()})(sv,(function(){var r="week",o="year";return function(t,i,a){var l=i.prototype;l.week=function(s){if(s===void 0&&(s=null),s!==null)return this.add(7*(s-this.week()),"day");var u=this.$locale().yearStart||1;if(this.month()===11&&this.date()>25){var d=a(this).startOf(o).add(1,o).date(u),m=a(this).endOf(r);if(d.isBefore(m))return 1}var p=a(this).startOf(o).date(u).startOf(r).subtract(1,"millisecond"),v=this.diff(p,r,!0);return v<0?a(this).startOf("week").week():Math.ceil(v)},l.weeks=function(s){return s===void 0&&(s=null),this.week(s)}}}))})(ar)),ar.exports}var mv=dv();const fv=Ce(mv);var lr={exports:{}},pv=lr.exports,Ld;function gv(){return Ld||(Ld=1,(function(e,n){(function(r,o){e.exports=o(Td())})(pv,(function(r){function o(a){return a&&typeof a=="object"&&"default"in a?a:{default:a}}var t=o(r),i={name:"pt-br",weekdays:"domingo_segunda-feira_terça-feira_quarta-feira_quinta-feira_sexta-feira_sábado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_sáb".split("_"),weekdaysMin:"Do_2ª_3ª_4ª_5ª_6ª_Sá".split("_"),months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),ordinal:function(a){return a+"º"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [às] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [às] HH:mm"},relativeTime:{future:"em %s",past:"há %s",s:"poucos segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"}};return t.default.locale(i,null,!0),i}))})(lr)),lr.exports}gv();var vv={};globalThis.cacheMemoria_cache=vv;var hv=(e=>(e.codigo="codigo",e.excluido="excluido",e.data_hora_criacao="data_hora_criacao",e.data_hora_atualizacao="data_hora_atualizacao",e.codigo_usuario_criacao="codigo_usuario_criacao",e.codigo_usuario_atualizacao="codigo_usuario_atualizacao",e.versao="versao",e))(hv||{}),$v=(e=>(e.token="token",e))($v||{}),bv=(e=>(e.Usuario="usuario",e.Fornecedor="fornecedor",e))(bv||{}),_v=(e=>(e["="]="=",e["!="]="!=",e[">"]=">",e[">="]=">=",e["<"]="<",e["<="]="<=",e.like="like",e.in="in",e.isNull="isNull",e))(_v||{}),yv=Lt.enum(["=","!=",">",">=","<","<=","like","in","isNull"]);Lt.object({coluna:Lt.string(),valor:Lt.any(),operador:yv,ou:Lt.boolean().optional()}),pe.locale("pt-br"),pe.extend(uv),pe.extend(ov),pe.extend(fv),pe.extend(Yg),pe.extend(Lg),pe.extend(Hg),pe.extend(tv),pe.extend(Bg);var kv=(e=>(e["e-licencie"]="e-licencie",e["gov.e-licencie"]="gov.e-licencie",e))(kv||{}),Sv=(e=>(e.modelo="000_modelo",e.vencida="100_vencida",e.expirado="200_expirado",e.alerta="300_alerta",e.protocoladafora="350_protocoladafora",e.protocolada="400_protocolada",e.protocoladaApenas="430_protocolada",e.protocolada_alteracao="450_protocolada",e.prazo="500_prazo",e.emitida="515_emitida",e.valida="518_valida",e.novo="520_novo",e.recebido="521_recebido",e.em_andamento="530_em_andamento",e.aguardando="530_aguardando",e.aguardandoresposta="540_aguardandoresposta",e.suspensaotemporaria="540_suspensaotemporaria",e.cancelada="550_cancelada",e.execucao="560_execucao",e.pendente="570_pendente",e.executadafora="600_executadafora",e.executada="700_executada",e.naoexecutada="701_naoexecutada",e.concluida="730_concluida",e.respondido_negado="740_respondido_negado",e.respondido_aceito="741_respondido_aceito",e.atendidoparcial="742_atendidoparcial",e.naoatendido="743_naoatendido",e.atendido="744_atendido",e.renovada="760_renovada",e.finalizada="800_finalizada",e.emitirnota="101_emitirnota",e.faturaatrasada="301_faturaatrasada",e.pagarfatura="302_pagarfatura",e.aguardandoconfirmacao="531_aguardandoconfirmacao",e.agendado="701_agendado",e.faturapaga="801_faturapaga",e.excluida="999_excluida",e.requerida="401_requerida",e.vigente="516_vigente",e.emrenovacao="402_emrenovacao",e.arquivada="801_arquivada",e.aguardando_sincronizacao="999_aguardando_sincronizacao",e.nao_conforme="710_nao_conforme",e.conforme="720_conforme",e.nao_aplicavel="730_nao_aplicavel",e.parcial="715_parcial",e))(Sv||{}),wv=(e=>(e.UN="UN",e.KG="KG",e.TON="TON",e.g="g",e["M³"]="M³",e.Lt="Lt",e))(wv||{});const Iv=c.defineComponent({name:"EliEntradaDataHora",inheritAttrs:!1,props:{value:{type:String,default:void 0},opcoes:{type:Object,required:!1,default:void 0},modelValue:{type:String,default:null},modo:{type:String,default:void 0},rotulo:{type:String,default:void 0},placeholder:{type:String,default:void 0},desabilitado:{type:Boolean,default:void 0},limpavel:{type:Boolean,default:void 0},erro:{type:Boolean,default:void 0},mensagensErro:{type:[String,Array],default:void 0},dica:{type:String,default:void 0},dicaPersistente:{type:Boolean,default:void 0},densidade:{type:String,default:void 0},variante:{type:String,default:void 0},min:{type:String,default:void 0},max:{type:String,default:void 0}},emits:{"update:value":e=>!0,input:e=>!0,change:e=>!0,"update:modelValue":e=>!0,alterar:e=>!0,foco:()=>!0,desfoco:()=>!0,focus:()=>!0,blur:()=>!0},setup(e,{emit:n,attrs:r}){const o=c.computed(()=>e.opcoes?e.opcoes:{rotulo:e.rotulo??"Data e hora",placeholder:e.placeholder??"",modo:e.modo??"dataHora",limpavel:e.limpavel,erro:e.erro,mensagensErro:e.mensagensErro,dica:e.dica,dicaPersistente:e.dicaPersistente,densidade:e.densidade,variante:e.variante,min:e.min,max:e.max}),t=c.computed(()=>o.value.modo??"dataHora"),i=c.computed(()=>!!e.desabilitado),a=c.computed(()=>t.value==="data"?"date":"datetime-local");function l(f){return t.value==="data"?pe(f).format("YYYY-MM-DD"):pe(f).format("YYYY-MM-DDTHH:mm")}function s(f){return t.value==="data"?pe(`${f}T00:00`).format():pe(f).format()}const u=c.computed(()=>e.value!==void 0?e.value??null:e.modelValue),d=c.computed({get:()=>u.value?l(u.value):"",set:f=>{const $=f&&f.length>0?f:null;if(!$){n("update:value",null),n("input",null),n("change",null),n("update:modelValue",null),n("alterar",null);return}const _=s($);n("update:value",_),n("input",_),n("change",_),n("update:modelValue",_),n("alterar",_)}}),m=c.computed(()=>{const f=o.value.min;if(f)return l(f)}),p=c.computed(()=>{const f=o.value.max;if(f)return l(f)});function v(){n("foco"),n("focus")}function h(){n("desfoco"),n("blur")}return{attrs:r,valor:d,tipoInput:a,minLocal:m,maxLocal:p,opcoesEfetivas:o,desabilitadoEfetivo:i,emitCompatFocus:v,emitCompatBlur:h}}}),zv={class:"eli-data-hora"};function xv(e,n,r,o,t,i){return c.openBlock(),c.createElementBlock("div",zv,[c.createVNode(sr.VTextField,c.mergeProps({modelValue:e.valor,"onUpdate:modelValue":n[0]||(n[0]=a=>e.valor=a),type:e.tipoInput,label:e.opcoesEfetivas.rotulo,placeholder:e.opcoesEfetivas.placeholder,disabled:e.desabilitadoEfetivo,clearable:!!e.opcoesEfetivas.limpavel,error:!!e.opcoesEfetivas.erro,"error-messages":e.opcoesEfetivas.mensagensErro,hint:e.opcoesEfetivas.dica,"persistent-hint":!!e.opcoesEfetivas.dicaPersistente,density:e.opcoesEfetivas.densidade??"comfortable",variant:e.opcoesEfetivas.variante??"outlined",min:e.minLocal,max:e.maxLocal},e.attrs,{onFocus:e.emitCompatFocus,onBlur:e.emitCompatBlur}),null,16,["modelValue","type","label","placeholder","disabled","clearable","error","error-messages","hint","persistent-hint","density","variant","min","max","onFocus","onBlur"])])}const po=X(Iv,[["render",xv]]);function Dv(e){if(!Number.isFinite(e)||e<=0||e>=1)return 0;const n=e.toString();if(n.includes("e-")){const[,t]=n.split("e-"),i=Number(t);return Number.isFinite(i)?i:0}const r=n.indexOf(".");return r===-1?0:n.slice(r+1).replace(/0+$/,"").length}function Ev(e){const n=(e??"").trim().replace(/,/g,".");if(!n)return null;const r=Number(n);return Number.isNaN(r)?null:r}function go(e,n){return e==null?"":n===null?String(e):Number(e).toFixed(Math.max(0,n)).replace(/\./g,",")}function Rd(e){return(e??"").replace(/\D+/g,"")}function Ov(e){const n=(e??"").replace(/[^0-9.,]+/g,""),r=n.match(/[.,]/);if(!r)return n;const o=r[0],t=n.indexOf(o),i=n.slice(0,t).replace(/[.,]/g,""),a=n.slice(t+1).replace(/[.,]/g,"");return`${i.length?i:"0"}${o}${a}`}function Nv(e,n){if(n===null)return e;if(n<=0)return e.replace(/[.,]/g,"");const r=e.match(/[.,]/);if(!r)return e;const o=r[0],t=e.indexOf(o),i=e.slice(0,t),a=e.slice(t+1);return`${i}${o}${a.slice(0,n)}`}function jv(e){const n=e.match(/^(\d+)[.,]$/);if(!n)return null;const r=Number(n[1]);return Number.isNaN(r)?null:r}const Uv=c.defineComponent({name:"EliEntradaNumero",inheritAttrs:!1,props:{value:{type:[Number,null],default:void 0},opcoes:{type:Object,required:!0}},emits:{"update:value":e=>!0,input:e=>!0,change:e=>!0,focus:()=>!0,blur:()=>!0},setup(e,{attrs:n,emit:r}){const o=c.computed(()=>{var d;const u=(d=e.opcoes)==null?void 0:d.precisao;return u==null?null:Dv(u)}),t=c.computed(()=>o.value===0),i=c.computed(()=>{const u=o.value;return u!==null&&u>0}),a=c.ref(""),l=c.ref(void 0);c.watch(()=>e.value,u=>{u!==l.value&&(a.value=go(u,o.value),l.value=u)},{immediate:!0});function s(u){if(i.value){const v=o.value??0,h=Rd(u),f=h?Number(h):0,$=10**v,_=h?f/$:null,k=_===null?null:_;l.value=k,r("update:value",k),r("input",k),r("change",k),a.value=go(k,v);return}const d=t.value?Rd(u):Ov(u),m=t.value?d:Nv(d,o.value);let p=null;if(m){const h=(t.value?null:jv(m))??Ev(m);p=h===null?null:h}l.value=p,r("update:value",p),r("input",p),r("change",p),a.value=go(p,o.value)}return{attrs:n,emit:r,displayValue:a,isInteiro:t,onUpdateModelValue:s}}}),Tv={class:"eli-entrada__prefixo"},Pv={class:"eli-entrada__sufixo"};function Cv(e,n,r,o,t,i){var a,l,s,u;return c.openBlock(),c.createBlock(sr.VTextField,c.mergeProps({"model-value":e.displayValue,label:(a=e.opcoes)==null?void 0:a.rotulo,placeholder:(l=e.opcoes)==null?void 0:l.placeholder,type:e.isInteiro?"number":"text",inputmode:e.isInteiro?"numeric":"decimal",pattern:e.isInteiro?"[0-9]*":"[0-9.,]*"},e.attrs,{"onUpdate:modelValue":e.onUpdateModelValue,onFocus:n[0]||(n[0]=()=>e.emit("focus")),onBlur:n[1]||(n[1]=()=>e.emit("blur"))}),c.createSlots({_:2},[(s=e.opcoes)!=null&&s.prefixo?{name:"prepend-inner",fn:c.withCtx(()=>[c.createElementVNode("span",Tv,c.toDisplayString(e.opcoes.prefixo),1)]),key:"0"}:void 0,(u=e.opcoes)!=null&&u.sufixo?{name:"append-inner",fn:c.withCtx(()=>[c.createElementVNode("span",Pv,c.toDisplayString(e.opcoes.sufixo),1)]),key:"1"}:void 0]),1040,["model-value","label","placeholder","type","inputmode","pattern","onUpdate:modelValue"])}const vo=X(Uv,[["render",Cv]]),Av=c.defineComponent({name:"EliEntradaParagrafo",components:{VTextarea:dr.VTextarea},inheritAttrs:!1,props:{value:{type:[String,null],default:void 0},opcoes:{type:Object,required:!0}},emits:{"update:value":e=>!0,input:e=>!0,change:e=>!0,focus:()=>!0,blur:()=>!0},setup(e,{attrs:n,emit:r}){const o=c.computed({get:()=>e.value,set:t=>{r("update:value",t),r("input",t),r("change",t)}});return{attrs:n,emit:r,localValue:o}}});function Zv(e,n,r,o,t,i){var a,l,s,u,d,m,p,v,h,f,$,_;return c.openBlock(),c.createBlock(mm.VTextarea,c.mergeProps({modelValue:e.localValue,"onUpdate:modelValue":n[0]||(n[0]=k=>e.localValue=k),label:(a=e.opcoes)==null?void 0:a.rotulo,placeholder:(l=e.opcoes)==null?void 0:l.placeholder,rows:((s=e.opcoes)==null?void 0:s.linhas)??4,counter:(u=e.opcoes)==null?void 0:u.limiteCaracteres,maxlength:(d=e.opcoes)==null?void 0:d.limiteCaracteres,clearable:!!((m=e.opcoes)!=null&&m.limpavel),error:!!((p=e.opcoes)!=null&&p.erro),"error-messages":(v=e.opcoes)==null?void 0:v.mensagensErro,hint:(h=e.opcoes)==null?void 0:h.dica,"persistent-hint":!!((f=e.opcoes)!=null&&f.dicaPersistente),density:(($=e.opcoes)==null?void 0:$.densidade)??"comfortable",variant:((_=e.opcoes)==null?void 0:_.variante)??"outlined","auto-grow":""},e.attrs,{onFocus:n[1]||(n[1]=()=>e.emit("focus")),onBlur:n[2]||(n[2]=()=>e.emit("blur"))}),null,16,["modelValue","label","placeholder","rows","counter","maxlength","clearable","error","error-messages","hint","persistent-hint","density","variant"])}const Jd=X(Av,[["render",Zv]]),Bv=c.defineComponent({name:"EliEntradaSelecao",components:{VSelect:dr.VSelect},inheritAttrs:!1,props:{value:{type:[String,null],default:void 0},opcoes:{type:Object,required:!0}},emits:{"update:value":e=>!0,input:e=>!0,change:e=>!0,focus:()=>!0,blur:()=>!0},setup(e,{attrs:n,emit:r}){const o=c.ref([]),t=c.ref(!1),i=c.computed({get:()=>e.value,set:l=>{r("update:value",l),r("input",l),r("change",l)}});async function a(){t.value=!0;try{const l=await e.opcoes.itens(),s=Array.isArray(l)?l:[];o.value=[...s]}finally{t.value=!1}}return c.watch(()=>e.opcoes.itens,()=>{a()}),c.onMounted(()=>{a()}),c.watch(o,l=>{console.debug("[EliEntradaSelecao] itens:",l)},{deep:!0}),{attrs:n,emit:r,localValue:i,itens:o,carregando:t}}});function Mv(e,n,r,o,t,i){var a,l,s,u,d,m,p,v,h;return c.openBlock(),c.createBlock(fm.VSelect,c.mergeProps({modelValue:e.localValue,"onUpdate:modelValue":n[0]||(n[0]=f=>e.localValue=f),label:(a=e.opcoes)==null?void 0:a.rotulo,placeholder:(l=e.opcoes)==null?void 0:l.placeholder,items:e.itens,"item-title":"rotulo","item-value":"chave",loading:e.carregando,disabled:e.carregando,"menu-props":{maxHeight:320},clearable:!!((s=e.opcoes)!=null&&s.limpavel),error:!!((u=e.opcoes)!=null&&u.erro),"error-messages":(d=e.opcoes)==null?void 0:d.mensagensErro,hint:(m=e.opcoes)==null?void 0:m.dica,"persistent-hint":!!((p=e.opcoes)!=null&&p.dicaPersistente),density:((v=e.opcoes)==null?void 0:v.densidade)??"comfortable",variant:((h=e.opcoes)==null?void 0:h.variante)??"outlined"},e.attrs,{onFocus:n[1]||(n[1]=()=>e.emit("focus")),onBlur:n[2]||(n[2]=()=>e.emit("blur"))}),null,16,["modelValue","label","placeholder","items","loading","disabled","clearable","error","error-messages","hint","persistent-hint","density","variant"])}const qd=X(Bv,[["render",Mv]]);function Vv(e){return e.replace(/\D+/g,"")}function Fv(e){const n=Vv(e);return n?n.replace(/^(\d{5})(\d)/,"$1-$2").slice(0,9):""}function Lv(e){return e.replace(/\D+/g,"")}function Rv(e){const n=Lv(e);return n.length<=11?n.replace(/(\d{3})(\d)/,"$1.$2").replace(/(\d{3})(\d)/,"$1.$2").replace(/(\d{3})(\d{1,2})$/,"$1-$2").slice(0,14):n.replace(/^(\d{2})(\d)/,"$1.$2").replace(/^(\d{2})\.(\d{3})(\d)/,"$1.$2.$3").replace(/\.(\d{3})(\d)/,".$1/$2").replace(/(\d{4})(\d)/,"$1-$2").slice(0,18)}function Jv(e){return e.replace(/\D+/g,"")}function qv(e){const n=Jv(e);return n?n.length<=10?n.replace(/^(\d{2})(\d)/,"($1) $2").replace(/(\d{4})(\d)/,"$1-$2").slice(0,14):n.replace(/^(\d{2})(\d)/,"($1) $2").replace(/(\d{5})(\d)/,"$1-$2").slice(0,15):""}const Yv=c.defineComponent({name:"EliEntradaTexto",inheritAttrs:!1,props:{value:{type:[String,null],default:void 0},opcoes:{type:Object,required:!0}},emits:{"update:value":e=>!0,input:e=>!0,change:e=>!0,focus:()=>!0,blur:()=>!0},setup(e,{attrs:n,emit:r}){const o=c.computed(()=>{var u;return((u=e.opcoes)==null?void 0:u.formato)??"texto"}),t=c.computed({get:()=>e.value,set:u=>{r("update:value",u),r("input",u),r("change",u)}}),i=c.computed(()=>o.value==="email"?"email":o.value==="url"?"url":"text"),a=c.computed(()=>{if(o.value==="telefone")return"tel";if(o.value==="cpfCnpj"||o.value==="cep")return"numeric"});function l(u){switch(o.value){case"telefone":return qv(u);case"cpfCnpj":return Rv(u);case"cep":return Fv(u);default:return u}}function s(u){const d=u.target,m=l(d.value);d.value=m,t.value=m}return{attrs:n,emit:r,localValue:t,inputHtmlType:i,inputMode:a,onInput:s}}});function Kv(e,n,r,o,t,i){var a,l,s,u;return c.openBlock(),c.createBlock(sr.VTextField,c.mergeProps({modelValue:e.localValue,"onUpdate:modelValue":n[0]||(n[0]=d=>e.localValue=d),type:e.inputHtmlType,inputmode:e.inputMode,label:(a=e.opcoes)==null?void 0:a.rotulo,placeholder:(l=e.opcoes)==null?void 0:l.placeholder,counter:(s=e.opcoes)==null?void 0:s.limiteCaracteres,maxlength:(u=e.opcoes)==null?void 0:u.limiteCaracteres},e.attrs,{onFocus:n[1]||(n[1]=()=>e.emit("focus")),onBlur:n[2]||(n[2]=()=>e.emit("blur")),onInput:e.onInput}),null,16,["modelValue","type","inputmode","label","placeholder","counter","maxlength","onInput"])}const cr=X(Yv,[["render",Kv]]);var Yd=(e=>(e[e.sucesso=200]="sucesso",e[e.erroConhecido=400]="erroConhecido",e[e.erroPermissao=401]="erroPermissao",e[e.erroNaoEncontrado=404]="erroNaoEncontrado",e[e.erroDesconhecido=500]="erroDesconhecido",e[e.tempoEsgotado=504]="tempoEsgotado",e))(Yd||{});const Wv="eli:tabela";function Kd(e){return`${Wv}:${e}:colunas`}function Wd(e){if(!e||typeof e!="object")return{visiveis:[],invisiveis:[]};const n=e,r=Array.isArray(n.visiveis)?n.visiveis.filter(t=>typeof t=="string"):[],o=Array.isArray(n.invisiveis)?n.invisiveis.filter(t=>typeof t=="string"):[];return{visiveis:r,invisiveis:o}}function Gd(e){try{const n=window.localStorage.getItem(Kd(e));return n?Wd(JSON.parse(n)):{visiveis:[],invisiveis:[]}}catch{return{visiveis:[],invisiveis:[]}}}function Gv(e,n){try{window.localStorage.setItem(Kd(e),JSON.stringify(Wd(n)))}catch{}}/** * @license lucide-vue-next v0.563.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const _t=e=>{for(const a in e)if(a.startsWith("aria-")||a==="role"||a==="title")return!0;return!1};/** + */const Hv=e=>{for(const n in e)if(n.startsWith("aria-")||n==="role"||n==="title")return!0;return!1};/** * @license lucide-vue-next v0.563.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Pe=e=>e==="";/** + */const Hd=e=>e==="";/** * @license lucide-vue-next v0.563.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Vt=(...e)=>e.filter((a,n,r)=>!!a&&a.trim()!==""&&r.indexOf(a)===n).join(" ").trim();/** + */const Xv=(...e)=>e.filter((n,r,o)=>!!n&&n.trim()!==""&&o.indexOf(n)===r).join(" ").trim();/** * @license lucide-vue-next v0.563.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Fe=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();/** + */const Xd=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();/** * @license lucide-vue-next v0.563.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const St=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(a,n,r)=>r?r.toUpperCase():n.toLowerCase());/** + */const Qv=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(n,r,o)=>o?o.toUpperCase():r.toLowerCase());/** * @license lucide-vue-next v0.563.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Dt=e=>{const a=St(e);return a.charAt(0).toUpperCase()+a.slice(1)};/** + */const eh=e=>{const n=Qv(e);return n.charAt(0).toUpperCase()+n.slice(1)};/** * @license lucide-vue-next v0.563.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */var be={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":2,"stroke-linecap":"round","stroke-linejoin":"round"};/** + */var Rt={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":2,"stroke-linecap":"round","stroke-linejoin":"round"};/** * @license lucide-vue-next v0.563.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Nt=({name:e,iconNode:a,absoluteStrokeWidth:n,"absolute-stroke-width":r,strokeWidth:s,"stroke-width":m,size:o=be.width,color:l=be.stroke,...u},{slots:i})=>t.h("svg",{...be,...u,width:o,height:o,stroke:l,"stroke-width":Pe(n)||Pe(r)||n===!0||r===!0?Number(s||m||be["stroke-width"])*24/Number(o):s||m||be["stroke-width"],class:Vt("lucide",u.class,...e?[`lucide-${Fe(Dt(e))}-icon`,`lucide-${Fe(e)}`]:["lucide-icon"]),...!i.default&&!_t(u)&&{"aria-hidden":"true"}},[...a.map(d=>t.h(...d)),...i.default?[i.default()]:[]]);/** + */const th=({name:e,iconNode:n,absoluteStrokeWidth:r,"absolute-stroke-width":o,strokeWidth:t,"stroke-width":i,size:a=Rt.width,color:l=Rt.stroke,...s},{slots:u})=>c.h("svg",{...Rt,...s,width:a,height:a,stroke:l,"stroke-width":Hd(r)||Hd(o)||r===!0||o===!0?Number(t||i||Rt["stroke-width"])*24/Number(a):t||i||Rt["stroke-width"],class:Xv("lucide",s.class,...e?[`lucide-${Xd(eh(e))}-icon`,`lucide-${Xd(e)}`]:["lucide-icon"]),...!u.default&&!Hv(s)&&{"aria-hidden":"true"}},[...n.map(d=>c.h(...d)),...u.default?[u.default()]:[]]);/** * @license lucide-vue-next v0.563.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const fe=(e,a)=>(n,{slots:r,attrs:s})=>t.h(Nt,{...s,...n,iconNode:a,name:e},r);/** + */const dt=(e,n)=>(r,{slots:o,attrs:t})=>c.h(th,{...t,...r,iconNode:n,name:e},o);/** * @license lucide-vue-next v0.563.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Oe=fe("arrow-down",[["path",{d:"M12 5v14",key:"s699le"}],["path",{d:"m19 12-7 7-7-7",key:"1idqje"}]]);/** + */const Qd=dt("arrow-down",[["path",{d:"M12 5v14",key:"s699le"}],["path",{d:"m19 12-7 7-7-7",key:"1idqje"}]]);/** * @license lucide-vue-next v0.563.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const qe=fe("arrow-up",[["path",{d:"m5 12 7-7 7 7",key:"hav0vg"}],["path",{d:"M12 19V5",key:"x0mq9r"}]]);/** + */const em=dt("arrow-up",[["path",{d:"m5 12 7-7 7 7",key:"hav0vg"}],["path",{d:"M12 19V5",key:"x0mq9r"}]]);/** * @license lucide-vue-next v0.563.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Ie=fe("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);/** + */const tm=dt("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);/** * @license lucide-vue-next v0.563.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Le=fe("chevron-right",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);/** + */const nm=dt("chevron-right",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);/** * @license lucide-vue-next v0.563.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const At=fe("ellipsis-vertical",[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"12",cy:"5",r:"1",key:"gxeob9"}],["circle",{cx:"12",cy:"19",r:"1",key:"lyex9k"}]]);/** + */const nh=dt("ellipsis-vertical",[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"12",cy:"5",r:"1",key:"gxeob9"}],["circle",{cx:"12",cy:"19",r:"1",key:"lyex9k"}]]);/** * @license lucide-vue-next v0.563.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Mt=fe("search",[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]]),wt=t.defineComponent({name:"EliTabelaCaixaDeBusca",components:{Search:Mt},props:{modelo:{type:String,required:!1,default:""}},emits:{buscar(e){return typeof e=="string"}},setup(e,{emit:a}){const n=t.ref(e.modelo??"");t.watch(()=>e.modelo,s=>{s!==void 0&&s!==n.value&&(n.value=s)});function r(){a("buscar",n.value.trim())}return{texto:n,emitirBusca:r}}}),Tt={class:"eli-tabela__busca"},Pt={class:"eli-tabela__busca-input-wrapper"};function Ft(e,a,n,r,s,m){const o=t.resolveComponent("Search");return t.openBlock(),t.createElementBlock("div",Tt,[t.createElementVNode("div",Pt,[t.withDirectives(t.createElementVNode("input",{id:"eli-tabela-busca","onUpdate:modelValue":a[0]||(a[0]=l=>e.texto=l),type:"search",class:"eli-tabela__busca-input",placeholder:"Digite termos para filtrar",onKeyup:a[1]||(a[1]=t.withKeys((...l)=>e.emitirBusca&&e.emitirBusca(...l),["enter"]))},null,544),[[t.vModelText,e.texto]]),t.createElementVNode("button",{type:"button",class:"eli-tabela__busca-botao","aria-label":"Buscar",title:"Buscar",onClick:a[2]||(a[2]=(...l)=>e.emitirBusca&&e.emitirBusca(...l))},[t.createVNode(o,{class:"eli-tabela__busca-botao-icone",size:16,"stroke-width":2,"aria-hidden":"true"})])])])}const Ot=T(wt,[["render",Ft]]),qt=t.defineComponent({name:"EliTabelaCabecalho",components:{EliTabelaCaixaDeBusca:Ot},props:{exibirBusca:{type:Boolean,required:!0},exibirBotaoColunas:{type:Boolean,required:!1,default:!0},exibirBotaoFiltroAvancado:{type:Boolean,required:!1,default:!1},valorBusca:{type:String,required:!0},acoesCabecalho:{type:Array,required:!0}},emits:{buscar(e){return typeof e=="string"},colunas(){return!0},filtroAvancado(){return!0}},setup(e,{emit:a}){const n=t.computed(()=>e.acoesCabecalho.length>0);function r(o){a("buscar",o)}function s(){a("colunas")}function m(){a("filtroAvancado")}return{temAcoesCabecalho:n,emitBuscar:r,emitColunas:s,emitFiltroAvancado:m}}}),It={class:"eli-tabela__cabecalho"},Lt={key:0,class:"eli-tabela__busca-grupo"},zt={key:1,class:"eli-tabela__acoes-cabecalho"},jt=["onClick"],Ht={class:"eli-tabela__acoes-cabecalho-rotulo"};function Ut(e,a,n,r,s,m){const o=t.resolveComponent("EliTabelaCaixaDeBusca");return t.openBlock(),t.createElementBlock("div",It,[e.exibirBusca?(t.openBlock(),t.createElementBlock("div",Lt,[e.exibirBotaoColunas?(t.openBlock(),t.createElementBlock("button",{key:0,type:"button",class:"eli-tabela__acoes-cabecalho-botao eli-tabela__acoes-cabecalho-botao--colunas",onClick:a[0]||(a[0]=(...l)=>e.emitColunas&&e.emitColunas(...l))}," Colunas ")):t.createCommentVNode("",!0),e.exibirBotaoFiltroAvancado?(t.openBlock(),t.createElementBlock("button",{key:1,type:"button",class:"eli-tabela__acoes-cabecalho-botao eli-tabela__acoes-cabecalho-botao--filtro",onClick:a[1]||(a[1]=(...l)=>e.emitFiltroAvancado&&e.emitFiltroAvancado(...l))}," Filtro ")):t.createCommentVNode("",!0),t.createVNode(o,{modelo:e.valorBusca,onBuscar:e.emitBuscar},null,8,["modelo","onBuscar"])])):t.createCommentVNode("",!0),e.temAcoesCabecalho?(t.openBlock(),t.createElementBlock("div",zt,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.acoesCabecalho,(l,u)=>(t.openBlock(),t.createElementBlock("button",{key:`${l.rotulo}-${u}`,type:"button",class:"eli-tabela__acoes-cabecalho-botao",style:t.normalizeStyle(l.cor?{backgroundColor:l.cor,color:"#fff"}:void 0),onClick:l.acao},[l.icone?(t.openBlock(),t.createBlock(t.resolveDynamicComponent(l.icone),{key:0,class:"eli-tabela__acoes-cabecalho-icone",size:16,"stroke-width":2})):t.createCommentVNode("",!0),t.createElementVNode("span",Ht,t.toDisplayString(l.rotulo),1)],12,jt))),128))])):t.createCommentVNode("",!0)])}const Yt=T(qt,[["render",Ut]]),Rt=t.defineComponent({name:"EliTabelaEstados",props:{carregando:{type:Boolean,required:!0},erro:{type:String,required:!0},mensagemVazio:{type:String,required:!1,default:void 0}}}),Jt={key:0,class:"eli-tabela eli-tabela--carregando","aria-busy":"true"},Wt={key:1,class:"eli-tabela eli-tabela--erro",role:"alert"},Zt={class:"eli-tabela__erro-mensagem"},Gt={key:2,class:"eli-tabela eli-tabela--vazio"};function Xt(e,a,n,r,s,m){return e.carregando?(t.openBlock(),t.createElementBlock("div",Jt," Carregando... ")):e.erro?(t.openBlock(),t.createElementBlock("div",Wt,[a[0]||(a[0]=t.createElementVNode("div",{class:"eli-tabela__erro-titulo"},"Erro",-1)),t.createElementVNode("div",Zt,t.toDisplayString(e.erro),1)])):(t.openBlock(),t.createElementBlock("div",Gt,t.toDisplayString(e.mensagemVazio??"Nenhum registro encontrado."),1))}const Kt=T(Rt,[["render",Xt]]),Qt=t.defineComponent({name:"EliTabelaDebug",props:{isDev:{type:Boolean,required:!0},menuAberto:{type:Number,required:!0},menuPopupPos:{type:Object,required:!0}}}),xt={key:0,style:{position:"fixed",left:"8px",bottom:"8px","z-index":"999999",background:"rgba(185,28,28,0.9)",color:"#fff",padding:"6px 10px","border-radius":"8px","font-size":"12px","max-width":"500px"}};function ea(e,a,n,r,s,m){return e.isDev?(t.openBlock(),t.createElementBlock("div",xt,[a[0]||(a[0]=t.createElementVNode("div",null,[t.createElementVNode("b",null,"EliTabela debug")],-1)),t.createElementVNode("div",null,"menuAberto: "+t.toDisplayString(e.menuAberto),1),t.createElementVNode("div",null,"menuPos: top="+t.toDisplayString(e.menuPopupPos.top)+", left="+t.toDisplayString(e.menuPopupPos.left),1),t.renderSlot(e.$slots,"default")])):t.createCommentVNode("",!0)}const ta=T(Qt,[["render",ea]]),aa=t.defineComponent({name:"EliTabelaHead",components:{ArrowUp:qe,ArrowDown:Oe},props:{colunas:{type:Array,required:!0},temAcoes:{type:Boolean,required:!0},temColunasInvisiveis:{type:Boolean,required:!0},colunaOrdenacao:{type:String,required:!0},direcaoOrdenacao:{type:String,required:!0}},emits:{alternarOrdenacao(e){return typeof e=="string"&&e.length>0}},setup(e,{emit:a}){function n(s){return(s==null?void 0:s.coluna_ordem)!==void 0&&(s==null?void 0:s.coluna_ordem)!==null}function r(s){a("alternarOrdenacao",s)}return{ArrowUp:qe,ArrowDown:Oe,isOrdenavel:n,emitAlternarOrdenacao:r}}}),oa={class:"eli-tabela__thead"},na={class:"eli-tabela__tr eli-tabela__tr--header"},la={key:0,class:"eli-tabela__th eli-tabela__th--expander",scope:"col"},ra=["onClick"],ia={class:"eli-tabela__th-texto"},sa={key:1,class:"eli-tabela__th-label"},ca={key:1,class:"eli-tabela__th eli-tabela__th--acoes",scope:"col"};function da(e,a,n,r,s,m){const o=t.resolveComponent("ArrowUp");return t.openBlock(),t.createElementBlock("thead",oa,[t.createElementVNode("tr",na,[e.temColunasInvisiveis?(t.openBlock(),t.createElementBlock("th",la)):t.createCommentVNode("",!0),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.colunas,(l,u)=>(t.openBlock(),t.createElementBlock("th",{key:`th-${u}`,class:t.normalizeClass(["eli-tabela__th",[e.isOrdenavel(l)?"eli-tabela__th--ordenavel":void 0]]),scope:"col"},[e.isOrdenavel(l)?(t.openBlock(),t.createElementBlock("button",{key:0,type:"button",class:t.normalizeClass(["eli-tabela__th-botao",[e.colunaOrdenacao===String(l.coluna_ordem)?"eli-tabela__th-botao--ativo":void 0]]),onClick:i=>e.emitAlternarOrdenacao(String(l.coluna_ordem))},[t.createElementVNode("span",ia,t.toDisplayString(l.rotulo),1),e.colunaOrdenacao===String(l.coluna_ordem)?(t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.direcaoOrdenacao==="asc"?e.ArrowUp:e.ArrowDown),{key:0,class:"eli-tabela__th-icone",size:16,"stroke-width":2,"aria-hidden":"true"})):(t.openBlock(),t.createBlock(o,{key:1,class:"eli-tabela__th-icone eli-tabela__th-icone--oculto",size:16,"stroke-width":2,"aria-hidden":"true"}))],10,ra)):(t.openBlock(),t.createElementBlock("span",sa,t.toDisplayString(l.rotulo),1))],2))),128)),e.temAcoes?(t.openBlock(),t.createElementBlock("th",ca," Ações ")):t.createCommentVNode("",!0)])])}const ua=T(aa,[["render",da]]),ma=t.defineComponent({name:"EliTabelaCelulaTextoSimples",components:{},props:{dados:{type:Object}},data(){return{}},methods:{},setup({dados:e}){return{dados:e}}}),pa={key:1};function fa(e,a,n,r,s,m){var o,l,u;return(o=e.dados)!=null&&o.acao?(t.openBlock(),t.createElementBlock("button",{key:0,type:"button",class:"eli-tabela__celula-link",onClick:a[0]||(a[0]=t.withModifiers(i=>e.dados.acao(),["stop","prevent"]))},t.toDisplayString((l=e.dados)==null?void 0:l.texto),1)):(t.openBlock(),t.createElementBlock("span",pa,t.toDisplayString((u=e.dados)==null?void 0:u.texto),1))}const ba=T(ma,[["render",fa]]),ha=t.defineComponent({name:"EliTabelaCelulaTextoTruncado",props:{dados:{type:Object}},setup({dados:e}){return{dados:e}}}),ga=["title"],ya=["title"];function $a(e,a,n,r,s,m){var o,l,u,i,d;return(o=e.dados)!=null&&o.acao?(t.openBlock(),t.createElementBlock("button",{key:0,type:"button",class:"eli-tabela__texto-truncado eli-tabela__celula-link",title:(l=e.dados)==null?void 0:l.texto,onClick:a[0]||(a[0]=t.withModifiers(b=>{var C,v;return(v=(C=e.dados)==null?void 0:C.acao)==null?void 0:v.call(C)},["stop","prevent"]))},t.toDisplayString((u=e.dados)==null?void 0:u.texto),9,ga)):(t.openBlock(),t.createElementBlock("span",{key:1,class:"eli-tabela__texto-truncado",title:(i=e.dados)==null?void 0:i.texto},t.toDisplayString((d=e.dados)==null?void 0:d.texto),9,ya))}const Ea=T(ha,[["render",$a]]),ka=t.defineComponent({name:"EliTabelaCelulaNumero",components:{},props:{dados:{type:Object}},setup({dados:e}){const a=t.computed(()=>{var l,u;const n=String(e==null?void 0:e.numero).replace(".",","),r=(l=e==null?void 0:e.prefixo)==null?void 0:l.trim(),s=(u=e==null?void 0:e.sufixo)==null?void 0:u.trim(),m=r?`${r} `:"",o=s?` ${s}`:"";return`${m}${n}${o}`});return{dados:e,textoNumero:a}}}),Ba={key:1};function Ca(e,a,n,r,s,m){var o;return(o=e.dados)!=null&&o.acao?(t.openBlock(),t.createElementBlock("button",{key:0,type:"button",class:"eli-tabela__celula-link",onClick:a[0]||(a[0]=t.withModifiers(l=>e.dados.acao(),["stop","prevent"]))},t.toDisplayString(e.textoNumero),1)):(t.openBlock(),t.createElementBlock("span",Ba,t.toDisplayString(e.textoNumero),1))}const va=T(ka,[["render",Ca]]),_a=t.defineComponent({name:"EliTabelaCelulaTags",components:{VChip:ve.VChip},props:{dados:{type:Object,required:!1}},setup({dados:e}){return{dados:e}}}),Va={class:"eli-tabela__celula-tags"};function Sa(e,a,n,r,s,m){var o;return t.openBlock(),t.createElementBlock("div",Va,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(((o=e.dados)==null?void 0:o.opcoes)??[],(l,u)=>(t.openBlock(),t.createBlock(ot.VChip,{key:u,class:"eli-tabela__celula-tag",size:"small",variant:"tonal",color:l.cor,clickable:!!l.acao,onClick:t.withModifiers(i=>{var d;return(d=l.acao)==null?void 0:d.call(l)},["stop","prevent"])},{default:t.withCtx(()=>[l.icone?(t.openBlock(),t.createBlock(t.resolveDynamicComponent(l.icone),{key:0,class:"eli-tabela__celula-tag-icone",size:14})):t.createCommentVNode("",!0),t.createElementVNode("span",null,t.toDisplayString(l.rotulo),1)]),_:2},1032,["color","clickable","onClick"]))),128))])}const Da=T(_a,[["render",Sa]]);function ze(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ee={exports:{}},Na=Ee.exports,je;function Aa(){return je||(je=1,(function(e,a){(function(n,r){e.exports=r()})(Na,(function(){var n=1e3,r=6e4,s=36e5,m="millisecond",o="second",l="minute",u="hour",i="day",d="week",b="month",C="quarter",v="year",y="date",c="Invalid Date",$=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,g=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,E={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(_){var h=["th","st","nd","rd"],p=_%100;return"["+_+(h[(p-20)%10]||h[p]||h[0])+"]"}},j=function(_,h,p){var k=String(_);return!k||k.length>=h?_:""+Array(h+1-k.length).join(p)+_},W={s:j,z:function(_){var h=-_.utcOffset(),p=Math.abs(h),k=Math.floor(p/60),f=p%60;return(h<=0?"+":"-")+j(k,2,"0")+":"+j(f,2,"0")},m:function _(h,p){if(h.date()1)return _(S[0])}else{var A=h.name;H[A]=h,f=A}return!k&&f&&(L=f),f||!k&&L},M=function(_,h){if(P(_))return _.clone();var p=typeof h=="object"?h:{};return p.date=_,p.args=arguments,new ue(p)},D=W;D.l=ae,D.i=P,D.w=function(_,h){return M(_,{locale:h.$L,utc:h.$u,x:h.$x,$offset:h.$offset})};var ue=(function(){function _(p){this.$L=ae(p.locale,null,!0),this.parse(p),this.$x=this.$x||p.x||{},this[X]=!0}var h=_.prototype;return h.parse=function(p){this.$d=(function(k){var f=k.date,V=k.utc;if(f===null)return new Date(NaN);if(D.u(f))return new Date;if(f instanceof Date)return new Date(f);if(typeof f=="string"&&!/Z$/i.test(f)){var S=f.match($);if(S){var A=S[2]-1||0,q=(S[7]||"0").substring(0,3);return V?new Date(Date.UTC(S[1],A,S[3]||1,S[4]||0,S[5]||0,S[6]||0,q)):new Date(S[1],A,S[3]||1,S[4]||0,S[5]||0,S[6]||0,q)}}return new Date(f)})(p),this.init()},h.init=function(){var p=this.$d;this.$y=p.getFullYear(),this.$M=p.getMonth(),this.$D=p.getDate(),this.$W=p.getDay(),this.$H=p.getHours(),this.$m=p.getMinutes(),this.$s=p.getSeconds(),this.$ms=p.getMilliseconds()},h.$utils=function(){return D},h.isValid=function(){return this.$d.toString()!==c},h.isSame=function(p,k){var f=M(p);return this.startOf(k)<=f&&f<=this.endOf(k)},h.isAfter=function(p,k){return M(p)0,H<=L.r||!L.r){H<=1&&W>0&&(L=E[W-1]);var X=g[L.l];v&&(H=v(""+H)),c=typeof X=="string"?X.replace("%d",H):X(H,d,L.l,$);break}}if(d)return c;var P=$?g.future:g.past;return typeof P=="function"?P(c):P.replace("%s",c)},m.to=function(i,d){return l(i,d,this,!0)},m.from=function(i,d){return l(i,d,this)};var u=function(i){return i.$u?s.utc():s()};m.toNow=function(i){return this.to(u(this),i)},m.fromNow=function(i){return this.from(u(this),i)}}}))})(ke)),ke.exports}var Pa=Ta();const Fa=ze(Pa);se.extend(Fa);const Oa=t.defineComponent({name:"EliTabelaCelulaData",props:{dados:{type:Object,required:!1}},setup({dados:e}){const a=t.computed(()=>{const n=e==null?void 0:e.valor;if(!n)return"";const r=(e==null?void 0:e.formato)??"data";return r==="relativo"?se(n).fromNow():r==="data_hora"?se(n).format("DD/MM/YYYY HH:mm"):se(n).format("DD/MM/YYYY")});return{dados:e,textoData:a}}}),qa={key:1};function Ia(e,a,n,r,s,m){var o;return(o=e.dados)!=null&&o.acao?(t.openBlock(),t.createElementBlock("button",{key:0,type:"button",class:"eli-tabela__celula-link",onClick:a[0]||(a[0]=t.withModifiers(l=>e.dados.acao(),["stop","prevent"]))},t.toDisplayString(e.textoData),1)):(t.openBlock(),t.createElementBlock("span",qa,t.toDisplayString(e.textoData),1))}const La={textoSimples:ba,textoTruncado:Ea,numero:va,tags:Da,data:T(Oa,[["render",Ia]])},za=t.defineComponent({name:"EliTabelaCelula",props:{celula:{type:Array,required:!0}},setup(e){const a=t.computed(()=>e.celula[0]),n=t.computed(()=>e.celula[1]),r=t.computed(()=>La[a.value]),s=t.computed(()=>n.value);return{Componente:r,dadosParaComponente:s}}});function ja(e,a,n,r,s,m){return t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.Componente),{dados:e.dadosParaComponente},null,8,["dados"])}const Ue=T(za,[["render",ja]]),Ha=t.defineComponent({name:"EliTabelaDetalhesLinha",components:{EliTabelaCelula:Ue},props:{linha:{type:null,required:!0},colunasInvisiveis:{type:Array,required:!0}}}),Ua={class:"eli-tabela__detalhes"},Ya={class:"eli-tabela__detalhe-rotulo"},Ra={class:"eli-tabela__detalhe-valor"};function Ja(e,a,n,r,s,m){const o=t.resolveComponent("EliTabelaCelula");return t.openBlock(),t.createElementBlock("div",Ua,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.colunasInvisiveis,(l,u)=>(t.openBlock(),t.createElementBlock("div",{key:`det-${u}-${l.rotulo}`,class:"eli-tabela__detalhe"},[t.createElementVNode("div",Ya,t.toDisplayString(l.rotulo),1),t.createElementVNode("div",Ra,[t.createVNode(o,{celula:l.celula(e.linha)},null,8,["celula"])])]))),128))])}const Wa=T(Ha,[["render",Ja]]),Za=t.defineComponent({name:"EliTabelaBody",components:{EliTabelaCelula:Ue,EliTabelaDetalhesLinha:Wa,MoreVertical:At,ChevronRight:Le,ChevronDown:Ie},props:{colunas:{type:Array,required:!0},colunasInvisiveis:{type:Array,required:!0},temColunasInvisiveis:{type:Boolean,required:!0},linhasExpandidas:{type:Object,required:!0},linhas:{type:Array,required:!0},temAcoes:{type:Boolean,required:!0},menuAberto:{type:Number,required:!0},possuiAcoes:{type:Function,required:!0},toggleMenu:{type:Function,required:!0},alternarLinhaExpandida:{type:Function,required:!0}},setup(){return{ChevronRight:Le,ChevronDown:Ie}}}),Ga={class:"eli-tabela__tbody"},Xa=["aria-expanded","aria-label","title","onClick"],Ka=["id","disabled","aria-expanded","aria-controls","aria-label","title","onClick"],Qa=["colspan"];function xa(e,a,n,r,s,m){const o=t.resolveComponent("EliTabelaCelula"),l=t.resolveComponent("MoreVertical"),u=t.resolveComponent("EliTabelaDetalhesLinha");return t.openBlock(),t.createElementBlock("tbody",Ga,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.linhas,(i,d)=>{var b,C,v,y,c,$;return t.openBlock(),t.createElementBlock(t.Fragment,{key:`grp-${d}`},[t.createElementVNode("tr",{class:t.normalizeClass(["eli-tabela__tr",[d%2===1?"eli-tabela__tr--zebra":void 0]])},[e.temColunasInvisiveis?(t.openBlock(),t.createElementBlock("td",{class:"eli-tabela__td eli-tabela__td--expander",key:`td-${d}-exp`},[t.createElementVNode("button",{type:"button",class:t.normalizeClass(["eli-tabela__expander-botao",[(b=e.linhasExpandidas)!=null&&b[d]?"eli-tabela__expander-botao--ativo":void 0]]),"aria-expanded":(C=e.linhasExpandidas)!=null&&C[d]?"true":"false","aria-label":(v=e.linhasExpandidas)!=null&&v[d]?"Ocultar colunas ocultas":"Mostrar colunas ocultas",title:(y=e.linhasExpandidas)!=null&&y[d]?"Ocultar detalhes":"Mostrar detalhes",onClick:t.withModifiers(g=>e.alternarLinhaExpandida(d),["stop"])},[(t.openBlock(),t.createBlock(t.resolveDynamicComponent((c=e.linhasExpandidas)!=null&&c[d]?e.ChevronDown:e.ChevronRight),{class:"eli-tabela__expander-icone",size:16,"stroke-width":2,"aria-hidden":"true"}))],10,Xa)])):t.createCommentVNode("",!0),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.colunas,(g,E)=>(t.openBlock(),t.createElementBlock("td",{key:`td-${d}-${E}`,class:"eli-tabela__td"},[t.createVNode(o,{celula:g.celula(i)},null,8,["celula"])]))),128)),e.temAcoes?(t.openBlock(),t.createElementBlock("td",{class:"eli-tabela__td eli-tabela__td--acoes",key:`td-${d}-acoes`},[t.createElementVNode("div",{class:t.normalizeClass(["eli-tabela__acoes-container",[e.menuAberto===d?"eli-tabela__acoes-container--aberto":void 0]])},[t.createElementVNode("button",{class:"eli-tabela__acoes-toggle",type:"button",id:`eli-tabela-acoes-toggle-${d}`,disabled:!e.possuiAcoes(d),"aria-haspopup":"menu","aria-expanded":e.menuAberto===d?"true":"false","aria-controls":e.possuiAcoes(d)?`eli-tabela-acoes-menu-${d}`:void 0,"aria-label":e.possuiAcoes(d)?"Ações da linha":"Nenhuma ação disponível",title:e.possuiAcoes(d)?"Ações":"Nenhuma ação disponível",onClick:t.withModifiers(g=>e.toggleMenu(d,g),["stop"])},[t.createVNode(l,{class:"eli-tabela__acoes-toggle-icone",size:18,"stroke-width":2})],8,Ka)],2)])):t.createCommentVNode("",!0)],2),e.temColunasInvisiveis&&(($=e.linhasExpandidas)!=null&&$[d])?(t.openBlock(),t.createElementBlock("tr",{key:0,class:t.normalizeClass(["eli-tabela__tr eli-tabela__tr--detalhes",[d%2===1?"eli-tabela__tr--zebra":void 0]])},[t.createElementVNode("td",{class:"eli-tabela__td eli-tabela__td--detalhes",colspan:(e.temColunasInvisiveis?1:0)+e.colunas.length+(e.temAcoes?1:0)},[t.createVNode(u,{linha:i,colunasInvisiveis:e.colunasInvisiveis},null,8,["linha","colunasInvisiveis"])],8,Qa)],2)):t.createCommentVNode("",!0)],64)}),128))])}const eo=T(Za,[["render",xa]]),to=t.defineComponent({name:"EliTabelaMenuAcoes",props:{menuAberto:{type:Number,required:!0},posicao:{type:Object,required:!0},acoes:{type:Array,required:!0},linha:{type:null,required:!0}},emits:{executar(e){return e!==null&&typeof e=="object"}},setup(e,{emit:a,expose:n}){const r=t.ref(null);n({menuEl:r});const s=t.computed(()=>e.acoes.length>0);function m(o){e.linha&&a("executar",{acao:o.acao,linha:e.linha})}return{menuEl:r,possuiAcoes:s,emitExecutar:m}}}),ao=["id","aria-labelledby"],oo=["aria-label","title","onClick"],no={class:"eli-tabela__acoes-item-texto"};function lo(e,a,n,r,s,m){return t.openBlock(),t.createBlock(t.Teleport,{to:"body"},[e.menuAberto!==null&&e.possuiAcoes?(t.openBlock(),t.createElementBlock("ul",{key:0,id:`eli-tabela-acoes-menu-${e.menuAberto}`,ref:"menuEl",class:"eli-tabela__acoes-menu",role:"menu","aria-labelledby":`eli-tabela-acoes-toggle-${e.menuAberto}`,style:t.normalizeStyle({position:"fixed",top:`${e.posicao.top}px`,left:`${e.posicao.left}px`,zIndex:999999})},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.acoes,o=>(t.openBlock(),t.createElementBlock("li",{key:`acao-${e.menuAberto}-${o.indice}`,class:"eli-tabela__acoes-item",role:"none"},[t.createElementVNode("button",{type:"button",class:"eli-tabela__acoes-item-botao",style:t.normalizeStyle({color:o.acao.cor}),role:"menuitem","aria-label":o.acao.rotulo,title:o.acao.rotulo,onClick:t.withModifiers(l=>e.emitExecutar(o),["stop"])},[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(o.acao.icone),{class:"eli-tabela__acoes-item-icone",size:16,"stroke-width":2})),t.createElementVNode("span",no,t.toDisplayString(o.acao.rotulo),1)],12,oo)]))),128))],12,ao)):t.createCommentVNode("",!0)])}const ro=T(to,[["render",lo]]),io=t.defineComponent({name:"EliTabelaPaginacao",props:{pagina:{type:Number,required:!0},totalPaginas:{type:Number,required:!0},maximoBotoes:{type:Number,required:!1}},emits:{alterar(e){return Number.isFinite(e)}},setup(e,{emit:a}){const n=t.computed(()=>{const i=e.maximoBotoes;return typeof i=="number"&&i>=5?Math.floor(i):7}),r=t.computed(()=>{const i=e.totalPaginas,d=e.pagina,b=n.value,C=[],v=E=>{C.push({label:String(E),pagina:E,ativo:E===d})},y=()=>{C.push({label:"…",ehEllipsis:!0})};if(i<=b){for(let E=1;E<=i;E+=1)v(E);return C}const c=Math.max(3,b-2);let $=Math.max(2,d-Math.floor(c/2)),g=$+c-1;g>=i&&(g=i-1,$=g-c+1),v(1),$>2&&y();for(let E=$;E<=g;E+=1)v(E);return ge.pagina<=1),o=t.computed(()=>e.pagina>=e.totalPaginas),l=t.computed(()=>e.pagina),u=t.computed(()=>e.totalPaginas);return{botoes:r,irParaPagina:s,anteriorDesabilitado:m,proximaDesabilitada:o,paginaAtual:l,totalPaginasExibidas:u}}}),so={key:0,class:"eli-tabela__paginacao",role:"navigation","aria-label":"Paginação de resultados"},co=["disabled"],uo={key:0,class:"eli-tabela__pagina-ellipsis","aria-hidden":"true"},mo=["disabled","aria-current","aria-label","onClick"],po=["disabled"];function fo(e,a,n,r,s,m){return e.totalPaginasExibidas>1?(t.openBlock(),t.createElementBlock("nav",so,[t.createElementVNode("button",{type:"button",class:"eli-tabela__pagina-botao",disabled:e.anteriorDesabilitado,"aria-label":"Página anterior",onClick:a[0]||(a[0]=o=>e.irParaPagina(e.paginaAtual-1))}," << ",8,co),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.botoes,(o,l)=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:`${o.label}-${l}`},[o.ehEllipsis?(t.openBlock(),t.createElementBlock("span",uo,t.toDisplayString(o.label),1)):(t.openBlock(),t.createElementBlock("button",{key:1,type:"button",class:t.normalizeClass(["eli-tabela__pagina-botao",o.ativo?"eli-tabela__pagina-botao--ativo":void 0]),disabled:o.ativo,"aria-current":o.ativo?"page":void 0,"aria-label":`Ir para página ${o.label}`,onClick:u=>e.irParaPagina(o.pagina)},t.toDisplayString(o.label),11,mo))],64))),128)),t.createElementVNode("button",{type:"button",class:"eli-tabela__pagina-botao",disabled:e.proximaDesabilitada,"aria-label":"Próxima página",onClick:a[1]||(a[1]=o=>e.irParaPagina(e.paginaAtual+1))}," >> ",8,po)])):t.createCommentVNode("",!0)}const bo=T(io,[["render",fo]]),Ye="application/x-eli-tabela-coluna",ho=t.defineComponent({name:"EliTabelaModalColunas",props:{aberto:{type:Boolean,required:!0},rotulosColunas:{type:Array,required:!0},configInicial:{type:Object,required:!0},colunas:{type:Array,required:!0}},emits:{fechar(){return!0},salvar(e){return!0}},setup(e,{emit:a}){const n=t.ref([]),r=t.ref([]);function s(){var H,X;const y=e.rotulosColunas,c=(((H=e.configInicial.visiveis)==null?void 0:H.length)??0)>0||(((X=e.configInicial.invisiveis)==null?void 0:X.length)??0)>0,$=new Set(e.colunas.filter(P=>P.visivel===!1).map(P=>P.rotulo)),g=c?new Set(e.configInicial.invisiveis??[]):$,E=y.filter(P=>!g.has(P)),j=e.configInicial.visiveis??[],W=new Set(E),L=[];for(const P of j)W.has(P)&&L.push(P);for(const P of E)L.includes(P)||L.push(P);n.value=L,r.value=y.filter(P=>g.has(P))}t.watch(()=>[e.aberto,e.rotulosColunas,e.configInicial,e.colunas],()=>{e.aberto&&s()},{deep:!0,immediate:!0});function m(){a("fechar")}function o(){a("salvar",{visiveis:[...n.value],invisiveis:[...r.value]})}function l(y,c){var $,g;try{($=y.dataTransfer)==null||$.setData(Ye,JSON.stringify(c)),(g=y.dataTransfer)==null||g.setData("text/plain",c.rotulo),y.dataTransfer.effectAllowed="move"}catch{}}function u(y){var c;try{const $=(c=y.dataTransfer)==null?void 0:c.getData(Ye);if(!$)return null;const g=JSON.parse($);return!g||typeof g.rotulo!="string"||g.origem!=="visiveis"&&g.origem!=="invisiveis"?null:g}catch{return null}}function i(y){const c=y.origem==="visiveis"?n.value:r.value,$=c.indexOf(y.rotulo);$>=0&&c.splice($,1)}function d(y,c,$){const g=y==="visiveis"?n.value:r.value,E=g.indexOf(c);E>=0&&g.splice(E,1),$===null||$<0||$>g.length?g.push(c):g.splice($,0,c)}function b(y,c,$,g){l(y,{rotulo:c,origem:$,index:g})}function C(y,c,$){const g=u(y);if(g)if(i(g),d(c,g.rotulo,$),c==="visiveis"){const E=r.value.indexOf(g.rotulo);E>=0&&r.value.splice(E,1)}else{const E=n.value.indexOf(g.rotulo);E>=0&&n.value.splice(E,1)}}function v(y,c,$){const g=u(y);if(g)if(i(g),d(c,g.rotulo,null),c==="visiveis"){const E=r.value.indexOf(g.rotulo);E>=0&&r.value.splice(E,1)}else{const E=n.value.indexOf(g.rotulo);E>=0&&n.value.splice(E,1)}}return{visiveisLocal:n,invisiveisLocal:r,emitFechar:m,emitSalvar:o,onDragStart:b,onDropItem:C,onDropLista:v}}}),go={class:"eli-tabela-modal-colunas__modal",role:"dialog","aria-modal":"true","aria-label":"Configurar colunas"},yo={class:"eli-tabela-modal-colunas__header"},$o={class:"eli-tabela-modal-colunas__conteudo"},Eo={class:"eli-tabela-modal-colunas__coluna"},ko=["onDragstart","onDrop"],Bo={class:"eli-tabela-modal-colunas__item-texto"},Co={class:"eli-tabela-modal-colunas__coluna"},vo=["onDragstart","onDrop"],_o={class:"eli-tabela-modal-colunas__item-texto"},Vo={class:"eli-tabela-modal-colunas__footer"};function So(e,a,n,r,s,m){return e.aberto?(t.openBlock(),t.createElementBlock("div",{key:0,class:"eli-tabela-modal-colunas__overlay",role:"presentation",onClick:a[9]||(a[9]=t.withModifiers((...o)=>e.emitFechar&&e.emitFechar(...o),["self"]))},[t.createElementVNode("div",go,[t.createElementVNode("header",yo,[a[10]||(a[10]=t.createElementVNode("h3",{class:"eli-tabela-modal-colunas__titulo"},"Colunas",-1)),t.createElementVNode("button",{type:"button",class:"eli-tabela-modal-colunas__fechar","aria-label":"Fechar",onClick:a[0]||(a[0]=(...o)=>e.emitFechar&&e.emitFechar(...o))}," × ")]),t.createElementVNode("div",$o,[t.createElementVNode("div",Eo,[a[12]||(a[12]=t.createElementVNode("div",{class:"eli-tabela-modal-colunas__coluna-titulo"},"Visíveis",-1)),t.createElementVNode("div",{class:"eli-tabela-modal-colunas__lista",onDragover:a[2]||(a[2]=t.withModifiers(()=>{},["prevent"])),onDrop:a[3]||(a[3]=o=>e.onDropLista(o,"visiveis",null))},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.visiveisLocal,(o,l)=>(t.openBlock(),t.createElementBlock("div",{key:`vis-${o}`,class:"eli-tabela-modal-colunas__item",draggable:"true",onDragstart:u=>e.onDragStart(u,o,"visiveis",l),onDragover:a[1]||(a[1]=t.withModifiers(()=>{},["prevent"])),onDrop:u=>e.onDropItem(u,"visiveis",l)},[a[11]||(a[11]=t.createElementVNode("span",{class:"eli-tabela-modal-colunas__item-handle","aria-hidden":"true"},"⋮⋮",-1)),t.createElementVNode("span",Bo,t.toDisplayString(o),1)],40,ko))),128))],32)]),t.createElementVNode("div",Co,[a[14]||(a[14]=t.createElementVNode("div",{class:"eli-tabela-modal-colunas__coluna-titulo"},"Invisíveis",-1)),t.createElementVNode("div",{class:"eli-tabela-modal-colunas__lista",onDragover:a[5]||(a[5]=t.withModifiers(()=>{},["prevent"])),onDrop:a[6]||(a[6]=o=>e.onDropLista(o,"invisiveis",null))},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.invisiveisLocal,(o,l)=>(t.openBlock(),t.createElementBlock("div",{key:`inv-${o}`,class:"eli-tabela-modal-colunas__item",draggable:"true",onDragstart:u=>e.onDragStart(u,o,"invisiveis",l),onDragover:a[4]||(a[4]=t.withModifiers(()=>{},["prevent"])),onDrop:u=>e.onDropItem(u,"invisiveis",l)},[a[13]||(a[13]=t.createElementVNode("span",{class:"eli-tabela-modal-colunas__item-handle","aria-hidden":"true"},"⋮⋮",-1)),t.createElementVNode("span",_o,t.toDisplayString(o),1)],40,vo))),128))],32)])]),t.createElementVNode("footer",Vo,[t.createElementVNode("button",{type:"button",class:"eli-tabela-modal-colunas__botao eli-tabela-modal-colunas__botao--sec",onClick:a[7]||(a[7]=(...o)=>e.emitFechar&&e.emitFechar(...o))}," Cancelar "),t.createElementVNode("button",{type:"button",class:"eli-tabela-modal-colunas__botao eli-tabela-modal-colunas__botao--prim",onClick:a[8]||(a[8]=(...o)=>e.emitSalvar&&e.emitSalvar(...o))}," Salvar ")])])])):t.createCommentVNode("",!0)}const Do=T(ho,[["render",So]]);function No(e){if(!Number.isFinite(e)||e<=0||e>=1)return 0;const a=e.toString();if(a.includes("e-")){const[,s]=a.split("e-"),m=Number(s);return Number.isFinite(m)?m:0}const n=a.indexOf(".");return n===-1?0:a.slice(n+1).replace(/0+$/,"").length}function Ao(e){const a=(e??"").trim().replace(/,/g,".");if(!a)return null;const n=Number(a);return Number.isNaN(n)?null:n}function Ve(e,a){return e==null?"":a===null?String(e):Number(e).toFixed(Math.max(0,a)).replace(/\./g,",")}function Re(e){return(e??"").replace(/\D+/g,"")}function Mo(e){const a=(e??"").replace(/[^0-9.,]+/g,""),n=a.match(/[.,]/);if(!n)return a;const r=n[0],s=a.indexOf(r),m=a.slice(0,s).replace(/[.,]/g,""),o=a.slice(s+1).replace(/[.,]/g,"");return`${m.length?m:"0"}${r}${o}`}function wo(e,a){if(a===null)return e;if(a<=0)return e.replace(/[.,]/g,"");const n=e.match(/[.,]/);if(!n)return e;const r=n[0],s=e.indexOf(r),m=e.slice(0,s),o=e.slice(s+1);return`${m}${r}${o.slice(0,a)}`}function To(e){const a=e.match(/^(\d+)[.,]$/);if(!a)return null;const n=Number(a[1]);return Number.isNaN(n)?null:n}const Po=t.defineComponent({name:"EliEntradaNumero",inheritAttrs:!1,props:{value:{type:[Number,null],default:void 0},opcoes:{type:Object,required:!0}},emits:{"update:value":e=>!0,input:e=>!0,change:e=>!0,focus:()=>!0,blur:()=>!0},setup(e,{attrs:a,emit:n}){const r=t.computed(()=>{var d;const i=(d=e.opcoes)==null?void 0:d.precisao;return i==null?null:No(i)}),s=t.computed(()=>r.value===0),m=t.computed(()=>{const i=r.value;return i!==null&&i>0}),o=t.ref(""),l=t.ref(void 0);t.watch(()=>e.value,i=>{i!==l.value&&(o.value=Ve(i,r.value),l.value=i)},{immediate:!0});function u(i){if(m.value){const v=r.value??0,y=Re(i),c=y?Number(y):0,$=Math.pow(10,v),g=y?c/$:null,E=g===null?null:g;l.value=E,n("update:value",E),n("input",E),n("change",E),o.value=Ve(E,v);return}const d=s.value?Re(i):Mo(i),b=s.value?d:wo(d,r.value);let C=null;if(b){const y=(s.value?null:To(b))??Ao(b);C=y===null?null:y}l.value=C,n("update:value",C),n("input",C),n("change",C),o.value=Ve(C,r.value)}return{attrs:a,emit:n,displayValue:o,isInteiro:s,onUpdateModelValue:u}}}),Fo={class:"eli-entrada__prefixo"},Oo={class:"eli-entrada__sufixo"};function qo(e,a,n,r,s,m){var o,l,u,i;return t.openBlock(),t.createBlock(Ce.VTextField,t.mergeProps({"model-value":e.displayValue,label:(o=e.opcoes)==null?void 0:o.rotulo,placeholder:(l=e.opcoes)==null?void 0:l.placeholder,type:e.isInteiro?"number":"text",inputmode:e.isInteiro?"numeric":"decimal",pattern:e.isInteiro?"[0-9]*":"[0-9.,]*"},e.attrs,{"onUpdate:modelValue":e.onUpdateModelValue,onFocus:a[0]||(a[0]=()=>e.emit("focus")),onBlur:a[1]||(a[1]=()=>e.emit("blur"))}),t.createSlots({_:2},[(u=e.opcoes)!=null&&u.prefixo?{name:"prepend-inner",fn:t.withCtx(()=>[t.createElementVNode("span",Fo,t.toDisplayString(e.opcoes.prefixo),1)]),key:"0"}:void 0,(i=e.opcoes)!=null&&i.sufixo?{name:"append-inner",fn:t.withCtx(()=>[t.createElementVNode("span",Oo,t.toDisplayString(e.opcoes.sufixo),1)]),key:"1"}:void 0]),1040,["model-value","label","placeholder","type","inputmode","pattern","onUpdate:modelValue"])}const Se=T(Po,[["render",qo]]),Io=t.defineComponent({name:"EliEntradaDataHora",inheritAttrs:!1,props:{value:{type:String,default:void 0},opcoes:{type:Object,required:!1,default:void 0},modelValue:{type:String,default:null},modo:{type:String,default:void 0},rotulo:{type:String,default:void 0},placeholder:{type:String,default:void 0},desabilitado:{type:Boolean,default:void 0},limpavel:{type:Boolean,default:void 0},erro:{type:Boolean,default:void 0},mensagensErro:{type:[String,Array],default:void 0},dica:{type:String,default:void 0},dicaPersistente:{type:Boolean,default:void 0},densidade:{type:String,default:void 0},variante:{type:String,default:void 0},min:{type:String,default:void 0},max:{type:String,default:void 0}},emits:{"update:value":e=>!0,input:e=>!0,change:e=>!0,"update:modelValue":e=>!0,alterar:e=>!0,foco:()=>!0,desfoco:()=>!0,focus:()=>!0,blur:()=>!0},setup(e,{emit:a,attrs:n}){const r=t.computed(()=>e.opcoes?e.opcoes:{rotulo:e.rotulo??"Data e hora",placeholder:e.placeholder??"",modo:e.modo??"dataHora",limpavel:e.limpavel,erro:e.erro,mensagensErro:e.mensagensErro,dica:e.dica,dicaPersistente:e.dicaPersistente,densidade:e.densidade,variante:e.variante,min:e.min,max:e.max}),s=t.computed(()=>r.value.modo??"dataHora"),m=t.computed(()=>!!e.desabilitado),o=t.computed(()=>s.value==="data"?"date":"datetime-local");function l(c){return s.value==="data"?se(c).format("YYYY-MM-DD"):se(c).format("YYYY-MM-DDTHH:mm")}function u(c){return s.value==="data"?se(`${c}T00:00`).format():se(c).format()}const i=t.computed(()=>e.value!==void 0?e.value??null:e.modelValue),d=t.computed({get:()=>i.value?l(i.value):"",set:c=>{const $=c&&c.length>0?c:null;if(!$){a("update:value",null),a("input",null),a("change",null),a("update:modelValue",null),a("alterar",null);return}const g=u($);a("update:value",g),a("input",g),a("change",g),a("update:modelValue",g),a("alterar",g)}}),b=t.computed(()=>{const c=r.value.min;if(c)return l(c)}),C=t.computed(()=>{const c=r.value.max;if(c)return l(c)});function v(){a("foco"),a("focus")}function y(){a("desfoco"),a("blur")}return{attrs:n,valor:d,tipoInput:o,minLocal:b,maxLocal:C,opcoesEfetivas:r,desabilitadoEfetivo:m,emitCompatFocus:v,emitCompatBlur:y}}}),Lo={class:"eli-data-hora"};function zo(e,a,n,r,s,m){return t.openBlock(),t.createElementBlock("div",Lo,[t.createVNode(Ce.VTextField,t.mergeProps({modelValue:e.valor,"onUpdate:modelValue":a[0]||(a[0]=o=>e.valor=o),type:e.tipoInput,label:e.opcoesEfetivas.rotulo,placeholder:e.opcoesEfetivas.placeholder,disabled:e.desabilitadoEfetivo,clearable:!!e.opcoesEfetivas.limpavel,error:!!e.opcoesEfetivas.erro,"error-messages":e.opcoesEfetivas.mensagensErro,hint:e.opcoesEfetivas.dica,"persistent-hint":!!e.opcoesEfetivas.dicaPersistente,density:e.opcoesEfetivas.densidade??"comfortable",variant:e.opcoesEfetivas.variante??"outlined",min:e.minLocal,max:e.maxLocal},e.attrs,{onFocus:e.emitCompatFocus,onBlur:e.emitCompatBlur}),null,16,["modelValue","type","label","placeholder","disabled","clearable","error","error-messages","hint","persistent-hint","density","variant","min","max","onFocus","onBlur"])])}const De=T(Io,[["render",zo]]),jo=t.defineComponent({name:"EliEntradaParagrafo",components:{VTextarea:ve.VTextarea},inheritAttrs:!1,props:{value:{type:[String,null],default:void 0},opcoes:{type:Object,required:!0}},emits:{"update:value":e=>!0,input:e=>!0,change:e=>!0,focus:()=>!0,blur:()=>!0},setup(e,{attrs:a,emit:n}){const r=t.computed({get:()=>e.value,set:s=>{n("update:value",s),n("input",s),n("change",s)}});return{attrs:a,emit:n,localValue:r,opcoes:e.opcoes}}});function Ho(e,a,n,r,s,m){var o,l,u,i,d,b,C,v,y,c,$,g;return t.openBlock(),t.createBlock(nt.VTextarea,t.mergeProps({modelValue:e.localValue,"onUpdate:modelValue":a[0]||(a[0]=E=>e.localValue=E),label:(o=e.opcoes)==null?void 0:o.rotulo,placeholder:(l=e.opcoes)==null?void 0:l.placeholder,rows:((u=e.opcoes)==null?void 0:u.linhas)??4,counter:(i=e.opcoes)==null?void 0:i.limiteCaracteres,maxlength:(d=e.opcoes)==null?void 0:d.limiteCaracteres,clearable:!!((b=e.opcoes)!=null&&b.limpavel),error:!!((C=e.opcoes)!=null&&C.erro),"error-messages":(v=e.opcoes)==null?void 0:v.mensagensErro,hint:(y=e.opcoes)==null?void 0:y.dica,"persistent-hint":!!((c=e.opcoes)!=null&&c.dicaPersistente),density:(($=e.opcoes)==null?void 0:$.densidade)??"comfortable",variant:((g=e.opcoes)==null?void 0:g.variante)??"outlined","auto-grow":""},e.attrs,{onFocus:a[1]||(a[1]=()=>e.emit("focus")),onBlur:a[2]||(a[2]=()=>e.emit("blur"))}),null,16,["modelValue","label","placeholder","rows","counter","maxlength","clearable","error","error-messages","hint","persistent-hint","density","variant"])}const Je=T(jo,[["render",Ho]]),Uo=t.defineComponent({name:"EliEntradaSelecao",components:{VSelect:ve.VSelect},inheritAttrs:!1,props:{value:{type:[String,null],default:void 0},opcoes:{type:Object,required:!0}},emits:{"update:value":e=>!0,input:e=>!0,change:e=>!0,focus:()=>!0,blur:()=>!0},setup(e,{attrs:a,emit:n}){const r=t.ref([]),s=t.ref(!1),m=t.computed({get:()=>e.value,set:l=>{n("update:value",l),n("input",l),n("change",l)}});async function o(){s.value=!0;try{const l=await e.opcoes.itens(),u=Array.isArray(l)?l:[];r.value=[...u]}finally{s.value=!1}}return t.watch(()=>e.opcoes.itens,()=>{o()}),t.onMounted(()=>{o()}),t.watch(r,l=>{console.debug("[EliEntradaSelecao] itens:",l)},{deep:!0}),{attrs:a,emit:n,localValue:m,opcoes:e.opcoes,itens:r,carregando:s}}});function Yo(e,a,n,r,s,m){var o,l,u,i,d,b,C,v,y;return t.openBlock(),t.createBlock(lt.VSelect,t.mergeProps({modelValue:e.localValue,"onUpdate:modelValue":a[0]||(a[0]=c=>e.localValue=c),label:(o=e.opcoes)==null?void 0:o.rotulo,placeholder:(l=e.opcoes)==null?void 0:l.placeholder,items:e.itens,"item-title":"rotulo","item-value":"chave",loading:e.carregando,disabled:e.carregando,"menu-props":{maxHeight:320},clearable:!!((u=e.opcoes)!=null&&u.limpavel),error:!!((i=e.opcoes)!=null&&i.erro),"error-messages":(d=e.opcoes)==null?void 0:d.mensagensErro,hint:(b=e.opcoes)==null?void 0:b.dica,"persistent-hint":!!((C=e.opcoes)!=null&&C.dicaPersistente),density:((v=e.opcoes)==null?void 0:v.densidade)??"comfortable",variant:((y=e.opcoes)==null?void 0:y.variante)??"outlined"},e.attrs,{onFocus:a[1]||(a[1]=()=>e.emit("focus")),onBlur:a[2]||(a[2]=()=>e.emit("blur"))}),null,16,["modelValue","label","placeholder","items","loading","disabled","clearable","error","error-messages","hint","persistent-hint","density","variant"])}const We=T(Uo,[["render",Yo]]);function Ro(e){return e==="texto"||e==="numero"||e==="dataHora"}function Jo(e){var n,r;const a=(r=(n=e==null?void 0:e.entrada)==null?void 0:n[1])==null?void 0:r.rotulo;return String(a||((e==null?void 0:e.coluna)??"Filtro"))}const Wo=t.defineComponent({name:"EliTabelaModalFiltroAvancado",props:{aberto:{type:Boolean,required:!0},filtrosBase:{type:Array,required:!0},modelo:{type:Array,required:!0}},emits:{fechar:()=>!0,limpar:()=>!0,salvar:e=>!0},setup(e,{emit:a}){const n=t.ref([]),r=t.ref(""),s=t.computed(()=>(e.filtrosBase??[]).map(c=>String(c.coluna))),m=t.computed(()=>{const c=new Set(n.value.map($=>String($.coluna)));return(e.filtrosBase??[]).filter($=>!c.has(String($.coluna)))});function o(c){const $=c==null?void 0:c[0];return $==="numero"?Se:$==="dataHora"?De:$e}function l(c){return(c==null?void 0:c[1])??{rotulo:""}}function u(c){return(c==null?void 0:c[0])==="numero"?null:""}function i(){var g;const c=e.filtrosBase??[],$=Array.isArray(e.modelo)?e.modelo:[];n.value=$.map(E=>{const j=c.find(P=>String(P.coluna)===String(E.coluna))??c[0],W=(j==null?void 0:j.entrada)??E.entrada,L=(j==null?void 0:j.coluna)??E.coluna,H=String((j==null?void 0:j.operador)??"="),X=E.valor??u(W);return{coluna:L,operador:H,entrada:W,valor:X}});for(const E of n.value)s.value.includes(String(E.coluna))&&(E.operador=String(((g=c.find(j=>String(j.coluna)===String(E.coluna)))==null?void 0:g.operador)??"="),E.entrada&&!Ro(E.entrada[0])&&(E.entrada=["texto",{rotulo:"Valor"}]))}t.watch(()=>[e.aberto,e.filtrosBase,e.modelo],()=>{e.aberto&&i()},{deep:!0,immediate:!0});function d(){if(!r.value)return;const c=(e.filtrosBase??[]).find($=>String($.coluna)===String(r.value));c&&(n.value.some($=>String($.coluna)===String(c.coluna))||(n.value.push({coluna:c.coluna,entrada:c.entrada,operador:String(c.operador??"="),valor:u(c.entrada)}),r.value=""))}function b(c){n.value.splice(c,1)}function C(){a("fechar")}function v(){a("limpar")}function y(){a("salvar",n.value.map(c=>({coluna:c.coluna,valor:c.valor})))}return{linhas:n,opcoesParaAdicionar:m,colunaParaAdicionar:r,componenteEntrada:o,opcoesEntrada:l,adicionar:d,remover:b,emitFechar:C,emitSalvar:y,emitLimpar:v,rotuloDoFiltro:Jo}}}),Zo={class:"eli-tabela-modal-filtro__modal",role:"dialog","aria-modal":"true","aria-label":"Filtro avançado"},Go={class:"eli-tabela-modal-filtro__header"},Xo={class:"eli-tabela-modal-filtro__conteudo"},Ko={key:0,class:"eli-tabela-modal-filtro__vazio"},Qo={key:1,class:"eli-tabela-modal-filtro__lista"},xo={class:"eli-tabela-modal-filtro__entrada"},en=["onClick"],tn={class:"eli-tabela-modal-filtro__acoes"},an=["disabled"],on=["value"],nn=["disabled"],ln={class:"eli-tabela-modal-filtro__footer"};function rn(e,a,n,r,s,m){return e.aberto?(t.openBlock(),t.createElementBlock("div",{key:0,class:"eli-tabela-modal-filtro__overlay",role:"presentation",onClick:a[6]||(a[6]=t.withModifiers((...o)=>e.emitFechar&&e.emitFechar(...o),["self"]))},[t.createElementVNode("div",Zo,[t.createElementVNode("header",Go,[a[7]||(a[7]=t.createElementVNode("h3",{class:"eli-tabela-modal-filtro__titulo"},"Filtro avançado",-1)),t.createElementVNode("button",{type:"button",class:"eli-tabela-modal-filtro__fechar","aria-label":"Fechar",onClick:a[0]||(a[0]=(...o)=>e.emitFechar&&e.emitFechar(...o))}," × ")]),t.createElementVNode("div",Xo,[e.filtrosBase.length?(t.openBlock(),t.createElementBlock("div",Qo,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.linhas,(o,l)=>(t.openBlock(),t.createElementBlock("div",{key:String(o.coluna),class:"eli-tabela-modal-filtro__linha"},[t.createElementVNode("div",xo,[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.componenteEntrada(o.entrada)),{value:o.valor,"onUpdate:value":u=>o.valor=u,opcoes:e.opcoesEntrada(o.entrada),density:"compact"},null,40,["value","onUpdate:value","opcoes"]))]),t.createElementVNode("button",{type:"button",class:"eli-tabela-modal-filtro__remover",title:"Remover","aria-label":"Remover",onClick:u=>e.remover(l)}," × ",8,en)]))),128))])):(t.openBlock(),t.createElementBlock("div",Ko," Nenhum filtro configurado na tabela. ")),t.createElementVNode("div",tn,[t.withDirectives(t.createElementVNode("select",{"onUpdate:modelValue":a[1]||(a[1]=o=>e.colunaParaAdicionar=o),class:"eli-tabela-modal-filtro__select",disabled:!e.opcoesParaAdicionar.length},[a[8]||(a[8]=t.createElementVNode("option",{disabled:"",value:""},"Selecione um filtro…",-1)),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.opcoesParaAdicionar,o=>(t.openBlock(),t.createElementBlock("option",{key:String(o.coluna),value:String(o.coluna)},t.toDisplayString(e.rotuloDoFiltro(o)),9,on))),128))],8,an),[[t.vModelSelect,e.colunaParaAdicionar]]),t.createElementVNode("button",{type:"button",class:"eli-tabela-modal-filtro__botao",onClick:a[2]||(a[2]=(...o)=>e.adicionar&&e.adicionar(...o)),disabled:!e.colunaParaAdicionar}," Adicionar ",8,nn)])]),t.createElementVNode("footer",ln,[t.createElementVNode("button",{type:"button",class:"eli-tabela-modal-filtro__botao eli-tabela-modal-filtro__botao--sec",onClick:a[3]||(a[3]=(...o)=>e.emitLimpar&&e.emitLimpar(...o))}," Limpar "),t.createElementVNode("button",{type:"button",class:"eli-tabela-modal-filtro__botao eli-tabela-modal-filtro__botao--sec",onClick:a[4]||(a[4]=(...o)=>e.emitFechar&&e.emitFechar(...o))}," Cancelar "),t.createElementVNode("button",{type:"button",class:"eli-tabela-modal-filtro__botao eli-tabela-modal-filtro__botao--prim",onClick:a[5]||(a[5]=(...o)=>e.emitSalvar&&e.emitSalvar(...o))}," Aplicar ")])])])):t.createCommentVNode("",!0)}const sn=T(Wo,[["render",rn]]),cn="eli:tabela";function Ze(e){return`${cn}:${e}:colunas`}function Ge(e){if(!e||typeof e!="object")return{visiveis:[],invisiveis:[]};const a=e,n=Array.isArray(a.visiveis)?a.visiveis.filter(s=>typeof s=="string"):[],r=Array.isArray(a.invisiveis)?a.invisiveis.filter(s=>typeof s=="string"):[];return{visiveis:n,invisiveis:r}}function Xe(e){try{const a=window.localStorage.getItem(Ze(e));return a?Ge(JSON.parse(a)):{visiveis:[],invisiveis:[]}}catch{return{visiveis:[],invisiveis:[]}}}function dn(e,a){try{window.localStorage.setItem(Ze(e),JSON.stringify(Ge(a)))}catch{}}function Ne(e){return`eli_tabela:${e}:filtro_avancado`}function Ke(e){try{const a=localStorage.getItem(Ne(e));if(!a)return[];const n=JSON.parse(a);return Array.isArray(n)?n:[]}catch{return[]}}function un(e,a){try{localStorage.setItem(Ne(e),JSON.stringify(a??[]))}catch{}}function mn(e){try{localStorage.removeItem(Ne(e))}catch{}}const pn=t.defineComponent({name:"EliTabela",inheritAttrs:!1,components:{EliTabelaCabecalho:Yt,EliTabelaEstados:Kt,EliTabelaDebug:ta,EliTabelaHead:ua,EliTabelaBody:eo,EliTabelaMenuAcoes:ro,EliTabelaPaginacao:bo,EliTabelaModalColunas:Do,EliTabelaModalFiltroAvancado:sn},props:{tabela:{type:Object,required:!0}},setup(e){const n=t.ref(!1),r=t.ref(null),s=t.ref([]),m=t.ref(0),o=t.ref([]),l=t.ref(null),u=t.ref(null),i=t.ref({top:0,left:0}),d=t.ref(""),b=t.ref(1),C=t.ref(null),v=t.ref("asc"),y=t.ref(!1),c=t.ref(Ke(e.tabela.nome));function $(){y.value=!0}function g(){y.value=!1}function E(){c.value=[],mn(e.tabela.nome),y.value=!1,d.value="",b.value!==1?b.value=1:le()}function j(B){c.value=B??[],un(e.tabela.nome,B??[]),y.value=!1,d.value="",b.value!==1?b.value=1:le()}const W=t.computed(()=>{const B=e.tabela.filtroAvancado??[];return(c.value??[]).filter(N=>N&&N.coluna!==void 0).map(N=>{const F=B.find(O=>String(O.coluna)===String(N.coluna));return F?{coluna:String(F.coluna),operador:F.operador,valor:N.valor}:null}).filter(Boolean)}),L=t.computed(()=>e.tabela),H=t.computed(()=>!!e.tabela.mostrarCaixaDeBusca),X=t.computed(()=>e.tabela.acoesTabela??[]),P=t.computed(()=>X.value.length>0),ae=t.ref(!1),M=t.ref(Xe(e.tabela.nome)),D=t.ref({}),ue=t.computed(()=>e.tabela.colunas.map(B=>B.rotulo)),he=t.computed(()=>{var G,K;const B=e.tabela.colunas,F=(((G=M.value.visiveis)==null?void 0:G.length)??0)>0||(((K=M.value.invisiveis)==null?void 0:K.length)??0)>0?M.value.invisiveis??[]:B.filter(z=>z.visivel===!1).map(z=>z.rotulo),O=new Set(F),ee=B.filter(z=>O.has(z.rotulo)),x=F,re=new Map;for(const z of ee)re.has(z.rotulo)||re.set(z.rotulo,z);const R=[];for(const z of x){const te=re.get(z);te&&R.push(te)}for(const z of ee)R.includes(z)||R.push(z);return R}),_=t.computed(()=>he.value.length>0),h=t.computed(()=>{var z,te;const B=e.tabela.colunas,N=ue.value,F=(((z=M.value.visiveis)==null?void 0:z.length)??0)>0||(((te=M.value.invisiveis)==null?void 0:te.length)??0)>0,O=F?M.value.invisiveis??[]:e.tabela.colunas.filter(I=>I.visivel===!1).map(I=>I.rotulo),ee=new Set(O),x=N.filter(I=>!ee.has(I)),re=new Set(x),R=F?M.value.visiveis??[]:[],G=[];for(const I of R)re.has(I)&&G.push(I);for(const I of x)G.includes(I)||G.push(I);const K=new Map;for(const I of B)K.has(I.rotulo)||K.set(I.rotulo,I);return G.map(I=>K.get(I)).filter(Boolean)}),p=t.computed(()=>h.value.length+(Z.value?1:0)+(_.value?1:0));function k(){ae.value=!0}function f(){ae.value=!1}function V(B){M.value=B,dn(e.tabela.nome,B),ae.value=!1,D.value={}}function S(B){const N=!!D.value[B];D.value={...D.value,[B]:!N}}const A=t.computed(()=>{const B=e.tabela.registros_por_consulta;return typeof B=="number"&&B>0?Math.floor(B):10}),q=t.computed(()=>{const B=A.value;if(!B||B<=0)return 1;const N=m.value??0;return N?Math.max(1,Math.ceil(N/B)):1}),U=t.computed(()=>s.value??[]),Y=t.computed(()=>m.value??0),Z=t.computed(()=>(e.tabela.acoesLinha??[]).length>0),ce=t.computed(()=>(e.tabela.filtroAvancado??[]).length>0);let Q=0;function de(B){var R,G,K,z,te,I;const N=B.getBoundingClientRect(),F=8,O=((K=(G=(R=u.value)==null?void 0:R.menuEl)==null?void 0:G.value)==null?void 0:K.offsetHeight)??0,ee=((I=(te=(z=u.value)==null?void 0:z.menuEl)==null?void 0:te.value)==null?void 0:I.offsetWidth)??180;let x=N.bottom+F;const re=N.right-ee;O&&x+O>window.innerHeight-F&&(x=N.top-F-O),i.value={top:Math.max(F,Math.round(x)),left:Math.max(F,Math.round(re))}}function oe(B){var F,O;if(l.value===null)return;const N=B.target;(O=(F=u.value)==null?void 0:F.menuEl)!=null&&O.value&&u.value.menuEl.value.contains(N)||(l.value=null)}function J(B){if(B){if(C.value===B){v.value=v.value==="asc"?"desc":"asc",le();return}C.value=B,v.value="asc",b.value!==1?b.value=1:le()}}function ne(B){d.value!==B&&(d.value=B,b.value!==1?b.value=1:le())}function me(B){const N=Math.min(Math.max(1,B),q.value);N!==b.value&&(b.value=N)}function pe(B){const N=e.tabela.acoesLinha??[],F=o.value[B]??[];return N.map((O,ee)=>{const x=O.exibir===void 0?!0:typeof O.exibir=="boolean"?O.exibir:!1;return{acao:O,indice:ee,visivel:F[ee]??x}}).filter(O=>O.visivel)}function xe(B){return pe(B).length>0}function kn(B,N){if(!xe(B))return;if(l.value===B){l.value=null;return}l.value=B;const F=(N==null?void 0:N.currentTarget)??null;F&&(de(F),requestAnimationFrame(()=>de(F)))}async function le(){var x,re;const B=++Q;n.value=!0,r.value=null,o.value=[],l.value=null,D.value={};const N=Math.max(1,A.value),O={offSet:(b.value-1)*N,limit:N},ee=(d.value??"").trim();if(ee)O.texto_busca=ee;else{const R=W.value;R.length&&(O.filtros=R)}C.value&&(O.coluna_ordem=C.value,O.direcao_ordem=v.value);try{const R=e.tabela,G=await R.consulta(O);if(B!==Q)return;if(G.cod!==Te.sucesso){s.value=[],m.value=0,r.value=G.mensagem;return}const K=((x=G.valor)==null?void 0:x.valores)??[],z=((re=G.valor)==null?void 0:re.quantidade)??K.length;s.value=K,m.value=Number(z)||0;const te=Math.max(1,Math.ceil((m.value||0)/N));b.value>te&&(b.value=te);const I=R.acoesLinha??[];if(!I.length){o.value=[];return}const Bn=K.map(()=>I.map(ge=>ge.exibir===void 0?!0:typeof ge.exibir=="boolean"?ge.exibir:!1));o.value=Bn;const Cn=await Promise.all(K.map(async ge=>Promise.all(I.map(async Be=>{if(Be.exibir===void 0)return!0;if(typeof Be.exibir=="boolean")return Be.exibir;try{const vn=Be.exibir(ge);return!!await Promise.resolve(vn)}catch{return!1}}))));B===Q&&(o.value=Cn)}catch(R){if(B!==Q)return;s.value=[],m.value=0,r.value=R instanceof Error?R.message:"Erro ao carregar dados."}finally{B===Q&&(n.value=!1)}}return t.onMounted(()=>{document.addEventListener("click",oe),le()}),t.onBeforeUnmount(()=>{document.removeEventListener("click",oe)}),t.watch(()=>e.tabela.mostrarCaixaDeBusca,B=>{!B&&d.value&&(d.value="",b.value!==1?b.value=1:le())}),t.watch(b,(B,N)=>{B!==N&&le()}),t.watch(()=>e.tabela,()=>{l.value=null,C.value=null,v.value="asc",d.value="",ae.value=!1,y.value=!1,M.value=Xe(e.tabela.nome),c.value=Ke(e.tabela.nome),D.value={},b.value!==1?b.value=1:le()}),t.watch(()=>e.tabela.registros_por_consulta,()=>{b.value!==1?b.value=1:le()}),t.watch(s,()=>{l.value=null,D.value={}}),{isDev:!1,tabela:L,carregando:n,erro:r,linhas:s,linhasPaginadas:U,filtrosAvancadosAtivos:W,quantidadeFiltrada:Y,quantidade:m,menuAberto:l,valorBusca:d,paginaAtual:b,colunaOrdenacao:C,direcaoOrdenacao:v,totalPaginas:q,registrosPorConsulta:A,exibirBusca:H,exibirFiltroAvancado:ce,acoesCabecalho:X,temAcoesCabecalho:P,temAcoes:Z,totalColunas:p,colunasEfetivas:h,rotulosColunas:ue,modalColunasAberto:ae,configColunas:M,temColunasInvisiveis:_,colunasInvisiveisEfetivas:he,linhasExpandidas:D,abrirModalColunas:k,abrirModalFiltro:$,fecharModalColunas:f,salvarModalColunas:V,modalFiltroAberto:y,filtrosUi:c,salvarFiltrosAvancados:j,limparFiltrosAvancados:E,fecharModalFiltro:g,alternarLinhaExpandida:S,alternarOrdenacao:J,atualizarBusca:ne,irParaPagina:me,acoesDisponiveisPorLinha:pe,possuiAcoes:xe,toggleMenu:kn,menuPopup:u,menuPopupPos:i}}}),fn={class:"eli-tabela"},bn={class:"eli-tabela__table"},hn={key:0},gn=["colspan"];function yn(e,a,n,r,s,m){const o=t.resolveComponent("EliTabelaDebug"),l=t.resolveComponent("EliTabelaCabecalho"),u=t.resolveComponent("EliTabelaModalColunas"),i=t.resolveComponent("EliTabelaModalFiltroAvancado"),d=t.resolveComponent("EliTabelaHead"),b=t.resolveComponent("EliTabelaEstados"),C=t.resolveComponent("EliTabelaBody"),v=t.resolveComponent("EliTabelaMenuAcoes"),y=t.resolveComponent("EliTabelaPaginacao");return t.openBlock(),t.createElementBlock("div",fn,[t.createVNode(o,{isDev:e.isDev,menuAberto:e.menuAberto,menuPopupPos:e.menuPopupPos},{default:t.withCtx(()=>[t.createElementVNode("div",null,"paginaAtual: "+t.toDisplayString(e.paginaAtual),1),t.createElementVNode("div",null,"limit: "+t.toDisplayString(e.registrosPorConsulta),1),t.createElementVNode("div",null,"texto_busca: "+t.toDisplayString((e.valorBusca||"").trim()),1),t.createElementVNode("div",null,"filtrosAvancadosAtivos: "+t.toDisplayString(JSON.stringify(e.filtrosAvancadosAtivos)),1),t.createElementVNode("div",null,"quantidadeTotal: "+t.toDisplayString(e.quantidade),1)]),_:1},8,["isDev","menuAberto","menuPopupPos"]),e.exibirBusca||e.temAcoesCabecalho?(t.openBlock(),t.createBlock(l,{key:0,exibirBusca:e.exibirBusca,exibirBotaoFiltroAvancado:e.exibirFiltroAvancado,valorBusca:e.valorBusca,acoesCabecalho:e.acoesCabecalho,onBuscar:e.atualizarBusca,onColunas:e.abrirModalColunas,onFiltroAvancado:e.abrirModalFiltro},null,8,["exibirBusca","exibirBotaoFiltroAvancado","valorBusca","acoesCabecalho","onBuscar","onColunas","onFiltroAvancado"])):t.createCommentVNode("",!0),t.createVNode(u,{aberto:e.modalColunasAberto,rotulosColunas:e.rotulosColunas,configInicial:e.configColunas,colunas:e.tabela.colunas,onFechar:e.fecharModalColunas,onSalvar:e.salvarModalColunas},null,8,["aberto","rotulosColunas","configInicial","colunas","onFechar","onSalvar"]),t.createVNode(i,{aberto:e.modalFiltroAberto,filtrosBase:e.tabela.filtroAvancado??[],modelo:e.filtrosUi,onFechar:e.fecharModalFiltro,onLimpar:e.limparFiltrosAvancados,onSalvar:e.salvarFiltrosAvancados},null,8,["aberto","filtrosBase","modelo","onFechar","onLimpar","onSalvar"]),t.createElementVNode("table",bn,[t.createVNode(d,{colunas:e.colunasEfetivas,temAcoes:e.temAcoes,temColunasInvisiveis:e.temColunasInvisiveis,colunaOrdenacao:e.colunaOrdenacao,direcaoOrdenacao:e.direcaoOrdenacao,onAlternarOrdenacao:e.alternarOrdenacao},null,8,["colunas","temAcoes","temColunasInvisiveis","colunaOrdenacao","direcaoOrdenacao","onAlternarOrdenacao"]),e.carregando||e.erro||!e.linhas.length?(t.openBlock(),t.createElementBlock("tbody",hn,[t.createElementVNode("tr",null,[t.createElementVNode("td",{colspan:e.totalColunas,style:{padding:"0"}},[t.createVNode(b,{carregando:e.carregando,erro:e.erro,mensagemVazio:e.tabela.mensagemVazio,style:{border:"none","border-radius":"0"}},null,8,["carregando","erro","mensagemVazio"])],8,gn)])])):(t.openBlock(),t.createBlock(C,{key:1,colunas:e.colunasEfetivas,colunasInvisiveis:e.colunasInvisiveisEfetivas,temColunasInvisiveis:e.temColunasInvisiveis,linhasExpandidas:e.linhasExpandidas,linhas:e.linhasPaginadas,temAcoes:e.temAcoes,menuAberto:e.menuAberto,possuiAcoes:e.possuiAcoes,toggleMenu:e.toggleMenu,alternarLinhaExpandida:e.alternarLinhaExpandida},null,8,["colunas","colunasInvisiveis","temColunasInvisiveis","linhasExpandidas","linhas","temAcoes","menuAberto","possuiAcoes","toggleMenu","alternarLinhaExpandida"]))]),t.createVNode(v,{ref:"menuPopup",menuAberto:e.menuAberto,posicao:e.menuPopupPos,acoes:e.menuAberto===null?[]:e.acoesDisponiveisPorLinha(e.menuAberto),linha:e.menuAberto===null?null:e.linhasPaginadas[e.menuAberto],onExecutar:a[0]||(a[0]=({acao:c,linha:$})=>{e.menuAberto=null,c.acao($)})},null,8,["menuAberto","posicao","acoes","linha"]),e.totalPaginas>1&&e.quantidadeFiltrada>0?(t.openBlock(),t.createBlock(y,{key:1,pagina:e.paginaAtual,totalPaginas:e.totalPaginas,maximoBotoes:e.tabela.maximo_botoes_paginacao,onAlterar:e.irParaPagina},null,8,["pagina","totalPaginas","maximoBotoes","onAlterar"])):t.createCommentVNode("",!0)])}const Qe=T(pn,[["render",yn]]),$n=(e,a)=>[e,a],En={install(e){e.component("EliOlaMundo",Me),e.component("EliBotao",_e),e.component("EliBadge",ye),e.component("EliCartao",we),e.component("EliTabela",Qe),e.component("EliEntradaTexto",$e),e.component("EliEntradaNumero",Se),e.component("EliEntradaDataHora",De),e.component("EliEntradaParagrafo",Je),e.component("EliEntradaSelecao",We)}};w.EliBadge=ye,w.EliBotao=_e,w.EliCartao=we,w.EliEntradaDataHora=De,w.EliEntradaNumero=Se,w.EliEntradaParagrafo=Je,w.EliEntradaSelecao=We,w.EliEntradaTexto=$e,w.EliOlaMundo=Me,w.EliTabela=Qe,w.celulaTabela=$n,w.default=En,Object.defineProperties(w,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})})); + */const rh=dt("search",[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]]),ih=c.defineComponent({name:"EliTabelaCelulaData",props:{dados:{type:Object,required:!1}},setup({dados:e}){const n=c.computed(()=>{const r=e==null?void 0:e.valor;if(!r)return"";const o=(e==null?void 0:e.formato)??"data";return o==="relativo"?pe(r).fromNow():o==="data_hora"?pe(r).format("DD/MM/YYYY HH:mm"):pe(r).format("DD/MM/YYYY")});return{dados:e,textoData:n}}}),oh={key:1};function ah(e,n,r,o,t,i){var a;return(a=e.dados)!=null&&a.acao?(c.openBlock(),c.createElementBlock("button",{key:0,type:"button",class:"eli-tabela__celula-link",onClick:n[0]||(n[0]=c.withModifiers(l=>e.dados.acao(),["stop","prevent"]))},c.toDisplayString(e.textoData),1)):(c.openBlock(),c.createElementBlock("span",oh,c.toDisplayString(e.textoData),1))}const lh=X(ih,[["render",ah]]),ch=c.defineComponent({name:"EliTabelaCelulaNumero",components:{},props:{dados:{type:Object}},setup({dados:e}){const n=c.computed(()=>{var l,s;const r=String(e==null?void 0:e.numero).replace(".",","),o=(l=e==null?void 0:e.prefixo)==null?void 0:l.trim(),t=(s=e==null?void 0:e.sufixo)==null?void 0:s.trim(),i=o?`${o} `:"",a=t?` ${t}`:"";return`${i}${r}${a}`});return{dados:e,textoNumero:n}}}),uh={key:1};function sh(e,n,r,o,t,i){var a;return(a=e.dados)!=null&&a.acao?(c.openBlock(),c.createElementBlock("button",{key:0,type:"button",class:"eli-tabela__celula-link",onClick:n[0]||(n[0]=c.withModifiers(l=>e.dados.acao(),["stop","prevent"]))},c.toDisplayString(e.textoNumero),1)):(c.openBlock(),c.createElementBlock("span",uh,c.toDisplayString(e.textoNumero),1))}const dh=X(ch,[["render",sh]]),mh=c.defineComponent({name:"EliTabelaCelulaTags",components:{VChip:dr.VChip},props:{dados:{type:Object,required:!1}},setup({dados:e}){return{dados:e}}}),fh={class:"eli-tabela__celula-tags"};function ph(e,n,r,o,t,i){var a;return c.openBlock(),c.createElementBlock("div",fh,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(((a=e.dados)==null?void 0:a.opcoes)??[],(l,s)=>(c.openBlock(),c.createBlock(pm.VChip,{key:s,class:"eli-tabela__celula-tag",size:"small",variant:"tonal",color:l.cor,clickable:!!l.acao,onClick:c.withModifiers(u=>{var d;return(d=l.acao)==null?void 0:d.call(l)},["stop","prevent"])},{default:c.withCtx(()=>[l.icone?(c.openBlock(),c.createBlock(c.resolveDynamicComponent(l.icone),{key:0,class:"eli-tabela__celula-tag-icone",size:14})):c.createCommentVNode("",!0),c.createElementVNode("span",null,c.toDisplayString(l.rotulo),1)]),_:2},1032,["color","clickable","onClick"]))),128))])}const gh=X(mh,[["render",ph]]),vh=c.defineComponent({name:"EliTabelaCelulaTextoSimples",components:{},props:{dados:{type:Object}},data(){return{}},methods:{},setup({dados:e}){return{dados:e}}}),hh={key:1};function $h(e,n,r,o,t,i){var a,l,s;return(a=e.dados)!=null&&a.acao?(c.openBlock(),c.createElementBlock("button",{key:0,type:"button",class:"eli-tabela__celula-link",onClick:n[0]||(n[0]=c.withModifiers(u=>e.dados.acao(),["stop","prevent"]))},c.toDisplayString((l=e.dados)==null?void 0:l.texto),1)):(c.openBlock(),c.createElementBlock("span",hh,c.toDisplayString((s=e.dados)==null?void 0:s.texto),1))}const bh=X(vh,[["render",$h]]),_h=c.defineComponent({name:"EliTabelaCelulaTextoTruncado",props:{dados:{type:Object}},setup({dados:e}){return{dados:e}}}),yh=["title"],kh=["title"];function Sh(e,n,r,o,t,i){var a,l,s,u,d;return(a=e.dados)!=null&&a.acao?(c.openBlock(),c.createElementBlock("button",{key:0,type:"button",class:"eli-tabela__texto-truncado eli-tabela__celula-link",title:(l=e.dados)==null?void 0:l.texto,onClick:n[0]||(n[0]=c.withModifiers(m=>{var p,v;return(v=(p=e.dados)==null?void 0:p.acao)==null?void 0:v.call(p)},["stop","prevent"]))},c.toDisplayString((s=e.dados)==null?void 0:s.texto),9,yh)):(c.openBlock(),c.createElementBlock("span",{key:1,class:"eli-tabela__texto-truncado",title:(u=e.dados)==null?void 0:u.texto},c.toDisplayString((d=e.dados)==null?void 0:d.texto),9,kh))}const wh={textoSimples:bh,textoTruncado:X(_h,[["render",Sh]]),numero:dh,tags:gh,data:lh},Ih=c.defineComponent({name:"EliTabelaCelula",props:{celula:{type:Array,required:!0}},setup(e){const n=c.computed(()=>e.celula[0]),r=c.computed(()=>e.celula[1]),o=c.computed(()=>wh[n.value]),t=c.computed(()=>r.value);return{Componente:o,dadosParaComponente:t}}});function zh(e,n,r,o,t,i){return c.openBlock(),c.createBlock(c.resolveDynamicComponent(e.Componente),{dados:e.dadosParaComponente},null,8,["dados"])}const rm=X(Ih,[["render",zh]]),xh=c.defineComponent({name:"EliTabelaDetalhesLinha",components:{EliTabelaCelula:rm},props:{linha:{type:null,required:!0},colunasInvisiveis:{type:Array,required:!0}}}),Dh={class:"eli-tabela__detalhes"},Eh={class:"eli-tabela__detalhe-rotulo"},Oh={class:"eli-tabela__detalhe-valor"};function Nh(e,n,r,o,t,i){const a=c.resolveComponent("EliTabelaCelula");return c.openBlock(),c.createElementBlock("div",Dh,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(e.colunasInvisiveis,(l,s)=>(c.openBlock(),c.createElementBlock("div",{key:`det-${s}-${l.rotulo}`,class:"eli-tabela__detalhe"},[c.createElementVNode("div",Eh,c.toDisplayString(l.rotulo),1),c.createElementVNode("div",Oh,[c.createVNode(a,{celula:l.celula(e.linha)},null,8,["celula"])])]))),128))])}const jh=X(xh,[["render",Nh]]),Uh=c.defineComponent({name:"EliTabelaBody",components:{EliTabelaCelula:rm,EliTabelaDetalhesLinha:jh,MoreVertical:nh,ChevronRight:nm,ChevronDown:tm},props:{colunas:{type:Array,required:!0},colunasInvisiveis:{type:Array,required:!0},temColunasInvisiveis:{type:Boolean,required:!0},linhasExpandidas:{type:Object,required:!0},linhas:{type:Array,required:!0},temAcoes:{type:Boolean,required:!0},menuAberto:{type:Number,required:!0},possuiAcoes:{type:Function,required:!0},toggleMenu:{type:Function,required:!0},alternarLinhaExpandida:{type:Function,required:!0}},setup(){return{ChevronRight:nm,ChevronDown:tm}}}),Th={class:"eli-tabela__tbody"},Ph=["aria-expanded","aria-label","title","onClick"],Ch=["id","disabled","aria-expanded","aria-controls","aria-label","title","onClick"],Ah=["colspan"];function Zh(e,n,r,o,t,i){const a=c.resolveComponent("EliTabelaCelula"),l=c.resolveComponent("MoreVertical"),s=c.resolveComponent("EliTabelaDetalhesLinha");return c.openBlock(),c.createElementBlock("tbody",Th,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(e.linhas,(u,d)=>{var m,p,v,h,f,$;return c.openBlock(),c.createElementBlock(c.Fragment,{key:`grp-${d}`},[c.createElementVNode("tr",{class:c.normalizeClass(["eli-tabela__tr",[d%2===1?"eli-tabela__tr--zebra":void 0]])},[e.temColunasInvisiveis?(c.openBlock(),c.createElementBlock("td",{class:"eli-tabela__td eli-tabela__td--expander",key:`td-${d}-exp`},[c.createElementVNode("button",{type:"button",class:c.normalizeClass(["eli-tabela__expander-botao",[(m=e.linhasExpandidas)!=null&&m[d]?"eli-tabela__expander-botao--ativo":void 0]]),"aria-expanded":(p=e.linhasExpandidas)!=null&&p[d]?"true":"false","aria-label":(v=e.linhasExpandidas)!=null&&v[d]?"Ocultar colunas ocultas":"Mostrar colunas ocultas",title:(h=e.linhasExpandidas)!=null&&h[d]?"Ocultar detalhes":"Mostrar detalhes",onClick:c.withModifiers(_=>e.alternarLinhaExpandida(d),["stop"])},[(c.openBlock(),c.createBlock(c.resolveDynamicComponent((f=e.linhasExpandidas)!=null&&f[d]?e.ChevronDown:e.ChevronRight),{class:"eli-tabela__expander-icone",size:16,"stroke-width":2,"aria-hidden":"true"}))],10,Ph)])):c.createCommentVNode("",!0),(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(e.colunas,(_,k)=>(c.openBlock(),c.createElementBlock("td",{key:`td-${d}-${k}`,class:"eli-tabela__td"},[c.createVNode(a,{celula:_.celula(u)},null,8,["celula"])]))),128)),e.temAcoes?(c.openBlock(),c.createElementBlock("td",{class:"eli-tabela__td eli-tabela__td--acoes",key:`td-${d}-acoes`},[c.createElementVNode("div",{class:c.normalizeClass(["eli-tabela__acoes-container",[e.menuAberto===d?"eli-tabela__acoes-container--aberto":void 0]])},[c.createElementVNode("button",{class:"eli-tabela__acoes-toggle",type:"button",id:`eli-tabela-acoes-toggle-${d}`,disabled:!e.possuiAcoes(d),"aria-haspopup":"menu","aria-expanded":e.menuAberto===d?"true":"false","aria-controls":e.possuiAcoes(d)?`eli-tabela-acoes-menu-${d}`:void 0,"aria-label":e.possuiAcoes(d)?"Ações da linha":"Nenhuma ação disponível",title:e.possuiAcoes(d)?"Ações":"Nenhuma ação disponível",onClick:c.withModifiers(_=>e.toggleMenu(d,_),["stop"])},[c.createVNode(l,{class:"eli-tabela__acoes-toggle-icone",size:18,"stroke-width":2})],8,Ch)],2)])):c.createCommentVNode("",!0)],2),e.temColunasInvisiveis&&(($=e.linhasExpandidas)!=null&&$[d])?(c.openBlock(),c.createElementBlock("tr",{key:0,class:c.normalizeClass(["eli-tabela__tr eli-tabela__tr--detalhes",[d%2===1?"eli-tabela__tr--zebra":void 0]])},[c.createElementVNode("td",{class:"eli-tabela__td eli-tabela__td--detalhes",colspan:(e.temColunasInvisiveis?1:0)+e.colunas.length+(e.temAcoes?1:0)},[c.createVNode(s,{linha:u,colunasInvisiveis:e.colunasInvisiveis},null,8,["linha","colunasInvisiveis"])],8,Ah)],2)):c.createCommentVNode("",!0)],64)}),128))])}const Bh=X(Uh,[["render",Zh]]),Mh=c.defineComponent({name:"EliTabelaCaixaDeBusca",components:{Search:rh},props:{modelo:{type:String,required:!1,default:""}},emits:{buscar(e){return typeof e=="string"}},setup(e,{emit:n}){const r=c.ref(e.modelo??"");c.watch(()=>e.modelo,t=>{t!==void 0&&t!==r.value&&(r.value=t)});function o(){n("buscar",r.value.trim())}return{texto:r,emitirBusca:o}}}),Vh={class:"eli-tabela__busca"},Fh={class:"eli-tabela__busca-input-wrapper"};function Lh(e,n,r,o,t,i){const a=c.resolveComponent("Search");return c.openBlock(),c.createElementBlock("div",Vh,[c.createElementVNode("div",Fh,[c.withDirectives(c.createElementVNode("input",{id:"eli-tabela-busca","onUpdate:modelValue":n[0]||(n[0]=l=>e.texto=l),type:"search",class:"eli-tabela__busca-input",placeholder:"Digite termos para filtrar",onKeyup:n[1]||(n[1]=c.withKeys((...l)=>e.emitirBusca&&e.emitirBusca(...l),["enter"]))},null,544),[[c.vModelText,e.texto]]),c.createElementVNode("button",{type:"button",class:"eli-tabela__busca-botao","aria-label":"Buscar",title:"Buscar",onClick:n[2]||(n[2]=(...l)=>e.emitirBusca&&e.emitirBusca(...l))},[c.createVNode(a,{class:"eli-tabela__busca-botao-icone",size:16,"stroke-width":2,"aria-hidden":"true"})])])])}const Rh=X(Mh,[["render",Lh]]),Jh=c.defineComponent({name:"EliTabelaCabecalho",components:{EliTabelaCaixaDeBusca:Rh},props:{exibirBusca:{type:Boolean,required:!0},exibirBotaoColunas:{type:Boolean,required:!1,default:!0},exibirBotaoFiltroAvancado:{type:Boolean,required:!1,default:!1},valorBusca:{type:String,required:!0},parametrosConsulta:{type:Object,required:!1},acoesCabecalho:{type:Array,required:!0}},emits:{buscar(e){return typeof e=="string"},colunas(){return!0},filtroAvancado(){return!0}},setup(e,{emit:n}){const r=c.computed(()=>e.acoesCabecalho.length>0);function o(a){n("buscar",a)}function t(){n("colunas")}function i(){n("filtroAvancado")}return{temAcoesCabecalho:r,emitBuscar:o,emitColunas:t,emitFiltroAvancado:i}}}),qh={class:"eli-tabela__cabecalho"},Yh={key:0,class:"eli-tabela__busca-grupo"},Kh={key:1,class:"eli-tabela__acoes-cabecalho"},Wh=["onClick"],Gh={class:"eli-tabela__acoes-cabecalho-rotulo"};function Hh(e,n,r,o,t,i){const a=c.resolveComponent("EliTabelaCaixaDeBusca");return c.openBlock(),c.createElementBlock("div",qh,[e.exibirBusca?(c.openBlock(),c.createElementBlock("div",Yh,[e.exibirBotaoColunas?(c.openBlock(),c.createElementBlock("button",{key:0,type:"button",class:"eli-tabela__acoes-cabecalho-botao eli-tabela__acoes-cabecalho-botao--colunas",onClick:n[0]||(n[0]=(...l)=>e.emitColunas&&e.emitColunas(...l))}," Colunas ")):c.createCommentVNode("",!0),e.exibirBotaoFiltroAvancado?(c.openBlock(),c.createElementBlock("button",{key:1,type:"button",class:"eli-tabela__acoes-cabecalho-botao eli-tabela__acoes-cabecalho-botao--filtro",onClick:n[1]||(n[1]=(...l)=>e.emitFiltroAvancado&&e.emitFiltroAvancado(...l))}," Filtro ")):c.createCommentVNode("",!0),c.createVNode(a,{modelo:e.valorBusca,onBuscar:e.emitBuscar},null,8,["modelo","onBuscar"])])):c.createCommentVNode("",!0),e.temAcoesCabecalho?(c.openBlock(),c.createElementBlock("div",Kh,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(e.acoesCabecalho,(l,s)=>(c.openBlock(),c.createElementBlock("button",{key:`${l.rotulo}-${s}`,type:"button",class:"eli-tabela__acoes-cabecalho-botao",style:c.normalizeStyle(l.cor?{backgroundColor:l.cor,color:"#fff"}:void 0),onClick:u=>l.acao(e.parametrosConsulta)},[l.icone?(c.openBlock(),c.createBlock(c.resolveDynamicComponent(l.icone),{key:0,class:"eli-tabela__acoes-cabecalho-icone",size:16,"stroke-width":2})):c.createCommentVNode("",!0),c.createElementVNode("span",Gh,c.toDisplayString(l.rotulo),1)],12,Wh))),128))])):c.createCommentVNode("",!0)])}const Xh=X(Jh,[["render",Hh]]),Qh=c.defineComponent({name:"EliTabelaDebug",props:{isDev:{type:Boolean,required:!0},menuAberto:{type:Number,required:!0},menuPopupPos:{type:Object,required:!0}}}),e$={key:0,style:{position:"fixed",left:"8px",bottom:"8px","z-index":"999999",background:"rgba(185,28,28,0.9)",color:"#fff",padding:"6px 10px","border-radius":"8px","font-size":"12px","max-width":"500px"}};function t$(e,n,r,o,t,i){return e.isDev?(c.openBlock(),c.createElementBlock("div",e$,[n[0]||(n[0]=c.createElementVNode("div",null,[c.createElementVNode("b",null,"EliTabela debug")],-1)),c.createElementVNode("div",null,"menuAberto: "+c.toDisplayString(e.menuAberto),1),c.createElementVNode("div",null,"menuPos: top="+c.toDisplayString(e.menuPopupPos.top)+", left="+c.toDisplayString(e.menuPopupPos.left),1),c.renderSlot(e.$slots,"default")])):c.createCommentVNode("",!0)}const n$=X(Qh,[["render",t$]]),r$=c.defineComponent({name:"EliTabelaEstados",props:{carregando:{type:Boolean,required:!0},erro:{type:String,required:!0},mensagemVazio:{type:String,required:!1,default:void 0}}}),i$={key:0,class:"eli-tabela eli-tabela--carregando","aria-busy":"true"},o$={key:1,class:"eli-tabela eli-tabela--erro",role:"alert"},a$={class:"eli-tabela__erro-mensagem"},l$={key:2,class:"eli-tabela eli-tabela--vazio"};function c$(e,n,r,o,t,i){return e.carregando?(c.openBlock(),c.createElementBlock("div",i$," Carregando... ")):e.erro?(c.openBlock(),c.createElementBlock("div",o$,[n[0]||(n[0]=c.createElementVNode("div",{class:"eli-tabela__erro-titulo"},"Erro",-1)),c.createElementVNode("div",a$,c.toDisplayString(e.erro),1)])):(c.openBlock(),c.createElementBlock("div",l$,c.toDisplayString(e.mensagemVazio??"Nenhum registro encontrado."),1))}const u$=X(r$,[["render",c$]]),s$=c.defineComponent({name:"EliTabelaHead",components:{ArrowUp:em,ArrowDown:Qd},props:{colunas:{type:Array,required:!0},temAcoes:{type:Boolean,required:!0},temColunasInvisiveis:{type:Boolean,required:!0},colunaOrdenacao:{type:String,required:!0},direcaoOrdenacao:{type:String,required:!0}},emits:{alternarOrdenacao(e){return typeof e=="string"&&e.length>0}},setup(e,{emit:n}){function r(t){return(t==null?void 0:t.coluna_ordem)!==void 0&&(t==null?void 0:t.coluna_ordem)!==null}function o(t){n("alternarOrdenacao",t)}return{ArrowUp:em,ArrowDown:Qd,isOrdenavel:r,emitAlternarOrdenacao:o}}}),d$={class:"eli-tabela__thead"},m$={class:"eli-tabela__tr eli-tabela__tr--header"},f$={key:0,class:"eli-tabela__th eli-tabela__th--expander",scope:"col"},p$=["onClick"],g$={class:"eli-tabela__th-texto"},v$={key:1,class:"eli-tabela__th-label"},h$={key:1,class:"eli-tabela__th eli-tabela__th--acoes",scope:"col"};function $$(e,n,r,o,t,i){const a=c.resolveComponent("ArrowUp");return c.openBlock(),c.createElementBlock("thead",d$,[c.createElementVNode("tr",m$,[e.temColunasInvisiveis?(c.openBlock(),c.createElementBlock("th",f$)):c.createCommentVNode("",!0),(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(e.colunas,(l,s)=>(c.openBlock(),c.createElementBlock("th",{key:`th-${s}`,class:c.normalizeClass(["eli-tabela__th",[e.isOrdenavel(l)?"eli-tabela__th--ordenavel":void 0]]),scope:"col"},[e.isOrdenavel(l)?(c.openBlock(),c.createElementBlock("button",{key:0,type:"button",class:c.normalizeClass(["eli-tabela__th-botao",[e.colunaOrdenacao===String(l.coluna_ordem)?"eli-tabela__th-botao--ativo":void 0]]),onClick:u=>e.emitAlternarOrdenacao(String(l.coluna_ordem))},[c.createElementVNode("span",g$,c.toDisplayString(l.rotulo),1),e.colunaOrdenacao===String(l.coluna_ordem)?(c.openBlock(),c.createBlock(c.resolveDynamicComponent(e.direcaoOrdenacao==="asc"?e.ArrowUp:e.ArrowDown),{key:0,class:"eli-tabela__th-icone",size:16,"stroke-width":2,"aria-hidden":"true"})):(c.openBlock(),c.createBlock(a,{key:1,class:"eli-tabela__th-icone eli-tabela__th-icone--oculto",size:16,"stroke-width":2,"aria-hidden":"true"}))],10,p$)):(c.openBlock(),c.createElementBlock("span",v$,c.toDisplayString(l.rotulo),1))],2))),128)),e.temAcoes?(c.openBlock(),c.createElementBlock("th",h$," Ações ")):c.createCommentVNode("",!0)])])}const b$=X(s$,[["render",$$]]),_$=c.defineComponent({name:"EliTabelaMenuAcoes",props:{menuAberto:{type:Number,required:!0},posicao:{type:Object,required:!0},acoes:{type:Array,required:!0},linha:{type:null,required:!0}},emits:{executar(e){return e!==null&&typeof e=="object"}},setup(e,{emit:n,expose:r}){const o=c.ref(null);r({menuEl:o});const t=c.computed(()=>e.acoes.length>0);function i(a){e.linha&&n("executar",{acao:a.acao,linha:e.linha})}return{menuEl:o,possuiAcoes:t,emitExecutar:i}}}),y$=["id","aria-labelledby"],k$=["aria-label","title","onClick"],S$={class:"eli-tabela__acoes-item-texto"};function w$(e,n,r,o,t,i){return c.openBlock(),c.createBlock(c.Teleport,{to:"body"},[e.menuAberto!==null&&e.possuiAcoes?(c.openBlock(),c.createElementBlock("ul",{key:0,id:`eli-tabela-acoes-menu-${e.menuAberto}`,ref:"menuEl",class:"eli-tabela__acoes-menu",role:"menu","aria-labelledby":`eli-tabela-acoes-toggle-${e.menuAberto}`,style:c.normalizeStyle({position:"fixed",top:`${e.posicao.top}px`,left:`${e.posicao.left}px`,zIndex:999999})},[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(e.acoes,a=>(c.openBlock(),c.createElementBlock("li",{key:`acao-${e.menuAberto}-${a.indice}`,class:"eli-tabela__acoes-item",role:"none"},[c.createElementVNode("button",{type:"button",class:"eli-tabela__acoes-item-botao",style:c.normalizeStyle({color:a.acao.cor}),role:"menuitem","aria-label":a.acao.rotulo,title:a.acao.rotulo,onClick:c.withModifiers(l=>e.emitExecutar(a),["stop"])},[(c.openBlock(),c.createBlock(c.resolveDynamicComponent(a.acao.icone),{class:"eli-tabela__acoes-item-icone",size:16,"stroke-width":2})),c.createElementVNode("span",S$,c.toDisplayString(a.acao.rotulo),1)],12,k$)]))),128))],12,y$)):c.createCommentVNode("",!0)])}const I$=X(_$,[["render",w$]]),im="application/x-eli-tabela-coluna",z$=c.defineComponent({name:"EliTabelaModalColunas",props:{aberto:{type:Boolean,required:!0},rotulosColunas:{type:Array,required:!0},configInicial:{type:Object,required:!0},colunas:{type:Array,required:!0}},emits:{fechar(){return!0},salvar(e){return!0}},setup(e,{emit:n}){const r=c.ref([]),o=c.ref([]);function t(){var E,w;const h=e.rotulosColunas,f=(((E=e.configInicial.visiveis)==null?void 0:E.length)??0)>0||(((w=e.configInicial.invisiveis)==null?void 0:w.length)??0)>0,$=new Set(e.colunas.filter(y=>y.visivel===!1).map(y=>y.rotulo)),_=f?new Set(e.configInicial.invisiveis??[]):$,k=h.filter(y=>!_.has(y)),P=e.configInicial.visiveis??[],M=new Set(k),U=[];for(const y of P)M.has(y)&&U.push(y);for(const y of k)U.includes(y)||U.push(y);r.value=U,o.value=h.filter(y=>_.has(y))}c.watch(()=>[e.aberto,e.rotulosColunas,e.configInicial,e.colunas],()=>{e.aberto&&t()},{deep:!0,immediate:!0});function i(){n("fechar")}function a(){n("salvar",{visiveis:[...r.value],invisiveis:[...o.value]})}function l(h,f){var $,_;try{($=h.dataTransfer)==null||$.setData(im,JSON.stringify(f)),(_=h.dataTransfer)==null||_.setData("text/plain",f.rotulo),h.dataTransfer&&(h.dataTransfer.effectAllowed="move")}catch{}}function s(h){var f;try{const $=(f=h.dataTransfer)==null?void 0:f.getData(im);if(!$)return null;const _=JSON.parse($);return!_||typeof _.rotulo!="string"||_.origem!=="visiveis"&&_.origem!=="invisiveis"?null:_}catch{return null}}function u(h){const f=h.origem==="visiveis"?r.value:o.value,$=f.indexOf(h.rotulo);$>=0&&f.splice($,1)}function d(h,f,$){const _=h==="visiveis"?r.value:o.value,k=_.indexOf(f);k>=0&&_.splice(k,1),$===null||$<0||$>_.length?_.push(f):_.splice($,0,f)}function m(h,f,$,_){l(h,{rotulo:f,origem:$,index:_})}function p(h,f,$){const _=s(h);if(_)if(u(_),d(f,_.rotulo,$),f==="visiveis"){const k=o.value.indexOf(_.rotulo);k>=0&&o.value.splice(k,1)}else{const k=r.value.indexOf(_.rotulo);k>=0&&r.value.splice(k,1)}}function v(h,f,$){const _=s(h);if(_)if(u(_),d(f,_.rotulo,null),f==="visiveis"){const k=o.value.indexOf(_.rotulo);k>=0&&o.value.splice(k,1)}else{const k=r.value.indexOf(_.rotulo);k>=0&&r.value.splice(k,1)}}return{visiveisLocal:r,invisiveisLocal:o,emitFechar:i,emitSalvar:a,onDragStart:m,onDropItem:p,onDropLista:v}}}),x$={class:"eli-tabela-modal-colunas__modal",role:"dialog","aria-modal":"true","aria-label":"Configurar colunas"},D$={class:"eli-tabela-modal-colunas__header"},E$={class:"eli-tabela-modal-colunas__conteudo"},O$={class:"eli-tabela-modal-colunas__coluna"},N$=["onDragstart","onDrop"],j$={class:"eli-tabela-modal-colunas__item-texto"},U$={class:"eli-tabela-modal-colunas__coluna"},T$=["onDragstart","onDrop"],P$={class:"eli-tabela-modal-colunas__item-texto"},C$={class:"eli-tabela-modal-colunas__footer"};function A$(e,n,r,o,t,i){return e.aberto?(c.openBlock(),c.createElementBlock("div",{key:0,class:"eli-tabela-modal-colunas__overlay",role:"presentation",onClick:n[9]||(n[9]=c.withModifiers((...a)=>e.emitFechar&&e.emitFechar(...a),["self"]))},[c.createElementVNode("div",x$,[c.createElementVNode("header",D$,[n[10]||(n[10]=c.createElementVNode("h3",{class:"eli-tabela-modal-colunas__titulo"},"Colunas",-1)),c.createElementVNode("button",{type:"button",class:"eli-tabela-modal-colunas__fechar","aria-label":"Fechar",onClick:n[0]||(n[0]=(...a)=>e.emitFechar&&e.emitFechar(...a))}," × ")]),c.createElementVNode("div",E$,[c.createElementVNode("div",O$,[n[12]||(n[12]=c.createElementVNode("div",{class:"eli-tabela-modal-colunas__coluna-titulo"},"Visíveis",-1)),c.createElementVNode("div",{class:"eli-tabela-modal-colunas__lista",onDragover:n[2]||(n[2]=c.withModifiers(()=>{},["prevent"])),onDrop:n[3]||(n[3]=a=>e.onDropLista(a,"visiveis",null))},[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(e.visiveisLocal,(a,l)=>(c.openBlock(),c.createElementBlock("div",{key:`vis-${a}`,class:"eli-tabela-modal-colunas__item",draggable:"true",onDragstart:s=>e.onDragStart(s,a,"visiveis",l),onDragover:n[1]||(n[1]=c.withModifiers(()=>{},["prevent"])),onDrop:s=>e.onDropItem(s,"visiveis",l)},[n[11]||(n[11]=c.createElementVNode("span",{class:"eli-tabela-modal-colunas__item-handle","aria-hidden":"true"},"⋮⋮",-1)),c.createElementVNode("span",j$,c.toDisplayString(a),1)],40,N$))),128))],32)]),c.createElementVNode("div",U$,[n[14]||(n[14]=c.createElementVNode("div",{class:"eli-tabela-modal-colunas__coluna-titulo"},"Invisíveis",-1)),c.createElementVNode("div",{class:"eli-tabela-modal-colunas__lista",onDragover:n[5]||(n[5]=c.withModifiers(()=>{},["prevent"])),onDrop:n[6]||(n[6]=a=>e.onDropLista(a,"invisiveis",null))},[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(e.invisiveisLocal,(a,l)=>(c.openBlock(),c.createElementBlock("div",{key:`inv-${a}`,class:"eli-tabela-modal-colunas__item",draggable:"true",onDragstart:s=>e.onDragStart(s,a,"invisiveis",l),onDragover:n[4]||(n[4]=c.withModifiers(()=>{},["prevent"])),onDrop:s=>e.onDropItem(s,"invisiveis",l)},[n[13]||(n[13]=c.createElementVNode("span",{class:"eli-tabela-modal-colunas__item-handle","aria-hidden":"true"},"⋮⋮",-1)),c.createElementVNode("span",P$,c.toDisplayString(a),1)],40,T$))),128))],32)])]),c.createElementVNode("footer",C$,[c.createElementVNode("button",{type:"button",class:"eli-tabela-modal-colunas__botao eli-tabela-modal-colunas__botao--sec",onClick:n[7]||(n[7]=(...a)=>e.emitFechar&&e.emitFechar(...a))}," Cancelar "),c.createElementVNode("button",{type:"button",class:"eli-tabela-modal-colunas__botao eli-tabela-modal-colunas__botao--prim",onClick:n[8]||(n[8]=(...a)=>e.emitSalvar&&e.emitSalvar(...a))}," Salvar ")])])])):c.createCommentVNode("",!0)}const Z$=X(z$,[["render",A$]]);function B$(e){return e==="texto"||e==="numero"||e==="dataHora"}function M$(e){var r,o;const n=(o=(r=e==null?void 0:e.entrada)==null?void 0:r[1])==null?void 0:o.rotulo;return String(n||((e==null?void 0:e.coluna)??"Filtro"))}const V$=c.defineComponent({name:"EliTabelaModalFiltroAvancado",props:{aberto:{type:Boolean,required:!0},filtrosBase:{type:Array,required:!0},modelo:{type:Array,required:!0}},emits:{fechar:()=>!0,limpar:()=>!0,salvar:e=>!0},setup(e,{emit:n}){const r=c.ref([]),o=c.ref(""),t=c.computed(()=>(e.filtrosBase??[]).map(f=>String(f.coluna))),i=c.computed(()=>{const f=new Set(r.value.map($=>String($.coluna)));return(e.filtrosBase??[]).filter($=>!f.has(String($.coluna)))});function a(f){const $=f==null?void 0:f[0];return $==="numero"?vo:$==="dataHora"?po:cr}function l(f){return(f==null?void 0:f[1])??{rotulo:""}}function s(f){return(f==null?void 0:f[0])==="numero"?null:""}function u(){var _;const f=e.filtrosBase??[],$=Array.isArray(e.modelo)?e.modelo:[];r.value=$.map(k=>{const P=f.find(y=>String(y.coluna)===String(k.coluna))??f[0],M=(P==null?void 0:P.entrada)??k.entrada,U=(P==null?void 0:P.coluna)??k.coluna,E=String((P==null?void 0:P.operador)??"="),w=k.valor??s(M);return{coluna:U,operador:E,entrada:M,valor:w}});for(const k of r.value)t.value.includes(String(k.coluna))&&(k.operador=String(((_=f.find(P=>String(P.coluna)===String(k.coluna)))==null?void 0:_.operador)??"="),k.entrada&&!B$(k.entrada[0])&&(k.entrada=["texto",{rotulo:"Valor"}]))}c.watch(()=>[e.aberto,e.filtrosBase,e.modelo],()=>{e.aberto&&u()},{deep:!0,immediate:!0});function d(){if(!o.value)return;const f=(e.filtrosBase??[]).find($=>String($.coluna)===String(o.value));f&&(r.value.some($=>String($.coluna)===String(f.coluna))||(r.value.push({coluna:f.coluna,entrada:f.entrada,operador:String(f.operador??"="),valor:s(f.entrada)}),o.value=""))}function m(f){r.value.splice(f,1)}function p(){n("fechar")}function v(){n("limpar")}function h(){n("salvar",r.value.map(f=>({coluna:f.coluna,valor:f.valor})))}return{linhas:r,opcoesParaAdicionar:i,colunaParaAdicionar:o,componenteEntrada:a,opcoesEntrada:l,adicionar:d,remover:m,emitFechar:p,emitSalvar:h,emitLimpar:v,rotuloDoFiltro:M$}}}),F$={class:"eli-tabela-modal-filtro__modal",role:"dialog","aria-modal":"true","aria-label":"Filtro avançado"},L$={class:"eli-tabela-modal-filtro__header"},R$={class:"eli-tabela-modal-filtro__conteudo"},J$={key:0,class:"eli-tabela-modal-filtro__vazio"},q$={key:1,class:"eli-tabela-modal-filtro__lista"},Y$={class:"eli-tabela-modal-filtro__entrada"},K$=["onClick"],W$={class:"eli-tabela-modal-filtro__acoes"},G$=["disabled"],H$=["value"],X$=["disabled"],Q$={class:"eli-tabela-modal-filtro__footer"};function eb(e,n,r,o,t,i){return e.aberto?(c.openBlock(),c.createElementBlock("div",{key:0,class:"eli-tabela-modal-filtro__overlay",role:"presentation",onClick:n[6]||(n[6]=c.withModifiers((...a)=>e.emitFechar&&e.emitFechar(...a),["self"]))},[c.createElementVNode("div",F$,[c.createElementVNode("header",L$,[n[7]||(n[7]=c.createElementVNode("h3",{class:"eli-tabela-modal-filtro__titulo"},"Filtro avançado",-1)),c.createElementVNode("button",{type:"button",class:"eli-tabela-modal-filtro__fechar","aria-label":"Fechar",onClick:n[0]||(n[0]=(...a)=>e.emitFechar&&e.emitFechar(...a))}," × ")]),c.createElementVNode("div",R$,[e.filtrosBase.length?(c.openBlock(),c.createElementBlock("div",q$,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(e.linhas,(a,l)=>(c.openBlock(),c.createElementBlock("div",{key:String(a.coluna),class:"eli-tabela-modal-filtro__linha"},[c.createElementVNode("div",Y$,[(c.openBlock(),c.createBlock(c.resolveDynamicComponent(e.componenteEntrada(a.entrada)),{value:a.valor,"onUpdate:value":s=>a.valor=s,opcoes:e.opcoesEntrada(a.entrada),density:"compact"},null,40,["value","onUpdate:value","opcoes"]))]),c.createElementVNode("button",{type:"button",class:"eli-tabela-modal-filtro__remover",title:"Remover","aria-label":"Remover",onClick:s=>e.remover(l)}," × ",8,K$)]))),128))])):(c.openBlock(),c.createElementBlock("div",J$," Nenhum filtro configurado na tabela. ")),c.createElementVNode("div",W$,[c.withDirectives(c.createElementVNode("select",{"onUpdate:modelValue":n[1]||(n[1]=a=>e.colunaParaAdicionar=a),class:"eli-tabela-modal-filtro__select",disabled:!e.opcoesParaAdicionar.length},[n[8]||(n[8]=c.createElementVNode("option",{disabled:"",value:""},"Selecione um filtro…",-1)),(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(e.opcoesParaAdicionar,a=>(c.openBlock(),c.createElementBlock("option",{key:String(a.coluna),value:String(a.coluna)},c.toDisplayString(e.rotuloDoFiltro(a)),9,H$))),128))],8,G$),[[c.vModelSelect,e.colunaParaAdicionar]]),c.createElementVNode("button",{type:"button",class:"eli-tabela-modal-filtro__botao",onClick:n[2]||(n[2]=(...a)=>e.adicionar&&e.adicionar(...a)),disabled:!e.colunaParaAdicionar}," Adicionar ",8,X$)])]),c.createElementVNode("footer",Q$,[c.createElementVNode("button",{type:"button",class:"eli-tabela-modal-filtro__botao eli-tabela-modal-filtro__botao--sec",onClick:n[3]||(n[3]=(...a)=>e.emitLimpar&&e.emitLimpar(...a))}," Limpar "),c.createElementVNode("button",{type:"button",class:"eli-tabela-modal-filtro__botao eli-tabela-modal-filtro__botao--sec",onClick:n[4]||(n[4]=(...a)=>e.emitFechar&&e.emitFechar(...a))}," Cancelar "),c.createElementVNode("button",{type:"button",class:"eli-tabela-modal-filtro__botao eli-tabela-modal-filtro__botao--prim",onClick:n[5]||(n[5]=(...a)=>e.emitSalvar&&e.emitSalvar(...a))}," Aplicar ")])])])):c.createCommentVNode("",!0)}const tb=X(V$,[["render",eb]]),nb=c.defineComponent({name:"EliTabelaPaginacao",props:{pagina:{type:Number,required:!0},totalPaginas:{type:Number,required:!0},maximoBotoes:{type:Number,required:!1},acoes:{type:Array,required:!1,default:()=>[]},parametrosConsulta:{type:Object,required:!1}},emits:{alterar(e){return Number.isFinite(e)}},setup(e,{emit:n}){const r=c.computed(()=>{const u=e.maximoBotoes;return typeof u=="number"&&u>=5?Math.floor(u):7}),o=c.computed(()=>{const u=e.totalPaginas,d=e.pagina,m=r.value,p=[],v=k=>{p.push({label:String(k),pagina:k,ativo:k===d})},h=()=>{p.push({label:"…",ehEllipsis:!0})};if(u<=m){for(let k=1;k<=u;k+=1)v(k);return p}const f=Math.max(3,m-2);let $=Math.max(2,d-Math.floor(f/2)),_=$+f-1;_>=u&&(_=u-1,$=_-f+1),v(1),$>2&&h();for(let k=$;k<=_;k+=1)v(k);return _e.pagina<=1),a=c.computed(()=>e.pagina>=e.totalPaginas),l=c.computed(()=>e.pagina),s=c.computed(()=>e.totalPaginas);return{botoes:o,irParaPagina:t,anteriorDesabilitado:i,proximaDesabilitada:a,paginaAtual:l,totalPaginasExibidas:s}}}),rb={class:"eli-tabela__rodape"},ib={key:0,class:"eli-tabela__acoes-inferiores",style:{"margin-right":"auto"}},ob=["onClick"],ab={class:"eli-tabela__acoes-cabecalho-rotulo"},lb={key:1,class:"eli-tabela__paginacao",role:"navigation","aria-label":"Paginação de resultados"},cb=["disabled"],ub={key:0,class:"eli-tabela__pagina-ellipsis","aria-hidden":"true"},sb=["disabled","aria-current","aria-label","onClick"],db=["disabled"];function mb(e,n,r,o,t,i){return c.openBlock(),c.createElementBlock("div",rb,[e.acoes.length>0?(c.openBlock(),c.createElementBlock("div",ib,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(e.acoes,(a,l)=>(c.openBlock(),c.createElementBlock("button",{key:`${a.rotulo}-${l}`,type:"button",class:"eli-tabela__acao-inferior",style:c.normalizeStyle(a.cor?{borderColor:a.cor,color:a.cor}:void 0),onClick:s=>a.acao(e.parametrosConsulta)},[a.icone?(c.openBlock(),c.createBlock(c.resolveDynamicComponent(a.icone),{key:0,class:"eli-tabela__acoes-cabecalho-icone",size:16,"stroke-width":2})):c.createCommentVNode("",!0),c.createElementVNode("span",ab,c.toDisplayString(a.rotulo),1)],12,ob))),128))])):c.createCommentVNode("",!0),e.totalPaginasExibidas>1?(c.openBlock(),c.createElementBlock("nav",lb,[c.createElementVNode("button",{type:"button",class:"eli-tabela__pagina-botao",disabled:e.anteriorDesabilitado,"aria-label":"Página anterior",onClick:n[0]||(n[0]=a=>e.irParaPagina(e.paginaAtual-1))}," << ",8,cb),(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(e.botoes,(a,l)=>(c.openBlock(),c.createElementBlock(c.Fragment,{key:`${a.label}-${l}`},[a.ehEllipsis?(c.openBlock(),c.createElementBlock("span",ub,c.toDisplayString(a.label),1)):(c.openBlock(),c.createElementBlock("button",{key:1,type:"button",class:c.normalizeClass(["eli-tabela__pagina-botao",a.ativo?"eli-tabela__pagina-botao--ativo":void 0]),disabled:a.ativo,"aria-current":a.ativo?"page":void 0,"aria-label":`Ir para página ${a.label}`,onClick:s=>e.irParaPagina(a.pagina)},c.toDisplayString(a.label),11,sb))],64))),128)),c.createElementVNode("button",{type:"button",class:"eli-tabela__pagina-botao",disabled:e.proximaDesabilitada,"aria-label":"Próxima página",onClick:n[1]||(n[1]=a=>e.irParaPagina(e.paginaAtual+1))}," >> ",8,db)])):c.createCommentVNode("",!0)])}const fb=X(nb,[["render",mb]]);function ho(e){return`eli_tabela:${e}:filtro_avancado`}function om(e){try{const n=localStorage.getItem(ho(e));if(!n)return[];const r=JSON.parse(n);return Array.isArray(r)?r:[]}catch{return[]}}function pb(e,n){try{localStorage.setItem(ho(e),JSON.stringify(n??[]))}catch{}}function gb(e){try{localStorage.removeItem(ho(e))}catch{}}const vb=c.defineComponent({name:"EliTabela",inheritAttrs:!1,components:{EliTabelaCabecalho:Xh,EliTabelaEstados:u$,EliTabelaDebug:n$,EliTabelaHead:b$,EliTabelaBody:Bh,EliTabelaMenuAcoes:I$,EliTabelaPaginacao:fb,EliTabelaModalColunas:Z$,EliTabelaModalFiltroAvancado:tb},props:{tabela:{type:Object,required:!0}},setup(e){const r=c.ref(!1),o=c.ref(null),t=c.ref([]),i=c.ref(0),a=c.ref([]),l=c.ref(null),s=c.ref(null),u=c.ref({top:0,left:0}),d=c.ref(""),m=c.ref(1),p=c.ref(null),v=c.ref("asc"),h=c.ref(!1),f=c.ref(om(e.tabela.nome));function $(){h.value=!0}function _(){h.value=!1}function k(){f.value=[],gb(e.tabela.nome),h.value=!1,d.value="",m.value!==1?m.value=1:je()}function P(N){f.value=N??[],pb(e.tabela.nome,N??[]),h.value=!1,d.value="",m.value!==1?m.value=1:je()}const M=c.computed(()=>{const N=e.tabela.filtroAvancado??[];return(f.value??[]).filter(q=>q&&q.coluna!==void 0).map(q=>{const Y=N.find(G=>String(G.coluna)===String(q.coluna));return Y?{coluna:String(Y.coluna),operador:Y.operador,valor:q.valor}:null}).filter(Boolean)}),U=c.computed(()=>e.tabela),E=c.computed(()=>!!e.tabela.mostrarCaixaDeBusca),w=c.computed(()=>(e.tabela.acoesTabela??[]).filter(N=>N.posicao==="superior")),y=c.computed(()=>(e.tabela.acoesTabela??[]).filter(N=>N.posicao==="inferior")),J=c.computed(()=>w.value.length>0),Z=c.computed(()=>y.value.length>0),T=c.computed(()=>{const N=Math.max(1,le.value),Y={offSet:(m.value-1)*N,limit:N},G=(d.value??"").trim();if(G)Y.texto_busca=G;else{const se=M.value;se.length&&(Y.filtros=se)}return p.value&&(Y.coluna_ordem=p.value,Y.direcao_ordem=v.value),Y}),ne=c.ref(!1),te=c.ref(Gd(e.tabela.nome)),O=c.ref({}),D=c.computed(()=>e.tabela.colunas.map(N=>N.rotulo)),I=c.computed(()=>{var he,be;const N=e.tabela.colunas,Y=(((he=te.value.visiveis)==null?void 0:he.length)??0)>0||(((be=te.value.invisiveis)==null?void 0:be.length)??0)>0?te.value.invisiveis??[]:N.filter(ae=>ae.visivel===!1).map(ae=>ae.rotulo),G=new Set(Y),se=N.filter(ae=>G.has(ae.rotulo)),ke=Y,Ue=new Map;for(const ae of se)Ue.has(ae.rotulo)||Ue.set(ae.rotulo,ae);const de=[];for(const ae of ke){const Ee=Ue.get(ae);Ee&&de.push(Ee)}for(const ae of se)de.includes(ae)||de.push(ae);return de}),j=c.computed(()=>I.value.length>0),x=c.computed(()=>{var ae,Ee;const N=e.tabela.colunas,q=D.value,Y=(((ae=te.value.visiveis)==null?void 0:ae.length)??0)>0||(((Ee=te.value.invisiveis)==null?void 0:Ee.length)??0)>0,G=Y?te.value.invisiveis??[]:e.tabela.colunas.filter(ie=>ie.visivel===!1).map(ie=>ie.rotulo),se=new Set(G),ke=q.filter(ie=>!se.has(ie)),Ue=new Set(ke),de=Y?te.value.visiveis??[]:[],he=[];for(const ie of de)Ue.has(ie)&&he.push(ie);for(const ie of ke)he.includes(ie)||he.push(ie);const be=new Map;for(const ie of N)be.has(ie.rotulo)||be.set(ie.rotulo,ie);return he.map(ie=>be.get(ie)).filter(Boolean)}),V=c.computed(()=>x.value.length+(Je.value?1:0)+(j.value?1:0));function F(){ne.value=!0}function W(){ne.value=!1}function oe(N){te.value=N,Gv(e.tabela.nome,N),ne.value=!1,O.value={}}function ce(N){const q=!!O.value[N];O.value={...O.value,[N]:!q}}const le=c.computed(()=>{const N=e.tabela.registros_por_consulta;return typeof N=="number"&&N>0?Math.floor(N):10}),ve=c.computed(()=>{const N=le.value;if(!N||N<=0)return 1;const q=i.value??0;return q?Math.max(1,Math.ceil(q/N)):1}),Re=c.computed(()=>t.value??[]),Ae=c.computed(()=>i.value??0),Je=c.computed(()=>(e.tabela.acoesLinha??[]).length>0),Ze=c.computed(()=>(e.tabela.filtroAvancado??[]).length>0);let ue=0;function De(N){var de,he,be,ae,Ee,ie;const q=N.getBoundingClientRect(),Y=8,G=((be=(he=(de=s.value)==null?void 0:de.menuEl)==null?void 0:he.value)==null?void 0:be.offsetHeight)??0,se=((ie=(Ee=(ae=s.value)==null?void 0:ae.menuEl)==null?void 0:Ee.value)==null?void 0:ie.offsetWidth)??180;let ke=q.bottom+Y;const Ue=q.right-se;G&&ke+G>window.innerHeight-Y&&(ke=q.top-Y-G),u.value={top:Math.max(Y,Math.round(ke)),left:Math.max(Y,Math.round(Ue))}}function qe(N){var Y,G,se;if(l.value===null)return;const q=N.target;(se=(G=(Y=s.value)==null?void 0:Y.menuEl)==null?void 0:G.value)!=null&&se.contains(q)||(l.value=null)}function mt(N){if(N){if(p.value===N){v.value=v.value==="asc"?"desc":"asc",je();return}p.value=N,v.value="asc",m.value!==1?m.value=1:je()}}function xb(N){d.value!==N&&(d.value=N,m.value!==1?m.value=1:je())}function Db(N){const q=Math.min(Math.max(1,N),ve.value);q!==m.value&&(m.value=q)}function cm(N){const q=e.tabela.acoesLinha??[],Y=a.value[N]??[];return q.map((G,se)=>{const ke=G.exibir===void 0?!0:typeof G.exibir=="boolean"?G.exibir:!1;return{acao:G,indice:se,visivel:Y[se]??ke}}).filter(G=>G.visivel)}function um(N){return cm(N).length>0}function Eb(N,q){if(!um(N))return;if(l.value===N){l.value=null;return}l.value=N;const Y=(q==null?void 0:q.currentTarget)??null;Y&&(De(Y),requestAnimationFrame(()=>De(Y)))}async function je(){var ke,Ue;const N=++ue;r.value=!0,o.value=null,a.value=[],l.value=null,O.value={};const q=Math.max(1,le.value),G={offSet:(m.value-1)*q,limit:q},se=(d.value??"").trim();if(se)G.texto_busca=se;else{const de=M.value;de.length&&(G.filtros=de)}p.value&&(G.coluna_ordem=p.value,G.direcao_ordem=v.value);try{const de=e.tabela,he=await de.consulta(G);if(N!==ue)return;if(he.cod!==Yd.sucesso){t.value=[],i.value=0,o.value=he.mensagem;return}const be=((ke=he.valor)==null?void 0:ke.valores)??[],ae=((Ue=he.valor)==null?void 0:Ue.quantidade)??be.length;t.value=be,i.value=Number(ae)||0;const Ee=Math.max(1,Math.ceil((i.value||0)/q));m.value>Ee&&(m.value=Ee);const ie=de.acoesLinha??[];if(!ie.length){a.value=[];return}const Ob=be.map(()=>ie.map(Jt=>Jt.exibir===void 0?!0:typeof Jt.exibir=="boolean"?Jt.exibir:!1));a.value=Ob;const Nb=await Promise.all(be.map(async Jt=>Promise.all(ie.map(async ur=>{if(ur.exibir===void 0)return!0;if(typeof ur.exibir=="boolean")return ur.exibir;try{const jb=ur.exibir(Jt);return!!await Promise.resolve(jb)}catch{return!1}}))));N===ue&&(a.value=Nb)}catch(de){if(N!==ue)return;t.value=[],i.value=0,o.value=de instanceof Error?de.message:"Erro ao carregar dados."}finally{N===ue&&(r.value=!1)}}return c.onMounted(()=>{document.addEventListener("click",qe),je()}),c.onBeforeUnmount(()=>{document.removeEventListener("click",qe)}),c.watch(()=>e.tabela.mostrarCaixaDeBusca,N=>{!N&&d.value&&(d.value="",m.value!==1?m.value=1:je())}),c.watch(m,(N,q)=>{N!==q&&je()}),c.watch(()=>e.tabela,()=>{l.value=null,p.value=null,v.value="asc",d.value="",ne.value=!1,h.value=!1,te.value=Gd(e.tabela.nome),f.value=om(e.tabela.nome),O.value={},m.value!==1?m.value=1:je()}),c.watch(()=>e.tabela.registros_por_consulta,()=>{m.value!==1?m.value=1:je()}),c.watch(t,()=>{l.value=null,O.value={}}),{isDev:!1,tabela:U,carregando:r,erro:o,linhas:t,linhasPaginadas:Re,filtrosAvancadosAtivos:M,quantidadeFiltrada:Ae,quantidade:i,menuAberto:l,valorBusca:d,paginaAtual:m,colunaOrdenacao:p,direcaoOrdenacao:v,totalPaginas:ve,registrosPorConsulta:le,exibirBusca:E,exibirFiltroAvancado:Ze,acoesSuperiores:w,temAcoesSuperiores:J,acoesInferiores:y,temAcoesInferiores:Z,parametrosConsultaAtuais:T,temAcoes:Je,totalColunas:V,colunasEfetivas:x,rotulosColunas:D,modalColunasAberto:ne,configColunas:te,temColunasInvisiveis:j,colunasInvisiveisEfetivas:I,linhasExpandidas:O,abrirModalColunas:F,abrirModalFiltro:$,fecharModalColunas:W,salvarModalColunas:oe,modalFiltroAberto:h,filtrosUi:f,salvarFiltrosAvancados:P,limparFiltrosAvancados:k,fecharModalFiltro:_,alternarLinhaExpandida:ce,alternarOrdenacao:mt,atualizarBusca:xb,irParaPagina:Db,acoesDisponiveisPorLinha:cm,possuiAcoes:um,toggleMenu:Eb,menuPopup:s,menuPopupPos:u}}}),hb={class:"eli-tabela"},$b={class:"eli-tabela__table"},bb={key:0},_b=["colspan"];function yb(e,n,r,o,t,i){const a=c.resolveComponent("EliTabelaDebug"),l=c.resolveComponent("EliTabelaCabecalho"),s=c.resolveComponent("EliTabelaModalColunas"),u=c.resolveComponent("EliTabelaModalFiltroAvancado"),d=c.resolveComponent("EliTabelaHead"),m=c.resolveComponent("EliTabelaEstados"),p=c.resolveComponent("EliTabelaBody"),v=c.resolveComponent("EliTabelaMenuAcoes"),h=c.resolveComponent("EliTabelaPaginacao");return c.openBlock(),c.createElementBlock("div",hb,[c.createVNode(a,{isDev:e.isDev,menuAberto:e.menuAberto,menuPopupPos:e.menuPopupPos},{default:c.withCtx(()=>[c.createElementVNode("div",null,"paginaAtual: "+c.toDisplayString(e.paginaAtual),1),c.createElementVNode("div",null,"limit: "+c.toDisplayString(e.registrosPorConsulta),1),c.createElementVNode("div",null,"texto_busca: "+c.toDisplayString((e.valorBusca||"").trim()),1),c.createElementVNode("div",null,"filtrosAvancadosAtivos: "+c.toDisplayString(JSON.stringify(e.filtrosAvancadosAtivos)),1),c.createElementVNode("div",null,"quantidadeTotal: "+c.toDisplayString(e.quantidade),1)]),_:1},8,["isDev","menuAberto","menuPopupPos"]),e.exibirBusca||e.temAcoesSuperiores?(c.openBlock(),c.createBlock(l,{key:0,exibirBusca:e.exibirBusca,exibirBotaoFiltroAvancado:e.exibirFiltroAvancado,valorBusca:e.valorBusca,acoesCabecalho:e.acoesSuperiores,parametrosConsulta:e.parametrosConsultaAtuais,onBuscar:e.atualizarBusca,onColunas:e.abrirModalColunas,onFiltroAvancado:e.abrirModalFiltro},null,8,["exibirBusca","exibirBotaoFiltroAvancado","valorBusca","acoesCabecalho","parametrosConsulta","onBuscar","onColunas","onFiltroAvancado"])):c.createCommentVNode("",!0),c.createVNode(s,{aberto:e.modalColunasAberto,rotulosColunas:e.rotulosColunas,configInicial:e.configColunas,colunas:e.tabela.colunas,onFechar:e.fecharModalColunas,onSalvar:e.salvarModalColunas},null,8,["aberto","rotulosColunas","configInicial","colunas","onFechar","onSalvar"]),c.createVNode(u,{aberto:e.modalFiltroAberto,filtrosBase:e.tabela.filtroAvancado??[],modelo:e.filtrosUi,onFechar:e.fecharModalFiltro,onLimpar:e.limparFiltrosAvancados,onSalvar:e.salvarFiltrosAvancados},null,8,["aberto","filtrosBase","modelo","onFechar","onLimpar","onSalvar"]),c.createElementVNode("table",$b,[c.createVNode(d,{colunas:e.colunasEfetivas,temAcoes:e.temAcoes,temColunasInvisiveis:e.temColunasInvisiveis,colunaOrdenacao:e.colunaOrdenacao,direcaoOrdenacao:e.direcaoOrdenacao,onAlternarOrdenacao:e.alternarOrdenacao},null,8,["colunas","temAcoes","temColunasInvisiveis","colunaOrdenacao","direcaoOrdenacao","onAlternarOrdenacao"]),e.carregando||e.erro||!e.linhas.length?(c.openBlock(),c.createElementBlock("tbody",bb,[c.createElementVNode("tr",null,[c.createElementVNode("td",{colspan:e.totalColunas,style:{padding:"0"}},[c.createVNode(m,{carregando:e.carregando,erro:e.erro,mensagemVazio:e.tabela.mensagemVazio,style:{border:"none","border-radius":"0"}},null,8,["carregando","erro","mensagemVazio"])],8,_b)])])):(c.openBlock(),c.createBlock(p,{key:1,colunas:e.colunasEfetivas,colunasInvisiveis:e.colunasInvisiveisEfetivas,temColunasInvisiveis:e.temColunasInvisiveis,linhasExpandidas:e.linhasExpandidas,linhas:e.linhasPaginadas,temAcoes:e.temAcoes,menuAberto:e.menuAberto,possuiAcoes:e.possuiAcoes,toggleMenu:e.toggleMenu,alternarLinhaExpandida:e.alternarLinhaExpandida},null,8,["colunas","colunasInvisiveis","temColunasInvisiveis","linhasExpandidas","linhas","temAcoes","menuAberto","possuiAcoes","toggleMenu","alternarLinhaExpandida"]))]),c.createVNode(v,{ref:"menuPopup",menuAberto:e.menuAberto,posicao:e.menuPopupPos,acoes:e.menuAberto===null?[]:e.acoesDisponiveisPorLinha(e.menuAberto),linha:e.menuAberto===null?null:e.linhasPaginadas[e.menuAberto],onExecutar:n[0]||(n[0]=({acao:f,linha:$})=>{e.menuAberto=null,f.acao($)})},null,8,["menuAberto","posicao","acoes","linha"]),e.totalPaginas>1&&e.quantidadeFiltrada>0||e.temAcoesInferiores?(c.openBlock(),c.createBlock(h,{key:1,pagina:e.paginaAtual,totalPaginas:e.totalPaginas,maximoBotoes:e.tabela.maximo_botoes_paginacao,acoes:e.acoesInferiores,parametrosConsulta:e.parametrosConsultaAtuais,onAlterar:e.irParaPagina},null,8,["pagina","totalPaginas","maximoBotoes","acoes","parametrosConsulta","onAlterar"])):c.createCommentVNode("",!0)])}const am=X(vb,[["render",yb]]),kb=(e,n)=>[e,n],Sb=c.defineComponent({name:"EliOlaMundo",components:{EliBotao:mr,EliBadge:qt,EliEntradaTexto:cr},setup(){const e=c.ref(""),n=c.ref(""),r=c.ref(""),o=c.ref(""),t=c.ref("");return{nome:e,email:o,documento:t,telefone:r,cep:n}}}),wb={class:"grid-example"};function Ib(e,n,r,o,t,i){const a=c.resolveComponent("EliBadge"),l=c.resolveComponent("EliEntradaTexto"),s=c.resolveComponent("EliBotao");return c.openBlock(),c.createBlock(gm.VContainer,null,{default:c.withCtx(()=>[c.createVNode(Be.VCard,{class:"mx-auto",max_width:"400"},{default:c.withCtx(()=>[c.createVNode(Be.VCardTitle,null,{default:c.withCtx(()=>[c.createVNode(a,{badge:"Novo","offset-x":"-15",location:"right center"},{default:c.withCtx(()=>[...n[5]||(n[5]=[c.createTextVNode(" Olá Mundo! ",-1)])]),_:1})]),_:1}),c.createVNode(Be.VCardText,null,{default:c.withCtx(()=>[n[6]||(n[6]=c.createTextVNode(" Este é um componente de exemplo integrado com Vuetify. ",-1)),c.createElementVNode("div",wb,[c.createVNode(l,{value:e.nome,"onUpdate:value":n[0]||(n[0]=u=>e.nome=u),opcoes:{rotulo:"Nome",placeholder:"Digite o nome"},density:"compact"},null,8,["value"]),c.createVNode(l,{value:e.telefone,"onUpdate:value":n[1]||(n[1]=u=>e.telefone=u),opcoes:{rotulo:"Telefone",formato:"telefone"}},null,8,["value"]),c.createVNode(l,{value:e.cep,"onUpdate:value":n[2]||(n[2]=u=>e.cep=u),opcoes:{rotulo:"CEP",placeholder:"00000-000",formato:"cep"}},null,8,["value"]),c.createVNode(l,{value:e.documento,"onUpdate:value":n[3]||(n[3]=u=>e.documento=u),opcoes:{rotulo:"CPF / CNPJ",formato:"cpfCnpj"}},null,8,["value"]),c.createVNode(l,{value:e.email,"onUpdate:value":n[4]||(n[4]=u=>e.email=u),opcoes:{rotulo:"Email",placeholder:"email@exemplo.com",formato:"email"}},null,8,["value"])])]),_:1}),c.createVNode(Be.VCardActions,null,{default:c.withCtx(()=>[c.createVNode(s,{color:"primary",variant:"elevated",block:""},{default:c.withCtx(()=>[...n[7]||(n[7]=[c.createTextVNode(" Botão Vuetify ",-1)])]),_:1})]),_:1})]),_:1})]),_:1})}const lm=X(Sb,[["render",Ib]]),zb={install(e){e.component("EliOlaMundo",lm),e.component("EliBotao",mr),e.component("EliBadge",qt),e.component("EliCartao",bo),e.component("EliTabela",am),e.component("EliEntradaTexto",cr),e.component("EliEntradaNumero",vo),e.component("EliEntradaDataHora",po),e.component("EliEntradaParagrafo",Jd),e.component("EliEntradaSelecao",qd)}};H.EliBadge=qt,H.EliBotao=mr,H.EliCartao=bo,H.EliEntradaDataHora=po,H.EliEntradaNumero=vo,H.EliEntradaParagrafo=Jd,H.EliEntradaSelecao=qd,H.EliEntradaTexto=cr,H.EliOlaMundo=lm,H.EliTabela=am,H.celulaTabela=kb,H.default=zb,Object.defineProperties(H,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})})); diff --git a/dist/types/componentes/EliEntrada/EliEntradaDataHora.vue.d.ts b/dist/types/componentes/EliEntrada/EliEntradaDataHora.vue.d.ts index f2de81d..5386b4b 100644 --- a/dist/types/componentes/EliEntrada/EliEntradaDataHora.vue.d.ts +++ b/dist/types/componentes/EliEntrada/EliEntradaDataHora.vue.d.ts @@ -1,4 +1,4 @@ -import { PropType } from "vue"; +import { type PropType } from "vue"; import type { CampoDensidade, CampoVariante } from "../../tipos"; import type { PadroesEntradas } from "./tiposEntradas"; type EntradaDataHora = PadroesEntradas["dataHora"]; @@ -17,6 +17,8 @@ type PropsAntigas = { min?: string; max?: string; }; +declare const _default: typeof __VLS_export; +export default _default; declare const __VLS_export: import("vue").DefineComponent; @@ -186,15 +188,15 @@ declare const __VLS_export: import("vue").DefineComponent> & Readonly<{ - "onUpdate:value"?: ((_v: string | null) => any) | undefined; onInput?: ((_v: string | null) => any) | undefined; + "onUpdate:value"?: ((_v: string | null) => any) | undefined; onChange?: ((_v: string | null) => any) | undefined; - onFocus?: (() => any) | undefined; - onBlur?: (() => any) | undefined; "onUpdate:modelValue"?: ((_v: string | null) => any) | undefined; onAlterar?: ((_v: string | null) => any) | undefined; onFoco?: (() => any) | undefined; onDesfoco?: (() => any) | undefined; + onFocus?: (() => any) | undefined; + onBlur?: (() => any) | undefined; }>, { modo: "data" | "dataHora" | undefined; limpavel: boolean; @@ -222,10 +224,8 @@ declare const __VLS_export: import("vue").DefineComponent; -declare const _default: typeof __VLS_export; -export default _default; diff --git a/dist/types/componentes/EliEntrada/EliEntradaNumero.vue.d.ts b/dist/types/componentes/EliEntrada/EliEntradaNumero.vue.d.ts index c59ef14..1a3db23 100644 --- a/dist/types/componentes/EliEntrada/EliEntradaNumero.vue.d.ts +++ b/dist/types/componentes/EliEntrada/EliEntradaNumero.vue.d.ts @@ -1,6 +1,8 @@ -import { PropType } from "vue"; +import { type PropType } from "vue"; import type { PadroesEntradas } from "./tiposEntradas"; type EntradaNumero = PadroesEntradas["numero"]; +declare const _default: typeof __VLS_export; +export default _default; declare const __VLS_export: import("vue").DefineComponent void) & ((event: "input", _v: number | null | undefined) => void) & ((event: "change", _v: number | null | undefined) => void) & ((event: "focus") => void) & ((event: "blur") => void); + 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; isInteiro: import("vue").ComputedRef; onUpdateModelValue: (texto: string) => void; @@ -37,13 +39,11 @@ declare const __VLS_export: import("vue").DefineComponent> & Readonly<{ - "onUpdate:value"?: ((_v: number | null | undefined) => any) | undefined; onInput?: ((_v: number | null | undefined) => any) | undefined; + "onUpdate:value"?: ((_v: number | null | undefined) => any) | undefined; onChange?: ((_v: number | null | undefined) => any) | undefined; onFocus?: (() => any) | undefined; onBlur?: (() => any) | undefined; }>, { value: number | null | undefined; }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -declare const _default: typeof __VLS_export; -export default _default; diff --git a/dist/types/componentes/EliEntrada/EliEntradaParagrafo.vue.d.ts b/dist/types/componentes/EliEntrada/EliEntradaParagrafo.vue.d.ts index 9ed30cb..ff1e3e7 100644 --- a/dist/types/componentes/EliEntrada/EliEntradaParagrafo.vue.d.ts +++ b/dist/types/componentes/EliEntrada/EliEntradaParagrafo.vue.d.ts @@ -1,6 +1,8 @@ -import { PropType } from "vue"; +import { type PropType } from "vue"; import type { PadroesEntradas } from "./tiposEntradas"; type EntradaParagrafo = PadroesEntradas["paragrafo"]; +declare const _default: typeof __VLS_export; +export default _default; declare const __VLS_export: import("vue").DefineComponent; @@ -14,22 +16,8 @@ declare const __VLS_export: import("vue").DefineComponent void) & ((event: "input", _v: string | null | undefined) => void) & ((event: "change", _v: string | null | undefined) => void) & ((event: "focus") => void) & ((event: "blur") => void); + 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; - opcoes: { - rotulo: string; - placeholder?: string; - } & { - linhas?: number; - limiteCaracteres?: number; - limpavel?: boolean; - erro?: boolean; - mensagensErro?: string | string[]; - dica?: string; - dicaPersistente?: boolean; - densidade?: import("../..").CampoDensidade; - variante?: import("../..").CampoVariante; - }; }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { "update:value": (_v: EntradaParagrafo["value"]) => true; input: (_v: EntradaParagrafo["value"]) => true; @@ -46,8 +34,8 @@ declare const __VLS_export: import("vue").DefineComponent> & Readonly<{ - "onUpdate:value"?: ((_v: string | null | undefined) => any) | undefined; onInput?: ((_v: string | null | undefined) => any) | undefined; + "onUpdate:value"?: ((_v: string | null | undefined) => any) | undefined; onChange?: ((_v: string | null | undefined) => any) | undefined; onFocus?: (() => any) | undefined; onBlur?: (() => any) | undefined; @@ -67,7 +55,6 @@ declare const __VLS_export: import("vue").DefineComponent void) | undefined; "onClick:append"?: ((args_0: MouseEvent) => void) | undefined; - }, "disabled" | "style" | "density" | "error" | "direction" | "reset" | "isValid" | "resetValidation" | "validate" | "centerAffix" | "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"> & import("vue").ShallowUnwrapRef<{ reset: () => Promise; resetValidation: () => Promise; validate: (silent?: boolean) => Promise; @@ -1309,7 +1292,7 @@ declare const __VLS_export: import("vue").DefineComponent & 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" | keyof import("vue").VNodeProps | "class" | "style" | "label" | "density" | "error" | "id" | "width" | "direction" | "theme" | "appendIcon" | "baseColor" | "prependIcon" | "modelValue" | "$children" | "v-slots" | "v-slot:append" | "v-slot:default" | "v-slot:prepend" | "onUpdate:modelValue" | "centerAffix" | "errorMessages" | "focused" | "glow" | "hideSpinButtons" | "maxErrors" | "messages" | "persistentHint" | "readonly" | "rules" | "onUpdate:focused" | "validateOn" | "validationValue" | "maxWidth" | "minWidth" | "iconColor" | "hideDetails" | "hint" | "onClick:prepend" | "onClick:append" | "v-slot:details" | "v-slot:message">, `$${any}`> & { + }, 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}`> & { _allExposed: { reset: () => Promise; resetValidation: () => Promise; @@ -1336,7 +1319,6 @@ declare const __VLS_export: import("vue").DefineComponent; default: () => never[]; }; - direction: { - type: PropType<"horizontal" | "vertical">; - default: string; - validator: (v: any) => boolean; - }; "onClick:prepend": PropType<(args_0: MouseEvent) => void>; "onClick:append": PropType<(args_0: MouseEvent) => void>; appendInnerIcon: PropType; @@ -1568,11 +1545,6 @@ declare const __VLS_export: import("vue").DefineComponent; default: () => never[]; }; - direction: { - type: PropType<"horizontal" | "vertical">; - default: string; - validator: (v: any) => boolean; - }; "onClick:prepend": PropType<(args_0: MouseEvent) => void>; "onClick:append": PropType<(args_0: MouseEvent) => void>; appendInnerIcon: PropType; @@ -1638,5 +1610,3 @@ declare const __VLS_export: import("vue").DefineComponent>; }>>; }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -declare const _default: typeof __VLS_export; -export default _default; diff --git a/dist/types/componentes/EliEntrada/EliEntradaSelecao.vue.d.ts b/dist/types/componentes/EliEntrada/EliEntradaSelecao.vue.d.ts index 32d35c9..fb2f466 100644 --- a/dist/types/componentes/EliEntrada/EliEntradaSelecao.vue.d.ts +++ b/dist/types/componentes/EliEntrada/EliEntradaSelecao.vue.d.ts @@ -1,10 +1,12 @@ -import { PropType } from "vue"; +import { type PropType } from "vue"; import type { PadroesEntradas } from "./tiposEntradas"; type EntradaSelecao = PadroesEntradas["selecao"]; type ItemSelecao = { chave: string; rotulo: string; }; +declare const _default: typeof __VLS_export; +export default _default; declare const __VLS_export: import("vue").DefineComponent; @@ -18,27 +20,8 @@ declare const __VLS_export: import("vue").DefineComponent void) & ((event: "input", _v: string | null | undefined) => void) & ((event: "change", _v: string | null | undefined) => void) & ((event: "focus") => void) & ((event: "blur") => void); + 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; - opcoes: { - rotulo: string; - placeholder?: string; - } & { - itens: () => { - chave: string; - rotulo: string; - }[] | Promise<{ - chave: string; - rotulo: string; - }[]>; - limpavel?: boolean; - erro?: boolean; - mensagensErro?: string | string[]; - dica?: string; - dicaPersistente?: boolean; - densidade?: import("../..").CampoDensidade; - variante?: import("../..").CampoVariante; - }; itens: import("vue").Ref<{ chave: string; rotulo: string; @@ -63,8 +46,8 @@ declare const __VLS_export: import("vue").DefineComponent> & Readonly<{ - "onUpdate:value"?: ((_v: string | null | undefined) => any) | undefined; onInput?: ((_v: string | null | undefined) => any) | undefined; + "onUpdate:value"?: ((_v: string | null | undefined) => any) | undefined; onChange?: ((_v: string | null | undefined) => any) | undefined; onFocus?: (() => any) | undefined; onBlur?: (() => any) | undefined; @@ -89,7 +72,6 @@ declare const __VLS_export: import("vue").DefineComponent, fallback?: any) => any) | null; itemType: string | boolean | readonly (string | number)[] | ((item: Record, fallback?: any) => any) | null; clearable: boolean; @@ -138,7 +120,8 @@ declare const __VLS_export: import("vue").DefineComponent void) | undefined; "onClick:append"?: ((args_0: MouseEvent) => void) | undefined; - valueComparator?: typeof import("vuetify/lib/util/deepEqual.mjs").deepEqual | undefined; + valueComparator?: import("vuetify/lib/util/deepEqual.mjs").ValueComparator | undefined; + appendInnerIcon?: import("vuetify/lib/composables/icons.mjs").IconValue | undefined; bgColor?: string | undefined; centerAffix?: boolean | undefined; color?: string | undefined; @@ -196,13 +179,12 @@ declare const __VLS_export: import("vue").DefineComponent, fallback?: any) => any) | null; returnObject: boolean; - valueComparator?: typeof import("vuetify/lib/util/deepEqual.mjs").deepEqual | undefined; + valueComparator?: import("vuetify/lib/util/deepEqual.mjs").ValueComparator | undefined; activatable: boolean; selectable: boolean; activeStrategy?: import("vuetify/lib/composables/nested/nested.mjs").ActiveStrategyProp | undefined; selectStrategy: import("vuetify/lib/composables/nested/nested.mjs").SelectStrategyProp; openStrategy: import("vuetify/lib/composables/nested/nested.mjs").OpenStrategyProp; - activated?: any; mandatory: boolean; itemsRegistration: import("vuetify/lib/composables/nested/nested.mjs").ItemsRegistrationType; baseColor?: string | undefined; @@ -223,7 +205,6 @@ declare const __VLS_export: import("vue").DefineComponent any) | undefined; - "onUpdate:activated"?: ((value: unknown) => any) | undefined; } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "activatable" | "density" | "disabled" | "filterable" | "itemType" | "itemsRegistration" | "lines" | "mandatory" | "nav" | "openStrategy" | "returnObject" | "rounded" | "selectStrategy" | "selectable" | "slim" | "style" | "tag" | "tile" | "variant"> & { items?: readonly any[] | undefined; itemTitle?: import("vuetify/lib/util/helpers.mjs").SelectItemKey; @@ -231,7 +212,11 @@ declare const __VLS_export: import("vue").DefineComponent; itemProps?: import("vuetify/lib/util/helpers.mjs").SelectItemKey; selected?: unknown; + activated?: unknown; + opened?: unknown; "onUpdate:selected"?: ((value: unknown) => void) | undefined; + "onUpdate:activated"?: ((value: unknown) => void) | undefined; + "onUpdate:opened"?: ((value: unknown) => void) | undefined; "onClick:open"?: ((value: { id: unknown; value: boolean; @@ -242,8 +227,6 @@ declare const __VLS_export: import("vue").DefineComponent void) | undefined; - opened?: unknown; - "onUpdate:opened"?: ((value: unknown) => void) | undefined; } & { $children?: { prepend?: ((arg: import("vuetify/lib/components/VList/VListItem.mjs").ListItemSlot & { @@ -642,7 +625,6 @@ declare const __VLS_export: import("vue").DefineComponent; }) => import("vue").VNodeChild) | undefined; loader?: ((arg: import("vuetify/lib/composables/loader.mjs").LoaderSlotProps) => import("vue").VNodeChild) | undefined; - default?: (() => import("vue").VNodeChild) | undefined; + default?: ((arg: { + id: Readonly>; + }) => import("vue").VNodeChild) | undefined; counter?: ((arg: import("vuetify/lib/components/VCounter/VCounter.mjs").VCounterSlot) => import("vue").VNodeChild) | undefined; } | { $stable?: boolean | undefined; - } | (() => import("vue").VNodeChild) | import("vue").VNodeChild; + } | ((arg: { + id: Readonly>; + }) => import("vue").VNodeChild) | import("vue").VNodeChild; "v-slots"?: { prepend?: false | ((arg: import("vuetify/lib/components/VInput/VInput.mjs").VInputSlot) => import("vue").VNodeChild) | undefined; append?: false | ((arg: import("vuetify/lib/components/VInput/VInput.mjs").VInputSlot) => import("vue").VNodeChild) | undefined; @@ -699,7 +685,9 @@ declare const __VLS_export: import("vue").DefineComponent; }) => import("vue").VNodeChild) | undefined; loader?: false | ((arg: import("vuetify/lib/composables/loader.mjs").LoaderSlotProps) => import("vue").VNodeChild) | undefined; - default?: false | (() => import("vue").VNodeChild) | undefined; + default?: false | ((arg: { + id: Readonly>; + }) => import("vue").VNodeChild) | undefined; counter?: false | ((arg: import("vuetify/lib/components/VCounter/VCounter.mjs").VCounterSlot) => import("vue").VNodeChild) | undefined; } | undefined; focused: boolean; @@ -727,7 +715,6 @@ declare const __VLS_export: import("vue").DefineComponent void) | undefined; "onClick:append"?: ((args_0: MouseEvent) => void) | undefined; appendInnerIcon?: import("vuetify/lib/composables/icons.mjs").IconValue | undefined; @@ -774,7 +761,9 @@ declare const __VLS_export: import("vue").DefineComponent; }) => import("vue").VNodeChild) | undefined; "v-slot:counter"?: false | ((arg: import("vuetify/lib/components/VCounter/VCounter.mjs").VCounterSlot) => import("vue").VNodeChild) | undefined; - "v-slot:default"?: false | (() => import("vue").VNodeChild) | undefined; + "v-slot:default"?: false | ((arg: { + id: Readonly>; + }) => import("vue").VNodeChild) | undefined; "v-slot:details"?: false | ((arg: import("vuetify/lib/components/VInput/VInput.mjs").VInputSlot) => import("vue").VNodeChild) | undefined; "v-slot:label"?: false | ((arg: import("vuetify/lib/components/VField/VField.mjs").DefaultInputSlot & { label: string | undefined; @@ -784,7 +773,7 @@ declare const __VLS_export: import("vue").DefineComponent import("vue").VNodeChild) | undefined; "v-slot:prepend"?: false | ((arg: import("vuetify/lib/components/VInput/VInput.mjs").VInputSlot) => import("vue").VNodeChild) | undefined; "v-slot:prepend-inner"?: false | ((arg: import("vuetify/lib/components/VField/VField.mjs").DefaultInputSlot) => import("vue").VNodeChild) | undefined; - } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "active" | "autofocus" | "centerAffix" | "clearIcon" | "clearable" | "density" | "direction" | "dirty" | "disabled" | "error" | "errorMessages" | "flat" | "focused" | "glow" | "hideSpinButtons" | "maxErrors" | "messages" | "persistentClear" | "persistentCounter" | "persistentHint" | "persistentPlaceholder" | "readonly" | "reverse" | "rounded" | "rules" | "singleLine" | "style" | "tile" | "type" | "variant">; + } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "active" | "autofocus" | "centerAffix" | "clearIcon" | "clearable" | "density" | "dirty" | "disabled" | "error" | "errorMessages" | "flat" | "focused" | "glow" | "hideSpinButtons" | "maxErrors" | "messages" | "persistentClear" | "persistentCounter" | "persistentHint" | "persistentPlaceholder" | "readonly" | "reverse" | "rounded" | "rules" | "singleLine" | "style" | "tile" | "type" | "variant">; $attrs: { [x: string]: unknown; }; @@ -824,7 +813,9 @@ declare const __VLS_export: import("vue").DefineComponent import("vue").VNode[]) | undefined; - default?: (() => import("vue").VNode>; + }) => import("vue").VNode[]) | undefined; counter?: ((arg: import("vuetify/lib/components/VCounter/VCounter.mjs").VCounterSlot) => import("vue").VNode; }) => import("vue").VNodeChild) | undefined; loader?: ((arg: import("vuetify/lib/composables/loader.mjs").LoaderSlotProps) => import("vue").VNodeChild) | undefined; - default?: (() => import("vue").VNodeChild) | undefined; + default?: ((arg: { + id: Readonly>; + }) => import("vue").VNodeChild) | undefined; counter?: ((arg: import("vuetify/lib/components/VCounter/VCounter.mjs").VCounterSlot) => import("vue").VNodeChild) | undefined; } | { $stable?: boolean | undefined; - } | (() => import("vue").VNodeChild) | import("vue").VNodeChild; + } | ((arg: { + id: Readonly>; + }) => import("vue").VNodeChild) | import("vue").VNodeChild; "v-slots"?: { prepend?: false | ((arg: import("vuetify/lib/components/VInput/VInput.mjs").VInputSlot) => import("vue").VNodeChild) | undefined; append?: false | ((arg: import("vuetify/lib/components/VInput/VInput.mjs").VInputSlot) => import("vue").VNodeChild) | undefined; @@ -940,7 +934,9 @@ declare const __VLS_export: import("vue").DefineComponent; }) => import("vue").VNodeChild) | undefined; loader?: false | ((arg: import("vuetify/lib/composables/loader.mjs").LoaderSlotProps) => import("vue").VNodeChild) | undefined; - default?: false | (() => import("vue").VNodeChild) | undefined; + default?: false | ((arg: { + id: Readonly>; + }) => import("vue").VNodeChild) | undefined; counter?: false | ((arg: import("vuetify/lib/components/VCounter/VCounter.mjs").VCounterSlot) => import("vue").VNodeChild) | undefined; } | undefined; } & { @@ -950,7 +946,9 @@ declare const __VLS_export: import("vue").DefineComponent; }) => import("vue").VNodeChild) | undefined; "v-slot:counter"?: false | ((arg: import("vuetify/lib/components/VCounter/VCounter.mjs").VCounterSlot) => import("vue").VNodeChild) | undefined; - "v-slot:default"?: false | (() => import("vue").VNodeChild) | undefined; + "v-slot:default"?: false | ((arg: { + id: Readonly>; + }) => import("vue").VNodeChild) | undefined; "v-slot:details"?: false | ((arg: import("vuetify/lib/components/VInput/VInput.mjs").VInputSlot) => import("vue").VNodeChild) | undefined; "v-slot:label"?: false | ((arg: import("vuetify/lib/components/VField/VField.mjs").DefaultInputSlot & { label: string | undefined; @@ -1264,6 +1262,7 @@ declare const __VLS_export: import("vue").DefineComponent void) | undefined; id?: string | undefined; details: boolean; + labelId?: string | undefined; } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "active" | "centerAffix" | "clearIcon" | "clearable" | "details" | "dirty" | "disabled" | "error" | "flat" | "focused" | "glow" | "persistentClear" | "reverse" | "rounded" | "singleLine" | "style" | "tile" | "variant">; $attrs: { [x: string]: unknown; @@ -1336,6 +1335,7 @@ declare const __VLS_export: import("vue").DefineComponent void) | undefined; "onClick:prependInner"?: ((args_0: MouseEvent) => void) | undefined; id?: string | undefined; + labelId?: string | undefined; } & { "onUpdate:focused"?: ((focused: boolean) => any) | undefined; }, { @@ -1461,6 +1461,7 @@ declare const __VLS_export: import("vue").DefineComponent void) | undefined; "onClick:prependInner"?: ((args_0: MouseEvent) => void) | undefined; id?: string | undefined; + labelId?: string | undefined; } & { "onUpdate:focused"?: ((focused: boolean) => any) | undefined; }, "controlRef" | "fieldIconColor" | ("active" | "centerAffix" | "clearIcon" | "clearable" | "details" | "dirty" | "disabled" | "error" | "flat" | "focused" | "glow" | "persistentClear" | "reverse" | "rounded" | "singleLine" | "style" | "tile" | "variant")> & import("vue").ShallowUnwrapRef<{ @@ -1469,7 +1470,7 @@ declare const __VLS_export: import("vue").DefineComponent & {} & import("vue").ComponentCustomProperties & {} & import("vuetify/lib/util/defineComponent.mjs").GenericProps<{ modelValue?: unknown; "onUpdate:modelValue"?: ((value: unknown) => void) | undefined; - }, import("vuetify/lib/components/VField/VField.mjs").VFieldSlots>, "$children" | "appendInnerIcon" | "baseColor" | "bgColor" | "class" | "color" | "iconColor" | "id" | "label" | "loading" | "modelValue" | "onClick:appendInner" | "onClick:clear" | "onClick:prependInner" | "onUpdate:focused" | "onUpdate:modelValue" | "prependInnerIcon" | "theme" | "v-slot:append-inner" | "v-slot:clear" | "v-slot:default" | "v-slot:label" | "v-slot:loader" | "v-slot:prepend-inner" | "v-slots" | ("active" | "centerAffix" | "clearIcon" | "clearable" | "details" | "dirty" | "disabled" | "error" | "flat" | "focused" | "glow" | "persistentClear" | "reverse" | "rounded" | "singleLine" | "style" | "tile" | "variant") | keyof import("vue").VNodeProps>, `$${any}`> & { + }, import("vuetify/lib/components/VField/VField.mjs").VFieldSlots>, "$children" | "appendInnerIcon" | "baseColor" | "bgColor" | "class" | "color" | "iconColor" | "id" | "label" | "labelId" | "loading" | "modelValue" | "onClick:appendInner" | "onClick:clear" | "onClick:prependInner" | "onUpdate:focused" | "onUpdate:modelValue" | "prependInnerIcon" | "theme" | "v-slot:append-inner" | "v-slot:clear" | "v-slot:default" | "v-slot:label" | "v-slot:loader" | "v-slot:prepend-inner" | "v-slots" | ("active" | "centerAffix" | "clearIcon" | "clearable" | "details" | "dirty" | "disabled" | "error" | "flat" | "focused" | "glow" | "persistentClear" | "reverse" | "rounded" | "singleLine" | "style" | "tile" | "variant") | keyof import("vue").VNodeProps>, `$${any}`> & { _allExposed: { reset: () => Promise; resetValidation: () => Promise; @@ -1498,7 +1499,6 @@ declare const __VLS_export: import("vue").DefineComponent import("vue").VNode[]; - default: () => import("vue").VNode>; + }) => import("vue").VNode[]; counter: (arg: import("vuetify/lib/components/VCounter/VCounter.mjs").VCounterSlot) => import("vue").VNode; }) => import("vue").VNodeChild) | undefined; loader?: ((arg: import("vuetify/lib/composables/loader.mjs").LoaderSlotProps) => import("vue").VNodeChild) | undefined; - default?: (() => import("vue").VNodeChild) | undefined; + default?: ((arg: { + id: Readonly>; + }) => import("vue").VNodeChild) | undefined; counter?: ((arg: import("vuetify/lib/components/VCounter/VCounter.mjs").VCounterSlot) => import("vue").VNodeChild) | undefined; } | { $stable?: boolean | undefined; - } | (() => import("vue").VNodeChild) | import("vue").VNodeChild; + } | ((arg: { + id: Readonly>; + }) => import("vue").VNodeChild) | import("vue").VNodeChild; "v-slots"?: { prepend?: false | ((arg: import("vuetify/lib/components/VInput/VInput.mjs").VInputSlot) => import("vue").VNodeChild) | undefined; append?: false | ((arg: import("vuetify/lib/components/VInput/VInput.mjs").VInputSlot) => import("vue").VNodeChild) | undefined; @@ -1710,7 +1714,9 @@ declare const __VLS_export: import("vue").DefineComponent; }) => import("vue").VNodeChild) | undefined; loader?: false | ((arg: import("vuetify/lib/composables/loader.mjs").LoaderSlotProps) => import("vue").VNodeChild) | undefined; - default?: false | (() => import("vue").VNodeChild) | undefined; + default?: false | ((arg: { + id: Readonly>; + }) => import("vue").VNodeChild) | undefined; counter?: false | ((arg: import("vuetify/lib/components/VCounter/VCounter.mjs").VCounterSlot) => import("vue").VNodeChild) | undefined; } | undefined; } & { @@ -1720,7 +1726,9 @@ declare const __VLS_export: import("vue").DefineComponent; }) => import("vue").VNodeChild) | undefined; "v-slot:counter"?: false | ((arg: import("vuetify/lib/components/VCounter/VCounter.mjs").VCounterSlot) => import("vue").VNodeChild) | undefined; - "v-slot:default"?: false | (() => import("vue").VNodeChild) | undefined; + "v-slot:default"?: false | ((arg: { + id: Readonly>; + }) => import("vue").VNodeChild) | undefined; "v-slot:details"?: false | ((arg: import("vuetify/lib/components/VInput/VInput.mjs").VInputSlot) => import("vue").VNodeChild) | undefined; "v-slot:label"?: false | ((arg: import("vuetify/lib/components/VField/VField.mjs").DefaultInputSlot & { label: string | undefined; @@ -1735,7 +1743,7 @@ declare const __VLS_export: import("vue").DefineComponent any) | undefined; "onUpdate:focused"?: ((focused: boolean) => any) | undefined; "onUpdate:modelValue"?: ((val: string) => any) | undefined; - }, "ATTRIBUTE_NODE" | "CDATA_SECTION_NODE" | "COMMENT_NODE" | "DOCUMENT_FRAGMENT_NODE" | "DOCUMENT_NODE" | "DOCUMENT_POSITION_CONTAINED_BY" | "DOCUMENT_POSITION_CONTAINS" | "DOCUMENT_POSITION_DISCONNECTED" | "DOCUMENT_POSITION_FOLLOWING" | "DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC" | "DOCUMENT_POSITION_PRECEDING" | "DOCUMENT_TYPE_NODE" | "ELEMENT_NODE" | "ENTITY_NODE" | "ENTITY_REFERENCE_NODE" | "NOTATION_NODE" | "PROCESSING_INSTRUCTION_NODE" | "TEXT_NODE" | "_" | "_allExposed" | "_clickOutside" | "_mutate" | "_observe" | "_onResize" | "_onScroll" | "_ripple" | "_touchHandlers" | "_transitionInitialStyles" | "accept" | "accessKey" | "accessKeyLabel" | "active" | "addEventListener" | "after" | "align" | "alt" | "animate" | "append" | "appendChild" | "ariaAtomic" | "ariaAutoComplete" | "ariaBrailleLabel" | "ariaBrailleRoleDescription" | "ariaBusy" | "ariaChecked" | "ariaColCount" | "ariaColIndex" | "ariaColIndexText" | "ariaColSpan" | "ariaCurrent" | "ariaDescription" | "ariaDisabled" | "ariaExpanded" | "ariaHasPopup" | "ariaHidden" | "ariaInvalid" | "ariaKeyShortcuts" | "ariaLabel" | "ariaLevel" | "ariaLive" | "ariaModal" | "ariaMultiLine" | "ariaMultiSelectable" | "ariaOrientation" | "ariaPlaceholder" | "ariaPosInSet" | "ariaPressed" | "ariaReadOnly" | "ariaRelevant" | "ariaRequired" | "ariaRoleDescription" | "ariaRowCount" | "ariaRowIndex" | "ariaRowIndexText" | "ariaRowSpan" | "ariaSelected" | "ariaSetSize" | "ariaSort" | "ariaValueMax" | "ariaValueMin" | "ariaValueNow" | "ariaValueText" | "assignedSlot" | "attachInternals" | "attachShadow" | "attributeStyleMap" | "attributes" | "autocapitalize" | "autocomplete" | "autofocus" | "baseURI" | "before" | "blur" | "capture" | "centerAffix" | "checkValidity" | "checkVisibility" | "checked" | "childElementCount" | "childNodes" | "children" | "classList" | "className" | "clearIcon" | "clearable" | "click" | "clientHeight" | "clientLeft" | "clientTop" | "clientWidth" | "cloneNode" | "closest" | "compareDocumentPosition" | "computedStyleMap" | "contains" | "contentEditable" | "controlRef" | "currentCSSZoom" | "dataset" | "defaultChecked" | "defaultValue" | "density" | "dir" | "dirName" | "direction" | "dirty" | "disabled" | "dispatchEvent" | "draggable" | "enterKeyHint" | "error" | "errorMessages" | "fieldIconColor" | "files" | "firstChild" | "firstElementChild" | "flat" | "focus" | "focused" | "form" | "formAction" | "formEnctype" | "formMethod" | "formNoValidate" | "formTarget" | "getAnimations" | "getAttribute" | "getAttributeNS" | "getAttributeNames" | "getAttributeNode" | "getAttributeNodeNS" | "getBoundingClientRect" | "getClientRects" | "getElementsByClassName" | "getElementsByTagName" | "getElementsByTagNameNS" | "getHTML" | "getRootNode" | "glow" | "hasAttribute" | "hasAttributeNS" | "hasAttributes" | "hasChildNodes" | "hasPointerCapture" | "height" | "hidden" | "hidePopover" | "hideSpinButtons" | "id" | "indeterminate" | "inert" | "innerHTML" | "innerText" | "inputMode" | "insertAdjacentElement" | "insertAdjacentHTML" | "insertAdjacentText" | "insertBefore" | "isConnected" | "isContentEditable" | "isDefaultNamespace" | "isEqualNode" | "isSameNode" | "isValid" | "labels" | "lang" | "lastChild" | "lastElementChild" | "list" | "localName" | "lookupNamespaceURI" | "lookupPrefix" | "matches" | "max" | "maxErrors" | "maxLength" | "messages" | "min" | "minLength" | "multiple" | "name" | "namespaceURI" | "nextElementSibling" | "nextSibling" | "nodeName" | "nodeType" | "nodeValue" | "nonce" | "normalize" | "offsetHeight" | "offsetLeft" | "offsetParent" | "offsetTop" | "offsetWidth" | "onabort" | "onanimationcancel" | "onanimationend" | "onanimationiteration" | "onanimationstart" | "onauxclick" | "onbeforeinput" | "onbeforetoggle" | "onblur" | "oncancel" | "oncanplay" | "oncanplaythrough" | "onchange" | "onclick" | "onclose" | "oncontextlost" | "oncontextmenu" | "oncontextrestored" | "oncopy" | "oncuechange" | "oncut" | "ondblclick" | "ondrag" | "ondragend" | "ondragenter" | "ondragleave" | "ondragover" | "ondragstart" | "ondrop" | "ondurationchange" | "onemptied" | "onended" | "onerror" | "onfocus" | "onformdata" | "onfullscreenchange" | "onfullscreenerror" | "ongotpointercapture" | "oninput" | "oninvalid" | "onkeydown" | "onkeypress" | "onkeyup" | "onload" | "onloadeddata" | "onloadedmetadata" | "onloadstart" | "onlostpointercapture" | "onmousedown" | "onmouseenter" | "onmouseleave" | "onmousemove" | "onmouseout" | "onmouseover" | "onmouseup" | "onpaste" | "onpause" | "onplay" | "onplaying" | "onpointercancel" | "onpointerdown" | "onpointerenter" | "onpointerleave" | "onpointermove" | "onpointerout" | "onpointerover" | "onpointerup" | "onprogress" | "onratechange" | "onreset" | "onresize" | "onscroll" | "onscrollend" | "onsecuritypolicyviolation" | "onseeked" | "onseeking" | "onselect" | "onselectionchange" | "onselectstart" | "onslotchange" | "onstalled" | "onsubmit" | "onsuspend" | "ontimeupdate" | "ontoggle" | "ontouchcancel" | "ontouchend" | "ontouchmove" | "ontouchstart" | "ontransitioncancel" | "ontransitionend" | "ontransitionrun" | "ontransitionstart" | "onvolumechange" | "onwaiting" | "onwebkitanimationend" | "onwebkitanimationiteration" | "onwebkitanimationstart" | "onwebkittransitionend" | "onwheel" | "outerHTML" | "outerText" | "ownerDocument" | "parentElement" | "parentNode" | "part" | "pattern" | "persistentClear" | "persistentCounter" | "persistentHint" | "persistentPlaceholder" | "placeholder" | "popover" | "popoverTargetAction" | "popoverTargetElement" | "prefix" | "prepend" | "previousElementSibling" | "previousSibling" | "querySelector" | "querySelectorAll" | "readOnly" | "readonly" | "releasePointerCapture" | "remove" | "removeAttribute" | "removeAttributeNS" | "removeAttributeNode" | "removeChild" | "removeEventListener" | "replaceChild" | "replaceChildren" | "replaceWith" | "reportValidity" | "requestFullscreen" | "requestPointerLock" | "required" | "reset" | "resetValidation" | "reverse" | "role" | "rounded" | "rules" | "scroll" | "scrollBy" | "scrollHeight" | "scrollIntoView" | "scrollLeft" | "scrollTo" | "scrollTop" | "scrollWidth" | "select" | "selectionDirection" | "selectionEnd" | "selectionStart" | "setAttribute" | "setAttributeNS" | "setAttributeNode" | "setAttributeNodeNS" | "setCustomValidity" | "setHTMLUnsafe" | "setPointerCapture" | "setRangeText" | "setSelectionRange" | "shadowRoot" | "showPicker" | "showPopover" | "singleLine" | "size" | "slot" | "spellcheck" | "src" | "step" | "stepDown" | "stepUp" | "style" | "tabIndex" | "tagName" | "textContent" | "tile" | "title" | "toggleAttribute" | "togglePopover" | "translate" | "type" | "useMap" | "validate" | "validationMessage" | "validity" | "value" | "valueAsDate" | "valueAsNumber" | "variant" | "webkitEntries" | "webkitMatchesSelector" | "webkitdirectory" | "width" | "willValidate" | "writingSuggestions"> & import("vue").ShallowUnwrapRef & import("vue").ShallowUnwrapRef void) | undefined; id?: string | undefined; details: boolean; + labelId?: string | undefined; } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "active" | "centerAffix" | "clearIcon" | "clearable" | "details" | "dirty" | "disabled" | "error" | "flat" | "focused" | "glow" | "persistentClear" | "reverse" | "rounded" | "singleLine" | "style" | "tile" | "variant">; $attrs: { [x: string]: unknown; @@ -2106,6 +2115,7 @@ declare const __VLS_export: import("vue").DefineComponent void) | undefined; "onClick:prependInner"?: ((args_0: MouseEvent) => void) | undefined; id?: string | undefined; + labelId?: string | undefined; } & { "onUpdate:focused"?: ((focused: boolean) => any) | undefined; }, { @@ -2231,6 +2241,7 @@ declare const __VLS_export: import("vue").DefineComponent void) | undefined; "onClick:prependInner"?: ((args_0: MouseEvent) => void) | undefined; id?: string | undefined; + labelId?: string | undefined; } & { "onUpdate:focused"?: ((focused: boolean) => any) | undefined; }, "controlRef" | "fieldIconColor" | ("active" | "centerAffix" | "clearIcon" | "clearable" | "details" | "dirty" | "disabled" | "error" | "flat" | "focused" | "glow" | "persistentClear" | "reverse" | "rounded" | "singleLine" | "style" | "tile" | "variant")> & import("vue").ShallowUnwrapRef<{ @@ -2239,7 +2250,7 @@ declare const __VLS_export: import("vue").DefineComponent & {} & import("vue").ComponentCustomProperties & {} & import("vuetify/lib/util/defineComponent.mjs").GenericProps<{ modelValue?: unknown; "onUpdate:modelValue"?: ((value: unknown) => void) | undefined; - }, import("vuetify/lib/components/VField/VField.mjs").VFieldSlots>, "$children" | "appendInnerIcon" | "baseColor" | "bgColor" | "class" | "color" | "iconColor" | "id" | "label" | "loading" | "modelValue" | "onClick:appendInner" | "onClick:clear" | "onClick:prependInner" | "onUpdate:focused" | "onUpdate:modelValue" | "prependInnerIcon" | "theme" | "v-slot:append-inner" | "v-slot:clear" | "v-slot:default" | "v-slot:label" | "v-slot:loader" | "v-slot:prepend-inner" | "v-slots" | ("active" | "centerAffix" | "clearIcon" | "clearable" | "details" | "dirty" | "disabled" | "error" | "flat" | "focused" | "glow" | "persistentClear" | "reverse" | "rounded" | "singleLine" | "style" | "tile" | "variant") | keyof import("vue").VNodeProps>, `$${any}`> & { + }, import("vuetify/lib/components/VField/VField.mjs").VFieldSlots>, "$children" | "appendInnerIcon" | "baseColor" | "bgColor" | "class" | "color" | "iconColor" | "id" | "label" | "labelId" | "loading" | "modelValue" | "onClick:appendInner" | "onClick:clear" | "onClick:prependInner" | "onUpdate:focused" | "onUpdate:modelValue" | "prependInnerIcon" | "theme" | "v-slot:append-inner" | "v-slot:clear" | "v-slot:default" | "v-slot:label" | "v-slot:loader" | "v-slot:prepend-inner" | "v-slots" | ("active" | "centerAffix" | "clearIcon" | "clearable" | "details" | "dirty" | "disabled" | "error" | "flat" | "focused" | "glow" | "persistentClear" | "reverse" | "rounded" | "singleLine" | "style" | "tile" | "variant") | keyof import("vue").VNodeProps>, `$${any}`> & { _allExposed: { reset: () => Promise; resetValidation: () => Promise; @@ -2250,7 +2261,7 @@ declare const __VLS_export: import("vue").DefineComponent; fieldIconColor: import("vue").ComputedRef; } | {}; - }> & {} & import("vue").ComponentCustomProperties & {}, "$children" | "appendIcon" | "appendInnerIcon" | "autocomplete" | "baseColor" | "bgColor" | "class" | "color" | "counter" | "counterValue" | "hideDetails" | "hint" | "iconColor" | "id" | "label" | "loading" | "maxWidth" | "minWidth" | "modelModifiers" | "modelValue" | "name" | "onClick:append" | "onClick:appendInner" | "onClick:clear" | "onClick:control" | "onClick:prepend" | "onClick:prependInner" | "onMousedown:control" | "onUpdate:focused" | "onUpdate:modelValue" | "placeholder" | "prefix" | "prependIcon" | "prependInnerIcon" | "role" | "suffix" | "theme" | "v-slot:append" | "v-slot:append-inner" | "v-slot:clear" | "v-slot:counter" | "v-slot:default" | "v-slot:details" | "v-slot:label" | "v-slot:loader" | "v-slot:message" | "v-slot:prepend" | "v-slot:prepend-inner" | "v-slots" | "validateOn" | "validationValue" | "width" | ("active" | "autofocus" | "centerAffix" | "clearIcon" | "clearable" | "density" | "direction" | "dirty" | "disabled" | "error" | "errorMessages" | "flat" | "focused" | "glow" | "hideSpinButtons" | "maxErrors" | "messages" | "persistentClear" | "persistentCounter" | "persistentHint" | "persistentPlaceholder" | "readonly" | "reverse" | "rounded" | "rules" | "singleLine" | "style" | "tile" | "type" | "variant") | keyof import("vue").VNodeProps>, `$${any}`> & { + }> & {} & import("vue").ComponentCustomProperties & {}, "$children" | "appendIcon" | "appendInnerIcon" | "autocomplete" | "baseColor" | "bgColor" | "class" | "color" | "counter" | "counterValue" | "hideDetails" | "hint" | "iconColor" | "id" | "label" | "loading" | "maxWidth" | "minWidth" | "modelModifiers" | "modelValue" | "name" | "onClick:append" | "onClick:appendInner" | "onClick:clear" | "onClick:control" | "onClick:prepend" | "onClick:prependInner" | "onMousedown:control" | "onUpdate:focused" | "onUpdate:modelValue" | "placeholder" | "prefix" | "prependIcon" | "prependInnerIcon" | "role" | "suffix" | "theme" | "v-slot:append" | "v-slot:append-inner" | "v-slot:clear" | "v-slot:counter" | "v-slot:default" | "v-slot:details" | "v-slot:label" | "v-slot:loader" | "v-slot:message" | "v-slot:prepend" | "v-slot:prepend-inner" | "v-slots" | "validateOn" | "validationValue" | "width" | ("active" | "autofocus" | "centerAffix" | "clearIcon" | "clearable" | "density" | "dirty" | "disabled" | "error" | "errorMessages" | "flat" | "focused" | "glow" | "hideSpinButtons" | "maxErrors" | "messages" | "persistentClear" | "persistentCounter" | "persistentHint" | "persistentPlaceholder" | "readonly" | "reverse" | "rounded" | "rules" | "singleLine" | "style" | "tile" | "type" | "variant") | keyof import("vue").VNodeProps>, `$${any}`> & { _allExposed: { isFocused: import("vue").ShallowRef; menu: import("vue").WritableComputedRef; @@ -2554,6 +2565,7 @@ declare const __VLS_export: import("vue").DefineComponent void) | undefined; id?: string | undefined; details: boolean; + labelId?: string | undefined; } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "active" | "centerAffix" | "clearIcon" | "clearable" | "details" | "dirty" | "disabled" | "error" | "flat" | "focused" | "glow" | "persistentClear" | "reverse" | "rounded" | "singleLine" | "style" | "tile" | "variant">; $attrs: { [x: string]: unknown; @@ -2626,6 +2638,7 @@ declare const __VLS_export: import("vue").DefineComponent void) | undefined; "onClick:prependInner"?: ((args_0: MouseEvent) => void) | undefined; id?: string | undefined; + labelId?: string | undefined; } & { "onUpdate:focused"?: ((focused: boolean) => any) | undefined; }, { @@ -2751,6 +2764,7 @@ declare const __VLS_export: import("vue").DefineComponent void) | undefined; "onClick:prependInner"?: ((args_0: MouseEvent) => void) | undefined; id?: string | undefined; + labelId?: string | undefined; } & { "onUpdate:focused"?: ((focused: boolean) => any) | undefined; }, "controlRef" | "fieldIconColor" | ("active" | "centerAffix" | "clearIcon" | "clearable" | "details" | "dirty" | "disabled" | "error" | "flat" | "focused" | "glow" | "persistentClear" | "reverse" | "rounded" | "singleLine" | "style" | "tile" | "variant")> & import("vue").ShallowUnwrapRef<{ @@ -2759,7 +2773,7 @@ declare const __VLS_export: import("vue").DefineComponent & {} & import("vue").ComponentCustomProperties & {} & import("vuetify/lib/util/defineComponent.mjs").GenericProps<{ modelValue?: unknown; "onUpdate:modelValue"?: ((value: unknown) => void) | undefined; - }, import("vuetify/lib/components/VField/VField.mjs").VFieldSlots>, "$children" | "appendInnerIcon" | "baseColor" | "bgColor" | "class" | "color" | "iconColor" | "id" | "label" | "loading" | "modelValue" | "onClick:appendInner" | "onClick:clear" | "onClick:prependInner" | "onUpdate:focused" | "onUpdate:modelValue" | "prependInnerIcon" | "theme" | "v-slot:append-inner" | "v-slot:clear" | "v-slot:default" | "v-slot:label" | "v-slot:loader" | "v-slot:prepend-inner" | "v-slots" | ("active" | "centerAffix" | "clearIcon" | "clearable" | "details" | "dirty" | "disabled" | "error" | "flat" | "focused" | "glow" | "persistentClear" | "reverse" | "rounded" | "singleLine" | "style" | "tile" | "variant") | keyof import("vue").VNodeProps>, `$${any}`> & { + }, import("vuetify/lib/components/VField/VField.mjs").VFieldSlots>, "$children" | "appendInnerIcon" | "baseColor" | "bgColor" | "class" | "color" | "iconColor" | "id" | "label" | "labelId" | "loading" | "modelValue" | "onClick:appendInner" | "onClick:clear" | "onClick:prependInner" | "onUpdate:focused" | "onUpdate:modelValue" | "prependInnerIcon" | "theme" | "v-slot:append-inner" | "v-slot:clear" | "v-slot:default" | "v-slot:label" | "v-slot:loader" | "v-slot:prepend-inner" | "v-slots" | ("active" | "centerAffix" | "clearIcon" | "clearable" | "details" | "dirty" | "disabled" | "error" | "flat" | "focused" | "glow" | "persistentClear" | "reverse" | "rounded" | "singleLine" | "style" | "tile" | "variant") | keyof import("vue").VNodeProps>, `$${any}`> & { _allExposed: { reset: () => Promise; resetValidation: () => Promise; @@ -2793,7 +2807,6 @@ declare const __VLS_export: import("vue").DefineComponent, fallback?: any) => any) | null; itemType: string | boolean | readonly (string | number)[] | ((item: Record, fallback?: any) => any) | null; clearable: boolean; @@ -2972,7 +2984,8 @@ declare const __VLS_export: import("vue").DefineComponent void) | undefined; "onClick:append"?: ((args_0: MouseEvent) => void) | undefined; - valueComparator?: typeof import("vuetify/lib/util/deepEqual.mjs").deepEqual | undefined; + valueComparator?: import("vuetify/lib/util/deepEqual.mjs").ValueComparator | undefined; + appendInnerIcon?: import("vuetify/lib/composables/icons.mjs").IconValue | undefined; bgColor?: string | undefined; centerAffix?: boolean | undefined; color?: string | undefined; @@ -3030,13 +3043,12 @@ declare const __VLS_export: import("vue").DefineComponent, fallback?: any) => any) | null; returnObject: boolean; - valueComparator?: typeof import("vuetify/lib/util/deepEqual.mjs").deepEqual | undefined; + valueComparator?: import("vuetify/lib/util/deepEqual.mjs").ValueComparator | undefined; activatable: boolean; selectable: boolean; activeStrategy?: import("vuetify/lib/composables/nested/nested.mjs").ActiveStrategyProp | undefined; selectStrategy: import("vuetify/lib/composables/nested/nested.mjs").SelectStrategyProp; openStrategy: import("vuetify/lib/composables/nested/nested.mjs").OpenStrategyProp; - activated?: any; mandatory: boolean; itemsRegistration: import("vuetify/lib/composables/nested/nested.mjs").ItemsRegistrationType; baseColor?: string | undefined; @@ -3057,7 +3069,6 @@ declare const __VLS_export: import("vue").DefineComponent any) | undefined; - "onUpdate:activated"?: ((value: unknown) => any) | undefined; } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "activatable" | "density" | "disabled" | "filterable" | "itemType" | "itemsRegistration" | "lines" | "mandatory" | "nav" | "openStrategy" | "returnObject" | "rounded" | "selectStrategy" | "selectable" | "slim" | "style" | "tag" | "tile" | "variant"> & { items?: readonly any[] | undefined; itemTitle?: import("vuetify/lib/util/helpers.mjs").SelectItemKey; @@ -3065,7 +3076,11 @@ declare const __VLS_export: import("vue").DefineComponent; itemProps?: import("vuetify/lib/util/helpers.mjs").SelectItemKey; selected?: unknown; + activated?: unknown; + opened?: unknown; "onUpdate:selected"?: ((value: unknown) => void) | undefined; + "onUpdate:activated"?: ((value: unknown) => void) | undefined; + "onUpdate:opened"?: ((value: unknown) => void) | undefined; "onClick:open"?: ((value: { id: unknown; value: boolean; @@ -3076,8 +3091,6 @@ declare const __VLS_export: import("vue").DefineComponent void) | undefined; - opened?: unknown; - "onUpdate:opened"?: ((value: unknown) => void) | undefined; } & { $children?: { prepend?: ((arg: import("vuetify/lib/components/VList/VListItem.mjs").ListItemSlot & { @@ -3476,7 +3489,6 @@ declare const __VLS_export: import("vue").DefineComponent; }) => import("vue").VNodeChild) | undefined; loader?: ((arg: import("vuetify/lib/composables/loader.mjs").LoaderSlotProps) => import("vue").VNodeChild) | undefined; - default?: (() => import("vue").VNodeChild) | undefined; + default?: ((arg: { + id: Readonly>; + }) => import("vue").VNodeChild) | undefined; counter?: ((arg: import("vuetify/lib/components/VCounter/VCounter.mjs").VCounterSlot) => import("vue").VNodeChild) | undefined; } | { $stable?: boolean | undefined; - } | (() => import("vue").VNodeChild) | import("vue").VNodeChild; + } | ((arg: { + id: Readonly>; + }) => import("vue").VNodeChild) | import("vue").VNodeChild; "v-slots"?: { prepend?: false | ((arg: import("vuetify/lib/components/VInput/VInput.mjs").VInputSlot) => import("vue").VNodeChild) | undefined; append?: false | ((arg: import("vuetify/lib/components/VInput/VInput.mjs").VInputSlot) => import("vue").VNodeChild) | undefined; @@ -3533,7 +3549,9 @@ declare const __VLS_export: import("vue").DefineComponent; }) => import("vue").VNodeChild) | undefined; loader?: false | ((arg: import("vuetify/lib/composables/loader.mjs").LoaderSlotProps) => import("vue").VNodeChild) | undefined; - default?: false | (() => import("vue").VNodeChild) | undefined; + default?: false | ((arg: { + id: Readonly>; + }) => import("vue").VNodeChild) | undefined; counter?: false | ((arg: import("vuetify/lib/components/VCounter/VCounter.mjs").VCounterSlot) => import("vue").VNodeChild) | undefined; } | undefined; focused: boolean; @@ -3561,7 +3579,6 @@ declare const __VLS_export: import("vue").DefineComponent void) | undefined; "onClick:append"?: ((args_0: MouseEvent) => void) | undefined; appendInnerIcon?: import("vuetify/lib/composables/icons.mjs").IconValue | undefined; @@ -3608,7 +3625,9 @@ declare const __VLS_export: import("vue").DefineComponent; }) => import("vue").VNodeChild) | undefined; "v-slot:counter"?: false | ((arg: import("vuetify/lib/components/VCounter/VCounter.mjs").VCounterSlot) => import("vue").VNodeChild) | undefined; - "v-slot:default"?: false | (() => import("vue").VNodeChild) | undefined; + "v-slot:default"?: false | ((arg: { + id: Readonly>; + }) => import("vue").VNodeChild) | undefined; "v-slot:details"?: false | ((arg: import("vuetify/lib/components/VInput/VInput.mjs").VInputSlot) => import("vue").VNodeChild) | undefined; "v-slot:label"?: false | ((arg: import("vuetify/lib/components/VField/VField.mjs").DefaultInputSlot & { label: string | undefined; @@ -3618,7 +3637,7 @@ declare const __VLS_export: import("vue").DefineComponent import("vue").VNodeChild) | undefined; "v-slot:prepend"?: false | ((arg: import("vuetify/lib/components/VInput/VInput.mjs").VInputSlot) => import("vue").VNodeChild) | undefined; "v-slot:prepend-inner"?: false | ((arg: import("vuetify/lib/components/VField/VField.mjs").DefaultInputSlot) => import("vue").VNodeChild) | undefined; - } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "active" | "autofocus" | "centerAffix" | "clearIcon" | "clearable" | "density" | "direction" | "dirty" | "disabled" | "error" | "errorMessages" | "flat" | "focused" | "glow" | "hideSpinButtons" | "maxErrors" | "messages" | "persistentClear" | "persistentCounter" | "persistentHint" | "persistentPlaceholder" | "readonly" | "reverse" | "rounded" | "rules" | "singleLine" | "style" | "tile" | "type" | "variant">; + } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "active" | "autofocus" | "centerAffix" | "clearIcon" | "clearable" | "density" | "dirty" | "disabled" | "error" | "errorMessages" | "flat" | "focused" | "glow" | "hideSpinButtons" | "maxErrors" | "messages" | "persistentClear" | "persistentCounter" | "persistentHint" | "persistentPlaceholder" | "readonly" | "reverse" | "rounded" | "rules" | "singleLine" | "style" | "tile" | "type" | "variant">; $attrs: { [x: string]: unknown; }; @@ -3658,7 +3677,9 @@ declare const __VLS_export: import("vue").DefineComponent import("vue").VNode[]) | undefined; - default?: (() => import("vue").VNode>; + }) => import("vue").VNode[]) | undefined; counter?: ((arg: import("vuetify/lib/components/VCounter/VCounter.mjs").VCounterSlot) => import("vue").VNode; }) => import("vue").VNodeChild) | undefined; loader?: ((arg: import("vuetify/lib/composables/loader.mjs").LoaderSlotProps) => import("vue").VNodeChild) | undefined; - default?: (() => import("vue").VNodeChild) | undefined; + default?: ((arg: { + id: Readonly>; + }) => import("vue").VNodeChild) | undefined; counter?: ((arg: import("vuetify/lib/components/VCounter/VCounter.mjs").VCounterSlot) => import("vue").VNodeChild) | undefined; } | { $stable?: boolean | undefined; - } | (() => import("vue").VNodeChild) | import("vue").VNodeChild; + } | ((arg: { + id: Readonly>; + }) => import("vue").VNodeChild) | import("vue").VNodeChild; "v-slots"?: { prepend?: false | ((arg: import("vuetify/lib/components/VInput/VInput.mjs").VInputSlot) => import("vue").VNodeChild) | undefined; append?: false | ((arg: import("vuetify/lib/components/VInput/VInput.mjs").VInputSlot) => import("vue").VNodeChild) | undefined; @@ -3774,7 +3798,9 @@ declare const __VLS_export: import("vue").DefineComponent; }) => import("vue").VNodeChild) | undefined; loader?: false | ((arg: import("vuetify/lib/composables/loader.mjs").LoaderSlotProps) => import("vue").VNodeChild) | undefined; - default?: false | (() => import("vue").VNodeChild) | undefined; + default?: false | ((arg: { + id: Readonly>; + }) => import("vue").VNodeChild) | undefined; counter?: false | ((arg: import("vuetify/lib/components/VCounter/VCounter.mjs").VCounterSlot) => import("vue").VNodeChild) | undefined; } | undefined; } & { @@ -3784,7 +3810,9 @@ declare const __VLS_export: import("vue").DefineComponent; }) => import("vue").VNodeChild) | undefined; "v-slot:counter"?: false | ((arg: import("vuetify/lib/components/VCounter/VCounter.mjs").VCounterSlot) => import("vue").VNodeChild) | undefined; - "v-slot:default"?: false | (() => import("vue").VNodeChild) | undefined; + "v-slot:default"?: false | ((arg: { + id: Readonly>; + }) => import("vue").VNodeChild) | undefined; "v-slot:details"?: false | ((arg: import("vuetify/lib/components/VInput/VInput.mjs").VInputSlot) => import("vue").VNodeChild) | undefined; "v-slot:label"?: false | ((arg: import("vuetify/lib/components/VField/VField.mjs").DefaultInputSlot & { label: string | undefined; @@ -4098,6 +4126,7 @@ declare const __VLS_export: import("vue").DefineComponent void) | undefined; id?: string | undefined; details: boolean; + labelId?: string | undefined; } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "active" | "centerAffix" | "clearIcon" | "clearable" | "details" | "dirty" | "disabled" | "error" | "flat" | "focused" | "glow" | "persistentClear" | "reverse" | "rounded" | "singleLine" | "style" | "tile" | "variant">; $attrs: { [x: string]: unknown; @@ -4170,6 +4199,7 @@ declare const __VLS_export: import("vue").DefineComponent void) | undefined; "onClick:prependInner"?: ((args_0: MouseEvent) => void) | undefined; id?: string | undefined; + labelId?: string | undefined; } & { "onUpdate:focused"?: ((focused: boolean) => any) | undefined; }, { @@ -4295,6 +4325,7 @@ declare const __VLS_export: import("vue").DefineComponent void) | undefined; "onClick:prependInner"?: ((args_0: MouseEvent) => void) | undefined; id?: string | undefined; + labelId?: string | undefined; } & { "onUpdate:focused"?: ((focused: boolean) => any) | undefined; }, "controlRef" | "fieldIconColor" | ("active" | "centerAffix" | "clearIcon" | "clearable" | "details" | "dirty" | "disabled" | "error" | "flat" | "focused" | "glow" | "persistentClear" | "reverse" | "rounded" | "singleLine" | "style" | "tile" | "variant")> & import("vue").ShallowUnwrapRef<{ @@ -4303,7 +4334,7 @@ declare const __VLS_export: import("vue").DefineComponent & {} & import("vue").ComponentCustomProperties & {} & import("vuetify/lib/util/defineComponent.mjs").GenericProps<{ modelValue?: unknown; "onUpdate:modelValue"?: ((value: unknown) => void) | undefined; - }, import("vuetify/lib/components/VField/VField.mjs").VFieldSlots>, "$children" | "appendInnerIcon" | "baseColor" | "bgColor" | "class" | "color" | "iconColor" | "id" | "label" | "loading" | "modelValue" | "onClick:appendInner" | "onClick:clear" | "onClick:prependInner" | "onUpdate:focused" | "onUpdate:modelValue" | "prependInnerIcon" | "theme" | "v-slot:append-inner" | "v-slot:clear" | "v-slot:default" | "v-slot:label" | "v-slot:loader" | "v-slot:prepend-inner" | "v-slots" | ("active" | "centerAffix" | "clearIcon" | "clearable" | "details" | "dirty" | "disabled" | "error" | "flat" | "focused" | "glow" | "persistentClear" | "reverse" | "rounded" | "singleLine" | "style" | "tile" | "variant") | keyof import("vue").VNodeProps>, `$${any}`> & { + }, import("vuetify/lib/components/VField/VField.mjs").VFieldSlots>, "$children" | "appendInnerIcon" | "baseColor" | "bgColor" | "class" | "color" | "iconColor" | "id" | "label" | "labelId" | "loading" | "modelValue" | "onClick:appendInner" | "onClick:clear" | "onClick:prependInner" | "onUpdate:focused" | "onUpdate:modelValue" | "prependInnerIcon" | "theme" | "v-slot:append-inner" | "v-slot:clear" | "v-slot:default" | "v-slot:label" | "v-slot:loader" | "v-slot:prepend-inner" | "v-slots" | ("active" | "centerAffix" | "clearIcon" | "clearable" | "details" | "dirty" | "disabled" | "error" | "flat" | "focused" | "glow" | "persistentClear" | "reverse" | "rounded" | "singleLine" | "style" | "tile" | "variant") | keyof import("vue").VNodeProps>, `$${any}`> & { _allExposed: { reset: () => Promise; resetValidation: () => Promise; @@ -4332,7 +4363,6 @@ declare const __VLS_export: import("vue").DefineComponent import("vue").VNode[]; - default: () => import("vue").VNode>; + }) => import("vue").VNode[]; counter: (arg: import("vuetify/lib/components/VCounter/VCounter.mjs").VCounterSlot) => import("vue").VNode; }) => import("vue").VNodeChild) | undefined; loader?: ((arg: import("vuetify/lib/composables/loader.mjs").LoaderSlotProps) => import("vue").VNodeChild) | undefined; - default?: (() => import("vue").VNodeChild) | undefined; + default?: ((arg: { + id: Readonly>; + }) => import("vue").VNodeChild) | undefined; counter?: ((arg: import("vuetify/lib/components/VCounter/VCounter.mjs").VCounterSlot) => import("vue").VNodeChild) | undefined; } | { $stable?: boolean | undefined; - } | (() => import("vue").VNodeChild) | import("vue").VNodeChild; + } | ((arg: { + id: Readonly>; + }) => import("vue").VNodeChild) | import("vue").VNodeChild; "v-slots"?: { prepend?: false | ((arg: import("vuetify/lib/components/VInput/VInput.mjs").VInputSlot) => import("vue").VNodeChild) | undefined; append?: false | ((arg: import("vuetify/lib/components/VInput/VInput.mjs").VInputSlot) => import("vue").VNodeChild) | undefined; @@ -4544,7 +4578,9 @@ declare const __VLS_export: import("vue").DefineComponent; }) => import("vue").VNodeChild) | undefined; loader?: false | ((arg: import("vuetify/lib/composables/loader.mjs").LoaderSlotProps) => import("vue").VNodeChild) | undefined; - default?: false | (() => import("vue").VNodeChild) | undefined; + default?: false | ((arg: { + id: Readonly>; + }) => import("vue").VNodeChild) | undefined; counter?: false | ((arg: import("vuetify/lib/components/VCounter/VCounter.mjs").VCounterSlot) => import("vue").VNodeChild) | undefined; } | undefined; } & { @@ -4554,7 +4590,9 @@ declare const __VLS_export: import("vue").DefineComponent; }) => import("vue").VNodeChild) | undefined; "v-slot:counter"?: false | ((arg: import("vuetify/lib/components/VCounter/VCounter.mjs").VCounterSlot) => import("vue").VNodeChild) | undefined; - "v-slot:default"?: false | (() => import("vue").VNodeChild) | undefined; + "v-slot:default"?: false | ((arg: { + id: Readonly>; + }) => import("vue").VNodeChild) | undefined; "v-slot:details"?: false | ((arg: import("vuetify/lib/components/VInput/VInput.mjs").VInputSlot) => import("vue").VNodeChild) | undefined; "v-slot:label"?: false | ((arg: import("vuetify/lib/components/VField/VField.mjs").DefaultInputSlot & { label: string | undefined; @@ -4569,7 +4607,7 @@ declare const __VLS_export: import("vue").DefineComponent any) | undefined; "onUpdate:focused"?: ((focused: boolean) => any) | undefined; "onUpdate:modelValue"?: ((val: string) => any) | undefined; - }, "ATTRIBUTE_NODE" | "CDATA_SECTION_NODE" | "COMMENT_NODE" | "DOCUMENT_FRAGMENT_NODE" | "DOCUMENT_NODE" | "DOCUMENT_POSITION_CONTAINED_BY" | "DOCUMENT_POSITION_CONTAINS" | "DOCUMENT_POSITION_DISCONNECTED" | "DOCUMENT_POSITION_FOLLOWING" | "DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC" | "DOCUMENT_POSITION_PRECEDING" | "DOCUMENT_TYPE_NODE" | "ELEMENT_NODE" | "ENTITY_NODE" | "ENTITY_REFERENCE_NODE" | "NOTATION_NODE" | "PROCESSING_INSTRUCTION_NODE" | "TEXT_NODE" | "_" | "_allExposed" | "_clickOutside" | "_mutate" | "_observe" | "_onResize" | "_onScroll" | "_ripple" | "_touchHandlers" | "_transitionInitialStyles" | "accept" | "accessKey" | "accessKeyLabel" | "active" | "addEventListener" | "after" | "align" | "alt" | "animate" | "append" | "appendChild" | "ariaAtomic" | "ariaAutoComplete" | "ariaBrailleLabel" | "ariaBrailleRoleDescription" | "ariaBusy" | "ariaChecked" | "ariaColCount" | "ariaColIndex" | "ariaColIndexText" | "ariaColSpan" | "ariaCurrent" | "ariaDescription" | "ariaDisabled" | "ariaExpanded" | "ariaHasPopup" | "ariaHidden" | "ariaInvalid" | "ariaKeyShortcuts" | "ariaLabel" | "ariaLevel" | "ariaLive" | "ariaModal" | "ariaMultiLine" | "ariaMultiSelectable" | "ariaOrientation" | "ariaPlaceholder" | "ariaPosInSet" | "ariaPressed" | "ariaReadOnly" | "ariaRelevant" | "ariaRequired" | "ariaRoleDescription" | "ariaRowCount" | "ariaRowIndex" | "ariaRowIndexText" | "ariaRowSpan" | "ariaSelected" | "ariaSetSize" | "ariaSort" | "ariaValueMax" | "ariaValueMin" | "ariaValueNow" | "ariaValueText" | "assignedSlot" | "attachInternals" | "attachShadow" | "attributeStyleMap" | "attributes" | "autocapitalize" | "autocomplete" | "autofocus" | "baseURI" | "before" | "blur" | "capture" | "centerAffix" | "checkValidity" | "checkVisibility" | "checked" | "childElementCount" | "childNodes" | "children" | "classList" | "className" | "clearIcon" | "clearable" | "click" | "clientHeight" | "clientLeft" | "clientTop" | "clientWidth" | "cloneNode" | "closest" | "compareDocumentPosition" | "computedStyleMap" | "contains" | "contentEditable" | "controlRef" | "currentCSSZoom" | "dataset" | "defaultChecked" | "defaultValue" | "density" | "dir" | "dirName" | "direction" | "dirty" | "disabled" | "dispatchEvent" | "draggable" | "enterKeyHint" | "error" | "errorMessages" | "fieldIconColor" | "files" | "firstChild" | "firstElementChild" | "flat" | "focus" | "focused" | "form" | "formAction" | "formEnctype" | "formMethod" | "formNoValidate" | "formTarget" | "getAnimations" | "getAttribute" | "getAttributeNS" | "getAttributeNames" | "getAttributeNode" | "getAttributeNodeNS" | "getBoundingClientRect" | "getClientRects" | "getElementsByClassName" | "getElementsByTagName" | "getElementsByTagNameNS" | "getHTML" | "getRootNode" | "glow" | "hasAttribute" | "hasAttributeNS" | "hasAttributes" | "hasChildNodes" | "hasPointerCapture" | "height" | "hidden" | "hidePopover" | "hideSpinButtons" | "id" | "indeterminate" | "inert" | "innerHTML" | "innerText" | "inputMode" | "insertAdjacentElement" | "insertAdjacentHTML" | "insertAdjacentText" | "insertBefore" | "isConnected" | "isContentEditable" | "isDefaultNamespace" | "isEqualNode" | "isSameNode" | "isValid" | "labels" | "lang" | "lastChild" | "lastElementChild" | "list" | "localName" | "lookupNamespaceURI" | "lookupPrefix" | "matches" | "max" | "maxErrors" | "maxLength" | "messages" | "min" | "minLength" | "multiple" | "name" | "namespaceURI" | "nextElementSibling" | "nextSibling" | "nodeName" | "nodeType" | "nodeValue" | "nonce" | "normalize" | "offsetHeight" | "offsetLeft" | "offsetParent" | "offsetTop" | "offsetWidth" | "onabort" | "onanimationcancel" | "onanimationend" | "onanimationiteration" | "onanimationstart" | "onauxclick" | "onbeforeinput" | "onbeforetoggle" | "onblur" | "oncancel" | "oncanplay" | "oncanplaythrough" | "onchange" | "onclick" | "onclose" | "oncontextlost" | "oncontextmenu" | "oncontextrestored" | "oncopy" | "oncuechange" | "oncut" | "ondblclick" | "ondrag" | "ondragend" | "ondragenter" | "ondragleave" | "ondragover" | "ondragstart" | "ondrop" | "ondurationchange" | "onemptied" | "onended" | "onerror" | "onfocus" | "onformdata" | "onfullscreenchange" | "onfullscreenerror" | "ongotpointercapture" | "oninput" | "oninvalid" | "onkeydown" | "onkeypress" | "onkeyup" | "onload" | "onloadeddata" | "onloadedmetadata" | "onloadstart" | "onlostpointercapture" | "onmousedown" | "onmouseenter" | "onmouseleave" | "onmousemove" | "onmouseout" | "onmouseover" | "onmouseup" | "onpaste" | "onpause" | "onplay" | "onplaying" | "onpointercancel" | "onpointerdown" | "onpointerenter" | "onpointerleave" | "onpointermove" | "onpointerout" | "onpointerover" | "onpointerup" | "onprogress" | "onratechange" | "onreset" | "onresize" | "onscroll" | "onscrollend" | "onsecuritypolicyviolation" | "onseeked" | "onseeking" | "onselect" | "onselectionchange" | "onselectstart" | "onslotchange" | "onstalled" | "onsubmit" | "onsuspend" | "ontimeupdate" | "ontoggle" | "ontouchcancel" | "ontouchend" | "ontouchmove" | "ontouchstart" | "ontransitioncancel" | "ontransitionend" | "ontransitionrun" | "ontransitionstart" | "onvolumechange" | "onwaiting" | "onwebkitanimationend" | "onwebkitanimationiteration" | "onwebkitanimationstart" | "onwebkittransitionend" | "onwheel" | "outerHTML" | "outerText" | "ownerDocument" | "parentElement" | "parentNode" | "part" | "pattern" | "persistentClear" | "persistentCounter" | "persistentHint" | "persistentPlaceholder" | "placeholder" | "popover" | "popoverTargetAction" | "popoverTargetElement" | "prefix" | "prepend" | "previousElementSibling" | "previousSibling" | "querySelector" | "querySelectorAll" | "readOnly" | "readonly" | "releasePointerCapture" | "remove" | "removeAttribute" | "removeAttributeNS" | "removeAttributeNode" | "removeChild" | "removeEventListener" | "replaceChild" | "replaceChildren" | "replaceWith" | "reportValidity" | "requestFullscreen" | "requestPointerLock" | "required" | "reset" | "resetValidation" | "reverse" | "role" | "rounded" | "rules" | "scroll" | "scrollBy" | "scrollHeight" | "scrollIntoView" | "scrollLeft" | "scrollTo" | "scrollTop" | "scrollWidth" | "select" | "selectionDirection" | "selectionEnd" | "selectionStart" | "setAttribute" | "setAttributeNS" | "setAttributeNode" | "setAttributeNodeNS" | "setCustomValidity" | "setHTMLUnsafe" | "setPointerCapture" | "setRangeText" | "setSelectionRange" | "shadowRoot" | "showPicker" | "showPopover" | "singleLine" | "size" | "slot" | "spellcheck" | "src" | "step" | "stepDown" | "stepUp" | "style" | "tabIndex" | "tagName" | "textContent" | "tile" | "title" | "toggleAttribute" | "togglePopover" | "translate" | "type" | "useMap" | "validate" | "validationMessage" | "validity" | "value" | "valueAsDate" | "valueAsNumber" | "variant" | "webkitEntries" | "webkitMatchesSelector" | "webkitdirectory" | "width" | "willValidate" | "writingSuggestions"> & import("vue").ShallowUnwrapRef & import("vue").ShallowUnwrapRef void) | undefined; id?: string | undefined; details: boolean; + labelId?: string | undefined; } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "active" | "centerAffix" | "clearIcon" | "clearable" | "details" | "dirty" | "disabled" | "error" | "flat" | "focused" | "glow" | "persistentClear" | "reverse" | "rounded" | "singleLine" | "style" | "tile" | "variant">; $attrs: { [x: string]: unknown; @@ -4940,6 +4979,7 @@ declare const __VLS_export: import("vue").DefineComponent void) | undefined; "onClick:prependInner"?: ((args_0: MouseEvent) => void) | undefined; id?: string | undefined; + labelId?: string | undefined; } & { "onUpdate:focused"?: ((focused: boolean) => any) | undefined; }, { @@ -5065,6 +5105,7 @@ declare const __VLS_export: import("vue").DefineComponent void) | undefined; "onClick:prependInner"?: ((args_0: MouseEvent) => void) | undefined; id?: string | undefined; + labelId?: string | undefined; } & { "onUpdate:focused"?: ((focused: boolean) => any) | undefined; }, "controlRef" | "fieldIconColor" | ("active" | "centerAffix" | "clearIcon" | "clearable" | "details" | "dirty" | "disabled" | "error" | "flat" | "focused" | "glow" | "persistentClear" | "reverse" | "rounded" | "singleLine" | "style" | "tile" | "variant")> & import("vue").ShallowUnwrapRef<{ @@ -5073,7 +5114,7 @@ declare const __VLS_export: import("vue").DefineComponent & {} & import("vue").ComponentCustomProperties & {} & import("vuetify/lib/util/defineComponent.mjs").GenericProps<{ modelValue?: unknown; "onUpdate:modelValue"?: ((value: unknown) => void) | undefined; - }, import("vuetify/lib/components/VField/VField.mjs").VFieldSlots>, "$children" | "appendInnerIcon" | "baseColor" | "bgColor" | "class" | "color" | "iconColor" | "id" | "label" | "loading" | "modelValue" | "onClick:appendInner" | "onClick:clear" | "onClick:prependInner" | "onUpdate:focused" | "onUpdate:modelValue" | "prependInnerIcon" | "theme" | "v-slot:append-inner" | "v-slot:clear" | "v-slot:default" | "v-slot:label" | "v-slot:loader" | "v-slot:prepend-inner" | "v-slots" | ("active" | "centerAffix" | "clearIcon" | "clearable" | "details" | "dirty" | "disabled" | "error" | "flat" | "focused" | "glow" | "persistentClear" | "reverse" | "rounded" | "singleLine" | "style" | "tile" | "variant") | keyof import("vue").VNodeProps>, `$${any}`> & { + }, import("vuetify/lib/components/VField/VField.mjs").VFieldSlots>, "$children" | "appendInnerIcon" | "baseColor" | "bgColor" | "class" | "color" | "iconColor" | "id" | "label" | "labelId" | "loading" | "modelValue" | "onClick:appendInner" | "onClick:clear" | "onClick:prependInner" | "onUpdate:focused" | "onUpdate:modelValue" | "prependInnerIcon" | "theme" | "v-slot:append-inner" | "v-slot:clear" | "v-slot:default" | "v-slot:label" | "v-slot:loader" | "v-slot:prepend-inner" | "v-slots" | ("active" | "centerAffix" | "clearIcon" | "clearable" | "details" | "dirty" | "disabled" | "error" | "flat" | "focused" | "glow" | "persistentClear" | "reverse" | "rounded" | "singleLine" | "style" | "tile" | "variant") | keyof import("vue").VNodeProps>, `$${any}`> & { _allExposed: { reset: () => Promise; resetValidation: () => Promise; @@ -5084,7 +5125,7 @@ declare const __VLS_export: import("vue").DefineComponent; fieldIconColor: import("vue").ComputedRef; } | {}; - }> & {} & import("vue").ComponentCustomProperties & {}, "$children" | "appendIcon" | "appendInnerIcon" | "autocomplete" | "baseColor" | "bgColor" | "class" | "color" | "counter" | "counterValue" | "hideDetails" | "hint" | "iconColor" | "id" | "label" | "loading" | "maxWidth" | "minWidth" | "modelModifiers" | "modelValue" | "name" | "onClick:append" | "onClick:appendInner" | "onClick:clear" | "onClick:control" | "onClick:prepend" | "onClick:prependInner" | "onMousedown:control" | "onUpdate:focused" | "onUpdate:modelValue" | "placeholder" | "prefix" | "prependIcon" | "prependInnerIcon" | "role" | "suffix" | "theme" | "v-slot:append" | "v-slot:append-inner" | "v-slot:clear" | "v-slot:counter" | "v-slot:default" | "v-slot:details" | "v-slot:label" | "v-slot:loader" | "v-slot:message" | "v-slot:prepend" | "v-slot:prepend-inner" | "v-slots" | "validateOn" | "validationValue" | "width" | ("active" | "autofocus" | "centerAffix" | "clearIcon" | "clearable" | "density" | "direction" | "dirty" | "disabled" | "error" | "errorMessages" | "flat" | "focused" | "glow" | "hideSpinButtons" | "maxErrors" | "messages" | "persistentClear" | "persistentCounter" | "persistentHint" | "persistentPlaceholder" | "readonly" | "reverse" | "rounded" | "rules" | "singleLine" | "style" | "tile" | "type" | "variant") | keyof import("vue").VNodeProps>, `$${any}`> & { + }> & {} & import("vue").ComponentCustomProperties & {}, "$children" | "appendIcon" | "appendInnerIcon" | "autocomplete" | "baseColor" | "bgColor" | "class" | "color" | "counter" | "counterValue" | "hideDetails" | "hint" | "iconColor" | "id" | "label" | "loading" | "maxWidth" | "minWidth" | "modelModifiers" | "modelValue" | "name" | "onClick:append" | "onClick:appendInner" | "onClick:clear" | "onClick:control" | "onClick:prepend" | "onClick:prependInner" | "onMousedown:control" | "onUpdate:focused" | "onUpdate:modelValue" | "placeholder" | "prefix" | "prependIcon" | "prependInnerIcon" | "role" | "suffix" | "theme" | "v-slot:append" | "v-slot:append-inner" | "v-slot:clear" | "v-slot:counter" | "v-slot:default" | "v-slot:details" | "v-slot:label" | "v-slot:loader" | "v-slot:message" | "v-slot:prepend" | "v-slot:prepend-inner" | "v-slots" | "validateOn" | "validationValue" | "width" | ("active" | "autofocus" | "centerAffix" | "clearIcon" | "clearable" | "density" | "dirty" | "disabled" | "error" | "errorMessages" | "flat" | "focused" | "glow" | "hideSpinButtons" | "maxErrors" | "messages" | "persistentClear" | "persistentCounter" | "persistentHint" | "persistentPlaceholder" | "readonly" | "reverse" | "rounded" | "rules" | "singleLine" | "style" | "tile" | "type" | "variant") | keyof import("vue").VNodeProps>, `$${any}`> & { _allExposed: { isFocused: import("vue").ShallowRef; menu: import("vue").WritableComputedRef; @@ -5388,6 +5429,7 @@ declare const __VLS_export: import("vue").DefineComponent void) | undefined; id?: string | undefined; details: boolean; + labelId?: string | undefined; } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "active" | "centerAffix" | "clearIcon" | "clearable" | "details" | "dirty" | "disabled" | "error" | "flat" | "focused" | "glow" | "persistentClear" | "reverse" | "rounded" | "singleLine" | "style" | "tile" | "variant">; $attrs: { [x: string]: unknown; @@ -5460,6 +5502,7 @@ declare const __VLS_export: import("vue").DefineComponent void) | undefined; "onClick:prependInner"?: ((args_0: MouseEvent) => void) | undefined; id?: string | undefined; + labelId?: string | undefined; } & { "onUpdate:focused"?: ((focused: boolean) => any) | undefined; }, { @@ -5585,6 +5628,7 @@ declare const __VLS_export: import("vue").DefineComponent void) | undefined; "onClick:prependInner"?: ((args_0: MouseEvent) => void) | undefined; id?: string | undefined; + labelId?: string | undefined; } & { "onUpdate:focused"?: ((focused: boolean) => any) | undefined; }, "controlRef" | "fieldIconColor" | ("active" | "centerAffix" | "clearIcon" | "clearable" | "details" | "dirty" | "disabled" | "error" | "flat" | "focused" | "glow" | "persistentClear" | "reverse" | "rounded" | "singleLine" | "style" | "tile" | "variant")> & import("vue").ShallowUnwrapRef<{ @@ -5593,7 +5637,7 @@ declare const __VLS_export: import("vue").DefineComponent & {} & import("vue").ComponentCustomProperties & {} & import("vuetify/lib/util/defineComponent.mjs").GenericProps<{ modelValue?: unknown; "onUpdate:modelValue"?: ((value: unknown) => void) | undefined; - }, import("vuetify/lib/components/VField/VField.mjs").VFieldSlots>, "$children" | "appendInnerIcon" | "baseColor" | "bgColor" | "class" | "color" | "iconColor" | "id" | "label" | "loading" | "modelValue" | "onClick:appendInner" | "onClick:clear" | "onClick:prependInner" | "onUpdate:focused" | "onUpdate:modelValue" | "prependInnerIcon" | "theme" | "v-slot:append-inner" | "v-slot:clear" | "v-slot:default" | "v-slot:label" | "v-slot:loader" | "v-slot:prepend-inner" | "v-slots" | ("active" | "centerAffix" | "clearIcon" | "clearable" | "details" | "dirty" | "disabled" | "error" | "flat" | "focused" | "glow" | "persistentClear" | "reverse" | "rounded" | "singleLine" | "style" | "tile" | "variant") | keyof import("vue").VNodeProps>, `$${any}`> & { + }, import("vuetify/lib/components/VField/VField.mjs").VFieldSlots>, "$children" | "appendInnerIcon" | "baseColor" | "bgColor" | "class" | "color" | "iconColor" | "id" | "label" | "labelId" | "loading" | "modelValue" | "onClick:appendInner" | "onClick:clear" | "onClick:prependInner" | "onUpdate:focused" | "onUpdate:modelValue" | "prependInnerIcon" | "theme" | "v-slot:append-inner" | "v-slot:clear" | "v-slot:default" | "v-slot:label" | "v-slot:loader" | "v-slot:prepend-inner" | "v-slots" | ("active" | "centerAffix" | "clearIcon" | "clearable" | "details" | "dirty" | "disabled" | "error" | "flat" | "focused" | "glow" | "persistentClear" | "reverse" | "rounded" | "singleLine" | "style" | "tile" | "variant") | keyof import("vue").VNodeProps>, `$${any}`> & { _allExposed: { reset: () => Promise; resetValidation: () => Promise; @@ -5623,7 +5667,6 @@ declare const __VLS_export: import("vue").DefineComponent, fallback?: any) => any) | null; itemType: string | boolean | readonly (string | number)[] | ((item: Record, fallback?: any) => any) | null; clearable: boolean; @@ -5725,7 +5767,8 @@ declare const __VLS_export: import("vue").DefineComponent void) | undefined; "onClick:append"?: ((args_0: MouseEvent) => void) | undefined; - valueComparator?: typeof import("vuetify/lib/util/deepEqual.mjs").deepEqual | undefined; + valueComparator?: import("vuetify/lib/util/deepEqual.mjs").ValueComparator | undefined; + appendInnerIcon?: import("vuetify/lib/composables/icons.mjs").IconValue | undefined; bgColor?: string | undefined; centerAffix?: boolean | undefined; color?: string | undefined; @@ -5783,13 +5826,12 @@ declare const __VLS_export: import("vue").DefineComponent, fallback?: any) => any) | null; returnObject: boolean; - valueComparator?: typeof import("vuetify/lib/util/deepEqual.mjs").deepEqual | undefined; + valueComparator?: import("vuetify/lib/util/deepEqual.mjs").ValueComparator | undefined; activatable: boolean; selectable: boolean; activeStrategy?: import("vuetify/lib/composables/nested/nested.mjs").ActiveStrategyProp | undefined; selectStrategy: import("vuetify/lib/composables/nested/nested.mjs").SelectStrategyProp; openStrategy: import("vuetify/lib/composables/nested/nested.mjs").OpenStrategyProp; - activated?: any; mandatory: boolean; itemsRegistration: import("vuetify/lib/composables/nested/nested.mjs").ItemsRegistrationType; baseColor?: string | undefined; @@ -5810,7 +5852,6 @@ declare const __VLS_export: import("vue").DefineComponent any) | undefined; - "onUpdate:activated"?: ((value: unknown) => any) | undefined; } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "activatable" | "density" | "disabled" | "filterable" | "itemType" | "itemsRegistration" | "lines" | "mandatory" | "nav" | "openStrategy" | "returnObject" | "rounded" | "selectStrategy" | "selectable" | "slim" | "style" | "tag" | "tile" | "variant"> & { items?: readonly any[] | undefined; itemTitle?: import("vuetify/lib/util/helpers.mjs").SelectItemKey; @@ -5818,7 +5859,11 @@ declare const __VLS_export: import("vue").DefineComponent; itemProps?: import("vuetify/lib/util/helpers.mjs").SelectItemKey; selected?: unknown; + activated?: unknown; + opened?: unknown; "onUpdate:selected"?: ((value: unknown) => void) | undefined; + "onUpdate:activated"?: ((value: unknown) => void) | undefined; + "onUpdate:opened"?: ((value: unknown) => void) | undefined; "onClick:open"?: ((value: { id: unknown; value: boolean; @@ -5829,8 +5874,6 @@ declare const __VLS_export: import("vue").DefineComponent void) | undefined; - opened?: unknown; - "onUpdate:opened"?: ((value: unknown) => void) | undefined; } & { $children?: { prepend?: ((arg: import("vuetify/lib/components/VList/VListItem.mjs").ListItemSlot & { @@ -6229,7 +6272,6 @@ declare const __VLS_export: import("vue").DefineComponent; }) => import("vue").VNodeChild) | undefined; loader?: ((arg: import("vuetify/lib/composables/loader.mjs").LoaderSlotProps) => import("vue").VNodeChild) | undefined; - default?: (() => import("vue").VNodeChild) | undefined; + default?: ((arg: { + id: Readonly>; + }) => import("vue").VNodeChild) | undefined; counter?: ((arg: import("vuetify/lib/components/VCounter/VCounter.mjs").VCounterSlot) => import("vue").VNodeChild) | undefined; } | { $stable?: boolean | undefined; - } | (() => import("vue").VNodeChild) | import("vue").VNodeChild; + } | ((arg: { + id: Readonly>; + }) => import("vue").VNodeChild) | import("vue").VNodeChild; "v-slots"?: { prepend?: false | ((arg: import("vuetify/lib/components/VInput/VInput.mjs").VInputSlot) => import("vue").VNodeChild) | undefined; append?: false | ((arg: import("vuetify/lib/components/VInput/VInput.mjs").VInputSlot) => import("vue").VNodeChild) | undefined; @@ -6286,7 +6332,9 @@ declare const __VLS_export: import("vue").DefineComponent; }) => import("vue").VNodeChild) | undefined; loader?: false | ((arg: import("vuetify/lib/composables/loader.mjs").LoaderSlotProps) => import("vue").VNodeChild) | undefined; - default?: false | (() => import("vue").VNodeChild) | undefined; + default?: false | ((arg: { + id: Readonly>; + }) => import("vue").VNodeChild) | undefined; counter?: false | ((arg: import("vuetify/lib/components/VCounter/VCounter.mjs").VCounterSlot) => import("vue").VNodeChild) | undefined; } | undefined; focused: boolean; @@ -6314,7 +6362,6 @@ declare const __VLS_export: import("vue").DefineComponent void) | undefined; "onClick:append"?: ((args_0: MouseEvent) => void) | undefined; appendInnerIcon?: import("vuetify/lib/composables/icons.mjs").IconValue | undefined; @@ -6361,7 +6408,9 @@ declare const __VLS_export: import("vue").DefineComponent; }) => import("vue").VNodeChild) | undefined; "v-slot:counter"?: false | ((arg: import("vuetify/lib/components/VCounter/VCounter.mjs").VCounterSlot) => import("vue").VNodeChild) | undefined; - "v-slot:default"?: false | (() => import("vue").VNodeChild) | undefined; + "v-slot:default"?: false | ((arg: { + id: Readonly>; + }) => import("vue").VNodeChild) | undefined; "v-slot:details"?: false | ((arg: import("vuetify/lib/components/VInput/VInput.mjs").VInputSlot) => import("vue").VNodeChild) | undefined; "v-slot:label"?: false | ((arg: import("vuetify/lib/components/VField/VField.mjs").DefaultInputSlot & { label: string | undefined; @@ -6371,7 +6420,7 @@ declare const __VLS_export: import("vue").DefineComponent import("vue").VNodeChild) | undefined; "v-slot:prepend"?: false | ((arg: import("vuetify/lib/components/VInput/VInput.mjs").VInputSlot) => import("vue").VNodeChild) | undefined; "v-slot:prepend-inner"?: false | ((arg: import("vuetify/lib/components/VField/VField.mjs").DefaultInputSlot) => import("vue").VNodeChild) | undefined; - } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "active" | "autofocus" | "centerAffix" | "clearIcon" | "clearable" | "density" | "direction" | "dirty" | "disabled" | "error" | "errorMessages" | "flat" | "focused" | "glow" | "hideSpinButtons" | "maxErrors" | "messages" | "persistentClear" | "persistentCounter" | "persistentHint" | "persistentPlaceholder" | "readonly" | "reverse" | "rounded" | "rules" | "singleLine" | "style" | "tile" | "type" | "variant">; + } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "active" | "autofocus" | "centerAffix" | "clearIcon" | "clearable" | "density" | "dirty" | "disabled" | "error" | "errorMessages" | "flat" | "focused" | "glow" | "hideSpinButtons" | "maxErrors" | "messages" | "persistentClear" | "persistentCounter" | "persistentHint" | "persistentPlaceholder" | "readonly" | "reverse" | "rounded" | "rules" | "singleLine" | "style" | "tile" | "type" | "variant">; $attrs: { [x: string]: unknown; }; @@ -6411,7 +6460,9 @@ declare const __VLS_export: import("vue").DefineComponent import("vue").VNode[]) | undefined; - default?: (() => import("vue").VNode>; + }) => import("vue").VNode[]) | undefined; counter?: ((arg: import("vuetify/lib/components/VCounter/VCounter.mjs").VCounterSlot) => import("vue").VNode; }) => import("vue").VNodeChild) | undefined; loader?: ((arg: import("vuetify/lib/composables/loader.mjs").LoaderSlotProps) => import("vue").VNodeChild) | undefined; - default?: (() => import("vue").VNodeChild) | undefined; + default?: ((arg: { + id: Readonly>; + }) => import("vue").VNodeChild) | undefined; counter?: ((arg: import("vuetify/lib/components/VCounter/VCounter.mjs").VCounterSlot) => import("vue").VNodeChild) | undefined; } | { $stable?: boolean | undefined; - } | (() => import("vue").VNodeChild) | import("vue").VNodeChild; + } | ((arg: { + id: Readonly>; + }) => import("vue").VNodeChild) | import("vue").VNodeChild; "v-slots"?: { prepend?: false | ((arg: import("vuetify/lib/components/VInput/VInput.mjs").VInputSlot) => import("vue").VNodeChild) | undefined; append?: false | ((arg: import("vuetify/lib/components/VInput/VInput.mjs").VInputSlot) => import("vue").VNodeChild) | undefined; @@ -6527,7 +6581,9 @@ declare const __VLS_export: import("vue").DefineComponent; }) => import("vue").VNodeChild) | undefined; loader?: false | ((arg: import("vuetify/lib/composables/loader.mjs").LoaderSlotProps) => import("vue").VNodeChild) | undefined; - default?: false | (() => import("vue").VNodeChild) | undefined; + default?: false | ((arg: { + id: Readonly>; + }) => import("vue").VNodeChild) | undefined; counter?: false | ((arg: import("vuetify/lib/components/VCounter/VCounter.mjs").VCounterSlot) => import("vue").VNodeChild) | undefined; } | undefined; } & { @@ -6537,7 +6593,9 @@ declare const __VLS_export: import("vue").DefineComponent; }) => import("vue").VNodeChild) | undefined; "v-slot:counter"?: false | ((arg: import("vuetify/lib/components/VCounter/VCounter.mjs").VCounterSlot) => import("vue").VNodeChild) | undefined; - "v-slot:default"?: false | (() => import("vue").VNodeChild) | undefined; + "v-slot:default"?: false | ((arg: { + id: Readonly>; + }) => import("vue").VNodeChild) | undefined; "v-slot:details"?: false | ((arg: import("vuetify/lib/components/VInput/VInput.mjs").VInputSlot) => import("vue").VNodeChild) | undefined; "v-slot:label"?: false | ((arg: import("vuetify/lib/components/VField/VField.mjs").DefaultInputSlot & { label: string | undefined; @@ -6851,6 +6909,7 @@ declare const __VLS_export: import("vue").DefineComponent void) | undefined; id?: string | undefined; details: boolean; + labelId?: string | undefined; } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "active" | "centerAffix" | "clearIcon" | "clearable" | "details" | "dirty" | "disabled" | "error" | "flat" | "focused" | "glow" | "persistentClear" | "reverse" | "rounded" | "singleLine" | "style" | "tile" | "variant">; $attrs: { [x: string]: unknown; @@ -6923,6 +6982,7 @@ declare const __VLS_export: import("vue").DefineComponent void) | undefined; "onClick:prependInner"?: ((args_0: MouseEvent) => void) | undefined; id?: string | undefined; + labelId?: string | undefined; } & { "onUpdate:focused"?: ((focused: boolean) => any) | undefined; }, { @@ -7048,6 +7108,7 @@ declare const __VLS_export: import("vue").DefineComponent void) | undefined; "onClick:prependInner"?: ((args_0: MouseEvent) => void) | undefined; id?: string | undefined; + labelId?: string | undefined; } & { "onUpdate:focused"?: ((focused: boolean) => any) | undefined; }, "controlRef" | "fieldIconColor" | ("active" | "centerAffix" | "clearIcon" | "clearable" | "details" | "dirty" | "disabled" | "error" | "flat" | "focused" | "glow" | "persistentClear" | "reverse" | "rounded" | "singleLine" | "style" | "tile" | "variant")> & import("vue").ShallowUnwrapRef<{ @@ -7056,7 +7117,7 @@ declare const __VLS_export: import("vue").DefineComponent & {} & import("vue").ComponentCustomProperties & {} & import("vuetify/lib/util/defineComponent.mjs").GenericProps<{ modelValue?: unknown; "onUpdate:modelValue"?: ((value: unknown) => void) | undefined; - }, import("vuetify/lib/components/VField/VField.mjs").VFieldSlots>, "$children" | "appendInnerIcon" | "baseColor" | "bgColor" | "class" | "color" | "iconColor" | "id" | "label" | "loading" | "modelValue" | "onClick:appendInner" | "onClick:clear" | "onClick:prependInner" | "onUpdate:focused" | "onUpdate:modelValue" | "prependInnerIcon" | "theme" | "v-slot:append-inner" | "v-slot:clear" | "v-slot:default" | "v-slot:label" | "v-slot:loader" | "v-slot:prepend-inner" | "v-slots" | ("active" | "centerAffix" | "clearIcon" | "clearable" | "details" | "dirty" | "disabled" | "error" | "flat" | "focused" | "glow" | "persistentClear" | "reverse" | "rounded" | "singleLine" | "style" | "tile" | "variant") | keyof import("vue").VNodeProps>, `$${any}`> & { + }, import("vuetify/lib/components/VField/VField.mjs").VFieldSlots>, "$children" | "appendInnerIcon" | "baseColor" | "bgColor" | "class" | "color" | "iconColor" | "id" | "label" | "labelId" | "loading" | "modelValue" | "onClick:appendInner" | "onClick:clear" | "onClick:prependInner" | "onUpdate:focused" | "onUpdate:modelValue" | "prependInnerIcon" | "theme" | "v-slot:append-inner" | "v-slot:clear" | "v-slot:default" | "v-slot:label" | "v-slot:loader" | "v-slot:prepend-inner" | "v-slots" | ("active" | "centerAffix" | "clearIcon" | "clearable" | "details" | "dirty" | "disabled" | "error" | "flat" | "focused" | "glow" | "persistentClear" | "reverse" | "rounded" | "singleLine" | "style" | "tile" | "variant") | keyof import("vue").VNodeProps>, `$${any}`> & { _allExposed: { reset: () => Promise; resetValidation: () => Promise; @@ -7085,7 +7146,6 @@ declare const __VLS_export: import("vue").DefineComponent import("vue").VNode[]; - default: () => import("vue").VNode>; + }) => import("vue").VNode[]; counter: (arg: import("vuetify/lib/components/VCounter/VCounter.mjs").VCounterSlot) => import("vue").VNode; }) => import("vue").VNodeChild) | undefined; loader?: ((arg: import("vuetify/lib/composables/loader.mjs").LoaderSlotProps) => import("vue").VNodeChild) | undefined; - default?: (() => import("vue").VNodeChild) | undefined; + default?: ((arg: { + id: Readonly>; + }) => import("vue").VNodeChild) | undefined; counter?: ((arg: import("vuetify/lib/components/VCounter/VCounter.mjs").VCounterSlot) => import("vue").VNodeChild) | undefined; } | { $stable?: boolean | undefined; - } | (() => import("vue").VNodeChild) | import("vue").VNodeChild; + } | ((arg: { + id: Readonly>; + }) => import("vue").VNodeChild) | import("vue").VNodeChild; "v-slots"?: { prepend?: false | ((arg: import("vuetify/lib/components/VInput/VInput.mjs").VInputSlot) => import("vue").VNodeChild) | undefined; append?: false | ((arg: import("vuetify/lib/components/VInput/VInput.mjs").VInputSlot) => import("vue").VNodeChild) | undefined; @@ -7297,7 +7361,9 @@ declare const __VLS_export: import("vue").DefineComponent; }) => import("vue").VNodeChild) | undefined; loader?: false | ((arg: import("vuetify/lib/composables/loader.mjs").LoaderSlotProps) => import("vue").VNodeChild) | undefined; - default?: false | (() => import("vue").VNodeChild) | undefined; + default?: false | ((arg: { + id: Readonly>; + }) => import("vue").VNodeChild) | undefined; counter?: false | ((arg: import("vuetify/lib/components/VCounter/VCounter.mjs").VCounterSlot) => import("vue").VNodeChild) | undefined; } | undefined; } & { @@ -7307,7 +7373,9 @@ declare const __VLS_export: import("vue").DefineComponent; }) => import("vue").VNodeChild) | undefined; "v-slot:counter"?: false | ((arg: import("vuetify/lib/components/VCounter/VCounter.mjs").VCounterSlot) => import("vue").VNodeChild) | undefined; - "v-slot:default"?: false | (() => import("vue").VNodeChild) | undefined; + "v-slot:default"?: false | ((arg: { + id: Readonly>; + }) => import("vue").VNodeChild) | undefined; "v-slot:details"?: false | ((arg: import("vuetify/lib/components/VInput/VInput.mjs").VInputSlot) => import("vue").VNodeChild) | undefined; "v-slot:label"?: false | ((arg: import("vuetify/lib/components/VField/VField.mjs").DefaultInputSlot & { label: string | undefined; @@ -7322,7 +7390,7 @@ declare const __VLS_export: import("vue").DefineComponent any) | undefined; "onUpdate:focused"?: ((focused: boolean) => any) | undefined; "onUpdate:modelValue"?: ((val: string) => any) | undefined; - }, "flat" | "name" | "type" | "variant" | "size" | "disabled" | "reverse" | "min" | "max" | "value" | "required" | "focus" | "blur" | "inputMode" | "normalize" | "style" | "children" | "placeholder" | "form" | "select" | "title" | "animate" | "pattern" | "density" | "error" | "innerHTML" | "height" | "id" | "lang" | "width" | "role" | "direction" | "hidden" | "reset" | "slot" | "rounded" | "tile" | "draggable" | "prepend" | "append" | "click" | "step" | "isValid" | "resetValidation" | "validate" | "centerAffix" | "errorMessages" | "focused" | "glow" | "hideSpinButtons" | "maxErrors" | "messages" | "persistentHint" | "readonly" | "rules" | "clearable" | "clearIcon" | "active" | "dirty" | "persistentClear" | "singleLine" | "autocomplete" | "autofocus" | "prefix" | "persistentPlaceholder" | "persistentCounter" | "defaultValue" | "dirName" | "labels" | "maxLength" | "minLength" | "readOnly" | "selectionDirection" | "selectionEnd" | "selectionStart" | "validationMessage" | "validity" | "willValidate" | "checkValidity" | "reportValidity" | "setCustomValidity" | "setRangeText" | "setSelectionRange" | "addEventListener" | "removeEventListener" | "accessKey" | "accessKeyLabel" | "autocapitalize" | "dir" | "inert" | "innerText" | "offsetHeight" | "offsetLeft" | "offsetParent" | "offsetTop" | "offsetWidth" | "outerText" | "popover" | "spellcheck" | "translate" | "writingSuggestions" | "attachInternals" | "hidePopover" | "showPopover" | "togglePopover" | "attributes" | "classList" | "className" | "clientHeight" | "clientLeft" | "clientTop" | "clientWidth" | "currentCSSZoom" | "localName" | "namespaceURI" | "onfullscreenchange" | "onfullscreenerror" | "outerHTML" | "ownerDocument" | "part" | "scrollHeight" | "scrollLeft" | "scrollTop" | "scrollWidth" | "shadowRoot" | "tagName" | "attachShadow" | "checkVisibility" | "closest" | "computedStyleMap" | "getAttribute" | "getAttributeNS" | "getAttributeNames" | "getAttributeNode" | "getAttributeNodeNS" | "getBoundingClientRect" | "getClientRects" | "getElementsByClassName" | "getElementsByTagName" | "getElementsByTagNameNS" | "getHTML" | "hasAttribute" | "hasAttributeNS" | "hasAttributes" | "hasPointerCapture" | "insertAdjacentElement" | "insertAdjacentHTML" | "insertAdjacentText" | "matches" | "releasePointerCapture" | "removeAttribute" | "removeAttributeNS" | "removeAttributeNode" | "requestFullscreen" | "requestPointerLock" | "scroll" | "scrollBy" | "scrollIntoView" | "scrollTo" | "setAttribute" | "setAttributeNS" | "setAttributeNode" | "setAttributeNodeNS" | "setHTMLUnsafe" | "setPointerCapture" | "toggleAttribute" | "webkitMatchesSelector" | "textContent" | "baseURI" | "childNodes" | "firstChild" | "isConnected" | "lastChild" | "nextSibling" | "nodeName" | "nodeType" | "nodeValue" | "parentElement" | "parentNode" | "previousSibling" | "appendChild" | "cloneNode" | "compareDocumentPosition" | "contains" | "getRootNode" | "hasChildNodes" | "insertBefore" | "isDefaultNamespace" | "isEqualNode" | "isSameNode" | "lookupNamespaceURI" | "lookupPrefix" | "removeChild" | "replaceChild" | "ELEMENT_NODE" | "ATTRIBUTE_NODE" | "TEXT_NODE" | "CDATA_SECTION_NODE" | "ENTITY_REFERENCE_NODE" | "ENTITY_NODE" | "PROCESSING_INSTRUCTION_NODE" | "COMMENT_NODE" | "DOCUMENT_NODE" | "DOCUMENT_TYPE_NODE" | "DOCUMENT_FRAGMENT_NODE" | "NOTATION_NODE" | "DOCUMENT_POSITION_DISCONNECTED" | "DOCUMENT_POSITION_PRECEDING" | "DOCUMENT_POSITION_FOLLOWING" | "DOCUMENT_POSITION_CONTAINS" | "DOCUMENT_POSITION_CONTAINED_BY" | "DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC" | "dispatchEvent" | "ariaAtomic" | "ariaAutoComplete" | "ariaBrailleLabel" | "ariaBrailleRoleDescription" | "ariaBusy" | "ariaChecked" | "ariaColCount" | "ariaColIndex" | "ariaColIndexText" | "ariaColSpan" | "ariaCurrent" | "ariaDescription" | "ariaDisabled" | "ariaExpanded" | "ariaHasPopup" | "ariaHidden" | "ariaInvalid" | "ariaKeyShortcuts" | "ariaLabel" | "ariaLevel" | "ariaLive" | "ariaModal" | "ariaMultiLine" | "ariaMultiSelectable" | "ariaOrientation" | "ariaPlaceholder" | "ariaPosInSet" | "ariaPressed" | "ariaReadOnly" | "ariaRelevant" | "ariaRequired" | "ariaRoleDescription" | "ariaRowCount" | "ariaRowIndex" | "ariaRowIndexText" | "ariaRowSpan" | "ariaSelected" | "ariaSetSize" | "ariaSort" | "ariaValueMax" | "ariaValueMin" | "ariaValueNow" | "ariaValueText" | "getAnimations" | "after" | "before" | "remove" | "replaceWith" | "nextElementSibling" | "previousElementSibling" | "childElementCount" | "firstElementChild" | "lastElementChild" | "querySelector" | "querySelectorAll" | "replaceChildren" | "assignedSlot" | "attributeStyleMap" | "contentEditable" | "enterKeyHint" | "isContentEditable" | "onabort" | "onanimationcancel" | "onanimationend" | "onanimationiteration" | "onanimationstart" | "onauxclick" | "onbeforeinput" | "onbeforetoggle" | "onblur" | "oncancel" | "oncanplay" | "oncanplaythrough" | "onchange" | "onclick" | "onclose" | "oncontextlost" | "oncontextmenu" | "oncontextrestored" | "oncopy" | "oncuechange" | "oncut" | "ondblclick" | "ondrag" | "ondragend" | "ondragenter" | "ondragleave" | "ondragover" | "ondragstart" | "ondrop" | "ondurationchange" | "onemptied" | "onended" | "onerror" | "onfocus" | "onformdata" | "ongotpointercapture" | "oninput" | "oninvalid" | "onkeydown" | "onkeypress" | "onkeyup" | "onload" | "onloadeddata" | "onloadedmetadata" | "onloadstart" | "onlostpointercapture" | "onmousedown" | "onmouseenter" | "onmouseleave" | "onmousemove" | "onmouseout" | "onmouseover" | "onmouseup" | "onpaste" | "onpause" | "onplay" | "onplaying" | "onpointercancel" | "onpointerdown" | "onpointerenter" | "onpointerleave" | "onpointermove" | "onpointerout" | "onpointerover" | "onpointerup" | "onprogress" | "onratechange" | "onreset" | "onresize" | "onscroll" | "onscrollend" | "onsecuritypolicyviolation" | "onseeked" | "onseeking" | "onselect" | "onselectionchange" | "onselectstart" | "onslotchange" | "onstalled" | "onsubmit" | "onsuspend" | "ontimeupdate" | "ontoggle" | "ontouchcancel" | "ontouchend" | "ontouchmove" | "ontouchstart" | "ontransitioncancel" | "ontransitionend" | "ontransitionrun" | "ontransitionstart" | "onvolumechange" | "onwaiting" | "onwebkitanimationend" | "onwebkitanimationiteration" | "onwebkitanimationstart" | "onwebkittransitionend" | "onwheel" | "dataset" | "nonce" | "tabIndex" | "_allExposed" | "_" | "_clickOutside" | "_mutate" | "_observe" | "_onResize" | "_onScroll" | "_ripple" | "_touchHandlers" | "_transitionInitialStyles" | "accept" | "align" | "alt" | "capture" | "checked" | "controlRef" | "defaultChecked" | "fieldIconColor" | "files" | "formAction" | "formEnctype" | "formMethod" | "formNoValidate" | "formTarget" | "indeterminate" | "list" | "multiple" | "popoverTargetAction" | "popoverTargetElement" | "showPicker" | "src" | "stepDown" | "stepUp" | "useMap" | "valueAsDate" | "valueAsNumber" | "webkitEntries" | "webkitdirectory"> & import("vue").ShallowUnwrapRef & import("vue").ShallowUnwrapRef void) | undefined; "onClick:append"?: ((args_0: MouseEvent) => void) | undefined; - }, "disabled" | "style" | "density" | "error" | "direction" | "reset" | "isValid" | "resetValidation" | "validate" | "centerAffix" | "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"> & import("vue").ShallowUnwrapRef<{ reset: () => Promise; resetValidation: () => Promise; validate: (silent?: boolean) => Promise; @@ -7565,7 +7633,7 @@ declare const __VLS_export: import("vue").DefineComponent & 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" | keyof import("vue").VNodeProps | "class" | "style" | "label" | "density" | "error" | "id" | "width" | "direction" | "theme" | "appendIcon" | "baseColor" | "prependIcon" | "modelValue" | "$children" | "v-slots" | "v-slot:append" | "v-slot:default" | "v-slot:prepend" | "onUpdate:modelValue" | "centerAffix" | "errorMessages" | "focused" | "glow" | "hideSpinButtons" | "maxErrors" | "messages" | "persistentHint" | "readonly" | "rules" | "onUpdate:focused" | "validateOn" | "validationValue" | "maxWidth" | "minWidth" | "iconColor" | "hideDetails" | "hint" | "onClick:prepend" | "onClick:append" | "v-slot:details" | "v-slot:message">, `$${any}`> & Omit, "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}`> & Omit void) | undefined; id?: string | undefined; details: boolean; + labelId?: string | undefined; } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "active" | "centerAffix" | "clearIcon" | "clearable" | "details" | "dirty" | "disabled" | "error" | "flat" | "focused" | "glow" | "persistentClear" | "reverse" | "rounded" | "singleLine" | "style" | "tile" | "variant">; $attrs: { [x: string]: unknown; @@ -7693,6 +7762,7 @@ declare const __VLS_export: import("vue").DefineComponent void) | undefined; "onClick:prependInner"?: ((args_0: MouseEvent) => void) | undefined; id?: string | undefined; + labelId?: string | undefined; } & { "onUpdate:focused"?: ((focused: boolean) => any) | undefined; }, { @@ -7818,15 +7888,16 @@ declare const __VLS_export: import("vue").DefineComponent void) | undefined; "onClick:prependInner"?: ((args_0: MouseEvent) => void) | undefined; id?: string | undefined; + labelId?: string | undefined; } & { "onUpdate:focused"?: ((focused: boolean) => any) | undefined; - }, "flat" | "variant" | "disabled" | "reverse" | "style" | "details" | "error" | "rounded" | "tile" | "centerAffix" | "focused" | "glow" | "clearable" | "clearIcon" | "active" | "dirty" | "persistentClear" | "singleLine" | "controlRef" | "fieldIconColor"> & import("vue").ShallowUnwrapRef<{ + }, "flat" | "variant" | "disabled" | "reverse" | "error" | "details" | "style" | "centerAffix" | "focused" | "glow" | "rounded" | "tile" | "clearable" | "clearIcon" | "active" | "dirty" | "persistentClear" | "singleLine" | "controlRef" | "fieldIconColor"> & import("vue").ShallowUnwrapRef<{ controlRef: import("vue").Ref; fieldIconColor: import("vue").ComputedRef; }> & import("vue").ComponentCustomProperties & import("vuetify/lib/util/defineComponent.mjs").GenericProps<{ modelValue?: unknown; "onUpdate:modelValue"?: ((value: unknown) => void) | undefined; - }, import("vuetify/lib/components/VField/VField.mjs").VFieldSlots>, "flat" | "color" | "variant" | "disabled" | "loading" | "reverse" | keyof import("vue").VNodeProps | "class" | "style" | "details" | "label" | "error" | "id" | "theme" | "rounded" | "tile" | "baseColor" | "modelValue" | "$children" | "v-slots" | "v-slot:default" | "v-slot:label" | "onUpdate:modelValue" | "centerAffix" | "focused" | "glow" | "onUpdate:focused" | "iconColor" | "appendInnerIcon" | "bgColor" | "clearable" | "clearIcon" | "active" | "dirty" | "persistentClear" | "prependInnerIcon" | "singleLine" | "onClick:clear" | "onClick:appendInner" | "onClick:prependInner" | "v-slot:append-inner" | "v-slot:clear" | "v-slot:loader" | "v-slot:prepend-inner">, `$${any}`> & { + }, import("vuetify/lib/components/VField/VField.mjs").VFieldSlots>, "flat" | "color" | "variant" | "disabled" | "loading" | "reverse" | "error" | "details" | "label" | "style" | "class" | keyof import("vue").VNodeProps | "modelValue" | "onUpdate:modelValue" | "centerAffix" | "focused" | "glow" | "theme" | "onUpdate:focused" | "id" | "baseColor" | "iconColor" | "$children" | "v-slot:default" | "v-slots" | "rounded" | "tile" | "appendInnerIcon" | "bgColor" | "clearable" | "clearIcon" | "active" | "dirty" | "persistentClear" | "prependInnerIcon" | "singleLine" | "onClick:clear" | "onClick:appendInner" | "onClick:prependInner" | "v-slot:append-inner" | "v-slot:clear" | "v-slot:label" | "v-slot:loader" | "v-slot:prepend-inner" | "labelId">, `$${any}`> & { _allExposed: { reset: () => Promise; resetValidation: () => Promise; @@ -7837,7 +7908,7 @@ declare const __VLS_export: import("vue").DefineComponent; fieldIconColor: import("vue").ComputedRef; } | {}; - }> & import("vue").ComponentCustomProperties, "flat" | "name" | "color" | "type" | "variant" | "disabled" | "loading" | "reverse" | keyof import("vue").VNodeProps | "class" | "style" | "placeholder" | "label" | "density" | "error" | "id" | "width" | "role" | "direction" | "theme" | "rounded" | "tile" | "appendIcon" | "baseColor" | "prependIcon" | "modelValue" | "$children" | "v-slots" | "v-slot:append" | "v-slot:default" | "v-slot:label" | "v-slot:prepend" | "onUpdate:modelValue" | "centerAffix" | "errorMessages" | "focused" | "glow" | "hideSpinButtons" | "maxErrors" | "messages" | "persistentHint" | "readonly" | "rules" | "onUpdate:focused" | "validateOn" | "validationValue" | "maxWidth" | "minWidth" | "iconColor" | "hideDetails" | "hint" | "onClick:prepend" | "onClick:append" | "v-slot:details" | "v-slot:message" | "appendInnerIcon" | "bgColor" | "clearable" | "clearIcon" | "active" | "dirty" | "persistentClear" | "prependInnerIcon" | "singleLine" | "onClick:clear" | "onClick:appendInner" | "onClick:prependInner" | "autocomplete" | "autofocus" | "counter" | "counterValue" | "prefix" | "persistentPlaceholder" | "persistentCounter" | "suffix" | "modelModifiers" | "v-slot:append-inner" | "v-slot:clear" | "v-slot:counter" | "v-slot:loader" | "v-slot:prepend-inner" | "onClick:control" | "onMousedown:control">, `$${any}`> & { + }> & import("vue").ComponentCustomProperties, "flat" | "name" | "color" | "type" | "variant" | "disabled" | "loading" | "reverse" | "error" | "label" | "style" | "class" | keyof import("vue").VNodeProps | "modelValue" | "placeholder" | "onUpdate:modelValue" | "centerAffix" | "density" | "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" | "rounded" | "tile" | "appendInnerIcon" | "bgColor" | "clearable" | "clearIcon" | "active" | "dirty" | "persistentClear" | "prependInnerIcon" | "singleLine" | "onClick:clear" | "onClick:appendInner" | "onClick:prependInner" | "autocomplete" | "autofocus" | "counter" | "counterValue" | "prefix" | "persistentPlaceholder" | "persistentCounter" | "suffix" | "modelModifiers" | "v-slot:append-inner" | "v-slot:clear" | "v-slot:counter" | "v-slot:label" | "v-slot:loader" | "v-slot:prepend-inner" | "onClick:control" | "onMousedown:control" | "role">, `$${any}`> & { _allExposed: { isFocused: import("vue").ShallowRef; menu: import("vue").WritableComputedRef; @@ -8141,6 +8212,7 @@ declare const __VLS_export: import("vue").DefineComponent void) | undefined; id?: string | undefined; details: boolean; + labelId?: string | undefined; } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "active" | "centerAffix" | "clearIcon" | "clearable" | "details" | "dirty" | "disabled" | "error" | "flat" | "focused" | "glow" | "persistentClear" | "reverse" | "rounded" | "singleLine" | "style" | "tile" | "variant">; $attrs: { [x: string]: unknown; @@ -8213,6 +8285,7 @@ declare const __VLS_export: import("vue").DefineComponent void) | undefined; "onClick:prependInner"?: ((args_0: MouseEvent) => void) | undefined; id?: string | undefined; + labelId?: string | undefined; } & { "onUpdate:focused"?: ((focused: boolean) => any) | undefined; }, { @@ -8338,6 +8411,7 @@ declare const __VLS_export: import("vue").DefineComponent void) | undefined; "onClick:prependInner"?: ((args_0: MouseEvent) => void) | undefined; id?: string | undefined; + labelId?: string | undefined; } & { "onUpdate:focused"?: ((focused: boolean) => any) | undefined; }, "controlRef" | "fieldIconColor" | ("active" | "centerAffix" | "clearIcon" | "clearable" | "details" | "dirty" | "disabled" | "error" | "flat" | "focused" | "glow" | "persistentClear" | "reverse" | "rounded" | "singleLine" | "style" | "tile" | "variant")> & import("vue").ShallowUnwrapRef<{ @@ -8346,7 +8420,7 @@ declare const __VLS_export: import("vue").DefineComponent & {} & import("vue").ComponentCustomProperties & {} & import("vuetify/lib/util/defineComponent.mjs").GenericProps<{ modelValue?: unknown; "onUpdate:modelValue"?: ((value: unknown) => void) | undefined; - }, import("vuetify/lib/components/VField/VField.mjs").VFieldSlots>, "$children" | "appendInnerIcon" | "baseColor" | "bgColor" | "class" | "color" | "iconColor" | "id" | "label" | "loading" | "modelValue" | "onClick:appendInner" | "onClick:clear" | "onClick:prependInner" | "onUpdate:focused" | "onUpdate:modelValue" | "prependInnerIcon" | "theme" | "v-slot:append-inner" | "v-slot:clear" | "v-slot:default" | "v-slot:label" | "v-slot:loader" | "v-slot:prepend-inner" | "v-slots" | ("active" | "centerAffix" | "clearIcon" | "clearable" | "details" | "dirty" | "disabled" | "error" | "flat" | "focused" | "glow" | "persistentClear" | "reverse" | "rounded" | "singleLine" | "style" | "tile" | "variant") | keyof import("vue").VNodeProps>, `$${any}`> & { + }, import("vuetify/lib/components/VField/VField.mjs").VFieldSlots>, "$children" | "appendInnerIcon" | "baseColor" | "bgColor" | "class" | "color" | "iconColor" | "id" | "label" | "labelId" | "loading" | "modelValue" | "onClick:appendInner" | "onClick:clear" | "onClick:prependInner" | "onUpdate:focused" | "onUpdate:modelValue" | "prependInnerIcon" | "theme" | "v-slot:append-inner" | "v-slot:clear" | "v-slot:default" | "v-slot:label" | "v-slot:loader" | "v-slot:prepend-inner" | "v-slots" | ("active" | "centerAffix" | "clearIcon" | "clearable" | "details" | "dirty" | "disabled" | "error" | "flat" | "focused" | "glow" | "persistentClear" | "reverse" | "rounded" | "singleLine" | "style" | "tile" | "variant") | keyof import("vue").VNodeProps>, `$${any}`> & { _allExposed: { reset: () => Promise; resetValidation: () => Promise; @@ -8362,7 +8436,7 @@ declare const __VLS_export: import("vue").DefineComponent true; "update:modelValue": (value: any) => true; "update:menu": (ue: boolean) => true; - }, "modelValue" | "$children" | "v-slots" | "v-slot:append" | "v-slot:label" | "v-slot:prepend" | "update:modelValue" | "v-slot:details" | "v-slot:message" | "v-slot:append-inner" | "v-slot:clear" | "v-slot:loader" | "v-slot:prepend-inner" | "multiple" | "itemProps" | "itemTitle" | "itemValue" | "items" | "returnObject" | "v-slot:append-item" | "v-slot:chip" | "v-slot:divider" | "v-slot:item" | "v-slot:no-data" | "v-slot:prepend-item" | "v-slot:selection" | "v-slot:subheader">, string, { + }, "modelValue" | "update:modelValue" | "$children" | "v-slot:append" | "v-slot:details" | "v-slot:message" | "v-slot:prepend" | "v-slots" | "v-slot:append-inner" | "v-slot:clear" | "v-slot:label" | "v-slot:loader" | "v-slot:prepend-inner" | "multiple" | "itemProps" | "itemTitle" | "itemValue" | "items" | "returnObject" | "v-slot:append-item" | "v-slot:chip" | "v-slot:divider" | "v-slot:item" | "v-slot:no-data" | "v-slot:prepend-item" | "v-slot:selection" | "v-slot:subheader">, string, { style: import("vue").StyleValue; focused: boolean; errorMessages: string | readonly string[] | null; @@ -8380,7 +8454,6 @@ declare const __VLS_export: import("vue").DefineComponent; default: () => never[]; }; - direction: { - type: PropType<"horizontal" | "vertical">; - default: string; - validator: (v: any) => boolean; - }; "onClick:prepend": PropType<(args_0: MouseEvent) => void>; "onClick:append": PropType<(args_0: MouseEvent) => void>; items: { @@ -8659,7 +8727,8 @@ declare const __VLS_export: import("vue").DefineComponent; + valueComparator: PropType; + appendInnerIcon: PropType; bgColor: StringConstructor; clearable: BooleanConstructor; clearIcon: { @@ -8766,13 +8835,12 @@ declare const __VLS_export: import("vue").DefineComponent, fallback?: any) => any) | null; returnObject: boolean; - valueComparator?: typeof import("vuetify/lib/util/deepEqual.mjs").deepEqual | undefined; + valueComparator?: import("vuetify/lib/util/deepEqual.mjs").ValueComparator | undefined; activatable: boolean; selectable: boolean; activeStrategy?: import("vuetify/lib/composables/nested/nested.mjs").ActiveStrategyProp | undefined; selectStrategy: import("vuetify/lib/composables/nested/nested.mjs").SelectStrategyProp; openStrategy: import("vuetify/lib/composables/nested/nested.mjs").OpenStrategyProp; - activated?: any; mandatory: boolean; itemsRegistration: import("vuetify/lib/composables/nested/nested.mjs").ItemsRegistrationType; baseColor?: string | undefined; @@ -8793,7 +8861,6 @@ declare const __VLS_export: import("vue").DefineComponent any) | undefined; - "onUpdate:activated"?: ((value: unknown) => any) | undefined; } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "activatable" | "density" | "disabled" | "filterable" | "itemType" | "itemsRegistration" | "lines" | "mandatory" | "nav" | "openStrategy" | "returnObject" | "rounded" | "selectStrategy" | "selectable" | "slim" | "style" | "tag" | "tile" | "variant"> & { items?: readonly any[] | undefined; itemTitle?: import("vuetify/lib/util/helpers.mjs").SelectItemKey; @@ -8801,7 +8868,11 @@ declare const __VLS_export: import("vue").DefineComponent; itemProps?: import("vuetify/lib/util/helpers.mjs").SelectItemKey; selected?: unknown; + activated?: unknown; + opened?: unknown; "onUpdate:selected"?: ((value: unknown) => void) | undefined; + "onUpdate:activated"?: ((value: unknown) => void) | undefined; + "onUpdate:opened"?: ((value: unknown) => void) | undefined; "onClick:open"?: ((value: { id: unknown; value: boolean; @@ -8812,8 +8883,6 @@ declare const __VLS_export: import("vue").DefineComponent void) | undefined; - opened?: unknown; - "onUpdate:opened"?: ((value: unknown) => void) | undefined; } & { $children?: { prepend?: ((arg: import("vuetify/lib/components/VList/VListItem.mjs").ListItemSlot & { @@ -9272,11 +9341,6 @@ declare const __VLS_export: import("vue").DefineComponent; default: () => never[]; }; - direction: { - type: PropType<"horizontal" | "vertical">; - default: string; - validator: (v: any) => boolean; - }; "onClick:prepend": PropType<(args_0: MouseEvent) => void>; "onClick:append": PropType<(args_0: MouseEvent) => void>; items: { @@ -9307,7 +9371,8 @@ declare const __VLS_export: import("vue").DefineComponent; + valueComparator: PropType; + appendInnerIcon: PropType; bgColor: StringConstructor; clearable: BooleanConstructor; clearIcon: { @@ -9414,13 +9479,12 @@ declare const __VLS_export: import("vue").DefineComponent, fallback?: any) => any) | null; returnObject: boolean; - valueComparator?: typeof import("vuetify/lib/util/deepEqual.mjs").deepEqual | undefined; + valueComparator?: import("vuetify/lib/util/deepEqual.mjs").ValueComparator | undefined; activatable: boolean; selectable: boolean; activeStrategy?: import("vuetify/lib/composables/nested/nested.mjs").ActiveStrategyProp | undefined; selectStrategy: import("vuetify/lib/composables/nested/nested.mjs").SelectStrategyProp; openStrategy: import("vuetify/lib/composables/nested/nested.mjs").OpenStrategyProp; - activated?: any; mandatory: boolean; itemsRegistration: import("vuetify/lib/composables/nested/nested.mjs").ItemsRegistrationType; baseColor?: string | undefined; @@ -9441,7 +9505,6 @@ declare const __VLS_export: import("vue").DefineComponent any) | undefined; - "onUpdate:activated"?: ((value: unknown) => any) | undefined; } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "activatable" | "density" | "disabled" | "filterable" | "itemType" | "itemsRegistration" | "lines" | "mandatory" | "nav" | "openStrategy" | "returnObject" | "rounded" | "selectStrategy" | "selectable" | "slim" | "style" | "tag" | "tile" | "variant"> & { items?: readonly any[] | undefined; itemTitle?: import("vuetify/lib/util/helpers.mjs").SelectItemKey; @@ -9449,7 +9512,11 @@ declare const __VLS_export: import("vue").DefineComponent; itemProps?: import("vuetify/lib/util/helpers.mjs").SelectItemKey; selected?: unknown; + activated?: unknown; + opened?: unknown; "onUpdate:selected"?: ((value: unknown) => void) | undefined; + "onUpdate:activated"?: ((value: unknown) => void) | undefined; + "onUpdate:opened"?: ((value: unknown) => void) | undefined; "onClick:open"?: ((value: { id: unknown; value: boolean; @@ -9460,8 +9527,6 @@ declare const __VLS_export: import("vue").DefineComponent void) | undefined; - opened?: unknown; - "onUpdate:opened"?: ((value: unknown) => void) | undefined; } & { $children?: { prepend?: ((arg: import("vuetify/lib/components/VList/VListItem.mjs").ListItemSlot & { @@ -9854,5 +9919,3 @@ declare const __VLS_export: import("vue").DefineComponent>; }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -declare const _default: typeof __VLS_export; -export default _default; diff --git a/dist/types/componentes/EliEntrada/EliEntradaTexto.vue.d.ts b/dist/types/componentes/EliEntrada/EliEntradaTexto.vue.d.ts index ee69f8d..66fc83f 100644 --- a/dist/types/componentes/EliEntrada/EliEntradaTexto.vue.d.ts +++ b/dist/types/componentes/EliEntrada/EliEntradaTexto.vue.d.ts @@ -1,6 +1,8 @@ -import { PropType } from "vue"; +import { type PropType } from "vue"; import type { PadroesEntradas } from "./tiposEntradas"; type EntradaTexto = PadroesEntradas["texto"]; +declare const _default: typeof __VLS_export; +export default _default; declare const __VLS_export: import("vue").DefineComponent void) & ((event: "input", _v: string | null | undefined) => void) & ((event: "change", _v: string | null | undefined) => void) & ((event: "focus") => void) & ((event: "blur") => void); + 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; inputHtmlType: import("vue").ComputedRef<"text" | "email" | "url">; inputMode: import("vue").ComputedRef; @@ -38,13 +40,11 @@ declare const __VLS_export: import("vue").DefineComponent> & Readonly<{ - "onUpdate:value"?: ((_v: string | null | undefined) => any) | undefined; onInput?: ((_v: string | null | undefined) => any) | undefined; + "onUpdate:value"?: ((_v: string | null | undefined) => any) | undefined; onChange?: ((_v: string | null | undefined) => any) | undefined; onFocus?: (() => any) | undefined; onBlur?: (() => any) | undefined; }>, { value: string | null | undefined; }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -declare const _default: typeof __VLS_export; -export default _default; diff --git a/dist/types/componentes/EliEntrada/index.d.ts b/dist/types/componentes/EliEntrada/index.d.ts index a4f6c7c..6a6646a 100644 --- a/dist/types/componentes/EliEntrada/index.d.ts +++ b/dist/types/componentes/EliEntrada/index.d.ts @@ -1,7 +1,7 @@ -import EliEntradaTexto from "./EliEntradaTexto.vue"; -import EliEntradaNumero from "./EliEntradaNumero.vue"; import EliEntradaDataHora from "./EliEntradaDataHora.vue"; +import EliEntradaNumero from "./EliEntradaNumero.vue"; import EliEntradaParagrafo from "./EliEntradaParagrafo.vue"; import EliEntradaSelecao from "./EliEntradaSelecao.vue"; -export { EliEntradaTexto, EliEntradaNumero, EliEntradaDataHora, EliEntradaParagrafo, EliEntradaSelecao }; +import EliEntradaTexto from "./EliEntradaTexto.vue"; +export { EliEntradaTexto, EliEntradaNumero, EliEntradaDataHora, EliEntradaParagrafo, EliEntradaSelecao, }; export type { PadroesEntradas, TipoEntrada } from "./tiposEntradas"; diff --git a/dist/types/componentes/EliEntrada/registryEliEntradas.d.ts b/dist/types/componentes/EliEntrada/registryEliEntradas.d.ts index 9d8be84..61325fa 100644 --- a/dist/types/componentes/EliEntrada/registryEliEntradas.d.ts +++ b/dist/types/componentes/EliEntrada/registryEliEntradas.d.ts @@ -19,7 +19,7 @@ export declare const registryTabelaCelulas: { attrs: { [x: string]: unknown; }; - emit: ((event: "update:value", _v: string | null | undefined) => void) & ((event: "input", _v: string | null | undefined) => void) & ((event: "change", _v: string | null | undefined) => void) & ((event: "focus") => void) & ((event: "blur") => void); + 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; inputHtmlType: import("vue").ComputedRef<"text" | "email" | "url">; inputMode: import("vue").ComputedRef; @@ -46,8 +46,8 @@ export declare const registryTabelaCelulas: { required: true; }; }>> & Readonly<{ - "onUpdate:value"?: ((_v: string | null | undefined) => any) | undefined; onInput?: ((_v: string | null | undefined) => any) | undefined; + "onUpdate:value"?: ((_v: string | null | undefined) => any) | undefined; onChange?: ((_v: string | null | undefined) => any) | undefined; onFocus?: (() => any) | undefined; onBlur?: (() => any) | undefined; @@ -74,7 +74,7 @@ export declare const registryTabelaCelulas: { attrs: { [x: string]: unknown; }; - emit: ((event: "update:value", _v: number | null | undefined) => void) & ((event: "input", _v: number | null | undefined) => void) & ((event: "change", _v: number | null | undefined) => void) & ((event: "focus") => void) & ((event: "blur") => void); + 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; isInteiro: import("vue").ComputedRef; onUpdateModelValue: (texto: string) => void; @@ -101,8 +101,8 @@ export declare const registryTabelaCelulas: { required: true; }; }>> & Readonly<{ - "onUpdate:value"?: ((_v: number | null | undefined) => any) | undefined; onInput?: ((_v: number | null | undefined) => any) | undefined; + "onUpdate:value"?: ((_v: number | null | undefined) => any) | undefined; onChange?: ((_v: number | null | undefined) => any) | undefined; onFocus?: (() => any) | undefined; onBlur?: (() => any) | undefined; @@ -306,15 +306,15 @@ export declare const registryTabelaCelulas: { default: undefined; }; }>> & Readonly<{ - "onUpdate:value"?: ((_v: string | null) => any) | undefined; onInput?: ((_v: string | null) => any) | undefined; + "onUpdate:value"?: ((_v: string | null) => any) | undefined; onChange?: ((_v: string | null) => any) | undefined; - onFocus?: (() => any) | undefined; - onBlur?: (() => any) | undefined; "onUpdate:modelValue"?: ((_v: string | null) => any) | undefined; onAlterar?: ((_v: string | null) => any) | undefined; onFoco?: (() => any) | undefined; onDesfoco?: (() => any) | undefined; + onFocus?: (() => any) | undefined; + onBlur?: (() => any) | undefined; }>, { modo: "data" | "dataHora" | undefined; limpavel: boolean; @@ -342,9 +342,9 @@ export declare const registryTabelaCelulas: { variante?: import("../../index.js").CampoVariante; }; value: string | null | undefined; - placeholder: string; modelValue: string | null; rotulo: string; + placeholder: string; desabilitado: boolean; }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; readonly paragrafo: import("vue").DefineComponent void) & ((event: "input", _v: string | null | undefined) => void) & ((event: "change", _v: string | null | undefined) => void) & ((event: "focus") => void) & ((event: "blur") => void); + 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; - opcoes: { - rotulo: string; - placeholder?: string; - } & { - linhas?: number; - limiteCaracteres?: number; - limpavel?: boolean; - erro?: boolean; - mensagensErro?: string | string[]; - dica?: string; - dicaPersistente?: boolean; - densidade?: import("../../index.js").CampoDensidade; - variante?: import("../../index.js").CampoVariante; - }; }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { "update:value": (_v: string | null | undefined) => true; input: (_v: string | null | undefined) => true; @@ -418,8 +404,8 @@ export declare const registryTabelaCelulas: { required: true; }; }>> & Readonly<{ - "onUpdate:value"?: ((_v: string | null | undefined) => any) | undefined; onInput?: ((_v: string | null | undefined) => any) | undefined; + "onUpdate:value"?: ((_v: string | null | undefined) => any) | undefined; onChange?: ((_v: string | null | undefined) => any) | undefined; onFocus?: (() => any) | undefined; onBlur?: (() => any) | undefined; @@ -439,7 +425,6 @@ export declare const registryTabelaCelulas: { hideSpinButtons: boolean; persistentHint: boolean; messages: string | readonly string[]; - direction: "horizontal" | "vertical"; clearable: boolean; clearIcon: import("vuetify/lib/composables/icons.mjs").IconValue; active: boolean; @@ -827,7 +812,6 @@ export declare const registryTabelaCelulas: { hideSpinButtons: boolean; persistentHint: boolean; messages: string | readonly string[]; - direction: "horizontal" | "vertical"; clearable: boolean; clearIcon: import("vuetify/lib/composables/icons.mjs").IconValue; active: boolean; @@ -902,7 +886,6 @@ export declare const registryTabelaCelulas: { hideSpinButtons: boolean; persistentHint: boolean; messages: string | readonly string[]; - direction: "horizontal" | "vertical"; clearable: boolean; clearIcon: import("vuetify/lib/composables/icons.mjs").IconValue; active: boolean; @@ -1284,7 +1267,6 @@ export declare const registryTabelaCelulas: { hideSpinButtons: boolean; persistentHint: boolean; messages: string | readonly string[]; - direction: "horizontal" | "vertical"; clearable: boolean; clearIcon: import("vuetify/lib/composables/icons.mjs").IconValue; active: boolean; @@ -1320,7 +1302,6 @@ export declare const registryTabelaCelulas: { hideSpinButtons: boolean; persistentHint: boolean; messages: string | readonly string[]; - direction: "horizontal" | "vertical"; clearable: boolean; clearIcon: import("vuetify/lib/composables/icons.mjs").IconValue; active: boolean; @@ -1672,7 +1653,7 @@ export declare const registryTabelaCelulas: { hint?: string | undefined; "onClick:prepend"?: ((args_0: MouseEvent) => void) | undefined; "onClick:append"?: ((args_0: MouseEvent) => void) | undefined; - }, "disabled" | "style" | "density" | "error" | "direction" | "reset" | "isValid" | "resetValidation" | "validate" | "centerAffix" | "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"> & import("vue").ShallowUnwrapRef<{ reset: () => Promise; resetValidation: () => Promise; validate: (silent?: boolean) => Promise; @@ -1681,7 +1662,7 @@ export declare const registryTabelaCelulas: { }> & 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" | keyof import("vue").VNodeProps | "class" | "style" | "label" | "density" | "error" | "id" | "width" | "direction" | "theme" | "appendIcon" | "baseColor" | "prependIcon" | "modelValue" | "$children" | "v-slots" | "v-slot:append" | "v-slot:default" | "v-slot:prepend" | "onUpdate:modelValue" | "centerAffix" | "errorMessages" | "focused" | "glow" | "hideSpinButtons" | "maxErrors" | "messages" | "persistentHint" | "readonly" | "rules" | "onUpdate:focused" | "validateOn" | "validationValue" | "maxWidth" | "minWidth" | "iconColor" | "hideDetails" | "hint" | "onClick:prepend" | "onClick:append" | "v-slot:details" | "v-slot:message">, `$${any}`> & { + }, 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}`> & { _allExposed: { reset: () => Promise; resetValidation: () => Promise; @@ -1708,7 +1689,6 @@ export declare const registryTabelaCelulas: { hideSpinButtons: boolean; persistentHint: boolean; messages: string | readonly string[]; - direction: "horizontal" | "vertical"; clearable: boolean; clearIcon: import("vuetify/lib/composables/icons.mjs").IconValue; active: boolean; @@ -1818,11 +1798,6 @@ export declare const registryTabelaCelulas: { type: import("vue").PropType; default: () => never[]; }; - direction: { - type: import("vue").PropType<"horizontal" | "vertical">; - default: string; - validator: (v: any) => boolean; - }; "onClick:prepend": import("vue").PropType<(args_0: MouseEvent) => void>; "onClick:append": import("vue").PropType<(args_0: MouseEvent) => void>; appendInnerIcon: import("vue").PropType; @@ -1940,11 +1915,6 @@ export declare const registryTabelaCelulas: { type: import("vue").PropType; default: () => never[]; }; - direction: { - type: import("vue").PropType<"horizontal" | "vertical">; - default: string; - validator: (v: any) => boolean; - }; "onClick:prepend": import("vue").PropType<(args_0: MouseEvent) => void>; "onClick:append": import("vue").PropType<(args_0: MouseEvent) => void>; appendInnerIcon: import("vue").PropType; @@ -2041,27 +2011,8 @@ export declare const registryTabelaCelulas: { attrs: { [x: string]: unknown; }; - emit: ((event: "update:value", _v: string | null | undefined) => void) & ((event: "input", _v: string | null | undefined) => void) & ((event: "change", _v: string | null | undefined) => void) & ((event: "focus") => void) & ((event: "blur") => void); + 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; - opcoes: { - rotulo: string; - placeholder?: string; - } & { - itens: () => { - chave: string; - rotulo: string; - }[] | Promise<{ - chave: string; - rotulo: string; - }[]>; - limpavel?: boolean; - erro?: boolean; - mensagensErro?: string | string[]; - dica?: string; - dicaPersistente?: boolean; - densidade?: import("../../index.js").CampoDensidade; - variante?: import("../../index.js").CampoVariante; - }; itens: import("vue").Ref<{ chave: string; rotulo: string; @@ -2107,8 +2058,8 @@ export declare const registryTabelaCelulas: { required: true; }; }>> & Readonly<{ - "onUpdate:value"?: ((_v: string | null | undefined) => any) | undefined; onInput?: ((_v: string | null | undefined) => any) | undefined; + "onUpdate:value"?: ((_v: string | null | undefined) => any) | undefined; onChange?: ((_v: string | null | undefined) => any) | undefined; onFocus?: (() => any) | undefined; onBlur?: (() => any) | undefined; @@ -2133,7 +2084,6 @@ export declare const registryTabelaCelulas: { hideSpinButtons: boolean; persistentHint: boolean; messages: string | readonly string[]; - direction: "horizontal" | "vertical"; itemChildren: string | boolean | readonly (string | number)[] | ((item: Record, fallback?: any) => any) | null; itemType: string | boolean | readonly (string | number)[] | ((item: Record, fallback?: any) => any) | null; clearable: boolean; @@ -2182,7 +2132,8 @@ export declare const registryTabelaCelulas: { hint?: string | undefined; "onClick:prepend"?: ((args_0: MouseEvent) => void) | undefined; "onClick:append"?: ((args_0: MouseEvent) => void) | undefined; - valueComparator?: typeof import("vuetify/lib/util/deepEqual.mjs").deepEqual | undefined; + valueComparator?: import("vuetify/lib/util/deepEqual.mjs").ValueComparator | undefined; + appendInnerIcon?: import("vuetify/lib/composables/icons.mjs").IconValue | undefined; bgColor?: string | undefined; centerAffix?: boolean | undefined; color?: string | undefined; @@ -2240,13 +2191,12 @@ export declare const registryTabelaCelulas: { width?: string | number | undefined; itemType: string | boolean | readonly (string | number)[] | ((item: Record, fallback?: any) => any) | null; returnObject: boolean; - valueComparator?: typeof import("vuetify/lib/util/deepEqual.mjs").deepEqual | undefined; + valueComparator?: import("vuetify/lib/util/deepEqual.mjs").ValueComparator | undefined; activatable: boolean; selectable: boolean; activeStrategy?: import("vuetify/lib/composables/nested/nested.mjs").ActiveStrategyProp | undefined; selectStrategy: import("vuetify/lib/composables/nested/nested.mjs").SelectStrategyProp; openStrategy: import("vuetify/lib/composables/nested/nested.mjs").OpenStrategyProp; - activated?: any; mandatory: boolean; itemsRegistration: import("vuetify/lib/composables/nested/nested.mjs").ItemsRegistrationType; baseColor?: string | undefined; @@ -2267,7 +2217,6 @@ export declare const registryTabelaCelulas: { value: boolean; path: unknown[]; }) => any) | undefined; - "onUpdate:activated"?: ((value: unknown) => any) | undefined; } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "activatable" | "density" | "disabled" | "filterable" | "itemType" | "itemsRegistration" | "lines" | "mandatory" | "nav" | "openStrategy" | "returnObject" | "rounded" | "selectStrategy" | "selectable" | "slim" | "style" | "tag" | "tile" | "variant"> & { items?: readonly any[] | undefined; itemTitle?: import("vuetify/lib/util/helpers.mjs").SelectItemKey; @@ -2275,7 +2224,11 @@ export declare const registryTabelaCelulas: { itemChildren?: import("vuetify/lib/util/helpers.mjs").SelectItemKey; itemProps?: import("vuetify/lib/util/helpers.mjs").SelectItemKey; selected?: unknown; + activated?: unknown; + opened?: unknown; "onUpdate:selected"?: ((value: unknown) => void) | undefined; + "onUpdate:activated"?: ((value: unknown) => void) | undefined; + "onUpdate:opened"?: ((value: unknown) => void) | undefined; "onClick:open"?: ((value: { id: unknown; value: boolean; @@ -2286,8 +2239,6 @@ export declare const registryTabelaCelulas: { value: boolean; path: unknown[]; }) => void) | undefined; - opened?: unknown; - "onUpdate:opened"?: ((value: unknown) => void) | undefined; } & { $children?: { prepend?: ((arg: import("vuetify/lib/components/VList/VListItem.mjs").ListItemSlot & { @@ -2686,7 +2637,6 @@ export declare const registryTabelaCelulas: { hideSpinButtons: boolean; persistentHint: boolean; messages: string | readonly string[]; - direction: "horizontal" | "vertical"; clearable: boolean; clearIcon: import("vuetify/lib/composables/icons.mjs").IconValue; active: boolean; @@ -2723,11 +2673,15 @@ export declare const registryTabelaCelulas: { props: Record; }) => import("vue").VNodeChild) | undefined; loader?: ((arg: import("vuetify/lib/composables/loader.mjs").LoaderSlotProps) => import("vue").VNodeChild) | undefined; - default?: (() => import("vue").VNodeChild) | undefined; + default?: ((arg: { + id: Readonly>; + }) => import("vue").VNodeChild) | undefined; counter?: ((arg: import("vuetify/lib/components/VCounter/VCounter.mjs").VCounterSlot) => import("vue").VNodeChild) | undefined; } | { $stable?: boolean | undefined; - } | (() => import("vue").VNodeChild) | import("vue").VNodeChild; + } | ((arg: { + id: Readonly>; + }) => import("vue").VNodeChild) | import("vue").VNodeChild; "v-slots"?: { prepend?: false | ((arg: import("vuetify/lib/components/VInput/VInput.mjs").VInputSlot) => import("vue").VNodeChild) | undefined; append?: false | ((arg: import("vuetify/lib/components/VInput/VInput.mjs").VInputSlot) => import("vue").VNodeChild) | undefined; @@ -2743,7 +2697,9 @@ export declare const registryTabelaCelulas: { props: Record; }) => import("vue").VNodeChild) | undefined; loader?: false | ((arg: import("vuetify/lib/composables/loader.mjs").LoaderSlotProps) => import("vue").VNodeChild) | undefined; - default?: false | (() => import("vue").VNodeChild) | undefined; + default?: false | ((arg: { + id: Readonly>; + }) => import("vue").VNodeChild) | undefined; counter?: false | ((arg: import("vuetify/lib/components/VCounter/VCounter.mjs").VCounterSlot) => import("vue").VNodeChild) | undefined; } | undefined; focused: boolean; @@ -2771,7 +2727,6 @@ export declare const registryTabelaCelulas: { hint?: string | undefined; persistentHint: boolean; messages: string | readonly string[]; - direction: "horizontal" | "vertical"; "onClick:prepend"?: ((args_0: MouseEvent) => void) | undefined; "onClick:append"?: ((args_0: MouseEvent) => void) | undefined; appendInnerIcon?: import("vuetify/lib/composables/icons.mjs").IconValue | undefined; @@ -2818,7 +2773,9 @@ export declare const registryTabelaCelulas: { props: Record; }) => import("vue").VNodeChild) | undefined; "v-slot:counter"?: false | ((arg: import("vuetify/lib/components/VCounter/VCounter.mjs").VCounterSlot) => import("vue").VNodeChild) | undefined; - "v-slot:default"?: false | (() => import("vue").VNodeChild) | undefined; + "v-slot:default"?: false | ((arg: { + id: Readonly>; + }) => import("vue").VNodeChild) | undefined; "v-slot:details"?: false | ((arg: import("vuetify/lib/components/VInput/VInput.mjs").VInputSlot) => import("vue").VNodeChild) | undefined; "v-slot:label"?: false | ((arg: import("vuetify/lib/components/VField/VField.mjs").DefaultInputSlot & { label: string | undefined; @@ -2828,7 +2785,7 @@ export declare const registryTabelaCelulas: { "v-slot:message"?: false | ((arg: import("vuetify/lib/components/VMessages/VMessages.mjs").VMessageSlot) => import("vue").VNodeChild) | undefined; "v-slot:prepend"?: false | ((arg: import("vuetify/lib/components/VInput/VInput.mjs").VInputSlot) => import("vue").VNodeChild) | undefined; "v-slot:prepend-inner"?: false | ((arg: import("vuetify/lib/components/VField/VField.mjs").DefaultInputSlot) => import("vue").VNodeChild) | undefined; - } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "active" | "autofocus" | "centerAffix" | "clearIcon" | "clearable" | "density" | "direction" | "dirty" | "disabled" | "error" | "errorMessages" | "flat" | "focused" | "glow" | "hideSpinButtons" | "maxErrors" | "messages" | "persistentClear" | "persistentCounter" | "persistentHint" | "persistentPlaceholder" | "readonly" | "reverse" | "rounded" | "rules" | "singleLine" | "style" | "tile" | "type" | "variant">; + } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "active" | "autofocus" | "centerAffix" | "clearIcon" | "clearable" | "density" | "dirty" | "disabled" | "error" | "errorMessages" | "flat" | "focused" | "glow" | "hideSpinButtons" | "maxErrors" | "messages" | "persistentClear" | "persistentCounter" | "persistentHint" | "persistentPlaceholder" | "readonly" | "reverse" | "rounded" | "rules" | "singleLine" | "style" | "tile" | "type" | "variant">; $attrs: { [x: string]: unknown; }; @@ -2868,7 +2825,9 @@ export declare const registryTabelaCelulas: { loader?: ((arg: import("vuetify/lib/composables/loader.mjs").LoaderSlotProps) => import("vue").VNode[]) | undefined; - default?: (() => import("vue").VNode>; + }) => import("vue").VNode[]) | undefined; counter?: ((arg: import("vuetify/lib/components/VCounter/VCounter.mjs").VCounterSlot) => import("vue").VNode; }) => import("vue").VNodeChild) | undefined; loader?: ((arg: import("vuetify/lib/composables/loader.mjs").LoaderSlotProps) => import("vue").VNodeChild) | undefined; - default?: (() => import("vue").VNodeChild) | undefined; + default?: ((arg: { + id: Readonly>; + }) => import("vue").VNodeChild) | undefined; counter?: ((arg: import("vuetify/lib/components/VCounter/VCounter.mjs").VCounterSlot) => import("vue").VNodeChild) | undefined; } | { $stable?: boolean | undefined; - } | (() => import("vue").VNodeChild) | import("vue").VNodeChild; + } | ((arg: { + id: Readonly>; + }) => import("vue").VNodeChild) | import("vue").VNodeChild; "v-slots"?: { prepend?: false | ((arg: import("vuetify/lib/components/VInput/VInput.mjs").VInputSlot) => import("vue").VNodeChild) | undefined; append?: false | ((arg: import("vuetify/lib/components/VInput/VInput.mjs").VInputSlot) => import("vue").VNodeChild) | undefined; @@ -2984,7 +2946,9 @@ export declare const registryTabelaCelulas: { props: Record; }) => import("vue").VNodeChild) | undefined; loader?: false | ((arg: import("vuetify/lib/composables/loader.mjs").LoaderSlotProps) => import("vue").VNodeChild) | undefined; - default?: false | (() => import("vue").VNodeChild) | undefined; + default?: false | ((arg: { + id: Readonly>; + }) => import("vue").VNodeChild) | undefined; counter?: false | ((arg: import("vuetify/lib/components/VCounter/VCounter.mjs").VCounterSlot) => import("vue").VNodeChild) | undefined; } | undefined; } & { @@ -2994,7 +2958,9 @@ export declare const registryTabelaCelulas: { props: Record; }) => import("vue").VNodeChild) | undefined; "v-slot:counter"?: false | ((arg: import("vuetify/lib/components/VCounter/VCounter.mjs").VCounterSlot) => import("vue").VNodeChild) | undefined; - "v-slot:default"?: false | (() => import("vue").VNodeChild) | undefined; + "v-slot:default"?: false | ((arg: { + id: Readonly>; + }) => import("vue").VNodeChild) | undefined; "v-slot:details"?: false | ((arg: import("vuetify/lib/components/VInput/VInput.mjs").VInputSlot) => import("vue").VNodeChild) | undefined; "v-slot:label"?: false | ((arg: import("vuetify/lib/components/VField/VField.mjs").DefaultInputSlot & { label: string | undefined; @@ -3308,6 +3274,7 @@ export declare const registryTabelaCelulas: { "onClick:prependInner"?: ((args_0: MouseEvent) => void) | undefined; id?: string | undefined; details: boolean; + labelId?: string | undefined; } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "active" | "centerAffix" | "clearIcon" | "clearable" | "details" | "dirty" | "disabled" | "error" | "flat" | "focused" | "glow" | "persistentClear" | "reverse" | "rounded" | "singleLine" | "style" | "tile" | "variant">; $attrs: { [x: string]: unknown; @@ -3380,6 +3347,7 @@ export declare const registryTabelaCelulas: { "onClick:appendInner"?: ((args_0: MouseEvent) => void) | undefined; "onClick:prependInner"?: ((args_0: MouseEvent) => void) | undefined; id?: string | undefined; + labelId?: string | undefined; } & { "onUpdate:focused"?: ((focused: boolean) => any) | undefined; }, { @@ -3505,6 +3473,7 @@ export declare const registryTabelaCelulas: { "onClick:appendInner"?: ((args_0: MouseEvent) => void) | undefined; "onClick:prependInner"?: ((args_0: MouseEvent) => void) | undefined; id?: string | undefined; + labelId?: string | undefined; } & { "onUpdate:focused"?: ((focused: boolean) => any) | undefined; }, "controlRef" | "fieldIconColor" | ("active" | "centerAffix" | "clearIcon" | "clearable" | "details" | "dirty" | "disabled" | "error" | "flat" | "focused" | "glow" | "persistentClear" | "reverse" | "rounded" | "singleLine" | "style" | "tile" | "variant")> & import("vue").ShallowUnwrapRef<{ @@ -3513,7 +3482,7 @@ export declare const registryTabelaCelulas: { }> & {} & import("vue").ComponentCustomProperties & {} & import("vuetify/lib/util/defineComponent.mjs").GenericProps<{ modelValue?: unknown; "onUpdate:modelValue"?: ((value: unknown) => void) | undefined; - }, import("vuetify/lib/components/VField/VField.mjs").VFieldSlots>, "$children" | "appendInnerIcon" | "baseColor" | "bgColor" | "class" | "color" | "iconColor" | "id" | "label" | "loading" | "modelValue" | "onClick:appendInner" | "onClick:clear" | "onClick:prependInner" | "onUpdate:focused" | "onUpdate:modelValue" | "prependInnerIcon" | "theme" | "v-slot:append-inner" | "v-slot:clear" | "v-slot:default" | "v-slot:label" | "v-slot:loader" | "v-slot:prepend-inner" | "v-slots" | ("active" | "centerAffix" | "clearIcon" | "clearable" | "details" | "dirty" | "disabled" | "error" | "flat" | "focused" | "glow" | "persistentClear" | "reverse" | "rounded" | "singleLine" | "style" | "tile" | "variant") | keyof import("vue").VNodeProps>, `$${any}`> & { + }, import("vuetify/lib/components/VField/VField.mjs").VFieldSlots>, "$children" | "appendInnerIcon" | "baseColor" | "bgColor" | "class" | "color" | "iconColor" | "id" | "label" | "labelId" | "loading" | "modelValue" | "onClick:appendInner" | "onClick:clear" | "onClick:prependInner" | "onUpdate:focused" | "onUpdate:modelValue" | "prependInnerIcon" | "theme" | "v-slot:append-inner" | "v-slot:clear" | "v-slot:default" | "v-slot:label" | "v-slot:loader" | "v-slot:prepend-inner" | "v-slots" | ("active" | "centerAffix" | "clearIcon" | "clearable" | "details" | "dirty" | "disabled" | "error" | "flat" | "focused" | "glow" | "persistentClear" | "reverse" | "rounded" | "singleLine" | "style" | "tile" | "variant") | keyof import("vue").VNodeProps>, `$${any}`> & { _allExposed: { reset: () => Promise; resetValidation: () => Promise; @@ -3542,7 +3511,6 @@ export declare const registryTabelaCelulas: { hideSpinButtons: boolean; persistentHint: boolean; messages: string | readonly string[]; - direction: "horizontal" | "vertical"; clearable: boolean; clearIcon: import("vuetify/lib/composables/icons.mjs").IconValue; active: boolean; @@ -3593,7 +3561,9 @@ export declare const registryTabelaCelulas: { loader: (arg: import("vuetify/lib/composables/loader.mjs").LoaderSlotProps) => import("vue").VNode[]; - default: () => import("vue").VNode>; + }) => import("vue").VNode[]; counter: (arg: import("vuetify/lib/components/VCounter/VCounter.mjs").VCounterSlot) => import("vue").VNode; }) => import("vue").VNodeChild) | undefined; loader?: ((arg: import("vuetify/lib/composables/loader.mjs").LoaderSlotProps) => import("vue").VNodeChild) | undefined; - default?: (() => import("vue").VNodeChild) | undefined; + default?: ((arg: { + id: Readonly>; + }) => import("vue").VNodeChild) | undefined; counter?: ((arg: import("vuetify/lib/components/VCounter/VCounter.mjs").VCounterSlot) => import("vue").VNodeChild) | undefined; } | { $stable?: boolean | undefined; - } | (() => import("vue").VNodeChild) | import("vue").VNodeChild; + } | ((arg: { + id: Readonly>; + }) => import("vue").VNodeChild) | import("vue").VNodeChild; "v-slots"?: { prepend?: false | ((arg: import("vuetify/lib/components/VInput/VInput.mjs").VInputSlot) => import("vue").VNodeChild) | undefined; append?: false | ((arg: import("vuetify/lib/components/VInput/VInput.mjs").VInputSlot) => import("vue").VNodeChild) | undefined; @@ -3754,7 +3726,9 @@ export declare const registryTabelaCelulas: { props: Record; }) => import("vue").VNodeChild) | undefined; loader?: false | ((arg: import("vuetify/lib/composables/loader.mjs").LoaderSlotProps) => import("vue").VNodeChild) | undefined; - default?: false | (() => import("vue").VNodeChild) | undefined; + default?: false | ((arg: { + id: Readonly>; + }) => import("vue").VNodeChild) | undefined; counter?: false | ((arg: import("vuetify/lib/components/VCounter/VCounter.mjs").VCounterSlot) => import("vue").VNodeChild) | undefined; } | undefined; } & { @@ -3764,7 +3738,9 @@ export declare const registryTabelaCelulas: { props: Record; }) => import("vue").VNodeChild) | undefined; "v-slot:counter"?: false | ((arg: import("vuetify/lib/components/VCounter/VCounter.mjs").VCounterSlot) => import("vue").VNodeChild) | undefined; - "v-slot:default"?: false | (() => import("vue").VNodeChild) | undefined; + "v-slot:default"?: false | ((arg: { + id: Readonly>; + }) => import("vue").VNodeChild) | undefined; "v-slot:details"?: false | ((arg: import("vuetify/lib/components/VInput/VInput.mjs").VInputSlot) => import("vue").VNodeChild) | undefined; "v-slot:label"?: false | ((arg: import("vuetify/lib/components/VField/VField.mjs").DefaultInputSlot & { label: string | undefined; @@ -3779,7 +3755,7 @@ export declare const registryTabelaCelulas: { "onMousedown:control"?: ((e: MouseEvent) => any) | undefined; "onUpdate:focused"?: ((focused: boolean) => any) | undefined; "onUpdate:modelValue"?: ((val: string) => any) | undefined; - }, "ATTRIBUTE_NODE" | "CDATA_SECTION_NODE" | "COMMENT_NODE" | "DOCUMENT_FRAGMENT_NODE" | "DOCUMENT_NODE" | "DOCUMENT_POSITION_CONTAINED_BY" | "DOCUMENT_POSITION_CONTAINS" | "DOCUMENT_POSITION_DISCONNECTED" | "DOCUMENT_POSITION_FOLLOWING" | "DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC" | "DOCUMENT_POSITION_PRECEDING" | "DOCUMENT_TYPE_NODE" | "ELEMENT_NODE" | "ENTITY_NODE" | "ENTITY_REFERENCE_NODE" | "NOTATION_NODE" | "PROCESSING_INSTRUCTION_NODE" | "TEXT_NODE" | "_" | "_allExposed" | "_clickOutside" | "_mutate" | "_observe" | "_onResize" | "_onScroll" | "_ripple" | "_touchHandlers" | "_transitionInitialStyles" | "accept" | "accessKey" | "accessKeyLabel" | "active" | "addEventListener" | "after" | "align" | "alt" | "animate" | "append" | "appendChild" | "ariaAtomic" | "ariaAutoComplete" | "ariaBrailleLabel" | "ariaBrailleRoleDescription" | "ariaBusy" | "ariaChecked" | "ariaColCount" | "ariaColIndex" | "ariaColIndexText" | "ariaColSpan" | "ariaCurrent" | "ariaDescription" | "ariaDisabled" | "ariaExpanded" | "ariaHasPopup" | "ariaHidden" | "ariaInvalid" | "ariaKeyShortcuts" | "ariaLabel" | "ariaLevel" | "ariaLive" | "ariaModal" | "ariaMultiLine" | "ariaMultiSelectable" | "ariaOrientation" | "ariaPlaceholder" | "ariaPosInSet" | "ariaPressed" | "ariaReadOnly" | "ariaRelevant" | "ariaRequired" | "ariaRoleDescription" | "ariaRowCount" | "ariaRowIndex" | "ariaRowIndexText" | "ariaRowSpan" | "ariaSelected" | "ariaSetSize" | "ariaSort" | "ariaValueMax" | "ariaValueMin" | "ariaValueNow" | "ariaValueText" | "assignedSlot" | "attachInternals" | "attachShadow" | "attributeStyleMap" | "attributes" | "autocapitalize" | "autocomplete" | "autofocus" | "baseURI" | "before" | "blur" | "capture" | "centerAffix" | "checkValidity" | "checkVisibility" | "checked" | "childElementCount" | "childNodes" | "children" | "classList" | "className" | "clearIcon" | "clearable" | "click" | "clientHeight" | "clientLeft" | "clientTop" | "clientWidth" | "cloneNode" | "closest" | "compareDocumentPosition" | "computedStyleMap" | "contains" | "contentEditable" | "controlRef" | "currentCSSZoom" | "dataset" | "defaultChecked" | "defaultValue" | "density" | "dir" | "dirName" | "direction" | "dirty" | "disabled" | "dispatchEvent" | "draggable" | "enterKeyHint" | "error" | "errorMessages" | "fieldIconColor" | "files" | "firstChild" | "firstElementChild" | "flat" | "focus" | "focused" | "form" | "formAction" | "formEnctype" | "formMethod" | "formNoValidate" | "formTarget" | "getAnimations" | "getAttribute" | "getAttributeNS" | "getAttributeNames" | "getAttributeNode" | "getAttributeNodeNS" | "getBoundingClientRect" | "getClientRects" | "getElementsByClassName" | "getElementsByTagName" | "getElementsByTagNameNS" | "getHTML" | "getRootNode" | "glow" | "hasAttribute" | "hasAttributeNS" | "hasAttributes" | "hasChildNodes" | "hasPointerCapture" | "height" | "hidden" | "hidePopover" | "hideSpinButtons" | "id" | "indeterminate" | "inert" | "innerHTML" | "innerText" | "inputMode" | "insertAdjacentElement" | "insertAdjacentHTML" | "insertAdjacentText" | "insertBefore" | "isConnected" | "isContentEditable" | "isDefaultNamespace" | "isEqualNode" | "isSameNode" | "isValid" | "labels" | "lang" | "lastChild" | "lastElementChild" | "list" | "localName" | "lookupNamespaceURI" | "lookupPrefix" | "matches" | "max" | "maxErrors" | "maxLength" | "messages" | "min" | "minLength" | "multiple" | "name" | "namespaceURI" | "nextElementSibling" | "nextSibling" | "nodeName" | "nodeType" | "nodeValue" | "nonce" | "normalize" | "offsetHeight" | "offsetLeft" | "offsetParent" | "offsetTop" | "offsetWidth" | "onabort" | "onanimationcancel" | "onanimationend" | "onanimationiteration" | "onanimationstart" | "onauxclick" | "onbeforeinput" | "onbeforetoggle" | "onblur" | "oncancel" | "oncanplay" | "oncanplaythrough" | "onchange" | "onclick" | "onclose" | "oncontextlost" | "oncontextmenu" | "oncontextrestored" | "oncopy" | "oncuechange" | "oncut" | "ondblclick" | "ondrag" | "ondragend" | "ondragenter" | "ondragleave" | "ondragover" | "ondragstart" | "ondrop" | "ondurationchange" | "onemptied" | "onended" | "onerror" | "onfocus" | "onformdata" | "onfullscreenchange" | "onfullscreenerror" | "ongotpointercapture" | "oninput" | "oninvalid" | "onkeydown" | "onkeypress" | "onkeyup" | "onload" | "onloadeddata" | "onloadedmetadata" | "onloadstart" | "onlostpointercapture" | "onmousedown" | "onmouseenter" | "onmouseleave" | "onmousemove" | "onmouseout" | "onmouseover" | "onmouseup" | "onpaste" | "onpause" | "onplay" | "onplaying" | "onpointercancel" | "onpointerdown" | "onpointerenter" | "onpointerleave" | "onpointermove" | "onpointerout" | "onpointerover" | "onpointerup" | "onprogress" | "onratechange" | "onreset" | "onresize" | "onscroll" | "onscrollend" | "onsecuritypolicyviolation" | "onseeked" | "onseeking" | "onselect" | "onselectionchange" | "onselectstart" | "onslotchange" | "onstalled" | "onsubmit" | "onsuspend" | "ontimeupdate" | "ontoggle" | "ontouchcancel" | "ontouchend" | "ontouchmove" | "ontouchstart" | "ontransitioncancel" | "ontransitionend" | "ontransitionrun" | "ontransitionstart" | "onvolumechange" | "onwaiting" | "onwebkitanimationend" | "onwebkitanimationiteration" | "onwebkitanimationstart" | "onwebkittransitionend" | "onwheel" | "outerHTML" | "outerText" | "ownerDocument" | "parentElement" | "parentNode" | "part" | "pattern" | "persistentClear" | "persistentCounter" | "persistentHint" | "persistentPlaceholder" | "placeholder" | "popover" | "popoverTargetAction" | "popoverTargetElement" | "prefix" | "prepend" | "previousElementSibling" | "previousSibling" | "querySelector" | "querySelectorAll" | "readOnly" | "readonly" | "releasePointerCapture" | "remove" | "removeAttribute" | "removeAttributeNS" | "removeAttributeNode" | "removeChild" | "removeEventListener" | "replaceChild" | "replaceChildren" | "replaceWith" | "reportValidity" | "requestFullscreen" | "requestPointerLock" | "required" | "reset" | "resetValidation" | "reverse" | "role" | "rounded" | "rules" | "scroll" | "scrollBy" | "scrollHeight" | "scrollIntoView" | "scrollLeft" | "scrollTo" | "scrollTop" | "scrollWidth" | "select" | "selectionDirection" | "selectionEnd" | "selectionStart" | "setAttribute" | "setAttributeNS" | "setAttributeNode" | "setAttributeNodeNS" | "setCustomValidity" | "setHTMLUnsafe" | "setPointerCapture" | "setRangeText" | "setSelectionRange" | "shadowRoot" | "showPicker" | "showPopover" | "singleLine" | "size" | "slot" | "spellcheck" | "src" | "step" | "stepDown" | "stepUp" | "style" | "tabIndex" | "tagName" | "textContent" | "tile" | "title" | "toggleAttribute" | "togglePopover" | "translate" | "type" | "useMap" | "validate" | "validationMessage" | "validity" | "value" | "valueAsDate" | "valueAsNumber" | "variant" | "webkitEntries" | "webkitMatchesSelector" | "webkitdirectory" | "width" | "willValidate" | "writingSuggestions"> & import("vue").ShallowUnwrapRef & import("vue").ShallowUnwrapRef void) | undefined; id?: string | undefined; details: boolean; + labelId?: string | undefined; } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "active" | "centerAffix" | "clearIcon" | "clearable" | "details" | "dirty" | "disabled" | "error" | "flat" | "focused" | "glow" | "persistentClear" | "reverse" | "rounded" | "singleLine" | "style" | "tile" | "variant">; $attrs: { [x: string]: unknown; @@ -4150,6 +4127,7 @@ export declare const registryTabelaCelulas: { "onClick:appendInner"?: ((args_0: MouseEvent) => void) | undefined; "onClick:prependInner"?: ((args_0: MouseEvent) => void) | undefined; id?: string | undefined; + labelId?: string | undefined; } & { "onUpdate:focused"?: ((focused: boolean) => any) | undefined; }, { @@ -4275,6 +4253,7 @@ export declare const registryTabelaCelulas: { "onClick:appendInner"?: ((args_0: MouseEvent) => void) | undefined; "onClick:prependInner"?: ((args_0: MouseEvent) => void) | undefined; id?: string | undefined; + labelId?: string | undefined; } & { "onUpdate:focused"?: ((focused: boolean) => any) | undefined; }, "controlRef" | "fieldIconColor" | ("active" | "centerAffix" | "clearIcon" | "clearable" | "details" | "dirty" | "disabled" | "error" | "flat" | "focused" | "glow" | "persistentClear" | "reverse" | "rounded" | "singleLine" | "style" | "tile" | "variant")> & import("vue").ShallowUnwrapRef<{ @@ -4283,7 +4262,7 @@ export declare const registryTabelaCelulas: { }> & {} & import("vue").ComponentCustomProperties & {} & import("vuetify/lib/util/defineComponent.mjs").GenericProps<{ modelValue?: unknown; "onUpdate:modelValue"?: ((value: unknown) => void) | undefined; - }, import("vuetify/lib/components/VField/VField.mjs").VFieldSlots>, "$children" | "appendInnerIcon" | "baseColor" | "bgColor" | "class" | "color" | "iconColor" | "id" | "label" | "loading" | "modelValue" | "onClick:appendInner" | "onClick:clear" | "onClick:prependInner" | "onUpdate:focused" | "onUpdate:modelValue" | "prependInnerIcon" | "theme" | "v-slot:append-inner" | "v-slot:clear" | "v-slot:default" | "v-slot:label" | "v-slot:loader" | "v-slot:prepend-inner" | "v-slots" | ("active" | "centerAffix" | "clearIcon" | "clearable" | "details" | "dirty" | "disabled" | "error" | "flat" | "focused" | "glow" | "persistentClear" | "reverse" | "rounded" | "singleLine" | "style" | "tile" | "variant") | keyof import("vue").VNodeProps>, `$${any}`> & { + }, import("vuetify/lib/components/VField/VField.mjs").VFieldSlots>, "$children" | "appendInnerIcon" | "baseColor" | "bgColor" | "class" | "color" | "iconColor" | "id" | "label" | "labelId" | "loading" | "modelValue" | "onClick:appendInner" | "onClick:clear" | "onClick:prependInner" | "onUpdate:focused" | "onUpdate:modelValue" | "prependInnerIcon" | "theme" | "v-slot:append-inner" | "v-slot:clear" | "v-slot:default" | "v-slot:label" | "v-slot:loader" | "v-slot:prepend-inner" | "v-slots" | ("active" | "centerAffix" | "clearIcon" | "clearable" | "details" | "dirty" | "disabled" | "error" | "flat" | "focused" | "glow" | "persistentClear" | "reverse" | "rounded" | "singleLine" | "style" | "tile" | "variant") | keyof import("vue").VNodeProps>, `$${any}`> & { _allExposed: { reset: () => Promise; resetValidation: () => Promise; @@ -4294,7 +4273,7 @@ export declare const registryTabelaCelulas: { controlRef: import("vue").Ref; fieldIconColor: import("vue").ComputedRef; } | {}; - }> & {} & import("vue").ComponentCustomProperties & {}, "$children" | "appendIcon" | "appendInnerIcon" | "autocomplete" | "baseColor" | "bgColor" | "class" | "color" | "counter" | "counterValue" | "hideDetails" | "hint" | "iconColor" | "id" | "label" | "loading" | "maxWidth" | "minWidth" | "modelModifiers" | "modelValue" | "name" | "onClick:append" | "onClick:appendInner" | "onClick:clear" | "onClick:control" | "onClick:prepend" | "onClick:prependInner" | "onMousedown:control" | "onUpdate:focused" | "onUpdate:modelValue" | "placeholder" | "prefix" | "prependIcon" | "prependInnerIcon" | "role" | "suffix" | "theme" | "v-slot:append" | "v-slot:append-inner" | "v-slot:clear" | "v-slot:counter" | "v-slot:default" | "v-slot:details" | "v-slot:label" | "v-slot:loader" | "v-slot:message" | "v-slot:prepend" | "v-slot:prepend-inner" | "v-slots" | "validateOn" | "validationValue" | "width" | ("active" | "autofocus" | "centerAffix" | "clearIcon" | "clearable" | "density" | "direction" | "dirty" | "disabled" | "error" | "errorMessages" | "flat" | "focused" | "glow" | "hideSpinButtons" | "maxErrors" | "messages" | "persistentClear" | "persistentCounter" | "persistentHint" | "persistentPlaceholder" | "readonly" | "reverse" | "rounded" | "rules" | "singleLine" | "style" | "tile" | "type" | "variant") | keyof import("vue").VNodeProps>, `$${any}`> & { + }> & {} & import("vue").ComponentCustomProperties & {}, "$children" | "appendIcon" | "appendInnerIcon" | "autocomplete" | "baseColor" | "bgColor" | "class" | "color" | "counter" | "counterValue" | "hideDetails" | "hint" | "iconColor" | "id" | "label" | "loading" | "maxWidth" | "minWidth" | "modelModifiers" | "modelValue" | "name" | "onClick:append" | "onClick:appendInner" | "onClick:clear" | "onClick:control" | "onClick:prepend" | "onClick:prependInner" | "onMousedown:control" | "onUpdate:focused" | "onUpdate:modelValue" | "placeholder" | "prefix" | "prependIcon" | "prependInnerIcon" | "role" | "suffix" | "theme" | "v-slot:append" | "v-slot:append-inner" | "v-slot:clear" | "v-slot:counter" | "v-slot:default" | "v-slot:details" | "v-slot:label" | "v-slot:loader" | "v-slot:message" | "v-slot:prepend" | "v-slot:prepend-inner" | "v-slots" | "validateOn" | "validationValue" | "width" | ("active" | "autofocus" | "centerAffix" | "clearIcon" | "clearable" | "density" | "dirty" | "disabled" | "error" | "errorMessages" | "flat" | "focused" | "glow" | "hideSpinButtons" | "maxErrors" | "messages" | "persistentClear" | "persistentCounter" | "persistentHint" | "persistentPlaceholder" | "readonly" | "reverse" | "rounded" | "rules" | "singleLine" | "style" | "tile" | "type" | "variant") | keyof import("vue").VNodeProps>, `$${any}`> & { _allExposed: { isFocused: import("vue").ShallowRef; menu: import("vue").WritableComputedRef; @@ -4598,6 +4577,7 @@ export declare const registryTabelaCelulas: { "onClick:prependInner"?: ((args_0: MouseEvent) => void) | undefined; id?: string | undefined; details: boolean; + labelId?: string | undefined; } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "active" | "centerAffix" | "clearIcon" | "clearable" | "details" | "dirty" | "disabled" | "error" | "flat" | "focused" | "glow" | "persistentClear" | "reverse" | "rounded" | "singleLine" | "style" | "tile" | "variant">; $attrs: { [x: string]: unknown; @@ -4670,6 +4650,7 @@ export declare const registryTabelaCelulas: { "onClick:appendInner"?: ((args_0: MouseEvent) => void) | undefined; "onClick:prependInner"?: ((args_0: MouseEvent) => void) | undefined; id?: string | undefined; + labelId?: string | undefined; } & { "onUpdate:focused"?: ((focused: boolean) => any) | undefined; }, { @@ -4795,6 +4776,7 @@ export declare const registryTabelaCelulas: { "onClick:appendInner"?: ((args_0: MouseEvent) => void) | undefined; "onClick:prependInner"?: ((args_0: MouseEvent) => void) | undefined; id?: string | undefined; + labelId?: string | undefined; } & { "onUpdate:focused"?: ((focused: boolean) => any) | undefined; }, "controlRef" | "fieldIconColor" | ("active" | "centerAffix" | "clearIcon" | "clearable" | "details" | "dirty" | "disabled" | "error" | "flat" | "focused" | "glow" | "persistentClear" | "reverse" | "rounded" | "singleLine" | "style" | "tile" | "variant")> & import("vue").ShallowUnwrapRef<{ @@ -4803,7 +4785,7 @@ export declare const registryTabelaCelulas: { }> & {} & import("vue").ComponentCustomProperties & {} & import("vuetify/lib/util/defineComponent.mjs").GenericProps<{ modelValue?: unknown; "onUpdate:modelValue"?: ((value: unknown) => void) | undefined; - }, import("vuetify/lib/components/VField/VField.mjs").VFieldSlots>, "$children" | "appendInnerIcon" | "baseColor" | "bgColor" | "class" | "color" | "iconColor" | "id" | "label" | "loading" | "modelValue" | "onClick:appendInner" | "onClick:clear" | "onClick:prependInner" | "onUpdate:focused" | "onUpdate:modelValue" | "prependInnerIcon" | "theme" | "v-slot:append-inner" | "v-slot:clear" | "v-slot:default" | "v-slot:label" | "v-slot:loader" | "v-slot:prepend-inner" | "v-slots" | ("active" | "centerAffix" | "clearIcon" | "clearable" | "details" | "dirty" | "disabled" | "error" | "flat" | "focused" | "glow" | "persistentClear" | "reverse" | "rounded" | "singleLine" | "style" | "tile" | "variant") | keyof import("vue").VNodeProps>, `$${any}`> & { + }, import("vuetify/lib/components/VField/VField.mjs").VFieldSlots>, "$children" | "appendInnerIcon" | "baseColor" | "bgColor" | "class" | "color" | "iconColor" | "id" | "label" | "labelId" | "loading" | "modelValue" | "onClick:appendInner" | "onClick:clear" | "onClick:prependInner" | "onUpdate:focused" | "onUpdate:modelValue" | "prependInnerIcon" | "theme" | "v-slot:append-inner" | "v-slot:clear" | "v-slot:default" | "v-slot:label" | "v-slot:loader" | "v-slot:prepend-inner" | "v-slots" | ("active" | "centerAffix" | "clearIcon" | "clearable" | "details" | "dirty" | "disabled" | "error" | "flat" | "focused" | "glow" | "persistentClear" | "reverse" | "rounded" | "singleLine" | "style" | "tile" | "variant") | keyof import("vue").VNodeProps>, `$${any}`> & { _allExposed: { reset: () => Promise; resetValidation: () => Promise; @@ -4837,7 +4819,6 @@ export declare const registryTabelaCelulas: { hideSpinButtons: boolean; persistentHint: boolean; messages: string | readonly string[]; - direction: "horizontal" | "vertical"; itemChildren: import("vuetify/lib/util/helpers.mjs").SelectItemKey; itemType: import("vuetify/lib/util/helpers.mjs").SelectItemKey; clearable: boolean; @@ -4967,7 +4948,6 @@ export declare const registryTabelaCelulas: { hideSpinButtons: boolean; persistentHint: boolean; messages: string | readonly string[]; - direction: "horizontal" | "vertical"; itemChildren: string | boolean | readonly (string | number)[] | ((item: Record, fallback?: any) => any) | null; itemType: string | boolean | readonly (string | number)[] | ((item: Record, fallback?: any) => any) | null; clearable: boolean; @@ -5016,7 +4996,8 @@ export declare const registryTabelaCelulas: { hint?: string | undefined; "onClick:prepend"?: ((args_0: MouseEvent) => void) | undefined; "onClick:append"?: ((args_0: MouseEvent) => void) | undefined; - valueComparator?: typeof import("vuetify/lib/util/deepEqual.mjs").deepEqual | undefined; + valueComparator?: import("vuetify/lib/util/deepEqual.mjs").ValueComparator | undefined; + appendInnerIcon?: import("vuetify/lib/composables/icons.mjs").IconValue | undefined; bgColor?: string | undefined; centerAffix?: boolean | undefined; color?: string | undefined; @@ -5074,13 +5055,12 @@ export declare const registryTabelaCelulas: { width?: string | number | undefined; itemType: string | boolean | readonly (string | number)[] | ((item: Record, fallback?: any) => any) | null; returnObject: boolean; - valueComparator?: typeof import("vuetify/lib/util/deepEqual.mjs").deepEqual | undefined; + valueComparator?: import("vuetify/lib/util/deepEqual.mjs").ValueComparator | undefined; activatable: boolean; selectable: boolean; activeStrategy?: import("vuetify/lib/composables/nested/nested.mjs").ActiveStrategyProp | undefined; selectStrategy: import("vuetify/lib/composables/nested/nested.mjs").SelectStrategyProp; openStrategy: import("vuetify/lib/composables/nested/nested.mjs").OpenStrategyProp; - activated?: any; mandatory: boolean; itemsRegistration: import("vuetify/lib/composables/nested/nested.mjs").ItemsRegistrationType; baseColor?: string | undefined; @@ -5101,7 +5081,6 @@ export declare const registryTabelaCelulas: { value: boolean; path: unknown[]; }) => any) | undefined; - "onUpdate:activated"?: ((value: unknown) => any) | undefined; } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "activatable" | "density" | "disabled" | "filterable" | "itemType" | "itemsRegistration" | "lines" | "mandatory" | "nav" | "openStrategy" | "returnObject" | "rounded" | "selectStrategy" | "selectable" | "slim" | "style" | "tag" | "tile" | "variant"> & { items?: readonly any[] | undefined; itemTitle?: import("vuetify/lib/util/helpers.mjs").SelectItemKey; @@ -5109,7 +5088,11 @@ export declare const registryTabelaCelulas: { itemChildren?: import("vuetify/lib/util/helpers.mjs").SelectItemKey; itemProps?: import("vuetify/lib/util/helpers.mjs").SelectItemKey; selected?: unknown; + activated?: unknown; + opened?: unknown; "onUpdate:selected"?: ((value: unknown) => void) | undefined; + "onUpdate:activated"?: ((value: unknown) => void) | undefined; + "onUpdate:opened"?: ((value: unknown) => void) | undefined; "onClick:open"?: ((value: { id: unknown; value: boolean; @@ -5120,8 +5103,6 @@ export declare const registryTabelaCelulas: { value: boolean; path: unknown[]; }) => void) | undefined; - opened?: unknown; - "onUpdate:opened"?: ((value: unknown) => void) | undefined; } & { $children?: { prepend?: ((arg: import("vuetify/lib/components/VList/VListItem.mjs").ListItemSlot & { @@ -5520,7 +5501,6 @@ export declare const registryTabelaCelulas: { hideSpinButtons: boolean; persistentHint: boolean; messages: string | readonly string[]; - direction: "horizontal" | "vertical"; clearable: boolean; clearIcon: import("vuetify/lib/composables/icons.mjs").IconValue; active: boolean; @@ -5557,11 +5537,15 @@ export declare const registryTabelaCelulas: { props: Record; }) => import("vue").VNodeChild) | undefined; loader?: ((arg: import("vuetify/lib/composables/loader.mjs").LoaderSlotProps) => import("vue").VNodeChild) | undefined; - default?: (() => import("vue").VNodeChild) | undefined; + default?: ((arg: { + id: Readonly>; + }) => import("vue").VNodeChild) | undefined; counter?: ((arg: import("vuetify/lib/components/VCounter/VCounter.mjs").VCounterSlot) => import("vue").VNodeChild) | undefined; } | { $stable?: boolean | undefined; - } | (() => import("vue").VNodeChild) | import("vue").VNodeChild; + } | ((arg: { + id: Readonly>; + }) => import("vue").VNodeChild) | import("vue").VNodeChild; "v-slots"?: { prepend?: false | ((arg: import("vuetify/lib/components/VInput/VInput.mjs").VInputSlot) => import("vue").VNodeChild) | undefined; append?: false | ((arg: import("vuetify/lib/components/VInput/VInput.mjs").VInputSlot) => import("vue").VNodeChild) | undefined; @@ -5577,7 +5561,9 @@ export declare const registryTabelaCelulas: { props: Record; }) => import("vue").VNodeChild) | undefined; loader?: false | ((arg: import("vuetify/lib/composables/loader.mjs").LoaderSlotProps) => import("vue").VNodeChild) | undefined; - default?: false | (() => import("vue").VNodeChild) | undefined; + default?: false | ((arg: { + id: Readonly>; + }) => import("vue").VNodeChild) | undefined; counter?: false | ((arg: import("vuetify/lib/components/VCounter/VCounter.mjs").VCounterSlot) => import("vue").VNodeChild) | undefined; } | undefined; focused: boolean; @@ -5605,7 +5591,6 @@ export declare const registryTabelaCelulas: { hint?: string | undefined; persistentHint: boolean; messages: string | readonly string[]; - direction: "horizontal" | "vertical"; "onClick:prepend"?: ((args_0: MouseEvent) => void) | undefined; "onClick:append"?: ((args_0: MouseEvent) => void) | undefined; appendInnerIcon?: import("vuetify/lib/composables/icons.mjs").IconValue | undefined; @@ -5652,7 +5637,9 @@ export declare const registryTabelaCelulas: { props: Record; }) => import("vue").VNodeChild) | undefined; "v-slot:counter"?: false | ((arg: import("vuetify/lib/components/VCounter/VCounter.mjs").VCounterSlot) => import("vue").VNodeChild) | undefined; - "v-slot:default"?: false | (() => import("vue").VNodeChild) | undefined; + "v-slot:default"?: false | ((arg: { + id: Readonly>; + }) => import("vue").VNodeChild) | undefined; "v-slot:details"?: false | ((arg: import("vuetify/lib/components/VInput/VInput.mjs").VInputSlot) => import("vue").VNodeChild) | undefined; "v-slot:label"?: false | ((arg: import("vuetify/lib/components/VField/VField.mjs").DefaultInputSlot & { label: string | undefined; @@ -5662,7 +5649,7 @@ export declare const registryTabelaCelulas: { "v-slot:message"?: false | ((arg: import("vuetify/lib/components/VMessages/VMessages.mjs").VMessageSlot) => import("vue").VNodeChild) | undefined; "v-slot:prepend"?: false | ((arg: import("vuetify/lib/components/VInput/VInput.mjs").VInputSlot) => import("vue").VNodeChild) | undefined; "v-slot:prepend-inner"?: false | ((arg: import("vuetify/lib/components/VField/VField.mjs").DefaultInputSlot) => import("vue").VNodeChild) | undefined; - } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "active" | "autofocus" | "centerAffix" | "clearIcon" | "clearable" | "density" | "direction" | "dirty" | "disabled" | "error" | "errorMessages" | "flat" | "focused" | "glow" | "hideSpinButtons" | "maxErrors" | "messages" | "persistentClear" | "persistentCounter" | "persistentHint" | "persistentPlaceholder" | "readonly" | "reverse" | "rounded" | "rules" | "singleLine" | "style" | "tile" | "type" | "variant">; + } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "active" | "autofocus" | "centerAffix" | "clearIcon" | "clearable" | "density" | "dirty" | "disabled" | "error" | "errorMessages" | "flat" | "focused" | "glow" | "hideSpinButtons" | "maxErrors" | "messages" | "persistentClear" | "persistentCounter" | "persistentHint" | "persistentPlaceholder" | "readonly" | "reverse" | "rounded" | "rules" | "singleLine" | "style" | "tile" | "type" | "variant">; $attrs: { [x: string]: unknown; }; @@ -5702,7 +5689,9 @@ export declare const registryTabelaCelulas: { loader?: ((arg: import("vuetify/lib/composables/loader.mjs").LoaderSlotProps) => import("vue").VNode[]) | undefined; - default?: (() => import("vue").VNode>; + }) => import("vue").VNode[]) | undefined; counter?: ((arg: import("vuetify/lib/components/VCounter/VCounter.mjs").VCounterSlot) => import("vue").VNode; }) => import("vue").VNodeChild) | undefined; loader?: ((arg: import("vuetify/lib/composables/loader.mjs").LoaderSlotProps) => import("vue").VNodeChild) | undefined; - default?: (() => import("vue").VNodeChild) | undefined; + default?: ((arg: { + id: Readonly>; + }) => import("vue").VNodeChild) | undefined; counter?: ((arg: import("vuetify/lib/components/VCounter/VCounter.mjs").VCounterSlot) => import("vue").VNodeChild) | undefined; } | { $stable?: boolean | undefined; - } | (() => import("vue").VNodeChild) | import("vue").VNodeChild; + } | ((arg: { + id: Readonly>; + }) => import("vue").VNodeChild) | import("vue").VNodeChild; "v-slots"?: { prepend?: false | ((arg: import("vuetify/lib/components/VInput/VInput.mjs").VInputSlot) => import("vue").VNodeChild) | undefined; append?: false | ((arg: import("vuetify/lib/components/VInput/VInput.mjs").VInputSlot) => import("vue").VNodeChild) | undefined; @@ -5818,7 +5810,9 @@ export declare const registryTabelaCelulas: { props: Record; }) => import("vue").VNodeChild) | undefined; loader?: false | ((arg: import("vuetify/lib/composables/loader.mjs").LoaderSlotProps) => import("vue").VNodeChild) | undefined; - default?: false | (() => import("vue").VNodeChild) | undefined; + default?: false | ((arg: { + id: Readonly>; + }) => import("vue").VNodeChild) | undefined; counter?: false | ((arg: import("vuetify/lib/components/VCounter/VCounter.mjs").VCounterSlot) => import("vue").VNodeChild) | undefined; } | undefined; } & { @@ -5828,7 +5822,9 @@ export declare const registryTabelaCelulas: { props: Record; }) => import("vue").VNodeChild) | undefined; "v-slot:counter"?: false | ((arg: import("vuetify/lib/components/VCounter/VCounter.mjs").VCounterSlot) => import("vue").VNodeChild) | undefined; - "v-slot:default"?: false | (() => import("vue").VNodeChild) | undefined; + "v-slot:default"?: false | ((arg: { + id: Readonly>; + }) => import("vue").VNodeChild) | undefined; "v-slot:details"?: false | ((arg: import("vuetify/lib/components/VInput/VInput.mjs").VInputSlot) => import("vue").VNodeChild) | undefined; "v-slot:label"?: false | ((arg: import("vuetify/lib/components/VField/VField.mjs").DefaultInputSlot & { label: string | undefined; @@ -6142,6 +6138,7 @@ export declare const registryTabelaCelulas: { "onClick:prependInner"?: ((args_0: MouseEvent) => void) | undefined; id?: string | undefined; details: boolean; + labelId?: string | undefined; } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "active" | "centerAffix" | "clearIcon" | "clearable" | "details" | "dirty" | "disabled" | "error" | "flat" | "focused" | "glow" | "persistentClear" | "reverse" | "rounded" | "singleLine" | "style" | "tile" | "variant">; $attrs: { [x: string]: unknown; @@ -6214,6 +6211,7 @@ export declare const registryTabelaCelulas: { "onClick:appendInner"?: ((args_0: MouseEvent) => void) | undefined; "onClick:prependInner"?: ((args_0: MouseEvent) => void) | undefined; id?: string | undefined; + labelId?: string | undefined; } & { "onUpdate:focused"?: ((focused: boolean) => any) | undefined; }, { @@ -6339,6 +6337,7 @@ export declare const registryTabelaCelulas: { "onClick:appendInner"?: ((args_0: MouseEvent) => void) | undefined; "onClick:prependInner"?: ((args_0: MouseEvent) => void) | undefined; id?: string | undefined; + labelId?: string | undefined; } & { "onUpdate:focused"?: ((focused: boolean) => any) | undefined; }, "controlRef" | "fieldIconColor" | ("active" | "centerAffix" | "clearIcon" | "clearable" | "details" | "dirty" | "disabled" | "error" | "flat" | "focused" | "glow" | "persistentClear" | "reverse" | "rounded" | "singleLine" | "style" | "tile" | "variant")> & import("vue").ShallowUnwrapRef<{ @@ -6347,7 +6346,7 @@ export declare const registryTabelaCelulas: { }> & {} & import("vue").ComponentCustomProperties & {} & import("vuetify/lib/util/defineComponent.mjs").GenericProps<{ modelValue?: unknown; "onUpdate:modelValue"?: ((value: unknown) => void) | undefined; - }, import("vuetify/lib/components/VField/VField.mjs").VFieldSlots>, "$children" | "appendInnerIcon" | "baseColor" | "bgColor" | "class" | "color" | "iconColor" | "id" | "label" | "loading" | "modelValue" | "onClick:appendInner" | "onClick:clear" | "onClick:prependInner" | "onUpdate:focused" | "onUpdate:modelValue" | "prependInnerIcon" | "theme" | "v-slot:append-inner" | "v-slot:clear" | "v-slot:default" | "v-slot:label" | "v-slot:loader" | "v-slot:prepend-inner" | "v-slots" | ("active" | "centerAffix" | "clearIcon" | "clearable" | "details" | "dirty" | "disabled" | "error" | "flat" | "focused" | "glow" | "persistentClear" | "reverse" | "rounded" | "singleLine" | "style" | "tile" | "variant") | keyof import("vue").VNodeProps>, `$${any}`> & { + }, import("vuetify/lib/components/VField/VField.mjs").VFieldSlots>, "$children" | "appendInnerIcon" | "baseColor" | "bgColor" | "class" | "color" | "iconColor" | "id" | "label" | "labelId" | "loading" | "modelValue" | "onClick:appendInner" | "onClick:clear" | "onClick:prependInner" | "onUpdate:focused" | "onUpdate:modelValue" | "prependInnerIcon" | "theme" | "v-slot:append-inner" | "v-slot:clear" | "v-slot:default" | "v-slot:label" | "v-slot:loader" | "v-slot:prepend-inner" | "v-slots" | ("active" | "centerAffix" | "clearIcon" | "clearable" | "details" | "dirty" | "disabled" | "error" | "flat" | "focused" | "glow" | "persistentClear" | "reverse" | "rounded" | "singleLine" | "style" | "tile" | "variant") | keyof import("vue").VNodeProps>, `$${any}`> & { _allExposed: { reset: () => Promise; resetValidation: () => Promise; @@ -6376,7 +6375,6 @@ export declare const registryTabelaCelulas: { hideSpinButtons: boolean; persistentHint: boolean; messages: string | readonly string[]; - direction: "horizontal" | "vertical"; clearable: boolean; clearIcon: import("vuetify/lib/composables/icons.mjs").IconValue; active: boolean; @@ -6427,7 +6425,9 @@ export declare const registryTabelaCelulas: { loader: (arg: import("vuetify/lib/composables/loader.mjs").LoaderSlotProps) => import("vue").VNode[]; - default: () => import("vue").VNode>; + }) => import("vue").VNode[]; counter: (arg: import("vuetify/lib/components/VCounter/VCounter.mjs").VCounterSlot) => import("vue").VNode; }) => import("vue").VNodeChild) | undefined; loader?: ((arg: import("vuetify/lib/composables/loader.mjs").LoaderSlotProps) => import("vue").VNodeChild) | undefined; - default?: (() => import("vue").VNodeChild) | undefined; + default?: ((arg: { + id: Readonly>; + }) => import("vue").VNodeChild) | undefined; counter?: ((arg: import("vuetify/lib/components/VCounter/VCounter.mjs").VCounterSlot) => import("vue").VNodeChild) | undefined; } | { $stable?: boolean | undefined; - } | (() => import("vue").VNodeChild) | import("vue").VNodeChild; + } | ((arg: { + id: Readonly>; + }) => import("vue").VNodeChild) | import("vue").VNodeChild; "v-slots"?: { prepend?: false | ((arg: import("vuetify/lib/components/VInput/VInput.mjs").VInputSlot) => import("vue").VNodeChild) | undefined; append?: false | ((arg: import("vuetify/lib/components/VInput/VInput.mjs").VInputSlot) => import("vue").VNodeChild) | undefined; @@ -6588,7 +6590,9 @@ export declare const registryTabelaCelulas: { props: Record; }) => import("vue").VNodeChild) | undefined; loader?: false | ((arg: import("vuetify/lib/composables/loader.mjs").LoaderSlotProps) => import("vue").VNodeChild) | undefined; - default?: false | (() => import("vue").VNodeChild) | undefined; + default?: false | ((arg: { + id: Readonly>; + }) => import("vue").VNodeChild) | undefined; counter?: false | ((arg: import("vuetify/lib/components/VCounter/VCounter.mjs").VCounterSlot) => import("vue").VNodeChild) | undefined; } | undefined; } & { @@ -6598,7 +6602,9 @@ export declare const registryTabelaCelulas: { props: Record; }) => import("vue").VNodeChild) | undefined; "v-slot:counter"?: false | ((arg: import("vuetify/lib/components/VCounter/VCounter.mjs").VCounterSlot) => import("vue").VNodeChild) | undefined; - "v-slot:default"?: false | (() => import("vue").VNodeChild) | undefined; + "v-slot:default"?: false | ((arg: { + id: Readonly>; + }) => import("vue").VNodeChild) | undefined; "v-slot:details"?: false | ((arg: import("vuetify/lib/components/VInput/VInput.mjs").VInputSlot) => import("vue").VNodeChild) | undefined; "v-slot:label"?: false | ((arg: import("vuetify/lib/components/VField/VField.mjs").DefaultInputSlot & { label: string | undefined; @@ -6613,7 +6619,7 @@ export declare const registryTabelaCelulas: { "onMousedown:control"?: ((e: MouseEvent) => any) | undefined; "onUpdate:focused"?: ((focused: boolean) => any) | undefined; "onUpdate:modelValue"?: ((val: string) => any) | undefined; - }, "ATTRIBUTE_NODE" | "CDATA_SECTION_NODE" | "COMMENT_NODE" | "DOCUMENT_FRAGMENT_NODE" | "DOCUMENT_NODE" | "DOCUMENT_POSITION_CONTAINED_BY" | "DOCUMENT_POSITION_CONTAINS" | "DOCUMENT_POSITION_DISCONNECTED" | "DOCUMENT_POSITION_FOLLOWING" | "DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC" | "DOCUMENT_POSITION_PRECEDING" | "DOCUMENT_TYPE_NODE" | "ELEMENT_NODE" | "ENTITY_NODE" | "ENTITY_REFERENCE_NODE" | "NOTATION_NODE" | "PROCESSING_INSTRUCTION_NODE" | "TEXT_NODE" | "_" | "_allExposed" | "_clickOutside" | "_mutate" | "_observe" | "_onResize" | "_onScroll" | "_ripple" | "_touchHandlers" | "_transitionInitialStyles" | "accept" | "accessKey" | "accessKeyLabel" | "active" | "addEventListener" | "after" | "align" | "alt" | "animate" | "append" | "appendChild" | "ariaAtomic" | "ariaAutoComplete" | "ariaBrailleLabel" | "ariaBrailleRoleDescription" | "ariaBusy" | "ariaChecked" | "ariaColCount" | "ariaColIndex" | "ariaColIndexText" | "ariaColSpan" | "ariaCurrent" | "ariaDescription" | "ariaDisabled" | "ariaExpanded" | "ariaHasPopup" | "ariaHidden" | "ariaInvalid" | "ariaKeyShortcuts" | "ariaLabel" | "ariaLevel" | "ariaLive" | "ariaModal" | "ariaMultiLine" | "ariaMultiSelectable" | "ariaOrientation" | "ariaPlaceholder" | "ariaPosInSet" | "ariaPressed" | "ariaReadOnly" | "ariaRelevant" | "ariaRequired" | "ariaRoleDescription" | "ariaRowCount" | "ariaRowIndex" | "ariaRowIndexText" | "ariaRowSpan" | "ariaSelected" | "ariaSetSize" | "ariaSort" | "ariaValueMax" | "ariaValueMin" | "ariaValueNow" | "ariaValueText" | "assignedSlot" | "attachInternals" | "attachShadow" | "attributeStyleMap" | "attributes" | "autocapitalize" | "autocomplete" | "autofocus" | "baseURI" | "before" | "blur" | "capture" | "centerAffix" | "checkValidity" | "checkVisibility" | "checked" | "childElementCount" | "childNodes" | "children" | "classList" | "className" | "clearIcon" | "clearable" | "click" | "clientHeight" | "clientLeft" | "clientTop" | "clientWidth" | "cloneNode" | "closest" | "compareDocumentPosition" | "computedStyleMap" | "contains" | "contentEditable" | "controlRef" | "currentCSSZoom" | "dataset" | "defaultChecked" | "defaultValue" | "density" | "dir" | "dirName" | "direction" | "dirty" | "disabled" | "dispatchEvent" | "draggable" | "enterKeyHint" | "error" | "errorMessages" | "fieldIconColor" | "files" | "firstChild" | "firstElementChild" | "flat" | "focus" | "focused" | "form" | "formAction" | "formEnctype" | "formMethod" | "formNoValidate" | "formTarget" | "getAnimations" | "getAttribute" | "getAttributeNS" | "getAttributeNames" | "getAttributeNode" | "getAttributeNodeNS" | "getBoundingClientRect" | "getClientRects" | "getElementsByClassName" | "getElementsByTagName" | "getElementsByTagNameNS" | "getHTML" | "getRootNode" | "glow" | "hasAttribute" | "hasAttributeNS" | "hasAttributes" | "hasChildNodes" | "hasPointerCapture" | "height" | "hidden" | "hidePopover" | "hideSpinButtons" | "id" | "indeterminate" | "inert" | "innerHTML" | "innerText" | "inputMode" | "insertAdjacentElement" | "insertAdjacentHTML" | "insertAdjacentText" | "insertBefore" | "isConnected" | "isContentEditable" | "isDefaultNamespace" | "isEqualNode" | "isSameNode" | "isValid" | "labels" | "lang" | "lastChild" | "lastElementChild" | "list" | "localName" | "lookupNamespaceURI" | "lookupPrefix" | "matches" | "max" | "maxErrors" | "maxLength" | "messages" | "min" | "minLength" | "multiple" | "name" | "namespaceURI" | "nextElementSibling" | "nextSibling" | "nodeName" | "nodeType" | "nodeValue" | "nonce" | "normalize" | "offsetHeight" | "offsetLeft" | "offsetParent" | "offsetTop" | "offsetWidth" | "onabort" | "onanimationcancel" | "onanimationend" | "onanimationiteration" | "onanimationstart" | "onauxclick" | "onbeforeinput" | "onbeforetoggle" | "onblur" | "oncancel" | "oncanplay" | "oncanplaythrough" | "onchange" | "onclick" | "onclose" | "oncontextlost" | "oncontextmenu" | "oncontextrestored" | "oncopy" | "oncuechange" | "oncut" | "ondblclick" | "ondrag" | "ondragend" | "ondragenter" | "ondragleave" | "ondragover" | "ondragstart" | "ondrop" | "ondurationchange" | "onemptied" | "onended" | "onerror" | "onfocus" | "onformdata" | "onfullscreenchange" | "onfullscreenerror" | "ongotpointercapture" | "oninput" | "oninvalid" | "onkeydown" | "onkeypress" | "onkeyup" | "onload" | "onloadeddata" | "onloadedmetadata" | "onloadstart" | "onlostpointercapture" | "onmousedown" | "onmouseenter" | "onmouseleave" | "onmousemove" | "onmouseout" | "onmouseover" | "onmouseup" | "onpaste" | "onpause" | "onplay" | "onplaying" | "onpointercancel" | "onpointerdown" | "onpointerenter" | "onpointerleave" | "onpointermove" | "onpointerout" | "onpointerover" | "onpointerup" | "onprogress" | "onratechange" | "onreset" | "onresize" | "onscroll" | "onscrollend" | "onsecuritypolicyviolation" | "onseeked" | "onseeking" | "onselect" | "onselectionchange" | "onselectstart" | "onslotchange" | "onstalled" | "onsubmit" | "onsuspend" | "ontimeupdate" | "ontoggle" | "ontouchcancel" | "ontouchend" | "ontouchmove" | "ontouchstart" | "ontransitioncancel" | "ontransitionend" | "ontransitionrun" | "ontransitionstart" | "onvolumechange" | "onwaiting" | "onwebkitanimationend" | "onwebkitanimationiteration" | "onwebkitanimationstart" | "onwebkittransitionend" | "onwheel" | "outerHTML" | "outerText" | "ownerDocument" | "parentElement" | "parentNode" | "part" | "pattern" | "persistentClear" | "persistentCounter" | "persistentHint" | "persistentPlaceholder" | "placeholder" | "popover" | "popoverTargetAction" | "popoverTargetElement" | "prefix" | "prepend" | "previousElementSibling" | "previousSibling" | "querySelector" | "querySelectorAll" | "readOnly" | "readonly" | "releasePointerCapture" | "remove" | "removeAttribute" | "removeAttributeNS" | "removeAttributeNode" | "removeChild" | "removeEventListener" | "replaceChild" | "replaceChildren" | "replaceWith" | "reportValidity" | "requestFullscreen" | "requestPointerLock" | "required" | "reset" | "resetValidation" | "reverse" | "role" | "rounded" | "rules" | "scroll" | "scrollBy" | "scrollHeight" | "scrollIntoView" | "scrollLeft" | "scrollTo" | "scrollTop" | "scrollWidth" | "select" | "selectionDirection" | "selectionEnd" | "selectionStart" | "setAttribute" | "setAttributeNS" | "setAttributeNode" | "setAttributeNodeNS" | "setCustomValidity" | "setHTMLUnsafe" | "setPointerCapture" | "setRangeText" | "setSelectionRange" | "shadowRoot" | "showPicker" | "showPopover" | "singleLine" | "size" | "slot" | "spellcheck" | "src" | "step" | "stepDown" | "stepUp" | "style" | "tabIndex" | "tagName" | "textContent" | "tile" | "title" | "toggleAttribute" | "togglePopover" | "translate" | "type" | "useMap" | "validate" | "validationMessage" | "validity" | "value" | "valueAsDate" | "valueAsNumber" | "variant" | "webkitEntries" | "webkitMatchesSelector" | "webkitdirectory" | "width" | "willValidate" | "writingSuggestions"> & import("vue").ShallowUnwrapRef & import("vue").ShallowUnwrapRef void) | undefined; id?: string | undefined; details: boolean; + labelId?: string | undefined; } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "active" | "centerAffix" | "clearIcon" | "clearable" | "details" | "dirty" | "disabled" | "error" | "flat" | "focused" | "glow" | "persistentClear" | "reverse" | "rounded" | "singleLine" | "style" | "tile" | "variant">; $attrs: { [x: string]: unknown; @@ -6984,6 +6991,7 @@ export declare const registryTabelaCelulas: { "onClick:appendInner"?: ((args_0: MouseEvent) => void) | undefined; "onClick:prependInner"?: ((args_0: MouseEvent) => void) | undefined; id?: string | undefined; + labelId?: string | undefined; } & { "onUpdate:focused"?: ((focused: boolean) => any) | undefined; }, { @@ -7109,6 +7117,7 @@ export declare const registryTabelaCelulas: { "onClick:appendInner"?: ((args_0: MouseEvent) => void) | undefined; "onClick:prependInner"?: ((args_0: MouseEvent) => void) | undefined; id?: string | undefined; + labelId?: string | undefined; } & { "onUpdate:focused"?: ((focused: boolean) => any) | undefined; }, "controlRef" | "fieldIconColor" | ("active" | "centerAffix" | "clearIcon" | "clearable" | "details" | "dirty" | "disabled" | "error" | "flat" | "focused" | "glow" | "persistentClear" | "reverse" | "rounded" | "singleLine" | "style" | "tile" | "variant")> & import("vue").ShallowUnwrapRef<{ @@ -7117,7 +7126,7 @@ export declare const registryTabelaCelulas: { }> & {} & import("vue").ComponentCustomProperties & {} & import("vuetify/lib/util/defineComponent.mjs").GenericProps<{ modelValue?: unknown; "onUpdate:modelValue"?: ((value: unknown) => void) | undefined; - }, import("vuetify/lib/components/VField/VField.mjs").VFieldSlots>, "$children" | "appendInnerIcon" | "baseColor" | "bgColor" | "class" | "color" | "iconColor" | "id" | "label" | "loading" | "modelValue" | "onClick:appendInner" | "onClick:clear" | "onClick:prependInner" | "onUpdate:focused" | "onUpdate:modelValue" | "prependInnerIcon" | "theme" | "v-slot:append-inner" | "v-slot:clear" | "v-slot:default" | "v-slot:label" | "v-slot:loader" | "v-slot:prepend-inner" | "v-slots" | ("active" | "centerAffix" | "clearIcon" | "clearable" | "details" | "dirty" | "disabled" | "error" | "flat" | "focused" | "glow" | "persistentClear" | "reverse" | "rounded" | "singleLine" | "style" | "tile" | "variant") | keyof import("vue").VNodeProps>, `$${any}`> & { + }, import("vuetify/lib/components/VField/VField.mjs").VFieldSlots>, "$children" | "appendInnerIcon" | "baseColor" | "bgColor" | "class" | "color" | "iconColor" | "id" | "label" | "labelId" | "loading" | "modelValue" | "onClick:appendInner" | "onClick:clear" | "onClick:prependInner" | "onUpdate:focused" | "onUpdate:modelValue" | "prependInnerIcon" | "theme" | "v-slot:append-inner" | "v-slot:clear" | "v-slot:default" | "v-slot:label" | "v-slot:loader" | "v-slot:prepend-inner" | "v-slots" | ("active" | "centerAffix" | "clearIcon" | "clearable" | "details" | "dirty" | "disabled" | "error" | "flat" | "focused" | "glow" | "persistentClear" | "reverse" | "rounded" | "singleLine" | "style" | "tile" | "variant") | keyof import("vue").VNodeProps>, `$${any}`> & { _allExposed: { reset: () => Promise; resetValidation: () => Promise; @@ -7128,7 +7137,7 @@ export declare const registryTabelaCelulas: { controlRef: import("vue").Ref; fieldIconColor: import("vue").ComputedRef; } | {}; - }> & {} & import("vue").ComponentCustomProperties & {}, "$children" | "appendIcon" | "appendInnerIcon" | "autocomplete" | "baseColor" | "bgColor" | "class" | "color" | "counter" | "counterValue" | "hideDetails" | "hint" | "iconColor" | "id" | "label" | "loading" | "maxWidth" | "minWidth" | "modelModifiers" | "modelValue" | "name" | "onClick:append" | "onClick:appendInner" | "onClick:clear" | "onClick:control" | "onClick:prepend" | "onClick:prependInner" | "onMousedown:control" | "onUpdate:focused" | "onUpdate:modelValue" | "placeholder" | "prefix" | "prependIcon" | "prependInnerIcon" | "role" | "suffix" | "theme" | "v-slot:append" | "v-slot:append-inner" | "v-slot:clear" | "v-slot:counter" | "v-slot:default" | "v-slot:details" | "v-slot:label" | "v-slot:loader" | "v-slot:message" | "v-slot:prepend" | "v-slot:prepend-inner" | "v-slots" | "validateOn" | "validationValue" | "width" | ("active" | "autofocus" | "centerAffix" | "clearIcon" | "clearable" | "density" | "direction" | "dirty" | "disabled" | "error" | "errorMessages" | "flat" | "focused" | "glow" | "hideSpinButtons" | "maxErrors" | "messages" | "persistentClear" | "persistentCounter" | "persistentHint" | "persistentPlaceholder" | "readonly" | "reverse" | "rounded" | "rules" | "singleLine" | "style" | "tile" | "type" | "variant") | keyof import("vue").VNodeProps>, `$${any}`> & { + }> & {} & import("vue").ComponentCustomProperties & {}, "$children" | "appendIcon" | "appendInnerIcon" | "autocomplete" | "baseColor" | "bgColor" | "class" | "color" | "counter" | "counterValue" | "hideDetails" | "hint" | "iconColor" | "id" | "label" | "loading" | "maxWidth" | "minWidth" | "modelModifiers" | "modelValue" | "name" | "onClick:append" | "onClick:appendInner" | "onClick:clear" | "onClick:control" | "onClick:prepend" | "onClick:prependInner" | "onMousedown:control" | "onUpdate:focused" | "onUpdate:modelValue" | "placeholder" | "prefix" | "prependIcon" | "prependInnerIcon" | "role" | "suffix" | "theme" | "v-slot:append" | "v-slot:append-inner" | "v-slot:clear" | "v-slot:counter" | "v-slot:default" | "v-slot:details" | "v-slot:label" | "v-slot:loader" | "v-slot:message" | "v-slot:prepend" | "v-slot:prepend-inner" | "v-slots" | "validateOn" | "validationValue" | "width" | ("active" | "autofocus" | "centerAffix" | "clearIcon" | "clearable" | "density" | "dirty" | "disabled" | "error" | "errorMessages" | "flat" | "focused" | "glow" | "hideSpinButtons" | "maxErrors" | "messages" | "persistentClear" | "persistentCounter" | "persistentHint" | "persistentPlaceholder" | "readonly" | "reverse" | "rounded" | "rules" | "singleLine" | "style" | "tile" | "type" | "variant") | keyof import("vue").VNodeProps>, `$${any}`> & { _allExposed: { isFocused: import("vue").ShallowRef; menu: import("vue").WritableComputedRef; @@ -7432,6 +7441,7 @@ export declare const registryTabelaCelulas: { "onClick:prependInner"?: ((args_0: MouseEvent) => void) | undefined; id?: string | undefined; details: boolean; + labelId?: string | undefined; } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "active" | "centerAffix" | "clearIcon" | "clearable" | "details" | "dirty" | "disabled" | "error" | "flat" | "focused" | "glow" | "persistentClear" | "reverse" | "rounded" | "singleLine" | "style" | "tile" | "variant">; $attrs: { [x: string]: unknown; @@ -7504,6 +7514,7 @@ export declare const registryTabelaCelulas: { "onClick:appendInner"?: ((args_0: MouseEvent) => void) | undefined; "onClick:prependInner"?: ((args_0: MouseEvent) => void) | undefined; id?: string | undefined; + labelId?: string | undefined; } & { "onUpdate:focused"?: ((focused: boolean) => any) | undefined; }, { @@ -7629,6 +7640,7 @@ export declare const registryTabelaCelulas: { "onClick:appendInner"?: ((args_0: MouseEvent) => void) | undefined; "onClick:prependInner"?: ((args_0: MouseEvent) => void) | undefined; id?: string | undefined; + labelId?: string | undefined; } & { "onUpdate:focused"?: ((focused: boolean) => any) | undefined; }, "controlRef" | "fieldIconColor" | ("active" | "centerAffix" | "clearIcon" | "clearable" | "details" | "dirty" | "disabled" | "error" | "flat" | "focused" | "glow" | "persistentClear" | "reverse" | "rounded" | "singleLine" | "style" | "tile" | "variant")> & import("vue").ShallowUnwrapRef<{ @@ -7637,7 +7649,7 @@ export declare const registryTabelaCelulas: { }> & {} & import("vue").ComponentCustomProperties & {} & import("vuetify/lib/util/defineComponent.mjs").GenericProps<{ modelValue?: unknown; "onUpdate:modelValue"?: ((value: unknown) => void) | undefined; - }, import("vuetify/lib/components/VField/VField.mjs").VFieldSlots>, "$children" | "appendInnerIcon" | "baseColor" | "bgColor" | "class" | "color" | "iconColor" | "id" | "label" | "loading" | "modelValue" | "onClick:appendInner" | "onClick:clear" | "onClick:prependInner" | "onUpdate:focused" | "onUpdate:modelValue" | "prependInnerIcon" | "theme" | "v-slot:append-inner" | "v-slot:clear" | "v-slot:default" | "v-slot:label" | "v-slot:loader" | "v-slot:prepend-inner" | "v-slots" | ("active" | "centerAffix" | "clearIcon" | "clearable" | "details" | "dirty" | "disabled" | "error" | "flat" | "focused" | "glow" | "persistentClear" | "reverse" | "rounded" | "singleLine" | "style" | "tile" | "variant") | keyof import("vue").VNodeProps>, `$${any}`> & { + }, import("vuetify/lib/components/VField/VField.mjs").VFieldSlots>, "$children" | "appendInnerIcon" | "baseColor" | "bgColor" | "class" | "color" | "iconColor" | "id" | "label" | "labelId" | "loading" | "modelValue" | "onClick:appendInner" | "onClick:clear" | "onClick:prependInner" | "onUpdate:focused" | "onUpdate:modelValue" | "prependInnerIcon" | "theme" | "v-slot:append-inner" | "v-slot:clear" | "v-slot:default" | "v-slot:label" | "v-slot:loader" | "v-slot:prepend-inner" | "v-slots" | ("active" | "centerAffix" | "clearIcon" | "clearable" | "details" | "dirty" | "disabled" | "error" | "flat" | "focused" | "glow" | "persistentClear" | "reverse" | "rounded" | "singleLine" | "style" | "tile" | "variant") | keyof import("vue").VNodeProps>, `$${any}`> & { _allExposed: { reset: () => Promise; resetValidation: () => Promise; @@ -7667,7 +7679,6 @@ export declare const registryTabelaCelulas: { hideSpinButtons: boolean; persistentHint: boolean; messages: string | readonly string[]; - direction: "horizontal" | "vertical"; itemChildren: import("vuetify/lib/util/helpers.mjs").SelectItemKey; itemType: import("vuetify/lib/util/helpers.mjs").SelectItemKey; clearable: boolean; @@ -7720,7 +7731,6 @@ export declare const registryTabelaCelulas: { hideSpinButtons: boolean; persistentHint: boolean; messages: string | readonly string[]; - direction: "horizontal" | "vertical"; itemChildren: string | boolean | readonly (string | number)[] | ((item: Record, fallback?: any) => any) | null; itemType: string | boolean | readonly (string | number)[] | ((item: Record, fallback?: any) => any) | null; clearable: boolean; @@ -7769,7 +7779,8 @@ export declare const registryTabelaCelulas: { hint?: string | undefined; "onClick:prepend"?: ((args_0: MouseEvent) => void) | undefined; "onClick:append"?: ((args_0: MouseEvent) => void) | undefined; - valueComparator?: typeof import("vuetify/lib/util/deepEqual.mjs").deepEqual | undefined; + valueComparator?: import("vuetify/lib/util/deepEqual.mjs").ValueComparator | undefined; + appendInnerIcon?: import("vuetify/lib/composables/icons.mjs").IconValue | undefined; bgColor?: string | undefined; centerAffix?: boolean | undefined; color?: string | undefined; @@ -7827,13 +7838,12 @@ export declare const registryTabelaCelulas: { width?: string | number | undefined; itemType: string | boolean | readonly (string | number)[] | ((item: Record, fallback?: any) => any) | null; returnObject: boolean; - valueComparator?: typeof import("vuetify/lib/util/deepEqual.mjs").deepEqual | undefined; + valueComparator?: import("vuetify/lib/util/deepEqual.mjs").ValueComparator | undefined; activatable: boolean; selectable: boolean; activeStrategy?: import("vuetify/lib/composables/nested/nested.mjs").ActiveStrategyProp | undefined; selectStrategy: import("vuetify/lib/composables/nested/nested.mjs").SelectStrategyProp; openStrategy: import("vuetify/lib/composables/nested/nested.mjs").OpenStrategyProp; - activated?: any; mandatory: boolean; itemsRegistration: import("vuetify/lib/composables/nested/nested.mjs").ItemsRegistrationType; baseColor?: string | undefined; @@ -7854,7 +7864,6 @@ export declare const registryTabelaCelulas: { value: boolean; path: unknown[]; }) => any) | undefined; - "onUpdate:activated"?: ((value: unknown) => any) | undefined; } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "activatable" | "density" | "disabled" | "filterable" | "itemType" | "itemsRegistration" | "lines" | "mandatory" | "nav" | "openStrategy" | "returnObject" | "rounded" | "selectStrategy" | "selectable" | "slim" | "style" | "tag" | "tile" | "variant"> & { items?: readonly any[] | undefined; itemTitle?: import("vuetify/lib/util/helpers.mjs").SelectItemKey; @@ -7862,7 +7871,11 @@ export declare const registryTabelaCelulas: { itemChildren?: import("vuetify/lib/util/helpers.mjs").SelectItemKey; itemProps?: import("vuetify/lib/util/helpers.mjs").SelectItemKey; selected?: unknown; + activated?: unknown; + opened?: unknown; "onUpdate:selected"?: ((value: unknown) => void) | undefined; + "onUpdate:activated"?: ((value: unknown) => void) | undefined; + "onUpdate:opened"?: ((value: unknown) => void) | undefined; "onClick:open"?: ((value: { id: unknown; value: boolean; @@ -7873,8 +7886,6 @@ export declare const registryTabelaCelulas: { value: boolean; path: unknown[]; }) => void) | undefined; - opened?: unknown; - "onUpdate:opened"?: ((value: unknown) => void) | undefined; } & { $children?: { prepend?: ((arg: import("vuetify/lib/components/VList/VListItem.mjs").ListItemSlot & { @@ -8273,7 +8284,6 @@ export declare const registryTabelaCelulas: { hideSpinButtons: boolean; persistentHint: boolean; messages: string | readonly string[]; - direction: "horizontal" | "vertical"; clearable: boolean; clearIcon: import("vuetify/lib/composables/icons.mjs").IconValue; active: boolean; @@ -8310,11 +8320,15 @@ export declare const registryTabelaCelulas: { props: Record; }) => import("vue").VNodeChild) | undefined; loader?: ((arg: import("vuetify/lib/composables/loader.mjs").LoaderSlotProps) => import("vue").VNodeChild) | undefined; - default?: (() => import("vue").VNodeChild) | undefined; + default?: ((arg: { + id: Readonly>; + }) => import("vue").VNodeChild) | undefined; counter?: ((arg: import("vuetify/lib/components/VCounter/VCounter.mjs").VCounterSlot) => import("vue").VNodeChild) | undefined; } | { $stable?: boolean | undefined; - } | (() => import("vue").VNodeChild) | import("vue").VNodeChild; + } | ((arg: { + id: Readonly>; + }) => import("vue").VNodeChild) | import("vue").VNodeChild; "v-slots"?: { prepend?: false | ((arg: import("vuetify/lib/components/VInput/VInput.mjs").VInputSlot) => import("vue").VNodeChild) | undefined; append?: false | ((arg: import("vuetify/lib/components/VInput/VInput.mjs").VInputSlot) => import("vue").VNodeChild) | undefined; @@ -8330,7 +8344,9 @@ export declare const registryTabelaCelulas: { props: Record; }) => import("vue").VNodeChild) | undefined; loader?: false | ((arg: import("vuetify/lib/composables/loader.mjs").LoaderSlotProps) => import("vue").VNodeChild) | undefined; - default?: false | (() => import("vue").VNodeChild) | undefined; + default?: false | ((arg: { + id: Readonly>; + }) => import("vue").VNodeChild) | undefined; counter?: false | ((arg: import("vuetify/lib/components/VCounter/VCounter.mjs").VCounterSlot) => import("vue").VNodeChild) | undefined; } | undefined; focused: boolean; @@ -8358,7 +8374,6 @@ export declare const registryTabelaCelulas: { hint?: string | undefined; persistentHint: boolean; messages: string | readonly string[]; - direction: "horizontal" | "vertical"; "onClick:prepend"?: ((args_0: MouseEvent) => void) | undefined; "onClick:append"?: ((args_0: MouseEvent) => void) | undefined; appendInnerIcon?: import("vuetify/lib/composables/icons.mjs").IconValue | undefined; @@ -8405,7 +8420,9 @@ export declare const registryTabelaCelulas: { props: Record; }) => import("vue").VNodeChild) | undefined; "v-slot:counter"?: false | ((arg: import("vuetify/lib/components/VCounter/VCounter.mjs").VCounterSlot) => import("vue").VNodeChild) | undefined; - "v-slot:default"?: false | (() => import("vue").VNodeChild) | undefined; + "v-slot:default"?: false | ((arg: { + id: Readonly>; + }) => import("vue").VNodeChild) | undefined; "v-slot:details"?: false | ((arg: import("vuetify/lib/components/VInput/VInput.mjs").VInputSlot) => import("vue").VNodeChild) | undefined; "v-slot:label"?: false | ((arg: import("vuetify/lib/components/VField/VField.mjs").DefaultInputSlot & { label: string | undefined; @@ -8415,7 +8432,7 @@ export declare const registryTabelaCelulas: { "v-slot:message"?: false | ((arg: import("vuetify/lib/components/VMessages/VMessages.mjs").VMessageSlot) => import("vue").VNodeChild) | undefined; "v-slot:prepend"?: false | ((arg: import("vuetify/lib/components/VInput/VInput.mjs").VInputSlot) => import("vue").VNodeChild) | undefined; "v-slot:prepend-inner"?: false | ((arg: import("vuetify/lib/components/VField/VField.mjs").DefaultInputSlot) => import("vue").VNodeChild) | undefined; - } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "active" | "autofocus" | "centerAffix" | "clearIcon" | "clearable" | "density" | "direction" | "dirty" | "disabled" | "error" | "errorMessages" | "flat" | "focused" | "glow" | "hideSpinButtons" | "maxErrors" | "messages" | "persistentClear" | "persistentCounter" | "persistentHint" | "persistentPlaceholder" | "readonly" | "reverse" | "rounded" | "rules" | "singleLine" | "style" | "tile" | "type" | "variant">; + } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "active" | "autofocus" | "centerAffix" | "clearIcon" | "clearable" | "density" | "dirty" | "disabled" | "error" | "errorMessages" | "flat" | "focused" | "glow" | "hideSpinButtons" | "maxErrors" | "messages" | "persistentClear" | "persistentCounter" | "persistentHint" | "persistentPlaceholder" | "readonly" | "reverse" | "rounded" | "rules" | "singleLine" | "style" | "tile" | "type" | "variant">; $attrs: { [x: string]: unknown; }; @@ -8455,7 +8472,9 @@ export declare const registryTabelaCelulas: { loader?: ((arg: import("vuetify/lib/composables/loader.mjs").LoaderSlotProps) => import("vue").VNode[]) | undefined; - default?: (() => import("vue").VNode>; + }) => import("vue").VNode[]) | undefined; counter?: ((arg: import("vuetify/lib/components/VCounter/VCounter.mjs").VCounterSlot) => import("vue").VNode; }) => import("vue").VNodeChild) | undefined; loader?: ((arg: import("vuetify/lib/composables/loader.mjs").LoaderSlotProps) => import("vue").VNodeChild) | undefined; - default?: (() => import("vue").VNodeChild) | undefined; + default?: ((arg: { + id: Readonly>; + }) => import("vue").VNodeChild) | undefined; counter?: ((arg: import("vuetify/lib/components/VCounter/VCounter.mjs").VCounterSlot) => import("vue").VNodeChild) | undefined; } | { $stable?: boolean | undefined; - } | (() => import("vue").VNodeChild) | import("vue").VNodeChild; + } | ((arg: { + id: Readonly>; + }) => import("vue").VNodeChild) | import("vue").VNodeChild; "v-slots"?: { prepend?: false | ((arg: import("vuetify/lib/components/VInput/VInput.mjs").VInputSlot) => import("vue").VNodeChild) | undefined; append?: false | ((arg: import("vuetify/lib/components/VInput/VInput.mjs").VInputSlot) => import("vue").VNodeChild) | undefined; @@ -8571,7 +8593,9 @@ export declare const registryTabelaCelulas: { props: Record; }) => import("vue").VNodeChild) | undefined; loader?: false | ((arg: import("vuetify/lib/composables/loader.mjs").LoaderSlotProps) => import("vue").VNodeChild) | undefined; - default?: false | (() => import("vue").VNodeChild) | undefined; + default?: false | ((arg: { + id: Readonly>; + }) => import("vue").VNodeChild) | undefined; counter?: false | ((arg: import("vuetify/lib/components/VCounter/VCounter.mjs").VCounterSlot) => import("vue").VNodeChild) | undefined; } | undefined; } & { @@ -8581,7 +8605,9 @@ export declare const registryTabelaCelulas: { props: Record; }) => import("vue").VNodeChild) | undefined; "v-slot:counter"?: false | ((arg: import("vuetify/lib/components/VCounter/VCounter.mjs").VCounterSlot) => import("vue").VNodeChild) | undefined; - "v-slot:default"?: false | (() => import("vue").VNodeChild) | undefined; + "v-slot:default"?: false | ((arg: { + id: Readonly>; + }) => import("vue").VNodeChild) | undefined; "v-slot:details"?: false | ((arg: import("vuetify/lib/components/VInput/VInput.mjs").VInputSlot) => import("vue").VNodeChild) | undefined; "v-slot:label"?: false | ((arg: import("vuetify/lib/components/VField/VField.mjs").DefaultInputSlot & { label: string | undefined; @@ -8895,6 +8921,7 @@ export declare const registryTabelaCelulas: { "onClick:prependInner"?: ((args_0: MouseEvent) => void) | undefined; id?: string | undefined; details: boolean; + labelId?: string | undefined; } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "active" | "centerAffix" | "clearIcon" | "clearable" | "details" | "dirty" | "disabled" | "error" | "flat" | "focused" | "glow" | "persistentClear" | "reverse" | "rounded" | "singleLine" | "style" | "tile" | "variant">; $attrs: { [x: string]: unknown; @@ -8967,6 +8994,7 @@ export declare const registryTabelaCelulas: { "onClick:appendInner"?: ((args_0: MouseEvent) => void) | undefined; "onClick:prependInner"?: ((args_0: MouseEvent) => void) | undefined; id?: string | undefined; + labelId?: string | undefined; } & { "onUpdate:focused"?: ((focused: boolean) => any) | undefined; }, { @@ -9092,6 +9120,7 @@ export declare const registryTabelaCelulas: { "onClick:appendInner"?: ((args_0: MouseEvent) => void) | undefined; "onClick:prependInner"?: ((args_0: MouseEvent) => void) | undefined; id?: string | undefined; + labelId?: string | undefined; } & { "onUpdate:focused"?: ((focused: boolean) => any) | undefined; }, "controlRef" | "fieldIconColor" | ("active" | "centerAffix" | "clearIcon" | "clearable" | "details" | "dirty" | "disabled" | "error" | "flat" | "focused" | "glow" | "persistentClear" | "reverse" | "rounded" | "singleLine" | "style" | "tile" | "variant")> & import("vue").ShallowUnwrapRef<{ @@ -9100,7 +9129,7 @@ export declare const registryTabelaCelulas: { }> & {} & import("vue").ComponentCustomProperties & {} & import("vuetify/lib/util/defineComponent.mjs").GenericProps<{ modelValue?: unknown; "onUpdate:modelValue"?: ((value: unknown) => void) | undefined; - }, import("vuetify/lib/components/VField/VField.mjs").VFieldSlots>, "$children" | "appendInnerIcon" | "baseColor" | "bgColor" | "class" | "color" | "iconColor" | "id" | "label" | "loading" | "modelValue" | "onClick:appendInner" | "onClick:clear" | "onClick:prependInner" | "onUpdate:focused" | "onUpdate:modelValue" | "prependInnerIcon" | "theme" | "v-slot:append-inner" | "v-slot:clear" | "v-slot:default" | "v-slot:label" | "v-slot:loader" | "v-slot:prepend-inner" | "v-slots" | ("active" | "centerAffix" | "clearIcon" | "clearable" | "details" | "dirty" | "disabled" | "error" | "flat" | "focused" | "glow" | "persistentClear" | "reverse" | "rounded" | "singleLine" | "style" | "tile" | "variant") | keyof import("vue").VNodeProps>, `$${any}`> & { + }, import("vuetify/lib/components/VField/VField.mjs").VFieldSlots>, "$children" | "appendInnerIcon" | "baseColor" | "bgColor" | "class" | "color" | "iconColor" | "id" | "label" | "labelId" | "loading" | "modelValue" | "onClick:appendInner" | "onClick:clear" | "onClick:prependInner" | "onUpdate:focused" | "onUpdate:modelValue" | "prependInnerIcon" | "theme" | "v-slot:append-inner" | "v-slot:clear" | "v-slot:default" | "v-slot:label" | "v-slot:loader" | "v-slot:prepend-inner" | "v-slots" | ("active" | "centerAffix" | "clearIcon" | "clearable" | "details" | "dirty" | "disabled" | "error" | "flat" | "focused" | "glow" | "persistentClear" | "reverse" | "rounded" | "singleLine" | "style" | "tile" | "variant") | keyof import("vue").VNodeProps>, `$${any}`> & { _allExposed: { reset: () => Promise; resetValidation: () => Promise; @@ -9129,7 +9158,6 @@ export declare const registryTabelaCelulas: { hideSpinButtons: boolean; persistentHint: boolean; messages: string | readonly string[]; - direction: "horizontal" | "vertical"; clearable: boolean; clearIcon: import("vuetify/lib/composables/icons.mjs").IconValue; active: boolean; @@ -9180,7 +9208,9 @@ export declare const registryTabelaCelulas: { loader: (arg: import("vuetify/lib/composables/loader.mjs").LoaderSlotProps) => import("vue").VNode[]; - default: () => import("vue").VNode>; + }) => import("vue").VNode[]; counter: (arg: import("vuetify/lib/components/VCounter/VCounter.mjs").VCounterSlot) => import("vue").VNode; }) => import("vue").VNodeChild) | undefined; loader?: ((arg: import("vuetify/lib/composables/loader.mjs").LoaderSlotProps) => import("vue").VNodeChild) | undefined; - default?: (() => import("vue").VNodeChild) | undefined; + default?: ((arg: { + id: Readonly>; + }) => import("vue").VNodeChild) | undefined; counter?: ((arg: import("vuetify/lib/components/VCounter/VCounter.mjs").VCounterSlot) => import("vue").VNodeChild) | undefined; } | { $stable?: boolean | undefined; - } | (() => import("vue").VNodeChild) | import("vue").VNodeChild; + } | ((arg: { + id: Readonly>; + }) => import("vue").VNodeChild) | import("vue").VNodeChild; "v-slots"?: { prepend?: false | ((arg: import("vuetify/lib/components/VInput/VInput.mjs").VInputSlot) => import("vue").VNodeChild) | undefined; append?: false | ((arg: import("vuetify/lib/components/VInput/VInput.mjs").VInputSlot) => import("vue").VNodeChild) | undefined; @@ -9341,7 +9373,9 @@ export declare const registryTabelaCelulas: { props: Record; }) => import("vue").VNodeChild) | undefined; loader?: false | ((arg: import("vuetify/lib/composables/loader.mjs").LoaderSlotProps) => import("vue").VNodeChild) | undefined; - default?: false | (() => import("vue").VNodeChild) | undefined; + default?: false | ((arg: { + id: Readonly>; + }) => import("vue").VNodeChild) | undefined; counter?: false | ((arg: import("vuetify/lib/components/VCounter/VCounter.mjs").VCounterSlot) => import("vue").VNodeChild) | undefined; } | undefined; } & { @@ -9351,7 +9385,9 @@ export declare const registryTabelaCelulas: { props: Record; }) => import("vue").VNodeChild) | undefined; "v-slot:counter"?: false | ((arg: import("vuetify/lib/components/VCounter/VCounter.mjs").VCounterSlot) => import("vue").VNodeChild) | undefined; - "v-slot:default"?: false | (() => import("vue").VNodeChild) | undefined; + "v-slot:default"?: false | ((arg: { + id: Readonly>; + }) => import("vue").VNodeChild) | undefined; "v-slot:details"?: false | ((arg: import("vuetify/lib/components/VInput/VInput.mjs").VInputSlot) => import("vue").VNodeChild) | undefined; "v-slot:label"?: false | ((arg: import("vuetify/lib/components/VField/VField.mjs").DefaultInputSlot & { label: string | undefined; @@ -9366,7 +9402,7 @@ export declare const registryTabelaCelulas: { "onMousedown:control"?: ((e: MouseEvent) => any) | undefined; "onUpdate:focused"?: ((focused: boolean) => any) | undefined; "onUpdate:modelValue"?: ((val: string) => any) | undefined; - }, "flat" | "name" | "type" | "variant" | "size" | "disabled" | "reverse" | "min" | "max" | "value" | "required" | "focus" | "blur" | "inputMode" | "normalize" | "style" | "children" | "placeholder" | "form" | "select" | "title" | "animate" | "pattern" | "density" | "error" | "innerHTML" | "height" | "id" | "lang" | "width" | "role" | "direction" | "hidden" | "reset" | "slot" | "rounded" | "tile" | "draggable" | "prepend" | "append" | "click" | "step" | "isValid" | "resetValidation" | "validate" | "centerAffix" | "errorMessages" | "focused" | "glow" | "hideSpinButtons" | "maxErrors" | "messages" | "persistentHint" | "readonly" | "rules" | "clearable" | "clearIcon" | "active" | "dirty" | "persistentClear" | "singleLine" | "autocomplete" | "autofocus" | "prefix" | "persistentPlaceholder" | "persistentCounter" | "defaultValue" | "dirName" | "labels" | "maxLength" | "minLength" | "readOnly" | "selectionDirection" | "selectionEnd" | "selectionStart" | "validationMessage" | "validity" | "willValidate" | "checkValidity" | "reportValidity" | "setCustomValidity" | "setRangeText" | "setSelectionRange" | "addEventListener" | "removeEventListener" | "accessKey" | "accessKeyLabel" | "autocapitalize" | "dir" | "inert" | "innerText" | "offsetHeight" | "offsetLeft" | "offsetParent" | "offsetTop" | "offsetWidth" | "outerText" | "popover" | "spellcheck" | "translate" | "writingSuggestions" | "attachInternals" | "hidePopover" | "showPopover" | "togglePopover" | "attributes" | "classList" | "className" | "clientHeight" | "clientLeft" | "clientTop" | "clientWidth" | "currentCSSZoom" | "localName" | "namespaceURI" | "onfullscreenchange" | "onfullscreenerror" | "outerHTML" | "ownerDocument" | "part" | "scrollHeight" | "scrollLeft" | "scrollTop" | "scrollWidth" | "shadowRoot" | "tagName" | "attachShadow" | "checkVisibility" | "closest" | "computedStyleMap" | "getAttribute" | "getAttributeNS" | "getAttributeNames" | "getAttributeNode" | "getAttributeNodeNS" | "getBoundingClientRect" | "getClientRects" | "getElementsByClassName" | "getElementsByTagName" | "getElementsByTagNameNS" | "getHTML" | "hasAttribute" | "hasAttributeNS" | "hasAttributes" | "hasPointerCapture" | "insertAdjacentElement" | "insertAdjacentHTML" | "insertAdjacentText" | "matches" | "releasePointerCapture" | "removeAttribute" | "removeAttributeNS" | "removeAttributeNode" | "requestFullscreen" | "requestPointerLock" | "scroll" | "scrollBy" | "scrollIntoView" | "scrollTo" | "setAttribute" | "setAttributeNS" | "setAttributeNode" | "setAttributeNodeNS" | "setHTMLUnsafe" | "setPointerCapture" | "toggleAttribute" | "webkitMatchesSelector" | "textContent" | "baseURI" | "childNodes" | "firstChild" | "isConnected" | "lastChild" | "nextSibling" | "nodeName" | "nodeType" | "nodeValue" | "parentElement" | "parentNode" | "previousSibling" | "appendChild" | "cloneNode" | "compareDocumentPosition" | "contains" | "getRootNode" | "hasChildNodes" | "insertBefore" | "isDefaultNamespace" | "isEqualNode" | "isSameNode" | "lookupNamespaceURI" | "lookupPrefix" | "removeChild" | "replaceChild" | "ELEMENT_NODE" | "ATTRIBUTE_NODE" | "TEXT_NODE" | "CDATA_SECTION_NODE" | "ENTITY_REFERENCE_NODE" | "ENTITY_NODE" | "PROCESSING_INSTRUCTION_NODE" | "COMMENT_NODE" | "DOCUMENT_NODE" | "DOCUMENT_TYPE_NODE" | "DOCUMENT_FRAGMENT_NODE" | "NOTATION_NODE" | "DOCUMENT_POSITION_DISCONNECTED" | "DOCUMENT_POSITION_PRECEDING" | "DOCUMENT_POSITION_FOLLOWING" | "DOCUMENT_POSITION_CONTAINS" | "DOCUMENT_POSITION_CONTAINED_BY" | "DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC" | "dispatchEvent" | "ariaAtomic" | "ariaAutoComplete" | "ariaBrailleLabel" | "ariaBrailleRoleDescription" | "ariaBusy" | "ariaChecked" | "ariaColCount" | "ariaColIndex" | "ariaColIndexText" | "ariaColSpan" | "ariaCurrent" | "ariaDescription" | "ariaDisabled" | "ariaExpanded" | "ariaHasPopup" | "ariaHidden" | "ariaInvalid" | "ariaKeyShortcuts" | "ariaLabel" | "ariaLevel" | "ariaLive" | "ariaModal" | "ariaMultiLine" | "ariaMultiSelectable" | "ariaOrientation" | "ariaPlaceholder" | "ariaPosInSet" | "ariaPressed" | "ariaReadOnly" | "ariaRelevant" | "ariaRequired" | "ariaRoleDescription" | "ariaRowCount" | "ariaRowIndex" | "ariaRowIndexText" | "ariaRowSpan" | "ariaSelected" | "ariaSetSize" | "ariaSort" | "ariaValueMax" | "ariaValueMin" | "ariaValueNow" | "ariaValueText" | "getAnimations" | "after" | "before" | "remove" | "replaceWith" | "nextElementSibling" | "previousElementSibling" | "childElementCount" | "firstElementChild" | "lastElementChild" | "querySelector" | "querySelectorAll" | "replaceChildren" | "assignedSlot" | "attributeStyleMap" | "contentEditable" | "enterKeyHint" | "isContentEditable" | "onabort" | "onanimationcancel" | "onanimationend" | "onanimationiteration" | "onanimationstart" | "onauxclick" | "onbeforeinput" | "onbeforetoggle" | "onblur" | "oncancel" | "oncanplay" | "oncanplaythrough" | "onchange" | "onclick" | "onclose" | "oncontextlost" | "oncontextmenu" | "oncontextrestored" | "oncopy" | "oncuechange" | "oncut" | "ondblclick" | "ondrag" | "ondragend" | "ondragenter" | "ondragleave" | "ondragover" | "ondragstart" | "ondrop" | "ondurationchange" | "onemptied" | "onended" | "onerror" | "onfocus" | "onformdata" | "ongotpointercapture" | "oninput" | "oninvalid" | "onkeydown" | "onkeypress" | "onkeyup" | "onload" | "onloadeddata" | "onloadedmetadata" | "onloadstart" | "onlostpointercapture" | "onmousedown" | "onmouseenter" | "onmouseleave" | "onmousemove" | "onmouseout" | "onmouseover" | "onmouseup" | "onpaste" | "onpause" | "onplay" | "onplaying" | "onpointercancel" | "onpointerdown" | "onpointerenter" | "onpointerleave" | "onpointermove" | "onpointerout" | "onpointerover" | "onpointerup" | "onprogress" | "onratechange" | "onreset" | "onresize" | "onscroll" | "onscrollend" | "onsecuritypolicyviolation" | "onseeked" | "onseeking" | "onselect" | "onselectionchange" | "onselectstart" | "onslotchange" | "onstalled" | "onsubmit" | "onsuspend" | "ontimeupdate" | "ontoggle" | "ontouchcancel" | "ontouchend" | "ontouchmove" | "ontouchstart" | "ontransitioncancel" | "ontransitionend" | "ontransitionrun" | "ontransitionstart" | "onvolumechange" | "onwaiting" | "onwebkitanimationend" | "onwebkitanimationiteration" | "onwebkitanimationstart" | "onwebkittransitionend" | "onwheel" | "dataset" | "nonce" | "tabIndex" | "_allExposed" | "_" | "_clickOutside" | "_mutate" | "_observe" | "_onResize" | "_onScroll" | "_ripple" | "_touchHandlers" | "_transitionInitialStyles" | "accept" | "align" | "alt" | "capture" | "checked" | "controlRef" | "defaultChecked" | "fieldIconColor" | "files" | "formAction" | "formEnctype" | "formMethod" | "formNoValidate" | "formTarget" | "indeterminate" | "list" | "multiple" | "popoverTargetAction" | "popoverTargetElement" | "showPicker" | "src" | "stepDown" | "stepUp" | "useMap" | "valueAsDate" | "valueAsNumber" | "webkitEntries" | "webkitdirectory"> & import("vue").ShallowUnwrapRef & import("vue").ShallowUnwrapRef void) | undefined; "onClick:append"?: ((args_0: MouseEvent) => void) | undefined; - }, "disabled" | "style" | "density" | "error" | "direction" | "reset" | "isValid" | "resetValidation" | "validate" | "centerAffix" | "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"> & import("vue").ShallowUnwrapRef<{ reset: () => Promise; resetValidation: () => Promise; validate: (silent?: boolean) => Promise; @@ -9609,7 +9645,7 @@ export declare const registryTabelaCelulas: { }> & 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" | keyof import("vue").VNodeProps | "class" | "style" | "label" | "density" | "error" | "id" | "width" | "direction" | "theme" | "appendIcon" | "baseColor" | "prependIcon" | "modelValue" | "$children" | "v-slots" | "v-slot:append" | "v-slot:default" | "v-slot:prepend" | "onUpdate:modelValue" | "centerAffix" | "errorMessages" | "focused" | "glow" | "hideSpinButtons" | "maxErrors" | "messages" | "persistentHint" | "readonly" | "rules" | "onUpdate:focused" | "validateOn" | "validationValue" | "maxWidth" | "minWidth" | "iconColor" | "hideDetails" | "hint" | "onClick:prepend" | "onClick:append" | "v-slot:details" | "v-slot:message">, `$${any}`> & Omit, "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}`> & Omit void) | undefined; id?: string | undefined; details: boolean; + labelId?: string | undefined; } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "active" | "centerAffix" | "clearIcon" | "clearable" | "details" | "dirty" | "disabled" | "error" | "flat" | "focused" | "glow" | "persistentClear" | "reverse" | "rounded" | "singleLine" | "style" | "tile" | "variant">; $attrs: { [x: string]: unknown; @@ -9737,6 +9774,7 @@ export declare const registryTabelaCelulas: { "onClick:appendInner"?: ((args_0: MouseEvent) => void) | undefined; "onClick:prependInner"?: ((args_0: MouseEvent) => void) | undefined; id?: string | undefined; + labelId?: string | undefined; } & { "onUpdate:focused"?: ((focused: boolean) => any) | undefined; }, { @@ -9862,15 +9900,16 @@ export declare const registryTabelaCelulas: { "onClick:appendInner"?: ((args_0: MouseEvent) => void) | undefined; "onClick:prependInner"?: ((args_0: MouseEvent) => void) | undefined; id?: string | undefined; + labelId?: string | undefined; } & { "onUpdate:focused"?: ((focused: boolean) => any) | undefined; - }, "flat" | "variant" | "disabled" | "reverse" | "style" | "details" | "error" | "rounded" | "tile" | "centerAffix" | "focused" | "glow" | "clearable" | "clearIcon" | "active" | "dirty" | "persistentClear" | "singleLine" | "controlRef" | "fieldIconColor"> & import("vue").ShallowUnwrapRef<{ + }, "flat" | "variant" | "disabled" | "reverse" | "error" | "details" | "style" | "centerAffix" | "focused" | "glow" | "rounded" | "tile" | "clearable" | "clearIcon" | "active" | "dirty" | "persistentClear" | "singleLine" | "controlRef" | "fieldIconColor"> & import("vue").ShallowUnwrapRef<{ controlRef: import("vue").Ref; fieldIconColor: import("vue").ComputedRef; }> & import("vue").ComponentCustomProperties & import("vuetify/lib/util/defineComponent.mjs").GenericProps<{ modelValue?: unknown; "onUpdate:modelValue"?: ((value: unknown) => void) | undefined; - }, import("vuetify/lib/components/VField/VField.mjs").VFieldSlots>, "flat" | "color" | "variant" | "disabled" | "loading" | "reverse" | keyof import("vue").VNodeProps | "class" | "style" | "details" | "label" | "error" | "id" | "theme" | "rounded" | "tile" | "baseColor" | "modelValue" | "$children" | "v-slots" | "v-slot:default" | "v-slot:label" | "onUpdate:modelValue" | "centerAffix" | "focused" | "glow" | "onUpdate:focused" | "iconColor" | "appendInnerIcon" | "bgColor" | "clearable" | "clearIcon" | "active" | "dirty" | "persistentClear" | "prependInnerIcon" | "singleLine" | "onClick:clear" | "onClick:appendInner" | "onClick:prependInner" | "v-slot:append-inner" | "v-slot:clear" | "v-slot:loader" | "v-slot:prepend-inner">, `$${any}`> & { + }, import("vuetify/lib/components/VField/VField.mjs").VFieldSlots>, "flat" | "color" | "variant" | "disabled" | "loading" | "reverse" | "error" | "details" | "label" | "style" | "class" | keyof import("vue").VNodeProps | "modelValue" | "onUpdate:modelValue" | "centerAffix" | "focused" | "glow" | "theme" | "onUpdate:focused" | "id" | "baseColor" | "iconColor" | "$children" | "v-slot:default" | "v-slots" | "rounded" | "tile" | "appendInnerIcon" | "bgColor" | "clearable" | "clearIcon" | "active" | "dirty" | "persistentClear" | "prependInnerIcon" | "singleLine" | "onClick:clear" | "onClick:appendInner" | "onClick:prependInner" | "v-slot:append-inner" | "v-slot:clear" | "v-slot:label" | "v-slot:loader" | "v-slot:prepend-inner" | "labelId">, `$${any}`> & { _allExposed: { reset: () => Promise; resetValidation: () => Promise; @@ -9881,7 +9920,7 @@ export declare const registryTabelaCelulas: { controlRef: import("vue").Ref; fieldIconColor: import("vue").ComputedRef; } | {}; - }> & import("vue").ComponentCustomProperties, "flat" | "name" | "color" | "type" | "variant" | "disabled" | "loading" | "reverse" | keyof import("vue").VNodeProps | "class" | "style" | "placeholder" | "label" | "density" | "error" | "id" | "width" | "role" | "direction" | "theme" | "rounded" | "tile" | "appendIcon" | "baseColor" | "prependIcon" | "modelValue" | "$children" | "v-slots" | "v-slot:append" | "v-slot:default" | "v-slot:label" | "v-slot:prepend" | "onUpdate:modelValue" | "centerAffix" | "errorMessages" | "focused" | "glow" | "hideSpinButtons" | "maxErrors" | "messages" | "persistentHint" | "readonly" | "rules" | "onUpdate:focused" | "validateOn" | "validationValue" | "maxWidth" | "minWidth" | "iconColor" | "hideDetails" | "hint" | "onClick:prepend" | "onClick:append" | "v-slot:details" | "v-slot:message" | "appendInnerIcon" | "bgColor" | "clearable" | "clearIcon" | "active" | "dirty" | "persistentClear" | "prependInnerIcon" | "singleLine" | "onClick:clear" | "onClick:appendInner" | "onClick:prependInner" | "autocomplete" | "autofocus" | "counter" | "counterValue" | "prefix" | "persistentPlaceholder" | "persistentCounter" | "suffix" | "modelModifiers" | "v-slot:append-inner" | "v-slot:clear" | "v-slot:counter" | "v-slot:loader" | "v-slot:prepend-inner" | "onClick:control" | "onMousedown:control">, `$${any}`> & { + }> & import("vue").ComponentCustomProperties, "flat" | "name" | "color" | "type" | "variant" | "disabled" | "loading" | "reverse" | "error" | "label" | "style" | "class" | keyof import("vue").VNodeProps | "modelValue" | "placeholder" | "onUpdate:modelValue" | "centerAffix" | "density" | "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" | "rounded" | "tile" | "appendInnerIcon" | "bgColor" | "clearable" | "clearIcon" | "active" | "dirty" | "persistentClear" | "prependInnerIcon" | "singleLine" | "onClick:clear" | "onClick:appendInner" | "onClick:prependInner" | "autocomplete" | "autofocus" | "counter" | "counterValue" | "prefix" | "persistentPlaceholder" | "persistentCounter" | "suffix" | "modelModifiers" | "v-slot:append-inner" | "v-slot:clear" | "v-slot:counter" | "v-slot:label" | "v-slot:loader" | "v-slot:prepend-inner" | "onClick:control" | "onMousedown:control" | "role">, `$${any}`> & { _allExposed: { isFocused: import("vue").ShallowRef; menu: import("vue").WritableComputedRef; @@ -10185,6 +10224,7 @@ export declare const registryTabelaCelulas: { "onClick:prependInner"?: ((args_0: MouseEvent) => void) | undefined; id?: string | undefined; details: boolean; + labelId?: string | undefined; } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "active" | "centerAffix" | "clearIcon" | "clearable" | "details" | "dirty" | "disabled" | "error" | "flat" | "focused" | "glow" | "persistentClear" | "reverse" | "rounded" | "singleLine" | "style" | "tile" | "variant">; $attrs: { [x: string]: unknown; @@ -10257,6 +10297,7 @@ export declare const registryTabelaCelulas: { "onClick:appendInner"?: ((args_0: MouseEvent) => void) | undefined; "onClick:prependInner"?: ((args_0: MouseEvent) => void) | undefined; id?: string | undefined; + labelId?: string | undefined; } & { "onUpdate:focused"?: ((focused: boolean) => any) | undefined; }, { @@ -10382,6 +10423,7 @@ export declare const registryTabelaCelulas: { "onClick:appendInner"?: ((args_0: MouseEvent) => void) | undefined; "onClick:prependInner"?: ((args_0: MouseEvent) => void) | undefined; id?: string | undefined; + labelId?: string | undefined; } & { "onUpdate:focused"?: ((focused: boolean) => any) | undefined; }, "controlRef" | "fieldIconColor" | ("active" | "centerAffix" | "clearIcon" | "clearable" | "details" | "dirty" | "disabled" | "error" | "flat" | "focused" | "glow" | "persistentClear" | "reverse" | "rounded" | "singleLine" | "style" | "tile" | "variant")> & import("vue").ShallowUnwrapRef<{ @@ -10390,7 +10432,7 @@ export declare const registryTabelaCelulas: { }> & {} & import("vue").ComponentCustomProperties & {} & import("vuetify/lib/util/defineComponent.mjs").GenericProps<{ modelValue?: unknown; "onUpdate:modelValue"?: ((value: unknown) => void) | undefined; - }, import("vuetify/lib/components/VField/VField.mjs").VFieldSlots>, "$children" | "appendInnerIcon" | "baseColor" | "bgColor" | "class" | "color" | "iconColor" | "id" | "label" | "loading" | "modelValue" | "onClick:appendInner" | "onClick:clear" | "onClick:prependInner" | "onUpdate:focused" | "onUpdate:modelValue" | "prependInnerIcon" | "theme" | "v-slot:append-inner" | "v-slot:clear" | "v-slot:default" | "v-slot:label" | "v-slot:loader" | "v-slot:prepend-inner" | "v-slots" | ("active" | "centerAffix" | "clearIcon" | "clearable" | "details" | "dirty" | "disabled" | "error" | "flat" | "focused" | "glow" | "persistentClear" | "reverse" | "rounded" | "singleLine" | "style" | "tile" | "variant") | keyof import("vue").VNodeProps>, `$${any}`> & { + }, import("vuetify/lib/components/VField/VField.mjs").VFieldSlots>, "$children" | "appendInnerIcon" | "baseColor" | "bgColor" | "class" | "color" | "iconColor" | "id" | "label" | "labelId" | "loading" | "modelValue" | "onClick:appendInner" | "onClick:clear" | "onClick:prependInner" | "onUpdate:focused" | "onUpdate:modelValue" | "prependInnerIcon" | "theme" | "v-slot:append-inner" | "v-slot:clear" | "v-slot:default" | "v-slot:label" | "v-slot:loader" | "v-slot:prepend-inner" | "v-slots" | ("active" | "centerAffix" | "clearIcon" | "clearable" | "details" | "dirty" | "disabled" | "error" | "flat" | "focused" | "glow" | "persistentClear" | "reverse" | "rounded" | "singleLine" | "style" | "tile" | "variant") | keyof import("vue").VNodeProps>, `$${any}`> & { _allExposed: { reset: () => Promise; resetValidation: () => Promise; @@ -10406,7 +10448,7 @@ export declare const registryTabelaCelulas: { "update:focused": (focused: boolean) => true; "update:modelValue": (value: any) => true; "update:menu": (ue: boolean) => true; - }, "modelValue" | "$children" | "v-slots" | "v-slot:append" | "v-slot:label" | "v-slot:prepend" | "update:modelValue" | "v-slot:details" | "v-slot:message" | "v-slot:append-inner" | "v-slot:clear" | "v-slot:loader" | "v-slot:prepend-inner" | "multiple" | "itemProps" | "itemTitle" | "itemValue" | "items" | "returnObject" | "v-slot:append-item" | "v-slot:chip" | "v-slot:divider" | "v-slot:item" | "v-slot:no-data" | "v-slot:prepend-item" | "v-slot:selection" | "v-slot:subheader">, string, { + }, "modelValue" | "update:modelValue" | "$children" | "v-slot:append" | "v-slot:details" | "v-slot:message" | "v-slot:prepend" | "v-slots" | "v-slot:append-inner" | "v-slot:clear" | "v-slot:label" | "v-slot:loader" | "v-slot:prepend-inner" | "multiple" | "itemProps" | "itemTitle" | "itemValue" | "items" | "returnObject" | "v-slot:append-item" | "v-slot:chip" | "v-slot:divider" | "v-slot:item" | "v-slot:no-data" | "v-slot:prepend-item" | "v-slot:selection" | "v-slot:subheader">, string, { style: import("vue").StyleValue; focused: boolean; errorMessages: string | readonly string[] | null; @@ -10424,7 +10466,6 @@ export declare const registryTabelaCelulas: { hideSpinButtons: boolean; persistentHint: boolean; messages: string | readonly string[]; - direction: "horizontal" | "vertical"; itemChildren: import("vuetify/lib/util/helpers.mjs").SelectItemKey; itemType: import("vuetify/lib/util/helpers.mjs").SelectItemKey; clearable: boolean; @@ -10668,11 +10709,6 @@ export declare const registryTabelaCelulas: { type: import("vue").PropType; default: () => never[]; }; - direction: { - type: import("vue").PropType<"horizontal" | "vertical">; - default: string; - validator: (v: any) => boolean; - }; "onClick:prepend": import("vue").PropType<(args_0: MouseEvent) => void>; "onClick:append": import("vue").PropType<(args_0: MouseEvent) => void>; items: { @@ -10703,7 +10739,8 @@ export declare const registryTabelaCelulas: { default: string; }; returnObject: BooleanConstructor; - valueComparator: import("vue").PropType; + valueComparator: import("vue").PropType; + appendInnerIcon: import("vue").PropType; bgColor: StringConstructor; clearable: BooleanConstructor; clearIcon: { @@ -10810,13 +10847,12 @@ export declare const registryTabelaCelulas: { width?: string | number | undefined; itemType: string | boolean | readonly (string | number)[] | ((item: Record, fallback?: any) => any) | null; returnObject: boolean; - valueComparator?: typeof import("vuetify/lib/util/deepEqual.mjs").deepEqual | undefined; + valueComparator?: import("vuetify/lib/util/deepEqual.mjs").ValueComparator | undefined; activatable: boolean; selectable: boolean; activeStrategy?: import("vuetify/lib/composables/nested/nested.mjs").ActiveStrategyProp | undefined; selectStrategy: import("vuetify/lib/composables/nested/nested.mjs").SelectStrategyProp; openStrategy: import("vuetify/lib/composables/nested/nested.mjs").OpenStrategyProp; - activated?: any; mandatory: boolean; itemsRegistration: import("vuetify/lib/composables/nested/nested.mjs").ItemsRegistrationType; baseColor?: string | undefined; @@ -10837,7 +10873,6 @@ export declare const registryTabelaCelulas: { value: boolean; path: unknown[]; }) => any) | undefined; - "onUpdate:activated"?: ((value: unknown) => any) | undefined; } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "activatable" | "density" | "disabled" | "filterable" | "itemType" | "itemsRegistration" | "lines" | "mandatory" | "nav" | "openStrategy" | "returnObject" | "rounded" | "selectStrategy" | "selectable" | "slim" | "style" | "tag" | "tile" | "variant"> & { items?: readonly any[] | undefined; itemTitle?: import("vuetify/lib/util/helpers.mjs").SelectItemKey; @@ -10845,7 +10880,11 @@ export declare const registryTabelaCelulas: { itemChildren?: import("vuetify/lib/util/helpers.mjs").SelectItemKey; itemProps?: import("vuetify/lib/util/helpers.mjs").SelectItemKey; selected?: unknown; + activated?: unknown; + opened?: unknown; "onUpdate:selected"?: ((value: unknown) => void) | undefined; + "onUpdate:activated"?: ((value: unknown) => void) | undefined; + "onUpdate:opened"?: ((value: unknown) => void) | undefined; "onClick:open"?: ((value: { id: unknown; value: boolean; @@ -10856,8 +10895,6 @@ export declare const registryTabelaCelulas: { value: boolean; path: unknown[]; }) => void) | undefined; - opened?: unknown; - "onUpdate:opened"?: ((value: unknown) => void) | undefined; } & { $children?: { prepend?: ((arg: import("vuetify/lib/components/VList/VListItem.mjs").ListItemSlot & { @@ -11316,11 +11353,6 @@ export declare const registryTabelaCelulas: { type: import("vue").PropType; default: () => never[]; }; - direction: { - type: import("vue").PropType<"horizontal" | "vertical">; - default: string; - validator: (v: any) => boolean; - }; "onClick:prepend": import("vue").PropType<(args_0: MouseEvent) => void>; "onClick:append": import("vue").PropType<(args_0: MouseEvent) => void>; items: { @@ -11351,7 +11383,8 @@ export declare const registryTabelaCelulas: { default: string; }; returnObject: BooleanConstructor; - valueComparator: import("vue").PropType; + valueComparator: import("vue").PropType; + appendInnerIcon: import("vue").PropType; bgColor: StringConstructor; clearable: BooleanConstructor; clearIcon: { @@ -11458,13 +11491,12 @@ export declare const registryTabelaCelulas: { width?: string | number | undefined; itemType: string | boolean | readonly (string | number)[] | ((item: Record, fallback?: any) => any) | null; returnObject: boolean; - valueComparator?: typeof import("vuetify/lib/util/deepEqual.mjs").deepEqual | undefined; + valueComparator?: import("vuetify/lib/util/deepEqual.mjs").ValueComparator | undefined; activatable: boolean; selectable: boolean; activeStrategy?: import("vuetify/lib/composables/nested/nested.mjs").ActiveStrategyProp | undefined; selectStrategy: import("vuetify/lib/composables/nested/nested.mjs").SelectStrategyProp; openStrategy: import("vuetify/lib/composables/nested/nested.mjs").OpenStrategyProp; - activated?: any; mandatory: boolean; itemsRegistration: import("vuetify/lib/composables/nested/nested.mjs").ItemsRegistrationType; baseColor?: string | undefined; @@ -11485,7 +11517,6 @@ export declare const registryTabelaCelulas: { value: boolean; path: unknown[]; }) => any) | undefined; - "onUpdate:activated"?: ((value: unknown) => any) | undefined; } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "activatable" | "density" | "disabled" | "filterable" | "itemType" | "itemsRegistration" | "lines" | "mandatory" | "nav" | "openStrategy" | "returnObject" | "rounded" | "selectStrategy" | "selectable" | "slim" | "style" | "tag" | "tile" | "variant"> & { items?: readonly any[] | undefined; itemTitle?: import("vuetify/lib/util/helpers.mjs").SelectItemKey; @@ -11493,7 +11524,11 @@ export declare const registryTabelaCelulas: { itemChildren?: import("vuetify/lib/util/helpers.mjs").SelectItemKey; itemProps?: import("vuetify/lib/util/helpers.mjs").SelectItemKey; selected?: unknown; + activated?: unknown; + opened?: unknown; "onUpdate:selected"?: ((value: unknown) => void) | undefined; + "onUpdate:activated"?: ((value: unknown) => void) | undefined; + "onUpdate:opened"?: ((value: unknown) => void) | undefined; "onClick:open"?: ((value: { id: unknown; value: boolean; @@ -11504,8 +11539,6 @@ export declare const registryTabelaCelulas: { value: boolean; path: unknown[]; }) => void) | undefined; - opened?: unknown; - "onUpdate:opened"?: ((value: unknown) => void) | undefined; } & { $children?: { prepend?: ((arg: import("vuetify/lib/components/VList/VListItem.mjs").ListItemSlot & { diff --git a/dist/types/componentes/EliEntrada/tiposEntradas.d.ts b/dist/types/componentes/EliEntrada/tiposEntradas.d.ts index f37894d..21902dc 100644 --- a/dist/types/componentes/EliEntrada/tiposEntradas.d.ts +++ b/dist/types/componentes/EliEntrada/tiposEntradas.d.ts @@ -137,7 +137,10 @@ export type PadroesEntradas = { * Ex.: "texto" | "numero" */ export type TipoEntrada = keyof PadroesEntradas; -export type PadraoComponenteEntrada = readonly [T, PadroesEntradas[T]['opcoes']]; +export type PadraoComponenteEntrada = readonly [ + T, + PadroesEntradas[T]["opcoes"] +]; export type ComponenteEntrada = { [K in TipoEntrada]: PadraoComponenteEntrada; }[TipoEntrada]; diff --git a/dist/types/componentes/EliTabela/EliTabela.vue.d.ts b/dist/types/componentes/EliTabela/EliTabela.vue.d.ts index 680155a..12d2f56 100644 --- a/dist/types/componentes/EliTabela/EliTabela.vue.d.ts +++ b/dist/types/componentes/EliTabela/EliTabela.vue.d.ts @@ -1,13 +1,10 @@ -/** - * EliTabela - * Componente de tabela consultável com busca, paginação, ordenação e ações por linha. - */ /** Dependências do Vue (Composition API) */ -import { PropType } from "vue"; -import type { tipoEliColuna } from "./types-eli-tabela"; -/** Tipos da configuração/contrato da tabela */ -import type { tipoEliTabelaConsulta } from "./types-eli-tabela"; +import { type PropType } from "vue"; import { type EliTabelaColunasConfig } from "./colunasStorage"; +/** Tipos da configuração/contrato da tabela */ +import type { parametrosConsulta, tipoEliColuna, tipoEliTabelaConsulta } from "./types-eli-tabela"; +declare const _default: typeof __VLS_export; +export default _default; declare const __VLS_export: import("vue").DefineComponent" | ">=" | "<" | "<=" | "like" | "isNull"; + operador: "=" | "!=" | ">" | ">=" | "<" | "<=" | "like" | "in" | "isNull"; ou?: boolean | undefined; }[]>; quantidadeFiltrada: import("vue").ComputedRef; @@ -38,15 +35,27 @@ declare const __VLS_export: import("vue").DefineComponent; exibirBusca: import("vue").ComputedRef; exibirFiltroAvancado: import("vue").ComputedRef; - acoesCabecalho: import("vue").ComputedRef<{ + acoesSuperiores: import("vue").ComputedRef<{ + posicao: "superior" | "inferior"; icone?: import("lucide-vue-next").LucideIcon; cor?: string; rotulo: string; - acao: () => void; + acao: (parametrosConsulta?: parametrosConsulta | undefined) => void; atualizarConsulta?: () => Promise; editarLista?: ((lista: any[]) => Promise) | undefined; }[]>; - temAcoesCabecalho: import("vue").ComputedRef; + temAcoesSuperiores: import("vue").ComputedRef; + acoesInferiores: import("vue").ComputedRef<{ + posicao: "superior" | "inferior"; + icone?: import("lucide-vue-next").LucideIcon; + cor?: string; + rotulo: string; + acao: (parametrosConsulta?: parametrosConsulta | undefined) => void; + atualizarConsulta?: () => Promise; + editarLista?: ((lista: any[]) => Promise) | undefined; + }[]>; + temAcoesInferiores: import("vue").ComputedRef; + parametrosConsultaAtuais: import("vue").ComputedRef>; temAcoes: import("vue").ComputedRef; totalColunas: import("vue").ComputedRef; colunasEfetivas: import("vue").ComputedRef; @@ -140,6 +149,10 @@ declare const __VLS_export: import("vue").DefineComponent; + required: false; + }; acoesCabecalho: { type: PropType void; + acao: (params + /** + * EliTabela + * 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 */ + ?: any) => void; }>>; required: true; }; @@ -189,6 +208,10 @@ declare const __VLS_export: import("vue").DefineComponent; + required: false; + }; acoesCabecalho: { type: PropType void; + acao: (params + /** + * EliTabela + * 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 */ + ?: any) => void; }>>; required: true; }; }>> & Readonly<{ - onBuscar?: ((valor: string) => any) | undefined; onColunas?: (() => any) | undefined; + onBuscar?: ((valor: string) => any) | undefined; onFiltroAvancado?: (() => any) | undefined; }>, { exibirBotaoColunas: boolean; @@ -474,21 +503,21 @@ declare const __VLS_export: import("vue").DefineComponent void; }[]; } | { @@ -547,21 +576,21 @@ declare const __VLS_export: import("vue").DefineComponent void; }[]; } | { @@ -658,6 +687,38 @@ declare const __VLS_export: import("vue").DefineComponent void; + }>>; + required: false; + default: () => never[]; + }; + parametrosConsulta: { + type: PropType; + required: false; + }; }>, { botoes: import("vue").ComputedRef<{ label: string; @@ -685,9 +746,54 @@ declare const __VLS_export: import("vue").DefineComponent void; + }>>; + required: false; + default: () => never[]; + }; + parametrosConsulta: { + type: PropType; + required: false; + }; }>> & Readonly<{ onAlterar?: ((pagina: number) => any) | undefined; - }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; + }>, { + acoes: { + icone?: any; + cor?: string; + rotulo: string; + acao: (params + /** + * EliTabela + * 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 */ + ?: any) => void; + }[]; + }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; EliTabelaModalColunas: import("vue").DefineComponent>; required: true; }; @@ -773,8 +879,8 @@ declare const __VLS_export: import("vue").DefineComponent; colunaParaAdicionar: import("vue").Ref; - componenteEntrada: (entrada: import("../EliEntrada/tiposEntradas.js").ComponenteEntrada) => import("vue").DefineComponent; - default: undefined; - }; - opcoes: { - type: PropType<{ - rotulo: string; - placeholder?: string; - } & { - limiteCaracteres?: number; - formato?: "texto" | "email" | "url" | "telefone" | "cpfCnpj" | "cep"; - }>; - required: true; - }; - }>, { - attrs: { - [x: string]: unknown; - }; - emit: ((event: "update:value", _v: string | null | undefined) => void) & ((event: "input", _v: string | null | undefined) => void) & ((event: "change", _v: string | null | undefined) => void) & ((event: "focus") => void) & ((event: "blur") => void); - localValue: import("vue").WritableComputedRef; - inputHtmlType: import("vue").ComputedRef<"text" | "email" | "url">; - inputMode: import("vue").ComputedRef; - onInput: (e: Event) => void; - }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { - "update:value": (_v: string | null | undefined) => true; - input: (_v: string | null | undefined) => true; - change: (_v: string | null | undefined) => true; - focus: () => true; - blur: () => true; - }, string, import("vue").PublicProps, Readonly; - default: undefined; - }; - opcoes: { - type: PropType<{ - rotulo: string; - placeholder?: string; - } & { - limiteCaracteres?: number; - formato?: "texto" | "email" | "url" | "telefone" | "cpfCnpj" | "cep"; - }>; - required: true; - }; - }>> & Readonly<{ - "onUpdate:value"?: ((_v: string | null | undefined) => any) | undefined; - onInput?: ((_v: string | null | undefined) => any) | undefined; - onChange?: ((_v: string | null | undefined) => any) | undefined; - onFocus?: (() => any) | undefined; - onBlur?: (() => any) | undefined; - }>, { - value: string | null | undefined; - }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any> | import("vue").DefineComponent; - default: undefined; - }; - opcoes: { - type: PropType<{ - rotulo: string; - placeholder?: string; - } & { - sufixo?: string; - prefixo?: string; - precisao?: number; - }>; - required: true; - }; - }>, { - attrs: { - [x: string]: unknown; - }; - emit: ((event: "update:value", _v: number | null | undefined) => void) & ((event: "input", _v: number | null | undefined) => void) & ((event: "change", _v: number | null | undefined) => void) & ((event: "focus") => void) & ((event: "blur") => void); - displayValue: import("vue").Ref; - isInteiro: import("vue").ComputedRef; - onUpdateModelValue: (texto: string) => void; - }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { - "update:value": (_v: number | null | undefined) => true; - input: (_v: number | null | undefined) => true; - change: (_v: number | null | undefined) => true; - focus: () => true; - blur: () => true; - }, string, import("vue").PublicProps, Readonly; - default: undefined; - }; - opcoes: { - type: PropType<{ - rotulo: string; - placeholder?: string; - } & { - sufixo?: string; - prefixo?: string; - precisao?: number; - }>; - required: true; - }; - }>> & Readonly<{ - "onUpdate:value"?: ((_v: number | null | undefined) => any) | undefined; - onInput?: ((_v: number | null | undefined) => any) | undefined; - onChange?: ((_v: number | null | undefined) => any) | undefined; - onFocus?: (() => any) | undefined; - onBlur?: (() => any) | undefined; - }>, { - value: number | null | undefined; - }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any> | import("vue").DefineComponent import("vue").DefineComponent; default: undefined; @@ -1008,8 +1007,8 @@ declare const __VLS_export: import("vue").DefineComponent; required: false; default: undefined; @@ -1055,11 +1054,11 @@ declare const __VLS_export: import("vue").DefineComponent; + type: PropType; default: undefined; }; variante: { - type: PropType; + type: PropType; default: undefined; }; min: { @@ -1090,8 +1089,8 @@ declare const __VLS_export: import("vue").DefineComponent; desabilitadoEfetivo: import("vue").ComputedRef; emitCompatFocus: () => void; @@ -1124,8 +1123,8 @@ declare const __VLS_export: import("vue").DefineComponent; required: false; default: undefined; @@ -1171,11 +1170,11 @@ declare const __VLS_export: import("vue").DefineComponent; + type: PropType; default: undefined; }; variante: { - type: PropType; + type: PropType; default: undefined; }; min: { @@ -1187,15 +1186,15 @@ declare const __VLS_export: import("vue").DefineComponent> & Readonly<{ - "onUpdate:value"?: ((_v: string | null) => any) | undefined; onInput?: ((_v: string | null) => any) | undefined; + "onUpdate:value"?: ((_v: string | null) => any) | undefined; onChange?: ((_v: string | null) => any) | undefined; - onFocus?: (() => any) | undefined; - onBlur?: (() => any) | undefined; "onUpdate:modelValue"?: ((_v: string | null) => any) | undefined; onAlterar?: ((_v: string | null) => any) | undefined; onFoco?: (() => any) | undefined; onDesfoco?: (() => any) | undefined; + onFocus?: (() => any) | undefined; + onBlur?: (() => any) | undefined; }>, { modo: "data" | "dataHora" | undefined; limpavel: boolean; @@ -1205,8 +1204,8 @@ declare const __VLS_export: import("vue").DefineComponent | import("vue").DefineComponent; + default: undefined; + }; + opcoes: { + type: PropType<{ + rotulo: string; + placeholder?: string; + } & { + sufixo?: string; + prefixo?: string; + precisao?: number; + }>; + required: true; + }; + }>, { + attrs: { + [x: string]: unknown; + }; + 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; + isInteiro: import("vue").ComputedRef; + onUpdateModelValue: (texto: string) => void; + }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { + "update:value": (_v: number | null | undefined) => true; + input: (_v: number | null | undefined) => true; + change: (_v: number | null | undefined) => true; + focus: () => true; + blur: () => true; + }, string, import("vue").PublicProps, Readonly; + default: undefined; + }; + opcoes: { + type: PropType<{ + rotulo: string; + placeholder?: string; + } & { + sufixo?: string; + prefixo?: string; + precisao?: number; + }>; + required: true; + }; + }>> & Readonly<{ + onInput?: ((_v: number | null | undefined) => any) | undefined; + "onUpdate:value"?: ((_v: number | null | undefined) => any) | undefined; + onChange?: ((_v: number | null | undefined) => any) | undefined; + onFocus?: (() => any) | undefined; + onBlur?: (() => any) | undefined; + }>, { + value: number | null | undefined; + }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any> | import("vue").DefineComponent; + default: undefined; + }; + opcoes: { + type: PropType<{ + rotulo: string; + placeholder?: string; + } & { + limiteCaracteres?: number; + formato?: "texto" | "email" | "url" | "telefone" | "cpfCnpj" | "cep"; + }>; + required: true; + }; + }>, { + attrs: { + [x: string]: unknown; + }; + 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; + inputHtmlType: import("vue").ComputedRef<"text" | "email" | "url">; + inputMode: import("vue").ComputedRef; + onInput: (e: Event) => void; + }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { + "update:value": (_v: string | null | undefined) => true; + input: (_v: string | null | undefined) => true; + change: (_v: string | null | undefined) => true; + focus: () => true; + blur: () => true; + }, string, import("vue").PublicProps, Readonly; + default: undefined; + }; + opcoes: { + type: PropType<{ + rotulo: string; + placeholder?: string; + } & { + limiteCaracteres?: number; + formato?: "texto" | "email" | "url" | "telefone" | "cpfCnpj" | "cep"; + }>; + required: true; + }; + }>> & Readonly<{ + onInput?: ((_v: string | null | undefined) => any) | undefined; + "onUpdate:value"?: ((_v: string | null | undefined) => any) | undefined; + onChange?: ((_v: string | null | undefined) => any) | undefined; + onFocus?: (() => any) | undefined; + onBlur?: (() => any) | undefined; + }>, { + value: string | null | undefined; }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; - opcoesEntrada: (entrada: import("../EliEntrada/tiposEntradas.js").ComponenteEntrada) => any; + opcoesEntrada: (entrada: import("../EliEntrada/tiposEntradas").ComponenteEntrada) => any; adicionar: () => void; remover: (idx: number) => void; emitFechar: () => void; @@ -1237,7 +1343,7 @@ declare const __VLS_export: import("vue").DefineComponent string; }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { fechar: () => true; @@ -1252,7 +1358,7 @@ declare const __VLS_export: import("vue").DefineComponent>; required: true; }; @@ -1266,5 +1372,3 @@ declare const __VLS_export: import("vue").DefineComponent any) | undefined; }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -declare const _default: typeof __VLS_export; -export default _default; diff --git a/dist/types/componentes/EliTabela/EliTabelaBody.vue.d.ts b/dist/types/componentes/EliTabela/EliTabelaBody.vue.d.ts index a5bb4d9..3d49ee5 100644 --- a/dist/types/componentes/EliTabela/EliTabelaBody.vue.d.ts +++ b/dist/types/componentes/EliTabela/EliTabelaBody.vue.d.ts @@ -1,5 +1,7 @@ -import { PropType } from "vue"; +import { type PropType } from "vue"; import type { tipoEliColuna } from "./types-eli-tabela"; +declare const _default: typeof __VLS_export; +export default _default; declare const __VLS_export: import("vue").DefineComponent>>; @@ -182,5 +184,3 @@ declare const __VLS_export: import("vue").DefineComponent; ChevronDown: import("vue").FunctionalComponent; }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -declare const _default: typeof __VLS_export; -export default _default; diff --git a/dist/types/componentes/EliTabela/EliTabelaCabecalho.vue.d.ts b/dist/types/componentes/EliTabela/EliTabelaCabecalho.vue.d.ts index c81b314..89c02e6 100644 --- a/dist/types/componentes/EliTabela/EliTabelaCabecalho.vue.d.ts +++ b/dist/types/componentes/EliTabela/EliTabelaCabecalho.vue.d.ts @@ -1,4 +1,6 @@ -import { PropType } from "vue"; +import { type PropType } from "vue"; +declare const _default: typeof __VLS_export; +export default _default; declare const __VLS_export: import("vue").DefineComponent; + required: false; + }; acoesCabecalho: { type: PropType void; + acao: (params?: any) => void; }>>; required: true; }; @@ -55,18 +61,22 @@ declare const __VLS_export: import("vue").DefineComponent; + required: false; + }; acoesCabecalho: { type: PropType void; + acao: (params?: any) => void; }>>; required: true; }; }>> & Readonly<{ - onBuscar?: ((valor: string) => any) | undefined; onColunas?: (() => any) | undefined; + onBuscar?: ((valor: string) => any) | undefined; onFiltroAvancado?: (() => any) | undefined; }>, { exibirBotaoColunas: boolean; @@ -97,5 +107,3 @@ declare const __VLS_export: import("vue").DefineComponent; }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -declare const _default: typeof __VLS_export; -export default _default; diff --git a/dist/types/componentes/EliTabela/EliTabelaCaixaDeBusca.vue.d.ts b/dist/types/componentes/EliTabela/EliTabelaCaixaDeBusca.vue.d.ts index 34e642e..0e78666 100644 --- a/dist/types/componentes/EliTabela/EliTabelaCaixaDeBusca.vue.d.ts +++ b/dist/types/componentes/EliTabela/EliTabelaCaixaDeBusca.vue.d.ts @@ -1,3 +1,5 @@ +declare const _default: typeof __VLS_export; +export default _default; declare const __VLS_export: import("vue").DefineComponent; }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -declare const _default: typeof __VLS_export; -export default _default; diff --git a/dist/types/componentes/EliTabela/EliTabelaDebug.vue.d.ts b/dist/types/componentes/EliTabela/EliTabelaDebug.vue.d.ts index 4406443..7d386c8 100644 --- a/dist/types/componentes/EliTabela/EliTabelaDebug.vue.d.ts +++ b/dist/types/componentes/EliTabela/EliTabelaDebug.vue.d.ts @@ -1,4 +1,6 @@ -import { PropType } from "vue"; +import { type PropType } from "vue"; +declare const _default: typeof __VLS_export; +export default _default; declare const __VLS_export: import("vue").DefineComponent> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -declare const _default: typeof __VLS_export; -export default _default; diff --git a/dist/types/componentes/EliTabela/EliTabelaDetalhesLinha.vue.d.ts b/dist/types/componentes/EliTabela/EliTabelaDetalhesLinha.vue.d.ts index f37719b..55505c0 100644 --- a/dist/types/componentes/EliTabela/EliTabelaDetalhesLinha.vue.d.ts +++ b/dist/types/componentes/EliTabela/EliTabelaDetalhesLinha.vue.d.ts @@ -1,5 +1,7 @@ -import { PropType } from "vue"; +import { type PropType } from "vue"; import type { tipoEliColuna } from "./types-eli-tabela"; +declare const _default: typeof __VLS_export; +export default _default; declare const __VLS_export: import("vue").DefineComponent; @@ -56,5 +58,3 @@ declare const __VLS_export: import("vue").DefineComponent> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -declare const _default: typeof __VLS_export; -export default _default; diff --git a/dist/types/componentes/EliTabela/EliTabelaEstados.vue.d.ts b/dist/types/componentes/EliTabela/EliTabelaEstados.vue.d.ts index 562600e..bb82886 100644 --- a/dist/types/componentes/EliTabela/EliTabelaEstados.vue.d.ts +++ b/dist/types/componentes/EliTabela/EliTabelaEstados.vue.d.ts @@ -1,4 +1,6 @@ -import { PropType } from "vue"; +import { type PropType } from "vue"; +declare const _default: typeof __VLS_export; +export default _default; declare const __VLS_export: import("vue").DefineComponent> & Readonly<{}>, { mensagemVazio: string | undefined; }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -declare const _default: typeof __VLS_export; -export default _default; diff --git a/dist/types/componentes/EliTabela/EliTabelaHead.vue.d.ts b/dist/types/componentes/EliTabela/EliTabelaHead.vue.d.ts index 7b8ff35..916ef3e 100644 --- a/dist/types/componentes/EliTabela/EliTabelaHead.vue.d.ts +++ b/dist/types/componentes/EliTabela/EliTabelaHead.vue.d.ts @@ -1,5 +1,7 @@ -import { PropType } from "vue"; +import { type PropType } from "vue"; import type { tipoEliColuna } from "./types-eli-tabela"; +declare const _default: typeof __VLS_export; +export default _default; declare const __VLS_export: import("vue").DefineComponent>>; @@ -55,5 +57,3 @@ declare const __VLS_export: import("vue").DefineComponent; ArrowDown: import("vue").FunctionalComponent; }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -declare const _default: typeof __VLS_export; -export default _default; diff --git a/dist/types/componentes/EliTabela/EliTabelaMenuAcoes.vue.d.ts b/dist/types/componentes/EliTabela/EliTabelaMenuAcoes.vue.d.ts index 9568f1f..c9b3985 100644 --- a/dist/types/componentes/EliTabela/EliTabelaMenuAcoes.vue.d.ts +++ b/dist/types/componentes/EliTabela/EliTabelaMenuAcoes.vue.d.ts @@ -1,10 +1,12 @@ -import { PropType } from "vue"; +import { type PropType } from "vue"; import type { tipoEliTabelaAcao } from "./types-eli-tabela"; type ItemAcao = { acao: tipoEliTabelaAcao; indice: number; visivel: boolean; }; +declare const _default: typeof __VLS_export; +export default _default; declare const __VLS_export: import("vue").DefineComponent; @@ -62,5 +64,3 @@ declare const __VLS_export: import("vue").DefineComponent any) | undefined; }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -declare const _default: typeof __VLS_export; -export default _default; diff --git a/dist/types/componentes/EliTabela/EliTabelaModalColunas.vue.d.ts b/dist/types/componentes/EliTabela/EliTabelaModalColunas.vue.d.ts index e107761..688251e 100644 --- a/dist/types/componentes/EliTabela/EliTabelaModalColunas.vue.d.ts +++ b/dist/types/componentes/EliTabela/EliTabelaModalColunas.vue.d.ts @@ -1,7 +1,9 @@ -import { PropType } from "vue"; +import { type PropType } from "vue"; import type { EliTabelaColunasConfig } from "./colunasStorage"; import type { tipoEliColuna } from "./types-eli-tabela"; type OrigemLista = "visiveis" | "invisiveis"; +declare const _default: typeof __VLS_export; +export default _default; declare const __VLS_export: import("vue").DefineComponent any) | undefined; onSalvar?: ((_config: EliTabelaColunasConfig) => any) | undefined; }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -declare const _default: typeof __VLS_export; -export default _default; diff --git a/dist/types/componentes/EliTabela/EliTabelaModalFiltroAvancado.vue.d.ts b/dist/types/componentes/EliTabela/EliTabelaModalFiltroAvancado.vue.d.ts index cebfe57..e52bda9 100644 --- a/dist/types/componentes/EliTabela/EliTabelaModalFiltroAvancado.vue.d.ts +++ b/dist/types/componentes/EliTabela/EliTabelaModalFiltroAvancado.vue.d.ts @@ -1,4 +1,4 @@ -import { PropType } from "vue"; +import { type PropType } from "vue"; import type { ComponenteEntrada } from "../EliEntrada/tiposEntradas"; import type { tipoEliTabelaConsulta } from "./types-eli-tabela"; type FiltroBase = NonNullable["filtroAvancado"]>[number]; @@ -9,6 +9,8 @@ type LinhaFiltro = { valor: any; }; declare function rotuloDoFiltro(f: FiltroBase): string; +declare const _default: typeof __VLS_export; +export default _default; declare const __VLS_export: import("vue").DefineComponent; colunaParaAdicionar: import("vue").Ref; componenteEntrada: (entrada: ComponenteEntrada) => import("vue").DefineComponent; - default: undefined; - }; - opcoes: { - type: PropType<{ - rotulo: string; - placeholder?: string; - } & { - limiteCaracteres?: number; - formato?: "texto" | "email" | "url" | "telefone" | "cpfCnpj" | "cep"; - }>; - required: true; - }; - }>, { - attrs: { - [x: string]: unknown; - }; - emit: ((event: "update:value", _v: string | null | undefined) => void) & ((event: "input", _v: string | null | undefined) => void) & ((event: "change", _v: string | null | undefined) => void) & ((event: "focus") => void) & ((event: "blur") => void); - localValue: import("vue").WritableComputedRef; - inputHtmlType: import("vue").ComputedRef<"text" | "email" | "url">; - inputMode: import("vue").ComputedRef; - onInput: (e: Event) => void; - }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { - "update:value": (_v: string | null | undefined) => true; - input: (_v: string | null | undefined) => true; - change: (_v: string | null | undefined) => true; - focus: () => true; - blur: () => true; - }, string, import("vue").PublicProps, Readonly; - default: undefined; - }; - opcoes: { - type: PropType<{ - rotulo: string; - placeholder?: string; - } & { - limiteCaracteres?: number; - formato?: "texto" | "email" | "url" | "telefone" | "cpfCnpj" | "cep"; - }>; - required: true; - }; - }>> & Readonly<{ - "onUpdate:value"?: ((_v: string | null | undefined) => any) | undefined; - onInput?: ((_v: string | null | undefined) => any) | undefined; - onChange?: ((_v: string | null | undefined) => any) | undefined; - onFocus?: (() => any) | undefined; - onBlur?: (() => any) | undefined; - }>, { - value: string | null | undefined; - }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any> | import("vue").DefineComponent; - default: undefined; - }; - opcoes: { - type: PropType<{ - rotulo: string; - placeholder?: string; - } & { - sufixo?: string; - prefixo?: string; - precisao?: number; - }>; - required: true; - }; - }>, { - attrs: { - [x: string]: unknown; - }; - emit: ((event: "update:value", _v: number | null | undefined) => void) & ((event: "input", _v: number | null | undefined) => void) & ((event: "change", _v: number | null | undefined) => void) & ((event: "focus") => void) & ((event: "blur") => void); - displayValue: import("vue").Ref; - isInteiro: import("vue").ComputedRef; - onUpdateModelValue: (texto: string) => void; - }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { - "update:value": (_v: number | null | undefined) => true; - input: (_v: number | null | undefined) => true; - change: (_v: number | null | undefined) => true; - focus: () => true; - blur: () => true; - }, string, import("vue").PublicProps, Readonly; - default: undefined; - }; - opcoes: { - type: PropType<{ - rotulo: string; - placeholder?: string; - } & { - sufixo?: string; - prefixo?: string; - precisao?: number; - }>; - required: true; - }; - }>> & Readonly<{ - "onUpdate:value"?: ((_v: number | null | undefined) => any) | undefined; - onInput?: ((_v: number | null | undefined) => any) | undefined; - onChange?: ((_v: number | null | undefined) => any) | undefined; - onFocus?: (() => any) | undefined; - onBlur?: (() => any) | undefined; - }>, { - value: number | null | undefined; - }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any> | import("vue").DefineComponent; default: undefined; @@ -450,15 +345,15 @@ declare const __VLS_export: import("vue").DefineComponent> & Readonly<{ - "onUpdate:value"?: ((_v: string | null) => any) | undefined; onInput?: ((_v: string | null) => any) | undefined; + "onUpdate:value"?: ((_v: string | null) => any) | undefined; onChange?: ((_v: string | null) => any) | undefined; - onFocus?: (() => any) | undefined; - onBlur?: (() => any) | undefined; "onUpdate:modelValue"?: ((_v: string | null) => any) | undefined; onAlterar?: ((_v: string | null) => any) | undefined; onFoco?: (() => any) | undefined; onDesfoco?: (() => any) | undefined; + onFocus?: (() => any) | undefined; + onBlur?: (() => any) | undefined; }>, { modo: "data" | "dataHora" | undefined; limpavel: boolean; @@ -486,10 +381,117 @@ declare const __VLS_export: import("vue").DefineComponent | import("vue").DefineComponent; + default: undefined; + }; + opcoes: { + type: PropType<{ + rotulo: string; + placeholder?: string; + } & { + sufixo?: string; + prefixo?: string; + precisao?: number; + }>; + required: true; + }; + }>, { + attrs: { + [x: string]: unknown; + }; + 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; + isInteiro: import("vue").ComputedRef; + onUpdateModelValue: (texto: string) => void; + }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { + "update:value": (_v: number | null | undefined) => true; + input: (_v: number | null | undefined) => true; + change: (_v: number | null | undefined) => true; + focus: () => true; + blur: () => true; + }, string, import("vue").PublicProps, Readonly; + default: undefined; + }; + opcoes: { + type: PropType<{ + rotulo: string; + placeholder?: string; + } & { + sufixo?: string; + prefixo?: string; + precisao?: number; + }>; + required: true; + }; + }>> & Readonly<{ + onInput?: ((_v: number | null | undefined) => any) | undefined; + "onUpdate:value"?: ((_v: number | null | undefined) => any) | undefined; + onChange?: ((_v: number | null | undefined) => any) | undefined; + onFocus?: (() => any) | undefined; + onBlur?: (() => any) | undefined; + }>, { + value: number | null | undefined; + }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any> | import("vue").DefineComponent; + default: undefined; + }; + opcoes: { + type: PropType<{ + rotulo: string; + placeholder?: string; + } & { + limiteCaracteres?: number; + formato?: "texto" | "email" | "url" | "telefone" | "cpfCnpj" | "cep"; + }>; + required: true; + }; + }>, { + attrs: { + [x: string]: unknown; + }; + 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; + inputHtmlType: import("vue").ComputedRef<"text" | "email" | "url">; + inputMode: import("vue").ComputedRef; + onInput: (e: Event) => void; + }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { + "update:value": (_v: string | null | undefined) => true; + input: (_v: string | null | undefined) => true; + change: (_v: string | null | undefined) => true; + focus: () => true; + blur: () => true; + }, string, import("vue").PublicProps, Readonly; + default: undefined; + }; + opcoes: { + type: PropType<{ + rotulo: string; + placeholder?: string; + } & { + limiteCaracteres?: number; + formato?: "texto" | "email" | "url" | "telefone" | "cpfCnpj" | "cep"; + }>; + required: true; + }; + }>> & Readonly<{ + onInput?: ((_v: string | null | undefined) => any) | undefined; + "onUpdate:value"?: ((_v: string | null | undefined) => any) | undefined; + onChange?: ((_v: string | null | undefined) => any) | undefined; + onFocus?: (() => any) | undefined; + onBlur?: (() => any) | undefined; + }>, { + value: string | null | undefined; }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; opcoesEntrada: (entrada: ComponenteEntrada) => any; adicionar: () => void; @@ -520,5 +522,3 @@ declare const __VLS_export: import("vue").DefineComponent any) | undefined; onLimpar?: (() => any) | undefined; }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -declare const _default: typeof __VLS_export; -export default _default; diff --git a/dist/types/componentes/EliTabela/EliTabelaPaginacao.vue.d.ts b/dist/types/componentes/EliTabela/EliTabelaPaginacao.vue.d.ts index 89ff3db..4db9a79 100644 --- a/dist/types/componentes/EliTabela/EliTabelaPaginacao.vue.d.ts +++ b/dist/types/componentes/EliTabela/EliTabelaPaginacao.vue.d.ts @@ -1,3 +1,6 @@ +import { type PropType } from "vue"; +declare const _default: typeof __VLS_export; +export default _default; declare const __VLS_export: import("vue").DefineComponent void; + }>>; + required: false; + default: () => never[]; + }; + parametrosConsulta: { + type: PropType; + required: false; + }; }>, { botoes: import("vue").ComputedRef<{ label: string; @@ -38,8 +55,27 @@ declare const __VLS_export: import("vue").DefineComponent void; + }>>; + required: false; + default: () => never[]; + }; + parametrosConsulta: { + type: PropType; + required: false; + }; }>> & Readonly<{ onAlterar?: ((pagina: number) => any) | undefined; -}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -declare const _default: typeof __VLS_export; -export default _default; +}>, { + acoes: { + icone?: any; + cor?: string; + rotulo: string; + acao: (params?: any) => void; + }[]; +}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; diff --git a/dist/types/componentes/EliTabela/celulas/EliTabelaCelula.vue.d.ts b/dist/types/componentes/EliTabela/celulas/EliTabelaCelula.vue.d.ts index bdf2fae..1c6681b 100644 --- a/dist/types/componentes/EliTabela/celulas/EliTabelaCelula.vue.d.ts +++ b/dist/types/componentes/EliTabela/celulas/EliTabelaCelula.vue.d.ts @@ -1,6 +1,8 @@ import type { Component } from "vue"; -import { PropType } from "vue"; +import { type PropType } from "vue"; import type { tipoComponenteCelula } from "../types-eli-tabela"; +declare const _default: typeof __VLS_export; +export default _default; declare const __VLS_export: import("vue").DefineComponent; @@ -37,5 +39,3 @@ declare const __VLS_export: import("vue").DefineComponent> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -declare const _default: typeof __VLS_export; -export default _default; diff --git a/dist/types/componentes/EliTabela/celulas/EliTabelaCelulaData.vue.d.ts b/dist/types/componentes/EliTabela/celulas/EliTabelaCelulaData.vue.d.ts index d3ba9b5..619d08d 100644 --- a/dist/types/componentes/EliTabela/celulas/EliTabelaCelulaData.vue.d.ts +++ b/dist/types/componentes/EliTabela/celulas/EliTabelaCelulaData.vue.d.ts @@ -1,5 +1,7 @@ -import { PropType } from "vue"; +import { type PropType } from "vue"; import type { tiposTabelaCelulas } from "./tiposTabelaCelulas"; +declare const _default: typeof __VLS_export; +export default _default; declare const __VLS_export: import("vue").DefineComponent; @@ -18,5 +20,3 @@ declare const __VLS_export: import("vue").DefineComponent> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -declare const _default: typeof __VLS_export; -export default _default; diff --git a/dist/types/componentes/EliTabela/celulas/EliTabelaCelulaNumero.vue.d.ts b/dist/types/componentes/EliTabela/celulas/EliTabelaCelulaNumero.vue.d.ts index c1dc665..dbd0368 100644 --- a/dist/types/componentes/EliTabela/celulas/EliTabelaCelulaNumero.vue.d.ts +++ b/dist/types/componentes/EliTabela/celulas/EliTabelaCelulaNumero.vue.d.ts @@ -1,5 +1,7 @@ -import { PropType } from "vue"; +import { type PropType } from "vue"; import type { tiposTabelaCelulas } from "./tiposTabelaCelulas"; +declare const _default: typeof __VLS_export; +export default _default; declare const __VLS_export: import("vue").DefineComponent; @@ -17,5 +19,3 @@ declare const __VLS_export: import("vue").DefineComponent; }; }>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -declare const _default: typeof __VLS_export; -export default _default; diff --git a/dist/types/componentes/EliTabela/celulas/EliTabelaCelulaTags.vue.d.ts b/dist/types/componentes/EliTabela/celulas/EliTabelaCelulaTags.vue.d.ts index 4d4848d..be35b4a 100644 --- a/dist/types/componentes/EliTabela/celulas/EliTabelaCelulaTags.vue.d.ts +++ b/dist/types/componentes/EliTabela/celulas/EliTabelaCelulaTags.vue.d.ts @@ -1,5 +1,7 @@ -import { PropType } from "vue"; +import { type PropType } from "vue"; import type { tiposTabelaCelulas } from "./tiposTabelaCelulas"; +declare const _default: typeof __VLS_export; +export default _default; declare const __VLS_export: import("vue").DefineComponent; @@ -679,5 +681,3 @@ declare const __VLS_export: import("vue").DefineComponent void>; }>>; }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -declare const _default: typeof __VLS_export; -export default _default; diff --git a/dist/types/componentes/EliTabela/celulas/EliTabelaCelulaTextoSimples.vue.d.ts b/dist/types/componentes/EliTabela/celulas/EliTabelaCelulaTextoSimples.vue.d.ts index 0dbe691..1c25a06 100644 --- a/dist/types/componentes/EliTabela/celulas/EliTabelaCelulaTextoSimples.vue.d.ts +++ b/dist/types/componentes/EliTabela/celulas/EliTabelaCelulaTextoSimples.vue.d.ts @@ -1,5 +1,7 @@ -import { PropType } from "vue"; +import { type PropType } from "vue"; import type { tiposTabelaCelulas } from "./tiposTabelaCelulas"; +declare const _default: typeof __VLS_export; +export default _default; declare const __VLS_export: import("vue").DefineComponent; @@ -14,5 +16,3 @@ declare const __VLS_export: import("vue").DefineComponent; }; }>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -declare const _default: typeof __VLS_export; -export default _default; diff --git a/dist/types/componentes/EliTabela/celulas/EliTabelaCelulaTextoTruncado.vue.d.ts b/dist/types/componentes/EliTabela/celulas/EliTabelaCelulaTextoTruncado.vue.d.ts index 3f23ab3..d3def76 100644 --- a/dist/types/componentes/EliTabela/celulas/EliTabelaCelulaTextoTruncado.vue.d.ts +++ b/dist/types/componentes/EliTabela/celulas/EliTabelaCelulaTextoTruncado.vue.d.ts @@ -1,5 +1,7 @@ -import { PropType } from "vue"; +import { type PropType } from "vue"; import type { tiposTabelaCelulas } from "./tiposTabelaCelulas"; +declare const _default: typeof __VLS_export; +export default _default; declare const __VLS_export: import("vue").DefineComponent; @@ -14,5 +16,3 @@ declare const __VLS_export: import("vue").DefineComponent; }; }>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -declare const _default: typeof __VLS_export; -export default _default; diff --git a/dist/types/componentes/EliTabela/index.d.ts b/dist/types/componentes/EliTabela/index.d.ts index 31f6545..f5c5654 100644 --- a/dist/types/componentes/EliTabela/index.d.ts +++ b/dist/types/componentes/EliTabela/index.d.ts @@ -1,4 +1,4 @@ +export * from "./celulas/tiposTabelaCelulas"; export { default as EliTabela } from "./EliTabela.vue"; export * from "./types-eli-tabela"; -export * from "./celulas/tiposTabelaCelulas"; export { celulaTabela } from "./types-eli-tabela"; diff --git a/dist/types/componentes/EliTabela/types-eli-tabela.d.ts b/dist/types/componentes/EliTabela/types-eli-tabela.d.ts index 0609258..a97ab0c 100644 --- a/dist/types/componentes/EliTabela/types-eli-tabela.d.ts +++ b/dist/types/componentes/EliTabela/types-eli-tabela.d.ts @@ -1,10 +1,13 @@ -import type { tipoResposta } from "p-respostas"; import type { LucideIcon } from "lucide-vue-next"; -import type { tipoTabelaCelula, tiposTabelaCelulas } from "./celulas/tiposTabelaCelulas"; -import { operadores, zFiltro } from "p-comuns"; -import { ComponenteEntrada } from "../EliEntrada/tiposEntradas"; +import type { operadores, zFiltro } from "p-comuns"; +import type { tipoResposta } from "p-respostas"; +import type { ComponenteEntrada } from "../EliEntrada/tiposEntradas"; +import type { tiposTabelaCelulas, tipoTabelaCelula } from "./celulas/tiposTabelaCelulas"; export type tipoFiltro = ReturnType<(typeof zFiltro)["parse"]>; -export type tipoComponenteCelulaBase = readonly [T, tiposTabelaCelulas[T]]; +export type tipoComponenteCelulaBase = readonly [ + T, + tiposTabelaCelulas[T] +]; export type tipoComponenteCelula = { [K in tipoTabelaCelula]: tipoComponenteCelulaBase; }[tipoTabelaCelula]; @@ -48,6 +51,15 @@ export type tipoEliTabelaAcao = { */ exibir?: boolean | ((linha: T) => Promise | boolean); }; +export type parametrosConsulta = { + filtros?: tipoFiltro[]; + coluna_ordem?: keyof T; + direcao_ordem?: "asc" | "desc"; + offSet?: number; + limit?: number; + /** Texto digitado na caixa de busca, quando habilitada. */ + texto_busca?: string; +}; /** * Estrutura de dados para uma tabela alimentada por uma consulta. * @@ -68,15 +80,7 @@ export type tipoEliTabelaConsulta = { * Função responsável por buscar os dados. Recebe parâmetros opcionais de * ordenação (`coluna_ordem`/`direcao_ordem`) e paginação (`offSet`/`limit`). */ - consulta: (parametrosConsulta?: { - filtros?: tipoFiltro[]; - coluna_ordem?: keyof T; - direcao_ordem?: "asc" | "desc"; - offSet?: number; - limit?: number; - /** Texto digitado na caixa de busca, quando habilitada. */ - texto_busca?: string; - }) => Promise>>; + consulta: (parametrosConsulta?: parametrosConsulta) => Promise>>; /** Quantidade máxima de botões exibidos na paginação (padrão `7`). */ maximo_botoes_paginacao?: number; /** Mensagem exibida quando a consulta retorna ok porém sem dados. */ @@ -88,6 +92,8 @@ export type tipoEliTabelaConsulta = { * Seu uso mais comum será para criar novos registros, mas poderá ter outras utilidades. */ acoesTabela?: { + /** superio será exibido a direita da caixa de busca, inferior a direita da paginação */ + posicao: "superior" | "inferior"; /** Ícone (Lucide) exibido no botão */ icone?: LucideIcon; /** Cor aplicada ao botão. */ @@ -95,7 +101,7 @@ export type tipoEliTabelaConsulta = { /** Texto descritivo da ação. */ rotulo: string; /** Função executada ao clicar no botão. */ - acao: () => void; + acao: (parametrosConsulta?: parametrosConsulta) => void; /** * Callback opcional para forçar atualização da consulta. * Observação: o componente `EliTabela` pode ignorar isso dependendo do modo de uso. diff --git a/dist/types/componentes/botao/EliBotao.vue.d.ts b/dist/types/componentes/botao/EliBotao.vue.d.ts index 3ced6d9..56363b9 100644 --- a/dist/types/componentes/botao/EliBotao.vue.d.ts +++ b/dist/types/componentes/botao/EliBotao.vue.d.ts @@ -1,5 +1,7 @@ -import { PropType } from "vue"; +import { type PropType } from "vue"; import type { BotaoTamanho, BotaoVariante } from "../../tipos"; +declare const _default: typeof __VLS_export; +export default _default; declare const __VLS_export: import("vue").DefineComponent; -declare const _default: typeof __VLS_export; -export default _default; diff --git a/dist/types/componentes/cartao/EliCartao.vue.d.ts b/dist/types/componentes/cartao/EliCartao.vue.d.ts index 2252e6b..b2972b8 100644 --- a/dist/types/componentes/cartao/EliCartao.vue.d.ts +++ b/dist/types/componentes/cartao/EliCartao.vue.d.ts @@ -1,6 +1,17 @@ -import { PropType } from "vue"; +import { type PropType } from "vue"; import type { CartaoStatus } from "../../tipos"; type CartaoVariante = "outlined" | "flat" | "elevated" | "tonal"; +/** + * EliCartao + * + * Um cartão de domínio para listas/pipelines (ex.: oportunidades/propostas) com: + * - título + * - status padronizado (novo/rascunho/vendido/cancelado) + * - slot padrão para conteúdo + * - slot opcional para ações + */ +declare const _default: typeof __VLS_export; +export default _default; declare const __VLS_export: import("vue").DefineComponent; }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -/** - * EliCartao - * - * Um cartão de domínio para listas/pipelines (ex.: oportunidades/propostas) com: - * - título - * - status padronizado (novo/rascunho/vendido/cancelado) - * - slot padrão para conteúdo - * - slot opcional para ações - */ -declare const _default: typeof __VLS_export; -export default _default; diff --git a/dist/types/componentes/indicador/EliBadge.vue.d.ts b/dist/types/componentes/indicador/EliBadge.vue.d.ts index 2844f52..760a237 100644 --- a/dist/types/componentes/indicador/EliBadge.vue.d.ts +++ b/dist/types/componentes/indicador/EliBadge.vue.d.ts @@ -1,5 +1,7 @@ -import { PropType } from "vue"; +import { type PropType } from "vue"; import type { CssLength, IndicadorLocalizacao, IndicadorOffset, IndicadorPresetRaio } from "../../tipos"; +declare const _default: typeof __VLS_export; +export default _default; declare const __VLS_export: import("vue").DefineComponent; -declare const _default: typeof __VLS_export; -export default _default; diff --git a/dist/types/componentes/ola_mundo/EliOlaMundo.vue.d.ts b/dist/types/componentes/ola_mundo/EliOlaMundo.vue.d.ts index 94acb2c..416282c 100644 --- a/dist/types/componentes/ola_mundo/EliOlaMundo.vue.d.ts +++ b/dist/types/componentes/ola_mundo/EliOlaMundo.vue.d.ts @@ -1,3 +1,5 @@ +declare const _default: typeof __VLS_export; +export default _default; declare const __VLS_export: import("vue").DefineComponent<{}, { nome: import("vue").Ref; email: import("vue").Ref; @@ -154,7 +156,7 @@ declare const __VLS_export: import("vue").DefineComponent<{}, { attrs: { [x: string]: unknown; }; - emit: ((event: "update:value", _v: string | null | undefined) => void) & ((event: "input", _v: string | null | undefined) => void) & ((event: "change", _v: string | null | undefined) => void) & ((event: "focus") => void) & ((event: "blur") => void); + 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; inputHtmlType: import("vue").ComputedRef<"text" | "email" | "url">; inputMode: import("vue").ComputedRef; @@ -181,8 +183,8 @@ declare const __VLS_export: import("vue").DefineComponent<{}, { required: true; }; }>> & Readonly<{ - "onUpdate:value"?: ((_v: string | null | undefined) => any) | undefined; onInput?: ((_v: string | null | undefined) => any) | undefined; + "onUpdate:value"?: ((_v: string | null | undefined) => any) | undefined; onChange?: ((_v: string | null | undefined) => any) | undefined; onFocus?: (() => any) | undefined; onBlur?: (() => any) | undefined; @@ -190,5 +192,3 @@ declare const __VLS_export: import("vue").DefineComponent<{}, { value: string | null | undefined; }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -declare const _default: typeof __VLS_export; -export default _default; diff --git a/dist/types/index.d.ts b/dist/types/index.d.ts index ee9ac50..6723d86 100644 --- a/dist/types/index.d.ts +++ b/dist/types/index.d.ts @@ -1,15 +1,15 @@ import type { Plugin } from "vue"; import "./styles/eli-vue-fonts.css"; -import { EliOlaMundo } from "./componentes/ola_mundo"; import { EliBotao } from "./componentes/botao"; -import { EliBadge } from "./componentes/indicador"; 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 * from "./componentes/EliTabela"; export * from "./componentes/EliEntrada"; +export * from "./componentes/EliTabela"; export * from "./tipos"; declare const EliVue: Plugin; export default EliVue; diff --git a/package.json b/package.json index ea7affc..5fc40c6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "eli-vue", - "version": "0.1.91", + "version": "0.1.94", "private": false, "main": "./dist/eli-vue.umd.js", "module": "./dist/eli-vue.es.js", @@ -13,17 +13,21 @@ } }, "scripts": { + "biome": "pnpm exec biome check --write", + "check": "pnpm run biome && npx tsc --noEmit", "prebuild": "npm version patch --no-git-tag-version", "build:types": "vue-tsc -p tsconfig.build.json --declaration --emitDeclarationOnly", - "build": "vite build && npm run build:types", - "dev": "vite", - "preview": "vite preview" + "build": "pnpm run biome && vite build && npm run build:types", + "dev": "pnpm run biome && pnpm run fechar && vite", + "preview": "vite preview", + "fechar": "fuser -k 5555/tcp || true" }, "peerDependencies": { "vue": "^3.4.0", "vuetify": "^3.0.0" }, "devDependencies": { + "@biomejs/biome": "2.4.0", "@mdi/font": "^7.4.47", "@vitejs/plugin-vue": "^5.0.0", "sass": "^1.94.2", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 0ecf0fa..483fb4d 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -16,10 +16,10 @@ importers: version: 1.11.19 lucide-vue-next: specifier: ^0.563.0 - version: 0.563.0(vue@3.5.25(typescript@5.9.3)) + 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#d783fa12940a5b1bcafa5038bd1c49c3f5f9b7fc(cross-fetch@4.1.0)(dayjs@1.11.19)(uuid@13.0.0)(zod@4.3.6) + version: git+https://git2.idz.one/publico/_comuns.git#303832ba8c4ee87cbdc6ae80ff12a56da6ce37cf(cross-fetch@4.1.0)(dayjs@1.11.19)(uuid@13.0.0)(zod@4.3.6) p-respostas: specifier: git+https://git2.idz.one/publico/_respostas.git version: git+https://git2.idz.one/publico/_respostas.git#8c24d790ace7255404745dcbdf12c5396e8b9843(cross-fetch@4.1.0)(dayjs@1.11.19)(uuid@13.0.0) @@ -30,36 +30,39 @@ importers: specifier: ^4.3.6 version: 4.3.6 devDependencies: + '@biomejs/biome': + specifier: 2.4.0 + version: 2.4.0 '@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(@types/node@24.10.1)(sass@1.94.2))(vue@3.5.25(typescript@5.9.3)) + version: 5.2.4(vite@6.4.1(sass@1.97.3))(vue@3.5.28(typescript@5.9.3)) sass: specifier: ^1.94.2 - version: 1.94.2 + version: 1.97.3 typescript: specifier: ^5.0.0 version: 5.9.3 vite: specifier: ^6.0.0 - version: 6.4.1(@types/node@24.10.1)(sass@1.94.2) + version: 6.4.1(sass@1.97.3) vite-plugin-css-injected-by-js: specifier: ^3.5.2 - version: 3.5.2(vite@6.4.1(@types/node@24.10.1)(sass@1.94.2)) + version: 3.5.2(vite@6.4.1(sass@1.97.3)) vite-plugin-vuetify: specifier: ^2.1.2 - version: 2.1.2(vite@6.4.1(@types/node@24.10.1)(sass@1.94.2))(vue@3.5.25(typescript@5.9.3))(vuetify@3.11.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) vue: specifier: ^3.4.0 - version: 3.5.25(typescript@5.9.3) + version: 3.5.28(typescript@5.9.3) vue-tsc: specifier: ^3.1.6 - version: 3.1.6(typescript@5.9.3) + version: 3.2.4(typescript@5.9.3) vuetify: specifier: ^3.11.2 - version: 3.11.2(typescript@5.9.3)(vite-plugin-vuetify@2.1.2)(vue@3.5.25(typescript@5.9.3)) + version: 3.11.8(typescript@5.9.3)(vite-plugin-vuetify@2.1.3)(vue@3.5.28(typescript@5.9.3)) packages: @@ -71,15 +74,68 @@ packages: resolution: {integrity: sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q==} engines: {node: '>=6.9.0'} - '@babel/parser@7.28.5': - resolution: {integrity: sha512-KKBU1VGYR7ORr3At5HAtUQ+TV3SzRCXmA/8OdDZiLDBIZxVyzXuztPjfLd3BV1PRAQGCMWWSHYhL0F8d5uHBDQ==} + '@babel/parser@7.29.0': + resolution: {integrity: sha512-IyDgFV5GeDUVX4YdF/3CPULtVGSXXMLh1xVIgdCgxApktqnQV0r7/8Nqthg+8YLGaAtdyIlo2qIdZrbCv4+7ww==} engines: {node: '>=6.0.0'} hasBin: true - '@babel/types@7.28.5': - resolution: {integrity: sha512-qQ5m48eI/MFLQ5PxQj4PFaprjyCTLI37ElWMmNs0K8Lk3dVeOdNpB3ks8jc7yM5CDmVC73eMVk/trk3fgmrUpA==} + '@babel/types@7.29.0': + resolution: {integrity: sha512-LwdZHpScM4Qz8Xw2iKSzS+cfglZzJGvofQICy7W7v4caru4EaAmyUuO6BGrbyQ2mYV11W0U8j5mBhd14dd3B0A==} engines: {node: '>=6.9.0'} + '@biomejs/biome@2.4.0': + resolution: {integrity: sha512-iluT61cORUDIC5i/y42ljyQraCemmmcgbMLLCnYO+yh+2hjTmcMFcwY8G0zTzWCsPb3t3AyKc+0t/VuhPZULUg==} + engines: {node: '>=14.21.3'} + hasBin: true + + '@biomejs/cli-darwin-arm64@2.4.0': + resolution: {integrity: sha512-L+YpOtPSuU0etomfvFTPWRsa7+8ejaJL3yaROEoT/96HDJbR6OsvZQk0C8JUYou+XFdP+JcGxqZknkp4n934RA==} + engines: {node: '>=14.21.3'} + cpu: [arm64] + os: [darwin] + + '@biomejs/cli-darwin-x64@2.4.0': + resolution: {integrity: sha512-Aq+S7ffpb5ynTyLgtnEjG+W6xuTd2F7FdC7J6ShpvRhZwJhjzwITGF9vrqoOnw0sv1XWkt2Q1Rpg+hleg/Xg7Q==} + engines: {node: '>=14.21.3'} + cpu: [x64] + os: [darwin] + + '@biomejs/cli-linux-arm64-musl@2.4.0': + resolution: {integrity: sha512-1rhDUq8sf7xX3tg7vbnU3WVfanKCKi40OXc4VleBMzRStmQHdeBY46aFP6VdwEomcVjyNiu+Zcr3LZtAdrZrjQ==} + 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==} + engines: {node: '>=14.21.3'} + cpu: [arm64] + os: [linux] + + '@biomejs/cli-linux-x64-musl@2.4.0': + resolution: {integrity: sha512-Omo0xhl63z47X+CrE5viEWKJhejJyndl577VoXg763U/aoATrK3r5+8DPh02GokWPeODX1Hek00OtjjooGan9w==} + engines: {node: '>=14.21.3'} + cpu: [x64] + os: [linux] + + '@biomejs/cli-linux-x64@2.4.0': + resolution: {integrity: sha512-WVFOhsnzhrbMGOSIcB9yFdRV2oG2KkRRhIZiunI9gJqSU3ax9ErdnTxRfJUxZUI9NbzVxC60OCXNcu+mXfF/Tw==} + engines: {node: '>=14.21.3'} + cpu: [x64] + os: [linux] + + '@biomejs/cli-win32-arm64@2.4.0': + resolution: {integrity: sha512-aqRwW0LJLV1v1NzyLvLWQhdLmDSAV1vUh+OBdYJaa8f28XBn5BZavo+WTfqgEzALZxlNfBmu6NGO6Al3MbCULw==} + engines: {node: '>=14.21.3'} + cpu: [arm64] + os: [win32] + + '@biomejs/cli-win32-x64@2.4.0': + resolution: {integrity: sha512-g47s+V+OqsGxbSZN3lpav6WYOk0PIc3aCBAq+p6dwSynL3K5MA6Cg6nkzDOlu28GEHwbakW+BllzHCJCxnfK5Q==} + engines: {node: '>=14.21.3'} + cpu: [x64] + os: [win32] + '@esbuild/aix-ppc64@0.25.12': resolution: {integrity: sha512-Hhmwd6CInZ3dwpuGTF8fJG6yoWmsToE+vYgD4nytZVxcu1ulHpUQRAB1UJ8+N1Am3Mz4+xOByoQoSZf4D+CpkA==} engines: {node: '>=18'} @@ -242,204 +298,216 @@ packages: '@mdi/font@7.4.47': resolution: {integrity: sha512-43MtGpd585SNzHZPcYowu/84Vz2a2g31TvPMTm9uTiCSWzaheQySUcSyUH/46fPnuPQWof2yd0pGBtzee/IQWw==} - '@parcel/watcher-android-arm64@2.5.1': - resolution: {integrity: sha512-KF8+j9nNbUN8vzOFDpRMsaKBHZ/mcjEjMToVMJOhTozkDonQFFrRcfdLWn6yWKCmJKmdVxSgHiYvTCef4/qcBA==} + '@parcel/watcher-android-arm64@2.5.6': + resolution: {integrity: sha512-YQxSS34tPF/6ZG7r/Ih9xy+kP/WwediEUsqmtf0cuCV5TPPKw/PQHRhueUo6JdeFJaqV3pyjm0GdYjZotbRt/A==} engines: {node: '>= 10.0.0'} cpu: [arm64] os: [android] - '@parcel/watcher-darwin-arm64@2.5.1': - resolution: {integrity: sha512-eAzPv5osDmZyBhou8PoF4i6RQXAfeKL9tjb3QzYuccXFMQU0ruIc/POh30ePnaOyD1UXdlKguHBmsTs53tVoPw==} + '@parcel/watcher-darwin-arm64@2.5.6': + resolution: {integrity: sha512-Z2ZdrnwyXvvvdtRHLmM4knydIdU9adO3D4n/0cVipF3rRiwP+3/sfzpAwA/qKFL6i1ModaabkU7IbpeMBgiVEA==} engines: {node: '>= 10.0.0'} cpu: [arm64] os: [darwin] - '@parcel/watcher-darwin-x64@2.5.1': - resolution: {integrity: sha512-1ZXDthrnNmwv10A0/3AJNZ9JGlzrF82i3gNQcWOzd7nJ8aj+ILyW1MTxVk35Db0u91oD5Nlk9MBiujMlwmeXZg==} + '@parcel/watcher-darwin-x64@2.5.6': + resolution: {integrity: sha512-HgvOf3W9dhithcwOWX9uDZyn1lW9R+7tPZ4sug+NGrGIo4Rk1hAXLEbcH1TQSqxts0NYXXlOWqVpvS1SFS4fRg==} engines: {node: '>= 10.0.0'} cpu: [x64] os: [darwin] - '@parcel/watcher-freebsd-x64@2.5.1': - resolution: {integrity: sha512-SI4eljM7Flp9yPuKi8W0ird8TI/JK6CSxju3NojVI6BjHsTyK7zxA9urjVjEKJ5MBYC+bLmMcbAWlZ+rFkLpJQ==} + '@parcel/watcher-freebsd-x64@2.5.6': + resolution: {integrity: sha512-vJVi8yd/qzJxEKHkeemh7w3YAn6RJCtYlE4HPMoVnCpIXEzSrxErBW5SJBgKLbXU3WdIpkjBTeUNtyBVn8TRng==} engines: {node: '>= 10.0.0'} cpu: [x64] os: [freebsd] - '@parcel/watcher-linux-arm-glibc@2.5.1': - resolution: {integrity: sha512-RCdZlEyTs8geyBkkcnPWvtXLY44BCeZKmGYRtSgtwwnHR4dxfHRG3gR99XdMEdQ7KeiDdasJwwvNSF5jKtDwdA==} + '@parcel/watcher-linux-arm-glibc@2.5.6': + resolution: {integrity: sha512-9JiYfB6h6BgV50CCfasfLf/uvOcJskMSwcdH1PHH9rvS1IrNy8zad6IUVPVUfmXr+u+Km9IxcfMLzgdOudz9EQ==} engines: {node: '>= 10.0.0'} cpu: [arm] os: [linux] - '@parcel/watcher-linux-arm-musl@2.5.1': - resolution: {integrity: sha512-6E+m/Mm1t1yhB8X412stiKFG3XykmgdIOqhjWj+VL8oHkKABfu/gjFj8DvLrYVHSBNC+/u5PeNrujiSQ1zwd1Q==} + '@parcel/watcher-linux-arm-musl@2.5.6': + resolution: {integrity: sha512-Ve3gUCG57nuUUSyjBq/MAM0CzArtuIOxsBdQ+ftz6ho8n7s1i9E1Nmk/xmP323r2YL0SONs1EuwqBp2u1k5fxg==} engines: {node: '>= 10.0.0'} cpu: [arm] os: [linux] - '@parcel/watcher-linux-arm64-glibc@2.5.1': - resolution: {integrity: sha512-LrGp+f02yU3BN9A+DGuY3v3bmnFUggAITBGriZHUREfNEzZh/GO06FF5u2kx8x+GBEUYfyTGamol4j3m9ANe8w==} + '@parcel/watcher-linux-arm64-glibc@2.5.6': + resolution: {integrity: sha512-f2g/DT3NhGPdBmMWYoxixqYr3v/UXcmLOYy16Bx0TM20Tchduwr4EaCbmxh1321TABqPGDpS8D/ggOTaljijOA==} engines: {node: '>= 10.0.0'} cpu: [arm64] os: [linux] - '@parcel/watcher-linux-arm64-musl@2.5.1': - resolution: {integrity: sha512-cFOjABi92pMYRXS7AcQv9/M1YuKRw8SZniCDw0ssQb/noPkRzA+HBDkwmyOJYp5wXcsTrhxO0zq1U11cK9jsFg==} + '@parcel/watcher-linux-arm64-musl@2.5.6': + resolution: {integrity: sha512-qb6naMDGlbCwdhLj6hgoVKJl2odL34z2sqkC7Z6kzir8b5W65WYDpLB6R06KabvZdgoHI/zxke4b3zR0wAbDTA==} engines: {node: '>= 10.0.0'} cpu: [arm64] os: [linux] - '@parcel/watcher-linux-x64-glibc@2.5.1': - resolution: {integrity: sha512-GcESn8NZySmfwlTsIur+49yDqSny2IhPeZfXunQi48DMugKeZ7uy1FX83pO0X22sHntJ4Ub+9k34XQCX+oHt2A==} + '@parcel/watcher-linux-x64-glibc@2.5.6': + resolution: {integrity: sha512-kbT5wvNQlx7NaGjzPFu8nVIW1rWqV780O7ZtkjuWaPUgpv2NMFpjYERVi0UYj1msZNyCzGlaCWEtzc+exjMGbQ==} engines: {node: '>= 10.0.0'} cpu: [x64] os: [linux] - '@parcel/watcher-linux-x64-musl@2.5.1': - resolution: {integrity: sha512-n0E2EQbatQ3bXhcH2D1XIAANAcTZkQICBPVaxMeaCVBtOpBZpWJuf7LwyWPSBDITb7In8mqQgJ7gH8CILCURXg==} + '@parcel/watcher-linux-x64-musl@2.5.6': + resolution: {integrity: sha512-1JRFeC+h7RdXwldHzTsmdtYR/Ku8SylLgTU/reMuqdVD7CtLwf0VR1FqeprZ0eHQkO0vqsbvFLXUmYm/uNKJBg==} engines: {node: '>= 10.0.0'} cpu: [x64] os: [linux] - '@parcel/watcher-win32-arm64@2.5.1': - resolution: {integrity: sha512-RFzklRvmc3PkjKjry3hLF9wD7ppR4AKcWNzH7kXR7GUe0Igb3Nz8fyPwtZCSquGrhU5HhUNDr/mKBqj7tqA2Vw==} + '@parcel/watcher-win32-arm64@2.5.6': + resolution: {integrity: sha512-3ukyebjc6eGlw9yRt678DxVF7rjXatWiHvTXqphZLvo7aC5NdEgFufVwjFfY51ijYEWpXbqF5jtrK275z52D4Q==} engines: {node: '>= 10.0.0'} cpu: [arm64] os: [win32] - '@parcel/watcher-win32-ia32@2.5.1': - resolution: {integrity: sha512-c2KkcVN+NJmuA7CGlaGD1qJh1cLfDnQsHjE89E60vUEMlqduHGCdCLJCID5geFVM0dOtA3ZiIO8BoEQmzQVfpQ==} + '@parcel/watcher-win32-ia32@2.5.6': + resolution: {integrity: sha512-k35yLp1ZMwwee3Ez/pxBi5cf4AoBKYXj00CZ80jUz5h8prpiaQsiRPKQMxoLstNuqe2vR4RNPEAEcjEFzhEz/g==} engines: {node: '>= 10.0.0'} cpu: [ia32] os: [win32] - '@parcel/watcher-win32-x64@2.5.1': - resolution: {integrity: sha512-9lHBdJITeNR++EvSQVUcaZoWupyHfXe1jZvGZ06O/5MflPcuPLtEphScIBL+AiCWBO46tDSHzWyD0uDmmZqsgA==} + '@parcel/watcher-win32-x64@2.5.6': + resolution: {integrity: sha512-hbQlYcCq5dlAX9Qx+kFb0FHue6vbjlf0FrNzSKdYK2APUf7tGfGxQCk2ihEREmbR6ZMc0MVAD5RIX/41gpUzTw==} engines: {node: '>= 10.0.0'} cpu: [x64] os: [win32] - '@parcel/watcher@2.5.1': - resolution: {integrity: sha512-dfUnCxiN9H4ap84DvD2ubjw+3vUNpstxa0TneY/Paat8a3R4uQZDLSvWjmznAY/DoahqTHl9V46HF/Zs3F29pg==} + '@parcel/watcher@2.5.6': + resolution: {integrity: sha512-tmmZ3lQxAe/k/+rNnXQRawJ4NjxO2hqiOLTHvWchtGZULp4RyFeh6aU4XdOYBFe2KE1oShQTv4AblOs2iOrNnQ==} engines: {node: '>= 10.0.0'} - '@rollup/rollup-android-arm-eabi@4.53.3': - resolution: {integrity: sha512-mRSi+4cBjrRLoaal2PnqH82Wqyb+d3HsPUN/W+WslCXsZsyHa9ZeQQX/pQsZaVIWDkPcpV6jJ+3KLbTbgnwv8w==} + '@rollup/rollup-android-arm-eabi@4.57.1': + resolution: {integrity: sha512-A6ehUVSiSaaliTxai040ZpZ2zTevHYbvu/lDoeAteHI8QnaosIzm4qwtezfRg1jOYaUmnzLX1AOD6Z+UJjtifg==} cpu: [arm] os: [android] - '@rollup/rollup-android-arm64@4.53.3': - resolution: {integrity: sha512-CbDGaMpdE9sh7sCmTrTUyllhrg65t6SwhjlMJsLr+J8YjFuPmCEjbBSx4Z/e4SmDyH3aB5hGaJUP2ltV/vcs4w==} + '@rollup/rollup-android-arm64@4.57.1': + resolution: {integrity: sha512-dQaAddCY9YgkFHZcFNS/606Exo8vcLHwArFZ7vxXq4rigo2bb494/xKMMwRRQW6ug7Js6yXmBZhSBRuBvCCQ3w==} cpu: [arm64] os: [android] - '@rollup/rollup-darwin-arm64@4.53.3': - resolution: {integrity: sha512-Nr7SlQeqIBpOV6BHHGZgYBuSdanCXuw09hon14MGOLGmXAFYjx1wNvquVPmpZnl0tLjg25dEdr4IQ6GgyToCUA==} + '@rollup/rollup-darwin-arm64@4.57.1': + resolution: {integrity: sha512-crNPrwJOrRxagUYeMn/DZwqN88SDmwaJ8Cvi/TN1HnWBU7GwknckyosC2gd0IqYRsHDEnXf328o9/HC6OkPgOg==} cpu: [arm64] os: [darwin] - '@rollup/rollup-darwin-x64@4.53.3': - resolution: {integrity: sha512-DZ8N4CSNfl965CmPktJ8oBnfYr3F8dTTNBQkRlffnUarJ2ohudQD17sZBa097J8xhQ26AwhHJ5mvUyQW8ddTsQ==} + '@rollup/rollup-darwin-x64@4.57.1': + resolution: {integrity: sha512-Ji8g8ChVbKrhFtig5QBV7iMaJrGtpHelkB3lsaKzadFBe58gmjfGXAOfI5FV0lYMH8wiqsxKQ1C9B0YTRXVy4w==} cpu: [x64] os: [darwin] - '@rollup/rollup-freebsd-arm64@4.53.3': - resolution: {integrity: sha512-yMTrCrK92aGyi7GuDNtGn2sNW+Gdb4vErx4t3Gv/Tr+1zRb8ax4z8GWVRfr3Jw8zJWvpGHNpss3vVlbF58DZ4w==} + '@rollup/rollup-freebsd-arm64@4.57.1': + resolution: {integrity: sha512-R+/WwhsjmwodAcz65guCGFRkMb4gKWTcIeLy60JJQbXrJ97BOXHxnkPFrP+YwFlaS0m+uWJTstrUA9o+UchFug==} cpu: [arm64] os: [freebsd] - '@rollup/rollup-freebsd-x64@4.53.3': - resolution: {integrity: sha512-lMfF8X7QhdQzseM6XaX0vbno2m3hlyZFhwcndRMw8fbAGUGL3WFMBdK0hbUBIUYcEcMhVLr1SIamDeuLBnXS+Q==} + '@rollup/rollup-freebsd-x64@4.57.1': + resolution: {integrity: sha512-IEQTCHeiTOnAUC3IDQdzRAGj3jOAYNr9kBguI7MQAAZK3caezRrg0GxAb6Hchg4lxdZEI5Oq3iov/w/hnFWY9Q==} cpu: [x64] os: [freebsd] - '@rollup/rollup-linux-arm-gnueabihf@4.53.3': - resolution: {integrity: sha512-k9oD15soC/Ln6d2Wv/JOFPzZXIAIFLp6B+i14KhxAfnq76ajt0EhYc5YPeX6W1xJkAdItcVT+JhKl1QZh44/qw==} + '@rollup/rollup-linux-arm-gnueabihf@4.57.1': + resolution: {integrity: sha512-F8sWbhZ7tyuEfsmOxwc2giKDQzN3+kuBLPwwZGyVkLlKGdV1nvnNwYD0fKQ8+XS6hp9nY7B+ZeK01EBUE7aHaw==} cpu: [arm] os: [linux] - '@rollup/rollup-linux-arm-musleabihf@4.53.3': - resolution: {integrity: sha512-vTNlKq+N6CK/8UktsrFuc+/7NlEYVxgaEgRXVUVK258Z5ymho29skzW1sutgYjqNnquGwVUObAaxae8rZ6YMhg==} + '@rollup/rollup-linux-arm-musleabihf@4.57.1': + resolution: {integrity: sha512-rGfNUfn0GIeXtBP1wL5MnzSj98+PZe/AXaGBCRmT0ts80lU5CATYGxXukeTX39XBKsxzFpEeK+Mrp9faXOlmrw==} cpu: [arm] os: [linux] - '@rollup/rollup-linux-arm64-gnu@4.53.3': - resolution: {integrity: sha512-RGrFLWgMhSxRs/EWJMIFM1O5Mzuz3Xy3/mnxJp/5cVhZ2XoCAxJnmNsEyeMJtpK+wu0FJFWz+QF4mjCA7AUQ3w==} + '@rollup/rollup-linux-arm64-gnu@4.57.1': + resolution: {integrity: sha512-MMtej3YHWeg/0klK2Qodf3yrNzz6CGjo2UntLvk2RSPlhzgLvYEB3frRvbEF2wRKh1Z2fDIg9KRPe1fawv7C+g==} cpu: [arm64] os: [linux] - '@rollup/rollup-linux-arm64-musl@4.53.3': - resolution: {integrity: sha512-kASyvfBEWYPEwe0Qv4nfu6pNkITLTb32p4yTgzFCocHnJLAHs+9LjUu9ONIhvfT/5lv4YS5muBHyuV84epBo/A==} + '@rollup/rollup-linux-arm64-musl@4.57.1': + resolution: {integrity: sha512-1a/qhaaOXhqXGpMFMET9VqwZakkljWHLmZOX48R0I/YLbhdxr1m4gtG1Hq7++VhVUmf+L3sTAf9op4JlhQ5u1Q==} cpu: [arm64] os: [linux] - '@rollup/rollup-linux-loong64-gnu@4.53.3': - resolution: {integrity: sha512-JiuKcp2teLJwQ7vkJ95EwESWkNRFJD7TQgYmCnrPtlu50b4XvT5MOmurWNrCj3IFdyjBQ5p9vnrX4JM6I8OE7g==} + '@rollup/rollup-linux-loong64-gnu@4.57.1': + resolution: {integrity: sha512-QWO6RQTZ/cqYtJMtxhkRkidoNGXc7ERPbZN7dVW5SdURuLeVU7lwKMpo18XdcmpWYd0qsP1bwKPf7DNSUinhvA==} cpu: [loong64] os: [linux] - '@rollup/rollup-linux-ppc64-gnu@4.53.3': - resolution: {integrity: sha512-EoGSa8nd6d3T7zLuqdojxC20oBfNT8nexBbB/rkxgKj5T5vhpAQKKnD+h3UkoMuTyXkP5jTjK/ccNRmQrPNDuw==} + '@rollup/rollup-linux-loong64-musl@4.57.1': + resolution: {integrity: sha512-xpObYIf+8gprgWaPP32xiN5RVTi/s5FCR+XMXSKmhfoJjrpRAjCuuqQXyxUa/eJTdAE6eJ+KDKaoEqjZQxh3Gw==} + cpu: [loong64] + os: [linux] + + '@rollup/rollup-linux-ppc64-gnu@4.57.1': + resolution: {integrity: sha512-4BrCgrpZo4hvzMDKRqEaW1zeecScDCR+2nZ86ATLhAoJ5FQ+lbHVD3ttKe74/c7tNT9c6F2viwB3ufwp01Oh2w==} cpu: [ppc64] os: [linux] - '@rollup/rollup-linux-riscv64-gnu@4.53.3': - resolution: {integrity: sha512-4s+Wped2IHXHPnAEbIB0YWBv7SDohqxobiiPA1FIWZpX+w9o2i4LezzH/NkFUl8LRci/8udci6cLq+jJQlh+0g==} + '@rollup/rollup-linux-ppc64-musl@4.57.1': + resolution: {integrity: sha512-NOlUuzesGauESAyEYFSe3QTUguL+lvrN1HtwEEsU2rOwdUDeTMJdO5dUYl/2hKf9jWydJrO9OL/XSSf65R5+Xw==} + cpu: [ppc64] + os: [linux] + + '@rollup/rollup-linux-riscv64-gnu@4.57.1': + resolution: {integrity: sha512-ptA88htVp0AwUUqhVghwDIKlvJMD/fmL/wrQj99PRHFRAG6Z5nbWoWG4o81Nt9FT+IuqUQi+L31ZKAFeJ5Is+A==} cpu: [riscv64] os: [linux] - '@rollup/rollup-linux-riscv64-musl@4.53.3': - resolution: {integrity: sha512-68k2g7+0vs2u9CxDt5ktXTngsxOQkSEV/xBbwlqYcUrAVh6P9EgMZvFsnHy4SEiUl46Xf0IObWVbMvPrr2gw8A==} + '@rollup/rollup-linux-riscv64-musl@4.57.1': + resolution: {integrity: sha512-S51t7aMMTNdmAMPpBg7OOsTdn4tySRQvklmL3RpDRyknk87+Sp3xaumlatU+ppQ+5raY7sSTcC2beGgvhENfuw==} cpu: [riscv64] os: [linux] - '@rollup/rollup-linux-s390x-gnu@4.53.3': - resolution: {integrity: sha512-VYsFMpULAz87ZW6BVYw3I6sWesGpsP9OPcyKe8ofdg9LHxSbRMd7zrVrr5xi/3kMZtpWL/wC+UIJWJYVX5uTKg==} + '@rollup/rollup-linux-s390x-gnu@4.57.1': + resolution: {integrity: sha512-Bl00OFnVFkL82FHbEqy3k5CUCKH6OEJL54KCyx2oqsmZnFTR8IoNqBF+mjQVcRCT5sB6yOvK8A37LNm/kPJiZg==} cpu: [s390x] os: [linux] - '@rollup/rollup-linux-x64-gnu@4.53.3': - resolution: {integrity: sha512-3EhFi1FU6YL8HTUJZ51imGJWEX//ajQPfqWLI3BQq4TlvHy4X0MOr5q3D2Zof/ka0d5FNdPwZXm3Yyib/UEd+w==} + '@rollup/rollup-linux-x64-gnu@4.57.1': + resolution: {integrity: sha512-ABca4ceT4N+Tv/GtotnWAeXZUZuM/9AQyCyKYyKnpk4yoA7QIAuBt6Hkgpw8kActYlew2mvckXkvx0FfoInnLg==} cpu: [x64] os: [linux] - '@rollup/rollup-linux-x64-musl@4.53.3': - resolution: {integrity: sha512-eoROhjcc6HbZCJr+tvVT8X4fW3/5g/WkGvvmwz/88sDtSJzO7r/blvoBDgISDiCjDRZmHpwud7h+6Q9JxFwq1Q==} + '@rollup/rollup-linux-x64-musl@4.57.1': + resolution: {integrity: sha512-HFps0JeGtuOR2convgRRkHCekD7j+gdAuXM+/i6kGzQtFhlCtQkpwtNzkNj6QhCDp7DRJ7+qC/1Vg2jt5iSOFw==} cpu: [x64] os: [linux] - '@rollup/rollup-openharmony-arm64@4.53.3': - resolution: {integrity: sha512-OueLAWgrNSPGAdUdIjSWXw+u/02BRTcnfw9PN41D2vq/JSEPnJnVuBgw18VkN8wcd4fjUs+jFHVM4t9+kBSNLw==} + '@rollup/rollup-openbsd-x64@4.57.1': + resolution: {integrity: sha512-H+hXEv9gdVQuDTgnqD+SQffoWoc0Of59AStSzTEj/feWTBAnSfSD3+Dql1ZruJQxmykT/JVY0dE8Ka7z0DH1hw==} + cpu: [x64] + os: [openbsd] + + '@rollup/rollup-openharmony-arm64@4.57.1': + resolution: {integrity: sha512-4wYoDpNg6o/oPximyc/NG+mYUejZrCU2q+2w6YZqrAs2UcNUChIZXjtafAiiZSUc7On8v5NyNj34Kzj/Ltk6dQ==} cpu: [arm64] os: [openharmony] - '@rollup/rollup-win32-arm64-msvc@4.53.3': - resolution: {integrity: sha512-GOFuKpsxR/whszbF/bzydebLiXIHSgsEUp6M0JI8dWvi+fFa1TD6YQa4aSZHtpmh2/uAlj/Dy+nmby3TJ3pkTw==} + '@rollup/rollup-win32-arm64-msvc@4.57.1': + resolution: {integrity: sha512-O54mtsV/6LW3P8qdTcamQmuC990HDfR71lo44oZMZlXU4tzLrbvTii87Ni9opq60ds0YzuAlEr/GNwuNluZyMQ==} cpu: [arm64] os: [win32] - '@rollup/rollup-win32-ia32-msvc@4.53.3': - resolution: {integrity: sha512-iah+THLcBJdpfZ1TstDFbKNznlzoxa8fmnFYK4V67HvmuNYkVdAywJSoteUszvBQ9/HqN2+9AZghbajMsFT+oA==} + '@rollup/rollup-win32-ia32-msvc@4.57.1': + resolution: {integrity: sha512-P3dLS+IerxCT/7D2q2FYcRdWRl22dNbrbBEtxdWhXrfIMPP9lQhb5h4Du04mdl5Woq05jVCDPCMF7Ub0NAjIew==} cpu: [ia32] os: [win32] - '@rollup/rollup-win32-x64-gnu@4.53.3': - resolution: {integrity: sha512-J9QDiOIZlZLdcot5NXEepDkstocktoVjkaKUtqzgzpt2yWjGlbYiKyp05rWwk4nypbYUNoFAztEgixoLaSETkg==} + '@rollup/rollup-win32-x64-gnu@4.57.1': + resolution: {integrity: sha512-VMBH2eOOaKGtIJYleXsi2B8CPVADrh+TyNxJ4mWPnKfLB/DBUmzW+5m1xUrcwWoMfSLagIRpjUFeW5CO5hyciQ==} cpu: [x64] os: [win32] - '@rollup/rollup-win32-x64-msvc@4.53.3': - resolution: {integrity: sha512-UhTd8u31dXadv0MopwGgNOBpUVROFKWVQgAg5N1ESyCz8AuBcMqm4AuTjrwgQKGDfoFuz02EuMRHQIw/frmYKQ==} + '@rollup/rollup-win32-x64-msvc@4.57.1': + resolution: {integrity: sha512-mxRFDdHIWRxg3UfIIAwCm6NzvxG0jDX/wBN6KsQFTvKFqqg9vTrWUE68qEjHt19A5wwx5X5aUi2zuZT7YR0jrA==} cpu: [x64] os: [win32] '@types/estree@1.0.8': resolution: {integrity: sha512-dWHzHa2WqEXI/O1E9OjrocMTKJl2mSrEolh1Iomrv6U+JuNwaHXsXx9bLu5gG7BUWFIN0skIQJQ/L1rIex4X6w==} - '@types/node@24.10.1': - resolution: {integrity: sha512-GNWcUTRBgIRJD5zj+Tq0fKOJ5XZajIiBroOF0yvj2bSU1WvNdYS/dn9UxwsujGW4JX06dnHyjV2y9rRaybH0iQ==} - '@vitejs/plugin-vue@5.2.4': resolution: {integrity: sha512-7Yx/SXSOcQq5HiiV3orevHUFn+pmMB4cgbEkDYgnkUWb0WfeQ/wa2yFv6D5ICiCQOVpjA7vYDXrC7AGO8yjDHA==} engines: {node: ^18.0.0 || >=20.0.0} @@ -447,64 +515,55 @@ packages: vite: ^5.0.0 || ^6.0.0 vue: ^3.2.25 - '@volar/language-core@2.4.26': - resolution: {integrity: sha512-hH0SMitMxnB43OZpyF1IFPS9bgb2I3bpCh76m2WEK7BE0A0EzpYsRp0CCH2xNKshr7kacU5TQBLYn4zj7CG60A==} + '@volar/language-core@2.4.27': + resolution: {integrity: sha512-DjmjBWZ4tJKxfNC1F6HyYERNHPYS7L7OPFyCrestykNdUZMFYzI9WTyvwPcaNaHlrEUwESHYsfEw3isInncZxQ==} - '@volar/source-map@2.4.26': - resolution: {integrity: sha512-JJw0Tt/kSFsIRmgTQF4JSt81AUSI1aEye5Zl65EeZ8H35JHnTvFGmpDOBn5iOxd48fyGE+ZvZBp5FcgAy/1Qhw==} + '@volar/source-map@2.4.27': + resolution: {integrity: sha512-ynlcBReMgOZj2i6po+qVswtDUeeBRCTgDurjMGShbm8WYZgJ0PA4RmtebBJ0BCYol1qPv3GQF6jK7C9qoVc7lg==} - '@volar/typescript@2.4.26': - resolution: {integrity: sha512-N87ecLD48Sp6zV9zID/5yuS1+5foj0DfuYGdQ6KHj/IbKvyKv1zNX6VCmnKYwtmHadEO6mFc2EKISiu3RDPAvA==} + '@volar/typescript@2.4.27': + resolution: {integrity: sha512-eWaYCcl/uAPInSK2Lze6IqVWaBu/itVqR5InXcHXFyles4zO++Mglt3oxdgj75BDcv1Knr9Y93nowS8U3wqhxg==} - '@vue/compiler-core@3.5.25': - resolution: {integrity: sha512-vay5/oQJdsNHmliWoZfHPoVZZRmnSWhug0BYT34njkYTPqClh3DNWLkZNJBVSjsNMrg0CCrBfoKkjZQPM/QVUw==} + '@vue/compiler-core@3.5.28': + resolution: {integrity: sha512-kviccYxTgoE8n6OCw96BNdYlBg2GOWfBuOW4Vqwrt7mSKWKwFVvI8egdTltqRgITGPsTFYtKYfxIG8ptX2PJHQ==} - '@vue/compiler-dom@3.5.25': - resolution: {integrity: sha512-4We0OAcMZsKgYoGlMjzYvaoErltdFI2/25wqanuTu+S4gismOTRTBPi4IASOjxWdzIwrYSjnqONfKvuqkXzE2Q==} + '@vue/compiler-dom@3.5.28': + resolution: {integrity: sha512-/1ZepxAb159jKR1btkefDP+J2xuWL5V3WtleRmxaT+K2Aqiek/Ab/+Ebrw2pPj0sdHO8ViAyyJWfhXXOP/+LQA==} - '@vue/compiler-sfc@3.5.25': - resolution: {integrity: sha512-PUgKp2rn8fFsI++lF2sO7gwO2d9Yj57Utr5yEsDf3GNaQcowCLKL7sf+LvVFvtJDXUp/03+dC6f2+LCv5aK1ag==} + '@vue/compiler-sfc@3.5.28': + resolution: {integrity: sha512-6TnKMiNkd6u6VeVDhZn/07KhEZuBSn43Wd2No5zaP5s3xm8IqFTHBj84HJah4UepSUJTro5SoqqlOY22FKY96g==} - '@vue/compiler-ssr@3.5.25': - resolution: {integrity: sha512-ritPSKLBcParnsKYi+GNtbdbrIE1mtuFEJ4U1sWeuOMlIziK5GtOL85t5RhsNy4uWIXPgk+OUdpnXiTdzn8o3A==} + '@vue/compiler-ssr@3.5.28': + resolution: {integrity: sha512-JCq//9w1qmC6UGLWJX7RXzrGpKkroubey/ZFqTpvEIDJEKGgntuDMqkuWiZvzTzTA5h2qZvFBFHY7fAAa9475g==} - '@vue/language-core@3.1.6': - resolution: {integrity: sha512-F3BIvDVyyj+6Sgl9Ev9zsb/DJ48rrH2EiI5NnIEpJKo7Yk8v0n2QjfG7/RYyFhYSMOJcsf6aAt5hx4JaNbhKbg==} + '@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/runtime-core@3.5.28': + resolution: {integrity: sha512-POVHTdbgnrBBIpnbYU4y7pOMNlPn2QVxVzkvEA2pEgvzbelQq4ZOUxbp2oiyo+BOtiYlm8Q44wShHJoBvDPAjQ==} + + '@vue/runtime-dom@3.5.28': + resolution: {integrity: sha512-4SXxSF8SXYMuhAIkT+eBRqOkWEfPu6nhccrzrkioA6l0boiq7sp18HCOov9qWJA5HML61kW8p/cB4MmBiG9dSA==} + + '@vue/server-renderer@3.5.28': + resolution: {integrity: sha512-pf+5ECKGj8fX95bNincbzJ6yp6nyzuLDhYZCeFxUNp8EBrQpPpQaLX3nNCp49+UbgbPun3CeVE+5CXVV1Xydfg==} peerDependencies: - typescript: '*' - peerDependenciesMeta: - typescript: - optional: true + vue: 3.5.28 - '@vue/reactivity@3.5.25': - resolution: {integrity: sha512-5xfAypCQepv4Jog1U4zn8cZIcbKKFka3AgWHEFQeK65OW+Ys4XybP6z2kKgws4YB43KGpqp5D/K3go2UPPunLA==} + '@vue/shared@3.5.28': + resolution: {integrity: sha512-cfWa1fCGBxrvaHRhvV3Is0MgmrbSCxYTXCSCau2I0a1Xw1N1pHAvkWCiXPRAqjvToILvguNyEwjevUqAuBQWvQ==} - '@vue/runtime-core@3.5.25': - resolution: {integrity: sha512-Z751v203YWwYzy460bzsYQISDfPjHTl+6Zzwo/a3CsAf+0ccEjQ8c+0CdX1WsumRTHeywvyUFtW6KvNukT/smA==} - - '@vue/runtime-dom@3.5.25': - resolution: {integrity: sha512-a4WrkYFbb19i9pjkz38zJBg8wa/rboNERq3+hRRb0dHiJh13c+6kAbgqCPfMaJ2gg4weWD3APZswASOfmKwamA==} - - '@vue/server-renderer@3.5.25': - resolution: {integrity: sha512-UJaXR54vMG61i8XNIzTSf2Q7MOqZHpp8+x3XLGtE3+fL+nQd+k7O5+X3D/uWrnQXOdMw5VPih+Uremcw+u1woQ==} - peerDependencies: - vue: 3.5.25 - - '@vue/shared@3.5.25': - resolution: {integrity: sha512-AbOPdQQnAnzs58H2FrrDxYj/TJfmeS2jdfEEhgiKINy+bnOANmVizIEgq1r+C5zsbs6l1CCQxtcj71rwNQ4jWg==} - - '@vuetify/loader-shared@2.1.1': - resolution: {integrity: sha512-jSZTzTYaoiv8iwonFCVZQ0YYX/M+Uyl4ng+C4egMJT0Hcmh9gIxJL89qfZICDeo3g0IhqrvipW2FFKKRDMtVcA==} + '@vuetify/loader-shared@2.1.2': + resolution: {integrity: sha512-X+1jBLmXHkpQEnC0vyOb4rtX2QSkBiFhaFXz8yhQqN2A4vQ6k2nChxN4Ol7VAY5KoqMdFoRMnmNdp/1qYXDQig==} peerDependencies: vue: ^3.0.0 - vuetify: ^3.0.0 + vuetify: '>=3' - alien-signals@3.1.1: - resolution: {integrity: sha512-ogkIWbVrLwKtHY6oOAXaYkAxP+cTH7V5FZ5+Tm4NZFd8VDZ6uNMDrfzqctTZ42eTMCSR3ne3otpcxmqSnFfPYA==} - - braces@3.0.3: - resolution: {integrity: sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==} - engines: {node: '>=8'} + alien-signals@3.1.2: + resolution: {integrity: sha512-d9dYqZTS90WLiU0I5c6DHj/HcKkF8ZyGN3G5x8wSbslulz70KOxaqCT0hQCo9KOyhVqzqGojvNdJXoTumZOtcw==} chokidar@4.0.3: resolution: {integrity: sha512-Qgzu8kfBvo+cA4962jnP1KkS6Dop5NS6g7R5LFYJr4b8Ub94PPQXUksCw9PvXoeXPRRddRNC5C1JQUR2SMGtnA==} @@ -528,13 +587,12 @@ packages: supports-color: optional: true - detect-libc@1.0.3: - resolution: {integrity: sha512-pGjwhsmsp4kL2RTz08wcOlGN83otlqHeD/Z5T8GXZB+/YcpQ/dgo+lbU8ZsGxV0HIvqqxo9l7mqYwyYMD9bKDg==} - engines: {node: '>=0.10'} - hasBin: true + detect-libc@2.1.2: + resolution: {integrity: sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ==} + engines: {node: '>=8'} - entities@4.5.0: - resolution: {integrity: sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==} + entities@7.0.1: + resolution: {integrity: sha512-TWrgLOFUQTH994YUyl1yT4uyavY5nNB5muff+RtWaqNVCAK408b5ZnnbNAUEWLTCpum9w6arT70i1XdQ4UeOPA==} engines: {node: '>=0.12'} esbuild@0.25.12: @@ -554,10 +612,6 @@ packages: picomatch: optional: true - fill-range@7.1.1: - resolution: {integrity: sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==} - engines: {node: '>=8'} - fsevents@2.3.3: resolution: {integrity: sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==} engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0} @@ -574,10 +628,6 @@ packages: resolution: {integrity: sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==} engines: {node: '>=0.10.0'} - is-number@7.0.0: - resolution: {integrity: sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==} - engines: {node: '>=0.12.0'} - lucide-vue-next@0.563.0: resolution: {integrity: sha512-zsE/lCKtmaa7bGfhSpN84br1K9YoQ5pCN+2oKWjQQG3Lo6ufUUKBuHSjNFI6RvUevxaajNXb8XwFUKeTXG3sIA==} peerDependencies: @@ -586,10 +636,6 @@ packages: magic-string@0.30.21: resolution: {integrity: sha512-vd2F4YUyEXKGcLHoq+TEyCjxueSeHnFxyyjNp80yg0XV4vUhnDer/lvvlqM/arB5bXQN5K2/3oinyCRyx8T2CQ==} - micromatch@4.0.8: - resolution: {integrity: sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==} - engines: {node: '>=8.6'} - ms@2.1.3: resolution: {integrity: sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==} @@ -613,9 +659,9 @@ packages: encoding: optional: true - p-comuns@git+https://git2.idz.one/publico/_comuns.git#d783fa12940a5b1bcafa5038bd1c49c3f5f9b7fc: - resolution: {commit: d783fa12940a5b1bcafa5038bd1c49c3f5f9b7fc, repo: https://git2.idz.one/publico/_comuns.git, type: git} - version: 0.298.0 + p-comuns@git+https://git2.idz.one/publico/_comuns.git#303832ba8c4ee87cbdc6ae80ff12a56da6ce37cf: + resolution: {commit: 303832ba8c4ee87cbdc6ae80ff12a56da6ce37cf, repo: https://git2.idz.one/publico/_comuns.git, type: git} + version: 0.304.0 peerDependencies: cross-fetch: 4.1.0 dayjs: ^1.11.18 @@ -633,10 +679,6 @@ packages: picocolors@1.1.1: resolution: {integrity: sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==} - picomatch@2.3.1: - resolution: {integrity: sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==} - engines: {node: '>=8.6'} - picomatch@4.0.3: resolution: {integrity: sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==} engines: {node: '>=12'} @@ -649,13 +691,13 @@ packages: resolution: {integrity: sha512-GDhwkLfywWL2s6vEjyhri+eXmfH6j1L7JE27WhqLeYzoh/A3DBaYGEj2H/HFZCn/kMfim73FXxEJTw06WtxQwg==} engines: {node: '>= 14.18.0'} - rollup@4.53.3: - resolution: {integrity: sha512-w8GmOxZfBmKknvdXU1sdM9NHcoQejwF/4mNgj2JuEEdRaHwwF12K7e9eXn1nLZ07ad+du76mkVsyeb2rKGllsA==} + rollup@4.57.1: + resolution: {integrity: sha512-oQL6lgK3e2QZeQ7gcgIkS2YZPg5slw37hYufJ3edKlfQSGGm8ICoxswK15ntSzF/a8+h7ekRy7k7oWc3BQ7y8A==} engines: {node: '>=18.0.0', npm: '>=8.0.0'} hasBin: true - sass@1.94.2: - resolution: {integrity: sha512-N+7WK20/wOr7CzA2snJcUSSNTCzeCGUTFY3OgeQP3mZ1aj9NMQ0mSTXwlrnd89j33zzQJGqIN52GIOmYrfq46A==} + sass@1.97.3: + resolution: {integrity: sha512-fDz1zJpd5GycprAbu4Q2PV/RprsRtKC/0z82z0JLgdytmcq0+ujJbJ/09bPGDxCLkKY3Np5cRAOcWiVkLXJURg==} engines: {node: '>=14.0.0'} hasBin: true @@ -667,10 +709,6 @@ packages: resolution: {integrity: sha512-j2Zq4NyQYG5XMST4cbs02Ak8iJUdxRM0XI5QyxXuZOzKOINmWurp3smXu3y5wDcJrptwpSjgXHzIQxR0omXljQ==} engines: {node: '>=12.0.0'} - to-regex-range@5.0.1: - resolution: {integrity: sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==} - engines: {node: '>=8.0'} - tr46@0.0.3: resolution: {integrity: sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==} @@ -679,9 +717,6 @@ packages: engines: {node: '>=14.17'} hasBin: true - undici-types@7.16.0: - resolution: {integrity: sha512-Zz+aZWSj8LE6zoxD+xrjh4VfkIG8Ya6LvYkZqtUQGJPZjYl53ypCaUwWqo7eI0x66KBGeRo+mlBEkMSeSZ38Nw==} - upath@2.0.1: resolution: {integrity: sha512-1uEe95xksV1O0CYKXo8vQvN1JEbtJp7lb7C5U9HMsIp6IVwntkH/oNUzyVNQSd4S1sYk2FpSSW44FqMc8qee5w==} engines: {node: '>=4'} @@ -695,13 +730,13 @@ packages: peerDependencies: vite: '>2.0.0-0' - vite-plugin-vuetify@2.1.2: - resolution: {integrity: sha512-I/wd6QS+DO6lHmuGoi1UTyvvBTQ2KDzQZ9oowJQEJ6OcjWfJnscYXx2ptm6S7fJSASuZT8jGRBL3LV4oS3LpaA==} + vite-plugin-vuetify@2.1.3: + resolution: {integrity: sha512-Q4SC/4TqbNvaZIFb9YsfBqkGlYHbJJJ6uU3CnRBZqLUF3s5eCMVZAaV4GkTbehIH/bhSj42lMXztOwc71u6rVw==} engines: {node: ^18.0.0 || >=20.0.0} peerDependencies: vite: '>=5' vue: ^3.0.0 - vuetify: ^3.0.0 + vuetify: '>=3' vite@6.4.1: resolution: {integrity: sha512-+Oxm7q9hDoLMyJOYfUYBuHQo+dkAloi33apOPP56pzj+vsdJDzr+j1NISE5pyaAuKL4A3UD34qd0lx5+kfKp2g==} @@ -746,22 +781,22 @@ packages: vscode-uri@3.1.0: resolution: {integrity: sha512-/BpdSx+yCQGnCvecbyXdxHDkuk55/G3xwnC0GqY4gmQ3j+A+g8kzzgB4Nk/SINjqn6+waqw3EgbVF2QKExkRxQ==} - vue-tsc@3.1.6: - resolution: {integrity: sha512-h5mMNGIDI+WMZxTeuYcpfSeDtBIiHXAg3qsrt65H4vcFTYmuM1THNHMzlnDvD8kX0fwLuf6auxWP340bH/zcpw==} + vue-tsc@3.2.4: + resolution: {integrity: sha512-xj3YCvSLNDKt1iF9OcImWHhmYcihVu9p4b9s4PGR/qp6yhW+tZJaypGxHScRyOrdnHvaOeF+YkZOdKwbgGvp5g==} hasBin: true peerDependencies: typescript: '>=5.0.0' - vue@3.5.25: - resolution: {integrity: sha512-YLVdgv2K13WJ6n+kD5owehKtEXwdwXuj2TTyJMsO7pSeKw2bfRNZGjhB7YzrpbMYj5b5QsUebHpOqR3R3ziy/g==} + vue@3.5.28: + resolution: {integrity: sha512-BRdrNfeoccSoIZeIhyPBfvWSLFP4q8J3u8Ju8Ug5vu3LdD+yTM13Sg4sKtljxozbnuMu1NB1X5HBHRYUzFocKg==} peerDependencies: typescript: '*' peerDependenciesMeta: typescript: optional: true - vuetify@3.11.2: - resolution: {integrity: sha512-1lL0qN6JIdbx6xGYpo6dnx378EfC0t4EotPJdP4go8ThmIdRO3xLva1ALxhxi5lSYTht4R9OVk9miVnwVfDx3A==} + vuetify@3.11.8: + resolution: {integrity: sha512-4iKnntOnLFFklygZjzlVfcHrtLO8+iK4HOhiia6HP2U8v82x+ngaSCgm+epvPrGyCMfCpfuEttqD2qElrr1axw==} peerDependencies: typescript: '>=4.7' vite-plugin-vuetify: '>=2.1.0' @@ -793,15 +828,50 @@ snapshots: '@babel/helper-validator-identifier@7.28.5': {} - '@babel/parser@7.28.5': + '@babel/parser@7.29.0': dependencies: - '@babel/types': 7.28.5 + '@babel/types': 7.29.0 - '@babel/types@7.28.5': + '@babel/types@7.29.0': dependencies: '@babel/helper-string-parser': 7.27.1 '@babel/helper-validator-identifier': 7.28.5 + '@biomejs/biome@2.4.0': + 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.0': + optional: true + + '@biomejs/cli-darwin-x64@2.4.0': + optional: true + + '@biomejs/cli-linux-arm64-musl@2.4.0': + optional: true + + '@biomejs/cli-linux-arm64@2.4.0': + optional: true + + '@biomejs/cli-linux-x64-musl@2.4.0': + optional: true + + '@biomejs/cli-linux-x64@2.4.0': + optional: true + + '@biomejs/cli-win32-arm64@2.4.0': + optional: true + + '@biomejs/cli-win32-x64@2.4.0': + optional: true + '@esbuild/aix-ppc64@0.25.12': optional: true @@ -884,235 +954,232 @@ snapshots: '@mdi/font@7.4.47': {} - '@parcel/watcher-android-arm64@2.5.1': + '@parcel/watcher-android-arm64@2.5.6': optional: true - '@parcel/watcher-darwin-arm64@2.5.1': + '@parcel/watcher-darwin-arm64@2.5.6': optional: true - '@parcel/watcher-darwin-x64@2.5.1': + '@parcel/watcher-darwin-x64@2.5.6': optional: true - '@parcel/watcher-freebsd-x64@2.5.1': + '@parcel/watcher-freebsd-x64@2.5.6': optional: true - '@parcel/watcher-linux-arm-glibc@2.5.1': + '@parcel/watcher-linux-arm-glibc@2.5.6': optional: true - '@parcel/watcher-linux-arm-musl@2.5.1': + '@parcel/watcher-linux-arm-musl@2.5.6': optional: true - '@parcel/watcher-linux-arm64-glibc@2.5.1': + '@parcel/watcher-linux-arm64-glibc@2.5.6': optional: true - '@parcel/watcher-linux-arm64-musl@2.5.1': + '@parcel/watcher-linux-arm64-musl@2.5.6': optional: true - '@parcel/watcher-linux-x64-glibc@2.5.1': + '@parcel/watcher-linux-x64-glibc@2.5.6': optional: true - '@parcel/watcher-linux-x64-musl@2.5.1': + '@parcel/watcher-linux-x64-musl@2.5.6': optional: true - '@parcel/watcher-win32-arm64@2.5.1': + '@parcel/watcher-win32-arm64@2.5.6': optional: true - '@parcel/watcher-win32-ia32@2.5.1': + '@parcel/watcher-win32-ia32@2.5.6': optional: true - '@parcel/watcher-win32-x64@2.5.1': + '@parcel/watcher-win32-x64@2.5.6': optional: true - '@parcel/watcher@2.5.1': + '@parcel/watcher@2.5.6': dependencies: - detect-libc: 1.0.3 + detect-libc: 2.1.2 is-glob: 4.0.3 - micromatch: 4.0.8 node-addon-api: 7.1.1 + picomatch: 4.0.3 optionalDependencies: - '@parcel/watcher-android-arm64': 2.5.1 - '@parcel/watcher-darwin-arm64': 2.5.1 - '@parcel/watcher-darwin-x64': 2.5.1 - '@parcel/watcher-freebsd-x64': 2.5.1 - '@parcel/watcher-linux-arm-glibc': 2.5.1 - '@parcel/watcher-linux-arm-musl': 2.5.1 - '@parcel/watcher-linux-arm64-glibc': 2.5.1 - '@parcel/watcher-linux-arm64-musl': 2.5.1 - '@parcel/watcher-linux-x64-glibc': 2.5.1 - '@parcel/watcher-linux-x64-musl': 2.5.1 - '@parcel/watcher-win32-arm64': 2.5.1 - '@parcel/watcher-win32-ia32': 2.5.1 - '@parcel/watcher-win32-x64': 2.5.1 + '@parcel/watcher-android-arm64': 2.5.6 + '@parcel/watcher-darwin-arm64': 2.5.6 + '@parcel/watcher-darwin-x64': 2.5.6 + '@parcel/watcher-freebsd-x64': 2.5.6 + '@parcel/watcher-linux-arm-glibc': 2.5.6 + '@parcel/watcher-linux-arm-musl': 2.5.6 + '@parcel/watcher-linux-arm64-glibc': 2.5.6 + '@parcel/watcher-linux-arm64-musl': 2.5.6 + '@parcel/watcher-linux-x64-glibc': 2.5.6 + '@parcel/watcher-linux-x64-musl': 2.5.6 + '@parcel/watcher-win32-arm64': 2.5.6 + '@parcel/watcher-win32-ia32': 2.5.6 + '@parcel/watcher-win32-x64': 2.5.6 optional: true - '@rollup/rollup-android-arm-eabi@4.53.3': + '@rollup/rollup-android-arm-eabi@4.57.1': optional: true - '@rollup/rollup-android-arm64@4.53.3': + '@rollup/rollup-android-arm64@4.57.1': optional: true - '@rollup/rollup-darwin-arm64@4.53.3': + '@rollup/rollup-darwin-arm64@4.57.1': optional: true - '@rollup/rollup-darwin-x64@4.53.3': + '@rollup/rollup-darwin-x64@4.57.1': optional: true - '@rollup/rollup-freebsd-arm64@4.53.3': + '@rollup/rollup-freebsd-arm64@4.57.1': optional: true - '@rollup/rollup-freebsd-x64@4.53.3': + '@rollup/rollup-freebsd-x64@4.57.1': optional: true - '@rollup/rollup-linux-arm-gnueabihf@4.53.3': + '@rollup/rollup-linux-arm-gnueabihf@4.57.1': optional: true - '@rollup/rollup-linux-arm-musleabihf@4.53.3': + '@rollup/rollup-linux-arm-musleabihf@4.57.1': optional: true - '@rollup/rollup-linux-arm64-gnu@4.53.3': + '@rollup/rollup-linux-arm64-gnu@4.57.1': optional: true - '@rollup/rollup-linux-arm64-musl@4.53.3': + '@rollup/rollup-linux-arm64-musl@4.57.1': optional: true - '@rollup/rollup-linux-loong64-gnu@4.53.3': + '@rollup/rollup-linux-loong64-gnu@4.57.1': optional: true - '@rollup/rollup-linux-ppc64-gnu@4.53.3': + '@rollup/rollup-linux-loong64-musl@4.57.1': optional: true - '@rollup/rollup-linux-riscv64-gnu@4.53.3': + '@rollup/rollup-linux-ppc64-gnu@4.57.1': optional: true - '@rollup/rollup-linux-riscv64-musl@4.53.3': + '@rollup/rollup-linux-ppc64-musl@4.57.1': optional: true - '@rollup/rollup-linux-s390x-gnu@4.53.3': + '@rollup/rollup-linux-riscv64-gnu@4.57.1': optional: true - '@rollup/rollup-linux-x64-gnu@4.53.3': + '@rollup/rollup-linux-riscv64-musl@4.57.1': optional: true - '@rollup/rollup-linux-x64-musl@4.53.3': + '@rollup/rollup-linux-s390x-gnu@4.57.1': optional: true - '@rollup/rollup-openharmony-arm64@4.53.3': + '@rollup/rollup-linux-x64-gnu@4.57.1': optional: true - '@rollup/rollup-win32-arm64-msvc@4.53.3': + '@rollup/rollup-linux-x64-musl@4.57.1': optional: true - '@rollup/rollup-win32-ia32-msvc@4.53.3': + '@rollup/rollup-openbsd-x64@4.57.1': optional: true - '@rollup/rollup-win32-x64-gnu@4.53.3': + '@rollup/rollup-openharmony-arm64@4.57.1': optional: true - '@rollup/rollup-win32-x64-msvc@4.53.3': + '@rollup/rollup-win32-arm64-msvc@4.57.1': + optional: true + + '@rollup/rollup-win32-ia32-msvc@4.57.1': + optional: true + + '@rollup/rollup-win32-x64-gnu@4.57.1': + optional: true + + '@rollup/rollup-win32-x64-msvc@4.57.1': optional: true '@types/estree@1.0.8': {} - '@types/node@24.10.1': + '@vitejs/plugin-vue@5.2.4(vite@6.4.1(sass@1.97.3))(vue@3.5.28(typescript@5.9.3))': dependencies: - undici-types: 7.16.0 - optional: true + 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(@types/node@24.10.1)(sass@1.94.2))(vue@3.5.25(typescript@5.9.3))': + '@volar/language-core@2.4.27': dependencies: - vite: 6.4.1(@types/node@24.10.1)(sass@1.94.2) - vue: 3.5.25(typescript@5.9.3) + '@volar/source-map': 2.4.27 - '@volar/language-core@2.4.26': + '@volar/source-map@2.4.27': {} + + '@volar/typescript@2.4.27': dependencies: - '@volar/source-map': 2.4.26 - - '@volar/source-map@2.4.26': {} - - '@volar/typescript@2.4.26': - dependencies: - '@volar/language-core': 2.4.26 + '@volar/language-core': 2.4.27 path-browserify: 1.0.1 vscode-uri: 3.1.0 - '@vue/compiler-core@3.5.25': + '@vue/compiler-core@3.5.28': dependencies: - '@babel/parser': 7.28.5 - '@vue/shared': 3.5.25 - entities: 4.5.0 + '@babel/parser': 7.29.0 + '@vue/shared': 3.5.28 + entities: 7.0.1 estree-walker: 2.0.2 source-map-js: 1.2.1 - '@vue/compiler-dom@3.5.25': + '@vue/compiler-dom@3.5.28': dependencies: - '@vue/compiler-core': 3.5.25 - '@vue/shared': 3.5.25 + '@vue/compiler-core': 3.5.28 + '@vue/shared': 3.5.28 - '@vue/compiler-sfc@3.5.25': + '@vue/compiler-sfc@3.5.28': dependencies: - '@babel/parser': 7.28.5 - '@vue/compiler-core': 3.5.25 - '@vue/compiler-dom': 3.5.25 - '@vue/compiler-ssr': 3.5.25 - '@vue/shared': 3.5.25 + '@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 estree-walker: 2.0.2 magic-string: 0.30.21 postcss: 8.5.6 source-map-js: 1.2.1 - '@vue/compiler-ssr@3.5.25': + '@vue/compiler-ssr@3.5.28': dependencies: - '@vue/compiler-dom': 3.5.25 - '@vue/shared': 3.5.25 + '@vue/compiler-dom': 3.5.28 + '@vue/shared': 3.5.28 - '@vue/language-core@3.1.6(typescript@5.9.3)': + '@vue/language-core@3.2.4': dependencies: - '@volar/language-core': 2.4.26 - '@vue/compiler-dom': 3.5.25 - '@vue/shared': 3.5.25 - alien-signals: 3.1.1 + '@volar/language-core': 2.4.27 + '@vue/compiler-dom': 3.5.28 + '@vue/shared': 3.5.28 + alien-signals: 3.1.2 muggle-string: 0.4.1 path-browserify: 1.0.1 picomatch: 4.0.3 - optionalDependencies: - typescript: 5.9.3 - '@vue/reactivity@3.5.25': + '@vue/reactivity@3.5.28': dependencies: - '@vue/shared': 3.5.25 + '@vue/shared': 3.5.28 - '@vue/runtime-core@3.5.25': + '@vue/runtime-core@3.5.28': dependencies: - '@vue/reactivity': 3.5.25 - '@vue/shared': 3.5.25 + '@vue/reactivity': 3.5.28 + '@vue/shared': 3.5.28 - '@vue/runtime-dom@3.5.25': + '@vue/runtime-dom@3.5.28': dependencies: - '@vue/reactivity': 3.5.25 - '@vue/runtime-core': 3.5.25 - '@vue/shared': 3.5.25 + '@vue/reactivity': 3.5.28 + '@vue/runtime-core': 3.5.28 + '@vue/shared': 3.5.28 csstype: 3.2.3 - '@vue/server-renderer@3.5.25(vue@3.5.25(typescript@5.9.3))': + '@vue/server-renderer@3.5.28(vue@3.5.28(typescript@5.9.3))': dependencies: - '@vue/compiler-ssr': 3.5.25 - '@vue/shared': 3.5.25 - vue: 3.5.25(typescript@5.9.3) + '@vue/compiler-ssr': 3.5.28 + '@vue/shared': 3.5.28 + vue: 3.5.28(typescript@5.9.3) - '@vue/shared@3.5.25': {} + '@vue/shared@3.5.28': {} - '@vuetify/loader-shared@2.1.1(vue@3.5.25(typescript@5.9.3))(vuetify@3.11.2)': + '@vuetify/loader-shared@2.1.2(vue@3.5.28(typescript@5.9.3))(vuetify@3.11.8)': dependencies: upath: 2.0.1 - vue: 3.5.25(typescript@5.9.3) - vuetify: 3.11.2(typescript@5.9.3)(vite-plugin-vuetify@2.1.2)(vue@3.5.25(typescript@5.9.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)) - alien-signals@3.1.1: {} - - braces@3.0.3: - dependencies: - fill-range: 7.1.1 - optional: true + alien-signals@3.1.2: {} chokidar@4.0.3: dependencies: @@ -1132,10 +1199,10 @@ snapshots: dependencies: ms: 2.1.3 - detect-libc@1.0.3: + detect-libc@2.1.2: optional: true - entities@4.5.0: {} + entities@7.0.1: {} esbuild@0.25.12: optionalDependencies: @@ -1172,11 +1239,6 @@ snapshots: optionalDependencies: picomatch: 4.0.3 - fill-range@7.1.1: - dependencies: - to-regex-range: 5.0.1 - optional: true - fsevents@2.3.3: optional: true @@ -1190,23 +1252,14 @@ snapshots: is-extglob: 2.1.1 optional: true - is-number@7.0.0: - optional: true - - lucide-vue-next@0.563.0(vue@3.5.25(typescript@5.9.3)): + lucide-vue-next@0.563.0(vue@3.5.28(typescript@5.9.3)): dependencies: - vue: 3.5.25(typescript@5.9.3) + vue: 3.5.28(typescript@5.9.3) magic-string@0.30.21: dependencies: '@jridgewell/sourcemap-codec': 1.5.5 - micromatch@4.0.8: - dependencies: - braces: 3.0.3 - picomatch: 2.3.1 - optional: true - ms@2.1.3: {} muggle-string@0.4.1: {} @@ -1220,14 +1273,14 @@ snapshots: dependencies: whatwg-url: 5.0.0 - p-comuns@git+https://git2.idz.one/publico/_comuns.git#d783fa12940a5b1bcafa5038bd1c49c3f5f9b7fc(cross-fetch@4.1.0)(dayjs@1.11.19)(uuid@13.0.0)(zod@4.1.4): + p-comuns@git+https://git2.idz.one/publico/_comuns.git#303832ba8c4ee87cbdc6ae80ff12a56da6ce37cf(cross-fetch@4.1.0)(dayjs@1.11.19)(uuid@13.0.0)(zod@4.1.4): dependencies: cross-fetch: 4.1.0 dayjs: 1.11.19 uuid: 13.0.0 zod: 4.1.4 - p-comuns@git+https://git2.idz.one/publico/_comuns.git#d783fa12940a5b1bcafa5038bd1c49c3f5f9b7fc(cross-fetch@4.1.0)(dayjs@1.11.19)(uuid@13.0.0)(zod@4.3.6): + p-comuns@git+https://git2.idz.one/publico/_comuns.git#303832ba8c4ee87cbdc6ae80ff12a56da6ce37cf(cross-fetch@4.1.0)(dayjs@1.11.19)(uuid@13.0.0)(zod@4.3.6): dependencies: cross-fetch: 4.1.0 dayjs: 1.11.19 @@ -1236,7 +1289,7 @@ snapshots: p-respostas@git+https://git2.idz.one/publico/_respostas.git#8c24d790ace7255404745dcbdf12c5396e8b9843(cross-fetch@4.1.0)(dayjs@1.11.19)(uuid@13.0.0): dependencies: - p-comuns: git+https://git2.idz.one/publico/_comuns.git#d783fa12940a5b1bcafa5038bd1c49c3f5f9b7fc(cross-fetch@4.1.0)(dayjs@1.11.19)(uuid@13.0.0)(zod@4.1.4) + p-comuns: git+https://git2.idz.one/publico/_comuns.git#303832ba8c4ee87cbdc6ae80ff12a56da6ce37cf(cross-fetch@4.1.0)(dayjs@1.11.19)(uuid@13.0.0)(zod@4.1.4) zod: 4.1.4 transitivePeerDependencies: - cross-fetch @@ -1247,9 +1300,6 @@ snapshots: picocolors@1.1.1: {} - picomatch@2.3.1: - optional: true - picomatch@4.0.3: {} postcss@8.5.6: @@ -1260,41 +1310,44 @@ snapshots: readdirp@4.1.2: {} - rollup@4.53.3: + rollup@4.57.1: dependencies: '@types/estree': 1.0.8 optionalDependencies: - '@rollup/rollup-android-arm-eabi': 4.53.3 - '@rollup/rollup-android-arm64': 4.53.3 - '@rollup/rollup-darwin-arm64': 4.53.3 - '@rollup/rollup-darwin-x64': 4.53.3 - '@rollup/rollup-freebsd-arm64': 4.53.3 - '@rollup/rollup-freebsd-x64': 4.53.3 - '@rollup/rollup-linux-arm-gnueabihf': 4.53.3 - '@rollup/rollup-linux-arm-musleabihf': 4.53.3 - '@rollup/rollup-linux-arm64-gnu': 4.53.3 - '@rollup/rollup-linux-arm64-musl': 4.53.3 - '@rollup/rollup-linux-loong64-gnu': 4.53.3 - '@rollup/rollup-linux-ppc64-gnu': 4.53.3 - '@rollup/rollup-linux-riscv64-gnu': 4.53.3 - '@rollup/rollup-linux-riscv64-musl': 4.53.3 - '@rollup/rollup-linux-s390x-gnu': 4.53.3 - '@rollup/rollup-linux-x64-gnu': 4.53.3 - '@rollup/rollup-linux-x64-musl': 4.53.3 - '@rollup/rollup-openharmony-arm64': 4.53.3 - '@rollup/rollup-win32-arm64-msvc': 4.53.3 - '@rollup/rollup-win32-ia32-msvc': 4.53.3 - '@rollup/rollup-win32-x64-gnu': 4.53.3 - '@rollup/rollup-win32-x64-msvc': 4.53.3 + '@rollup/rollup-android-arm-eabi': 4.57.1 + '@rollup/rollup-android-arm64': 4.57.1 + '@rollup/rollup-darwin-arm64': 4.57.1 + '@rollup/rollup-darwin-x64': 4.57.1 + '@rollup/rollup-freebsd-arm64': 4.57.1 + '@rollup/rollup-freebsd-x64': 4.57.1 + '@rollup/rollup-linux-arm-gnueabihf': 4.57.1 + '@rollup/rollup-linux-arm-musleabihf': 4.57.1 + '@rollup/rollup-linux-arm64-gnu': 4.57.1 + '@rollup/rollup-linux-arm64-musl': 4.57.1 + '@rollup/rollup-linux-loong64-gnu': 4.57.1 + '@rollup/rollup-linux-loong64-musl': 4.57.1 + '@rollup/rollup-linux-ppc64-gnu': 4.57.1 + '@rollup/rollup-linux-ppc64-musl': 4.57.1 + '@rollup/rollup-linux-riscv64-gnu': 4.57.1 + '@rollup/rollup-linux-riscv64-musl': 4.57.1 + '@rollup/rollup-linux-s390x-gnu': 4.57.1 + '@rollup/rollup-linux-x64-gnu': 4.57.1 + '@rollup/rollup-linux-x64-musl': 4.57.1 + '@rollup/rollup-openbsd-x64': 4.57.1 + '@rollup/rollup-openharmony-arm64': 4.57.1 + '@rollup/rollup-win32-arm64-msvc': 4.57.1 + '@rollup/rollup-win32-ia32-msvc': 4.57.1 + '@rollup/rollup-win32-x64-gnu': 4.57.1 + '@rollup/rollup-win32-x64-msvc': 4.57.1 fsevents: 2.3.3 - sass@1.94.2: + sass@1.97.3: dependencies: chokidar: 4.0.3 immutable: 5.1.4 source-map-js: 1.2.1 optionalDependencies: - '@parcel/watcher': 2.5.1 + '@parcel/watcher': 2.5.6 source-map-js@1.2.1: {} @@ -1303,74 +1356,65 @@ snapshots: fdir: 6.5.0(picomatch@4.0.3) picomatch: 4.0.3 - to-regex-range@5.0.1: - dependencies: - is-number: 7.0.0 - optional: true - tr46@0.0.3: {} typescript@5.9.3: {} - undici-types@7.16.0: - optional: true - upath@2.0.1: {} uuid@13.0.0: {} - vite-plugin-css-injected-by-js@3.5.2(vite@6.4.1(@types/node@24.10.1)(sass@1.94.2)): + vite-plugin-css-injected-by-js@3.5.2(vite@6.4.1(sass@1.97.3)): dependencies: - vite: 6.4.1(@types/node@24.10.1)(sass@1.94.2) + vite: 6.4.1(sass@1.97.3) - vite-plugin-vuetify@2.1.2(vite@6.4.1(@types/node@24.10.1)(sass@1.94.2))(vue@3.5.25(typescript@5.9.3))(vuetify@3.11.2): + 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): dependencies: - '@vuetify/loader-shared': 2.1.1(vue@3.5.25(typescript@5.9.3))(vuetify@3.11.2) + '@vuetify/loader-shared': 2.1.2(vue@3.5.28(typescript@5.9.3))(vuetify@3.11.8) debug: 4.4.3 upath: 2.0.1 - vite: 6.4.1(@types/node@24.10.1)(sass@1.94.2) - vue: 3.5.25(typescript@5.9.3) - vuetify: 3.11.2(typescript@5.9.3)(vite-plugin-vuetify@2.1.2)(vue@3.5.25(typescript@5.9.3)) + 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)) transitivePeerDependencies: - supports-color - vite@6.4.1(@types/node@24.10.1)(sass@1.94.2): + vite@6.4.1(sass@1.97.3): dependencies: esbuild: 0.25.12 fdir: 6.5.0(picomatch@4.0.3) picomatch: 4.0.3 postcss: 8.5.6 - rollup: 4.53.3 + rollup: 4.57.1 tinyglobby: 0.2.15 optionalDependencies: - '@types/node': 24.10.1 fsevents: 2.3.3 - sass: 1.94.2 + sass: 1.97.3 vscode-uri@3.1.0: {} - vue-tsc@3.1.6(typescript@5.9.3): + vue-tsc@3.2.4(typescript@5.9.3): dependencies: - '@volar/typescript': 2.4.26 - '@vue/language-core': 3.1.6(typescript@5.9.3) + '@volar/typescript': 2.4.27 + '@vue/language-core': 3.2.4 typescript: 5.9.3 - vue@3.5.25(typescript@5.9.3): + vue@3.5.28(typescript@5.9.3): dependencies: - '@vue/compiler-dom': 3.5.25 - '@vue/compiler-sfc': 3.5.25 - '@vue/runtime-dom': 3.5.25 - '@vue/server-renderer': 3.5.25(vue@3.5.25(typescript@5.9.3)) - '@vue/shared': 3.5.25 + '@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 optionalDependencies: typescript: 5.9.3 - vuetify@3.11.2(typescript@5.9.3)(vite-plugin-vuetify@2.1.2)(vue@3.5.25(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)): dependencies: - vue: 3.5.25(typescript@5.9.3) + vue: 3.5.28(typescript@5.9.3) optionalDependencies: typescript: 5.9.3 - vite-plugin-vuetify: 2.1.2(vite@6.4.1(@types/node@24.10.1)(sass@1.94.2))(vue@3.5.25(typescript@5.9.3))(vuetify@3.11.2) + 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) webidl-conversions@3.0.1: {} diff --git a/src/componentes/EliEntrada/EliEntradaDataHora.vue b/src/componentes/EliEntrada/EliEntradaDataHora.vue index a528c8d..792d1ba 100644 --- a/src/componentes/EliEntrada/EliEntradaDataHora.vue +++ b/src/componentes/EliEntrada/EliEntradaDataHora.vue @@ -23,28 +23,28 @@ \ No newline at end of file diff --git a/src/componentes/EliEntrada/EliEntradaSelecao.vue b/src/componentes/EliEntrada/EliEntradaSelecao.vue index 3b3ef62..0ea6a06 100644 --- a/src/componentes/EliEntrada/EliEntradaSelecao.vue +++ b/src/componentes/EliEntrada/EliEntradaSelecao.vue @@ -23,12 +23,19 @@ \ No newline at end of file diff --git a/src/componentes/EliEntrada/EliEntradaTexto.vue b/src/componentes/EliEntrada/EliEntradaTexto.vue index 9b25d61..99a340a 100644 --- a/src/componentes/EliEntrada/EliEntradaTexto.vue +++ b/src/componentes/EliEntrada/EliEntradaTexto.vue @@ -15,13 +15,13 @@ diff --git a/src/componentes/EliEntrada/index.ts b/src/componentes/EliEntrada/index.ts index e4a747c..5930b7d 100644 --- a/src/componentes/EliEntrada/index.ts +++ b/src/componentes/EliEntrada/index.ts @@ -1,8 +1,14 @@ -import EliEntradaTexto from "./EliEntradaTexto.vue"; -import EliEntradaNumero from "./EliEntradaNumero.vue"; -import EliEntradaDataHora from "./EliEntradaDataHora.vue"; -import EliEntradaParagrafo from "./EliEntradaParagrafo.vue"; -import EliEntradaSelecao from "./EliEntradaSelecao.vue"; +import EliEntradaDataHora from "./EliEntradaDataHora.vue" +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 { + EliEntradaTexto, + EliEntradaNumero, + EliEntradaDataHora, + EliEntradaParagrafo, + EliEntradaSelecao, +} +export type { PadroesEntradas, TipoEntrada } from "./tiposEntradas" diff --git a/src/componentes/EliEntrada/registryEliEntradas.ts b/src/componentes/EliEntrada/registryEliEntradas.ts index 1febd7d..687cb0f 100644 --- a/src/componentes/EliEntrada/registryEliEntradas.ts +++ b/src/componentes/EliEntrada/registryEliEntradas.ts @@ -1,12 +1,11 @@ -import type { Component } from "vue"; +import type { Component } from "vue" +import EliEntradaDataHora from "./EliEntradaDataHora.vue" +import EliEntradaNumero from "./EliEntradaNumero.vue" +import EliEntradaParagrafo from "./EliEntradaParagrafo.vue" +import EliEntradaSelecao from "./EliEntradaSelecao.vue" +import EliEntradaTexto from "./EliEntradaTexto.vue" -import EliEntradaTexto from "./EliEntradaTexto.vue"; -import EliEntradaNumero from "./EliEntradaNumero.vue"; -import EliEntradaDataHora from "./EliEntradaDataHora.vue"; -import EliEntradaParagrafo from "./EliEntradaParagrafo.vue"; -import EliEntradaSelecao from "./EliEntradaSelecao.vue"; - -import type { TipoEntrada } from "./tiposEntradas"; +import type { TipoEntrada } from "./tiposEntradas" export const registryTabelaCelulas = { texto: EliEntradaTexto, @@ -14,4 +13,4 @@ export const registryTabelaCelulas = { dataHora: EliEntradaDataHora, paragrafo: EliEntradaParagrafo, selecao: EliEntradaSelecao, -} as const satisfies Record; +} as const satisfies Record diff --git a/src/componentes/EliEntrada/tiposEntradas.ts b/src/componentes/EliEntrada/tiposEntradas.ts index faa1313..a60799a 100644 --- a/src/componentes/EliEntrada/tiposEntradas.ts +++ b/src/componentes/EliEntrada/tiposEntradas.ts @@ -59,8 +59,6 @@ export type PadroesEntradas = { numero: tipoPadraoEntrada< number | null | undefined, { - - /** Unidade de medida (ex.: "kg", "m³") */ sufixo?: string @@ -187,12 +185,11 @@ export type PadroesEntradas = { */ export type TipoEntrada = keyof PadroesEntradas - - - -export type PadraoComponenteEntrada = - readonly [T, PadroesEntradas[T]['opcoes']] +export type PadraoComponenteEntrada = readonly [ + T, + PadroesEntradas[T]["opcoes"], +] export type ComponenteEntrada = { [K in TipoEntrada]: PadraoComponenteEntrada -}[TipoEntrada] \ No newline at end of file +}[TipoEntrada] diff --git a/src/componentes/EliEntrada/utils/cep.ts b/src/componentes/EliEntrada/utils/cep.ts index 9eb4cb6..cc0c5de 100644 --- a/src/componentes/EliEntrada/utils/cep.ts +++ b/src/componentes/EliEntrada/utils/cep.ts @@ -1,10 +1,10 @@ function somenteNumeros(valor: string) { - return valor.replace(/\D+/g, ""); + return valor.replace(/\D+/g, "") } /** Formata CEP no padrão 00000-000 */ export function formatarCep(valor: string) { - const digitos = somenteNumeros(valor); - if (!digitos) return ""; - return digitos.replace(/^(\d{5})(\d)/, "$1-$2").slice(0, 9); + const digitos = somenteNumeros(valor) + if (!digitos) return "" + return digitos.replace(/^(\d{5})(\d)/, "$1-$2").slice(0, 9) } diff --git a/src/componentes/EliEntrada/utils/cpfCnpj.ts b/src/componentes/EliEntrada/utils/cpfCnpj.ts index 8e66ac1..001c48c 100644 --- a/src/componentes/EliEntrada/utils/cpfCnpj.ts +++ b/src/componentes/EliEntrada/utils/cpfCnpj.ts @@ -1,9 +1,9 @@ function somenteNumeros(v: string): string { - return v.replace(/\D+/g, ""); + return v.replace(/\D+/g, "") } export function formatarCpfCnpj(v: string): string { - const d = somenteNumeros(v); + const d = somenteNumeros(v) // CPF if (d.length <= 11) { @@ -11,7 +11,7 @@ export function formatarCpfCnpj(v: string): string { .replace(/(\d{3})(\d)/, "$1.$2") .replace(/(\d{3})(\d)/, "$1.$2") .replace(/(\d{3})(\d{1,2})$/, "$1-$2") - .slice(0, 14); + .slice(0, 14) } // CNPJ @@ -20,5 +20,5 @@ export function formatarCpfCnpj(v: string): string { .replace(/^(\d{2})\.(\d{3})(\d)/, "$1.$2.$3") .replace(/\.(\d{3})(\d)/, ".$1/$2") .replace(/(\d{4})(\d)/, "$1-$2") - .slice(0, 18); + .slice(0, 18) } diff --git a/src/componentes/EliEntrada/utils/telefone.ts b/src/componentes/EliEntrada/utils/telefone.ts index dcd7d04..787ad4c 100644 --- a/src/componentes/EliEntrada/utils/telefone.ts +++ b/src/componentes/EliEntrada/utils/telefone.ts @@ -2,28 +2,28 @@ * Remove tudo que não é número */ export function sanitizeTelefone(value: string): string { - return value.replace(/\D+/g, ""); + return value.replace(/\D+/g, "") } /** * Aplica máscara dinâmica de telefone BR */ export function formatTelefone(value: string): string { - const digits = sanitizeTelefone(value); + const digits = sanitizeTelefone(value) - if (!digits) return ""; + if (!digits) return "" // (99) 9999-9999 if (digits.length <= 10) { return digits .replace(/^(\d{2})(\d)/, "($1) $2") .replace(/(\d{4})(\d)/, "$1-$2") - .slice(0, 14); + .slice(0, 14) } // (99) 99999-9999 return digits .replace(/^(\d{2})(\d)/, "($1) $2") .replace(/(\d{5})(\d)/, "$1-$2") - .slice(0, 15); + .slice(0, 15) } diff --git a/src/componentes/EliTabela/EliTabela.css b/src/componentes/EliTabela/EliTabela.css index cbc5f4a..1943756 100644 --- a/src/componentes/EliTabela/EliTabela.css +++ b/src/componentes/EliTabela/EliTabela.css @@ -147,6 +147,31 @@ z-index: 200; } +.eli-tabela__rodape { + display: flex; + align-items: center; + justify-content: flex-end; + gap: 12px; + margin-top: 12px; + flex-wrap: wrap; +} + +.eli-tabela__paginacao { + display: flex; + align-items: center; + justify-content: flex-end; + gap: 12px; + margin-top: 0; + flex-wrap: wrap; +} + +.eli-tabela__acoes-inferiores { + display: inline-flex; + gap: 8px; + align-items: center; + flex-wrap: wrap; +} + .eli-tabela__cabecalho { width: 100%; box-sizing: border-box; diff --git a/src/componentes/EliTabela/EliTabela.vue b/src/componentes/EliTabela/EliTabela.vue index a47ef4e..72db57e 100644 --- a/src/componentes/EliTabela/EliTabela.vue +++ b/src/componentes/EliTabela/EliTabela.vue @@ -9,11 +9,12 @@ @@ -100,44 +103,46 @@ * 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 { codigosResposta } from "p-respostas" /** Dependências do Vue (Composition API) */ import { computed, defineComponent, onBeforeUnmount, onMounted, - PropType, + type PropType, ref, watch, -} from "vue"; -/** Enum de códigos de resposta utilizado na consulta */ -import { codigosResposta } from "p-respostas"; -/** Componentes auxiliares */ -import EliTabelaCabecalho from "./EliTabelaCabecalho.vue"; -import EliTabelaEstados from "./EliTabelaEstados.vue"; -import EliTabelaDebug from "./EliTabelaDebug.vue"; -import EliTabelaHead from "./EliTabelaHead.vue"; -import EliTabelaBody from "./EliTabelaBody.vue"; -import EliTabelaMenuAcoes from "./EliTabelaMenuAcoes.vue"; -import EliTabelaPaginacao from "./EliTabelaPaginacao.vue"; -import EliTabelaModalColunas from "./EliTabelaModalColunas.vue"; -import EliTabelaModalFiltroAvancado from "./EliTabelaModalFiltroAvancado.vue"; -import type { tipoEliColuna } from "./types-eli-tabela"; -/** Tipos da configuração/contrato da tabela */ -import type { tipoEliTabelaConsulta } from "./types-eli-tabela"; -import type { tipoFiltro } from "./types-eli-tabela"; +} from "vue" // operadores usados no tipo de configuração; o operador aplicado vem travado no filtroAvancado. import { carregarConfigColunas, - salvarConfigColunas, type EliTabelaColunasConfig, -} from "./colunasStorage"; - + salvarConfigColunas, +} from "./colunasStorage" +import EliTabelaBody from "./EliTabelaBody.vue" +/** Componentes auxiliares */ +import EliTabelaCabecalho from "./EliTabelaCabecalho.vue" +import EliTabelaDebug from "./EliTabelaDebug.vue" +import EliTabelaEstados from "./EliTabelaEstados.vue" +import EliTabelaHead from "./EliTabelaHead.vue" +import EliTabelaMenuAcoes from "./EliTabelaMenuAcoes.vue" +import EliTabelaModalColunas from "./EliTabelaModalColunas.vue" +import EliTabelaModalFiltroAvancado from "./EliTabelaModalFiltroAvancado.vue" +import EliTabelaPaginacao from "./EliTabelaPaginacao.vue" import { carregarFiltroAvancado, - salvarFiltroAvancado, limparFiltroAvancado, -} from "./filtroAvancadoStorage"; + salvarFiltroAvancado, +} from "./filtroAvancadoStorage" +/** Tipos da configuração/contrato da tabela */ +import type { + parametrosConsulta, + tipoEliColuna, + tipoEliTabelaConsulta, + tipoFiltro, +} from "./types-eli-tabela" export default defineComponent({ name: "EliTabela", @@ -156,325 +161,394 @@ export default defineComponent({ props: { /** Configuração principal da tabela (colunas, consulta e ações) */ tabela: { + // biome-ignore lint/suspicious/noExplicitAny: dynamic table type: Object as PropType>, required: true, }, }, setup(props) { /** Flag para habilitar elementos de debug */ - const isDev = import.meta.env.DEV; + const isDev = import.meta.env.DEV /** Estados de carregamento/erro e dados retornados */ - const carregando = ref(false); - const erro = ref(null); - const linhas = ref([]); - const quantidade = ref(0); + const carregando = ref(false) + const erro = ref(null) + const linhas = ref([]) + const quantidade = ref(0) /** Controle de visibilidade das ações por linha */ - const acoesVisiveis = ref([]); + const acoesVisiveis = ref([]) /** Estado do menu de ações (aberto, elemento e posição) */ - const menuAberto = ref(null); + const menuAberto = ref(null) // O componente EliTabelaMenuAcoes expõe `menuEl` (ref do elemento
    ) - const menuPopup = ref<{ menuEl: { value: HTMLElement | null } } | null>(null); - const menuPopupPos = ref({ top: 0, left: 0 }); + const menuPopup = ref<{ menuEl: { value: HTMLElement | null } } | null>( + null, + ) + const menuPopupPos = ref({ top: 0, left: 0 }) /** Filtros e ordenação */ - const valorBusca = ref(""); - const paginaAtual = ref(1); - const colunaOrdenacao = ref(null); - const direcaoOrdenacao = ref<"asc" | "desc">("asc"); + const valorBusca = ref("") + const paginaAtual = ref(1) + const colunaOrdenacao = ref(null) + const direcaoOrdenacao = ref<"asc" | "desc">("asc") /** Filtro avançado (config + estado modal) */ - const modalFiltroAberto = ref(false); + const modalFiltroAberto = ref(false) type LinhaFiltroUI = { - coluna: keyof T; - valor: any; - }; + coluna: keyof T + // biome-ignore lint/suspicious/noExplicitAny: dynamic value + valor: any + } - const filtrosUi = ref>>(carregarFiltroAvancado(props.tabela.nome) as any); + // biome-ignore lint/suspicious/noExplicitAny: dynamic ui + const filtrosUi = ref>>( + // biome-ignore lint/suspicious/noExplicitAny: dynamic load + carregarFiltroAvancado(props.tabela.nome) as any, + ) function abrirModalFiltro() { - modalFiltroAberto.value = true; + modalFiltroAberto.value = true } function fecharModalFiltro() { - modalFiltroAberto.value = false; + modalFiltroAberto.value = false } function limparFiltrosAvancados() { - filtrosUi.value = []; - limparFiltroAvancado(props.tabela.nome); - modalFiltroAberto.value = false; + filtrosUi.value = [] + limparFiltroAvancado(props.tabela.nome) + modalFiltroAberto.value = false // Se o usuário estiver usando filtro avançado, a busca deixa de ter efeito. // Mantemos a regra combinatória (busca tem prioridade), então limpamos a busca. - valorBusca.value = ""; - if (paginaAtual.value !== 1) paginaAtual.value = 1; - else void carregar(); + valorBusca.value = "" + if (paginaAtual.value !== 1) paginaAtual.value = 1 + else void carregar() } + // biome-ignore lint/suspicious/noExplicitAny: dynamic ui function salvarFiltrosAvancados(novo: any[]) { - filtrosUi.value = (novo ?? []) as any; - salvarFiltroAvancado(props.tabela.nome, (novo ?? []) as any); - modalFiltroAberto.value = false; + // biome-ignore lint/suspicious/noExplicitAny: dynamic ui + filtrosUi.value = (novo ?? []) as any + // biome-ignore lint/suspicious/noExplicitAny: dynamic storage + salvarFiltroAvancado(props.tabela.nome, (novo ?? []) as any) + modalFiltroAberto.value = false // Ao aplicar filtros, limpamos a busca para garantir que os filtros sejam efetivos. // (busca tem prioridade sobre filtros) - valorBusca.value = ""; - if (paginaAtual.value !== 1) paginaAtual.value = 1; - else void carregar(); + valorBusca.value = "" + if (paginaAtual.value !== 1) paginaAtual.value = 1 + else void carregar() } const filtrosAvancadosAtivos = computed(() => { // Operador vem travado na definição (`tabela.filtroAvancado`). - const base = (props.tabela.filtroAvancado ?? []) as Array<{ coluna: string; operador: any }>; + const base = (props.tabela.filtroAvancado ?? []) as Array<{ + coluna: string + // biome-ignore lint/suspicious/noExplicitAny: dynamic operator + operador: any + }> return (filtrosUi.value ?? []) .filter((f) => f && f.coluna !== undefined) .map((f) => { - const b = base.find((x) => String(x.coluna) === String(f.coluna)); - if (!b) return null; + const b = base.find((x) => String(x.coluna) === String(f.coluna)) + if (!b) return null return { coluna: String(b.coluna), + // biome-ignore lint/suspicious/noExplicitAny: dynamic operator operador: b.operador as any, + // biome-ignore lint/suspicious/noExplicitAny: dynamic value valor: (f as any).valor, - } as tipoFiltro; + } as tipoFiltro }) - .filter(Boolean) as tipoFiltro[]; - }); + .filter(Boolean) as tipoFiltro[] + }) /** Alias reativo da prop tabela */ - const tabela = computed(() => props.tabela); + const tabela = computed(() => props.tabela) /** Exibição da busca e ações do cabeçalho */ - const exibirBusca = computed(() => Boolean(props.tabela.mostrarCaixaDeBusca)); - const acoesCabecalho = computed(() => props.tabela.acoesTabela ?? []); - const temAcoesCabecalho = computed(() => acoesCabecalho.value.length > 0); + const exibirBusca = computed(() => + Boolean(props.tabela.mostrarCaixaDeBusca), + ) + const acoesSuperiores = computed(() => + (props.tabela.acoesTabela ?? []).filter((a) => a.posicao === "superior"), + ) + const acoesInferiores = computed(() => + (props.tabela.acoesTabela ?? []).filter((a) => a.posicao === "inferior"), + ) + const temAcoesSuperiores = computed(() => acoesSuperiores.value.length > 0) + const temAcoesInferiores = computed(() => acoesInferiores.value.length > 0) + + const parametrosConsultaAtuais = computed(() => { + const limite = Math.max(1, registrosPorConsulta.value) + const offset = (paginaAtual.value - 1) * limite + + // biome-ignore lint/suspicious/noExplicitAny: dynamic params + const params: parametrosConsulta = { + offSet: offset, + limit: limite, + } + + const busca = (valorBusca.value ?? "").trim() + if (busca) { + params.texto_busca = busca + } else { + const filtros = filtrosAvancadosAtivos.value + if (filtros.length) params.filtros = filtros + } + + if (colunaOrdenacao.value) { + params.coluna_ordem = colunaOrdenacao.value + params.direcao_ordem = direcaoOrdenacao.value + } + + return params + }) /** Colunas: visibilidade/ordem com persistência */ - const modalColunasAberto = ref(false); + const modalColunasAberto = ref(false) const configColunas = ref( - carregarConfigColunas(props.tabela.nome) - ); + carregarConfigColunas(props.tabela.nome), + ) /** Linhas expandidas (para exibir colunas invisíveis) */ - const linhasExpandidas = ref>({}); + const linhasExpandidas = ref>({}) - const rotulosColunas = computed(() => props.tabela.colunas.map((c) => c.rotulo)); + const rotulosColunas = computed(() => + props.tabela.colunas.map((c) => c.rotulo), + ) const colunasInvisiveisEfetivas = computed(() => { - const colunas = props.tabela.colunas as Array>; + // biome-ignore lint/suspicious/noExplicitAny: dynamic column + const colunas = props.tabela.colunas as Array> const configTemDados = (configColunas.value.visiveis?.length ?? 0) > 0 || - (configColunas.value.invisiveis?.length ?? 0) > 0; + (configColunas.value.invisiveis?.length ?? 0) > 0 const invisiveisBaseRotulos = configTemDados - ? configColunas.value.invisiveis ?? [] - : colunas.filter((c) => c.visivel === false).map((c) => c.rotulo); + ? (configColunas.value.invisiveis ?? []) + : colunas.filter((c) => c.visivel === false).map((c) => c.rotulo) - const invisiveisSet = new Set(invisiveisBaseRotulos); - const base = colunas.filter((c) => invisiveisSet.has(c.rotulo)); + const invisiveisSet = new Set(invisiveisBaseRotulos) + const base = colunas.filter((c) => invisiveisSet.has(c.rotulo)) // ordenação: usa a lista (salva ou derivada do default) e adiciona novas ao final - const ordemSalva = invisiveisBaseRotulos; - const mapa = new Map>(); + const ordemSalva = invisiveisBaseRotulos + // biome-ignore lint/suspicious/noExplicitAny: dynamic map + const mapa = new Map>() for (const c of base) { - if (!mapa.has(c.rotulo)) mapa.set(c.rotulo, c); + if (!mapa.has(c.rotulo)) mapa.set(c.rotulo, c) } - const ordenadas: Array> = []; + // biome-ignore lint/suspicious/noExplicitAny: dynamic column + const ordenadas: Array> = [] for (const r of ordemSalva) { - const c = mapa.get(r); - if (c) ordenadas.push(c); + const c = mapa.get(r) + if (c) ordenadas.push(c) } for (const c of base) { - if (!ordenadas.includes(c)) ordenadas.push(c); + if (!ordenadas.includes(c)) ordenadas.push(c) } - return ordenadas; - }); + return ordenadas + }) - const temColunasInvisiveis = computed(() => colunasInvisiveisEfetivas.value.length > 0); + const temColunasInvisiveis = computed( + () => colunasInvisiveisEfetivas.value.length > 0, + ) const colunasEfetivas = computed(() => { - const colunas = props.tabela.colunas; - const todosRotulos = rotulosColunas.value; + const colunas = props.tabela.colunas + const todosRotulos = rotulosColunas.value const configTemDados = (configColunas.value.visiveis?.length ?? 0) > 0 || - (configColunas.value.invisiveis?.length ?? 0) > 0; + (configColunas.value.invisiveis?.length ?? 0) > 0 const invisiveisBaseRotulos = configTemDados - ? configColunas.value.invisiveis ?? [] - : (props.tabela.colunas as Array>) + ? (configColunas.value.invisiveis ?? []) + : // biome-ignore lint/suspicious/noExplicitAny: dynamic column + (props.tabela.colunas as Array>) .filter((c) => c.visivel === false) - .map((c) => c.rotulo); + .map((c) => c.rotulo) - const invisiveisSet = new Set(invisiveisBaseRotulos); + const invisiveisSet = new Set(invisiveisBaseRotulos) // base visiveis: remove invisiveis - const visiveisBaseRotulos = todosRotulos.filter((r) => !invisiveisSet.has(r)); - const visiveisSet = new Set(visiveisBaseRotulos); + const visiveisBaseRotulos = todosRotulos.filter( + (r) => !invisiveisSet.has(r), + ) + const visiveisSet = new Set(visiveisBaseRotulos) // aplica ordem salva; novas (sem definicao) entram no fim, respeitando ordem original - const ordemSalva = configTemDados ? configColunas.value.visiveis ?? [] : []; - const ordemFinal: string[] = []; + const ordemSalva = configTemDados + ? (configColunas.value.visiveis ?? []) + : [] + const ordemFinal: string[] = [] for (const r of ordemSalva) { - if (visiveisSet.has(r)) ordemFinal.push(r); + if (visiveisSet.has(r)) ordemFinal.push(r) } for (const r of visiveisBaseRotulos) { - if (!ordemFinal.includes(r)) ordemFinal.push(r); + if (!ordemFinal.includes(r)) ordemFinal.push(r) } // mapeia rótulo -> coluna, preservando duplicatas (se existirem) pelo primeiro match. // OBS: pressupoe rotulo unico; se repetir, comportamento fica indefinido. - const mapa = new Map(); + // biome-ignore lint/suspicious/noExplicitAny: dynamic map + const mapa = new Map() for (const c of colunas) { - if (!mapa.has(c.rotulo)) mapa.set(c.rotulo, c); + if (!mapa.has(c.rotulo)) mapa.set(c.rotulo, c) } - return ordemFinal.map((r) => mapa.get(r)).filter(Boolean); - }); + return ordemFinal.map((r) => mapa.get(r)).filter(Boolean) + }) const totalColunas = computed(() => { return ( colunasEfetivas.value.length + (temAcoes.value ? 1 : 0) + (temColunasInvisiveis.value ? 1 : 0) - ); - }); + ) + }) function abrirModalColunas() { - modalColunasAberto.value = true; + modalColunasAberto.value = true } function fecharModalColunas() { - modalColunasAberto.value = false; + modalColunasAberto.value = false } function salvarModalColunas(cfg: EliTabelaColunasConfig) { - configColunas.value = cfg; - salvarConfigColunas(props.tabela.nome, cfg); - modalColunasAberto.value = false; + configColunas.value = cfg + salvarConfigColunas(props.tabela.nome, cfg) + modalColunasAberto.value = false // ao mudar colunas, fecha detalhes expandidos - linhasExpandidas.value = {}; + linhasExpandidas.value = {} } function alternarLinhaExpandida(indice: number) { - const atual = Boolean(linhasExpandidas.value[indice]); + const atual = Boolean(linhasExpandidas.value[indice]) linhasExpandidas.value = { ...linhasExpandidas.value, [indice]: !atual, - }; + } } /** Registros por consulta (normaliza para inteiro positivo) */ const registrosPorConsulta = computed(() => { - const valor = props.tabela.registros_por_consulta; + const valor = props.tabela.registros_por_consulta if (typeof valor === "number" && valor > 0) { - return Math.floor(valor); + return Math.floor(valor) } - return 10; - }); + return 10 + }) /** Total de páginas calculado com base no total retornado pela API */ const totalPaginas = computed(() => { - const limite = registrosPorConsulta.value; - if (!limite || limite <= 0) return 1; - const total = quantidade.value ?? 0; - if (!total) return 1; - return Math.max(1, Math.ceil(total / limite)); - }); + const limite = registrosPorConsulta.value + if (!limite || limite <= 0) return 1 + const total = quantidade.value ?? 0 + if (!total) return 1 + return Math.max(1, Math.ceil(total / limite)) + }) /** As linhas já vêm paginadas do backend */ - const linhasPaginadas = computed(() => linhas.value ?? []); + const linhasPaginadas = computed(() => linhas.value ?? []) /** Quantidade exibida é a quantidade total retornada pela consulta */ - const quantidadeFiltrada = computed(() => quantidade.value ?? 0); + const quantidadeFiltrada = computed(() => quantidade.value ?? 0) /** Indica se existem ações por linha */ - const temAcoes = computed(() => (props.tabela.acoesLinha ?? []).length > 0); + const temAcoes = computed(() => (props.tabela.acoesLinha ?? []).length > 0) - const exibirFiltroAvancado = computed(() => (props.tabela.filtroAvancado ?? []).length > 0); + const exibirFiltroAvancado = computed( + () => (props.tabela.filtroAvancado ?? []).length > 0, + ) /** Sequencial para evitar race conditions entre consultas */ - let carregamentoSequencial = 0; + let carregamentoSequencial = 0 /** Calcula a posição do menu de ações na viewport */ function atualizarPosicaoMenu(anchor: HTMLElement) { - const rect = anchor.getBoundingClientRect(); - const gap = 8; + const rect = anchor.getBoundingClientRect() + const gap = 8 // Alinha no canto inferior direito do botão. // Se estourar a tela para baixo, abre para cima. - const alturaMenu = menuPopup.value?.menuEl?.value?.offsetHeight ?? 0; - const larguraMenu = menuPopup.value?.menuEl?.value?.offsetWidth ?? 180; + const alturaMenu = menuPopup.value?.menuEl?.value?.offsetHeight ?? 0 + const larguraMenu = menuPopup.value?.menuEl?.value?.offsetWidth ?? 180 - let top = rect.bottom + gap; - const left = rect.right - larguraMenu; + let top = rect.bottom + gap + const left = rect.right - larguraMenu if (alturaMenu && top + alturaMenu > window.innerHeight - gap) { - top = rect.top - gap - alturaMenu; + top = rect.top - gap - alturaMenu } menuPopupPos.value = { top: Math.max(gap, Math.round(top)), left: Math.max(gap, Math.round(left)), - }; + } } /** Fecha o menu quando ocorre clique fora */ function handleClickFora(evento: MouseEvent) { - if (menuAberto.value === null) return; + if (menuAberto.value === null) return - const alvo = evento.target as Node; - if (menuPopup.value?.menuEl?.value && menuPopup.value.menuEl.value.contains(alvo)) return; + const alvo = evento.target as Node + if (menuPopup.value?.menuEl?.value?.contains(alvo)) return if (import.meta.env.DEV) { // eslint-disable-next-line no-console - console.log("[EliTabela] click fora => fechar menu", { menuAberto: menuAberto.value }); + console.log("[EliTabela] click fora => fechar menu", { + menuAberto: menuAberto.value, + }) } - menuAberto.value = null; + menuAberto.value = null } /** Alterna ordenação e recarrega os dados */ function alternarOrdenacao(chave?: string) { - if (!chave) return; + if (!chave) return if (colunaOrdenacao.value === chave) { - direcaoOrdenacao.value = direcaoOrdenacao.value === "asc" ? "desc" : "asc"; - void carregar(); - return; + direcaoOrdenacao.value = + direcaoOrdenacao.value === "asc" ? "desc" : "asc" + void carregar() + return } - colunaOrdenacao.value = chave; - direcaoOrdenacao.value = "asc"; + colunaOrdenacao.value = chave + direcaoOrdenacao.value = "asc" if (paginaAtual.value !== 1) { - paginaAtual.value = 1; + paginaAtual.value = 1 } else { - void carregar(); + void carregar() } } /** Atualiza a busca e reinicia paginação, se necessário */ function atualizarBusca(texto: string) { - if (valorBusca.value === texto) return; + if (valorBusca.value === texto) return - valorBusca.value = texto; + valorBusca.value = texto if (paginaAtual.value !== 1) { - paginaAtual.value = 1; + paginaAtual.value = 1 } else { - void carregar(); + void carregar() } } /** Navega para a página solicitada com limites */ function irParaPagina(pagina: number) { - const alvo = Math.min(Math.max(1, pagina), totalPaginas.value); + const alvo = Math.min(Math.max(1, pagina), totalPaginas.value) if (alvo !== paginaAtual.value) { - paginaAtual.value = alvo; + paginaAtual.value = alvo } } @@ -482,8 +556,8 @@ export default defineComponent({ * Lista ações visíveis por linha, respeitando regras sync/async de `exibir`. */ function acoesDisponiveisPorLinha(i: number) { - const acoesLinha = props.tabela.acoesLinha ?? []; - const visibilidade = acoesVisiveis.value[i] ?? []; + const acoesLinha = props.tabela.acoesLinha ?? [] + const visibilidade = acoesVisiveis.value[i] ?? [] return acoesLinha .map((acao, indice) => { @@ -491,56 +565,59 @@ export default defineComponent({ acao.exibir === undefined ? true : typeof acao.exibir === "boolean" - ? acao.exibir - : false; + ? acao.exibir + : false return { acao, indice, visivel: visibilidade[indice] ?? fallbackVisivel, - }; + } }) - .filter((item) => item.visivel); + .filter((item) => item.visivel) } /** Informa se a linha possui ações disponíveis */ function possuiAcoes(i: number) { - return acoesDisponiveisPorLinha(i).length > 0; + return acoesDisponiveisPorLinha(i).length > 0 } /** Abre/fecha o menu de ações da linha e posiciona o popup */ function toggleMenu(i: number, evento?: MouseEvent) { - if (!possuiAcoes(i)) return; + if (!possuiAcoes(i)) return if (import.meta.env.DEV) { // eslint-disable-next-line no-console - console.log("[EliTabela] toggleMenu (antes)", { i, atual: menuAberto.value }); + console.log("[EliTabela] toggleMenu (antes)", { + i, + atual: menuAberto.value, + }) } if (menuAberto.value === i) { - menuAberto.value = null; + menuAberto.value = null if (import.meta.env.DEV) { // eslint-disable-next-line no-console - console.log("[EliTabela] toggleMenu => fechou", { i }); + console.log("[EliTabela] toggleMenu => fechou", { i }) } - return; + return } - menuAberto.value = i; + menuAberto.value = i if (import.meta.env.DEV) { // eslint-disable-next-line no-console - console.log("[EliTabela] toggleMenu => abriu", { i }); + console.log("[EliTabela] toggleMenu => abriu", { i }) } // posiciona assim que abrir - const anchor = (evento?.currentTarget as HTMLElement | null) ?? null; + const anchor = (evento?.currentTarget as HTMLElement | null) ?? null if (anchor) { // primeiro posicionamento (antes do menu medir) - atualizarPosicaoMenu(anchor); + atualizarPosicaoMenu(anchor) // reposiciona no próximo frame para pegar altura real - requestAnimationFrame(() => atualizarPosicaoMenu(anchor)); + requestAnimationFrame(() => atualizarPosicaoMenu(anchor)) } } @@ -549,188 +626,194 @@ export default defineComponent({ * Usa o contador sequencial para ignorar respostas antigas. */ async function carregar() { - const idCarregamento = ++carregamentoSequencial; - carregando.value = true; - erro.value = null; - acoesVisiveis.value = []; - menuAberto.value = null; - linhasExpandidas.value = {}; + const idCarregamento = ++carregamentoSequencial + carregando.value = true + erro.value = null + acoesVisiveis.value = [] + menuAberto.value = null + linhasExpandidas.value = {} - const limite = Math.max(1, registrosPorConsulta.value); - const offset = (paginaAtual.value - 1) * limite; + const limite = Math.max(1, registrosPorConsulta.value) + const offset = (paginaAtual.value - 1) * limite const parametrosConsulta: { - filtros?: tipoFiltro[]; - coluna_ordem?: never; - direcao_ordem?: "asc" | "desc"; - offSet: number; - limit: number; - texto_busca?: string; + filtros?: tipoFiltro[] + coluna_ordem?: never + direcao_ordem?: "asc" | "desc" + offSet: number + limit: number + texto_busca?: string } = { offSet: offset, limit: limite, - }; + } // Regra combinatória definida: busca tem prioridade. - const busca = (valorBusca.value ?? "").trim(); + const busca = (valorBusca.value ?? "").trim() if (busca) { - parametrosConsulta.texto_busca = busca; + parametrosConsulta.texto_busca = busca } else { - const filtros = filtrosAvancadosAtivos.value; - if (filtros.length) parametrosConsulta.filtros = filtros; + const filtros = filtrosAvancadosAtivos.value + if (filtros.length) parametrosConsulta.filtros = filtros } if (colunaOrdenacao.value) { - parametrosConsulta.coluna_ordem = colunaOrdenacao.value as never; - parametrosConsulta.direcao_ordem = direcaoOrdenacao.value; + parametrosConsulta.coluna_ordem = colunaOrdenacao.value as never + parametrosConsulta.direcao_ordem = direcaoOrdenacao.value } if (import.meta.env.DEV) { // eslint-disable-next-line no-console - console.log("[EliTabela] consulta(parametros)", parametrosConsulta); + console.log("[EliTabela] consulta(parametros)", parametrosConsulta) } try { - const tabelaConfig = props.tabela; - const res = await tabelaConfig.consulta(parametrosConsulta); + const tabelaConfig = props.tabela + const res = await tabelaConfig.consulta(parametrosConsulta) - if (idCarregamento !== carregamentoSequencial) return; + if (idCarregamento !== carregamentoSequencial) return if (res.cod !== codigosResposta.sucesso) { - linhas.value = []; - quantidade.value = 0; - erro.value = res.mensagem; - return; + linhas.value = [] + quantidade.value = 0 + erro.value = res.mensagem + return } - const valores = res.valor?.valores ?? []; - const total = (res.valor as any)?.quantidade ?? valores.length; + const valores = res.valor?.valores ?? [] + // biome-ignore lint/suspicious/noExplicitAny: dynamic response + const total = (res.valor as any)?.quantidade ?? valores.length - linhas.value = valores; - quantidade.value = Number(total) || 0; + linhas.value = valores + quantidade.value = Number(total) || 0 - const totalPaginasRecalculado = Math.max(1, Math.ceil((quantidade.value || 0) / limite)); - if (paginaAtual.value > totalPaginasRecalculado) paginaAtual.value = totalPaginasRecalculado; + const totalPaginasRecalculado = Math.max( + 1, + Math.ceil((quantidade.value || 0) / limite), + ) + if (paginaAtual.value > totalPaginasRecalculado) + paginaAtual.value = totalPaginasRecalculado - const acoesLinhaConfiguradas = tabelaConfig.acoesLinha ?? []; + const acoesLinhaConfiguradas = tabelaConfig.acoesLinha ?? [] if (!acoesLinhaConfiguradas.length) { - acoesVisiveis.value = []; - return; + acoesVisiveis.value = [] + return } const preResultado = valores.map(() => acoesLinhaConfiguradas.map((acao) => { - if (acao.exibir === undefined) return true; - if (typeof acao.exibir === "boolean") return acao.exibir; - return false; - }) - ); + if (acao.exibir === undefined) return true + if (typeof acao.exibir === "boolean") return acao.exibir + return false + }), + ) - acoesVisiveis.value = preResultado; + acoesVisiveis.value = preResultado const visibilidade = await Promise.all( valores.map(async (linha) => Promise.all( acoesLinhaConfiguradas.map(async (acao) => { - if (acao.exibir === undefined) return true; - if (typeof acao.exibir === "boolean") return acao.exibir; + if (acao.exibir === undefined) return true + if (typeof acao.exibir === "boolean") return acao.exibir try { - const resultado = acao.exibir(linha as never); - return Boolean(await Promise.resolve(resultado)); + const resultado = acao.exibir(linha as never) + return Boolean(await Promise.resolve(resultado)) } catch { - return false; + return false } - }) - ) - ) - ); + }), + ), + ), + ) if (idCarregamento === carregamentoSequencial) { - acoesVisiveis.value = visibilidade; + acoesVisiveis.value = visibilidade } } catch (e) { - if (idCarregamento !== carregamentoSequencial) return; + if (idCarregamento !== carregamentoSequencial) return - linhas.value = []; - quantidade.value = 0; - erro.value = e instanceof Error ? e.message : "Erro ao carregar dados."; + linhas.value = [] + quantidade.value = 0 + erro.value = e instanceof Error ? e.message : "Erro ao carregar dados." } finally { if (idCarregamento === carregamentoSequencial) { - carregando.value = false; + carregando.value = false } } } /** Ciclo de vida: registra listener global e carrega dados iniciais */ onMounted(() => { - document.addEventListener("click", handleClickFora); - void carregar(); - }); + document.addEventListener("click", handleClickFora) + void carregar() + }) /** Ciclo de vida: remove listener global */ onBeforeUnmount(() => { - document.removeEventListener("click", handleClickFora); - }); + document.removeEventListener("click", handleClickFora) + }) /** Watch: ao desabilitar busca, limpa termo e recarrega */ watch( () => props.tabela.mostrarCaixaDeBusca, (mostrar) => { if (!mostrar && valorBusca.value) { - valorBusca.value = ""; + valorBusca.value = "" if (paginaAtual.value !== 1) { - paginaAtual.value = 1; + paginaAtual.value = 1 } else { - void carregar(); + void carregar() } } - } - ); + }, + ) /** Watch: mudança de página dispara nova consulta */ watch(paginaAtual, (nova, antiga) => { - if (nova !== antiga) void carregar(); - }); + if (nova !== antiga) void carregar() + }) /** Watch: troca de configuração reseta estados e recarrega */ watch( () => props.tabela, () => { - menuAberto.value = null; - colunaOrdenacao.value = null; - direcaoOrdenacao.value = "asc"; - valorBusca.value = ""; - modalColunasAberto.value = false; - modalFiltroAberto.value = false; - configColunas.value = carregarConfigColunas(props.tabela.nome); - filtrosUi.value = carregarFiltroAvancado(props.tabela.nome) as any; - linhasExpandidas.value = {}; + menuAberto.value = null + colunaOrdenacao.value = null + direcaoOrdenacao.value = "asc" + valorBusca.value = "" + modalColunasAberto.value = false + modalFiltroAberto.value = false + configColunas.value = carregarConfigColunas(props.tabela.nome) + // biome-ignore lint/suspicious/noExplicitAny: dynamic reload + filtrosUi.value = carregarFiltroAvancado(props.tabela.nome) as any + linhasExpandidas.value = {} if (paginaAtual.value !== 1) { - paginaAtual.value = 1; + paginaAtual.value = 1 } else { - void carregar(); + void carregar() } - } - ); + }, + ) /** Watch: alteração do limite de registros reinicia paginação */ watch( () => props.tabela.registros_por_consulta, () => { if (paginaAtual.value !== 1) { - paginaAtual.value = 1; + paginaAtual.value = 1 } else { - void carregar(); + void carregar() } - } - ); + }, + ) /** Watch: mudança nas linhas fecha o menu aberto */ watch(linhas, () => { - menuAberto.value = null; - linhasExpandidas.value = {}; - }); + menuAberto.value = null + linhasExpandidas.value = {} + }) /** Exposição para o template (state, computed, helpers e actions) */ return { @@ -755,8 +838,11 @@ export default defineComponent({ // computed exibirBusca, exibirFiltroAvancado, - acoesCabecalho, - temAcoesCabecalho, + acoesSuperiores, + temAcoesSuperiores, + acoesInferiores, + temAcoesInferiores, + parametrosConsultaAtuais, temAcoes, totalColunas, colunasEfetivas, @@ -792,9 +878,9 @@ export default defineComponent({ // popup menuPopup, menuPopupPos, - }; + } }, -}); +}) diff --git a/src/componentes/EliTabela/EliTabelaBody.vue b/src/componentes/EliTabela/EliTabelaBody.vue index 0030949..d8bcad9 100644 --- a/src/componentes/EliTabela/EliTabelaBody.vue +++ b/src/componentes/EliTabela/EliTabelaBody.vue @@ -73,11 +73,11 @@ diff --git a/src/componentes/EliTabela/EliTabelaCabecalho.vue b/src/componentes/EliTabela/EliTabelaCabecalho.vue index 17ac89c..509f727 100644 --- a/src/componentes/EliTabela/EliTabelaCabecalho.vue +++ b/src/componentes/EliTabela/EliTabelaCabecalho.vue @@ -30,7 +30,7 @@ type="button" class="eli-tabela__acoes-cabecalho-botao" :style="botao.cor ? { backgroundColor: botao.cor, color: '#fff' } : undefined" - @click="botao.acao" + @click="botao.acao(parametrosConsulta)" > diff --git a/src/componentes/EliTabela/celulas/EliTabelaCelula.vue b/src/componentes/EliTabela/celulas/EliTabelaCelula.vue index 0b468f0..6ddb949 100644 --- a/src/componentes/EliTabela/celulas/EliTabelaCelula.vue +++ b/src/componentes/EliTabela/celulas/EliTabelaCelula.vue @@ -8,11 +8,15 @@ diff --git a/src/componentes/EliTabela/celulas/EliTabelaCelulaData.vue b/src/componentes/EliTabela/celulas/EliTabelaCelulaData.vue index d34d623..7e7adfd 100644 --- a/src/componentes/EliTabela/celulas/EliTabelaCelulaData.vue +++ b/src/componentes/EliTabela/celulas/EliTabelaCelulaData.vue @@ -12,14 +12,9 @@