@navservice/pages 1.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/es/backend/schema/_enum.d.ts +11 -0
- package/build/es/biblioteca/src/componentes/button/ButtonAddLandinPage.d.ts +5 -0
- package/build/es/biblioteca/src/componentes/card/CardLandingPage.d.ts +6 -0
- package/build/es/biblioteca/src/componentes/card/CardPromptHistorico.d.ts +8 -0
- package/build/es/biblioteca/src/componentes/drawer/DraweFullScreen.d.ts +12 -0
- package/build/es/biblioteca/src/componentes/drawer/DrawerPadrao.d.ts +13 -0
- package/build/es/biblioteca/src/componentes/formulario/Dominio.d.ts +5 -0
- package/build/es/biblioteca/src/componentes/formulario/Landingpage/Configuracao.d.ts +1 -0
- package/build/es/biblioteca/src/componentes/formulario/Landingpage/Contexto.d.ts +12 -0
- package/build/es/biblioteca/src/componentes/formulario/Landingpage/Criacao.d.ts +1 -0
- package/build/es/biblioteca/src/componentes/formulario/Landingpage/Design.d.ts +1 -0
- package/build/es/biblioteca/src/componentes/formulario/Landingpage/Implementacoes.d.ts +1 -0
- package/build/es/biblioteca/src/componentes/formulario/Landingpage/index.d.ts +5 -0
- package/build/es/biblioteca/src/componentes/input/InputChat.d.ts +6 -0
- package/build/es/biblioteca/src/contexto/contexto_dominio.d.ts +26 -0
- package/build/es/biblioteca/src/contexto/contexto_landing_page.d.ts +36 -0
- package/build/es/biblioteca/src/contexto/contexto_prompt.d.ts +36 -0
- package/build/es/biblioteca/src/index.d.ts +8 -0
- package/build/es/index.js +26608 -0
- package/build/es/index.js.LICENSE.txt +6 -0
- package/build/es/shared/configuracoes/_sistema.d.ts +49 -0
- package/build/es/shared/configuracoes/_theme.d.ts +91 -0
- package/build/es/shared/configuracoes/index.d.ts +142 -0
- package/build/es/shared/types/entidades/dominio.d.ts +77 -0
- package/build/es/shared/types/entidades/landingpage.d.ts +134 -0
- package/build/es/shared/types/entidades/prompt.d.ts +138 -0
- package/build/es/shared/types/geral/type_response.d.ts +54 -0
- package/build/es/shared/types/index.d.ts +44 -0
- package/build/lib/backend/schema/_enum.d.ts +11 -0
- package/build/lib/biblioteca/src/componentes/button/ButtonAddLandinPage.d.ts +5 -0
- package/build/lib/biblioteca/src/componentes/card/CardLandingPage.d.ts +6 -0
- package/build/lib/biblioteca/src/componentes/card/CardPromptHistorico.d.ts +8 -0
- package/build/lib/biblioteca/src/componentes/drawer/DraweFullScreen.d.ts +12 -0
- package/build/lib/biblioteca/src/componentes/drawer/DrawerPadrao.d.ts +13 -0
- package/build/lib/biblioteca/src/componentes/formulario/Dominio.d.ts +5 -0
- package/build/lib/biblioteca/src/componentes/formulario/Landingpage/Configuracao.d.ts +1 -0
- package/build/lib/biblioteca/src/componentes/formulario/Landingpage/Contexto.d.ts +12 -0
- package/build/lib/biblioteca/src/componentes/formulario/Landingpage/Criacao.d.ts +1 -0
- package/build/lib/biblioteca/src/componentes/formulario/Landingpage/Design.d.ts +1 -0
- package/build/lib/biblioteca/src/componentes/formulario/Landingpage/Implementacoes.d.ts +1 -0
- package/build/lib/biblioteca/src/componentes/formulario/Landingpage/index.d.ts +5 -0
- package/build/lib/biblioteca/src/componentes/input/InputChat.d.ts +6 -0
- package/build/lib/biblioteca/src/contexto/contexto_dominio.d.ts +26 -0
- package/build/lib/biblioteca/src/contexto/contexto_landing_page.d.ts +36 -0
- package/build/lib/biblioteca/src/contexto/contexto_prompt.d.ts +36 -0
- package/build/lib/biblioteca/src/index.d.ts +8 -0
- package/build/lib/index.js +37842 -0
- package/build/lib/shared/configuracoes/_sistema.d.ts +49 -0
- package/build/lib/shared/configuracoes/_theme.d.ts +91 -0
- package/build/lib/shared/configuracoes/index.d.ts +142 -0
- package/build/lib/shared/types/entidades/dominio.d.ts +77 -0
- package/build/lib/shared/types/entidades/landingpage.d.ts +134 -0
- package/build/lib/shared/types/entidades/prompt.d.ts +138 -0
- package/build/lib/shared/types/geral/type_response.d.ts +54 -0
- package/build/lib/shared/types/index.d.ts +44 -0
- package/package.json +31 -0
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
declare const schema_enum: {
|
|
2
|
+
prompt: {
|
|
3
|
+
get ai_status(): readonly ["completed", "failed", "in_progress", "cancelled", "queued", "incomplete", "waiting"];
|
|
4
|
+
get deploy_status(): readonly ["completed", "failed", "in_progress", "cancelled", "queued", "incomplete", "waiting"];
|
|
5
|
+
get deploy_branch(): readonly ["preview", "production"];
|
|
6
|
+
};
|
|
7
|
+
dominio: {
|
|
8
|
+
get status(): readonly ["initializing", "pending", "active", "deactivated", "blocked", "error"];
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
export default schema_enum;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import t from "../../../../shared/types";
|
|
2
|
+
interface CardPromptHistoricoProps {
|
|
3
|
+
_id: string;
|
|
4
|
+
onDeploy: (item: t.Controller.Prompt.BuscarPeloFiltro.Output["data"]["prompt"][0]) => void;
|
|
5
|
+
onVisualizar: () => void;
|
|
6
|
+
}
|
|
7
|
+
export declare const CardPromptHistorico: import("react").NamedExoticComponent<CardPromptHistoricoProps>;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ReactNode } from "react";
|
|
2
|
+
type DrawerFullScreenProps = {
|
|
3
|
+
title?: ReactNode;
|
|
4
|
+
children?: ReactNode;
|
|
5
|
+
onClose?: () => void;
|
|
6
|
+
};
|
|
7
|
+
export type TypeDrawerFullScreenRef = {
|
|
8
|
+
abrir: () => void;
|
|
9
|
+
fechar: () => void;
|
|
10
|
+
};
|
|
11
|
+
export declare const DrawerFullScreen: import("react").ForwardRefExoticComponent<DrawerFullScreenProps & import("react").RefAttributes<TypeDrawerFullScreenRef>>;
|
|
12
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ReactNode, ElementType } from "react";
|
|
2
|
+
type DrawerPadraoProps = {
|
|
3
|
+
title?: ReactNode;
|
|
4
|
+
children?: ReactNode;
|
|
5
|
+
icon?: ElementType;
|
|
6
|
+
onClose?: () => void;
|
|
7
|
+
};
|
|
8
|
+
export type TypeDrawerPadraoRef = {
|
|
9
|
+
abrir: () => void;
|
|
10
|
+
fechar: () => void;
|
|
11
|
+
};
|
|
12
|
+
export declare const DrawerPadrao: import("react").ForwardRefExoticComponent<DrawerPadraoProps & import("react").RefAttributes<TypeDrawerPadraoRef>>;
|
|
13
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function LandingPageConfiguracao(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import t from "../../../../../shared/types";
|
|
2
|
+
interface LandingPageState {
|
|
3
|
+
landing_page_selecionada: t.Controller.LandingPage.BuscarPeloFiltro.Output["data"]["landing_page"][0] | undefined;
|
|
4
|
+
}
|
|
5
|
+
export declare const FormularioLandingPageContexto: {
|
|
6
|
+
set_state: (updater: (state: LandingPageState) => void) => void;
|
|
7
|
+
get get_state(): LandingPageState;
|
|
8
|
+
get_jsx: <T>(selector: (state: {
|
|
9
|
+
states: LandingPageState;
|
|
10
|
+
}) => T) => T;
|
|
11
|
+
};
|
|
12
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function LandingPageCriacao(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function LandingPageDesign(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function LandingPageImplementacoes(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import t from "../../../shared/types";
|
|
2
|
+
interface LandingPageDominioState {
|
|
3
|
+
buscar_pelo_landing_page_id: {
|
|
4
|
+
loading: boolean;
|
|
5
|
+
input: t.Controller.Dominio.BuscarPeloLandingPageId.Input | undefined;
|
|
6
|
+
response: t.Controller.Dominio.BuscarPeloLandingPageId.Response["data"] | undefined;
|
|
7
|
+
output_ids: string[];
|
|
8
|
+
output_map: Record<string, t.Controller.Dominio.DominioBase> | undefined;
|
|
9
|
+
};
|
|
10
|
+
loadingCriar: boolean;
|
|
11
|
+
loadingDeletar: boolean;
|
|
12
|
+
}
|
|
13
|
+
declare class contexto_landing_page_dominio {
|
|
14
|
+
api: {
|
|
15
|
+
criar: (props: t.Controller.Dominio.Criar.Input) => Promise<void>;
|
|
16
|
+
buscar_pelo_landing_page_id: (props: t.Controller.Dominio.BuscarPeloLandingPageId.Input, setLoading?: boolean) => Promise<void>;
|
|
17
|
+
deletar_pelo_id: (props: t.Controller.Dominio.DeletarPeloId.Input) => Promise<import("../../../shared/types/entidades/dominio").default.DeletarPeloId.Output | null>;
|
|
18
|
+
};
|
|
19
|
+
set_state: (updater: (state: LandingPageDominioState) => void) => void;
|
|
20
|
+
get get_state(): LandingPageDominioState;
|
|
21
|
+
get_jsx: <T>(selector: (state: {
|
|
22
|
+
states: LandingPageDominioState;
|
|
23
|
+
}) => T) => T;
|
|
24
|
+
}
|
|
25
|
+
declare const _default: contexto_landing_page_dominio;
|
|
26
|
+
export default _default;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import t from "../../../shared/types";
|
|
2
|
+
interface LandingPageState {
|
|
3
|
+
buscar_pelo_filtro: {
|
|
4
|
+
loading: boolean;
|
|
5
|
+
input: t.Controller.LandingPage.BuscarPeloFiltro.Input | undefined;
|
|
6
|
+
response: t.Controller.LandingPage.BuscarPeloFiltro.Response["data"] | undefined;
|
|
7
|
+
output_ids: string[];
|
|
8
|
+
output_map: Record<string, t.Controller.LandingPage.BuscarPeloFiltro.Output["data"]["landing_page"][0]> | undefined;
|
|
9
|
+
};
|
|
10
|
+
buscar_pelo_id: {
|
|
11
|
+
loading: boolean;
|
|
12
|
+
input: t.Controller.LandingPage.BuscarPeloFiltro.Input | undefined;
|
|
13
|
+
output: t.Controller.LandingPage.BuscarPeloId.Output["data"]["landing_page"] | undefined;
|
|
14
|
+
response: t.Controller.LandingPage.BuscarPeloFiltro.Response["data"] | undefined;
|
|
15
|
+
};
|
|
16
|
+
loadingEditar: boolean;
|
|
17
|
+
loadingCriar: boolean;
|
|
18
|
+
}
|
|
19
|
+
declare class contexto_landing_page {
|
|
20
|
+
api: {
|
|
21
|
+
criar: (props: t.Controller.LandingPage.Criar.Input) => Promise<void>;
|
|
22
|
+
editar_pagina: (props: t.Controller.LandingPage.EditarPagina.Input) => Promise<void>;
|
|
23
|
+
buscar_pelo_filtro: (props: t.Controller.LandingPage.BuscarPeloFiltro.Input, setLoading?: boolean) => Promise<void>;
|
|
24
|
+
buscar_pelo_id: (props: t.Controller.LandingPage.BuscarPeloId.Input) => Promise<t.Controller.LandingPage.BuscarPeloId.Output | null>;
|
|
25
|
+
atualizar_pelo_id: (props: t.Controller.LandingPage.AtualizarPeloId.Input) => Promise<t.Controller.LandingPage.AtualizarPeloId.Output | null>;
|
|
26
|
+
deletar_pelo_id: (props: t.Controller.LandingPage.DeletarPeloId.Input) => Promise<t.Controller.LandingPage.DeletarPeloId.Output | null>;
|
|
27
|
+
buscar_jsx_pelo_id: (props: t.Controller.LandingPage.BuscarPeloId.Input) => Promise<void>;
|
|
28
|
+
};
|
|
29
|
+
set_state: (updater: (state: LandingPageState) => void) => void;
|
|
30
|
+
get get_state(): LandingPageState;
|
|
31
|
+
get_jsx: <T>(selector: (state: {
|
|
32
|
+
states: LandingPageState;
|
|
33
|
+
}) => T) => T;
|
|
34
|
+
}
|
|
35
|
+
declare const _default: contexto_landing_page;
|
|
36
|
+
export default _default;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import t from "../../../shared/types";
|
|
2
|
+
interface PromptState {
|
|
3
|
+
buscar_pelo_filtro: {
|
|
4
|
+
loading: boolean;
|
|
5
|
+
input: t.Controller.Prompt.BuscarPeloFiltro.Input | undefined;
|
|
6
|
+
response: t.Controller.Prompt.BuscarPeloFiltro.Response["data"] | undefined;
|
|
7
|
+
output_ids: string[];
|
|
8
|
+
output_map: Record<string, t.Controller.Prompt.PromptBase> | undefined;
|
|
9
|
+
};
|
|
10
|
+
gerar_build_pelo_id: {
|
|
11
|
+
loading: boolean;
|
|
12
|
+
prompt_id: string | undefined;
|
|
13
|
+
landing_page_id: string | undefined;
|
|
14
|
+
};
|
|
15
|
+
prompt_para_edicao_selecionado_automaticamente: {
|
|
16
|
+
loading: boolean;
|
|
17
|
+
prompt_id: string | undefined;
|
|
18
|
+
landing_page_id: string | undefined;
|
|
19
|
+
};
|
|
20
|
+
loadingGerarBuild: boolean;
|
|
21
|
+
}
|
|
22
|
+
declare class contexto_prompt {
|
|
23
|
+
api: {
|
|
24
|
+
buscar_pelo_filtro: (props: t.Controller.Prompt.BuscarPeloFiltro.Input, setLoading?: boolean) => Promise<void>;
|
|
25
|
+
buscar_pelo_id: (props: t.Controller.Prompt.BuscarPeloId.Input) => Promise<t.Controller.Prompt.BuscarPeloId.Output | null>;
|
|
26
|
+
gerar_build_pelo_id: (props: t.Controller.Prompt.GerarBuildPeloId.Input) => Promise<t.Controller.Prompt.GerarBuildPeloId.Output | null>;
|
|
27
|
+
};
|
|
28
|
+
private utils;
|
|
29
|
+
set_state: (updater: (state: PromptState) => void) => void;
|
|
30
|
+
get get_state(): PromptState;
|
|
31
|
+
get_jsx: <T>(selector: (state: {
|
|
32
|
+
states: PromptState;
|
|
33
|
+
}) => T) => T;
|
|
34
|
+
}
|
|
35
|
+
declare const _default: contexto_prompt;
|
|
36
|
+
export default _default;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export { FormularioLandingPage } from "./componentes/formulario/Landingpage";
|
|
2
|
+
export { FormularioLandingPageContexto } from "./componentes/formulario/Landingpage/Contexto";
|
|
3
|
+
export { ButtonAddLandinPage } from "./componentes/button/ButtonAddLandinPage";
|
|
4
|
+
export { CardLandingPage } from "./componentes/card/CardLandingPage";
|
|
5
|
+
export { InputChat } from "./componentes/input/InputChat";
|
|
6
|
+
export { default as contexto_landing_page } from "./contexto/contexto_landing_page";
|
|
7
|
+
export { DrawerFullScreen, type TypeDrawerFullScreenRef } from "./componentes/drawer/DraweFullScreen";
|
|
8
|
+
export { DrawerPadrao, type TypeDrawerPadraoRef } from "./componentes/drawer/DrawerPadrao";
|