migrado para typescript 7

This commit is contained in:
Luiz Silva 2026-08-04 09:44:15 -03:00
parent 1ee3b2d207
commit a9bac68e1b
47 changed files with 3386 additions and 31528 deletions

View file

@ -72,8 +72,6 @@
.playground-console-scroll::-webkit-scrollbar-thumb:hover {
background: #52525b;
}
</style>
<script lang="ts">
import { defineComponent, provide, ref } from "vue"
import { EliFeedbackWidget } from "../componentes/FeedbackWidget"
@ -83,6 +81,7 @@ import DataHoraPlayground from "./data_hora.playground.vue"
import EntradasPlayground from "./entradas.playground.vue"
import IndicadorPlayground from "./indicador.playground.vue"
import OlaMundoPlayground from "./ola_mundo.playground.vue"
import { PLAYGROUND_CONSOLE_KEY, type PlaygroundConsole } from "./playgroundConsole"
import TabelaPlayground from "./tabela.playground.vue"
type AbaPlayground =
@ -114,15 +113,6 @@ const mapaAbaParaHash: Record<AbaPlayground, string> = {
ola_mundo: "demo",
}
/** Chave de injeção para o console do playground */
export const PLAYGROUND_CONSOLE_KEY = "playgroundConsole"
/** Tipagem do console injetado */
export interface PlaygroundConsole {
adicionarLog: (acao: string, req: unknown, res: unknown) => void
logMensagem: (mensagem: string) => void
}
export default defineComponent({
name: "App",
components: {